1 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3 * text3.C (checkInsetHit): adjust coords
4 * text2.C (getColumnNearX): adjust coords
6 * text.C (getRowNearY): add two asserts
8 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
11 * format.C: add using std::distance to compile on gcc 2.95/stlport
13 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
15 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
17 2004-02-04 André Pönitz <poenitz@gmx.net>
19 * BufferView.[Ch] (insertInset):
20 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
25 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
27 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
28 on the default clause of the switch
29 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
30 wasn't catched by LCursor::dispatch
32 2004-02-03 André Pönitz <poenitz@gmx.net>
35 * cursor.[Ch]: some additional asserts
37 * undo.[Ch]: remove LyXText dependency in interface
41 * lyxtext.h (firstPar, lastPar): remove dead functions
46 * paragraph.[Ch]: adjust
48 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
50 * lyxfind.C (find): fix argument order in call to ::find
52 2004-02-02 André Pönitz <poenitz@gmx.net>
54 * cursor.[Ch]: remove direct access to anchor
56 * text.C: remove findText() hack
58 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
60 * iterators.[Ch] (lockPath): remove in favour of...
61 * BufferView.[Ch] (setCursor): this addition
62 * BufferView.C (putSelectionAt): adjust
63 * undo.C (performUndoOrRedo): adjust
64 * lyxfunc.C (dispatch): adjust
66 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
68 * iterators.C (lockPath): add a missing slice
69 * undo.C (performUndoOrRedo): remove redundant positioning code
71 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
73 * vc-backend.C (scanMaster): ";" -> ';'
75 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
77 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
80 * lyxtextclass.C (compare_name): rename to...
81 (LayoutNamesEqual): ...this
83 * lyxlex_pimpl.C (compare_tags): inherit from
84 std::binary_function, put back into anon namespace
86 * lyxfind.C (MatchString): inherig from std::binary_function
87 (findChange): use empty() istead of !size()
89 * format.C (FormatNamesEqual): new functor
96 * converter.C (compare_Converter): rename to...
97 (ConverterEqual): ...this, and fixup a bit.
98 (getConverter): use it, and make function const
99 (getNumber): use it, and make function const
103 * bufferlist.C: add using boost::bind
105 * MenuBackend.C (MenuNamesEqual): new functor
106 (hasMenu): use it, and make function const
107 (hasSubmenu): use nested bind to get rid of compare_memfun.
109 2004-01-30 André Pönitz <poenitz@gmx.net>
111 * BufferView_pimpl.C:
122 * text3.C: move some of the edit(x,y) handling to the insets
123 some coordinate changes.
125 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
127 * text.C: add using statements for std::advance and std::distance
129 * paragraph.C: add using statement for std::distance
131 * lyxfind.C: add using statement for std::advance
133 * cursor.C (region): remove std:: from swap
134 (openable): use nucleus in stead of operator->
136 * BufferView.C: add using statements for std::distance and std::swap
138 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
140 * iterators.C: Remove the pimple, move the needed structures to
141 the header file. Create accessor for the positions stack.
142 (asPosIterator): remove function
144 * PosIterator.C (PosIterator): move constructors to top of file
145 (PosIterator): reimplement the constructor taking a ParIterator in
147 (setFrom): new function
148 (operator!=): inline it
150 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
152 * lyxfind.C (replaceAll): use std::advance
154 * iterators.h: inherit from std::iterator.
156 * PosIterator.C (advance, distance): remove
157 * PosIterator.h: interit from std::iterator.
159 2004-01-26 André Pönitz <poenitz@gmx.net>
162 * BufferView_pimpl.[Ch]:
166 * bufferview_funcs.C:
177 * output_plaintext.C:
179 * paragraph_funcs.[Ch]:
180 * paragraph_pimpl.[Ch]:
186 * text3.C: more IU: dumps most of the rest of the mathcursor
187 implementation into cursor.[Ch]; "globalize" a bit of it.
189 2004-01-25 Angus Leeming <leeming@lyx.org>
191 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
193 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * LaTeXFeatures.h: add nice_ and nice() const
196 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
198 2004-01-20 André Pönitz <poenitz@gmx.net>
201 * BufferView_pimpl.C:
203 * bufferview_funcs.C:
216 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
217 LCursor and mathcursor parts to LCursor and InsetBase.
219 2004-01-15 André Pönitz <poenitz@gmx.net>
221 * cursor_slice.[Ch]: add a few covienience functions
223 * funcrequest.[Ch]: remove BufferView * member
225 * BufferView_pimpl.C:
232 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
234 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
236 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
237 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
239 2004-01-13 André Pönitz <poenitz@gmx.net>
242 * lyxtext.h: hide cursor and selection anchor behind accessor function
245 * BufferView_pimpl.[Ch]:
247 * bufferview_funcs.C:
257 * cursor_slice.[Ch]: some integer type changes for inset unification
259 * lyxcursor.[hC]: remove, it's CursorSlice now.
262 * BufferView_pimpl.[Ch]:
263 * bufferview_funcs.C:
269 * textcursor.[Ch]: adjust
271 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
273 * text2.C (undoSpan): add and use
274 * text.C (breakParagraph): use undoSpan (fix bug 578)
277 2004-01-08 Angus Leeming <leeming@lyx.org>
279 * BufferView_pimpl.C (MenuInsertLyXFile):
280 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
281 * lyxfunc.C (menuNew, open, doImport):
282 FileFilterList change to the FileDialog open and save functions.
284 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
286 * ShareContainer.h: make isEqual and isUnique adaptable
288 * CutAndPaste.C: make resetOwnerAndChanges adaptable
290 2004-01-07 Angus Leeming <leeming@lyx.org>
293 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
295 * BufferView_pimpl.C (dispatch): act on these LFUNs.
297 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
298 functions replacing find, replace and replaceAll.
300 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
301 LFUN_WORDFIND(FORWARD|BACKWARD).
303 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
305 * text.C (breakParagraph): remove an outdated #warning
307 2004-01-07 André Pönitz <poenitz@gmx.net>
309 * lyxfind.C: somewhat clearer logic
311 * text.C: prevent crash in cursorX on unitialized row cache
313 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
315 * lyxcursor.[Ch] (operator>): add
316 * textcursor.C (selStart, selEnd): use std::min and std::max
318 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
320 * Chktex.C: include boost/format.hpp
322 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
324 * InsetList.C: replace functor MathcIt with adaptable functor
326 (insetIterator): modify accordingly
328 * BranchList.h: move the BranchNamesEqual functor here from...
329 * BranchList.C: ... to here
331 * BranchList.C: new BranchListEqual fuctor, use it. Remove
333 (add): replace a finding loop with std::find_if.
335 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
337 * output_docbook.C: moving LatexParam functionality into
340 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
342 * buffer.C: increment format to 229.
344 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
347 * lyx_sty.[Ch]: remove minipageindent_def
353 * text3.C: remove LFUN_INSET_MINIPAGE
355 2003-12-28 Angus Leeming <leeming@lyx.org>
357 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
359 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
361 * text2.C (setParagraph): fix off-by-one crash
363 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
365 * output_docbook.C: header stuff for AGU
367 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
369 * text2.C (redoCursor): remove
372 * BufferView_pimpl.C: remove calls to redoCursor and
373 setCursor(cursor.par(), cursor.pos()) all around
375 2003-12-15 Angus Leeming <leeming@lyx.org>
377 * buffer.C: up the format to 228.
379 2003-12-15 André Pönitz <poenitz@gmx.net>
381 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
386 * BufferView_pimpl.C:
395 2003-12-15 Angus Leeming <leeming@lyx.org>
397 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
398 than getFromGUIName to manipulate the color.
400 2003-12-14 Angus Leeming <leeming@lyx.org>
402 * BranchList.[Ch]: minimize the API.
403 (Branch::getBranch, getColor): now return a 'const &'.
404 (Branch::setSelected) now returns a bool set to true if the
405 selection status changes.
406 (BranchList::clear, size, getColor, setColor, setSelected,
407 allBranches, allSelected, separator): removed.
408 (BranchList::find): new functions, returning the Branch with
410 (BranchList::add, remove): return a bool indicating that
411 the operation was successful.
413 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
414 new InsetBranch::isBranchSlected member function.
416 * LColor.[Ch]: mimimize the API.
417 (fill): renamed as addColor and made private.
418 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
419 versions of these functions taking a string arg have been removed.
421 * bufferparams.C (readToken):
422 * lyxfunc.C (dispatch):
423 * lyxrc.C (read): changes due to the altered BranchList and
426 * factory.C (createInset, readInset): changes due to altered
429 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
432 * lyxfunc.C: remove insetminipage. "minipage-insert"
433 now produces a frameless minipage box inset.
435 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
437 * textcursor.[Ch] (selStart,selEnd): add new methods
438 remove selection::start, end, use LyXCursor::operator<
439 * lyxcursor.[Ch] (operator<): add
440 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
441 * BufferView.[Ch] (unsetXSel): add
442 * text2.C (clearSelection): use unsetXSel,adjust
445 * rowpainter.C: adjust
446 * bufferview_funcs.C (put_selection_at): adjust
448 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
450 * BufferView_pimpl.C: small coord. correction
452 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
454 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
455 dragging over the splash screen.
457 2003-12-11 Angus Leeming <leeming@lyx.org>
459 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
460 as it is now handled in LyXText::dispatch.
462 * text3.C (doInsertInset): remove a level of nesting.
464 2003-12-11 Angus Leeming <leeming@lyx.org>
466 * factory.C (createInset): changes due to the changed interface to
467 InsetCommandMailer::string2params.
469 2003-12-10 Angus Leeming <leeming@lyx.org>
471 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
472 'dialog-show-new-inset <inset name>'
474 2003-12-10 Angus Leeming <leeming@lyx.org>
476 * buffer.C: up the format to 227.
478 * factory.C: the box inset is now identified simply by 'Box'.
480 2003-12-10 Angus Leeming <leeming@lyx.org>
482 * buffer.C: up the format to 226.
484 * factory.C: the note inset is now identified simply by 'Note'.
486 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
488 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
489 when a pit is enough. Standarize a couple of loops.
491 2003-12-05 Angus Leeming <leeming@lyx.org>
493 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
494 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
495 data to the re-worked "log" dialog.
497 2003-12-03 André Pönitz <poenitz@gmx.net>
505 * text2.C: use Inset::getText instead of Inset::getParagraph
507 2003-12-03 André Pönitz <poenitz@gmx.net>
511 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
512 InsetText::read() as LyXText::read()
514 2003-12-02 Angus Leeming <leeming@lyx.org>
516 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
517 type. Add a comment in the implementation that the function uses
518 the stream's bad() function rather than fail() as the std::streams
521 2003-12-02 André Pönitz <poenitz@gmx.net>
523 * lyxlex.[Ch]: make interface more similar to std::stream
525 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
527 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
529 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
531 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
533 * vspace.[Ch]: remove VSpace::NONE
535 2003-12-01 André Pönitz <poenitz@gmx.net>
538 * lyxtext.h: move ParagraphList member to LyXText
539 rename LyXText::ownerParagraphs to LyXText::paragraph
542 * bufferview_funcs.C:
552 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
554 * undo.C: fix cursor positioning
556 2003-12-01 John Levon <levon@movementarian.org>
558 * BufferView_pimpl.C: fix a crash on exit with
561 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
563 * BranchList.C: fix setSelected() method.
565 2003-11-28 André Pönitz <poenitz@gmx.net>
567 * ParagraphParameters.[Ch]:
568 * ParameterStruct.h: remove space above/below from Paragraph to
571 * BufferView_pimpl.C:
583 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
585 * factory.C: Syntax change for CharStyles
587 2003-11-28 André Pönitz <poenitz@gmx.net>
592 * buffer.[Ch]: move LyXText member
594 2003-11-28 André Pönitz <poenitz@gmx.net>
596 * BufferView.[Ch]: make LyXText * text a private member
598 * BufferView_pimpl.C:
609 * output_plaintext.C: cleanup
611 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
614 * lyxtextclass.[Ch]: parametrize SGML document header
616 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
619 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
622 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
624 * text2.C (setFont): rework using PosIterator (no more recursive)
625 (setCharFont): no more needed
626 (setLayout): no more selection cursors fiddling (done by redoCursor)
627 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
628 destroy remaining ones)
630 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
632 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
634 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
637 * text3.C: adjust + re-allow multi par depth changes
638 * textcursor.C: simplify a bit
640 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
646 * src/output_docbook.C:
647 * src/output_latex.C:
652 * src/text2.C: Introducing a number of tags parametrizing various
653 XML formats that we may want to support
655 2003-11-25 André Pönitz <poenitz@gmx.net>
657 * InsetList.[Ch] (begein, end): inline as suggested by profiler
659 * lyxtext.h (leftMargin/rightMargin): simplify interface
666 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
668 * lyxfunc.C (dispatch): propogate the bibtex databases from the
669 master file to any child files. Fixes bug 546.
671 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
673 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
675 2003-11-24 André Pönitz <poenitz@gmx.net>
677 * rowpainter.C: simplification
679 * text2.C (updateCounters): remove call to redoParagraph on
680 changed labels as this is far too expensive.
682 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
684 * converter.C (convert): fix a crash: this function gets
685 called with buffer == 0 from importer code.
687 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
689 * text3.C (cursorPrevious): make sure that we do not compare
690 iterators form different containers.
693 * rowpainter.C (paintSelection): make sure that we do not compare
694 iterators from different containers.
696 * text3.C (dispatch): [PRIOR] make sure that we do not compare
697 iterators from different ParagraphList containers.
700 * text2.C (LyXText): change order of initialization slightly
701 (operator=): new function. copy all variables except cache_par_
702 (moveUp): make sure that we do not compare iterators from
703 different ParagraphList constainers.
706 * text.C (firstPar): new function
707 (lastPar): new function
708 (endPar): new function
710 * lyxtext.h: move things around and group public functions, public
711 variables, private functions, private variables
713 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
715 * factory.C: change call to InsetERT constructor to avoid
716 additional invocation of method status
717 * text2.C (toggleInset): remove redundant update() call
718 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
719 instead of a Bufferview pointer
721 2003-11-21 André Pönitz <poenitz@gmx.net>
723 * rowpainter.C: simplification
725 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
727 * text3.C (dispatch): make possible to extend a word/row selection
730 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
732 * lyxtext.h: x0_,y0_ -> xo_,yo_
733 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
734 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
735 * rowpainter.C (paintRows): paint full paragraphs
737 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
739 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
742 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
744 * lyxtext.h: add x0_, y0_
745 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
746 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
748 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
750 * text2.C (setCursorIntern): move the x_target update here *
751 * text3.C: change some bv() to true/false in calls to
752 cursorUp/Down/Right/Left
753 * cursor.C: use helper function.
755 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
757 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
758 * paragraph_funcs.[Ch]: correct comment
759 * rowpainter.C: do not paint selections away from bv->cursor()
760 Fix a long standing selection painting bug.
761 * text3.C: generalize mouse-selection code to LyXTexts other that
763 * textcursor.C: do not use y coords if we can use par offsets
765 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
767 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
768 cursor position after e.g. inset insert)
770 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
772 * lyxfind.C (replace): adjust to locking removal + some
775 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
777 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
780 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
783 * output_docbook.C: XML sanitation: new layout
784 parameters InnerTag and CommandDepth
786 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
788 * BufferView_pimpl.C:
790 * text3.C: Fix the insertion and modification of button-style
793 2003-11-13 André Pönitz <poenitz@gmx.net>
795 * InsetList.[Ch]: remove deleteLyXText
797 * paragraph.[Ch]: cache beginOfBody position
802 * text3.C: remove superfluous update() calls
806 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
808 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
809 * BufferView.C (fitLockedInsetCursor): remove
810 * cursor.[Ch] (getDim): add
811 * text.C (getRowNearY): add faster version
812 * text3.C: remove some update calls
814 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
826 * text3.C: The Character Style /XML short element patch.
828 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
831 * factory.C: Small step to solving 'unable to insert some insets'
834 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
836 * cursor.[Ch] (updatePos): new function for updating the y
837 position of the tip inset
838 * bufferview_funcs.C (put_selection_at):
839 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
841 2003-11-11 André Pönitz <poenitz@gmx.net>
843 * text.C: remove big comment on invalid Paragraph pointers as it is
846 2003-11-11 André Pönitz <poenitz@gmx.net>
848 * text_funcs.[Ch]: merge with ...
856 * Makefile.am: remove text_funcs.[Ch]
858 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
860 * cursor.C (getPos): return absolute cached y coord
862 * BufferView_pimpl.C (fitCursor): new simplistic code
863 (workAreaDispatch): add a fitCursor call
865 2003-11-10 André Pönitz <poenitz@gmx.net>
868 * BufferView_pimpl.[Ch]: merge update() and updateInset()
870 2003-11-10 André Pönitz <poenitz@gmx.net>
872 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
873 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
874 indicate that the cursor needs to leave an inset
876 * lyxtext.h: remove inset locking
878 * cursor.[Ch]: re-implement functionality provided by inset locking
881 * BufferView_pimpl.[Ch]:
883 * bufferview_funcs.[Ch]:
895 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
897 * PosIterator.[Ch]: replace the stack with a vector, add inset
899 * iterators.[C]: adjust
901 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
903 * lyxfind.C (replaceAll): mark the buffer dirty if something was
905 * paragraph_funcs.C (readParToken): put the correct id in the
906 error item, not the id of the top paragraph
908 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
910 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
911 * bufferview_funcs.C (put_selection_at): use the above
913 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
915 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
917 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
920 * output_plaintext.h:
922 * output_docbook.h: add #include statements
924 2003-11-05 José Matos <jamatos@lyx.org>
926 * output_docbook.[Ch]:
928 * output_linuxdoc.[Ch]:
929 * output_plaintext.[Ch]: New files for output formats.
930 * output.[Ch]: New file for helper functions.
933 * paragraph_funcs.[Ch]: output functions moved to new files.
935 * outputparams.h: rename of latexrunparams.h
943 * paragraph_funcs.[Ch]:
944 * paragraph_pimpl.[Ch]:
945 * tabular.[Ch]: rename ascii to plaintext
946 and LatexRunParams to OutputParams.
948 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
950 * iterators.[Ch] (text): require bv argument
951 * undo.C (recordUndo):
952 * lyxfunc.C (dispatch):
953 * bufferview_funcs.C (put_selection_at): adjust
955 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
957 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
959 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
961 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
964 2003-11-04 André Pönitz <poenitz@gmx.net>
966 * cursor.[Ch]: restructure
969 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
971 * iterators.[Ch] (asCursor): remove
973 * lfuns.h: remove LFUN_INSET_EDIT
979 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
981 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
983 * lyxfind.[Ch]: complete overhaul
984 * BufferView_pimpl.C:
986 * paragraph.[Ch] (insert): add
988 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
992 * text.C: remove dead spellcheck code
994 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
996 * dispatchresult.h: add a val setter
998 * cursor.C (dispatch): use a tempvar for data_[i]
1000 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1002 * PosIterator.[Ch]: compile fix
1004 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1006 * text.C (cursorPar): deactivate the cursor cache
1008 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1010 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1012 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * text3.C (dispatch): adjust for new DisptchResult semantics.
1016 * lyxfunc.C (dispatch): handle update when return from
1017 Cursor::dispatch, adjust for new DispatchResult semantics.
1019 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1020 DispatchResult(true) mean to not update. Add class functions for
1021 setting dispatched and update, as well as reading.
1023 * cursor.C (dispatch): don't handle update here
1025 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1028 * trans_mgr.C: adjust
1030 * paragraph_funcs.C (readParToken): exception safety
1032 * lyxvc.h: store the vcs pointer in a scoped_ptr
1035 * lyxsocket.C (serverCallback): exception safety
1037 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1039 * ispell.C (clone): make it return a auto_ptr
1041 * factory.C (createInset): exception safety
1042 (readInset): exception safety
1044 * bufferlist.C (newBuffer): exception safety
1046 * Thesaurus.C (Thesaurus): use initialization for aik_
1048 * MenuBackend.C (expandToc): exception safety.
1050 2003-11-03 André Pönitz <poenitz@gmx.net>
1054 * bufferview_funcs.C: remove getInsetFromId()
1057 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1063 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1065 * PosIterator.C (distance, advance): new
1066 * bufferview_funcs.[Ch] (put_selection_at): new
1067 * iterators.[Ch] (lockPath): new
1069 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1071 * iterators.[Ch] (asPosIterator): added
1072 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1073 * PosIterator.[Ch]: added
1075 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * cursor.C (dispatch):
1080 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1082 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1083 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1084 contructor, add a class function dispatched. Remove operator>=
1086 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * debug.C: only use the default constructor for debugstream
1091 * main.C (main): include debug.h and setup the lyxerr streambuf
1094 2003-10-31 José Matos <jamatos@lyx.org>
1096 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1098 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1099 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1100 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1101 * paragraph_pimpl.C (simpleTeXSpecialC):
1102 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1103 add LatexRunParams argument.
1105 * exporter.C (Export): change call accordingly.
1107 * latexrunparams.h: add new member to take care of the other backends.
1108 2003-10-30 José Matos <jamatos@lyx.org>
1110 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1111 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1112 factorise code for paragraph output.
1114 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1117 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * text3.C (dispatch):
1120 * lyxfunc.C (dispatch):
1121 * cursor.C (dispatch):
1122 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1124 * dispatchresult.h: make the dispatch_result_t ctor explicit
1126 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1129 * buffer.C: small refactoring of docbook stuff
1131 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1133 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1136 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1139 operator dispatch_result_t, and operators for == != and >=
1141 * cursor.C (dispatch): adjust for operator dispatch_result_t
1142 removal. comment out call to update
1144 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1146 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1157 * dispatchresult.h: new file, DispatchResult broken out of
1160 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1162 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1164 * text.C (rowBreakPoint): put a hack inside #if 0
1166 2003-10-28 André Pönitz <poenitz@gmx.net>
1170 * paragraph_funcs.C:
1173 * text2.C: general cleanup (lots of small stuff)
1175 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1177 * text2.C (cursorEnd): simple fix to the "end key goes to one
1178 before the end on last row" bug
1180 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1182 * text.C (backspace): fix the "zombie characters"
1184 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1186 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1188 2003-10-27 André Pönitz <poenitz@gmx.net>
1190 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1192 * factory.C: handle new InsetPagebreak, InsetLine
1194 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1195 and move handling into new InsetPagebreak, InsetLine
1197 * BufferView_pimpl.C:
1199 * ParagraphParameters.C:
1200 * ParameterStruct.h:
1205 * paragraph_funcs.C:
1206 * paragraph_pimpl.C:
1212 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1215 * lyxrow_funcs.[Ch]:
1221 * text3.C: remove lastPos uses in favour of Row::endpos
1223 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1225 * undo.C (performUndoOrRedo): fix two crashes by setting a
1226 cursor by hand and reordering some calls. Use bv->lockInset instead
1227 of inset->edit because the latter loses cursor information
1229 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1231 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1233 (rowBreakPoint): fix width. change point to point + 1.
1234 Add a missing check.
1236 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1239 * lyxfunc.C: fix (at least partly) the problems
1240 with the Nav menu and headers inside branch insets
1243 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1245 * paragraph.C (getChar): add strong asserts
1247 * lyxrow_funcs.C (lastPos): remove hideous hack
1249 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1250 (fill): adjust to that (avoid an infinite loop)
1252 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1254 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1256 2003-10-23 André Pönitz <poenitz@gmx.net>
1258 * RowList_fwd.h: change list<> to vector<> to gain speed
1259 after suggestion from Alfredo
1261 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1263 * lyxtext.h: move the bidi stuff from here...
1266 * Bidi.[Ch]: ... to here
1268 2003-10-23 André Pönitz <poenitz@gmx.net>
1271 * text.C (isLastRow, isFirstRow): new functions
1273 * paragraph.h: new width cache member
1275 * rowpainter.C: replace RowList::iterator with Row & where possible
1277 * lyxfunc.C: replace several view()->text with a single call
1279 * toc.C: fix 'unused' warning
1281 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1284 when woring with stream::pos_type
1285 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1287 2003-10-22 André Pönitz <poenitz@gmx.net>
1290 * text.C: use Row & instead of RowList::iterator
1292 * lyxrow.h: rename end() to endpos()
1298 2003-10-22 Angus Leeming <leeming@lyx.org>
1300 * buffer.[Ch] (fully_loaded): new member function, returning true
1301 only when the file has been loaded fully.
1302 Used to prevent the premature generation of previews and by the
1303 citation inset to prevent computation of the natbib-style label.
1305 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1306 templates are all set up.
1308 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1310 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1312 * text.C: fixed an "oops" in the "is a bit silly"
1315 2003-10-21 André Pönitz <poenitz@gmx.net>
1317 * FuncStatus.[Ch]: small stuff, whitespace
1319 * lyxfont.[Ch]: operator<<() for debug reasons
1323 * lyxtext.h: whitespace, spelling
1325 * paragraph.C: naming of variables
1328 * text2.C: small stuff
1331 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1333 * text.C: (1) finish off the inset display() work;
1334 (2) fix the "is a bit silly" bug (accessing char
1337 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1339 * text.C: re-introduce display() for insets, fixing the
1340 various bugs (stretch of line above, math inset
1343 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1345 * text.C (rightMargin): remove spurious semicolon
1347 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1350 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1352 * text3.C: fix one crash due to wrong cursor def
1354 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * vc-backend.C (scanMaster): make the regex static
1358 * LaTeX.C (scanAuxFile): make the regexs static
1360 * text3.C (doInsertInset, dispatch, dispatch):
1361 * text2.C (cursorUp, cursorDown):
1362 * text.C (selectNextWordToSpellcheck):
1363 * BufferView_pimpl.C (dispatch):
1364 * lyxfunc.C (dispatch): localDispatch -> dispatch
1366 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1368 * lyxsocket.C: include <cerrno>
1370 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * lyxfunc.C (dispatch): remove textcache stuff
1374 * bufferlist.C (release): remove textcache stuff
1377 * TextCache.C: delete file
1378 * TextCache.h: delete file
1380 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1382 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1383 delete of the bv_->text.
1384 (resizeCurrentBuffer): remove texcache stuff
1385 (workAreaResize): ditto
1387 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1392 2003-10-16 André Pönitz <poenitz@gmx.net>
1399 * text3.C: speed up by storing y positions per paragraph plus per-row
1400 offset instead of having a 'full' y position in the row.
1402 2003-10-15 André Pönitz <poenitz@gmx.net>
1406 * undo.[Ch]: make undo aware of inner insets
1408 2003-10-14 Angus Leeming <leeming@lyx.org>
1410 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1411 static member functions LyX::ref() and LyX::cref.
1412 (lastfiles): new accessor functions for the new lastfiles_ member var.
1413 (addLyXView, views_): add a new LyXView to the list of views_.
1414 (updateInset): loop over all LyXViews to call their own updateInset
1415 member function, returning a pointer to the Buffer owning the inset.
1417 * BufferView_pimpl.C (loadLyXFile):
1418 * MenuBackend.C (expandLastfiles):
1419 * bufferlist.C (MenuWrite, QuitLyX):
1420 lastfiles is no longer a global variable.
1421 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1423 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1424 static function. Access through LyX::cref().emergencyCleanup().
1426 2003-10-14 André Pönitz <poenitz@gmx.net>
1428 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1430 * undo.[Ch]: restoring part of 'undo in insets'
1433 * undo_funcs.[Ch]: merge with undo.[Ch]
1435 * tabular.C: small cleansing stuff
1437 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1439 * paragraph_funcs.C (readParToken): report unknown insets as error
1440 boxes. Use the outer paragraph as location (also for unknown
1443 * factory.C (readInset): do not abort on reading an unknown inset.
1444 Eat it and return 0.
1446 2003-10-13 Angus Leeming <leeming@lyx.org>
1448 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1450 * lyxrc.C: displayTranslator is now a function,
1451 declared in GraphicsTypes.h.
1453 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1455 * format.C: new placeholder $$a to pass the socket address.
1457 * bufferlist.[Ch]: new function getBufferFromTmp.
1459 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1460 files in the temporary dir.
1462 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1464 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1466 * Makefile.am: add lyxsocket.[Ch].
1468 * lyx_main.C (error_handler): handle SIGPIPE.
1470 2003-10-13 André Pönitz <poenitz@gmx.net>
1472 * BufferView_pimpl.C:
1477 * undo_funcs.[Ch]: use paroffset_type instead of
1478 ParagraphList::iterators to prevent multiple conversion
1479 (and get a more robust interface)
1481 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1485 * text3.C (dispatch): ditto
1487 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1489 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1490 move the onlyfile, use onlyfile instead of foundfile in a couple
1493 * DepTable.C (update): flush the error stream a bit more
1495 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * lyxserver.C (callback): adjust
1499 * lyxfunc.C (getStatus): add a missing brace in commented code
1500 (ensureBufferClean): reindent
1501 (dispatch): delete version taking a string
1503 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * LaTeX.C (deplog): move found file handlig from here...
1506 (handleFoundFile): .. to new function here.
1507 (deplog): make sure to discover several files mentioned on the
1510 2003-10-10 André Pönitz <poenitz@gmx.net>
1517 * text3.C: fix some of the tabular crashes
1519 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1521 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1523 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1525 2003-10-09 André Pönitz <poenitz@gmx.net>
1527 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1530 * BufferView_pimpl.C:
1531 * bufferview_funcs.C:
1542 * undo_funcs.C: adjust
1544 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1546 * text2.C (incrementItemDepth): new function, use a backtracking
1547 algorithm to discover the correct item depth.
1548 (resetEnumCounterIfNeeded): new function, use a backtracking
1549 algorithm to discover if counter reset is needed.
1550 (setCounter): use them. Simplify a bit. Add different labels for
1551 different item depths for itemize.
1553 * paragraph.C (Paragraph): remove initialization of enumdepth
1556 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1557 enumerate and itemize. Change the type of itemdepth to signed char.
1559 2003-10-08 André Pönitz <poenitz@gmx.net>
1561 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1566 * tabular.[Ch]: fix crash after 'row-insert'
1568 2003-10-08 Angus Leeming <leeming@lyx.org>
1570 Fix doxygen warnings.
1572 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1573 Remove CutAndPaste:: prefix from header file declaration.
1575 * LColor.h (fill): remove LColor:: prefix from declaration.
1577 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1578 use lyx::depth_type rather than Paragraph::depth_type so that
1579 header file and .C file match.
1581 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1583 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1584 * aspell.C: \file aspell_local.C -> \file aspell.C
1585 * gettext.C: \file gettext.C -> \file src/gettext.C
1586 * gettext.h: \file gettext.h -> \file src/gettext.h
1587 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1588 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1589 * text.C: \file text.C -> \file src/text.C
1591 * toc.C: move comment so that doxygen is not confused.
1593 2003-10-07 Angus Leeming <leeming@lyx.org>
1595 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1597 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1600 * aspell_local.h: add forgotten std::string's.
1602 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1609 * text3.C: The Box patch. Fancybox support, minipage, parbox
1611 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1617 * ParagraphParameters.h:
1627 * lyxtextclasslist.h:
1630 * paragraph_pimpl.C:
1631 * textcursor.h: add <string> and other small fixes to make Lars'
1632 std::string patch compile with STLport.
1634 2003-10-06 Angus Leeming <leeming@lyx.org>
1636 * LColor.h: Add missing #include <string>.
1638 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1640 * All most all file in all subdirs: Make <string> be the prefered
1641 way of getting to std::string, add using declarations.
1643 2003-10-06 André Pönitz <poenitz@gmx.net>
1645 * metricsinfo.C: initialize LyXFont before changing attribute.
1646 (fixes the 'math in \emph is upright' bug)
1648 2003-10-06 André Pönitz <poenitz@gmx.net>
1650 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1652 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1655 * paragraph_pimpl.C: Small fixes to build using STLport
1657 2003-10-02 André Pönitz <poenitz@gmx.net>
1660 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1662 2003-10-01 André Pönitz <poenitz@gmx.net>
1664 * factory.C: assert early
1666 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * lyx_main.C: remove the global debug object
1670 * debug.h: adjust for new debugstream
1672 * debug.C: adjust for new debugstream and keep the global debug
1675 2003-09-22 Angus Leeming <leeming@lyx.org>
1677 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1678 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1679 an incomplete class LyXFont.
1681 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1683 * factory.C: bug fix in branches
1685 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * lyxfunc.C (processKeySym): adjust
1689 (dispatch): change arg name from ev to func, adjust
1690 (sendDispatchMessage): ditto
1692 * lyx_main.C (defaultKeyBindings): adjust keybindings
1693 (deadKeyBindings): ditto
1695 * kbsequence.C (addkey): return a FuncRequest
1697 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1699 * kbmap.C (bind): take a FuncRequest as arg, adjust
1702 (defkey): change to take a FuncRequest as arg, adjust
1703 (findbinding): take a FuncRequest as arg, adjust.
1705 * funcrequest.h (operator=): added
1707 * funcrequest.C (FuncRequest): default kb_action changed from
1708 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1710 * buffer.C (dispatch): simplify
1711 (dispatch): adjust to take a FuncRequest as arg, adjust
1713 * boost.C (assertion_failed): change assertion message slightly
1715 * ToolbarBackend.C (read): simplify
1717 * MenuBackend.C (binding): adjust call to findbinding, add a
1718 message if no binding is found.
1720 (expandToc): correct by adding a empty FuncRequest
1722 * LyXAction.C: include <boost/assert.hpp>
1723 (isPseudoAction): delete function
1724 (LookupFunc): change name to...
1725 (lookupFunc): this. change return type to FuncRequest.
1726 (getActionName): take kb_action as arg, simplify
1727 (funcHasFlag): add an assert, simplify.
1729 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * toc.C (action): return a FuncRequest, simplify
1733 * lyxfunc.C (processKeySym): adjust
1734 (getStatus): delete version that takes an int.
1736 (dispatch): delete version that takes action as int
1738 (sendDispatchMessage): simplify and adjust
1740 * funcrequest.C (getArg): take unsigned int as arg
1742 * ToolbarBackend.C (read): adjust
1743 (add): delete version that takes func as a string.
1744 (getIton): take a FuncRequest as arg
1746 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1749 * MenuBackend.C (MenuItem): add a new construct that only takes a
1750 Kind, simplify the constructor use for submenus.
1752 (expandLastfiles): adjust
1753 (expandDocuments): adjust
1754 (expandFormats): adjust
1755 (expandFloatListInsert): adjust
1756 (expandFloatInsert): adjust
1757 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1759 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1760 Remove class variables lyx_pseudo_map and lyx_arg_map
1762 * LyXAction.C (searchActionArg): delete function
1763 (getPseudoAction): delete function
1764 (retrieveActionArg): delete function
1765 (LookupFunc): make it return kb_action, simplify.
1766 (getActionName): simplify
1768 * factory.C (createInset): fix new bug
1770 2003-09-19 Angus Leeming <leeming@lyx.org>
1772 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1773 masterFilename_ parameter in the include inset.
1775 * factory.C (createInset): changes due to the changes to InsetInclude.
1777 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1779 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1781 2003-09-18 Angus Leeming <leeming@lyx.org>
1784 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1785 Inset::fillWithBibKeys.
1786 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1788 2003-09-18 Angus Leeming <leeming@lyx.org>
1790 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1792 (ctor): pass and store a 'Buffer const &'
1793 (buffer): new member function.
1795 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1796 '*this' to the LaTeXFeatures ctor.
1798 2003-09-18 Angus Leeming <leeming@lyx.org>
1804 * text.C: rename EnumLColor as LColor_color.
1806 2003-09-18 Angus Leeming <leeming@lyx.org>
1808 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1809 remove #include "insets/insetbase.h" from cursor.h.
1811 2003-09-18 Angus Leeming <leeming@lyx.org>
1813 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1814 InsetOld_code to remove #include "inset.h".
1816 * iterators.C: add #include "insets/inset.h"
1818 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1820 * BufferView.C: remove more locking stuff that apparently doesn't
1821 do anything sensible.
1823 2003-09-16 André Pönitz <poenitz@gmx.net>
1826 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1829 2003-09-16 Angus Leeming <leeming@lyx.org>
1831 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1833 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1836 * paragraph.h: remove #include "lyxfont.h". Forward declare
1839 2003-09-16 Angus Leeming <leeming@lyx.org>
1841 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1842 of support/textutils.h.
1843 (isWord): move the contents of support/textutils.h's IsWordChar here.
1849 * text2.C: add #include "paragraph.h".
1852 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1854 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * LaTeX.C: use namespace alias for lyx::support::os
1862 2003-09-16 Angus Leeming <leeming@lyx.org>
1865 * bufferview_funcs.C:
1868 * paragraph_pimpl.C:
1870 * text.C: add #include "LColor.h".
1872 2003-09-16 Angus Leeming <leeming@lyx.org>
1874 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1875 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1877 Store the FontBits::color variable as an int rather than as an
1878 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1881 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1882 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1883 string calls together.
1885 * lyxrc.C: add #include "LColor.h".
1887 2003-09-15 Angus Leeming <leeming@lyx.org>
1889 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1892 2003-09-15 Angus Leeming <leeming@lyx.org>
1894 * LColor.h: add an EnumLColor wrapper for LColor::color.
1896 * lyxfont.[Ch] (color, setColor, realColor):
1897 * lyxtext.h, text.C (backgroundColor):
1898 pass EnumLColor args to/from the functions, rather than LColor::color
1902 * lyxtext.h: forward declare EnumLColor.
1904 * lyx_main.C: add #include "LColor.h".
1906 2003-09-15 Angus Leeming <leeming@lyx.org>
1908 * .cvsignore: add lyx-gtk.
1910 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * ParagraphParameters.C
1919 * bufferview_funcs.C
1929 * vc-backend.C: remove usage of STRCONV
1931 2003-09-15 Angus Leeming <leeming@lyx.org>
1933 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1934 explicitly define the color passed to the painter.
1936 2003-09-15 Angus Leeming <leeming@lyx.org>
1938 * bufferparams.C (BufferParams): reorder member initializers to avoid
1941 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1943 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1944 * text.C (updateRowPositions): remove an unusual nop
1946 2003-09-12 André Pönitz <poenitz@gmx.net>
1948 * BufferView_pimpl.C:
1957 * Counters.[Ch]: finish the 'automatic counters' job
1959 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1961 * aspell.C: include <boost/assert.cpp> (compile fix)
1963 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1965 * boost.C (assertion_failed): use lyx::support::abort instead of
1968 2003-09-10 Angus Leeming <leeming@lyx.org>
1970 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1971 with their _fwd progeny.
1973 2003-09-09 Angus Leeming <leeming@lyx.org>
1975 134 files throughtout the source tree: replace 'using namespace abc;'
1976 directives with the appropriate 'using abc::xyz;' declarations.
1978 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1980 * boost.C (emergencyCleanup): moved here from LAssert.c
1981 (assertion_failed): new function, called by BOOST_ASSERT
1983 * several files: change Assert to BOOST_ASSERT
1985 2003-09-09 Angus Leeming <leeming@lyx.org>
1987 * buffer.[Ch]: Add an Impl class and move Buffer's member
1988 variables into it. As a result move several header files out of
1991 Add header files to lots of .C files all over the tree as a result.
1993 2003-09-09 Angus Leeming <leeming@lyx.org>
1995 * buffer.[Ch]: make Buffer's member variables private. Add
1998 Lots of changes all over the tree as a result.
2000 2003-09-08 Angus Leeming <leeming@lyx.org>
2002 * graph.C: #include <config.h>.
2004 2003-09-08 Angus Leeming <leeming@lyx.org>
2008 * BufferView_pimpl.C:
2037 * toc.C: remove redundant using directives.
2039 2003-09-07 Angus Leeming <leeming@lyx.org>
2041 * LaTeXFeatures.h: remove #include "support/types.h".
2042 * ToolbarBackend.h: remove #include <algorithm>.
2043 * changes.h: remove #include <ctime>.
2044 * debug.h: remove #include <iosfwd>.
2045 * graph.h: remove #include "support/std_string.h".
2046 * lyx_main.h: remove #include <csignal>.
2047 * lyxlex_pimpl.h: remove #include <fstream>.
2048 * sgml.h: remove #include <algorithm>, <utility>.
2049 * toc.h: remove #include "support/std_ostream.h".
2050 Add #include <iosfwd>.
2052 2003-09-07 Angus Leeming <leeming@lyx.org>
2054 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2056 * converter.h: forward declare LatexRunParams.
2057 * encoding.h: remove #include "lyxrc.h".
2058 * lyxtext.h: remove #include "LColor.h".
2059 * lyxtextclass.h: remove #include "support/types.h".
2060 * trans.h: remove #include "tex-accent.h".
2061 * trans_mgr.h: remove #include "tex-accent.h".
2062 * insets/inset.h: remove #include "support/types.h", <vector>.
2063 * insets/insetcollapsable.h: remove #include "LColor.h".
2064 * insets/insetinclude.h: remove #include "dimension.h".
2065 * insets/insetlatexaccent.h: remove #include "dimension.h".
2066 * insets/insetoptarg.h:: remove #include "insettext.h".
2067 * insets/insettext.h: remove #include "dimension.h",
2068 <boost/shared_ptr.hpp>
2070 * insets/renderers.h: add #include "dimension.h".
2071 * insets/updatableinset.h: add #include "support/types.h".
2073 * many .C files: Associated changes.
2075 2003-09-06 Angus Leeming <leeming@lyx.org>
2077 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2078 one, inside testInvariant.
2080 * PrinterParams.C: new file.
2081 * PrinterParams.[Ch]: move the function bodies out of line.
2083 2003-09-06 Angus Leeming <leeming@lyx.org>
2085 * ParagraphParameters.h: forward declare ParameterStruct rather than
2086 including its header file.
2087 (depth): moved out-of-line.
2089 2003-09-06 Angus Leeming <leeming@lyx.org>
2091 * BufferView_pimpl.h:
2094 * lyxfunc.h: forward declare LyXKeySym rather than
2095 #include "frontends/LyXKeySym.h".
2097 * BufferView_pimpl.C:
2100 * lyxfunc.C: associated changes.
2102 2003-09-06 Angus Leeming <leeming@lyx.org>
2104 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2105 As a result, can remove the #include "insets/inset.h" from BufferView.h
2107 2003-09-06 Angus Leeming <leeming@lyx.org>
2109 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2110 As a result, can remove the #include "insets/inset.h" from BufferView.h
2112 2003-09-06 Angus Leeming <leeming@lyx.org>
2118 * bufferview_funcs.C:
2119 * BufferView_pimpl.C:
2124 * ParagraphParameters.C:
2129 * frontends/controllers/ControlDocument.C:
2130 * insets/insetcaption.C: rearrange the #includes into some sort of
2133 * buffer.h: remove #includes ErrorList.h, undo.h
2135 2003-09-06 Angus Leeming <leeming@lyx.org>
2137 * support/types.h: add a 'depth_type' typedef, used to store the
2138 nesting depth of a paragraph.
2141 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2142 defining explicitly.
2145 * paragraph_funcs.h:
2146 * ParagraphParameters.h:
2147 * sgml.h: use lyx::depth_type rather than Paragraph or
2148 ParameterStruct's depth_type.
2151 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2154 * BufferView_pimpl.C:
2156 * ParagraphParameters.C:
2159 * bufferview_funcs.C:
2166 * frontends/LyXView.C:
2167 * frontends/controllers/ControlDocument.C:
2168 * frontends/controllers/ControlErrorList.C:
2169 * insets/insetbibitem.C:
2170 * insets/insetbranch.C:
2171 * insets/insetcaption.C:
2172 * insets/insetcollapsable.C:
2173 * insets/insetenv.C:
2174 * insets/insetert.C:
2175 * insets/insetfloat.C:
2176 * insets/insetfoot.C:
2177 * insets/insetfootlike.C:
2178 * insets/insetnewline.C:
2179 * insets/insetquotes.C:
2180 * insets/insettabular.C:
2181 * insets/insettext.C:
2182 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2184 * frontends/controllers/ControlChanges.C: #include "changes.h".
2186 2003-09-06 Angus Leeming <leeming@lyx.org>
2188 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2189 than #including paragraph.h.
2192 * RowList.h: deleted. Superfluous.
2202 * insets/insettext.h: use ParagraphList_fwd.h rather than
2205 * paragraph.h: don't forward declare ParagraphList.
2208 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2209 rather than ParagraphList.h. paragraph.h is still needed for the
2210 Paragraph::depth_type parameters.
2212 * textcursor.h: enable it to compile stand-alone in light of the
2215 * bufferview_funcs.C:
2227 * frontends/controllers/ControlParagraph.C:
2228 * frontends/controllers/ControlTabular.C:
2229 * insets/insetmarginal.C:
2230 * insets/insetminipage.C:
2231 * insets/insetnote.C:
2232 * insets/insetoptarg.C: add header files needed to compile again.
2234 2003-09-06 Angus Leeming <leeming@lyx.org>
2236 * RowList_fwd.h: new file, forward-declaring Row rather than
2237 #including lyxrow.h.
2242 * insets/insettext.h: use it instead of RowList.h
2244 * bufferview_funcs.C:
2251 * text3.C: #include "RowList.h".
2253 2003-09-05 Angus Leeming <leeming@lyx.org>
2255 * factory.C (createInset):
2256 * vspace.C (c-tor): replace sscanf call with an istringstream.
2257 * ispell.C: re-add missing HP/UX headers.
2258 * lyxserver.C: re-add missing os2 headers.
2260 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2269 * text3.C: re-add missing system headers, needed for 2.95.2.
2271 2003-09-05 Angus Leeming <leeming@lyx.org>
2273 Changes most place everywhere due to the removal of using directives
2274 from support/std_sstream.h.
2276 2003-09-05 Angus Leeming <leeming@lyx.org>
2278 Replace LString.h with support/std_string.h,
2279 Lsstream.h with support/std_sstream.h,
2280 support/LIstream.h with support/std_istream.h,
2281 support/LOstream.h with support/std_ostream.h.
2283 Changes resulting throughout the tree.
2285 2003-09-05 Angus Leeming <leeming@lyx.org>
2287 * sgml.h: ensure that the header file can be compiled stand-alone.
2288 * *.C: strip out redundant #includes. (320 in total.)
2290 2003-09-04 Angus Leeming <leeming@lyx.org>
2292 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2293 here (from getPackages).
2295 * debug.[Ch]: add a new EXTERNAL tag.
2297 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2299 * text2.C (cursorEnd): simplify
2301 (getColumnNearX): adjust
2303 * text.C (computeBidiTables): adjust
2306 * rowpainter.C (paintChars): adjust
2307 (paintSelection): adjust
2308 (paintChangeBar): adjust
2311 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2313 (numberOfSeparators): adjust
2315 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2321 * text3.C: Restricts the mouse click functionality
2322 of insets like bibtex, include, toc and floatlist to the visible
2323 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2324 up the dialogs. Cursor has to be in front of the inset (i.e.
2325 start of row) for this to function.
2327 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2329 * bufferview_funcs.C (currentState): output row information
2331 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2333 * bufferview_funcs.C (currentState): output paragraph position
2335 2003-09-04 Angus Leeming <leeming@lyx.org>
2337 * FloatList.h: move out #include "Floating.h".
2338 * LaTeX.h: move out #include "DepTable.h".
2339 * LyXAction.h: move out #include "funcrequest.h".
2340 * buffer.h: move out #include "author.h", "iterators.h".
2341 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2342 * lyx_main.h: move out #include "errorlist.h".
2343 * lyxfunc.h: move out #include "FuncStatus.h".
2344 * lyxtext: move out #include "lyxcursor.h".
2345 * paragraph_pimpl.h: move out #include "counters.h".
2347 2003-09-03 Angus Leeming <leeming@lyx.org>
2349 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2350 preamble_snippets list, enabling us to add snippets to the preamble
2351 only if the snippet was not there already.
2353 2003-09-04 Angus Leeming <leeming@lyx.org>
2355 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2357 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2359 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2362 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2364 * BranchList.C: point fix, earlier forgotten
2366 2003-09-02 Angus Leeming <leeming@lyx.org>
2368 * box.C (contains): renamed from 'contained' after a fantastic
2371 2003-09-02 John Levon <levon@movementarian.org>
2377 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2379 2003-09-02 John Levon <levon@movementarian.org>
2381 * text2.C: simplification of cursorEnd(), including partial
2384 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2386 * buffer.C (readFile): add a space
2388 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2390 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2392 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * buffer.C (readFile): new function, take a filename and a
2395 ParagraphList::iterator
2397 (readFile): adjust, make it private. don't use setStream, make
2398 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2399 always contain the filename.
2401 * BufferView.C (insertLyXFile): simplify and make it work for
2404 2003-08-30 John Levon <levon@movementarian.org>
2406 * Makefile.am: fix dist (from Kayvan)
2408 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * most files: change to use const Buffer refs
2412 2003-08-27 André Pönitz <poenitz@gmx.net>
2414 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2415 on top of ownerPar().
2417 2003-08-27 John Levon <levon@movementarian.org>
2419 * funcrequest.C: properly initialise POD members
2421 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2423 * lyxtext.h (top_y): move top_y from here
2428 * BufferView_pimpl.[Ch]: to here
2429 * frontends/screen.C:
2430 * insets/insettabular.C:
2431 * insets/insettext.C: adjust
2432 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2434 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2437 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2439 2003-08-26 André Pönitz <poenitz@gmx.net>
2441 * paragraph_func.[Ch] (outerPar): new function
2444 * paragraph_funcs.C:
2445 * paragraph_funcs.h:
2446 * paragraph_pimpl.C:
2447 * text2.C: remove Inset::par_owner
2449 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2454 * text2.C: eliminates the needFullRow/display() stuff
2455 altogether, putting the logic in metrics/draw in the insets.
2457 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2459 * text2.C (redoParagraphInternal, redoParagraphs):
2460 * text.C (redoParagraph): add a call to updateRowPositions at the
2461 end of each 'metrics-like' call. Remove all others.
2462 (getRow): remove the 'y-computing' version.
2463 (getRowNearY): do not compute nor return the real y. Solve the
2464 'y < 0' problem and simplify.
2466 2003-08-22 Angus Leeming <leeming@lyx.org>
2468 * *.[Ch]: clean-up of licence and author blurbs.
2469 Also move config.h out of a few .h files and into a few .C files.
2471 2003-08-22 André Pönitz <poenitz@gmx.net>
2473 * lyxrow.[Ch]: add x_ and *fill_ members
2478 * text2.C: adjust/remove prepareToPrint() calls
2480 2003-08-22 André Pönitz <poenitz@gmx.net>
2482 * lyxrow.[Ch]: add end_ member
2484 * lyxrow_funcs.C: use LyXRow::end_
2486 * lyxtext.h (singleWidth): add LyXFont parameter
2489 * text2.C: adjust LyXText::singleWidth() calls
2491 * text.C (redoParagraph): simplify row breaking logic
2494 2003-08-19 André Pönitz <poenitz@gmx.net>
2496 * funcrequest.C: initialize button_ member
2499 * rowpainter.[Ch]: interface consolidation
2501 2003-08-18 André Pönitz <poenitz@gmx.net>
2504 * BufferView_pimpl.C:
2506 * paragraph_funcs.C:
2508 * text3.C: remove LyXScreen::draw() and fitCursor calls
2510 * BranchList.h: remove spurious semicolons
2512 * MenuBackend.C: fix branchlist related crash
2514 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2522 * bufferparams.[Ch]:
2526 * text3.C: implements the 'branch inset'
2527 idea. This allows the output of various versions of a document
2528 from a single source version, selectively outputing or suppressing
2529 output of parts of the text.
2530 This implementation contains a 'branch list editor' in a separate
2531 tab of the document settings dialog. Branches are user definable
2532 and have a "display colour" to distinguish them on-screen.
2534 ColorHandler was somewhat cleaned up.
2535 (1) make possible a dynamically growing LColor list by allowing
2536 the graphic context cache to grow along (vector);
2537 (2) eliminate an IMHO unnecessary step in colour allocation.
2539 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2541 * BufferView_pimpl.C: compile fix
2543 2003-08-15 André Pönitz <poenitz@gmx.net>
2545 * rowpainter.C: remove extra metrics calls
2547 * lyxtext.h: merge the two constructors into a single one,
2548 pass reference to owner's par list
2550 * BufferView_pimpl.C:
2554 2003-08-15 André Pönitz <poenitz@gmx.net>
2556 * lyxrow_funcs.[Ch]:
2559 * paragraph_funcs.C:
2564 * text_funcs.C: split LyXText::rowlist_ into individual
2565 Paragraph::rows_ chunks
2568 * BufferView_pimpl.[Ch]:
2571 * text3.C: remove toggleSelection()
2573 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2575 * bufferlist.C: beautify two alerts (shorter text of buttons)
2576 * buffer.C: Remove redundant ' ' from message
2578 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2579 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2580 rename VALIGN_CENTER to VALIGN_MIDDLE
2582 2003-08-11 André Pönitz <poenitz@gmx.net>
2584 * lyxtext.h (getPar):
2585 * text.C: new function
2587 2003-08-11 André Pönitz <poenitz@gmx.net>
2590 * tracer.[Ch]: remove unneeded files
2592 * InsetList.[Ch]: remove resizeInsetsLyXText()
2597 * text3.C: merge insertParagraphs() and appendParagraph()
2598 remove breakAgain(), update()
2600 * BufferView_pimpl.[Ch]:
2601 * bufferview_funcs.[Ch]:
2605 * tabular.C: adjust after text & InsetList changes.
2607 2003-08-08 André Pönitz <poenitz@gmx.net>
2609 * text.C (insertChar, backspace): replace rowlist fiddling
2610 with rebreak of full par
2613 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2614 checkParagraph, updateInset): removed
2616 2003-08-07 André Pönitz <poenitz@gmx.net>
2619 * text3.C: merge some LFUN handlers, remove dead code
2621 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2623 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2625 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2627 * text2.C (DEPM): fix part of bug 1255 and 1256
2629 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2631 * BufferView_pimpl.C (workAreaDispatch): change to use
2632 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2633 that are no mouse related.
2635 2003-08-05 André Pönitz <poenitz@gmx.net>
2638 * BufferView_pimpl.[Ch]:
2639 * bufferview_funcs.C:
2641 * text3.C: rip out "deep update"
2643 * textcursor.[Ch] (last_sel_cursor): remove unused member
2645 2003-08-04 André Pönitz <poenitz@gmx.net>
2648 * BufferView_pimpl.[Ch]:
2649 * ParagraphParameters.C:
2650 * bufferview_funcs.C:
2656 * text3.C: replace "complicated" BufferView::update(...) calls with
2659 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2661 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2663 * Makefile.am (lyx_SOURCES): add paper.h
2665 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2667 * Makefile.am: move things around so that both lyx-qt and
2668 lyx-xforms can be built (according to --with-frontend). Then lyx
2669 is a symbolic link to lyx-[firstfrontend]
2671 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2673 * Always use std::endl with lyxerr
2675 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2677 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2679 2003-08-01 André Pönitz <poenitz@gmx.net>
2682 * BufferView_pimpl.[Ch]:
2684 * text3.C: merge BufferView::repaint() and BufferView::update()
2686 2003-08-01 José Matos <jamatos@lyx.org>
2688 * buffer.[Ch]: file_format is no longer a buffer data element.
2690 2003-08-01 André Pönitz <poenitz@gmx.net>
2695 * text2.C: make redoParagraph more independent of current cursor
2697 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2699 * text2.C: remove unneeded members
2701 2003-07-30 André Pönitz <poenitz@gmx.net>
2703 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2705 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2706 create a single function...
2708 * paragraph_funcs.C (moveItem): ... here.
2711 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2713 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2715 * LColor.[Ch]: Add comment and greyedout logical colors.
2717 2003-07-30 André Pönitz <poenitz@gmx.net>
2719 * tabular.C: don't use Assert too heavily. This crashes where it
2722 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2724 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2725 is disabled (bug 1232)
2727 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2729 * factory.C: limited 'arg' scope
2731 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2733 * factory.C: fixed Note submenu issues
2735 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2737 * factory.C: submenu for Note/Comment/Greyedout
2739 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2742 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2744 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2747 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2748 greyedout. Patch provided by Jürgen Spitzmüller.
2750 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2752 * kbmap.C (read): fix error message when reading bind files
2754 2003-07-29 Angus Leeming <leeming@lyx.org>
2756 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2757 certainly does not do what it purports to do. I am doing it, and
2758 us, a favour by killing it.
2760 2003-07-28 José Matos <jamatos@lyx.org>
2762 * buffer.C (readBody, do_writeFile):
2763 * paragraph.C(readParagraph): \end_document replaces \the_end.
2765 2003-07-29 André Pönitz <poenitz@gmx.net>
2768 * BufferView_pimpl.[Ch]:
2772 * textcursor.[Ch]: remove toggleToggle & Co
2774 2003-07-28 José Matos <jamatos@fep.up.pt>
2776 * buffer.C (readParagraph):
2777 * params_func (readParToken, readParagraph):
2778 * paragraph.C (write): \layout -> \begin_layout.
2780 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2782 * lyxlex_pimpl.C (setFile): clean up slightly.
2784 * bufferparams.h: add compressed var
2786 * buffer_funcs.C (readFile): adjust for LyXLex change
2787 (newFile): ditto + simplify
2789 * buffer.C (writeFile): handle writing of compressed files
2791 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2792 Check if the file is compressed and set a bufferparm if so.
2794 * Makefile.am (lyx_LDADD): remove explicit -lz
2796 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2798 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2799 makeDocBookFile): put the real LyX version in the first line of
2803 * version.C.in: remove lyx_docversion
2805 * tabular.C (write_attribute): add a template-based version to
2806 write enums properly
2808 2003-07-28 André Pönitz <poenitz@gmx.net>
2813 * text3.C: use doubles again for x-coordinates. They are needed.
2815 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2817 * messages.C (getLocaleDir): use lyx_localedir()
2819 * lyxlex_pimpl.C (setFile): compress stuff
2821 * buffer.C (writeFile): add some compression stuff
2822 (do_writeFile): new func, dont call expliti close... will this
2825 * Makefile.am (lyx_LDADD): add -lz
2827 2003-07-28 José Matos <jamatos@fep.up.pt>
2829 * buffer.C: increment file format.
2830 * paragraph_funcs (readParagraph, readParToken):
2831 * paragraph.C (readParagraph): add \end_layout.
2833 2003-07-27 Angus Leeming <leeming@lyx.org>
2835 * Makefile.am: remove special casing for configure-time setting of
2836 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2838 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2839 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2841 2003-07-26 André Pönitz <poenitz@gmx.net>
2843 * paragraph_func.[Ch]:
2844 * paragraph.C (realizeFont): inline it whereever it is used
2849 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2852 2003-07-26 André Pönitz <poenitz@gmx.net>
2856 * text2.C: get rid of LyXText::need_break_row
2858 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * toc.[Ch]: put namespace toc inside namespace lyx
2862 * MenuBackend.C (expandToc2): adjust for lyx::toc
2865 * lyxfunc.C (dispatch): adjust for lyx::find
2867 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2868 lyx::find instead. Reorganize a bit.
2869 (LyXReplace): rename to replace
2870 (LyXFind): rename to find
2872 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2875 2003-07-26 André Pönitz <poenitz@gmx.net>
2877 * text.C (setHeightOfRow): restrict scope of temporary variable
2879 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2880 code (never has been used?)
2882 2003-07-27 Asger Alstrup <alstrup@local>
2884 * text.C (fill): Optimise algorithm to exploit that we can reuse
2885 the LyXFont for many characters.
2886 (setHeightOfRow): Same thing.
2887 (rowBreakPoint): Same thing.
2889 2003-07-26 Asger Alstrup <alstrup@local>
2891 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2893 * text.C (singleWidth): Spurious font copying in hot-spot
2894 singleWidth avoided. Reorder tests for arabic for efficiency.
2896 * text.C (fill): handle empty paragraphs better.
2898 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2901 * encoding.h: add includes
2903 * lyxrc.C: remove reading of bind files
2905 * lyx_main.C (init): setup bindings and menus only if we have a
2908 * kbmap.C (read): new method. Do the actual reading of bind
2911 * converter.C (dvipdfm_options):
2914 (output): adapt PAPER_* enums.
2916 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2918 * bufferparams.h: remove paper-related enums from there
2920 * paper.h: New file. A trivial header file to hold paper-related
2921 enums. It should later expand to contain many paper-related
2924 * lyxrc.C: declare extern displayTranslator
2926 2003-07-27 José Matos <jamatos@fep.up.pt>
2928 * tabular.[Ch] (linuxdoc): add support for tables and figures
2931 2003-07-27 José Matos <jamatos@fep.up.pt>
2933 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2934 consistency in both functions.
2935 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2937 2003-07-26 Asger Alstrup <alstrup@local>
2939 * rowpainter.C (paintRows): Change algorithm to work directly on
2940 the insets rather than asking every character in the document
2941 whether its an inset.
2943 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2945 * buffer.C (openFileWrite): factorize some code
2947 2003-07-26 Angus Leeming <leeming@lyx.org>
2950 * lyx_main.[Ch]: replace occurances of system_tempdir with
2953 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2955 * rename Inset to InsetOld
2957 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2959 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2960 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2961 which I think is a bit clearer. EDIT is gone, since it was
2962 premature optimisation, and broken for mathed anyway.
2963 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2964 with cursor positioning in insets as well (math insets still do not
2965 work, but that's a different story anyway.) It mysteriously
2966 crashes sometimes with undo in the first paragraph, but I'm fairly
2967 confident that this is a compiler bug.
2969 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * paragraph.C (Paragraph): adjust for new clone return type
2973 (copyIntoMinibuffer): ditto
2975 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2977 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2978 by not having a special case, and always doing a full rebreak of
2979 the document after undo.
2981 2003-07-23 Angus Leeming <leeming@lyx.org>
2983 * factory.C (createInset): InsetExternal::setParams now takes a
2986 2003-07-23 Angus Leeming <leeming@lyx.org>
2988 * factory.C (createInset): changed interface to the external and
2989 graphics mailers' string2params functions.
2991 2003-07-23 Angus Leeming <leeming@lyx.org>
2993 * factory.C (createInset): pass a
2994 Buffer const * parameter to InsetExternalMailer's string2params.
2996 2003-07-22 John Levon <levon@movementarian.org>
2998 * Thesaurus.h: include the right aiksaurus header
3000 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3002 * MenuBackend.C (expand): check menu shortcuts unconditionally
3004 2003-07-21 Angus Leeming <leeming@lyx.org>
3006 * factory.C (createInset): pass a
3007 buffer_path parameter to InsetGraphicsMailer's string2params.
3009 2003-07-21 Angus Leeming <leeming@lyx.org>
3011 * BufferView_pimpl.C (buffer):
3014 * lyxfunc.C (dispatch):
3015 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3016 rather than the grfx shortcut.
3018 2003-07-21 André Pönitz <poenitz@gmx.net>
3020 * rowpainter.C: remove unused variables
3023 * tabular_funcs.h: move to tabular.C
3024 * Makefile.am: adjust
3026 * tabular.[Ch]: basic optical cleaning
3028 * author.h: pass references, not values
3030 2003-07-18 André Pönitz <poenitz@gmx.net>
3038 * text3.C: two-phase drawing for InsetText and InsetTabular
3039 some float -> int changes.
3041 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3043 * lyx_main.C: fix the fix
3045 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3047 * lyx_main.C: fix a crash in batch mode if no files specified
3050 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3052 * format.[Ch] (papersize): moved to BufferParams
3053 * converter.[Ch] (dvips_options): moved to BufferParams
3054 (dvipdfm_options): moved to anon namespace
3055 * bufferparams.[Ch]: added above functions.
3057 2003-07-17 André Pönitz <poenitz@gmx.net>
3061 * text2.C: don't call inset->update() anymore
3063 * metricsinfo.[Ch]: add convenience constructor
3065 2003-07-16 André Pönitz <poenitz@gmx.net>
3070 * text2.C: replace the LyXCursor::irow_ member with
3071 on-demand computation of the value
3073 2003-07-16 John Levon <levon@movementarian.org>
3075 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3077 2003-07-15 André Pönitz <poenitz@gmx.net>
3080 * text2.C: remove no more needed refresh_row
3082 2003-07-15 André Pönitz <poenitz@gmx.net>
3087 * text3.C: refresh_status tristate -> need_update bool
3089 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3091 * lyxtext.h (init): remove reinit argument (act as if always true)
3092 * text2.C: adjust to that
3094 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3096 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3097 * text3.C: use it to delete selections in some cases
3098 (bugs 441, 673, 702, 954).
3100 2003-07-14 André Pönitz <poenitz@gmx.net>
3102 * rowpainter.[Ch]: reduce interface
3104 2003-07-14 André Pönitz <poenitz@gmx.net>
3106 * BufferView_pimpl.C:
3107 * text2.C: adjust after removing unused BufferView * argument
3109 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3111 * text2.C (init): fix a crash fired on resize
3113 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3115 * buffer.[Ch]: added new closing signal
3116 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3117 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3118 BufferView::Pimpl via the closing the signal
3120 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3122 * buffer.[Ch]: take out all bv-related from buffer
3124 * BufferView_pimpl.[Ch]: connect to new signals
3125 * CutAndPaste.C: removed useless asserts
3126 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3129 * lyxfunc.C: moved view-related funciontality from vc here
3130 * paragraph.C: removed outdated comments
3133 2003-07-10 André Pönitz <poenitz@gmx.net>
3135 * BufferView_pimpl.C:
3139 * text2.C: remove InsetText::InnerCache, clean up consequences
3141 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3143 * ispell.C: fix two typos in error messages
3145 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3147 * Extend Note inset to other forms of annotation like Comment
3148 and Greyedout. Right button click gives dialog.
3150 Files modified or added (+):
3154 * ControlNote.[Ch] +
3156 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3157 frontends/controllers
3161 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3163 * aspell.C: add missing namespace lyx::support
3165 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3167 * BufferView.[Ch] (newFile): Add
3168 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3169 * LaTeX.[Ch] (message): added this signal and use it
3170 * buffer.[Ch] (busy, message): added these signals and use them
3171 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3175 * importer.C: use buffer signals instead of direct bv calling
3176 * lyx_cb.[Ch] (ShowMessage): removed
3179 * paragraph_funcs.C:
3180 * text2.C: use buffer signals
3182 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3184 * introduce namespace lyx::graphics
3186 2003-07-02 André Pönitz <poenitz@gmx.net>
3188 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3190 2003-07-01 André Pönitz <poenitz@gmx.net>
3197 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3198 text*.C to text_func.C
3200 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * introduce namespace lyx::support
3204 2003-06-30 André Pönitz <poenitz@gmx.net>
3209 * text.C: re-enable --with-included-string
3211 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * textcursor.C: add <config.h>
3215 * text.C (getWord): remove const from word_location arg
3217 * lyxvc.C (getLogFile): fix const type order
3219 * lyxtext.h: remove const from word_location arg, add arg name
3221 * lyxlayout.h: currect type on labeltype.
3223 * importer.C: correct \file
3225 * converter.C (intToFormat): use std:: on ret val, ws changes
3227 * bufferlist.h: correct \file
3229 * buffer.C (makeLinuxDocFile): fix const type order
3230 (makeDocBookFile): ditto
3231 (fillWithBibKeys): use std:: on stdlib args.
3233 * CutAndPaste.C: fix authors.
3234 (availableSelections): use std:: on return vector
3236 2003-06-27 André Pönitz <poenitz@gmx.net>
3238 * BufferView_pimpl.C:
3239 * bufferview_funcs.C:
3247 * text3.C: remove LyXCursor::row_ member
3250 * text.C: rename fullRebreak() to partialRebreak() and implement
3251 a fullRebreak() that really bereks fully
3253 * textcursor.h: new struct for cursor-related data
3255 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3257 * lyx_main.C (LyX): get full path of document loaded on the
3260 2003-06-26 André Pönitz <poenitz@gmx.net>
3262 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3263 remove unused/broken operator>,<,>=.
3265 * text.C: remove only use of broken operator<= in an Assert().
3267 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3269 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3270 moved errorlist_.clear to showErrorList
3272 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3274 * converter.C (scanLog, runLaTeX):
3275 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3276 move the bv->showErrorList call to the callers
3277 * lyxfunc.C: i.e. here...
3279 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3280 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3281 namespace, the second to...
3282 * buffer_funcs (BufferFormat, parseErrors): added
3283 * errorlist.C (ErrorList(TeXErrors const &)): removed
3285 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3287 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3289 2003-06-24 "Garst R. Reese" <reese@isn.net>
3293 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3295 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3297 * version.C.in: change docversion to 1.4
3299 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3301 * buffer.C: fix a bug just introduced
3303 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3305 * buffer.[Ch]: added the parseError signal and use it, removed
3307 * BufferView.[Ch] (addError): moved to ...
3308 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3309 to the Buffer::parseError signal to catch (guess what) parse errors
3310 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3312 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3314 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3315 ability to create a buffer and to return an existing one from
3316 the list. Moved these functions to...
3317 * buffer_funcs.[Ch]: added
3318 * BufferView.[Ch] (loadLyXFile): added
3319 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3320 job removed from bufferlist::loadLyXFile.
3321 * buffer.C (setReadOnly): make it work without view
3322 (i.e added an if (users))
3324 2003-06-19 Angus Leeming <leeming@lyx.org>
3327 * LyXAction.C (init):
3328 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3329 with LFUN_DIALOG_SHOW <name> <data>.
3331 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3333 * CutAndPaste.C (availableSelections): small compilation fix for
3334 ancient (gcc 2.9x) compilers
3336 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * text3.C (cursorNext): add tmp var
3340 * text2.C (updateCounters): for function calling out of for clause
3341 (replaceSelectionWithString): ditto
3342 (insertStringAsParagraphs): ditto
3343 (getColumnNearX): add tmp var
3344 (setCursorFromCoordinates): add tmp var
3345 (cursorDownParagraph): add tmp var
3346 (deleteEmptyParagraphMechanism): add tmp var
3348 * text.C (insertChar): add tmp var
3350 * rowpainter.C (paintDepthBar): add tmp var
3352 * CutAndPaste.C (availableSelections): potentially check all
3353 paragraphs in a cut to fill the shown strings.
3355 2003-06-18 André Pönitz <poenitz@gmx.net>
3357 * kbmap.[Ch]: use vector<> instead of list<>
3359 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3361 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3362 pasteSelection with index
3364 * text2.C (pasteSelection): modify, call pasteSelection with index
3366 * paragraph.C (asString): reimplement version with no interval to
3367 call the one with interval.
3369 * lyxtext.h: add index arg to pasteSelection
3371 * MenuBackend.C (MenuItem): handle PasteRecent
3372 (Menu::read::Menutags): add md_pasterecent
3374 (expandPasteRecent): new function
3377 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3379 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3381 (availableSelections): new function
3383 2003-06-17 Angus Leeming <leeming@lyx.org>
3385 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3387 2003-06-17 Angus Leeming <leeming@lyx.org>
3390 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3392 * lyxfunc.C (dispatch): invoke it.
3394 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3396 * iterators.C (operator++, ParPosition): reintroduce some
3397 const_cast for the benefit of older compilers.
3399 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3401 * text3.C (dispatch): do not modify clipboard when doing
3402 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3403 LFUN_DELETE_SKIP on a selection selection
3405 2003-06-16 André Pönitz <poenitz@gmx.net>
3411 * tabular.[Ch]: IU of clone() and getLabelList();
3413 2003-06-13 André Pönitz <poenitz@gmx.net>
3415 * tabular.h: compactification
3417 2003-06-12 André Pönitz <poenitz@gmx.net>
3421 * tabular_funcs.h: some renaming plus whitespace
3423 2003-06-12 André Pönitz <poenitz@gmx.net>
3426 * BufferView_pimpl.C:
3432 * toc.C: Return a Paragraph & for ParIterator::operator*()
3434 2003-06-11 John Levon <levon@movementarian.org>
3438 * ToolbarBackend.C: add "Toolbars" section and
3441 2003-06-10 Angus Leeming <leeming@lyx.org>
3444 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3446 * lyxfunc.C (dispatch): invoke it.
3448 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * main.C: protect <ios> with HAVE_IOS
3451 (main): protect sync_with_stdio with HAVE_IOS
3453 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3455 * text2.C (cutSelection): adjust
3456 (pasteSelection): adjust
3458 * messages.C: handle get of empty string
3460 * main.C (main): use sync_with_stdio(false)
3462 * lyxfunc.C (dispatch): adjust
3464 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3465 (WriteAs): remove unneeded BufferView arg.
3467 * bufferparams.h: use correct types on papersize, papersize2 and
3470 * bufferparams.C (readToken): adjust for type
3471 (writeLaTeX): add missing cases to switch.
3473 * bufferlist.C (quitWriteBuffer): adjust
3476 * buffer.C (asciiParagraph): remove some commented code.
3478 * CutAndPaste.C: remove current_view extern variable.
3479 (cutSelection): add BufferParams arg.
3480 (eraseSelection): add BufferParams arg.
3481 (pasteSelection): add Buffer const & arg
3483 2003-06-07 John Levon <levon@movementarian.org>
3486 * paragraph_funcs.C:
3487 * paragraph_pimpl.C:
3491 * paragraph.C: allow InsetERT to freely space lines,
3492 and some consolidation of code
3494 2003-06-06 José Matos <jamatos@fep.up.pt>
3496 * buffer.C (makeDocBookFile): fix bug #821
3498 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3500 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3502 2003-06-04 Angus Leeming <leeming@lyx.org>
3504 * buffer.C: bump format to 224.
3506 2003-06-05 André Pönitz <poenitz@gmx.net>
3508 * text2.C (redoParagraphs): remove two const_cast<>
3510 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3512 * ParagraphList.h: remove last remnants of NO_STD_LIST
3514 2003-06-03 Angus Leeming <leeming@lyx.org>
3516 * factory.C (createInset): small change to the way InsetExternal's params
3519 2003-06-04 André Pönitz <poenitz@gmx.net>
3521 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3523 * paragraph_pimpl.h:
3524 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3526 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3528 * undo_funcs.C: make some simple cases of undo work again
3530 2003-06-03 John Levon <levon@movementarian.org>
3532 * ispell.C: HPUX doesn't have sys/select.h
3535 2003-06-03 John Levon <levon@movementarian.org>
3537 * CutAndPaste.C: update tabular and include inset
3542 * paragraph.C: remove owningBuffer(), don't pass Buffer
3545 * factory.C: insetGraphicsParams changed
3547 2003-06-02 John Levon <levon@movementarian.org>
3553 * text3.C: remove insetparent
3555 2003-06-02 John Levon <levon@movementarian.org>
3558 * buffer.C: fix inset_iterator.end(), move out of line
3561 2003-06-01 John Levon <levon@movementarian.org>
3563 * text3.C: use a proper cut/paste when doing inset
3564 insert (from Jürgen Spitzmüller)
3566 2003-06-01 John Levon <levon@movementarian.org>
3568 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3570 2003-05-30 André Pönitz <poenitz@gmx.net>
3572 * rowpainter.C: unify second drawing phase
3574 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * trans_mgr.C: remove one case of current_view
3578 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3580 * paragraph_funcs.h: remove paragraph.h include
3582 * paragraph.h: delete NO_STD_LIST stuff
3584 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3586 * buffer.h: remove paragraph.h include
3588 * ParagraphList.C: delete file
3590 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3592 * toc.C (getTocList): adjust
3594 * paragraph_pimpl.C (validate): adjust
3596 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3598 * paragraph.C (Paragraph): adjust
3599 (getPositionOfInset): use const_iterator, adjust
3600 (bibitem): use const_iterator, adjust
3601 (setInsetOwner): adjust
3603 * iterators.C (operator++): adjust
3605 * InsetList.[Ch]: Replace selfmade iterator with standard
3606 vector::iterator also introduce const_iterator. Remove getPos,
3607 getInset and setInset from InsetTable. Adjust accordingly.
3609 * BufferView.C (lockInset): adjust
3610 (ChangeInsets): adjust
3612 * tabular.[Ch]: delete commented same_id functions
3614 2003-05-28 John Levon <levon@movementarian.org>
3616 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3618 2003-05-28 André Pönitz <poenitz@gmx.net>
3620 * metricsinfo.[Ch]: remove 'fullredraw' member
3622 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3624 * lyxtextclass.C (operator): remove caching.
3626 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * text2.C (cursorBottom): adjust
3631 (setCounter): use ParagraphList::find, adjust
3633 * text.C (workWidth): use ParagraphList::find, adjust
3635 * lyxcursor.C (LyXCursor): adjust
3637 * buffer.C (inset_iterator): adjust
3639 * ParagraphList.h: make iterator(value_type) private, make
3640 ParagraphList a friend of iterator.
3642 * ParagraphList.C (find): new function
3644 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3646 2003-05-27 André Pönitz <poenitz@gmx.net>
3648 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3650 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3652 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3654 2003-05-26 John Levon <levon@movementarian.org>
3656 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3658 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * remove same_id from function signatures, adjust.
3662 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3666 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3668 * paragraph.C (Paragraph): get rid of same_ids parameter
3670 * ParagraphList.C (insert): adjust
3673 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3675 * paragraph_funcs.C (breakParagraph): adjust
3676 (breakParagraphConservative): adjust
3678 * buffer.C (readParagraph): adjust
3680 * ParagraphList.C (insert): take a reference instead of a pointer
3683 * paragraph.[Ch] (id): new function
3685 * bufferlist.C (newFile): adjust
3687 * ParagraphList.C (ParagraphList): adjust
3689 (push_back): take a reference instead of a pointer.
3691 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3693 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3696 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3697 set else use old code.
3699 * ParagraphList.C: remove all NO_NEXT code and only compile this
3700 code of NO_STD_LIST is set.
3702 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3704 * BufferView_pimpl.C:
3714 * graphics/GraphicsConverter.C:
3715 * graphics/PreviewLoader.C: header adjustment
3717 2003-05-23 Angus Leeming <leeming@lyx.org>
3719 * LaTeXFeatures.[Ch] (useBabel): new method.
3720 * bufferparams.C (writeLaTeX): use it.
3722 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3724 * ParagraphList.h (set): remove unused function.
3726 2003-05-23 André Pönitz <poenitz@gmx.net>
3729 * BufferView_pimpl.C:
3733 * undo_funcs.C: setUndo reworked
3735 * iterators.[Ch]: add access to topmost ParagraphList
3737 * lyxtext.[Ch] (workWidth): add a const
3739 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3741 * texrow.[Ch] (increasePos): remove function
3742 * exporter.C (export): removed unused var and outdated comment
3744 2003-05-23 Angus Leeming <leeming@lyx.org>
3746 * latexrunparams.h: rename fragile as moving_arg.
3747 * paragraph.C (simpleTeXOnePar): ditto.
3748 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3750 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3754 (textUndoOrRedo): comment out a currently unused var.
3756 * paragraph.h (NO_NEXT): enable NO_NEXT
3758 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3760 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3762 * exporter.C (Export): adjust for removeAutoInsets removal.
3764 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3766 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3768 * BufferView.[Ch] (removeAutoInsets): delete function
3770 2003-05-22 Angus Leeming <leeming@lyx.org>
3772 * latexrunparams.h: add a free_spacing variable.
3774 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3775 to pass moving_arg, as the data is stored in runparams.fragile.
3777 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3778 to Inset::latexOptional or to simpleTeXOnePar.
3780 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3781 free_spacing arg to Inset::latexOptional.
3783 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3786 2003-05-22 Angus Leeming <leeming@lyx.org>
3788 * latexrunparams.h: add fragile and use_babel variables.
3790 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3791 * buffer.C (makeLaTeXFile): store this returned value in
3792 runparams.use_babel, thus passing it to the inset::latex methods.
3794 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3795 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3797 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3798 longer has a fragile arg, as it is stored in runparams.fragile.
3800 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3801 moving_arg parameter as the data is stored in runparams.fragile.
3803 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3804 a fragile parameter as the data is stored in runparams.fragile.
3806 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3810 2003-05-22 Angus Leeming <leeming@lyx.org>
3812 * latexrunparams.h: add a 'bool nice' which defaults to false.
3814 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3815 now encapsulated within runparams.
3817 * bufferlist.C (updateIncludedTeXfiles):
3818 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3820 2003-05-22 Angus Leeming <leeming@lyx.org>
3822 * latexrunparams.h: new file containing struct LatexRunParams.
3823 * Makefile.am: add new file.
3825 * LaTeX.[Ch] (c-tor, run):
3826 * buffer.[Ch] (makeLaTeXFile):
3827 * bufferlist.[Ch] (updateIncludedTeXfiles):
3828 * converter.C (convert, scanLog):
3829 * converter.[Ch] (runLaTeX):
3830 * exporter.C (Export):
3831 * paragraph.[Ch] (simpleTeXOnePar):
3832 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3833 * paragraph_funcs.[Ch] (latexParagraphs):
3834 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3835 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3836 pass around a LatexRunParams parameter.
3838 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * paragraph.[Ch]: remove unused constructor
3842 * ParagraphList.C (erase): new function, taking two iterators
3844 2003-05-22 André Pönitz <poenitz@gmx.net>
3846 * undo_funcs.C: remove duplicated code
3848 * iterator.[Ch]: operator=
3850 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * tabular.C (SetMultiColumn): ws changes
3854 * rowpainter.C (paintFirst): get rid of a ->previous
3856 * lyx_cb.C (getPossibleLabel): parlist simplification
3858 * BufferView.C (ChangeInsets): simplify slightly.
3860 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3862 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3863 * lfuns.h: new LFUN_SPACE
3864 * lyxfunc.C: protected space has a new lfun
3865 * paragraph_funcs.C: read new space insets
3867 * factory.C: handle new space insets
3869 2003-05-22 André Pönitz <poenitz@gmx.net>
3872 * BufferView_pimpl.C:
3875 * undo_funcs.C: return a ParIterator from getParFromID.
3877 * iterators.[Ch]: add two const's
3879 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * toc.C (getTocList): adjust
3883 * iterators.[Ch]: rework for parlist
3885 * buffer.C (par_iterator_begin): adjust
3886 (par_iterator_end): adjust
3888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3890 * BufferView.C (removeAutoInsets): adjust
3891 (ChangeInsets): adjust
3893 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3895 * text.C (top_y): fix bug 1110
3897 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3899 * errorlist.[Ch]: added
3902 * BufferView_pimpl.C:
3903 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3906 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * Makefile.am: ensure that lyx is relinked upon changes to the
3909 various "convenience" libs.
3911 2003-05-20 Angus Leeming <leeming@lyx.org>
3913 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3914 files are compiled in alphabetical order again.
3916 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3918 2003-05-19 Angus Leeming <leeming@lyx.org>
3920 * gettext.[Ch]: remove "char const * _(char const *)".
3922 2003-05-19 André Pönitz <poenitz@gmx.net>
3924 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3933 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3935 2003-05-19 André Pönitz <poenitz@gmx.net>
3939 * lyxtextclass.[Ch]:
3941 * paragraph_funcs.[Ch]:
3943 * text3.C: more insetenv work
3945 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3947 * ParagraphParameters.C (params2string): small bug fixed
3949 2003-05-16 André Pönitz <poenitz@gmx.net>
3952 * bufferview_funcs.C: patch from Kornel Benko to prevent
3953 crash when _(...) is called twice in a statement
3955 2003-05-16 André Pönitz <poenitz@gmx.net>
3962 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3964 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3966 * lyx_main.C (init): remove spurious static_cast
3968 2003-05-14 André Pönitz <poenitz@gmx.net>
3970 * BufferView.C: fix format string
3972 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3974 * BufferView.[Ch] (insertErrors): removed
3975 * BufferView.[Ch] (showErrorList): added
3976 * buffer.C (runChkTeX):
3977 * converter.C (scanLog): call showErrorList instead of inserterrors
3979 2003-05-13 André Pönitz <poenitz@gmx.net>
3981 * BufferView_pimpl.C:
3983 * bufferview_func.C:
3990 * tabular_funcs.h: tostr() from its own header
3992 * ParagraphParameters.C:
3997 * text3.C: STRCONV()
3999 2003-05-12 André Pönitz <poenitz@gmx.net>
4002 * BufferView_pimpl.C:
4006 * ParagraphParameters.C:
4010 * bufferview_funcs.C:
4023 * paragraph_funcs.C:
4027 * text3.C: boost::format -> bformat all over the place
4030 2003-05-09 André Pönitz <poenitz@gmx.net>
4032 * LColor.[Ch]: Pimpl the #include <map> away
4034 2003-05-09 John Levon <levon@movementarian.org>
4036 * bufferlist.C: never remove emergency saves
4038 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * Makefile.am: better lib building
4042 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4046 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4047 (simpleTeXSpecialChars): adjust
4048 (simpleTeXSpecialChars): adjust
4049 * paragraph.C (simpleTeXOnePar): adjust
4050 * buffer.C (makeLaTeXFile): adjust
4052 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4054 * text2.C (changeDepth): parlist cleanup
4055 (getColumnNearX): ditto
4057 * rowpainter.C (getLabelFont): parlist cleanup
4059 * bufferlist.C (newFile): parlist cleanup
4061 * CutAndPaste.C (eraseSelection): parlist cleanup
4063 * BufferView_pimpl.C (trackChanges): parlist cleanup
4066 * BufferView.C (lockInset): parlist cleanup.
4067 (ChangeInsets): ditto
4069 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * CutAndPaste.h: Update file header.
4073 * CutAndPaste.C: Update file header.
4074 Store the parts cut out of the Document in a limited_stack.
4075 (copySelection): adjust
4076 (pasteSelection): new function, takes the index in the limited stack.
4077 (nrOfParagraphs): adjust
4078 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4079 simplify error inset insertion.
4080 (checkPastePossible): adjust
4082 2003-05-06 John Levon <levon@movementarian.org>
4084 * text2.C: don't cast wrap inset to float
4086 2003-05-05 André Pönitz <poenitz@gmx.net>
4089 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4091 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4092 few naked Paragraph *.
4094 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4096 * bufferparams.C: Output warning if a document with missing
4097 TeX document class is loaded
4098 * exporter.C: Disable TeX exports if the document class is missing
4101 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4102 isTeXClassAvailable()
4104 2003-05-03 John Levon <levon@movementarian.org>
4107 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4108 explicit cursor show/hide
4110 * BufferView_pimpl.h:
4111 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4112 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4114 * lyxfunc.C: hide cursor before dispatching.
4119 * text3.C: remove explicit cursor hides
4121 2003-05-02 André Pönitz <poenitz@gmx.net>
4123 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4126 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4129 * text2.C: tiny whitespace
4131 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * undo_funcs.C: almost only ws changes.
4135 * ParagraphList.C (splice): just return if pl is empty.
4137 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4139 * ParagraphList.C (splice): new function.
4141 * CutAndPaste.C (pasteSelection): use it
4143 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * CutAndPaste.C (pasteSelection): remove the last next and
4146 previous from this file.
4148 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * CutAndPaste.C (pasteSelection): more clean up, user proper
4151 ParagraphList functions for pasteing.
4153 * ParagraphList.C (insert): new function, three arg insert
4155 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * ParagraphList.C (insert): new function, three arg insert
4159 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4162 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4166 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4170 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4172 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4173 (copySelection): clean up a bit.
4174 (pasteSelection): use make_pair
4176 * ParagraphList.C (ParagraphList): implement copy constructor
4177 (operator=): implement, base on copy constructor.
4180 * paragraph.C (erase): return a bool
4182 * paragraph_pimpl.C (erasePos): remove function, move contents...
4183 (erase): ... here. Return a bool.
4184 (erase): call erase instead of erasePos.
4186 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4188 * ParagraphList.h: define PitPosPair
4189 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4190 ParagraphList, fix a bug on pasting multiple pars
4191 * text2.C: change interface to C&P
4193 2003-04-30 André Pönitz <poenitz@gmx.net>
4195 * undo_func.C: revert part of yesterday's patch 2
4197 2003-04-30 John Levon <levon@movementarian.org>
4199 * LColor.C: s/tabular/table/
4201 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * text3.C (dispatch): do not convert iterator -> pointer
4204 * undo_funcs.C (setCursorParUndo): ditto
4205 * text_funcs.C (transposeChars): ditto
4207 * text2.C (setLayout): ws changes only
4209 * text.C (breakParagraph): do not convert iterator -> pointer
4211 (acceptChange): ditto
4212 (rejectChange): ditto
4217 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4220 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4222 * text3.C (gotoInset): YABG (yet another bad getChar)
4224 2003-04-29 André Pönitz <poenitz@gmx.net>
4226 * paragraph.h: make operator= private unimplemented as long as
4229 * ParagraphList.C: whitespace
4232 * paragraph_pimpl.[Ch]:
4233 * paragraph_funcs.C:
4235 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4238 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4240 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4242 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4243 * paragraph.[Ch] (erase):
4244 * paragraph_pimpl.[Ch] (erase): change return type and value
4245 * text2.C (cutSelection): some rework
4247 2003-04-28 John Levon <levon@movementarian.org>
4249 * bufferlist.C: changes for unsaved changes dialog
4251 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * bufferlist.C (newFile): set language (messages_) for new
4256 * buffer.C (readFile): ws changes only.
4258 2003-04-28 André Pönitz <poenitz@gmx.net>
4263 * BufferView_pimpl.C:
4264 * BufferView.C: getParFromID related ParagraphList::iterator changes
4266 2003-04-28 André Pönitz <poenitz@gmx.net>
4268 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4271 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4273 * messages.C: remove one more localedir class variable.
4275 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * messages.C (getLocaleDir): singleton generation function
4279 (Messages): add a default constructor.
4281 * main.C (main): do not setup localedir here, do not call
4284 * gettext.C (_): use it.
4285 (gettext_init): delete funciton
4287 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * gettext.C (getLyXMessages): new singleton generating function.
4291 * buffer.C (updateDocLang): adjust
4293 * Makefile.am (messages.o): add target
4294 (main.o): remove target
4296 2003-04-27 John Levon <levon@movementarian.org>
4301 * lyxvc.C: specify cancel button in Alert::prompt
4303 2003-04-26 John Levon <levon@movementarian.org>
4308 * LyXAction.C: add LFUN_INSET_SETTINGS
4310 * lyxfunc.C: don't enable tabular-feature when there's
4311 just any locking inset
4313 2003-04-26 John Levon <levon@movementarian.org>
4315 * bufferlist.C: re-add Cancel to buffer close question
4317 * lyxfunc.C: fix import UI a bit
4319 2003-04-25 John Levon <levon@movementarian.org>
4321 * gettext.C: remove the broken asserts for now
4323 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * messages.C: make case where setlocale cannot comply work better.
4327 * buffer.C (updateDocLang): new function
4328 (changeLanguage): use it
4331 * text2.C (setCounter): use B_ a bit.
4333 * lyxlayout.C (Read): be sure to trim the label strings.
4335 * messages.C (Messages): fix typo in comment
4337 * buffer.C (readFile): set message_ after file is loaded.
4338 (makeDocBookFile): remove double return
4339 (changeLanguage): reset message_ upon language change.
4340 (B_): new func, use this to get translated buffer strings.
4342 * main.C: add myself and Jean Marc as authors.
4344 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * messages.[hC]: pimplify Messages, and three different pimpls to be
4347 used in different circumstances.
4349 * gettext.[Ch]: change for use with new message code.
4351 2003-04-24 André Pönitz <poenitz@gmx.net>
4353 * factory.C: support for eqref
4355 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * messages.[Ch]: add missing char
4359 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4361 * messages.[Ch]: New files
4363 2003-04-18 John Levon <levon@movementarian.org>
4367 * BufferView_pimpl.C:
4371 * text2.C: remove layout-copy/paste (bug 778)
4373 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4375 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4377 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4379 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4380 if they succeed. Act accordingly.
4382 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4384 * text2.C (setCharFont): adjust
4385 (setCounter): adjust
4386 (insertStringAsLines): adjust
4388 * text.C (leftMargin): adjust
4389 (setHeightOfRow): adjust
4391 * rowpainter.C (paintFirst): adjust
4394 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4396 (isFirstInSequence): ditto
4397 (getEndLabel): ditto
4400 * paragraph.C (getParLanguage): comment out some hard stuff.
4402 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4404 (simpleDocBookOnePar): ditto
4405 (makeDocBookFile): use ParagraphList::iterator
4407 * CutAndPaste.C (pasteSelection): adjust
4409 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * text2.C (getFont): adjust
4412 (getLayoutFont): adjust
4413 (getLabelFont): adjust
4415 * paragraph_funcs.C (TeXOnePar): adjust
4417 * buffer.C (simpleLinuxDocOnePar): adjust
4418 (simpleDocBookOnePar): adjust
4420 * CutAndPaste.C (pasteSelection): adjust
4422 * BufferView.C (getEncoding): adjust
4424 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4426 2003-04-16 John Levon <levon@movementarian.org>
4428 * lyxfind.C: use parlist stuff for search/changes
4430 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4434 * text2.C (deleteEmptyParagraphMechanism): adjust
4436 * text2.[Ch] (ownerParagraph): delete func (both of them
4438 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4442 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * ParagraphList.C: prepare for NO_NEXT
4446 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * text2.C (getFont): adjust
4449 (getLayoutFont): adjust
4450 (getLabelFont): adjust
4452 * paragraph.C (getFont): adjust
4453 (getLabelFont): adjust
4454 (getLayoutFont): adjust
4456 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4458 2003-04-15 John Levon <levon@movementarian.org>
4462 * lyx_main.C: handle Include in .ui files
4464 2003-04-15 John Levon <levon@movementarian.org>
4466 * MenuBackend.C: make the doc files length shorter
4469 * ToolbarBackend.C: handle toolbar placement flags,
4472 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4477 * paragraph_funcs.C (TeXOnePar): adjust
4479 * paragraph.C (getLabelFont): add outerfont arg, adjust
4480 (getLayoutFont): ditto
4481 (simpleTeXOnePar): adjust
4483 * paragraph_pimpl.C (realizeFont): delete func
4485 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4487 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4488 row argument, constify cur argument.
4490 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * text2.C (getFont): adjust
4493 (getLayoutFont): adjust
4494 (getLabelFont): adjust
4496 * paragraph_funcs.C (TeXOnePar): adjust
4497 (outerFont): new func...
4498 (realizeFont): ...moved out from here, changed this to facilitate
4501 * paragraph.C (getFont): take outerfont as arg, adjust
4502 (simpleTeXOnePar): add outerfont arg, adjust
4504 * buffer.C (simpleLinuxDocOnePar): adjust
4505 (simpleDocBookOnePar): adjust
4507 * CutAndPaste.C (pasteSelection): adjust
4509 * BufferView.C (getEncoding): adjust
4511 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4513 * text2.C (setCharFont): adjust
4514 (setCounter): adjust
4516 * text.C (leftMargin): adjust
4517 (setHeightOfRow): adjust
4519 * rowpainter.C (paintFirst): adjust
4522 * paragraph_pimpl.C (realizeFont): adjust
4524 * paragraph.C (isFirstInSequence): move from here...
4525 * paragraph_funcs.C (isFirstInSequence): ...to here
4527 * paragraph.C (outerHook): move from here...
4528 * paragraph_funcs.C (outerHook): ...to here
4530 * paragraph.C (depthHook): move from here...
4531 * paragraph_funcs.C (depthHook): ...to here
4533 * paragraph.C (getEndLabel): move from here...
4534 * paragraph_funcs.C (getEndLabel): ...to here
4536 * text2.C (realizeFont): move from here...
4537 * paragraph_funcs.C (realizeFont): ...to here
4539 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4543 2003-04-14 Angus Leeming <leeming@lyx.org>
4545 * LColor.[Ch]: scrap LColor mathcursor.
4547 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * lyxlex.[Ch] (text): delete function
4550 * trans.C (Load): adjust
4551 * paragraph_funcs.C (readParToken): adjust
4553 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4556 vector<char> instead of a char[].
4558 * lyxlex_pimpl.C (getString): adjust
4560 (lex): use getString
4564 * lyxlex.C (text): use pimpl_->getString()
4568 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4571 (makeFontEntriesLayoutSpecific): temp var for par.size()
4572 (setLayout): temp var for ownerParagraphs().end()
4573 (fullRebreak): temp var for rows().end()
4574 (selectionAsString): temp var for boost::next(startpit), realize
4575 that the while really is a regular for loop.
4576 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4577 setCursor in one place.
4578 (setParagraph): temp vr for ownerParagraphs().end()
4579 (updateCounters): make the while loop a for loop
4580 (cutSelection): temp var for ownerParagraphs().end()
4581 (updateInset): make the do {} while() a regular for loop
4582 (getCursorX): use temp vars
4583 (setCurrentFont): use temp vars
4584 (getColumnNearX): use temp vars
4586 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * text.C (transformChar): use temp var for getChar
4589 (computeBidiTables): use temp var for row->par()
4590 (fill): move temp vars for row->par() and pit->layout() earlier in
4592 (labelFill): use temp var for row->par()
4593 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4594 asc and desc, realize that pit never changes and that firstpit is
4595 just a duplicate and not needed. Exchange rit->par() with pit in a
4597 (breakAgain): use a temp var for boost::next(rit)
4598 (breakAgainOneRow): ditto
4599 (breakParagraph): use a temp var for rows().begin()
4600 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4601 (cursorRightOneWord): use temp var for cursor.par() and
4602 cursor.pos(), remove usage of tmpcursor.
4603 (cursorLeftOneWord): use temp var for cursor.par() and
4604 cursor.pos() only set cur at end of function.
4606 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * text.C, text2.C: exchange all usage of Paragraph::next with
4609 boost::next(ParagraphList::iterator)
4611 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4613 * text2.C (cursorTop): simplify implementation
4614 (cursorBottom): ditto
4615 (setParagraph): use ParagraphList::iterator
4616 (setCurrentFont): adjust
4617 (getColumnNearX): adjust
4618 (cursorRight): adjust
4619 (cursorLeft): remove usage of Paragraph::previous
4620 (cursorUpParagraph): ditto
4621 (deleteEmptyParagraphMechanism): slight cleanup
4623 * text.C (isBoundary): take a Paragraph const & instead of a
4625 (addressBreakPoint): ditto
4626 (leftMargin): remove usage of Paragraph::previous.
4627 (setHeightOfRow): ditto
4628 (cursorLeftOneWord): ditto
4629 (selectNextWordToSpellcheck): ditto
4632 (breakParagraph): remove one usage of Paragraph::next
4633 (redoParagraph): ditto
4634 (acceptChange): ditto
4635 (insertChar): adjust
4636 (rowBreakPoint): adjust
4638 * bufferview_funcs.C (toggleAndShow): adjust
4640 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4642 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4643 methods to access it.
4645 * text.C: Added updateRowPositions to compute all row positions.
4646 Make top_y and getRowNearY() to use the cached y position
4648 2003-04-11 John Levon <levon@movementarian.org>
4650 * text.C (rowBreakPoint): reintroduce the labelEnd
4651 checks, code copied from the row fill stuff. Deep voodoo.
4653 * text.C (fill): add a comment and debugging for the
4656 2003-04-11 John Levon <levon@movementarian.org>
4658 * text.C: make sure fullrow insets get wrapped to the next line,
4659 even when they're in a manual label
4661 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * text2.C (insertParagraph): make it take ParagraphList::iterator
4665 (setLayout): make it return ParagraphList::iterator
4666 (redoParagraphs): ditto
4668 (checkParagraph): ditto
4670 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4672 * text2.C: adjust several funcs.
4673 (realizeFont): take a ParagraphList::iterator as arg.
4674 (getLayoutFont): ditto
4675 (getLabelFont): ditto
4676 (setCharFont): ditto
4678 * text.C: adjust several funcs.
4680 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4682 * text.C (selectNextWordToSpellcheck): don't accidentally
4685 2003-04-10 John Levon <levon@movementarian.org>
4687 * ToolbarBackend.C (getIcon): special handling for
4690 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4692 * text2.C (cursorRight): a getChar assert fixed
4694 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * text2.C (getFont): change to take a ParagraphList::iterator
4697 instead of Paragraph*
4698 Adjust several functions.
4700 * text.C (transformChar): change to take a ParagraphList::iterator
4701 instead of Paragraph*
4702 (singleWidth): ditto
4703 Adjust several functions.
4705 * rowpainter.C: adjust several functions
4706 * rowpainter.h:store a ParagraphList::iterator and not a
4710 2003-04-09 John Levon <levon@movementarian.org>
4715 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4716 and the "help" bits as well
4718 2003-04-09 John Levon <levon@movementarian.org>
4721 * ToolbarBackend.C: allow multiple toolbars
4723 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * undo_funcs.C (setCursorParUndo): adjust
4727 * text_funcs.C (transposeChars): adjust
4729 * text3.C (gotoNextInset): adjust
4732 * text2.C (setLayout): adjust
4733 (changeDepth): adjust
4735 (redoParagraphs): adjust
4736 (selectionAsString): adjust
4737 (setParagraph): adjust
4738 (insertInset): adjust
4739 (cutSelection): adjust
4740 (copySelection): adjust
4741 (pasteSelection): adjust
4742 (insertStringAsLines): adjust
4743 (updateInset): adjust
4744 (setCursor): change to take a ParagraphList::iterator parameter
4745 (setCursorIntern): change to take a ParagraphList::iterator parameter
4746 (setCurrentFont): adjust
4747 (cursorLeft): adjust
4748 (cursorRight): adjust
4749 (deleteEmptyParagraphMechanism): adjust
4751 * text.C (breakParagraph): adjust
4752 (insertChar): adjust
4753 (acceptChange): adjust
4754 (rejectChange): adjust
4755 (selectNextWordToSpellcheck): adjust
4756 (changeCase): adjust
4760 * lyxfind.C (SearchForward): adjust
4761 (SearchBackward): adjust
4762 (nextChange): adjust
4764 * lyxcursor.C (par): adjust
4766 * lyxcursor.h: store a ParagraphList::iterator instead of a
4769 * lyx_cb.C (getPossibleLabel): adjust
4771 * bufferview_funcs.C (toggleAndShow): adjust
4773 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4776 * BufferView.C (removeAutoInsets): adjust
4777 (lockedInsetStoreUndo): adjust
4779 2003-04-09 John Levon <levon@movementarian.org>
4781 * ToolbarBackend.C: try icon without argument
4782 if with argument fails
4784 2003-04-08 John Levon <levon@movementarian.org>
4787 * ToolbarBackend.C: add getIcon(), handle tooltip,
4788 and change from "Icon" to "Item".
4790 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4792 * BufferView.C (lockInset): another bad getchar crunched
4794 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4796 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4799 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4801 * lyxfind.C (searchForward, searchBackwards): bug 782
4803 2003-04-07 John Levon <levon@movementarian.org>
4805 * paragraph.C: remove dead comment
4807 * text.C: remove troublesome depth-fiddling code
4808 in leftMargin() and rightMargin() (bug 1017)
4810 * text.C: fix breaking of rows in nested lists
4813 * text2.C (updateCounters): fix up depth values
4816 2003-04-07 John Levon <levon@movementarian.org>
4818 * BufferView_pimpl.C: clear message when doc finishes resizing,
4819 and after a mouse event
4821 * lyxfunc.C: clear message after exiting inset
4823 2003-04-07 John Levon <levon@movementarian.org>
4825 * bufferview_funcs.C: show math status not outside
4826 status in the statusbar
4828 2003-04-07 John Levon <levon@movementarian.org>
4830 * lyxfunc.C: note status changed after a depth change
4832 2003-04-04 Angus Leeming <leeming@lyx.org>
4834 * LaTeX.h: move AuxInfo operator==, != out of line.
4835 Remove LaTeX virtual destructor; nothing derives from it.
4836 Move operator()() out of public area and rename it startscript().
4837 Change protected for private.
4839 2003-04-04 Angus Leeming <leeming@lyx.org>
4842 * text2.C: remove unneeded #includes.
4844 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4846 * text2.C (dEPM): fix the heigth of the next row
4848 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4850 * text.C: squashed an invalid getChar requester + some ws changes
4852 2003-04-03 John Levon <levon@movementarian.org>
4854 * bufferview_funcs.h:
4855 * bufferview_funcs.C:
4858 * text2.C: make getStatus work for the env depth lfuns
4860 2003-04-03 John Levon <levon@movementarian.org>
4862 * bufferview_funcs.h:
4863 * bufferview_funcs.C:
4866 * text2.C: parlistize decDepth(), by merging it with incDepth()
4868 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4870 * lyxrow.h: store a ParagraphList::iterator instead of a
4871 Paragraph* and adjust other class functions to suit.
4873 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4876 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4878 * text2.C (setCursor): do not anchor to cursor row for the time being
4880 2003-04-02 John Levon <levon@movementarian.org>
4887 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4889 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * paragraph.h: make ParagraphList and ParagraphList::iterator
4892 friends of Paragraph.
4894 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4896 * ParagraphList.C: Use the private next_ and previous_ from
4899 2003-04-01 John Levon <levon@movementarian.org>
4903 * Makefile.am: rename, remove defaults gunk
4906 * MenuBackend.C: remove defaults gunk
4909 * Languages.C: remove defaults gunk
4912 * lyx_main.C: error out if files couldn't be found.
4914 2003-04-02 John Levon <levon@movementarian.org>
4916 * text2.C: make incDepth() use parlist
4918 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4920 * undo_funcs.C (firstUndoParagraph): adjust
4922 * text3.C (gotoInset): adjust
4923 (dispatch): adjust, and rewrite loop.
4925 * text2.C (init): adjust, and rewrite loop.
4926 (redoParagraphs): adjust
4927 (updateInset): adjust, and rewrite loop.
4928 (deleteEmptyParagraphMechanism): adjust
4930 * tabular.C (LyXTabular): adjust
4931 (SetMultiColumn): adjust
4934 * lyxtext.[Ch] (ownerParagraph): delete function
4935 (ownerParagraphs): new function returns a ParagraphList.
4937 * BufferView.C (removeAutoInsets): adjust
4938 (insertErrors): adjust
4939 (setCursorFromRow): adjust
4941 2003-04-01 Angus Leeming <leeming@lyx.org>
4943 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4946 2003-04-02 John Levon <levon@movementarian.org>
4952 * text_funcs.C: make transposeChars a free function
4954 * lyxrow_funcs.C: remove wrong comment
4956 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * rowpainter.C: adjust
4964 * lyxrow_funcs. [Ch]: new files
4966 * lyxrow.[Ch]: remove next and previous pointers
4967 (next,previous): remove accessor functions
4968 (isParEnd): move to lyxrow_funcs
4969 (lastPos): move to lyxrow_funcs
4970 (nextRowIsAllInset): move to lyxrow_funcs
4971 (lastPrintablePos): move to lyxrow_funcs
4972 (numberOfSeparators): move to lyxrow_funcs
4973 (numberOfHfills): move to lyxrow_funcs
4974 (numberOfLabelHfills): move to lyxrow_funcs
4975 (hfillExpansion): move to lyxrow_funcs
4979 * bufferview_funcs.C (toggleAndShow): adjust
4981 * RowList.h: Remove class RowList from file leave just a
4984 * RowList.C: delete file
4986 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4989 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * text3.C (cursorPrevious): adjust
4992 (cursorNext): adjust
4995 * text2.C (redoHeightOfParagraph): adjust
4996 (redoDrawingOfParagraph): adjust
4999 * text.C (breakParagraph): adjust
5000 (insertChar): adjust
5003 * rowpainter.C (RowPainter): adjust
5004 (leftMargin): simplify and adjust
5005 (most rowpainter functions): adjust.
5007 * rowpainter.h: store the row as RowList::iterator not as Row*
5009 * lyxcursor.C (row): taka RowList::iterator as arg
5012 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5015 2003-04-01 Angus Leeming <leeming@lyx.org>
5017 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5018 stuff like bool Bool.
5020 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5022 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5025 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5027 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5030 * lyxtext.h (rows): drop one version and leve a const variant that
5031 returns a RowList::iterator.
5033 2003-03-31 Angus Leeming <leeming@lyx.org>
5035 * text.C (fill): ensure that the signature is the same as that in the
5038 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * text2.C (redoParagraphs): adjust
5041 (updateCounters): adjust
5042 (checkParagraph): adjust
5043 (getColumnNearX): adjust and reformat a bit.
5045 * text.C (top_y): adjust
5047 (leftMargin): adjust
5048 (prepareToPrint): adjust
5050 (getRowNearY): adjust
5052 * lyxtext.h: make rowlist_ mutable.
5054 * RowList.h: add const_iterator
5055 * RowList.C: adjust for RowList::const_iterator.
5057 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5060 2003-03-31 John Levon <levon@movementarian.org>
5063 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5065 * lyx_main.C: set default fonts from using lyx_gui funcs
5067 * exporter.C: pdf_mode moved from lyxrc
5070 * lyxfunc.C: changes from above
5072 2003-03-31 John Levon <levon@movementarian.org>
5074 * lyx_main.C: fix to the last fix
5076 2003-03-31 John Levon <levon@movementarian.org>
5078 * bufferlist.C: "Load original" -> "Load Original"
5084 * format.C: more Alert cleanups
5086 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * text2.C (removeParagraph): make it take a RowList::iterator as
5090 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5091 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5093 * text.C (anchor_row): make it take a RowList::iterator as arg,
5095 (computeBidiTables): make it take a const reference to Row instead
5096 of Row pointer, adjust.
5097 (leftMargin): make it take a RowList::iterator as arg, adjust.
5098 (rowBreakPoint): adjust
5099 (breakAgainOneRow): make it take a RowList::iterator as arg,
5101 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5103 * bufferview_funcs.C (toggleAndShow): adjust
5105 2003-03-30 John Levon <levon@movementarian.org>
5109 * boost-inst.C: moved to support
5111 * several files: changes as a result
5113 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * text2.C (LyXText): adjust.
5117 (removeRow): make it take a RowList::iterator as arg, adjust.
5118 (fullRebreak): adjust
5119 (deleteEmptyParagraphMechanism): adjust
5120 (clearPaint): adjust
5123 * text.C (top_y): adjust
5124 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5125 (breakAgain): make it take a RowList::iterator as arg, adjust.
5126 (breakParagraph): adjust
5127 (insertChar): adjust
5130 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5131 need_break_row, and refresh_row.
5133 * text3.C (dispatch): adjust
5135 * text2.C (checkParagraph): adjust
5137 (setCursorFromCoordinates): adjust
5139 * text.C (top_y): adjust
5141 (getRow): make it return a RowList::iterator, adjust
5142 (getRowNearY): make it return a RowList::iterator, adjust
5144 * text2.C (init): adjust
5145 (insertRow): remove function
5146 (insertParagraph): adjust
5147 (redoParagraphs): adjust
5148 (fullRebreak): adjust
5149 (updateCounters): adjust
5151 * text.C (top_y): rewrite to use RowList iterators.
5153 (setHeightOfRow): rewrite to sue RowList iterators.
5154 (appendParagraph): adjust
5155 (breakAgain): adjust
5156 (breakAgainOneRow): adjust
5157 (breakParagraph): adjust
5159 (getRowNearY): adjust, and remove commented code.
5161 * lyxtext.h (firstRow): delete function
5162 (lastRow): delete function
5163 (rows): new function (const and non-const versions.)
5164 (insertRow): delete function
5166 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5168 2003-03-29 John Levon <levon@movementarian.org>
5170 * BufferView_pimpl.C: always update scrollbar top
5171 because pasting text when we're anchored could mean we
5172 miss an update altogether
5174 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * text2.C (init): use rowlist_.end() and not 0.
5177 (insertRow): change to take a RowList::iterator as arg, adjust
5179 (insertParagraph): change to take a RowList::iterator as arg,
5181 (redoParagraphs): remove some debug msgs.
5183 * text.C (appendParagraph): change to take a RowList::iterator
5184 arg, adjust for this.
5185 (breakAgain): add an assert
5186 (breakAgainOneRow): ditto
5188 2003-03-29 John Levon <levon@movementarian.org>
5190 * text2.C: do not clear selection after inc/decDepth
5193 2003-03-29 John Levon <levon@movementarian.org>
5196 * buffer.C: fix broken strerrors according to Lars
5198 2003-03-29 John Levon <levon@movementarian.org>
5200 * converters.C: more Alert cleanups
5202 2003-03-29 John Levon <levon@movementarian.org>
5204 * bufferview_funcs.C: remove pointless Alert
5206 * buffer.C: fix confusing error message when
5207 a template is chmoded 000
5209 2003-03-29 John Levon <levon@movementarian.org>
5213 * BufferView_pimpl.C: Alert fixes
5217 * tabular-old.C: remove unused table compat reading
5219 2003-03-29 John Levon <levon@movementarian.org>
5224 * lyx_cb.C: more Alert cleanups
5226 * lyxfunc.C: don't allow chktex if not latex document
5228 2003-03-29 John Levon <levon@movementarian.org>
5232 * buffer.C: warnings pushed down from support/,
5235 2003-03-29 John Levon <levon@movementarian.org>
5237 * lyxfunc.C: safety check for C-r (revert)
5239 2003-03-29 John Levon <levon@movementarian.org>
5242 * bufferlist.C: several UI fixes using Alert::prompt.
5243 Fix the pointless looping quit code. Fix stupid revert
5248 * lyx_cb.C: use Alert::prompt
5250 * lyx_main.C: remove a silly question
5252 * lyxfunc.C: remove a couple of silly questions,
5255 2003-03-28 John Levon <levon@movementarian.org>
5257 * text2.C: fix bug 974 (End on empty par)
5259 2003-03-28 John Levon <levon@movementarian.org>
5261 * BufferView_pimpl.C:
5263 * lfuns.h: remove do-nothing math greek lfuns
5265 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * lyxgluelength.h (isValidGlueLength): add default arg on
5268 parameter 2. Remove default arg from friend in class.
5270 * lyxlength.h (isValidLength): add default arg on parameter 2.
5271 Remove default arg from friend in class.
5273 * text2.C (LyXText): adjust, initialize refresh_row.
5277 (insertParagraph): adjst
5278 (redoParagraphs): adjust
5279 (fullRebreak): adjust
5280 (updateCounters): adjust
5281 (deleteEmptyParagraphMechanism): first attempt at fixing a
5284 * text.C (top_y): adjust
5285 (setHeightOfRow): adjust
5287 (getRowNearY): adjust
5289 * lyxtext.h: include RowList.h
5290 (~LyXText): not needed anymore, deleted.
5291 (firstRow): modify for RowList
5292 (lastRow): new function
5293 Delete firstrow and lastrow class variables, add a Rowlist
5294 rowlist_ class variable.
5296 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5299 * RowList.C (insert): fix case where it == begin().
5301 2003-03-26 Angus Leeming <leeming@lyx.org>
5303 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5304 the thesaurus dialog.
5306 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5310 * RowList.[Ch]: new files
5312 * ParagraphList.C (erase): handle the case where it == begin
5315 2003-03-25 John Levon <levon@movementarian.org>
5319 * aspell.C: add new aspell support
5322 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5325 2003-03-25 Angus Leeming <leeming@lyx.org>
5328 * LyXAction.C (init): new LFUN_INSET_INSERT.
5330 * BufferView_pimpl.C (dispatch): split out part of the
5331 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5333 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5336 2003-03-25 Angus Leeming <leeming@lyx.org>
5338 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5340 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5343 * text3.C: remove useless row->height(0)
5345 2003-03-25 John Levon <levon@movementarian.org>
5349 * text3.C: rename the refreshing stuff to better names
5351 2003-03-24 John Levon <levon@movementarian.org>
5353 * BufferView_pimpl.h:
5354 * BufferView_pimpl.C: update layout choice on a mouse
5357 2003-03-23 John Levon <levon@movementarian.org>
5359 * Makefile.am: fix commandtags.h reference
5361 2003-03-22 John Levon <levon@movementarian.org>
5363 * BufferView_pimpl.C:
5368 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5370 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5373 * text.C: take the rtl methods out of line
5375 2003-03-21 André Pönitz <poenitz@gmx.net>
5377 * metricsinfo.[Ch]: new files containing structures to be passed around
5378 during the two-phase-drawing...
5380 2003-03-21 André Pönitz <poenitz@gmx.net>
5382 * lyxtextclass.C: read 'environment' tag.
5384 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5386 * text2.C (removeRow): fix bug 964
5388 2003-03-20 John Levon <levon@movementarian.org>
5392 * text2.C: paint cleanups. Inset::update() dropped font
5395 2003-03-19 John Levon <levon@movementarian.org>
5397 * lyxfunc.C: only fitcursor/markDirty if available()
5399 2003-03-19 John Levon <levon@movementarian.org>
5401 * commandtags.h: rename to ...
5403 * lfuns.h: ... this, and renumber / cleanup
5405 2003-03-19 John Levon <levon@movementarian.org>
5407 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5408 fit the cursor after an lfun
5412 * BufferView_pimpl.h:
5413 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5415 * LyXAction.C: layout-character should have ReadOnly
5417 * ParagraphParameters.C:
5419 * bufferview_funcs.C:
5426 * undo_funcs.C: changes from above
5428 2003-03-18 John Levon <levon@movementarian.org>
5430 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5431 remove it from update()
5433 * lyxfunc.C: update layout choice after an lfun
5435 * text3.C: remove extra updateLayoutChoice()s
5437 2003-03-18 John Levon <levon@movementarian.org>
5439 * text.C: top_y change means full repaint, fix
5440 a drawing bug with cursor movement
5442 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5446 * text2.C: anchor row on setCursor
5448 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5450 * lyxtext.h: remove almost all mutable keywords
5453 * text3.C: remove const keywords accordingly
5455 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5457 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5459 (TeXEnvironment): ditto
5462 2003-03-17 John Levon <levon@movementarian.org>
5464 * text.C (rowBreakPoint): remove attempt to fix displayed
5465 math insets inside a manual label
5467 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5469 * lyxtext.h: remove BufferView* as first arg from almost all class
5471 * other files: adjust.
5473 2003-03-17 John Levon <levon@movementarian.org>
5477 * text2.C: more paint cleanups
5479 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5482 * rowpainter.C: remove "smart" background painting code
5484 2003-03-16 John Levon <levon@movementarian.org>
5489 * text3.C: add helper functions for setting refresh_row/y
5491 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5493 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5494 newline inset which *can* get inserted in the pass_thru layouts.
5495 This is primarily for literate documents.
5497 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5499 * buffer.C: increment LYX_FORMAT to 223
5501 2003-03-14 André Pönitz <poenitz@gmx.net>
5503 * textclass.h: prepare for environment handling, ws changes
5504 * lyxlayout.C: read latexheader and latexfooter tags
5506 2003-03-14 John Levon <levon@movementarian.org>
5508 * text2.C: rewrite ::status() a bit
5510 2003-03-13 John Levon <levon@movementarian.org>
5512 * lyxtext.h: add some docs
5514 2003-03-13 John Levon <levon@movementarian.org>
5519 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5521 2003-03-13 John Levon <levon@movementarian.org>
5523 * text3.C: fix appendix redrawing
5525 2003-03-13 John Levon <levon@movementarian.org>
5527 * text.C (setHeightOfRow):
5529 * rowpainter.C: make appendix mark have the text
5530 "Appendix" so the user knows what it is
5533 * LColor.C: s/appendixline/appendix/ from above
5535 2003-03-13 John Levon <levon@movementarian.org>
5537 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5539 * text.C: fix a getChar(pos) bug properly
5541 2003-03-13 Angus Leeming <leeming@lyx.org>
5544 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5545 Probably only temporary. Let's see how things pan out.
5547 * BufferView.C (unlockInset):
5548 * BufferView_pimpl.C (fitCursor):
5549 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5551 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5552 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5554 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5555 new functions that convert ParagraphParameters to and from a string.
5557 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5558 BufferView::Pimpl's dispatch.
5559 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5561 2003-03-13 André Pönitz <poenitz@gmx.net>
5565 * factory.C: make it aware of InsetEnv
5567 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * text2.C (setCursor): never ask for one past last
5570 (setCursor): add some debugging messages.
5572 * text.C (singleWidth): never ask for one past last
5573 (singleWidth): ditto
5575 (rightMargin): ditto
5576 (rowBreakPoint): ditto
5577 (setHeightOfRow): ditto
5578 (prepareToPrint): ditto
5580 * rowpainter.C (paintBackground): never ask for one past last
5581 (paintText): never ask for one past last
5583 * paragraph_pimpl.C (getChar): make the assert stricter, never
5584 allow the one past last pos to be taken
5586 * paragraph.C (getChar): ws changes only
5588 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5589 (numberOfSeparators): ditto
5590 (numberOfHfills): ditto
5592 2003-03-12 John Levon <levon@movementarian.org>
5598 * paragraph_funcs.C: fix per-buffer authorlists
5600 2003-03-12 John Levon <levon@movementarian.org>
5602 * text.C: fix newline in right address
5604 2003-03-12 Angus Leeming <leeming@lyx.org>
5606 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5607 duplicate those in LyXFunc::dispatch.
5611 * ToolbarDefaults.C:
5612 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5613 Add LFUN_FONTFREE_UPDATE.
5615 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5616 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5618 * bufferview_func.[Ch]: several new functions to facilliate
5619 transfer of data to and from the character dialog.
5621 2003-03-12 John Levon <levon@movementarian.org>
5626 * paragraph_funcs.C:
5627 * paragraph_pimpl.C:
5631 * text3.C: remove META_NEWLINE in favour of an inset
5634 * rowpainter.C: remove paintNewline (done by inset)
5636 2003-03-12 John Levon <levon@movementarian.org>
5638 * paragraph_pimpl.C: complain about bad getChar()s
5639 for a while at least
5641 2003-03-12 John Levon <levon@movementarian.org>
5644 * buffer.C: move paragraph read into a separate function,
5645 a little renaming to reflect that.
5648 * bufferparams.C: remove the author_ids map, not necessary now
5651 * factory.C: moved Buffer::readInset to here
5653 * paragraph_funcs.h:
5654 * paragraph_funcs.C: readParagraph free function moved from
5657 * tabular.C: name change
5659 2003-03-12 John Levon <levon@movementarian.org>
5662 * ParagraphParameters.C: move par params input to
5665 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5666 behave like a normal read from the stream wrt reading
5667 a line vs. a \\token
5669 2003-03-12 John Levon <levon@movementarian.org>
5672 * ParagraphParameters.h:
5673 * ParagraphParameters.C: move output code to a
5676 2003-03-12 John Levon <levon@movementarian.org>
5678 * BufferView.C (insertLyXFile):
5681 * tabular.C: use a parlist iterator for creating the
5684 2003-03-12 John Levon <levon@movementarian.org>
5686 * buffer.C: make current_change static local not
5689 2003-03-12 John Levon <levon@movementarian.org>
5691 * buffer.C: fix insertStringAsLines for change tracking
5693 2003-03-12 John Levon <levon@movementarian.org>
5700 * bufferparams.C: move author list into params. Rename some
5701 functions. Move the header reading into a separate token
5702 loop. Move the header token reading into BufferParams.
5704 2003-03-12 John Levon <levon@movementarian.org>
5706 * changes.C: put debug inside lyxerr.debugging() checks
5708 2003-03-11 André Pönitz <poenitz@gmx.net>
5710 * factory.C: make it aware of InsetHFill
5712 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5714 * buffer.C (latexParagraphs): move function from here...
5715 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5718 2003-03-10 Angus Leeming <leeming@lyx.org>
5720 * LyXAction.C (init): fix bug in poplating array with multiple entries
5721 with the same LFUN (spotted by JMarc).
5723 2003-03-10 John Levon <levon@movementarian.org>
5726 * text2.C: move getColumnNearX() near its
5729 2003-03-10 John Levon <levon@movementarian.org>
5731 * text.C: fix break before a minipage
5733 2003-03-10 John Levon <levon@movementarian.org>
5735 * text.C: fix the last commit
5737 2003-03-09 John Levon <levon@movementarian.org>
5741 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5742 bug 365 (don't break before insets unless needed). Don't
5743 return a value > last under any circumstances.
5745 2003-03-09 Angus Leeming <leeming@lyx.org>
5747 * BufferView_pimpl.C (trackChanges, dispatch): call
5748 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5750 2003-03-09 Angus Leeming <leeming@lyx.org>
5752 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5753 than Dialogs::showAboutlyx().
5755 2003-03-09 Angus Leeming <leeming@lyx.org>
5757 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5758 than Dialogs::showTabularCreate().
5760 2003-03-09 John Levon <levon@movementarian.org>
5764 * text2.C: 3rd arg to nextBreakPoint was always the same.
5767 2003-03-08 John Levon <levon@movementarian.org>
5774 * text2.C: Remove the "main" bit from the "main body"
5777 2003-03-08 John Levon <levon@movementarian.org>
5779 * text.C (leftMargin): The left margin of an empty
5780 manual label paragraph should not include the label width
5783 * text.C (prepareToPrint): don't attempt to measure hfills
5784 for empty manual label paragraphs - the answer should be 0
5786 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * CutAndPaste.C: remove commented code and reindent.
5790 2003-03-08 John Levon <levon@movementarian.org>
5793 * lyxfunc.C: move reloadBuffer()
5796 * BufferView.C: to here
5798 * lyxvc.C: add comment
5801 * vc-backend.C: call bv->reload() to avoid
5802 getStatus() check on MENURELOAD
5804 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5806 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5807 to an old format .dep file.
5809 2003-03-07 Angus Leeming <leeming@lyx.org>
5811 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5812 when the LFUN_MOUSE_RELEASE should have been handled by
5813 inset->localDispatch.
5815 2003-03-07 Angus Leeming <leeming@lyx.org>
5817 * BufferView_pimpl.C (dispatch):
5818 * LyXAction.C (init):
5819 * ToolbarDefaults.C (init):
5821 * lyxfunc.C (getStatus):
5822 remove LFUN_INSET_GRAPHICS.
5824 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5826 2003-03-07 Angus Leeming <leeming@lyx.org>
5829 * LyXAction.C (init):
5830 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5832 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5835 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5837 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5838 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5840 2003-03-07 Angus Leeming <leeming@lyx.org>
5842 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5845 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * ParagraphList.C (front): new function
5850 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5852 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5853 and top_row_offset_. removed var first_y.
5855 * text2.C (LyXText, removeRow):
5857 * BufferView_pimpl.C:
5858 use these methods instead of using first_y
5860 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * text2.C (pasteSelection): adjust for checkPastePossible
5864 * CutAndPaste.C: remove Paragraph * buf and replace with
5865 ParagraphList paragraphs.
5866 (DeleteBuffer): delete
5867 (cutSelection): change the tc type to textclass_type
5868 (copySelection): change the tc type to textclass_type
5869 (copySelection): adjust for ParagraphList
5870 (pasteSelection): change the tc type to textclass_type
5871 (pasteSelection): adjust for Paragraphlist
5872 (nrOfParagraphs): simplify for ParagraphList
5873 (checkPastePossible): simplify for ParagraphList
5874 (checkPastePossible): remove unused arg
5876 * ParagraphList.C (insert): handle the case where there are no
5879 * CutAndPaste.h: make CutAndPaste a namespace.
5881 * text3.C (dispatch): adjust
5883 * text.C (breakParagraph): add a ParagraphList as arg
5885 * paragraph_funcs.C (breakParagraph): change to take a
5886 BufferParams and a ParagraphList as args.
5887 (breakParagraphConservative): ditto
5888 (mergeParagraph): ditto
5889 (TeXDeeper): add a ParagraphList arg
5890 (TeXEnvironment): ditto
5893 * buffer.C (readLyXformat2): adjust
5894 (insertStringAsLines): adjust
5895 (latexParagraphs): adjust
5897 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5898 (cutSelection): adjust
5899 (pasteSelection): adjust
5901 * BufferView_pimpl.C (insertInset): adjust
5903 2003-03-05 Angus Leeming <leeming@lyx.org>
5906 * LyXAction.C (init):
5907 * BufferView_pimpl.C (dispatch):
5908 * lyxfunc.C (getStatus):
5909 remove LFUN_CHILD_INSERT.
5911 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5913 2003-03-05 Angus Leeming <leeming@lyx.org>
5916 * LyXAction.C (init):
5917 * src/factory.C (createInset):
5918 * lyxfunc.C (getStatus):
5919 * text3.C (dispatch):
5920 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5922 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5924 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * ParagraphList.C (insert): handle insert right before end()
5927 (erase): fix cases where it can be first or last paragraph.
5929 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5932 Paragraph::next and Paragraph::previous
5935 * text.C (breakParagraph): adjust
5937 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5938 BufferParams& as arg.
5939 (breakParagraph): use ParagraphList::insert
5940 (breakParagraphConservative): take a Buffer* instead of a
5941 BufferParams& as arg.
5942 (breakParagraphConservative): use ParagraphList::insert.
5944 * buffer.C (insertStringAsLines): un-const it
5945 (insertStringAsLines): adjust
5947 * ParagraphList.C (insert): new function
5949 * CutAndPaste.C (pasteSelection): adjust
5951 * text.C (backspace): adjust
5953 * tabular.C (SetMultiColumn): adjust
5955 * CutAndPaste.C (cutSelection): adjust
5956 (pasteSelection): adjust
5958 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5959 Buffer const * as arg
5961 * ParagraphList.C (erase): new function
5962 * paragraph_funcs.C (mergeParagraph): use it
5963 (mergeParagraph): make it take a Buffer* instead of a
5964 BufferParams* as arg
5966 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5968 (breakParagraphConservative): ditto
5970 * paragraph.h: remove the breakParagraph friend
5972 * paragraph.C (eraseIntern): new function
5973 (setChange): new function
5975 * paragraph_funcs.C (mergeParagraph): make it take a
5976 ParagraphList::iterator instead of a Paragraph *, adjust
5979 * paragraph.h: move an #endif so that the change tracking stuff
5980 also works in the NO_NEXT case.
5982 2003-03-04 Angus Leeming <leeming@lyx.org>
5985 * LyXAction.C: new LFUN_INSET_MODIFY.
5987 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5988 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5990 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * several files: ws changes only
5994 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5995 (TeXEnvironment): ditto
5998 * buffer.C (makeLaTeXFile): adjust
5999 (latexParagraphs): make it take ParagraphList::iterator as args
6001 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6003 * buffer.C (latexParagraphs): adjust
6005 * paragraph.C (TeXOnePar): move function...
6006 (optArgInset): move function...
6007 (TeXEnvironment): move function...
6008 * paragraph_pimpl.C (TeXDeeper): move function...
6009 * paragraph_funcs.C: ...here
6011 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6013 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * buffer.C (readInset): remove compability code for old Figure and
6018 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * buffer.C: ws changes
6023 * BufferView_pimpl.C: ditto
6026 * bufferlist.h: ditto
6030 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6032 * converter.[Ch]: split into itself +
6035 * Makefile.am: += graph.[Ch] + format.[Ch]
6042 * lyxrc.C: added #include "format.h"
6044 2003-02-27 Angus Leeming <leeming@lyx.org>
6046 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6049 * factory.C (createInset): add "label" to the factory.
6051 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6052 string and do no more.
6054 2003-02-27 Angus Leeming <leeming@lyx.org>
6057 * LyXAction.C (init):
6058 * factory.C (createInset):
6059 * BufferView_pimpl.C (dispatch):
6060 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6062 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6064 * lyxfunc.C (dispatch):
6065 * text3.C (dispatch): pass name to params2string.
6067 2003-02-26 Angus Leeming <leeming@lyx.org>
6069 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6071 Rearrange the ~includes. Strip out the unnecessary ones.
6073 * factory.C (createInset): reformat.
6074 create new insets for the various LFUN_XYZ_APPLY lfuns.
6076 2003-02-26 John Levon <levon@movementarian.org>
6079 * lyxrow.C: add isParStart,isParEnd helpers
6081 * paragraph.h: make isInserted/DeletedText take refs
6083 * paragraph_funcs.h:
6084 * paragraph_funcs.C: remove #if 0'd code
6089 * text.C: use lyxrow helpers above.
6090 Move draw and paint routines to RowPainter.
6091 Make several methods use refs not pointers.
6092 Make backgroundColor() const.
6093 Add markChangeInDraw(), isInInset().
6094 Merge changeRegionCase into changeCase.
6095 Make workWidth() shouldn't-happen code into an Assert.
6098 * rowpainter.C: new class for painting a row.
6101 * vspace.C: make inPixels take a ref
6103 2003-02-26 Angus Leeming <leeming@lyx.org>
6105 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6108 2003-02-25 John Levon <levon@movementarian.org>
6110 * ispell.C: give the forked command a more accurate name
6112 2003-02-22 John Levon <levon@movementarian.org>
6115 * toc.C: make TocItem store an id not a Paragraph *
6118 2003-02-21 Angus Leeming <leeming@lyx.org>
6120 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6121 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6122 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6123 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6124 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6125 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6127 * BufferView_pimpl.C (dispatch):
6128 * LyXAction.C (init):
6129 * factory.C (createInset):
6130 * lyxfunc.C (getStatus, dispatch):
6131 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6133 2003-02-21 Angus Leeming <leeming@lyx.org>
6135 * BufferView_pimpl.C (MenuInsertLyXFile):
6136 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6137 * lyxfunc.C (menuNew, open, doImport):
6138 no longer pass a LyXView & to fileDlg.
6140 2003-02-21 Angus Leeming <leeming@lyx.org>
6142 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6143 * LyXAction.C: change, BIBKEY to BIBITEM.
6144 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6145 Change InsetBibKey to InsetBibitem.
6146 Change BIBKEY_CODE to BIBITEM_CODE.
6147 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6148 * factory.C: replace insetbib.h with insetbibitem.h.
6149 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6150 * paragraph.C: replace insetbib.h with insetbibitem.h.
6151 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6152 Change bibkey() to bibitem().
6153 * text.C: remove insetbib.h.
6154 * text2.C: replace insetbib.h with insetbibitem.h.
6155 change bibkey() to bibitem().
6156 * text3.C: remove insetbib.h.
6157 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6159 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6161 * lyxrc.C (output): enclose user email in quotes (in case there are
6164 2003-02-18 John Levon <levon@movementarian.org>
6166 * buffer.h: add std::
6168 2003-02-17 John Levon <levon@movementarian.org>
6174 * pspell.C: reworking. Especially in ispell, a large
6175 number of clean ups and bug fixes.
6177 * lyxfunc.C: fix revert to behave sensibly
6179 2003-02-17 André Pönitz <poenitz@gmx.net>
6182 * commandtags.h: new LFUN_INSERT_BIBKEY
6192 * paragraph_func.C: remove special bibkey handling
6194 2003-02-17 John Levon <levon@movementarian.org>
6196 * text.C (Delete): fix case where delete at the end of
6197 the very first paragraph would not merge the pars
6199 2003-02-17 John Levon <levon@movementarian.org>
6201 * lyxrow.C: fix lastPrintablePos()
6203 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6205 * bufferparams.C (writeLaTeX): add a std:here
6207 * buffer.C: and remove a using directive there
6209 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6211 * buffer.C (makeLaTeXFile): move the code that generates the
6214 * bufferparams.C (writeLaTeX): ... in this new method
6216 * LaTeXFeatures.C (getEncodingSet): make const
6217 (getLanguages): make const
6219 * MenuBackend.C (binding): returns the binding associated to this
6221 (add): sets the status of each item by calling getStatus. Adds
6223 (read): add support for OptSubMenu
6224 (expand): remove extra separator at the end of expanded menu
6226 2003-02-15 John Levon <levon@movementarian.org>
6229 * BufferView_pimpl.C:
6231 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6232 inset code that had no actual effect. Remove unneeded status
6235 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6237 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6240 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6242 * text.C (drawLengthMarker): also draw an arrow marker for
6243 symbolic lengths (medskip...)
6245 2003-02-14 John Levon <levon@movementarian.org>
6248 * tabular.C: better method names
6250 2003-02-14 John Levon <levon@movementarian.org>
6252 * BufferView_pimpl.C:
6257 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6258 it's a more accurate name. Remove some pointless uses.
6260 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6262 * text2.C (LyXText): change order of initilizers to shut off
6265 2003-02-14 John Levon <levon@movementarian.org>
6267 * buffer.C: use ParIterator for getParFromID()
6271 * paragraph_pimpl.h:
6272 * paragraph_pimpl.C: remove unused getParFromID()
6274 2003-02-14 John Levon <levon@movementarian.org>
6276 * buffer.C: remove some very old #if 0'd parse code
6278 2003-02-13 John Levon <levon@movementarian.org>
6282 * text2.C: move hfillExpansion(), numberOfSeparators(),
6283 rowLast(), rowLastPrintable(), numberofHfills(),
6284 numberOfLabelHfills() ...
6287 * lyxrow.C: ... to member functions here.
6292 * text.C: remove LyXText::beginningOfMainBody(), and call
6293 p->beginningOfMainBody() directly. Move the check for
6294 LABEL_MANUAL into the latter.
6301 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6307 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6308 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6310 2003-02-13 John Levon <levon@movementarian.org>
6312 * CutAndPaste.C: remove debug
6314 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6316 * paragraph.C (asString): remove two unused variables
6318 * lyxtextclass.C (readTitleType):
6320 (LyXTextClass): handle new members titletype_ and titlename_
6322 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6324 2003-02-09 John Levon <levon@movementarian.org>
6327 * buffer.C: replace hand-coded list with a map for the dep clean
6329 2003-02-08 John Levon <levon@movementarian.org>
6331 * LaTeX.C: consolidate code into showRunMessage() helper
6333 2003-02-08 John Levon <levon@movementarian.org>
6338 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6339 and pass the size in explicitly
6341 * BufferView_pimpl.h:
6342 * BufferView_pimpl.C:
6344 * BufferView.C: add getCurrentChange()
6346 * BufferView_pimpl.h:
6347 * BufferView_pimpl.C: handle change lfuns
6349 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6350 for changes. Mark pasted paragraphs as new.
6352 * support/lyxtime.h:
6353 * support/lyxtime.C:
6354 * DepTable.C: abstract time_t as lyx::time_type
6357 * LColor.C: add colours for new text, deleted text, changebars
6359 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6360 package use "usenames" option.
6364 * LyXAction.C: add change lfuns
6368 * author.C: author handling
6371 * buffer.C: add a per-buffer author list, with first entry as
6372 current author. Handle new .lyx tokens for change tracking. Output
6373 author list to .lyx file. Output dvipost stuff to .tex preamble.
6374 Bump lyx format to 222.
6377 * bufferlist.C: add setCurrentAuthor() to reset current author details
6381 * bufferparams.C: add param for tracking
6383 * bufferview_funcs.C: output change info in minibuffer
6387 * changes.C: add change-tracking structure
6390 * debug.C: add CHANGES debug flag
6393 * lyxfind.C: add code for finding the next change piece
6396 * lyxrc.C: add user_name and user_email
6399 * lyxrow.C: add a metric for the top of the text line
6402 * text.C: implement accept/rejectChange()
6405 * text.C: paint changebars. Paint new/deleted text in the chosen
6406 colours. Strike through deleted text.
6410 * paragraph_pimpl.h:
6411 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6412 in the current change to the insert functions. Rework erase to
6413 mark text as deleted, adding an eraseIntern() and a range-based
6414 erase(). Implement per-paragraph change lookup and
6417 * paragraph_funcs.C: Fixup paste for change tracking.
6419 * tabular.C: mark added row/columns as new.
6421 * text.C: fix rowLast() to never return -1. Don't allow
6422 spellchecking of deleted text. Track transpose changes. Don't
6423 allow paragraph break or merge where appropriate.
6425 * text2.C: leave cursor at end of selection after a cut.
6427 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6429 * text.C (getLengthMarkerHeight):
6430 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6431 visible on screen too.
6433 2003-02-07 John Levon <levon@movementarian.org>
6435 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6437 2003-02-05 Angus Leeming <leeming@lyx.org>
6439 * lyxserver.C (read_ready): revert my patch of 11 September last year
6440 as it sends PC cpu through the roof. Presumably this means that
6441 the lyxserver will no longer run on an Alpha...
6443 2003-01-30 Angus Leeming <leeming@lyx.org>
6445 * factory.C (createInset): create an InsetCommandParam of type "index"
6446 and use it to 'do the right thing'.
6448 * text2.C (getStringToIndex): ensure that cursor position is always
6449 reset to the reset_cursor position.
6451 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6453 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6456 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6460 * lyxfunc.C: Output messages with identical spelling, punctuation,
6463 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6465 * MenuBackend.C (expandFormats): List only viewable export formats
6468 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6471 * lyxfunc.C (getStatus): Make sure that formats other than
6472 "fax" can also be disabled
6474 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6476 * text3.C (dispatch): put the lfuns that insert insets in 3
6477 groups, and call doInsertInset with appropriate arguments.
6478 (doInsertInset): new function, that creates an inset and inserts
6479 it according to some boolean parameters.
6481 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * buffer.C (readFile): remember to pass on 'par' when calling
6484 readFile recursively.
6486 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6488 * MenuBackend.C (expandFormats): add "..." to import formats.
6490 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6492 * paragraph.C (asString): Remove XForms RTL hacks.
6494 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6495 * buffer.C: fix typo
6497 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6499 * Makefile.am (LIBS): delete var
6500 (lyx_LDADD): add @LIBS@ here instead.
6502 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6504 * Clarify the meaning of "wheel mouse jump"
6506 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6508 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6511 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6513 * importer.C (Loaders): do not preallocate 3 elements in the
6514 vector, since one ends up with 6 elements otherwise
6516 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6518 * DepTable.C (write): write the file name as last element of the
6519 .dep file (because it may contain spaces)
6520 (read): read info in the right order
6522 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6524 * paragraph_pimpl.C (simpleTeXBlanks):
6525 (simpleTeXSpecialChars):
6526 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6528 * tabular.C (latex): add some missing case statements. Reindent.
6530 * MenuBackend.C (expandToc): remove unused variable.
6532 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6541 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6544 2003-01-05 John Levon <levon@movementarian.org>
6547 * BufferView.C: add getEncoding()
6550 * kbsequence.C: do not store last keypress
6553 * lyxfunc.C: store last keypress here instead. Pass encoding
6556 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6558 * lyx_main.C (init): remove annoying error message when following
6559 symbolic links (bug #780)
6561 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6563 * text.C (insertChar):
6564 * lyxrc.C (getDescription): remove extra spaces
6566 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6568 * lyxrc.C (getDescription): remove extra spaces
6570 2002-12-20 John Levon <levon@movementarian.org>
6572 * text3.C: hack fix for page up/down across tall rows
6574 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6576 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6579 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6581 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6582 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6583 thesaurus is not compiled in
6585 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6587 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6589 2002-12-16 Angus Leeming <leeming@lyx.org>
6592 * lyx_main.C (init): remove override_x_deadkeys stuff.
6594 2002-12-12 John Levon <levon@movementarian.org>
6596 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6597 insert. Only remove shift modifier under strict
6600 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * MenuBackend.C (expandToc): fix crash.
6604 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * MenuBackend.C (expandToc): gettext on float names.
6608 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6610 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6611 implement bool empty() [bug 490]
6613 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6617 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * several files: ws changes
6621 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * text2.C (setCounter): clean up a bit, use boost.format.
6624 (updateCounters): initialize par upon declaration.
6626 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6627 if the layout exists. We do not just store the layout any more.
6628 (SwitchLayoutsBetweenClasses): use boost.format
6630 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6632 * converter.C (convert): if from and to files are the same, use a
6633 temporary files as intermediary
6635 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6638 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6640 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6642 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6644 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6646 * tabular.C (asciiPrintCell): use string(size, char) instead of
6649 * sgml.C (openTag): fix order of arguments to string constructor
6652 * lyxfunc.C (dispatch): use boost.format
6654 * lots of files: change "c" -> 'c'
6656 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6658 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6660 2002-11-25 Angus Leeming <leeming@lyx.org>
6662 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6664 * lyx_main.C (init): compile fix.
6666 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6668 * lyx_cb.C (start): boost.formatify
6669 do not include <iostream>
6671 * lengthcommon.C: ws only
6673 * boost-inst.C,BoostFormat.h: add more explict instantations
6675 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * lots of files: handle USE_BOOST_FORMAT
6679 2002-11-21 John Levon <levon@movementarian.org>
6681 * pspell.C: fix compile
6683 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6685 * lyxfunc.C (dispatch): use boost::format
6689 * lyxfont.C (stateText): use boost::format
6691 * lyx_main.C (LyX): use boost::format
6693 (queryUserLyXDir): ditto
6696 (typedef boost::function): use the recommened syntax.
6698 * importer.C (Import): use boost::format
6700 * debug.C (showLevel): use boost::format
6702 * converter.C (view): use boost::format
6707 * bufferview_funcs.C (currentState): use boost::format
6709 * bufferlist.C (emergencyWrite): use boost::format
6711 * buffer.C (readLyXformat2): use boost::format
6712 (parseSingleLyXformat2Token): ditto
6714 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6716 * LaTeX.C (run): use boost::format
6718 * Chktex.C (scanLogFile): use boost::format
6720 * BufferView_pimpl.C (savePosition): use boost::format
6721 (restorePosition): ditto
6722 (MenuInsertLyXFile): ditto
6724 * BoostFormat.h: help file for explicit instation.
6726 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6728 * tabular.C (latex): Support for block alignment in fixed width
6731 2002-11-17 John Levon <levon@movementarian.org>
6733 * BufferView_pimpl.C:
6735 * lyxfunc.C: split filedialog into open/save
6737 2002-11-08 Juergen Vigna <jug@sad.it>
6739 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6740 by my last patch (hopefully).
6742 2002-11-08 John Levon <levon@movementarian.org>
6751 * toc.C: ParConstIterator, and use it (from Lars)
6753 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6755 * lyxtextclass.[Ch]: revise and add doxygen comments
6757 2002-11-07 John Levon <levon@movementarian.org>
6759 * text.C: fix progress value for spellchecker
6761 * toc.C: fix navigate menu for insetwrap inside minipage
6763 * paragraph_funcs.C: added FIXME for suspect code
6765 2002-11-07 John Levon <levon@movementarian.org>
6767 * BufferView_pimpl.C: fix redrawing of insets
6770 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6772 * text2.C (updateCounters): fix bug 668
6774 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6776 * text3.C (dispatch): Do not make the buffer dirty when moving the
6779 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * vc-backend.C: STRCONV
6784 * text2.C (setCounter): STRCONV
6786 * paragraph.C (asString): STRCONV
6788 * lyxlength.C (asString): STRCONV
6789 (asLatexString): ditto
6791 * lyxgluelength.C (asString): STRCONV
6792 (asLatexString): ditto
6794 * lyxfunc.C (dispatch): STRCONV
6797 * lyxfont.C (stateText): STRCONV
6799 * importer.C (Import): STRCONV
6801 * counters.C (labelItem): STRCONV
6802 (numberLabel): ditto
6803 (numberLabel): remove unused ostringstream o
6808 * bufferview_funcs.C (currentState): STRCONV
6810 * buffer.C (readFile): STRCONV
6811 (asciiParagraph): ditto
6812 (makeLaTeXFile): ditto
6814 * Spacing.C (writeEnvirBegin): STRCONV
6816 * LaTeXFeatures.C (getLanguages): STRCONV
6817 (getPackages): ditto
6819 (getBabelOptions): ditto
6820 (getTClassPreamble): ditto
6821 (getLyXSGMLEntities): ditto
6822 (getIncludedFiles): ditto
6826 (scanAuxFile): ditto
6829 * LString.h: add the STRCONV macros
6831 * BufferView_pimpl.C (savePosition): STRCONV
6832 (restorePosition): ditto
6833 (MenuInsertLyXFile): ditto
6835 * vc-backend.C (scanMaster): change from submatch[...] to
6838 * funcrequest.C: include config.h
6840 * factory.C: include config.h
6842 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6844 * box.C: include config.h
6846 * LaTeX.C (scanAuxFile): change from submatch[...] to
6850 2002-10-25 Angus Leeming <leeming@lyx.org>
6852 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6854 * ispell.[Ch] (setError): new method.
6855 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6856 Use setError() insetead of goto END.
6858 * lyx_cb.C (AutoSave): move out child process into new class
6861 2002-10-30 John Levon <levon@movementarian.org>
6863 * text3.C: make start appendix undoable
6865 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6867 * lyxlength.C (inPixels): Fix returned value.
6869 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6872 2002-10-24 Angus Leeming <leeming@lyx.org>
6874 * lyxgluelength.h: no need to forward declare BufferParams
6875 or BufferView, so don't.
6877 2002-10-21 John Levon <levon@movementarian.org>
6879 * BufferView.C: menuUndo ->undo, redo
6881 * BufferView.h: document, remove dead, make some methods private
6883 * paragraph_funcs.h:
6884 * paragraph_funcs.C:
6885 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6890 * sgml.C: move sgml open/close tag into sgml.C
6892 * bufferview_funcs.h: unused prototype
6895 * lyxfunc.C: remove unused
6898 * text.C: remove unused
6900 2002-10-21 John Levon <levon@movementarian.org>
6904 * BufferView_pimpl.h:
6905 * BufferView_pimpl.C: fix mouse wheel handling based on
6906 patch from Darren Freeman
6908 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6910 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6912 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6914 * lyxlength.C (inPixels): Fix hanfling of negative length.
6915 Fix LyXLength::MU case.
6917 2002-10-16 John Levon <levon@movementarian.org>
6919 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6921 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6923 * converter.C (view): add support for $$i (file name) and $$p
6924 (file path) for the viewer command. If $$i is not specified, then
6925 it is appended to the command (for compatibility with old syntax)
6927 2002-10-14 Juergen Vigna <jug@sad.it>
6929 * undo_funcs.C (textHandleUndo): alter the order in which the
6930 new undopar is added to the LyXText, as we have to set first
6931 the right prev/next and then add it as otherwise the rebuild of
6932 LyXText is not correct. Also reset the cursor to the right paragraph,
6933 with this IMO we could remove the hack in "redoParagraphs()".
6935 2002-10-09 Angus Leeming <leeming@lyx.org>
6937 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6938 to turn off an optimisation if a new inset is to be inserted.
6940 2002-10-11 André Pönitz <poenitz@gmx.net>
6942 * lyxtext.h: make some functions public to allow access
6943 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6945 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6947 * text3.C (dispatch): when changing layout, avoid an infinite loop
6950 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6952 * lyxrc.C (read): treat a viewer or converter command of "none" as
6955 * MenuBackend.C (expandFormats): for an update, also allow the
6956 formats that are not viewable
6958 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6959 script if it is newer than the lyxrc.defaults in user directory
6961 2002-10-07 André Pönitz <poenitz@gmx.net>
6963 * text.C: Vitaly Lipatov's small i18n fix
6965 2002-09-25 Angus Leeming <leeming@lyx.org>
6967 * ispell.h: doxygen fix.
6969 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6971 * buffer.h (readFile): Add a new argument to the method, to allow
6972 reading of old-format templates.
6974 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6976 * toc.C (getTocList): Get TOC from InsetWrap.
6978 2002-09-16 John Levon <levon@movementarian.org>
6980 * lyxfunc.C: check tabular for cut/copy too
6982 2002-09-12 John Levon <levon@movementarian.org>
6987 * factory.C: add header
6989 * paragraph_funcs.h:
6990 * paragraph_funcs.C: cleanup
6992 2002-09-11 John Levon <levon@movementarian.org>
6994 * PrinterParams.h: odd/even default to true
6996 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6998 * PrinterParams.h: update printer parameters for new xforms dialog
7000 2002-09-11 Angus Leeming <leeming@lyx.org>
7002 * lyxserver.C (read_ready): re-write to make it more transparent
7003 and to make it work in coherent fashion under Tru64 Unix.
7005 2002-09-11 André Pönitz <poenitz@gmx.net>
7009 * text3.C: implement LFUN_WORDSEL
7011 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7014 make floatlist_ a boost::shared_ptr<FloatList>
7016 * lyxtextclass.C: include FloatList.h
7017 (LyXTextClass): initialize floatlist_
7018 (TextClassTags): add TC_NOFLOAT
7019 (Read): match "nofloat" to TC_NOFLOAT and use it.
7020 (readFloat): modify call to floatlist_
7024 * FloatList.[Ch] (FloatList): remove commented out float
7026 (erase): new function
7028 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7030 * MenuBackend.C (expandToc): fix crash when there is no document
7033 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7035 * many files: Add insetwrap.
7037 2002-09-09 John Levon <levon@movementarian.org>
7039 * text2.C: remove confusing and awkward depth wraparound
7041 2002-09-09 John Levon <levon@movementarian.org>
7043 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7046 * buffer.C: remove getIncludeonlyList()
7049 * lyxfunc.C: remove headers
7051 2002-09-09 Juergen Vigna <jug@sad.it>
7053 * text.C (getColumnNearX): fix form Michael this is most
7054 probably a cut&paste bug.
7056 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7060 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7061 references, ws changes.
7063 * text2.C (init): update counters after init
7064 (insertParagraph): no need to set counter on idividual paragraphs.
7065 (setCounter): access the counters object in the textclass object
7066 on in the buffer object.
7067 (updateCounters): ditto
7069 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7070 shared_ptr<Counters> to avoid loading counters.h in all
7072 (LyXTextClass): initialize ctrs_
7073 (TextClassTags): add TC_COUNTER, and ...
7074 (Read): use it here.
7075 (CounterTags): new tags
7076 (readCounter): new function
7077 (counters): new funtion
7078 (defaultLayoutName): return a const reference
7080 * counters.C (Counters): remove contructor
7081 (newCounter): remove a couple of unneeded statements.
7082 (newCounter): simplify a bit.
7083 (numberLabel): some small formatting changes.
7085 * buffer.[Ch]: remove all traces of counters, move the Counters
7086 object to the LyXTextClass.
7088 2002-09-06 Alain Castera <castera@in2p3.fr>
7090 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7091 package to set the horizontal alignment on fixed width columns.
7094 * lyx_sty.h: added tabularnewline macro def.
7096 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7098 2002-09-06 John Levon <levon@movementarian.org>
7100 * LyXAction.C: tooltips for sub/superscript
7102 * MenuBackend.C: a bit more verbose
7104 * lyxfunc.C: tiny clean
7106 * undo_funcs.C: document undo_frozen
7108 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * counters.C (Counters): add missing algorithm counter.
7112 * text2.C (setCounter): lookup the counter with layouts latexname
7113 instead of by section number.
7114 (setCounter): use a hackish way to lookup the correct enum
7116 a float name->type change
7117 reset enum couners with counter name directly instead of depth value.
7119 * counters.C (Counters): remove the push_backs, change to use the
7120 float type not the float name.
7121 (labelItem): remove unused string, float name->type change
7123 * counters.h: don't include vector, loose the enums and sects vectors
7125 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7128 (Read): add float->TC_FLOAT to textclassTags
7129 (Read): and handle it in the switch
7130 (readFloat): new function
7132 * FloatList.C (FloatList): comment out the hardcoded float
7135 * lyxlayout.h: ws change.
7137 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7139 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7141 2002-09-03 Angus Leeming <leeming@lyx.org>
7143 * BufferView_pimpl.h: qualified name is not allowed in member
7144 declaration: WorkArea & Pimpl::workarea() const;
7146 * factory.C: added using std::endl directive.
7148 * text3.C: added using std::find and std::vector directives.
7150 2002-08-29 André Pönitz <poenitz@gmx.net>
7153 * text2.C: remove unused member number_of_rows
7156 * BufferView2.C: remove file, move contents to...
7157 * BufferView.C: ... here
7159 * BufferView_pimpl.C:
7160 * factory.C: move more inset creation to factory
7162 * vspace.C: avoid direct usage of LyXText, ws changes
7165 don't provide direct access to WorkArea, use two simple
7166 acessors haveSelction() and workHeight() instead
7169 2002-08-29 John Levon <levon@movementarian.org>
7171 * BufferView_pimpl.C (dispatch): do not continue when
7174 2002-08-28 André Pönitz <poenitz@gmx.net>
7176 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7179 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7181 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7183 * buffer.C: increment LYX_FORMAT to 221
7185 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7186 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7188 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7190 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7192 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7194 * factory.C (createInset): use LyXTextClass::floats
7196 * MenuBackend.C (expandFloatListInsert):
7197 (expandFloatInsert):
7200 * text2.C (setCounter):
7202 * LaTeXFeatures.C (useFloat):
7203 (getFloatDefinitions):
7205 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7207 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7208 floatlist_, with accessor floats().
7210 * FloatList.h: remove global FloatList
7212 2002-08-26 André Pönitz <poenitz@gmx.net>
7214 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7218 * BufferView_pimpl.C:
7219 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7221 2002-08-25 John Levon <levon@movementarian.org>
7223 * LyXAction.C: fix margin note description
7225 2002-08-24 John Levon <levon@movementarian.org>
7229 * bufferview_funcs.C:
7231 * undo_funcs.C: cleanups
7233 * lyxfunc.C: disable CUT/COPY when no selection
7235 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7237 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7238 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7240 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7241 Add backward compatibility to "mono", "gray" and "no".
7243 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7245 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7246 (and file_format >= 200).
7248 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7250 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7252 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7254 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7256 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7258 * BufferView_pimpl.C:
7265 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7266 inset and code to make it work with the paragraph code. The inset
7267 can be anywhere in the paragraph, but will only do the expected
7268 thing in LaTeX if the layout file contains the parameter line
7270 (or more generally, a nonzero value) for that layout.
7272 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * paragraph.h: remove the declaration of undefined counters class
7277 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7279 * text2.C (setCounter): fixed enumeration mis-count as reported by
7280 Dr. Richard Hawkins.
7282 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7284 * paragraph_funcs.h: remove some unneeded includes
7286 * text.C (backspace): pasteParagraph now in global scipe
7288 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7289 (pasteSelection): ditto
7291 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7292 * paragraph_funcs.C (pasteParagraph): ... here
7294 2002-08-20 André Pönitz <poenitz@gmx.net>
7296 * commandtags.h: new LFUNs for swapping/copying table row/colums
7299 * lyxfunc.C: support for new lfuns
7301 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * buffer.[Ch]: remove NO_COMPABILITY stuff
7306 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7308 * boost.C (throw_exception): new file, with helper function for
7309 boost compiled without exceptions.
7314 * ParameterStruct.h:
7315 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7317 * bufferlist.C (emergencyWriteAll): use boost bind
7319 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7321 * text.C: include paragraph_funcs.h
7322 (breakParagraph): breakParagraph is now in global scope
7324 * paragraph_funcs.[Ch]: new files
7326 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7329 * buffer.C: include paragraph_funcs.h
7330 (insertStringAsLines): breakParagraph is now in global scope
7332 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7335 * CutAndPaste.C: include paragraph_funcs.h
7336 (cutSelection): breakParagraphConservative is now in global scope
7337 (pasteSelection): ditto
7339 * buffer.h: declare oprator== and operator!= for
7340 Buffer::inset_iterator
7342 * bufferlist.C (emergencyWrite): don't use fmt(...)
7344 * text3.C: add using std::endl
7346 * BufferView.C (moveCursorUpdate): remove default arg
7348 2002-08-20 André Pönitz <poenitz@gmx.net>
7350 * buffer.[Ch]: move inline functions to .C
7353 * BufferView_pimpl.C:
7355 * buffer.[Ch]: use improved inset_iterator
7358 * paragraph.[Ch]: write one paragraph at a time
7360 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7362 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7363 style if style is not specified.
7365 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7367 * text2.C (setCounter): when searching for right label for a
7368 caption, make sure to recurse to parent insets (so that a caption
7369 in a minipage in a figure float works) (bug #568)
7371 2002-08-20 André Pönitz <poenitz@gmx.net>
7373 * text3.C: new file for LyXText::dispatch() and helpers
7375 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7377 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7379 2002-08-19 André Pönitz <poenitz@gmx.net>
7382 * text.C: new LyXText::dispatch()
7384 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7386 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7388 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7390 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7393 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7395 * Makefile.am: use $(variables) instead of @substitutions@
7397 2002-08-15 André Pönitz <poenitz@gmx.net>
7400 * BufferView_pimpl.C: streamlining mathed <-> outer world
7404 * LyXAction.C: remove unused LFUN_MATH
7406 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7410 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * paragraph.C (Paragraph): reformat a bit
7413 (cutIntoMinibuffer): use builtin InsetList function instad of
7417 * buffer.C: include boost/bind.hpp, add using std::for_each
7418 (writeFileAscii): use ParagraphList iterators
7419 (validate): use for_each for validate traversal of paragraphs
7420 (getBibkeyList): use ParagraphList iterators
7421 (resizeInsets): use for_each to resizeInsetsLyXText for all
7423 (getParFromID): use ParagraphList iterators
7425 * BufferView2.C (lockInset): use paragraph list and iterators
7427 2002-08-14 John Levon <levon@movementarian.org>
7429 * lyxserver.C: remove spurious xforms include
7431 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7433 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7435 2002-08-13 André Pönitz <poenitz@gmx.net>
7438 * lyxfunc.C: further cleaning
7440 2002-08-13 André Pönitz <poenitz@gmx.net>
7442 * funcrequest.h: new constructor
7444 * funcrequest.C: move stuff here from .h
7447 * BufferView_pimpl.C:
7450 * lyxfunc.C: subsequent changes
7452 * lyxfunc.h: new view() member function
7454 * lyxfunc.C: subsequent changes
7456 2002-08-13 Angus Leeming <leeming@lyx.org>
7459 * BufferView_pimpl.C:
7467 changes due to the changed LyXView interface that now returns references
7468 to member variables not pointers.
7470 2002-08-13 Angus Leeming <leeming@lyx.org>
7472 * WordLangTuple (word, lang_code): return references to strings,
7477 * lyxtext.h: forward-declare WordLangTuple.
7482 * text.C: #include "WordLangTuple.h".
7485 * text.C: (selectNextWordToSpellcheck): constify return type.
7487 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7493 * paragraph_pimpl.h:
7496 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7498 Made updateCounter always count from start of buffer, and removed
7499 second argument (par).
7500 Reverted floats number display to '#'. Perhaps I'll try again when the
7501 code base is sanitized a bit.
7503 2002-08-12 Angus Leeming <leeming@lyx.org>
7505 * buffer.[Ch] (getLabelList): constify.
7507 2002-08-07 André Pönitz <poenitz@gmx.net>
7509 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7511 * funcrequest.h: extension to keep mouse (x,y) position
7513 2002-08-12 Juergen Vigna <jug@sad.it>
7515 * BufferView2.C (insertErrors): forbid undo when inserting error
7518 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7520 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * ParagraphList.[Ch]: new files
7524 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7526 * BufferView2.C (lockInset): ParagraphList changes
7529 * bufferlist.C: ditto
7533 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7536 unused class variable counter_,
7538 * paragraph.[Ch] (getFirstCounter): delete unused function
7540 * counters.C: include LAssert.h
7541 (reset): add a new function with no arg, change other version to
7542 not have def. arg and to not allow empty arg.
7544 * text2.C (setCounter): remove empty arg from call to Counters::reset
7546 2002-08-11 John Levon <levon@movementarian.org>
7548 * Makefile.am: add WordLangTuple.h
7550 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7552 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7553 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7555 * insets/insettext.C: InsetList changes
7557 * graphics/GraphicsSupport.C (operator()): InsetList changes
7559 * toc.C (getTocList): InsetList changes
7561 * paragraph_pimpl.[Ch]: InsetList changes
7563 * paragraph.[Ch]: InsetList changes
7565 * buffer.C (inset_iterator): InsetList changes
7566 (setParagraph): ditto
7567 * buffer.h (inset_iterator): ditto
7568 * iterators.C (operator++): ditto
7569 * iterators.h: ditto
7571 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7573 * InsetList.[Ch]: new files, most InsetList handling moved out of
7576 * BufferView2.C (removeAutoInsets): InsetList changes
7578 (ChangeInsets): ditto
7580 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * paragraph_pimpl.h (empty): new function
7584 * paragraph.[Ch] (empty): new function
7586 * other files: use the new Paragraph::empty function
7588 2002-08-09 John Levon <levon@movementarian.org>
7590 * lyxtext.h: remove unused refresh_height
7592 2002-08-09 John Levon <levon@movementarian.org>
7599 * paragraph.C: move sgml char escaping out of paragraph
7602 * paragraph.C: remove id setter
7606 * paragraph_pimpl.C: remove dead tex_code_break_column
7608 * bufferview_funcs.C: small cleanup
7610 * lyxfunc.C: remove dead proto
7612 * lyxtext.h: make some stuff private. Remove some dead stuff.
7614 * lyxgluelength.C: make as[LyX]String() readable
7616 2002-08-08 John Levon <levon@movementarian.org>
7621 * ToolbarDefaults.C:
7624 * toc.C: lyxaction cleanup
7626 2002-08-08 John Levon <levon@movementarian.org>
7628 * BufferView2.C: small cleanup
7631 * lyxfind.C: move unnecessary header into the .C
7633 2002-08-08 John Levon <levon@movementarian.org>
7635 * funcrequest.h: just tedious nonsense
7638 * lyx_main.C: cleanups
7641 * vspace.C: remove dead header lyx_main.h
7643 2002-08-07 Angus Leeming <leeming@lyx.org>
7646 * paragraph_pimpl.h:
7647 Forward declare class Counters in paragraph.h by moving the ctrs member
7648 variable into Paragraph::Pimpl.
7649 (counters): new method, returning a reference to pimpl_->ctrs.
7651 * text2.C: ensuing changes.
7653 2002-08-07 John Levon <levon@movementarian.org>
7655 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7657 * BufferView_pimpl.C: announce X selection on double/triple
7660 * lyx_main.C: use correct bool in batch dispatch
7662 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7664 2002-08-07 André Pönitz <poenitz@gmx.net>
7666 * funcrequest.h: new class to wrap a kb_action and its argument
7669 * BufferView_pimpl[Ch]:
7673 * lyxrc.C: subsequent changes
7676 2002-08-07 John Levon <levon@movementarian.org>
7678 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7679 document options change.
7681 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7686 * makefile.am: move counters functionality over from
7687 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7689 2002-08-06 John Levon <levon@movementarian.org>
7691 * WordLangTuple.h: new file for word + language code tuple
7702 * BufferView2.C: use WordLangTuple
7705 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7707 2002-08-06 John Levon <levon@movementarian.org>
7709 * lyx_main.C: fix cmdline batch handling
7711 2002-08-06 André Pönitz <poenitz@gmx.net>
7713 * lyxrc.C: set default for show_banner to true
7715 2002-08-06 John Levon <levon@movementarian.org>
7717 * pspell.C: fix a crash, and allow new aspell to work
7719 2002-08-06 John Levon <levon@movementarian.org>
7722 * kbmap.C: small cleanup
7725 * vspace.C: add const
7727 2002-08-05 John Levon <levon@movementarian.org>
7729 * LyXAction.C: back to tabular-insert
7731 2002-08-04 John Levon <levon@movementarian.org>
7734 * BufferView.C: cosmetic change
7736 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7746 * BufferView2.C: purge all "Lyx" not "LyX" strings
7749 * lyxcursor.C: attempt to add some documentation
7754 * ToolbarDefaults.C:
7755 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7756 merge with LFUN_TABULAR_INSERT
7763 * pspell.C: split up i/pspell implementations into separate
7764 files, many cleanups
7766 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7768 * text2.C: some cleanup
7770 * lyxfunc.C: don't check for isp_command == "none" any more, it
7771 didn't make any sense
7773 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7778 * makefile.am: move counters functionality over
7779 from text2.C/paragraph.[Ch] to counters.[Ch], and
7781 2002-08-02 John Levon <levon@movementarian.org>
7783 * buffer.C: s/lyxconvert/lyx2lyx/
7785 2002-08-02 Angus Leeming <leeming@lyx.org>
7787 * lyxlex.C: revert John's change as it breaks reading of the user
7790 2002-08-02 Angus Leeming <leeming@lyx.org>
7792 * importer.C (Import):
7793 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7794 changes due to LyXView::view() now returning a boost::shared_ptr.
7796 2002-08-02 John Levon <levon@movementarian.org>
7798 * lyxlex.C: small cleanup
7800 2002-08-02 John Levon <levon@movementarian.org>
7802 * text2.C (status): small cleanup, no logic change
7804 2002-08-01 John Levon <levon@movementarian.org>
7807 * buffer.C (writeFile): don't output alerts, caller
7811 * lyx_cb.C: from above
7813 * lyxfunc.C: allow to open non-existent files
7815 2002-07-31 John Levon <levon@movementarian.org>
7817 * lyxserver.C: don't let incidental errors get
7820 2002-07-30 John Levon <levon@movementarian.org>
7822 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7824 2002-07-30 John Levon <levon@movementarian.org>
7827 * lyxserver.C: remove I/O callback too
7829 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7831 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7834 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7836 * many files: strip,frontStrip -> trim,ltrim,rtrim
7838 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * PrinterParams.h: remove extern containsOnly, and include
7841 support/lstrings.h instead.
7843 * LaTeX.C (scanAuxFile): modify because of strip changes
7845 * buffer.C (makeLaTeXFile): ditto
7846 * bufferparams.C (writeFile): ditt
7847 * lyxfont.C (stateText): ditto
7848 * lyxserver.C (read_ready): ditto
7849 * vc-backend.C (scanMaster): ditto
7851 * BufferView_pimpl.h: ws changes
7853 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7855 2002-07-26 André Pönitz <poenitz@gmx.net>
7857 * kb_sequence.C: remove unnedred usings
7859 2002-07-26 Juergen Vigna <jug@sad.it>
7861 * lyxfind.C (LyXReplace): we have to check better if the returned
7862 text is not of theLockingInset()->getLockingInset().
7864 2002-07-25 Juergen Vigna <jug@sad.it>
7866 * lyxfind.C (LyXReplace): don't replace if we don't get the
7869 * undo_funcs.C (createUndo): remove debugging code.
7871 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7873 * buffer.C (parseSingleLyXformat2Token): Use default placement
7874 when reading old floats.
7876 * FloatList.C (FloatList): Change the default placement of figure
7877 and tables to "tbp".
7879 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7881 * MenuBackend.C: using std::max
7883 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7885 * MenuBackend.C (expandToc):
7886 (expandToc2): code moved from xforms menu frontend. It is now
7887 generic and TOCs are transparent to menu frontends.
7889 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7891 * toc.C (getTocList): protect against buf=0
7893 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7894 Menu as first parameter. Now, this calls itself recursively to
7895 expand a whole tree (this will be useful for TOC handling)
7896 (expandFloatInsert): remove 'wide' version of floats
7898 * MenuBackend.h (submenuname): returns the name of the submenu.
7899 (submenu): returns the submenu itself, provided it has been
7900 created by MenuBackend::expand
7902 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7904 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7905 insets which have noFontChange == true. (bug #172)
7907 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7909 * BufferView_pimpl.C: add connection objects and use them...
7912 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7914 * MenuBackend.C (expandLastfiles):
7917 (expandFloatListInsert):
7918 (expandFloatInsert):
7919 (expand): split expand in parts
7921 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7923 * lyx_gui.C: use lyx_gui::exit()
7925 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7927 * LyXAction.C: show the failing pseudo action
7929 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7931 * buffer.C (readFile): Run the lyxconvert script in order to read
7934 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7938 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7940 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7944 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7946 2002-07-22 Herbert Voss <voss@lyx.org>
7949 * lyxlength.[Ch]: add support for the vertical lengths
7951 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7953 * toc.[Ch]: std:: fixes
7955 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7957 * lyxrc.C: do not include lyx_main.h
7959 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7965 * BufferView2.C: include "lyxlex.h"
7968 * bufferparams.h: do not #include "lyxlex.h"
7970 * lyxtextclasslist.C (Add): remove method
7971 (classlist): renamed to classlist_
7973 * paragraph_pimpl.C:
7977 * bufferview_funcs.C:
7982 * toc.C (getTocList): use BufferParams::getLyXTextClass
7984 * toc.C (getTocList): use InsetFloat::addToToc
7986 * toc.[Ch]: new files, containing helper functions to handle table
7989 * lyxfunc.C (dispatch): no need to remove spaces around command
7991 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7992 first command of the sequence; it is not very clever, but I do not
7993 have a better idea, actually
7995 * LyXAction.C (LookupFunc): make sure to remove space at the
7996 beginning and end of the command
7998 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * MenuBackend.C (getMenubar): new method: return the menubar of
8002 (read): treat differently reading of menu and menubar (in
8003 particular, the menubar has no name now)
8004 (Menu::menubar): remove
8006 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8009 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8011 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8012 a bibitem inset in a RTL paragraph.
8014 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8016 * paragraph_pimpl.C: constify
8018 * BufferView_pimpl.C:
8020 * lyxfunc.C: fix dispatch in a nicer way
8022 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8024 * lyxfunc.C (dispatch):
8025 * BufferView_pimpl.C:
8026 * BufferView_pimpl.h:
8028 * BufferView.h: rename Dispatch() to dispatch()
8030 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8032 * lyxlayout.C (Read): honor DependsOn tag
8034 * lyxlayout.[Ch] (depends_on): new method
8036 * version.C.in: update lyx_docversion
8038 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8040 * paragraph.C (validate): remove from here...
8041 * paragraph_pimpl.C (validate): ... and move here
8042 (isTextAt): make it const
8044 * buffer.C (getLists): ws cleanup
8046 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8048 * language.C (read): Use iso8859-1 encoding in latex_lang
8049 (this prevents LyX from crashing when using iso10646-1 encoding).
8051 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8053 * text2.C (toggleInset): if cursor is inside an inset, close the
8054 inset and leave cursor _after_ it
8056 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8058 * lyxfunc.C: move minibuffer completion handling out of here
8060 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8062 * BufferView_pimpl.C:
8063 * LaTeX.C: fix dispatch calls
8065 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8067 * text.C (drawChars): Fix Arabic text rendering.
8069 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8073 * lyxfunc.C: remove message-push/pop
8077 * lyxfunc.C: rationalise some code by removing verboseDispatch
8078 in favour of a bool argument to dispatch()
8080 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8082 * lyx_main.C (init): make sure to read symlinks as absolute paths
8084 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8087 * lyxfunc.C: no need for commandshortcut to be a member
8089 2002-07-15 André Pönitz <poenitz@gmx.net>
8091 * converter.C: add support for $$s (scripts from lib/scripts dir)
8092 * lyx_main.C: white space
8094 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8098 * lyxrc.C: remove second exit confirmation
8100 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8105 * BufferView_pimpl.h:
8106 * BufferView_pimpl.C:
8107 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8109 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8111 * MenuBackend.C (expand): add numeric shortcuts to document menu
8113 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8115 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * lyxfont.C (setLyXFamily):
8124 * buffer.C (asciiParagraph): use ascii_lowercase
8126 2002-07-15 Mike Fabian <mfabian@suse.de>
8128 * lyxlex_pimpl.C (search_kw):
8129 * lyxlex.C (getLongString):
8130 * converter.h (operator<):
8131 * converter.C (operator<):
8132 * buffer.C (parseSingleLyXformat2Token):
8134 * ToolbarDefaults.C (read):
8135 * MenuBackend.C (checkShortcuts):
8137 * LColor.C (getFromGUIName):
8138 (getFromLyXName): use the compare_ascii_no_case instead of
8139 compare_no_case, because in turkish, 'i' is not the lowercase
8140 version of 'I', and thus turkish locale breaks parsing of tags.
8142 2002-07-16 Angus Leeming <leeming@lyx.org>
8144 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8145 now takes a Buffer const & argument.
8147 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8149 * BufferView.C (resize): check there's a buffer to resize
8151 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8153 * lyxfunc.C: remove dead code
8156 * lyxserver.C: use lyx_guii::set_read_callback
8158 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8160 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8161 an inset in a RTL paragraph.
8163 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8165 * lyxfunc.C: repaint after a font size update
8167 2002-07-15 André Pönitz <poenitz@gmx.net>
8169 * lyxlength.C: inBP should be able to return negative values
8171 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8173 * lyxfunc.C: use lyx_gui::update_fonts()
8175 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8177 * lyxfunc.C: use lyx_gui::update_color()
8179 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8185 * lyxrc.C: remove file->new asks for name option, and let
8186 buffer-new take an argument
8188 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8190 * BufferView_pimpl.C: remove unneeded extra repaint()
8192 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8194 * LyXAction.C: allow command-sequence with NoBuffer
8196 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8198 2002-07-10 Angus Leeming <leeming@lyx.org>
8200 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8202 2002-07-09 Angus Leeming <leeming@lyx.org>
8204 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8206 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8208 * lengthcommon.h: whitespace
8210 * lyxfunc.C: update scrollbar after goto paragraph
8212 * lyxtext.h: factor out page break drawing, and fix it so
8213 page break/added space paints as selected nicely
8215 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8217 * BufferView_pimpl.C: add FIXMEs, clean up a little
8219 2002-07-09 André Pönitz <poenitz@gmx.net>
8221 * lyxfont.[Ch]: support for wasy symbols
8223 2002-07-08 André Pönitz <poenitz@gmx.net>
8225 * BufferView_pimpl.C: apply John's patch for #93.
8227 2002-07-05 Angus Leeming <leeming@lyx.org>
8229 * BufferView_pimpl.C (buffer): generate previews if desired.
8231 * LColor.h: add "preview" to the color enum.
8233 * LColor.C (LColor): add a corresponding entry to the items array.
8235 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8238 2002-07-05 Angus Leeming <leeming@lyx.org>
8240 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8241 The body of the code is now in the method that is passed an ostream &
8242 rather than a file name.
8243 Pass an additional only_preamble parameter, useful for the forthcoming
8246 2002-07-03 André Pönitz <poenitz@gmx.net>
8248 * lyxfunc.C: simplify getStatus() a bit for math stuff
8250 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8252 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8254 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8256 * text.C (changeRegionCase): do not change case of all the
8257 document when region ends at paragraph end (bug #461)
8259 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8261 * paragraph.C (startTeXParParams):
8262 (endTeXParParams): add \protect when necessary
8264 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8266 * BufferView_pimpl.C (workAreaExpose): remove warning
8268 2002-06-27 Angus Leeming <leeming@lyx.org>
8270 * Makefile.am: add lyxlayout_ptr_fwd.h.
8272 2002-06-26 André Pönitz <poenitz@gmx.net>
8274 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8276 2002-06-25 Angus Leeming <leeming@lyx.org>
8278 * lyxfunc.C (dispatch): Comment out the call to
8279 grfx::GCache::changeDisplay. The method no longer exists now that the
8280 pixmap generation part of the graphics loader has been moved into
8283 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8285 * text2.C: layout as layout
8287 * text.C: layout as layout
8289 * tabular.C (OldFormatRead): layout as layout
8291 * paragraph_pimpl.C (TeXDeeper): layout as layout
8292 (realizeFont): layout as layout
8294 * paragraph.C (writeFile): layout as layout
8295 (validate): layout as layout
8296 (getFont): layout as layout
8297 (getLabelFont): layout as layout
8298 (getLayoutFont): layout as layout
8299 (breakParagraph): layout as layout
8300 (stripLeadingSpaces): layout as layout
8301 (getEndLabel): layout as layout
8302 (getMaxDepthAfter): layout as layout
8303 (applyLayout): layout as layout
8304 (TeXOnePar): layout as layout
8305 (simpleTeXOnePar): layout as layout
8306 (TeXEnvironment): layout as layout
8307 (layout): layout as layout
8308 (layout): layout as layout
8310 * lyxtextclass.C (compare_name): new functor to work with
8311 shared_ptr, layout as layout
8312 (Read): layout as layout
8313 (hasLayout): layout as layout
8314 (operator): layout as layout
8315 (delete_layout): layout as layout
8316 (defaultLayout): layout as layout
8318 * lyxlayout_ptr_fwd.h: new file
8320 * lyxlayout.C (Read): layout as layout
8322 * lyx_cb.C (MenuInsertLabel): layout as layout
8324 * bufferlist.C (newFile): layout as layout
8326 * buffer.C (readLyXformat2): layout as layout
8327 (parseSingleLyXformat2Token): layout as layout
8328 (insertStringAsLines): layout as layout
8329 (asciiParagraph): layout as layout
8330 (latexParagraphs): layout as layout
8331 (makeLinuxDocFile): layout as layout
8332 (simpleLinuxDocOnePar): layout as layout
8333 (makeDocBookFile): layout as layout
8334 (simpleDocBookOnePar): layout as layout
8335 (getLists): layout as layout
8337 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8339 * CutAndPaste.C (cutSelection): layout as layout
8340 (pasteSelection): layout as layout
8341 (SwitchLayoutsBetweenClasses): layout as layout
8343 * BufferView_pimpl.C (Dispatch): layout as layout
8344 (smartQuote): layout as layout
8346 * BufferView2.C (unlockInset): layout as layout
8348 2002-06-24 André Pönitz <poenitz@gmx.net>
8350 * lyxfunc.C: fix #487
8352 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8356 * lyxfunc.C: remove display_shortcuts, show_banner
8358 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8360 * Buffer_pimpl.C: oops, update on resize
8362 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8369 * BufferView.C: use repaint()
8371 * BufferView_pimpl.h:
8372 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8373 as it's a clearer description. Remove superfluous
8376 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8378 * text.C: fix bug 488. Not ideal, but getting
8379 getWord() to work properly for the insets that
8380 matter is more difficult ...
8382 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8384 * BufferView_pimpl.C:
8387 * lyxfunc.C: remove the six million index lyxfuncs to just
8388 one, and DTRT (bug 458)
8390 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8394 * BufferView_pimpl.h:
8395 * BufferView_pimpl.C: clean up resize() stuff,
8396 and unnecessary updateScreen()s
8398 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8402 * BufferView_pimpl.h:
8403 * BufferView_pimpl.C:
8406 * minibuffer.C: remove focus management of workarea,
8407 not needed. Use screen's greyOut()
8409 2002-06-17 Herbert Voss <voss@lyx.org>
8411 * converter.C: (convert) do not post a message, when converting
8412 fails, let the calling function decide what to do in this case
8414 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8416 * lyxfunc.C: tidy up a little
8418 2002-06-16 <alstrup@diku.dk>
8420 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8421 Got rid of FORMS_H_LOCATION include. Now we are
8424 2002-06-15 LyX Development team <lyx@rilke>
8426 * buffer.[Ch] (sgmlOpenTag):
8427 (sgmlCloseTag): Added support for avoiding pernicious mixed
8428 content. Return number of lines written.
8431 (makeDocBookFile): Fixed calls to sgml*Tag.
8432 Simple white space clean.
8434 (simpleDocBookOnePar): Simple white space clean.
8436 * tabular.[Ch] (docBook): Renamed to docbook and got another
8437 argument to related with the pernicious mixed content.
8439 (docbookRow): Fixed calls for docbook inset method.
8441 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8443 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8444 so it's X11 independent.
8448 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8450 2002-06-15 Lyx Development team <lyx@electronia>
8452 * intl.h: Renamed getTrans to getTransManager.
8454 2002-06-14 Angus Leeming <leeming@lyx.org>
8456 * Makefile.am: nuke forgotten stl_string_fwd.h.
8458 2002-06-12 Angus Leeming <leeming@lyx.org>
8460 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8462 2002-06-13 Angus Leeming <leeming@lyx.org>
8465 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8467 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8469 * kbmap.C (getiso): add support for cyrillic and greek
8471 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8475 * BufferView_pimpl.h:
8476 * BufferView_pimpl.C: move bogus scrolling logic
8479 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8482 * BufferView_pimpl.C: view->resize() change
8484 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8486 * BufferView_pimpl.C: topCursorVisible
8489 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8493 * lyx_gui.C: move to frontends/
8497 * lyx_main.C: changes from above
8499 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8506 * lyx_main.C: minor tidy
8508 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8510 * BufferView_pimpl.h:
8511 * BufferView_pimpl.C:
8513 * BufferView.C: make painter() const,
8516 * BufferView2.C: use screen() accessor
8519 * lyx_main.C: some minor cleanup
8521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8523 * BufferView_pimpl.h:
8524 * BufferView_pimpl.C: remove enter/leaveView,
8527 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8532 * BufferView_pimpl.h:
8533 * BufferView_pimpl.C: only construct screen once,
8536 * lyxrc.C: remove pointless comment
8538 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8541 * BufferView.C: remove active() and belowMouse()
8543 * BufferView_pimpl.h:
8544 * BufferView_pimpl.C: use workarea() not workarea_,
8545 and make it use a scoped_ptr instead
8547 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8549 * lyx_gui.C: add debug message on BadWindow
8551 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8553 * sp_spell.C: fdopen is not part of the C++ standard.
8555 * paragraph.C (InsetIterator): use >= instead of ==
8557 2002-06-07 Angus Leeming <leeming@lyx.org>
8559 Fixes needed to compile with Compaq cxx 6.5.
8560 * BufferView_pimpl.C:
8567 * lyxtextclasslist.C:
8572 all c-library variables have been moved into namespace std. Wrap
8573 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8578 Add a using std::abs declaration.
8580 * kbmap.h (modifier_pair):
8581 * paragraph.h (InsetTable, InsetList):
8582 * lyxfont.h (FontBits):
8583 type definition made public.
8585 * bufferlist.C (emergencyWriteAll): the compiler complains that
8586 there is more than one possible lyx::class_fun template to choose from.
8587 I re-named the void specialisation as lyx::void_class_fun.
8589 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8591 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8592 the compiler is is unable to find tostr in write_attribute.
8594 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8596 * buffer.C (sgmlError): hide #warning
8598 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * xtl/*: get rid of xtl, which is not in use anyway
8602 * LyXAction.C (init):
8603 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8604 were unimplemented xtl experimentation
8606 2002-06-04 André Pönitz <poenitz@gmx.net>
8608 * lyxfunc.C: disable array operation on simple formulae
8610 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8612 * converter.C: constify a bit
8614 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8616 * lyx_gui.C: check xforms version correctly
8618 2002-04-30 Herbert Voss <voss@lyx.org>
8620 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8623 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8625 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8626 attempt to register it with a VCS)
8628 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8630 * lyx_main.C (init): honor variables LYX_DIR_13x and
8633 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8637 * lyx_main.C: fix a crash on bad command line,
8638 and give a useful exit status on error
8640 * lyxfunc.C (doImport): allow -i lyx to work
8642 2002-03-30 André Pönitz <poenitz@gmx.net>
8644 * lyxfunc.C: mathed font changes
8646 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8661 * trans_mgr.h: srcdocs, and some minor cleanups
8663 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8665 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8666 call getFont all the time)
8668 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8670 * switch from SigC signals to boost::signals
8672 2002-05-29 André Pönitz <poenitz@gmx.net>
8674 * paragraph_pimpl.C (getChar): don't call size() too often...
8676 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8678 * paragraph_pimpl.C (insertChar): do not try to update tables when
8679 appending (pos == size())
8681 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8682 in order to reduce drastically the number of comparisons needed to
8683 parse a large document
8685 2002-05-29 André Pönitz <poenitz@gmx.net>
8691 * textclasslist.[Ch]:
8692 * sp_ispell.h: whitespace change
8694 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8696 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8697 lyxaction directly now.
8699 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8703 * lyxvc.C: remove unused headers
8705 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8712 * undo_funcs.C: some cleanups. Use shared_ptr
8713 and a template for the undo stacks.
8715 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8717 * BufferView_pimpl.h:
8718 * BufferView_pimpl.C:
8725 * text2.C: use key_state/mouse_state
8727 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8729 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8732 * chset.C: change include order
8733 (loadFile): use boost regex and get rid of LRegex and LSubstring
8735 * Makefile.am (BOOST_LIBS): new variable
8738 * LaTeX.C: change include order.
8739 (scanAuxFile): use boost regex and get rid of LRegex and
8743 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8748 * FontInfo.C: moved to frontends/xforms/
8751 * FontLoader.C: moved into frontends for GUIIzation
8756 * lyxfunc.C: changes from above
8758 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8760 * LColor.C: remove spurious X include
8762 * BufferView_pimpl.C:
8767 * text2.C: move font metrics to frontends/
8769 2002-05-24 Juergen Vigna <jug@sad.it>
8771 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8772 setting the undo_cursor.
8774 * ParagraphParameters.h: include local includes first.
8776 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8778 * BufferView_pimpl.C:
8779 * BufferView_pimpl.h:
8783 * screen.C: move WorkArea into frontends/
8789 * BufferView2.C: move LyXScreen into frontends/
8793 * lyx_gui.C: move lyxlookup into frontends/xforms/
8795 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8798 * BufferView_pimpl.C:
8808 * bufferview_funcs.C:
8821 * vc-backend.C: move LyX/XFormsView into frontends/
8823 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8835 * text2.C: move Painter to frontends/
8837 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * buffer.C: comment out some some code that depend upon lyx_format
8842 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8843 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8845 * buffer.h (NO_COMPABILITY): turn off compability
8847 * ColorHandler.C: include scoped_array.hpp
8849 * font.C: Use more specific smart_ptr header.
8852 * ShareContainer.h: ditto
8856 * BufferView_pimpl.h: ditto
8857 * ColorHandler.h: ditto
8859 * kbmap.C (defkey): change call to shared_ptr::reset
8861 2002-05-21 Juergen Vigna <jug@sad.it>
8863 * buffer.C (insertErtContents): fix to insert ert asis if it is
8864 non empty. Skip it completely if it contains only whitespaces.
8866 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8868 * BufferView_pimpl.C:
8869 * BufferView2.C: clear selection on paste (bug 393)
8871 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8873 * DepTable.C: include ctime
8875 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8877 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8879 2002-05-14 Juergen Vigna <jug@sad.it>
8881 * text.C (breakParagraph): fixed function to honor the keepempty
8882 layout in the right maner and also to permit the right breaking
8883 algorithm on empty or non empyt keepempty paragraphs.
8885 * paragraph.C (breakParagraph): we have to check also if the par
8886 is really empty (!size()) for isempty otherwise we do the wrong
8889 2002-05-10 Juergen Vigna <jug@sad.it>
8891 * buffer.[Ch] : The following are only changes to the ert
8892 compatibility read reading old LaTeX layout and font stuff and
8893 convert it to ERTInsets.
8895 * buffer.h: added isErtInset().
8897 * buffer.C (struct ErtComp): add a fromlayout bool to check
8898 if we're inside a LaTeX layout.
8899 (isErtInset): new helper function.
8900 (insertErtContents): look for other ert insets before this one
8901 and insert the contents there, so that we don't have subsequent
8902 ERT insets with nothing between them. This way we create only one
8903 inset with multiple paragraphs. Also check if we don't insert only
8904 spaces ' ' as they are ignored anyway afterwards in the .tex file
8905 so if we have only spaces we will ignore this latex part in the
8907 (parseSingleLyXformat2Token \\layout): better compatibility when
8908 reading layout-latex stuff.
8909 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8911 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8912 stuff after reading the inset only get the information back from
8915 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8917 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8919 * LaTeXFeatures.C (getBabelOptions): New method.
8921 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8923 * BufferView_pimpl.C (Dispatch): work around missing argument for
8926 2002-05-08 Juergen Vigna <jug@sad.it>
8928 * text.C (leftMargin): handle paragraph leftindent.
8930 * paragraph.C (writeFile): write the new \\leftindent tag.
8931 (validate): handle leftindent code.
8932 (TeXEnvironment): handle paragraphleftindent code again.
8934 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8936 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8937 for paragrap_extra indent code and new token \\leftindent.
8938 (latexParagraphs): handle the leftindent as environment.
8940 * ParameterStruct.h: added leftindent support.
8942 * ParagraphParameters.C (leftIndent): added support functions for
8943 the paragraph left indent.
8945 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8948 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8950 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8953 * text.C (computeBidiTables): No bidi in insetERT.
8955 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8958 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * version.C.in: pre 5
8962 2002-05-02 José Matos <jamatos@fep.up.pt>
8963 * buffer.C (makeDocBookFile): white space changes, add newline to
8965 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8967 * tabular.C (docBook): fix typo.
8969 2002-05-03 Juergen Vigna <jug@sad.it>
8971 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8972 change in LyXText as we can not be sure it was not freed.
8973 (drawOneRow): remove unused code.
8975 * text.C (drawInset): redo the calculation of the need_break_row as
8976 it could have a row which was already freed.
8977 (draw): look at the return value of drawInset and return false if
8978 it also returned false.
8979 (paintRowText): look at the return value of draw and return false if
8980 it also returned false.
8982 * lyxtext.h: added bool return type to drawInset() and draw() so that
8983 if we have a change in the row so that the rowbreak has to be redone
8984 we abort drawing as it will be called again.
8986 2002-05-02 Juergen Vigna <jug@sad.it>
8988 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8989 a change in the maintext also if we're inside an inset.
8990 (Dispatch): set the cursor again after a break line and after the
8991 screen has been updated as it could be we're in a different row.
8993 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8994 to set the cursor behind the pargraph with > size().
8995 (setCursor): check also for the same paragraph when checking where
8996 to put the cursor if we have a NFR inset.
8998 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8999 parts of layout read further up as it still was in the wrong
9002 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9004 * screen.C (drawFromTo): change sine fullRebreak always return
9007 * buffer.C (parseSingleLyXformat2Token): reindent some
9009 * BufferView_pimpl.C (update): change since fullRebreak always
9011 (Dispatch): git rid of the last hardcoded "Standard"s.
9013 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9015 * text2.[Ch] (fullRebreak): make it return void now that we always
9018 2002-04-30 Juergen Vigna <jug@sad.it>
9020 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9021 ert compatibility check for "latex" layout.
9023 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9025 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9026 minipages: use col% instead of p%, and also use the current font.
9027 (makeLaTeXFile): Fix use babel condition.
9028 (parseSingleLyXformat2Token): Correct font when reading old floats.
9030 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9032 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9033 inserting list of floats.
9035 2002-04-25 Herbert Voss <voss@lyx.org>
9037 * MenuBackend.C (expand): don't add the graphics extensions to the
9040 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9042 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9043 non-existing layout, do not complain if it was the default layout
9044 of the original class (bug #342)
9046 2002-04-24 Juergen Vigna <jug@sad.it>
9048 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9049 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9051 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9053 * buffer.C (getBibkeyList): If using \bibliography, return the
9054 option field with the reference itself. Enables us to provide natbib
9055 support when using \bibliography.
9057 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9059 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9061 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9062 natbib is provided by the LaTeX class.
9064 2002-04-23 Juergen Vigna <jug@sad.it>
9066 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9069 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9071 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9073 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9075 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9076 ensuremath around textordmasculine, textordfeminine and
9079 2002-04-19 Juergen Vigna <jug@sad.it>
9081 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9082 reinitializing the buffer otherwise row-dimensions may be wrong.
9083 (update): reset also the selection cursors if they do exits otherwise
9084 their x/y positions may be wrong.
9086 * text2.C (cursorDown): don't enter the inset if we came from a row
9087 above and are one row over the inset.
9089 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9090 really leaving an inset.
9092 2002-04-18 Juergen Vigna <jug@sad.it>
9094 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9095 of the selected paragraph does not have the selected layout also if
9098 * text2.C (setLayout): fixed bug which did not change last selected
9101 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9102 changed the read and substituted \\end_float with \\end_inset!
9104 * BufferView_pimpl.C (cursorPrevious):
9105 (cursorNext): fixed to make it work with rows heigher than the work
9106 area without moving the cursor only the draw of the row.
9107 (workAreaMotionNotify): fix jumping over high rows.
9109 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9114 2002-04-16 Juergen Vigna <jug@sad.it>
9116 * text2.C (setCursor): set also the irow().
9117 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9119 (cursorDown): support for locking an inset if the x_fix value goes
9120 inside it. That way I can transverse insets too with cursor up/down.
9122 * lyxrow.h: added irow helper function same as other (i) functions.
9124 * BufferView_pimpl.C (cursorPrevious):
9125 (cursorNext): fixed for insets!
9127 2002-04-15 Juergen Vigna <jug@sad.it>
9129 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9130 position otherwise it is wrong in some cases.
9132 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9133 inside the inset before the call.
9135 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9137 * buffer.[Ch] (getBibkeyList): make it const.
9139 2002-04-12 Juergen Vigna <jug@sad.it>
9141 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9143 * text2.C (getCursorX): new helper function
9144 (setCursor): compute also ix_
9145 (setCursorFromCoordinates): set also ix.
9147 * lyxcursor.h: added ix_ and helper functions.
9149 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9151 * buffer.C (insertStringAsLines): dont break paragraph if the this
9152 paragraph is inside an inset which does not permit it!
9154 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9155 also with no chars on this paragraph.
9156 (paintRowText): only paint stuff if it's inside the workarea!
9158 * paragraph.C (breakParagraph): honor keepempty flag and break the
9159 paragraph always below not above.
9161 * BufferView2.C (unlockInset): update the paragraph layout on inset
9162 unlock as we changed paragraph in such a case.
9164 * lyxfind.C (LyXFind): clear the former selection if not found!
9166 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9167 again called in insertChar().
9169 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9170 an inset which uses the whole row!
9171 (rightMargin): ditto.
9172 (insertChar): force a rebreak if we inserted an inset!
9174 2002-03-28 Herbert Voss <voss@lyx.org>
9176 * lyxlength.[Ch]: add inBP() to get the right PS-point
9177 units (BigPoint). With inPixels we have rounding errors
9179 2002-04-11 Juergen Vigna <jug@sad.it>
9181 * text2.C (setCursorFromCoordinates): set iy to the right value.
9182 (setCursor): add check if row->previous exists!
9184 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9185 an old float_type as this was the case in the old code!
9187 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9189 * BufferView2.C (showLockedInsetCursor): use iy
9190 (fitLockedInsetCursor): ditto
9192 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9193 locked insets as there we have the right value now.
9195 * lyxcursor.C: added iy_ variable and iy functions to set to the
9196 baseline of cursor-y of the locked inset.
9198 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9199 (setCursor): fixed for insets which need a full row.
9201 * text.C (rowLastPrintable): don't ignore the last space when before
9202 an inset which needs a full row.
9203 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9204 as last character of a row when before a inset which needs a full row.
9206 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9208 * version.C.in: update date
9210 * text2.C (fullRebreak): try to always return true and see what
9213 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * MenuBackend.C (expand): use Floating::listName
9217 * FloatList.C (FloatList): add listName argument to the built-in
9220 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9221 text associated with the float.
9223 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9227 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9229 * ShareContainer.h: add a couple of missing typenames.
9231 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9233 * lyxrc.C (getDescription): use _() correctly rather than N_().
9235 2002-03-28 Herbert Voss <voss@lyx.org>
9237 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9238 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9240 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9242 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9243 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9245 2002-03-29 Juergen Vigna <jug@sad.it>
9247 * lyxfunc.C (dispatch): add a missing fitCursor call.
9249 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9250 it was scrolled by a cursor move, so return the bool status.
9252 * BufferView.C (fitCursor): return the bool flag also to the outside
9253 world as this is needed.
9255 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9257 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9258 call the edit() as it is not needed (and wrong) IMO.
9259 (workAreaButtonPress): set the screen_first variable before evt.
9260 unlock the inset as this may change screen_first and then we have
9261 a wrong y position for the click!
9263 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9265 * MenuBackend.C (expand): another translation that I missed
9267 2002-03-28 Juergen Vigna <jug@sad.it>
9269 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9271 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9273 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9275 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9277 * MenuBackend.C (expand): fix export/view/update when there is no
9280 2002-03-27 Herbert Voss <voss@lyx.org>
9282 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9285 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9287 * bufferview_funcs.C (currentState): only show paragraph number
9288 for is DEVEL_VERSION is set.
9290 * lyxfunc.C (dispatch): put warning in INFO channel
9292 * MenuBackend.C (expand): translate the name of floats
9294 * FloatList.C (FloatList): mark the float names for translation
9296 * converter.C (convert): use LibScriptSearch
9298 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9300 * MenuBackend.C (defaults): fix default menu (we might as well get
9303 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9305 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9308 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9310 * lyxvc.C: reorder includes.
9312 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9314 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9317 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9319 * CutAndPaste.C: change layouts earlier on paste
9320 to avoid crashing when calling getFont()
9322 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9324 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9327 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * WorkArea.C: remove 'Pending' debug message.
9331 * most files: ws cleanup
9333 * buffer.[Ch]: ws changes
9335 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9337 2002-03-21 Juergen Vigna <jug@sad.it>
9339 * tabular.C (SetMultiColumn): collapse also the contents of the
9340 cells and set the last border right. Added a Buffer const * param.
9342 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9344 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9347 2002-03-19 Juergen Vigna <jug@sad.it>
9349 * text2.C (clearSelection): reset also xsel_cache.
9351 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9352 where it needs to be called (John tells us to do so too :)
9353 (selectionLost): reset sel_cache.
9355 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9357 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9359 * text2.C (setCursorIntern): put debuging code in INSETS channel
9361 2002-03-19 André Pönitz <poenitz@gmx.net>
9363 * lyxfunc.C: tiny whitespace change
9365 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9367 * ToolbarDefaults.C (init):
9368 * LyXAction.C (init):
9370 * BufferView_pimpl.C (Dispatch):
9371 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9373 2002-03-19 Allan Rae <rae@lyx.org>
9375 * exporter.C (Export): removeAutoInsets before doing anything else.
9376 While I've just introduced a dependency on BufferView this really is
9377 the best place to clean the buffer otherwise you need to cleanup in
9378 a dozen places before calling export or cleanup in a dozen functions
9381 * converter.C (runLaTeX):
9382 (scanLog): Better handling of removeAutoInsets and screen updates.
9384 * lyxfunc.C (dispatch): small whitespace changes
9386 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9388 * WorkArea.C (C_WorkAreaEvent): return a value.
9389 (event_cb): return 1 if we handled the event, 0 otherwise.
9391 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9393 2002-03-18 Juergen Vigna <jug@sad.it>
9395 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9396 (GetAdditionalWidth): ditto.
9400 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9401 inset if we're there actually (probably not used right now but this
9402 is the direction to go for unifying code).
9403 (paste): disable code to clear the selection.
9405 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9406 inside an InsetText and move the check further up as it is in the
9409 * text2.C (pasteSelection): set a selection over the pasted text.
9411 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9413 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9414 and libgraphics to build on Cygwin.
9416 2002-03-15 Juergen Vigna <jug@sad.it>
9418 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9419 inserting an Inset into the paragraph. I know this is not the best
9420 fix but we already use current_view in CutAndPaste so we will remove
9421 all of it's using at the same time.
9423 * buffer.C (sgmlError): deactivated function till it is rewritten in
9424 the right mode, now it can create problems.
9426 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9427 before accessing it.
9429 2002-03-14 Juergen Vigna <jug@sad.it>
9431 * undo_funcs.C (textHandleUndo): do the right thing when updating
9432 the inset after the undo/redo.
9434 * text2.C (setCursor): just some testcode for #44 not ready yet.
9436 * undo_funcs.C (textHandleUndo): set the next() and previous()
9437 pointers of the paragraph to 0 before deleting otherwise we have
9438 problems with the Paragraph::[destructor].
9440 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9441 on a paragraph insertion.
9443 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9445 * buffer.C (asciiParagraph): use += operator for char append to
9448 * paragraph.C (getFontSettings): compare >= not just >
9449 (highestFontInRange): ditto
9452 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9454 * paragraph.C: change several algorithm to be more appripriate for
9455 the problem domain. This is lookip in FontList and in the InsetList.
9457 2002-03-13 André Pönitz <poenitz@gmx.net>
9460 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9462 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9467 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9469 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * Painter.C (display): anon helper function, adjust code for this
9473 (pixmap): remove function.
9475 * Painter.h: remove private display variable.
9477 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9479 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9481 * WorkArea.[Ch]: remove figinset_canvas cruft.
9483 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * lyxtextclass.C (operator): add one item cache optimization.
9487 * bufferlist.h: doxy changes
9489 * bufferlist.C: ws changes
9491 * DepTable.[Ch] (ext_exist): place const in the right spot.
9493 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9495 (workAreaExpose): call resizeInsets when the with BufferView changes.
9496 (Dispatch): adjust for protectedBlank removal
9497 (specialChar): call updateInset if the insert went ok.
9499 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9500 specialChar instead.
9502 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9504 * BufferView.h: doxy change
9506 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9508 * lyxtextclass.C (operator[]): remove non-const version
9509 (defaultLayout): remove non-const version
9511 2002-03-12 Juergen Vigna <jug@sad.it>
9513 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9514 did resize the LyXText too.
9516 * buffer.C (readLyXformat2): set layout information on newly allocated
9519 * tabular.C (OldFormatRead): set layout information on the paragraph.
9521 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9523 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9525 2002-03-11 Juergen Vigna <jug@sad.it>
9527 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9529 (resizeCurrentBuffer): force also the insets to resize themselfes.
9530 (moveCursorUpdate): fixed up for InsetText.
9532 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9535 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9536 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9537 value of Dialogs::tooltipsEnabled().
9538 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9540 2002-03-08 Juergen Vigna <jug@sad.it>
9542 * BufferView_pimpl.C (updateInset): update inset inside inset also
9543 if it isn't inside theLockingInset().
9545 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * buffer.C (asciiParagraph): redo some of the word and line length
9549 (getLists): look for Caption instead of caption.
9551 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * buffer.C (Buffer): initialize niceFile to true
9556 (makeDocBookFile): make sure niceFile is true on exit
9558 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9560 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9562 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9564 * LyXSendto.C: remove.
9565 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9566 * lyx_gui.C: remove now-redundant comment.
9567 * ColorHandler.h: remove forward declaration of class WorkArea.
9568 * lyxfunc.C: remove #include "WorkArea.h".
9570 2002-03-07 Juergen Vigna <jug@sad.it>
9572 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9573 got moved away with the DEPM and also set the inset_owner always
9574 right which before could have been omitted.
9576 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9578 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9579 wanted layout is not found.
9581 2002-03-07 Juergen Vigna <jug@sad.it>
9583 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9585 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9587 * paragraph.C (breakParagraph): use default layout not layout of
9589 (Paragraph): clear ParagraphParameters.
9591 2002-03-06 Juergen Vigna <jug@sad.it>
9593 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9594 otherwise it would not be a valid lenght. Fixed a special case in
9595 the minipage compatibility read where we end the document with a
9598 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9599 was set as it could be 0 for InsetTexts first entry.
9601 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9603 * paragraph.C (writeFile): if layout is empty write out
9604 defaultLayoutName().
9606 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9607 file without named layout we set layout to defaultLayoutName().
9609 2002-03-06 Juergen Vigna <jug@sad.it>
9611 * CutAndPaste.C (copySelection): set layout for new paragraph.
9613 * text.C (prepareToPrint): leave ERT inset left aligned
9614 (leftMargin): don't indent paragraphs inside ERT insets
9616 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9618 * paragraph.C (breakParagraph): dont call clear do the work manually
9620 * paragraph.[Ch] (clear): remove function
9622 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * paragraph.C (Paragraph): dont call clear, the work has already
9627 * lyxtextclass.C (operator): assert if n is empty
9629 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9630 work manually instead.
9632 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9634 * BufferView_pimpl.C: protect selectionLost against text == 0
9636 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9638 * text.C (breakParagraph): fix a setting layout to '0' problem.
9640 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9642 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9643 final location of file, for the included files, and graphics.
9645 2002-03-05 Juergen Vigna <jug@sad.it>
9647 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9649 2002-03-04 Juergen Vigna <jug@sad.it>
9651 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9653 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9654 last column of multicolumn cells.
9655 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9657 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9659 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9660 file if it doesn't go to a temporary file.
9662 * buffer.C (sgmlOpenTag):
9663 (sgmlCloseTag): remove extra newline insertion.
9665 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9667 * text.C (getRowNearY): comment out debug msg
9669 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9671 * text2.C: first -> first_y
9673 * text.C (getRowNearY): add some attemts at a possible
9674 optimization, not working.
9676 * tabular.[Ch]: add BufferParams to several function so that newly
9677 created paragraph can be initialized to he default layotu for the
9680 * tabular-old.C (ReadOld): add buf->params to call of Init
9682 * screen.C: rename text->first to text->first_y
9684 * paragraph.C (breakParagraph): always set layout in the broken
9687 * lyxtextclass.C (Read): remove lowercase
9690 (delete_layout): ditto
9692 * lyxtext.h: rename first -> first_y
9694 * lyxlayout.C (Read): remove lowercase
9697 (obsoleted_by): ditto
9699 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9701 * buffer.C (insertErtContents): add params are to InsetERT
9702 (parseSingleLyXformat2Token): add code to check if a paragraphs
9703 layout really exist.
9704 (parseSingleLyXformat2Token): add params to several inset
9706 (asciiParagraph): remove lowercase, do the layout comparisons with
9709 * BufferView_pimpl.C (cursorNext): first -> first_y
9710 (resizeCurrentBuffer): first -> first_y
9711 (updateScrollbar): first -> first_y
9712 (scrollCB): first -> first_y
9713 (workAreaMotionNotify): first -> first_y
9714 (workAreaButtonPress): first -> first_y
9715 (checkInsetHit): first -> first_y
9716 (cursorPrevious): first -> first_y
9717 (cursorNext): first -> first_y
9718 (Dispatch): add buffer_->params to severl inset contructors
9720 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9722 * lyxlayout.C (Read): remove some debug info that I forgot.
9724 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9725 clean up the code slightly.
9726 (makeLinuxDocFile): ditto
9727 (makeDocBookFile): ditto
9729 * text2.C: layout as string
9731 * text.C: layout as string
9733 * paragraph_pimpl.C: layout as string
9735 * paragraph.[Ch]: layout as string
9737 * lyxtextclasslist.[Ch]: layout as string
9739 * lyxtextclass.[Ch]: layout as string
9741 * lyxtext.h: layout as string
9743 * lyxlayout.[Ch]: layout as string
9745 * lyx_cb.C: layout as string
9747 * bufferview_funcs.C: layout as string
9749 * bufferparams.C: layout as string
9751 * buffer.C: layout as string
9753 * LyXView.[Ch]: layout as string
9755 * LaTeXFeatures.[Ch]: layout as string
9757 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9759 * BufferView_pimpl.C: change current_layout to string, remove
9764 (workAreaButtonRelease): layout as string
9766 * BufferView2.C (unlockInset): adjust
9768 * vspace.C (asLatexCommand): use an explict temp variable.
9770 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9772 * Makefile.am: use FRONTEND_*
9774 2002-03-01 Juergen Vigna <jug@sad.it>
9776 * tabular.C (SetWidthOfMulticolCell): changed to something better
9777 I hope but still work in progress.
9778 (recalculateMulticolumnsOfColumn): renamed function from
9779 recalculateMulticolCells as it is more appropriate now.
9780 (SetWidthOfCell): calculate multicols better.
9782 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9786 * lyxfunc.C (processKeySym): print sequence also if it is
9787 `deleted' (complete)
9789 * kbsequence.C (print): print sequence even if it is deleted
9790 (complete would be a better word, actually).
9792 * lyxfunc.C (dispatch): print complete options after a prefix key
9794 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9796 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9798 * text2.C (setCharFont): eliminate setCharFont code duplication.
9800 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9802 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9803 LFUN_TABULAR_FEATURE (bug #177)
9805 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9807 * Makefile.am: remove figure.h
9809 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9811 * Bufferview_pimpl.C:
9823 * text2.C: remove #include "lyx_gui_misc.h".
9825 * LaTeX.C: added #include <cstdio>
9827 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9830 that the paragraph following this one can have.
9832 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9834 * vspace.C (asLatexCommand): fix bogus gcc warning
9836 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9838 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9840 * text2.C (setLayout): get rid of redundant code
9842 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9844 * text2.C (incDepth): make sure depth cannot be increased beyond
9847 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9849 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9850 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9852 * PainterBase.h (image):
9853 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9856 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9860 * BufferView_pimpl.C:
9861 * BufferView_pimpl.h:
9881 * sp_spell.C: remove fig inset, and the crap house of
9882 cards that follows it
9884 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9890 * nt_defines.h: move .h into support/
9892 * vms_defines.h: remove
9894 * WorkArea.C: add space in debug output
9898 * buffer.C: add WITH_WARNINGS
9902 * bufferlist.C: s/retrive/retrieve/, add docs
9913 * lyxgui.C: add ID to X error handler
9915 * lyxtestclass.c: fix typo
9917 2002-02-26 Juergen Vigna <jug@sad.it>
9919 * tabular_funcs.C (write_attribute): changed so that some default
9920 attributes are not written at all.
9921 (getTokenValue): set default values before trying to read the
9922 value so we have the return value always set as default if we don't
9923 find the token we search for.
9925 * tabular.C (Write): write bools as bools not as strings!
9927 2002-02-22 Juergen Vigna <jug@sad.it>
9929 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9930 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9932 * text.C (leftMargin): don't add an indent for paragraphs inside
9933 tabular cells (fix #208).
9935 2002-02-21 José Matos <jamatos@fep.up.pt>
9937 * tabular.C (docBook): fixed support for long tables.
9939 2002-02-20 Juergen Vigna <jug@sad.it>
9941 * text2.C (getFont): get the drawing font of the Inset if this
9942 paragraph is inside an inset (only important for InsetERT for now).
9944 * buffer.C (insertErtContents): use new lanugage params in ERT
9947 * CutAndPaste.C: commenting out seemingly uneeded code.
9949 2002-02-19 Allan Rae <rae@lyx.org>
9951 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9952 Iterators might be simple to use but they also get invalidated.
9953 (removeAutoInsets): renamed saved cursor tracking variables and added
9954 some comments to clarify what everything does.
9956 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9963 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9964 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9967 * vc-backend.h: remove #include "support/syscall.h"
9971 * converter.C: rearrange #includes in Lars' approved fashion.
9973 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9974 forward declare class Timeout in the header file.
9976 * XFormsView.C: changes due to the above.
9978 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9981 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9982 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9984 2002-02-18 José Matos <jamatos@fep.up.pt>
9986 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9989 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9991 * a lot of small ws changes
9992 * add a lot of using std::XXX
9993 * use std construcs some places where approp.
9994 * use some exisint stuff from lyxfunctional where approp.
9995 * Make file changes to use partial linking (lets test this now...)
9997 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10001 remove #include "support/syscontr.h" as it's redundant. Always has been.
10009 change Systemcalls::System to Systemcalls::Wait and
10010 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10011 No change of functionality, just reflects the stripped down Systemcalls
10014 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10016 * debug.[Ch]: add a GRAPHICS type to the enum.
10018 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10020 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10022 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10025 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10027 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10028 match the changes below.
10030 * text2.C (toggleInset): if there is not editable inset at cursor
10031 position, try to see if cursor is _inside_ a collapsable inset
10034 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10036 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10037 document menu has a nice checkbox
10039 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10041 * lyxlength.C (asLatexString): change PW to output as percent of
10044 * lengthcommon.C: change '%' to 't%'
10046 * lyxfunc.C (dispatch): a few comments from Martin
10048 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10052 * BufferView_pimpl.h:
10053 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10056 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10058 * vspace.C (inPixels): fix compiler warning
10060 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10062 * lyxfunc.C (getStatus): fix status message for disabled commands.
10064 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10066 * BufferView_pimpl.C: fix crash on close buffer
10067 during selection (#227)
10069 2002-01-27 Herbert Voss <voss@lyx.org>
10071 * buffer.C: link old Figure to new graphic inset
10073 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10075 * FontLoader.C (getFontinfo): Change the latex font names in order
10076 to match the names of type1inst.
10078 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10080 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10082 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10083 (extchanged): ditto
10085 (remove_files_with_extension): ditto
10086 (remove_file): ditto
10089 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10090 document is smaller than the work area height. Do not initialize
10091 static variables to 0.
10093 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10097 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10098 LFUN_LAYOUT_PARAGRAPHS.
10100 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10101 tabular. It is possible to provide a possible cell, which will
10102 typically be the actcell from the corresponding insettabular
10104 * lyxfunc.C (getStatus): small cleanup; disable
10105 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10108 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10112 * paragraph.C (startTeXParParams):
10113 (endTeXParParams): new methods. The LaTeX code to
10114 start/end paragraph formatting
10115 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10116 empty (fixes bug #200)
10118 * vspace.C (inPixels): adapt to the change below
10119 (inPixels): [later] more cleanups (remove unused variables)
10121 * lyxlength.C (inPixels): change to use a width and a height as
10124 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10126 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10127 Replaced with \paperwidth
10129 * DepTable.C (insert): add std:: qualifier
10131 2002-01-18 Allan Rae <rae@lyx.org>
10133 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10136 * text.C (drawInset): Turned out I didn't know enough about how
10137 rebreaking worked. This fixes most of the redraw problems. I see
10138 an occasional cursor trail when a line is broken now and the cursor
10139 placement can seem out by a few pixels also after a rebreak.
10141 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10143 * buffer.C (parseSingleLyXformat2Token): update because minipage
10144 width is now a LyXLength
10146 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10148 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10151 2002-01-17 Juergen Vigna <jug@sad.it>
10153 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10155 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10156 is set correctly and the inset is updated correctly.
10158 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10160 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10161 the beginning of the loop.
10163 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10165 * lyxrc.C: improve help for use_scalable_fonts
10167 2002-01-17 Allan Rae <rae@lyx.org>
10169 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10171 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10173 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10174 make sure to set their inset_owner to the right value (bug #171)
10176 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10179 * DepTable.C: Implement mtime checking to reduce time spent doing
10182 2002-01-16 Juergen Vigna <jug@sad.it>
10184 * tabular.C (GetAdditionalHeight): one of error fixed.
10186 * lyxrc.C (output): small fix in writing use_pspell.
10188 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10190 * sp_base.h: #include LString.h
10192 2002-01-16 Allan Rae <rae@lyx.org>
10194 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10195 Can someone check this please?
10197 * text.C (drawInset): It was possible that p.row would be removed by
10198 breakAgainOneRow upsetting a few other settings. There may be another
10199 small tweak possible by setting need_break_row = 0 when p.row has been
10200 removed but I don't know enough about the logic here.
10202 2002-01-15 Allan Rae <rae@lyx.org>
10204 * text.C (insertChar): removed conditional truism.
10206 * BufferView2.C (removeAutoInsets): More tweaks.
10207 cur_par_prev could be a stray pointer. Check for trailing empty line
10208 in case last line was cur_par and only had an error inset on it.
10210 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10212 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10215 * vc-backend.C (most methods):
10216 * exporter.C (Export):
10217 * converter.C (convert):
10219 * LyXSendto.C (SendtoApplyCB):
10220 * lyxfunc.C (dispatch):
10224 * lyx_cb.C (AutoSave):
10226 * BufferView_pimpl.C (MenuInsertLyXFile):
10227 * buffer.C (runChktex): use Buffer::filePath().
10229 * buffer.h: rename filename to filename_; rename filepath to
10230 filepath_ and make it private
10231 (filePath): new method
10233 * buffer.C (writeFile): use fileName()
10236 * lyx_main.C (init): fix starting of LyX when the binary is a
10237 link from so,ewhere else.
10239 * minibuffer.C: include <cctype> for isprint
10241 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10243 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10244 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10245 name clash with InsetCollapsable's width function.
10247 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * lastfiles.C: include <iterator>
10251 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10253 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10256 * buffer.C (makeLaTeXFile): ditto.
10257 Also make loop operation more transparent.
10259 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10261 * ToolbarDefaults.C: remove trailing comma closing namespace.
10263 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10265 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10268 * trans.C (Load): comment out unused variable, allowed.
10270 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10272 * minibuffer.[Ch] (append_char): new method to recieve input from the
10273 drop-down completion browser. If a key was pressed, then recieve this
10274 char and append it to the existing string.
10275 (peek_event): modify the positioning data passed to the completion
10276 browser so that it can be placed above the minibuffer rather than below.
10277 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10279 * LyXAction.C (init): alloe error-next for readonly documents.
10281 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10284 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10286 * bufferlist.C (readFile): create the buffer _after_ checking that
10289 * lyxfunc.C (verboseDispatch): fix handling of arguments
10291 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10293 * lyxrc.C: use string::erase() instead of initializing to "".
10296 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10298 * BufferView_pimpl.h:
10299 * BufferView_pimpl.C:
10302 * text2.C: tell X when we have made a selection for copying
10304 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10306 * BufferView_pimpl.C (MenuInsertLyXFile):
10307 * lyxfunc.C (menuNew):
10309 (doImport): add shortcuts to directory buttons
10311 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10314 * lyxfunc.C (setStatusMessage):
10315 (getStatusMessage): new methods
10316 (getStatus):use setStatusMessage instead of setErrorMessage
10317 (dispatch): when function is disabled, set error message here
10318 [instead of in getStatus previously]
10320 * BufferView_pimpl.C (workAreaButtonRelease): update
10321 toolbar/menubar here too.
10323 2002-01-13 Allan Rae <rae@lyx.org>
10325 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10326 Now seems indestructible. Remaining task is to audit all other
10327 code affected by deleteEmptyParagraphMechanism. One small quirk
10328 left is that an empty document with an error in the preamble can
10329 be made to report an error but no error box appears. I don't know
10331 (removeAutoInsets): Improved comments.
10333 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10336 * Thesaurus.C: update for Aiksaurus 0.14
10338 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * text2.C (firstParagraph): removed member function, all uses
10341 replaces with ownerParagraph
10342 (redoParagraphs): here
10343 (updateInset): here
10344 (toggleAppendix): here
10345 * BufferView2.C (insertErrors): here
10346 (setCursorFromRow): here
10348 2002-01-13 Allan Rae <rae@lyx.org>
10350 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10351 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10352 There is still a way to segfault this although you may have to do this
10353 multiple times: Have an InsetERT with an unknown command in it.
10354 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10355 <down-arrow>, <Enter> again, View->DVI, BANG!
10357 * text2.C (setCursor):
10358 (deleteEmptyParagraphMechanism):
10359 * lyxtext.h (setCursor):
10360 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10361 Making use of the return value may help fix other bugs.
10363 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10367 * LyXView.C (updateMenubar): call MenuBar::update here
10368 (updateToolbar): but not here
10369 (showState): do not update toolbar/menubar
10371 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10372 should need to care about that.
10374 * lyxfunc.C (verboseDispatch): simplify a bit
10375 (getStatus): have a version which takes a pseudoaction, and
10376 another which requires a (kb_action,string).
10378 * LyXAction.C (retrieveActionArg): make it work also when action
10379 is not a pseudo-action.
10380 (getActionName): simplify a bit
10383 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * lyxfunc.C (verboseDispatch): new families of methods with
10386 several ways to specify a command and a bool to indicate whether
10387 the command name and shortcut should be displayed in minibuffer
10388 (eventually, we could extend that to a finer bitmask like
10389 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10390 (dispatch): the pristine dispatch command which just, well,
10391 dispatchs! Note it still sets its result to minibuffer; I'm not
10394 * lyxfunc.h: remove setHintMessage
10396 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10398 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10400 * BufferView_pimpl.C (specialChar): delete new inset if we have
10401 not been able to insert it.
10403 * kbmap.C: revert to using int instead of kb_action, since all we
10404 are dealing with is pseudo-actions.
10406 * LyXAction.C (searchActionArg): change to return int instead of
10407 kb_action, since the result is a pseudoaction.
10409 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10411 * buffer.C (insertErtContents): Fix (partially) the font bug.
10413 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10415 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10416 as the other one is broken on my machine!
10418 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10421 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10423 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10425 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10426 reflect their actual use. Provide compatibility code for older lyxrc
10429 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10431 change names of popup font variables in line with the changes to lyxrc.C
10433 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * buffer.C (asciiParagraph): avoid outputing a word twice after
10438 * lyxrc.C (getDescription): document that document_path and
10439 template_path can be empty.
10441 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10443 * LaTeXFeatures.C (getMacros):
10444 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10446 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10448 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10450 (getPackages): rename feature "floats" to "float". Use an array to
10451 iterate over 'simple' features (i.e. just a \usepackage). Add
10452 handling of "amsmath" (renamed from "amsstyle").
10454 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10456 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10459 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10461 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10462 FuncStaus::FuncStatus & FuncStaus::some_method().
10464 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10466 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10467 of the func_satus stuff. Edited and massaged in various ways by
10470 * lyxfunc.C (getStatus): use FuncStatus
10472 2002-01-08 Juergen Vigna <jug@sad.it>
10474 * text.C (nextBreakPoint): use function Inset::isChar().
10476 * paragraph.C (TeXOnePar): use function
10477 Inset::forceDefaultParagraphs.
10479 * buffer.C (latexParagraphs): use function
10480 Inset::forceDefaultParagraphs.
10482 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10484 * lyx_gui.C (init): set the style of the menu popups to
10485 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10487 2002-01-07 Juergen Vigna <jug@sad.it>
10489 * text.C (setHeightOfRow): small fix
10490 (prepareToPrint): don't look at alignment if we don't have the place
10493 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10495 * box.C: New file. Move the Box methods and functions out of box.h,
10496 following Lars' suggestion.
10498 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10500 * box.h: #include "support/LOstream.h", needed for inlined function.
10503 * lyxtextclasslist.C: added some using std declarations.
10505 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10507 * box.h: make signed dimensions to allow insets wider than
10508 the screen (bug #162)
10510 * BufferView_pimpl.C: add some insetHit debug
10512 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10514 * vc-backend.C: add FIXME
10516 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * lyxfunc.C (getStatus): enable code for showing math font status
10521 2002-01-07 Juergen Vigna <jug@sad.it>
10523 * text.C (nextBreakPoint): removed debug output not needed anymore.
10525 2002-01-06 Juergen Vigna <jug@sad.it>
10527 * text.C (nextBreakPoint): fixed up this function we had this bug
10528 since ever but now hopefully we break row better.
10529 (insertChar): we have to check if an inset is the next char as it
10530 could now happen that a large inset is causing a break.
10532 2002-01-05 Juergen Vigna <jug@sad.it>
10534 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10535 if it doesn't like to be drawed.
10537 2002-01-04 Juergen Vigna <jug@sad.it>
10539 * BufferView2.C (lockInset): forgot to set a cursor.
10541 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10543 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10545 * FormMathsPanel.C:
10548 * form_maths_panel.C:
10549 * form_maths_panel.h:
10550 * form_maths_panel.fd: implemented sub- and super- buttons in math
10553 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10554 (or ^ space) to be used as in TeX (req'd by André).
10556 * lyxfunc.C: Allow ^ and _ again to be used both as
10557 super/subscript (mathed) and as themselves (in text).
10559 2002-01-03 Allan Rae <rae@lyx.org>
10561 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10562 "LyX" or the filename of the current buffer if it has one. This is a
10563 modified form of John Levon's patch.
10565 * XFormsView.C (setWindowTitle): also set icon title.
10567 * LyXView.h (setWindowTitle): signature changed.
10568 * XFormsView.h (setWindowTitle): ditto.
10570 2002-01-02 Juergen Vigna <jug@sad.it>
10572 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10574 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10576 * screen.C (topCursorVisible): introduce a temp var for
10577 text->cursor.row(), handle the case where this row is null. (kindo
10580 * text2.C (setCursor): add a couple of asserts.
10582 * paragraph.h (inset_iterator): add -> operator
10584 * paragraph.[Ch] (autoDeleteInsets): remove member function
10586 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10587 cursor pos correctly and handle inset deletion by itself.
10588 (insertErrors): move iterator declaration out of for expression
10590 * lyxtextclass.C: add <algorithm>
10592 * Makefile.am: added the new files to sources, removed layout.C
10594 * layout.C: removed file
10596 * layout.h: remove LYX_DUMMY_LAYOUT
10598 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10602 * lyxtextclass.[Ch]:
10603 * lyxtextclasslist.[Ch]: new files
10605 * include order changes to a lot of files, also changes because of
10608 2001-12-27 Juergen Vigna <jug@sad.it>
10610 * buffer.C (asciiParagraph): more fixes.
10612 * tabular.C (ascii): make ascii export support export of only the
10613 data separated by a column-delimiter.
10614 (ascii): better support for ascii export.
10616 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10618 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10620 * tabular_funcs.C: use a "using std::getline" instead of the
10621 previous fix from Angus (necessary for cxx + lyxstring)
10623 2001-12-24 Juergen Vigna <jug@sad.it>
10625 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10627 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10628 problems. First check a minipage also if we have some ert-contents
10629 (not only on par->size(), second set the right depth of the paragraph
10630 on the relink to the root-paragraph-list!
10632 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10633 which then did not anymore update the main paragraphs on undo/redo!
10635 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10638 code. Support all font-changing funcs (even those which are not in
10639 menu currently). Support for reporting font settings in
10640 mathed (disabled until Andre provides a function on mathed's side).
10642 * func_status.h (toggle): small helper function to set toggle
10645 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10647 * tabular_funcs.C: getline -> std::getline
10649 2001-12-21 Juergen Vigna <jug@sad.it>
10651 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10652 accessed and could be 0 (I couldn't generate this but it seems
10655 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10657 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10658 * tabular_funcs.h: here and include iosfwd
10660 2001-12-20 Juergen Vigna <jug@sad.it>
10662 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10663 inside inset but undo_par was.
10665 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10667 * Thesaurus.C: always include <config.h> in sources.
10671 * box.h: do not include <config.h> in header files
10673 * text.C (paintLastRow): remove unused variable
10675 * text.C (transformChar):
10677 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10679 * Painter.C (text):
10680 * font.C (width): rewrite to use uppercase() instead of
10683 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10685 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10687 * lyxfind.C: clean up of find failure position change
10689 2001-12-20 Juergen Vigna <jug@sad.it>
10691 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10693 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10694 (TeXRow): added to LaTeX a single tabular row.
10695 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10696 (Latex): simplified and finally good LT-h/f support.
10697 (various_functions): just small adaptions for LT-h/f support.
10699 * tabular_funcs.[hC]: added and moved here all not classfunctions
10702 2001-12-19 Juergen Vigna <jug@sad.it>
10704 * tabular.[Ch]: better support for longtabular options (not finished
10707 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10709 * text.C (paintLastRow): use the label font instead of the font of
10710 the last character to compute the size of *_BOX. This makes more
10711 sense and avoids a crash with empty paragraphs.
10712 Use Painter::rectangle to draw EMPTY_BOX.
10714 2001-12-19 Juergen Vigna <jug@sad.it>
10716 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10717 the paragraphs if the replaced paragraph is not the first one!
10718 Tried to delete not used paragraphs but does not work yet so for
10719 now it's inside #ifdef's and by default off!
10721 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10723 * MenuBackend.C: include "lyx_main.h" instead of declaring
10724 lastfiles (actually was declared as LastFiles* instead of a
10727 2001-12-17 Juergen Vigna <jug@sad.it>
10729 * tabular.C (AppendColumn): applied John's fix
10731 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10735 * BufferView_pimpl.h:
10736 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10739 * box.h: new start of class for above
10741 * lyxfunc.C: ignore space-only minibuffer dispatches.
10742 Show the command name when it doesn't exist
10744 * minibuffer.C: don't add empty lines to the history
10746 * minibuffer.C: add a space on dropdown completion
10748 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10750 * text.C: fix line above/below drawing in insets
10752 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10754 * lyxlength.C (LyXLength): Initialize private variables.
10756 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10758 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10759 when inserting error insets.
10761 2001-12-13 Juergen Vigna <jug@sad.it>
10763 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10764 actually sometimes the before-paragraph.
10765 (setUndo): don't clear the redostack if we're not actually undoing!
10767 2001-12-06 Juergen Vigna <jug@sad.it>
10769 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10770 and fixed redoing of main paragraph, so we can use it now ;)
10772 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10774 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10776 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10779 2001-12-13 André Pönitz <poenitz@gmx.net>
10782 * undo_func.C: minor cleanup
10784 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10786 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10787 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10788 font in urw-fonts package which is marked as -urw-fontspecific and
10789 does not work (incidentally, changing the encoding in the
10790 fonts.dir of this package to -adobe-fontspecific fixes the
10793 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10794 is a crash when undoing first paragraph (Juergen, please take a
10795 look). THis does not mean the undo fix is wrong, just that it
10798 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10799 the (Paragraph*) version when needed instead of duplicating the
10802 * text.C (workWidth): use Inset::parOwner to find out where the
10803 inset has been inserted. This is a huge performance gain for large
10804 documents with lots of insets. If Inset::parOwner is not set, fall
10805 back on the brute force method
10807 * paragraph_pimpl.C (insertInset):
10808 * paragraph.C (Paragraph):
10809 (cutIntoMinibuffer): set parOwner of insets when
10810 inserting/removing them
10812 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10814 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10820 * mathed/formulabase.C:
10821 * mathed/math_cursor.[Ch]:
10822 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10825 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * lyxlength.[Ch] (operator!=): new function
10829 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10831 * text.C (workWidth): use Inset::parOwner to find out where the
10832 inset has been inserted. This is a huge performance gain for large
10833 documents with lots of insets. If Inset::parOwner is not set, fall
10834 back on the brute force method
10836 * paragraph_pimpl.C (insertInset):
10837 * paragraph.C (Paragraph):
10838 (cutIntoMinibuffer): set parOwner of insets when
10839 inserting/removing them
10841 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10843 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10845 * tabular-old.C (getTokenValue):
10846 * tabular.C (getTokenValue):
10847 (write_attribute): new versions for LyXLength
10848 (everywhere): adjust the use of widths
10850 * tabular.h: change the type of widths from string to LyXLength
10852 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10854 * paragraph.C: fixed missing line number count when exporting
10855 Environments to LaTeX file
10857 * buffer.C: added informational message for checking line numbers.
10859 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10861 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10862 paragraph, do the 'double space' part, but not the 'empty
10865 * text.C (workWidth): small optimization
10866 (getLengthMarkerHeight): use minimal size for negative lengths.
10868 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10870 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10872 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10874 2001-12-11 André Pönitz <poenitz@gmx.net>
10877 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10879 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10881 * text2.C: keep selection on a setFont()
10883 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10885 * lyx_cb.C: another bv->text misuse, from insert label
10887 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10890 * kbsequence.C: re-instate nmodifier mask
10892 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10894 * lyx_main.h: make lyxGUI private.
10896 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10898 * lyxfind.C: place the cursor correctly on failed search
10900 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * text.C (getLengthMarkerHeight): for small heights, the arrows
10903 are not always on top/bottom of the text
10904 (drawLengthMarker): smaller arrows; take the left margin in
10905 account; draw also vfills.
10907 (paintLastRow): remove special code for vfill and standard spaces,
10908 since everything is handled in drawLengthMarker now.
10910 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10912 * buffer.C (insertErtContents): try to handle font and language
10913 interaction a bit better.g
10915 * ColorHandler.C (updateColor): change the hash to cover the whole
10916 LColor enum, ws cleanup
10917 (getGCLinepars): ditto
10918 (getGCLinepars): only lookup in the linecache once.
10920 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10922 * iterators.C (operator++): Make the iterator more robust
10924 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10926 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10928 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10931 * text.C: better added space drawing
10933 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10936 * BufferView2.C: fix layout combo update on inset unlock
10938 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10940 * Makefile.am: don't compile unused files
10942 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10946 * LyXAction.C: remove old LFUN_LAYOUTNO
10948 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10950 * paragraph_pimpl.h:
10951 * paragraph_pimpl.C: isTextAt() doesn't need font param
10953 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10956 * lyxlex.C: little cleanup
10958 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10960 * BufferView_pimpl.C: fix insertAscii for insets
10962 2001-12-05 Juergen Vigna <jug@sad.it>
10964 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10965 set the right font on the "multi" paragraph paste!
10967 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10973 * lyxlength.C: remove out-commented code.
10975 * BufferView_pimpl:
10989 * vc-backend.C: change "while(" to "while ("
10991 * lyxlength.[Ch]: add zero function to check if length is zero or
10993 * lyxgluelength.C: use it
10995 2001-12-05 Allan Rae <rae@lyx.org>
10997 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10998 Works for 2.95.3, from what I understand of Garst's reports this should
10999 work for other g++ versions. We're screwed if the abs(int) definition
11000 changed between bugfix releases of gcc.
11002 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11004 * text.C: fix chapter label offset !
11006 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11009 * text.C: fix hfill at end of line, clean up
11011 2001-12-04 Juergen Vigna <jug@sad.it>
11013 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11014 that we force an update of the inset and it's owners if neccessary.
11016 2001-12-03 Juergen Vigna <jug@sad.it>
11018 * text.C (rowLast): simplified code
11020 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11022 * lyxfunc.C: fix show options on timeout
11024 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11026 * screen.C (topCursorVisible): scroll half a page when the cursor
11027 reached top of bottom of screen
11029 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11031 * minibuffer.C: deactivate on loss of focus
11033 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * vspace.[Ch] (operator!=): add operator.
11037 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11039 * BufferView_pimpl.C: refuse to open an inset when
11040 there's a selection.
11042 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11044 * BufferView_pimpl.C: allow to click on RHS of full row insets
11046 2001-11-30 Juergen Vigna <jug@sad.it>
11048 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11049 insets for undo reasons.
11051 2001-11-28 André Pönitz <poenitz@gmx.net>
11053 * vspace.[Ch]: cosmetical changes
11055 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11065 * kbsequence.C: part re-write of old kb code
11068 * WorkArea.C: remove Lgb_bug_find_hack
11070 2001-11-30 José Matos <jamatos@fep.up.pt>
11072 * buffer.C (makeDocBookFile): add a comment to point a hack.
11073 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11074 Fixed a double write of labels.
11076 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11079 * LaTeX.h Fixed bug in LaTeX class where it would not
11080 re-run latex if no depfiles were changed, but the .dvi was removed.
11082 2001-11-28 André Pönitz <poenitz@gmx.net>
11084 * all the files from the change on 2001/11/26:
11085 use lyx::layout_type instead of LyXTextClass::size_type
11086 use lyx::textclass_type instead of LyXTextClassList::size_type
11088 2001-11-29 Juergen Vigna <jug@sad.it>
11090 * text.C: added support for paragraph::isFreeSpacing()
11092 * buffer.C: same as above
11094 * paragraph.h: inserted isFreeSpacing() function to enable
11095 FreeSpacing inside InsetERT.
11097 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11098 of the paragraph's in the cut/copy buffer to 0!
11100 * text2.C (removeRow): remove the assert as it can!
11102 * lyxtext.h: added helper function firstRow returning firstrow and
11103 made firstrow private again.
11105 * BufferView2.C (lockInset): don't relock if we're already locked!
11107 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11108 the only paragraph.
11109 (removeRow): added Assert::(firstrow)
11111 * debug.C: forgot to add INSETTEXT here.
11113 2001-11-28 Juergen Vigna <jug@sad.it>
11115 * sp_spell.C (initialize): changed error text to more general
11116 spellchecker command use (not only ispell!)
11118 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11120 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11122 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11124 * vspace.C: initialise lyxgluelength on failure
11126 2001-11-28 Allan Rae <rae@lyx.org>
11128 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11129 declaration & definition that looks like a function declaration.
11131 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11133 * BufferView2.C (copy):
11134 (copyEnvironment): do not clear the selection when doing a copy.
11136 * text.C (paintFirstRow): compilation fix
11138 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11140 * tabular.C (Latex): correct line count when writing latex.
11142 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11144 * paragraph_pimpl.h:
11145 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11148 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11152 * LColor.C: change vfillline->added_space
11154 * text.C: add markers and text for added space
11156 * vspace.C: fix comment
11158 2001-11-28 André Pönitz <poenitz@gmx.net>
11160 * paragraph.C: whitespace changes
11161 * all the other files from the change on 2001/11/26:
11162 change *::pos_type into lyx::pos_type
11164 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11166 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11167 language of the document when inserting error insets.
11169 2001-11-26 André Pönitz <poenitz@gmx.net>
11171 * BufferView_pimpl.[Ch]:
11179 * paragraph_pimpl.[Ch]:
11182 * text2.C: reduce header dependencies, introduce type for positions
11184 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11186 * <various>: change to use Alert.h
11188 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11190 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11191 when encountering an unknown token.
11192 (readLyXformat2): Show an error message if there were unknown tokens.
11194 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11197 * BufferView_pimpl.C:
11201 * text2.C: use par->isInset()
11203 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11205 * paragraph_pimpl.h:
11206 * paragraph_pimpl.C: cleanup
11208 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11210 * text2.C (removeRow):
11211 * text.C (setHeightOfRow): remove useless (and costly) call to
11214 2001-11-20 Allan Rae <rae@lyx.org>
11216 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11217 Now need Inset*::checkInsertChar() to return true for appropriate
11218 cases so that the characters in the minibuffer will actually be
11221 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11223 * text.C: change the order of the includes.
11224 (workWidth): initialize it at once.
11225 (workWidth): make maxw unsigned
11226 (setHeightOfRow): remove unused variable (inset)
11227 (selectSelectedWord): remove unused variable (inset)
11228 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11230 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11232 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11233 server is not running.
11235 (closeConnection): add debug info when server is disabled.
11237 * ColorHandler.C (getGCForeground): send debug message to GUI
11240 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11242 * kbmap.C (bind): modify because return conventions of
11243 kb_sequence::parse have changed.
11245 * kbsequence.C (parse): only ignore spaces and not any stupid
11246 control character. This avoids tests like s[i] <= ' ', which are
11247 guaranteed to fail with 8bit characters and signed chars.
11248 Change return code to string::npos when there have been no error
11249 (0 was a bad idea when error is at first character)
11251 2001-11-14 José Matos <jamatos@fep.up.pt>
11254 * buffer.C (simpleDocBookOnePar): removed unused argument.
11256 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11258 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11259 insets which are part of a word. Paragraph::isLetter takes care of
11260 that now. Use Paragraph::isInset to identify insets.
11261 (selectSelectedWord): do not test for hyphenation break.
11263 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11264 that protected spaces are considered as spaces.
11266 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11269 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11272 * lyxserver.C: fix it. and small cleanup.
11274 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11276 * BufferView_pimpl.C: use inline helpers
11279 * LaTeXFeatures.C: fix typos
11282 * Spacing.C: move spacing_string into class
11284 * ToolbarDefaults.C: move stuff into namespace anon
11286 * layout.h: update enum
11288 * lyxfunc.C: use better debug
11290 * minibuffer.h: fix typo
11294 * WorkArea.C: add and use Debug::WORKAREA
11298 * text2.C: code re-organisation, inline helpers
11300 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11302 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11303 std::vector.empty().
11305 2001-11-09 Allan Rae <rae@lyx.org>
11307 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11308 '\n's after tables. Tabular and ERT inset work now makes this no
11311 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11314 * minibuffer.C: fix crash, improve drop-down completion
11316 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11319 * lyxserver.C: invalidate fd's when doing endPipe()
11321 2001-11-08 José Matos <jamatos@fep.up.pt>
11323 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11324 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11327 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11329 2001-11-07 José Matos <jamatos@fep.up.pt>
11332 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11335 * buffer.C (sgmlOpenTag):
11336 * buffer.C (sgmlCloseTag): removed debug info.
11338 * buffer.h (sgmlOpenTag):
11339 * buffer.h (sgmlCloseTag): made public.
11341 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11343 * buffer.C (saveParamsAsDefaults):
11344 * lyx_cb.C (MenuLayoutSave): remove
11346 * LyXAction.C (init):
11348 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11350 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11352 * buffer.C (setPaperStuff): removed from here...
11354 * bufferparams.C (setPaperStuff): ... and moved there.
11356 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11360 * XFormsView.C: add support for drop-down completion
11362 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11364 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11367 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11369 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11372 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11374 * lyx_main.C: change ref to known bugs
11376 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11378 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11379 to work around older babel problems.
11381 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11383 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11385 2001-10-24 Juergen Vigna <jug@sad.it>
11387 * tabular-old.C (ReadOld): below variable changes reflected.
11389 * tabular.[Ch]: added ltType struct for longtable header/footer
11390 defines and changed all instances where they are used. Added
11391 future support for double top/bottom rows.
11393 2001-10-24 José Matos <jamatos@fep.up.pt>
11395 * buffer.h (docbookHandleCaption):
11396 * buffer.C (docbookHandleCaption): removed unused function.
11397 (makeDocBookFile): moved docbook supported version to v4.1.
11399 2001-10-24 José Matos <jamatos@fep.up.pt>
11402 * tabular.C (docbookRow): new function to export docbook code of a row.
11403 (DocBook): now honors the longtable flags.
11405 2001-10-23 José Matos <jamatos@fep.up.pt>
11408 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11409 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11411 * buffer.C (makeLinuxDocFile):
11412 (makeDocBookFile): reworked the preamble, more clean, and with
11413 support for lyx defined entities. Changed the document declaration
11414 to be more XML friendly.
11416 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11417 if we need to output XML that should be done with a filter.
11419 2001-10-22 Juergen Vigna <jug@sad.it>
11421 * sp_pspell.h (class PSpell): add alive function needed in the
11422 controller to see if the spellchecker could be started.
11424 2001-10-22 Juergen Vigna <jug@sad.it>
11426 * buffer.C (insertStringAsLines): modify the font for inserting
11427 chars in certain conditions by calling checkInsertChar(font).
11429 2001-10-19 Juergen Vigna <jug@sad.it>
11431 * text.C (workWidth): use getRow instead of wrong algorithm.
11432 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11434 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11439 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11441 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11443 * text.C (workWidth): do not search for the exact row when
11444 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11445 optimization for big documents.
11447 2001-10-18 Juergen Vigna <jug@sad.it>
11449 * text.C (workWidth): new function with added Inset * parameter.
11451 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11453 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11455 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11456 change return type of getColumnNearX.
11459 * text.C (changeRegionCase): use uppercase/lowercase instead of
11462 (rightMargin): simplify code by factoring out the uses of
11467 (appendParagraph): use Paragraph::size_type
11469 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11471 * vspace.C (asLatexString): add a missing break
11473 2001-10-15 Herbert Voss <voss@perce.de>
11475 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11477 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11479 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11482 2001-10-10 André Pönitz <poenitz@gmx.net>
11484 * lyxfunc.C: removed greek_kb_flag.
11486 2001-10-10 Herbert Voss <voss@perce.de>
11488 * lyx_main.C: delete global string help_lyxdir.
11490 2001-10-09 Herbert Voss <voss@perce.de>
11492 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11494 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11496 * lyx_main.C: added global string help_lyxdir.
11498 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11500 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11502 * lyxrc.C (set_font_norm_type): support iso8859-4
11504 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11506 * LaTeX.C (deplog): add another regex for MikTeX
11508 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11510 * lyxrc.C (set_font_norm_type): support iso8859-3
11512 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11514 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11516 * LaTeXFeatures.C: remove special case of french and index
11518 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11519 before \begin{document}). This solves several incompatibilities.
11521 2001-10-03 Garst Reese <reese@isn.net>
11523 * lyx_cb.C: change CheckTex error msg.
11525 2001-10-03 José Matos <jamatos@fep.up.pt>
11527 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11529 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11531 * .cvsignore: update
11533 * lyx_main.C (commandLineVersionInfo): use new style version info.
11535 * buffer.C (writeFile):
11537 (makeLinuxDocFile):
11538 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11540 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11542 * version.h: update to use stuff in version.C
11544 * version.C.in: new file. Contains version information determined
11545 at compile time. This is a merging of version.h and
11548 2001-10-03 Juergen Vigna <jug@sad.it>
11550 * BufferView_pimpl.C (update): don't change "dirty" status in
11553 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11555 * WorkArea.C (c-tor): re-position version string slightly.
11557 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11559 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11560 revert to previous code.
11562 WorkArea.[Ch]: (show, destroySplash): methods removed.
11564 WorkArea.C: rework code so that it's an amalgam of the codes before and
11565 after the splash screen was moved to WorkArea.
11567 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * vspace.C (inPixels):
11573 * buffer.C (insertStringAsLines):
11574 (asciiParagraph): fix types to be large enough
11576 * lyxlex_pimpl.h: change member status from short to int
11578 * layout.h: fix type of endlabeltype
11581 * kbsequence.C (parse): change return type to string::size_type
11583 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11586 * Bullet.C (bulletSize):
11587 (bulletEntry): do not use short ints as parameters
11589 * BufferView2.C (insertLyXFile): change a char to an int.
11591 * WorkArea.C (WorkArea): remove unneeded floats in computation
11593 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11595 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11597 * paragraph.C (asString): Do not ignore newline/hfill chars when
11598 copying to the clipboard.
11600 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11602 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11603 after a multi-line inset.
11605 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11607 * paragraph.C (validate): Set NeedLyXFootnoteCode
11609 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11611 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11612 and decrease-error to decrease.
11614 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11616 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11617 it more readable (should be equivalent)
11619 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11621 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11623 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11625 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11626 of a cursor (row, etc.) after a character has been deleted
11627 (deleteEmptyParagraphMechanism): call the method above on _all_
11628 cursors held by the LyXText when a double space has been
11631 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11633 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11635 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11637 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11638 background. Use greyOut() and the new show() methods to toggle between
11639 the foreground and background. Add code to remove the splash after
11640 its initial showing.
11642 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11643 (create_forms): no longer call Dialogs::showSplash.
11645 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11647 * .cvsignore: add version_info.h
11649 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11651 * version_info.h.in: new file
11653 * Makefile.am: add version_info.h.in
11655 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11656 version_info.h instead of VERSION_INFO
11658 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11660 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11661 The ERT inset now returns string().
11663 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11665 * lyxtext.h, text.C (selectNextWord): renamed as
11666 selectNextWordToSpellcheck.
11668 * text.C (selectNextWordToSpellcheck): Modified to not select
11669 words inside an ERT inset.
11671 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11673 * lyx_cb.C (MenuLayoutSave): change a bit the question
11675 * sp_base.h: include <sys/types.h>
11677 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11679 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11681 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11683 * several files: fix typos in user-visible strings
11685 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11687 * text2.C (pasteSelection): do not set the selection, since it
11688 will be cleared later. Actually, the intent was to fix the way the
11689 selection was set, but I figured rmoving the code was just as good.
11691 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11693 * FontLoader.C (available): Check if font is available without
11696 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11698 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11700 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11702 * lyxrc.[Ch]: added display_graphics variable and associated code.
11704 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11706 * bufferparams.C (hasClassDefaults): new method. Returns true if
11707 the buffer parameters correspond to known class defaults
11709 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11711 * XFormsView.C (show): set minimum size to the main window.
11713 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * text2.C (copySelection):
11717 * lyxfind.C (LyXReplace):
11718 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11719 LyXText::selectionAsString.
11721 * paragraph.C (asString): add "label" argument to the second form
11723 * text2.C (selectionAsString): add "label" argument and pass it to
11724 Paragraph::asString.
11726 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11728 * lyx_main.C (commandLineHelp): remove version information
11730 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11732 * lyx_main.C: add -version commandline option
11734 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11736 * paragraph.h: make the optional constructor arg required instead.
11737 some modifications to other files because of this.
11739 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11741 * lyxserver.C (C_LyXComm_callback): make it static
11743 * lyx_main.C (error_handler): make it static
11745 * lyx_gui.C (LyX_XErrHandler): make it static
11747 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11749 * WorkArea.C: make the extern "C" methods static.
11751 * Makefile.am (lyx_LDADD): simplify
11753 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11755 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11756 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11758 * LyXAction.C (init):
11759 * lyxfunc.C (dispatch): associated code removal.
11761 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11763 * lyxfont.h (isSymbolFont): shut off warning
11765 * text.C (setHeightOfRow):
11766 (getVisibleRow): fix crash with empty paragraphs which have a
11769 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11771 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11774 2001-09-04 José Matos <jamatos@fep.up.pt>
11777 * tabular.C (docbook): rename docBook method to docbook.
11779 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11781 * Makefile.am: add dependencies to main.o.
11783 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11785 * FontLoader.C (available): Return false if !lyxrc.use_gui
11787 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11789 * FontInfo.C (query):
11790 * converter.C (view):
11791 * importer.C (Import):
11792 * exporter.C (Export): Can not -> cannot.
11794 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11796 * BufferView_pimpl.C: allow to create index inset even if
11799 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11801 * buffer.C (getLists): replace boost::tie code with an explicit pair
11802 as boost::tie can break some compilers.
11804 * iterators.h: Added a std:: declaration to the return type of
11807 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11809 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11812 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11814 * iterators.[Ch]: New files. Provide paragraph iterators.
11816 * buffer.C (changeLanguage): Use paragraph iterators.
11817 (isMultiLingual): ditto
11819 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11821 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11823 * FontLoader.C: Support for cmr font.
11825 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11827 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11828 (available): New method.
11830 * FontInfo.C (getFontname): Use scalable fonts even when
11831 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11834 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11836 * converter.C (Formats::view): reverted! Incorrect fix.
11838 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11840 * converter.C (Formats::view): only output the -paper option
11841 if the dvi viewer is xdvi, thereby fixing bug #233429.
11843 2001-08-23 Herbert Voss <voss@perce>
11845 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11847 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11849 * Spacing.h (Spacing): Set space to Default on in the default
11852 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11854 * vc-backend.h (RCS::versionString): add RCS to version
11855 (CVS::versionString): add CVS to version
11857 * vc-backend.C (scanMaster): do not add CVS to version.
11858 (scanMaster): do not add RCS to version
11860 * lyxvc.C (versionString): new method
11862 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11864 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11866 * Spacing.C (set): initialize fval
11868 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11870 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11873 2001-08-16 Juergen Vigna <jug@sad.it>
11875 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11877 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11879 * BufferView_pimpl.C:
11882 * text2.C: setParagraph takes linespacing now
11884 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11886 * LyxAction.C: add internal LFUN_CITATION_INSERT
11888 * LyXView.C: actually apply fix
11890 * bufferlist.C: fix open non-existent file
11892 * lyxfind.C: fix indentation
11894 * lyxfunc.C: remove unneeded assert, fix typo
11896 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11898 * MenuBackend.C: use "Floatname List"
11900 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11902 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11903 when converting LaTeX layout to insetERT.
11904 Generate a non-collapsed float when reading old float
11906 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11908 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11911 2001-08-13 Juergen Vigna <jug@sad.it>
11913 * text.C (fill): return 0 instead of 20 as this seems to be the more
11916 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11918 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11921 2001-08-13 Juergen Vigna <jug@sad.it>
11923 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11925 (SearchBackward): comment out the unlocking of the inset_owner this
11926 should not be needed!
11928 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11930 * Many files: Remove inherit_language, and add latex_language
11932 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11933 collapsible insets.
11935 2001-08-10 Juergen Vigna <jug@sad.it>
11937 * text.C (prepareToPrint): fixed hfill-width in draw!
11939 * BufferView2.C (selectLastWord): save the selection cursor as this
11940 now is cleared in the function LyXText::clearSelection!
11942 2001-08-08 Juergen Vigna <jug@sad.it>
11944 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11945 BACKSPACE type functions.
11947 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11948 is only cutted from the document but not put in the cut-buffer, where
11949 still the old stuff should be.
11951 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11953 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11955 * tabular.C (SetWidthOfCell): fixed special case where the width
11957 (LeftLine): handle '|' in align_special.
11959 (LeftAlreadyDrawed): ditto
11960 (SetWidthOfCell): ditto
11962 2001-08-07 Juergen Vigna <jug@sad.it>
11964 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11966 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11968 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11969 * lyxlex.[hC]: ditto
11971 2001-08-06 Juergen Vigna <jug@sad.it>
11973 * text.C (getVisibleRow): fix up row clearing a bit.
11975 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * minibuffer.C: make sure the X server sees the changes in the input.
11979 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * paragraph.C (getFont): split into...
11982 (getLabelFont): this
11983 (getLayoutFont): and this
11984 * paragraph_pimpl.C (realizeFont): calling this
11986 * text2.C (getFont): split into...
11987 (getLayoutFont): this
11988 (getLabelFont): and this
11989 (realizeFont): all three calling this
11991 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11994 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11996 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11998 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12000 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12001 layouts from the Quote inset insertion.
12003 2001-08-03 Juergen Vigna <jug@sad.it>
12005 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12007 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12008 only if status not is already CHANGED_IN_DRAW (second level).
12010 * text.C (draw): don't set the need_break_row when inside an
12013 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12015 * buffer.C (parseSingleLyXformat2Token): handle more latex
12018 * bufferview_funcs.[hC]: change function names to
12019 begin with small char, adjust other files.
12021 2001-08-02 André Pönitz <poenitz@gmx.net>
12024 BufferView_pimpl.C: remove broken special code for math-greek
12026 2001-08-02 Juergen Vigna <jug@sad.it>
12028 * BufferView_pimpl.C (update): redone this function so that we
12029 update the text again if there was a CHANGE_IN_DRAW.
12031 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12032 (drawFromTo): added a new internal bool which is used by draw() and
12034 (general): some cursor drawing problems fixed.
12036 2001-08-01 Juergen Vigna <jug@sad.it>
12038 * lyxfind.C (LyXFind): fixed
12039 (SearchForward): ditto
12040 (SearchBackward): ditto
12042 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12043 spurius drawing of the cursor in the main area.
12045 * text2.C (status): small fix which could lead to a segfault!
12046 (clearSelection): remove unneeded BufferView param.
12048 2001-08-01 André Pönitz <poenitz@gmx.net>
12050 * lyxfunc.C: small change due to changed mathed interface
12052 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12054 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12056 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12058 * lyxfunc.c: fail gracefully if file doesn't exist
12063 * BufferView_pimpl.C: IsDirWriteable() proto changed
12065 * LyXView.C: fix updateWindowTitle() to store the last title
12067 2001-07-31 Juergen Vigna <jug@sad.it>
12069 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12070 the font (wrong since using of Paragraph::highestFontInRange).
12072 * paragraph.C (highestFontInRange): added a default_size parameter.
12074 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12075 (setHeightOfRow): reformat
12077 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12079 * converter.[hC] + affected files: move to (inital-char)lowercase
12082 * ParagraphParameters.C (ParagraphParameters): remove commented code
12084 * PainterBase.[Ch]: remove commented code
12086 * LaTeXFeatures.h: add "bool floats" for float.sty
12088 * LaTeXFeatures.C (LaTeXFeatures): init floats
12089 (require): handle float
12090 (getPackages): do it with floats
12092 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12094 * BufferView_pimpl.C (Dispatch): improve handling of
12095 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12097 * commandtags.h: #include lyxfont.h here temporarily to avoid
12100 * bufferlist.h: include LString.h here.
12102 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12104 * text2.C (getStringToIndex): new method.
12106 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12108 * *: Reduced header file dependencies all over.
12110 2001-07-30 Baruch Even <baruch@lyx.org>
12112 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12114 2001-07-29 Baruch Even <baruch@lyx.org>
12116 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12118 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12120 * ParameterStruct.h (endif): add a default constructor to make
12121 sure that all variables is initialized.
12123 * ParagraphParameters.C (ParagraphParameters): adjust
12125 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12127 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12128 index; also, check that there is something to index, and that it
12129 does not span over several paragraphs.
12130 (doubleClick): use WHOLE_WORD_STRICT for double click.
12132 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12134 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12137 2001-07-26 Baruch Even <baruch@lyx.org>
12139 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12140 an InsetFig figure, backwards compatible reading of old figure code.
12142 2001-07-27 Juergen Vigna <jug@sad.it>
12144 * text2.C: font.realize function adaption.
12146 * text.C (draw): add a warnings lyxerr text if needed.
12148 * layout.C: font.realize function adaption.
12150 * language.C: add inherit_language and implement it's handlings
12152 * bufferview_funcs.C (StyleReset): remove language parameter from
12153 font creation (should be language_inherit now).
12155 * bufferparams.C (writeFile): handle ignore_language.
12157 * paragraph.C (getFontSettings): the language has to be resolved
12158 otherwise we have problems in LyXFont!
12160 * lyxfont.C (lyxWriteChanges): added document_language parameter
12161 (update): removed unneeded language parameter
12163 * paragraph.C (validate): fixed wrong output of color-package when
12164 using interface colors for certain fonts in certain environments,
12165 which should not seen as that on the final output.
12167 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.C:
12174 * LyXAction.C: add thesaurus support
12177 * lyxfind.C: add "once" parameter, for thesaurus, to not
12178 move to the next match
12180 2001-07-26 Juergen Vigna <jug@sad.it>
12182 * lyxfont.C (realize): honor ignore_language too!
12185 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12187 * text.C (draw): one place more for ignore_language to not draw
12190 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12192 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12194 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12196 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12197 the minipage conversion problem.
12199 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12201 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12204 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * BufferView.h: don't forward declare WorkArea
12208 * BufferView.C: don't include WorkArea.h
12210 2001-07-25 André Pönitz <poenitz@gmx.net>
12214 * lyxfunc.C: new LFUN 'math-space'
12216 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12218 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12220 * text2.C (toggleInset): call open/close
12222 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * lyxfunc.C (dispatch): add debug for the disabled case
12226 * font.C (buttonText): make similar to rectText
12228 * buffer.C (readInset): comment out parsing of insetlist and
12231 * PainterBase.C (rectText): small correction
12233 * BufferView_pimpl.C: comment out insettheorem and insetlist
12234 * LyXAction.C: ditto
12235 * commandtags.h: ditto
12237 2001-07-24 Juergen Vigna <jug@sad.it>
12239 * text.C (draw): honor the ignore_language.
12241 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12243 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12245 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12248 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12250 * lyxtext.h: remove unused (and unimplemented) methods
12252 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12254 * text.C (getVisibleRow): honor background color
12257 * Painter.h: remove default color argument for fillRectangle
12259 * text.C (backgroundColor): new method
12261 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12263 * text.C (getVisibleRow): adjust
12265 * font.[Ch] (rectText): new method, metrics
12266 (buttonText): new method, metrics
12268 * PainterBase.[hC]: make rectText and buttonText always draw and take
12271 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12273 * ToolbarDefaults.C (read):
12274 * MenuBackend.C (read): allow escaping in all strings
12276 * BufferView_pimpl.C (insertAndEditInset): new method.
12277 (Dispatch): use insertAndEditInset whenever appropriate.
12279 * BufferView_pimpl.C (insertNote): removed
12281 * BufferView_pimpl.C (smartQuote): new method, moved from
12282 BufferView; if an insetquote cannot be inserted, insert a '"'
12285 * BufferView2.C: remove insertCorrectQuote();
12287 * lyxfunc.C (getStatus): Add support for all remaingin
12288 inset-insert lfuns.
12290 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12292 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12293 command (necessary to pass " as parameter of self-insert.
12295 * text.C (selectWordWhenUnderCursor):
12296 (selectWord): add word_location parameter
12297 (selectWordWhenUnderCursor): same + remove special code for word
12299 (selectNextWord): use kind() to guess type of insetspecialchar,
12302 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12303 (insertErtContents): create ert insets as collapsed.
12304 (readInset): better compatibility code for Info inset.
12306 2001-07-20 Juergen Vigna <jug@sad.it>
12308 * lyxfunc.C (dispatch): use always LyXFind now!
12310 * text2.C (init): add a reinit flag so that the LyXText can be
12311 reinited instead of deleted and reallocated (used in InsetText).
12313 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12319 2001-07-18 Juergen Vigna <jug@sad.it>
12321 * text.C (selectNextWord): handle insets inside inset by calling
12322 always the bv->text functions so that we can go up the_locking_inset!
12324 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12325 in strange locations when inside an inset!
12327 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12328 handling to include insets.
12330 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12332 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * LyXAction.C (init):
12336 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12337 LIGATURE_BREAK, since the name is so stupid.
12339 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12341 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12344 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12346 * sp_form.[Ch]: remove.
12348 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12350 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12353 * src/buffer.C (readInset): ditto.
12355 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12357 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12358 menuSeparator(), endOfSentenceDot(), ldots() and
12359 hyphenationPoint(), which are therefore removed.
12360 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12362 * LyXAction.C (init):
12363 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12365 * paragraph.C (getWord): removed.
12367 * BufferView_pimpl.C (Dispatch): use last word or selection for
12368 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12370 * lyx_main.C (queryUserLyXDir): do not ask before creating
12371 user_dir, except if it has been named explicitely.
12373 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12375 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12376 a document of zero size.
12378 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12380 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12381 approriately in the c-tor and in require().
12382 (getPackages): output the appropriate LaTeX for natbib support.
12384 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12385 variables "use_natbib" and "use_numerical_citations" when reading the
12387 (readInset): read the various natbib cite commands.
12388 (validate): white-space change.
12390 * bufferparams.[Ch]: new variables "bool use_natbib" and
12391 "bool use_numerical_citations".
12392 (writeFile): output them in the LyX file.
12394 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12396 * lyxfunc.C (getStatus): add support for all the inset insertion
12399 * text2.C (insertInset):
12400 * paragraph.C (insetAllowed):
12401 * BufferView_pimpl.C (insertInset): update to take in account the
12402 renaming of insertInsetAllowed
12404 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12406 * text2.C (getInset): new method. returns inset at cursor position.
12408 * BufferView_pimpl.C (Dispatch): changes because of this.
12410 * LyXAction.C (init): rename open-stuff to inset-toggle.
12412 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12414 * text2.C (toggleInset): renamed from openStuff; use
12417 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12419 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12421 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12423 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12425 * buffer.C (readLyXformat2): Add filename to the error dialog
12427 2001-07-18 Juergen Vigna <jug@sad.it>
12429 * tabular.C (GetCellNumber): put an assert here instead of the check!
12431 2001-07-17 Juergen Vigna <jug@sad.it>
12433 * BufferView_pimpl.C (toggleSelection): adapted too.
12435 * text.C (selectNextWord): adapted for use with insets.
12436 (selectSelectedWord): ditto
12438 2001-07-17 Juergen Vigna <jug@sad.it>
12440 * sp_spell.C (PSpell): fix initialitation order.
12442 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * paragraph.C: spacing
12446 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12448 * sp_spell.C: repair language selection for pspell
12450 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12452 * lyxfunc.h: change more methods to begin with lower char.
12454 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12456 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12457 for unknown layouts.
12459 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12461 * buffer.C (readLyXformat2): Generate an error dialog if there are
12464 2001-07-16 Juergen Vigna <jug@sad.it>
12466 * sp_spell.C: always compile ISpell part.
12468 * lyxrc.C: added use_pspell entry and it's handling.
12470 2001-07-13 Juergen Vigna <jug@sad.it>
12472 * sp_spell.C: removed double includes.
12474 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12476 Consistent use of Lsstream.h:
12477 * Lsstream.h: added using std::stringstream for consistencies sake.
12479 * buffer.C: removed using std::stringstream
12481 * lyxfont.C (stateText):
12482 * paragraph.C (asString):
12483 * text.C (selectNextWord, selectSelectedWord):
12484 * text2.C (setCounter):
12485 * vspace.C (asString, asLatexString):
12486 std::ostringstream -> ostringstream.
12488 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12490 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12491 * commandtags.h: add LFUN_HELP_ABOUTLYX
12492 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12494 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12496 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12498 * lyx_gui_misc.C: remove spellchecker
12499 * lyxfunc.C: showSpellchecker
12501 * sp_ispell.h: added
12502 * sp_pspell.h: added
12503 * sp_spell.C: added
12504 * sp_form.[Ch]: removed
12505 * spellchecker.[Ch]: removed
12507 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12509 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12511 (simpleTeXSpecialChars): Simply print the input character without
12512 any special translation if pass_thru is set.
12514 * layout.h: Added bool pass_thru to layout class for being able to
12515 implement pass through of a paragraph for Literate Programming.
12517 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12518 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12519 * layout.C (Read): add "passthru" to list of layout tags and add
12520 code to set the pass_thru boolean when it is read.
12522 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12524 * trans_decl.h: remove allowed from KmodInfo
12526 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12527 remove allowed code
12530 * paragraph_pimpl.C (erase): use boost::prior
12532 * Painter.C (text): use data() instead of c_str() when length is
12534 * WorkArea.C (putClipboard): ditto
12535 * font.h (width): ditto
12537 * BufferView2.C: use it-> instead of (*it). for iterators
12539 * paragraph_pimpl.C: ditto
12540 * paragraph.C: ditto
12541 * minibuffer.C: ditto
12542 * language.C: ditto
12544 * encoding.C: ditto
12545 * counters.C: ditto
12546 * converter.C: ditto
12548 * Variables.C: ditto
12549 * TextCache.C: ditto
12550 * MenuBackend.C: ditto
12551 * LyXAction.C: ditto
12553 * FloatList.C: ditto
12554 * DepTable.C: ditto
12555 * ColorHandler.C (LyXColorHandler): ditto
12557 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12559 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12561 * text2.C (openStuff): reintroduce this method (which had been
12562 nuked in NEW_INSETS frenzy).
12564 * lyxfunc.C (Dispatch): when an action has not been handled, use
12565 its name in the error message, not its number.
12567 * paragraph.C (inInset): change method name to begin with lowercase.
12570 * text2.C: updates because of this.
12572 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12574 * ToolbarDefaults.C (add): add spaces in error message
12576 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12578 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12579 (readLyXformat2): rename return_par to first_par, use lyxlex's
12580 pushToken and remove the manual push handling.
12581 (parseSingleLyXformat2Token): add another ert comp. variable:
12582 in_tabular, rename return_par to first_par. handle newlines better
12584 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12586 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12588 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * text2.C (getParFromID): removed
12592 * buffer.C (getParFromID): new method moved form lyxtext.
12593 * BufferView2.C (insertErrors): adjust
12594 (setCursorFromRow): adjust
12595 * BufferView_pimpl.C (restorePosition): adjust
12596 * lyxfunc.C (Dispatch): adjust
12597 * undo_funcs.C (textUndo): adjust
12599 (textHandleUndo): adjust
12600 (textHandleUndo): adjust
12602 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12604 * buffer.C: up' the LYX_FORMAT
12606 * lyxfont.h: turn NO_LATEX on as default
12608 * buffer.C (insertErtContents): new methods of tex style compability.
12609 (parseSingleLyXformat2Token): use it several places.
12610 * tabular.C (OldFormatRead): and here
12612 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * text2.C: remove some commented code.
12617 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12618 * trans.C: changes because of the above.
12620 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12622 * text2.C (setCounter): Fix counters bug with bibliography layout.
12624 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12626 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12627 own member functions
12628 (simpleTeXSpecialChars): ditto
12630 2001-07-06 Juergen Vigna <jug@sad.it>
12632 * a lot of files: changed the access to LyXText::status and the
12633 call of undo-functions.
12635 * undo.[Ch]: added a inset_id to the undo informations.
12637 * undo_funcs.[Ch]: added and moved here all undo functions.
12639 * lyxtext.h: give the status enum a weight, made status_ a private
12640 variable and made accessor functions for it, removed the whole bunch
12641 of undo-functions as they are now in their own file, make some
12642 functions publically available. Added function ownerParagraph with
12645 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12646 made InInset() a const function, added getParFromID() function.
12648 * buffer.[Ch]: added const version for inset_iterator functions,
12649 added getInsetFromID() function.
12651 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12652 changed undo functions for new version.
12654 2001-07-05 Juergen Vigna <jug@sad.it>
12656 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12657 unknow mechanism does not call the proper constructor but only this
12658 one also if I request the other!?
12660 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12662 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12664 * text2.C (LyXText): use initialization lists.
12666 * lyxtext.h (Selection): initialize set_ and mark_
12667 (init): remove method
12669 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12671 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12673 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12675 * screen.[Ch]: change method names to begin with lowercase
12677 * BufferView_pimpl.C (updateScrollbar): simplify further and
12678 hopefully make it a bit faster.
12680 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12683 calling directly xforms functions.
12685 * Painter.C (Painter):
12686 * lyx_cb.C (MenuWrite):
12687 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12690 * lyx_gui.C: remove bogus guiruntime extern declaration.
12692 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12696 (redoDrawingOfParagraph): ditto
12697 (redoParagraphs): ditto
12698 (cutSelection): don't create a object for CutAndPaste use the
12699 static method directly
12700 (pasteSelection): ditto
12702 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12705 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * modifications to some other files because of this.
12709 * Makefile.am (lyx_SOURCES): add XFormsView
12711 * XFormsView.[Ch]: new files
12713 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12714 the main window. Move the gui dependent stuff to XFormsView
12716 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12718 * tabular.C (GetCellInset): update cur_cell also in the row/col
12719 version of this function.
12721 * lyxfunc.C: no need to include figure_form.h here.
12727 * lyxvc.C: no need to include forms.h here.
12729 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12731 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12733 * lyxfunc.C (Dispatch):
12735 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12736 constructor argument.
12738 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12740 * paragraph.C (Paragraph): dont't clear, and just set layout.
12741 (makeSameLayout): use params's copy contructor.
12743 * ParagraphParameters.[Ch] (makeSame): delete method
12745 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12747 * Variables.[Ch]: fix indentation, rename set to isSet
12749 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * lyxfunc.C (Dispatch): fix typo
12753 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12755 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12758 * bufferlist.C: include assert.h for emergencyWrite().
12760 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12762 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12763 give up at last (bug #425202) !
12765 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12771 * spellchecker.C: strip spellchecker options and bring up
12772 preferences tab instead
12774 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12776 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12777 the istringstream constructor
12779 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * paragraph.C (getLayout): fix return value
12783 * paragraph.h: do not declare getLayout as inline.
12785 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12787 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12789 * lyxcursor.h (operator<): new func
12790 (operator>): new func
12791 (operator>=): new func
12792 (operator<=): new func
12794 * text.C (changeCase): use selection.start and selection.end
12795 (changeRegionCase): require from to be <= to. Require par to be a
12798 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12800 2001-06-27 Juergen Vigna <jug@sad.it>
12802 * text.C (cursorLeftOneWord): changed to return the cursor and added
12803 overlay with BufferView * parameter which calls this one.
12805 (selectWord): use new getWord function.
12806 (changeCase): renamed from changeWordCase as and extended to work
12807 also on selections.
12809 * lyxtext.h: added enum word_location
12811 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12812 changeCase as this operates now also on selections.
12814 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12816 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12818 * many files: send debug output to Debug::INFO instead of
12821 * converter.C (View):
12823 (Move): send debug output to Debug::FILES instead of console.
12825 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12827 * lyxfunc.C (getStatus): use func_status
12829 * func_status.h: new header, describing the results of
12830 LyXFunc::getStatus;
12832 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12835 2001-06-25 The LyX Project <jug@sad.it>
12837 * buffer.C (sgmlOpenTag):
12839 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12841 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * text2.C: remove some dead code
12845 * tabular.C (GetCellInset): store the last cell checked (gotten)
12847 * tabular.h: add the helper for the speedup
12849 * lyxtext.h: remove some dead code
12851 2001-06-26 The LyX Project <Asger>
12853 * paragraph.C: Change export to LaTeX of alignment to
12854 \begin{center} and family for better roundtrip work with reLyX.
12856 * Tune the math drawing a bit.
12858 2001-06-25 The LyX Project <Asger>
12860 * LColor.C (LColor): New color for math background. New color
12863 2001-06-25 The LyX Project <jug@sad.it>
12865 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12867 * lyxfunc.C (Open):
12868 * bufferlist.C (newFile): do not restrict to files ending with
12871 * BufferView_pimpl.C (MenuInsertLyXFile):
12873 2001-06-24 The LyX Project <jug@sad.it>
12875 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12878 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * lyxtext.h: rename most methods to begin with a small char.
12881 Lots of changes because of this.
12883 * paragraph.C (Paragraph): do not call fitToSize
12884 (erase): call Pimpl::erase
12885 (insertChar): call Pimpl::insertChar
12886 (insertInset): call Pipl::insertInset
12887 (breakParagraph): do not call fitToSize
12888 (breakParagraphConservative): do not call fitToSize
12889 (fitToSize): remove method
12891 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12893 2001-06-24 The LyX Project <Asger>
12895 * Fix Qt compilation^2
12897 2001-06-24 The LyX Project <jug@sad.it>
12899 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12900 depthHook(getDepth()-1).
12903 * ParagraphParameters.h:
12904 * ParameterStruct.h: change type of depth to unsigned int ==
12905 depth_type. Many adaptations to other files before of that.
12907 2001-06-24 The LyX Project <Asger>
12909 * Fix Qt compilation.
12911 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12913 * paragraph.h: renamed several methods to begin with small letter.
12914 several changes to many parts of the code because of this.
12916 2001-06-23 The LyX Project <jug@sad.it>
12918 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12919 rewritten to discard all double spaces when KeepEmpty is off
12920 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12921 to only handle newlines but not fiddle with spaces and friends.
12923 * lyxfunc.C (MenuNew): when doing 'new from template', use
12924 template_path as default directory
12926 2001-06-23 The LyX Project <Asger>
12928 * Clean-up of header file includes all over
12929 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12931 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * paragraph.h: renamed from lyxparagraph.h
12935 2001-06-23 Asger <lyx@violet.home.sad.it>
12937 * Buffer.h: Removed Buffer::resize
12938 * BufferList.h: Removed BufferList::resize
12939 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12940 the document lazily when we change the width, or the font settings.
12942 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12944 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12946 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12948 * buffer.h: remove out of date comment
12950 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12953 * screen.C: fix "theoretical" GC leak
12955 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12957 * LaTeX.C (scanAuxFile):
12958 (deplog): remove trailing \r when reading stream (useful under
12961 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12963 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12964 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12965 and BufferView::theLockingInset(Inset*), so should use them and not
12966 access bv_->text->the_locking_inset directly.
12968 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12970 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12973 * tex-defs.h: remove old unused file
12975 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12977 * BufferView_pimpl.C: fix typo, remove minibuffer message
12978 when buffer has loaded
12980 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * lyxfunc.C (Dispatch): use stringstream
12983 (MenuNew): use stringstream
12984 (Open): use stringstream
12986 * importer.C (Import): use stringstream
12988 * bufferview_funcs.C (CurrentState): use stringstream
12990 * LaTeX.C (run): use stringstream
12992 * BufferView_pimpl.C (savePosition): use stringstream
12993 (restorePosition): use stringstream
12994 (MenuInsertLyXFile): use stringstream
12996 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13009 * vspace.C: removed // -*- C++ -*- as first line.
13012 * version.h: added // -*- C++ -*- as first line.
13014 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13016 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13018 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13021 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13023 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13026 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13028 * gettext.C: include LString.h even when --disable-nls is on.
13030 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13032 * converter.h (Get): changed argument type from int to
13033 FormatList::size_type to avoid unnecessary conversion.
13035 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13038 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13040 * gettext.h: include LString.h even when --disable-nls is on.
13042 2001-06-07 Juergen Vigna <jug@sad.it>
13044 * text.C (BreakAgain): subst spaces with tabs.
13046 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13047 (resizeInsetsLyXText): set force on resizeLyXText.
13049 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13051 * gettext.h (gettext_init):
13052 (locale_init): use a real definition instead of a macro
13054 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13056 * Bufferview_pimpl.C:
13058 * LColor.C: further lcolor tidies
13060 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13062 * BufferView_pimpl.C (updateScrollbar): simplify.
13064 * BufferView2.C: don't include insets/insetinfo.h, change
13065 prototype for insertInset and call the Pimpl version. let
13066 updateInset call Pimpl version.
13068 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13069 gotoInset to BufferView::Pimpl
13071 2001-06-01 Juergen Vigna <jug@sad.it>
13073 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13074 inside a LockingInset (is the update needed at all?).
13076 2001-05-31 Juergen Vigna <jug@sad.it>
13078 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13079 here not the old one otherwise how should we compare it afterwards
13082 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * FontInfo.C: bring C functions into global namespace when
13090 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13092 * LString.h: make sure config.h has been loaded before LString.h.
13094 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13095 (one for each char read by EatLine!).
13097 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13100 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13103 to the same as the par we break from
13105 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13109 * MenuBackend.C (expand): also create menu entries for wide
13110 versions of the floats.
13112 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13114 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13116 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13117 frontends/Makefile.am
13123 * tabular.C (getTokenValue): add std::
13125 * tabular-old.C (getTokenValue): add std::
13126 (getTokenValue): ditto
13127 (getTokenValue): ditto
13129 * screen.C (ToggleSelection): adjust
13131 * lyxtext.h: put selection cursors inside a Selection struct.
13133 * lyxfunc.C (moveCursorUpdate): adjust
13135 * lyxfont.C (latexWriteStartChanges): add std::
13137 * lyxfind.C: adjust
13139 * font.h: delete with(char const *, LyXFont const &)
13141 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13143 * FontInfo.C (getFontname): add std::
13145 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13146 (workAreaButtonPress): adjust
13147 (tripleClick): adjust
13149 (moveCursorUpdate): adjust
13152 * BufferView2.C (gotoInset): adjust
13154 2001-05-30 Juergen Vigna <jug@sad.it>
13156 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13157 to check pspell I add this as default as I now have new pspell
13158 libraries and they seem to use this.
13160 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13162 * text2.C (CutSelection): make the cursor valid before the call to
13165 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13167 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13168 relied on 0 terminated strings and other horrors. Bug found due to
13169 the new assert in lyxstring!
13171 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13174 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13179 * lyxfunc.C (processKeySym): change method of getting to the
13182 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13183 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13184 * BufferView_pimpl.[Ch]: here as private methods.
13186 2001-05-28 Juergen Vigna <jug@sad.it>
13188 * text.C (SetHeightOfRow): added the update() call again as it is
13189 needed to initialize inset dimensions!
13191 2001-05-16 Juergen Vigna <jug@sad.it>
13193 * text2.C (SetCharFont): Add new function with BufferView * and
13194 bool toggleall parameters for setting insets internal fonts.
13195 (SetFont): Freeze the undo as we may change fonts in Insets and
13196 all this change should be inside only one Undo!
13198 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13199 setting font's in insets as for them we have the SetFont function!
13201 2001-05-15 Juergen Vigna <jug@sad.it>
13203 * text2.C (ClearSelection): to be sure we REALLY don't have any
13206 * tabular.C (TeXCellPreamble): fixed the left border problem for
13209 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13211 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13214 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13216 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13217 LFUN_BREAKPARAGRAPH.
13219 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13220 help test to "internal only", similar for LFUN_INSERT_URL
13222 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13223 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13224 auto_region_delete and deadkeys.
13226 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13229 * LColor.C: remove some dead entries, tidy a little
13231 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13235 (Dispatch): implement LFUN_ESCAPE
13237 * commandtags.h: add LFUN_ESCAPE
13239 * LyXAction.C (init): add entry for LFUN_ESCAPE
13241 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13242 Remove commented code.
13243 (insertNote): moved here
13244 (open_new_inset): moved here
13246 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13249 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13251 * kbmap.C (findbinding): clean it up and make it work correctly.
13253 * lyx_main.C (init): do not pass argc and argv as parameters
13255 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13257 * buffer.C: fix path for OS/2 & Win32
13261 * lyx_main.C: Added os:: class.
13263 * os2_defines.h: update
13265 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13267 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13268 better by trying again with reduced state.
13270 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13272 * lyxrc.C (read): print error about invalid key sequence only when
13273 debugging (because not all latinX keysyms are known to some X
13276 * kbsequence.C (getiso): add a few std:: qualifiers
13277 (getiso): comment out extra return statement.
13279 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13281 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13283 (Dispatch): enhance the accent inset a bit. (not perfect)
13285 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13289 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13291 * bufferlist.C (emergencyWrite): fix assert() call
13293 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13295 * text.C (InsertChar): Added trivial patch to only send the "you
13296 can not do multiple spaces this way" message once during a
13299 2001-05-08 Baruch Even <baruch@lyx.org>
13301 * Makefile.am: Changed order of libraries to get LyX to link properly
13302 with the gnome frontend.
13304 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13306 * LaTeXFeatures.h: add a std:: qualifier
13308 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13310 * paragraph.C (String): use stringstream
13312 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13314 * paragraph.C (writeFile): remove footflag arg
13316 * buffer.C (makeLaTeXFile): use stringstream
13317 (latexParagraphs): remove footnot gurba
13319 * LaTeXFeatures.C (getPackages): use stringstream
13320 (getMacros): likewise
13321 (getTClassPreamble): likewise
13322 (getFloatDefinitions): new method
13324 * paragraph.C (writeFile): reindent
13327 * WorkArea.h: revert the xpos + etc changes.
13329 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13331 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13333 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13334 (pasteSelection): likewise
13335 * text2.C (CreateUndo): likewise
13337 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13339 * minibuffer.C (peek_event): temporarily reduce the functionality
13340 of the minibuffer (to allow args on lfuns)
13342 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13343 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13345 * buffer.C (readInset): add compability reading of old float
13346 lists, add reading of new style float list.
13347 (readInset): avoid reevaluation of inscmd.getCmdName()
13348 (getLists): reindent
13350 * MenuBackend.C (MenuItem): implement parsing of
13351 md_floatlistinsert and md_floatinsert.
13352 (expand::LastFiles): move initalizaton of iterators out of loop,
13353 avoid reevaluation.
13354 (expand::Documents): introduce typdedef vector<string> Strings,
13356 (expand::ExportFormats): introduce typedef vector<Format const *>
13357 Formats, and use it.
13358 (expand): implement FloatListInsert and FloatInsert.
13360 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13361 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13362 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13364 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13366 (Dispatch::LFUN_FLOAT_LIST): implement
13368 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13370 * LaTeX.C (run): Fix problem with --export code.
13372 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13374 * BufferView.[Ch] (workarea): removed.
13375 (getClipboard) new method; wrapper for workarea()->getClipboard()
13377 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13380 * WorkArea.h (width, height, xpos, ypos): These methods all
13381 returned the dimensions of the work_area sub-area of WorkArea,
13382 resulting in a position error if the WorkArea were resized. Now
13383 return the dimensions of the entire WorkArea.
13385 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13387 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13389 * LaTeX.C (deplog): correct the syntax of regex reg1
13391 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * undo.C: remove !NEW_INSETS cruft
13395 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13397 * text2.C: remove !NEW_INSETS cruft
13399 * text.C: remove !NEW_INSETS cruft
13401 * tabular.C: remove !NEW_INSETS cruft
13403 * spellchecker.C: remove !NEW_INSETS cruft
13405 * lyxtext.h: remove !NEW_INSETS cruft
13407 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13409 * lyxfunc.C: remove !NEW_INSETS cruft
13411 * lyxfind.C: remove !NEW_INSETS cruft
13413 * lyx_cb.C: remove !NEW_INSETS cruft
13415 * figureForm.C: remove !NEW_INSETS cruft
13417 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13419 * buffer.[Ch]: remove !NEW_INSETS cruft
13421 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13423 * CutAndPaste.C: remove !NEW_INSETS cruft
13425 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13427 * BufferView2.C: remove !NEW_INSETS cruft
13429 * BufferView.h: remove !NEW_INSETS cruft
13431 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13433 * Lsstream.h: include LString.h before the sstream headers to
13434 fix problem with gcc 2.95.3 and lyxstring
13436 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13438 * lyx_main.C: add using directives when needed for C functions
13439 declared in std:: namespace.
13441 2001-04-27 Juergen Vigna <jug@sad.it>
13443 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13444 (SetHeightOfRow): comment out the update call should not be needed!
13446 2001-04-13 Juergen Vigna <jug@sad.it>
13448 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13449 (LyXTabular): tried to minimize operator= operations (and realized
13450 hopfully Lars wish).
13452 2001-04-27 Juergen Vigna <jug@sad.it>
13454 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13456 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13460 * buffer.C (readInset): hack to make listof algorithm work
13462 * BufferView_pimpl.C: hack to make listof algorithm work
13464 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * LyXAction.C: removed all !NEW_INSETS cruft
13467 (init): moved lfun_item in method
13469 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13471 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13473 * BufferView2.C (theLockingInset): white space.
13475 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * minibuffer.C: include <iostream>
13479 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13481 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13483 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13485 * text.[Ch] (TransposeChars): new method
13487 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * call message directly through LyXView instead of through LyXFunc
13490 * BufferView2.C: adjust
13491 * BufferView_pimpl.C: adjust
13492 * FontLoader.C: adjust
13494 * bufferview_funcs.C: adjust
13495 * converter.C: adjust
13496 * figureForm.C: adjust
13497 * importer.C: adjust
13499 * lyx_gui_misc.C: adjust
13500 * lyxfunc.C: adjust
13503 + more files in subdirs
13505 * lyxparagraph.h (size): move up int file
13508 * adjust all uses of Assert to lyx::Assert.
13510 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13511 lyxfunctional in namespace lyx
13512 * layout.C (hasLayout): ditto
13515 (delete_layout): ditto
13516 (NumberOfClass): ditto
13517 * converter.C (GetFormat): ditto
13522 * bufferlist.C (getFileNames): ditto
13523 (emergencyWriteAll): ditto
13526 * MenuBackend.C (hasSubmenu): ditto
13529 * BufferView_pimpl.C (getInsetByCode): ditto
13531 2001-04-18 Juergen Vigna <jug@sad.it>
13533 * vspace.C (asLatexString): fixed the 100% problem.
13535 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13537 * lyxfunc.C (Dispatch):
13539 * minibuffer.h: add a few std:: qualifiers
13541 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * minibuffer.[Ch]: reimplement so that commands is initiated and
13544 run from lyxfunc, simplified som handling, and made the completion
13545 and history code for complete. wip.
13547 * lyxfunc.C (processKeySym): call message
13548 (miniDispatch): new temporary method
13549 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13550 (LFUN_MESSAGE): implement
13551 (LFUN_MESSAGE_PUSH): implement
13552 (LFUN_MESSAGE_POP): implement
13553 (initMiniBuffer): the initial/defualt minibuffer message.
13555 * lyxfont.[Ch]: inline some more getters
13557 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13559 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13561 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13562 (AutoSave): use LFUN_MESSAGE
13563 (Reconfigure): ditto
13565 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13567 * figureForm.C: use LFUN_MESSAGE
13569 * converter.C (runLaTeX): use LFUN_MESSAGE
13571 * bufferview_funcs.C: use LFUN_MESSAGE
13573 (changeDepth): ditto
13575 * bufferparams.h: use boost::
13577 * bufferlist.h: inherit privately from noncopyable
13579 * bufferlist.C (loadLyXFile): remove some commented code.
13581 * buffer.C (runChktex): use LFUN_MESSAGE
13583 * ShareContainer.h: inherit privately from noncopyable
13585 * ParagraphParameters.[hC] (depth): inline it.
13587 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13589 (message): new method
13590 (messagePush): ditto
13591 (messagePop): ditto
13592 (show): init minibuffer
13593 (showState): direct call
13595 * LaTeX.[Ch]: inherit privately from noncopyable
13596 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13597 instead of WriteStatus.
13599 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13601 * BufferView_pimpl.C (buffer): don't init minibuffer
13602 (workAreaButtonPress): use LFUN_MESSAGE
13603 (workAreaButtonRelease): ditto
13604 (savePosition): ditto
13605 (restorePosition): ditto
13606 (MenuInsertLyXFile): ditto
13607 (workAreaExpose): don't init minibuffer
13608 (update): remove commented code, simplify
13610 * BufferView2.C (openStuff): use LFUN_MESSAGE
13611 (toggleFloat): ditto
13614 (copyEnvironment): ditto
13615 (pasteEnvironment): ditto
13620 (updateInset): remove some commented code
13622 * lastfiles.h: inherit privately from noncopyable
13625 * lyx_main.h: ditto
13627 * lyxlex_pimpl.h: ditto
13629 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13630 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13631 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13633 * LyXAction.h: inherit privately from noncopyable, add methods
13634 func_begin, func_end, returning iterators to the func map.
13636 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13637 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13638 (func_begin): new method
13639 (func_end): new method
13641 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13643 (copySelection): ditto
13644 (pasteSelection): ditto
13646 * BufferView.C: whitespace change
13647 * BufferView.h: inherit privately from noncopyable
13649 2001-04-16 Allan Rae <rae@lyx.org>
13651 * tabular-old.C (l_getline):
13652 * spellchecker.C (sc_check_word):
13653 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13654 an unrecognised preprocessor directive. So ensure they're wrapped.
13656 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13658 * src/exporter.C (Export): Give an error message when path to file
13661 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13663 * LaTeX.C (deplog): Always check that foundfile exists.
13665 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13670 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * tabular.[Ch] (getLabelList): implement new method
13674 * minibuffer.h: comment ouf setTiimer
13676 * minibuffer.C (ExecutingCB): constify res
13677 (peek_event): constify s
13678 (Set): constify ntext
13679 (Init): constify nicename
13681 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13683 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13684 (savePosition): use two params to Minibuffer::Set
13685 (restorePosition): ditto
13687 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13689 * lyx_main.C: include language.h
13691 * Makefile.am (lyx_main.o): add language.h
13693 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13699 * CutAndPaste.C: include gettext.h
13701 * lyxfont.h: remove old hack with ON and OFF.
13704 * lyxfont.h: do not include language.h...
13709 * bufferview_funcs.C:
13715 * paragraph.C: ... but do it here instead
13717 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13721 * tabular.C: small reformat
13723 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13726 (BreakParagraph): ditto
13727 (SetOnlyLayout): ditto
13730 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13733 * lastfiles.C: removed most using decl, add std:: where needed
13735 * buffer.C: ws changes
13737 * MenuBackend.C (class compare_format): put into anon namespace
13738 (expand): constify label, names, action, action2
13741 * text.C (SingleWidth): constify font
13742 (IsBoundary): constify rtl2
13743 (GetVisibleRow): constify ww
13745 * LaTeX.C (deplog): constify logfile
13747 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13749 (workAreaExpose): constify widthChange, heightChange
13751 * lyxrow.C (par): moved
13754 * lyxrow.h: as inlines here
13756 * lyxfont.h (shape): moved from lyxfont.C
13757 (emph): moved from lyxfont.C
13759 * lyxfont.C (LyXFont): use initialization list for all
13761 (shape): move to lyxfont.h as inline
13762 (emph): move to lyxfont.h as inline
13765 2001-04-04 Juergen Vigna <jug@sad.it>
13767 * vspace.C: had to include stdio.h for use of sscanf
13769 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13772 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13773 independent of xforms.
13775 2001-04-02 Juergen Vigna <jug@sad.it>
13777 * spellchecker.C: fixed namespace placing!
13779 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13781 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13782 the LyXParagraph * is 0.
13784 2001-03-29 Juergen Vigna <jug@sad.it>
13786 * vspace.C: added support for %, c%, p%, l%.
13787 (stringFromUnit): added helper function.
13788 (asLatexString): changed to give right results for the %-values.
13790 * buffer.C: convert the widthp in a width%.
13792 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13794 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13797 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13798 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13800 * lyx_cb.[Ch]: see above.
13802 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13806 * lyx.[Ch]: replaced by figure_form.[Ch].
13810 * lyxfunc.C: changed headers associated with above changes.
13812 2001-03-27 Juergen Vigna <jug@sad.it>
13814 * BufferView_pimpl.C: set the temporary cursor right!
13816 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13818 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13820 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13822 * LString.h: removed "using std::getline"!
13824 * BufferView_pimpl.C (Dispatch): changes due to changes in
13825 InsetInclude::Params.
13827 * buffer.C (tag_name): removed redundant break statements as they were
13828 producing lots of warnings with my compiler.
13830 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13832 * LString.h: add "using std::getline" when using the real <string>.
13834 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13836 * buffer.C: removed bitset usage.
13837 PAR_TAG moved to an anonymous name space.
13838 (tag_name): new funtion, also in the anonymous namespace.
13839 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13840 (makeDocBookFile): clean code. Completed transition from string arrays
13842 (SimpleDocBookOnePar): code clean.
13844 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13846 * tabular.C: add some comments.
13848 2001-03-22 Juergen Vigna <jug@sad.it>
13850 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13851 compatibility read a bit and fixed bug with minipage in different
13854 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13856 * buffer.C (pop_tag): removed.
13857 (push_tag): removed.
13858 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13859 array replaced with vector. Added support for CDATA sections.
13860 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13862 (makeDocBookFile): XML conformant declaration of CDATA section,
13863 fixed bug related to <emphasis> in the first paragraph char.
13864 (sgmlOpenTag): exclude empty tags.
13865 (sgmlCloseTag): ditto.
13867 * buffer.h (pop_tag): removed.
13868 (push_tag): removed.
13870 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13872 * language.h (Languages): added size_type and size().
13874 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13876 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13877 response on compability reading of minipages. One probliem is that
13878 the old usage of minipages was «flertydig»
13880 * several files here and in subdirs: don't use static at file
13881 scope use anon namespaces instead.
13883 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13885 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13886 LaTeX output. This is necessary for Literate document
13889 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13891 * buffer.C: insert hfill when needed.
13893 * tabular.C (l_getline): use string::erase, small whitespace change.
13895 * BufferView_pimpl.C: try the anon namespace.
13896 * WorkArea.C: ditto
13898 2001-03-16 Juergen Vigna <jug@sad.it>
13900 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13901 otherwise it won't open options-dialogs.
13903 * buffer.C: honor pextraWidth(p) on converting minipages.
13905 * tabular.C (l_getline): changed the functions to strip trailing \r.
13907 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13909 * BufferView_pimpl.C:
13910 * minibuffer..C: added "using SigC::slot" declaration.
13912 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13914 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13920 * paragraph.C: ditto
13922 * lyxtext.h: NO_PEXTRA
13924 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13926 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13927 * ParameterStruct.h: ditto
13928 * ParagraphParameters.h: ditto
13929 * lyxparagraph.h: ditto
13931 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13933 * buffer.C: add compability for minipage alignment.
13934 (latexParagraphs): remove unwanted pextra check.
13936 * several files: remove CXX_WORKING_NAMESPACES
13938 * buffer.C (pop_tag): tie is in namespace boost
13940 * BufferView.h: noncopyable is in namespace boost
13942 * lyx_main.h: ditto
13945 * lastfiles.h: ditto
13946 * bufferlist.h: ditto
13947 * ShareContainer.h: ditto
13949 * LyXAction.h: ditto
13952 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13954 * Merging changes from BRANCH_MVC back into HEAD.
13956 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13958 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13960 * BufferView_pimpl.C: change from intl.C
13964 * Makefile.am: move combox.*
13970 * intl.C: remove dialog (covered by prefs)
13972 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13974 * lyxfunc.C (Dispatch): removed redundant break statement.
13976 2001-03-14 Juergen Vigna <jug@sad.it>
13978 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13980 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13982 * buffer.C: add hack to fix compability reading of minipages.
13984 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13986 * buffer.C (getLists): Cleanup.
13988 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13990 * lyxfont.C (update): don't honor toggleall on font size.
13992 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13996 * Makefile.am: moved to frontends/xforms/
14000 * BufferView_pimpl.C: changes for moved mathpanel
14002 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14004 * gettext.h: fix gettext_init() in --disable-nls
14006 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14008 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14010 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14013 * lyx.h: strip external form
14015 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14017 * BufferView_pimpl.C: add comment, destroySplash()
14019 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14021 * BufferView_pimpl.C:
14025 * lyxfunc.C: use re-worked insetinclude
14027 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14029 * buffer.C: add using std::stringstream.
14031 * lyx_cb.C: readd using std::ios.
14033 * buffer.C: add using std::map.
14035 * BufferView_pimpl.C: add using std::vector.
14037 * ShareContainer.h: add std:: to swap.
14039 * buffer.h: add some typedefs
14040 * buffer.C (getLists): use them
14041 (getLists): renamed from getTocList.
14042 add a counter for the different float types and use it in the
14044 (getLists): use the same counter for the NEW_INSETS and the "non"
14047 * lyx_cb.h: remove unused items, includes, using etc.
14049 * ShareContainer.h: remove some commented code, add more comments
14050 and "documentation".
14052 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14054 * buffer.C (getTocList): make the list also when NEW_INSETS is
14057 * buffer.h: remove TocType
14059 * buffer.C (getTocList): change to return a map<string,
14060 vector<TocItem> >, implement for dynamic number of list.
14062 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14063 * text2.C (PasteSelection): adjust
14064 * CutAndPaste.C (pasteSelection): adjust
14066 * FloatList.C (FloatList): update from the new_insets branch.
14067 * Floating.[Ch]: ditto
14068 * LaTeXFeatures.C: ditto
14070 * lyxlex_pimpl.C: ditto
14072 * paragraph.C (Last): remove when NEW_INSETS is defined.
14074 * other file: changes because of the above.
14076 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14078 * lyxparagraph.h: rename next to next_, previous to previous_,
14079 make them private for NEW_INSETS. Rename Next() to next(),
14080 Previous() to previous().
14082 * other files: changes because of the above.
14084 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14087 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14090 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14092 * main.C (main): pass lyx_localedir to gettext_init().
14094 * gettext.h: remove locale_init and gettext_init macros
14096 * gettext.C (locale_init): new function
14097 (gettext_init): new function
14099 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14102 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14104 * Moved credits to frontends:
14105 * credits.[Ch]: removed
14106 * credits_form.[Ch]: removed
14107 * lyx_gui_misc.C: remove credits stuff
14110 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14112 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14114 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14115 unneeded destructor.
14117 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14118 a standalone pointer again.
14120 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14122 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14128 * ToolbarDefaults.C:
14137 * BufferView_pimpl.C: use new file dialog in GUII
14140 * lyx_cb.C: remove LayoutsCB to Toolbar
14142 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * ShareContainer.h (get): add std:: qualifier
14146 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * ShareContainer.h: define a proper ShareContainer::value_type
14149 type (and use typename to please compaq cxx)
14151 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14153 * lyxparagraph.h: move serveral local vars to
14154 ParameterStruct/ParagraphParameters., use ShareContainer in
14155 FontTable., make vars in FontTable private and add getter and
14158 * paragraph.C: changes because of the above.
14160 * lyxfont.h: remove copy constructor and copy assignment. (the
14161 default ones is ok), move number inside FontBits. move inlines to
14164 * lyxfont.C: add number to initializaton of statics, move several
14165 inlines here. constify several local vars. some whitespace
14166 cleanup. Dont hide outerscope variables.
14168 * Spacing.h: add two new constructors to match the set methods.
14170 * ShareContainer.h: new file, will perhaps be moved to support
14172 * ParameterStruct.h: new file
14174 * ParagraphParameters.h: new file
14176 * ParagraphParameters.C: new file
14178 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14179 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14181 * BufferView_pimpl.C: ParagraphParameter changes.
14182 * buffer.C: Likewise.
14183 * bufferview_funcs.C: Likewise.
14184 * text.C: Likewise.
14185 * text2.C: Likewise.
14187 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * lyxfind.C (LyXReplace): do not redefine default argument in
14191 (IsStringInText): ditto
14192 (SearchForward): ditto
14193 (SearchBackward): ditto
14195 2001-03-06 Juergen Vigna <jug@sad.it>
14197 * lyxfind.C (IsStringInText): put parentes around expressions.
14199 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14201 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14203 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14205 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14207 * stl_string_fwd.h: add comment
14209 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14212 * tabular.C: remove unused DocBook methods
14218 killed DO_USE_DEFAULT_LANGUAGE
14220 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14222 * lyx_gui.C: do not include language.h.
14224 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14225 arguments in function implementation.
14227 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14229 * BufferView_pimpl.C: add <ctime>
14231 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14233 * BufferView_pimpl.C: add using std::find_if
14235 2001-02-27 José Matos <jamatos@fep.up.pt>
14237 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14240 2001-02-11 José Matos <jamatos@fep.up.pt>
14242 * buffer.C (makeDocBookFile): command styles now have a parameter as
14243 "title" by default.
14245 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14247 * layout_forms.[Ch]: removed
14248 * lyx_cb.[Ch]: out character
14249 * lyx_gui.C: out character
14250 * lyx_gui_misc.C: out character
14251 * bufferview_funcs.C: : out character,
14252 added toggleall as parameter in ToggleAndShow
14254 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14256 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14258 * text2.C (SetCurrentFont): Disable number property at boundary.
14260 2001-02-26 Juergen Vigna <jug@sad.it>
14262 * lyxfunc.C (getStatus): added a string argument override function so
14263 that this is correctly called from LyXFunc::Dispatch if it contains a
14264 do_not_use_argument which is used!
14265 (Dispatch): added check for "custom" export and call appropriate func.
14267 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14269 * lyxrc.C: Add language_command_local, language_use_babel and
14270 language_global_options.
14272 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14274 * buffer.C (makeLaTeXFile): Use language_use_babel and
14275 language_global_options.
14277 2001-02-23 Juergen Vigna <jug@sad.it>
14279 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14280 which works with LyXText and putted it inside BufferView. Here now we
14281 only call for that part the BufferView::Dispatch() function.
14283 * BufferView.C (Dispatch): added.
14285 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14286 functions which needs to use a LyXText over from LyXFunc.
14287 (MenuInsertLyXFile): added
14288 (getInsetByCode): added
14289 (moveCursorUpdate): added
14290 (static TEXT): added
14292 2001-02-22 Juergen Vigna <jug@sad.it>
14294 * BufferView_pimpl.C (update): call a status update to see if LyXText
14297 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14299 * vc-backend.C (revert): implement for CVS
14300 (getLog): implement for CVS
14302 2001-02-20 Juergen Vigna <jug@sad.it>
14304 * text2.C (ClearSelection): added BufferView param for inset_owner call
14306 * lyxfunc.C (TEXT): added this function and use it instead of
14307 directly owner->view()-text of getLyXText().
14309 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14311 * src/layout_forms.C: out preamble
14312 * src/layout_forms.h: out preamble
14313 * src/lyx_cb.C: out preamble
14314 * src/lyx_cb.h: out preamble
14315 * src/lyx_gui.C: out preamble
14316 * src/lyx_gui_misc.C: out preamble
14317 * src/lyxfunc.C: connect with guii preamble
14319 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14321 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14323 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14325 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14326 whether to run bibtex.
14328 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14330 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14332 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14334 * Makefile.am (lyx_SOURCES): removed bibforms.h
14336 * vspace.h: doxygen
14338 * text.C (GetVisibleRow): make several local vars const
14340 * tabular.C: small cleanup.
14342 * lyxserver.C (callback): use compare instead of strncmp
14344 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14345 inlines to after class or to paragraph.C
14347 * lyxfont.h: remove friend operator!=
14349 * converter.h: move friend bool operator< to non friend and after
14352 * combox.h: small cleanup
14354 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14355 to inlines after class def.
14357 * buffer.C (pop_tag): use string operations instead of strcmp
14359 * bmtable.c: doxygen, small cleanup
14361 * LaTeX.h: remove friend operator==
14363 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14375 * BufferView_pimpl.C:
14376 * BufferView.[Ch]: remove cruft
14378 2001-02-14 Juergen Vigna <jug@sad.it>
14380 * lyxfunc.C: removed #if 0 unused code
14382 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14384 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14386 * text2.C (SetSelection): added a BufferView * parameter
14388 2001-02-13 Juergen Vigna <jug@sad.it>
14390 * lyxfunc.C (Dispatch): fixed protected blank problem.
14391 * BufferView2.C (protectedBlank): added LyxText * parameter.
14393 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14394 (AppendColumn): same as above for column_info.
14396 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14397 (moveCursorUpdate): use a LyXText param for support of InsetText.
14399 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14400 (tripleClick): ditto
14402 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14404 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14406 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14408 * text2.C (SetSelection): set correct update status if inset_owner
14409 (ToggleFree): ditto
14411 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14413 * tabular.C: remove some commented code.
14415 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14417 * BufferView_pimpl.C: call hideSplash()
14419 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14422 * bibforms.h: remove
14425 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14426 add LFUN_CHILD_CREATE
14428 * counters.h: fix tiny typo
14433 * lyx.C: move splash to frontends/xforms/
14435 * lyx_gui_misc.C: move Include and Bibform to frontends
14437 * lyxvc.h: clarify comment
14439 * vspace.C: tiny housekeeping
14441 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14443 * text.C (PrepareToPrint): RTL Fix.
14445 * paragraph.C (GetUChar): New method.
14446 (String): Use GetUChar.
14448 * buffer.C (asciiParagraph): Use GetUChar.
14450 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14452 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14454 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14457 * buffer.C: rename to getLogName(), handle
14458 build log / latex log nicely
14460 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14463 * MenuBackend.h: remove support for reference menuitem type.
14465 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14467 * BufferView_pimpl.C: housekeeping
14468 * BufferView_pimpl.h:
14473 * minibuffer.h: move Timeout GUI-I
14475 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14477 * lyxrc.C (read): Update converters data-structures.
14479 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14481 * LaTeX.h (operator!=): add operator != for Aux_Info
14483 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14485 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14487 * LaTeXLog.C: deleted, useful code moved to Buffer
14490 * buffer.C: new function getLatexLogName()
14496 * lyxfunc.C: use frontends for LaTeX and VC logs
14498 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14500 * LaTeX.h: yet another std:: that Allan forgot.
14502 * Variables.C (set): renamed from isset(), because this clashes
14503 with some HP-UX macros (grr).
14505 2001-02-06 Allan Rae <rae@lyx.org>
14507 * LaTeX.h: Another bug fix. Missing std:: this time.
14509 2001-02-04 Allan Rae <rae@lyx.org>
14511 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14512 floats problem. I've left it commented out because it's not quite
14513 correct. It should also test that the current object is a table or
14514 figure inset. But I haven't gotten around to figuring out how to do
14515 that. I *think* it'll be something like: "table" == inset.type()
14517 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14520 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14522 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14523 all the citation/databases/styles in the auxilary file.
14524 (run): Rerun latex if there was a babel language error.
14526 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14528 * text.C (Backspace): Preserve the font when changing newline char
14530 (BreakParagraph): If the cursor is before a space, delete the space.
14532 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14534 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14536 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14537 new argument (code).
14538 (ChangeCitationsIfUnique): New method.
14540 * paragraph.C (GetPositionOfInset): Handle bibkey.
14542 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14544 * BufferView_pimpl.h: change type of Position::par_pos to
14545 LyXParagraph::size_type.
14547 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14549 * BufferView_pimpl.C (savePosition, restorePosition): Write
14550 messages to minibuffer.
14552 2001-01-28 José Matos <jamatos@fep.up.pt>
14554 * buffer.C (makeDocBookFile): adds support for document language.
14555 A silly restriction on the name of LatexCommand types where removed.
14556 Added support for CDATA sections, allows to chars unescaped, used
14557 among others in code, to avoid escape < and >.
14559 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14561 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14562 saved positions instrad of a stack. Furthermore, a position is
14563 stored using paragraph id/paragraph position.
14565 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14566 Remove LFUN_REF_BACK.
14568 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14570 * converter.C (dvipdfm_options): New method.
14572 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14574 * vspace.C (isValidLength): Fix for empty input string.
14576 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14578 * LyXAction.C (init): change description of LFUN_FIGURE to
14581 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14583 * LaTeX.C: add using directive
14585 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14587 * MenuBackend.C (expand): Fix the sorting of the formats.
14589 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14591 * lyx_main.C: tiny error message fix
14593 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14595 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14596 calling fl_initialize(). This fixes the problem with ',' as
14597 decimal separator in text files.
14599 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14601 * trans.C (process): Fix the keymap bug.
14603 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14605 * LaTeX.C (scanAuxFiles): New method. Provides support for
14606 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14607 (scanLogFile) Scan for "run BibTeX" messages.
14609 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14610 OT1 font encoding. Also, load the aecompl package if the ae
14613 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14615 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14617 * texrow.C (increasePos): turn two error messages into debug
14620 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14622 * LaTeX.C (scanAux): Handle the \@input macro.
14623 (runBibTeX): Use scanAux().
14625 * language.C (latex_options_): New field.
14627 * LaTeXFeatures.C (getMacros): Add language macros.
14629 * buffer.C (makeLaTeXFile): Small fix.
14631 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14633 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14635 * text2.C: add a using directive.
14637 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14642 * lyxfunc.C: kill LyXBell.
14644 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14646 * text.C (IsBoundary): Remove the error message
14648 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14650 * lyxrc.C (setDefaults): Correct initialization value for
14653 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14655 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14658 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14659 and GotoNextNote().
14661 * src/LyXAction.C: Added reference-next.
14663 * text.C (InsertChar): Use contains instead of strchr.
14665 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14667 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14669 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14670 alignment commands (when needed).
14672 * text.C (InsertChar): Add ':' to number separator chars.