2 2004-02-04 André Pönitz <poenitz@gmx.net>
4 * BufferView.[Ch] (insertInset):
5 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
10 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
12 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
13 on the default clause of the switch
14 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
15 wasn't catched by LCursor::dispatch
17 2004-02-03 André Pönitz <poenitz@gmx.net>
20 * cursor.[Ch]: some additional asserts
22 * undo.[Ch]: remove LyXText dependency in interface
26 * lyxtext.h (firstPar, lastPar): remove dead functions
31 * paragraph.[Ch]: adjust
33 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
35 * lyxfind.C (find): fix argument order in call to ::find
37 2004-02-02 André Pönitz <poenitz@gmx.net>
39 * cursor.[Ch]: remove direct access to anchor
41 * text.C: remove findText() hack
43 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
45 * iterators.[Ch] (lockPath): remove in favour of...
46 * BufferView.[Ch] (setCursor): this addition
47 * BufferView.C (putSelectionAt): adjust
48 * undo.C (performUndoOrRedo): adjust
49 * lyxfunc.C (dispatch): adjust
51 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
53 * iterators.C (lockPath): add a missing slice
54 * undo.C (performUndoOrRedo): remove redundant positioning code
56 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
58 * vc-backend.C (scanMaster): ";" -> ';'
60 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
62 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
65 * lyxtextclass.C (compare_name): rename to...
66 (LayoutNamesEqual): ...this
68 * lyxlex_pimpl.C (compare_tags): inherit from
69 std::binary_function, put back into anon namespace
71 * lyxfind.C (MatchString): inherig from std::binary_function
72 (findChange): use empty() istead of !size()
74 * format.C (FormatNamesEqual): new functor
81 * converter.C (compare_Converter): rename to...
82 (ConverterEqual): ...this, and fixup a bit.
83 (getConverter): use it, and make function const
84 (getNumber): use it, and make function const
88 * bufferlist.C: add using boost::bind
90 * MenuBackend.C (MenuNamesEqual): new functor
91 (hasMenu): use it, and make function const
92 (hasSubmenu): use nested bind to get rid of compare_memfun.
94 2004-01-30 André Pönitz <poenitz@gmx.net>
107 * text3.C: move some of the edit(x,y) handling to the insets
108 some coordinate changes.
110 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
112 * text.C: add using statements for std::advance and std::distance
114 * paragraph.C: add using statement for std::distance
116 * lyxfind.C: add using statement for std::advance
118 * cursor.C (region): remove std:: from swap
119 (openable): use nucleus in stead of operator->
121 * BufferView.C: add using statements for std::distance and std::swap
123 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
125 * iterators.C: Remove the pimple, move the needed structures to
126 the header file. Create accessor for the positions stack.
127 (asPosIterator): remove function
129 * PosIterator.C (PosIterator): move constructors to top of file
130 (PosIterator): reimplement the constructor taking a ParIterator in
132 (setFrom): new function
133 (operator!=): inline it
135 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
137 * lyxfind.C (replaceAll): use std::advance
139 * iterators.h: inherit from std::iterator.
141 * PosIterator.C (advance, distance): remove
142 * PosIterator.h: interit from std::iterator.
144 2004-01-26 André Pönitz <poenitz@gmx.net>
147 * BufferView_pimpl.[Ch]:
151 * bufferview_funcs.C:
162 * output_plaintext.C:
164 * paragraph_funcs.[Ch]:
165 * paragraph_pimpl.[Ch]:
171 * text3.C: more IU: dumps most of the rest of the mathcursor
172 implementation into cursor.[Ch]; "globalize" a bit of it.
174 2004-01-25 Angus Leeming <leeming@lyx.org>
176 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
178 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
180 * LaTeXFeatures.h: add nice_ and nice() const
181 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
183 2004-01-20 André Pönitz <poenitz@gmx.net>
186 * BufferView_pimpl.C:
188 * bufferview_funcs.C:
201 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
202 LCursor and mathcursor parts to LCursor and InsetBase.
204 2004-01-15 André Pönitz <poenitz@gmx.net>
206 * cursor_slice.[Ch]: add a few covienience functions
208 * funcrequest.[Ch]: remove BufferView * member
210 * BufferView_pimpl.C:
217 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
219 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
221 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
222 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
224 2004-01-13 André Pönitz <poenitz@gmx.net>
227 * lyxtext.h: hide cursor and selection anchor behind accessor function
230 * BufferView_pimpl.[Ch]:
232 * bufferview_funcs.C:
242 * cursor_slice.[Ch]: some integer type changes for inset unification
244 * lyxcursor.[hC]: remove, it's CursorSlice now.
247 * BufferView_pimpl.[Ch]:
248 * bufferview_funcs.C:
254 * textcursor.[Ch]: adjust
256 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
258 * text2.C (undoSpan): add and use
259 * text.C (breakParagraph): use undoSpan (fix bug 578)
262 2004-01-08 Angus Leeming <leeming@lyx.org>
264 * BufferView_pimpl.C (MenuInsertLyXFile):
265 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
266 * lyxfunc.C (menuNew, open, doImport):
267 FileFilterList change to the FileDialog open and save functions.
269 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
271 * ShareContainer.h: make isEqual and isUnique adaptable
273 * CutAndPaste.C: make resetOwnerAndChanges adaptable
275 2004-01-07 Angus Leeming <leeming@lyx.org>
278 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
280 * BufferView_pimpl.C (dispatch): act on these LFUNs.
282 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
283 functions replacing find, replace and replaceAll.
285 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
286 LFUN_WORDFIND(FORWARD|BACKWARD).
288 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
290 * text.C (breakParagraph): remove an outdated #warning
292 2004-01-07 André Pönitz <poenitz@gmx.net>
294 * lyxfind.C: somewhat clearer logic
296 * text.C: prevent crash in cursorX on unitialized row cache
298 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
300 * lyxcursor.[Ch] (operator>): add
301 * textcursor.C (selStart, selEnd): use std::min and std::max
303 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
305 * Chktex.C: include boost/format.hpp
307 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
309 * InsetList.C: replace functor MathcIt with adaptable functor
311 (insetIterator): modify accordingly
313 * BranchList.h: move the BranchNamesEqual functor here from...
314 * BranchList.C: ... to here
316 * BranchList.C: new BranchListEqual fuctor, use it. Remove
318 (add): replace a finding loop with std::find_if.
320 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
322 * output_docbook.C: moving LatexParam functionality into
325 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
327 * buffer.C: increment format to 229.
329 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
332 * lyx_sty.[Ch]: remove minipageindent_def
338 * text3.C: remove LFUN_INSET_MINIPAGE
340 2003-12-28 Angus Leeming <leeming@lyx.org>
342 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
344 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
346 * text2.C (setParagraph): fix off-by-one crash
348 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
350 * output_docbook.C: header stuff for AGU
352 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
354 * text2.C (redoCursor): remove
357 * BufferView_pimpl.C: remove calls to redoCursor and
358 setCursor(cursor.par(), cursor.pos()) all around
360 2003-12-15 Angus Leeming <leeming@lyx.org>
362 * buffer.C: up the format to 228.
364 2003-12-15 André Pönitz <poenitz@gmx.net>
366 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
371 * BufferView_pimpl.C:
380 2003-12-15 Angus Leeming <leeming@lyx.org>
382 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
383 than getFromGUIName to manipulate the color.
385 2003-12-14 Angus Leeming <leeming@lyx.org>
387 * BranchList.[Ch]: minimize the API.
388 (Branch::getBranch, getColor): now return a 'const &'.
389 (Branch::setSelected) now returns a bool set to true if the
390 selection status changes.
391 (BranchList::clear, size, getColor, setColor, setSelected,
392 allBranches, allSelected, separator): removed.
393 (BranchList::find): new functions, returning the Branch with
395 (BranchList::add, remove): return a bool indicating that
396 the operation was successful.
398 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
399 new InsetBranch::isBranchSlected member function.
401 * LColor.[Ch]: mimimize the API.
402 (fill): renamed as addColor and made private.
403 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
404 versions of these functions taking a string arg have been removed.
406 * bufferparams.C (readToken):
407 * lyxfunc.C (dispatch):
408 * lyxrc.C (read): changes due to the altered BranchList and
411 * factory.C (createInset, readInset): changes due to altered
414 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
417 * lyxfunc.C: remove insetminipage. "minipage-insert"
418 now produces a frameless minipage box inset.
420 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
422 * textcursor.[Ch] (selStart,selEnd): add new methods
423 remove selection::start, end, use LyXCursor::operator<
424 * lyxcursor.[Ch] (operator<): add
425 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
426 * BufferView.[Ch] (unsetXSel): add
427 * text2.C (clearSelection): use unsetXSel,adjust
430 * rowpainter.C: adjust
431 * bufferview_funcs.C (put_selection_at): adjust
433 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
435 * BufferView_pimpl.C: small coord. correction
437 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
439 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
440 dragging over the splash screen.
442 2003-12-11 Angus Leeming <leeming@lyx.org>
444 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
445 as it is now handled in LyXText::dispatch.
447 * text3.C (doInsertInset): remove a level of nesting.
449 2003-12-11 Angus Leeming <leeming@lyx.org>
451 * factory.C (createInset): changes due to the changed interface to
452 InsetCommandMailer::string2params.
454 2003-12-10 Angus Leeming <leeming@lyx.org>
456 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
457 'dialog-show-new-inset <inset name>'
459 2003-12-10 Angus Leeming <leeming@lyx.org>
461 * buffer.C: up the format to 227.
463 * factory.C: the box inset is now identified simply by 'Box'.
465 2003-12-10 Angus Leeming <leeming@lyx.org>
467 * buffer.C: up the format to 226.
469 * factory.C: the note inset is now identified simply by 'Note'.
471 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
473 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
474 when a pit is enough. Standarize a couple of loops.
476 2003-12-05 Angus Leeming <leeming@lyx.org>
478 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
479 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
480 data to the re-worked "log" dialog.
482 2003-12-03 André Pönitz <poenitz@gmx.net>
490 * text2.C: use Inset::getText instead of Inset::getParagraph
492 2003-12-03 André Pönitz <poenitz@gmx.net>
496 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
497 InsetText::read() as LyXText::read()
499 2003-12-02 Angus Leeming <leeming@lyx.org>
501 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
502 type. Add a comment in the implementation that the function uses
503 the stream's bad() function rather than fail() as the std::streams
506 2003-12-02 André Pönitz <poenitz@gmx.net>
508 * lyxlex.[Ch]: make interface more similar to std::stream
510 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
512 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
514 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
516 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
518 * vspace.[Ch]: remove VSpace::NONE
520 2003-12-01 André Pönitz <poenitz@gmx.net>
523 * lyxtext.h: move ParagraphList member to LyXText
524 rename LyXText::ownerParagraphs to LyXText::paragraph
527 * bufferview_funcs.C:
537 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
539 * undo.C: fix cursor positioning
541 2003-12-01 John Levon <levon@movementarian.org>
543 * BufferView_pimpl.C: fix a crash on exit with
546 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
548 * BranchList.C: fix setSelected() method.
550 2003-11-28 André Pönitz <poenitz@gmx.net>
552 * ParagraphParameters.[Ch]:
553 * ParameterStruct.h: remove space above/below from Paragraph to
556 * BufferView_pimpl.C:
568 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
570 * factory.C: Syntax change for CharStyles
572 2003-11-28 André Pönitz <poenitz@gmx.net>
577 * buffer.[Ch]: move LyXText member
579 2003-11-28 André Pönitz <poenitz@gmx.net>
581 * BufferView.[Ch]: make LyXText * text a private member
583 * BufferView_pimpl.C:
594 * output_plaintext.C: cleanup
596 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
599 * lyxtextclass.[Ch]: parametrize SGML document header
601 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
604 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
607 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
609 * text2.C (setFont): rework using PosIterator (no more recursive)
610 (setCharFont): no more needed
611 (setLayout): no more selection cursors fiddling (done by redoCursor)
612 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
613 destroy remaining ones)
615 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
617 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
619 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
622 * text3.C: adjust + re-allow multi par depth changes
623 * textcursor.C: simplify a bit
625 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
631 * src/output_docbook.C:
632 * src/output_latex.C:
637 * src/text2.C: Introducing a number of tags parametrizing various
638 XML formats that we may want to support
640 2003-11-25 André Pönitz <poenitz@gmx.net>
642 * InsetList.[Ch] (begein, end): inline as suggested by profiler
644 * lyxtext.h (leftMargin/rightMargin): simplify interface
651 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
653 * lyxfunc.C (dispatch): propogate the bibtex databases from the
654 master file to any child files. Fixes bug 546.
656 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
658 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
660 2003-11-24 André Pönitz <poenitz@gmx.net>
662 * rowpainter.C: simplification
664 * text2.C (updateCounters): remove call to redoParagraph on
665 changed labels as this is far too expensive.
667 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
669 * converter.C (convert): fix a crash: this function gets
670 called with buffer == 0 from importer code.
672 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
674 * text3.C (cursorPrevious): make sure that we do not compare
675 iterators form different containers.
678 * rowpainter.C (paintSelection): make sure that we do not compare
679 iterators from different containers.
681 * text3.C (dispatch): [PRIOR] make sure that we do not compare
682 iterators from different ParagraphList containers.
685 * text2.C (LyXText): change order of initialization slightly
686 (operator=): new function. copy all variables except cache_par_
687 (moveUp): make sure that we do not compare iterators from
688 different ParagraphList constainers.
691 * text.C (firstPar): new function
692 (lastPar): new function
693 (endPar): new function
695 * lyxtext.h: move things around and group public functions, public
696 variables, private functions, private variables
698 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
700 * factory.C: change call to InsetERT constructor to avoid
701 additional invocation of method status
702 * text2.C (toggleInset): remove redundant update() call
703 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
704 instead of a Bufferview pointer
706 2003-11-21 André Pönitz <poenitz@gmx.net>
708 * rowpainter.C: simplification
710 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
712 * text3.C (dispatch): make possible to extend a word/row selection
715 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
717 * lyxtext.h: x0_,y0_ -> xo_,yo_
718 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
719 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
720 * rowpainter.C (paintRows): paint full paragraphs
722 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
724 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
727 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
729 * lyxtext.h: add x0_, y0_
730 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
731 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
733 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
735 * text2.C (setCursorIntern): move the x_target update here *
736 * text3.C: change some bv() to true/false in calls to
737 cursorUp/Down/Right/Left
738 * cursor.C: use helper function.
740 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
742 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
743 * paragraph_funcs.[Ch]: correct comment
744 * rowpainter.C: do not paint selections away from bv->cursor()
745 Fix a long standing selection painting bug.
746 * text3.C: generalize mouse-selection code to LyXTexts other that
748 * textcursor.C: do not use y coords if we can use par offsets
750 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
752 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
753 cursor position after e.g. inset insert)
755 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
757 * lyxfind.C (replace): adjust to locking removal + some
760 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
762 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
765 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
768 * output_docbook.C: XML sanitation: new layout
769 parameters InnerTag and CommandDepth
771 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
773 * BufferView_pimpl.C:
775 * text3.C: Fix the insertion and modification of button-style
778 2003-11-13 André Pönitz <poenitz@gmx.net>
780 * InsetList.[Ch]: remove deleteLyXText
782 * paragraph.[Ch]: cache beginOfBody position
787 * text3.C: remove superfluous update() calls
791 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
793 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
794 * BufferView.C (fitLockedInsetCursor): remove
795 * cursor.[Ch] (getDim): add
796 * text.C (getRowNearY): add faster version
797 * text3.C: remove some update calls
799 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
811 * text3.C: The Character Style /XML short element patch.
813 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
816 * factory.C: Small step to solving 'unable to insert some insets'
819 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
821 * cursor.[Ch] (updatePos): new function for updating the y
822 position of the tip inset
823 * bufferview_funcs.C (put_selection_at):
824 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
826 2003-11-11 André Pönitz <poenitz@gmx.net>
828 * text.C: remove big comment on invalid Paragraph pointers as it is
831 2003-11-11 André Pönitz <poenitz@gmx.net>
833 * text_funcs.[Ch]: merge with ...
841 * Makefile.am: remove text_funcs.[Ch]
843 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
845 * cursor.C (getPos): return absolute cached y coord
847 * BufferView_pimpl.C (fitCursor): new simplistic code
848 (workAreaDispatch): add a fitCursor call
850 2003-11-10 André Pönitz <poenitz@gmx.net>
853 * BufferView_pimpl.[Ch]: merge update() and updateInset()
855 2003-11-10 André Pönitz <poenitz@gmx.net>
857 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
858 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
859 indicate that the cursor needs to leave an inset
861 * lyxtext.h: remove inset locking
863 * cursor.[Ch]: re-implement functionality provided by inset locking
866 * BufferView_pimpl.[Ch]:
868 * bufferview_funcs.[Ch]:
880 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
882 * PosIterator.[Ch]: replace the stack with a vector, add inset
884 * iterators.[C]: adjust
886 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
888 * lyxfind.C (replaceAll): mark the buffer dirty if something was
890 * paragraph_funcs.C (readParToken): put the correct id in the
891 error item, not the id of the top paragraph
893 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
895 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
896 * bufferview_funcs.C (put_selection_at): use the above
898 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
900 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
902 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
905 * output_plaintext.h:
907 * output_docbook.h: add #include statements
909 2003-11-05 José Matos <jamatos@lyx.org>
911 * output_docbook.[Ch]:
913 * output_linuxdoc.[Ch]:
914 * output_plaintext.[Ch]: New files for output formats.
915 * output.[Ch]: New file for helper functions.
918 * paragraph_funcs.[Ch]: output functions moved to new files.
920 * outputparams.h: rename of latexrunparams.h
928 * paragraph_funcs.[Ch]:
929 * paragraph_pimpl.[Ch]:
930 * tabular.[Ch]: rename ascii to plaintext
931 and LatexRunParams to OutputParams.
933 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
935 * iterators.[Ch] (text): require bv argument
936 * undo.C (recordUndo):
937 * lyxfunc.C (dispatch):
938 * bufferview_funcs.C (put_selection_at): adjust
940 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
942 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
944 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
946 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
949 2003-11-04 André Pönitz <poenitz@gmx.net>
951 * cursor.[Ch]: restructure
954 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
956 * iterators.[Ch] (asCursor): remove
958 * lfuns.h: remove LFUN_INSET_EDIT
964 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
966 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
968 * lyxfind.[Ch]: complete overhaul
969 * BufferView_pimpl.C:
971 * paragraph.[Ch] (insert): add
973 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
977 * text.C: remove dead spellcheck code
979 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * dispatchresult.h: add a val setter
983 * cursor.C (dispatch): use a tempvar for data_[i]
985 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
987 * PosIterator.[Ch]: compile fix
989 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
991 * text.C (cursorPar): deactivate the cursor cache
993 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
995 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
997 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
999 * text3.C (dispatch): adjust for new DisptchResult semantics.
1001 * lyxfunc.C (dispatch): handle update when return from
1002 Cursor::dispatch, adjust for new DispatchResult semantics.
1004 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1005 DispatchResult(true) mean to not update. Add class functions for
1006 setting dispatched and update, as well as reading.
1008 * cursor.C (dispatch): don't handle update here
1010 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1012 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1013 * trans_mgr.C: adjust
1015 * paragraph_funcs.C (readParToken): exception safety
1017 * lyxvc.h: store the vcs pointer in a scoped_ptr
1020 * lyxsocket.C (serverCallback): exception safety
1022 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1024 * ispell.C (clone): make it return a auto_ptr
1026 * factory.C (createInset): exception safety
1027 (readInset): exception safety
1029 * bufferlist.C (newBuffer): exception safety
1031 * Thesaurus.C (Thesaurus): use initialization for aik_
1033 * MenuBackend.C (expandToc): exception safety.
1035 2003-11-03 André Pönitz <poenitz@gmx.net>
1039 * bufferview_funcs.C: remove getInsetFromId()
1042 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1048 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1050 * PosIterator.C (distance, advance): new
1051 * bufferview_funcs.[Ch] (put_selection_at): new
1052 * iterators.[Ch] (lockPath): new
1054 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1056 * iterators.[Ch] (asPosIterator): added
1057 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1058 * PosIterator.[Ch]: added
1060 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * cursor.C (dispatch):
1065 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1067 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1068 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1069 contructor, add a class function dispatched. Remove operator>=
1071 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * debug.C: only use the default constructor for debugstream
1076 * main.C (main): include debug.h and setup the lyxerr streambuf
1079 2003-10-31 José Matos <jamatos@lyx.org>
1081 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1083 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1084 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1085 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1086 * paragraph_pimpl.C (simpleTeXSpecialC):
1087 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1088 add LatexRunParams argument.
1090 * exporter.C (Export): change call accordingly.
1092 * latexrunparams.h: add new member to take care of the other backends.
1093 2003-10-30 José Matos <jamatos@lyx.org>
1095 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1096 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1097 factorise code for paragraph output.
1099 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1102 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1104 * text3.C (dispatch):
1105 * lyxfunc.C (dispatch):
1106 * cursor.C (dispatch):
1107 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1109 * dispatchresult.h: make the dispatch_result_t ctor explicit
1111 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1114 * buffer.C: small refactoring of docbook stuff
1116 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1121 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1123 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1124 operator dispatch_result_t, and operators for == != and >=
1126 * cursor.C (dispatch): adjust for operator dispatch_result_t
1127 removal. comment out call to update
1129 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1131 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1139 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1142 * dispatchresult.h: new file, DispatchResult broken out of
1145 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1147 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1149 * text.C (rowBreakPoint): put a hack inside #if 0
1151 2003-10-28 André Pönitz <poenitz@gmx.net>
1155 * paragraph_funcs.C:
1158 * text2.C: general cleanup (lots of small stuff)
1160 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1162 * text2.C (cursorEnd): simple fix to the "end key goes to one
1163 before the end on last row" bug
1165 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1167 * text.C (backspace): fix the "zombie characters"
1169 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1171 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1173 2003-10-27 André Pönitz <poenitz@gmx.net>
1175 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1177 * factory.C: handle new InsetPagebreak, InsetLine
1179 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1180 and move handling into new InsetPagebreak, InsetLine
1182 * BufferView_pimpl.C:
1184 * ParagraphParameters.C:
1185 * ParameterStruct.h:
1190 * paragraph_funcs.C:
1191 * paragraph_pimpl.C:
1197 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1200 * lyxrow_funcs.[Ch]:
1206 * text3.C: remove lastPos uses in favour of Row::endpos
1208 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1210 * undo.C (performUndoOrRedo): fix two crashes by setting a
1211 cursor by hand and reordering some calls. Use bv->lockInset instead
1212 of inset->edit because the latter loses cursor information
1214 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1216 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1218 (rowBreakPoint): fix width. change point to point + 1.
1219 Add a missing check.
1221 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1224 * lyxfunc.C: fix (at least partly) the problems
1225 with the Nav menu and headers inside branch insets
1228 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1230 * paragraph.C (getChar): add strong asserts
1232 * lyxrow_funcs.C (lastPos): remove hideous hack
1234 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1235 (fill): adjust to that (avoid an infinite loop)
1237 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1239 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1241 2003-10-23 André Pönitz <poenitz@gmx.net>
1243 * RowList_fwd.h: change list<> to vector<> to gain speed
1244 after suggestion from Alfredo
1246 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1248 * lyxtext.h: move the bidi stuff from here...
1251 * Bidi.[Ch]: ... to here
1253 2003-10-23 André Pönitz <poenitz@gmx.net>
1256 * text.C (isLastRow, isFirstRow): new functions
1258 * paragraph.h: new width cache member
1260 * rowpainter.C: replace RowList::iterator with Row & where possible
1262 * lyxfunc.C: replace several view()->text with a single call
1264 * toc.C: fix 'unused' warning
1266 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1269 when woring with stream::pos_type
1270 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1272 2003-10-22 André Pönitz <poenitz@gmx.net>
1275 * text.C: use Row & instead of RowList::iterator
1277 * lyxrow.h: rename end() to endpos()
1283 2003-10-22 Angus Leeming <leeming@lyx.org>
1285 * buffer.[Ch] (fully_loaded): new member function, returning true
1286 only when the file has been loaded fully.
1287 Used to prevent the premature generation of previews and by the
1288 citation inset to prevent computation of the natbib-style label.
1290 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1291 templates are all set up.
1293 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1295 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1297 * text.C: fixed an "oops" in the "is a bit silly"
1300 2003-10-21 André Pönitz <poenitz@gmx.net>
1302 * FuncStatus.[Ch]: small stuff, whitespace
1304 * lyxfont.[Ch]: operator<<() for debug reasons
1308 * lyxtext.h: whitespace, spelling
1310 * paragraph.C: naming of variables
1313 * text2.C: small stuff
1316 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1318 * text.C: (1) finish off the inset display() work;
1319 (2) fix the "is a bit silly" bug (accessing char
1322 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1324 * text.C: re-introduce display() for insets, fixing the
1325 various bugs (stretch of line above, math inset
1328 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1330 * text.C (rightMargin): remove spurious semicolon
1332 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1335 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1337 * text3.C: fix one crash due to wrong cursor def
1339 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * vc-backend.C (scanMaster): make the regex static
1343 * LaTeX.C (scanAuxFile): make the regexs static
1345 * text3.C (doInsertInset, dispatch, dispatch):
1346 * text2.C (cursorUp, cursorDown):
1347 * text.C (selectNextWordToSpellcheck):
1348 * BufferView_pimpl.C (dispatch):
1349 * lyxfunc.C (dispatch): localDispatch -> dispatch
1351 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1353 * lyxsocket.C: include <cerrno>
1355 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * lyxfunc.C (dispatch): remove textcache stuff
1359 * bufferlist.C (release): remove textcache stuff
1362 * TextCache.C: delete file
1363 * TextCache.h: delete file
1365 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1367 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1368 delete of the bv_->text.
1369 (resizeCurrentBuffer): remove texcache stuff
1370 (workAreaResize): ditto
1372 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1374 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1377 2003-10-16 André Pönitz <poenitz@gmx.net>
1384 * text3.C: speed up by storing y positions per paragraph plus per-row
1385 offset instead of having a 'full' y position in the row.
1387 2003-10-15 André Pönitz <poenitz@gmx.net>
1391 * undo.[Ch]: make undo aware of inner insets
1393 2003-10-14 Angus Leeming <leeming@lyx.org>
1395 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1396 static member functions LyX::ref() and LyX::cref.
1397 (lastfiles): new accessor functions for the new lastfiles_ member var.
1398 (addLyXView, views_): add a new LyXView to the list of views_.
1399 (updateInset): loop over all LyXViews to call their own updateInset
1400 member function, returning a pointer to the Buffer owning the inset.
1402 * BufferView_pimpl.C (loadLyXFile):
1403 * MenuBackend.C (expandLastfiles):
1404 * bufferlist.C (MenuWrite, QuitLyX):
1405 lastfiles is no longer a global variable.
1406 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1408 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1409 static function. Access through LyX::cref().emergencyCleanup().
1411 2003-10-14 André Pönitz <poenitz@gmx.net>
1413 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1415 * undo.[Ch]: restoring part of 'undo in insets'
1418 * undo_funcs.[Ch]: merge with undo.[Ch]
1420 * tabular.C: small cleansing stuff
1422 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1424 * paragraph_funcs.C (readParToken): report unknown insets as error
1425 boxes. Use the outer paragraph as location (also for unknown
1428 * factory.C (readInset): do not abort on reading an unknown inset.
1429 Eat it and return 0.
1431 2003-10-13 Angus Leeming <leeming@lyx.org>
1433 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1435 * lyxrc.C: displayTranslator is now a function,
1436 declared in GraphicsTypes.h.
1438 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1440 * format.C: new placeholder $$a to pass the socket address.
1442 * bufferlist.[Ch]: new function getBufferFromTmp.
1444 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1445 files in the temporary dir.
1447 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1449 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1451 * Makefile.am: add lyxsocket.[Ch].
1453 * lyx_main.C (error_handler): handle SIGPIPE.
1455 2003-10-13 André Pönitz <poenitz@gmx.net>
1457 * BufferView_pimpl.C:
1462 * undo_funcs.[Ch]: use paroffset_type instead of
1463 ParagraphList::iterators to prevent multiple conversion
1464 (and get a more robust interface)
1466 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1468 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1470 * text3.C (dispatch): ditto
1472 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1474 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1475 move the onlyfile, use onlyfile instead of foundfile in a couple
1478 * DepTable.C (update): flush the error stream a bit more
1480 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1482 * lyxserver.C (callback): adjust
1484 * lyxfunc.C (getStatus): add a missing brace in commented code
1485 (ensureBufferClean): reindent
1486 (dispatch): delete version taking a string
1488 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * LaTeX.C (deplog): move found file handlig from here...
1491 (handleFoundFile): .. to new function here.
1492 (deplog): make sure to discover several files mentioned on the
1495 2003-10-10 André Pönitz <poenitz@gmx.net>
1502 * text3.C: fix some of the tabular crashes
1504 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1506 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1508 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1510 2003-10-09 André Pönitz <poenitz@gmx.net>
1512 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1515 * BufferView_pimpl.C:
1516 * bufferview_funcs.C:
1527 * undo_funcs.C: adjust
1529 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * text2.C (incrementItemDepth): new function, use a backtracking
1532 algorithm to discover the correct item depth.
1533 (resetEnumCounterIfNeeded): new function, use a backtracking
1534 algorithm to discover if counter reset is needed.
1535 (setCounter): use them. Simplify a bit. Add different labels for
1536 different item depths for itemize.
1538 * paragraph.C (Paragraph): remove initialization of enumdepth
1541 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1542 enumerate and itemize. Change the type of itemdepth to signed char.
1544 2003-10-08 André Pönitz <poenitz@gmx.net>
1546 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1551 * tabular.[Ch]: fix crash after 'row-insert'
1553 2003-10-08 Angus Leeming <leeming@lyx.org>
1555 Fix doxygen warnings.
1557 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1558 Remove CutAndPaste:: prefix from header file declaration.
1560 * LColor.h (fill): remove LColor:: prefix from declaration.
1562 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1563 use lyx::depth_type rather than Paragraph::depth_type so that
1564 header file and .C file match.
1566 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1568 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1569 * aspell.C: \file aspell_local.C -> \file aspell.C
1570 * gettext.C: \file gettext.C -> \file src/gettext.C
1571 * gettext.h: \file gettext.h -> \file src/gettext.h
1572 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1573 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1574 * text.C: \file text.C -> \file src/text.C
1576 * toc.C: move comment so that doxygen is not confused.
1578 2003-10-07 Angus Leeming <leeming@lyx.org>
1580 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1582 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1585 * aspell_local.h: add forgotten std::string's.
1587 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1594 * text3.C: The Box patch. Fancybox support, minipage, parbox
1596 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1602 * ParagraphParameters.h:
1612 * lyxtextclasslist.h:
1615 * paragraph_pimpl.C:
1616 * textcursor.h: add <string> and other small fixes to make Lars'
1617 std::string patch compile with STLport.
1619 2003-10-06 Angus Leeming <leeming@lyx.org>
1621 * LColor.h: Add missing #include <string>.
1623 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * All most all file in all subdirs: Make <string> be the prefered
1626 way of getting to std::string, add using declarations.
1628 2003-10-06 André Pönitz <poenitz@gmx.net>
1630 * metricsinfo.C: initialize LyXFont before changing attribute.
1631 (fixes the 'math in \emph is upright' bug)
1633 2003-10-06 André Pönitz <poenitz@gmx.net>
1635 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1637 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1640 * paragraph_pimpl.C: Small fixes to build using STLport
1642 2003-10-02 André Pönitz <poenitz@gmx.net>
1645 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1647 2003-10-01 André Pönitz <poenitz@gmx.net>
1649 * factory.C: assert early
1651 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1653 * lyx_main.C: remove the global debug object
1655 * debug.h: adjust for new debugstream
1657 * debug.C: adjust for new debugstream and keep the global debug
1660 2003-09-22 Angus Leeming <leeming@lyx.org>
1662 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1663 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1664 an incomplete class LyXFont.
1666 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1668 * factory.C: bug fix in branches
1670 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * lyxfunc.C (processKeySym): adjust
1674 (dispatch): change arg name from ev to func, adjust
1675 (sendDispatchMessage): ditto
1677 * lyx_main.C (defaultKeyBindings): adjust keybindings
1678 (deadKeyBindings): ditto
1680 * kbsequence.C (addkey): return a FuncRequest
1682 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1684 * kbmap.C (bind): take a FuncRequest as arg, adjust
1687 (defkey): change to take a FuncRequest as arg, adjust
1688 (findbinding): take a FuncRequest as arg, adjust.
1690 * funcrequest.h (operator=): added
1692 * funcrequest.C (FuncRequest): default kb_action changed from
1693 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1695 * buffer.C (dispatch): simplify
1696 (dispatch): adjust to take a FuncRequest as arg, adjust
1698 * boost.C (assertion_failed): change assertion message slightly
1700 * ToolbarBackend.C (read): simplify
1702 * MenuBackend.C (binding): adjust call to findbinding, add a
1703 message if no binding is found.
1705 (expandToc): correct by adding a empty FuncRequest
1707 * LyXAction.C: include <boost/assert.hpp>
1708 (isPseudoAction): delete function
1709 (LookupFunc): change name to...
1710 (lookupFunc): this. change return type to FuncRequest.
1711 (getActionName): take kb_action as arg, simplify
1712 (funcHasFlag): add an assert, simplify.
1714 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * toc.C (action): return a FuncRequest, simplify
1718 * lyxfunc.C (processKeySym): adjust
1719 (getStatus): delete version that takes an int.
1721 (dispatch): delete version that takes action as int
1723 (sendDispatchMessage): simplify and adjust
1725 * funcrequest.C (getArg): take unsigned int as arg
1727 * ToolbarBackend.C (read): adjust
1728 (add): delete version that takes func as a string.
1729 (getIton): take a FuncRequest as arg
1731 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1734 * MenuBackend.C (MenuItem): add a new construct that only takes a
1735 Kind, simplify the constructor use for submenus.
1737 (expandLastfiles): adjust
1738 (expandDocuments): adjust
1739 (expandFormats): adjust
1740 (expandFloatListInsert): adjust
1741 (expandFloatInsert): adjust
1742 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1744 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1745 Remove class variables lyx_pseudo_map and lyx_arg_map
1747 * LyXAction.C (searchActionArg): delete function
1748 (getPseudoAction): delete function
1749 (retrieveActionArg): delete function
1750 (LookupFunc): make it return kb_action, simplify.
1751 (getActionName): simplify
1753 * factory.C (createInset): fix new bug
1755 2003-09-19 Angus Leeming <leeming@lyx.org>
1757 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1758 masterFilename_ parameter in the include inset.
1760 * factory.C (createInset): changes due to the changes to InsetInclude.
1762 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1764 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1766 2003-09-18 Angus Leeming <leeming@lyx.org>
1769 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1770 Inset::fillWithBibKeys.
1771 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1773 2003-09-18 Angus Leeming <leeming@lyx.org>
1775 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1777 (ctor): pass and store a 'Buffer const &'
1778 (buffer): new member function.
1780 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1781 '*this' to the LaTeXFeatures ctor.
1783 2003-09-18 Angus Leeming <leeming@lyx.org>
1789 * text.C: rename EnumLColor as LColor_color.
1791 2003-09-18 Angus Leeming <leeming@lyx.org>
1793 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1794 remove #include "insets/insetbase.h" from cursor.h.
1796 2003-09-18 Angus Leeming <leeming@lyx.org>
1798 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1799 InsetOld_code to remove #include "inset.h".
1801 * iterators.C: add #include "insets/inset.h"
1803 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1805 * BufferView.C: remove more locking stuff that apparently doesn't
1806 do anything sensible.
1808 2003-09-16 André Pönitz <poenitz@gmx.net>
1811 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1814 2003-09-16 Angus Leeming <leeming@lyx.org>
1816 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1818 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1821 * paragraph.h: remove #include "lyxfont.h". Forward declare
1824 2003-09-16 Angus Leeming <leeming@lyx.org>
1826 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1827 of support/textutils.h.
1828 (isWord): move the contents of support/textutils.h's IsWordChar here.
1834 * text2.C: add #include "paragraph.h".
1837 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1839 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * LaTeX.C: use namespace alias for lyx::support::os
1847 2003-09-16 Angus Leeming <leeming@lyx.org>
1850 * bufferview_funcs.C:
1853 * paragraph_pimpl.C:
1855 * text.C: add #include "LColor.h".
1857 2003-09-16 Angus Leeming <leeming@lyx.org>
1859 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1860 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1862 Store the FontBits::color variable as an int rather than as an
1863 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1866 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1867 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1868 string calls together.
1870 * lyxrc.C: add #include "LColor.h".
1872 2003-09-15 Angus Leeming <leeming@lyx.org>
1874 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1877 2003-09-15 Angus Leeming <leeming@lyx.org>
1879 * LColor.h: add an EnumLColor wrapper for LColor::color.
1881 * lyxfont.[Ch] (color, setColor, realColor):
1882 * lyxtext.h, text.C (backgroundColor):
1883 pass EnumLColor args to/from the functions, rather than LColor::color
1887 * lyxtext.h: forward declare EnumLColor.
1889 * lyx_main.C: add #include "LColor.h".
1891 2003-09-15 Angus Leeming <leeming@lyx.org>
1893 * .cvsignore: add lyx-gtk.
1895 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1900 * ParagraphParameters.C
1904 * bufferview_funcs.C
1914 * vc-backend.C: remove usage of STRCONV
1916 2003-09-15 Angus Leeming <leeming@lyx.org>
1918 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1919 explicitly define the color passed to the painter.
1921 2003-09-15 Angus Leeming <leeming@lyx.org>
1923 * bufferparams.C (BufferParams): reorder member initializers to avoid
1926 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1928 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1929 * text.C (updateRowPositions): remove an unusual nop
1931 2003-09-12 André Pönitz <poenitz@gmx.net>
1933 * BufferView_pimpl.C:
1942 * Counters.[Ch]: finish the 'automatic counters' job
1944 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1946 * aspell.C: include <boost/assert.cpp> (compile fix)
1948 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1950 * boost.C (assertion_failed): use lyx::support::abort instead of
1953 2003-09-10 Angus Leeming <leeming@lyx.org>
1955 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1956 with their _fwd progeny.
1958 2003-09-09 Angus Leeming <leeming@lyx.org>
1960 134 files throughtout the source tree: replace 'using namespace abc;'
1961 directives with the appropriate 'using abc::xyz;' declarations.
1963 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1965 * boost.C (emergencyCleanup): moved here from LAssert.c
1966 (assertion_failed): new function, called by BOOST_ASSERT
1968 * several files: change Assert to BOOST_ASSERT
1970 2003-09-09 Angus Leeming <leeming@lyx.org>
1972 * buffer.[Ch]: Add an Impl class and move Buffer's member
1973 variables into it. As a result move several header files out of
1976 Add header files to lots of .C files all over the tree as a result.
1978 2003-09-09 Angus Leeming <leeming@lyx.org>
1980 * buffer.[Ch]: make Buffer's member variables private. Add
1983 Lots of changes all over the tree as a result.
1985 2003-09-08 Angus Leeming <leeming@lyx.org>
1987 * graph.C: #include <config.h>.
1989 2003-09-08 Angus Leeming <leeming@lyx.org>
1993 * BufferView_pimpl.C:
2022 * toc.C: remove redundant using directives.
2024 2003-09-07 Angus Leeming <leeming@lyx.org>
2026 * LaTeXFeatures.h: remove #include "support/types.h".
2027 * ToolbarBackend.h: remove #include <algorithm>.
2028 * changes.h: remove #include <ctime>.
2029 * debug.h: remove #include <iosfwd>.
2030 * graph.h: remove #include "support/std_string.h".
2031 * lyx_main.h: remove #include <csignal>.
2032 * lyxlex_pimpl.h: remove #include <fstream>.
2033 * sgml.h: remove #include <algorithm>, <utility>.
2034 * toc.h: remove #include "support/std_ostream.h".
2035 Add #include <iosfwd>.
2037 2003-09-07 Angus Leeming <leeming@lyx.org>
2039 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2041 * converter.h: forward declare LatexRunParams.
2042 * encoding.h: remove #include "lyxrc.h".
2043 * lyxtext.h: remove #include "LColor.h".
2044 * lyxtextclass.h: remove #include "support/types.h".
2045 * trans.h: remove #include "tex-accent.h".
2046 * trans_mgr.h: remove #include "tex-accent.h".
2047 * insets/inset.h: remove #include "support/types.h", <vector>.
2048 * insets/insetcollapsable.h: remove #include "LColor.h".
2049 * insets/insetinclude.h: remove #include "dimension.h".
2050 * insets/insetlatexaccent.h: remove #include "dimension.h".
2051 * insets/insetoptarg.h:: remove #include "insettext.h".
2052 * insets/insettext.h: remove #include "dimension.h",
2053 <boost/shared_ptr.hpp>
2055 * insets/renderers.h: add #include "dimension.h".
2056 * insets/updatableinset.h: add #include "support/types.h".
2058 * many .C files: Associated changes.
2060 2003-09-06 Angus Leeming <leeming@lyx.org>
2062 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2063 one, inside testInvariant.
2065 * PrinterParams.C: new file.
2066 * PrinterParams.[Ch]: move the function bodies out of line.
2068 2003-09-06 Angus Leeming <leeming@lyx.org>
2070 * ParagraphParameters.h: forward declare ParameterStruct rather than
2071 including its header file.
2072 (depth): moved out-of-line.
2074 2003-09-06 Angus Leeming <leeming@lyx.org>
2076 * BufferView_pimpl.h:
2079 * lyxfunc.h: forward declare LyXKeySym rather than
2080 #include "frontends/LyXKeySym.h".
2082 * BufferView_pimpl.C:
2085 * lyxfunc.C: associated changes.
2087 2003-09-06 Angus Leeming <leeming@lyx.org>
2089 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2090 As a result, can remove the #include "insets/inset.h" from BufferView.h
2092 2003-09-06 Angus Leeming <leeming@lyx.org>
2094 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2095 As a result, can remove the #include "insets/inset.h" from BufferView.h
2097 2003-09-06 Angus Leeming <leeming@lyx.org>
2103 * bufferview_funcs.C:
2104 * BufferView_pimpl.C:
2109 * ParagraphParameters.C:
2114 * frontends/controllers/ControlDocument.C:
2115 * insets/insetcaption.C: rearrange the #includes into some sort of
2118 * buffer.h: remove #includes ErrorList.h, undo.h
2120 2003-09-06 Angus Leeming <leeming@lyx.org>
2122 * support/types.h: add a 'depth_type' typedef, used to store the
2123 nesting depth of a paragraph.
2126 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2127 defining explicitly.
2130 * paragraph_funcs.h:
2131 * ParagraphParameters.h:
2132 * sgml.h: use lyx::depth_type rather than Paragraph or
2133 ParameterStruct's depth_type.
2136 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2139 * BufferView_pimpl.C:
2141 * ParagraphParameters.C:
2144 * bufferview_funcs.C:
2151 * frontends/LyXView.C:
2152 * frontends/controllers/ControlDocument.C:
2153 * frontends/controllers/ControlErrorList.C:
2154 * insets/insetbibitem.C:
2155 * insets/insetbranch.C:
2156 * insets/insetcaption.C:
2157 * insets/insetcollapsable.C:
2158 * insets/insetenv.C:
2159 * insets/insetert.C:
2160 * insets/insetfloat.C:
2161 * insets/insetfoot.C:
2162 * insets/insetfootlike.C:
2163 * insets/insetnewline.C:
2164 * insets/insetquotes.C:
2165 * insets/insettabular.C:
2166 * insets/insettext.C:
2167 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2169 * frontends/controllers/ControlChanges.C: #include "changes.h".
2171 2003-09-06 Angus Leeming <leeming@lyx.org>
2173 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2174 than #including paragraph.h.
2177 * RowList.h: deleted. Superfluous.
2187 * insets/insettext.h: use ParagraphList_fwd.h rather than
2190 * paragraph.h: don't forward declare ParagraphList.
2193 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2194 rather than ParagraphList.h. paragraph.h is still needed for the
2195 Paragraph::depth_type parameters.
2197 * textcursor.h: enable it to compile stand-alone in light of the
2200 * bufferview_funcs.C:
2212 * frontends/controllers/ControlParagraph.C:
2213 * frontends/controllers/ControlTabular.C:
2214 * insets/insetmarginal.C:
2215 * insets/insetminipage.C:
2216 * insets/insetnote.C:
2217 * insets/insetoptarg.C: add header files needed to compile again.
2219 2003-09-06 Angus Leeming <leeming@lyx.org>
2221 * RowList_fwd.h: new file, forward-declaring Row rather than
2222 #including lyxrow.h.
2227 * insets/insettext.h: use it instead of RowList.h
2229 * bufferview_funcs.C:
2236 * text3.C: #include "RowList.h".
2238 2003-09-05 Angus Leeming <leeming@lyx.org>
2240 * factory.C (createInset):
2241 * vspace.C (c-tor): replace sscanf call with an istringstream.
2242 * ispell.C: re-add missing HP/UX headers.
2243 * lyxserver.C: re-add missing os2 headers.
2245 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2254 * text3.C: re-add missing system headers, needed for 2.95.2.
2256 2003-09-05 Angus Leeming <leeming@lyx.org>
2258 Changes most place everywhere due to the removal of using directives
2259 from support/std_sstream.h.
2261 2003-09-05 Angus Leeming <leeming@lyx.org>
2263 Replace LString.h with support/std_string.h,
2264 Lsstream.h with support/std_sstream.h,
2265 support/LIstream.h with support/std_istream.h,
2266 support/LOstream.h with support/std_ostream.h.
2268 Changes resulting throughout the tree.
2270 2003-09-05 Angus Leeming <leeming@lyx.org>
2272 * sgml.h: ensure that the header file can be compiled stand-alone.
2273 * *.C: strip out redundant #includes. (320 in total.)
2275 2003-09-04 Angus Leeming <leeming@lyx.org>
2277 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2278 here (from getPackages).
2280 * debug.[Ch]: add a new EXTERNAL tag.
2282 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2284 * text2.C (cursorEnd): simplify
2286 (getColumnNearX): adjust
2288 * text.C (computeBidiTables): adjust
2291 * rowpainter.C (paintChars): adjust
2292 (paintSelection): adjust
2293 (paintChangeBar): adjust
2296 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2298 (numberOfSeparators): adjust
2300 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2306 * text3.C: Restricts the mouse click functionality
2307 of insets like bibtex, include, toc and floatlist to the visible
2308 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2309 up the dialogs. Cursor has to be in front of the inset (i.e.
2310 start of row) for this to function.
2312 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2314 * bufferview_funcs.C (currentState): output row information
2316 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2318 * bufferview_funcs.C (currentState): output paragraph position
2320 2003-09-04 Angus Leeming <leeming@lyx.org>
2322 * FloatList.h: move out #include "Floating.h".
2323 * LaTeX.h: move out #include "DepTable.h".
2324 * LyXAction.h: move out #include "funcrequest.h".
2325 * buffer.h: move out #include "author.h", "iterators.h".
2326 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2327 * lyx_main.h: move out #include "errorlist.h".
2328 * lyxfunc.h: move out #include "FuncStatus.h".
2329 * lyxtext: move out #include "lyxcursor.h".
2330 * paragraph_pimpl.h: move out #include "counters.h".
2332 2003-09-03 Angus Leeming <leeming@lyx.org>
2334 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2335 preamble_snippets list, enabling us to add snippets to the preamble
2336 only if the snippet was not there already.
2338 2003-09-04 Angus Leeming <leeming@lyx.org>
2340 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2342 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2344 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2347 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2349 * BranchList.C: point fix, earlier forgotten
2351 2003-09-02 Angus Leeming <leeming@lyx.org>
2353 * box.C (contains): renamed from 'contained' after a fantastic
2356 2003-09-02 John Levon <levon@movementarian.org>
2362 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2364 2003-09-02 John Levon <levon@movementarian.org>
2366 * text2.C: simplification of cursorEnd(), including partial
2369 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * buffer.C (readFile): add a space
2373 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2375 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2377 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * buffer.C (readFile): new function, take a filename and a
2380 ParagraphList::iterator
2382 (readFile): adjust, make it private. don't use setStream, make
2383 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2384 always contain the filename.
2386 * BufferView.C (insertLyXFile): simplify and make it work for
2389 2003-08-30 John Levon <levon@movementarian.org>
2391 * Makefile.am: fix dist (from Kayvan)
2393 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2395 * most files: change to use const Buffer refs
2397 2003-08-27 André Pönitz <poenitz@gmx.net>
2399 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2400 on top of ownerPar().
2402 2003-08-27 John Levon <levon@movementarian.org>
2404 * funcrequest.C: properly initialise POD members
2406 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2408 * lyxtext.h (top_y): move top_y from here
2413 * BufferView_pimpl.[Ch]: to here
2414 * frontends/screen.C:
2415 * insets/insettabular.C:
2416 * insets/insettext.C: adjust
2417 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2419 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2422 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2424 2003-08-26 André Pönitz <poenitz@gmx.net>
2426 * paragraph_func.[Ch] (outerPar): new function
2429 * paragraph_funcs.C:
2430 * paragraph_funcs.h:
2431 * paragraph_pimpl.C:
2432 * text2.C: remove Inset::par_owner
2434 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2439 * text2.C: eliminates the needFullRow/display() stuff
2440 altogether, putting the logic in metrics/draw in the insets.
2442 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2444 * text2.C (redoParagraphInternal, redoParagraphs):
2445 * text.C (redoParagraph): add a call to updateRowPositions at the
2446 end of each 'metrics-like' call. Remove all others.
2447 (getRow): remove the 'y-computing' version.
2448 (getRowNearY): do not compute nor return the real y. Solve the
2449 'y < 0' problem and simplify.
2451 2003-08-22 Angus Leeming <leeming@lyx.org>
2453 * *.[Ch]: clean-up of licence and author blurbs.
2454 Also move config.h out of a few .h files and into a few .C files.
2456 2003-08-22 André Pönitz <poenitz@gmx.net>
2458 * lyxrow.[Ch]: add x_ and *fill_ members
2463 * text2.C: adjust/remove prepareToPrint() calls
2465 2003-08-22 André Pönitz <poenitz@gmx.net>
2467 * lyxrow.[Ch]: add end_ member
2469 * lyxrow_funcs.C: use LyXRow::end_
2471 * lyxtext.h (singleWidth): add LyXFont parameter
2474 * text2.C: adjust LyXText::singleWidth() calls
2476 * text.C (redoParagraph): simplify row breaking logic
2479 2003-08-19 André Pönitz <poenitz@gmx.net>
2481 * funcrequest.C: initialize button_ member
2484 * rowpainter.[Ch]: interface consolidation
2486 2003-08-18 André Pönitz <poenitz@gmx.net>
2489 * BufferView_pimpl.C:
2491 * paragraph_funcs.C:
2493 * text3.C: remove LyXScreen::draw() and fitCursor calls
2495 * BranchList.h: remove spurious semicolons
2497 * MenuBackend.C: fix branchlist related crash
2499 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2507 * bufferparams.[Ch]:
2511 * text3.C: implements the 'branch inset'
2512 idea. This allows the output of various versions of a document
2513 from a single source version, selectively outputing or suppressing
2514 output of parts of the text.
2515 This implementation contains a 'branch list editor' in a separate
2516 tab of the document settings dialog. Branches are user definable
2517 and have a "display colour" to distinguish them on-screen.
2519 ColorHandler was somewhat cleaned up.
2520 (1) make possible a dynamically growing LColor list by allowing
2521 the graphic context cache to grow along (vector);
2522 (2) eliminate an IMHO unnecessary step in colour allocation.
2524 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2526 * BufferView_pimpl.C: compile fix
2528 2003-08-15 André Pönitz <poenitz@gmx.net>
2530 * rowpainter.C: remove extra metrics calls
2532 * lyxtext.h: merge the two constructors into a single one,
2533 pass reference to owner's par list
2535 * BufferView_pimpl.C:
2539 2003-08-15 André Pönitz <poenitz@gmx.net>
2541 * lyxrow_funcs.[Ch]:
2544 * paragraph_funcs.C:
2549 * text_funcs.C: split LyXText::rowlist_ into individual
2550 Paragraph::rows_ chunks
2553 * BufferView_pimpl.[Ch]:
2556 * text3.C: remove toggleSelection()
2558 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2560 * bufferlist.C: beautify two alerts (shorter text of buttons)
2561 * buffer.C: Remove redundant ' ' from message
2563 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2564 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2565 rename VALIGN_CENTER to VALIGN_MIDDLE
2567 2003-08-11 André Pönitz <poenitz@gmx.net>
2569 * lyxtext.h (getPar):
2570 * text.C: new function
2572 2003-08-11 André Pönitz <poenitz@gmx.net>
2575 * tracer.[Ch]: remove unneeded files
2577 * InsetList.[Ch]: remove resizeInsetsLyXText()
2582 * text3.C: merge insertParagraphs() and appendParagraph()
2583 remove breakAgain(), update()
2585 * BufferView_pimpl.[Ch]:
2586 * bufferview_funcs.[Ch]:
2590 * tabular.C: adjust after text & InsetList changes.
2592 2003-08-08 André Pönitz <poenitz@gmx.net>
2594 * text.C (insertChar, backspace): replace rowlist fiddling
2595 with rebreak of full par
2598 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2599 checkParagraph, updateInset): removed
2601 2003-08-07 André Pönitz <poenitz@gmx.net>
2604 * text3.C: merge some LFUN handlers, remove dead code
2606 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2608 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2610 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2612 * text2.C (DEPM): fix part of bug 1255 and 1256
2614 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2616 * BufferView_pimpl.C (workAreaDispatch): change to use
2617 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2618 that are no mouse related.
2620 2003-08-05 André Pönitz <poenitz@gmx.net>
2623 * BufferView_pimpl.[Ch]:
2624 * bufferview_funcs.C:
2626 * text3.C: rip out "deep update"
2628 * textcursor.[Ch] (last_sel_cursor): remove unused member
2630 2003-08-04 André Pönitz <poenitz@gmx.net>
2633 * BufferView_pimpl.[Ch]:
2634 * ParagraphParameters.C:
2635 * bufferview_funcs.C:
2641 * text3.C: replace "complicated" BufferView::update(...) calls with
2644 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2646 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2648 * Makefile.am (lyx_SOURCES): add paper.h
2650 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2652 * Makefile.am: move things around so that both lyx-qt and
2653 lyx-xforms can be built (according to --with-frontend). Then lyx
2654 is a symbolic link to lyx-[firstfrontend]
2656 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2658 * Always use std::endl with lyxerr
2660 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2662 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2664 2003-08-01 André Pönitz <poenitz@gmx.net>
2667 * BufferView_pimpl.[Ch]:
2669 * text3.C: merge BufferView::repaint() and BufferView::update()
2671 2003-08-01 José Matos <jamatos@lyx.org>
2673 * buffer.[Ch]: file_format is no longer a buffer data element.
2675 2003-08-01 André Pönitz <poenitz@gmx.net>
2680 * text2.C: make redoParagraph more independent of current cursor
2682 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2684 * text2.C: remove unneeded members
2686 2003-07-30 André Pönitz <poenitz@gmx.net>
2688 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2690 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2691 create a single function...
2693 * paragraph_funcs.C (moveItem): ... here.
2696 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2698 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2700 * LColor.[Ch]: Add comment and greyedout logical colors.
2702 2003-07-30 André Pönitz <poenitz@gmx.net>
2704 * tabular.C: don't use Assert too heavily. This crashes where it
2707 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2709 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2710 is disabled (bug 1232)
2712 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2714 * factory.C: limited 'arg' scope
2716 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2718 * factory.C: fixed Note submenu issues
2720 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2722 * factory.C: submenu for Note/Comment/Greyedout
2724 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2727 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2729 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2732 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2733 greyedout. Patch provided by Jürgen Spitzmüller.
2735 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2737 * kbmap.C (read): fix error message when reading bind files
2739 2003-07-29 Angus Leeming <leeming@lyx.org>
2741 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2742 certainly does not do what it purports to do. I am doing it, and
2743 us, a favour by killing it.
2745 2003-07-28 José Matos <jamatos@lyx.org>
2747 * buffer.C (readBody, do_writeFile):
2748 * paragraph.C(readParagraph): \end_document replaces \the_end.
2750 2003-07-29 André Pönitz <poenitz@gmx.net>
2753 * BufferView_pimpl.[Ch]:
2757 * textcursor.[Ch]: remove toggleToggle & Co
2759 2003-07-28 José Matos <jamatos@fep.up.pt>
2761 * buffer.C (readParagraph):
2762 * params_func (readParToken, readParagraph):
2763 * paragraph.C (write): \layout -> \begin_layout.
2765 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * lyxlex_pimpl.C (setFile): clean up slightly.
2769 * bufferparams.h: add compressed var
2771 * buffer_funcs.C (readFile): adjust for LyXLex change
2772 (newFile): ditto + simplify
2774 * buffer.C (writeFile): handle writing of compressed files
2776 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2777 Check if the file is compressed and set a bufferparm if so.
2779 * Makefile.am (lyx_LDADD): remove explicit -lz
2781 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2783 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2784 makeDocBookFile): put the real LyX version in the first line of
2788 * version.C.in: remove lyx_docversion
2790 * tabular.C (write_attribute): add a template-based version to
2791 write enums properly
2793 2003-07-28 André Pönitz <poenitz@gmx.net>
2798 * text3.C: use doubles again for x-coordinates. They are needed.
2800 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * messages.C (getLocaleDir): use lyx_localedir()
2804 * lyxlex_pimpl.C (setFile): compress stuff
2806 * buffer.C (writeFile): add some compression stuff
2807 (do_writeFile): new func, dont call expliti close... will this
2810 * Makefile.am (lyx_LDADD): add -lz
2812 2003-07-28 José Matos <jamatos@fep.up.pt>
2814 * buffer.C: increment file format.
2815 * paragraph_funcs (readParagraph, readParToken):
2816 * paragraph.C (readParagraph): add \end_layout.
2818 2003-07-27 Angus Leeming <leeming@lyx.org>
2820 * Makefile.am: remove special casing for configure-time setting of
2821 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2823 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2824 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2826 2003-07-26 André Pönitz <poenitz@gmx.net>
2828 * paragraph_func.[Ch]:
2829 * paragraph.C (realizeFont): inline it whereever it is used
2834 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2837 2003-07-26 André Pönitz <poenitz@gmx.net>
2841 * text2.C: get rid of LyXText::need_break_row
2843 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * toc.[Ch]: put namespace toc inside namespace lyx
2847 * MenuBackend.C (expandToc2): adjust for lyx::toc
2850 * lyxfunc.C (dispatch): adjust for lyx::find
2852 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2853 lyx::find instead. Reorganize a bit.
2854 (LyXReplace): rename to replace
2855 (LyXFind): rename to find
2857 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2860 2003-07-26 André Pönitz <poenitz@gmx.net>
2862 * text.C (setHeightOfRow): restrict scope of temporary variable
2864 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2865 code (never has been used?)
2867 2003-07-27 Asger Alstrup <alstrup@local>
2869 * text.C (fill): Optimise algorithm to exploit that we can reuse
2870 the LyXFont for many characters.
2871 (setHeightOfRow): Same thing.
2872 (rowBreakPoint): Same thing.
2874 2003-07-26 Asger Alstrup <alstrup@local>
2876 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2878 * text.C (singleWidth): Spurious font copying in hot-spot
2879 singleWidth avoided. Reorder tests for arabic for efficiency.
2881 * text.C (fill): handle empty paragraphs better.
2883 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 * encoding.h: add includes
2888 * lyxrc.C: remove reading of bind files
2890 * lyx_main.C (init): setup bindings and menus only if we have a
2893 * kbmap.C (read): new method. Do the actual reading of bind
2896 * converter.C (dvipdfm_options):
2899 (output): adapt PAPER_* enums.
2901 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2903 * bufferparams.h: remove paper-related enums from there
2905 * paper.h: New file. A trivial header file to hold paper-related
2906 enums. It should later expand to contain many paper-related
2909 * lyxrc.C: declare extern displayTranslator
2911 2003-07-27 José Matos <jamatos@fep.up.pt>
2913 * tabular.[Ch] (linuxdoc): add support for tables and figures
2916 2003-07-27 José Matos <jamatos@fep.up.pt>
2918 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2919 consistency in both functions.
2920 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2922 2003-07-26 Asger Alstrup <alstrup@local>
2924 * rowpainter.C (paintRows): Change algorithm to work directly on
2925 the insets rather than asking every character in the document
2926 whether its an inset.
2928 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2930 * buffer.C (openFileWrite): factorize some code
2932 2003-07-26 Angus Leeming <leeming@lyx.org>
2935 * lyx_main.[Ch]: replace occurances of system_tempdir with
2938 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2940 * rename Inset to InsetOld
2942 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2944 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2945 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2946 which I think is a bit clearer. EDIT is gone, since it was
2947 premature optimisation, and broken for mathed anyway.
2948 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2949 with cursor positioning in insets as well (math insets still do not
2950 work, but that's a different story anyway.) It mysteriously
2951 crashes sometimes with undo in the first paragraph, but I'm fairly
2952 confident that this is a compiler bug.
2954 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2956 * paragraph.C (Paragraph): adjust for new clone return type
2958 (copyIntoMinibuffer): ditto
2960 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2962 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2963 by not having a special case, and always doing a full rebreak of
2964 the document after undo.
2966 2003-07-23 Angus Leeming <leeming@lyx.org>
2968 * factory.C (createInset): InsetExternal::setParams now takes a
2971 2003-07-23 Angus Leeming <leeming@lyx.org>
2973 * factory.C (createInset): changed interface to the external and
2974 graphics mailers' string2params functions.
2976 2003-07-23 Angus Leeming <leeming@lyx.org>
2978 * factory.C (createInset): pass a
2979 Buffer const * parameter to InsetExternalMailer's string2params.
2981 2003-07-22 John Levon <levon@movementarian.org>
2983 * Thesaurus.h: include the right aiksaurus header
2985 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2987 * MenuBackend.C (expand): check menu shortcuts unconditionally
2989 2003-07-21 Angus Leeming <leeming@lyx.org>
2991 * factory.C (createInset): pass a
2992 buffer_path parameter to InsetGraphicsMailer's string2params.
2994 2003-07-21 Angus Leeming <leeming@lyx.org>
2996 * BufferView_pimpl.C (buffer):
2999 * lyxfunc.C (dispatch):
3000 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3001 rather than the grfx shortcut.
3003 2003-07-21 André Pönitz <poenitz@gmx.net>
3005 * rowpainter.C: remove unused variables
3008 * tabular_funcs.h: move to tabular.C
3009 * Makefile.am: adjust
3011 * tabular.[Ch]: basic optical cleaning
3013 * author.h: pass references, not values
3015 2003-07-18 André Pönitz <poenitz@gmx.net>
3023 * text3.C: two-phase drawing for InsetText and InsetTabular
3024 some float -> int changes.
3026 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3028 * lyx_main.C: fix the fix
3030 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3032 * lyx_main.C: fix a crash in batch mode if no files specified
3035 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3037 * format.[Ch] (papersize): moved to BufferParams
3038 * converter.[Ch] (dvips_options): moved to BufferParams
3039 (dvipdfm_options): moved to anon namespace
3040 * bufferparams.[Ch]: added above functions.
3042 2003-07-17 André Pönitz <poenitz@gmx.net>
3046 * text2.C: don't call inset->update() anymore
3048 * metricsinfo.[Ch]: add convenience constructor
3050 2003-07-16 André Pönitz <poenitz@gmx.net>
3055 * text2.C: replace the LyXCursor::irow_ member with
3056 on-demand computation of the value
3058 2003-07-16 John Levon <levon@movementarian.org>
3060 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3062 2003-07-15 André Pönitz <poenitz@gmx.net>
3065 * text2.C: remove no more needed refresh_row
3067 2003-07-15 André Pönitz <poenitz@gmx.net>
3072 * text3.C: refresh_status tristate -> need_update bool
3074 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3076 * lyxtext.h (init): remove reinit argument (act as if always true)
3077 * text2.C: adjust to that
3079 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3081 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3082 * text3.C: use it to delete selections in some cases
3083 (bugs 441, 673, 702, 954).
3085 2003-07-14 André Pönitz <poenitz@gmx.net>
3087 * rowpainter.[Ch]: reduce interface
3089 2003-07-14 André Pönitz <poenitz@gmx.net>
3091 * BufferView_pimpl.C:
3092 * text2.C: adjust after removing unused BufferView * argument
3094 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3096 * text2.C (init): fix a crash fired on resize
3098 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3100 * buffer.[Ch]: added new closing signal
3101 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3102 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3103 BufferView::Pimpl via the closing the signal
3105 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3107 * buffer.[Ch]: take out all bv-related from buffer
3109 * BufferView_pimpl.[Ch]: connect to new signals
3110 * CutAndPaste.C: removed useless asserts
3111 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3114 * lyxfunc.C: moved view-related funciontality from vc here
3115 * paragraph.C: removed outdated comments
3118 2003-07-10 André Pönitz <poenitz@gmx.net>
3120 * BufferView_pimpl.C:
3124 * text2.C: remove InsetText::InnerCache, clean up consequences
3126 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3128 * ispell.C: fix two typos in error messages
3130 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3132 * Extend Note inset to other forms of annotation like Comment
3133 and Greyedout. Right button click gives dialog.
3135 Files modified or added (+):
3139 * ControlNote.[Ch] +
3141 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3142 frontends/controllers
3146 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3148 * aspell.C: add missing namespace lyx::support
3150 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3152 * BufferView.[Ch] (newFile): Add
3153 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3154 * LaTeX.[Ch] (message): added this signal and use it
3155 * buffer.[Ch] (busy, message): added these signals and use them
3156 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3160 * importer.C: use buffer signals instead of direct bv calling
3161 * lyx_cb.[Ch] (ShowMessage): removed
3164 * paragraph_funcs.C:
3165 * text2.C: use buffer signals
3167 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * introduce namespace lyx::graphics
3171 2003-07-02 André Pönitz <poenitz@gmx.net>
3173 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3175 2003-07-01 André Pönitz <poenitz@gmx.net>
3182 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3183 text*.C to text_func.C
3185 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * introduce namespace lyx::support
3189 2003-06-30 André Pönitz <poenitz@gmx.net>
3194 * text.C: re-enable --with-included-string
3196 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * textcursor.C: add <config.h>
3200 * text.C (getWord): remove const from word_location arg
3202 * lyxvc.C (getLogFile): fix const type order
3204 * lyxtext.h: remove const from word_location arg, add arg name
3206 * lyxlayout.h: currect type on labeltype.
3208 * importer.C: correct \file
3210 * converter.C (intToFormat): use std:: on ret val, ws changes
3212 * bufferlist.h: correct \file
3214 * buffer.C (makeLinuxDocFile): fix const type order
3215 (makeDocBookFile): ditto
3216 (fillWithBibKeys): use std:: on stdlib args.
3218 * CutAndPaste.C: fix authors.
3219 (availableSelections): use std:: on return vector
3221 2003-06-27 André Pönitz <poenitz@gmx.net>
3223 * BufferView_pimpl.C:
3224 * bufferview_funcs.C:
3232 * text3.C: remove LyXCursor::row_ member
3235 * text.C: rename fullRebreak() to partialRebreak() and implement
3236 a fullRebreak() that really bereks fully
3238 * textcursor.h: new struct for cursor-related data
3240 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3242 * lyx_main.C (LyX): get full path of document loaded on the
3245 2003-06-26 André Pönitz <poenitz@gmx.net>
3247 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3248 remove unused/broken operator>,<,>=.
3250 * text.C: remove only use of broken operator<= in an Assert().
3252 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3254 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3255 moved errorlist_.clear to showErrorList
3257 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3259 * converter.C (scanLog, runLaTeX):
3260 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3261 move the bv->showErrorList call to the callers
3262 * lyxfunc.C: i.e. here...
3264 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3265 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3266 namespace, the second to...
3267 * buffer_funcs (BufferFormat, parseErrors): added
3268 * errorlist.C (ErrorList(TeXErrors const &)): removed
3270 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3272 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3274 2003-06-24 "Garst R. Reese" <reese@isn.net>
3278 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3280 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3282 * version.C.in: change docversion to 1.4
3284 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3286 * buffer.C: fix a bug just introduced
3288 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3290 * buffer.[Ch]: added the parseError signal and use it, removed
3292 * BufferView.[Ch] (addError): moved to ...
3293 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3294 to the Buffer::parseError signal to catch (guess what) parse errors
3295 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3297 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3299 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3300 ability to create a buffer and to return an existing one from
3301 the list. Moved these functions to...
3302 * buffer_funcs.[Ch]: added
3303 * BufferView.[Ch] (loadLyXFile): added
3304 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3305 job removed from bufferlist::loadLyXFile.
3306 * buffer.C (setReadOnly): make it work without view
3307 (i.e added an if (users))
3309 2003-06-19 Angus Leeming <leeming@lyx.org>
3312 * LyXAction.C (init):
3313 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3314 with LFUN_DIALOG_SHOW <name> <data>.
3316 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3318 * CutAndPaste.C (availableSelections): small compilation fix for
3319 ancient (gcc 2.9x) compilers
3321 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * text3.C (cursorNext): add tmp var
3325 * text2.C (updateCounters): for function calling out of for clause
3326 (replaceSelectionWithString): ditto
3327 (insertStringAsParagraphs): ditto
3328 (getColumnNearX): add tmp var
3329 (setCursorFromCoordinates): add tmp var
3330 (cursorDownParagraph): add tmp var
3331 (deleteEmptyParagraphMechanism): add tmp var
3333 * text.C (insertChar): add tmp var
3335 * rowpainter.C (paintDepthBar): add tmp var
3337 * CutAndPaste.C (availableSelections): potentially check all
3338 paragraphs in a cut to fill the shown strings.
3340 2003-06-18 André Pönitz <poenitz@gmx.net>
3342 * kbmap.[Ch]: use vector<> instead of list<>
3344 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3346 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3347 pasteSelection with index
3349 * text2.C (pasteSelection): modify, call pasteSelection with index
3351 * paragraph.C (asString): reimplement version with no interval to
3352 call the one with interval.
3354 * lyxtext.h: add index arg to pasteSelection
3356 * MenuBackend.C (MenuItem): handle PasteRecent
3357 (Menu::read::Menutags): add md_pasterecent
3359 (expandPasteRecent): new function
3362 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3364 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3366 (availableSelections): new function
3368 2003-06-17 Angus Leeming <leeming@lyx.org>
3370 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3372 2003-06-17 Angus Leeming <leeming@lyx.org>
3375 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3377 * lyxfunc.C (dispatch): invoke it.
3379 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3381 * iterators.C (operator++, ParPosition): reintroduce some
3382 const_cast for the benefit of older compilers.
3384 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3386 * text3.C (dispatch): do not modify clipboard when doing
3387 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3388 LFUN_DELETE_SKIP on a selection selection
3390 2003-06-16 André Pönitz <poenitz@gmx.net>
3396 * tabular.[Ch]: IU of clone() and getLabelList();
3398 2003-06-13 André Pönitz <poenitz@gmx.net>
3400 * tabular.h: compactification
3402 2003-06-12 André Pönitz <poenitz@gmx.net>
3406 * tabular_funcs.h: some renaming plus whitespace
3408 2003-06-12 André Pönitz <poenitz@gmx.net>
3411 * BufferView_pimpl.C:
3417 * toc.C: Return a Paragraph & for ParIterator::operator*()
3419 2003-06-11 John Levon <levon@movementarian.org>
3423 * ToolbarBackend.C: add "Toolbars" section and
3426 2003-06-10 Angus Leeming <leeming@lyx.org>
3429 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3431 * lyxfunc.C (dispatch): invoke it.
3433 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * main.C: protect <ios> with HAVE_IOS
3436 (main): protect sync_with_stdio with HAVE_IOS
3438 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3440 * text2.C (cutSelection): adjust
3441 (pasteSelection): adjust
3443 * messages.C: handle get of empty string
3445 * main.C (main): use sync_with_stdio(false)
3447 * lyxfunc.C (dispatch): adjust
3449 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3450 (WriteAs): remove unneeded BufferView arg.
3452 * bufferparams.h: use correct types on papersize, papersize2 and
3455 * bufferparams.C (readToken): adjust for type
3456 (writeLaTeX): add missing cases to switch.
3458 * bufferlist.C (quitWriteBuffer): adjust
3461 * buffer.C (asciiParagraph): remove some commented code.
3463 * CutAndPaste.C: remove current_view extern variable.
3464 (cutSelection): add BufferParams arg.
3465 (eraseSelection): add BufferParams arg.
3466 (pasteSelection): add Buffer const & arg
3468 2003-06-07 John Levon <levon@movementarian.org>
3471 * paragraph_funcs.C:
3472 * paragraph_pimpl.C:
3476 * paragraph.C: allow InsetERT to freely space lines,
3477 and some consolidation of code
3479 2003-06-06 José Matos <jamatos@fep.up.pt>
3481 * buffer.C (makeDocBookFile): fix bug #821
3483 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3485 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3487 2003-06-04 Angus Leeming <leeming@lyx.org>
3489 * buffer.C: bump format to 224.
3491 2003-06-05 André Pönitz <poenitz@gmx.net>
3493 * text2.C (redoParagraphs): remove two const_cast<>
3495 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3497 * ParagraphList.h: remove last remnants of NO_STD_LIST
3499 2003-06-03 Angus Leeming <leeming@lyx.org>
3501 * factory.C (createInset): small change to the way InsetExternal's params
3504 2003-06-04 André Pönitz <poenitz@gmx.net>
3506 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3508 * paragraph_pimpl.h:
3509 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3511 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3513 * undo_funcs.C: make some simple cases of undo work again
3515 2003-06-03 John Levon <levon@movementarian.org>
3517 * ispell.C: HPUX doesn't have sys/select.h
3520 2003-06-03 John Levon <levon@movementarian.org>
3522 * CutAndPaste.C: update tabular and include inset
3527 * paragraph.C: remove owningBuffer(), don't pass Buffer
3530 * factory.C: insetGraphicsParams changed
3532 2003-06-02 John Levon <levon@movementarian.org>
3538 * text3.C: remove insetparent
3540 2003-06-02 John Levon <levon@movementarian.org>
3543 * buffer.C: fix inset_iterator.end(), move out of line
3546 2003-06-01 John Levon <levon@movementarian.org>
3548 * text3.C: use a proper cut/paste when doing inset
3549 insert (from Jürgen Spitzmüller)
3551 2003-06-01 John Levon <levon@movementarian.org>
3553 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3555 2003-05-30 André Pönitz <poenitz@gmx.net>
3557 * rowpainter.C: unify second drawing phase
3559 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * trans_mgr.C: remove one case of current_view
3563 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3565 * paragraph_funcs.h: remove paragraph.h include
3567 * paragraph.h: delete NO_STD_LIST stuff
3569 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3571 * buffer.h: remove paragraph.h include
3573 * ParagraphList.C: delete file
3575 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3577 * toc.C (getTocList): adjust
3579 * paragraph_pimpl.C (validate): adjust
3581 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3583 * paragraph.C (Paragraph): adjust
3584 (getPositionOfInset): use const_iterator, adjust
3585 (bibitem): use const_iterator, adjust
3586 (setInsetOwner): adjust
3588 * iterators.C (operator++): adjust
3590 * InsetList.[Ch]: Replace selfmade iterator with standard
3591 vector::iterator also introduce const_iterator. Remove getPos,
3592 getInset and setInset from InsetTable. Adjust accordingly.
3594 * BufferView.C (lockInset): adjust
3595 (ChangeInsets): adjust
3597 * tabular.[Ch]: delete commented same_id functions
3599 2003-05-28 John Levon <levon@movementarian.org>
3601 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3603 2003-05-28 André Pönitz <poenitz@gmx.net>
3605 * metricsinfo.[Ch]: remove 'fullredraw' member
3607 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3609 * lyxtextclass.C (operator): remove caching.
3611 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * text2.C (cursorBottom): adjust
3616 (setCounter): use ParagraphList::find, adjust
3618 * text.C (workWidth): use ParagraphList::find, adjust
3620 * lyxcursor.C (LyXCursor): adjust
3622 * buffer.C (inset_iterator): adjust
3624 * ParagraphList.h: make iterator(value_type) private, make
3625 ParagraphList a friend of iterator.
3627 * ParagraphList.C (find): new function
3629 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3631 2003-05-27 André Pönitz <poenitz@gmx.net>
3633 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3635 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3637 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3639 2003-05-26 John Levon <levon@movementarian.org>
3641 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3643 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3645 * remove same_id from function signatures, adjust.
3647 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3651 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3653 * paragraph.C (Paragraph): get rid of same_ids parameter
3655 * ParagraphList.C (insert): adjust
3658 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * paragraph_funcs.C (breakParagraph): adjust
3661 (breakParagraphConservative): adjust
3663 * buffer.C (readParagraph): adjust
3665 * ParagraphList.C (insert): take a reference instead of a pointer
3668 * paragraph.[Ch] (id): new function
3670 * bufferlist.C (newFile): adjust
3672 * ParagraphList.C (ParagraphList): adjust
3674 (push_back): take a reference instead of a pointer.
3676 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3678 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3681 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3682 set else use old code.
3684 * ParagraphList.C: remove all NO_NEXT code and only compile this
3685 code of NO_STD_LIST is set.
3687 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3689 * BufferView_pimpl.C:
3699 * graphics/GraphicsConverter.C:
3700 * graphics/PreviewLoader.C: header adjustment
3702 2003-05-23 Angus Leeming <leeming@lyx.org>
3704 * LaTeXFeatures.[Ch] (useBabel): new method.
3705 * bufferparams.C (writeLaTeX): use it.
3707 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * ParagraphList.h (set): remove unused function.
3711 2003-05-23 André Pönitz <poenitz@gmx.net>
3714 * BufferView_pimpl.C:
3718 * undo_funcs.C: setUndo reworked
3720 * iterators.[Ch]: add access to topmost ParagraphList
3722 * lyxtext.[Ch] (workWidth): add a const
3724 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3726 * texrow.[Ch] (increasePos): remove function
3727 * exporter.C (export): removed unused var and outdated comment
3729 2003-05-23 Angus Leeming <leeming@lyx.org>
3731 * latexrunparams.h: rename fragile as moving_arg.
3732 * paragraph.C (simpleTeXOnePar): ditto.
3733 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3735 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3739 (textUndoOrRedo): comment out a currently unused var.
3741 * paragraph.h (NO_NEXT): enable NO_NEXT
3743 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3745 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3747 * exporter.C (Export): adjust for removeAutoInsets removal.
3749 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3751 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3753 * BufferView.[Ch] (removeAutoInsets): delete function
3755 2003-05-22 Angus Leeming <leeming@lyx.org>
3757 * latexrunparams.h: add a free_spacing variable.
3759 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3760 to pass moving_arg, as the data is stored in runparams.fragile.
3762 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3763 to Inset::latexOptional or to simpleTeXOnePar.
3765 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3766 free_spacing arg to Inset::latexOptional.
3768 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3771 2003-05-22 Angus Leeming <leeming@lyx.org>
3773 * latexrunparams.h: add fragile and use_babel variables.
3775 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3776 * buffer.C (makeLaTeXFile): store this returned value in
3777 runparams.use_babel, thus passing it to the inset::latex methods.
3779 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3780 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3782 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3783 longer has a fragile arg, as it is stored in runparams.fragile.
3785 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3786 moving_arg parameter as the data is stored in runparams.fragile.
3788 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3789 a fragile parameter as the data is stored in runparams.fragile.
3791 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3793 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3795 2003-05-22 Angus Leeming <leeming@lyx.org>
3797 * latexrunparams.h: add a 'bool nice' which defaults to false.
3799 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3800 now encapsulated within runparams.
3802 * bufferlist.C (updateIncludedTeXfiles):
3803 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3805 2003-05-22 Angus Leeming <leeming@lyx.org>
3807 * latexrunparams.h: new file containing struct LatexRunParams.
3808 * Makefile.am: add new file.
3810 * LaTeX.[Ch] (c-tor, run):
3811 * buffer.[Ch] (makeLaTeXFile):
3812 * bufferlist.[Ch] (updateIncludedTeXfiles):
3813 * converter.C (convert, scanLog):
3814 * converter.[Ch] (runLaTeX):
3815 * exporter.C (Export):
3816 * paragraph.[Ch] (simpleTeXOnePar):
3817 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3818 * paragraph_funcs.[Ch] (latexParagraphs):
3819 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3820 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3821 pass around a LatexRunParams parameter.
3823 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * paragraph.[Ch]: remove unused constructor
3827 * ParagraphList.C (erase): new function, taking two iterators
3829 2003-05-22 André Pönitz <poenitz@gmx.net>
3831 * undo_funcs.C: remove duplicated code
3833 * iterator.[Ch]: operator=
3835 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * tabular.C (SetMultiColumn): ws changes
3839 * rowpainter.C (paintFirst): get rid of a ->previous
3841 * lyx_cb.C (getPossibleLabel): parlist simplification
3843 * BufferView.C (ChangeInsets): simplify slightly.
3845 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3847 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3848 * lfuns.h: new LFUN_SPACE
3849 * lyxfunc.C: protected space has a new lfun
3850 * paragraph_funcs.C: read new space insets
3852 * factory.C: handle new space insets
3854 2003-05-22 André Pönitz <poenitz@gmx.net>
3857 * BufferView_pimpl.C:
3860 * undo_funcs.C: return a ParIterator from getParFromID.
3862 * iterators.[Ch]: add two const's
3864 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * toc.C (getTocList): adjust
3868 * iterators.[Ch]: rework for parlist
3870 * buffer.C (par_iterator_begin): adjust
3871 (par_iterator_end): adjust
3873 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3875 * BufferView.C (removeAutoInsets): adjust
3876 (ChangeInsets): adjust
3878 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3880 * text.C (top_y): fix bug 1110
3882 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3884 * errorlist.[Ch]: added
3887 * BufferView_pimpl.C:
3888 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3891 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * Makefile.am: ensure that lyx is relinked upon changes to the
3894 various "convenience" libs.
3896 2003-05-20 Angus Leeming <leeming@lyx.org>
3898 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3899 files are compiled in alphabetical order again.
3901 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3903 2003-05-19 Angus Leeming <leeming@lyx.org>
3905 * gettext.[Ch]: remove "char const * _(char const *)".
3907 2003-05-19 André Pönitz <poenitz@gmx.net>
3909 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3918 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3920 2003-05-19 André Pönitz <poenitz@gmx.net>
3924 * lyxtextclass.[Ch]:
3926 * paragraph_funcs.[Ch]:
3928 * text3.C: more insetenv work
3930 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3932 * ParagraphParameters.C (params2string): small bug fixed
3934 2003-05-16 André Pönitz <poenitz@gmx.net>
3937 * bufferview_funcs.C: patch from Kornel Benko to prevent
3938 crash when _(...) is called twice in a statement
3940 2003-05-16 André Pönitz <poenitz@gmx.net>
3947 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3949 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3951 * lyx_main.C (init): remove spurious static_cast
3953 2003-05-14 André Pönitz <poenitz@gmx.net>
3955 * BufferView.C: fix format string
3957 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3959 * BufferView.[Ch] (insertErrors): removed
3960 * BufferView.[Ch] (showErrorList): added
3961 * buffer.C (runChkTeX):
3962 * converter.C (scanLog): call showErrorList instead of inserterrors
3964 2003-05-13 André Pönitz <poenitz@gmx.net>
3966 * BufferView_pimpl.C:
3968 * bufferview_func.C:
3975 * tabular_funcs.h: tostr() from its own header
3977 * ParagraphParameters.C:
3982 * text3.C: STRCONV()
3984 2003-05-12 André Pönitz <poenitz@gmx.net>
3987 * BufferView_pimpl.C:
3991 * ParagraphParameters.C:
3995 * bufferview_funcs.C:
4008 * paragraph_funcs.C:
4012 * text3.C: boost::format -> bformat all over the place
4015 2003-05-09 André Pönitz <poenitz@gmx.net>
4017 * LColor.[Ch]: Pimpl the #include <map> away
4019 2003-05-09 John Levon <levon@movementarian.org>
4021 * bufferlist.C: never remove emergency saves
4023 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4025 * Makefile.am: better lib building
4027 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4031 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4032 (simpleTeXSpecialChars): adjust
4033 (simpleTeXSpecialChars): adjust
4034 * paragraph.C (simpleTeXOnePar): adjust
4035 * buffer.C (makeLaTeXFile): adjust
4037 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4039 * text2.C (changeDepth): parlist cleanup
4040 (getColumnNearX): ditto
4042 * rowpainter.C (getLabelFont): parlist cleanup
4044 * bufferlist.C (newFile): parlist cleanup
4046 * CutAndPaste.C (eraseSelection): parlist cleanup
4048 * BufferView_pimpl.C (trackChanges): parlist cleanup
4051 * BufferView.C (lockInset): parlist cleanup.
4052 (ChangeInsets): ditto
4054 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * CutAndPaste.h: Update file header.
4058 * CutAndPaste.C: Update file header.
4059 Store the parts cut out of the Document in a limited_stack.
4060 (copySelection): adjust
4061 (pasteSelection): new function, takes the index in the limited stack.
4062 (nrOfParagraphs): adjust
4063 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4064 simplify error inset insertion.
4065 (checkPastePossible): adjust
4067 2003-05-06 John Levon <levon@movementarian.org>
4069 * text2.C: don't cast wrap inset to float
4071 2003-05-05 André Pönitz <poenitz@gmx.net>
4074 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4076 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4077 few naked Paragraph *.
4079 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4081 * bufferparams.C: Output warning if a document with missing
4082 TeX document class is loaded
4083 * exporter.C: Disable TeX exports if the document class is missing
4086 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4087 isTeXClassAvailable()
4089 2003-05-03 John Levon <levon@movementarian.org>
4092 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4093 explicit cursor show/hide
4095 * BufferView_pimpl.h:
4096 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4097 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4099 * lyxfunc.C: hide cursor before dispatching.
4104 * text3.C: remove explicit cursor hides
4106 2003-05-02 André Pönitz <poenitz@gmx.net>
4108 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4111 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4114 * text2.C: tiny whitespace
4116 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * undo_funcs.C: almost only ws changes.
4120 * ParagraphList.C (splice): just return if pl is empty.
4122 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * ParagraphList.C (splice): new function.
4126 * CutAndPaste.C (pasteSelection): use it
4128 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * CutAndPaste.C (pasteSelection): remove the last next and
4131 previous from this file.
4133 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * CutAndPaste.C (pasteSelection): more clean up, user proper
4136 ParagraphList functions for pasteing.
4138 * ParagraphList.C (insert): new function, three arg insert
4140 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * ParagraphList.C (insert): new function, three arg insert
4144 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4147 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4149 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4151 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4155 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4158 (copySelection): clean up a bit.
4159 (pasteSelection): use make_pair
4161 * ParagraphList.C (ParagraphList): implement copy constructor
4162 (operator=): implement, base on copy constructor.
4165 * paragraph.C (erase): return a bool
4167 * paragraph_pimpl.C (erasePos): remove function, move contents...
4168 (erase): ... here. Return a bool.
4169 (erase): call erase instead of erasePos.
4171 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4173 * ParagraphList.h: define PitPosPair
4174 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4175 ParagraphList, fix a bug on pasting multiple pars
4176 * text2.C: change interface to C&P
4178 2003-04-30 André Pönitz <poenitz@gmx.net>
4180 * undo_func.C: revert part of yesterday's patch 2
4182 2003-04-30 John Levon <levon@movementarian.org>
4184 * LColor.C: s/tabular/table/
4186 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text3.C (dispatch): do not convert iterator -> pointer
4189 * undo_funcs.C (setCursorParUndo): ditto
4190 * text_funcs.C (transposeChars): ditto
4192 * text2.C (setLayout): ws changes only
4194 * text.C (breakParagraph): do not convert iterator -> pointer
4196 (acceptChange): ditto
4197 (rejectChange): ditto
4202 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4205 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4207 * text3.C (gotoInset): YABG (yet another bad getChar)
4209 2003-04-29 André Pönitz <poenitz@gmx.net>
4211 * paragraph.h: make operator= private unimplemented as long as
4214 * ParagraphList.C: whitespace
4217 * paragraph_pimpl.[Ch]:
4218 * paragraph_funcs.C:
4220 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4223 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4225 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4227 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4228 * paragraph.[Ch] (erase):
4229 * paragraph_pimpl.[Ch] (erase): change return type and value
4230 * text2.C (cutSelection): some rework
4232 2003-04-28 John Levon <levon@movementarian.org>
4234 * bufferlist.C: changes for unsaved changes dialog
4236 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * bufferlist.C (newFile): set language (messages_) for new
4241 * buffer.C (readFile): ws changes only.
4243 2003-04-28 André Pönitz <poenitz@gmx.net>
4248 * BufferView_pimpl.C:
4249 * BufferView.C: getParFromID related ParagraphList::iterator changes
4251 2003-04-28 André Pönitz <poenitz@gmx.net>
4253 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4256 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * messages.C: remove one more localedir class variable.
4260 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * messages.C (getLocaleDir): singleton generation function
4264 (Messages): add a default constructor.
4266 * main.C (main): do not setup localedir here, do not call
4269 * gettext.C (_): use it.
4270 (gettext_init): delete funciton
4272 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * gettext.C (getLyXMessages): new singleton generating function.
4276 * buffer.C (updateDocLang): adjust
4278 * Makefile.am (messages.o): add target
4279 (main.o): remove target
4281 2003-04-27 John Levon <levon@movementarian.org>
4286 * lyxvc.C: specify cancel button in Alert::prompt
4288 2003-04-26 John Levon <levon@movementarian.org>
4293 * LyXAction.C: add LFUN_INSET_SETTINGS
4295 * lyxfunc.C: don't enable tabular-feature when there's
4296 just any locking inset
4298 2003-04-26 John Levon <levon@movementarian.org>
4300 * bufferlist.C: re-add Cancel to buffer close question
4302 * lyxfunc.C: fix import UI a bit
4304 2003-04-25 John Levon <levon@movementarian.org>
4306 * gettext.C: remove the broken asserts for now
4308 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * messages.C: make case where setlocale cannot comply work better.
4312 * buffer.C (updateDocLang): new function
4313 (changeLanguage): use it
4316 * text2.C (setCounter): use B_ a bit.
4318 * lyxlayout.C (Read): be sure to trim the label strings.
4320 * messages.C (Messages): fix typo in comment
4322 * buffer.C (readFile): set message_ after file is loaded.
4323 (makeDocBookFile): remove double return
4324 (changeLanguage): reset message_ upon language change.
4325 (B_): new func, use this to get translated buffer strings.
4327 * main.C: add myself and Jean Marc as authors.
4329 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * messages.[hC]: pimplify Messages, and three different pimpls to be
4332 used in different circumstances.
4334 * gettext.[Ch]: change for use with new message code.
4336 2003-04-24 André Pönitz <poenitz@gmx.net>
4338 * factory.C: support for eqref
4340 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * messages.[Ch]: add missing char
4344 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4346 * messages.[Ch]: New files
4348 2003-04-18 John Levon <levon@movementarian.org>
4352 * BufferView_pimpl.C:
4356 * text2.C: remove layout-copy/paste (bug 778)
4358 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4360 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4362 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4364 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4365 if they succeed. Act accordingly.
4367 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * text2.C (setCharFont): adjust
4370 (setCounter): adjust
4371 (insertStringAsLines): adjust
4373 * text.C (leftMargin): adjust
4374 (setHeightOfRow): adjust
4376 * rowpainter.C (paintFirst): adjust
4379 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4381 (isFirstInSequence): ditto
4382 (getEndLabel): ditto
4385 * paragraph.C (getParLanguage): comment out some hard stuff.
4387 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4389 (simpleDocBookOnePar): ditto
4390 (makeDocBookFile): use ParagraphList::iterator
4392 * CutAndPaste.C (pasteSelection): adjust
4394 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * text2.C (getFont): adjust
4397 (getLayoutFont): adjust
4398 (getLabelFont): adjust
4400 * paragraph_funcs.C (TeXOnePar): adjust
4402 * buffer.C (simpleLinuxDocOnePar): adjust
4403 (simpleDocBookOnePar): adjust
4405 * CutAndPaste.C (pasteSelection): adjust
4407 * BufferView.C (getEncoding): adjust
4409 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4411 2003-04-16 John Levon <levon@movementarian.org>
4413 * lyxfind.C: use parlist stuff for search/changes
4415 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4419 * text2.C (deleteEmptyParagraphMechanism): adjust
4421 * text2.[Ch] (ownerParagraph): delete func (both of them
4423 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4427 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * ParagraphList.C: prepare for NO_NEXT
4431 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * text2.C (getFont): adjust
4434 (getLayoutFont): adjust
4435 (getLabelFont): adjust
4437 * paragraph.C (getFont): adjust
4438 (getLabelFont): adjust
4439 (getLayoutFont): adjust
4441 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4443 2003-04-15 John Levon <levon@movementarian.org>
4447 * lyx_main.C: handle Include in .ui files
4449 2003-04-15 John Levon <levon@movementarian.org>
4451 * MenuBackend.C: make the doc files length shorter
4454 * ToolbarBackend.C: handle toolbar placement flags,
4457 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4459 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4462 * paragraph_funcs.C (TeXOnePar): adjust
4464 * paragraph.C (getLabelFont): add outerfont arg, adjust
4465 (getLayoutFont): ditto
4466 (simpleTeXOnePar): adjust
4468 * paragraph_pimpl.C (realizeFont): delete func
4470 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4472 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4473 row argument, constify cur argument.
4475 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4477 * text2.C (getFont): adjust
4478 (getLayoutFont): adjust
4479 (getLabelFont): adjust
4481 * paragraph_funcs.C (TeXOnePar): adjust
4482 (outerFont): new func...
4483 (realizeFont): ...moved out from here, changed this to facilitate
4486 * paragraph.C (getFont): take outerfont as arg, adjust
4487 (simpleTeXOnePar): add outerfont arg, adjust
4489 * buffer.C (simpleLinuxDocOnePar): adjust
4490 (simpleDocBookOnePar): adjust
4492 * CutAndPaste.C (pasteSelection): adjust
4494 * BufferView.C (getEncoding): adjust
4496 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * text2.C (setCharFont): adjust
4499 (setCounter): adjust
4501 * text.C (leftMargin): adjust
4502 (setHeightOfRow): adjust
4504 * rowpainter.C (paintFirst): adjust
4507 * paragraph_pimpl.C (realizeFont): adjust
4509 * paragraph.C (isFirstInSequence): move from here...
4510 * paragraph_funcs.C (isFirstInSequence): ...to here
4512 * paragraph.C (outerHook): move from here...
4513 * paragraph_funcs.C (outerHook): ...to here
4515 * paragraph.C (depthHook): move from here...
4516 * paragraph_funcs.C (depthHook): ...to here
4518 * paragraph.C (getEndLabel): move from here...
4519 * paragraph_funcs.C (getEndLabel): ...to here
4521 * text2.C (realizeFont): move from here...
4522 * paragraph_funcs.C (realizeFont): ...to here
4524 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4528 2003-04-14 Angus Leeming <leeming@lyx.org>
4530 * LColor.[Ch]: scrap LColor mathcursor.
4532 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * lyxlex.[Ch] (text): delete function
4535 * trans.C (Load): adjust
4536 * paragraph_funcs.C (readParToken): adjust
4538 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4541 vector<char> instead of a char[].
4543 * lyxlex_pimpl.C (getString): adjust
4545 (lex): use getString
4549 * lyxlex.C (text): use pimpl_->getString()
4553 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4556 (makeFontEntriesLayoutSpecific): temp var for par.size()
4557 (setLayout): temp var for ownerParagraphs().end()
4558 (fullRebreak): temp var for rows().end()
4559 (selectionAsString): temp var for boost::next(startpit), realize
4560 that the while really is a regular for loop.
4561 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4562 setCursor in one place.
4563 (setParagraph): temp vr for ownerParagraphs().end()
4564 (updateCounters): make the while loop a for loop
4565 (cutSelection): temp var for ownerParagraphs().end()
4566 (updateInset): make the do {} while() a regular for loop
4567 (getCursorX): use temp vars
4568 (setCurrentFont): use temp vars
4569 (getColumnNearX): use temp vars
4571 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * text.C (transformChar): use temp var for getChar
4574 (computeBidiTables): use temp var for row->par()
4575 (fill): move temp vars for row->par() and pit->layout() earlier in
4577 (labelFill): use temp var for row->par()
4578 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4579 asc and desc, realize that pit never changes and that firstpit is
4580 just a duplicate and not needed. Exchange rit->par() with pit in a
4582 (breakAgain): use a temp var for boost::next(rit)
4583 (breakAgainOneRow): ditto
4584 (breakParagraph): use a temp var for rows().begin()
4585 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4586 (cursorRightOneWord): use temp var for cursor.par() and
4587 cursor.pos(), remove usage of tmpcursor.
4588 (cursorLeftOneWord): use temp var for cursor.par() and
4589 cursor.pos() only set cur at end of function.
4591 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * text.C, text2.C: exchange all usage of Paragraph::next with
4594 boost::next(ParagraphList::iterator)
4596 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4598 * text2.C (cursorTop): simplify implementation
4599 (cursorBottom): ditto
4600 (setParagraph): use ParagraphList::iterator
4601 (setCurrentFont): adjust
4602 (getColumnNearX): adjust
4603 (cursorRight): adjust
4604 (cursorLeft): remove usage of Paragraph::previous
4605 (cursorUpParagraph): ditto
4606 (deleteEmptyParagraphMechanism): slight cleanup
4608 * text.C (isBoundary): take a Paragraph const & instead of a
4610 (addressBreakPoint): ditto
4611 (leftMargin): remove usage of Paragraph::previous.
4612 (setHeightOfRow): ditto
4613 (cursorLeftOneWord): ditto
4614 (selectNextWordToSpellcheck): ditto
4617 (breakParagraph): remove one usage of Paragraph::next
4618 (redoParagraph): ditto
4619 (acceptChange): ditto
4620 (insertChar): adjust
4621 (rowBreakPoint): adjust
4623 * bufferview_funcs.C (toggleAndShow): adjust
4625 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4627 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4628 methods to access it.
4630 * text.C: Added updateRowPositions to compute all row positions.
4631 Make top_y and getRowNearY() to use the cached y position
4633 2003-04-11 John Levon <levon@movementarian.org>
4635 * text.C (rowBreakPoint): reintroduce the labelEnd
4636 checks, code copied from the row fill stuff. Deep voodoo.
4638 * text.C (fill): add a comment and debugging for the
4641 2003-04-11 John Levon <levon@movementarian.org>
4643 * text.C: make sure fullrow insets get wrapped to the next line,
4644 even when they're in a manual label
4646 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * text2.C (insertParagraph): make it take ParagraphList::iterator
4650 (setLayout): make it return ParagraphList::iterator
4651 (redoParagraphs): ditto
4653 (checkParagraph): ditto
4655 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4657 * text2.C: adjust several funcs.
4658 (realizeFont): take a ParagraphList::iterator as arg.
4659 (getLayoutFont): ditto
4660 (getLabelFont): ditto
4661 (setCharFont): ditto
4663 * text.C: adjust several funcs.
4665 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4667 * text.C (selectNextWordToSpellcheck): don't accidentally
4670 2003-04-10 John Levon <levon@movementarian.org>
4672 * ToolbarBackend.C (getIcon): special handling for
4675 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4677 * text2.C (cursorRight): a getChar assert fixed
4679 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * text2.C (getFont): change to take a ParagraphList::iterator
4682 instead of Paragraph*
4683 Adjust several functions.
4685 * text.C (transformChar): change to take a ParagraphList::iterator
4686 instead of Paragraph*
4687 (singleWidth): ditto
4688 Adjust several functions.
4690 * rowpainter.C: adjust several functions
4691 * rowpainter.h:store a ParagraphList::iterator and not a
4695 2003-04-09 John Levon <levon@movementarian.org>
4700 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4701 and the "help" bits as well
4703 2003-04-09 John Levon <levon@movementarian.org>
4706 * ToolbarBackend.C: allow multiple toolbars
4708 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * undo_funcs.C (setCursorParUndo): adjust
4712 * text_funcs.C (transposeChars): adjust
4714 * text3.C (gotoNextInset): adjust
4717 * text2.C (setLayout): adjust
4718 (changeDepth): adjust
4720 (redoParagraphs): adjust
4721 (selectionAsString): adjust
4722 (setParagraph): adjust
4723 (insertInset): adjust
4724 (cutSelection): adjust
4725 (copySelection): adjust
4726 (pasteSelection): adjust
4727 (insertStringAsLines): adjust
4728 (updateInset): adjust
4729 (setCursor): change to take a ParagraphList::iterator parameter
4730 (setCursorIntern): change to take a ParagraphList::iterator parameter
4731 (setCurrentFont): adjust
4732 (cursorLeft): adjust
4733 (cursorRight): adjust
4734 (deleteEmptyParagraphMechanism): adjust
4736 * text.C (breakParagraph): adjust
4737 (insertChar): adjust
4738 (acceptChange): adjust
4739 (rejectChange): adjust
4740 (selectNextWordToSpellcheck): adjust
4741 (changeCase): adjust
4745 * lyxfind.C (SearchForward): adjust
4746 (SearchBackward): adjust
4747 (nextChange): adjust
4749 * lyxcursor.C (par): adjust
4751 * lyxcursor.h: store a ParagraphList::iterator instead of a
4754 * lyx_cb.C (getPossibleLabel): adjust
4756 * bufferview_funcs.C (toggleAndShow): adjust
4758 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4761 * BufferView.C (removeAutoInsets): adjust
4762 (lockedInsetStoreUndo): adjust
4764 2003-04-09 John Levon <levon@movementarian.org>
4766 * ToolbarBackend.C: try icon without argument
4767 if with argument fails
4769 2003-04-08 John Levon <levon@movementarian.org>
4772 * ToolbarBackend.C: add getIcon(), handle tooltip,
4773 and change from "Icon" to "Item".
4775 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4777 * BufferView.C (lockInset): another bad getchar crunched
4779 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4781 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4784 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4786 * lyxfind.C (searchForward, searchBackwards): bug 782
4788 2003-04-07 John Levon <levon@movementarian.org>
4790 * paragraph.C: remove dead comment
4792 * text.C: remove troublesome depth-fiddling code
4793 in leftMargin() and rightMargin() (bug 1017)
4795 * text.C: fix breaking of rows in nested lists
4798 * text2.C (updateCounters): fix up depth values
4801 2003-04-07 John Levon <levon@movementarian.org>
4803 * BufferView_pimpl.C: clear message when doc finishes resizing,
4804 and after a mouse event
4806 * lyxfunc.C: clear message after exiting inset
4808 2003-04-07 John Levon <levon@movementarian.org>
4810 * bufferview_funcs.C: show math status not outside
4811 status in the statusbar
4813 2003-04-07 John Levon <levon@movementarian.org>
4815 * lyxfunc.C: note status changed after a depth change
4817 2003-04-04 Angus Leeming <leeming@lyx.org>
4819 * LaTeX.h: move AuxInfo operator==, != out of line.
4820 Remove LaTeX virtual destructor; nothing derives from it.
4821 Move operator()() out of public area and rename it startscript().
4822 Change protected for private.
4824 2003-04-04 Angus Leeming <leeming@lyx.org>
4827 * text2.C: remove unneeded #includes.
4829 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4831 * text2.C (dEPM): fix the heigth of the next row
4833 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4835 * text.C: squashed an invalid getChar requester + some ws changes
4837 2003-04-03 John Levon <levon@movementarian.org>
4839 * bufferview_funcs.h:
4840 * bufferview_funcs.C:
4843 * text2.C: make getStatus work for the env depth lfuns
4845 2003-04-03 John Levon <levon@movementarian.org>
4847 * bufferview_funcs.h:
4848 * bufferview_funcs.C:
4851 * text2.C: parlistize decDepth(), by merging it with incDepth()
4853 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * lyxrow.h: store a ParagraphList::iterator instead of a
4856 Paragraph* and adjust other class functions to suit.
4858 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4861 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4863 * text2.C (setCursor): do not anchor to cursor row for the time being
4865 2003-04-02 John Levon <levon@movementarian.org>
4872 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4874 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4876 * paragraph.h: make ParagraphList and ParagraphList::iterator
4877 friends of Paragraph.
4879 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4881 * ParagraphList.C: Use the private next_ and previous_ from
4884 2003-04-01 John Levon <levon@movementarian.org>
4888 * Makefile.am: rename, remove defaults gunk
4891 * MenuBackend.C: remove defaults gunk
4894 * Languages.C: remove defaults gunk
4897 * lyx_main.C: error out if files couldn't be found.
4899 2003-04-02 John Levon <levon@movementarian.org>
4901 * text2.C: make incDepth() use parlist
4903 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * undo_funcs.C (firstUndoParagraph): adjust
4907 * text3.C (gotoInset): adjust
4908 (dispatch): adjust, and rewrite loop.
4910 * text2.C (init): adjust, and rewrite loop.
4911 (redoParagraphs): adjust
4912 (updateInset): adjust, and rewrite loop.
4913 (deleteEmptyParagraphMechanism): adjust
4915 * tabular.C (LyXTabular): adjust
4916 (SetMultiColumn): adjust
4919 * lyxtext.[Ch] (ownerParagraph): delete function
4920 (ownerParagraphs): new function returns a ParagraphList.
4922 * BufferView.C (removeAutoInsets): adjust
4923 (insertErrors): adjust
4924 (setCursorFromRow): adjust
4926 2003-04-01 Angus Leeming <leeming@lyx.org>
4928 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4931 2003-04-02 John Levon <levon@movementarian.org>
4937 * text_funcs.C: make transposeChars a free function
4939 * lyxrow_funcs.C: remove wrong comment
4941 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * rowpainter.C: adjust
4949 * lyxrow_funcs. [Ch]: new files
4951 * lyxrow.[Ch]: remove next and previous pointers
4952 (next,previous): remove accessor functions
4953 (isParEnd): move to lyxrow_funcs
4954 (lastPos): move to lyxrow_funcs
4955 (nextRowIsAllInset): move to lyxrow_funcs
4956 (lastPrintablePos): move to lyxrow_funcs
4957 (numberOfSeparators): move to lyxrow_funcs
4958 (numberOfHfills): move to lyxrow_funcs
4959 (numberOfLabelHfills): move to lyxrow_funcs
4960 (hfillExpansion): move to lyxrow_funcs
4964 * bufferview_funcs.C (toggleAndShow): adjust
4966 * RowList.h: Remove class RowList from file leave just a
4969 * RowList.C: delete file
4971 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4974 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4976 * text3.C (cursorPrevious): adjust
4977 (cursorNext): adjust
4980 * text2.C (redoHeightOfParagraph): adjust
4981 (redoDrawingOfParagraph): adjust
4984 * text.C (breakParagraph): adjust
4985 (insertChar): adjust
4988 * rowpainter.C (RowPainter): adjust
4989 (leftMargin): simplify and adjust
4990 (most rowpainter functions): adjust.
4992 * rowpainter.h: store the row as RowList::iterator not as Row*
4994 * lyxcursor.C (row): taka RowList::iterator as arg
4997 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5000 2003-04-01 Angus Leeming <leeming@lyx.org>
5002 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5003 stuff like bool Bool.
5005 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5007 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5010 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5015 * lyxtext.h (rows): drop one version and leve a const variant that
5016 returns a RowList::iterator.
5018 2003-03-31 Angus Leeming <leeming@lyx.org>
5020 * text.C (fill): ensure that the signature is the same as that in the
5023 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5025 * text2.C (redoParagraphs): adjust
5026 (updateCounters): adjust
5027 (checkParagraph): adjust
5028 (getColumnNearX): adjust and reformat a bit.
5030 * text.C (top_y): adjust
5032 (leftMargin): adjust
5033 (prepareToPrint): adjust
5035 (getRowNearY): adjust
5037 * lyxtext.h: make rowlist_ mutable.
5039 * RowList.h: add const_iterator
5040 * RowList.C: adjust for RowList::const_iterator.
5042 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5045 2003-03-31 John Levon <levon@movementarian.org>
5048 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5050 * lyx_main.C: set default fonts from using lyx_gui funcs
5052 * exporter.C: pdf_mode moved from lyxrc
5055 * lyxfunc.C: changes from above
5057 2003-03-31 John Levon <levon@movementarian.org>
5059 * lyx_main.C: fix to the last fix
5061 2003-03-31 John Levon <levon@movementarian.org>
5063 * bufferlist.C: "Load original" -> "Load Original"
5069 * format.C: more Alert cleanups
5071 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5073 * text2.C (removeParagraph): make it take a RowList::iterator as
5075 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5076 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5078 * text.C (anchor_row): make it take a RowList::iterator as arg,
5080 (computeBidiTables): make it take a const reference to Row instead
5081 of Row pointer, adjust.
5082 (leftMargin): make it take a RowList::iterator as arg, adjust.
5083 (rowBreakPoint): adjust
5084 (breakAgainOneRow): make it take a RowList::iterator as arg,
5086 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5088 * bufferview_funcs.C (toggleAndShow): adjust
5090 2003-03-30 John Levon <levon@movementarian.org>
5094 * boost-inst.C: moved to support
5096 * several files: changes as a result
5098 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * text2.C (LyXText): adjust.
5102 (removeRow): make it take a RowList::iterator as arg, adjust.
5103 (fullRebreak): adjust
5104 (deleteEmptyParagraphMechanism): adjust
5105 (clearPaint): adjust
5108 * text.C (top_y): adjust
5109 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5110 (breakAgain): make it take a RowList::iterator as arg, adjust.
5111 (breakParagraph): adjust
5112 (insertChar): adjust
5115 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5116 need_break_row, and refresh_row.
5118 * text3.C (dispatch): adjust
5120 * text2.C (checkParagraph): adjust
5122 (setCursorFromCoordinates): adjust
5124 * text.C (top_y): adjust
5126 (getRow): make it return a RowList::iterator, adjust
5127 (getRowNearY): make it return a RowList::iterator, adjust
5129 * text2.C (init): adjust
5130 (insertRow): remove function
5131 (insertParagraph): adjust
5132 (redoParagraphs): adjust
5133 (fullRebreak): adjust
5134 (updateCounters): adjust
5136 * text.C (top_y): rewrite to use RowList iterators.
5138 (setHeightOfRow): rewrite to sue RowList iterators.
5139 (appendParagraph): adjust
5140 (breakAgain): adjust
5141 (breakAgainOneRow): adjust
5142 (breakParagraph): adjust
5144 (getRowNearY): adjust, and remove commented code.
5146 * lyxtext.h (firstRow): delete function
5147 (lastRow): delete function
5148 (rows): new function (const and non-const versions.)
5149 (insertRow): delete function
5151 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5153 2003-03-29 John Levon <levon@movementarian.org>
5155 * BufferView_pimpl.C: always update scrollbar top
5156 because pasting text when we're anchored could mean we
5157 miss an update altogether
5159 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * text2.C (init): use rowlist_.end() and not 0.
5162 (insertRow): change to take a RowList::iterator as arg, adjust
5164 (insertParagraph): change to take a RowList::iterator as arg,
5166 (redoParagraphs): remove some debug msgs.
5168 * text.C (appendParagraph): change to take a RowList::iterator
5169 arg, adjust for this.
5170 (breakAgain): add an assert
5171 (breakAgainOneRow): ditto
5173 2003-03-29 John Levon <levon@movementarian.org>
5175 * text2.C: do not clear selection after inc/decDepth
5178 2003-03-29 John Levon <levon@movementarian.org>
5181 * buffer.C: fix broken strerrors according to Lars
5183 2003-03-29 John Levon <levon@movementarian.org>
5185 * converters.C: more Alert cleanups
5187 2003-03-29 John Levon <levon@movementarian.org>
5189 * bufferview_funcs.C: remove pointless Alert
5191 * buffer.C: fix confusing error message when
5192 a template is chmoded 000
5194 2003-03-29 John Levon <levon@movementarian.org>
5198 * BufferView_pimpl.C: Alert fixes
5202 * tabular-old.C: remove unused table compat reading
5204 2003-03-29 John Levon <levon@movementarian.org>
5209 * lyx_cb.C: more Alert cleanups
5211 * lyxfunc.C: don't allow chktex if not latex document
5213 2003-03-29 John Levon <levon@movementarian.org>
5217 * buffer.C: warnings pushed down from support/,
5220 2003-03-29 John Levon <levon@movementarian.org>
5222 * lyxfunc.C: safety check for C-r (revert)
5224 2003-03-29 John Levon <levon@movementarian.org>
5227 * bufferlist.C: several UI fixes using Alert::prompt.
5228 Fix the pointless looping quit code. Fix stupid revert
5233 * lyx_cb.C: use Alert::prompt
5235 * lyx_main.C: remove a silly question
5237 * lyxfunc.C: remove a couple of silly questions,
5240 2003-03-28 John Levon <levon@movementarian.org>
5242 * text2.C: fix bug 974 (End on empty par)
5244 2003-03-28 John Levon <levon@movementarian.org>
5246 * BufferView_pimpl.C:
5248 * lfuns.h: remove do-nothing math greek lfuns
5250 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * lyxgluelength.h (isValidGlueLength): add default arg on
5253 parameter 2. Remove default arg from friend in class.
5255 * lyxlength.h (isValidLength): add default arg on parameter 2.
5256 Remove default arg from friend in class.
5258 * text2.C (LyXText): adjust, initialize refresh_row.
5262 (insertParagraph): adjst
5263 (redoParagraphs): adjust
5264 (fullRebreak): adjust
5265 (updateCounters): adjust
5266 (deleteEmptyParagraphMechanism): first attempt at fixing a
5269 * text.C (top_y): adjust
5270 (setHeightOfRow): adjust
5272 (getRowNearY): adjust
5274 * lyxtext.h: include RowList.h
5275 (~LyXText): not needed anymore, deleted.
5276 (firstRow): modify for RowList
5277 (lastRow): new function
5278 Delete firstrow and lastrow class variables, add a Rowlist
5279 rowlist_ class variable.
5281 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5284 * RowList.C (insert): fix case where it == begin().
5286 2003-03-26 Angus Leeming <leeming@lyx.org>
5288 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5289 the thesaurus dialog.
5291 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5295 * RowList.[Ch]: new files
5297 * ParagraphList.C (erase): handle the case where it == begin
5300 2003-03-25 John Levon <levon@movementarian.org>
5304 * aspell.C: add new aspell support
5307 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5310 2003-03-25 Angus Leeming <leeming@lyx.org>
5313 * LyXAction.C (init): new LFUN_INSET_INSERT.
5315 * BufferView_pimpl.C (dispatch): split out part of the
5316 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5318 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5321 2003-03-25 Angus Leeming <leeming@lyx.org>
5323 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5325 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5328 * text3.C: remove useless row->height(0)
5330 2003-03-25 John Levon <levon@movementarian.org>
5334 * text3.C: rename the refreshing stuff to better names
5336 2003-03-24 John Levon <levon@movementarian.org>
5338 * BufferView_pimpl.h:
5339 * BufferView_pimpl.C: update layout choice on a mouse
5342 2003-03-23 John Levon <levon@movementarian.org>
5344 * Makefile.am: fix commandtags.h reference
5346 2003-03-22 John Levon <levon@movementarian.org>
5348 * BufferView_pimpl.C:
5353 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5355 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5358 * text.C: take the rtl methods out of line
5360 2003-03-21 André Pönitz <poenitz@gmx.net>
5362 * metricsinfo.[Ch]: new files containing structures to be passed around
5363 during the two-phase-drawing...
5365 2003-03-21 André Pönitz <poenitz@gmx.net>
5367 * lyxtextclass.C: read 'environment' tag.
5369 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5371 * text2.C (removeRow): fix bug 964
5373 2003-03-20 John Levon <levon@movementarian.org>
5377 * text2.C: paint cleanups. Inset::update() dropped font
5380 2003-03-19 John Levon <levon@movementarian.org>
5382 * lyxfunc.C: only fitcursor/markDirty if available()
5384 2003-03-19 John Levon <levon@movementarian.org>
5386 * commandtags.h: rename to ...
5388 * lfuns.h: ... this, and renumber / cleanup
5390 2003-03-19 John Levon <levon@movementarian.org>
5392 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5393 fit the cursor after an lfun
5397 * BufferView_pimpl.h:
5398 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5400 * LyXAction.C: layout-character should have ReadOnly
5402 * ParagraphParameters.C:
5404 * bufferview_funcs.C:
5411 * undo_funcs.C: changes from above
5413 2003-03-18 John Levon <levon@movementarian.org>
5415 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5416 remove it from update()
5418 * lyxfunc.C: update layout choice after an lfun
5420 * text3.C: remove extra updateLayoutChoice()s
5422 2003-03-18 John Levon <levon@movementarian.org>
5424 * text.C: top_y change means full repaint, fix
5425 a drawing bug with cursor movement
5427 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5431 * text2.C: anchor row on setCursor
5433 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5435 * lyxtext.h: remove almost all mutable keywords
5438 * text3.C: remove const keywords accordingly
5440 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5442 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5444 (TeXEnvironment): ditto
5447 2003-03-17 John Levon <levon@movementarian.org>
5449 * text.C (rowBreakPoint): remove attempt to fix displayed
5450 math insets inside a manual label
5452 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * lyxtext.h: remove BufferView* as first arg from almost all class
5456 * other files: adjust.
5458 2003-03-17 John Levon <levon@movementarian.org>
5462 * text2.C: more paint cleanups
5464 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5467 * rowpainter.C: remove "smart" background painting code
5469 2003-03-16 John Levon <levon@movementarian.org>
5474 * text3.C: add helper functions for setting refresh_row/y
5476 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5478 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5479 newline inset which *can* get inserted in the pass_thru layouts.
5480 This is primarily for literate documents.
5482 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5484 * buffer.C: increment LYX_FORMAT to 223
5486 2003-03-14 André Pönitz <poenitz@gmx.net>
5488 * textclass.h: prepare for environment handling, ws changes
5489 * lyxlayout.C: read latexheader and latexfooter tags
5491 2003-03-14 John Levon <levon@movementarian.org>
5493 * text2.C: rewrite ::status() a bit
5495 2003-03-13 John Levon <levon@movementarian.org>
5497 * lyxtext.h: add some docs
5499 2003-03-13 John Levon <levon@movementarian.org>
5504 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5506 2003-03-13 John Levon <levon@movementarian.org>
5508 * text3.C: fix appendix redrawing
5510 2003-03-13 John Levon <levon@movementarian.org>
5512 * text.C (setHeightOfRow):
5514 * rowpainter.C: make appendix mark have the text
5515 "Appendix" so the user knows what it is
5518 * LColor.C: s/appendixline/appendix/ from above
5520 2003-03-13 John Levon <levon@movementarian.org>
5522 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5524 * text.C: fix a getChar(pos) bug properly
5526 2003-03-13 Angus Leeming <leeming@lyx.org>
5529 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5530 Probably only temporary. Let's see how things pan out.
5532 * BufferView.C (unlockInset):
5533 * BufferView_pimpl.C (fitCursor):
5534 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5536 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5537 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5539 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5540 new functions that convert ParagraphParameters to and from a string.
5542 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5543 BufferView::Pimpl's dispatch.
5544 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5546 2003-03-13 André Pönitz <poenitz@gmx.net>
5550 * factory.C: make it aware of InsetEnv
5552 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5554 * text2.C (setCursor): never ask for one past last
5555 (setCursor): add some debugging messages.
5557 * text.C (singleWidth): never ask for one past last
5558 (singleWidth): ditto
5560 (rightMargin): ditto
5561 (rowBreakPoint): ditto
5562 (setHeightOfRow): ditto
5563 (prepareToPrint): ditto
5565 * rowpainter.C (paintBackground): never ask for one past last
5566 (paintText): never ask for one past last
5568 * paragraph_pimpl.C (getChar): make the assert stricter, never
5569 allow the one past last pos to be taken
5571 * paragraph.C (getChar): ws changes only
5573 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5574 (numberOfSeparators): ditto
5575 (numberOfHfills): ditto
5577 2003-03-12 John Levon <levon@movementarian.org>
5583 * paragraph_funcs.C: fix per-buffer authorlists
5585 2003-03-12 John Levon <levon@movementarian.org>
5587 * text.C: fix newline in right address
5589 2003-03-12 Angus Leeming <leeming@lyx.org>
5591 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5592 duplicate those in LyXFunc::dispatch.
5596 * ToolbarDefaults.C:
5597 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5598 Add LFUN_FONTFREE_UPDATE.
5600 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5601 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5603 * bufferview_func.[Ch]: several new functions to facilliate
5604 transfer of data to and from the character dialog.
5606 2003-03-12 John Levon <levon@movementarian.org>
5611 * paragraph_funcs.C:
5612 * paragraph_pimpl.C:
5616 * text3.C: remove META_NEWLINE in favour of an inset
5619 * rowpainter.C: remove paintNewline (done by inset)
5621 2003-03-12 John Levon <levon@movementarian.org>
5623 * paragraph_pimpl.C: complain about bad getChar()s
5624 for a while at least
5626 2003-03-12 John Levon <levon@movementarian.org>
5629 * buffer.C: move paragraph read into a separate function,
5630 a little renaming to reflect that.
5633 * bufferparams.C: remove the author_ids map, not necessary now
5636 * factory.C: moved Buffer::readInset to here
5638 * paragraph_funcs.h:
5639 * paragraph_funcs.C: readParagraph free function moved from
5642 * tabular.C: name change
5644 2003-03-12 John Levon <levon@movementarian.org>
5647 * ParagraphParameters.C: move par params input to
5650 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5651 behave like a normal read from the stream wrt reading
5652 a line vs. a \\token
5654 2003-03-12 John Levon <levon@movementarian.org>
5657 * ParagraphParameters.h:
5658 * ParagraphParameters.C: move output code to a
5661 2003-03-12 John Levon <levon@movementarian.org>
5663 * BufferView.C (insertLyXFile):
5666 * tabular.C: use a parlist iterator for creating the
5669 2003-03-12 John Levon <levon@movementarian.org>
5671 * buffer.C: make current_change static local not
5674 2003-03-12 John Levon <levon@movementarian.org>
5676 * buffer.C: fix insertStringAsLines for change tracking
5678 2003-03-12 John Levon <levon@movementarian.org>
5685 * bufferparams.C: move author list into params. Rename some
5686 functions. Move the header reading into a separate token
5687 loop. Move the header token reading into BufferParams.
5689 2003-03-12 John Levon <levon@movementarian.org>
5691 * changes.C: put debug inside lyxerr.debugging() checks
5693 2003-03-11 André Pönitz <poenitz@gmx.net>
5695 * factory.C: make it aware of InsetHFill
5697 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5699 * buffer.C (latexParagraphs): move function from here...
5700 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5703 2003-03-10 Angus Leeming <leeming@lyx.org>
5705 * LyXAction.C (init): fix bug in poplating array with multiple entries
5706 with the same LFUN (spotted by JMarc).
5708 2003-03-10 John Levon <levon@movementarian.org>
5711 * text2.C: move getColumnNearX() near its
5714 2003-03-10 John Levon <levon@movementarian.org>
5716 * text.C: fix break before a minipage
5718 2003-03-10 John Levon <levon@movementarian.org>
5720 * text.C: fix the last commit
5722 2003-03-09 John Levon <levon@movementarian.org>
5726 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5727 bug 365 (don't break before insets unless needed). Don't
5728 return a value > last under any circumstances.
5730 2003-03-09 Angus Leeming <leeming@lyx.org>
5732 * BufferView_pimpl.C (trackChanges, dispatch): call
5733 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5735 2003-03-09 Angus Leeming <leeming@lyx.org>
5737 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5738 than Dialogs::showAboutlyx().
5740 2003-03-09 Angus Leeming <leeming@lyx.org>
5742 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5743 than Dialogs::showTabularCreate().
5745 2003-03-09 John Levon <levon@movementarian.org>
5749 * text2.C: 3rd arg to nextBreakPoint was always the same.
5752 2003-03-08 John Levon <levon@movementarian.org>
5759 * text2.C: Remove the "main" bit from the "main body"
5762 2003-03-08 John Levon <levon@movementarian.org>
5764 * text.C (leftMargin): The left margin of an empty
5765 manual label paragraph should not include the label width
5768 * text.C (prepareToPrint): don't attempt to measure hfills
5769 for empty manual label paragraphs - the answer should be 0
5771 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * CutAndPaste.C: remove commented code and reindent.
5775 2003-03-08 John Levon <levon@movementarian.org>
5778 * lyxfunc.C: move reloadBuffer()
5781 * BufferView.C: to here
5783 * lyxvc.C: add comment
5786 * vc-backend.C: call bv->reload() to avoid
5787 getStatus() check on MENURELOAD
5789 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5791 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5792 to an old format .dep file.
5794 2003-03-07 Angus Leeming <leeming@lyx.org>
5796 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5797 when the LFUN_MOUSE_RELEASE should have been handled by
5798 inset->localDispatch.
5800 2003-03-07 Angus Leeming <leeming@lyx.org>
5802 * BufferView_pimpl.C (dispatch):
5803 * LyXAction.C (init):
5804 * ToolbarDefaults.C (init):
5806 * lyxfunc.C (getStatus):
5807 remove LFUN_INSET_GRAPHICS.
5809 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5811 2003-03-07 Angus Leeming <leeming@lyx.org>
5814 * LyXAction.C (init):
5815 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5817 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5820 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5822 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5823 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5825 2003-03-07 Angus Leeming <leeming@lyx.org>
5827 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5830 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * ParagraphList.C (front): new function
5835 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5837 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5838 and top_row_offset_. removed var first_y.
5840 * text2.C (LyXText, removeRow):
5842 * BufferView_pimpl.C:
5843 use these methods instead of using first_y
5845 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * text2.C (pasteSelection): adjust for checkPastePossible
5849 * CutAndPaste.C: remove Paragraph * buf and replace with
5850 ParagraphList paragraphs.
5851 (DeleteBuffer): delete
5852 (cutSelection): change the tc type to textclass_type
5853 (copySelection): change the tc type to textclass_type
5854 (copySelection): adjust for ParagraphList
5855 (pasteSelection): change the tc type to textclass_type
5856 (pasteSelection): adjust for Paragraphlist
5857 (nrOfParagraphs): simplify for ParagraphList
5858 (checkPastePossible): simplify for ParagraphList
5859 (checkPastePossible): remove unused arg
5861 * ParagraphList.C (insert): handle the case where there are no
5864 * CutAndPaste.h: make CutAndPaste a namespace.
5866 * text3.C (dispatch): adjust
5868 * text.C (breakParagraph): add a ParagraphList as arg
5870 * paragraph_funcs.C (breakParagraph): change to take a
5871 BufferParams and a ParagraphList as args.
5872 (breakParagraphConservative): ditto
5873 (mergeParagraph): ditto
5874 (TeXDeeper): add a ParagraphList arg
5875 (TeXEnvironment): ditto
5878 * buffer.C (readLyXformat2): adjust
5879 (insertStringAsLines): adjust
5880 (latexParagraphs): adjust
5882 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5883 (cutSelection): adjust
5884 (pasteSelection): adjust
5886 * BufferView_pimpl.C (insertInset): adjust
5888 2003-03-05 Angus Leeming <leeming@lyx.org>
5891 * LyXAction.C (init):
5892 * BufferView_pimpl.C (dispatch):
5893 * lyxfunc.C (getStatus):
5894 remove LFUN_CHILD_INSERT.
5896 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5898 2003-03-05 Angus Leeming <leeming@lyx.org>
5901 * LyXAction.C (init):
5902 * src/factory.C (createInset):
5903 * lyxfunc.C (getStatus):
5904 * text3.C (dispatch):
5905 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5907 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5909 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * ParagraphList.C (insert): handle insert right before end()
5912 (erase): fix cases where it can be first or last paragraph.
5914 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5916 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5917 Paragraph::next and Paragraph::previous
5920 * text.C (breakParagraph): adjust
5922 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5923 BufferParams& as arg.
5924 (breakParagraph): use ParagraphList::insert
5925 (breakParagraphConservative): take a Buffer* instead of a
5926 BufferParams& as arg.
5927 (breakParagraphConservative): use ParagraphList::insert.
5929 * buffer.C (insertStringAsLines): un-const it
5930 (insertStringAsLines): adjust
5932 * ParagraphList.C (insert): new function
5934 * CutAndPaste.C (pasteSelection): adjust
5936 * text.C (backspace): adjust
5938 * tabular.C (SetMultiColumn): adjust
5940 * CutAndPaste.C (cutSelection): adjust
5941 (pasteSelection): adjust
5943 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5944 Buffer const * as arg
5946 * ParagraphList.C (erase): new function
5947 * paragraph_funcs.C (mergeParagraph): use it
5948 (mergeParagraph): make it take a Buffer* instead of a
5949 BufferParams* as arg
5951 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5953 (breakParagraphConservative): ditto
5955 * paragraph.h: remove the breakParagraph friend
5957 * paragraph.C (eraseIntern): new function
5958 (setChange): new function
5960 * paragraph_funcs.C (mergeParagraph): make it take a
5961 ParagraphList::iterator instead of a Paragraph *, adjust
5964 * paragraph.h: move an #endif so that the change tracking stuff
5965 also works in the NO_NEXT case.
5967 2003-03-04 Angus Leeming <leeming@lyx.org>
5970 * LyXAction.C: new LFUN_INSET_MODIFY.
5972 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5973 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5975 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * several files: ws changes only
5979 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5980 (TeXEnvironment): ditto
5983 * buffer.C (makeLaTeXFile): adjust
5984 (latexParagraphs): make it take ParagraphList::iterator as args
5986 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * buffer.C (latexParagraphs): adjust
5990 * paragraph.C (TeXOnePar): move function...
5991 (optArgInset): move function...
5992 (TeXEnvironment): move function...
5993 * paragraph_pimpl.C (TeXDeeper): move function...
5994 * paragraph_funcs.C: ...here
5996 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5998 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * buffer.C (readInset): remove compability code for old Figure and
6003 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * buffer.C: ws changes
6008 * BufferView_pimpl.C: ditto
6011 * bufferlist.h: ditto
6015 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6017 * converter.[Ch]: split into itself +
6020 * Makefile.am: += graph.[Ch] + format.[Ch]
6027 * lyxrc.C: added #include "format.h"
6029 2003-02-27 Angus Leeming <leeming@lyx.org>
6031 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6034 * factory.C (createInset): add "label" to the factory.
6036 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6037 string and do no more.
6039 2003-02-27 Angus Leeming <leeming@lyx.org>
6042 * LyXAction.C (init):
6043 * factory.C (createInset):
6044 * BufferView_pimpl.C (dispatch):
6045 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6047 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6049 * lyxfunc.C (dispatch):
6050 * text3.C (dispatch): pass name to params2string.
6052 2003-02-26 Angus Leeming <leeming@lyx.org>
6054 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6056 Rearrange the ~includes. Strip out the unnecessary ones.
6058 * factory.C (createInset): reformat.
6059 create new insets for the various LFUN_XYZ_APPLY lfuns.
6061 2003-02-26 John Levon <levon@movementarian.org>
6064 * lyxrow.C: add isParStart,isParEnd helpers
6066 * paragraph.h: make isInserted/DeletedText take refs
6068 * paragraph_funcs.h:
6069 * paragraph_funcs.C: remove #if 0'd code
6074 * text.C: use lyxrow helpers above.
6075 Move draw and paint routines to RowPainter.
6076 Make several methods use refs not pointers.
6077 Make backgroundColor() const.
6078 Add markChangeInDraw(), isInInset().
6079 Merge changeRegionCase into changeCase.
6080 Make workWidth() shouldn't-happen code into an Assert.
6083 * rowpainter.C: new class for painting a row.
6086 * vspace.C: make inPixels take a ref
6088 2003-02-26 Angus Leeming <leeming@lyx.org>
6090 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6093 2003-02-25 John Levon <levon@movementarian.org>
6095 * ispell.C: give the forked command a more accurate name
6097 2003-02-22 John Levon <levon@movementarian.org>
6100 * toc.C: make TocItem store an id not a Paragraph *
6103 2003-02-21 Angus Leeming <leeming@lyx.org>
6105 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6106 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6107 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6108 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6109 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6110 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6112 * BufferView_pimpl.C (dispatch):
6113 * LyXAction.C (init):
6114 * factory.C (createInset):
6115 * lyxfunc.C (getStatus, dispatch):
6116 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6118 2003-02-21 Angus Leeming <leeming@lyx.org>
6120 * BufferView_pimpl.C (MenuInsertLyXFile):
6121 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6122 * lyxfunc.C (menuNew, open, doImport):
6123 no longer pass a LyXView & to fileDlg.
6125 2003-02-21 Angus Leeming <leeming@lyx.org>
6127 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6128 * LyXAction.C: change, BIBKEY to BIBITEM.
6129 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6130 Change InsetBibKey to InsetBibitem.
6131 Change BIBKEY_CODE to BIBITEM_CODE.
6132 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6133 * factory.C: replace insetbib.h with insetbibitem.h.
6134 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6135 * paragraph.C: replace insetbib.h with insetbibitem.h.
6136 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6137 Change bibkey() to bibitem().
6138 * text.C: remove insetbib.h.
6139 * text2.C: replace insetbib.h with insetbibitem.h.
6140 change bibkey() to bibitem().
6141 * text3.C: remove insetbib.h.
6142 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6144 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6146 * lyxrc.C (output): enclose user email in quotes (in case there are
6149 2003-02-18 John Levon <levon@movementarian.org>
6151 * buffer.h: add std::
6153 2003-02-17 John Levon <levon@movementarian.org>
6159 * pspell.C: reworking. Especially in ispell, a large
6160 number of clean ups and bug fixes.
6162 * lyxfunc.C: fix revert to behave sensibly
6164 2003-02-17 André Pönitz <poenitz@gmx.net>
6167 * commandtags.h: new LFUN_INSERT_BIBKEY
6177 * paragraph_func.C: remove special bibkey handling
6179 2003-02-17 John Levon <levon@movementarian.org>
6181 * text.C (Delete): fix case where delete at the end of
6182 the very first paragraph would not merge the pars
6184 2003-02-17 John Levon <levon@movementarian.org>
6186 * lyxrow.C: fix lastPrintablePos()
6188 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6190 * bufferparams.C (writeLaTeX): add a std:here
6192 * buffer.C: and remove a using directive there
6194 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6196 * buffer.C (makeLaTeXFile): move the code that generates the
6199 * bufferparams.C (writeLaTeX): ... in this new method
6201 * LaTeXFeatures.C (getEncodingSet): make const
6202 (getLanguages): make const
6204 * MenuBackend.C (binding): returns the binding associated to this
6206 (add): sets the status of each item by calling getStatus. Adds
6208 (read): add support for OptSubMenu
6209 (expand): remove extra separator at the end of expanded menu
6211 2003-02-15 John Levon <levon@movementarian.org>
6214 * BufferView_pimpl.C:
6216 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6217 inset code that had no actual effect. Remove unneeded status
6220 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6222 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6225 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6227 * text.C (drawLengthMarker): also draw an arrow marker for
6228 symbolic lengths (medskip...)
6230 2003-02-14 John Levon <levon@movementarian.org>
6233 * tabular.C: better method names
6235 2003-02-14 John Levon <levon@movementarian.org>
6237 * BufferView_pimpl.C:
6242 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6243 it's a more accurate name. Remove some pointless uses.
6245 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6247 * text2.C (LyXText): change order of initilizers to shut off
6250 2003-02-14 John Levon <levon@movementarian.org>
6252 * buffer.C: use ParIterator for getParFromID()
6256 * paragraph_pimpl.h:
6257 * paragraph_pimpl.C: remove unused getParFromID()
6259 2003-02-14 John Levon <levon@movementarian.org>
6261 * buffer.C: remove some very old #if 0'd parse code
6263 2003-02-13 John Levon <levon@movementarian.org>
6267 * text2.C: move hfillExpansion(), numberOfSeparators(),
6268 rowLast(), rowLastPrintable(), numberofHfills(),
6269 numberOfLabelHfills() ...
6272 * lyxrow.C: ... to member functions here.
6277 * text.C: remove LyXText::beginningOfMainBody(), and call
6278 p->beginningOfMainBody() directly. Move the check for
6279 LABEL_MANUAL into the latter.
6286 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6292 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6293 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6295 2003-02-13 John Levon <levon@movementarian.org>
6297 * CutAndPaste.C: remove debug
6299 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6301 * paragraph.C (asString): remove two unused variables
6303 * lyxtextclass.C (readTitleType):
6305 (LyXTextClass): handle new members titletype_ and titlename_
6307 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6309 2003-02-09 John Levon <levon@movementarian.org>
6312 * buffer.C: replace hand-coded list with a map for the dep clean
6314 2003-02-08 John Levon <levon@movementarian.org>
6316 * LaTeX.C: consolidate code into showRunMessage() helper
6318 2003-02-08 John Levon <levon@movementarian.org>
6323 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6324 and pass the size in explicitly
6326 * BufferView_pimpl.h:
6327 * BufferView_pimpl.C:
6329 * BufferView.C: add getCurrentChange()
6331 * BufferView_pimpl.h:
6332 * BufferView_pimpl.C: handle change lfuns
6334 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6335 for changes. Mark pasted paragraphs as new.
6337 * support/lyxtime.h:
6338 * support/lyxtime.C:
6339 * DepTable.C: abstract time_t as lyx::time_type
6342 * LColor.C: add colours for new text, deleted text, changebars
6344 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6345 package use "usenames" option.
6349 * LyXAction.C: add change lfuns
6353 * author.C: author handling
6356 * buffer.C: add a per-buffer author list, with first entry as
6357 current author. Handle new .lyx tokens for change tracking. Output
6358 author list to .lyx file. Output dvipost stuff to .tex preamble.
6359 Bump lyx format to 222.
6362 * bufferlist.C: add setCurrentAuthor() to reset current author details
6366 * bufferparams.C: add param for tracking
6368 * bufferview_funcs.C: output change info in minibuffer
6372 * changes.C: add change-tracking structure
6375 * debug.C: add CHANGES debug flag
6378 * lyxfind.C: add code for finding the next change piece
6381 * lyxrc.C: add user_name and user_email
6384 * lyxrow.C: add a metric for the top of the text line
6387 * text.C: implement accept/rejectChange()
6390 * text.C: paint changebars. Paint new/deleted text in the chosen
6391 colours. Strike through deleted text.
6395 * paragraph_pimpl.h:
6396 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6397 in the current change to the insert functions. Rework erase to
6398 mark text as deleted, adding an eraseIntern() and a range-based
6399 erase(). Implement per-paragraph change lookup and
6402 * paragraph_funcs.C: Fixup paste for change tracking.
6404 * tabular.C: mark added row/columns as new.
6406 * text.C: fix rowLast() to never return -1. Don't allow
6407 spellchecking of deleted text. Track transpose changes. Don't
6408 allow paragraph break or merge where appropriate.
6410 * text2.C: leave cursor at end of selection after a cut.
6412 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6414 * text.C (getLengthMarkerHeight):
6415 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6416 visible on screen too.
6418 2003-02-07 John Levon <levon@movementarian.org>
6420 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6422 2003-02-05 Angus Leeming <leeming@lyx.org>
6424 * lyxserver.C (read_ready): revert my patch of 11 September last year
6425 as it sends PC cpu through the roof. Presumably this means that
6426 the lyxserver will no longer run on an Alpha...
6428 2003-01-30 Angus Leeming <leeming@lyx.org>
6430 * factory.C (createInset): create an InsetCommandParam of type "index"
6431 and use it to 'do the right thing'.
6433 * text2.C (getStringToIndex): ensure that cursor position is always
6434 reset to the reset_cursor position.
6436 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6438 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6441 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6445 * lyxfunc.C: Output messages with identical spelling, punctuation,
6448 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6450 * MenuBackend.C (expandFormats): List only viewable export formats
6453 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6456 * lyxfunc.C (getStatus): Make sure that formats other than
6457 "fax" can also be disabled
6459 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6461 * text3.C (dispatch): put the lfuns that insert insets in 3
6462 groups, and call doInsertInset with appropriate arguments.
6463 (doInsertInset): new function, that creates an inset and inserts
6464 it according to some boolean parameters.
6466 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * buffer.C (readFile): remember to pass on 'par' when calling
6469 readFile recursively.
6471 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6473 * MenuBackend.C (expandFormats): add "..." to import formats.
6475 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6477 * paragraph.C (asString): Remove XForms RTL hacks.
6479 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6480 * buffer.C: fix typo
6482 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6484 * Makefile.am (LIBS): delete var
6485 (lyx_LDADD): add @LIBS@ here instead.
6487 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6489 * Clarify the meaning of "wheel mouse jump"
6491 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6493 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6496 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6498 * importer.C (Loaders): do not preallocate 3 elements in the
6499 vector, since one ends up with 6 elements otherwise
6501 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6503 * DepTable.C (write): write the file name as last element of the
6504 .dep file (because it may contain spaces)
6505 (read): read info in the right order
6507 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6509 * paragraph_pimpl.C (simpleTeXBlanks):
6510 (simpleTeXSpecialChars):
6511 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6513 * tabular.C (latex): add some missing case statements. Reindent.
6515 * MenuBackend.C (expandToc): remove unused variable.
6517 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6526 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6529 2003-01-05 John Levon <levon@movementarian.org>
6532 * BufferView.C: add getEncoding()
6535 * kbsequence.C: do not store last keypress
6538 * lyxfunc.C: store last keypress here instead. Pass encoding
6541 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6543 * lyx_main.C (init): remove annoying error message when following
6544 symbolic links (bug #780)
6546 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6548 * text.C (insertChar):
6549 * lyxrc.C (getDescription): remove extra spaces
6551 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6553 * lyxrc.C (getDescription): remove extra spaces
6555 2002-12-20 John Levon <levon@movementarian.org>
6557 * text3.C: hack fix for page up/down across tall rows
6559 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6561 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6564 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6566 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6567 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6568 thesaurus is not compiled in
6570 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6572 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6574 2002-12-16 Angus Leeming <leeming@lyx.org>
6577 * lyx_main.C (init): remove override_x_deadkeys stuff.
6579 2002-12-12 John Levon <levon@movementarian.org>
6581 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6582 insert. Only remove shift modifier under strict
6585 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * MenuBackend.C (expandToc): fix crash.
6589 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * MenuBackend.C (expandToc): gettext on float names.
6593 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6595 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6596 implement bool empty() [bug 490]
6598 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6600 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6602 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * several files: ws changes
6606 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * text2.C (setCounter): clean up a bit, use boost.format.
6609 (updateCounters): initialize par upon declaration.
6611 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6612 if the layout exists. We do not just store the layout any more.
6613 (SwitchLayoutsBetweenClasses): use boost.format
6615 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6617 * converter.C (convert): if from and to files are the same, use a
6618 temporary files as intermediary
6620 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6623 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6625 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6627 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6629 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * tabular.C (asciiPrintCell): use string(size, char) instead of
6634 * sgml.C (openTag): fix order of arguments to string constructor
6637 * lyxfunc.C (dispatch): use boost.format
6639 * lots of files: change "c" -> 'c'
6641 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6643 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6645 2002-11-25 Angus Leeming <leeming@lyx.org>
6647 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6649 * lyx_main.C (init): compile fix.
6651 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * lyx_cb.C (start): boost.formatify
6654 do not include <iostream>
6656 * lengthcommon.C: ws only
6658 * boost-inst.C,BoostFormat.h: add more explict instantations
6660 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * lots of files: handle USE_BOOST_FORMAT
6664 2002-11-21 John Levon <levon@movementarian.org>
6666 * pspell.C: fix compile
6668 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6670 * lyxfunc.C (dispatch): use boost::format
6674 * lyxfont.C (stateText): use boost::format
6676 * lyx_main.C (LyX): use boost::format
6678 (queryUserLyXDir): ditto
6681 (typedef boost::function): use the recommened syntax.
6683 * importer.C (Import): use boost::format
6685 * debug.C (showLevel): use boost::format
6687 * converter.C (view): use boost::format
6692 * bufferview_funcs.C (currentState): use boost::format
6694 * bufferlist.C (emergencyWrite): use boost::format
6696 * buffer.C (readLyXformat2): use boost::format
6697 (parseSingleLyXformat2Token): ditto
6699 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6701 * LaTeX.C (run): use boost::format
6703 * Chktex.C (scanLogFile): use boost::format
6705 * BufferView_pimpl.C (savePosition): use boost::format
6706 (restorePosition): ditto
6707 (MenuInsertLyXFile): ditto
6709 * BoostFormat.h: help file for explicit instation.
6711 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6713 * tabular.C (latex): Support for block alignment in fixed width
6716 2002-11-17 John Levon <levon@movementarian.org>
6718 * BufferView_pimpl.C:
6720 * lyxfunc.C: split filedialog into open/save
6722 2002-11-08 Juergen Vigna <jug@sad.it>
6724 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6725 by my last patch (hopefully).
6727 2002-11-08 John Levon <levon@movementarian.org>
6736 * toc.C: ParConstIterator, and use it (from Lars)
6738 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6740 * lyxtextclass.[Ch]: revise and add doxygen comments
6742 2002-11-07 John Levon <levon@movementarian.org>
6744 * text.C: fix progress value for spellchecker
6746 * toc.C: fix navigate menu for insetwrap inside minipage
6748 * paragraph_funcs.C: added FIXME for suspect code
6750 2002-11-07 John Levon <levon@movementarian.org>
6752 * BufferView_pimpl.C: fix redrawing of insets
6755 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6757 * text2.C (updateCounters): fix bug 668
6759 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6761 * text3.C (dispatch): Do not make the buffer dirty when moving the
6764 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * vc-backend.C: STRCONV
6769 * text2.C (setCounter): STRCONV
6771 * paragraph.C (asString): STRCONV
6773 * lyxlength.C (asString): STRCONV
6774 (asLatexString): ditto
6776 * lyxgluelength.C (asString): STRCONV
6777 (asLatexString): ditto
6779 * lyxfunc.C (dispatch): STRCONV
6782 * lyxfont.C (stateText): STRCONV
6784 * importer.C (Import): STRCONV
6786 * counters.C (labelItem): STRCONV
6787 (numberLabel): ditto
6788 (numberLabel): remove unused ostringstream o
6793 * bufferview_funcs.C (currentState): STRCONV
6795 * buffer.C (readFile): STRCONV
6796 (asciiParagraph): ditto
6797 (makeLaTeXFile): ditto
6799 * Spacing.C (writeEnvirBegin): STRCONV
6801 * LaTeXFeatures.C (getLanguages): STRCONV
6802 (getPackages): ditto
6804 (getBabelOptions): ditto
6805 (getTClassPreamble): ditto
6806 (getLyXSGMLEntities): ditto
6807 (getIncludedFiles): ditto
6811 (scanAuxFile): ditto
6814 * LString.h: add the STRCONV macros
6816 * BufferView_pimpl.C (savePosition): STRCONV
6817 (restorePosition): ditto
6818 (MenuInsertLyXFile): ditto
6820 * vc-backend.C (scanMaster): change from submatch[...] to
6823 * funcrequest.C: include config.h
6825 * factory.C: include config.h
6827 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6829 * box.C: include config.h
6831 * LaTeX.C (scanAuxFile): change from submatch[...] to
6835 2002-10-25 Angus Leeming <leeming@lyx.org>
6837 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6839 * ispell.[Ch] (setError): new method.
6840 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6841 Use setError() insetead of goto END.
6843 * lyx_cb.C (AutoSave): move out child process into new class
6846 2002-10-30 John Levon <levon@movementarian.org>
6848 * text3.C: make start appendix undoable
6850 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6852 * lyxlength.C (inPixels): Fix returned value.
6854 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6857 2002-10-24 Angus Leeming <leeming@lyx.org>
6859 * lyxgluelength.h: no need to forward declare BufferParams
6860 or BufferView, so don't.
6862 2002-10-21 John Levon <levon@movementarian.org>
6864 * BufferView.C: menuUndo ->undo, redo
6866 * BufferView.h: document, remove dead, make some methods private
6868 * paragraph_funcs.h:
6869 * paragraph_funcs.C:
6870 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6875 * sgml.C: move sgml open/close tag into sgml.C
6877 * bufferview_funcs.h: unused prototype
6880 * lyxfunc.C: remove unused
6883 * text.C: remove unused
6885 2002-10-21 John Levon <levon@movementarian.org>
6889 * BufferView_pimpl.h:
6890 * BufferView_pimpl.C: fix mouse wheel handling based on
6891 patch from Darren Freeman
6893 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6895 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6897 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6899 * lyxlength.C (inPixels): Fix hanfling of negative length.
6900 Fix LyXLength::MU case.
6902 2002-10-16 John Levon <levon@movementarian.org>
6904 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6906 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6908 * converter.C (view): add support for $$i (file name) and $$p
6909 (file path) for the viewer command. If $$i is not specified, then
6910 it is appended to the command (for compatibility with old syntax)
6912 2002-10-14 Juergen Vigna <jug@sad.it>
6914 * undo_funcs.C (textHandleUndo): alter the order in which the
6915 new undopar is added to the LyXText, as we have to set first
6916 the right prev/next and then add it as otherwise the rebuild of
6917 LyXText is not correct. Also reset the cursor to the right paragraph,
6918 with this IMO we could remove the hack in "redoParagraphs()".
6920 2002-10-09 Angus Leeming <leeming@lyx.org>
6922 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6923 to turn off an optimisation if a new inset is to be inserted.
6925 2002-10-11 André Pönitz <poenitz@gmx.net>
6927 * lyxtext.h: make some functions public to allow access
6928 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6930 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6932 * text3.C (dispatch): when changing layout, avoid an infinite loop
6935 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6937 * lyxrc.C (read): treat a viewer or converter command of "none" as
6940 * MenuBackend.C (expandFormats): for an update, also allow the
6941 formats that are not viewable
6943 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6944 script if it is newer than the lyxrc.defaults in user directory
6946 2002-10-07 André Pönitz <poenitz@gmx.net>
6948 * text.C: Vitaly Lipatov's small i18n fix
6950 2002-09-25 Angus Leeming <leeming@lyx.org>
6952 * ispell.h: doxygen fix.
6954 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6956 * buffer.h (readFile): Add a new argument to the method, to allow
6957 reading of old-format templates.
6959 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6961 * toc.C (getTocList): Get TOC from InsetWrap.
6963 2002-09-16 John Levon <levon@movementarian.org>
6965 * lyxfunc.C: check tabular for cut/copy too
6967 2002-09-12 John Levon <levon@movementarian.org>
6972 * factory.C: add header
6974 * paragraph_funcs.h:
6975 * paragraph_funcs.C: cleanup
6977 2002-09-11 John Levon <levon@movementarian.org>
6979 * PrinterParams.h: odd/even default to true
6981 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6983 * PrinterParams.h: update printer parameters for new xforms dialog
6985 2002-09-11 Angus Leeming <leeming@lyx.org>
6987 * lyxserver.C (read_ready): re-write to make it more transparent
6988 and to make it work in coherent fashion under Tru64 Unix.
6990 2002-09-11 André Pönitz <poenitz@gmx.net>
6994 * text3.C: implement LFUN_WORDSEL
6996 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6998 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6999 make floatlist_ a boost::shared_ptr<FloatList>
7001 * lyxtextclass.C: include FloatList.h
7002 (LyXTextClass): initialize floatlist_
7003 (TextClassTags): add TC_NOFLOAT
7004 (Read): match "nofloat" to TC_NOFLOAT and use it.
7005 (readFloat): modify call to floatlist_
7009 * FloatList.[Ch] (FloatList): remove commented out float
7011 (erase): new function
7013 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7015 * MenuBackend.C (expandToc): fix crash when there is no document
7018 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7020 * many files: Add insetwrap.
7022 2002-09-09 John Levon <levon@movementarian.org>
7024 * text2.C: remove confusing and awkward depth wraparound
7026 2002-09-09 John Levon <levon@movementarian.org>
7028 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7031 * buffer.C: remove getIncludeonlyList()
7034 * lyxfunc.C: remove headers
7036 2002-09-09 Juergen Vigna <jug@sad.it>
7038 * text.C (getColumnNearX): fix form Michael this is most
7039 probably a cut&paste bug.
7041 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7045 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7046 references, ws changes.
7048 * text2.C (init): update counters after init
7049 (insertParagraph): no need to set counter on idividual paragraphs.
7050 (setCounter): access the counters object in the textclass object
7051 on in the buffer object.
7052 (updateCounters): ditto
7054 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7055 shared_ptr<Counters> to avoid loading counters.h in all
7057 (LyXTextClass): initialize ctrs_
7058 (TextClassTags): add TC_COUNTER, and ...
7059 (Read): use it here.
7060 (CounterTags): new tags
7061 (readCounter): new function
7062 (counters): new funtion
7063 (defaultLayoutName): return a const reference
7065 * counters.C (Counters): remove contructor
7066 (newCounter): remove a couple of unneeded statements.
7067 (newCounter): simplify a bit.
7068 (numberLabel): some small formatting changes.
7070 * buffer.[Ch]: remove all traces of counters, move the Counters
7071 object to the LyXTextClass.
7073 2002-09-06 Alain Castera <castera@in2p3.fr>
7075 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7076 package to set the horizontal alignment on fixed width columns.
7079 * lyx_sty.h: added tabularnewline macro def.
7081 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7083 2002-09-06 John Levon <levon@movementarian.org>
7085 * LyXAction.C: tooltips for sub/superscript
7087 * MenuBackend.C: a bit more verbose
7089 * lyxfunc.C: tiny clean
7091 * undo_funcs.C: document undo_frozen
7093 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7095 * counters.C (Counters): add missing algorithm counter.
7097 * text2.C (setCounter): lookup the counter with layouts latexname
7098 instead of by section number.
7099 (setCounter): use a hackish way to lookup the correct enum
7101 a float name->type change
7102 reset enum couners with counter name directly instead of depth value.
7104 * counters.C (Counters): remove the push_backs, change to use the
7105 float type not the float name.
7106 (labelItem): remove unused string, float name->type change
7108 * counters.h: don't include vector, loose the enums and sects vectors
7110 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7113 (Read): add float->TC_FLOAT to textclassTags
7114 (Read): and handle it in the switch
7115 (readFloat): new function
7117 * FloatList.C (FloatList): comment out the hardcoded float
7120 * lyxlayout.h: ws change.
7122 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7124 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7126 2002-09-03 Angus Leeming <leeming@lyx.org>
7128 * BufferView_pimpl.h: qualified name is not allowed in member
7129 declaration: WorkArea & Pimpl::workarea() const;
7131 * factory.C: added using std::endl directive.
7133 * text3.C: added using std::find and std::vector directives.
7135 2002-08-29 André Pönitz <poenitz@gmx.net>
7138 * text2.C: remove unused member number_of_rows
7141 * BufferView2.C: remove file, move contents to...
7142 * BufferView.C: ... here
7144 * BufferView_pimpl.C:
7145 * factory.C: move more inset creation to factory
7147 * vspace.C: avoid direct usage of LyXText, ws changes
7150 don't provide direct access to WorkArea, use two simple
7151 acessors haveSelction() and workHeight() instead
7154 2002-08-29 John Levon <levon@movementarian.org>
7156 * BufferView_pimpl.C (dispatch): do not continue when
7159 2002-08-28 André Pönitz <poenitz@gmx.net>
7161 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7164 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7166 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7168 * buffer.C: increment LYX_FORMAT to 221
7170 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7171 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7173 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7175 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7177 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7179 * factory.C (createInset): use LyXTextClass::floats
7181 * MenuBackend.C (expandFloatListInsert):
7182 (expandFloatInsert):
7185 * text2.C (setCounter):
7187 * LaTeXFeatures.C (useFloat):
7188 (getFloatDefinitions):
7190 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7192 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7193 floatlist_, with accessor floats().
7195 * FloatList.h: remove global FloatList
7197 2002-08-26 André Pönitz <poenitz@gmx.net>
7199 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7203 * BufferView_pimpl.C:
7204 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7206 2002-08-25 John Levon <levon@movementarian.org>
7208 * LyXAction.C: fix margin note description
7210 2002-08-24 John Levon <levon@movementarian.org>
7214 * bufferview_funcs.C:
7216 * undo_funcs.C: cleanups
7218 * lyxfunc.C: disable CUT/COPY when no selection
7220 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7222 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7223 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7225 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7226 Add backward compatibility to "mono", "gray" and "no".
7228 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7230 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7231 (and file_format >= 200).
7233 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7235 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7237 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7239 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7241 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7243 * BufferView_pimpl.C:
7250 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7251 inset and code to make it work with the paragraph code. The inset
7252 can be anywhere in the paragraph, but will only do the expected
7253 thing in LaTeX if the layout file contains the parameter line
7255 (or more generally, a nonzero value) for that layout.
7257 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * paragraph.h: remove the declaration of undefined counters class
7262 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7264 * text2.C (setCounter): fixed enumeration mis-count as reported by
7265 Dr. Richard Hawkins.
7267 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7269 * paragraph_funcs.h: remove some unneeded includes
7271 * text.C (backspace): pasteParagraph now in global scipe
7273 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7274 (pasteSelection): ditto
7276 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7277 * paragraph_funcs.C (pasteParagraph): ... here
7279 2002-08-20 André Pönitz <poenitz@gmx.net>
7281 * commandtags.h: new LFUNs for swapping/copying table row/colums
7284 * lyxfunc.C: support for new lfuns
7286 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7289 * buffer.[Ch]: remove NO_COMPABILITY stuff
7291 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * boost.C (throw_exception): new file, with helper function for
7294 boost compiled without exceptions.
7299 * ParameterStruct.h:
7300 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7302 * bufferlist.C (emergencyWriteAll): use boost bind
7304 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7306 * text.C: include paragraph_funcs.h
7307 (breakParagraph): breakParagraph is now in global scope
7309 * paragraph_funcs.[Ch]: new files
7311 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7314 * buffer.C: include paragraph_funcs.h
7315 (insertStringAsLines): breakParagraph is now in global scope
7317 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7320 * CutAndPaste.C: include paragraph_funcs.h
7321 (cutSelection): breakParagraphConservative is now in global scope
7322 (pasteSelection): ditto
7324 * buffer.h: declare oprator== and operator!= for
7325 Buffer::inset_iterator
7327 * bufferlist.C (emergencyWrite): don't use fmt(...)
7329 * text3.C: add using std::endl
7331 * BufferView.C (moveCursorUpdate): remove default arg
7333 2002-08-20 André Pönitz <poenitz@gmx.net>
7335 * buffer.[Ch]: move inline functions to .C
7338 * BufferView_pimpl.C:
7340 * buffer.[Ch]: use improved inset_iterator
7343 * paragraph.[Ch]: write one paragraph at a time
7345 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7347 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7348 style if style is not specified.
7350 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7352 * text2.C (setCounter): when searching for right label for a
7353 caption, make sure to recurse to parent insets (so that a caption
7354 in a minipage in a figure float works) (bug #568)
7356 2002-08-20 André Pönitz <poenitz@gmx.net>
7358 * text3.C: new file for LyXText::dispatch() and helpers
7360 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7362 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7364 2002-08-19 André Pönitz <poenitz@gmx.net>
7367 * text.C: new LyXText::dispatch()
7369 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7371 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7373 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7375 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7378 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * Makefile.am: use $(variables) instead of @substitutions@
7382 2002-08-15 André Pönitz <poenitz@gmx.net>
7385 * BufferView_pimpl.C: streamlining mathed <-> outer world
7389 * LyXAction.C: remove unused LFUN_MATH
7391 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7393 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7395 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * paragraph.C (Paragraph): reformat a bit
7398 (cutIntoMinibuffer): use builtin InsetList function instad of
7402 * buffer.C: include boost/bind.hpp, add using std::for_each
7403 (writeFileAscii): use ParagraphList iterators
7404 (validate): use for_each for validate traversal of paragraphs
7405 (getBibkeyList): use ParagraphList iterators
7406 (resizeInsets): use for_each to resizeInsetsLyXText for all
7408 (getParFromID): use ParagraphList iterators
7410 * BufferView2.C (lockInset): use paragraph list and iterators
7412 2002-08-14 John Levon <levon@movementarian.org>
7414 * lyxserver.C: remove spurious xforms include
7416 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7420 2002-08-13 André Pönitz <poenitz@gmx.net>
7423 * lyxfunc.C: further cleaning
7425 2002-08-13 André Pönitz <poenitz@gmx.net>
7427 * funcrequest.h: new constructor
7429 * funcrequest.C: move stuff here from .h
7432 * BufferView_pimpl.C:
7435 * lyxfunc.C: subsequent changes
7437 * lyxfunc.h: new view() member function
7439 * lyxfunc.C: subsequent changes
7441 2002-08-13 Angus Leeming <leeming@lyx.org>
7444 * BufferView_pimpl.C:
7452 changes due to the changed LyXView interface that now returns references
7453 to member variables not pointers.
7455 2002-08-13 Angus Leeming <leeming@lyx.org>
7457 * WordLangTuple (word, lang_code): return references to strings,
7462 * lyxtext.h: forward-declare WordLangTuple.
7467 * text.C: #include "WordLangTuple.h".
7470 * text.C: (selectNextWordToSpellcheck): constify return type.
7472 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7478 * paragraph_pimpl.h:
7481 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7483 Made updateCounter always count from start of buffer, and removed
7484 second argument (par).
7485 Reverted floats number display to '#'. Perhaps I'll try again when the
7486 code base is sanitized a bit.
7488 2002-08-12 Angus Leeming <leeming@lyx.org>
7490 * buffer.[Ch] (getLabelList): constify.
7492 2002-08-07 André Pönitz <poenitz@gmx.net>
7494 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7496 * funcrequest.h: extension to keep mouse (x,y) position
7498 2002-08-12 Juergen Vigna <jug@sad.it>
7500 * BufferView2.C (insertErrors): forbid undo when inserting error
7503 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7505 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * ParagraphList.[Ch]: new files
7509 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7511 * BufferView2.C (lockInset): ParagraphList changes
7514 * bufferlist.C: ditto
7518 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7520 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7521 unused class variable counter_,
7523 * paragraph.[Ch] (getFirstCounter): delete unused function
7525 * counters.C: include LAssert.h
7526 (reset): add a new function with no arg, change other version to
7527 not have def. arg and to not allow empty arg.
7529 * text2.C (setCounter): remove empty arg from call to Counters::reset
7531 2002-08-11 John Levon <levon@movementarian.org>
7533 * Makefile.am: add WordLangTuple.h
7535 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7537 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7538 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7540 * insets/insettext.C: InsetList changes
7542 * graphics/GraphicsSupport.C (operator()): InsetList changes
7544 * toc.C (getTocList): InsetList changes
7546 * paragraph_pimpl.[Ch]: InsetList changes
7548 * paragraph.[Ch]: InsetList changes
7550 * buffer.C (inset_iterator): InsetList changes
7551 (setParagraph): ditto
7552 * buffer.h (inset_iterator): ditto
7553 * iterators.C (operator++): ditto
7554 * iterators.h: ditto
7556 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7558 * InsetList.[Ch]: new files, most InsetList handling moved out of
7561 * BufferView2.C (removeAutoInsets): InsetList changes
7563 (ChangeInsets): ditto
7565 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7567 * paragraph_pimpl.h (empty): new function
7569 * paragraph.[Ch] (empty): new function
7571 * other files: use the new Paragraph::empty function
7573 2002-08-09 John Levon <levon@movementarian.org>
7575 * lyxtext.h: remove unused refresh_height
7577 2002-08-09 John Levon <levon@movementarian.org>
7584 * paragraph.C: move sgml char escaping out of paragraph
7587 * paragraph.C: remove id setter
7591 * paragraph_pimpl.C: remove dead tex_code_break_column
7593 * bufferview_funcs.C: small cleanup
7595 * lyxfunc.C: remove dead proto
7597 * lyxtext.h: make some stuff private. Remove some dead stuff.
7599 * lyxgluelength.C: make as[LyX]String() readable
7601 2002-08-08 John Levon <levon@movementarian.org>
7606 * ToolbarDefaults.C:
7609 * toc.C: lyxaction cleanup
7611 2002-08-08 John Levon <levon@movementarian.org>
7613 * BufferView2.C: small cleanup
7616 * lyxfind.C: move unnecessary header into the .C
7618 2002-08-08 John Levon <levon@movementarian.org>
7620 * funcrequest.h: just tedious nonsense
7623 * lyx_main.C: cleanups
7626 * vspace.C: remove dead header lyx_main.h
7628 2002-08-07 Angus Leeming <leeming@lyx.org>
7631 * paragraph_pimpl.h:
7632 Forward declare class Counters in paragraph.h by moving the ctrs member
7633 variable into Paragraph::Pimpl.
7634 (counters): new method, returning a reference to pimpl_->ctrs.
7636 * text2.C: ensuing changes.
7638 2002-08-07 John Levon <levon@movementarian.org>
7640 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7642 * BufferView_pimpl.C: announce X selection on double/triple
7645 * lyx_main.C: use correct bool in batch dispatch
7647 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7649 2002-08-07 André Pönitz <poenitz@gmx.net>
7651 * funcrequest.h: new class to wrap a kb_action and its argument
7654 * BufferView_pimpl[Ch]:
7658 * lyxrc.C: subsequent changes
7661 2002-08-07 John Levon <levon@movementarian.org>
7663 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7664 document options change.
7666 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7671 * makefile.am: move counters functionality over from
7672 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7674 2002-08-06 John Levon <levon@movementarian.org>
7676 * WordLangTuple.h: new file for word + language code tuple
7687 * BufferView2.C: use WordLangTuple
7690 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7692 2002-08-06 John Levon <levon@movementarian.org>
7694 * lyx_main.C: fix cmdline batch handling
7696 2002-08-06 André Pönitz <poenitz@gmx.net>
7698 * lyxrc.C: set default for show_banner to true
7700 2002-08-06 John Levon <levon@movementarian.org>
7702 * pspell.C: fix a crash, and allow new aspell to work
7704 2002-08-06 John Levon <levon@movementarian.org>
7707 * kbmap.C: small cleanup
7710 * vspace.C: add const
7712 2002-08-05 John Levon <levon@movementarian.org>
7714 * LyXAction.C: back to tabular-insert
7716 2002-08-04 John Levon <levon@movementarian.org>
7719 * BufferView.C: cosmetic change
7721 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7731 * BufferView2.C: purge all "Lyx" not "LyX" strings
7734 * lyxcursor.C: attempt to add some documentation
7739 * ToolbarDefaults.C:
7740 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7741 merge with LFUN_TABULAR_INSERT
7748 * pspell.C: split up i/pspell implementations into separate
7749 files, many cleanups
7751 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7753 * text2.C: some cleanup
7755 * lyxfunc.C: don't check for isp_command == "none" any more, it
7756 didn't make any sense
7758 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7763 * makefile.am: move counters functionality over
7764 from text2.C/paragraph.[Ch] to counters.[Ch], and
7766 2002-08-02 John Levon <levon@movementarian.org>
7768 * buffer.C: s/lyxconvert/lyx2lyx/
7770 2002-08-02 Angus Leeming <leeming@lyx.org>
7772 * lyxlex.C: revert John's change as it breaks reading of the user
7775 2002-08-02 Angus Leeming <leeming@lyx.org>
7777 * importer.C (Import):
7778 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7779 changes due to LyXView::view() now returning a boost::shared_ptr.
7781 2002-08-02 John Levon <levon@movementarian.org>
7783 * lyxlex.C: small cleanup
7785 2002-08-02 John Levon <levon@movementarian.org>
7787 * text2.C (status): small cleanup, no logic change
7789 2002-08-01 John Levon <levon@movementarian.org>
7792 * buffer.C (writeFile): don't output alerts, caller
7796 * lyx_cb.C: from above
7798 * lyxfunc.C: allow to open non-existent files
7800 2002-07-31 John Levon <levon@movementarian.org>
7802 * lyxserver.C: don't let incidental errors get
7805 2002-07-30 John Levon <levon@movementarian.org>
7807 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7809 2002-07-30 John Levon <levon@movementarian.org>
7812 * lyxserver.C: remove I/O callback too
7814 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7816 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7819 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * many files: strip,frontStrip -> trim,ltrim,rtrim
7823 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * PrinterParams.h: remove extern containsOnly, and include
7826 support/lstrings.h instead.
7828 * LaTeX.C (scanAuxFile): modify because of strip changes
7830 * buffer.C (makeLaTeXFile): ditto
7831 * bufferparams.C (writeFile): ditt
7832 * lyxfont.C (stateText): ditto
7833 * lyxserver.C (read_ready): ditto
7834 * vc-backend.C (scanMaster): ditto
7836 * BufferView_pimpl.h: ws changes
7838 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7840 2002-07-26 André Pönitz <poenitz@gmx.net>
7842 * kb_sequence.C: remove unnedred usings
7844 2002-07-26 Juergen Vigna <jug@sad.it>
7846 * lyxfind.C (LyXReplace): we have to check better if the returned
7847 text is not of theLockingInset()->getLockingInset().
7849 2002-07-25 Juergen Vigna <jug@sad.it>
7851 * lyxfind.C (LyXReplace): don't replace if we don't get the
7854 * undo_funcs.C (createUndo): remove debugging code.
7856 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7858 * buffer.C (parseSingleLyXformat2Token): Use default placement
7859 when reading old floats.
7861 * FloatList.C (FloatList): Change the default placement of figure
7862 and tables to "tbp".
7864 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7866 * MenuBackend.C: using std::max
7868 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7870 * MenuBackend.C (expandToc):
7871 (expandToc2): code moved from xforms menu frontend. It is now
7872 generic and TOCs are transparent to menu frontends.
7874 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7876 * toc.C (getTocList): protect against buf=0
7878 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7879 Menu as first parameter. Now, this calls itself recursively to
7880 expand a whole tree (this will be useful for TOC handling)
7881 (expandFloatInsert): remove 'wide' version of floats
7883 * MenuBackend.h (submenuname): returns the name of the submenu.
7884 (submenu): returns the submenu itself, provided it has been
7885 created by MenuBackend::expand
7887 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7889 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7890 insets which have noFontChange == true. (bug #172)
7892 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7894 * BufferView_pimpl.C: add connection objects and use them...
7897 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7899 * MenuBackend.C (expandLastfiles):
7902 (expandFloatListInsert):
7903 (expandFloatInsert):
7904 (expand): split expand in parts
7906 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7908 * lyx_gui.C: use lyx_gui::exit()
7910 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7912 * LyXAction.C: show the failing pseudo action
7914 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7916 * buffer.C (readFile): Run the lyxconvert script in order to read
7919 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7923 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7925 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7929 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7931 2002-07-22 Herbert Voss <voss@lyx.org>
7934 * lyxlength.[Ch]: add support for the vertical lengths
7936 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7938 * toc.[Ch]: std:: fixes
7940 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7942 * lyxrc.C: do not include lyx_main.h
7944 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7950 * BufferView2.C: include "lyxlex.h"
7953 * bufferparams.h: do not #include "lyxlex.h"
7955 * lyxtextclasslist.C (Add): remove method
7956 (classlist): renamed to classlist_
7958 * paragraph_pimpl.C:
7962 * bufferview_funcs.C:
7967 * toc.C (getTocList): use BufferParams::getLyXTextClass
7969 * toc.C (getTocList): use InsetFloat::addToToc
7971 * toc.[Ch]: new files, containing helper functions to handle table
7974 * lyxfunc.C (dispatch): no need to remove spaces around command
7976 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7977 first command of the sequence; it is not very clever, but I do not
7978 have a better idea, actually
7980 * LyXAction.C (LookupFunc): make sure to remove space at the
7981 beginning and end of the command
7983 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7985 * MenuBackend.C (getMenubar): new method: return the menubar of
7987 (read): treat differently reading of menu and menubar (in
7988 particular, the menubar has no name now)
7989 (Menu::menubar): remove
7991 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7994 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7996 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7997 a bibitem inset in a RTL paragraph.
7999 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8001 * paragraph_pimpl.C: constify
8003 * BufferView_pimpl.C:
8005 * lyxfunc.C: fix dispatch in a nicer way
8007 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8009 * lyxfunc.C (dispatch):
8010 * BufferView_pimpl.C:
8011 * BufferView_pimpl.h:
8013 * BufferView.h: rename Dispatch() to dispatch()
8015 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8017 * lyxlayout.C (Read): honor DependsOn tag
8019 * lyxlayout.[Ch] (depends_on): new method
8021 * version.C.in: update lyx_docversion
8023 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8025 * paragraph.C (validate): remove from here...
8026 * paragraph_pimpl.C (validate): ... and move here
8027 (isTextAt): make it const
8029 * buffer.C (getLists): ws cleanup
8031 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8033 * language.C (read): Use iso8859-1 encoding in latex_lang
8034 (this prevents LyX from crashing when using iso10646-1 encoding).
8036 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8038 * text2.C (toggleInset): if cursor is inside an inset, close the
8039 inset and leave cursor _after_ it
8041 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8043 * lyxfunc.C: move minibuffer completion handling out of here
8045 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8047 * BufferView_pimpl.C:
8048 * LaTeX.C: fix dispatch calls
8050 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8052 * text.C (drawChars): Fix Arabic text rendering.
8054 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8058 * lyxfunc.C: remove message-push/pop
8062 * lyxfunc.C: rationalise some code by removing verboseDispatch
8063 in favour of a bool argument to dispatch()
8065 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8067 * lyx_main.C (init): make sure to read symlinks as absolute paths
8069 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8072 * lyxfunc.C: no need for commandshortcut to be a member
8074 2002-07-15 André Pönitz <poenitz@gmx.net>
8076 * converter.C: add support for $$s (scripts from lib/scripts dir)
8077 * lyx_main.C: white space
8079 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8083 * lyxrc.C: remove second exit confirmation
8085 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8090 * BufferView_pimpl.h:
8091 * BufferView_pimpl.C:
8092 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8094 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8096 * MenuBackend.C (expand): add numeric shortcuts to document menu
8098 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8100 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8102 * lyxfont.C (setLyXFamily):
8109 * buffer.C (asciiParagraph): use ascii_lowercase
8111 2002-07-15 Mike Fabian <mfabian@suse.de>
8113 * lyxlex_pimpl.C (search_kw):
8114 * lyxlex.C (getLongString):
8115 * converter.h (operator<):
8116 * converter.C (operator<):
8117 * buffer.C (parseSingleLyXformat2Token):
8119 * ToolbarDefaults.C (read):
8120 * MenuBackend.C (checkShortcuts):
8122 * LColor.C (getFromGUIName):
8123 (getFromLyXName): use the compare_ascii_no_case instead of
8124 compare_no_case, because in turkish, 'i' is not the lowercase
8125 version of 'I', and thus turkish locale breaks parsing of tags.
8127 2002-07-16 Angus Leeming <leeming@lyx.org>
8129 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8130 now takes a Buffer const & argument.
8132 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8134 * BufferView.C (resize): check there's a buffer to resize
8136 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8138 * lyxfunc.C: remove dead code
8141 * lyxserver.C: use lyx_guii::set_read_callback
8143 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8145 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8146 an inset in a RTL paragraph.
8148 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8150 * lyxfunc.C: repaint after a font size update
8152 2002-07-15 André Pönitz <poenitz@gmx.net>
8154 * lyxlength.C: inBP should be able to return negative values
8156 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8158 * lyxfunc.C: use lyx_gui::update_fonts()
8160 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8162 * lyxfunc.C: use lyx_gui::update_color()
8164 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8170 * lyxrc.C: remove file->new asks for name option, and let
8171 buffer-new take an argument
8173 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8175 * BufferView_pimpl.C: remove unneeded extra repaint()
8177 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8179 * LyXAction.C: allow command-sequence with NoBuffer
8181 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8183 2002-07-10 Angus Leeming <leeming@lyx.org>
8185 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8187 2002-07-09 Angus Leeming <leeming@lyx.org>
8189 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8191 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8193 * lengthcommon.h: whitespace
8195 * lyxfunc.C: update scrollbar after goto paragraph
8197 * lyxtext.h: factor out page break drawing, and fix it so
8198 page break/added space paints as selected nicely
8200 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8202 * BufferView_pimpl.C: add FIXMEs, clean up a little
8204 2002-07-09 André Pönitz <poenitz@gmx.net>
8206 * lyxfont.[Ch]: support for wasy symbols
8208 2002-07-08 André Pönitz <poenitz@gmx.net>
8210 * BufferView_pimpl.C: apply John's patch for #93.
8212 2002-07-05 Angus Leeming <leeming@lyx.org>
8214 * BufferView_pimpl.C (buffer): generate previews if desired.
8216 * LColor.h: add "preview" to the color enum.
8218 * LColor.C (LColor): add a corresponding entry to the items array.
8220 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8223 2002-07-05 Angus Leeming <leeming@lyx.org>
8225 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8226 The body of the code is now in the method that is passed an ostream &
8227 rather than a file name.
8228 Pass an additional only_preamble parameter, useful for the forthcoming
8231 2002-07-03 André Pönitz <poenitz@gmx.net>
8233 * lyxfunc.C: simplify getStatus() a bit for math stuff
8235 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8237 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8239 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8241 * text.C (changeRegionCase): do not change case of all the
8242 document when region ends at paragraph end (bug #461)
8244 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8246 * paragraph.C (startTeXParParams):
8247 (endTeXParParams): add \protect when necessary
8249 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * BufferView_pimpl.C (workAreaExpose): remove warning
8253 2002-06-27 Angus Leeming <leeming@lyx.org>
8255 * Makefile.am: add lyxlayout_ptr_fwd.h.
8257 2002-06-26 André Pönitz <poenitz@gmx.net>
8259 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8261 2002-06-25 Angus Leeming <leeming@lyx.org>
8263 * lyxfunc.C (dispatch): Comment out the call to
8264 grfx::GCache::changeDisplay. The method no longer exists now that the
8265 pixmap generation part of the graphics loader has been moved into
8268 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8270 * text2.C: layout as layout
8272 * text.C: layout as layout
8274 * tabular.C (OldFormatRead): layout as layout
8276 * paragraph_pimpl.C (TeXDeeper): layout as layout
8277 (realizeFont): layout as layout
8279 * paragraph.C (writeFile): layout as layout
8280 (validate): layout as layout
8281 (getFont): layout as layout
8282 (getLabelFont): layout as layout
8283 (getLayoutFont): layout as layout
8284 (breakParagraph): layout as layout
8285 (stripLeadingSpaces): layout as layout
8286 (getEndLabel): layout as layout
8287 (getMaxDepthAfter): layout as layout
8288 (applyLayout): layout as layout
8289 (TeXOnePar): layout as layout
8290 (simpleTeXOnePar): layout as layout
8291 (TeXEnvironment): layout as layout
8292 (layout): layout as layout
8293 (layout): layout as layout
8295 * lyxtextclass.C (compare_name): new functor to work with
8296 shared_ptr, layout as layout
8297 (Read): layout as layout
8298 (hasLayout): layout as layout
8299 (operator): layout as layout
8300 (delete_layout): layout as layout
8301 (defaultLayout): layout as layout
8303 * lyxlayout_ptr_fwd.h: new file
8305 * lyxlayout.C (Read): layout as layout
8307 * lyx_cb.C (MenuInsertLabel): layout as layout
8309 * bufferlist.C (newFile): layout as layout
8311 * buffer.C (readLyXformat2): layout as layout
8312 (parseSingleLyXformat2Token): layout as layout
8313 (insertStringAsLines): layout as layout
8314 (asciiParagraph): layout as layout
8315 (latexParagraphs): layout as layout
8316 (makeLinuxDocFile): layout as layout
8317 (simpleLinuxDocOnePar): layout as layout
8318 (makeDocBookFile): layout as layout
8319 (simpleDocBookOnePar): layout as layout
8320 (getLists): layout as layout
8322 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8324 * CutAndPaste.C (cutSelection): layout as layout
8325 (pasteSelection): layout as layout
8326 (SwitchLayoutsBetweenClasses): layout as layout
8328 * BufferView_pimpl.C (Dispatch): layout as layout
8329 (smartQuote): layout as layout
8331 * BufferView2.C (unlockInset): layout as layout
8333 2002-06-24 André Pönitz <poenitz@gmx.net>
8335 * lyxfunc.C: fix #487
8337 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8341 * lyxfunc.C: remove display_shortcuts, show_banner
8343 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8345 * Buffer_pimpl.C: oops, update on resize
8347 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8354 * BufferView.C: use repaint()
8356 * BufferView_pimpl.h:
8357 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8358 as it's a clearer description. Remove superfluous
8361 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8363 * text.C: fix bug 488. Not ideal, but getting
8364 getWord() to work properly for the insets that
8365 matter is more difficult ...
8367 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8369 * BufferView_pimpl.C:
8372 * lyxfunc.C: remove the six million index lyxfuncs to just
8373 one, and DTRT (bug 458)
8375 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8379 * BufferView_pimpl.h:
8380 * BufferView_pimpl.C: clean up resize() stuff,
8381 and unnecessary updateScreen()s
8383 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8387 * BufferView_pimpl.h:
8388 * BufferView_pimpl.C:
8391 * minibuffer.C: remove focus management of workarea,
8392 not needed. Use screen's greyOut()
8394 2002-06-17 Herbert Voss <voss@lyx.org>
8396 * converter.C: (convert) do not post a message, when converting
8397 fails, let the calling function decide what to do in this case
8399 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8401 * lyxfunc.C: tidy up a little
8403 2002-06-16 <alstrup@diku.dk>
8405 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8406 Got rid of FORMS_H_LOCATION include. Now we are
8409 2002-06-15 LyX Development team <lyx@rilke>
8411 * buffer.[Ch] (sgmlOpenTag):
8412 (sgmlCloseTag): Added support for avoiding pernicious mixed
8413 content. Return number of lines written.
8416 (makeDocBookFile): Fixed calls to sgml*Tag.
8417 Simple white space clean.
8419 (simpleDocBookOnePar): Simple white space clean.
8421 * tabular.[Ch] (docBook): Renamed to docbook and got another
8422 argument to related with the pernicious mixed content.
8424 (docbookRow): Fixed calls for docbook inset method.
8426 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8428 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8429 so it's X11 independent.
8433 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8435 2002-06-15 Lyx Development team <lyx@electronia>
8437 * intl.h: Renamed getTrans to getTransManager.
8439 2002-06-14 Angus Leeming <leeming@lyx.org>
8441 * Makefile.am: nuke forgotten stl_string_fwd.h.
8443 2002-06-12 Angus Leeming <leeming@lyx.org>
8445 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8447 2002-06-13 Angus Leeming <leeming@lyx.org>
8450 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8452 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8454 * kbmap.C (getiso): add support for cyrillic and greek
8456 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8460 * BufferView_pimpl.h:
8461 * BufferView_pimpl.C: move bogus scrolling logic
8464 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8467 * BufferView_pimpl.C: view->resize() change
8469 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8471 * BufferView_pimpl.C: topCursorVisible
8474 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8478 * lyx_gui.C: move to frontends/
8482 * lyx_main.C: changes from above
8484 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8491 * lyx_main.C: minor tidy
8493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8495 * BufferView_pimpl.h:
8496 * BufferView_pimpl.C:
8498 * BufferView.C: make painter() const,
8501 * BufferView2.C: use screen() accessor
8504 * lyx_main.C: some minor cleanup
8506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8508 * BufferView_pimpl.h:
8509 * BufferView_pimpl.C: remove enter/leaveView,
8512 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8517 * BufferView_pimpl.h:
8518 * BufferView_pimpl.C: only construct screen once,
8521 * lyxrc.C: remove pointless comment
8523 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8526 * BufferView.C: remove active() and belowMouse()
8528 * BufferView_pimpl.h:
8529 * BufferView_pimpl.C: use workarea() not workarea_,
8530 and make it use a scoped_ptr instead
8532 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8534 * lyx_gui.C: add debug message on BadWindow
8536 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8538 * sp_spell.C: fdopen is not part of the C++ standard.
8540 * paragraph.C (InsetIterator): use >= instead of ==
8542 2002-06-07 Angus Leeming <leeming@lyx.org>
8544 Fixes needed to compile with Compaq cxx 6.5.
8545 * BufferView_pimpl.C:
8552 * lyxtextclasslist.C:
8557 all c-library variables have been moved into namespace std. Wrap
8558 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8563 Add a using std::abs declaration.
8565 * kbmap.h (modifier_pair):
8566 * paragraph.h (InsetTable, InsetList):
8567 * lyxfont.h (FontBits):
8568 type definition made public.
8570 * bufferlist.C (emergencyWriteAll): the compiler complains that
8571 there is more than one possible lyx::class_fun template to choose from.
8572 I re-named the void specialisation as lyx::void_class_fun.
8574 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8576 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8577 the compiler is is unable to find tostr in write_attribute.
8579 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8581 * buffer.C (sgmlError): hide #warning
8583 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8585 * xtl/*: get rid of xtl, which is not in use anyway
8587 * LyXAction.C (init):
8588 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8589 were unimplemented xtl experimentation
8591 2002-06-04 André Pönitz <poenitz@gmx.net>
8593 * lyxfunc.C: disable array operation on simple formulae
8595 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8597 * converter.C: constify a bit
8599 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8601 * lyx_gui.C: check xforms version correctly
8603 2002-04-30 Herbert Voss <voss@lyx.org>
8605 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8608 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8610 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8611 attempt to register it with a VCS)
8613 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8615 * lyx_main.C (init): honor variables LYX_DIR_13x and
8618 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8622 * lyx_main.C: fix a crash on bad command line,
8623 and give a useful exit status on error
8625 * lyxfunc.C (doImport): allow -i lyx to work
8627 2002-03-30 André Pönitz <poenitz@gmx.net>
8629 * lyxfunc.C: mathed font changes
8631 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8646 * trans_mgr.h: srcdocs, and some minor cleanups
8648 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8651 call getFont all the time)
8653 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8655 * switch from SigC signals to boost::signals
8657 2002-05-29 André Pönitz <poenitz@gmx.net>
8659 * paragraph_pimpl.C (getChar): don't call size() too often...
8661 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8663 * paragraph_pimpl.C (insertChar): do not try to update tables when
8664 appending (pos == size())
8666 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8667 in order to reduce drastically the number of comparisons needed to
8668 parse a large document
8670 2002-05-29 André Pönitz <poenitz@gmx.net>
8676 * textclasslist.[Ch]:
8677 * sp_ispell.h: whitespace change
8679 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8681 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8682 lyxaction directly now.
8684 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8688 * lyxvc.C: remove unused headers
8690 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8697 * undo_funcs.C: some cleanups. Use shared_ptr
8698 and a template for the undo stacks.
8700 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8702 * BufferView_pimpl.h:
8703 * BufferView_pimpl.C:
8710 * text2.C: use key_state/mouse_state
8712 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8714 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8717 * chset.C: change include order
8718 (loadFile): use boost regex and get rid of LRegex and LSubstring
8720 * Makefile.am (BOOST_LIBS): new variable
8723 * LaTeX.C: change include order.
8724 (scanAuxFile): use boost regex and get rid of LRegex and
8728 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8733 * FontInfo.C: moved to frontends/xforms/
8736 * FontLoader.C: moved into frontends for GUIIzation
8741 * lyxfunc.C: changes from above
8743 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8745 * LColor.C: remove spurious X include
8747 * BufferView_pimpl.C:
8752 * text2.C: move font metrics to frontends/
8754 2002-05-24 Juergen Vigna <jug@sad.it>
8756 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8757 setting the undo_cursor.
8759 * ParagraphParameters.h: include local includes first.
8761 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8763 * BufferView_pimpl.C:
8764 * BufferView_pimpl.h:
8768 * screen.C: move WorkArea into frontends/
8774 * BufferView2.C: move LyXScreen into frontends/
8778 * lyx_gui.C: move lyxlookup into frontends/xforms/
8780 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8783 * BufferView_pimpl.C:
8793 * bufferview_funcs.C:
8806 * vc-backend.C: move LyX/XFormsView into frontends/
8808 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8820 * text2.C: move Painter to frontends/
8822 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8824 * buffer.C: comment out some some code that depend upon lyx_format
8827 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8828 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8830 * buffer.h (NO_COMPABILITY): turn off compability
8832 * ColorHandler.C: include scoped_array.hpp
8834 * font.C: Use more specific smart_ptr header.
8837 * ShareContainer.h: ditto
8841 * BufferView_pimpl.h: ditto
8842 * ColorHandler.h: ditto
8844 * kbmap.C (defkey): change call to shared_ptr::reset
8846 2002-05-21 Juergen Vigna <jug@sad.it>
8848 * buffer.C (insertErtContents): fix to insert ert asis if it is
8849 non empty. Skip it completely if it contains only whitespaces.
8851 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8853 * BufferView_pimpl.C:
8854 * BufferView2.C: clear selection on paste (bug 393)
8856 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8858 * DepTable.C: include ctime
8860 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8862 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8864 2002-05-14 Juergen Vigna <jug@sad.it>
8866 * text.C (breakParagraph): fixed function to honor the keepempty
8867 layout in the right maner and also to permit the right breaking
8868 algorithm on empty or non empyt keepempty paragraphs.
8870 * paragraph.C (breakParagraph): we have to check also if the par
8871 is really empty (!size()) for isempty otherwise we do the wrong
8874 2002-05-10 Juergen Vigna <jug@sad.it>
8876 * buffer.[Ch] : The following are only changes to the ert
8877 compatibility read reading old LaTeX layout and font stuff and
8878 convert it to ERTInsets.
8880 * buffer.h: added isErtInset().
8882 * buffer.C (struct ErtComp): add a fromlayout bool to check
8883 if we're inside a LaTeX layout.
8884 (isErtInset): new helper function.
8885 (insertErtContents): look for other ert insets before this one
8886 and insert the contents there, so that we don't have subsequent
8887 ERT insets with nothing between them. This way we create only one
8888 inset with multiple paragraphs. Also check if we don't insert only
8889 spaces ' ' as they are ignored anyway afterwards in the .tex file
8890 so if we have only spaces we will ignore this latex part in the
8892 (parseSingleLyXformat2Token \\layout): better compatibility when
8893 reading layout-latex stuff.
8894 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8896 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8897 stuff after reading the inset only get the information back from
8900 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8902 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8904 * LaTeXFeatures.C (getBabelOptions): New method.
8906 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * BufferView_pimpl.C (Dispatch): work around missing argument for
8911 2002-05-08 Juergen Vigna <jug@sad.it>
8913 * text.C (leftMargin): handle paragraph leftindent.
8915 * paragraph.C (writeFile): write the new \\leftindent tag.
8916 (validate): handle leftindent code.
8917 (TeXEnvironment): handle paragraphleftindent code again.
8919 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8921 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8922 for paragrap_extra indent code and new token \\leftindent.
8923 (latexParagraphs): handle the leftindent as environment.
8925 * ParameterStruct.h: added leftindent support.
8927 * ParagraphParameters.C (leftIndent): added support functions for
8928 the paragraph left indent.
8930 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8933 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8935 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8938 * text.C (computeBidiTables): No bidi in insetERT.
8940 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8943 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8945 * version.C.in: pre 5
8947 2002-05-02 José Matos <jamatos@fep.up.pt>
8948 * buffer.C (makeDocBookFile): white space changes, add newline to
8950 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8952 * tabular.C (docBook): fix typo.
8954 2002-05-03 Juergen Vigna <jug@sad.it>
8956 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8957 change in LyXText as we can not be sure it was not freed.
8958 (drawOneRow): remove unused code.
8960 * text.C (drawInset): redo the calculation of the need_break_row as
8961 it could have a row which was already freed.
8962 (draw): look at the return value of drawInset and return false if
8963 it also returned false.
8964 (paintRowText): look at the return value of draw and return false if
8965 it also returned false.
8967 * lyxtext.h: added bool return type to drawInset() and draw() so that
8968 if we have a change in the row so that the rowbreak has to be redone
8969 we abort drawing as it will be called again.
8971 2002-05-02 Juergen Vigna <jug@sad.it>
8973 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8974 a change in the maintext also if we're inside an inset.
8975 (Dispatch): set the cursor again after a break line and after the
8976 screen has been updated as it could be we're in a different row.
8978 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8979 to set the cursor behind the pargraph with > size().
8980 (setCursor): check also for the same paragraph when checking where
8981 to put the cursor if we have a NFR inset.
8983 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8984 parts of layout read further up as it still was in the wrong
8987 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8989 * screen.C (drawFromTo): change sine fullRebreak always return
8992 * buffer.C (parseSingleLyXformat2Token): reindent some
8994 * BufferView_pimpl.C (update): change since fullRebreak always
8996 (Dispatch): git rid of the last hardcoded "Standard"s.
8998 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9000 * text2.[Ch] (fullRebreak): make it return void now that we always
9003 2002-04-30 Juergen Vigna <jug@sad.it>
9005 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9006 ert compatibility check for "latex" layout.
9008 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9010 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9011 minipages: use col% instead of p%, and also use the current font.
9012 (makeLaTeXFile): Fix use babel condition.
9013 (parseSingleLyXformat2Token): Correct font when reading old floats.
9015 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9017 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9018 inserting list of floats.
9020 2002-04-25 Herbert Voss <voss@lyx.org>
9022 * MenuBackend.C (expand): don't add the graphics extensions to the
9025 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9027 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9028 non-existing layout, do not complain if it was the default layout
9029 of the original class (bug #342)
9031 2002-04-24 Juergen Vigna <jug@sad.it>
9033 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9034 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9036 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9038 * buffer.C (getBibkeyList): If using \bibliography, return the
9039 option field with the reference itself. Enables us to provide natbib
9040 support when using \bibliography.
9042 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9044 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9046 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9047 natbib is provided by the LaTeX class.
9049 2002-04-23 Juergen Vigna <jug@sad.it>
9051 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9054 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9056 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9058 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9060 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9061 ensuremath around textordmasculine, textordfeminine and
9064 2002-04-19 Juergen Vigna <jug@sad.it>
9066 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9067 reinitializing the buffer otherwise row-dimensions may be wrong.
9068 (update): reset also the selection cursors if they do exits otherwise
9069 their x/y positions may be wrong.
9071 * text2.C (cursorDown): don't enter the inset if we came from a row
9072 above and are one row over the inset.
9074 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9075 really leaving an inset.
9077 2002-04-18 Juergen Vigna <jug@sad.it>
9079 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9080 of the selected paragraph does not have the selected layout also if
9083 * text2.C (setLayout): fixed bug which did not change last selected
9086 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9087 changed the read and substituted \\end_float with \\end_inset!
9089 * BufferView_pimpl.C (cursorPrevious):
9090 (cursorNext): fixed to make it work with rows heigher than the work
9091 area without moving the cursor only the draw of the row.
9092 (workAreaMotionNotify): fix jumping over high rows.
9094 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9096 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9099 2002-04-16 Juergen Vigna <jug@sad.it>
9101 * text2.C (setCursor): set also the irow().
9102 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9104 (cursorDown): support for locking an inset if the x_fix value goes
9105 inside it. That way I can transverse insets too with cursor up/down.
9107 * lyxrow.h: added irow helper function same as other (i) functions.
9109 * BufferView_pimpl.C (cursorPrevious):
9110 (cursorNext): fixed for insets!
9112 2002-04-15 Juergen Vigna <jug@sad.it>
9114 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9115 position otherwise it is wrong in some cases.
9117 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9118 inside the inset before the call.
9120 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9122 * buffer.[Ch] (getBibkeyList): make it const.
9124 2002-04-12 Juergen Vigna <jug@sad.it>
9126 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9128 * text2.C (getCursorX): new helper function
9129 (setCursor): compute also ix_
9130 (setCursorFromCoordinates): set also ix.
9132 * lyxcursor.h: added ix_ and helper functions.
9134 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9136 * buffer.C (insertStringAsLines): dont break paragraph if the this
9137 paragraph is inside an inset which does not permit it!
9139 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9140 also with no chars on this paragraph.
9141 (paintRowText): only paint stuff if it's inside the workarea!
9143 * paragraph.C (breakParagraph): honor keepempty flag and break the
9144 paragraph always below not above.
9146 * BufferView2.C (unlockInset): update the paragraph layout on inset
9147 unlock as we changed paragraph in such a case.
9149 * lyxfind.C (LyXFind): clear the former selection if not found!
9151 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9152 again called in insertChar().
9154 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9155 an inset which uses the whole row!
9156 (rightMargin): ditto.
9157 (insertChar): force a rebreak if we inserted an inset!
9159 2002-03-28 Herbert Voss <voss@lyx.org>
9161 * lyxlength.[Ch]: add inBP() to get the right PS-point
9162 units (BigPoint). With inPixels we have rounding errors
9164 2002-04-11 Juergen Vigna <jug@sad.it>
9166 * text2.C (setCursorFromCoordinates): set iy to the right value.
9167 (setCursor): add check if row->previous exists!
9169 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9170 an old float_type as this was the case in the old code!
9172 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9174 * BufferView2.C (showLockedInsetCursor): use iy
9175 (fitLockedInsetCursor): ditto
9177 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9178 locked insets as there we have the right value now.
9180 * lyxcursor.C: added iy_ variable and iy functions to set to the
9181 baseline of cursor-y of the locked inset.
9183 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9184 (setCursor): fixed for insets which need a full row.
9186 * text.C (rowLastPrintable): don't ignore the last space when before
9187 an inset which needs a full row.
9188 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9189 as last character of a row when before a inset which needs a full row.
9191 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9193 * version.C.in: update date
9195 * text2.C (fullRebreak): try to always return true and see what
9198 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9200 * MenuBackend.C (expand): use Floating::listName
9202 * FloatList.C (FloatList): add listName argument to the built-in
9205 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9206 text associated with the float.
9208 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9210 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9212 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9214 * ShareContainer.h: add a couple of missing typenames.
9216 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9218 * lyxrc.C (getDescription): use _() correctly rather than N_().
9220 2002-03-28 Herbert Voss <voss@lyx.org>
9222 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9223 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9225 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9227 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9228 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9230 2002-03-29 Juergen Vigna <jug@sad.it>
9232 * lyxfunc.C (dispatch): add a missing fitCursor call.
9234 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9235 it was scrolled by a cursor move, so return the bool status.
9237 * BufferView.C (fitCursor): return the bool flag also to the outside
9238 world as this is needed.
9240 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9242 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9243 call the edit() as it is not needed (and wrong) IMO.
9244 (workAreaButtonPress): set the screen_first variable before evt.
9245 unlock the inset as this may change screen_first and then we have
9246 a wrong y position for the click!
9248 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9250 * MenuBackend.C (expand): another translation that I missed
9252 2002-03-28 Juergen Vigna <jug@sad.it>
9254 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9256 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9258 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9260 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9262 * MenuBackend.C (expand): fix export/view/update when there is no
9265 2002-03-27 Herbert Voss <voss@lyx.org>
9267 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9270 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9272 * bufferview_funcs.C (currentState): only show paragraph number
9273 for is DEVEL_VERSION is set.
9275 * lyxfunc.C (dispatch): put warning in INFO channel
9277 * MenuBackend.C (expand): translate the name of floats
9279 * FloatList.C (FloatList): mark the float names for translation
9281 * converter.C (convert): use LibScriptSearch
9283 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9285 * MenuBackend.C (defaults): fix default menu (we might as well get
9288 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9293 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9295 * lyxvc.C: reorder includes.
9297 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9299 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9302 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9304 * CutAndPaste.C: change layouts earlier on paste
9305 to avoid crashing when calling getFont()
9307 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9309 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9312 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * WorkArea.C: remove 'Pending' debug message.
9316 * most files: ws cleanup
9318 * buffer.[Ch]: ws changes
9320 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9322 2002-03-21 Juergen Vigna <jug@sad.it>
9324 * tabular.C (SetMultiColumn): collapse also the contents of the
9325 cells and set the last border right. Added a Buffer const * param.
9327 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9332 2002-03-19 Juergen Vigna <jug@sad.it>
9334 * text2.C (clearSelection): reset also xsel_cache.
9336 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9337 where it needs to be called (John tells us to do so too :)
9338 (selectionLost): reset sel_cache.
9340 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9342 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9344 * text2.C (setCursorIntern): put debuging code in INSETS channel
9346 2002-03-19 André Pönitz <poenitz@gmx.net>
9348 * lyxfunc.C: tiny whitespace change
9350 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9352 * ToolbarDefaults.C (init):
9353 * LyXAction.C (init):
9355 * BufferView_pimpl.C (Dispatch):
9356 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9358 2002-03-19 Allan Rae <rae@lyx.org>
9360 * exporter.C (Export): removeAutoInsets before doing anything else.
9361 While I've just introduced a dependency on BufferView this really is
9362 the best place to clean the buffer otherwise you need to cleanup in
9363 a dozen places before calling export or cleanup in a dozen functions
9366 * converter.C (runLaTeX):
9367 (scanLog): Better handling of removeAutoInsets and screen updates.
9369 * lyxfunc.C (dispatch): small whitespace changes
9371 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9373 * WorkArea.C (C_WorkAreaEvent): return a value.
9374 (event_cb): return 1 if we handled the event, 0 otherwise.
9376 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9378 2002-03-18 Juergen Vigna <jug@sad.it>
9380 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9381 (GetAdditionalWidth): ditto.
9385 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9386 inset if we're there actually (probably not used right now but this
9387 is the direction to go for unifying code).
9388 (paste): disable code to clear the selection.
9390 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9391 inside an InsetText and move the check further up as it is in the
9394 * text2.C (pasteSelection): set a selection over the pasted text.
9396 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9398 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9399 and libgraphics to build on Cygwin.
9401 2002-03-15 Juergen Vigna <jug@sad.it>
9403 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9404 inserting an Inset into the paragraph. I know this is not the best
9405 fix but we already use current_view in CutAndPaste so we will remove
9406 all of it's using at the same time.
9408 * buffer.C (sgmlError): deactivated function till it is rewritten in
9409 the right mode, now it can create problems.
9411 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9412 before accessing it.
9414 2002-03-14 Juergen Vigna <jug@sad.it>
9416 * undo_funcs.C (textHandleUndo): do the right thing when updating
9417 the inset after the undo/redo.
9419 * text2.C (setCursor): just some testcode for #44 not ready yet.
9421 * undo_funcs.C (textHandleUndo): set the next() and previous()
9422 pointers of the paragraph to 0 before deleting otherwise we have
9423 problems with the Paragraph::[destructor].
9425 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9426 on a paragraph insertion.
9428 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * buffer.C (asciiParagraph): use += operator for char append to
9433 * paragraph.C (getFontSettings): compare >= not just >
9434 (highestFontInRange): ditto
9437 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9439 * paragraph.C: change several algorithm to be more appripriate for
9440 the problem domain. This is lookip in FontList and in the InsetList.
9442 2002-03-13 André Pönitz <poenitz@gmx.net>
9445 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9447 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9452 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9454 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9456 * Painter.C (display): anon helper function, adjust code for this
9458 (pixmap): remove function.
9460 * Painter.h: remove private display variable.
9462 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9464 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9466 * WorkArea.[Ch]: remove figinset_canvas cruft.
9468 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * lyxtextclass.C (operator): add one item cache optimization.
9472 * bufferlist.h: doxy changes
9474 * bufferlist.C: ws changes
9476 * DepTable.[Ch] (ext_exist): place const in the right spot.
9478 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9480 (workAreaExpose): call resizeInsets when the with BufferView changes.
9481 (Dispatch): adjust for protectedBlank removal
9482 (specialChar): call updateInset if the insert went ok.
9484 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9485 specialChar instead.
9487 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9489 * BufferView.h: doxy change
9491 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9493 * lyxtextclass.C (operator[]): remove non-const version
9494 (defaultLayout): remove non-const version
9496 2002-03-12 Juergen Vigna <jug@sad.it>
9498 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9499 did resize the LyXText too.
9501 * buffer.C (readLyXformat2): set layout information on newly allocated
9504 * tabular.C (OldFormatRead): set layout information on the paragraph.
9506 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9508 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9510 2002-03-11 Juergen Vigna <jug@sad.it>
9512 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9514 (resizeCurrentBuffer): force also the insets to resize themselfes.
9515 (moveCursorUpdate): fixed up for InsetText.
9517 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9520 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9521 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9522 value of Dialogs::tooltipsEnabled().
9523 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9525 2002-03-08 Juergen Vigna <jug@sad.it>
9527 * BufferView_pimpl.C (updateInset): update inset inside inset also
9528 if it isn't inside theLockingInset().
9530 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * buffer.C (asciiParagraph): redo some of the word and line length
9534 (getLists): look for Caption instead of caption.
9536 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9538 * buffer.C (Buffer): initialize niceFile to true
9541 (makeDocBookFile): make sure niceFile is true on exit
9543 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9545 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9547 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9549 * LyXSendto.C: remove.
9550 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9551 * lyx_gui.C: remove now-redundant comment.
9552 * ColorHandler.h: remove forward declaration of class WorkArea.
9553 * lyxfunc.C: remove #include "WorkArea.h".
9555 2002-03-07 Juergen Vigna <jug@sad.it>
9557 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9558 got moved away with the DEPM and also set the inset_owner always
9559 right which before could have been omitted.
9561 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9564 wanted layout is not found.
9566 2002-03-07 Juergen Vigna <jug@sad.it>
9568 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9570 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9572 * paragraph.C (breakParagraph): use default layout not layout of
9574 (Paragraph): clear ParagraphParameters.
9576 2002-03-06 Juergen Vigna <jug@sad.it>
9578 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9579 otherwise it would not be a valid lenght. Fixed a special case in
9580 the minipage compatibility read where we end the document with a
9583 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9584 was set as it could be 0 for InsetTexts first entry.
9586 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9588 * paragraph.C (writeFile): if layout is empty write out
9589 defaultLayoutName().
9591 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9592 file without named layout we set layout to defaultLayoutName().
9594 2002-03-06 Juergen Vigna <jug@sad.it>
9596 * CutAndPaste.C (copySelection): set layout for new paragraph.
9598 * text.C (prepareToPrint): leave ERT inset left aligned
9599 (leftMargin): don't indent paragraphs inside ERT insets
9601 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9603 * paragraph.C (breakParagraph): dont call clear do the work manually
9605 * paragraph.[Ch] (clear): remove function
9607 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9609 * paragraph.C (Paragraph): dont call clear, the work has already
9612 * lyxtextclass.C (operator): assert if n is empty
9614 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9615 work manually instead.
9617 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9619 * BufferView_pimpl.C: protect selectionLost against text == 0
9621 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9623 * text.C (breakParagraph): fix a setting layout to '0' problem.
9625 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9627 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9628 final location of file, for the included files, and graphics.
9630 2002-03-05 Juergen Vigna <jug@sad.it>
9632 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9634 2002-03-04 Juergen Vigna <jug@sad.it>
9636 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9638 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9639 last column of multicolumn cells.
9640 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9642 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9644 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9645 file if it doesn't go to a temporary file.
9647 * buffer.C (sgmlOpenTag):
9648 (sgmlCloseTag): remove extra newline insertion.
9650 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * text.C (getRowNearY): comment out debug msg
9654 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9656 * text2.C: first -> first_y
9658 * text.C (getRowNearY): add some attemts at a possible
9659 optimization, not working.
9661 * tabular.[Ch]: add BufferParams to several function so that newly
9662 created paragraph can be initialized to he default layotu for the
9665 * tabular-old.C (ReadOld): add buf->params to call of Init
9667 * screen.C: rename text->first to text->first_y
9669 * paragraph.C (breakParagraph): always set layout in the broken
9672 * lyxtextclass.C (Read): remove lowercase
9675 (delete_layout): ditto
9677 * lyxtext.h: rename first -> first_y
9679 * lyxlayout.C (Read): remove lowercase
9682 (obsoleted_by): ditto
9684 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9686 * buffer.C (insertErtContents): add params are to InsetERT
9687 (parseSingleLyXformat2Token): add code to check if a paragraphs
9688 layout really exist.
9689 (parseSingleLyXformat2Token): add params to several inset
9691 (asciiParagraph): remove lowercase, do the layout comparisons with
9694 * BufferView_pimpl.C (cursorNext): first -> first_y
9695 (resizeCurrentBuffer): first -> first_y
9696 (updateScrollbar): first -> first_y
9697 (scrollCB): first -> first_y
9698 (workAreaMotionNotify): first -> first_y
9699 (workAreaButtonPress): first -> first_y
9700 (checkInsetHit): first -> first_y
9701 (cursorPrevious): first -> first_y
9702 (cursorNext): first -> first_y
9703 (Dispatch): add buffer_->params to severl inset contructors
9705 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * lyxlayout.C (Read): remove some debug info that I forgot.
9709 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9710 clean up the code slightly.
9711 (makeLinuxDocFile): ditto
9712 (makeDocBookFile): ditto
9714 * text2.C: layout as string
9716 * text.C: layout as string
9718 * paragraph_pimpl.C: layout as string
9720 * paragraph.[Ch]: layout as string
9722 * lyxtextclasslist.[Ch]: layout as string
9724 * lyxtextclass.[Ch]: layout as string
9726 * lyxtext.h: layout as string
9728 * lyxlayout.[Ch]: layout as string
9730 * lyx_cb.C: layout as string
9732 * bufferview_funcs.C: layout as string
9734 * bufferparams.C: layout as string
9736 * buffer.C: layout as string
9738 * LyXView.[Ch]: layout as string
9740 * LaTeXFeatures.[Ch]: layout as string
9742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9744 * BufferView_pimpl.C: change current_layout to string, remove
9749 (workAreaButtonRelease): layout as string
9751 * BufferView2.C (unlockInset): adjust
9753 * vspace.C (asLatexCommand): use an explict temp variable.
9755 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9757 * Makefile.am: use FRONTEND_*
9759 2002-03-01 Juergen Vigna <jug@sad.it>
9761 * tabular.C (SetWidthOfMulticolCell): changed to something better
9762 I hope but still work in progress.
9763 (recalculateMulticolumnsOfColumn): renamed function from
9764 recalculateMulticolCells as it is more appropriate now.
9765 (SetWidthOfCell): calculate multicols better.
9767 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9771 * lyxfunc.C (processKeySym): print sequence also if it is
9772 `deleted' (complete)
9774 * kbsequence.C (print): print sequence even if it is deleted
9775 (complete would be a better word, actually).
9777 * lyxfunc.C (dispatch): print complete options after a prefix key
9779 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9781 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9783 * text2.C (setCharFont): eliminate setCharFont code duplication.
9785 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9788 LFUN_TABULAR_FEATURE (bug #177)
9790 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9792 * Makefile.am: remove figure.h
9794 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9796 * Bufferview_pimpl.C:
9808 * text2.C: remove #include "lyx_gui_misc.h".
9810 * LaTeX.C: added #include <cstdio>
9812 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9814 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9815 that the paragraph following this one can have.
9817 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9819 * vspace.C (asLatexCommand): fix bogus gcc warning
9821 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9823 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9825 * text2.C (setLayout): get rid of redundant code
9827 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9829 * text2.C (incDepth): make sure depth cannot be increased beyond
9832 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9834 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9835 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9837 * PainterBase.h (image):
9838 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9841 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9845 * BufferView_pimpl.C:
9846 * BufferView_pimpl.h:
9866 * sp_spell.C: remove fig inset, and the crap house of
9867 cards that follows it
9869 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9875 * nt_defines.h: move .h into support/
9877 * vms_defines.h: remove
9879 * WorkArea.C: add space in debug output
9883 * buffer.C: add WITH_WARNINGS
9887 * bufferlist.C: s/retrive/retrieve/, add docs
9898 * lyxgui.C: add ID to X error handler
9900 * lyxtestclass.c: fix typo
9902 2002-02-26 Juergen Vigna <jug@sad.it>
9904 * tabular_funcs.C (write_attribute): changed so that some default
9905 attributes are not written at all.
9906 (getTokenValue): set default values before trying to read the
9907 value so we have the return value always set as default if we don't
9908 find the token we search for.
9910 * tabular.C (Write): write bools as bools not as strings!
9912 2002-02-22 Juergen Vigna <jug@sad.it>
9914 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9915 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9917 * text.C (leftMargin): don't add an indent for paragraphs inside
9918 tabular cells (fix #208).
9920 2002-02-21 José Matos <jamatos@fep.up.pt>
9922 * tabular.C (docBook): fixed support for long tables.
9924 2002-02-20 Juergen Vigna <jug@sad.it>
9926 * text2.C (getFont): get the drawing font of the Inset if this
9927 paragraph is inside an inset (only important for InsetERT for now).
9929 * buffer.C (insertErtContents): use new lanugage params in ERT
9932 * CutAndPaste.C: commenting out seemingly uneeded code.
9934 2002-02-19 Allan Rae <rae@lyx.org>
9936 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9937 Iterators might be simple to use but they also get invalidated.
9938 (removeAutoInsets): renamed saved cursor tracking variables and added
9939 some comments to clarify what everything does.
9941 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9948 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9949 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9952 * vc-backend.h: remove #include "support/syscall.h"
9956 * converter.C: rearrange #includes in Lars' approved fashion.
9958 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9959 forward declare class Timeout in the header file.
9961 * XFormsView.C: changes due to the above.
9963 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9966 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9967 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9969 2002-02-18 José Matos <jamatos@fep.up.pt>
9971 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9974 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9976 * a lot of small ws changes
9977 * add a lot of using std::XXX
9978 * use std construcs some places where approp.
9979 * use some exisint stuff from lyxfunctional where approp.
9980 * Make file changes to use partial linking (lets test this now...)
9982 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9986 remove #include "support/syscontr.h" as it's redundant. Always has been.
9994 change Systemcalls::System to Systemcalls::Wait and
9995 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9996 No change of functionality, just reflects the stripped down Systemcalls
9999 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10001 * debug.[Ch]: add a GRAPHICS type to the enum.
10003 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10007 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10010 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10012 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10013 match the changes below.
10015 * text2.C (toggleInset): if there is not editable inset at cursor
10016 position, try to see if cursor is _inside_ a collapsable inset
10019 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10021 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10022 document menu has a nice checkbox
10024 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10026 * lyxlength.C (asLatexString): change PW to output as percent of
10029 * lengthcommon.C: change '%' to 't%'
10031 * lyxfunc.C (dispatch): a few comments from Martin
10033 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10037 * BufferView_pimpl.h:
10038 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10041 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10043 * vspace.C (inPixels): fix compiler warning
10045 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10047 * lyxfunc.C (getStatus): fix status message for disabled commands.
10049 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10051 * BufferView_pimpl.C: fix crash on close buffer
10052 during selection (#227)
10054 2002-01-27 Herbert Voss <voss@lyx.org>
10056 * buffer.C: link old Figure to new graphic inset
10058 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10060 * FontLoader.C (getFontinfo): Change the latex font names in order
10061 to match the names of type1inst.
10063 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10065 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10067 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10068 (extchanged): ditto
10070 (remove_files_with_extension): ditto
10071 (remove_file): ditto
10074 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10075 document is smaller than the work area height. Do not initialize
10076 static variables to 0.
10078 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10080 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10082 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10083 LFUN_LAYOUT_PARAGRAPHS.
10085 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10086 tabular. It is possible to provide a possible cell, which will
10087 typically be the actcell from the corresponding insettabular
10089 * lyxfunc.C (getStatus): small cleanup; disable
10090 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10093 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10097 * paragraph.C (startTeXParParams):
10098 (endTeXParParams): new methods. The LaTeX code to
10099 start/end paragraph formatting
10100 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10101 empty (fixes bug #200)
10103 * vspace.C (inPixels): adapt to the change below
10104 (inPixels): [later] more cleanups (remove unused variables)
10106 * lyxlength.C (inPixels): change to use a width and a height as
10109 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10111 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10112 Replaced with \paperwidth
10114 * DepTable.C (insert): add std:: qualifier
10116 2002-01-18 Allan Rae <rae@lyx.org>
10118 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10121 * text.C (drawInset): Turned out I didn't know enough about how
10122 rebreaking worked. This fixes most of the redraw problems. I see
10123 an occasional cursor trail when a line is broken now and the cursor
10124 placement can seem out by a few pixels also after a rebreak.
10126 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * buffer.C (parseSingleLyXformat2Token): update because minipage
10129 width is now a LyXLength
10131 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10133 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10136 2002-01-17 Juergen Vigna <jug@sad.it>
10138 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10140 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10141 is set correctly and the inset is updated correctly.
10143 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10146 the beginning of the loop.
10148 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10150 * lyxrc.C: improve help for use_scalable_fonts
10152 2002-01-17 Allan Rae <rae@lyx.org>
10154 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10156 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10159 make sure to set their inset_owner to the right value (bug #171)
10161 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10164 * DepTable.C: Implement mtime checking to reduce time spent doing
10167 2002-01-16 Juergen Vigna <jug@sad.it>
10169 * tabular.C (GetAdditionalHeight): one of error fixed.
10171 * lyxrc.C (output): small fix in writing use_pspell.
10173 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10175 * sp_base.h: #include LString.h
10177 2002-01-16 Allan Rae <rae@lyx.org>
10179 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10180 Can someone check this please?
10182 * text.C (drawInset): It was possible that p.row would be removed by
10183 breakAgainOneRow upsetting a few other settings. There may be another
10184 small tweak possible by setting need_break_row = 0 when p.row has been
10185 removed but I don't know enough about the logic here.
10187 2002-01-15 Allan Rae <rae@lyx.org>
10189 * text.C (insertChar): removed conditional truism.
10191 * BufferView2.C (removeAutoInsets): More tweaks.
10192 cur_par_prev could be a stray pointer. Check for trailing empty line
10193 in case last line was cur_par and only had an error inset on it.
10195 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10200 * vc-backend.C (most methods):
10201 * exporter.C (Export):
10202 * converter.C (convert):
10204 * LyXSendto.C (SendtoApplyCB):
10205 * lyxfunc.C (dispatch):
10209 * lyx_cb.C (AutoSave):
10211 * BufferView_pimpl.C (MenuInsertLyXFile):
10212 * buffer.C (runChktex): use Buffer::filePath().
10214 * buffer.h: rename filename to filename_; rename filepath to
10215 filepath_ and make it private
10216 (filePath): new method
10218 * buffer.C (writeFile): use fileName()
10221 * lyx_main.C (init): fix starting of LyX when the binary is a
10222 link from so,ewhere else.
10224 * minibuffer.C: include <cctype> for isprint
10226 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10228 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10229 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10230 name clash with InsetCollapsable's width function.
10232 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * lastfiles.C: include <iterator>
10236 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10238 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10241 * buffer.C (makeLaTeXFile): ditto.
10242 Also make loop operation more transparent.
10244 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10246 * ToolbarDefaults.C: remove trailing comma closing namespace.
10248 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10250 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10253 * trans.C (Load): comment out unused variable, allowed.
10255 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10257 * minibuffer.[Ch] (append_char): new method to recieve input from the
10258 drop-down completion browser. If a key was pressed, then recieve this
10259 char and append it to the existing string.
10260 (peek_event): modify the positioning data passed to the completion
10261 browser so that it can be placed above the minibuffer rather than below.
10262 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * LyXAction.C (init): alloe error-next for readonly documents.
10266 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10269 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * bufferlist.C (readFile): create the buffer _after_ checking that
10274 * lyxfunc.C (verboseDispatch): fix handling of arguments
10276 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10278 * lyxrc.C: use string::erase() instead of initializing to "".
10281 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10283 * BufferView_pimpl.h:
10284 * BufferView_pimpl.C:
10287 * text2.C: tell X when we have made a selection for copying
10289 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * BufferView_pimpl.C (MenuInsertLyXFile):
10292 * lyxfunc.C (menuNew):
10294 (doImport): add shortcuts to directory buttons
10296 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10299 * lyxfunc.C (setStatusMessage):
10300 (getStatusMessage): new methods
10301 (getStatus):use setStatusMessage instead of setErrorMessage
10302 (dispatch): when function is disabled, set error message here
10303 [instead of in getStatus previously]
10305 * BufferView_pimpl.C (workAreaButtonRelease): update
10306 toolbar/menubar here too.
10308 2002-01-13 Allan Rae <rae@lyx.org>
10310 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10311 Now seems indestructible. Remaining task is to audit all other
10312 code affected by deleteEmptyParagraphMechanism. One small quirk
10313 left is that an empty document with an error in the preamble can
10314 be made to report an error but no error box appears. I don't know
10316 (removeAutoInsets): Improved comments.
10318 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10321 * Thesaurus.C: update for Aiksaurus 0.14
10323 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * text2.C (firstParagraph): removed member function, all uses
10326 replaces with ownerParagraph
10327 (redoParagraphs): here
10328 (updateInset): here
10329 (toggleAppendix): here
10330 * BufferView2.C (insertErrors): here
10331 (setCursorFromRow): here
10333 2002-01-13 Allan Rae <rae@lyx.org>
10335 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10336 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10337 There is still a way to segfault this although you may have to do this
10338 multiple times: Have an InsetERT with an unknown command in it.
10339 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10340 <down-arrow>, <Enter> again, View->DVI, BANG!
10342 * text2.C (setCursor):
10343 (deleteEmptyParagraphMechanism):
10344 * lyxtext.h (setCursor):
10345 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10346 Making use of the return value may help fix other bugs.
10348 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10350 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10352 * LyXView.C (updateMenubar): call MenuBar::update here
10353 (updateToolbar): but not here
10354 (showState): do not update toolbar/menubar
10356 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10357 should need to care about that.
10359 * lyxfunc.C (verboseDispatch): simplify a bit
10360 (getStatus): have a version which takes a pseudoaction, and
10361 another which requires a (kb_action,string).
10363 * LyXAction.C (retrieveActionArg): make it work also when action
10364 is not a pseudo-action.
10365 (getActionName): simplify a bit
10368 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * lyxfunc.C (verboseDispatch): new families of methods with
10371 several ways to specify a command and a bool to indicate whether
10372 the command name and shortcut should be displayed in minibuffer
10373 (eventually, we could extend that to a finer bitmask like
10374 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10375 (dispatch): the pristine dispatch command which just, well,
10376 dispatchs! Note it still sets its result to minibuffer; I'm not
10379 * lyxfunc.h: remove setHintMessage
10381 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10383 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * BufferView_pimpl.C (specialChar): delete new inset if we have
10386 not been able to insert it.
10388 * kbmap.C: revert to using int instead of kb_action, since all we
10389 are dealing with is pseudo-actions.
10391 * LyXAction.C (searchActionArg): change to return int instead of
10392 kb_action, since the result is a pseudoaction.
10394 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10396 * buffer.C (insertErtContents): Fix (partially) the font bug.
10398 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10400 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10401 as the other one is broken on my machine!
10403 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10406 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10408 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10410 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10411 reflect their actual use. Provide compatibility code for older lyxrc
10414 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10416 change names of popup font variables in line with the changes to lyxrc.C
10418 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10420 * buffer.C (asciiParagraph): avoid outputing a word twice after
10423 * lyxrc.C (getDescription): document that document_path and
10424 template_path can be empty.
10426 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10428 * LaTeXFeatures.C (getMacros):
10429 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10431 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10433 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10435 (getPackages): rename feature "floats" to "float". Use an array to
10436 iterate over 'simple' features (i.e. just a \usepackage). Add
10437 handling of "amsmath" (renamed from "amsstyle").
10439 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10441 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10444 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10446 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10447 FuncStaus::FuncStatus & FuncStaus::some_method().
10449 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10451 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10452 of the func_satus stuff. Edited and massaged in various ways by
10455 * lyxfunc.C (getStatus): use FuncStatus
10457 2002-01-08 Juergen Vigna <jug@sad.it>
10459 * text.C (nextBreakPoint): use function Inset::isChar().
10461 * paragraph.C (TeXOnePar): use function
10462 Inset::forceDefaultParagraphs.
10464 * buffer.C (latexParagraphs): use function
10465 Inset::forceDefaultParagraphs.
10467 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10469 * lyx_gui.C (init): set the style of the menu popups to
10470 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10472 2002-01-07 Juergen Vigna <jug@sad.it>
10474 * text.C (setHeightOfRow): small fix
10475 (prepareToPrint): don't look at alignment if we don't have the place
10478 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10480 * box.C: New file. Move the Box methods and functions out of box.h,
10481 following Lars' suggestion.
10483 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10485 * box.h: #include "support/LOstream.h", needed for inlined function.
10488 * lyxtextclasslist.C: added some using std declarations.
10490 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10492 * box.h: make signed dimensions to allow insets wider than
10493 the screen (bug #162)
10495 * BufferView_pimpl.C: add some insetHit debug
10497 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10499 * vc-backend.C: add FIXME
10501 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10503 * lyxfunc.C (getStatus): enable code for showing math font status
10506 2002-01-07 Juergen Vigna <jug@sad.it>
10508 * text.C (nextBreakPoint): removed debug output not needed anymore.
10510 2002-01-06 Juergen Vigna <jug@sad.it>
10512 * text.C (nextBreakPoint): fixed up this function we had this bug
10513 since ever but now hopefully we break row better.
10514 (insertChar): we have to check if an inset is the next char as it
10515 could now happen that a large inset is causing a break.
10517 2002-01-05 Juergen Vigna <jug@sad.it>
10519 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10520 if it doesn't like to be drawed.
10522 2002-01-04 Juergen Vigna <jug@sad.it>
10524 * BufferView2.C (lockInset): forgot to set a cursor.
10526 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10528 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10530 * FormMathsPanel.C:
10533 * form_maths_panel.C:
10534 * form_maths_panel.h:
10535 * form_maths_panel.fd: implemented sub- and super- buttons in math
10538 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10539 (or ^ space) to be used as in TeX (req'd by André).
10541 * lyxfunc.C: Allow ^ and _ again to be used both as
10542 super/subscript (mathed) and as themselves (in text).
10544 2002-01-03 Allan Rae <rae@lyx.org>
10546 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10547 "LyX" or the filename of the current buffer if it has one. This is a
10548 modified form of John Levon's patch.
10550 * XFormsView.C (setWindowTitle): also set icon title.
10552 * LyXView.h (setWindowTitle): signature changed.
10553 * XFormsView.h (setWindowTitle): ditto.
10555 2002-01-02 Juergen Vigna <jug@sad.it>
10557 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10559 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10561 * screen.C (topCursorVisible): introduce a temp var for
10562 text->cursor.row(), handle the case where this row is null. (kindo
10565 * text2.C (setCursor): add a couple of asserts.
10567 * paragraph.h (inset_iterator): add -> operator
10569 * paragraph.[Ch] (autoDeleteInsets): remove member function
10571 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10572 cursor pos correctly and handle inset deletion by itself.
10573 (insertErrors): move iterator declaration out of for expression
10575 * lyxtextclass.C: add <algorithm>
10577 * Makefile.am: added the new files to sources, removed layout.C
10579 * layout.C: removed file
10581 * layout.h: remove LYX_DUMMY_LAYOUT
10583 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10587 * lyxtextclass.[Ch]:
10588 * lyxtextclasslist.[Ch]: new files
10590 * include order changes to a lot of files, also changes because of
10593 2001-12-27 Juergen Vigna <jug@sad.it>
10595 * buffer.C (asciiParagraph): more fixes.
10597 * tabular.C (ascii): make ascii export support export of only the
10598 data separated by a column-delimiter.
10599 (ascii): better support for ascii export.
10601 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10603 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * tabular_funcs.C: use a "using std::getline" instead of the
10606 previous fix from Angus (necessary for cxx + lyxstring)
10608 2001-12-24 Juergen Vigna <jug@sad.it>
10610 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10612 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10613 problems. First check a minipage also if we have some ert-contents
10614 (not only on par->size(), second set the right depth of the paragraph
10615 on the relink to the root-paragraph-list!
10617 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10618 which then did not anymore update the main paragraphs on undo/redo!
10620 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10623 code. Support all font-changing funcs (even those which are not in
10624 menu currently). Support for reporting font settings in
10625 mathed (disabled until Andre provides a function on mathed's side).
10627 * func_status.h (toggle): small helper function to set toggle
10630 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10632 * tabular_funcs.C: getline -> std::getline
10634 2001-12-21 Juergen Vigna <jug@sad.it>
10636 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10637 accessed and could be 0 (I couldn't generate this but it seems
10640 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10642 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10643 * tabular_funcs.h: here and include iosfwd
10645 2001-12-20 Juergen Vigna <jug@sad.it>
10647 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10648 inside inset but undo_par was.
10650 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10652 * Thesaurus.C: always include <config.h> in sources.
10656 * box.h: do not include <config.h> in header files
10658 * text.C (paintLastRow): remove unused variable
10660 * text.C (transformChar):
10662 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10664 * Painter.C (text):
10665 * font.C (width): rewrite to use uppercase() instead of
10668 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10670 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10672 * lyxfind.C: clean up of find failure position change
10674 2001-12-20 Juergen Vigna <jug@sad.it>
10676 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10678 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10679 (TeXRow): added to LaTeX a single tabular row.
10680 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10681 (Latex): simplified and finally good LT-h/f support.
10682 (various_functions): just small adaptions for LT-h/f support.
10684 * tabular_funcs.[hC]: added and moved here all not classfunctions
10687 2001-12-19 Juergen Vigna <jug@sad.it>
10689 * tabular.[Ch]: better support for longtabular options (not finished
10692 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10694 * text.C (paintLastRow): use the label font instead of the font of
10695 the last character to compute the size of *_BOX. This makes more
10696 sense and avoids a crash with empty paragraphs.
10697 Use Painter::rectangle to draw EMPTY_BOX.
10699 2001-12-19 Juergen Vigna <jug@sad.it>
10701 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10702 the paragraphs if the replaced paragraph is not the first one!
10703 Tried to delete not used paragraphs but does not work yet so for
10704 now it's inside #ifdef's and by default off!
10706 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10708 * MenuBackend.C: include "lyx_main.h" instead of declaring
10709 lastfiles (actually was declared as LastFiles* instead of a
10712 2001-12-17 Juergen Vigna <jug@sad.it>
10714 * tabular.C (AppendColumn): applied John's fix
10716 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10720 * BufferView_pimpl.h:
10721 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10724 * box.h: new start of class for above
10726 * lyxfunc.C: ignore space-only minibuffer dispatches.
10727 Show the command name when it doesn't exist
10729 * minibuffer.C: don't add empty lines to the history
10731 * minibuffer.C: add a space on dropdown completion
10733 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10735 * text.C: fix line above/below drawing in insets
10737 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10739 * lyxlength.C (LyXLength): Initialize private variables.
10741 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10743 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10744 when inserting error insets.
10746 2001-12-13 Juergen Vigna <jug@sad.it>
10748 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10749 actually sometimes the before-paragraph.
10750 (setUndo): don't clear the redostack if we're not actually undoing!
10752 2001-12-06 Juergen Vigna <jug@sad.it>
10754 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10755 and fixed redoing of main paragraph, so we can use it now ;)
10757 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10759 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10761 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10764 2001-12-13 André Pönitz <poenitz@gmx.net>
10767 * undo_func.C: minor cleanup
10769 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10771 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10772 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10773 font in urw-fonts package which is marked as -urw-fontspecific and
10774 does not work (incidentally, changing the encoding in the
10775 fonts.dir of this package to -adobe-fontspecific fixes the
10778 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10779 is a crash when undoing first paragraph (Juergen, please take a
10780 look). THis does not mean the undo fix is wrong, just that it
10783 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10784 the (Paragraph*) version when needed instead of duplicating the
10787 * text.C (workWidth): use Inset::parOwner to find out where the
10788 inset has been inserted. This is a huge performance gain for large
10789 documents with lots of insets. If Inset::parOwner is not set, fall
10790 back on the brute force method
10792 * paragraph_pimpl.C (insertInset):
10793 * paragraph.C (Paragraph):
10794 (cutIntoMinibuffer): set parOwner of insets when
10795 inserting/removing them
10797 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10799 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10805 * mathed/formulabase.C:
10806 * mathed/math_cursor.[Ch]:
10807 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10810 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10812 * lyxlength.[Ch] (operator!=): new function
10814 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10816 * text.C (workWidth): use Inset::parOwner to find out where the
10817 inset has been inserted. This is a huge performance gain for large
10818 documents with lots of insets. If Inset::parOwner is not set, fall
10819 back on the brute force method
10821 * paragraph_pimpl.C (insertInset):
10822 * paragraph.C (Paragraph):
10823 (cutIntoMinibuffer): set parOwner of insets when
10824 inserting/removing them
10826 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10828 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10830 * tabular-old.C (getTokenValue):
10831 * tabular.C (getTokenValue):
10832 (write_attribute): new versions for LyXLength
10833 (everywhere): adjust the use of widths
10835 * tabular.h: change the type of widths from string to LyXLength
10837 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10839 * paragraph.C: fixed missing line number count when exporting
10840 Environments to LaTeX file
10842 * buffer.C: added informational message for checking line numbers.
10844 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10846 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10847 paragraph, do the 'double space' part, but not the 'empty
10850 * text.C (workWidth): small optimization
10851 (getLengthMarkerHeight): use minimal size for negative lengths.
10853 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10855 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10857 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10859 2001-12-11 André Pönitz <poenitz@gmx.net>
10862 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10864 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10866 * text2.C: keep selection on a setFont()
10868 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10870 * lyx_cb.C: another bv->text misuse, from insert label
10872 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10875 * kbsequence.C: re-instate nmodifier mask
10877 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10879 * lyx_main.h: make lyxGUI private.
10881 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10883 * lyxfind.C: place the cursor correctly on failed search
10885 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10887 * text.C (getLengthMarkerHeight): for small heights, the arrows
10888 are not always on top/bottom of the text
10889 (drawLengthMarker): smaller arrows; take the left margin in
10890 account; draw also vfills.
10892 (paintLastRow): remove special code for vfill and standard spaces,
10893 since everything is handled in drawLengthMarker now.
10895 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10897 * buffer.C (insertErtContents): try to handle font and language
10898 interaction a bit better.g
10900 * ColorHandler.C (updateColor): change the hash to cover the whole
10901 LColor enum, ws cleanup
10902 (getGCLinepars): ditto
10903 (getGCLinepars): only lookup in the linecache once.
10905 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10907 * iterators.C (operator++): Make the iterator more robust
10909 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10911 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10913 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10916 * text.C: better added space drawing
10918 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10921 * BufferView2.C: fix layout combo update on inset unlock
10923 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10925 * Makefile.am: don't compile unused files
10927 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10931 * LyXAction.C: remove old LFUN_LAYOUTNO
10933 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10935 * paragraph_pimpl.h:
10936 * paragraph_pimpl.C: isTextAt() doesn't need font param
10938 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10941 * lyxlex.C: little cleanup
10943 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10945 * BufferView_pimpl.C: fix insertAscii for insets
10947 2001-12-05 Juergen Vigna <jug@sad.it>
10949 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10950 set the right font on the "multi" paragraph paste!
10952 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * lyxlength.C: remove out-commented code.
10960 * BufferView_pimpl:
10974 * vc-backend.C: change "while(" to "while ("
10976 * lyxlength.[Ch]: add zero function to check if length is zero or
10978 * lyxgluelength.C: use it
10980 2001-12-05 Allan Rae <rae@lyx.org>
10982 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10983 Works for 2.95.3, from what I understand of Garst's reports this should
10984 work for other g++ versions. We're screwed if the abs(int) definition
10985 changed between bugfix releases of gcc.
10987 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10989 * text.C: fix chapter label offset !
10991 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10994 * text.C: fix hfill at end of line, clean up
10996 2001-12-04 Juergen Vigna <jug@sad.it>
10998 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10999 that we force an update of the inset and it's owners if neccessary.
11001 2001-12-03 Juergen Vigna <jug@sad.it>
11003 * text.C (rowLast): simplified code
11005 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11007 * lyxfunc.C: fix show options on timeout
11009 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * screen.C (topCursorVisible): scroll half a page when the cursor
11012 reached top of bottom of screen
11014 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11016 * minibuffer.C: deactivate on loss of focus
11018 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * vspace.[Ch] (operator!=): add operator.
11022 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11024 * BufferView_pimpl.C: refuse to open an inset when
11025 there's a selection.
11027 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11029 * BufferView_pimpl.C: allow to click on RHS of full row insets
11031 2001-11-30 Juergen Vigna <jug@sad.it>
11033 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11034 insets for undo reasons.
11036 2001-11-28 André Pönitz <poenitz@gmx.net>
11038 * vspace.[Ch]: cosmetical changes
11040 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11050 * kbsequence.C: part re-write of old kb code
11053 * WorkArea.C: remove Lgb_bug_find_hack
11055 2001-11-30 José Matos <jamatos@fep.up.pt>
11057 * buffer.C (makeDocBookFile): add a comment to point a hack.
11058 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11059 Fixed a double write of labels.
11061 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11064 * LaTeX.h Fixed bug in LaTeX class where it would not
11065 re-run latex if no depfiles were changed, but the .dvi was removed.
11067 2001-11-28 André Pönitz <poenitz@gmx.net>
11069 * all the files from the change on 2001/11/26:
11070 use lyx::layout_type instead of LyXTextClass::size_type
11071 use lyx::textclass_type instead of LyXTextClassList::size_type
11073 2001-11-29 Juergen Vigna <jug@sad.it>
11075 * text.C: added support for paragraph::isFreeSpacing()
11077 * buffer.C: same as above
11079 * paragraph.h: inserted isFreeSpacing() function to enable
11080 FreeSpacing inside InsetERT.
11082 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11083 of the paragraph's in the cut/copy buffer to 0!
11085 * text2.C (removeRow): remove the assert as it can!
11087 * lyxtext.h: added helper function firstRow returning firstrow and
11088 made firstrow private again.
11090 * BufferView2.C (lockInset): don't relock if we're already locked!
11092 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11093 the only paragraph.
11094 (removeRow): added Assert::(firstrow)
11096 * debug.C: forgot to add INSETTEXT here.
11098 2001-11-28 Juergen Vigna <jug@sad.it>
11100 * sp_spell.C (initialize): changed error text to more general
11101 spellchecker command use (not only ispell!)
11103 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11105 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11107 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11109 * vspace.C: initialise lyxgluelength on failure
11111 2001-11-28 Allan Rae <rae@lyx.org>
11113 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11114 declaration & definition that looks like a function declaration.
11116 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * BufferView2.C (copy):
11119 (copyEnvironment): do not clear the selection when doing a copy.
11121 * text.C (paintFirstRow): compilation fix
11123 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11125 * tabular.C (Latex): correct line count when writing latex.
11127 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11129 * paragraph_pimpl.h:
11130 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11133 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11137 * LColor.C: change vfillline->added_space
11139 * text.C: add markers and text for added space
11141 * vspace.C: fix comment
11143 2001-11-28 André Pönitz <poenitz@gmx.net>
11145 * paragraph.C: whitespace changes
11146 * all the other files from the change on 2001/11/26:
11147 change *::pos_type into lyx::pos_type
11149 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11151 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11152 language of the document when inserting error insets.
11154 2001-11-26 André Pönitz <poenitz@gmx.net>
11156 * BufferView_pimpl.[Ch]:
11164 * paragraph_pimpl.[Ch]:
11167 * text2.C: reduce header dependencies, introduce type for positions
11169 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11171 * <various>: change to use Alert.h
11173 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11175 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11176 when encountering an unknown token.
11177 (readLyXformat2): Show an error message if there were unknown tokens.
11179 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11182 * BufferView_pimpl.C:
11186 * text2.C: use par->isInset()
11188 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11190 * paragraph_pimpl.h:
11191 * paragraph_pimpl.C: cleanup
11193 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11195 * text2.C (removeRow):
11196 * text.C (setHeightOfRow): remove useless (and costly) call to
11199 2001-11-20 Allan Rae <rae@lyx.org>
11201 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11202 Now need Inset*::checkInsertChar() to return true for appropriate
11203 cases so that the characters in the minibuffer will actually be
11206 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11208 * text.C: change the order of the includes.
11209 (workWidth): initialize it at once.
11210 (workWidth): make maxw unsigned
11211 (setHeightOfRow): remove unused variable (inset)
11212 (selectSelectedWord): remove unused variable (inset)
11213 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11215 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11217 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11218 server is not running.
11220 (closeConnection): add debug info when server is disabled.
11222 * ColorHandler.C (getGCForeground): send debug message to GUI
11225 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11227 * kbmap.C (bind): modify because return conventions of
11228 kb_sequence::parse have changed.
11230 * kbsequence.C (parse): only ignore spaces and not any stupid
11231 control character. This avoids tests like s[i] <= ' ', which are
11232 guaranteed to fail with 8bit characters and signed chars.
11233 Change return code to string::npos when there have been no error
11234 (0 was a bad idea when error is at first character)
11236 2001-11-14 José Matos <jamatos@fep.up.pt>
11239 * buffer.C (simpleDocBookOnePar): removed unused argument.
11241 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11243 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11244 insets which are part of a word. Paragraph::isLetter takes care of
11245 that now. Use Paragraph::isInset to identify insets.
11246 (selectSelectedWord): do not test for hyphenation break.
11248 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11249 that protected spaces are considered as spaces.
11251 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11254 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11257 * lyxserver.C: fix it. and small cleanup.
11259 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11261 * BufferView_pimpl.C: use inline helpers
11264 * LaTeXFeatures.C: fix typos
11267 * Spacing.C: move spacing_string into class
11269 * ToolbarDefaults.C: move stuff into namespace anon
11271 * layout.h: update enum
11273 * lyxfunc.C: use better debug
11275 * minibuffer.h: fix typo
11279 * WorkArea.C: add and use Debug::WORKAREA
11283 * text2.C: code re-organisation, inline helpers
11285 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11287 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11288 std::vector.empty().
11290 2001-11-09 Allan Rae <rae@lyx.org>
11292 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11293 '\n's after tables. Tabular and ERT inset work now makes this no
11296 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11299 * minibuffer.C: fix crash, improve drop-down completion
11301 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11304 * lyxserver.C: invalidate fd's when doing endPipe()
11306 2001-11-08 José Matos <jamatos@fep.up.pt>
11308 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11309 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11312 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11314 2001-11-07 José Matos <jamatos@fep.up.pt>
11317 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11320 * buffer.C (sgmlOpenTag):
11321 * buffer.C (sgmlCloseTag): removed debug info.
11323 * buffer.h (sgmlOpenTag):
11324 * buffer.h (sgmlCloseTag): made public.
11326 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11328 * buffer.C (saveParamsAsDefaults):
11329 * lyx_cb.C (MenuLayoutSave): remove
11331 * LyXAction.C (init):
11333 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11335 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11337 * buffer.C (setPaperStuff): removed from here...
11339 * bufferparams.C (setPaperStuff): ... and moved there.
11341 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11345 * XFormsView.C: add support for drop-down completion
11347 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11349 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11352 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11354 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11357 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11359 * lyx_main.C: change ref to known bugs
11361 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11363 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11364 to work around older babel problems.
11366 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11368 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11370 2001-10-24 Juergen Vigna <jug@sad.it>
11372 * tabular-old.C (ReadOld): below variable changes reflected.
11374 * tabular.[Ch]: added ltType struct for longtable header/footer
11375 defines and changed all instances where they are used. Added
11376 future support for double top/bottom rows.
11378 2001-10-24 José Matos <jamatos@fep.up.pt>
11380 * buffer.h (docbookHandleCaption):
11381 * buffer.C (docbookHandleCaption): removed unused function.
11382 (makeDocBookFile): moved docbook supported version to v4.1.
11384 2001-10-24 José Matos <jamatos@fep.up.pt>
11387 * tabular.C (docbookRow): new function to export docbook code of a row.
11388 (DocBook): now honors the longtable flags.
11390 2001-10-23 José Matos <jamatos@fep.up.pt>
11393 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11394 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11396 * buffer.C (makeLinuxDocFile):
11397 (makeDocBookFile): reworked the preamble, more clean, and with
11398 support for lyx defined entities. Changed the document declaration
11399 to be more XML friendly.
11401 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11402 if we need to output XML that should be done with a filter.
11404 2001-10-22 Juergen Vigna <jug@sad.it>
11406 * sp_pspell.h (class PSpell): add alive function needed in the
11407 controller to see if the spellchecker could be started.
11409 2001-10-22 Juergen Vigna <jug@sad.it>
11411 * buffer.C (insertStringAsLines): modify the font for inserting
11412 chars in certain conditions by calling checkInsertChar(font).
11414 2001-10-19 Juergen Vigna <jug@sad.it>
11416 * text.C (workWidth): use getRow instead of wrong algorithm.
11417 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11419 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11424 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11426 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11428 * text.C (workWidth): do not search for the exact row when
11429 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11430 optimization for big documents.
11432 2001-10-18 Juergen Vigna <jug@sad.it>
11434 * text.C (workWidth): new function with added Inset * parameter.
11436 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11438 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11440 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11441 change return type of getColumnNearX.
11444 * text.C (changeRegionCase): use uppercase/lowercase instead of
11447 (rightMargin): simplify code by factoring out the uses of
11452 (appendParagraph): use Paragraph::size_type
11454 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11456 * vspace.C (asLatexString): add a missing break
11458 2001-10-15 Herbert Voss <voss@perce.de>
11460 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11462 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11464 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11467 2001-10-10 André Pönitz <poenitz@gmx.net>
11469 * lyxfunc.C: removed greek_kb_flag.
11471 2001-10-10 Herbert Voss <voss@perce.de>
11473 * lyx_main.C: delete global string help_lyxdir.
11475 2001-10-09 Herbert Voss <voss@perce.de>
11477 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11479 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11481 * lyx_main.C: added global string help_lyxdir.
11483 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11485 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11487 * lyxrc.C (set_font_norm_type): support iso8859-4
11489 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11491 * LaTeX.C (deplog): add another regex for MikTeX
11493 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11495 * lyxrc.C (set_font_norm_type): support iso8859-3
11497 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11499 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11501 * LaTeXFeatures.C: remove special case of french and index
11503 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11504 before \begin{document}). This solves several incompatibilities.
11506 2001-10-03 Garst Reese <reese@isn.net>
11508 * lyx_cb.C: change CheckTex error msg.
11510 2001-10-03 José Matos <jamatos@fep.up.pt>
11512 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11514 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11516 * .cvsignore: update
11518 * lyx_main.C (commandLineVersionInfo): use new style version info.
11520 * buffer.C (writeFile):
11522 (makeLinuxDocFile):
11523 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11525 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11527 * version.h: update to use stuff in version.C
11529 * version.C.in: new file. Contains version information determined
11530 at compile time. This is a merging of version.h and
11533 2001-10-03 Juergen Vigna <jug@sad.it>
11535 * BufferView_pimpl.C (update): don't change "dirty" status in
11538 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11540 * WorkArea.C (c-tor): re-position version string slightly.
11542 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11544 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11545 revert to previous code.
11547 WorkArea.[Ch]: (show, destroySplash): methods removed.
11549 WorkArea.C: rework code so that it's an amalgam of the codes before and
11550 after the splash screen was moved to WorkArea.
11552 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11555 * vspace.C (inPixels):
11558 * buffer.C (insertStringAsLines):
11559 (asciiParagraph): fix types to be large enough
11561 * lyxlex_pimpl.h: change member status from short to int
11563 * layout.h: fix type of endlabeltype
11566 * kbsequence.C (parse): change return type to string::size_type
11568 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11571 * Bullet.C (bulletSize):
11572 (bulletEntry): do not use short ints as parameters
11574 * BufferView2.C (insertLyXFile): change a char to an int.
11576 * WorkArea.C (WorkArea): remove unneeded floats in computation
11578 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11580 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11582 * paragraph.C (asString): Do not ignore newline/hfill chars when
11583 copying to the clipboard.
11585 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11587 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11588 after a multi-line inset.
11590 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11592 * paragraph.C (validate): Set NeedLyXFootnoteCode
11594 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11596 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11597 and decrease-error to decrease.
11599 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11601 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11602 it more readable (should be equivalent)
11604 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11606 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11608 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11610 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11611 of a cursor (row, etc.) after a character has been deleted
11612 (deleteEmptyParagraphMechanism): call the method above on _all_
11613 cursors held by the LyXText when a double space has been
11616 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11618 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11620 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11622 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11623 background. Use greyOut() and the new show() methods to toggle between
11624 the foreground and background. Add code to remove the splash after
11625 its initial showing.
11627 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11628 (create_forms): no longer call Dialogs::showSplash.
11630 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11632 * .cvsignore: add version_info.h
11634 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11636 * version_info.h.in: new file
11638 * Makefile.am: add version_info.h.in
11640 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11641 version_info.h instead of VERSION_INFO
11643 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11645 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11646 The ERT inset now returns string().
11648 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11650 * lyxtext.h, text.C (selectNextWord): renamed as
11651 selectNextWordToSpellcheck.
11653 * text.C (selectNextWordToSpellcheck): Modified to not select
11654 words inside an ERT inset.
11656 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11658 * lyx_cb.C (MenuLayoutSave): change a bit the question
11660 * sp_base.h: include <sys/types.h>
11662 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11664 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11666 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11668 * several files: fix typos in user-visible strings
11670 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11672 * text2.C (pasteSelection): do not set the selection, since it
11673 will be cleared later. Actually, the intent was to fix the way the
11674 selection was set, but I figured rmoving the code was just as good.
11676 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11678 * FontLoader.C (available): Check if font is available without
11681 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11683 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11685 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11687 * lyxrc.[Ch]: added display_graphics variable and associated code.
11689 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11691 * bufferparams.C (hasClassDefaults): new method. Returns true if
11692 the buffer parameters correspond to known class defaults
11694 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11696 * XFormsView.C (show): set minimum size to the main window.
11698 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11700 * text2.C (copySelection):
11702 * lyxfind.C (LyXReplace):
11703 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11704 LyXText::selectionAsString.
11706 * paragraph.C (asString): add "label" argument to the second form
11708 * text2.C (selectionAsString): add "label" argument and pass it to
11709 Paragraph::asString.
11711 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11713 * lyx_main.C (commandLineHelp): remove version information
11715 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11717 * lyx_main.C: add -version commandline option
11719 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11721 * paragraph.h: make the optional constructor arg required instead.
11722 some modifications to other files because of this.
11724 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11726 * lyxserver.C (C_LyXComm_callback): make it static
11728 * lyx_main.C (error_handler): make it static
11730 * lyx_gui.C (LyX_XErrHandler): make it static
11732 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11734 * WorkArea.C: make the extern "C" methods static.
11736 * Makefile.am (lyx_LDADD): simplify
11738 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11740 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11741 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11743 * LyXAction.C (init):
11744 * lyxfunc.C (dispatch): associated code removal.
11746 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11748 * lyxfont.h (isSymbolFont): shut off warning
11750 * text.C (setHeightOfRow):
11751 (getVisibleRow): fix crash with empty paragraphs which have a
11754 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11756 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11759 2001-09-04 José Matos <jamatos@fep.up.pt>
11762 * tabular.C (docbook): rename docBook method to docbook.
11764 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11766 * Makefile.am: add dependencies to main.o.
11768 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11770 * FontLoader.C (available): Return false if !lyxrc.use_gui
11772 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11774 * FontInfo.C (query):
11775 * converter.C (view):
11776 * importer.C (Import):
11777 * exporter.C (Export): Can not -> cannot.
11779 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11781 * BufferView_pimpl.C: allow to create index inset even if
11784 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11786 * buffer.C (getLists): replace boost::tie code with an explicit pair
11787 as boost::tie can break some compilers.
11789 * iterators.h: Added a std:: declaration to the return type of
11792 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11794 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11797 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11799 * iterators.[Ch]: New files. Provide paragraph iterators.
11801 * buffer.C (changeLanguage): Use paragraph iterators.
11802 (isMultiLingual): ditto
11804 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11806 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11808 * FontLoader.C: Support for cmr font.
11810 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11812 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11813 (available): New method.
11815 * FontInfo.C (getFontname): Use scalable fonts even when
11816 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11819 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11821 * converter.C (Formats::view): reverted! Incorrect fix.
11823 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11825 * converter.C (Formats::view): only output the -paper option
11826 if the dvi viewer is xdvi, thereby fixing bug #233429.
11828 2001-08-23 Herbert Voss <voss@perce>
11830 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11832 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11834 * Spacing.h (Spacing): Set space to Default on in the default
11837 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11839 * vc-backend.h (RCS::versionString): add RCS to version
11840 (CVS::versionString): add CVS to version
11842 * vc-backend.C (scanMaster): do not add CVS to version.
11843 (scanMaster): do not add RCS to version
11845 * lyxvc.C (versionString): new method
11847 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11849 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * Spacing.C (set): initialize fval
11853 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11855 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11858 2001-08-16 Juergen Vigna <jug@sad.it>
11860 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11862 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11864 * BufferView_pimpl.C:
11867 * text2.C: setParagraph takes linespacing now
11869 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11871 * LyxAction.C: add internal LFUN_CITATION_INSERT
11873 * LyXView.C: actually apply fix
11875 * bufferlist.C: fix open non-existent file
11877 * lyxfind.C: fix indentation
11879 * lyxfunc.C: remove unneeded assert, fix typo
11881 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11883 * MenuBackend.C: use "Floatname List"
11885 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11887 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11888 when converting LaTeX layout to insetERT.
11889 Generate a non-collapsed float when reading old float
11891 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11893 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11896 2001-08-13 Juergen Vigna <jug@sad.it>
11898 * text.C (fill): return 0 instead of 20 as this seems to be the more
11901 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11903 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11906 2001-08-13 Juergen Vigna <jug@sad.it>
11908 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11910 (SearchBackward): comment out the unlocking of the inset_owner this
11911 should not be needed!
11913 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11915 * Many files: Remove inherit_language, and add latex_language
11917 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11918 collapsible insets.
11920 2001-08-10 Juergen Vigna <jug@sad.it>
11922 * text.C (prepareToPrint): fixed hfill-width in draw!
11924 * BufferView2.C (selectLastWord): save the selection cursor as this
11925 now is cleared in the function LyXText::clearSelection!
11927 2001-08-08 Juergen Vigna <jug@sad.it>
11929 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11930 BACKSPACE type functions.
11932 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11933 is only cutted from the document but not put in the cut-buffer, where
11934 still the old stuff should be.
11936 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11938 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11940 * tabular.C (SetWidthOfCell): fixed special case where the width
11942 (LeftLine): handle '|' in align_special.
11944 (LeftAlreadyDrawed): ditto
11945 (SetWidthOfCell): ditto
11947 2001-08-07 Juergen Vigna <jug@sad.it>
11949 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11951 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11953 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11954 * lyxlex.[hC]: ditto
11956 2001-08-06 Juergen Vigna <jug@sad.it>
11958 * text.C (getVisibleRow): fix up row clearing a bit.
11960 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11962 * minibuffer.C: make sure the X server sees the changes in the input.
11964 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * paragraph.C (getFont): split into...
11967 (getLabelFont): this
11968 (getLayoutFont): and this
11969 * paragraph_pimpl.C (realizeFont): calling this
11971 * text2.C (getFont): split into...
11972 (getLayoutFont): this
11973 (getLabelFont): and this
11974 (realizeFont): all three calling this
11976 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11979 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11981 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11983 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11985 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11986 layouts from the Quote inset insertion.
11988 2001-08-03 Juergen Vigna <jug@sad.it>
11990 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11992 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11993 only if status not is already CHANGED_IN_DRAW (second level).
11995 * text.C (draw): don't set the need_break_row when inside an
11998 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12000 * buffer.C (parseSingleLyXformat2Token): handle more latex
12003 * bufferview_funcs.[hC]: change function names to
12004 begin with small char, adjust other files.
12006 2001-08-02 André Pönitz <poenitz@gmx.net>
12009 BufferView_pimpl.C: remove broken special code for math-greek
12011 2001-08-02 Juergen Vigna <jug@sad.it>
12013 * BufferView_pimpl.C (update): redone this function so that we
12014 update the text again if there was a CHANGE_IN_DRAW.
12016 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12017 (drawFromTo): added a new internal bool which is used by draw() and
12019 (general): some cursor drawing problems fixed.
12021 2001-08-01 Juergen Vigna <jug@sad.it>
12023 * lyxfind.C (LyXFind): fixed
12024 (SearchForward): ditto
12025 (SearchBackward): ditto
12027 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12028 spurius drawing of the cursor in the main area.
12030 * text2.C (status): small fix which could lead to a segfault!
12031 (clearSelection): remove unneeded BufferView param.
12033 2001-08-01 André Pönitz <poenitz@gmx.net>
12035 * lyxfunc.C: small change due to changed mathed interface
12037 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12039 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12041 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12043 * lyxfunc.c: fail gracefully if file doesn't exist
12048 * BufferView_pimpl.C: IsDirWriteable() proto changed
12050 * LyXView.C: fix updateWindowTitle() to store the last title
12052 2001-07-31 Juergen Vigna <jug@sad.it>
12054 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12055 the font (wrong since using of Paragraph::highestFontInRange).
12057 * paragraph.C (highestFontInRange): added a default_size parameter.
12059 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12060 (setHeightOfRow): reformat
12062 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * converter.[hC] + affected files: move to (inital-char)lowercase
12067 * ParagraphParameters.C (ParagraphParameters): remove commented code
12069 * PainterBase.[Ch]: remove commented code
12071 * LaTeXFeatures.h: add "bool floats" for float.sty
12073 * LaTeXFeatures.C (LaTeXFeatures): init floats
12074 (require): handle float
12075 (getPackages): do it with floats
12077 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12079 * BufferView_pimpl.C (Dispatch): improve handling of
12080 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12082 * commandtags.h: #include lyxfont.h here temporarily to avoid
12085 * bufferlist.h: include LString.h here.
12087 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * text2.C (getStringToIndex): new method.
12091 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12093 * *: Reduced header file dependencies all over.
12095 2001-07-30 Baruch Even <baruch@lyx.org>
12097 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12099 2001-07-29 Baruch Even <baruch@lyx.org>
12101 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12103 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * ParameterStruct.h (endif): add a default constructor to make
12106 sure that all variables is initialized.
12108 * ParagraphParameters.C (ParagraphParameters): adjust
12110 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12112 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12113 index; also, check that there is something to index, and that it
12114 does not span over several paragraphs.
12115 (doubleClick): use WHOLE_WORD_STRICT for double click.
12117 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12119 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12122 2001-07-26 Baruch Even <baruch@lyx.org>
12124 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12125 an InsetFig figure, backwards compatible reading of old figure code.
12127 2001-07-27 Juergen Vigna <jug@sad.it>
12129 * text2.C: font.realize function adaption.
12131 * text.C (draw): add a warnings lyxerr text if needed.
12133 * layout.C: font.realize function adaption.
12135 * language.C: add inherit_language and implement it's handlings
12137 * bufferview_funcs.C (StyleReset): remove language parameter from
12138 font creation (should be language_inherit now).
12140 * bufferparams.C (writeFile): handle ignore_language.
12142 * paragraph.C (getFontSettings): the language has to be resolved
12143 otherwise we have problems in LyXFont!
12145 * lyxfont.C (lyxWriteChanges): added document_language parameter
12146 (update): removed unneeded language parameter
12148 * paragraph.C (validate): fixed wrong output of color-package when
12149 using interface colors for certain fonts in certain environments,
12150 which should not seen as that on the final output.
12152 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12154 * BufferView_pimpl.C:
12159 * LyXAction.C: add thesaurus support
12162 * lyxfind.C: add "once" parameter, for thesaurus, to not
12163 move to the next match
12165 2001-07-26 Juergen Vigna <jug@sad.it>
12167 * lyxfont.C (realize): honor ignore_language too!
12170 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12172 * text.C (draw): one place more for ignore_language to not draw
12175 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12177 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12179 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12181 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12182 the minipage conversion problem.
12184 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12189 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * BufferView.h: don't forward declare WorkArea
12193 * BufferView.C: don't include WorkArea.h
12195 2001-07-25 André Pönitz <poenitz@gmx.net>
12199 * lyxfunc.C: new LFUN 'math-space'
12201 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12203 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * text2.C (toggleInset): call open/close
12207 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12209 * lyxfunc.C (dispatch): add debug for the disabled case
12211 * font.C (buttonText): make similar to rectText
12213 * buffer.C (readInset): comment out parsing of insetlist and
12216 * PainterBase.C (rectText): small correction
12218 * BufferView_pimpl.C: comment out insettheorem and insetlist
12219 * LyXAction.C: ditto
12220 * commandtags.h: ditto
12222 2001-07-24 Juergen Vigna <jug@sad.it>
12224 * text.C (draw): honor the ignore_language.
12226 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12228 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12233 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12235 * lyxtext.h: remove unused (and unimplemented) methods
12237 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12239 * text.C (getVisibleRow): honor background color
12242 * Painter.h: remove default color argument for fillRectangle
12244 * text.C (backgroundColor): new method
12246 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12248 * text.C (getVisibleRow): adjust
12250 * font.[Ch] (rectText): new method, metrics
12251 (buttonText): new method, metrics
12253 * PainterBase.[hC]: make rectText and buttonText always draw and take
12256 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12258 * ToolbarDefaults.C (read):
12259 * MenuBackend.C (read): allow escaping in all strings
12261 * BufferView_pimpl.C (insertAndEditInset): new method.
12262 (Dispatch): use insertAndEditInset whenever appropriate.
12264 * BufferView_pimpl.C (insertNote): removed
12266 * BufferView_pimpl.C (smartQuote): new method, moved from
12267 BufferView; if an insetquote cannot be inserted, insert a '"'
12270 * BufferView2.C: remove insertCorrectQuote();
12272 * lyxfunc.C (getStatus): Add support for all remaingin
12273 inset-insert lfuns.
12275 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12277 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12278 command (necessary to pass " as parameter of self-insert.
12280 * text.C (selectWordWhenUnderCursor):
12281 (selectWord): add word_location parameter
12282 (selectWordWhenUnderCursor): same + remove special code for word
12284 (selectNextWord): use kind() to guess type of insetspecialchar,
12287 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12288 (insertErtContents): create ert insets as collapsed.
12289 (readInset): better compatibility code for Info inset.
12291 2001-07-20 Juergen Vigna <jug@sad.it>
12293 * lyxfunc.C (dispatch): use always LyXFind now!
12295 * text2.C (init): add a reinit flag so that the LyXText can be
12296 reinited instead of deleted and reallocated (used in InsetText).
12298 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12304 2001-07-18 Juergen Vigna <jug@sad.it>
12306 * text.C (selectNextWord): handle insets inside inset by calling
12307 always the bv->text functions so that we can go up the_locking_inset!
12309 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12310 in strange locations when inside an inset!
12312 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12313 handling to include insets.
12315 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12317 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12319 * LyXAction.C (init):
12321 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12322 LIGATURE_BREAK, since the name is so stupid.
12324 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12326 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12329 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12331 * sp_form.[Ch]: remove.
12333 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12335 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12338 * src/buffer.C (readInset): ditto.
12340 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12342 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12343 menuSeparator(), endOfSentenceDot(), ldots() and
12344 hyphenationPoint(), which are therefore removed.
12345 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12347 * LyXAction.C (init):
12348 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12350 * paragraph.C (getWord): removed.
12352 * BufferView_pimpl.C (Dispatch): use last word or selection for
12353 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12355 * lyx_main.C (queryUserLyXDir): do not ask before creating
12356 user_dir, except if it has been named explicitely.
12358 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12360 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12361 a document of zero size.
12363 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12365 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12366 approriately in the c-tor and in require().
12367 (getPackages): output the appropriate LaTeX for natbib support.
12369 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12370 variables "use_natbib" and "use_numerical_citations" when reading the
12372 (readInset): read the various natbib cite commands.
12373 (validate): white-space change.
12375 * bufferparams.[Ch]: new variables "bool use_natbib" and
12376 "bool use_numerical_citations".
12377 (writeFile): output them in the LyX file.
12379 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12381 * lyxfunc.C (getStatus): add support for all the inset insertion
12384 * text2.C (insertInset):
12385 * paragraph.C (insetAllowed):
12386 * BufferView_pimpl.C (insertInset): update to take in account the
12387 renaming of insertInsetAllowed
12389 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12391 * text2.C (getInset): new method. returns inset at cursor position.
12393 * BufferView_pimpl.C (Dispatch): changes because of this.
12395 * LyXAction.C (init): rename open-stuff to inset-toggle.
12397 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12399 * text2.C (toggleInset): renamed from openStuff; use
12402 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12404 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12406 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12408 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12410 * buffer.C (readLyXformat2): Add filename to the error dialog
12412 2001-07-18 Juergen Vigna <jug@sad.it>
12414 * tabular.C (GetCellNumber): put an assert here instead of the check!
12416 2001-07-17 Juergen Vigna <jug@sad.it>
12418 * BufferView_pimpl.C (toggleSelection): adapted too.
12420 * text.C (selectNextWord): adapted for use with insets.
12421 (selectSelectedWord): ditto
12423 2001-07-17 Juergen Vigna <jug@sad.it>
12425 * sp_spell.C (PSpell): fix initialitation order.
12427 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * paragraph.C: spacing
12431 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12433 * sp_spell.C: repair language selection for pspell
12435 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * lyxfunc.h: change more methods to begin with lower char.
12439 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12441 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12442 for unknown layouts.
12444 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12446 * buffer.C (readLyXformat2): Generate an error dialog if there are
12449 2001-07-16 Juergen Vigna <jug@sad.it>
12451 * sp_spell.C: always compile ISpell part.
12453 * lyxrc.C: added use_pspell entry and it's handling.
12455 2001-07-13 Juergen Vigna <jug@sad.it>
12457 * sp_spell.C: removed double includes.
12459 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12461 Consistent use of Lsstream.h:
12462 * Lsstream.h: added using std::stringstream for consistencies sake.
12464 * buffer.C: removed using std::stringstream
12466 * lyxfont.C (stateText):
12467 * paragraph.C (asString):
12468 * text.C (selectNextWord, selectSelectedWord):
12469 * text2.C (setCounter):
12470 * vspace.C (asString, asLatexString):
12471 std::ostringstream -> ostringstream.
12473 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12475 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12476 * commandtags.h: add LFUN_HELP_ABOUTLYX
12477 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12479 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12481 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12483 * lyx_gui_misc.C: remove spellchecker
12484 * lyxfunc.C: showSpellchecker
12486 * sp_ispell.h: added
12487 * sp_pspell.h: added
12488 * sp_spell.C: added
12489 * sp_form.[Ch]: removed
12490 * spellchecker.[Ch]: removed
12492 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12494 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12496 (simpleTeXSpecialChars): Simply print the input character without
12497 any special translation if pass_thru is set.
12499 * layout.h: Added bool pass_thru to layout class for being able to
12500 implement pass through of a paragraph for Literate Programming.
12502 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12503 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12504 * layout.C (Read): add "passthru" to list of layout tags and add
12505 code to set the pass_thru boolean when it is read.
12507 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * trans_decl.h: remove allowed from KmodInfo
12511 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12512 remove allowed code
12515 * paragraph_pimpl.C (erase): use boost::prior
12517 * Painter.C (text): use data() instead of c_str() when length is
12519 * WorkArea.C (putClipboard): ditto
12520 * font.h (width): ditto
12522 * BufferView2.C: use it-> instead of (*it). for iterators
12524 * paragraph_pimpl.C: ditto
12525 * paragraph.C: ditto
12526 * minibuffer.C: ditto
12527 * language.C: ditto
12529 * encoding.C: ditto
12530 * counters.C: ditto
12531 * converter.C: ditto
12533 * Variables.C: ditto
12534 * TextCache.C: ditto
12535 * MenuBackend.C: ditto
12536 * LyXAction.C: ditto
12538 * FloatList.C: ditto
12539 * DepTable.C: ditto
12540 * ColorHandler.C (LyXColorHandler): ditto
12542 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12544 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12546 * text2.C (openStuff): reintroduce this method (which had been
12547 nuked in NEW_INSETS frenzy).
12549 * lyxfunc.C (Dispatch): when an action has not been handled, use
12550 its name in the error message, not its number.
12552 * paragraph.C (inInset): change method name to begin with lowercase.
12555 * text2.C: updates because of this.
12557 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12559 * ToolbarDefaults.C (add): add spaces in error message
12561 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12564 (readLyXformat2): rename return_par to first_par, use lyxlex's
12565 pushToken and remove the manual push handling.
12566 (parseSingleLyXformat2Token): add another ert comp. variable:
12567 in_tabular, rename return_par to first_par. handle newlines better
12569 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12571 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12573 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12575 * text2.C (getParFromID): removed
12577 * buffer.C (getParFromID): new method moved form lyxtext.
12578 * BufferView2.C (insertErrors): adjust
12579 (setCursorFromRow): adjust
12580 * BufferView_pimpl.C (restorePosition): adjust
12581 * lyxfunc.C (Dispatch): adjust
12582 * undo_funcs.C (textUndo): adjust
12584 (textHandleUndo): adjust
12585 (textHandleUndo): adjust
12587 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12589 * buffer.C: up' the LYX_FORMAT
12591 * lyxfont.h: turn NO_LATEX on as default
12593 * buffer.C (insertErtContents): new methods of tex style compability.
12594 (parseSingleLyXformat2Token): use it several places.
12595 * tabular.C (OldFormatRead): and here
12597 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12599 * text2.C: remove some commented code.
12602 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12603 * trans.C: changes because of the above.
12605 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12607 * text2.C (setCounter): Fix counters bug with bibliography layout.
12609 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12612 own member functions
12613 (simpleTeXSpecialChars): ditto
12615 2001-07-06 Juergen Vigna <jug@sad.it>
12617 * a lot of files: changed the access to LyXText::status and the
12618 call of undo-functions.
12620 * undo.[Ch]: added a inset_id to the undo informations.
12622 * undo_funcs.[Ch]: added and moved here all undo functions.
12624 * lyxtext.h: give the status enum a weight, made status_ a private
12625 variable and made accessor functions for it, removed the whole bunch
12626 of undo-functions as they are now in their own file, make some
12627 functions publically available. Added function ownerParagraph with
12630 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12631 made InInset() a const function, added getParFromID() function.
12633 * buffer.[Ch]: added const version for inset_iterator functions,
12634 added getInsetFromID() function.
12636 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12637 changed undo functions for new version.
12639 2001-07-05 Juergen Vigna <jug@sad.it>
12641 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12642 unknow mechanism does not call the proper constructor but only this
12643 one also if I request the other!?
12645 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12649 * text2.C (LyXText): use initialization lists.
12651 * lyxtext.h (Selection): initialize set_ and mark_
12652 (init): remove method
12654 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12656 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12658 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12660 * screen.[Ch]: change method names to begin with lowercase
12662 * BufferView_pimpl.C (updateScrollbar): simplify further and
12663 hopefully make it a bit faster.
12665 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12667 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12668 calling directly xforms functions.
12670 * Painter.C (Painter):
12671 * lyx_cb.C (MenuWrite):
12672 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12675 * lyx_gui.C: remove bogus guiruntime extern declaration.
12677 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12681 (redoDrawingOfParagraph): ditto
12682 (redoParagraphs): ditto
12683 (cutSelection): don't create a object for CutAndPaste use the
12684 static method directly
12685 (pasteSelection): ditto
12687 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12690 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12692 * modifications to some other files because of this.
12694 * Makefile.am (lyx_SOURCES): add XFormsView
12696 * XFormsView.[Ch]: new files
12698 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12699 the main window. Move the gui dependent stuff to XFormsView
12701 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * tabular.C (GetCellInset): update cur_cell also in the row/col
12704 version of this function.
12706 * lyxfunc.C: no need to include figure_form.h here.
12712 * lyxvc.C: no need to include forms.h here.
12714 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12716 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12718 * lyxfunc.C (Dispatch):
12720 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12721 constructor argument.
12723 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * paragraph.C (Paragraph): dont't clear, and just set layout.
12726 (makeSameLayout): use params's copy contructor.
12728 * ParagraphParameters.[Ch] (makeSame): delete method
12730 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12732 * Variables.[Ch]: fix indentation, rename set to isSet
12734 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12736 * lyxfunc.C (Dispatch): fix typo
12738 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12740 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12743 * bufferlist.C: include assert.h for emergencyWrite().
12745 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12747 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12748 give up at last (bug #425202) !
12750 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12756 * spellchecker.C: strip spellchecker options and bring up
12757 preferences tab instead
12759 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12762 the istringstream constructor
12764 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12766 * paragraph.C (getLayout): fix return value
12768 * paragraph.h: do not declare getLayout as inline.
12770 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12772 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * lyxcursor.h (operator<): new func
12775 (operator>): new func
12776 (operator>=): new func
12777 (operator<=): new func
12779 * text.C (changeCase): use selection.start and selection.end
12780 (changeRegionCase): require from to be <= to. Require par to be a
12783 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12785 2001-06-27 Juergen Vigna <jug@sad.it>
12787 * text.C (cursorLeftOneWord): changed to return the cursor and added
12788 overlay with BufferView * parameter which calls this one.
12790 (selectWord): use new getWord function.
12791 (changeCase): renamed from changeWordCase as and extended to work
12792 also on selections.
12794 * lyxtext.h: added enum word_location
12796 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12797 changeCase as this operates now also on selections.
12799 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12801 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12803 * many files: send debug output to Debug::INFO instead of
12806 * converter.C (View):
12808 (Move): send debug output to Debug::FILES instead of console.
12810 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12812 * lyxfunc.C (getStatus): use func_status
12814 * func_status.h: new header, describing the results of
12815 LyXFunc::getStatus;
12817 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12820 2001-06-25 The LyX Project <jug@sad.it>
12822 * buffer.C (sgmlOpenTag):
12824 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12826 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * text2.C: remove some dead code
12830 * tabular.C (GetCellInset): store the last cell checked (gotten)
12832 * tabular.h: add the helper for the speedup
12834 * lyxtext.h: remove some dead code
12836 2001-06-26 The LyX Project <Asger>
12838 * paragraph.C: Change export to LaTeX of alignment to
12839 \begin{center} and family for better roundtrip work with reLyX.
12841 * Tune the math drawing a bit.
12843 2001-06-25 The LyX Project <Asger>
12845 * LColor.C (LColor): New color for math background. New color
12848 2001-06-25 The LyX Project <jug@sad.it>
12850 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12852 * lyxfunc.C (Open):
12853 * bufferlist.C (newFile): do not restrict to files ending with
12856 * BufferView_pimpl.C (MenuInsertLyXFile):
12858 2001-06-24 The LyX Project <jug@sad.it>
12860 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12863 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12865 * lyxtext.h: rename most methods to begin with a small char.
12866 Lots of changes because of this.
12868 * paragraph.C (Paragraph): do not call fitToSize
12869 (erase): call Pimpl::erase
12870 (insertChar): call Pimpl::insertChar
12871 (insertInset): call Pipl::insertInset
12872 (breakParagraph): do not call fitToSize
12873 (breakParagraphConservative): do not call fitToSize
12874 (fitToSize): remove method
12876 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12878 2001-06-24 The LyX Project <Asger>
12880 * Fix Qt compilation^2
12882 2001-06-24 The LyX Project <jug@sad.it>
12884 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12885 depthHook(getDepth()-1).
12888 * ParagraphParameters.h:
12889 * ParameterStruct.h: change type of depth to unsigned int ==
12890 depth_type. Many adaptations to other files before of that.
12892 2001-06-24 The LyX Project <Asger>
12894 * Fix Qt compilation.
12896 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * paragraph.h: renamed several methods to begin with small letter.
12899 several changes to many parts of the code because of this.
12901 2001-06-23 The LyX Project <jug@sad.it>
12903 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12904 rewritten to discard all double spaces when KeepEmpty is off
12905 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12906 to only handle newlines but not fiddle with spaces and friends.
12908 * lyxfunc.C (MenuNew): when doing 'new from template', use
12909 template_path as default directory
12911 2001-06-23 The LyX Project <Asger>
12913 * Clean-up of header file includes all over
12914 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12916 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12918 * paragraph.h: renamed from lyxparagraph.h
12920 2001-06-23 Asger <lyx@violet.home.sad.it>
12922 * Buffer.h: Removed Buffer::resize
12923 * BufferList.h: Removed BufferList::resize
12924 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12925 the document lazily when we change the width, or the font settings.
12927 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12929 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12931 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12933 * buffer.h: remove out of date comment
12935 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12938 * screen.C: fix "theoretical" GC leak
12940 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * LaTeX.C (scanAuxFile):
12943 (deplog): remove trailing \r when reading stream (useful under
12946 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12948 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12949 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12950 and BufferView::theLockingInset(Inset*), so should use them and not
12951 access bv_->text->the_locking_inset directly.
12953 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12955 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12958 * tex-defs.h: remove old unused file
12960 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12962 * BufferView_pimpl.C: fix typo, remove minibuffer message
12963 when buffer has loaded
12965 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * lyxfunc.C (Dispatch): use stringstream
12968 (MenuNew): use stringstream
12969 (Open): use stringstream
12971 * importer.C (Import): use stringstream
12973 * bufferview_funcs.C (CurrentState): use stringstream
12975 * LaTeX.C (run): use stringstream
12977 * BufferView_pimpl.C (savePosition): use stringstream
12978 (restorePosition): use stringstream
12979 (MenuInsertLyXFile): use stringstream
12981 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12994 * vspace.C: removed // -*- C++ -*- as first line.
12997 * version.h: added // -*- C++ -*- as first line.
12999 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13001 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13003 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13006 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13008 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13011 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13013 * gettext.C: include LString.h even when --disable-nls is on.
13015 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13017 * converter.h (Get): changed argument type from int to
13018 FormatList::size_type to avoid unnecessary conversion.
13020 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13023 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13025 * gettext.h: include LString.h even when --disable-nls is on.
13027 2001-06-07 Juergen Vigna <jug@sad.it>
13029 * text.C (BreakAgain): subst spaces with tabs.
13031 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13032 (resizeInsetsLyXText): set force on resizeLyXText.
13034 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13036 * gettext.h (gettext_init):
13037 (locale_init): use a real definition instead of a macro
13039 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13041 * Bufferview_pimpl.C:
13043 * LColor.C: further lcolor tidies
13045 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13047 * BufferView_pimpl.C (updateScrollbar): simplify.
13049 * BufferView2.C: don't include insets/insetinfo.h, change
13050 prototype for insertInset and call the Pimpl version. let
13051 updateInset call Pimpl version.
13053 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13054 gotoInset to BufferView::Pimpl
13056 2001-06-01 Juergen Vigna <jug@sad.it>
13058 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13059 inside a LockingInset (is the update needed at all?).
13061 2001-05-31 Juergen Vigna <jug@sad.it>
13063 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13064 here not the old one otherwise how should we compare it afterwards
13067 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13072 * FontInfo.C: bring C functions into global namespace when
13075 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13077 * LString.h: make sure config.h has been loaded before LString.h.
13079 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13080 (one for each char read by EatLine!).
13082 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13085 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13088 to the same as the par we break from
13090 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13094 * MenuBackend.C (expand): also create menu entries for wide
13095 versions of the floats.
13097 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13099 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13101 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13102 frontends/Makefile.am
13108 * tabular.C (getTokenValue): add std::
13110 * tabular-old.C (getTokenValue): add std::
13111 (getTokenValue): ditto
13112 (getTokenValue): ditto
13114 * screen.C (ToggleSelection): adjust
13116 * lyxtext.h: put selection cursors inside a Selection struct.
13118 * lyxfunc.C (moveCursorUpdate): adjust
13120 * lyxfont.C (latexWriteStartChanges): add std::
13122 * lyxfind.C: adjust
13124 * font.h: delete with(char const *, LyXFont const &)
13126 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13128 * FontInfo.C (getFontname): add std::
13130 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13131 (workAreaButtonPress): adjust
13132 (tripleClick): adjust
13134 (moveCursorUpdate): adjust
13137 * BufferView2.C (gotoInset): adjust
13139 2001-05-30 Juergen Vigna <jug@sad.it>
13141 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13142 to check pspell I add this as default as I now have new pspell
13143 libraries and they seem to use this.
13145 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13147 * text2.C (CutSelection): make the cursor valid before the call to
13150 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13152 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13153 relied on 0 terminated strings and other horrors. Bug found due to
13154 the new assert in lyxstring!
13156 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13159 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13164 * lyxfunc.C (processKeySym): change method of getting to the
13167 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13168 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13169 * BufferView_pimpl.[Ch]: here as private methods.
13171 2001-05-28 Juergen Vigna <jug@sad.it>
13173 * text.C (SetHeightOfRow): added the update() call again as it is
13174 needed to initialize inset dimensions!
13176 2001-05-16 Juergen Vigna <jug@sad.it>
13178 * text2.C (SetCharFont): Add new function with BufferView * and
13179 bool toggleall parameters for setting insets internal fonts.
13180 (SetFont): Freeze the undo as we may change fonts in Insets and
13181 all this change should be inside only one Undo!
13183 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13184 setting font's in insets as for them we have the SetFont function!
13186 2001-05-15 Juergen Vigna <jug@sad.it>
13188 * text2.C (ClearSelection): to be sure we REALLY don't have any
13191 * tabular.C (TeXCellPreamble): fixed the left border problem for
13194 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13196 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13199 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13202 LFUN_BREAKPARAGRAPH.
13204 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13205 help test to "internal only", similar for LFUN_INSERT_URL
13207 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13208 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13209 auto_region_delete and deadkeys.
13211 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13214 * LColor.C: remove some dead entries, tidy a little
13216 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13218 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13220 (Dispatch): implement LFUN_ESCAPE
13222 * commandtags.h: add LFUN_ESCAPE
13224 * LyXAction.C (init): add entry for LFUN_ESCAPE
13226 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13227 Remove commented code.
13228 (insertNote): moved here
13229 (open_new_inset): moved here
13231 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13234 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13236 * kbmap.C (findbinding): clean it up and make it work correctly.
13238 * lyx_main.C (init): do not pass argc and argv as parameters
13240 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13242 * buffer.C: fix path for OS/2 & Win32
13246 * lyx_main.C: Added os:: class.
13248 * os2_defines.h: update
13250 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13252 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13253 better by trying again with reduced state.
13255 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13257 * lyxrc.C (read): print error about invalid key sequence only when
13258 debugging (because not all latinX keysyms are known to some X
13261 * kbsequence.C (getiso): add a few std:: qualifiers
13262 (getiso): comment out extra return statement.
13264 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13268 (Dispatch): enhance the accent inset a bit. (not perfect)
13270 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13274 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13276 * bufferlist.C (emergencyWrite): fix assert() call
13278 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13280 * text.C (InsertChar): Added trivial patch to only send the "you
13281 can not do multiple spaces this way" message once during a
13284 2001-05-08 Baruch Even <baruch@lyx.org>
13286 * Makefile.am: Changed order of libraries to get LyX to link properly
13287 with the gnome frontend.
13289 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13291 * LaTeXFeatures.h: add a std:: qualifier
13293 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * paragraph.C (String): use stringstream
13297 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * paragraph.C (writeFile): remove footflag arg
13301 * buffer.C (makeLaTeXFile): use stringstream
13302 (latexParagraphs): remove footnot gurba
13304 * LaTeXFeatures.C (getPackages): use stringstream
13305 (getMacros): likewise
13306 (getTClassPreamble): likewise
13307 (getFloatDefinitions): new method
13309 * paragraph.C (writeFile): reindent
13312 * WorkArea.h: revert the xpos + etc changes.
13314 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13316 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13318 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13319 (pasteSelection): likewise
13320 * text2.C (CreateUndo): likewise
13322 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13324 * minibuffer.C (peek_event): temporarily reduce the functionality
13325 of the minibuffer (to allow args on lfuns)
13327 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13328 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13330 * buffer.C (readInset): add compability reading of old float
13331 lists, add reading of new style float list.
13332 (readInset): avoid reevaluation of inscmd.getCmdName()
13333 (getLists): reindent
13335 * MenuBackend.C (MenuItem): implement parsing of
13336 md_floatlistinsert and md_floatinsert.
13337 (expand::LastFiles): move initalizaton of iterators out of loop,
13338 avoid reevaluation.
13339 (expand::Documents): introduce typdedef vector<string> Strings,
13341 (expand::ExportFormats): introduce typedef vector<Format const *>
13342 Formats, and use it.
13343 (expand): implement FloatListInsert and FloatInsert.
13345 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13346 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13347 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13349 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13351 (Dispatch::LFUN_FLOAT_LIST): implement
13353 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13355 * LaTeX.C (run): Fix problem with --export code.
13357 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13359 * BufferView.[Ch] (workarea): removed.
13360 (getClipboard) new method; wrapper for workarea()->getClipboard()
13362 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13365 * WorkArea.h (width, height, xpos, ypos): These methods all
13366 returned the dimensions of the work_area sub-area of WorkArea,
13367 resulting in a position error if the WorkArea were resized. Now
13368 return the dimensions of the entire WorkArea.
13370 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13372 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13374 * LaTeX.C (deplog): correct the syntax of regex reg1
13376 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13378 * undo.C: remove !NEW_INSETS cruft
13380 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * text2.C: remove !NEW_INSETS cruft
13384 * text.C: remove !NEW_INSETS cruft
13386 * tabular.C: remove !NEW_INSETS cruft
13388 * spellchecker.C: remove !NEW_INSETS cruft
13390 * lyxtext.h: remove !NEW_INSETS cruft
13392 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13394 * lyxfunc.C: remove !NEW_INSETS cruft
13396 * lyxfind.C: remove !NEW_INSETS cruft
13398 * lyx_cb.C: remove !NEW_INSETS cruft
13400 * figureForm.C: remove !NEW_INSETS cruft
13402 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13404 * buffer.[Ch]: remove !NEW_INSETS cruft
13406 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13408 * CutAndPaste.C: remove !NEW_INSETS cruft
13410 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13412 * BufferView2.C: remove !NEW_INSETS cruft
13414 * BufferView.h: remove !NEW_INSETS cruft
13416 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13418 * Lsstream.h: include LString.h before the sstream headers to
13419 fix problem with gcc 2.95.3 and lyxstring
13421 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13423 * lyx_main.C: add using directives when needed for C functions
13424 declared in std:: namespace.
13426 2001-04-27 Juergen Vigna <jug@sad.it>
13428 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13429 (SetHeightOfRow): comment out the update call should not be needed!
13431 2001-04-13 Juergen Vigna <jug@sad.it>
13433 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13434 (LyXTabular): tried to minimize operator= operations (and realized
13435 hopfully Lars wish).
13437 2001-04-27 Juergen Vigna <jug@sad.it>
13439 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13441 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13445 * buffer.C (readInset): hack to make listof algorithm work
13447 * BufferView_pimpl.C: hack to make listof algorithm work
13449 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13451 * LyXAction.C: removed all !NEW_INSETS cruft
13452 (init): moved lfun_item in method
13454 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13456 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13458 * BufferView2.C (theLockingInset): white space.
13460 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13462 * minibuffer.C: include <iostream>
13464 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13466 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13468 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13470 * text.[Ch] (TransposeChars): new method
13472 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13474 * call message directly through LyXView instead of through LyXFunc
13475 * BufferView2.C: adjust
13476 * BufferView_pimpl.C: adjust
13477 * FontLoader.C: adjust
13479 * bufferview_funcs.C: adjust
13480 * converter.C: adjust
13481 * figureForm.C: adjust
13482 * importer.C: adjust
13484 * lyx_gui_misc.C: adjust
13485 * lyxfunc.C: adjust
13488 + more files in subdirs
13490 * lyxparagraph.h (size): move up int file
13493 * adjust all uses of Assert to lyx::Assert.
13495 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13496 lyxfunctional in namespace lyx
13497 * layout.C (hasLayout): ditto
13500 (delete_layout): ditto
13501 (NumberOfClass): ditto
13502 * converter.C (GetFormat): ditto
13507 * bufferlist.C (getFileNames): ditto
13508 (emergencyWriteAll): ditto
13511 * MenuBackend.C (hasSubmenu): ditto
13514 * BufferView_pimpl.C (getInsetByCode): ditto
13516 2001-04-18 Juergen Vigna <jug@sad.it>
13518 * vspace.C (asLatexString): fixed the 100% problem.
13520 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13522 * lyxfunc.C (Dispatch):
13524 * minibuffer.h: add a few std:: qualifiers
13526 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * minibuffer.[Ch]: reimplement so that commands is initiated and
13529 run from lyxfunc, simplified som handling, and made the completion
13530 and history code for complete. wip.
13532 * lyxfunc.C (processKeySym): call message
13533 (miniDispatch): new temporary method
13534 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13535 (LFUN_MESSAGE): implement
13536 (LFUN_MESSAGE_PUSH): implement
13537 (LFUN_MESSAGE_POP): implement
13538 (initMiniBuffer): the initial/defualt minibuffer message.
13540 * lyxfont.[Ch]: inline some more getters
13542 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13544 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13546 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13547 (AutoSave): use LFUN_MESSAGE
13548 (Reconfigure): ditto
13550 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13552 * figureForm.C: use LFUN_MESSAGE
13554 * converter.C (runLaTeX): use LFUN_MESSAGE
13556 * bufferview_funcs.C: use LFUN_MESSAGE
13558 (changeDepth): ditto
13560 * bufferparams.h: use boost::
13562 * bufferlist.h: inherit privately from noncopyable
13564 * bufferlist.C (loadLyXFile): remove some commented code.
13566 * buffer.C (runChktex): use LFUN_MESSAGE
13568 * ShareContainer.h: inherit privately from noncopyable
13570 * ParagraphParameters.[hC] (depth): inline it.
13572 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13574 (message): new method
13575 (messagePush): ditto
13576 (messagePop): ditto
13577 (show): init minibuffer
13578 (showState): direct call
13580 * LaTeX.[Ch]: inherit privately from noncopyable
13581 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13582 instead of WriteStatus.
13584 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13586 * BufferView_pimpl.C (buffer): don't init minibuffer
13587 (workAreaButtonPress): use LFUN_MESSAGE
13588 (workAreaButtonRelease): ditto
13589 (savePosition): ditto
13590 (restorePosition): ditto
13591 (MenuInsertLyXFile): ditto
13592 (workAreaExpose): don't init minibuffer
13593 (update): remove commented code, simplify
13595 * BufferView2.C (openStuff): use LFUN_MESSAGE
13596 (toggleFloat): ditto
13599 (copyEnvironment): ditto
13600 (pasteEnvironment): ditto
13605 (updateInset): remove some commented code
13607 * lastfiles.h: inherit privately from noncopyable
13610 * lyx_main.h: ditto
13612 * lyxlex_pimpl.h: ditto
13614 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13615 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13616 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13618 * LyXAction.h: inherit privately from noncopyable, add methods
13619 func_begin, func_end, returning iterators to the func map.
13621 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13622 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13623 (func_begin): new method
13624 (func_end): new method
13626 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13628 (copySelection): ditto
13629 (pasteSelection): ditto
13631 * BufferView.C: whitespace change
13632 * BufferView.h: inherit privately from noncopyable
13634 2001-04-16 Allan Rae <rae@lyx.org>
13636 * tabular-old.C (l_getline):
13637 * spellchecker.C (sc_check_word):
13638 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13639 an unrecognised preprocessor directive. So ensure they're wrapped.
13641 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13643 * src/exporter.C (Export): Give an error message when path to file
13646 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13648 * LaTeX.C (deplog): Always check that foundfile exists.
13650 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13653 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13655 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * tabular.[Ch] (getLabelList): implement new method
13659 * minibuffer.h: comment ouf setTiimer
13661 * minibuffer.C (ExecutingCB): constify res
13662 (peek_event): constify s
13663 (Set): constify ntext
13664 (Init): constify nicename
13666 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13668 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13669 (savePosition): use two params to Minibuffer::Set
13670 (restorePosition): ditto
13672 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13674 * lyx_main.C: include language.h
13676 * Makefile.am (lyx_main.o): add language.h
13678 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * CutAndPaste.C: include gettext.h
13686 * lyxfont.h: remove old hack with ON and OFF.
13689 * lyxfont.h: do not include language.h...
13694 * bufferview_funcs.C:
13700 * paragraph.C: ... but do it here instead
13702 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13706 * tabular.C: small reformat
13708 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13711 (BreakParagraph): ditto
13712 (SetOnlyLayout): ditto
13715 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13718 * lastfiles.C: removed most using decl, add std:: where needed
13720 * buffer.C: ws changes
13722 * MenuBackend.C (class compare_format): put into anon namespace
13723 (expand): constify label, names, action, action2
13726 * text.C (SingleWidth): constify font
13727 (IsBoundary): constify rtl2
13728 (GetVisibleRow): constify ww
13730 * LaTeX.C (deplog): constify logfile
13732 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13734 (workAreaExpose): constify widthChange, heightChange
13736 * lyxrow.C (par): moved
13739 * lyxrow.h: as inlines here
13741 * lyxfont.h (shape): moved from lyxfont.C
13742 (emph): moved from lyxfont.C
13744 * lyxfont.C (LyXFont): use initialization list for all
13746 (shape): move to lyxfont.h as inline
13747 (emph): move to lyxfont.h as inline
13750 2001-04-04 Juergen Vigna <jug@sad.it>
13752 * vspace.C: had to include stdio.h for use of sscanf
13754 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13757 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13758 independent of xforms.
13760 2001-04-02 Juergen Vigna <jug@sad.it>
13762 * spellchecker.C: fixed namespace placing!
13764 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13766 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13767 the LyXParagraph * is 0.
13769 2001-03-29 Juergen Vigna <jug@sad.it>
13771 * vspace.C: added support for %, c%, p%, l%.
13772 (stringFromUnit): added helper function.
13773 (asLatexString): changed to give right results for the %-values.
13775 * buffer.C: convert the widthp in a width%.
13777 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13779 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13782 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13783 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13785 * lyx_cb.[Ch]: see above.
13787 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13791 * lyx.[Ch]: replaced by figure_form.[Ch].
13795 * lyxfunc.C: changed headers associated with above changes.
13797 2001-03-27 Juergen Vigna <jug@sad.it>
13799 * BufferView_pimpl.C: set the temporary cursor right!
13801 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13803 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13805 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13807 * LString.h: removed "using std::getline"!
13809 * BufferView_pimpl.C (Dispatch): changes due to changes in
13810 InsetInclude::Params.
13812 * buffer.C (tag_name): removed redundant break statements as they were
13813 producing lots of warnings with my compiler.
13815 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13817 * LString.h: add "using std::getline" when using the real <string>.
13819 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13821 * buffer.C: removed bitset usage.
13822 PAR_TAG moved to an anonymous name space.
13823 (tag_name): new funtion, also in the anonymous namespace.
13824 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13825 (makeDocBookFile): clean code. Completed transition from string arrays
13827 (SimpleDocBookOnePar): code clean.
13829 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13831 * tabular.C: add some comments.
13833 2001-03-22 Juergen Vigna <jug@sad.it>
13835 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13836 compatibility read a bit and fixed bug with minipage in different
13839 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13841 * buffer.C (pop_tag): removed.
13842 (push_tag): removed.
13843 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13844 array replaced with vector. Added support for CDATA sections.
13845 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13847 (makeDocBookFile): XML conformant declaration of CDATA section,
13848 fixed bug related to <emphasis> in the first paragraph char.
13849 (sgmlOpenTag): exclude empty tags.
13850 (sgmlCloseTag): ditto.
13852 * buffer.h (pop_tag): removed.
13853 (push_tag): removed.
13855 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13857 * language.h (Languages): added size_type and size().
13859 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13861 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13862 response on compability reading of minipages. One probliem is that
13863 the old usage of minipages was «flertydig»
13865 * several files here and in subdirs: don't use static at file
13866 scope use anon namespaces instead.
13868 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13870 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13871 LaTeX output. This is necessary for Literate document
13874 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13876 * buffer.C: insert hfill when needed.
13878 * tabular.C (l_getline): use string::erase, small whitespace change.
13880 * BufferView_pimpl.C: try the anon namespace.
13881 * WorkArea.C: ditto
13883 2001-03-16 Juergen Vigna <jug@sad.it>
13885 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13886 otherwise it won't open options-dialogs.
13888 * buffer.C: honor pextraWidth(p) on converting minipages.
13890 * tabular.C (l_getline): changed the functions to strip trailing \r.
13892 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13894 * BufferView_pimpl.C:
13895 * minibuffer..C: added "using SigC::slot" declaration.
13897 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13899 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13905 * paragraph.C: ditto
13907 * lyxtext.h: NO_PEXTRA
13909 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13911 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13912 * ParameterStruct.h: ditto
13913 * ParagraphParameters.h: ditto
13914 * lyxparagraph.h: ditto
13916 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13918 * buffer.C: add compability for minipage alignment.
13919 (latexParagraphs): remove unwanted pextra check.
13921 * several files: remove CXX_WORKING_NAMESPACES
13923 * buffer.C (pop_tag): tie is in namespace boost
13925 * BufferView.h: noncopyable is in namespace boost
13927 * lyx_main.h: ditto
13930 * lastfiles.h: ditto
13931 * bufferlist.h: ditto
13932 * ShareContainer.h: ditto
13934 * LyXAction.h: ditto
13937 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13939 * Merging changes from BRANCH_MVC back into HEAD.
13941 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13943 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13945 * BufferView_pimpl.C: change from intl.C
13949 * Makefile.am: move combox.*
13955 * intl.C: remove dialog (covered by prefs)
13957 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13959 * lyxfunc.C (Dispatch): removed redundant break statement.
13961 2001-03-14 Juergen Vigna <jug@sad.it>
13963 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13965 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13967 * buffer.C: add hack to fix compability reading of minipages.
13969 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13971 * buffer.C (getLists): Cleanup.
13973 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13975 * lyxfont.C (update): don't honor toggleall on font size.
13977 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13981 * Makefile.am: moved to frontends/xforms/
13985 * BufferView_pimpl.C: changes for moved mathpanel
13987 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13989 * gettext.h: fix gettext_init() in --disable-nls
13991 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13993 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13995 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13998 * lyx.h: strip external form
14000 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14002 * BufferView_pimpl.C: add comment, destroySplash()
14004 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14006 * BufferView_pimpl.C:
14010 * lyxfunc.C: use re-worked insetinclude
14012 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14014 * buffer.C: add using std::stringstream.
14016 * lyx_cb.C: readd using std::ios.
14018 * buffer.C: add using std::map.
14020 * BufferView_pimpl.C: add using std::vector.
14022 * ShareContainer.h: add std:: to swap.
14024 * buffer.h: add some typedefs
14025 * buffer.C (getLists): use them
14026 (getLists): renamed from getTocList.
14027 add a counter for the different float types and use it in the
14029 (getLists): use the same counter for the NEW_INSETS and the "non"
14032 * lyx_cb.h: remove unused items, includes, using etc.
14034 * ShareContainer.h: remove some commented code, add more comments
14035 and "documentation".
14037 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14039 * buffer.C (getTocList): make the list also when NEW_INSETS is
14042 * buffer.h: remove TocType
14044 * buffer.C (getTocList): change to return a map<string,
14045 vector<TocItem> >, implement for dynamic number of list.
14047 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14048 * text2.C (PasteSelection): adjust
14049 * CutAndPaste.C (pasteSelection): adjust
14051 * FloatList.C (FloatList): update from the new_insets branch.
14052 * Floating.[Ch]: ditto
14053 * LaTeXFeatures.C: ditto
14055 * lyxlex_pimpl.C: ditto
14057 * paragraph.C (Last): remove when NEW_INSETS is defined.
14059 * other file: changes because of the above.
14061 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14063 * lyxparagraph.h: rename next to next_, previous to previous_,
14064 make them private for NEW_INSETS. Rename Next() to next(),
14065 Previous() to previous().
14067 * other files: changes because of the above.
14069 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14072 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14075 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14077 * main.C (main): pass lyx_localedir to gettext_init().
14079 * gettext.h: remove locale_init and gettext_init macros
14081 * gettext.C (locale_init): new function
14082 (gettext_init): new function
14084 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14087 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14089 * Moved credits to frontends:
14090 * credits.[Ch]: removed
14091 * credits_form.[Ch]: removed
14092 * lyx_gui_misc.C: remove credits stuff
14095 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14097 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14099 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14100 unneeded destructor.
14102 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14103 a standalone pointer again.
14105 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14107 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14113 * ToolbarDefaults.C:
14122 * BufferView_pimpl.C: use new file dialog in GUII
14125 * lyx_cb.C: remove LayoutsCB to Toolbar
14127 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * ShareContainer.h (get): add std:: qualifier
14131 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14133 * ShareContainer.h: define a proper ShareContainer::value_type
14134 type (and use typename to please compaq cxx)
14136 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14138 * lyxparagraph.h: move serveral local vars to
14139 ParameterStruct/ParagraphParameters., use ShareContainer in
14140 FontTable., make vars in FontTable private and add getter and
14143 * paragraph.C: changes because of the above.
14145 * lyxfont.h: remove copy constructor and copy assignment. (the
14146 default ones is ok), move number inside FontBits. move inlines to
14149 * lyxfont.C: add number to initializaton of statics, move several
14150 inlines here. constify several local vars. some whitespace
14151 cleanup. Dont hide outerscope variables.
14153 * Spacing.h: add two new constructors to match the set methods.
14155 * ShareContainer.h: new file, will perhaps be moved to support
14157 * ParameterStruct.h: new file
14159 * ParagraphParameters.h: new file
14161 * ParagraphParameters.C: new file
14163 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14164 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14166 * BufferView_pimpl.C: ParagraphParameter changes.
14167 * buffer.C: Likewise.
14168 * bufferview_funcs.C: Likewise.
14169 * text.C: Likewise.
14170 * text2.C: Likewise.
14172 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * lyxfind.C (LyXReplace): do not redefine default argument in
14176 (IsStringInText): ditto
14177 (SearchForward): ditto
14178 (SearchBackward): ditto
14180 2001-03-06 Juergen Vigna <jug@sad.it>
14182 * lyxfind.C (IsStringInText): put parentes around expressions.
14184 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14186 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14188 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14190 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14192 * stl_string_fwd.h: add comment
14194 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14197 * tabular.C: remove unused DocBook methods
14203 killed DO_USE_DEFAULT_LANGUAGE
14205 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * lyx_gui.C: do not include language.h.
14209 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14210 arguments in function implementation.
14212 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14214 * BufferView_pimpl.C: add <ctime>
14216 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14218 * BufferView_pimpl.C: add using std::find_if
14220 2001-02-27 José Matos <jamatos@fep.up.pt>
14222 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14225 2001-02-11 José Matos <jamatos@fep.up.pt>
14227 * buffer.C (makeDocBookFile): command styles now have a parameter as
14228 "title" by default.
14230 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14232 * layout_forms.[Ch]: removed
14233 * lyx_cb.[Ch]: out character
14234 * lyx_gui.C: out character
14235 * lyx_gui_misc.C: out character
14236 * bufferview_funcs.C: : out character,
14237 added toggleall as parameter in ToggleAndShow
14239 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14241 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14243 * text2.C (SetCurrentFont): Disable number property at boundary.
14245 2001-02-26 Juergen Vigna <jug@sad.it>
14247 * lyxfunc.C (getStatus): added a string argument override function so
14248 that this is correctly called from LyXFunc::Dispatch if it contains a
14249 do_not_use_argument which is used!
14250 (Dispatch): added check for "custom" export and call appropriate func.
14252 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14254 * lyxrc.C: Add language_command_local, language_use_babel and
14255 language_global_options.
14257 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14259 * buffer.C (makeLaTeXFile): Use language_use_babel and
14260 language_global_options.
14262 2001-02-23 Juergen Vigna <jug@sad.it>
14264 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14265 which works with LyXText and putted it inside BufferView. Here now we
14266 only call for that part the BufferView::Dispatch() function.
14268 * BufferView.C (Dispatch): added.
14270 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14271 functions which needs to use a LyXText over from LyXFunc.
14272 (MenuInsertLyXFile): added
14273 (getInsetByCode): added
14274 (moveCursorUpdate): added
14275 (static TEXT): added
14277 2001-02-22 Juergen Vigna <jug@sad.it>
14279 * BufferView_pimpl.C (update): call a status update to see if LyXText
14282 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14284 * vc-backend.C (revert): implement for CVS
14285 (getLog): implement for CVS
14287 2001-02-20 Juergen Vigna <jug@sad.it>
14289 * text2.C (ClearSelection): added BufferView param for inset_owner call
14291 * lyxfunc.C (TEXT): added this function and use it instead of
14292 directly owner->view()-text of getLyXText().
14294 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14296 * src/layout_forms.C: out preamble
14297 * src/layout_forms.h: out preamble
14298 * src/lyx_cb.C: out preamble
14299 * src/lyx_cb.h: out preamble
14300 * src/lyx_gui.C: out preamble
14301 * src/lyx_gui_misc.C: out preamble
14302 * src/lyxfunc.C: connect with guii preamble
14304 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14306 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14308 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14310 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14311 whether to run bibtex.
14313 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14315 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14317 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14319 * Makefile.am (lyx_SOURCES): removed bibforms.h
14321 * vspace.h: doxygen
14323 * text.C (GetVisibleRow): make several local vars const
14325 * tabular.C: small cleanup.
14327 * lyxserver.C (callback): use compare instead of strncmp
14329 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14330 inlines to after class or to paragraph.C
14332 * lyxfont.h: remove friend operator!=
14334 * converter.h: move friend bool operator< to non friend and after
14337 * combox.h: small cleanup
14339 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14340 to inlines after class def.
14342 * buffer.C (pop_tag): use string operations instead of strcmp
14344 * bmtable.c: doxygen, small cleanup
14346 * LaTeX.h: remove friend operator==
14348 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14360 * BufferView_pimpl.C:
14361 * BufferView.[Ch]: remove cruft
14363 2001-02-14 Juergen Vigna <jug@sad.it>
14365 * lyxfunc.C: removed #if 0 unused code
14367 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14369 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14371 * text2.C (SetSelection): added a BufferView * parameter
14373 2001-02-13 Juergen Vigna <jug@sad.it>
14375 * lyxfunc.C (Dispatch): fixed protected blank problem.
14376 * BufferView2.C (protectedBlank): added LyxText * parameter.
14378 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14379 (AppendColumn): same as above for column_info.
14381 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14382 (moveCursorUpdate): use a LyXText param for support of InsetText.
14384 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14385 (tripleClick): ditto
14387 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14389 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14391 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14393 * text2.C (SetSelection): set correct update status if inset_owner
14394 (ToggleFree): ditto
14396 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14398 * tabular.C: remove some commented code.
14400 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14402 * BufferView_pimpl.C: call hideSplash()
14404 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14407 * bibforms.h: remove
14410 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14411 add LFUN_CHILD_CREATE
14413 * counters.h: fix tiny typo
14418 * lyx.C: move splash to frontends/xforms/
14420 * lyx_gui_misc.C: move Include and Bibform to frontends
14422 * lyxvc.h: clarify comment
14424 * vspace.C: tiny housekeeping
14426 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14428 * text.C (PrepareToPrint): RTL Fix.
14430 * paragraph.C (GetUChar): New method.
14431 (String): Use GetUChar.
14433 * buffer.C (asciiParagraph): Use GetUChar.
14435 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14437 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14439 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14442 * buffer.C: rename to getLogName(), handle
14443 build log / latex log nicely
14445 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14448 * MenuBackend.h: remove support for reference menuitem type.
14450 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14452 * BufferView_pimpl.C: housekeeping
14453 * BufferView_pimpl.h:
14458 * minibuffer.h: move Timeout GUI-I
14460 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14462 * lyxrc.C (read): Update converters data-structures.
14464 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14466 * LaTeX.h (operator!=): add operator != for Aux_Info
14468 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14470 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14472 * LaTeXLog.C: deleted, useful code moved to Buffer
14475 * buffer.C: new function getLatexLogName()
14481 * lyxfunc.C: use frontends for LaTeX and VC logs
14483 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14485 * LaTeX.h: yet another std:: that Allan forgot.
14487 * Variables.C (set): renamed from isset(), because this clashes
14488 with some HP-UX macros (grr).
14490 2001-02-06 Allan Rae <rae@lyx.org>
14492 * LaTeX.h: Another bug fix. Missing std:: this time.
14494 2001-02-04 Allan Rae <rae@lyx.org>
14496 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14497 floats problem. I've left it commented out because it's not quite
14498 correct. It should also test that the current object is a table or
14499 figure inset. But I haven't gotten around to figuring out how to do
14500 that. I *think* it'll be something like: "table" == inset.type()
14502 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14505 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14507 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14508 all the citation/databases/styles in the auxilary file.
14509 (run): Rerun latex if there was a babel language error.
14511 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14513 * text.C (Backspace): Preserve the font when changing newline char
14515 (BreakParagraph): If the cursor is before a space, delete the space.
14517 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14519 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14521 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14522 new argument (code).
14523 (ChangeCitationsIfUnique): New method.
14525 * paragraph.C (GetPositionOfInset): Handle bibkey.
14527 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * BufferView_pimpl.h: change type of Position::par_pos to
14530 LyXParagraph::size_type.
14532 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14534 * BufferView_pimpl.C (savePosition, restorePosition): Write
14535 messages to minibuffer.
14537 2001-01-28 José Matos <jamatos@fep.up.pt>
14539 * buffer.C (makeDocBookFile): adds support for document language.
14540 A silly restriction on the name of LatexCommand types where removed.
14541 Added support for CDATA sections, allows to chars unescaped, used
14542 among others in code, to avoid escape < and >.
14544 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14546 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14547 saved positions instrad of a stack. Furthermore, a position is
14548 stored using paragraph id/paragraph position.
14550 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14551 Remove LFUN_REF_BACK.
14553 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14555 * converter.C (dvipdfm_options): New method.
14557 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14559 * vspace.C (isValidLength): Fix for empty input string.
14561 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * LyXAction.C (init): change description of LFUN_FIGURE to
14566 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * LaTeX.C: add using directive
14570 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14572 * MenuBackend.C (expand): Fix the sorting of the formats.
14574 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14576 * lyx_main.C: tiny error message fix
14578 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14580 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14581 calling fl_initialize(). This fixes the problem with ',' as
14582 decimal separator in text files.
14584 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14586 * trans.C (process): Fix the keymap bug.
14588 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14590 * LaTeX.C (scanAuxFiles): New method. Provides support for
14591 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14592 (scanLogFile) Scan for "run BibTeX" messages.
14594 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14595 OT1 font encoding. Also, load the aecompl package if the ae
14598 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14600 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14602 * texrow.C (increasePos): turn two error messages into debug
14605 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14607 * LaTeX.C (scanAux): Handle the \@input macro.
14608 (runBibTeX): Use scanAux().
14610 * language.C (latex_options_): New field.
14612 * LaTeXFeatures.C (getMacros): Add language macros.
14614 * buffer.C (makeLaTeXFile): Small fix.
14616 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14620 * text2.C: add a using directive.
14622 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14627 * lyxfunc.C: kill LyXBell.
14629 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14631 * text.C (IsBoundary): Remove the error message
14633 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14635 * lyxrc.C (setDefaults): Correct initialization value for
14638 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14640 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14643 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14644 and GotoNextNote().
14646 * src/LyXAction.C: Added reference-next.
14648 * text.C (InsertChar): Use contains instead of strchr.
14650 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14652 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14654 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14655 alignment commands (when needed).
14657 * text.C (InsertChar): Add ':' to number separator chars.