1 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * Spacing.C: compile fix
5 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
7 * cursor.C (dispatch): restore current_ before returning
9 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
11 * text2.C (cursorUp, cursorDown): fix coords
14 2004-02-12 André Pönitz <poenitz@gmx.net>
19 * text3.C: add LCursor & parameter to most cursor movement functions
20 remove usage of LyXText::cursorRow() and cursorPar()
22 * cursor.[Ch]: add textRow() needed members
28 * BufferView_pimpl.C: adjust
30 2004-02-11 André Pönitz <poenitz@gmx.net>
34 * BufferView_pimpl.C: shift undo/redo handling
36 * cursor.[Ch]: fix mathed crash
39 * lyxtext.h: move selectionAsText to LCursor
47 * rowpainter.C: fix excessive drawing
49 2004-02-06 André Pönitz <poenitz@gmx.net>
52 * BufferView_pimpl.[Ch]:
53 * text3.C: move some text specific LFUN handling
55 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
57 * text3.C (checkInsetHit): adjust coords
58 * text2.C (getColumnNearX): adjust coords
60 * text.C (getRowNearY): add two asserts
62 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
65 * format.C: add using std::distance to compile on gcc 2.95/stlport
67 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
69 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
71 2004-02-04 André Pönitz <poenitz@gmx.net>
73 * BufferView.[Ch] (insertInset):
74 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
79 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
81 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
82 on the default clause of the switch
83 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
84 wasn't catched by LCursor::dispatch
86 2004-02-03 André Pönitz <poenitz@gmx.net>
89 * cursor.[Ch]: some additional asserts
91 * undo.[Ch]: remove LyXText dependency in interface
95 * lyxtext.h (firstPar, lastPar): remove dead functions
100 * paragraph.[Ch]: adjust
102 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
104 * lyxfind.C (find): fix argument order in call to ::find
106 2004-02-02 André Pönitz <poenitz@gmx.net>
108 * cursor.[Ch]: remove direct access to anchor
110 * text.C: remove findText() hack
112 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
114 * iterators.[Ch] (lockPath): remove in favour of...
115 * BufferView.[Ch] (setCursor): this addition
116 * BufferView.C (putSelectionAt): adjust
117 * undo.C (performUndoOrRedo): adjust
118 * lyxfunc.C (dispatch): adjust
120 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
122 * iterators.C (lockPath): add a missing slice
123 * undo.C (performUndoOrRedo): remove redundant positioning code
125 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
127 * vc-backend.C (scanMaster): ";" -> ';'
129 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
131 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
134 * lyxtextclass.C (compare_name): rename to...
135 (LayoutNamesEqual): ...this
137 * lyxlex_pimpl.C (compare_tags): inherit from
138 std::binary_function, put back into anon namespace
140 * lyxfind.C (MatchString): inherig from std::binary_function
141 (findChange): use empty() istead of !size()
143 * format.C (FormatNamesEqual): new functor
150 * converter.C (compare_Converter): rename to...
151 (ConverterEqual): ...this, and fixup a bit.
152 (getConverter): use it, and make function const
153 (getNumber): use it, and make function const
157 * bufferlist.C: add using boost::bind
159 * MenuBackend.C (MenuNamesEqual): new functor
160 (hasMenu): use it, and make function const
161 (hasSubmenu): use nested bind to get rid of compare_memfun.
163 2004-01-30 André Pönitz <poenitz@gmx.net>
165 * BufferView_pimpl.C:
176 * text3.C: move some of the edit(x,y) handling to the insets
177 some coordinate changes.
179 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
181 * text.C: add using statements for std::advance and std::distance
183 * paragraph.C: add using statement for std::distance
185 * lyxfind.C: add using statement for std::advance
187 * cursor.C (region): remove std:: from swap
188 (openable): use nucleus in stead of operator->
190 * BufferView.C: add using statements for std::distance and std::swap
192 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
194 * iterators.C: Remove the pimple, move the needed structures to
195 the header file. Create accessor for the positions stack.
196 (asPosIterator): remove function
198 * PosIterator.C (PosIterator): move constructors to top of file
199 (PosIterator): reimplement the constructor taking a ParIterator in
201 (setFrom): new function
202 (operator!=): inline it
204 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
206 * lyxfind.C (replaceAll): use std::advance
208 * iterators.h: inherit from std::iterator.
210 * PosIterator.C (advance, distance): remove
211 * PosIterator.h: interit from std::iterator.
213 2004-01-26 André Pönitz <poenitz@gmx.net>
216 * BufferView_pimpl.[Ch]:
220 * bufferview_funcs.C:
231 * output_plaintext.C:
233 * paragraph_funcs.[Ch]:
234 * paragraph_pimpl.[Ch]:
240 * text3.C: more IU: dumps most of the rest of the mathcursor
241 implementation into cursor.[Ch]; "globalize" a bit of it.
243 2004-01-25 Angus Leeming <leeming@lyx.org>
245 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
247 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
249 * LaTeXFeatures.h: add nice_ and nice() const
250 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
252 2004-01-20 André Pönitz <poenitz@gmx.net>
255 * BufferView_pimpl.C:
257 * bufferview_funcs.C:
270 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
271 LCursor and mathcursor parts to LCursor and InsetBase.
273 2004-01-15 André Pönitz <poenitz@gmx.net>
275 * cursor_slice.[Ch]: add a few covienience functions
277 * funcrequest.[Ch]: remove BufferView * member
279 * BufferView_pimpl.C:
286 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
288 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
290 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
291 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
293 2004-01-13 André Pönitz <poenitz@gmx.net>
296 * lyxtext.h: hide cursor and selection anchor behind accessor function
299 * BufferView_pimpl.[Ch]:
301 * bufferview_funcs.C:
311 * cursor_slice.[Ch]: some integer type changes for inset unification
313 * lyxcursor.[hC]: remove, it's CursorSlice now.
316 * BufferView_pimpl.[Ch]:
317 * bufferview_funcs.C:
323 * textcursor.[Ch]: adjust
325 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
327 * text2.C (undoSpan): add and use
328 * text.C (breakParagraph): use undoSpan (fix bug 578)
331 2004-01-08 Angus Leeming <leeming@lyx.org>
333 * BufferView_pimpl.C (MenuInsertLyXFile):
334 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
335 * lyxfunc.C (menuNew, open, doImport):
336 FileFilterList change to the FileDialog open and save functions.
338 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
340 * ShareContainer.h: make isEqual and isUnique adaptable
342 * CutAndPaste.C: make resetOwnerAndChanges adaptable
344 2004-01-07 Angus Leeming <leeming@lyx.org>
347 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
349 * BufferView_pimpl.C (dispatch): act on these LFUNs.
351 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
352 functions replacing find, replace and replaceAll.
354 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
355 LFUN_WORDFIND(FORWARD|BACKWARD).
357 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
359 * text.C (breakParagraph): remove an outdated #warning
361 2004-01-07 André Pönitz <poenitz@gmx.net>
363 * lyxfind.C: somewhat clearer logic
365 * text.C: prevent crash in cursorX on unitialized row cache
367 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
369 * lyxcursor.[Ch] (operator>): add
370 * textcursor.C (selStart, selEnd): use std::min and std::max
372 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * Chktex.C: include boost/format.hpp
376 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
378 * InsetList.C: replace functor MathcIt with adaptable functor
380 (insetIterator): modify accordingly
382 * BranchList.h: move the BranchNamesEqual functor here from...
383 * BranchList.C: ... to here
385 * BranchList.C: new BranchListEqual fuctor, use it. Remove
387 (add): replace a finding loop with std::find_if.
389 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
391 * output_docbook.C: moving LatexParam functionality into
394 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
396 * buffer.C: increment format to 229.
398 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
401 * lyx_sty.[Ch]: remove minipageindent_def
407 * text3.C: remove LFUN_INSET_MINIPAGE
409 2003-12-28 Angus Leeming <leeming@lyx.org>
411 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
413 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
415 * text2.C (setParagraph): fix off-by-one crash
417 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
419 * output_docbook.C: header stuff for AGU
421 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
423 * text2.C (redoCursor): remove
426 * BufferView_pimpl.C: remove calls to redoCursor and
427 setCursor(cursor.par(), cursor.pos()) all around
429 2003-12-15 Angus Leeming <leeming@lyx.org>
431 * buffer.C: up the format to 228.
433 2003-12-15 André Pönitz <poenitz@gmx.net>
435 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
440 * BufferView_pimpl.C:
449 2003-12-15 Angus Leeming <leeming@lyx.org>
451 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
452 than getFromGUIName to manipulate the color.
454 2003-12-14 Angus Leeming <leeming@lyx.org>
456 * BranchList.[Ch]: minimize the API.
457 (Branch::getBranch, getColor): now return a 'const &'.
458 (Branch::setSelected) now returns a bool set to true if the
459 selection status changes.
460 (BranchList::clear, size, getColor, setColor, setSelected,
461 allBranches, allSelected, separator): removed.
462 (BranchList::find): new functions, returning the Branch with
464 (BranchList::add, remove): return a bool indicating that
465 the operation was successful.
467 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
468 new InsetBranch::isBranchSlected member function.
470 * LColor.[Ch]: mimimize the API.
471 (fill): renamed as addColor and made private.
472 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
473 versions of these functions taking a string arg have been removed.
475 * bufferparams.C (readToken):
476 * lyxfunc.C (dispatch):
477 * lyxrc.C (read): changes due to the altered BranchList and
480 * factory.C (createInset, readInset): changes due to altered
483 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
486 * lyxfunc.C: remove insetminipage. "minipage-insert"
487 now produces a frameless minipage box inset.
489 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
491 * textcursor.[Ch] (selStart,selEnd): add new methods
492 remove selection::start, end, use LyXCursor::operator<
493 * lyxcursor.[Ch] (operator<): add
494 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
495 * BufferView.[Ch] (unsetXSel): add
496 * text2.C (clearSelection): use unsetXSel,adjust
499 * rowpainter.C: adjust
500 * bufferview_funcs.C (put_selection_at): adjust
502 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
504 * BufferView_pimpl.C: small coord. correction
506 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
508 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
509 dragging over the splash screen.
511 2003-12-11 Angus Leeming <leeming@lyx.org>
513 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
514 as it is now handled in LyXText::dispatch.
516 * text3.C (doInsertInset): remove a level of nesting.
518 2003-12-11 Angus Leeming <leeming@lyx.org>
520 * factory.C (createInset): changes due to the changed interface to
521 InsetCommandMailer::string2params.
523 2003-12-10 Angus Leeming <leeming@lyx.org>
525 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
526 'dialog-show-new-inset <inset name>'
528 2003-12-10 Angus Leeming <leeming@lyx.org>
530 * buffer.C: up the format to 227.
532 * factory.C: the box inset is now identified simply by 'Box'.
534 2003-12-10 Angus Leeming <leeming@lyx.org>
536 * buffer.C: up the format to 226.
538 * factory.C: the note inset is now identified simply by 'Note'.
540 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
542 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
543 when a pit is enough. Standarize a couple of loops.
545 2003-12-05 Angus Leeming <leeming@lyx.org>
547 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
548 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
549 data to the re-worked "log" dialog.
551 2003-12-03 André Pönitz <poenitz@gmx.net>
559 * text2.C: use Inset::getText instead of Inset::getParagraph
561 2003-12-03 André Pönitz <poenitz@gmx.net>
565 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
566 InsetText::read() as LyXText::read()
568 2003-12-02 Angus Leeming <leeming@lyx.org>
570 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
571 type. Add a comment in the implementation that the function uses
572 the stream's bad() function rather than fail() as the std::streams
575 2003-12-02 André Pönitz <poenitz@gmx.net>
577 * lyxlex.[Ch]: make interface more similar to std::stream
579 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
581 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
583 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
585 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
587 * vspace.[Ch]: remove VSpace::NONE
589 2003-12-01 André Pönitz <poenitz@gmx.net>
592 * lyxtext.h: move ParagraphList member to LyXText
593 rename LyXText::ownerParagraphs to LyXText::paragraph
596 * bufferview_funcs.C:
606 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
608 * undo.C: fix cursor positioning
610 2003-12-01 John Levon <levon@movementarian.org>
612 * BufferView_pimpl.C: fix a crash on exit with
615 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
617 * BranchList.C: fix setSelected() method.
619 2003-11-28 André Pönitz <poenitz@gmx.net>
621 * ParagraphParameters.[Ch]:
622 * ParameterStruct.h: remove space above/below from Paragraph to
625 * BufferView_pimpl.C:
637 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
639 * factory.C: Syntax change for CharStyles
641 2003-11-28 André Pönitz <poenitz@gmx.net>
646 * buffer.[Ch]: move LyXText member
648 2003-11-28 André Pönitz <poenitz@gmx.net>
650 * BufferView.[Ch]: make LyXText * text a private member
652 * BufferView_pimpl.C:
663 * output_plaintext.C: cleanup
665 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
668 * lyxtextclass.[Ch]: parametrize SGML document header
670 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
673 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
676 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
678 * text2.C (setFont): rework using PosIterator (no more recursive)
679 (setCharFont): no more needed
680 (setLayout): no more selection cursors fiddling (done by redoCursor)
681 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
682 destroy remaining ones)
684 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
686 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
688 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
691 * text3.C: adjust + re-allow multi par depth changes
692 * textcursor.C: simplify a bit
694 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
700 * src/output_docbook.C:
701 * src/output_latex.C:
706 * src/text2.C: Introducing a number of tags parametrizing various
707 XML formats that we may want to support
709 2003-11-25 André Pönitz <poenitz@gmx.net>
711 * InsetList.[Ch] (begein, end): inline as suggested by profiler
713 * lyxtext.h (leftMargin/rightMargin): simplify interface
720 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
722 * lyxfunc.C (dispatch): propogate the bibtex databases from the
723 master file to any child files. Fixes bug 546.
725 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
727 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
729 2003-11-24 André Pönitz <poenitz@gmx.net>
731 * rowpainter.C: simplification
733 * text2.C (updateCounters): remove call to redoParagraph on
734 changed labels as this is far too expensive.
736 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
738 * converter.C (convert): fix a crash: this function gets
739 called with buffer == 0 from importer code.
741 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
743 * text3.C (cursorPrevious): make sure that we do not compare
744 iterators form different containers.
747 * rowpainter.C (paintSelection): make sure that we do not compare
748 iterators from different containers.
750 * text3.C (dispatch): [PRIOR] make sure that we do not compare
751 iterators from different ParagraphList containers.
754 * text2.C (LyXText): change order of initialization slightly
755 (operator=): new function. copy all variables except cache_par_
756 (moveUp): make sure that we do not compare iterators from
757 different ParagraphList constainers.
760 * text.C (firstPar): new function
761 (lastPar): new function
762 (endPar): new function
764 * lyxtext.h: move things around and group public functions, public
765 variables, private functions, private variables
767 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
769 * factory.C: change call to InsetERT constructor to avoid
770 additional invocation of method status
771 * text2.C (toggleInset): remove redundant update() call
772 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
773 instead of a Bufferview pointer
775 2003-11-21 André Pönitz <poenitz@gmx.net>
777 * rowpainter.C: simplification
779 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
781 * text3.C (dispatch): make possible to extend a word/row selection
784 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
786 * lyxtext.h: x0_,y0_ -> xo_,yo_
787 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
788 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
789 * rowpainter.C (paintRows): paint full paragraphs
791 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
793 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
796 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
798 * lyxtext.h: add x0_, y0_
799 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
800 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
802 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
804 * text2.C (setCursorIntern): move the x_target update here *
805 * text3.C: change some bv() to true/false in calls to
806 cursorUp/Down/Right/Left
807 * cursor.C: use helper function.
809 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
811 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
812 * paragraph_funcs.[Ch]: correct comment
813 * rowpainter.C: do not paint selections away from bv->cursor()
814 Fix a long standing selection painting bug.
815 * text3.C: generalize mouse-selection code to LyXTexts other that
817 * textcursor.C: do not use y coords if we can use par offsets
819 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
821 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
822 cursor position after e.g. inset insert)
824 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
826 * lyxfind.C (replace): adjust to locking removal + some
829 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
831 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
834 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
837 * output_docbook.C: XML sanitation: new layout
838 parameters InnerTag and CommandDepth
840 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
842 * BufferView_pimpl.C:
844 * text3.C: Fix the insertion and modification of button-style
847 2003-11-13 André Pönitz <poenitz@gmx.net>
849 * InsetList.[Ch]: remove deleteLyXText
851 * paragraph.[Ch]: cache beginOfBody position
856 * text3.C: remove superfluous update() calls
860 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
862 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
863 * BufferView.C (fitLockedInsetCursor): remove
864 * cursor.[Ch] (getDim): add
865 * text.C (getRowNearY): add faster version
866 * text3.C: remove some update calls
868 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
880 * text3.C: The Character Style /XML short element patch.
882 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
885 * factory.C: Small step to solving 'unable to insert some insets'
888 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
890 * cursor.[Ch] (updatePos): new function for updating the y
891 position of the tip inset
892 * bufferview_funcs.C (put_selection_at):
893 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
895 2003-11-11 André Pönitz <poenitz@gmx.net>
897 * text.C: remove big comment on invalid Paragraph pointers as it is
900 2003-11-11 André Pönitz <poenitz@gmx.net>
902 * text_funcs.[Ch]: merge with ...
910 * Makefile.am: remove text_funcs.[Ch]
912 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
914 * cursor.C (getPos): return absolute cached y coord
916 * BufferView_pimpl.C (fitCursor): new simplistic code
917 (workAreaDispatch): add a fitCursor call
919 2003-11-10 André Pönitz <poenitz@gmx.net>
922 * BufferView_pimpl.[Ch]: merge update() and updateInset()
924 2003-11-10 André Pönitz <poenitz@gmx.net>
926 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
927 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
928 indicate that the cursor needs to leave an inset
930 * lyxtext.h: remove inset locking
932 * cursor.[Ch]: re-implement functionality provided by inset locking
935 * BufferView_pimpl.[Ch]:
937 * bufferview_funcs.[Ch]:
949 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
951 * PosIterator.[Ch]: replace the stack with a vector, add inset
953 * iterators.[C]: adjust
955 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
957 * lyxfind.C (replaceAll): mark the buffer dirty if something was
959 * paragraph_funcs.C (readParToken): put the correct id in the
960 error item, not the id of the top paragraph
962 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
964 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
965 * bufferview_funcs.C (put_selection_at): use the above
967 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
969 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
971 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
974 * output_plaintext.h:
976 * output_docbook.h: add #include statements
978 2003-11-05 José Matos <jamatos@lyx.org>
980 * output_docbook.[Ch]:
982 * output_linuxdoc.[Ch]:
983 * output_plaintext.[Ch]: New files for output formats.
984 * output.[Ch]: New file for helper functions.
987 * paragraph_funcs.[Ch]: output functions moved to new files.
989 * outputparams.h: rename of latexrunparams.h
997 * paragraph_funcs.[Ch]:
998 * paragraph_pimpl.[Ch]:
999 * tabular.[Ch]: rename ascii to plaintext
1000 and LatexRunParams to OutputParams.
1002 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1004 * iterators.[Ch] (text): require bv argument
1005 * undo.C (recordUndo):
1006 * lyxfunc.C (dispatch):
1007 * bufferview_funcs.C (put_selection_at): adjust
1009 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1011 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1013 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1015 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1018 2003-11-04 André Pönitz <poenitz@gmx.net>
1020 * cursor.[Ch]: restructure
1023 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1025 * iterators.[Ch] (asCursor): remove
1027 * lfuns.h: remove LFUN_INSET_EDIT
1033 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1035 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1037 * lyxfind.[Ch]: complete overhaul
1038 * BufferView_pimpl.C:
1040 * paragraph.[Ch] (insert): add
1042 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1046 * text.C: remove dead spellcheck code
1048 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1050 * dispatchresult.h: add a val setter
1052 * cursor.C (dispatch): use a tempvar for data_[i]
1054 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1056 * PosIterator.[Ch]: compile fix
1058 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1060 * text.C (cursorPar): deactivate the cursor cache
1062 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1064 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1066 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1068 * text3.C (dispatch): adjust for new DisptchResult semantics.
1070 * lyxfunc.C (dispatch): handle update when return from
1071 Cursor::dispatch, adjust for new DispatchResult semantics.
1073 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1074 DispatchResult(true) mean to not update. Add class functions for
1075 setting dispatched and update, as well as reading.
1077 * cursor.C (dispatch): don't handle update here
1079 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1081 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1082 * trans_mgr.C: adjust
1084 * paragraph_funcs.C (readParToken): exception safety
1086 * lyxvc.h: store the vcs pointer in a scoped_ptr
1089 * lyxsocket.C (serverCallback): exception safety
1091 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1093 * ispell.C (clone): make it return a auto_ptr
1095 * factory.C (createInset): exception safety
1096 (readInset): exception safety
1098 * bufferlist.C (newBuffer): exception safety
1100 * Thesaurus.C (Thesaurus): use initialization for aik_
1102 * MenuBackend.C (expandToc): exception safety.
1104 2003-11-03 André Pönitz <poenitz@gmx.net>
1108 * bufferview_funcs.C: remove getInsetFromId()
1111 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1117 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1119 * PosIterator.C (distance, advance): new
1120 * bufferview_funcs.[Ch] (put_selection_at): new
1121 * iterators.[Ch] (lockPath): new
1123 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1125 * iterators.[Ch] (asPosIterator): added
1126 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1127 * PosIterator.[Ch]: added
1129 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1133 * cursor.C (dispatch):
1134 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1136 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1137 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1138 contructor, add a class function dispatched. Remove operator>=
1140 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1142 * debug.C: only use the default constructor for debugstream
1145 * main.C (main): include debug.h and setup the lyxerr streambuf
1148 2003-10-31 José Matos <jamatos@lyx.org>
1150 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1152 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1153 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1154 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1155 * paragraph_pimpl.C (simpleTeXSpecialC):
1156 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1157 add LatexRunParams argument.
1159 * exporter.C (Export): change call accordingly.
1161 * latexrunparams.h: add new member to take care of the other backends.
1162 2003-10-30 José Matos <jamatos@lyx.org>
1164 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1165 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1166 factorise code for paragraph output.
1168 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1171 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1173 * text3.C (dispatch):
1174 * lyxfunc.C (dispatch):
1175 * cursor.C (dispatch):
1176 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1178 * dispatchresult.h: make the dispatch_result_t ctor explicit
1180 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1183 * buffer.C: small refactoring of docbook stuff
1185 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1190 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1193 operator dispatch_result_t, and operators for == != and >=
1195 * cursor.C (dispatch): adjust for operator dispatch_result_t
1196 removal. comment out call to update
1198 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1200 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1211 * dispatchresult.h: new file, DispatchResult broken out of
1214 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1216 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1218 * text.C (rowBreakPoint): put a hack inside #if 0
1220 2003-10-28 André Pönitz <poenitz@gmx.net>
1224 * paragraph_funcs.C:
1227 * text2.C: general cleanup (lots of small stuff)
1229 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1231 * text2.C (cursorEnd): simple fix to the "end key goes to one
1232 before the end on last row" bug
1234 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1236 * text.C (backspace): fix the "zombie characters"
1238 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1240 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1242 2003-10-27 André Pönitz <poenitz@gmx.net>
1244 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1246 * factory.C: handle new InsetPagebreak, InsetLine
1248 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1249 and move handling into new InsetPagebreak, InsetLine
1251 * BufferView_pimpl.C:
1253 * ParagraphParameters.C:
1254 * ParameterStruct.h:
1259 * paragraph_funcs.C:
1260 * paragraph_pimpl.C:
1266 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1269 * lyxrow_funcs.[Ch]:
1275 * text3.C: remove lastPos uses in favour of Row::endpos
1277 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1279 * undo.C (performUndoOrRedo): fix two crashes by setting a
1280 cursor by hand and reordering some calls. Use bv->lockInset instead
1281 of inset->edit because the latter loses cursor information
1283 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1285 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1287 (rowBreakPoint): fix width. change point to point + 1.
1288 Add a missing check.
1290 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1293 * lyxfunc.C: fix (at least partly) the problems
1294 with the Nav menu and headers inside branch insets
1297 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1299 * paragraph.C (getChar): add strong asserts
1301 * lyxrow_funcs.C (lastPos): remove hideous hack
1303 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1304 (fill): adjust to that (avoid an infinite loop)
1306 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1308 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1310 2003-10-23 André Pönitz <poenitz@gmx.net>
1312 * RowList_fwd.h: change list<> to vector<> to gain speed
1313 after suggestion from Alfredo
1315 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1317 * lyxtext.h: move the bidi stuff from here...
1320 * Bidi.[Ch]: ... to here
1322 2003-10-23 André Pönitz <poenitz@gmx.net>
1325 * text.C (isLastRow, isFirstRow): new functions
1327 * paragraph.h: new width cache member
1329 * rowpainter.C: replace RowList::iterator with Row & where possible
1331 * lyxfunc.C: replace several view()->text with a single call
1333 * toc.C: fix 'unused' warning
1335 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1337 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1338 when woring with stream::pos_type
1339 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1341 2003-10-22 André Pönitz <poenitz@gmx.net>
1344 * text.C: use Row & instead of RowList::iterator
1346 * lyxrow.h: rename end() to endpos()
1352 2003-10-22 Angus Leeming <leeming@lyx.org>
1354 * buffer.[Ch] (fully_loaded): new member function, returning true
1355 only when the file has been loaded fully.
1356 Used to prevent the premature generation of previews and by the
1357 citation inset to prevent computation of the natbib-style label.
1359 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1360 templates are all set up.
1362 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1364 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1366 * text.C: fixed an "oops" in the "is a bit silly"
1369 2003-10-21 André Pönitz <poenitz@gmx.net>
1371 * FuncStatus.[Ch]: small stuff, whitespace
1373 * lyxfont.[Ch]: operator<<() for debug reasons
1377 * lyxtext.h: whitespace, spelling
1379 * paragraph.C: naming of variables
1382 * text2.C: small stuff
1385 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1387 * text.C: (1) finish off the inset display() work;
1388 (2) fix the "is a bit silly" bug (accessing char
1391 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1393 * text.C: re-introduce display() for insets, fixing the
1394 various bugs (stretch of line above, math inset
1397 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1399 * text.C (rightMargin): remove spurious semicolon
1401 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1404 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1406 * text3.C: fix one crash due to wrong cursor def
1408 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * vc-backend.C (scanMaster): make the regex static
1412 * LaTeX.C (scanAuxFile): make the regexs static
1414 * text3.C (doInsertInset, dispatch, dispatch):
1415 * text2.C (cursorUp, cursorDown):
1416 * text.C (selectNextWordToSpellcheck):
1417 * BufferView_pimpl.C (dispatch):
1418 * lyxfunc.C (dispatch): localDispatch -> dispatch
1420 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1422 * lyxsocket.C: include <cerrno>
1424 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1426 * lyxfunc.C (dispatch): remove textcache stuff
1428 * bufferlist.C (release): remove textcache stuff
1431 * TextCache.C: delete file
1432 * TextCache.h: delete file
1434 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1436 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1437 delete of the bv_->text.
1438 (resizeCurrentBuffer): remove texcache stuff
1439 (workAreaResize): ditto
1441 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1443 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1446 2003-10-16 André Pönitz <poenitz@gmx.net>
1453 * text3.C: speed up by storing y positions per paragraph plus per-row
1454 offset instead of having a 'full' y position in the row.
1456 2003-10-15 André Pönitz <poenitz@gmx.net>
1460 * undo.[Ch]: make undo aware of inner insets
1462 2003-10-14 Angus Leeming <leeming@lyx.org>
1464 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1465 static member functions LyX::ref() and LyX::cref.
1466 (lastfiles): new accessor functions for the new lastfiles_ member var.
1467 (addLyXView, views_): add a new LyXView to the list of views_.
1468 (updateInset): loop over all LyXViews to call their own updateInset
1469 member function, returning a pointer to the Buffer owning the inset.
1471 * BufferView_pimpl.C (loadLyXFile):
1472 * MenuBackend.C (expandLastfiles):
1473 * bufferlist.C (MenuWrite, QuitLyX):
1474 lastfiles is no longer a global variable.
1475 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1477 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1478 static function. Access through LyX::cref().emergencyCleanup().
1480 2003-10-14 André Pönitz <poenitz@gmx.net>
1482 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1484 * undo.[Ch]: restoring part of 'undo in insets'
1487 * undo_funcs.[Ch]: merge with undo.[Ch]
1489 * tabular.C: small cleansing stuff
1491 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1493 * paragraph_funcs.C (readParToken): report unknown insets as error
1494 boxes. Use the outer paragraph as location (also for unknown
1497 * factory.C (readInset): do not abort on reading an unknown inset.
1498 Eat it and return 0.
1500 2003-10-13 Angus Leeming <leeming@lyx.org>
1502 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1504 * lyxrc.C: displayTranslator is now a function,
1505 declared in GraphicsTypes.h.
1507 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1509 * format.C: new placeholder $$a to pass the socket address.
1511 * bufferlist.[Ch]: new function getBufferFromTmp.
1513 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1514 files in the temporary dir.
1516 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1518 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1520 * Makefile.am: add lyxsocket.[Ch].
1522 * lyx_main.C (error_handler): handle SIGPIPE.
1524 2003-10-13 André Pönitz <poenitz@gmx.net>
1526 * BufferView_pimpl.C:
1531 * undo_funcs.[Ch]: use paroffset_type instead of
1532 ParagraphList::iterators to prevent multiple conversion
1533 (and get a more robust interface)
1535 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1537 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1539 * text3.C (dispatch): ditto
1541 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1544 move the onlyfile, use onlyfile instead of foundfile in a couple
1547 * DepTable.C (update): flush the error stream a bit more
1549 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * lyxserver.C (callback): adjust
1553 * lyxfunc.C (getStatus): add a missing brace in commented code
1554 (ensureBufferClean): reindent
1555 (dispatch): delete version taking a string
1557 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * LaTeX.C (deplog): move found file handlig from here...
1560 (handleFoundFile): .. to new function here.
1561 (deplog): make sure to discover several files mentioned on the
1564 2003-10-10 André Pönitz <poenitz@gmx.net>
1571 * text3.C: fix some of the tabular crashes
1573 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1575 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1577 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1579 2003-10-09 André Pönitz <poenitz@gmx.net>
1581 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1584 * BufferView_pimpl.C:
1585 * bufferview_funcs.C:
1596 * undo_funcs.C: adjust
1598 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * text2.C (incrementItemDepth): new function, use a backtracking
1601 algorithm to discover the correct item depth.
1602 (resetEnumCounterIfNeeded): new function, use a backtracking
1603 algorithm to discover if counter reset is needed.
1604 (setCounter): use them. Simplify a bit. Add different labels for
1605 different item depths for itemize.
1607 * paragraph.C (Paragraph): remove initialization of enumdepth
1610 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1611 enumerate and itemize. Change the type of itemdepth to signed char.
1613 2003-10-08 André Pönitz <poenitz@gmx.net>
1615 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1620 * tabular.[Ch]: fix crash after 'row-insert'
1622 2003-10-08 Angus Leeming <leeming@lyx.org>
1624 Fix doxygen warnings.
1626 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1627 Remove CutAndPaste:: prefix from header file declaration.
1629 * LColor.h (fill): remove LColor:: prefix from declaration.
1631 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1632 use lyx::depth_type rather than Paragraph::depth_type so that
1633 header file and .C file match.
1635 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1637 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1638 * aspell.C: \file aspell_local.C -> \file aspell.C
1639 * gettext.C: \file gettext.C -> \file src/gettext.C
1640 * gettext.h: \file gettext.h -> \file src/gettext.h
1641 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1642 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1643 * text.C: \file text.C -> \file src/text.C
1645 * toc.C: move comment so that doxygen is not confused.
1647 2003-10-07 Angus Leeming <leeming@lyx.org>
1649 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1651 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1654 * aspell_local.h: add forgotten std::string's.
1656 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1663 * text3.C: The Box patch. Fancybox support, minipage, parbox
1665 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1671 * ParagraphParameters.h:
1681 * lyxtextclasslist.h:
1684 * paragraph_pimpl.C:
1685 * textcursor.h: add <string> and other small fixes to make Lars'
1686 std::string patch compile with STLport.
1688 2003-10-06 Angus Leeming <leeming@lyx.org>
1690 * LColor.h: Add missing #include <string>.
1692 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1694 * All most all file in all subdirs: Make <string> be the prefered
1695 way of getting to std::string, add using declarations.
1697 2003-10-06 André Pönitz <poenitz@gmx.net>
1699 * metricsinfo.C: initialize LyXFont before changing attribute.
1700 (fixes the 'math in \emph is upright' bug)
1702 2003-10-06 André Pönitz <poenitz@gmx.net>
1704 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1706 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1709 * paragraph_pimpl.C: Small fixes to build using STLport
1711 2003-10-02 André Pönitz <poenitz@gmx.net>
1714 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1716 2003-10-01 André Pönitz <poenitz@gmx.net>
1718 * factory.C: assert early
1720 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * lyx_main.C: remove the global debug object
1724 * debug.h: adjust for new debugstream
1726 * debug.C: adjust for new debugstream and keep the global debug
1729 2003-09-22 Angus Leeming <leeming@lyx.org>
1731 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1732 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1733 an incomplete class LyXFont.
1735 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1737 * factory.C: bug fix in branches
1739 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * lyxfunc.C (processKeySym): adjust
1743 (dispatch): change arg name from ev to func, adjust
1744 (sendDispatchMessage): ditto
1746 * lyx_main.C (defaultKeyBindings): adjust keybindings
1747 (deadKeyBindings): ditto
1749 * kbsequence.C (addkey): return a FuncRequest
1751 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1753 * kbmap.C (bind): take a FuncRequest as arg, adjust
1756 (defkey): change to take a FuncRequest as arg, adjust
1757 (findbinding): take a FuncRequest as arg, adjust.
1759 * funcrequest.h (operator=): added
1761 * funcrequest.C (FuncRequest): default kb_action changed from
1762 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1764 * buffer.C (dispatch): simplify
1765 (dispatch): adjust to take a FuncRequest as arg, adjust
1767 * boost.C (assertion_failed): change assertion message slightly
1769 * ToolbarBackend.C (read): simplify
1771 * MenuBackend.C (binding): adjust call to findbinding, add a
1772 message if no binding is found.
1774 (expandToc): correct by adding a empty FuncRequest
1776 * LyXAction.C: include <boost/assert.hpp>
1777 (isPseudoAction): delete function
1778 (LookupFunc): change name to...
1779 (lookupFunc): this. change return type to FuncRequest.
1780 (getActionName): take kb_action as arg, simplify
1781 (funcHasFlag): add an assert, simplify.
1783 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * toc.C (action): return a FuncRequest, simplify
1787 * lyxfunc.C (processKeySym): adjust
1788 (getStatus): delete version that takes an int.
1790 (dispatch): delete version that takes action as int
1792 (sendDispatchMessage): simplify and adjust
1794 * funcrequest.C (getArg): take unsigned int as arg
1796 * ToolbarBackend.C (read): adjust
1797 (add): delete version that takes func as a string.
1798 (getIton): take a FuncRequest as arg
1800 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1803 * MenuBackend.C (MenuItem): add a new construct that only takes a
1804 Kind, simplify the constructor use for submenus.
1806 (expandLastfiles): adjust
1807 (expandDocuments): adjust
1808 (expandFormats): adjust
1809 (expandFloatListInsert): adjust
1810 (expandFloatInsert): adjust
1811 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1813 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1814 Remove class variables lyx_pseudo_map and lyx_arg_map
1816 * LyXAction.C (searchActionArg): delete function
1817 (getPseudoAction): delete function
1818 (retrieveActionArg): delete function
1819 (LookupFunc): make it return kb_action, simplify.
1820 (getActionName): simplify
1822 * factory.C (createInset): fix new bug
1824 2003-09-19 Angus Leeming <leeming@lyx.org>
1826 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1827 masterFilename_ parameter in the include inset.
1829 * factory.C (createInset): changes due to the changes to InsetInclude.
1831 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1833 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1835 2003-09-18 Angus Leeming <leeming@lyx.org>
1838 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1839 Inset::fillWithBibKeys.
1840 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1842 2003-09-18 Angus Leeming <leeming@lyx.org>
1844 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1846 (ctor): pass and store a 'Buffer const &'
1847 (buffer): new member function.
1849 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1850 '*this' to the LaTeXFeatures ctor.
1852 2003-09-18 Angus Leeming <leeming@lyx.org>
1858 * text.C: rename EnumLColor as LColor_color.
1860 2003-09-18 Angus Leeming <leeming@lyx.org>
1862 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1863 remove #include "insets/insetbase.h" from cursor.h.
1865 2003-09-18 Angus Leeming <leeming@lyx.org>
1867 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1868 InsetOld_code to remove #include "inset.h".
1870 * iterators.C: add #include "insets/inset.h"
1872 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1874 * BufferView.C: remove more locking stuff that apparently doesn't
1875 do anything sensible.
1877 2003-09-16 André Pönitz <poenitz@gmx.net>
1880 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1883 2003-09-16 Angus Leeming <leeming@lyx.org>
1885 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1887 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1890 * paragraph.h: remove #include "lyxfont.h". Forward declare
1893 2003-09-16 Angus Leeming <leeming@lyx.org>
1895 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1896 of support/textutils.h.
1897 (isWord): move the contents of support/textutils.h's IsWordChar here.
1903 * text2.C: add #include "paragraph.h".
1906 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1908 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * LaTeX.C: use namespace alias for lyx::support::os
1916 2003-09-16 Angus Leeming <leeming@lyx.org>
1919 * bufferview_funcs.C:
1922 * paragraph_pimpl.C:
1924 * text.C: add #include "LColor.h".
1926 2003-09-16 Angus Leeming <leeming@lyx.org>
1928 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1929 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1931 Store the FontBits::color variable as an int rather than as an
1932 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1935 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1936 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1937 string calls together.
1939 * lyxrc.C: add #include "LColor.h".
1941 2003-09-15 Angus Leeming <leeming@lyx.org>
1943 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1946 2003-09-15 Angus Leeming <leeming@lyx.org>
1948 * LColor.h: add an EnumLColor wrapper for LColor::color.
1950 * lyxfont.[Ch] (color, setColor, realColor):
1951 * lyxtext.h, text.C (backgroundColor):
1952 pass EnumLColor args to/from the functions, rather than LColor::color
1956 * lyxtext.h: forward declare EnumLColor.
1958 * lyx_main.C: add #include "LColor.h".
1960 2003-09-15 Angus Leeming <leeming@lyx.org>
1962 * .cvsignore: add lyx-gtk.
1964 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * ParagraphParameters.C
1973 * bufferview_funcs.C
1983 * vc-backend.C: remove usage of STRCONV
1985 2003-09-15 Angus Leeming <leeming@lyx.org>
1987 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1988 explicitly define the color passed to the painter.
1990 2003-09-15 Angus Leeming <leeming@lyx.org>
1992 * bufferparams.C (BufferParams): reorder member initializers to avoid
1995 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1997 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1998 * text.C (updateRowPositions): remove an unusual nop
2000 2003-09-12 André Pönitz <poenitz@gmx.net>
2002 * BufferView_pimpl.C:
2011 * Counters.[Ch]: finish the 'automatic counters' job
2013 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2015 * aspell.C: include <boost/assert.cpp> (compile fix)
2017 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2019 * boost.C (assertion_failed): use lyx::support::abort instead of
2022 2003-09-10 Angus Leeming <leeming@lyx.org>
2024 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2025 with their _fwd progeny.
2027 2003-09-09 Angus Leeming <leeming@lyx.org>
2029 134 files throughtout the source tree: replace 'using namespace abc;'
2030 directives with the appropriate 'using abc::xyz;' declarations.
2032 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2034 * boost.C (emergencyCleanup): moved here from LAssert.c
2035 (assertion_failed): new function, called by BOOST_ASSERT
2037 * several files: change Assert to BOOST_ASSERT
2039 2003-09-09 Angus Leeming <leeming@lyx.org>
2041 * buffer.[Ch]: Add an Impl class and move Buffer's member
2042 variables into it. As a result move several header files out of
2045 Add header files to lots of .C files all over the tree as a result.
2047 2003-09-09 Angus Leeming <leeming@lyx.org>
2049 * buffer.[Ch]: make Buffer's member variables private. Add
2052 Lots of changes all over the tree as a result.
2054 2003-09-08 Angus Leeming <leeming@lyx.org>
2056 * graph.C: #include <config.h>.
2058 2003-09-08 Angus Leeming <leeming@lyx.org>
2062 * BufferView_pimpl.C:
2091 * toc.C: remove redundant using directives.
2093 2003-09-07 Angus Leeming <leeming@lyx.org>
2095 * LaTeXFeatures.h: remove #include "support/types.h".
2096 * ToolbarBackend.h: remove #include <algorithm>.
2097 * changes.h: remove #include <ctime>.
2098 * debug.h: remove #include <iosfwd>.
2099 * graph.h: remove #include "support/std_string.h".
2100 * lyx_main.h: remove #include <csignal>.
2101 * lyxlex_pimpl.h: remove #include <fstream>.
2102 * sgml.h: remove #include <algorithm>, <utility>.
2103 * toc.h: remove #include "support/std_ostream.h".
2104 Add #include <iosfwd>.
2106 2003-09-07 Angus Leeming <leeming@lyx.org>
2108 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2110 * converter.h: forward declare LatexRunParams.
2111 * encoding.h: remove #include "lyxrc.h".
2112 * lyxtext.h: remove #include "LColor.h".
2113 * lyxtextclass.h: remove #include "support/types.h".
2114 * trans.h: remove #include "tex-accent.h".
2115 * trans_mgr.h: remove #include "tex-accent.h".
2116 * insets/inset.h: remove #include "support/types.h", <vector>.
2117 * insets/insetcollapsable.h: remove #include "LColor.h".
2118 * insets/insetinclude.h: remove #include "dimension.h".
2119 * insets/insetlatexaccent.h: remove #include "dimension.h".
2120 * insets/insetoptarg.h:: remove #include "insettext.h".
2121 * insets/insettext.h: remove #include "dimension.h",
2122 <boost/shared_ptr.hpp>
2124 * insets/renderers.h: add #include "dimension.h".
2125 * insets/updatableinset.h: add #include "support/types.h".
2127 * many .C files: Associated changes.
2129 2003-09-06 Angus Leeming <leeming@lyx.org>
2131 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2132 one, inside testInvariant.
2134 * PrinterParams.C: new file.
2135 * PrinterParams.[Ch]: move the function bodies out of line.
2137 2003-09-06 Angus Leeming <leeming@lyx.org>
2139 * ParagraphParameters.h: forward declare ParameterStruct rather than
2140 including its header file.
2141 (depth): moved out-of-line.
2143 2003-09-06 Angus Leeming <leeming@lyx.org>
2145 * BufferView_pimpl.h:
2148 * lyxfunc.h: forward declare LyXKeySym rather than
2149 #include "frontends/LyXKeySym.h".
2151 * BufferView_pimpl.C:
2154 * lyxfunc.C: associated changes.
2156 2003-09-06 Angus Leeming <leeming@lyx.org>
2158 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2159 As a result, can remove the #include "insets/inset.h" from BufferView.h
2161 2003-09-06 Angus Leeming <leeming@lyx.org>
2163 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2164 As a result, can remove the #include "insets/inset.h" from BufferView.h
2166 2003-09-06 Angus Leeming <leeming@lyx.org>
2172 * bufferview_funcs.C:
2173 * BufferView_pimpl.C:
2178 * ParagraphParameters.C:
2183 * frontends/controllers/ControlDocument.C:
2184 * insets/insetcaption.C: rearrange the #includes into some sort of
2187 * buffer.h: remove #includes ErrorList.h, undo.h
2189 2003-09-06 Angus Leeming <leeming@lyx.org>
2191 * support/types.h: add a 'depth_type' typedef, used to store the
2192 nesting depth of a paragraph.
2195 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2196 defining explicitly.
2199 * paragraph_funcs.h:
2200 * ParagraphParameters.h:
2201 * sgml.h: use lyx::depth_type rather than Paragraph or
2202 ParameterStruct's depth_type.
2205 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2208 * BufferView_pimpl.C:
2210 * ParagraphParameters.C:
2213 * bufferview_funcs.C:
2220 * frontends/LyXView.C:
2221 * frontends/controllers/ControlDocument.C:
2222 * frontends/controllers/ControlErrorList.C:
2223 * insets/insetbibitem.C:
2224 * insets/insetbranch.C:
2225 * insets/insetcaption.C:
2226 * insets/insetcollapsable.C:
2227 * insets/insetenv.C:
2228 * insets/insetert.C:
2229 * insets/insetfloat.C:
2230 * insets/insetfoot.C:
2231 * insets/insetfootlike.C:
2232 * insets/insetnewline.C:
2233 * insets/insetquotes.C:
2234 * insets/insettabular.C:
2235 * insets/insettext.C:
2236 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2238 * frontends/controllers/ControlChanges.C: #include "changes.h".
2240 2003-09-06 Angus Leeming <leeming@lyx.org>
2242 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2243 than #including paragraph.h.
2246 * RowList.h: deleted. Superfluous.
2256 * insets/insettext.h: use ParagraphList_fwd.h rather than
2259 * paragraph.h: don't forward declare ParagraphList.
2262 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2263 rather than ParagraphList.h. paragraph.h is still needed for the
2264 Paragraph::depth_type parameters.
2266 * textcursor.h: enable it to compile stand-alone in light of the
2269 * bufferview_funcs.C:
2281 * frontends/controllers/ControlParagraph.C:
2282 * frontends/controllers/ControlTabular.C:
2283 * insets/insetmarginal.C:
2284 * insets/insetminipage.C:
2285 * insets/insetnote.C:
2286 * insets/insetoptarg.C: add header files needed to compile again.
2288 2003-09-06 Angus Leeming <leeming@lyx.org>
2290 * RowList_fwd.h: new file, forward-declaring Row rather than
2291 #including lyxrow.h.
2296 * insets/insettext.h: use it instead of RowList.h
2298 * bufferview_funcs.C:
2305 * text3.C: #include "RowList.h".
2307 2003-09-05 Angus Leeming <leeming@lyx.org>
2309 * factory.C (createInset):
2310 * vspace.C (c-tor): replace sscanf call with an istringstream.
2311 * ispell.C: re-add missing HP/UX headers.
2312 * lyxserver.C: re-add missing os2 headers.
2314 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2323 * text3.C: re-add missing system headers, needed for 2.95.2.
2325 2003-09-05 Angus Leeming <leeming@lyx.org>
2327 Changes most place everywhere due to the removal of using directives
2328 from support/std_sstream.h.
2330 2003-09-05 Angus Leeming <leeming@lyx.org>
2332 Replace LString.h with support/std_string.h,
2333 Lsstream.h with support/std_sstream.h,
2334 support/LIstream.h with support/std_istream.h,
2335 support/LOstream.h with support/std_ostream.h.
2337 Changes resulting throughout the tree.
2339 2003-09-05 Angus Leeming <leeming@lyx.org>
2341 * sgml.h: ensure that the header file can be compiled stand-alone.
2342 * *.C: strip out redundant #includes. (320 in total.)
2344 2003-09-04 Angus Leeming <leeming@lyx.org>
2346 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2347 here (from getPackages).
2349 * debug.[Ch]: add a new EXTERNAL tag.
2351 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2353 * text2.C (cursorEnd): simplify
2355 (getColumnNearX): adjust
2357 * text.C (computeBidiTables): adjust
2360 * rowpainter.C (paintChars): adjust
2361 (paintSelection): adjust
2362 (paintChangeBar): adjust
2365 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2367 (numberOfSeparators): adjust
2369 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2375 * text3.C: Restricts the mouse click functionality
2376 of insets like bibtex, include, toc and floatlist to the visible
2377 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2378 up the dialogs. Cursor has to be in front of the inset (i.e.
2379 start of row) for this to function.
2381 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2383 * bufferview_funcs.C (currentState): output row information
2385 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2387 * bufferview_funcs.C (currentState): output paragraph position
2389 2003-09-04 Angus Leeming <leeming@lyx.org>
2391 * FloatList.h: move out #include "Floating.h".
2392 * LaTeX.h: move out #include "DepTable.h".
2393 * LyXAction.h: move out #include "funcrequest.h".
2394 * buffer.h: move out #include "author.h", "iterators.h".
2395 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2396 * lyx_main.h: move out #include "errorlist.h".
2397 * lyxfunc.h: move out #include "FuncStatus.h".
2398 * lyxtext: move out #include "lyxcursor.h".
2399 * paragraph_pimpl.h: move out #include "counters.h".
2401 2003-09-03 Angus Leeming <leeming@lyx.org>
2403 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2404 preamble_snippets list, enabling us to add snippets to the preamble
2405 only if the snippet was not there already.
2407 2003-09-04 Angus Leeming <leeming@lyx.org>
2409 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2411 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2416 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2418 * BranchList.C: point fix, earlier forgotten
2420 2003-09-02 Angus Leeming <leeming@lyx.org>
2422 * box.C (contains): renamed from 'contained' after a fantastic
2425 2003-09-02 John Levon <levon@movementarian.org>
2431 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2433 2003-09-02 John Levon <levon@movementarian.org>
2435 * text2.C: simplification of cursorEnd(), including partial
2438 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2440 * buffer.C (readFile): add a space
2442 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2444 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2446 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * buffer.C (readFile): new function, take a filename and a
2449 ParagraphList::iterator
2451 (readFile): adjust, make it private. don't use setStream, make
2452 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2453 always contain the filename.
2455 * BufferView.C (insertLyXFile): simplify and make it work for
2458 2003-08-30 John Levon <levon@movementarian.org>
2460 * Makefile.am: fix dist (from Kayvan)
2462 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2464 * most files: change to use const Buffer refs
2466 2003-08-27 André Pönitz <poenitz@gmx.net>
2468 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2469 on top of ownerPar().
2471 2003-08-27 John Levon <levon@movementarian.org>
2473 * funcrequest.C: properly initialise POD members
2475 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2477 * lyxtext.h (top_y): move top_y from here
2482 * BufferView_pimpl.[Ch]: to here
2483 * frontends/screen.C:
2484 * insets/insettabular.C:
2485 * insets/insettext.C: adjust
2486 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2488 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2491 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2493 2003-08-26 André Pönitz <poenitz@gmx.net>
2495 * paragraph_func.[Ch] (outerPar): new function
2498 * paragraph_funcs.C:
2499 * paragraph_funcs.h:
2500 * paragraph_pimpl.C:
2501 * text2.C: remove Inset::par_owner
2503 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2508 * text2.C: eliminates the needFullRow/display() stuff
2509 altogether, putting the logic in metrics/draw in the insets.
2511 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2513 * text2.C (redoParagraphInternal, redoParagraphs):
2514 * text.C (redoParagraph): add a call to updateRowPositions at the
2515 end of each 'metrics-like' call. Remove all others.
2516 (getRow): remove the 'y-computing' version.
2517 (getRowNearY): do not compute nor return the real y. Solve the
2518 'y < 0' problem and simplify.
2520 2003-08-22 Angus Leeming <leeming@lyx.org>
2522 * *.[Ch]: clean-up of licence and author blurbs.
2523 Also move config.h out of a few .h files and into a few .C files.
2525 2003-08-22 André Pönitz <poenitz@gmx.net>
2527 * lyxrow.[Ch]: add x_ and *fill_ members
2532 * text2.C: adjust/remove prepareToPrint() calls
2534 2003-08-22 André Pönitz <poenitz@gmx.net>
2536 * lyxrow.[Ch]: add end_ member
2538 * lyxrow_funcs.C: use LyXRow::end_
2540 * lyxtext.h (singleWidth): add LyXFont parameter
2543 * text2.C: adjust LyXText::singleWidth() calls
2545 * text.C (redoParagraph): simplify row breaking logic
2548 2003-08-19 André Pönitz <poenitz@gmx.net>
2550 * funcrequest.C: initialize button_ member
2553 * rowpainter.[Ch]: interface consolidation
2555 2003-08-18 André Pönitz <poenitz@gmx.net>
2558 * BufferView_pimpl.C:
2560 * paragraph_funcs.C:
2562 * text3.C: remove LyXScreen::draw() and fitCursor calls
2564 * BranchList.h: remove spurious semicolons
2566 * MenuBackend.C: fix branchlist related crash
2568 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2576 * bufferparams.[Ch]:
2580 * text3.C: implements the 'branch inset'
2581 idea. This allows the output of various versions of a document
2582 from a single source version, selectively outputing or suppressing
2583 output of parts of the text.
2584 This implementation contains a 'branch list editor' in a separate
2585 tab of the document settings dialog. Branches are user definable
2586 and have a "display colour" to distinguish them on-screen.
2588 ColorHandler was somewhat cleaned up.
2589 (1) make possible a dynamically growing LColor list by allowing
2590 the graphic context cache to grow along (vector);
2591 (2) eliminate an IMHO unnecessary step in colour allocation.
2593 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2595 * BufferView_pimpl.C: compile fix
2597 2003-08-15 André Pönitz <poenitz@gmx.net>
2599 * rowpainter.C: remove extra metrics calls
2601 * lyxtext.h: merge the two constructors into a single one,
2602 pass reference to owner's par list
2604 * BufferView_pimpl.C:
2608 2003-08-15 André Pönitz <poenitz@gmx.net>
2610 * lyxrow_funcs.[Ch]:
2613 * paragraph_funcs.C:
2618 * text_funcs.C: split LyXText::rowlist_ into individual
2619 Paragraph::rows_ chunks
2622 * BufferView_pimpl.[Ch]:
2625 * text3.C: remove toggleSelection()
2627 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2629 * bufferlist.C: beautify two alerts (shorter text of buttons)
2630 * buffer.C: Remove redundant ' ' from message
2632 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2633 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2634 rename VALIGN_CENTER to VALIGN_MIDDLE
2636 2003-08-11 André Pönitz <poenitz@gmx.net>
2638 * lyxtext.h (getPar):
2639 * text.C: new function
2641 2003-08-11 André Pönitz <poenitz@gmx.net>
2644 * tracer.[Ch]: remove unneeded files
2646 * InsetList.[Ch]: remove resizeInsetsLyXText()
2651 * text3.C: merge insertParagraphs() and appendParagraph()
2652 remove breakAgain(), update()
2654 * BufferView_pimpl.[Ch]:
2655 * bufferview_funcs.[Ch]:
2659 * tabular.C: adjust after text & InsetList changes.
2661 2003-08-08 André Pönitz <poenitz@gmx.net>
2663 * text.C (insertChar, backspace): replace rowlist fiddling
2664 with rebreak of full par
2667 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2668 checkParagraph, updateInset): removed
2670 2003-08-07 André Pönitz <poenitz@gmx.net>
2673 * text3.C: merge some LFUN handlers, remove dead code
2675 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2677 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2679 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2681 * text2.C (DEPM): fix part of bug 1255 and 1256
2683 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2685 * BufferView_pimpl.C (workAreaDispatch): change to use
2686 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2687 that are no mouse related.
2689 2003-08-05 André Pönitz <poenitz@gmx.net>
2692 * BufferView_pimpl.[Ch]:
2693 * bufferview_funcs.C:
2695 * text3.C: rip out "deep update"
2697 * textcursor.[Ch] (last_sel_cursor): remove unused member
2699 2003-08-04 André Pönitz <poenitz@gmx.net>
2702 * BufferView_pimpl.[Ch]:
2703 * ParagraphParameters.C:
2704 * bufferview_funcs.C:
2710 * text3.C: replace "complicated" BufferView::update(...) calls with
2713 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2715 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2717 * Makefile.am (lyx_SOURCES): add paper.h
2719 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2721 * Makefile.am: move things around so that both lyx-qt and
2722 lyx-xforms can be built (according to --with-frontend). Then lyx
2723 is a symbolic link to lyx-[firstfrontend]
2725 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2727 * Always use std::endl with lyxerr
2729 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2731 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2733 2003-08-01 André Pönitz <poenitz@gmx.net>
2736 * BufferView_pimpl.[Ch]:
2738 * text3.C: merge BufferView::repaint() and BufferView::update()
2740 2003-08-01 José Matos <jamatos@lyx.org>
2742 * buffer.[Ch]: file_format is no longer a buffer data element.
2744 2003-08-01 André Pönitz <poenitz@gmx.net>
2749 * text2.C: make redoParagraph more independent of current cursor
2751 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2753 * text2.C: remove unneeded members
2755 2003-07-30 André Pönitz <poenitz@gmx.net>
2757 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2759 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2760 create a single function...
2762 * paragraph_funcs.C (moveItem): ... here.
2765 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2767 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2769 * LColor.[Ch]: Add comment and greyedout logical colors.
2771 2003-07-30 André Pönitz <poenitz@gmx.net>
2773 * tabular.C: don't use Assert too heavily. This crashes where it
2776 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2778 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2779 is disabled (bug 1232)
2781 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2783 * factory.C: limited 'arg' scope
2785 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2787 * factory.C: fixed Note submenu issues
2789 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2791 * factory.C: submenu for Note/Comment/Greyedout
2793 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2796 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2798 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2801 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2802 greyedout. Patch provided by Jürgen Spitzmüller.
2804 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * kbmap.C (read): fix error message when reading bind files
2808 2003-07-29 Angus Leeming <leeming@lyx.org>
2810 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2811 certainly does not do what it purports to do. I am doing it, and
2812 us, a favour by killing it.
2814 2003-07-28 José Matos <jamatos@lyx.org>
2816 * buffer.C (readBody, do_writeFile):
2817 * paragraph.C(readParagraph): \end_document replaces \the_end.
2819 2003-07-29 André Pönitz <poenitz@gmx.net>
2822 * BufferView_pimpl.[Ch]:
2826 * textcursor.[Ch]: remove toggleToggle & Co
2828 2003-07-28 José Matos <jamatos@fep.up.pt>
2830 * buffer.C (readParagraph):
2831 * params_func (readParToken, readParagraph):
2832 * paragraph.C (write): \layout -> \begin_layout.
2834 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * lyxlex_pimpl.C (setFile): clean up slightly.
2838 * bufferparams.h: add compressed var
2840 * buffer_funcs.C (readFile): adjust for LyXLex change
2841 (newFile): ditto + simplify
2843 * buffer.C (writeFile): handle writing of compressed files
2845 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2846 Check if the file is compressed and set a bufferparm if so.
2848 * Makefile.am (lyx_LDADD): remove explicit -lz
2850 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2852 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2853 makeDocBookFile): put the real LyX version in the first line of
2857 * version.C.in: remove lyx_docversion
2859 * tabular.C (write_attribute): add a template-based version to
2860 write enums properly
2862 2003-07-28 André Pönitz <poenitz@gmx.net>
2867 * text3.C: use doubles again for x-coordinates. They are needed.
2869 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2871 * messages.C (getLocaleDir): use lyx_localedir()
2873 * lyxlex_pimpl.C (setFile): compress stuff
2875 * buffer.C (writeFile): add some compression stuff
2876 (do_writeFile): new func, dont call expliti close... will this
2879 * Makefile.am (lyx_LDADD): add -lz
2881 2003-07-28 José Matos <jamatos@fep.up.pt>
2883 * buffer.C: increment file format.
2884 * paragraph_funcs (readParagraph, readParToken):
2885 * paragraph.C (readParagraph): add \end_layout.
2887 2003-07-27 Angus Leeming <leeming@lyx.org>
2889 * Makefile.am: remove special casing for configure-time setting of
2890 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2892 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2893 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2895 2003-07-26 André Pönitz <poenitz@gmx.net>
2897 * paragraph_func.[Ch]:
2898 * paragraph.C (realizeFont): inline it whereever it is used
2903 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2906 2003-07-26 André Pönitz <poenitz@gmx.net>
2910 * text2.C: get rid of LyXText::need_break_row
2912 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * toc.[Ch]: put namespace toc inside namespace lyx
2916 * MenuBackend.C (expandToc2): adjust for lyx::toc
2919 * lyxfunc.C (dispatch): adjust for lyx::find
2921 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2922 lyx::find instead. Reorganize a bit.
2923 (LyXReplace): rename to replace
2924 (LyXFind): rename to find
2926 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2929 2003-07-26 André Pönitz <poenitz@gmx.net>
2931 * text.C (setHeightOfRow): restrict scope of temporary variable
2933 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2934 code (never has been used?)
2936 2003-07-27 Asger Alstrup <alstrup@local>
2938 * text.C (fill): Optimise algorithm to exploit that we can reuse
2939 the LyXFont for many characters.
2940 (setHeightOfRow): Same thing.
2941 (rowBreakPoint): Same thing.
2943 2003-07-26 Asger Alstrup <alstrup@local>
2945 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2947 * text.C (singleWidth): Spurious font copying in hot-spot
2948 singleWidth avoided. Reorder tests for arabic for efficiency.
2950 * text.C (fill): handle empty paragraphs better.
2952 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2955 * encoding.h: add includes
2957 * lyxrc.C: remove reading of bind files
2959 * lyx_main.C (init): setup bindings and menus only if we have a
2962 * kbmap.C (read): new method. Do the actual reading of bind
2965 * converter.C (dvipdfm_options):
2968 (output): adapt PAPER_* enums.
2970 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2972 * bufferparams.h: remove paper-related enums from there
2974 * paper.h: New file. A trivial header file to hold paper-related
2975 enums. It should later expand to contain many paper-related
2978 * lyxrc.C: declare extern displayTranslator
2980 2003-07-27 José Matos <jamatos@fep.up.pt>
2982 * tabular.[Ch] (linuxdoc): add support for tables and figures
2985 2003-07-27 José Matos <jamatos@fep.up.pt>
2987 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2988 consistency in both functions.
2989 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2991 2003-07-26 Asger Alstrup <alstrup@local>
2993 * rowpainter.C (paintRows): Change algorithm to work directly on
2994 the insets rather than asking every character in the document
2995 whether its an inset.
2997 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2999 * buffer.C (openFileWrite): factorize some code
3001 2003-07-26 Angus Leeming <leeming@lyx.org>
3004 * lyx_main.[Ch]: replace occurances of system_tempdir with
3007 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3009 * rename Inset to InsetOld
3011 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3013 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3014 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3015 which I think is a bit clearer. EDIT is gone, since it was
3016 premature optimisation, and broken for mathed anyway.
3017 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3018 with cursor positioning in insets as well (math insets still do not
3019 work, but that's a different story anyway.) It mysteriously
3020 crashes sometimes with undo in the first paragraph, but I'm fairly
3021 confident that this is a compiler bug.
3023 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * paragraph.C (Paragraph): adjust for new clone return type
3027 (copyIntoMinibuffer): ditto
3029 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3031 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3032 by not having a special case, and always doing a full rebreak of
3033 the document after undo.
3035 2003-07-23 Angus Leeming <leeming@lyx.org>
3037 * factory.C (createInset): InsetExternal::setParams now takes a
3040 2003-07-23 Angus Leeming <leeming@lyx.org>
3042 * factory.C (createInset): changed interface to the external and
3043 graphics mailers' string2params functions.
3045 2003-07-23 Angus Leeming <leeming@lyx.org>
3047 * factory.C (createInset): pass a
3048 Buffer const * parameter to InsetExternalMailer's string2params.
3050 2003-07-22 John Levon <levon@movementarian.org>
3052 * Thesaurus.h: include the right aiksaurus header
3054 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3056 * MenuBackend.C (expand): check menu shortcuts unconditionally
3058 2003-07-21 Angus Leeming <leeming@lyx.org>
3060 * factory.C (createInset): pass a
3061 buffer_path parameter to InsetGraphicsMailer's string2params.
3063 2003-07-21 Angus Leeming <leeming@lyx.org>
3065 * BufferView_pimpl.C (buffer):
3068 * lyxfunc.C (dispatch):
3069 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3070 rather than the grfx shortcut.
3072 2003-07-21 André Pönitz <poenitz@gmx.net>
3074 * rowpainter.C: remove unused variables
3077 * tabular_funcs.h: move to tabular.C
3078 * Makefile.am: adjust
3080 * tabular.[Ch]: basic optical cleaning
3082 * author.h: pass references, not values
3084 2003-07-18 André Pönitz <poenitz@gmx.net>
3092 * text3.C: two-phase drawing for InsetText and InsetTabular
3093 some float -> int changes.
3095 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3097 * lyx_main.C: fix the fix
3099 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3101 * lyx_main.C: fix a crash in batch mode if no files specified
3104 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3106 * format.[Ch] (papersize): moved to BufferParams
3107 * converter.[Ch] (dvips_options): moved to BufferParams
3108 (dvipdfm_options): moved to anon namespace
3109 * bufferparams.[Ch]: added above functions.
3111 2003-07-17 André Pönitz <poenitz@gmx.net>
3115 * text2.C: don't call inset->update() anymore
3117 * metricsinfo.[Ch]: add convenience constructor
3119 2003-07-16 André Pönitz <poenitz@gmx.net>
3124 * text2.C: replace the LyXCursor::irow_ member with
3125 on-demand computation of the value
3127 2003-07-16 John Levon <levon@movementarian.org>
3129 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3131 2003-07-15 André Pönitz <poenitz@gmx.net>
3134 * text2.C: remove no more needed refresh_row
3136 2003-07-15 André Pönitz <poenitz@gmx.net>
3141 * text3.C: refresh_status tristate -> need_update bool
3143 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3145 * lyxtext.h (init): remove reinit argument (act as if always true)
3146 * text2.C: adjust to that
3148 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3150 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3151 * text3.C: use it to delete selections in some cases
3152 (bugs 441, 673, 702, 954).
3154 2003-07-14 André Pönitz <poenitz@gmx.net>
3156 * rowpainter.[Ch]: reduce interface
3158 2003-07-14 André Pönitz <poenitz@gmx.net>
3160 * BufferView_pimpl.C:
3161 * text2.C: adjust after removing unused BufferView * argument
3163 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3165 * text2.C (init): fix a crash fired on resize
3167 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3169 * buffer.[Ch]: added new closing signal
3170 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3171 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3172 BufferView::Pimpl via the closing the signal
3174 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3176 * buffer.[Ch]: take out all bv-related from buffer
3178 * BufferView_pimpl.[Ch]: connect to new signals
3179 * CutAndPaste.C: removed useless asserts
3180 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3183 * lyxfunc.C: moved view-related funciontality from vc here
3184 * paragraph.C: removed outdated comments
3187 2003-07-10 André Pönitz <poenitz@gmx.net>
3189 * BufferView_pimpl.C:
3193 * text2.C: remove InsetText::InnerCache, clean up consequences
3195 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3197 * ispell.C: fix two typos in error messages
3199 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3201 * Extend Note inset to other forms of annotation like Comment
3202 and Greyedout. Right button click gives dialog.
3204 Files modified or added (+):
3208 * ControlNote.[Ch] +
3210 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3211 frontends/controllers
3215 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3217 * aspell.C: add missing namespace lyx::support
3219 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3221 * BufferView.[Ch] (newFile): Add
3222 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3223 * LaTeX.[Ch] (message): added this signal and use it
3224 * buffer.[Ch] (busy, message): added these signals and use them
3225 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3229 * importer.C: use buffer signals instead of direct bv calling
3230 * lyx_cb.[Ch] (ShowMessage): removed
3233 * paragraph_funcs.C:
3234 * text2.C: use buffer signals
3236 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3238 * introduce namespace lyx::graphics
3240 2003-07-02 André Pönitz <poenitz@gmx.net>
3242 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3244 2003-07-01 André Pönitz <poenitz@gmx.net>
3251 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3252 text*.C to text_func.C
3254 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * introduce namespace lyx::support
3258 2003-06-30 André Pönitz <poenitz@gmx.net>
3263 * text.C: re-enable --with-included-string
3265 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3267 * textcursor.C: add <config.h>
3269 * text.C (getWord): remove const from word_location arg
3271 * lyxvc.C (getLogFile): fix const type order
3273 * lyxtext.h: remove const from word_location arg, add arg name
3275 * lyxlayout.h: currect type on labeltype.
3277 * importer.C: correct \file
3279 * converter.C (intToFormat): use std:: on ret val, ws changes
3281 * bufferlist.h: correct \file
3283 * buffer.C (makeLinuxDocFile): fix const type order
3284 (makeDocBookFile): ditto
3285 (fillWithBibKeys): use std:: on stdlib args.
3287 * CutAndPaste.C: fix authors.
3288 (availableSelections): use std:: on return vector
3290 2003-06-27 André Pönitz <poenitz@gmx.net>
3292 * BufferView_pimpl.C:
3293 * bufferview_funcs.C:
3301 * text3.C: remove LyXCursor::row_ member
3304 * text.C: rename fullRebreak() to partialRebreak() and implement
3305 a fullRebreak() that really bereks fully
3307 * textcursor.h: new struct for cursor-related data
3309 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3311 * lyx_main.C (LyX): get full path of document loaded on the
3314 2003-06-26 André Pönitz <poenitz@gmx.net>
3316 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3317 remove unused/broken operator>,<,>=.
3319 * text.C: remove only use of broken operator<= in an Assert().
3321 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3323 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3324 moved errorlist_.clear to showErrorList
3326 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3328 * converter.C (scanLog, runLaTeX):
3329 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3330 move the bv->showErrorList call to the callers
3331 * lyxfunc.C: i.e. here...
3333 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3334 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3335 namespace, the second to...
3336 * buffer_funcs (BufferFormat, parseErrors): added
3337 * errorlist.C (ErrorList(TeXErrors const &)): removed
3339 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3341 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3343 2003-06-24 "Garst R. Reese" <reese@isn.net>
3347 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3349 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3351 * version.C.in: change docversion to 1.4
3353 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3355 * buffer.C: fix a bug just introduced
3357 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3359 * buffer.[Ch]: added the parseError signal and use it, removed
3361 * BufferView.[Ch] (addError): moved to ...
3362 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3363 to the Buffer::parseError signal to catch (guess what) parse errors
3364 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3366 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3368 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3369 ability to create a buffer and to return an existing one from
3370 the list. Moved these functions to...
3371 * buffer_funcs.[Ch]: added
3372 * BufferView.[Ch] (loadLyXFile): added
3373 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3374 job removed from bufferlist::loadLyXFile.
3375 * buffer.C (setReadOnly): make it work without view
3376 (i.e added an if (users))
3378 2003-06-19 Angus Leeming <leeming@lyx.org>
3381 * LyXAction.C (init):
3382 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3383 with LFUN_DIALOG_SHOW <name> <data>.
3385 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3387 * CutAndPaste.C (availableSelections): small compilation fix for
3388 ancient (gcc 2.9x) compilers
3390 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * text3.C (cursorNext): add tmp var
3394 * text2.C (updateCounters): for function calling out of for clause
3395 (replaceSelectionWithString): ditto
3396 (insertStringAsParagraphs): ditto
3397 (getColumnNearX): add tmp var
3398 (setCursorFromCoordinates): add tmp var
3399 (cursorDownParagraph): add tmp var
3400 (deleteEmptyParagraphMechanism): add tmp var
3402 * text.C (insertChar): add tmp var
3404 * rowpainter.C (paintDepthBar): add tmp var
3406 * CutAndPaste.C (availableSelections): potentially check all
3407 paragraphs in a cut to fill the shown strings.
3409 2003-06-18 André Pönitz <poenitz@gmx.net>
3411 * kbmap.[Ch]: use vector<> instead of list<>
3413 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3415 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3416 pasteSelection with index
3418 * text2.C (pasteSelection): modify, call pasteSelection with index
3420 * paragraph.C (asString): reimplement version with no interval to
3421 call the one with interval.
3423 * lyxtext.h: add index arg to pasteSelection
3425 * MenuBackend.C (MenuItem): handle PasteRecent
3426 (Menu::read::Menutags): add md_pasterecent
3428 (expandPasteRecent): new function
3431 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3433 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3435 (availableSelections): new function
3437 2003-06-17 Angus Leeming <leeming@lyx.org>
3439 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3441 2003-06-17 Angus Leeming <leeming@lyx.org>
3444 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3446 * lyxfunc.C (dispatch): invoke it.
3448 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3450 * iterators.C (operator++, ParPosition): reintroduce some
3451 const_cast for the benefit of older compilers.
3453 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3455 * text3.C (dispatch): do not modify clipboard when doing
3456 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3457 LFUN_DELETE_SKIP on a selection selection
3459 2003-06-16 André Pönitz <poenitz@gmx.net>
3465 * tabular.[Ch]: IU of clone() and getLabelList();
3467 2003-06-13 André Pönitz <poenitz@gmx.net>
3469 * tabular.h: compactification
3471 2003-06-12 André Pönitz <poenitz@gmx.net>
3475 * tabular_funcs.h: some renaming plus whitespace
3477 2003-06-12 André Pönitz <poenitz@gmx.net>
3480 * BufferView_pimpl.C:
3486 * toc.C: Return a Paragraph & for ParIterator::operator*()
3488 2003-06-11 John Levon <levon@movementarian.org>
3492 * ToolbarBackend.C: add "Toolbars" section and
3495 2003-06-10 Angus Leeming <leeming@lyx.org>
3498 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3500 * lyxfunc.C (dispatch): invoke it.
3502 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * main.C: protect <ios> with HAVE_IOS
3505 (main): protect sync_with_stdio with HAVE_IOS
3507 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3509 * text2.C (cutSelection): adjust
3510 (pasteSelection): adjust
3512 * messages.C: handle get of empty string
3514 * main.C (main): use sync_with_stdio(false)
3516 * lyxfunc.C (dispatch): adjust
3518 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3519 (WriteAs): remove unneeded BufferView arg.
3521 * bufferparams.h: use correct types on papersize, papersize2 and
3524 * bufferparams.C (readToken): adjust for type
3525 (writeLaTeX): add missing cases to switch.
3527 * bufferlist.C (quitWriteBuffer): adjust
3530 * buffer.C (asciiParagraph): remove some commented code.
3532 * CutAndPaste.C: remove current_view extern variable.
3533 (cutSelection): add BufferParams arg.
3534 (eraseSelection): add BufferParams arg.
3535 (pasteSelection): add Buffer const & arg
3537 2003-06-07 John Levon <levon@movementarian.org>
3540 * paragraph_funcs.C:
3541 * paragraph_pimpl.C:
3545 * paragraph.C: allow InsetERT to freely space lines,
3546 and some consolidation of code
3548 2003-06-06 José Matos <jamatos@fep.up.pt>
3550 * buffer.C (makeDocBookFile): fix bug #821
3552 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3554 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3556 2003-06-04 Angus Leeming <leeming@lyx.org>
3558 * buffer.C: bump format to 224.
3560 2003-06-05 André Pönitz <poenitz@gmx.net>
3562 * text2.C (redoParagraphs): remove two const_cast<>
3564 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3566 * ParagraphList.h: remove last remnants of NO_STD_LIST
3568 2003-06-03 Angus Leeming <leeming@lyx.org>
3570 * factory.C (createInset): small change to the way InsetExternal's params
3573 2003-06-04 André Pönitz <poenitz@gmx.net>
3575 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3577 * paragraph_pimpl.h:
3578 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3580 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3582 * undo_funcs.C: make some simple cases of undo work again
3584 2003-06-03 John Levon <levon@movementarian.org>
3586 * ispell.C: HPUX doesn't have sys/select.h
3589 2003-06-03 John Levon <levon@movementarian.org>
3591 * CutAndPaste.C: update tabular and include inset
3596 * paragraph.C: remove owningBuffer(), don't pass Buffer
3599 * factory.C: insetGraphicsParams changed
3601 2003-06-02 John Levon <levon@movementarian.org>
3607 * text3.C: remove insetparent
3609 2003-06-02 John Levon <levon@movementarian.org>
3612 * buffer.C: fix inset_iterator.end(), move out of line
3615 2003-06-01 John Levon <levon@movementarian.org>
3617 * text3.C: use a proper cut/paste when doing inset
3618 insert (from Jürgen Spitzmüller)
3620 2003-06-01 John Levon <levon@movementarian.org>
3622 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3624 2003-05-30 André Pönitz <poenitz@gmx.net>
3626 * rowpainter.C: unify second drawing phase
3628 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * trans_mgr.C: remove one case of current_view
3632 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3634 * paragraph_funcs.h: remove paragraph.h include
3636 * paragraph.h: delete NO_STD_LIST stuff
3638 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3640 * buffer.h: remove paragraph.h include
3642 * ParagraphList.C: delete file
3644 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3646 * toc.C (getTocList): adjust
3648 * paragraph_pimpl.C (validate): adjust
3650 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3652 * paragraph.C (Paragraph): adjust
3653 (getPositionOfInset): use const_iterator, adjust
3654 (bibitem): use const_iterator, adjust
3655 (setInsetOwner): adjust
3657 * iterators.C (operator++): adjust
3659 * InsetList.[Ch]: Replace selfmade iterator with standard
3660 vector::iterator also introduce const_iterator. Remove getPos,
3661 getInset and setInset from InsetTable. Adjust accordingly.
3663 * BufferView.C (lockInset): adjust
3664 (ChangeInsets): adjust
3666 * tabular.[Ch]: delete commented same_id functions
3668 2003-05-28 John Levon <levon@movementarian.org>
3670 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3672 2003-05-28 André Pönitz <poenitz@gmx.net>
3674 * metricsinfo.[Ch]: remove 'fullredraw' member
3676 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3678 * lyxtextclass.C (operator): remove caching.
3680 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * text2.C (cursorBottom): adjust
3685 (setCounter): use ParagraphList::find, adjust
3687 * text.C (workWidth): use ParagraphList::find, adjust
3689 * lyxcursor.C (LyXCursor): adjust
3691 * buffer.C (inset_iterator): adjust
3693 * ParagraphList.h: make iterator(value_type) private, make
3694 ParagraphList a friend of iterator.
3696 * ParagraphList.C (find): new function
3698 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3700 2003-05-27 André Pönitz <poenitz@gmx.net>
3702 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3704 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3706 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3708 2003-05-26 John Levon <levon@movementarian.org>
3710 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3712 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * remove same_id from function signatures, adjust.
3716 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3720 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3722 * paragraph.C (Paragraph): get rid of same_ids parameter
3724 * ParagraphList.C (insert): adjust
3727 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3729 * paragraph_funcs.C (breakParagraph): adjust
3730 (breakParagraphConservative): adjust
3732 * buffer.C (readParagraph): adjust
3734 * ParagraphList.C (insert): take a reference instead of a pointer
3737 * paragraph.[Ch] (id): new function
3739 * bufferlist.C (newFile): adjust
3741 * ParagraphList.C (ParagraphList): adjust
3743 (push_back): take a reference instead of a pointer.
3745 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3747 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3750 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3751 set else use old code.
3753 * ParagraphList.C: remove all NO_NEXT code and only compile this
3754 code of NO_STD_LIST is set.
3756 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3758 * BufferView_pimpl.C:
3768 * graphics/GraphicsConverter.C:
3769 * graphics/PreviewLoader.C: header adjustment
3771 2003-05-23 Angus Leeming <leeming@lyx.org>
3773 * LaTeXFeatures.[Ch] (useBabel): new method.
3774 * bufferparams.C (writeLaTeX): use it.
3776 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * ParagraphList.h (set): remove unused function.
3780 2003-05-23 André Pönitz <poenitz@gmx.net>
3783 * BufferView_pimpl.C:
3787 * undo_funcs.C: setUndo reworked
3789 * iterators.[Ch]: add access to topmost ParagraphList
3791 * lyxtext.[Ch] (workWidth): add a const
3793 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3795 * texrow.[Ch] (increasePos): remove function
3796 * exporter.C (export): removed unused var and outdated comment
3798 2003-05-23 Angus Leeming <leeming@lyx.org>
3800 * latexrunparams.h: rename fragile as moving_arg.
3801 * paragraph.C (simpleTeXOnePar): ditto.
3802 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3804 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3808 (textUndoOrRedo): comment out a currently unused var.
3810 * paragraph.h (NO_NEXT): enable NO_NEXT
3812 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3814 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3816 * exporter.C (Export): adjust for removeAutoInsets removal.
3818 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3820 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3822 * BufferView.[Ch] (removeAutoInsets): delete function
3824 2003-05-22 Angus Leeming <leeming@lyx.org>
3826 * latexrunparams.h: add a free_spacing variable.
3828 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3829 to pass moving_arg, as the data is stored in runparams.fragile.
3831 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3832 to Inset::latexOptional or to simpleTeXOnePar.
3834 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3835 free_spacing arg to Inset::latexOptional.
3837 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3840 2003-05-22 Angus Leeming <leeming@lyx.org>
3842 * latexrunparams.h: add fragile and use_babel variables.
3844 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3845 * buffer.C (makeLaTeXFile): store this returned value in
3846 runparams.use_babel, thus passing it to the inset::latex methods.
3848 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3849 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3851 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3852 longer has a fragile arg, as it is stored in runparams.fragile.
3854 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3855 moving_arg parameter as the data is stored in runparams.fragile.
3857 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3858 a fragile parameter as the data is stored in runparams.fragile.
3860 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3864 2003-05-22 Angus Leeming <leeming@lyx.org>
3866 * latexrunparams.h: add a 'bool nice' which defaults to false.
3868 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3869 now encapsulated within runparams.
3871 * bufferlist.C (updateIncludedTeXfiles):
3872 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3874 2003-05-22 Angus Leeming <leeming@lyx.org>
3876 * latexrunparams.h: new file containing struct LatexRunParams.
3877 * Makefile.am: add new file.
3879 * LaTeX.[Ch] (c-tor, run):
3880 * buffer.[Ch] (makeLaTeXFile):
3881 * bufferlist.[Ch] (updateIncludedTeXfiles):
3882 * converter.C (convert, scanLog):
3883 * converter.[Ch] (runLaTeX):
3884 * exporter.C (Export):
3885 * paragraph.[Ch] (simpleTeXOnePar):
3886 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3887 * paragraph_funcs.[Ch] (latexParagraphs):
3888 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3889 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3890 pass around a LatexRunParams parameter.
3892 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * paragraph.[Ch]: remove unused constructor
3896 * ParagraphList.C (erase): new function, taking two iterators
3898 2003-05-22 André Pönitz <poenitz@gmx.net>
3900 * undo_funcs.C: remove duplicated code
3902 * iterator.[Ch]: operator=
3904 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * tabular.C (SetMultiColumn): ws changes
3908 * rowpainter.C (paintFirst): get rid of a ->previous
3910 * lyx_cb.C (getPossibleLabel): parlist simplification
3912 * BufferView.C (ChangeInsets): simplify slightly.
3914 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3916 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3917 * lfuns.h: new LFUN_SPACE
3918 * lyxfunc.C: protected space has a new lfun
3919 * paragraph_funcs.C: read new space insets
3921 * factory.C: handle new space insets
3923 2003-05-22 André Pönitz <poenitz@gmx.net>
3926 * BufferView_pimpl.C:
3929 * undo_funcs.C: return a ParIterator from getParFromID.
3931 * iterators.[Ch]: add two const's
3933 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * toc.C (getTocList): adjust
3937 * iterators.[Ch]: rework for parlist
3939 * buffer.C (par_iterator_begin): adjust
3940 (par_iterator_end): adjust
3942 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3944 * BufferView.C (removeAutoInsets): adjust
3945 (ChangeInsets): adjust
3947 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3949 * text.C (top_y): fix bug 1110
3951 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3953 * errorlist.[Ch]: added
3956 * BufferView_pimpl.C:
3957 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3960 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * Makefile.am: ensure that lyx is relinked upon changes to the
3963 various "convenience" libs.
3965 2003-05-20 Angus Leeming <leeming@lyx.org>
3967 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3968 files are compiled in alphabetical order again.
3970 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3972 2003-05-19 Angus Leeming <leeming@lyx.org>
3974 * gettext.[Ch]: remove "char const * _(char const *)".
3976 2003-05-19 André Pönitz <poenitz@gmx.net>
3978 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3987 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3989 2003-05-19 André Pönitz <poenitz@gmx.net>
3993 * lyxtextclass.[Ch]:
3995 * paragraph_funcs.[Ch]:
3997 * text3.C: more insetenv work
3999 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4001 * ParagraphParameters.C (params2string): small bug fixed
4003 2003-05-16 André Pönitz <poenitz@gmx.net>
4006 * bufferview_funcs.C: patch from Kornel Benko to prevent
4007 crash when _(...) is called twice in a statement
4009 2003-05-16 André Pönitz <poenitz@gmx.net>
4016 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4018 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4020 * lyx_main.C (init): remove spurious static_cast
4022 2003-05-14 André Pönitz <poenitz@gmx.net>
4024 * BufferView.C: fix format string
4026 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4028 * BufferView.[Ch] (insertErrors): removed
4029 * BufferView.[Ch] (showErrorList): added
4030 * buffer.C (runChkTeX):
4031 * converter.C (scanLog): call showErrorList instead of inserterrors
4033 2003-05-13 André Pönitz <poenitz@gmx.net>
4035 * BufferView_pimpl.C:
4037 * bufferview_func.C:
4044 * tabular_funcs.h: tostr() from its own header
4046 * ParagraphParameters.C:
4051 * text3.C: STRCONV()
4053 2003-05-12 André Pönitz <poenitz@gmx.net>
4056 * BufferView_pimpl.C:
4060 * ParagraphParameters.C:
4064 * bufferview_funcs.C:
4077 * paragraph_funcs.C:
4081 * text3.C: boost::format -> bformat all over the place
4084 2003-05-09 André Pönitz <poenitz@gmx.net>
4086 * LColor.[Ch]: Pimpl the #include <map> away
4088 2003-05-09 John Levon <levon@movementarian.org>
4090 * bufferlist.C: never remove emergency saves
4092 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * Makefile.am: better lib building
4096 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4100 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4101 (simpleTeXSpecialChars): adjust
4102 (simpleTeXSpecialChars): adjust
4103 * paragraph.C (simpleTeXOnePar): adjust
4104 * buffer.C (makeLaTeXFile): adjust
4106 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4108 * text2.C (changeDepth): parlist cleanup
4109 (getColumnNearX): ditto
4111 * rowpainter.C (getLabelFont): parlist cleanup
4113 * bufferlist.C (newFile): parlist cleanup
4115 * CutAndPaste.C (eraseSelection): parlist cleanup
4117 * BufferView_pimpl.C (trackChanges): parlist cleanup
4120 * BufferView.C (lockInset): parlist cleanup.
4121 (ChangeInsets): ditto
4123 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * CutAndPaste.h: Update file header.
4127 * CutAndPaste.C: Update file header.
4128 Store the parts cut out of the Document in a limited_stack.
4129 (copySelection): adjust
4130 (pasteSelection): new function, takes the index in the limited stack.
4131 (nrOfParagraphs): adjust
4132 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4133 simplify error inset insertion.
4134 (checkPastePossible): adjust
4136 2003-05-06 John Levon <levon@movementarian.org>
4138 * text2.C: don't cast wrap inset to float
4140 2003-05-05 André Pönitz <poenitz@gmx.net>
4143 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4145 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4146 few naked Paragraph *.
4148 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4150 * bufferparams.C: Output warning if a document with missing
4151 TeX document class is loaded
4152 * exporter.C: Disable TeX exports if the document class is missing
4155 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4156 isTeXClassAvailable()
4158 2003-05-03 John Levon <levon@movementarian.org>
4161 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4162 explicit cursor show/hide
4164 * BufferView_pimpl.h:
4165 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4166 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4168 * lyxfunc.C: hide cursor before dispatching.
4173 * text3.C: remove explicit cursor hides
4175 2003-05-02 André Pönitz <poenitz@gmx.net>
4177 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4180 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4183 * text2.C: tiny whitespace
4185 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4187 * undo_funcs.C: almost only ws changes.
4189 * ParagraphList.C (splice): just return if pl is empty.
4191 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4193 * ParagraphList.C (splice): new function.
4195 * CutAndPaste.C (pasteSelection): use it
4197 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * CutAndPaste.C (pasteSelection): remove the last next and
4200 previous from this file.
4202 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4204 * CutAndPaste.C (pasteSelection): more clean up, user proper
4205 ParagraphList functions for pasteing.
4207 * ParagraphList.C (insert): new function, three arg insert
4209 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * ParagraphList.C (insert): new function, three arg insert
4213 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4216 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4218 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4224 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4226 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4227 (copySelection): clean up a bit.
4228 (pasteSelection): use make_pair
4230 * ParagraphList.C (ParagraphList): implement copy constructor
4231 (operator=): implement, base on copy constructor.
4234 * paragraph.C (erase): return a bool
4236 * paragraph_pimpl.C (erasePos): remove function, move contents...
4237 (erase): ... here. Return a bool.
4238 (erase): call erase instead of erasePos.
4240 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4242 * ParagraphList.h: define PitPosPair
4243 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4244 ParagraphList, fix a bug on pasting multiple pars
4245 * text2.C: change interface to C&P
4247 2003-04-30 André Pönitz <poenitz@gmx.net>
4249 * undo_func.C: revert part of yesterday's patch 2
4251 2003-04-30 John Levon <levon@movementarian.org>
4253 * LColor.C: s/tabular/table/
4255 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4257 * text3.C (dispatch): do not convert iterator -> pointer
4258 * undo_funcs.C (setCursorParUndo): ditto
4259 * text_funcs.C (transposeChars): ditto
4261 * text2.C (setLayout): ws changes only
4263 * text.C (breakParagraph): do not convert iterator -> pointer
4265 (acceptChange): ditto
4266 (rejectChange): ditto
4271 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4274 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4276 * text3.C (gotoInset): YABG (yet another bad getChar)
4278 2003-04-29 André Pönitz <poenitz@gmx.net>
4280 * paragraph.h: make operator= private unimplemented as long as
4283 * ParagraphList.C: whitespace
4286 * paragraph_pimpl.[Ch]:
4287 * paragraph_funcs.C:
4289 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4292 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4294 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4296 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4297 * paragraph.[Ch] (erase):
4298 * paragraph_pimpl.[Ch] (erase): change return type and value
4299 * text2.C (cutSelection): some rework
4301 2003-04-28 John Levon <levon@movementarian.org>
4303 * bufferlist.C: changes for unsaved changes dialog
4305 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * bufferlist.C (newFile): set language (messages_) for new
4310 * buffer.C (readFile): ws changes only.
4312 2003-04-28 André Pönitz <poenitz@gmx.net>
4317 * BufferView_pimpl.C:
4318 * BufferView.C: getParFromID related ParagraphList::iterator changes
4320 2003-04-28 André Pönitz <poenitz@gmx.net>
4322 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4325 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * messages.C: remove one more localedir class variable.
4329 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * messages.C (getLocaleDir): singleton generation function
4333 (Messages): add a default constructor.
4335 * main.C (main): do not setup localedir here, do not call
4338 * gettext.C (_): use it.
4339 (gettext_init): delete funciton
4341 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * gettext.C (getLyXMessages): new singleton generating function.
4345 * buffer.C (updateDocLang): adjust
4347 * Makefile.am (messages.o): add target
4348 (main.o): remove target
4350 2003-04-27 John Levon <levon@movementarian.org>
4355 * lyxvc.C: specify cancel button in Alert::prompt
4357 2003-04-26 John Levon <levon@movementarian.org>
4362 * LyXAction.C: add LFUN_INSET_SETTINGS
4364 * lyxfunc.C: don't enable tabular-feature when there's
4365 just any locking inset
4367 2003-04-26 John Levon <levon@movementarian.org>
4369 * bufferlist.C: re-add Cancel to buffer close question
4371 * lyxfunc.C: fix import UI a bit
4373 2003-04-25 John Levon <levon@movementarian.org>
4375 * gettext.C: remove the broken asserts for now
4377 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * messages.C: make case where setlocale cannot comply work better.
4381 * buffer.C (updateDocLang): new function
4382 (changeLanguage): use it
4385 * text2.C (setCounter): use B_ a bit.
4387 * lyxlayout.C (Read): be sure to trim the label strings.
4389 * messages.C (Messages): fix typo in comment
4391 * buffer.C (readFile): set message_ after file is loaded.
4392 (makeDocBookFile): remove double return
4393 (changeLanguage): reset message_ upon language change.
4394 (B_): new func, use this to get translated buffer strings.
4396 * main.C: add myself and Jean Marc as authors.
4398 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * messages.[hC]: pimplify Messages, and three different pimpls to be
4401 used in different circumstances.
4403 * gettext.[Ch]: change for use with new message code.
4405 2003-04-24 André Pönitz <poenitz@gmx.net>
4407 * factory.C: support for eqref
4409 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * messages.[Ch]: add missing char
4413 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4415 * messages.[Ch]: New files
4417 2003-04-18 John Levon <levon@movementarian.org>
4421 * BufferView_pimpl.C:
4425 * text2.C: remove layout-copy/paste (bug 778)
4427 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4429 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4431 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4433 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4434 if they succeed. Act accordingly.
4436 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4438 * text2.C (setCharFont): adjust
4439 (setCounter): adjust
4440 (insertStringAsLines): adjust
4442 * text.C (leftMargin): adjust
4443 (setHeightOfRow): adjust
4445 * rowpainter.C (paintFirst): adjust
4448 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4450 (isFirstInSequence): ditto
4451 (getEndLabel): ditto
4454 * paragraph.C (getParLanguage): comment out some hard stuff.
4456 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4458 (simpleDocBookOnePar): ditto
4459 (makeDocBookFile): use ParagraphList::iterator
4461 * CutAndPaste.C (pasteSelection): adjust
4463 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * text2.C (getFont): adjust
4466 (getLayoutFont): adjust
4467 (getLabelFont): adjust
4469 * paragraph_funcs.C (TeXOnePar): adjust
4471 * buffer.C (simpleLinuxDocOnePar): adjust
4472 (simpleDocBookOnePar): adjust
4474 * CutAndPaste.C (pasteSelection): adjust
4476 * BufferView.C (getEncoding): adjust
4478 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4480 2003-04-16 John Levon <levon@movementarian.org>
4482 * lyxfind.C: use parlist stuff for search/changes
4484 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4488 * text2.C (deleteEmptyParagraphMechanism): adjust
4490 * text2.[Ch] (ownerParagraph): delete func (both of them
4492 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4496 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * ParagraphList.C: prepare for NO_NEXT
4500 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * text2.C (getFont): adjust
4503 (getLayoutFont): adjust
4504 (getLabelFont): adjust
4506 * paragraph.C (getFont): adjust
4507 (getLabelFont): adjust
4508 (getLayoutFont): adjust
4510 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4512 2003-04-15 John Levon <levon@movementarian.org>
4516 * lyx_main.C: handle Include in .ui files
4518 2003-04-15 John Levon <levon@movementarian.org>
4520 * MenuBackend.C: make the doc files length shorter
4523 * ToolbarBackend.C: handle toolbar placement flags,
4526 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4531 * paragraph_funcs.C (TeXOnePar): adjust
4533 * paragraph.C (getLabelFont): add outerfont arg, adjust
4534 (getLayoutFont): ditto
4535 (simpleTeXOnePar): adjust
4537 * paragraph_pimpl.C (realizeFont): delete func
4539 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4541 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4542 row argument, constify cur argument.
4544 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * text2.C (getFont): adjust
4547 (getLayoutFont): adjust
4548 (getLabelFont): adjust
4550 * paragraph_funcs.C (TeXOnePar): adjust
4551 (outerFont): new func...
4552 (realizeFont): ...moved out from here, changed this to facilitate
4555 * paragraph.C (getFont): take outerfont as arg, adjust
4556 (simpleTeXOnePar): add outerfont arg, adjust
4558 * buffer.C (simpleLinuxDocOnePar): adjust
4559 (simpleDocBookOnePar): adjust
4561 * CutAndPaste.C (pasteSelection): adjust
4563 * BufferView.C (getEncoding): adjust
4565 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * text2.C (setCharFont): adjust
4568 (setCounter): adjust
4570 * text.C (leftMargin): adjust
4571 (setHeightOfRow): adjust
4573 * rowpainter.C (paintFirst): adjust
4576 * paragraph_pimpl.C (realizeFont): adjust
4578 * paragraph.C (isFirstInSequence): move from here...
4579 * paragraph_funcs.C (isFirstInSequence): ...to here
4581 * paragraph.C (outerHook): move from here...
4582 * paragraph_funcs.C (outerHook): ...to here
4584 * paragraph.C (depthHook): move from here...
4585 * paragraph_funcs.C (depthHook): ...to here
4587 * paragraph.C (getEndLabel): move from here...
4588 * paragraph_funcs.C (getEndLabel): ...to here
4590 * text2.C (realizeFont): move from here...
4591 * paragraph_funcs.C (realizeFont): ...to here
4593 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4597 2003-04-14 Angus Leeming <leeming@lyx.org>
4599 * LColor.[Ch]: scrap LColor mathcursor.
4601 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * lyxlex.[Ch] (text): delete function
4604 * trans.C (Load): adjust
4605 * paragraph_funcs.C (readParToken): adjust
4607 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4610 vector<char> instead of a char[].
4612 * lyxlex_pimpl.C (getString): adjust
4614 (lex): use getString
4618 * lyxlex.C (text): use pimpl_->getString()
4622 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4624 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4625 (makeFontEntriesLayoutSpecific): temp var for par.size()
4626 (setLayout): temp var for ownerParagraphs().end()
4627 (fullRebreak): temp var for rows().end()
4628 (selectionAsString): temp var for boost::next(startpit), realize
4629 that the while really is a regular for loop.
4630 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4631 setCursor in one place.
4632 (setParagraph): temp vr for ownerParagraphs().end()
4633 (updateCounters): make the while loop a for loop
4634 (cutSelection): temp var for ownerParagraphs().end()
4635 (updateInset): make the do {} while() a regular for loop
4636 (getCursorX): use temp vars
4637 (setCurrentFont): use temp vars
4638 (getColumnNearX): use temp vars
4640 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * text.C (transformChar): use temp var for getChar
4643 (computeBidiTables): use temp var for row->par()
4644 (fill): move temp vars for row->par() and pit->layout() earlier in
4646 (labelFill): use temp var for row->par()
4647 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4648 asc and desc, realize that pit never changes and that firstpit is
4649 just a duplicate and not needed. Exchange rit->par() with pit in a
4651 (breakAgain): use a temp var for boost::next(rit)
4652 (breakAgainOneRow): ditto
4653 (breakParagraph): use a temp var for rows().begin()
4654 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4655 (cursorRightOneWord): use temp var for cursor.par() and
4656 cursor.pos(), remove usage of tmpcursor.
4657 (cursorLeftOneWord): use temp var for cursor.par() and
4658 cursor.pos() only set cur at end of function.
4660 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * text.C, text2.C: exchange all usage of Paragraph::next with
4663 boost::next(ParagraphList::iterator)
4665 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4667 * text2.C (cursorTop): simplify implementation
4668 (cursorBottom): ditto
4669 (setParagraph): use ParagraphList::iterator
4670 (setCurrentFont): adjust
4671 (getColumnNearX): adjust
4672 (cursorRight): adjust
4673 (cursorLeft): remove usage of Paragraph::previous
4674 (cursorUpParagraph): ditto
4675 (deleteEmptyParagraphMechanism): slight cleanup
4677 * text.C (isBoundary): take a Paragraph const & instead of a
4679 (addressBreakPoint): ditto
4680 (leftMargin): remove usage of Paragraph::previous.
4681 (setHeightOfRow): ditto
4682 (cursorLeftOneWord): ditto
4683 (selectNextWordToSpellcheck): ditto
4686 (breakParagraph): remove one usage of Paragraph::next
4687 (redoParagraph): ditto
4688 (acceptChange): ditto
4689 (insertChar): adjust
4690 (rowBreakPoint): adjust
4692 * bufferview_funcs.C (toggleAndShow): adjust
4694 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4696 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4697 methods to access it.
4699 * text.C: Added updateRowPositions to compute all row positions.
4700 Make top_y and getRowNearY() to use the cached y position
4702 2003-04-11 John Levon <levon@movementarian.org>
4704 * text.C (rowBreakPoint): reintroduce the labelEnd
4705 checks, code copied from the row fill stuff. Deep voodoo.
4707 * text.C (fill): add a comment and debugging for the
4710 2003-04-11 John Levon <levon@movementarian.org>
4712 * text.C: make sure fullrow insets get wrapped to the next line,
4713 even when they're in a manual label
4715 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4717 * text2.C (insertParagraph): make it take ParagraphList::iterator
4719 (setLayout): make it return ParagraphList::iterator
4720 (redoParagraphs): ditto
4722 (checkParagraph): ditto
4724 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4726 * text2.C: adjust several funcs.
4727 (realizeFont): take a ParagraphList::iterator as arg.
4728 (getLayoutFont): ditto
4729 (getLabelFont): ditto
4730 (setCharFont): ditto
4732 * text.C: adjust several funcs.
4734 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4736 * text.C (selectNextWordToSpellcheck): don't accidentally
4739 2003-04-10 John Levon <levon@movementarian.org>
4741 * ToolbarBackend.C (getIcon): special handling for
4744 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4746 * text2.C (cursorRight): a getChar assert fixed
4748 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * text2.C (getFont): change to take a ParagraphList::iterator
4751 instead of Paragraph*
4752 Adjust several functions.
4754 * text.C (transformChar): change to take a ParagraphList::iterator
4755 instead of Paragraph*
4756 (singleWidth): ditto
4757 Adjust several functions.
4759 * rowpainter.C: adjust several functions
4760 * rowpainter.h:store a ParagraphList::iterator and not a
4764 2003-04-09 John Levon <levon@movementarian.org>
4769 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4770 and the "help" bits as well
4772 2003-04-09 John Levon <levon@movementarian.org>
4775 * ToolbarBackend.C: allow multiple toolbars
4777 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * undo_funcs.C (setCursorParUndo): adjust
4781 * text_funcs.C (transposeChars): adjust
4783 * text3.C (gotoNextInset): adjust
4786 * text2.C (setLayout): adjust
4787 (changeDepth): adjust
4789 (redoParagraphs): adjust
4790 (selectionAsString): adjust
4791 (setParagraph): adjust
4792 (insertInset): adjust
4793 (cutSelection): adjust
4794 (copySelection): adjust
4795 (pasteSelection): adjust
4796 (insertStringAsLines): adjust
4797 (updateInset): adjust
4798 (setCursor): change to take a ParagraphList::iterator parameter
4799 (setCursorIntern): change to take a ParagraphList::iterator parameter
4800 (setCurrentFont): adjust
4801 (cursorLeft): adjust
4802 (cursorRight): adjust
4803 (deleteEmptyParagraphMechanism): adjust
4805 * text.C (breakParagraph): adjust
4806 (insertChar): adjust
4807 (acceptChange): adjust
4808 (rejectChange): adjust
4809 (selectNextWordToSpellcheck): adjust
4810 (changeCase): adjust
4814 * lyxfind.C (SearchForward): adjust
4815 (SearchBackward): adjust
4816 (nextChange): adjust
4818 * lyxcursor.C (par): adjust
4820 * lyxcursor.h: store a ParagraphList::iterator instead of a
4823 * lyx_cb.C (getPossibleLabel): adjust
4825 * bufferview_funcs.C (toggleAndShow): adjust
4827 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4830 * BufferView.C (removeAutoInsets): adjust
4831 (lockedInsetStoreUndo): adjust
4833 2003-04-09 John Levon <levon@movementarian.org>
4835 * ToolbarBackend.C: try icon without argument
4836 if with argument fails
4838 2003-04-08 John Levon <levon@movementarian.org>
4841 * ToolbarBackend.C: add getIcon(), handle tooltip,
4842 and change from "Icon" to "Item".
4844 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4846 * BufferView.C (lockInset): another bad getchar crunched
4848 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4850 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4853 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4855 * lyxfind.C (searchForward, searchBackwards): bug 782
4857 2003-04-07 John Levon <levon@movementarian.org>
4859 * paragraph.C: remove dead comment
4861 * text.C: remove troublesome depth-fiddling code
4862 in leftMargin() and rightMargin() (bug 1017)
4864 * text.C: fix breaking of rows in nested lists
4867 * text2.C (updateCounters): fix up depth values
4870 2003-04-07 John Levon <levon@movementarian.org>
4872 * BufferView_pimpl.C: clear message when doc finishes resizing,
4873 and after a mouse event
4875 * lyxfunc.C: clear message after exiting inset
4877 2003-04-07 John Levon <levon@movementarian.org>
4879 * bufferview_funcs.C: show math status not outside
4880 status in the statusbar
4882 2003-04-07 John Levon <levon@movementarian.org>
4884 * lyxfunc.C: note status changed after a depth change
4886 2003-04-04 Angus Leeming <leeming@lyx.org>
4888 * LaTeX.h: move AuxInfo operator==, != out of line.
4889 Remove LaTeX virtual destructor; nothing derives from it.
4890 Move operator()() out of public area and rename it startscript().
4891 Change protected for private.
4893 2003-04-04 Angus Leeming <leeming@lyx.org>
4896 * text2.C: remove unneeded #includes.
4898 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4900 * text2.C (dEPM): fix the heigth of the next row
4902 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4904 * text.C: squashed an invalid getChar requester + some ws changes
4906 2003-04-03 John Levon <levon@movementarian.org>
4908 * bufferview_funcs.h:
4909 * bufferview_funcs.C:
4912 * text2.C: make getStatus work for the env depth lfuns
4914 2003-04-03 John Levon <levon@movementarian.org>
4916 * bufferview_funcs.h:
4917 * bufferview_funcs.C:
4920 * text2.C: parlistize decDepth(), by merging it with incDepth()
4922 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * lyxrow.h: store a ParagraphList::iterator instead of a
4925 Paragraph* and adjust other class functions to suit.
4927 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4930 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4932 * text2.C (setCursor): do not anchor to cursor row for the time being
4934 2003-04-02 John Levon <levon@movementarian.org>
4941 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4943 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * paragraph.h: make ParagraphList and ParagraphList::iterator
4946 friends of Paragraph.
4948 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4950 * ParagraphList.C: Use the private next_ and previous_ from
4953 2003-04-01 John Levon <levon@movementarian.org>
4957 * Makefile.am: rename, remove defaults gunk
4960 * MenuBackend.C: remove defaults gunk
4963 * Languages.C: remove defaults gunk
4966 * lyx_main.C: error out if files couldn't be found.
4968 2003-04-02 John Levon <levon@movementarian.org>
4970 * text2.C: make incDepth() use parlist
4972 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4974 * undo_funcs.C (firstUndoParagraph): adjust
4976 * text3.C (gotoInset): adjust
4977 (dispatch): adjust, and rewrite loop.
4979 * text2.C (init): adjust, and rewrite loop.
4980 (redoParagraphs): adjust
4981 (updateInset): adjust, and rewrite loop.
4982 (deleteEmptyParagraphMechanism): adjust
4984 * tabular.C (LyXTabular): adjust
4985 (SetMultiColumn): adjust
4988 * lyxtext.[Ch] (ownerParagraph): delete function
4989 (ownerParagraphs): new function returns a ParagraphList.
4991 * BufferView.C (removeAutoInsets): adjust
4992 (insertErrors): adjust
4993 (setCursorFromRow): adjust
4995 2003-04-01 Angus Leeming <leeming@lyx.org>
4997 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5000 2003-04-02 John Levon <levon@movementarian.org>
5006 * text_funcs.C: make transposeChars a free function
5008 * lyxrow_funcs.C: remove wrong comment
5010 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5013 * rowpainter.C: adjust
5018 * lyxrow_funcs. [Ch]: new files
5020 * lyxrow.[Ch]: remove next and previous pointers
5021 (next,previous): remove accessor functions
5022 (isParEnd): move to lyxrow_funcs
5023 (lastPos): move to lyxrow_funcs
5024 (nextRowIsAllInset): move to lyxrow_funcs
5025 (lastPrintablePos): move to lyxrow_funcs
5026 (numberOfSeparators): move to lyxrow_funcs
5027 (numberOfHfills): move to lyxrow_funcs
5028 (numberOfLabelHfills): move to lyxrow_funcs
5029 (hfillExpansion): move to lyxrow_funcs
5033 * bufferview_funcs.C (toggleAndShow): adjust
5035 * RowList.h: Remove class RowList from file leave just a
5038 * RowList.C: delete file
5040 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5043 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * text3.C (cursorPrevious): adjust
5046 (cursorNext): adjust
5049 * text2.C (redoHeightOfParagraph): adjust
5050 (redoDrawingOfParagraph): adjust
5053 * text.C (breakParagraph): adjust
5054 (insertChar): adjust
5057 * rowpainter.C (RowPainter): adjust
5058 (leftMargin): simplify and adjust
5059 (most rowpainter functions): adjust.
5061 * rowpainter.h: store the row as RowList::iterator not as Row*
5063 * lyxcursor.C (row): taka RowList::iterator as arg
5066 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5069 2003-04-01 Angus Leeming <leeming@lyx.org>
5071 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5072 stuff like bool Bool.
5074 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5076 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5079 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5081 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5084 * lyxtext.h (rows): drop one version and leve a const variant that
5085 returns a RowList::iterator.
5087 2003-03-31 Angus Leeming <leeming@lyx.org>
5089 * text.C (fill): ensure that the signature is the same as that in the
5092 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * text2.C (redoParagraphs): adjust
5095 (updateCounters): adjust
5096 (checkParagraph): adjust
5097 (getColumnNearX): adjust and reformat a bit.
5099 * text.C (top_y): adjust
5101 (leftMargin): adjust
5102 (prepareToPrint): adjust
5104 (getRowNearY): adjust
5106 * lyxtext.h: make rowlist_ mutable.
5108 * RowList.h: add const_iterator
5109 * RowList.C: adjust for RowList::const_iterator.
5111 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5114 2003-03-31 John Levon <levon@movementarian.org>
5117 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5119 * lyx_main.C: set default fonts from using lyx_gui funcs
5121 * exporter.C: pdf_mode moved from lyxrc
5124 * lyxfunc.C: changes from above
5126 2003-03-31 John Levon <levon@movementarian.org>
5128 * lyx_main.C: fix to the last fix
5130 2003-03-31 John Levon <levon@movementarian.org>
5132 * bufferlist.C: "Load original" -> "Load Original"
5138 * format.C: more Alert cleanups
5140 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * text2.C (removeParagraph): make it take a RowList::iterator as
5144 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5145 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5147 * text.C (anchor_row): make it take a RowList::iterator as arg,
5149 (computeBidiTables): make it take a const reference to Row instead
5150 of Row pointer, adjust.
5151 (leftMargin): make it take a RowList::iterator as arg, adjust.
5152 (rowBreakPoint): adjust
5153 (breakAgainOneRow): make it take a RowList::iterator as arg,
5155 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5157 * bufferview_funcs.C (toggleAndShow): adjust
5159 2003-03-30 John Levon <levon@movementarian.org>
5163 * boost-inst.C: moved to support
5165 * several files: changes as a result
5167 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * text2.C (LyXText): adjust.
5171 (removeRow): make it take a RowList::iterator as arg, adjust.
5172 (fullRebreak): adjust
5173 (deleteEmptyParagraphMechanism): adjust
5174 (clearPaint): adjust
5177 * text.C (top_y): adjust
5178 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5179 (breakAgain): make it take a RowList::iterator as arg, adjust.
5180 (breakParagraph): adjust
5181 (insertChar): adjust
5184 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5185 need_break_row, and refresh_row.
5187 * text3.C (dispatch): adjust
5189 * text2.C (checkParagraph): adjust
5191 (setCursorFromCoordinates): adjust
5193 * text.C (top_y): adjust
5195 (getRow): make it return a RowList::iterator, adjust
5196 (getRowNearY): make it return a RowList::iterator, adjust
5198 * text2.C (init): adjust
5199 (insertRow): remove function
5200 (insertParagraph): adjust
5201 (redoParagraphs): adjust
5202 (fullRebreak): adjust
5203 (updateCounters): adjust
5205 * text.C (top_y): rewrite to use RowList iterators.
5207 (setHeightOfRow): rewrite to sue RowList iterators.
5208 (appendParagraph): adjust
5209 (breakAgain): adjust
5210 (breakAgainOneRow): adjust
5211 (breakParagraph): adjust
5213 (getRowNearY): adjust, and remove commented code.
5215 * lyxtext.h (firstRow): delete function
5216 (lastRow): delete function
5217 (rows): new function (const and non-const versions.)
5218 (insertRow): delete function
5220 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5222 2003-03-29 John Levon <levon@movementarian.org>
5224 * BufferView_pimpl.C: always update scrollbar top
5225 because pasting text when we're anchored could mean we
5226 miss an update altogether
5228 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * text2.C (init): use rowlist_.end() and not 0.
5231 (insertRow): change to take a RowList::iterator as arg, adjust
5233 (insertParagraph): change to take a RowList::iterator as arg,
5235 (redoParagraphs): remove some debug msgs.
5237 * text.C (appendParagraph): change to take a RowList::iterator
5238 arg, adjust for this.
5239 (breakAgain): add an assert
5240 (breakAgainOneRow): ditto
5242 2003-03-29 John Levon <levon@movementarian.org>
5244 * text2.C: do not clear selection after inc/decDepth
5247 2003-03-29 John Levon <levon@movementarian.org>
5250 * buffer.C: fix broken strerrors according to Lars
5252 2003-03-29 John Levon <levon@movementarian.org>
5254 * converters.C: more Alert cleanups
5256 2003-03-29 John Levon <levon@movementarian.org>
5258 * bufferview_funcs.C: remove pointless Alert
5260 * buffer.C: fix confusing error message when
5261 a template is chmoded 000
5263 2003-03-29 John Levon <levon@movementarian.org>
5267 * BufferView_pimpl.C: Alert fixes
5271 * tabular-old.C: remove unused table compat reading
5273 2003-03-29 John Levon <levon@movementarian.org>
5278 * lyx_cb.C: more Alert cleanups
5280 * lyxfunc.C: don't allow chktex if not latex document
5282 2003-03-29 John Levon <levon@movementarian.org>
5286 * buffer.C: warnings pushed down from support/,
5289 2003-03-29 John Levon <levon@movementarian.org>
5291 * lyxfunc.C: safety check for C-r (revert)
5293 2003-03-29 John Levon <levon@movementarian.org>
5296 * bufferlist.C: several UI fixes using Alert::prompt.
5297 Fix the pointless looping quit code. Fix stupid revert
5302 * lyx_cb.C: use Alert::prompt
5304 * lyx_main.C: remove a silly question
5306 * lyxfunc.C: remove a couple of silly questions,
5309 2003-03-28 John Levon <levon@movementarian.org>
5311 * text2.C: fix bug 974 (End on empty par)
5313 2003-03-28 John Levon <levon@movementarian.org>
5315 * BufferView_pimpl.C:
5317 * lfuns.h: remove do-nothing math greek lfuns
5319 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5321 * lyxgluelength.h (isValidGlueLength): add default arg on
5322 parameter 2. Remove default arg from friend in class.
5324 * lyxlength.h (isValidLength): add default arg on parameter 2.
5325 Remove default arg from friend in class.
5327 * text2.C (LyXText): adjust, initialize refresh_row.
5331 (insertParagraph): adjst
5332 (redoParagraphs): adjust
5333 (fullRebreak): adjust
5334 (updateCounters): adjust
5335 (deleteEmptyParagraphMechanism): first attempt at fixing a
5338 * text.C (top_y): adjust
5339 (setHeightOfRow): adjust
5341 (getRowNearY): adjust
5343 * lyxtext.h: include RowList.h
5344 (~LyXText): not needed anymore, deleted.
5345 (firstRow): modify for RowList
5346 (lastRow): new function
5347 Delete firstrow and lastrow class variables, add a Rowlist
5348 rowlist_ class variable.
5350 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5353 * RowList.C (insert): fix case where it == begin().
5355 2003-03-26 Angus Leeming <leeming@lyx.org>
5357 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5358 the thesaurus dialog.
5360 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5364 * RowList.[Ch]: new files
5366 * ParagraphList.C (erase): handle the case where it == begin
5369 2003-03-25 John Levon <levon@movementarian.org>
5373 * aspell.C: add new aspell support
5376 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5379 2003-03-25 Angus Leeming <leeming@lyx.org>
5382 * LyXAction.C (init): new LFUN_INSET_INSERT.
5384 * BufferView_pimpl.C (dispatch): split out part of the
5385 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5387 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5390 2003-03-25 Angus Leeming <leeming@lyx.org>
5392 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5394 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5397 * text3.C: remove useless row->height(0)
5399 2003-03-25 John Levon <levon@movementarian.org>
5403 * text3.C: rename the refreshing stuff to better names
5405 2003-03-24 John Levon <levon@movementarian.org>
5407 * BufferView_pimpl.h:
5408 * BufferView_pimpl.C: update layout choice on a mouse
5411 2003-03-23 John Levon <levon@movementarian.org>
5413 * Makefile.am: fix commandtags.h reference
5415 2003-03-22 John Levon <levon@movementarian.org>
5417 * BufferView_pimpl.C:
5422 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5424 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5427 * text.C: take the rtl methods out of line
5429 2003-03-21 André Pönitz <poenitz@gmx.net>
5431 * metricsinfo.[Ch]: new files containing structures to be passed around
5432 during the two-phase-drawing...
5434 2003-03-21 André Pönitz <poenitz@gmx.net>
5436 * lyxtextclass.C: read 'environment' tag.
5438 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5440 * text2.C (removeRow): fix bug 964
5442 2003-03-20 John Levon <levon@movementarian.org>
5446 * text2.C: paint cleanups. Inset::update() dropped font
5449 2003-03-19 John Levon <levon@movementarian.org>
5451 * lyxfunc.C: only fitcursor/markDirty if available()
5453 2003-03-19 John Levon <levon@movementarian.org>
5455 * commandtags.h: rename to ...
5457 * lfuns.h: ... this, and renumber / cleanup
5459 2003-03-19 John Levon <levon@movementarian.org>
5461 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5462 fit the cursor after an lfun
5466 * BufferView_pimpl.h:
5467 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5469 * LyXAction.C: layout-character should have ReadOnly
5471 * ParagraphParameters.C:
5473 * bufferview_funcs.C:
5480 * undo_funcs.C: changes from above
5482 2003-03-18 John Levon <levon@movementarian.org>
5484 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5485 remove it from update()
5487 * lyxfunc.C: update layout choice after an lfun
5489 * text3.C: remove extra updateLayoutChoice()s
5491 2003-03-18 John Levon <levon@movementarian.org>
5493 * text.C: top_y change means full repaint, fix
5494 a drawing bug with cursor movement
5496 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5500 * text2.C: anchor row on setCursor
5502 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5504 * lyxtext.h: remove almost all mutable keywords
5507 * text3.C: remove const keywords accordingly
5509 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5511 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5513 (TeXEnvironment): ditto
5516 2003-03-17 John Levon <levon@movementarian.org>
5518 * text.C (rowBreakPoint): remove attempt to fix displayed
5519 math insets inside a manual label
5521 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * lyxtext.h: remove BufferView* as first arg from almost all class
5525 * other files: adjust.
5527 2003-03-17 John Levon <levon@movementarian.org>
5531 * text2.C: more paint cleanups
5533 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5536 * rowpainter.C: remove "smart" background painting code
5538 2003-03-16 John Levon <levon@movementarian.org>
5543 * text3.C: add helper functions for setting refresh_row/y
5545 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5547 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5548 newline inset which *can* get inserted in the pass_thru layouts.
5549 This is primarily for literate documents.
5551 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5553 * buffer.C: increment LYX_FORMAT to 223
5555 2003-03-14 André Pönitz <poenitz@gmx.net>
5557 * textclass.h: prepare for environment handling, ws changes
5558 * lyxlayout.C: read latexheader and latexfooter tags
5560 2003-03-14 John Levon <levon@movementarian.org>
5562 * text2.C: rewrite ::status() a bit
5564 2003-03-13 John Levon <levon@movementarian.org>
5566 * lyxtext.h: add some docs
5568 2003-03-13 John Levon <levon@movementarian.org>
5573 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5575 2003-03-13 John Levon <levon@movementarian.org>
5577 * text3.C: fix appendix redrawing
5579 2003-03-13 John Levon <levon@movementarian.org>
5581 * text.C (setHeightOfRow):
5583 * rowpainter.C: make appendix mark have the text
5584 "Appendix" so the user knows what it is
5587 * LColor.C: s/appendixline/appendix/ from above
5589 2003-03-13 John Levon <levon@movementarian.org>
5591 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5593 * text.C: fix a getChar(pos) bug properly
5595 2003-03-13 Angus Leeming <leeming@lyx.org>
5598 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5599 Probably only temporary. Let's see how things pan out.
5601 * BufferView.C (unlockInset):
5602 * BufferView_pimpl.C (fitCursor):
5603 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5605 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5606 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5608 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5609 new functions that convert ParagraphParameters to and from a string.
5611 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5612 BufferView::Pimpl's dispatch.
5613 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5615 2003-03-13 André Pönitz <poenitz@gmx.net>
5619 * factory.C: make it aware of InsetEnv
5621 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5623 * text2.C (setCursor): never ask for one past last
5624 (setCursor): add some debugging messages.
5626 * text.C (singleWidth): never ask for one past last
5627 (singleWidth): ditto
5629 (rightMargin): ditto
5630 (rowBreakPoint): ditto
5631 (setHeightOfRow): ditto
5632 (prepareToPrint): ditto
5634 * rowpainter.C (paintBackground): never ask for one past last
5635 (paintText): never ask for one past last
5637 * paragraph_pimpl.C (getChar): make the assert stricter, never
5638 allow the one past last pos to be taken
5640 * paragraph.C (getChar): ws changes only
5642 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5643 (numberOfSeparators): ditto
5644 (numberOfHfills): ditto
5646 2003-03-12 John Levon <levon@movementarian.org>
5652 * paragraph_funcs.C: fix per-buffer authorlists
5654 2003-03-12 John Levon <levon@movementarian.org>
5656 * text.C: fix newline in right address
5658 2003-03-12 Angus Leeming <leeming@lyx.org>
5660 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5661 duplicate those in LyXFunc::dispatch.
5665 * ToolbarDefaults.C:
5666 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5667 Add LFUN_FONTFREE_UPDATE.
5669 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5670 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5672 * bufferview_func.[Ch]: several new functions to facilliate
5673 transfer of data to and from the character dialog.
5675 2003-03-12 John Levon <levon@movementarian.org>
5680 * paragraph_funcs.C:
5681 * paragraph_pimpl.C:
5685 * text3.C: remove META_NEWLINE in favour of an inset
5688 * rowpainter.C: remove paintNewline (done by inset)
5690 2003-03-12 John Levon <levon@movementarian.org>
5692 * paragraph_pimpl.C: complain about bad getChar()s
5693 for a while at least
5695 2003-03-12 John Levon <levon@movementarian.org>
5698 * buffer.C: move paragraph read into a separate function,
5699 a little renaming to reflect that.
5702 * bufferparams.C: remove the author_ids map, not necessary now
5705 * factory.C: moved Buffer::readInset to here
5707 * paragraph_funcs.h:
5708 * paragraph_funcs.C: readParagraph free function moved from
5711 * tabular.C: name change
5713 2003-03-12 John Levon <levon@movementarian.org>
5716 * ParagraphParameters.C: move par params input to
5719 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5720 behave like a normal read from the stream wrt reading
5721 a line vs. a \\token
5723 2003-03-12 John Levon <levon@movementarian.org>
5726 * ParagraphParameters.h:
5727 * ParagraphParameters.C: move output code to a
5730 2003-03-12 John Levon <levon@movementarian.org>
5732 * BufferView.C (insertLyXFile):
5735 * tabular.C: use a parlist iterator for creating the
5738 2003-03-12 John Levon <levon@movementarian.org>
5740 * buffer.C: make current_change static local not
5743 2003-03-12 John Levon <levon@movementarian.org>
5745 * buffer.C: fix insertStringAsLines for change tracking
5747 2003-03-12 John Levon <levon@movementarian.org>
5754 * bufferparams.C: move author list into params. Rename some
5755 functions. Move the header reading into a separate token
5756 loop. Move the header token reading into BufferParams.
5758 2003-03-12 John Levon <levon@movementarian.org>
5760 * changes.C: put debug inside lyxerr.debugging() checks
5762 2003-03-11 André Pönitz <poenitz@gmx.net>
5764 * factory.C: make it aware of InsetHFill
5766 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5768 * buffer.C (latexParagraphs): move function from here...
5769 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5772 2003-03-10 Angus Leeming <leeming@lyx.org>
5774 * LyXAction.C (init): fix bug in poplating array with multiple entries
5775 with the same LFUN (spotted by JMarc).
5777 2003-03-10 John Levon <levon@movementarian.org>
5780 * text2.C: move getColumnNearX() near its
5783 2003-03-10 John Levon <levon@movementarian.org>
5785 * text.C: fix break before a minipage
5787 2003-03-10 John Levon <levon@movementarian.org>
5789 * text.C: fix the last commit
5791 2003-03-09 John Levon <levon@movementarian.org>
5795 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5796 bug 365 (don't break before insets unless needed). Don't
5797 return a value > last under any circumstances.
5799 2003-03-09 Angus Leeming <leeming@lyx.org>
5801 * BufferView_pimpl.C (trackChanges, dispatch): call
5802 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5804 2003-03-09 Angus Leeming <leeming@lyx.org>
5806 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5807 than Dialogs::showAboutlyx().
5809 2003-03-09 Angus Leeming <leeming@lyx.org>
5811 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5812 than Dialogs::showTabularCreate().
5814 2003-03-09 John Levon <levon@movementarian.org>
5818 * text2.C: 3rd arg to nextBreakPoint was always the same.
5821 2003-03-08 John Levon <levon@movementarian.org>
5828 * text2.C: Remove the "main" bit from the "main body"
5831 2003-03-08 John Levon <levon@movementarian.org>
5833 * text.C (leftMargin): The left margin of an empty
5834 manual label paragraph should not include the label width
5837 * text.C (prepareToPrint): don't attempt to measure hfills
5838 for empty manual label paragraphs - the answer should be 0
5840 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * CutAndPaste.C: remove commented code and reindent.
5844 2003-03-08 John Levon <levon@movementarian.org>
5847 * lyxfunc.C: move reloadBuffer()
5850 * BufferView.C: to here
5852 * lyxvc.C: add comment
5855 * vc-backend.C: call bv->reload() to avoid
5856 getStatus() check on MENURELOAD
5858 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5860 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5861 to an old format .dep file.
5863 2003-03-07 Angus Leeming <leeming@lyx.org>
5865 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5866 when the LFUN_MOUSE_RELEASE should have been handled by
5867 inset->localDispatch.
5869 2003-03-07 Angus Leeming <leeming@lyx.org>
5871 * BufferView_pimpl.C (dispatch):
5872 * LyXAction.C (init):
5873 * ToolbarDefaults.C (init):
5875 * lyxfunc.C (getStatus):
5876 remove LFUN_INSET_GRAPHICS.
5878 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5880 2003-03-07 Angus Leeming <leeming@lyx.org>
5883 * LyXAction.C (init):
5884 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5886 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5889 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5891 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5892 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5894 2003-03-07 Angus Leeming <leeming@lyx.org>
5896 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5899 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * ParagraphList.C (front): new function
5904 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5906 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5907 and top_row_offset_. removed var first_y.
5909 * text2.C (LyXText, removeRow):
5911 * BufferView_pimpl.C:
5912 use these methods instead of using first_y
5914 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5916 * text2.C (pasteSelection): adjust for checkPastePossible
5918 * CutAndPaste.C: remove Paragraph * buf and replace with
5919 ParagraphList paragraphs.
5920 (DeleteBuffer): delete
5921 (cutSelection): change the tc type to textclass_type
5922 (copySelection): change the tc type to textclass_type
5923 (copySelection): adjust for ParagraphList
5924 (pasteSelection): change the tc type to textclass_type
5925 (pasteSelection): adjust for Paragraphlist
5926 (nrOfParagraphs): simplify for ParagraphList
5927 (checkPastePossible): simplify for ParagraphList
5928 (checkPastePossible): remove unused arg
5930 * ParagraphList.C (insert): handle the case where there are no
5933 * CutAndPaste.h: make CutAndPaste a namespace.
5935 * text3.C (dispatch): adjust
5937 * text.C (breakParagraph): add a ParagraphList as arg
5939 * paragraph_funcs.C (breakParagraph): change to take a
5940 BufferParams and a ParagraphList as args.
5941 (breakParagraphConservative): ditto
5942 (mergeParagraph): ditto
5943 (TeXDeeper): add a ParagraphList arg
5944 (TeXEnvironment): ditto
5947 * buffer.C (readLyXformat2): adjust
5948 (insertStringAsLines): adjust
5949 (latexParagraphs): adjust
5951 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5952 (cutSelection): adjust
5953 (pasteSelection): adjust
5955 * BufferView_pimpl.C (insertInset): adjust
5957 2003-03-05 Angus Leeming <leeming@lyx.org>
5960 * LyXAction.C (init):
5961 * BufferView_pimpl.C (dispatch):
5962 * lyxfunc.C (getStatus):
5963 remove LFUN_CHILD_INSERT.
5965 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5967 2003-03-05 Angus Leeming <leeming@lyx.org>
5970 * LyXAction.C (init):
5971 * src/factory.C (createInset):
5972 * lyxfunc.C (getStatus):
5973 * text3.C (dispatch):
5974 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5976 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5978 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * ParagraphList.C (insert): handle insert right before end()
5981 (erase): fix cases where it can be first or last paragraph.
5983 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5985 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5986 Paragraph::next and Paragraph::previous
5989 * text.C (breakParagraph): adjust
5991 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5992 BufferParams& as arg.
5993 (breakParagraph): use ParagraphList::insert
5994 (breakParagraphConservative): take a Buffer* instead of a
5995 BufferParams& as arg.
5996 (breakParagraphConservative): use ParagraphList::insert.
5998 * buffer.C (insertStringAsLines): un-const it
5999 (insertStringAsLines): adjust
6001 * ParagraphList.C (insert): new function
6003 * CutAndPaste.C (pasteSelection): adjust
6005 * text.C (backspace): adjust
6007 * tabular.C (SetMultiColumn): adjust
6009 * CutAndPaste.C (cutSelection): adjust
6010 (pasteSelection): adjust
6012 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6013 Buffer const * as arg
6015 * ParagraphList.C (erase): new function
6016 * paragraph_funcs.C (mergeParagraph): use it
6017 (mergeParagraph): make it take a Buffer* instead of a
6018 BufferParams* as arg
6020 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6022 (breakParagraphConservative): ditto
6024 * paragraph.h: remove the breakParagraph friend
6026 * paragraph.C (eraseIntern): new function
6027 (setChange): new function
6029 * paragraph_funcs.C (mergeParagraph): make it take a
6030 ParagraphList::iterator instead of a Paragraph *, adjust
6033 * paragraph.h: move an #endif so that the change tracking stuff
6034 also works in the NO_NEXT case.
6036 2003-03-04 Angus Leeming <leeming@lyx.org>
6039 * LyXAction.C: new LFUN_INSET_MODIFY.
6041 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6042 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6044 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * several files: ws changes only
6048 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6049 (TeXEnvironment): ditto
6052 * buffer.C (makeLaTeXFile): adjust
6053 (latexParagraphs): make it take ParagraphList::iterator as args
6055 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * buffer.C (latexParagraphs): adjust
6059 * paragraph.C (TeXOnePar): move function...
6060 (optArgInset): move function...
6061 (TeXEnvironment): move function...
6062 * paragraph_pimpl.C (TeXDeeper): move function...
6063 * paragraph_funcs.C: ...here
6065 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6067 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * buffer.C (readInset): remove compability code for old Figure and
6072 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * buffer.C: ws changes
6077 * BufferView_pimpl.C: ditto
6080 * bufferlist.h: ditto
6084 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6086 * converter.[Ch]: split into itself +
6089 * Makefile.am: += graph.[Ch] + format.[Ch]
6096 * lyxrc.C: added #include "format.h"
6098 2003-02-27 Angus Leeming <leeming@lyx.org>
6100 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6103 * factory.C (createInset): add "label" to the factory.
6105 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6106 string and do no more.
6108 2003-02-27 Angus Leeming <leeming@lyx.org>
6111 * LyXAction.C (init):
6112 * factory.C (createInset):
6113 * BufferView_pimpl.C (dispatch):
6114 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6116 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6118 * lyxfunc.C (dispatch):
6119 * text3.C (dispatch): pass name to params2string.
6121 2003-02-26 Angus Leeming <leeming@lyx.org>
6123 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6125 Rearrange the ~includes. Strip out the unnecessary ones.
6127 * factory.C (createInset): reformat.
6128 create new insets for the various LFUN_XYZ_APPLY lfuns.
6130 2003-02-26 John Levon <levon@movementarian.org>
6133 * lyxrow.C: add isParStart,isParEnd helpers
6135 * paragraph.h: make isInserted/DeletedText take refs
6137 * paragraph_funcs.h:
6138 * paragraph_funcs.C: remove #if 0'd code
6143 * text.C: use lyxrow helpers above.
6144 Move draw and paint routines to RowPainter.
6145 Make several methods use refs not pointers.
6146 Make backgroundColor() const.
6147 Add markChangeInDraw(), isInInset().
6148 Merge changeRegionCase into changeCase.
6149 Make workWidth() shouldn't-happen code into an Assert.
6152 * rowpainter.C: new class for painting a row.
6155 * vspace.C: make inPixels take a ref
6157 2003-02-26 Angus Leeming <leeming@lyx.org>
6159 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6162 2003-02-25 John Levon <levon@movementarian.org>
6164 * ispell.C: give the forked command a more accurate name
6166 2003-02-22 John Levon <levon@movementarian.org>
6169 * toc.C: make TocItem store an id not a Paragraph *
6172 2003-02-21 Angus Leeming <leeming@lyx.org>
6174 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6175 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6176 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6177 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6178 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6179 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6181 * BufferView_pimpl.C (dispatch):
6182 * LyXAction.C (init):
6183 * factory.C (createInset):
6184 * lyxfunc.C (getStatus, dispatch):
6185 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6187 2003-02-21 Angus Leeming <leeming@lyx.org>
6189 * BufferView_pimpl.C (MenuInsertLyXFile):
6190 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6191 * lyxfunc.C (menuNew, open, doImport):
6192 no longer pass a LyXView & to fileDlg.
6194 2003-02-21 Angus Leeming <leeming@lyx.org>
6196 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6197 * LyXAction.C: change, BIBKEY to BIBITEM.
6198 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6199 Change InsetBibKey to InsetBibitem.
6200 Change BIBKEY_CODE to BIBITEM_CODE.
6201 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6202 * factory.C: replace insetbib.h with insetbibitem.h.
6203 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6204 * paragraph.C: replace insetbib.h with insetbibitem.h.
6205 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6206 Change bibkey() to bibitem().
6207 * text.C: remove insetbib.h.
6208 * text2.C: replace insetbib.h with insetbibitem.h.
6209 change bibkey() to bibitem().
6210 * text3.C: remove insetbib.h.
6211 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6213 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6215 * lyxrc.C (output): enclose user email in quotes (in case there are
6218 2003-02-18 John Levon <levon@movementarian.org>
6220 * buffer.h: add std::
6222 2003-02-17 John Levon <levon@movementarian.org>
6228 * pspell.C: reworking. Especially in ispell, a large
6229 number of clean ups and bug fixes.
6231 * lyxfunc.C: fix revert to behave sensibly
6233 2003-02-17 André Pönitz <poenitz@gmx.net>
6236 * commandtags.h: new LFUN_INSERT_BIBKEY
6246 * paragraph_func.C: remove special bibkey handling
6248 2003-02-17 John Levon <levon@movementarian.org>
6250 * text.C (Delete): fix case where delete at the end of
6251 the very first paragraph would not merge the pars
6253 2003-02-17 John Levon <levon@movementarian.org>
6255 * lyxrow.C: fix lastPrintablePos()
6257 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6259 * bufferparams.C (writeLaTeX): add a std:here
6261 * buffer.C: and remove a using directive there
6263 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6265 * buffer.C (makeLaTeXFile): move the code that generates the
6268 * bufferparams.C (writeLaTeX): ... in this new method
6270 * LaTeXFeatures.C (getEncodingSet): make const
6271 (getLanguages): make const
6273 * MenuBackend.C (binding): returns the binding associated to this
6275 (add): sets the status of each item by calling getStatus. Adds
6277 (read): add support for OptSubMenu
6278 (expand): remove extra separator at the end of expanded menu
6280 2003-02-15 John Levon <levon@movementarian.org>
6283 * BufferView_pimpl.C:
6285 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6286 inset code that had no actual effect. Remove unneeded status
6289 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6291 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6294 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6296 * text.C (drawLengthMarker): also draw an arrow marker for
6297 symbolic lengths (medskip...)
6299 2003-02-14 John Levon <levon@movementarian.org>
6302 * tabular.C: better method names
6304 2003-02-14 John Levon <levon@movementarian.org>
6306 * BufferView_pimpl.C:
6311 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6312 it's a more accurate name. Remove some pointless uses.
6314 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6316 * text2.C (LyXText): change order of initilizers to shut off
6319 2003-02-14 John Levon <levon@movementarian.org>
6321 * buffer.C: use ParIterator for getParFromID()
6325 * paragraph_pimpl.h:
6326 * paragraph_pimpl.C: remove unused getParFromID()
6328 2003-02-14 John Levon <levon@movementarian.org>
6330 * buffer.C: remove some very old #if 0'd parse code
6332 2003-02-13 John Levon <levon@movementarian.org>
6336 * text2.C: move hfillExpansion(), numberOfSeparators(),
6337 rowLast(), rowLastPrintable(), numberofHfills(),
6338 numberOfLabelHfills() ...
6341 * lyxrow.C: ... to member functions here.
6346 * text.C: remove LyXText::beginningOfMainBody(), and call
6347 p->beginningOfMainBody() directly. Move the check for
6348 LABEL_MANUAL into the latter.
6355 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6361 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6362 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6364 2003-02-13 John Levon <levon@movementarian.org>
6366 * CutAndPaste.C: remove debug
6368 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6370 * paragraph.C (asString): remove two unused variables
6372 * lyxtextclass.C (readTitleType):
6374 (LyXTextClass): handle new members titletype_ and titlename_
6376 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6378 2003-02-09 John Levon <levon@movementarian.org>
6381 * buffer.C: replace hand-coded list with a map for the dep clean
6383 2003-02-08 John Levon <levon@movementarian.org>
6385 * LaTeX.C: consolidate code into showRunMessage() helper
6387 2003-02-08 John Levon <levon@movementarian.org>
6392 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6393 and pass the size in explicitly
6395 * BufferView_pimpl.h:
6396 * BufferView_pimpl.C:
6398 * BufferView.C: add getCurrentChange()
6400 * BufferView_pimpl.h:
6401 * BufferView_pimpl.C: handle change lfuns
6403 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6404 for changes. Mark pasted paragraphs as new.
6406 * support/lyxtime.h:
6407 * support/lyxtime.C:
6408 * DepTable.C: abstract time_t as lyx::time_type
6411 * LColor.C: add colours for new text, deleted text, changebars
6413 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6414 package use "usenames" option.
6418 * LyXAction.C: add change lfuns
6422 * author.C: author handling
6425 * buffer.C: add a per-buffer author list, with first entry as
6426 current author. Handle new .lyx tokens for change tracking. Output
6427 author list to .lyx file. Output dvipost stuff to .tex preamble.
6428 Bump lyx format to 222.
6431 * bufferlist.C: add setCurrentAuthor() to reset current author details
6435 * bufferparams.C: add param for tracking
6437 * bufferview_funcs.C: output change info in minibuffer
6441 * changes.C: add change-tracking structure
6444 * debug.C: add CHANGES debug flag
6447 * lyxfind.C: add code for finding the next change piece
6450 * lyxrc.C: add user_name and user_email
6453 * lyxrow.C: add a metric for the top of the text line
6456 * text.C: implement accept/rejectChange()
6459 * text.C: paint changebars. Paint new/deleted text in the chosen
6460 colours. Strike through deleted text.
6464 * paragraph_pimpl.h:
6465 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6466 in the current change to the insert functions. Rework erase to
6467 mark text as deleted, adding an eraseIntern() and a range-based
6468 erase(). Implement per-paragraph change lookup and
6471 * paragraph_funcs.C: Fixup paste for change tracking.
6473 * tabular.C: mark added row/columns as new.
6475 * text.C: fix rowLast() to never return -1. Don't allow
6476 spellchecking of deleted text. Track transpose changes. Don't
6477 allow paragraph break or merge where appropriate.
6479 * text2.C: leave cursor at end of selection after a cut.
6481 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6483 * text.C (getLengthMarkerHeight):
6484 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6485 visible on screen too.
6487 2003-02-07 John Levon <levon@movementarian.org>
6489 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6491 2003-02-05 Angus Leeming <leeming@lyx.org>
6493 * lyxserver.C (read_ready): revert my patch of 11 September last year
6494 as it sends PC cpu through the roof. Presumably this means that
6495 the lyxserver will no longer run on an Alpha...
6497 2003-01-30 Angus Leeming <leeming@lyx.org>
6499 * factory.C (createInset): create an InsetCommandParam of type "index"
6500 and use it to 'do the right thing'.
6502 * text2.C (getStringToIndex): ensure that cursor position is always
6503 reset to the reset_cursor position.
6505 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6507 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6510 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6514 * lyxfunc.C: Output messages with identical spelling, punctuation,
6517 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6519 * MenuBackend.C (expandFormats): List only viewable export formats
6522 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6525 * lyxfunc.C (getStatus): Make sure that formats other than
6526 "fax" can also be disabled
6528 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6530 * text3.C (dispatch): put the lfuns that insert insets in 3
6531 groups, and call doInsertInset with appropriate arguments.
6532 (doInsertInset): new function, that creates an inset and inserts
6533 it according to some boolean parameters.
6535 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * buffer.C (readFile): remember to pass on 'par' when calling
6538 readFile recursively.
6540 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6542 * MenuBackend.C (expandFormats): add "..." to import formats.
6544 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6546 * paragraph.C (asString): Remove XForms RTL hacks.
6548 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6549 * buffer.C: fix typo
6551 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6553 * Makefile.am (LIBS): delete var
6554 (lyx_LDADD): add @LIBS@ here instead.
6556 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6558 * Clarify the meaning of "wheel mouse jump"
6560 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6562 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6565 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6567 * importer.C (Loaders): do not preallocate 3 elements in the
6568 vector, since one ends up with 6 elements otherwise
6570 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6572 * DepTable.C (write): write the file name as last element of the
6573 .dep file (because it may contain spaces)
6574 (read): read info in the right order
6576 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6578 * paragraph_pimpl.C (simpleTeXBlanks):
6579 (simpleTeXSpecialChars):
6580 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6582 * tabular.C (latex): add some missing case statements. Reindent.
6584 * MenuBackend.C (expandToc): remove unused variable.
6586 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6595 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6598 2003-01-05 John Levon <levon@movementarian.org>
6601 * BufferView.C: add getEncoding()
6604 * kbsequence.C: do not store last keypress
6607 * lyxfunc.C: store last keypress here instead. Pass encoding
6610 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6612 * lyx_main.C (init): remove annoying error message when following
6613 symbolic links (bug #780)
6615 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6617 * text.C (insertChar):
6618 * lyxrc.C (getDescription): remove extra spaces
6620 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6622 * lyxrc.C (getDescription): remove extra spaces
6624 2002-12-20 John Levon <levon@movementarian.org>
6626 * text3.C: hack fix for page up/down across tall rows
6628 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6630 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6633 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6635 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6636 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6637 thesaurus is not compiled in
6639 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6641 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6643 2002-12-16 Angus Leeming <leeming@lyx.org>
6646 * lyx_main.C (init): remove override_x_deadkeys stuff.
6648 2002-12-12 John Levon <levon@movementarian.org>
6650 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6651 insert. Only remove shift modifier under strict
6654 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6656 * MenuBackend.C (expandToc): fix crash.
6658 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * MenuBackend.C (expandToc): gettext on float names.
6662 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6664 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6665 implement bool empty() [bug 490]
6667 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6669 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6671 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * several files: ws changes
6675 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * text2.C (setCounter): clean up a bit, use boost.format.
6678 (updateCounters): initialize par upon declaration.
6680 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6681 if the layout exists. We do not just store the layout any more.
6682 (SwitchLayoutsBetweenClasses): use boost.format
6684 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6686 * converter.C (convert): if from and to files are the same, use a
6687 temporary files as intermediary
6689 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6692 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6694 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6696 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6698 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6700 * tabular.C (asciiPrintCell): use string(size, char) instead of
6703 * sgml.C (openTag): fix order of arguments to string constructor
6706 * lyxfunc.C (dispatch): use boost.format
6708 * lots of files: change "c" -> 'c'
6710 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6712 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6714 2002-11-25 Angus Leeming <leeming@lyx.org>
6716 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6718 * lyx_main.C (init): compile fix.
6720 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * lyx_cb.C (start): boost.formatify
6723 do not include <iostream>
6725 * lengthcommon.C: ws only
6727 * boost-inst.C,BoostFormat.h: add more explict instantations
6729 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * lots of files: handle USE_BOOST_FORMAT
6733 2002-11-21 John Levon <levon@movementarian.org>
6735 * pspell.C: fix compile
6737 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6739 * lyxfunc.C (dispatch): use boost::format
6743 * lyxfont.C (stateText): use boost::format
6745 * lyx_main.C (LyX): use boost::format
6747 (queryUserLyXDir): ditto
6750 (typedef boost::function): use the recommened syntax.
6752 * importer.C (Import): use boost::format
6754 * debug.C (showLevel): use boost::format
6756 * converter.C (view): use boost::format
6761 * bufferview_funcs.C (currentState): use boost::format
6763 * bufferlist.C (emergencyWrite): use boost::format
6765 * buffer.C (readLyXformat2): use boost::format
6766 (parseSingleLyXformat2Token): ditto
6768 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6770 * LaTeX.C (run): use boost::format
6772 * Chktex.C (scanLogFile): use boost::format
6774 * BufferView_pimpl.C (savePosition): use boost::format
6775 (restorePosition): ditto
6776 (MenuInsertLyXFile): ditto
6778 * BoostFormat.h: help file for explicit instation.
6780 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6782 * tabular.C (latex): Support for block alignment in fixed width
6785 2002-11-17 John Levon <levon@movementarian.org>
6787 * BufferView_pimpl.C:
6789 * lyxfunc.C: split filedialog into open/save
6791 2002-11-08 Juergen Vigna <jug@sad.it>
6793 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6794 by my last patch (hopefully).
6796 2002-11-08 John Levon <levon@movementarian.org>
6805 * toc.C: ParConstIterator, and use it (from Lars)
6807 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6809 * lyxtextclass.[Ch]: revise and add doxygen comments
6811 2002-11-07 John Levon <levon@movementarian.org>
6813 * text.C: fix progress value for spellchecker
6815 * toc.C: fix navigate menu for insetwrap inside minipage
6817 * paragraph_funcs.C: added FIXME for suspect code
6819 2002-11-07 John Levon <levon@movementarian.org>
6821 * BufferView_pimpl.C: fix redrawing of insets
6824 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6826 * text2.C (updateCounters): fix bug 668
6828 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6830 * text3.C (dispatch): Do not make the buffer dirty when moving the
6833 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * vc-backend.C: STRCONV
6838 * text2.C (setCounter): STRCONV
6840 * paragraph.C (asString): STRCONV
6842 * lyxlength.C (asString): STRCONV
6843 (asLatexString): ditto
6845 * lyxgluelength.C (asString): STRCONV
6846 (asLatexString): ditto
6848 * lyxfunc.C (dispatch): STRCONV
6851 * lyxfont.C (stateText): STRCONV
6853 * importer.C (Import): STRCONV
6855 * counters.C (labelItem): STRCONV
6856 (numberLabel): ditto
6857 (numberLabel): remove unused ostringstream o
6862 * bufferview_funcs.C (currentState): STRCONV
6864 * buffer.C (readFile): STRCONV
6865 (asciiParagraph): ditto
6866 (makeLaTeXFile): ditto
6868 * Spacing.C (writeEnvirBegin): STRCONV
6870 * LaTeXFeatures.C (getLanguages): STRCONV
6871 (getPackages): ditto
6873 (getBabelOptions): ditto
6874 (getTClassPreamble): ditto
6875 (getLyXSGMLEntities): ditto
6876 (getIncludedFiles): ditto
6880 (scanAuxFile): ditto
6883 * LString.h: add the STRCONV macros
6885 * BufferView_pimpl.C (savePosition): STRCONV
6886 (restorePosition): ditto
6887 (MenuInsertLyXFile): ditto
6889 * vc-backend.C (scanMaster): change from submatch[...] to
6892 * funcrequest.C: include config.h
6894 * factory.C: include config.h
6896 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6898 * box.C: include config.h
6900 * LaTeX.C (scanAuxFile): change from submatch[...] to
6904 2002-10-25 Angus Leeming <leeming@lyx.org>
6906 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6908 * ispell.[Ch] (setError): new method.
6909 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6910 Use setError() insetead of goto END.
6912 * lyx_cb.C (AutoSave): move out child process into new class
6915 2002-10-30 John Levon <levon@movementarian.org>
6917 * text3.C: make start appendix undoable
6919 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6921 * lyxlength.C (inPixels): Fix returned value.
6923 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6926 2002-10-24 Angus Leeming <leeming@lyx.org>
6928 * lyxgluelength.h: no need to forward declare BufferParams
6929 or BufferView, so don't.
6931 2002-10-21 John Levon <levon@movementarian.org>
6933 * BufferView.C: menuUndo ->undo, redo
6935 * BufferView.h: document, remove dead, make some methods private
6937 * paragraph_funcs.h:
6938 * paragraph_funcs.C:
6939 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6944 * sgml.C: move sgml open/close tag into sgml.C
6946 * bufferview_funcs.h: unused prototype
6949 * lyxfunc.C: remove unused
6952 * text.C: remove unused
6954 2002-10-21 John Levon <levon@movementarian.org>
6958 * BufferView_pimpl.h:
6959 * BufferView_pimpl.C: fix mouse wheel handling based on
6960 patch from Darren Freeman
6962 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6964 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6966 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6968 * lyxlength.C (inPixels): Fix hanfling of negative length.
6969 Fix LyXLength::MU case.
6971 2002-10-16 John Levon <levon@movementarian.org>
6973 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6975 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6977 * converter.C (view): add support for $$i (file name) and $$p
6978 (file path) for the viewer command. If $$i is not specified, then
6979 it is appended to the command (for compatibility with old syntax)
6981 2002-10-14 Juergen Vigna <jug@sad.it>
6983 * undo_funcs.C (textHandleUndo): alter the order in which the
6984 new undopar is added to the LyXText, as we have to set first
6985 the right prev/next and then add it as otherwise the rebuild of
6986 LyXText is not correct. Also reset the cursor to the right paragraph,
6987 with this IMO we could remove the hack in "redoParagraphs()".
6989 2002-10-09 Angus Leeming <leeming@lyx.org>
6991 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6992 to turn off an optimisation if a new inset is to be inserted.
6994 2002-10-11 André Pönitz <poenitz@gmx.net>
6996 * lyxtext.h: make some functions public to allow access
6997 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6999 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7001 * text3.C (dispatch): when changing layout, avoid an infinite loop
7004 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7006 * lyxrc.C (read): treat a viewer or converter command of "none" as
7009 * MenuBackend.C (expandFormats): for an update, also allow the
7010 formats that are not viewable
7012 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7013 script if it is newer than the lyxrc.defaults in user directory
7015 2002-10-07 André Pönitz <poenitz@gmx.net>
7017 * text.C: Vitaly Lipatov's small i18n fix
7019 2002-09-25 Angus Leeming <leeming@lyx.org>
7021 * ispell.h: doxygen fix.
7023 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7025 * buffer.h (readFile): Add a new argument to the method, to allow
7026 reading of old-format templates.
7028 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7030 * toc.C (getTocList): Get TOC from InsetWrap.
7032 2002-09-16 John Levon <levon@movementarian.org>
7034 * lyxfunc.C: check tabular for cut/copy too
7036 2002-09-12 John Levon <levon@movementarian.org>
7041 * factory.C: add header
7043 * paragraph_funcs.h:
7044 * paragraph_funcs.C: cleanup
7046 2002-09-11 John Levon <levon@movementarian.org>
7048 * PrinterParams.h: odd/even default to true
7050 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7052 * PrinterParams.h: update printer parameters for new xforms dialog
7054 2002-09-11 Angus Leeming <leeming@lyx.org>
7056 * lyxserver.C (read_ready): re-write to make it more transparent
7057 and to make it work in coherent fashion under Tru64 Unix.
7059 2002-09-11 André Pönitz <poenitz@gmx.net>
7063 * text3.C: implement LFUN_WORDSEL
7065 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7068 make floatlist_ a boost::shared_ptr<FloatList>
7070 * lyxtextclass.C: include FloatList.h
7071 (LyXTextClass): initialize floatlist_
7072 (TextClassTags): add TC_NOFLOAT
7073 (Read): match "nofloat" to TC_NOFLOAT and use it.
7074 (readFloat): modify call to floatlist_
7078 * FloatList.[Ch] (FloatList): remove commented out float
7080 (erase): new function
7082 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7084 * MenuBackend.C (expandToc): fix crash when there is no document
7087 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7089 * many files: Add insetwrap.
7091 2002-09-09 John Levon <levon@movementarian.org>
7093 * text2.C: remove confusing and awkward depth wraparound
7095 2002-09-09 John Levon <levon@movementarian.org>
7097 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7100 * buffer.C: remove getIncludeonlyList()
7103 * lyxfunc.C: remove headers
7105 2002-09-09 Juergen Vigna <jug@sad.it>
7107 * text.C (getColumnNearX): fix form Michael this is most
7108 probably a cut&paste bug.
7110 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7114 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7115 references, ws changes.
7117 * text2.C (init): update counters after init
7118 (insertParagraph): no need to set counter on idividual paragraphs.
7119 (setCounter): access the counters object in the textclass object
7120 on in the buffer object.
7121 (updateCounters): ditto
7123 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7124 shared_ptr<Counters> to avoid loading counters.h in all
7126 (LyXTextClass): initialize ctrs_
7127 (TextClassTags): add TC_COUNTER, and ...
7128 (Read): use it here.
7129 (CounterTags): new tags
7130 (readCounter): new function
7131 (counters): new funtion
7132 (defaultLayoutName): return a const reference
7134 * counters.C (Counters): remove contructor
7135 (newCounter): remove a couple of unneeded statements.
7136 (newCounter): simplify a bit.
7137 (numberLabel): some small formatting changes.
7139 * buffer.[Ch]: remove all traces of counters, move the Counters
7140 object to the LyXTextClass.
7142 2002-09-06 Alain Castera <castera@in2p3.fr>
7144 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7145 package to set the horizontal alignment on fixed width columns.
7148 * lyx_sty.h: added tabularnewline macro def.
7150 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7152 2002-09-06 John Levon <levon@movementarian.org>
7154 * LyXAction.C: tooltips for sub/superscript
7156 * MenuBackend.C: a bit more verbose
7158 * lyxfunc.C: tiny clean
7160 * undo_funcs.C: document undo_frozen
7162 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * counters.C (Counters): add missing algorithm counter.
7166 * text2.C (setCounter): lookup the counter with layouts latexname
7167 instead of by section number.
7168 (setCounter): use a hackish way to lookup the correct enum
7170 a float name->type change
7171 reset enum couners with counter name directly instead of depth value.
7173 * counters.C (Counters): remove the push_backs, change to use the
7174 float type not the float name.
7175 (labelItem): remove unused string, float name->type change
7177 * counters.h: don't include vector, loose the enums and sects vectors
7179 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7181 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7182 (Read): add float->TC_FLOAT to textclassTags
7183 (Read): and handle it in the switch
7184 (readFloat): new function
7186 * FloatList.C (FloatList): comment out the hardcoded float
7189 * lyxlayout.h: ws change.
7191 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7193 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7195 2002-09-03 Angus Leeming <leeming@lyx.org>
7197 * BufferView_pimpl.h: qualified name is not allowed in member
7198 declaration: WorkArea & Pimpl::workarea() const;
7200 * factory.C: added using std::endl directive.
7202 * text3.C: added using std::find and std::vector directives.
7204 2002-08-29 André Pönitz <poenitz@gmx.net>
7207 * text2.C: remove unused member number_of_rows
7210 * BufferView2.C: remove file, move contents to...
7211 * BufferView.C: ... here
7213 * BufferView_pimpl.C:
7214 * factory.C: move more inset creation to factory
7216 * vspace.C: avoid direct usage of LyXText, ws changes
7219 don't provide direct access to WorkArea, use two simple
7220 acessors haveSelction() and workHeight() instead
7223 2002-08-29 John Levon <levon@movementarian.org>
7225 * BufferView_pimpl.C (dispatch): do not continue when
7228 2002-08-28 André Pönitz <poenitz@gmx.net>
7230 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7233 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7235 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7237 * buffer.C: increment LYX_FORMAT to 221
7239 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7240 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7242 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7244 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7246 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7248 * factory.C (createInset): use LyXTextClass::floats
7250 * MenuBackend.C (expandFloatListInsert):
7251 (expandFloatInsert):
7254 * text2.C (setCounter):
7256 * LaTeXFeatures.C (useFloat):
7257 (getFloatDefinitions):
7259 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7261 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7262 floatlist_, with accessor floats().
7264 * FloatList.h: remove global FloatList
7266 2002-08-26 André Pönitz <poenitz@gmx.net>
7268 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7272 * BufferView_pimpl.C:
7273 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7275 2002-08-25 John Levon <levon@movementarian.org>
7277 * LyXAction.C: fix margin note description
7279 2002-08-24 John Levon <levon@movementarian.org>
7283 * bufferview_funcs.C:
7285 * undo_funcs.C: cleanups
7287 * lyxfunc.C: disable CUT/COPY when no selection
7289 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7291 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7292 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7294 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7295 Add backward compatibility to "mono", "gray" and "no".
7297 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7299 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7300 (and file_format >= 200).
7302 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7304 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7306 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7308 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7310 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7312 * BufferView_pimpl.C:
7319 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7320 inset and code to make it work with the paragraph code. The inset
7321 can be anywhere in the paragraph, but will only do the expected
7322 thing in LaTeX if the layout file contains the parameter line
7324 (or more generally, a nonzero value) for that layout.
7326 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * paragraph.h: remove the declaration of undefined counters class
7331 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7333 * text2.C (setCounter): fixed enumeration mis-count as reported by
7334 Dr. Richard Hawkins.
7336 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7338 * paragraph_funcs.h: remove some unneeded includes
7340 * text.C (backspace): pasteParagraph now in global scipe
7342 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7343 (pasteSelection): ditto
7345 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7346 * paragraph_funcs.C (pasteParagraph): ... here
7348 2002-08-20 André Pönitz <poenitz@gmx.net>
7350 * commandtags.h: new LFUNs for swapping/copying table row/colums
7353 * lyxfunc.C: support for new lfuns
7355 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7358 * buffer.[Ch]: remove NO_COMPABILITY stuff
7360 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * boost.C (throw_exception): new file, with helper function for
7363 boost compiled without exceptions.
7368 * ParameterStruct.h:
7369 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7371 * bufferlist.C (emergencyWriteAll): use boost bind
7373 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7375 * text.C: include paragraph_funcs.h
7376 (breakParagraph): breakParagraph is now in global scope
7378 * paragraph_funcs.[Ch]: new files
7380 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7383 * buffer.C: include paragraph_funcs.h
7384 (insertStringAsLines): breakParagraph is now in global scope
7386 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7389 * CutAndPaste.C: include paragraph_funcs.h
7390 (cutSelection): breakParagraphConservative is now in global scope
7391 (pasteSelection): ditto
7393 * buffer.h: declare oprator== and operator!= for
7394 Buffer::inset_iterator
7396 * bufferlist.C (emergencyWrite): don't use fmt(...)
7398 * text3.C: add using std::endl
7400 * BufferView.C (moveCursorUpdate): remove default arg
7402 2002-08-20 André Pönitz <poenitz@gmx.net>
7404 * buffer.[Ch]: move inline functions to .C
7407 * BufferView_pimpl.C:
7409 * buffer.[Ch]: use improved inset_iterator
7412 * paragraph.[Ch]: write one paragraph at a time
7414 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7416 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7417 style if style is not specified.
7419 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * text2.C (setCounter): when searching for right label for a
7422 caption, make sure to recurse to parent insets (so that a caption
7423 in a minipage in a figure float works) (bug #568)
7425 2002-08-20 André Pönitz <poenitz@gmx.net>
7427 * text3.C: new file for LyXText::dispatch() and helpers
7429 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7431 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7433 2002-08-19 André Pönitz <poenitz@gmx.net>
7436 * text.C: new LyXText::dispatch()
7438 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7440 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7442 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7444 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7447 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7449 * Makefile.am: use $(variables) instead of @substitutions@
7451 2002-08-15 André Pönitz <poenitz@gmx.net>
7454 * BufferView_pimpl.C: streamlining mathed <-> outer world
7458 * LyXAction.C: remove unused LFUN_MATH
7460 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7462 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7464 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * paragraph.C (Paragraph): reformat a bit
7467 (cutIntoMinibuffer): use builtin InsetList function instad of
7471 * buffer.C: include boost/bind.hpp, add using std::for_each
7472 (writeFileAscii): use ParagraphList iterators
7473 (validate): use for_each for validate traversal of paragraphs
7474 (getBibkeyList): use ParagraphList iterators
7475 (resizeInsets): use for_each to resizeInsetsLyXText for all
7477 (getParFromID): use ParagraphList iterators
7479 * BufferView2.C (lockInset): use paragraph list and iterators
7481 2002-08-14 John Levon <levon@movementarian.org>
7483 * lyxserver.C: remove spurious xforms include
7485 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7487 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7489 2002-08-13 André Pönitz <poenitz@gmx.net>
7492 * lyxfunc.C: further cleaning
7494 2002-08-13 André Pönitz <poenitz@gmx.net>
7496 * funcrequest.h: new constructor
7498 * funcrequest.C: move stuff here from .h
7501 * BufferView_pimpl.C:
7504 * lyxfunc.C: subsequent changes
7506 * lyxfunc.h: new view() member function
7508 * lyxfunc.C: subsequent changes
7510 2002-08-13 Angus Leeming <leeming@lyx.org>
7513 * BufferView_pimpl.C:
7521 changes due to the changed LyXView interface that now returns references
7522 to member variables not pointers.
7524 2002-08-13 Angus Leeming <leeming@lyx.org>
7526 * WordLangTuple (word, lang_code): return references to strings,
7531 * lyxtext.h: forward-declare WordLangTuple.
7536 * text.C: #include "WordLangTuple.h".
7539 * text.C: (selectNextWordToSpellcheck): constify return type.
7541 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7547 * paragraph_pimpl.h:
7550 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7552 Made updateCounter always count from start of buffer, and removed
7553 second argument (par).
7554 Reverted floats number display to '#'. Perhaps I'll try again when the
7555 code base is sanitized a bit.
7557 2002-08-12 Angus Leeming <leeming@lyx.org>
7559 * buffer.[Ch] (getLabelList): constify.
7561 2002-08-07 André Pönitz <poenitz@gmx.net>
7563 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7565 * funcrequest.h: extension to keep mouse (x,y) position
7567 2002-08-12 Juergen Vigna <jug@sad.it>
7569 * BufferView2.C (insertErrors): forbid undo when inserting error
7572 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7574 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7576 * ParagraphList.[Ch]: new files
7578 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7580 * BufferView2.C (lockInset): ParagraphList changes
7583 * bufferlist.C: ditto
7587 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7589 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7590 unused class variable counter_,
7592 * paragraph.[Ch] (getFirstCounter): delete unused function
7594 * counters.C: include LAssert.h
7595 (reset): add a new function with no arg, change other version to
7596 not have def. arg and to not allow empty arg.
7598 * text2.C (setCounter): remove empty arg from call to Counters::reset
7600 2002-08-11 John Levon <levon@movementarian.org>
7602 * Makefile.am: add WordLangTuple.h
7604 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7607 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7609 * insets/insettext.C: InsetList changes
7611 * graphics/GraphicsSupport.C (operator()): InsetList changes
7613 * toc.C (getTocList): InsetList changes
7615 * paragraph_pimpl.[Ch]: InsetList changes
7617 * paragraph.[Ch]: InsetList changes
7619 * buffer.C (inset_iterator): InsetList changes
7620 (setParagraph): ditto
7621 * buffer.h (inset_iterator): ditto
7622 * iterators.C (operator++): ditto
7623 * iterators.h: ditto
7625 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7627 * InsetList.[Ch]: new files, most InsetList handling moved out of
7630 * BufferView2.C (removeAutoInsets): InsetList changes
7632 (ChangeInsets): ditto
7634 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * paragraph_pimpl.h (empty): new function
7638 * paragraph.[Ch] (empty): new function
7640 * other files: use the new Paragraph::empty function
7642 2002-08-09 John Levon <levon@movementarian.org>
7644 * lyxtext.h: remove unused refresh_height
7646 2002-08-09 John Levon <levon@movementarian.org>
7653 * paragraph.C: move sgml char escaping out of paragraph
7656 * paragraph.C: remove id setter
7660 * paragraph_pimpl.C: remove dead tex_code_break_column
7662 * bufferview_funcs.C: small cleanup
7664 * lyxfunc.C: remove dead proto
7666 * lyxtext.h: make some stuff private. Remove some dead stuff.
7668 * lyxgluelength.C: make as[LyX]String() readable
7670 2002-08-08 John Levon <levon@movementarian.org>
7675 * ToolbarDefaults.C:
7678 * toc.C: lyxaction cleanup
7680 2002-08-08 John Levon <levon@movementarian.org>
7682 * BufferView2.C: small cleanup
7685 * lyxfind.C: move unnecessary header into the .C
7687 2002-08-08 John Levon <levon@movementarian.org>
7689 * funcrequest.h: just tedious nonsense
7692 * lyx_main.C: cleanups
7695 * vspace.C: remove dead header lyx_main.h
7697 2002-08-07 Angus Leeming <leeming@lyx.org>
7700 * paragraph_pimpl.h:
7701 Forward declare class Counters in paragraph.h by moving the ctrs member
7702 variable into Paragraph::Pimpl.
7703 (counters): new method, returning a reference to pimpl_->ctrs.
7705 * text2.C: ensuing changes.
7707 2002-08-07 John Levon <levon@movementarian.org>
7709 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7711 * BufferView_pimpl.C: announce X selection on double/triple
7714 * lyx_main.C: use correct bool in batch dispatch
7716 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7718 2002-08-07 André Pönitz <poenitz@gmx.net>
7720 * funcrequest.h: new class to wrap a kb_action and its argument
7723 * BufferView_pimpl[Ch]:
7727 * lyxrc.C: subsequent changes
7730 2002-08-07 John Levon <levon@movementarian.org>
7732 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7733 document options change.
7735 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7740 * makefile.am: move counters functionality over from
7741 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7743 2002-08-06 John Levon <levon@movementarian.org>
7745 * WordLangTuple.h: new file for word + language code tuple
7756 * BufferView2.C: use WordLangTuple
7759 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7761 2002-08-06 John Levon <levon@movementarian.org>
7763 * lyx_main.C: fix cmdline batch handling
7765 2002-08-06 André Pönitz <poenitz@gmx.net>
7767 * lyxrc.C: set default for show_banner to true
7769 2002-08-06 John Levon <levon@movementarian.org>
7771 * pspell.C: fix a crash, and allow new aspell to work
7773 2002-08-06 John Levon <levon@movementarian.org>
7776 * kbmap.C: small cleanup
7779 * vspace.C: add const
7781 2002-08-05 John Levon <levon@movementarian.org>
7783 * LyXAction.C: back to tabular-insert
7785 2002-08-04 John Levon <levon@movementarian.org>
7788 * BufferView.C: cosmetic change
7790 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7800 * BufferView2.C: purge all "Lyx" not "LyX" strings
7803 * lyxcursor.C: attempt to add some documentation
7808 * ToolbarDefaults.C:
7809 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7810 merge with LFUN_TABULAR_INSERT
7817 * pspell.C: split up i/pspell implementations into separate
7818 files, many cleanups
7820 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7822 * text2.C: some cleanup
7824 * lyxfunc.C: don't check for isp_command == "none" any more, it
7825 didn't make any sense
7827 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7832 * makefile.am: move counters functionality over
7833 from text2.C/paragraph.[Ch] to counters.[Ch], and
7835 2002-08-02 John Levon <levon@movementarian.org>
7837 * buffer.C: s/lyxconvert/lyx2lyx/
7839 2002-08-02 Angus Leeming <leeming@lyx.org>
7841 * lyxlex.C: revert John's change as it breaks reading of the user
7844 2002-08-02 Angus Leeming <leeming@lyx.org>
7846 * importer.C (Import):
7847 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7848 changes due to LyXView::view() now returning a boost::shared_ptr.
7850 2002-08-02 John Levon <levon@movementarian.org>
7852 * lyxlex.C: small cleanup
7854 2002-08-02 John Levon <levon@movementarian.org>
7856 * text2.C (status): small cleanup, no logic change
7858 2002-08-01 John Levon <levon@movementarian.org>
7861 * buffer.C (writeFile): don't output alerts, caller
7865 * lyx_cb.C: from above
7867 * lyxfunc.C: allow to open non-existent files
7869 2002-07-31 John Levon <levon@movementarian.org>
7871 * lyxserver.C: don't let incidental errors get
7874 2002-07-30 John Levon <levon@movementarian.org>
7876 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7878 2002-07-30 John Levon <levon@movementarian.org>
7881 * lyxserver.C: remove I/O callback too
7883 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7885 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7888 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * many files: strip,frontStrip -> trim,ltrim,rtrim
7892 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * PrinterParams.h: remove extern containsOnly, and include
7895 support/lstrings.h instead.
7897 * LaTeX.C (scanAuxFile): modify because of strip changes
7899 * buffer.C (makeLaTeXFile): ditto
7900 * bufferparams.C (writeFile): ditt
7901 * lyxfont.C (stateText): ditto
7902 * lyxserver.C (read_ready): ditto
7903 * vc-backend.C (scanMaster): ditto
7905 * BufferView_pimpl.h: ws changes
7907 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7909 2002-07-26 André Pönitz <poenitz@gmx.net>
7911 * kb_sequence.C: remove unnedred usings
7913 2002-07-26 Juergen Vigna <jug@sad.it>
7915 * lyxfind.C (LyXReplace): we have to check better if the returned
7916 text is not of theLockingInset()->getLockingInset().
7918 2002-07-25 Juergen Vigna <jug@sad.it>
7920 * lyxfind.C (LyXReplace): don't replace if we don't get the
7923 * undo_funcs.C (createUndo): remove debugging code.
7925 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7927 * buffer.C (parseSingleLyXformat2Token): Use default placement
7928 when reading old floats.
7930 * FloatList.C (FloatList): Change the default placement of figure
7931 and tables to "tbp".
7933 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7935 * MenuBackend.C: using std::max
7937 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7939 * MenuBackend.C (expandToc):
7940 (expandToc2): code moved from xforms menu frontend. It is now
7941 generic and TOCs are transparent to menu frontends.
7943 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * toc.C (getTocList): protect against buf=0
7947 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7948 Menu as first parameter. Now, this calls itself recursively to
7949 expand a whole tree (this will be useful for TOC handling)
7950 (expandFloatInsert): remove 'wide' version of floats
7952 * MenuBackend.h (submenuname): returns the name of the submenu.
7953 (submenu): returns the submenu itself, provided it has been
7954 created by MenuBackend::expand
7956 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7958 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7959 insets which have noFontChange == true. (bug #172)
7961 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7963 * BufferView_pimpl.C: add connection objects and use them...
7966 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7968 * MenuBackend.C (expandLastfiles):
7971 (expandFloatListInsert):
7972 (expandFloatInsert):
7973 (expand): split expand in parts
7975 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7977 * lyx_gui.C: use lyx_gui::exit()
7979 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7981 * LyXAction.C: show the failing pseudo action
7983 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7985 * buffer.C (readFile): Run the lyxconvert script in order to read
7988 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7992 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7994 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7998 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8000 2002-07-22 Herbert Voss <voss@lyx.org>
8003 * lyxlength.[Ch]: add support for the vertical lengths
8005 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8007 * toc.[Ch]: std:: fixes
8009 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8011 * lyxrc.C: do not include lyx_main.h
8013 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8019 * BufferView2.C: include "lyxlex.h"
8022 * bufferparams.h: do not #include "lyxlex.h"
8024 * lyxtextclasslist.C (Add): remove method
8025 (classlist): renamed to classlist_
8027 * paragraph_pimpl.C:
8031 * bufferview_funcs.C:
8036 * toc.C (getTocList): use BufferParams::getLyXTextClass
8038 * toc.C (getTocList): use InsetFloat::addToToc
8040 * toc.[Ch]: new files, containing helper functions to handle table
8043 * lyxfunc.C (dispatch): no need to remove spaces around command
8045 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8046 first command of the sequence; it is not very clever, but I do not
8047 have a better idea, actually
8049 * LyXAction.C (LookupFunc): make sure to remove space at the
8050 beginning and end of the command
8052 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8054 * MenuBackend.C (getMenubar): new method: return the menubar of
8056 (read): treat differently reading of menu and menubar (in
8057 particular, the menubar has no name now)
8058 (Menu::menubar): remove
8060 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8063 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8065 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8066 a bibitem inset in a RTL paragraph.
8068 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8070 * paragraph_pimpl.C: constify
8072 * BufferView_pimpl.C:
8074 * lyxfunc.C: fix dispatch in a nicer way
8076 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8078 * lyxfunc.C (dispatch):
8079 * BufferView_pimpl.C:
8080 * BufferView_pimpl.h:
8082 * BufferView.h: rename Dispatch() to dispatch()
8084 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8086 * lyxlayout.C (Read): honor DependsOn tag
8088 * lyxlayout.[Ch] (depends_on): new method
8090 * version.C.in: update lyx_docversion
8092 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8094 * paragraph.C (validate): remove from here...
8095 * paragraph_pimpl.C (validate): ... and move here
8096 (isTextAt): make it const
8098 * buffer.C (getLists): ws cleanup
8100 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8102 * language.C (read): Use iso8859-1 encoding in latex_lang
8103 (this prevents LyX from crashing when using iso10646-1 encoding).
8105 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8107 * text2.C (toggleInset): if cursor is inside an inset, close the
8108 inset and leave cursor _after_ it
8110 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8112 * lyxfunc.C: move minibuffer completion handling out of here
8114 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8116 * BufferView_pimpl.C:
8117 * LaTeX.C: fix dispatch calls
8119 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8121 * text.C (drawChars): Fix Arabic text rendering.
8123 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8127 * lyxfunc.C: remove message-push/pop
8131 * lyxfunc.C: rationalise some code by removing verboseDispatch
8132 in favour of a bool argument to dispatch()
8134 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * lyx_main.C (init): make sure to read symlinks as absolute paths
8138 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8141 * lyxfunc.C: no need for commandshortcut to be a member
8143 2002-07-15 André Pönitz <poenitz@gmx.net>
8145 * converter.C: add support for $$s (scripts from lib/scripts dir)
8146 * lyx_main.C: white space
8148 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8152 * lyxrc.C: remove second exit confirmation
8154 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8159 * BufferView_pimpl.h:
8160 * BufferView_pimpl.C:
8161 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8163 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8165 * MenuBackend.C (expand): add numeric shortcuts to document menu
8167 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8169 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8171 * lyxfont.C (setLyXFamily):
8178 * buffer.C (asciiParagraph): use ascii_lowercase
8180 2002-07-15 Mike Fabian <mfabian@suse.de>
8182 * lyxlex_pimpl.C (search_kw):
8183 * lyxlex.C (getLongString):
8184 * converter.h (operator<):
8185 * converter.C (operator<):
8186 * buffer.C (parseSingleLyXformat2Token):
8188 * ToolbarDefaults.C (read):
8189 * MenuBackend.C (checkShortcuts):
8191 * LColor.C (getFromGUIName):
8192 (getFromLyXName): use the compare_ascii_no_case instead of
8193 compare_no_case, because in turkish, 'i' is not the lowercase
8194 version of 'I', and thus turkish locale breaks parsing of tags.
8196 2002-07-16 Angus Leeming <leeming@lyx.org>
8198 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8199 now takes a Buffer const & argument.
8201 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8203 * BufferView.C (resize): check there's a buffer to resize
8205 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8207 * lyxfunc.C: remove dead code
8210 * lyxserver.C: use lyx_guii::set_read_callback
8212 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8214 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8215 an inset in a RTL paragraph.
8217 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8219 * lyxfunc.C: repaint after a font size update
8221 2002-07-15 André Pönitz <poenitz@gmx.net>
8223 * lyxlength.C: inBP should be able to return negative values
8225 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8227 * lyxfunc.C: use lyx_gui::update_fonts()
8229 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8231 * lyxfunc.C: use lyx_gui::update_color()
8233 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8239 * lyxrc.C: remove file->new asks for name option, and let
8240 buffer-new take an argument
8242 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8244 * BufferView_pimpl.C: remove unneeded extra repaint()
8246 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8248 * LyXAction.C: allow command-sequence with NoBuffer
8250 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8252 2002-07-10 Angus Leeming <leeming@lyx.org>
8254 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8256 2002-07-09 Angus Leeming <leeming@lyx.org>
8258 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8260 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8262 * lengthcommon.h: whitespace
8264 * lyxfunc.C: update scrollbar after goto paragraph
8266 * lyxtext.h: factor out page break drawing, and fix it so
8267 page break/added space paints as selected nicely
8269 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8271 * BufferView_pimpl.C: add FIXMEs, clean up a little
8273 2002-07-09 André Pönitz <poenitz@gmx.net>
8275 * lyxfont.[Ch]: support for wasy symbols
8277 2002-07-08 André Pönitz <poenitz@gmx.net>
8279 * BufferView_pimpl.C: apply John's patch for #93.
8281 2002-07-05 Angus Leeming <leeming@lyx.org>
8283 * BufferView_pimpl.C (buffer): generate previews if desired.
8285 * LColor.h: add "preview" to the color enum.
8287 * LColor.C (LColor): add a corresponding entry to the items array.
8289 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8292 2002-07-05 Angus Leeming <leeming@lyx.org>
8294 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8295 The body of the code is now in the method that is passed an ostream &
8296 rather than a file name.
8297 Pass an additional only_preamble parameter, useful for the forthcoming
8300 2002-07-03 André Pönitz <poenitz@gmx.net>
8302 * lyxfunc.C: simplify getStatus() a bit for math stuff
8304 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8306 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8308 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8310 * text.C (changeRegionCase): do not change case of all the
8311 document when region ends at paragraph end (bug #461)
8313 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * paragraph.C (startTeXParParams):
8316 (endTeXParParams): add \protect when necessary
8318 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8320 * BufferView_pimpl.C (workAreaExpose): remove warning
8322 2002-06-27 Angus Leeming <leeming@lyx.org>
8324 * Makefile.am: add lyxlayout_ptr_fwd.h.
8326 2002-06-26 André Pönitz <poenitz@gmx.net>
8328 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8330 2002-06-25 Angus Leeming <leeming@lyx.org>
8332 * lyxfunc.C (dispatch): Comment out the call to
8333 grfx::GCache::changeDisplay. The method no longer exists now that the
8334 pixmap generation part of the graphics loader has been moved into
8337 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8339 * text2.C: layout as layout
8341 * text.C: layout as layout
8343 * tabular.C (OldFormatRead): layout as layout
8345 * paragraph_pimpl.C (TeXDeeper): layout as layout
8346 (realizeFont): layout as layout
8348 * paragraph.C (writeFile): layout as layout
8349 (validate): layout as layout
8350 (getFont): layout as layout
8351 (getLabelFont): layout as layout
8352 (getLayoutFont): layout as layout
8353 (breakParagraph): layout as layout
8354 (stripLeadingSpaces): layout as layout
8355 (getEndLabel): layout as layout
8356 (getMaxDepthAfter): layout as layout
8357 (applyLayout): layout as layout
8358 (TeXOnePar): layout as layout
8359 (simpleTeXOnePar): layout as layout
8360 (TeXEnvironment): layout as layout
8361 (layout): layout as layout
8362 (layout): layout as layout
8364 * lyxtextclass.C (compare_name): new functor to work with
8365 shared_ptr, layout as layout
8366 (Read): layout as layout
8367 (hasLayout): layout as layout
8368 (operator): layout as layout
8369 (delete_layout): layout as layout
8370 (defaultLayout): layout as layout
8372 * lyxlayout_ptr_fwd.h: new file
8374 * lyxlayout.C (Read): layout as layout
8376 * lyx_cb.C (MenuInsertLabel): layout as layout
8378 * bufferlist.C (newFile): layout as layout
8380 * buffer.C (readLyXformat2): layout as layout
8381 (parseSingleLyXformat2Token): layout as layout
8382 (insertStringAsLines): layout as layout
8383 (asciiParagraph): layout as layout
8384 (latexParagraphs): layout as layout
8385 (makeLinuxDocFile): layout as layout
8386 (simpleLinuxDocOnePar): layout as layout
8387 (makeDocBookFile): layout as layout
8388 (simpleDocBookOnePar): layout as layout
8389 (getLists): layout as layout
8391 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8393 * CutAndPaste.C (cutSelection): layout as layout
8394 (pasteSelection): layout as layout
8395 (SwitchLayoutsBetweenClasses): layout as layout
8397 * BufferView_pimpl.C (Dispatch): layout as layout
8398 (smartQuote): layout as layout
8400 * BufferView2.C (unlockInset): layout as layout
8402 2002-06-24 André Pönitz <poenitz@gmx.net>
8404 * lyxfunc.C: fix #487
8406 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8410 * lyxfunc.C: remove display_shortcuts, show_banner
8412 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8414 * Buffer_pimpl.C: oops, update on resize
8416 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8423 * BufferView.C: use repaint()
8425 * BufferView_pimpl.h:
8426 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8427 as it's a clearer description. Remove superfluous
8430 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8432 * text.C: fix bug 488. Not ideal, but getting
8433 getWord() to work properly for the insets that
8434 matter is more difficult ...
8436 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8438 * BufferView_pimpl.C:
8441 * lyxfunc.C: remove the six million index lyxfuncs to just
8442 one, and DTRT (bug 458)
8444 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8448 * BufferView_pimpl.h:
8449 * BufferView_pimpl.C: clean up resize() stuff,
8450 and unnecessary updateScreen()s
8452 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8456 * BufferView_pimpl.h:
8457 * BufferView_pimpl.C:
8460 * minibuffer.C: remove focus management of workarea,
8461 not needed. Use screen's greyOut()
8463 2002-06-17 Herbert Voss <voss@lyx.org>
8465 * converter.C: (convert) do not post a message, when converting
8466 fails, let the calling function decide what to do in this case
8468 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8470 * lyxfunc.C: tidy up a little
8472 2002-06-16 <alstrup@diku.dk>
8474 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8475 Got rid of FORMS_H_LOCATION include. Now we are
8478 2002-06-15 LyX Development team <lyx@rilke>
8480 * buffer.[Ch] (sgmlOpenTag):
8481 (sgmlCloseTag): Added support for avoiding pernicious mixed
8482 content. Return number of lines written.
8485 (makeDocBookFile): Fixed calls to sgml*Tag.
8486 Simple white space clean.
8488 (simpleDocBookOnePar): Simple white space clean.
8490 * tabular.[Ch] (docBook): Renamed to docbook and got another
8491 argument to related with the pernicious mixed content.
8493 (docbookRow): Fixed calls for docbook inset method.
8495 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8497 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8498 so it's X11 independent.
8502 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8504 2002-06-15 Lyx Development team <lyx@electronia>
8506 * intl.h: Renamed getTrans to getTransManager.
8508 2002-06-14 Angus Leeming <leeming@lyx.org>
8510 * Makefile.am: nuke forgotten stl_string_fwd.h.
8512 2002-06-12 Angus Leeming <leeming@lyx.org>
8514 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8516 2002-06-13 Angus Leeming <leeming@lyx.org>
8519 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8521 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8523 * kbmap.C (getiso): add support for cyrillic and greek
8525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8529 * BufferView_pimpl.h:
8530 * BufferView_pimpl.C: move bogus scrolling logic
8533 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8536 * BufferView_pimpl.C: view->resize() change
8538 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8540 * BufferView_pimpl.C: topCursorVisible
8543 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8547 * lyx_gui.C: move to frontends/
8551 * lyx_main.C: changes from above
8553 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8560 * lyx_main.C: minor tidy
8562 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8564 * BufferView_pimpl.h:
8565 * BufferView_pimpl.C:
8567 * BufferView.C: make painter() const,
8570 * BufferView2.C: use screen() accessor
8573 * lyx_main.C: some minor cleanup
8575 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8577 * BufferView_pimpl.h:
8578 * BufferView_pimpl.C: remove enter/leaveView,
8581 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8586 * BufferView_pimpl.h:
8587 * BufferView_pimpl.C: only construct screen once,
8590 * lyxrc.C: remove pointless comment
8592 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8595 * BufferView.C: remove active() and belowMouse()
8597 * BufferView_pimpl.h:
8598 * BufferView_pimpl.C: use workarea() not workarea_,
8599 and make it use a scoped_ptr instead
8601 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8603 * lyx_gui.C: add debug message on BadWindow
8605 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8607 * sp_spell.C: fdopen is not part of the C++ standard.
8609 * paragraph.C (InsetIterator): use >= instead of ==
8611 2002-06-07 Angus Leeming <leeming@lyx.org>
8613 Fixes needed to compile with Compaq cxx 6.5.
8614 * BufferView_pimpl.C:
8621 * lyxtextclasslist.C:
8626 all c-library variables have been moved into namespace std. Wrap
8627 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8632 Add a using std::abs declaration.
8634 * kbmap.h (modifier_pair):
8635 * paragraph.h (InsetTable, InsetList):
8636 * lyxfont.h (FontBits):
8637 type definition made public.
8639 * bufferlist.C (emergencyWriteAll): the compiler complains that
8640 there is more than one possible lyx::class_fun template to choose from.
8641 I re-named the void specialisation as lyx::void_class_fun.
8643 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8645 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8646 the compiler is is unable to find tostr in write_attribute.
8648 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * buffer.C (sgmlError): hide #warning
8652 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8654 * xtl/*: get rid of xtl, which is not in use anyway
8656 * LyXAction.C (init):
8657 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8658 were unimplemented xtl experimentation
8660 2002-06-04 André Pönitz <poenitz@gmx.net>
8662 * lyxfunc.C: disable array operation on simple formulae
8664 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8666 * converter.C: constify a bit
8668 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8670 * lyx_gui.C: check xforms version correctly
8672 2002-04-30 Herbert Voss <voss@lyx.org>
8674 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8677 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8679 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8680 attempt to register it with a VCS)
8682 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8684 * lyx_main.C (init): honor variables LYX_DIR_13x and
8687 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8691 * lyx_main.C: fix a crash on bad command line,
8692 and give a useful exit status on error
8694 * lyxfunc.C (doImport): allow -i lyx to work
8696 2002-03-30 André Pönitz <poenitz@gmx.net>
8698 * lyxfunc.C: mathed font changes
8700 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8715 * trans_mgr.h: srcdocs, and some minor cleanups
8717 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8719 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8720 call getFont all the time)
8722 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * switch from SigC signals to boost::signals
8726 2002-05-29 André Pönitz <poenitz@gmx.net>
8728 * paragraph_pimpl.C (getChar): don't call size() too often...
8730 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8732 * paragraph_pimpl.C (insertChar): do not try to update tables when
8733 appending (pos == size())
8735 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8736 in order to reduce drastically the number of comparisons needed to
8737 parse a large document
8739 2002-05-29 André Pönitz <poenitz@gmx.net>
8745 * textclasslist.[Ch]:
8746 * sp_ispell.h: whitespace change
8748 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8750 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8751 lyxaction directly now.
8753 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8757 * lyxvc.C: remove unused headers
8759 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8766 * undo_funcs.C: some cleanups. Use shared_ptr
8767 and a template for the undo stacks.
8769 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8771 * BufferView_pimpl.h:
8772 * BufferView_pimpl.C:
8779 * text2.C: use key_state/mouse_state
8781 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8786 * chset.C: change include order
8787 (loadFile): use boost regex and get rid of LRegex and LSubstring
8789 * Makefile.am (BOOST_LIBS): new variable
8792 * LaTeX.C: change include order.
8793 (scanAuxFile): use boost regex and get rid of LRegex and
8797 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8802 * FontInfo.C: moved to frontends/xforms/
8805 * FontLoader.C: moved into frontends for GUIIzation
8810 * lyxfunc.C: changes from above
8812 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8814 * LColor.C: remove spurious X include
8816 * BufferView_pimpl.C:
8821 * text2.C: move font metrics to frontends/
8823 2002-05-24 Juergen Vigna <jug@sad.it>
8825 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8826 setting the undo_cursor.
8828 * ParagraphParameters.h: include local includes first.
8830 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8832 * BufferView_pimpl.C:
8833 * BufferView_pimpl.h:
8837 * screen.C: move WorkArea into frontends/
8843 * BufferView2.C: move LyXScreen into frontends/
8847 * lyx_gui.C: move lyxlookup into frontends/xforms/
8849 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8852 * BufferView_pimpl.C:
8862 * bufferview_funcs.C:
8875 * vc-backend.C: move LyX/XFormsView into frontends/
8877 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8889 * text2.C: move Painter to frontends/
8891 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8893 * buffer.C: comment out some some code that depend upon lyx_format
8896 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8897 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8899 * buffer.h (NO_COMPABILITY): turn off compability
8901 * ColorHandler.C: include scoped_array.hpp
8903 * font.C: Use more specific smart_ptr header.
8906 * ShareContainer.h: ditto
8910 * BufferView_pimpl.h: ditto
8911 * ColorHandler.h: ditto
8913 * kbmap.C (defkey): change call to shared_ptr::reset
8915 2002-05-21 Juergen Vigna <jug@sad.it>
8917 * buffer.C (insertErtContents): fix to insert ert asis if it is
8918 non empty. Skip it completely if it contains only whitespaces.
8920 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8922 * BufferView_pimpl.C:
8923 * BufferView2.C: clear selection on paste (bug 393)
8925 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8927 * DepTable.C: include ctime
8929 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8931 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8933 2002-05-14 Juergen Vigna <jug@sad.it>
8935 * text.C (breakParagraph): fixed function to honor the keepempty
8936 layout in the right maner and also to permit the right breaking
8937 algorithm on empty or non empyt keepempty paragraphs.
8939 * paragraph.C (breakParagraph): we have to check also if the par
8940 is really empty (!size()) for isempty otherwise we do the wrong
8943 2002-05-10 Juergen Vigna <jug@sad.it>
8945 * buffer.[Ch] : The following are only changes to the ert
8946 compatibility read reading old LaTeX layout and font stuff and
8947 convert it to ERTInsets.
8949 * buffer.h: added isErtInset().
8951 * buffer.C (struct ErtComp): add a fromlayout bool to check
8952 if we're inside a LaTeX layout.
8953 (isErtInset): new helper function.
8954 (insertErtContents): look for other ert insets before this one
8955 and insert the contents there, so that we don't have subsequent
8956 ERT insets with nothing between them. This way we create only one
8957 inset with multiple paragraphs. Also check if we don't insert only
8958 spaces ' ' as they are ignored anyway afterwards in the .tex file
8959 so if we have only spaces we will ignore this latex part in the
8961 (parseSingleLyXformat2Token \\layout): better compatibility when
8962 reading layout-latex stuff.
8963 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8965 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8966 stuff after reading the inset only get the information back from
8969 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8971 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8973 * LaTeXFeatures.C (getBabelOptions): New method.
8975 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8977 * BufferView_pimpl.C (Dispatch): work around missing argument for
8980 2002-05-08 Juergen Vigna <jug@sad.it>
8982 * text.C (leftMargin): handle paragraph leftindent.
8984 * paragraph.C (writeFile): write the new \\leftindent tag.
8985 (validate): handle leftindent code.
8986 (TeXEnvironment): handle paragraphleftindent code again.
8988 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8990 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8991 for paragrap_extra indent code and new token \\leftindent.
8992 (latexParagraphs): handle the leftindent as environment.
8994 * ParameterStruct.h: added leftindent support.
8996 * ParagraphParameters.C (leftIndent): added support functions for
8997 the paragraph left indent.
8999 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9002 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9004 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9007 * text.C (computeBidiTables): No bidi in insetERT.
9009 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9012 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9014 * version.C.in: pre 5
9016 2002-05-02 José Matos <jamatos@fep.up.pt>
9017 * buffer.C (makeDocBookFile): white space changes, add newline to
9019 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9021 * tabular.C (docBook): fix typo.
9023 2002-05-03 Juergen Vigna <jug@sad.it>
9025 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9026 change in LyXText as we can not be sure it was not freed.
9027 (drawOneRow): remove unused code.
9029 * text.C (drawInset): redo the calculation of the need_break_row as
9030 it could have a row which was already freed.
9031 (draw): look at the return value of drawInset and return false if
9032 it also returned false.
9033 (paintRowText): look at the return value of draw and return false if
9034 it also returned false.
9036 * lyxtext.h: added bool return type to drawInset() and draw() so that
9037 if we have a change in the row so that the rowbreak has to be redone
9038 we abort drawing as it will be called again.
9040 2002-05-02 Juergen Vigna <jug@sad.it>
9042 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9043 a change in the maintext also if we're inside an inset.
9044 (Dispatch): set the cursor again after a break line and after the
9045 screen has been updated as it could be we're in a different row.
9047 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9048 to set the cursor behind the pargraph with > size().
9049 (setCursor): check also for the same paragraph when checking where
9050 to put the cursor if we have a NFR inset.
9052 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9053 parts of layout read further up as it still was in the wrong
9056 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9058 * screen.C (drawFromTo): change sine fullRebreak always return
9061 * buffer.C (parseSingleLyXformat2Token): reindent some
9063 * BufferView_pimpl.C (update): change since fullRebreak always
9065 (Dispatch): git rid of the last hardcoded "Standard"s.
9067 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * text2.[Ch] (fullRebreak): make it return void now that we always
9072 2002-04-30 Juergen Vigna <jug@sad.it>
9074 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9075 ert compatibility check for "latex" layout.
9077 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9079 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9080 minipages: use col% instead of p%, and also use the current font.
9081 (makeLaTeXFile): Fix use babel condition.
9082 (parseSingleLyXformat2Token): Correct font when reading old floats.
9084 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9086 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9087 inserting list of floats.
9089 2002-04-25 Herbert Voss <voss@lyx.org>
9091 * MenuBackend.C (expand): don't add the graphics extensions to the
9094 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9097 non-existing layout, do not complain if it was the default layout
9098 of the original class (bug #342)
9100 2002-04-24 Juergen Vigna <jug@sad.it>
9102 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9103 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9105 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9107 * buffer.C (getBibkeyList): If using \bibliography, return the
9108 option field with the reference itself. Enables us to provide natbib
9109 support when using \bibliography.
9111 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9113 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9115 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9116 natbib is provided by the LaTeX class.
9118 2002-04-23 Juergen Vigna <jug@sad.it>
9120 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9123 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9125 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9127 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9129 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9130 ensuremath around textordmasculine, textordfeminine and
9133 2002-04-19 Juergen Vigna <jug@sad.it>
9135 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9136 reinitializing the buffer otherwise row-dimensions may be wrong.
9137 (update): reset also the selection cursors if they do exits otherwise
9138 their x/y positions may be wrong.
9140 * text2.C (cursorDown): don't enter the inset if we came from a row
9141 above and are one row over the inset.
9143 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9144 really leaving an inset.
9146 2002-04-18 Juergen Vigna <jug@sad.it>
9148 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9149 of the selected paragraph does not have the selected layout also if
9152 * text2.C (setLayout): fixed bug which did not change last selected
9155 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9156 changed the read and substituted \\end_float with \\end_inset!
9158 * BufferView_pimpl.C (cursorPrevious):
9159 (cursorNext): fixed to make it work with rows heigher than the work
9160 area without moving the cursor only the draw of the row.
9161 (workAreaMotionNotify): fix jumping over high rows.
9163 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9168 2002-04-16 Juergen Vigna <jug@sad.it>
9170 * text2.C (setCursor): set also the irow().
9171 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9173 (cursorDown): support for locking an inset if the x_fix value goes
9174 inside it. That way I can transverse insets too with cursor up/down.
9176 * lyxrow.h: added irow helper function same as other (i) functions.
9178 * BufferView_pimpl.C (cursorPrevious):
9179 (cursorNext): fixed for insets!
9181 2002-04-15 Juergen Vigna <jug@sad.it>
9183 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9184 position otherwise it is wrong in some cases.
9186 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9187 inside the inset before the call.
9189 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9191 * buffer.[Ch] (getBibkeyList): make it const.
9193 2002-04-12 Juergen Vigna <jug@sad.it>
9195 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9197 * text2.C (getCursorX): new helper function
9198 (setCursor): compute also ix_
9199 (setCursorFromCoordinates): set also ix.
9201 * lyxcursor.h: added ix_ and helper functions.
9203 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9205 * buffer.C (insertStringAsLines): dont break paragraph if the this
9206 paragraph is inside an inset which does not permit it!
9208 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9209 also with no chars on this paragraph.
9210 (paintRowText): only paint stuff if it's inside the workarea!
9212 * paragraph.C (breakParagraph): honor keepempty flag and break the
9213 paragraph always below not above.
9215 * BufferView2.C (unlockInset): update the paragraph layout on inset
9216 unlock as we changed paragraph in such a case.
9218 * lyxfind.C (LyXFind): clear the former selection if not found!
9220 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9221 again called in insertChar().
9223 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9224 an inset which uses the whole row!
9225 (rightMargin): ditto.
9226 (insertChar): force a rebreak if we inserted an inset!
9228 2002-03-28 Herbert Voss <voss@lyx.org>
9230 * lyxlength.[Ch]: add inBP() to get the right PS-point
9231 units (BigPoint). With inPixels we have rounding errors
9233 2002-04-11 Juergen Vigna <jug@sad.it>
9235 * text2.C (setCursorFromCoordinates): set iy to the right value.
9236 (setCursor): add check if row->previous exists!
9238 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9239 an old float_type as this was the case in the old code!
9241 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9243 * BufferView2.C (showLockedInsetCursor): use iy
9244 (fitLockedInsetCursor): ditto
9246 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9247 locked insets as there we have the right value now.
9249 * lyxcursor.C: added iy_ variable and iy functions to set to the
9250 baseline of cursor-y of the locked inset.
9252 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9253 (setCursor): fixed for insets which need a full row.
9255 * text.C (rowLastPrintable): don't ignore the last space when before
9256 an inset which needs a full row.
9257 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9258 as last character of a row when before a inset which needs a full row.
9260 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9262 * version.C.in: update date
9264 * text2.C (fullRebreak): try to always return true and see what
9267 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * MenuBackend.C (expand): use Floating::listName
9271 * FloatList.C (FloatList): add listName argument to the built-in
9274 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9275 text associated with the float.
9277 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9279 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9281 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9283 * ShareContainer.h: add a couple of missing typenames.
9285 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9287 * lyxrc.C (getDescription): use _() correctly rather than N_().
9289 2002-03-28 Herbert Voss <voss@lyx.org>
9291 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9292 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9294 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9297 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9299 2002-03-29 Juergen Vigna <jug@sad.it>
9301 * lyxfunc.C (dispatch): add a missing fitCursor call.
9303 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9304 it was scrolled by a cursor move, so return the bool status.
9306 * BufferView.C (fitCursor): return the bool flag also to the outside
9307 world as this is needed.
9309 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9311 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9312 call the edit() as it is not needed (and wrong) IMO.
9313 (workAreaButtonPress): set the screen_first variable before evt.
9314 unlock the inset as this may change screen_first and then we have
9315 a wrong y position for the click!
9317 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9319 * MenuBackend.C (expand): another translation that I missed
9321 2002-03-28 Juergen Vigna <jug@sad.it>
9323 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9325 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9327 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9329 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9331 * MenuBackend.C (expand): fix export/view/update when there is no
9334 2002-03-27 Herbert Voss <voss@lyx.org>
9336 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9339 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * bufferview_funcs.C (currentState): only show paragraph number
9342 for is DEVEL_VERSION is set.
9344 * lyxfunc.C (dispatch): put warning in INFO channel
9346 * MenuBackend.C (expand): translate the name of floats
9348 * FloatList.C (FloatList): mark the float names for translation
9350 * converter.C (convert): use LibScriptSearch
9352 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9354 * MenuBackend.C (defaults): fix default menu (we might as well get
9357 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9362 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * lyxvc.C: reorder includes.
9366 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9368 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9371 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9373 * CutAndPaste.C: change layouts earlier on paste
9374 to avoid crashing when calling getFont()
9376 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9378 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9381 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9383 * WorkArea.C: remove 'Pending' debug message.
9385 * most files: ws cleanup
9387 * buffer.[Ch]: ws changes
9389 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9391 2002-03-21 Juergen Vigna <jug@sad.it>
9393 * tabular.C (SetMultiColumn): collapse also the contents of the
9394 cells and set the last border right. Added a Buffer const * param.
9396 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9401 2002-03-19 Juergen Vigna <jug@sad.it>
9403 * text2.C (clearSelection): reset also xsel_cache.
9405 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9406 where it needs to be called (John tells us to do so too :)
9407 (selectionLost): reset sel_cache.
9409 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9411 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * text2.C (setCursorIntern): put debuging code in INSETS channel
9415 2002-03-19 André Pönitz <poenitz@gmx.net>
9417 * lyxfunc.C: tiny whitespace change
9419 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9421 * ToolbarDefaults.C (init):
9422 * LyXAction.C (init):
9424 * BufferView_pimpl.C (Dispatch):
9425 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9427 2002-03-19 Allan Rae <rae@lyx.org>
9429 * exporter.C (Export): removeAutoInsets before doing anything else.
9430 While I've just introduced a dependency on BufferView this really is
9431 the best place to clean the buffer otherwise you need to cleanup in
9432 a dozen places before calling export or cleanup in a dozen functions
9435 * converter.C (runLaTeX):
9436 (scanLog): Better handling of removeAutoInsets and screen updates.
9438 * lyxfunc.C (dispatch): small whitespace changes
9440 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9442 * WorkArea.C (C_WorkAreaEvent): return a value.
9443 (event_cb): return 1 if we handled the event, 0 otherwise.
9445 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9447 2002-03-18 Juergen Vigna <jug@sad.it>
9449 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9450 (GetAdditionalWidth): ditto.
9454 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9455 inset if we're there actually (probably not used right now but this
9456 is the direction to go for unifying code).
9457 (paste): disable code to clear the selection.
9459 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9460 inside an InsetText and move the check further up as it is in the
9463 * text2.C (pasteSelection): set a selection over the pasted text.
9465 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9467 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9468 and libgraphics to build on Cygwin.
9470 2002-03-15 Juergen Vigna <jug@sad.it>
9472 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9473 inserting an Inset into the paragraph. I know this is not the best
9474 fix but we already use current_view in CutAndPaste so we will remove
9475 all of it's using at the same time.
9477 * buffer.C (sgmlError): deactivated function till it is rewritten in
9478 the right mode, now it can create problems.
9480 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9481 before accessing it.
9483 2002-03-14 Juergen Vigna <jug@sad.it>
9485 * undo_funcs.C (textHandleUndo): do the right thing when updating
9486 the inset after the undo/redo.
9488 * text2.C (setCursor): just some testcode for #44 not ready yet.
9490 * undo_funcs.C (textHandleUndo): set the next() and previous()
9491 pointers of the paragraph to 0 before deleting otherwise we have
9492 problems with the Paragraph::[destructor].
9494 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9495 on a paragraph insertion.
9497 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9499 * buffer.C (asciiParagraph): use += operator for char append to
9502 * paragraph.C (getFontSettings): compare >= not just >
9503 (highestFontInRange): ditto
9506 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9508 * paragraph.C: change several algorithm to be more appripriate for
9509 the problem domain. This is lookip in FontList and in the InsetList.
9511 2002-03-13 André Pönitz <poenitz@gmx.net>
9514 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9516 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9521 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9523 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * Painter.C (display): anon helper function, adjust code for this
9527 (pixmap): remove function.
9529 * Painter.h: remove private display variable.
9531 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9533 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9535 * WorkArea.[Ch]: remove figinset_canvas cruft.
9537 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * lyxtextclass.C (operator): add one item cache optimization.
9541 * bufferlist.h: doxy changes
9543 * bufferlist.C: ws changes
9545 * DepTable.[Ch] (ext_exist): place const in the right spot.
9547 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9549 (workAreaExpose): call resizeInsets when the with BufferView changes.
9550 (Dispatch): adjust for protectedBlank removal
9551 (specialChar): call updateInset if the insert went ok.
9553 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9554 specialChar instead.
9556 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9558 * BufferView.h: doxy change
9560 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9562 * lyxtextclass.C (operator[]): remove non-const version
9563 (defaultLayout): remove non-const version
9565 2002-03-12 Juergen Vigna <jug@sad.it>
9567 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9568 did resize the LyXText too.
9570 * buffer.C (readLyXformat2): set layout information on newly allocated
9573 * tabular.C (OldFormatRead): set layout information on the paragraph.
9575 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9577 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9579 2002-03-11 Juergen Vigna <jug@sad.it>
9581 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9583 (resizeCurrentBuffer): force also the insets to resize themselfes.
9584 (moveCursorUpdate): fixed up for InsetText.
9586 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9589 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9590 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9591 value of Dialogs::tooltipsEnabled().
9592 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9594 2002-03-08 Juergen Vigna <jug@sad.it>
9596 * BufferView_pimpl.C (updateInset): update inset inside inset also
9597 if it isn't inside theLockingInset().
9599 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9601 * buffer.C (asciiParagraph): redo some of the word and line length
9603 (getLists): look for Caption instead of caption.
9605 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9607 * buffer.C (Buffer): initialize niceFile to true
9610 (makeDocBookFile): make sure niceFile is true on exit
9612 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9614 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9616 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9618 * LyXSendto.C: remove.
9619 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9620 * lyx_gui.C: remove now-redundant comment.
9621 * ColorHandler.h: remove forward declaration of class WorkArea.
9622 * lyxfunc.C: remove #include "WorkArea.h".
9624 2002-03-07 Juergen Vigna <jug@sad.it>
9626 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9627 got moved away with the DEPM and also set the inset_owner always
9628 right which before could have been omitted.
9630 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9632 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9633 wanted layout is not found.
9635 2002-03-07 Juergen Vigna <jug@sad.it>
9637 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9639 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9641 * paragraph.C (breakParagraph): use default layout not layout of
9643 (Paragraph): clear ParagraphParameters.
9645 2002-03-06 Juergen Vigna <jug@sad.it>
9647 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9648 otherwise it would not be a valid lenght. Fixed a special case in
9649 the minipage compatibility read where we end the document with a
9652 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9653 was set as it could be 0 for InsetTexts first entry.
9655 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9657 * paragraph.C (writeFile): if layout is empty write out
9658 defaultLayoutName().
9660 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9661 file without named layout we set layout to defaultLayoutName().
9663 2002-03-06 Juergen Vigna <jug@sad.it>
9665 * CutAndPaste.C (copySelection): set layout for new paragraph.
9667 * text.C (prepareToPrint): leave ERT inset left aligned
9668 (leftMargin): don't indent paragraphs inside ERT insets
9670 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9672 * paragraph.C (breakParagraph): dont call clear do the work manually
9674 * paragraph.[Ch] (clear): remove function
9676 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9678 * paragraph.C (Paragraph): dont call clear, the work has already
9681 * lyxtextclass.C (operator): assert if n is empty
9683 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9684 work manually instead.
9686 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9688 * BufferView_pimpl.C: protect selectionLost against text == 0
9690 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9692 * text.C (breakParagraph): fix a setting layout to '0' problem.
9694 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9696 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9697 final location of file, for the included files, and graphics.
9699 2002-03-05 Juergen Vigna <jug@sad.it>
9701 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9703 2002-03-04 Juergen Vigna <jug@sad.it>
9705 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9707 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9708 last column of multicolumn cells.
9709 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9711 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9713 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9714 file if it doesn't go to a temporary file.
9716 * buffer.C (sgmlOpenTag):
9717 (sgmlCloseTag): remove extra newline insertion.
9719 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9721 * text.C (getRowNearY): comment out debug msg
9723 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9725 * text2.C: first -> first_y
9727 * text.C (getRowNearY): add some attemts at a possible
9728 optimization, not working.
9730 * tabular.[Ch]: add BufferParams to several function so that newly
9731 created paragraph can be initialized to he default layotu for the
9734 * tabular-old.C (ReadOld): add buf->params to call of Init
9736 * screen.C: rename text->first to text->first_y
9738 * paragraph.C (breakParagraph): always set layout in the broken
9741 * lyxtextclass.C (Read): remove lowercase
9744 (delete_layout): ditto
9746 * lyxtext.h: rename first -> first_y
9748 * lyxlayout.C (Read): remove lowercase
9751 (obsoleted_by): ditto
9753 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9755 * buffer.C (insertErtContents): add params are to InsetERT
9756 (parseSingleLyXformat2Token): add code to check if a paragraphs
9757 layout really exist.
9758 (parseSingleLyXformat2Token): add params to several inset
9760 (asciiParagraph): remove lowercase, do the layout comparisons with
9763 * BufferView_pimpl.C (cursorNext): first -> first_y
9764 (resizeCurrentBuffer): first -> first_y
9765 (updateScrollbar): first -> first_y
9766 (scrollCB): first -> first_y
9767 (workAreaMotionNotify): first -> first_y
9768 (workAreaButtonPress): first -> first_y
9769 (checkInsetHit): first -> first_y
9770 (cursorPrevious): first -> first_y
9771 (cursorNext): first -> first_y
9772 (Dispatch): add buffer_->params to severl inset contructors
9774 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9776 * lyxlayout.C (Read): remove some debug info that I forgot.
9778 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9779 clean up the code slightly.
9780 (makeLinuxDocFile): ditto
9781 (makeDocBookFile): ditto
9783 * text2.C: layout as string
9785 * text.C: layout as string
9787 * paragraph_pimpl.C: layout as string
9789 * paragraph.[Ch]: layout as string
9791 * lyxtextclasslist.[Ch]: layout as string
9793 * lyxtextclass.[Ch]: layout as string
9795 * lyxtext.h: layout as string
9797 * lyxlayout.[Ch]: layout as string
9799 * lyx_cb.C: layout as string
9801 * bufferview_funcs.C: layout as string
9803 * bufferparams.C: layout as string
9805 * buffer.C: layout as string
9807 * LyXView.[Ch]: layout as string
9809 * LaTeXFeatures.[Ch]: layout as string
9811 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9813 * BufferView_pimpl.C: change current_layout to string, remove
9818 (workAreaButtonRelease): layout as string
9820 * BufferView2.C (unlockInset): adjust
9822 * vspace.C (asLatexCommand): use an explict temp variable.
9824 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9826 * Makefile.am: use FRONTEND_*
9828 2002-03-01 Juergen Vigna <jug@sad.it>
9830 * tabular.C (SetWidthOfMulticolCell): changed to something better
9831 I hope but still work in progress.
9832 (recalculateMulticolumnsOfColumn): renamed function from
9833 recalculateMulticolCells as it is more appropriate now.
9834 (SetWidthOfCell): calculate multicols better.
9836 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9838 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9840 * lyxfunc.C (processKeySym): print sequence also if it is
9841 `deleted' (complete)
9843 * kbsequence.C (print): print sequence even if it is deleted
9844 (complete would be a better word, actually).
9846 * lyxfunc.C (dispatch): print complete options after a prefix key
9848 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9850 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9852 * text2.C (setCharFont): eliminate setCharFont code duplication.
9854 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9857 LFUN_TABULAR_FEATURE (bug #177)
9859 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9861 * Makefile.am: remove figure.h
9863 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9865 * Bufferview_pimpl.C:
9877 * text2.C: remove #include "lyx_gui_misc.h".
9879 * LaTeX.C: added #include <cstdio>
9881 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9883 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9884 that the paragraph following this one can have.
9886 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9888 * vspace.C (asLatexCommand): fix bogus gcc warning
9890 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9892 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9894 * text2.C (setLayout): get rid of redundant code
9896 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9898 * text2.C (incDepth): make sure depth cannot be increased beyond
9901 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9903 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9904 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9906 * PainterBase.h (image):
9907 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9910 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9914 * BufferView_pimpl.C:
9915 * BufferView_pimpl.h:
9935 * sp_spell.C: remove fig inset, and the crap house of
9936 cards that follows it
9938 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9944 * nt_defines.h: move .h into support/
9946 * vms_defines.h: remove
9948 * WorkArea.C: add space in debug output
9952 * buffer.C: add WITH_WARNINGS
9956 * bufferlist.C: s/retrive/retrieve/, add docs
9967 * lyxgui.C: add ID to X error handler
9969 * lyxtestclass.c: fix typo
9971 2002-02-26 Juergen Vigna <jug@sad.it>
9973 * tabular_funcs.C (write_attribute): changed so that some default
9974 attributes are not written at all.
9975 (getTokenValue): set default values before trying to read the
9976 value so we have the return value always set as default if we don't
9977 find the token we search for.
9979 * tabular.C (Write): write bools as bools not as strings!
9981 2002-02-22 Juergen Vigna <jug@sad.it>
9983 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9984 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9986 * text.C (leftMargin): don't add an indent for paragraphs inside
9987 tabular cells (fix #208).
9989 2002-02-21 José Matos <jamatos@fep.up.pt>
9991 * tabular.C (docBook): fixed support for long tables.
9993 2002-02-20 Juergen Vigna <jug@sad.it>
9995 * text2.C (getFont): get the drawing font of the Inset if this
9996 paragraph is inside an inset (only important for InsetERT for now).
9998 * buffer.C (insertErtContents): use new lanugage params in ERT
10001 * CutAndPaste.C: commenting out seemingly uneeded code.
10003 2002-02-19 Allan Rae <rae@lyx.org>
10005 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10006 Iterators might be simple to use but they also get invalidated.
10007 (removeAutoInsets): renamed saved cursor tracking variables and added
10008 some comments to clarify what everything does.
10010 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10017 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10018 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10021 * vc-backend.h: remove #include "support/syscall.h"
10025 * converter.C: rearrange #includes in Lars' approved fashion.
10027 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10028 forward declare class Timeout in the header file.
10030 * XFormsView.C: changes due to the above.
10032 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10033 similar to LyXView.
10035 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10036 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10038 2002-02-18 José Matos <jamatos@fep.up.pt>
10040 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10043 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10045 * a lot of small ws changes
10046 * add a lot of using std::XXX
10047 * use std construcs some places where approp.
10048 * use some exisint stuff from lyxfunctional where approp.
10049 * Make file changes to use partial linking (lets test this now...)
10051 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10055 remove #include "support/syscontr.h" as it's redundant. Always has been.
10063 change Systemcalls::System to Systemcalls::Wait and
10064 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10065 No change of functionality, just reflects the stripped down Systemcalls
10068 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10070 * debug.[Ch]: add a GRAPHICS type to the enum.
10072 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10074 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10076 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10079 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10081 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10082 match the changes below.
10084 * text2.C (toggleInset): if there is not editable inset at cursor
10085 position, try to see if cursor is _inside_ a collapsable inset
10088 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10091 document menu has a nice checkbox
10093 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * lyxlength.C (asLatexString): change PW to output as percent of
10098 * lengthcommon.C: change '%' to 't%'
10100 * lyxfunc.C (dispatch): a few comments from Martin
10102 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10106 * BufferView_pimpl.h:
10107 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10110 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10112 * vspace.C (inPixels): fix compiler warning
10114 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10116 * lyxfunc.C (getStatus): fix status message for disabled commands.
10118 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10120 * BufferView_pimpl.C: fix crash on close buffer
10121 during selection (#227)
10123 2002-01-27 Herbert Voss <voss@lyx.org>
10125 * buffer.C: link old Figure to new graphic inset
10127 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10129 * FontLoader.C (getFontinfo): Change the latex font names in order
10130 to match the names of type1inst.
10132 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10136 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10137 (extchanged): ditto
10139 (remove_files_with_extension): ditto
10140 (remove_file): ditto
10143 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10144 document is smaller than the work area height. Do not initialize
10145 static variables to 0.
10147 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10151 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10152 LFUN_LAYOUT_PARAGRAPHS.
10154 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10155 tabular. It is possible to provide a possible cell, which will
10156 typically be the actcell from the corresponding insettabular
10158 * lyxfunc.C (getStatus): small cleanup; disable
10159 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10162 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10164 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10166 * paragraph.C (startTeXParParams):
10167 (endTeXParParams): new methods. The LaTeX code to
10168 start/end paragraph formatting
10169 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10170 empty (fixes bug #200)
10172 * vspace.C (inPixels): adapt to the change below
10173 (inPixels): [later] more cleanups (remove unused variables)
10175 * lyxlength.C (inPixels): change to use a width and a height as
10178 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10181 Replaced with \paperwidth
10183 * DepTable.C (insert): add std:: qualifier
10185 2002-01-18 Allan Rae <rae@lyx.org>
10187 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10190 * text.C (drawInset): Turned out I didn't know enough about how
10191 rebreaking worked. This fixes most of the redraw problems. I see
10192 an occasional cursor trail when a line is broken now and the cursor
10193 placement can seem out by a few pixels also after a rebreak.
10195 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * buffer.C (parseSingleLyXformat2Token): update because minipage
10198 width is now a LyXLength
10200 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10202 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10205 2002-01-17 Juergen Vigna <jug@sad.it>
10207 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10209 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10210 is set correctly and the inset is updated correctly.
10212 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10214 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10215 the beginning of the loop.
10217 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10219 * lyxrc.C: improve help for use_scalable_fonts
10221 2002-01-17 Allan Rae <rae@lyx.org>
10223 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10225 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10227 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10228 make sure to set their inset_owner to the right value (bug #171)
10230 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10233 * DepTable.C: Implement mtime checking to reduce time spent doing
10236 2002-01-16 Juergen Vigna <jug@sad.it>
10238 * tabular.C (GetAdditionalHeight): one of error fixed.
10240 * lyxrc.C (output): small fix in writing use_pspell.
10242 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10244 * sp_base.h: #include LString.h
10246 2002-01-16 Allan Rae <rae@lyx.org>
10248 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10249 Can someone check this please?
10251 * text.C (drawInset): It was possible that p.row would be removed by
10252 breakAgainOneRow upsetting a few other settings. There may be another
10253 small tweak possible by setting need_break_row = 0 when p.row has been
10254 removed but I don't know enough about the logic here.
10256 2002-01-15 Allan Rae <rae@lyx.org>
10258 * text.C (insertChar): removed conditional truism.
10260 * BufferView2.C (removeAutoInsets): More tweaks.
10261 cur_par_prev could be a stray pointer. Check for trailing empty line
10262 in case last line was cur_par and only had an error inset on it.
10264 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10266 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10269 * vc-backend.C (most methods):
10270 * exporter.C (Export):
10271 * converter.C (convert):
10273 * LyXSendto.C (SendtoApplyCB):
10274 * lyxfunc.C (dispatch):
10278 * lyx_cb.C (AutoSave):
10280 * BufferView_pimpl.C (MenuInsertLyXFile):
10281 * buffer.C (runChktex): use Buffer::filePath().
10283 * buffer.h: rename filename to filename_; rename filepath to
10284 filepath_ and make it private
10285 (filePath): new method
10287 * buffer.C (writeFile): use fileName()
10290 * lyx_main.C (init): fix starting of LyX when the binary is a
10291 link from so,ewhere else.
10293 * minibuffer.C: include <cctype> for isprint
10295 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10297 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10298 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10299 name clash with InsetCollapsable's width function.
10301 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * lastfiles.C: include <iterator>
10305 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10307 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10310 * buffer.C (makeLaTeXFile): ditto.
10311 Also make loop operation more transparent.
10313 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10315 * ToolbarDefaults.C: remove trailing comma closing namespace.
10317 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10319 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10322 * trans.C (Load): comment out unused variable, allowed.
10324 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10326 * minibuffer.[Ch] (append_char): new method to recieve input from the
10327 drop-down completion browser. If a key was pressed, then recieve this
10328 char and append it to the existing string.
10329 (peek_event): modify the positioning data passed to the completion
10330 browser so that it can be placed above the minibuffer rather than below.
10331 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10333 * LyXAction.C (init): alloe error-next for readonly documents.
10335 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10338 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * bufferlist.C (readFile): create the buffer _after_ checking that
10343 * lyxfunc.C (verboseDispatch): fix handling of arguments
10345 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10347 * lyxrc.C: use string::erase() instead of initializing to "".
10350 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10352 * BufferView_pimpl.h:
10353 * BufferView_pimpl.C:
10356 * text2.C: tell X when we have made a selection for copying
10358 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10360 * BufferView_pimpl.C (MenuInsertLyXFile):
10361 * lyxfunc.C (menuNew):
10363 (doImport): add shortcuts to directory buttons
10365 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10368 * lyxfunc.C (setStatusMessage):
10369 (getStatusMessage): new methods
10370 (getStatus):use setStatusMessage instead of setErrorMessage
10371 (dispatch): when function is disabled, set error message here
10372 [instead of in getStatus previously]
10374 * BufferView_pimpl.C (workAreaButtonRelease): update
10375 toolbar/menubar here too.
10377 2002-01-13 Allan Rae <rae@lyx.org>
10379 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10380 Now seems indestructible. Remaining task is to audit all other
10381 code affected by deleteEmptyParagraphMechanism. One small quirk
10382 left is that an empty document with an error in the preamble can
10383 be made to report an error but no error box appears. I don't know
10385 (removeAutoInsets): Improved comments.
10387 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10390 * Thesaurus.C: update for Aiksaurus 0.14
10392 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10394 * text2.C (firstParagraph): removed member function, all uses
10395 replaces with ownerParagraph
10396 (redoParagraphs): here
10397 (updateInset): here
10398 (toggleAppendix): here
10399 * BufferView2.C (insertErrors): here
10400 (setCursorFromRow): here
10402 2002-01-13 Allan Rae <rae@lyx.org>
10404 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10405 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10406 There is still a way to segfault this although you may have to do this
10407 multiple times: Have an InsetERT with an unknown command in it.
10408 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10409 <down-arrow>, <Enter> again, View->DVI, BANG!
10411 * text2.C (setCursor):
10412 (deleteEmptyParagraphMechanism):
10413 * lyxtext.h (setCursor):
10414 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10415 Making use of the return value may help fix other bugs.
10417 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10419 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10421 * LyXView.C (updateMenubar): call MenuBar::update here
10422 (updateToolbar): but not here
10423 (showState): do not update toolbar/menubar
10425 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10426 should need to care about that.
10428 * lyxfunc.C (verboseDispatch): simplify a bit
10429 (getStatus): have a version which takes a pseudoaction, and
10430 another which requires a (kb_action,string).
10432 * LyXAction.C (retrieveActionArg): make it work also when action
10433 is not a pseudo-action.
10434 (getActionName): simplify a bit
10437 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * lyxfunc.C (verboseDispatch): new families of methods with
10440 several ways to specify a command and a bool to indicate whether
10441 the command name and shortcut should be displayed in minibuffer
10442 (eventually, we could extend that to a finer bitmask like
10443 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10444 (dispatch): the pristine dispatch command which just, well,
10445 dispatchs! Note it still sets its result to minibuffer; I'm not
10448 * lyxfunc.h: remove setHintMessage
10450 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10452 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * BufferView_pimpl.C (specialChar): delete new inset if we have
10455 not been able to insert it.
10457 * kbmap.C: revert to using int instead of kb_action, since all we
10458 are dealing with is pseudo-actions.
10460 * LyXAction.C (searchActionArg): change to return int instead of
10461 kb_action, since the result is a pseudoaction.
10463 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10465 * buffer.C (insertErtContents): Fix (partially) the font bug.
10467 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10469 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10470 as the other one is broken on my machine!
10472 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10475 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10477 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10479 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10480 reflect their actual use. Provide compatibility code for older lyxrc
10483 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10485 change names of popup font variables in line with the changes to lyxrc.C
10487 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * buffer.C (asciiParagraph): avoid outputing a word twice after
10492 * lyxrc.C (getDescription): document that document_path and
10493 template_path can be empty.
10495 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * LaTeXFeatures.C (getMacros):
10498 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10500 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10502 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10504 (getPackages): rename feature "floats" to "float". Use an array to
10505 iterate over 'simple' features (i.e. just a \usepackage). Add
10506 handling of "amsmath" (renamed from "amsstyle").
10508 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10510 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10513 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10515 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10516 FuncStaus::FuncStatus & FuncStaus::some_method().
10518 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10520 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10521 of the func_satus stuff. Edited and massaged in various ways by
10524 * lyxfunc.C (getStatus): use FuncStatus
10526 2002-01-08 Juergen Vigna <jug@sad.it>
10528 * text.C (nextBreakPoint): use function Inset::isChar().
10530 * paragraph.C (TeXOnePar): use function
10531 Inset::forceDefaultParagraphs.
10533 * buffer.C (latexParagraphs): use function
10534 Inset::forceDefaultParagraphs.
10536 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10538 * lyx_gui.C (init): set the style of the menu popups to
10539 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10541 2002-01-07 Juergen Vigna <jug@sad.it>
10543 * text.C (setHeightOfRow): small fix
10544 (prepareToPrint): don't look at alignment if we don't have the place
10547 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10549 * box.C: New file. Move the Box methods and functions out of box.h,
10550 following Lars' suggestion.
10552 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10554 * box.h: #include "support/LOstream.h", needed for inlined function.
10557 * lyxtextclasslist.C: added some using std declarations.
10559 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10561 * box.h: make signed dimensions to allow insets wider than
10562 the screen (bug #162)
10564 * BufferView_pimpl.C: add some insetHit debug
10566 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10568 * vc-backend.C: add FIXME
10570 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * lyxfunc.C (getStatus): enable code for showing math font status
10575 2002-01-07 Juergen Vigna <jug@sad.it>
10577 * text.C (nextBreakPoint): removed debug output not needed anymore.
10579 2002-01-06 Juergen Vigna <jug@sad.it>
10581 * text.C (nextBreakPoint): fixed up this function we had this bug
10582 since ever but now hopefully we break row better.
10583 (insertChar): we have to check if an inset is the next char as it
10584 could now happen that a large inset is causing a break.
10586 2002-01-05 Juergen Vigna <jug@sad.it>
10588 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10589 if it doesn't like to be drawed.
10591 2002-01-04 Juergen Vigna <jug@sad.it>
10593 * BufferView2.C (lockInset): forgot to set a cursor.
10595 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10597 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10599 * FormMathsPanel.C:
10602 * form_maths_panel.C:
10603 * form_maths_panel.h:
10604 * form_maths_panel.fd: implemented sub- and super- buttons in math
10607 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10608 (or ^ space) to be used as in TeX (req'd by André).
10610 * lyxfunc.C: Allow ^ and _ again to be used both as
10611 super/subscript (mathed) and as themselves (in text).
10613 2002-01-03 Allan Rae <rae@lyx.org>
10615 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10616 "LyX" or the filename of the current buffer if it has one. This is a
10617 modified form of John Levon's patch.
10619 * XFormsView.C (setWindowTitle): also set icon title.
10621 * LyXView.h (setWindowTitle): signature changed.
10622 * XFormsView.h (setWindowTitle): ditto.
10624 2002-01-02 Juergen Vigna <jug@sad.it>
10626 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10628 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10630 * screen.C (topCursorVisible): introduce a temp var for
10631 text->cursor.row(), handle the case where this row is null. (kindo
10634 * text2.C (setCursor): add a couple of asserts.
10636 * paragraph.h (inset_iterator): add -> operator
10638 * paragraph.[Ch] (autoDeleteInsets): remove member function
10640 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10641 cursor pos correctly and handle inset deletion by itself.
10642 (insertErrors): move iterator declaration out of for expression
10644 * lyxtextclass.C: add <algorithm>
10646 * Makefile.am: added the new files to sources, removed layout.C
10648 * layout.C: removed file
10650 * layout.h: remove LYX_DUMMY_LAYOUT
10652 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10656 * lyxtextclass.[Ch]:
10657 * lyxtextclasslist.[Ch]: new files
10659 * include order changes to a lot of files, also changes because of
10662 2001-12-27 Juergen Vigna <jug@sad.it>
10664 * buffer.C (asciiParagraph): more fixes.
10666 * tabular.C (ascii): make ascii export support export of only the
10667 data separated by a column-delimiter.
10668 (ascii): better support for ascii export.
10670 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10672 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10674 * tabular_funcs.C: use a "using std::getline" instead of the
10675 previous fix from Angus (necessary for cxx + lyxstring)
10677 2001-12-24 Juergen Vigna <jug@sad.it>
10679 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10681 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10682 problems. First check a minipage also if we have some ert-contents
10683 (not only on par->size(), second set the right depth of the paragraph
10684 on the relink to the root-paragraph-list!
10686 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10687 which then did not anymore update the main paragraphs on undo/redo!
10689 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10691 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10692 code. Support all font-changing funcs (even those which are not in
10693 menu currently). Support for reporting font settings in
10694 mathed (disabled until Andre provides a function on mathed's side).
10696 * func_status.h (toggle): small helper function to set toggle
10699 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10701 * tabular_funcs.C: getline -> std::getline
10703 2001-12-21 Juergen Vigna <jug@sad.it>
10705 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10706 accessed and could be 0 (I couldn't generate this but it seems
10709 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10712 * tabular_funcs.h: here and include iosfwd
10714 2001-12-20 Juergen Vigna <jug@sad.it>
10716 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10717 inside inset but undo_par was.
10719 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10721 * Thesaurus.C: always include <config.h> in sources.
10725 * box.h: do not include <config.h> in header files
10727 * text.C (paintLastRow): remove unused variable
10729 * text.C (transformChar):
10731 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10733 * Painter.C (text):
10734 * font.C (width): rewrite to use uppercase() instead of
10737 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10739 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10741 * lyxfind.C: clean up of find failure position change
10743 2001-12-20 Juergen Vigna <jug@sad.it>
10745 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10747 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10748 (TeXRow): added to LaTeX a single tabular row.
10749 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10750 (Latex): simplified and finally good LT-h/f support.
10751 (various_functions): just small adaptions for LT-h/f support.
10753 * tabular_funcs.[hC]: added and moved here all not classfunctions
10756 2001-12-19 Juergen Vigna <jug@sad.it>
10758 * tabular.[Ch]: better support for longtabular options (not finished
10761 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10763 * text.C (paintLastRow): use the label font instead of the font of
10764 the last character to compute the size of *_BOX. This makes more
10765 sense and avoids a crash with empty paragraphs.
10766 Use Painter::rectangle to draw EMPTY_BOX.
10768 2001-12-19 Juergen Vigna <jug@sad.it>
10770 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10771 the paragraphs if the replaced paragraph is not the first one!
10772 Tried to delete not used paragraphs but does not work yet so for
10773 now it's inside #ifdef's and by default off!
10775 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10777 * MenuBackend.C: include "lyx_main.h" instead of declaring
10778 lastfiles (actually was declared as LastFiles* instead of a
10781 2001-12-17 Juergen Vigna <jug@sad.it>
10783 * tabular.C (AppendColumn): applied John's fix
10785 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10789 * BufferView_pimpl.h:
10790 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10793 * box.h: new start of class for above
10795 * lyxfunc.C: ignore space-only minibuffer dispatches.
10796 Show the command name when it doesn't exist
10798 * minibuffer.C: don't add empty lines to the history
10800 * minibuffer.C: add a space on dropdown completion
10802 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10804 * text.C: fix line above/below drawing in insets
10806 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10808 * lyxlength.C (LyXLength): Initialize private variables.
10810 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10812 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10813 when inserting error insets.
10815 2001-12-13 Juergen Vigna <jug@sad.it>
10817 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10818 actually sometimes the before-paragraph.
10819 (setUndo): don't clear the redostack if we're not actually undoing!
10821 2001-12-06 Juergen Vigna <jug@sad.it>
10823 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10824 and fixed redoing of main paragraph, so we can use it now ;)
10826 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10828 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10830 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10833 2001-12-13 André Pönitz <poenitz@gmx.net>
10836 * undo_func.C: minor cleanup
10838 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10840 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10841 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10842 font in urw-fonts package which is marked as -urw-fontspecific and
10843 does not work (incidentally, changing the encoding in the
10844 fonts.dir of this package to -adobe-fontspecific fixes the
10847 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10848 is a crash when undoing first paragraph (Juergen, please take a
10849 look). THis does not mean the undo fix is wrong, just that it
10852 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10853 the (Paragraph*) version when needed instead of duplicating the
10856 * text.C (workWidth): use Inset::parOwner to find out where the
10857 inset has been inserted. This is a huge performance gain for large
10858 documents with lots of insets. If Inset::parOwner is not set, fall
10859 back on the brute force method
10861 * paragraph_pimpl.C (insertInset):
10862 * paragraph.C (Paragraph):
10863 (cutIntoMinibuffer): set parOwner of insets when
10864 inserting/removing them
10866 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10868 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10874 * mathed/formulabase.C:
10875 * mathed/math_cursor.[Ch]:
10876 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10879 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10881 * lyxlength.[Ch] (operator!=): new function
10883 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10885 * text.C (workWidth): use Inset::parOwner to find out where the
10886 inset has been inserted. This is a huge performance gain for large
10887 documents with lots of insets. If Inset::parOwner is not set, fall
10888 back on the brute force method
10890 * paragraph_pimpl.C (insertInset):
10891 * paragraph.C (Paragraph):
10892 (cutIntoMinibuffer): set parOwner of insets when
10893 inserting/removing them
10895 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10897 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10899 * tabular-old.C (getTokenValue):
10900 * tabular.C (getTokenValue):
10901 (write_attribute): new versions for LyXLength
10902 (everywhere): adjust the use of widths
10904 * tabular.h: change the type of widths from string to LyXLength
10906 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10908 * paragraph.C: fixed missing line number count when exporting
10909 Environments to LaTeX file
10911 * buffer.C: added informational message for checking line numbers.
10913 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10915 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10916 paragraph, do the 'double space' part, but not the 'empty
10919 * text.C (workWidth): small optimization
10920 (getLengthMarkerHeight): use minimal size for negative lengths.
10922 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10924 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10926 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10928 2001-12-11 André Pönitz <poenitz@gmx.net>
10931 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10933 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10935 * text2.C: keep selection on a setFont()
10937 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10939 * lyx_cb.C: another bv->text misuse, from insert label
10941 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10944 * kbsequence.C: re-instate nmodifier mask
10946 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10948 * lyx_main.h: make lyxGUI private.
10950 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10952 * lyxfind.C: place the cursor correctly on failed search
10954 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10956 * text.C (getLengthMarkerHeight): for small heights, the arrows
10957 are not always on top/bottom of the text
10958 (drawLengthMarker): smaller arrows; take the left margin in
10959 account; draw also vfills.
10961 (paintLastRow): remove special code for vfill and standard spaces,
10962 since everything is handled in drawLengthMarker now.
10964 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * buffer.C (insertErtContents): try to handle font and language
10967 interaction a bit better.g
10969 * ColorHandler.C (updateColor): change the hash to cover the whole
10970 LColor enum, ws cleanup
10971 (getGCLinepars): ditto
10972 (getGCLinepars): only lookup in the linecache once.
10974 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10976 * iterators.C (operator++): Make the iterator more robust
10978 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10980 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10982 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10985 * text.C: better added space drawing
10987 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10990 * BufferView2.C: fix layout combo update on inset unlock
10992 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10994 * Makefile.am: don't compile unused files
10996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11000 * LyXAction.C: remove old LFUN_LAYOUTNO
11002 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11004 * paragraph_pimpl.h:
11005 * paragraph_pimpl.C: isTextAt() doesn't need font param
11007 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11010 * lyxlex.C: little cleanup
11012 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11014 * BufferView_pimpl.C: fix insertAscii for insets
11016 2001-12-05 Juergen Vigna <jug@sad.it>
11018 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11019 set the right font on the "multi" paragraph paste!
11021 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11027 * lyxlength.C: remove out-commented code.
11029 * BufferView_pimpl:
11043 * vc-backend.C: change "while(" to "while ("
11045 * lyxlength.[Ch]: add zero function to check if length is zero or
11047 * lyxgluelength.C: use it
11049 2001-12-05 Allan Rae <rae@lyx.org>
11051 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11052 Works for 2.95.3, from what I understand of Garst's reports this should
11053 work for other g++ versions. We're screwed if the abs(int) definition
11054 changed between bugfix releases of gcc.
11056 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11058 * text.C: fix chapter label offset !
11060 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11063 * text.C: fix hfill at end of line, clean up
11065 2001-12-04 Juergen Vigna <jug@sad.it>
11067 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11068 that we force an update of the inset and it's owners if neccessary.
11070 2001-12-03 Juergen Vigna <jug@sad.it>
11072 * text.C (rowLast): simplified code
11074 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11076 * lyxfunc.C: fix show options on timeout
11078 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11080 * screen.C (topCursorVisible): scroll half a page when the cursor
11081 reached top of bottom of screen
11083 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11085 * minibuffer.C: deactivate on loss of focus
11087 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * vspace.[Ch] (operator!=): add operator.
11091 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11093 * BufferView_pimpl.C: refuse to open an inset when
11094 there's a selection.
11096 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11098 * BufferView_pimpl.C: allow to click on RHS of full row insets
11100 2001-11-30 Juergen Vigna <jug@sad.it>
11102 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11103 insets for undo reasons.
11105 2001-11-28 André Pönitz <poenitz@gmx.net>
11107 * vspace.[Ch]: cosmetical changes
11109 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11119 * kbsequence.C: part re-write of old kb code
11122 * WorkArea.C: remove Lgb_bug_find_hack
11124 2001-11-30 José Matos <jamatos@fep.up.pt>
11126 * buffer.C (makeDocBookFile): add a comment to point a hack.
11127 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11128 Fixed a double write of labels.
11130 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11133 * LaTeX.h Fixed bug in LaTeX class where it would not
11134 re-run latex if no depfiles were changed, but the .dvi was removed.
11136 2001-11-28 André Pönitz <poenitz@gmx.net>
11138 * all the files from the change on 2001/11/26:
11139 use lyx::layout_type instead of LyXTextClass::size_type
11140 use lyx::textclass_type instead of LyXTextClassList::size_type
11142 2001-11-29 Juergen Vigna <jug@sad.it>
11144 * text.C: added support for paragraph::isFreeSpacing()
11146 * buffer.C: same as above
11148 * paragraph.h: inserted isFreeSpacing() function to enable
11149 FreeSpacing inside InsetERT.
11151 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11152 of the paragraph's in the cut/copy buffer to 0!
11154 * text2.C (removeRow): remove the assert as it can!
11156 * lyxtext.h: added helper function firstRow returning firstrow and
11157 made firstrow private again.
11159 * BufferView2.C (lockInset): don't relock if we're already locked!
11161 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11162 the only paragraph.
11163 (removeRow): added Assert::(firstrow)
11165 * debug.C: forgot to add INSETTEXT here.
11167 2001-11-28 Juergen Vigna <jug@sad.it>
11169 * sp_spell.C (initialize): changed error text to more general
11170 spellchecker command use (not only ispell!)
11172 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11174 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11176 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11178 * vspace.C: initialise lyxgluelength on failure
11180 2001-11-28 Allan Rae <rae@lyx.org>
11182 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11183 declaration & definition that looks like a function declaration.
11185 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11187 * BufferView2.C (copy):
11188 (copyEnvironment): do not clear the selection when doing a copy.
11190 * text.C (paintFirstRow): compilation fix
11192 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11194 * tabular.C (Latex): correct line count when writing latex.
11196 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11198 * paragraph_pimpl.h:
11199 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11202 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11206 * LColor.C: change vfillline->added_space
11208 * text.C: add markers and text for added space
11210 * vspace.C: fix comment
11212 2001-11-28 André Pönitz <poenitz@gmx.net>
11214 * paragraph.C: whitespace changes
11215 * all the other files from the change on 2001/11/26:
11216 change *::pos_type into lyx::pos_type
11218 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11220 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11221 language of the document when inserting error insets.
11223 2001-11-26 André Pönitz <poenitz@gmx.net>
11225 * BufferView_pimpl.[Ch]:
11233 * paragraph_pimpl.[Ch]:
11236 * text2.C: reduce header dependencies, introduce type for positions
11238 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11240 * <various>: change to use Alert.h
11242 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11244 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11245 when encountering an unknown token.
11246 (readLyXformat2): Show an error message if there were unknown tokens.
11248 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11251 * BufferView_pimpl.C:
11255 * text2.C: use par->isInset()
11257 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11259 * paragraph_pimpl.h:
11260 * paragraph_pimpl.C: cleanup
11262 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11264 * text2.C (removeRow):
11265 * text.C (setHeightOfRow): remove useless (and costly) call to
11268 2001-11-20 Allan Rae <rae@lyx.org>
11270 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11271 Now need Inset*::checkInsertChar() to return true for appropriate
11272 cases so that the characters in the minibuffer will actually be
11275 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11277 * text.C: change the order of the includes.
11278 (workWidth): initialize it at once.
11279 (workWidth): make maxw unsigned
11280 (setHeightOfRow): remove unused variable (inset)
11281 (selectSelectedWord): remove unused variable (inset)
11282 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11284 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11286 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11287 server is not running.
11289 (closeConnection): add debug info when server is disabled.
11291 * ColorHandler.C (getGCForeground): send debug message to GUI
11294 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11296 * kbmap.C (bind): modify because return conventions of
11297 kb_sequence::parse have changed.
11299 * kbsequence.C (parse): only ignore spaces and not any stupid
11300 control character. This avoids tests like s[i] <= ' ', which are
11301 guaranteed to fail with 8bit characters and signed chars.
11302 Change return code to string::npos when there have been no error
11303 (0 was a bad idea when error is at first character)
11305 2001-11-14 José Matos <jamatos@fep.up.pt>
11308 * buffer.C (simpleDocBookOnePar): removed unused argument.
11310 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11312 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11313 insets which are part of a word. Paragraph::isLetter takes care of
11314 that now. Use Paragraph::isInset to identify insets.
11315 (selectSelectedWord): do not test for hyphenation break.
11317 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11318 that protected spaces are considered as spaces.
11320 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11323 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11326 * lyxserver.C: fix it. and small cleanup.
11328 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11330 * BufferView_pimpl.C: use inline helpers
11333 * LaTeXFeatures.C: fix typos
11336 * Spacing.C: move spacing_string into class
11338 * ToolbarDefaults.C: move stuff into namespace anon
11340 * layout.h: update enum
11342 * lyxfunc.C: use better debug
11344 * minibuffer.h: fix typo
11348 * WorkArea.C: add and use Debug::WORKAREA
11352 * text2.C: code re-organisation, inline helpers
11354 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11356 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11357 std::vector.empty().
11359 2001-11-09 Allan Rae <rae@lyx.org>
11361 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11362 '\n's after tables. Tabular and ERT inset work now makes this no
11365 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11368 * minibuffer.C: fix crash, improve drop-down completion
11370 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11373 * lyxserver.C: invalidate fd's when doing endPipe()
11375 2001-11-08 José Matos <jamatos@fep.up.pt>
11377 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11378 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11381 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11383 2001-11-07 José Matos <jamatos@fep.up.pt>
11386 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11389 * buffer.C (sgmlOpenTag):
11390 * buffer.C (sgmlCloseTag): removed debug info.
11392 * buffer.h (sgmlOpenTag):
11393 * buffer.h (sgmlCloseTag): made public.
11395 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11397 * buffer.C (saveParamsAsDefaults):
11398 * lyx_cb.C (MenuLayoutSave): remove
11400 * LyXAction.C (init):
11402 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11404 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11406 * buffer.C (setPaperStuff): removed from here...
11408 * bufferparams.C (setPaperStuff): ... and moved there.
11410 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11414 * XFormsView.C: add support for drop-down completion
11416 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11418 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11421 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11423 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11426 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11428 * lyx_main.C: change ref to known bugs
11430 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11432 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11433 to work around older babel problems.
11435 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11437 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11439 2001-10-24 Juergen Vigna <jug@sad.it>
11441 * tabular-old.C (ReadOld): below variable changes reflected.
11443 * tabular.[Ch]: added ltType struct for longtable header/footer
11444 defines and changed all instances where they are used. Added
11445 future support for double top/bottom rows.
11447 2001-10-24 José Matos <jamatos@fep.up.pt>
11449 * buffer.h (docbookHandleCaption):
11450 * buffer.C (docbookHandleCaption): removed unused function.
11451 (makeDocBookFile): moved docbook supported version to v4.1.
11453 2001-10-24 José Matos <jamatos@fep.up.pt>
11456 * tabular.C (docbookRow): new function to export docbook code of a row.
11457 (DocBook): now honors the longtable flags.
11459 2001-10-23 José Matos <jamatos@fep.up.pt>
11462 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11463 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11465 * buffer.C (makeLinuxDocFile):
11466 (makeDocBookFile): reworked the preamble, more clean, and with
11467 support for lyx defined entities. Changed the document declaration
11468 to be more XML friendly.
11470 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11471 if we need to output XML that should be done with a filter.
11473 2001-10-22 Juergen Vigna <jug@sad.it>
11475 * sp_pspell.h (class PSpell): add alive function needed in the
11476 controller to see if the spellchecker could be started.
11478 2001-10-22 Juergen Vigna <jug@sad.it>
11480 * buffer.C (insertStringAsLines): modify the font for inserting
11481 chars in certain conditions by calling checkInsertChar(font).
11483 2001-10-19 Juergen Vigna <jug@sad.it>
11485 * text.C (workWidth): use getRow instead of wrong algorithm.
11486 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11488 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11493 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11495 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11497 * text.C (workWidth): do not search for the exact row when
11498 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11499 optimization for big documents.
11501 2001-10-18 Juergen Vigna <jug@sad.it>
11503 * text.C (workWidth): new function with added Inset * parameter.
11505 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11507 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11509 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11510 change return type of getColumnNearX.
11513 * text.C (changeRegionCase): use uppercase/lowercase instead of
11516 (rightMargin): simplify code by factoring out the uses of
11521 (appendParagraph): use Paragraph::size_type
11523 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11525 * vspace.C (asLatexString): add a missing break
11527 2001-10-15 Herbert Voss <voss@perce.de>
11529 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11531 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11533 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11536 2001-10-10 André Pönitz <poenitz@gmx.net>
11538 * lyxfunc.C: removed greek_kb_flag.
11540 2001-10-10 Herbert Voss <voss@perce.de>
11542 * lyx_main.C: delete global string help_lyxdir.
11544 2001-10-09 Herbert Voss <voss@perce.de>
11546 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11548 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11550 * lyx_main.C: added global string help_lyxdir.
11552 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11554 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11556 * lyxrc.C (set_font_norm_type): support iso8859-4
11558 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11560 * LaTeX.C (deplog): add another regex for MikTeX
11562 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11564 * lyxrc.C (set_font_norm_type): support iso8859-3
11566 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11568 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11570 * LaTeXFeatures.C: remove special case of french and index
11572 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11573 before \begin{document}). This solves several incompatibilities.
11575 2001-10-03 Garst Reese <reese@isn.net>
11577 * lyx_cb.C: change CheckTex error msg.
11579 2001-10-03 José Matos <jamatos@fep.up.pt>
11581 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11583 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11585 * .cvsignore: update
11587 * lyx_main.C (commandLineVersionInfo): use new style version info.
11589 * buffer.C (writeFile):
11591 (makeLinuxDocFile):
11592 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11594 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11596 * version.h: update to use stuff in version.C
11598 * version.C.in: new file. Contains version information determined
11599 at compile time. This is a merging of version.h and
11602 2001-10-03 Juergen Vigna <jug@sad.it>
11604 * BufferView_pimpl.C (update): don't change "dirty" status in
11607 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11609 * WorkArea.C (c-tor): re-position version string slightly.
11611 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11613 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11614 revert to previous code.
11616 WorkArea.[Ch]: (show, destroySplash): methods removed.
11618 WorkArea.C: rework code so that it's an amalgam of the codes before and
11619 after the splash screen was moved to WorkArea.
11621 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11624 * vspace.C (inPixels):
11627 * buffer.C (insertStringAsLines):
11628 (asciiParagraph): fix types to be large enough
11630 * lyxlex_pimpl.h: change member status from short to int
11632 * layout.h: fix type of endlabeltype
11635 * kbsequence.C (parse): change return type to string::size_type
11637 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11640 * Bullet.C (bulletSize):
11641 (bulletEntry): do not use short ints as parameters
11643 * BufferView2.C (insertLyXFile): change a char to an int.
11645 * WorkArea.C (WorkArea): remove unneeded floats in computation
11647 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11649 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11651 * paragraph.C (asString): Do not ignore newline/hfill chars when
11652 copying to the clipboard.
11654 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11656 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11657 after a multi-line inset.
11659 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11661 * paragraph.C (validate): Set NeedLyXFootnoteCode
11663 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11665 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11666 and decrease-error to decrease.
11668 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11670 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11671 it more readable (should be equivalent)
11673 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11675 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11677 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11679 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11680 of a cursor (row, etc.) after a character has been deleted
11681 (deleteEmptyParagraphMechanism): call the method above on _all_
11682 cursors held by the LyXText when a double space has been
11685 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11687 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11689 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11691 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11692 background. Use greyOut() and the new show() methods to toggle between
11693 the foreground and background. Add code to remove the splash after
11694 its initial showing.
11696 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11697 (create_forms): no longer call Dialogs::showSplash.
11699 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11701 * .cvsignore: add version_info.h
11703 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11705 * version_info.h.in: new file
11707 * Makefile.am: add version_info.h.in
11709 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11710 version_info.h instead of VERSION_INFO
11712 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11714 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11715 The ERT inset now returns string().
11717 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11719 * lyxtext.h, text.C (selectNextWord): renamed as
11720 selectNextWordToSpellcheck.
11722 * text.C (selectNextWordToSpellcheck): Modified to not select
11723 words inside an ERT inset.
11725 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11727 * lyx_cb.C (MenuLayoutSave): change a bit the question
11729 * sp_base.h: include <sys/types.h>
11731 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11733 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11735 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11737 * several files: fix typos in user-visible strings
11739 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11741 * text2.C (pasteSelection): do not set the selection, since it
11742 will be cleared later. Actually, the intent was to fix the way the
11743 selection was set, but I figured rmoving the code was just as good.
11745 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11747 * FontLoader.C (available): Check if font is available without
11750 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11752 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11754 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11756 * lyxrc.[Ch]: added display_graphics variable and associated code.
11758 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * bufferparams.C (hasClassDefaults): new method. Returns true if
11761 the buffer parameters correspond to known class defaults
11763 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11765 * XFormsView.C (show): set minimum size to the main window.
11767 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11769 * text2.C (copySelection):
11771 * lyxfind.C (LyXReplace):
11772 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11773 LyXText::selectionAsString.
11775 * paragraph.C (asString): add "label" argument to the second form
11777 * text2.C (selectionAsString): add "label" argument and pass it to
11778 Paragraph::asString.
11780 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11782 * lyx_main.C (commandLineHelp): remove version information
11784 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11786 * lyx_main.C: add -version commandline option
11788 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * paragraph.h: make the optional constructor arg required instead.
11791 some modifications to other files because of this.
11793 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11795 * lyxserver.C (C_LyXComm_callback): make it static
11797 * lyx_main.C (error_handler): make it static
11799 * lyx_gui.C (LyX_XErrHandler): make it static
11801 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11803 * WorkArea.C: make the extern "C" methods static.
11805 * Makefile.am (lyx_LDADD): simplify
11807 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11809 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11810 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11812 * LyXAction.C (init):
11813 * lyxfunc.C (dispatch): associated code removal.
11815 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11817 * lyxfont.h (isSymbolFont): shut off warning
11819 * text.C (setHeightOfRow):
11820 (getVisibleRow): fix crash with empty paragraphs which have a
11823 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11825 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11828 2001-09-04 José Matos <jamatos@fep.up.pt>
11831 * tabular.C (docbook): rename docBook method to docbook.
11833 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11835 * Makefile.am: add dependencies to main.o.
11837 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11839 * FontLoader.C (available): Return false if !lyxrc.use_gui
11841 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11843 * FontInfo.C (query):
11844 * converter.C (view):
11845 * importer.C (Import):
11846 * exporter.C (Export): Can not -> cannot.
11848 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11850 * BufferView_pimpl.C: allow to create index inset even if
11853 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11855 * buffer.C (getLists): replace boost::tie code with an explicit pair
11856 as boost::tie can break some compilers.
11858 * iterators.h: Added a std:: declaration to the return type of
11861 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11863 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11866 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11868 * iterators.[Ch]: New files. Provide paragraph iterators.
11870 * buffer.C (changeLanguage): Use paragraph iterators.
11871 (isMultiLingual): ditto
11873 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11875 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11877 * FontLoader.C: Support for cmr font.
11879 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11881 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11882 (available): New method.
11884 * FontInfo.C (getFontname): Use scalable fonts even when
11885 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11888 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11890 * converter.C (Formats::view): reverted! Incorrect fix.
11892 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11894 * converter.C (Formats::view): only output the -paper option
11895 if the dvi viewer is xdvi, thereby fixing bug #233429.
11897 2001-08-23 Herbert Voss <voss@perce>
11899 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11901 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11903 * Spacing.h (Spacing): Set space to Default on in the default
11906 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11908 * vc-backend.h (RCS::versionString): add RCS to version
11909 (CVS::versionString): add CVS to version
11911 * vc-backend.C (scanMaster): do not add CVS to version.
11912 (scanMaster): do not add RCS to version
11914 * lyxvc.C (versionString): new method
11916 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11918 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * Spacing.C (set): initialize fval
11922 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11924 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11927 2001-08-16 Juergen Vigna <jug@sad.it>
11929 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11931 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11933 * BufferView_pimpl.C:
11936 * text2.C: setParagraph takes linespacing now
11938 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11940 * LyxAction.C: add internal LFUN_CITATION_INSERT
11942 * LyXView.C: actually apply fix
11944 * bufferlist.C: fix open non-existent file
11946 * lyxfind.C: fix indentation
11948 * lyxfunc.C: remove unneeded assert, fix typo
11950 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11952 * MenuBackend.C: use "Floatname List"
11954 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11956 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11957 when converting LaTeX layout to insetERT.
11958 Generate a non-collapsed float when reading old float
11960 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11962 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11965 2001-08-13 Juergen Vigna <jug@sad.it>
11967 * text.C (fill): return 0 instead of 20 as this seems to be the more
11970 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11972 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11975 2001-08-13 Juergen Vigna <jug@sad.it>
11977 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11979 (SearchBackward): comment out the unlocking of the inset_owner this
11980 should not be needed!
11982 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11984 * Many files: Remove inherit_language, and add latex_language
11986 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11987 collapsible insets.
11989 2001-08-10 Juergen Vigna <jug@sad.it>
11991 * text.C (prepareToPrint): fixed hfill-width in draw!
11993 * BufferView2.C (selectLastWord): save the selection cursor as this
11994 now is cleared in the function LyXText::clearSelection!
11996 2001-08-08 Juergen Vigna <jug@sad.it>
11998 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11999 BACKSPACE type functions.
12001 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12002 is only cutted from the document but not put in the cut-buffer, where
12003 still the old stuff should be.
12005 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12007 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12009 * tabular.C (SetWidthOfCell): fixed special case where the width
12011 (LeftLine): handle '|' in align_special.
12013 (LeftAlreadyDrawed): ditto
12014 (SetWidthOfCell): ditto
12016 2001-08-07 Juergen Vigna <jug@sad.it>
12018 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12020 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12023 * lyxlex.[hC]: ditto
12025 2001-08-06 Juergen Vigna <jug@sad.it>
12027 * text.C (getVisibleRow): fix up row clearing a bit.
12029 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12031 * minibuffer.C: make sure the X server sees the changes in the input.
12033 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12035 * paragraph.C (getFont): split into...
12036 (getLabelFont): this
12037 (getLayoutFont): and this
12038 * paragraph_pimpl.C (realizeFont): calling this
12040 * text2.C (getFont): split into...
12041 (getLayoutFont): this
12042 (getLabelFont): and this
12043 (realizeFont): all three calling this
12045 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12048 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12050 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12052 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12054 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12055 layouts from the Quote inset insertion.
12057 2001-08-03 Juergen Vigna <jug@sad.it>
12059 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12061 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12062 only if status not is already CHANGED_IN_DRAW (second level).
12064 * text.C (draw): don't set the need_break_row when inside an
12067 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * buffer.C (parseSingleLyXformat2Token): handle more latex
12072 * bufferview_funcs.[hC]: change function names to
12073 begin with small char, adjust other files.
12075 2001-08-02 André Pönitz <poenitz@gmx.net>
12078 BufferView_pimpl.C: remove broken special code for math-greek
12080 2001-08-02 Juergen Vigna <jug@sad.it>
12082 * BufferView_pimpl.C (update): redone this function so that we
12083 update the text again if there was a CHANGE_IN_DRAW.
12085 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12086 (drawFromTo): added a new internal bool which is used by draw() and
12088 (general): some cursor drawing problems fixed.
12090 2001-08-01 Juergen Vigna <jug@sad.it>
12092 * lyxfind.C (LyXFind): fixed
12093 (SearchForward): ditto
12094 (SearchBackward): ditto
12096 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12097 spurius drawing of the cursor in the main area.
12099 * text2.C (status): small fix which could lead to a segfault!
12100 (clearSelection): remove unneeded BufferView param.
12102 2001-08-01 André Pönitz <poenitz@gmx.net>
12104 * lyxfunc.C: small change due to changed mathed interface
12106 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12108 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12110 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12112 * lyxfunc.c: fail gracefully if file doesn't exist
12117 * BufferView_pimpl.C: IsDirWriteable() proto changed
12119 * LyXView.C: fix updateWindowTitle() to store the last title
12121 2001-07-31 Juergen Vigna <jug@sad.it>
12123 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12124 the font (wrong since using of Paragraph::highestFontInRange).
12126 * paragraph.C (highestFontInRange): added a default_size parameter.
12128 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12129 (setHeightOfRow): reformat
12131 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * converter.[hC] + affected files: move to (inital-char)lowercase
12136 * ParagraphParameters.C (ParagraphParameters): remove commented code
12138 * PainterBase.[Ch]: remove commented code
12140 * LaTeXFeatures.h: add "bool floats" for float.sty
12142 * LaTeXFeatures.C (LaTeXFeatures): init floats
12143 (require): handle float
12144 (getPackages): do it with floats
12146 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12148 * BufferView_pimpl.C (Dispatch): improve handling of
12149 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12151 * commandtags.h: #include lyxfont.h here temporarily to avoid
12154 * bufferlist.h: include LString.h here.
12156 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12158 * text2.C (getStringToIndex): new method.
12160 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12162 * *: Reduced header file dependencies all over.
12164 2001-07-30 Baruch Even <baruch@lyx.org>
12166 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12168 2001-07-29 Baruch Even <baruch@lyx.org>
12170 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12172 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12174 * ParameterStruct.h (endif): add a default constructor to make
12175 sure that all variables is initialized.
12177 * ParagraphParameters.C (ParagraphParameters): adjust
12179 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12181 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12182 index; also, check that there is something to index, and that it
12183 does not span over several paragraphs.
12184 (doubleClick): use WHOLE_WORD_STRICT for double click.
12186 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12188 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12191 2001-07-26 Baruch Even <baruch@lyx.org>
12193 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12194 an InsetFig figure, backwards compatible reading of old figure code.
12196 2001-07-27 Juergen Vigna <jug@sad.it>
12198 * text2.C: font.realize function adaption.
12200 * text.C (draw): add a warnings lyxerr text if needed.
12202 * layout.C: font.realize function adaption.
12204 * language.C: add inherit_language and implement it's handlings
12206 * bufferview_funcs.C (StyleReset): remove language parameter from
12207 font creation (should be language_inherit now).
12209 * bufferparams.C (writeFile): handle ignore_language.
12211 * paragraph.C (getFontSettings): the language has to be resolved
12212 otherwise we have problems in LyXFont!
12214 * lyxfont.C (lyxWriteChanges): added document_language parameter
12215 (update): removed unneeded language parameter
12217 * paragraph.C (validate): fixed wrong output of color-package when
12218 using interface colors for certain fonts in certain environments,
12219 which should not seen as that on the final output.
12221 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12223 * BufferView_pimpl.C:
12228 * LyXAction.C: add thesaurus support
12231 * lyxfind.C: add "once" parameter, for thesaurus, to not
12232 move to the next match
12234 2001-07-26 Juergen Vigna <jug@sad.it>
12236 * lyxfont.C (realize): honor ignore_language too!
12239 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12241 * text.C (draw): one place more for ignore_language to not draw
12244 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12246 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12248 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12251 the minipage conversion problem.
12253 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12258 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * BufferView.h: don't forward declare WorkArea
12262 * BufferView.C: don't include WorkArea.h
12264 2001-07-25 André Pönitz <poenitz@gmx.net>
12268 * lyxfunc.C: new LFUN 'math-space'
12270 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12272 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12274 * text2.C (toggleInset): call open/close
12276 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * lyxfunc.C (dispatch): add debug for the disabled case
12280 * font.C (buttonText): make similar to rectText
12282 * buffer.C (readInset): comment out parsing of insetlist and
12285 * PainterBase.C (rectText): small correction
12287 * BufferView_pimpl.C: comment out insettheorem and insetlist
12288 * LyXAction.C: ditto
12289 * commandtags.h: ditto
12291 2001-07-24 Juergen Vigna <jug@sad.it>
12293 * text.C (draw): honor the ignore_language.
12295 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12297 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12299 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12302 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12304 * lyxtext.h: remove unused (and unimplemented) methods
12306 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12308 * text.C (getVisibleRow): honor background color
12311 * Painter.h: remove default color argument for fillRectangle
12313 * text.C (backgroundColor): new method
12315 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * text.C (getVisibleRow): adjust
12319 * font.[Ch] (rectText): new method, metrics
12320 (buttonText): new method, metrics
12322 * PainterBase.[hC]: make rectText and buttonText always draw and take
12325 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12327 * ToolbarDefaults.C (read):
12328 * MenuBackend.C (read): allow escaping in all strings
12330 * BufferView_pimpl.C (insertAndEditInset): new method.
12331 (Dispatch): use insertAndEditInset whenever appropriate.
12333 * BufferView_pimpl.C (insertNote): removed
12335 * BufferView_pimpl.C (smartQuote): new method, moved from
12336 BufferView; if an insetquote cannot be inserted, insert a '"'
12339 * BufferView2.C: remove insertCorrectQuote();
12341 * lyxfunc.C (getStatus): Add support for all remaingin
12342 inset-insert lfuns.
12344 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12346 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12347 command (necessary to pass " as parameter of self-insert.
12349 * text.C (selectWordWhenUnderCursor):
12350 (selectWord): add word_location parameter
12351 (selectWordWhenUnderCursor): same + remove special code for word
12353 (selectNextWord): use kind() to guess type of insetspecialchar,
12356 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12357 (insertErtContents): create ert insets as collapsed.
12358 (readInset): better compatibility code for Info inset.
12360 2001-07-20 Juergen Vigna <jug@sad.it>
12362 * lyxfunc.C (dispatch): use always LyXFind now!
12364 * text2.C (init): add a reinit flag so that the LyXText can be
12365 reinited instead of deleted and reallocated (used in InsetText).
12367 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12373 2001-07-18 Juergen Vigna <jug@sad.it>
12375 * text.C (selectNextWord): handle insets inside inset by calling
12376 always the bv->text functions so that we can go up the_locking_inset!
12378 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12379 in strange locations when inside an inset!
12381 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12382 handling to include insets.
12384 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12386 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12388 * LyXAction.C (init):
12390 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12391 LIGATURE_BREAK, since the name is so stupid.
12393 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12395 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12398 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12400 * sp_form.[Ch]: remove.
12402 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12404 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12407 * src/buffer.C (readInset): ditto.
12409 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12411 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12412 menuSeparator(), endOfSentenceDot(), ldots() and
12413 hyphenationPoint(), which are therefore removed.
12414 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12416 * LyXAction.C (init):
12417 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12419 * paragraph.C (getWord): removed.
12421 * BufferView_pimpl.C (Dispatch): use last word or selection for
12422 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12424 * lyx_main.C (queryUserLyXDir): do not ask before creating
12425 user_dir, except if it has been named explicitely.
12427 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12429 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12430 a document of zero size.
12432 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12434 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12435 approriately in the c-tor and in require().
12436 (getPackages): output the appropriate LaTeX for natbib support.
12438 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12439 variables "use_natbib" and "use_numerical_citations" when reading the
12441 (readInset): read the various natbib cite commands.
12442 (validate): white-space change.
12444 * bufferparams.[Ch]: new variables "bool use_natbib" and
12445 "bool use_numerical_citations".
12446 (writeFile): output them in the LyX file.
12448 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12450 * lyxfunc.C (getStatus): add support for all the inset insertion
12453 * text2.C (insertInset):
12454 * paragraph.C (insetAllowed):
12455 * BufferView_pimpl.C (insertInset): update to take in account the
12456 renaming of insertInsetAllowed
12458 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12460 * text2.C (getInset): new method. returns inset at cursor position.
12462 * BufferView_pimpl.C (Dispatch): changes because of this.
12464 * LyXAction.C (init): rename open-stuff to inset-toggle.
12466 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12468 * text2.C (toggleInset): renamed from openStuff; use
12471 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12473 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12475 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12477 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12479 * buffer.C (readLyXformat2): Add filename to the error dialog
12481 2001-07-18 Juergen Vigna <jug@sad.it>
12483 * tabular.C (GetCellNumber): put an assert here instead of the check!
12485 2001-07-17 Juergen Vigna <jug@sad.it>
12487 * BufferView_pimpl.C (toggleSelection): adapted too.
12489 * text.C (selectNextWord): adapted for use with insets.
12490 (selectSelectedWord): ditto
12492 2001-07-17 Juergen Vigna <jug@sad.it>
12494 * sp_spell.C (PSpell): fix initialitation order.
12496 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * paragraph.C: spacing
12500 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12502 * sp_spell.C: repair language selection for pspell
12504 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * lyxfunc.h: change more methods to begin with lower char.
12508 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12510 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12511 for unknown layouts.
12513 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12515 * buffer.C (readLyXformat2): Generate an error dialog if there are
12518 2001-07-16 Juergen Vigna <jug@sad.it>
12520 * sp_spell.C: always compile ISpell part.
12522 * lyxrc.C: added use_pspell entry and it's handling.
12524 2001-07-13 Juergen Vigna <jug@sad.it>
12526 * sp_spell.C: removed double includes.
12528 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12530 Consistent use of Lsstream.h:
12531 * Lsstream.h: added using std::stringstream for consistencies sake.
12533 * buffer.C: removed using std::stringstream
12535 * lyxfont.C (stateText):
12536 * paragraph.C (asString):
12537 * text.C (selectNextWord, selectSelectedWord):
12538 * text2.C (setCounter):
12539 * vspace.C (asString, asLatexString):
12540 std::ostringstream -> ostringstream.
12542 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12544 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12545 * commandtags.h: add LFUN_HELP_ABOUTLYX
12546 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12548 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12550 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12552 * lyx_gui_misc.C: remove spellchecker
12553 * lyxfunc.C: showSpellchecker
12555 * sp_ispell.h: added
12556 * sp_pspell.h: added
12557 * sp_spell.C: added
12558 * sp_form.[Ch]: removed
12559 * spellchecker.[Ch]: removed
12561 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12563 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12565 (simpleTeXSpecialChars): Simply print the input character without
12566 any special translation if pass_thru is set.
12568 * layout.h: Added bool pass_thru to layout class for being able to
12569 implement pass through of a paragraph for Literate Programming.
12571 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12572 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12573 * layout.C (Read): add "passthru" to list of layout tags and add
12574 code to set the pass_thru boolean when it is read.
12576 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12578 * trans_decl.h: remove allowed from KmodInfo
12580 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12581 remove allowed code
12584 * paragraph_pimpl.C (erase): use boost::prior
12586 * Painter.C (text): use data() instead of c_str() when length is
12588 * WorkArea.C (putClipboard): ditto
12589 * font.h (width): ditto
12591 * BufferView2.C: use it-> instead of (*it). for iterators
12593 * paragraph_pimpl.C: ditto
12594 * paragraph.C: ditto
12595 * minibuffer.C: ditto
12596 * language.C: ditto
12598 * encoding.C: ditto
12599 * counters.C: ditto
12600 * converter.C: ditto
12602 * Variables.C: ditto
12603 * TextCache.C: ditto
12604 * MenuBackend.C: ditto
12605 * LyXAction.C: ditto
12607 * FloatList.C: ditto
12608 * DepTable.C: ditto
12609 * ColorHandler.C (LyXColorHandler): ditto
12611 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12613 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12615 * text2.C (openStuff): reintroduce this method (which had been
12616 nuked in NEW_INSETS frenzy).
12618 * lyxfunc.C (Dispatch): when an action has not been handled, use
12619 its name in the error message, not its number.
12621 * paragraph.C (inInset): change method name to begin with lowercase.
12624 * text2.C: updates because of this.
12626 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12628 * ToolbarDefaults.C (add): add spaces in error message
12630 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12632 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12633 (readLyXformat2): rename return_par to first_par, use lyxlex's
12634 pushToken and remove the manual push handling.
12635 (parseSingleLyXformat2Token): add another ert comp. variable:
12636 in_tabular, rename return_par to first_par. handle newlines better
12638 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12642 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12644 * text2.C (getParFromID): removed
12646 * buffer.C (getParFromID): new method moved form lyxtext.
12647 * BufferView2.C (insertErrors): adjust
12648 (setCursorFromRow): adjust
12649 * BufferView_pimpl.C (restorePosition): adjust
12650 * lyxfunc.C (Dispatch): adjust
12651 * undo_funcs.C (textUndo): adjust
12653 (textHandleUndo): adjust
12654 (textHandleUndo): adjust
12656 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12658 * buffer.C: up' the LYX_FORMAT
12660 * lyxfont.h: turn NO_LATEX on as default
12662 * buffer.C (insertErtContents): new methods of tex style compability.
12663 (parseSingleLyXformat2Token): use it several places.
12664 * tabular.C (OldFormatRead): and here
12666 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12668 * text2.C: remove some commented code.
12671 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12672 * trans.C: changes because of the above.
12674 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12676 * text2.C (setCounter): Fix counters bug with bibliography layout.
12678 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12681 own member functions
12682 (simpleTeXSpecialChars): ditto
12684 2001-07-06 Juergen Vigna <jug@sad.it>
12686 * a lot of files: changed the access to LyXText::status and the
12687 call of undo-functions.
12689 * undo.[Ch]: added a inset_id to the undo informations.
12691 * undo_funcs.[Ch]: added and moved here all undo functions.
12693 * lyxtext.h: give the status enum a weight, made status_ a private
12694 variable and made accessor functions for it, removed the whole bunch
12695 of undo-functions as they are now in their own file, make some
12696 functions publically available. Added function ownerParagraph with
12699 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12700 made InInset() a const function, added getParFromID() function.
12702 * buffer.[Ch]: added const version for inset_iterator functions,
12703 added getInsetFromID() function.
12705 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12706 changed undo functions for new version.
12708 2001-07-05 Juergen Vigna <jug@sad.it>
12710 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12711 unknow mechanism does not call the proper constructor but only this
12712 one also if I request the other!?
12714 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12718 * text2.C (LyXText): use initialization lists.
12720 * lyxtext.h (Selection): initialize set_ and mark_
12721 (init): remove method
12723 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12725 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12727 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * screen.[Ch]: change method names to begin with lowercase
12731 * BufferView_pimpl.C (updateScrollbar): simplify further and
12732 hopefully make it a bit faster.
12734 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12736 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12737 calling directly xforms functions.
12739 * Painter.C (Painter):
12740 * lyx_cb.C (MenuWrite):
12741 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12744 * lyx_gui.C: remove bogus guiruntime extern declaration.
12746 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12750 (redoDrawingOfParagraph): ditto
12751 (redoParagraphs): ditto
12752 (cutSelection): don't create a object for CutAndPaste use the
12753 static method directly
12754 (pasteSelection): ditto
12756 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12759 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * modifications to some other files because of this.
12763 * Makefile.am (lyx_SOURCES): add XFormsView
12765 * XFormsView.[Ch]: new files
12767 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12768 the main window. Move the gui dependent stuff to XFormsView
12770 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12772 * tabular.C (GetCellInset): update cur_cell also in the row/col
12773 version of this function.
12775 * lyxfunc.C: no need to include figure_form.h here.
12781 * lyxvc.C: no need to include forms.h here.
12783 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12785 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12787 * lyxfunc.C (Dispatch):
12789 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12790 constructor argument.
12792 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * paragraph.C (Paragraph): dont't clear, and just set layout.
12795 (makeSameLayout): use params's copy contructor.
12797 * ParagraphParameters.[Ch] (makeSame): delete method
12799 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12801 * Variables.[Ch]: fix indentation, rename set to isSet
12803 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * lyxfunc.C (Dispatch): fix typo
12807 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12809 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12812 * bufferlist.C: include assert.h for emergencyWrite().
12814 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12816 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12817 give up at last (bug #425202) !
12819 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12825 * spellchecker.C: strip spellchecker options and bring up
12826 preferences tab instead
12828 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12830 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12831 the istringstream constructor
12833 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * paragraph.C (getLayout): fix return value
12837 * paragraph.h: do not declare getLayout as inline.
12839 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12841 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * lyxcursor.h (operator<): new func
12844 (operator>): new func
12845 (operator>=): new func
12846 (operator<=): new func
12848 * text.C (changeCase): use selection.start and selection.end
12849 (changeRegionCase): require from to be <= to. Require par to be a
12852 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12854 2001-06-27 Juergen Vigna <jug@sad.it>
12856 * text.C (cursorLeftOneWord): changed to return the cursor and added
12857 overlay with BufferView * parameter which calls this one.
12859 (selectWord): use new getWord function.
12860 (changeCase): renamed from changeWordCase as and extended to work
12861 also on selections.
12863 * lyxtext.h: added enum word_location
12865 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12866 changeCase as this operates now also on selections.
12868 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12870 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12872 * many files: send debug output to Debug::INFO instead of
12875 * converter.C (View):
12877 (Move): send debug output to Debug::FILES instead of console.
12879 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12881 * lyxfunc.C (getStatus): use func_status
12883 * func_status.h: new header, describing the results of
12884 LyXFunc::getStatus;
12886 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12889 2001-06-25 The LyX Project <jug@sad.it>
12891 * buffer.C (sgmlOpenTag):
12893 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12895 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12897 * text2.C: remove some dead code
12899 * tabular.C (GetCellInset): store the last cell checked (gotten)
12901 * tabular.h: add the helper for the speedup
12903 * lyxtext.h: remove some dead code
12905 2001-06-26 The LyX Project <Asger>
12907 * paragraph.C: Change export to LaTeX of alignment to
12908 \begin{center} and family for better roundtrip work with reLyX.
12910 * Tune the math drawing a bit.
12912 2001-06-25 The LyX Project <Asger>
12914 * LColor.C (LColor): New color for math background. New color
12917 2001-06-25 The LyX Project <jug@sad.it>
12919 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12921 * lyxfunc.C (Open):
12922 * bufferlist.C (newFile): do not restrict to files ending with
12925 * BufferView_pimpl.C (MenuInsertLyXFile):
12927 2001-06-24 The LyX Project <jug@sad.it>
12929 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12932 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * lyxtext.h: rename most methods to begin with a small char.
12935 Lots of changes because of this.
12937 * paragraph.C (Paragraph): do not call fitToSize
12938 (erase): call Pimpl::erase
12939 (insertChar): call Pimpl::insertChar
12940 (insertInset): call Pipl::insertInset
12941 (breakParagraph): do not call fitToSize
12942 (breakParagraphConservative): do not call fitToSize
12943 (fitToSize): remove method
12945 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12947 2001-06-24 The LyX Project <Asger>
12949 * Fix Qt compilation^2
12951 2001-06-24 The LyX Project <jug@sad.it>
12953 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12954 depthHook(getDepth()-1).
12957 * ParagraphParameters.h:
12958 * ParameterStruct.h: change type of depth to unsigned int ==
12959 depth_type. Many adaptations to other files before of that.
12961 2001-06-24 The LyX Project <Asger>
12963 * Fix Qt compilation.
12965 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * paragraph.h: renamed several methods to begin with small letter.
12968 several changes to many parts of the code because of this.
12970 2001-06-23 The LyX Project <jug@sad.it>
12972 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12973 rewritten to discard all double spaces when KeepEmpty is off
12974 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12975 to only handle newlines but not fiddle with spaces and friends.
12977 * lyxfunc.C (MenuNew): when doing 'new from template', use
12978 template_path as default directory
12980 2001-06-23 The LyX Project <Asger>
12982 * Clean-up of header file includes all over
12983 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12985 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * paragraph.h: renamed from lyxparagraph.h
12989 2001-06-23 Asger <lyx@violet.home.sad.it>
12991 * Buffer.h: Removed Buffer::resize
12992 * BufferList.h: Removed BufferList::resize
12993 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12994 the document lazily when we change the width, or the font settings.
12996 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12998 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13000 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13002 * buffer.h: remove out of date comment
13004 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13007 * screen.C: fix "theoretical" GC leak
13009 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13011 * LaTeX.C (scanAuxFile):
13012 (deplog): remove trailing \r when reading stream (useful under
13015 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13017 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13018 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13019 and BufferView::theLockingInset(Inset*), so should use them and not
13020 access bv_->text->the_locking_inset directly.
13022 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13024 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13027 * tex-defs.h: remove old unused file
13029 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13031 * BufferView_pimpl.C: fix typo, remove minibuffer message
13032 when buffer has loaded
13034 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13036 * lyxfunc.C (Dispatch): use stringstream
13037 (MenuNew): use stringstream
13038 (Open): use stringstream
13040 * importer.C (Import): use stringstream
13042 * bufferview_funcs.C (CurrentState): use stringstream
13044 * LaTeX.C (run): use stringstream
13046 * BufferView_pimpl.C (savePosition): use stringstream
13047 (restorePosition): use stringstream
13048 (MenuInsertLyXFile): use stringstream
13050 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13063 * vspace.C: removed // -*- C++ -*- as first line.
13066 * version.h: added // -*- C++ -*- as first line.
13068 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13070 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13072 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13075 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13080 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13082 * gettext.C: include LString.h even when --disable-nls is on.
13084 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13086 * converter.h (Get): changed argument type from int to
13087 FormatList::size_type to avoid unnecessary conversion.
13089 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13092 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13094 * gettext.h: include LString.h even when --disable-nls is on.
13096 2001-06-07 Juergen Vigna <jug@sad.it>
13098 * text.C (BreakAgain): subst spaces with tabs.
13100 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13101 (resizeInsetsLyXText): set force on resizeLyXText.
13103 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13105 * gettext.h (gettext_init):
13106 (locale_init): use a real definition instead of a macro
13108 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13110 * Bufferview_pimpl.C:
13112 * LColor.C: further lcolor tidies
13114 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * BufferView_pimpl.C (updateScrollbar): simplify.
13118 * BufferView2.C: don't include insets/insetinfo.h, change
13119 prototype for insertInset and call the Pimpl version. let
13120 updateInset call Pimpl version.
13122 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13123 gotoInset to BufferView::Pimpl
13125 2001-06-01 Juergen Vigna <jug@sad.it>
13127 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13128 inside a LockingInset (is the update needed at all?).
13130 2001-05-31 Juergen Vigna <jug@sad.it>
13132 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13133 here not the old one otherwise how should we compare it afterwards
13136 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13141 * FontInfo.C: bring C functions into global namespace when
13144 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13146 * LString.h: make sure config.h has been loaded before LString.h.
13148 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13149 (one for each char read by EatLine!).
13151 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13154 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13157 to the same as the par we break from
13159 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13163 * MenuBackend.C (expand): also create menu entries for wide
13164 versions of the floats.
13166 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13168 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13170 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13171 frontends/Makefile.am
13177 * tabular.C (getTokenValue): add std::
13179 * tabular-old.C (getTokenValue): add std::
13180 (getTokenValue): ditto
13181 (getTokenValue): ditto
13183 * screen.C (ToggleSelection): adjust
13185 * lyxtext.h: put selection cursors inside a Selection struct.
13187 * lyxfunc.C (moveCursorUpdate): adjust
13189 * lyxfont.C (latexWriteStartChanges): add std::
13191 * lyxfind.C: adjust
13193 * font.h: delete with(char const *, LyXFont const &)
13195 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13197 * FontInfo.C (getFontname): add std::
13199 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13200 (workAreaButtonPress): adjust
13201 (tripleClick): adjust
13203 (moveCursorUpdate): adjust
13206 * BufferView2.C (gotoInset): adjust
13208 2001-05-30 Juergen Vigna <jug@sad.it>
13210 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13211 to check pspell I add this as default as I now have new pspell
13212 libraries and they seem to use this.
13214 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13216 * text2.C (CutSelection): make the cursor valid before the call to
13219 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13222 relied on 0 terminated strings and other horrors. Bug found due to
13223 the new assert in lyxstring!
13225 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13228 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13233 * lyxfunc.C (processKeySym): change method of getting to the
13236 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13237 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13238 * BufferView_pimpl.[Ch]: here as private methods.
13240 2001-05-28 Juergen Vigna <jug@sad.it>
13242 * text.C (SetHeightOfRow): added the update() call again as it is
13243 needed to initialize inset dimensions!
13245 2001-05-16 Juergen Vigna <jug@sad.it>
13247 * text2.C (SetCharFont): Add new function with BufferView * and
13248 bool toggleall parameters for setting insets internal fonts.
13249 (SetFont): Freeze the undo as we may change fonts in Insets and
13250 all this change should be inside only one Undo!
13252 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13253 setting font's in insets as for them we have the SetFont function!
13255 2001-05-15 Juergen Vigna <jug@sad.it>
13257 * text2.C (ClearSelection): to be sure we REALLY don't have any
13260 * tabular.C (TeXCellPreamble): fixed the left border problem for
13263 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13265 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13268 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13271 LFUN_BREAKPARAGRAPH.
13273 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13274 help test to "internal only", similar for LFUN_INSERT_URL
13276 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13277 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13278 auto_region_delete and deadkeys.
13280 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13283 * LColor.C: remove some dead entries, tidy a little
13285 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13289 (Dispatch): implement LFUN_ESCAPE
13291 * commandtags.h: add LFUN_ESCAPE
13293 * LyXAction.C (init): add entry for LFUN_ESCAPE
13295 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13296 Remove commented code.
13297 (insertNote): moved here
13298 (open_new_inset): moved here
13300 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13303 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13305 * kbmap.C (findbinding): clean it up and make it work correctly.
13307 * lyx_main.C (init): do not pass argc and argv as parameters
13309 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13311 * buffer.C: fix path for OS/2 & Win32
13315 * lyx_main.C: Added os:: class.
13317 * os2_defines.h: update
13319 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13322 better by trying again with reduced state.
13324 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13326 * lyxrc.C (read): print error about invalid key sequence only when
13327 debugging (because not all latinX keysyms are known to some X
13330 * kbsequence.C (getiso): add a few std:: qualifiers
13331 (getiso): comment out extra return statement.
13333 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13337 (Dispatch): enhance the accent inset a bit. (not perfect)
13339 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13343 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13345 * bufferlist.C (emergencyWrite): fix assert() call
13347 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13349 * text.C (InsertChar): Added trivial patch to only send the "you
13350 can not do multiple spaces this way" message once during a
13353 2001-05-08 Baruch Even <baruch@lyx.org>
13355 * Makefile.am: Changed order of libraries to get LyX to link properly
13356 with the gnome frontend.
13358 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13360 * LaTeXFeatures.h: add a std:: qualifier
13362 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13364 * paragraph.C (String): use stringstream
13366 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * paragraph.C (writeFile): remove footflag arg
13370 * buffer.C (makeLaTeXFile): use stringstream
13371 (latexParagraphs): remove footnot gurba
13373 * LaTeXFeatures.C (getPackages): use stringstream
13374 (getMacros): likewise
13375 (getTClassPreamble): likewise
13376 (getFloatDefinitions): new method
13378 * paragraph.C (writeFile): reindent
13381 * WorkArea.h: revert the xpos + etc changes.
13383 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13385 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13387 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13388 (pasteSelection): likewise
13389 * text2.C (CreateUndo): likewise
13391 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * minibuffer.C (peek_event): temporarily reduce the functionality
13394 of the minibuffer (to allow args on lfuns)
13396 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13397 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13399 * buffer.C (readInset): add compability reading of old float
13400 lists, add reading of new style float list.
13401 (readInset): avoid reevaluation of inscmd.getCmdName()
13402 (getLists): reindent
13404 * MenuBackend.C (MenuItem): implement parsing of
13405 md_floatlistinsert and md_floatinsert.
13406 (expand::LastFiles): move initalizaton of iterators out of loop,
13407 avoid reevaluation.
13408 (expand::Documents): introduce typdedef vector<string> Strings,
13410 (expand::ExportFormats): introduce typedef vector<Format const *>
13411 Formats, and use it.
13412 (expand): implement FloatListInsert and FloatInsert.
13414 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13415 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13416 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13418 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13420 (Dispatch::LFUN_FLOAT_LIST): implement
13422 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13424 * LaTeX.C (run): Fix problem with --export code.
13426 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13428 * BufferView.[Ch] (workarea): removed.
13429 (getClipboard) new method; wrapper for workarea()->getClipboard()
13431 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13434 * WorkArea.h (width, height, xpos, ypos): These methods all
13435 returned the dimensions of the work_area sub-area of WorkArea,
13436 resulting in a position error if the WorkArea were resized. Now
13437 return the dimensions of the entire WorkArea.
13439 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13441 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13443 * LaTeX.C (deplog): correct the syntax of regex reg1
13445 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * undo.C: remove !NEW_INSETS cruft
13449 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13451 * text2.C: remove !NEW_INSETS cruft
13453 * text.C: remove !NEW_INSETS cruft
13455 * tabular.C: remove !NEW_INSETS cruft
13457 * spellchecker.C: remove !NEW_INSETS cruft
13459 * lyxtext.h: remove !NEW_INSETS cruft
13461 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13463 * lyxfunc.C: remove !NEW_INSETS cruft
13465 * lyxfind.C: remove !NEW_INSETS cruft
13467 * lyx_cb.C: remove !NEW_INSETS cruft
13469 * figureForm.C: remove !NEW_INSETS cruft
13471 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13473 * buffer.[Ch]: remove !NEW_INSETS cruft
13475 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13477 * CutAndPaste.C: remove !NEW_INSETS cruft
13479 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13481 * BufferView2.C: remove !NEW_INSETS cruft
13483 * BufferView.h: remove !NEW_INSETS cruft
13485 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13487 * Lsstream.h: include LString.h before the sstream headers to
13488 fix problem with gcc 2.95.3 and lyxstring
13490 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13492 * lyx_main.C: add using directives when needed for C functions
13493 declared in std:: namespace.
13495 2001-04-27 Juergen Vigna <jug@sad.it>
13497 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13498 (SetHeightOfRow): comment out the update call should not be needed!
13500 2001-04-13 Juergen Vigna <jug@sad.it>
13502 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13503 (LyXTabular): tried to minimize operator= operations (and realized
13504 hopfully Lars wish).
13506 2001-04-27 Juergen Vigna <jug@sad.it>
13508 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13510 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13512 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13514 * buffer.C (readInset): hack to make listof algorithm work
13516 * BufferView_pimpl.C: hack to make listof algorithm work
13518 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * LyXAction.C: removed all !NEW_INSETS cruft
13521 (init): moved lfun_item in method
13523 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13525 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13527 * BufferView2.C (theLockingInset): white space.
13529 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13531 * minibuffer.C: include <iostream>
13533 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13535 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13537 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13539 * text.[Ch] (TransposeChars): new method
13541 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * call message directly through LyXView instead of through LyXFunc
13544 * BufferView2.C: adjust
13545 * BufferView_pimpl.C: adjust
13546 * FontLoader.C: adjust
13548 * bufferview_funcs.C: adjust
13549 * converter.C: adjust
13550 * figureForm.C: adjust
13551 * importer.C: adjust
13553 * lyx_gui_misc.C: adjust
13554 * lyxfunc.C: adjust
13557 + more files in subdirs
13559 * lyxparagraph.h (size): move up int file
13562 * adjust all uses of Assert to lyx::Assert.
13564 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13565 lyxfunctional in namespace lyx
13566 * layout.C (hasLayout): ditto
13569 (delete_layout): ditto
13570 (NumberOfClass): ditto
13571 * converter.C (GetFormat): ditto
13576 * bufferlist.C (getFileNames): ditto
13577 (emergencyWriteAll): ditto
13580 * MenuBackend.C (hasSubmenu): ditto
13583 * BufferView_pimpl.C (getInsetByCode): ditto
13585 2001-04-18 Juergen Vigna <jug@sad.it>
13587 * vspace.C (asLatexString): fixed the 100% problem.
13589 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * lyxfunc.C (Dispatch):
13593 * minibuffer.h: add a few std:: qualifiers
13595 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * minibuffer.[Ch]: reimplement so that commands is initiated and
13598 run from lyxfunc, simplified som handling, and made the completion
13599 and history code for complete. wip.
13601 * lyxfunc.C (processKeySym): call message
13602 (miniDispatch): new temporary method
13603 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13604 (LFUN_MESSAGE): implement
13605 (LFUN_MESSAGE_PUSH): implement
13606 (LFUN_MESSAGE_POP): implement
13607 (initMiniBuffer): the initial/defualt minibuffer message.
13609 * lyxfont.[Ch]: inline some more getters
13611 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13613 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13615 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13616 (AutoSave): use LFUN_MESSAGE
13617 (Reconfigure): ditto
13619 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13621 * figureForm.C: use LFUN_MESSAGE
13623 * converter.C (runLaTeX): use LFUN_MESSAGE
13625 * bufferview_funcs.C: use LFUN_MESSAGE
13627 (changeDepth): ditto
13629 * bufferparams.h: use boost::
13631 * bufferlist.h: inherit privately from noncopyable
13633 * bufferlist.C (loadLyXFile): remove some commented code.
13635 * buffer.C (runChktex): use LFUN_MESSAGE
13637 * ShareContainer.h: inherit privately from noncopyable
13639 * ParagraphParameters.[hC] (depth): inline it.
13641 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13643 (message): new method
13644 (messagePush): ditto
13645 (messagePop): ditto
13646 (show): init minibuffer
13647 (showState): direct call
13649 * LaTeX.[Ch]: inherit privately from noncopyable
13650 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13651 instead of WriteStatus.
13653 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13655 * BufferView_pimpl.C (buffer): don't init minibuffer
13656 (workAreaButtonPress): use LFUN_MESSAGE
13657 (workAreaButtonRelease): ditto
13658 (savePosition): ditto
13659 (restorePosition): ditto
13660 (MenuInsertLyXFile): ditto
13661 (workAreaExpose): don't init minibuffer
13662 (update): remove commented code, simplify
13664 * BufferView2.C (openStuff): use LFUN_MESSAGE
13665 (toggleFloat): ditto
13668 (copyEnvironment): ditto
13669 (pasteEnvironment): ditto
13674 (updateInset): remove some commented code
13676 * lastfiles.h: inherit privately from noncopyable
13679 * lyx_main.h: ditto
13681 * lyxlex_pimpl.h: ditto
13683 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13684 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13685 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13687 * LyXAction.h: inherit privately from noncopyable, add methods
13688 func_begin, func_end, returning iterators to the func map.
13690 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13691 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13692 (func_begin): new method
13693 (func_end): new method
13695 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13697 (copySelection): ditto
13698 (pasteSelection): ditto
13700 * BufferView.C: whitespace change
13701 * BufferView.h: inherit privately from noncopyable
13703 2001-04-16 Allan Rae <rae@lyx.org>
13705 * tabular-old.C (l_getline):
13706 * spellchecker.C (sc_check_word):
13707 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13708 an unrecognised preprocessor directive. So ensure they're wrapped.
13710 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13712 * src/exporter.C (Export): Give an error message when path to file
13715 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13717 * LaTeX.C (deplog): Always check that foundfile exists.
13719 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13722 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13724 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * tabular.[Ch] (getLabelList): implement new method
13728 * minibuffer.h: comment ouf setTiimer
13730 * minibuffer.C (ExecutingCB): constify res
13731 (peek_event): constify s
13732 (Set): constify ntext
13733 (Init): constify nicename
13735 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13737 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13738 (savePosition): use two params to Minibuffer::Set
13739 (restorePosition): ditto
13741 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13743 * lyx_main.C: include language.h
13745 * Makefile.am (lyx_main.o): add language.h
13747 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * CutAndPaste.C: include gettext.h
13755 * lyxfont.h: remove old hack with ON and OFF.
13758 * lyxfont.h: do not include language.h...
13763 * bufferview_funcs.C:
13769 * paragraph.C: ... but do it here instead
13771 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13773 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13775 * tabular.C: small reformat
13777 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13780 (BreakParagraph): ditto
13781 (SetOnlyLayout): ditto
13784 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13787 * lastfiles.C: removed most using decl, add std:: where needed
13789 * buffer.C: ws changes
13791 * MenuBackend.C (class compare_format): put into anon namespace
13792 (expand): constify label, names, action, action2
13795 * text.C (SingleWidth): constify font
13796 (IsBoundary): constify rtl2
13797 (GetVisibleRow): constify ww
13799 * LaTeX.C (deplog): constify logfile
13801 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13803 (workAreaExpose): constify widthChange, heightChange
13805 * lyxrow.C (par): moved
13808 * lyxrow.h: as inlines here
13810 * lyxfont.h (shape): moved from lyxfont.C
13811 (emph): moved from lyxfont.C
13813 * lyxfont.C (LyXFont): use initialization list for all
13815 (shape): move to lyxfont.h as inline
13816 (emph): move to lyxfont.h as inline
13819 2001-04-04 Juergen Vigna <jug@sad.it>
13821 * vspace.C: had to include stdio.h for use of sscanf
13823 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13826 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13827 independent of xforms.
13829 2001-04-02 Juergen Vigna <jug@sad.it>
13831 * spellchecker.C: fixed namespace placing!
13833 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13835 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13836 the LyXParagraph * is 0.
13838 2001-03-29 Juergen Vigna <jug@sad.it>
13840 * vspace.C: added support for %, c%, p%, l%.
13841 (stringFromUnit): added helper function.
13842 (asLatexString): changed to give right results for the %-values.
13844 * buffer.C: convert the widthp in a width%.
13846 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13848 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13851 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13852 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13854 * lyx_cb.[Ch]: see above.
13856 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13860 * lyx.[Ch]: replaced by figure_form.[Ch].
13864 * lyxfunc.C: changed headers associated with above changes.
13866 2001-03-27 Juergen Vigna <jug@sad.it>
13868 * BufferView_pimpl.C: set the temporary cursor right!
13870 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13872 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13874 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13876 * LString.h: removed "using std::getline"!
13878 * BufferView_pimpl.C (Dispatch): changes due to changes in
13879 InsetInclude::Params.
13881 * buffer.C (tag_name): removed redundant break statements as they were
13882 producing lots of warnings with my compiler.
13884 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * LString.h: add "using std::getline" when using the real <string>.
13888 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13890 * buffer.C: removed bitset usage.
13891 PAR_TAG moved to an anonymous name space.
13892 (tag_name): new funtion, also in the anonymous namespace.
13893 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13894 (makeDocBookFile): clean code. Completed transition from string arrays
13896 (SimpleDocBookOnePar): code clean.
13898 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13900 * tabular.C: add some comments.
13902 2001-03-22 Juergen Vigna <jug@sad.it>
13904 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13905 compatibility read a bit and fixed bug with minipage in different
13908 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13910 * buffer.C (pop_tag): removed.
13911 (push_tag): removed.
13912 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13913 array replaced with vector. Added support for CDATA sections.
13914 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13916 (makeDocBookFile): XML conformant declaration of CDATA section,
13917 fixed bug related to <emphasis> in the first paragraph char.
13918 (sgmlOpenTag): exclude empty tags.
13919 (sgmlCloseTag): ditto.
13921 * buffer.h (pop_tag): removed.
13922 (push_tag): removed.
13924 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13926 * language.h (Languages): added size_type and size().
13928 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13930 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13931 response on compability reading of minipages. One probliem is that
13932 the old usage of minipages was «flertydig»
13934 * several files here and in subdirs: don't use static at file
13935 scope use anon namespaces instead.
13937 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13939 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13940 LaTeX output. This is necessary for Literate document
13943 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13945 * buffer.C: insert hfill when needed.
13947 * tabular.C (l_getline): use string::erase, small whitespace change.
13949 * BufferView_pimpl.C: try the anon namespace.
13950 * WorkArea.C: ditto
13952 2001-03-16 Juergen Vigna <jug@sad.it>
13954 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13955 otherwise it won't open options-dialogs.
13957 * buffer.C: honor pextraWidth(p) on converting minipages.
13959 * tabular.C (l_getline): changed the functions to strip trailing \r.
13961 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13963 * BufferView_pimpl.C:
13964 * minibuffer..C: added "using SigC::slot" declaration.
13966 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13968 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13974 * paragraph.C: ditto
13976 * lyxtext.h: NO_PEXTRA
13978 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13980 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13981 * ParameterStruct.h: ditto
13982 * ParagraphParameters.h: ditto
13983 * lyxparagraph.h: ditto
13985 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13987 * buffer.C: add compability for minipage alignment.
13988 (latexParagraphs): remove unwanted pextra check.
13990 * several files: remove CXX_WORKING_NAMESPACES
13992 * buffer.C (pop_tag): tie is in namespace boost
13994 * BufferView.h: noncopyable is in namespace boost
13996 * lyx_main.h: ditto
13999 * lastfiles.h: ditto
14000 * bufferlist.h: ditto
14001 * ShareContainer.h: ditto
14003 * LyXAction.h: ditto
14006 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14008 * Merging changes from BRANCH_MVC back into HEAD.
14010 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14012 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14014 * BufferView_pimpl.C: change from intl.C
14018 * Makefile.am: move combox.*
14024 * intl.C: remove dialog (covered by prefs)
14026 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14028 * lyxfunc.C (Dispatch): removed redundant break statement.
14030 2001-03-14 Juergen Vigna <jug@sad.it>
14032 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14034 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14036 * buffer.C: add hack to fix compability reading of minipages.
14038 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14040 * buffer.C (getLists): Cleanup.
14042 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14044 * lyxfont.C (update): don't honor toggleall on font size.
14046 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14050 * Makefile.am: moved to frontends/xforms/
14054 * BufferView_pimpl.C: changes for moved mathpanel
14056 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14058 * gettext.h: fix gettext_init() in --disable-nls
14060 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14064 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14067 * lyx.h: strip external form
14069 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14071 * BufferView_pimpl.C: add comment, destroySplash()
14073 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14075 * BufferView_pimpl.C:
14079 * lyxfunc.C: use re-worked insetinclude
14081 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14083 * buffer.C: add using std::stringstream.
14085 * lyx_cb.C: readd using std::ios.
14087 * buffer.C: add using std::map.
14089 * BufferView_pimpl.C: add using std::vector.
14091 * ShareContainer.h: add std:: to swap.
14093 * buffer.h: add some typedefs
14094 * buffer.C (getLists): use them
14095 (getLists): renamed from getTocList.
14096 add a counter for the different float types and use it in the
14098 (getLists): use the same counter for the NEW_INSETS and the "non"
14101 * lyx_cb.h: remove unused items, includes, using etc.
14103 * ShareContainer.h: remove some commented code, add more comments
14104 and "documentation".
14106 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14108 * buffer.C (getTocList): make the list also when NEW_INSETS is
14111 * buffer.h: remove TocType
14113 * buffer.C (getTocList): change to return a map<string,
14114 vector<TocItem> >, implement for dynamic number of list.
14116 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14117 * text2.C (PasteSelection): adjust
14118 * CutAndPaste.C (pasteSelection): adjust
14120 * FloatList.C (FloatList): update from the new_insets branch.
14121 * Floating.[Ch]: ditto
14122 * LaTeXFeatures.C: ditto
14124 * lyxlex_pimpl.C: ditto
14126 * paragraph.C (Last): remove when NEW_INSETS is defined.
14128 * other file: changes because of the above.
14130 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14132 * lyxparagraph.h: rename next to next_, previous to previous_,
14133 make them private for NEW_INSETS. Rename Next() to next(),
14134 Previous() to previous().
14136 * other files: changes because of the above.
14138 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14141 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14144 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14146 * main.C (main): pass lyx_localedir to gettext_init().
14148 * gettext.h: remove locale_init and gettext_init macros
14150 * gettext.C (locale_init): new function
14151 (gettext_init): new function
14153 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14156 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14158 * Moved credits to frontends:
14159 * credits.[Ch]: removed
14160 * credits_form.[Ch]: removed
14161 * lyx_gui_misc.C: remove credits stuff
14164 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14166 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14168 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14169 unneeded destructor.
14171 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14172 a standalone pointer again.
14174 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14176 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14182 * ToolbarDefaults.C:
14191 * BufferView_pimpl.C: use new file dialog in GUII
14194 * lyx_cb.C: remove LayoutsCB to Toolbar
14196 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14198 * ShareContainer.h (get): add std:: qualifier
14200 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * ShareContainer.h: define a proper ShareContainer::value_type
14203 type (and use typename to please compaq cxx)
14205 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14207 * lyxparagraph.h: move serveral local vars to
14208 ParameterStruct/ParagraphParameters., use ShareContainer in
14209 FontTable., make vars in FontTable private and add getter and
14212 * paragraph.C: changes because of the above.
14214 * lyxfont.h: remove copy constructor and copy assignment. (the
14215 default ones is ok), move number inside FontBits. move inlines to
14218 * lyxfont.C: add number to initializaton of statics, move several
14219 inlines here. constify several local vars. some whitespace
14220 cleanup. Dont hide outerscope variables.
14222 * Spacing.h: add two new constructors to match the set methods.
14224 * ShareContainer.h: new file, will perhaps be moved to support
14226 * ParameterStruct.h: new file
14228 * ParagraphParameters.h: new file
14230 * ParagraphParameters.C: new file
14232 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14233 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14235 * BufferView_pimpl.C: ParagraphParameter changes.
14236 * buffer.C: Likewise.
14237 * bufferview_funcs.C: Likewise.
14238 * text.C: Likewise.
14239 * text2.C: Likewise.
14241 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14243 * lyxfind.C (LyXReplace): do not redefine default argument in
14245 (IsStringInText): ditto
14246 (SearchForward): ditto
14247 (SearchBackward): ditto
14249 2001-03-06 Juergen Vigna <jug@sad.it>
14251 * lyxfind.C (IsStringInText): put parentes around expressions.
14253 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14255 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14257 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14259 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14261 * stl_string_fwd.h: add comment
14263 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14266 * tabular.C: remove unused DocBook methods
14272 killed DO_USE_DEFAULT_LANGUAGE
14274 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14276 * lyx_gui.C: do not include language.h.
14278 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14279 arguments in function implementation.
14281 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14283 * BufferView_pimpl.C: add <ctime>
14285 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14287 * BufferView_pimpl.C: add using std::find_if
14289 2001-02-27 José Matos <jamatos@fep.up.pt>
14291 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14294 2001-02-11 José Matos <jamatos@fep.up.pt>
14296 * buffer.C (makeDocBookFile): command styles now have a parameter as
14297 "title" by default.
14299 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14301 * layout_forms.[Ch]: removed
14302 * lyx_cb.[Ch]: out character
14303 * lyx_gui.C: out character
14304 * lyx_gui_misc.C: out character
14305 * bufferview_funcs.C: : out character,
14306 added toggleall as parameter in ToggleAndShow
14308 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14310 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14312 * text2.C (SetCurrentFont): Disable number property at boundary.
14314 2001-02-26 Juergen Vigna <jug@sad.it>
14316 * lyxfunc.C (getStatus): added a string argument override function so
14317 that this is correctly called from LyXFunc::Dispatch if it contains a
14318 do_not_use_argument which is used!
14319 (Dispatch): added check for "custom" export and call appropriate func.
14321 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14323 * lyxrc.C: Add language_command_local, language_use_babel and
14324 language_global_options.
14326 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14328 * buffer.C (makeLaTeXFile): Use language_use_babel and
14329 language_global_options.
14331 2001-02-23 Juergen Vigna <jug@sad.it>
14333 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14334 which works with LyXText and putted it inside BufferView. Here now we
14335 only call for that part the BufferView::Dispatch() function.
14337 * BufferView.C (Dispatch): added.
14339 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14340 functions which needs to use a LyXText over from LyXFunc.
14341 (MenuInsertLyXFile): added
14342 (getInsetByCode): added
14343 (moveCursorUpdate): added
14344 (static TEXT): added
14346 2001-02-22 Juergen Vigna <jug@sad.it>
14348 * BufferView_pimpl.C (update): call a status update to see if LyXText
14351 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14353 * vc-backend.C (revert): implement for CVS
14354 (getLog): implement for CVS
14356 2001-02-20 Juergen Vigna <jug@sad.it>
14358 * text2.C (ClearSelection): added BufferView param for inset_owner call
14360 * lyxfunc.C (TEXT): added this function and use it instead of
14361 directly owner->view()-text of getLyXText().
14363 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14365 * src/layout_forms.C: out preamble
14366 * src/layout_forms.h: out preamble
14367 * src/lyx_cb.C: out preamble
14368 * src/lyx_cb.h: out preamble
14369 * src/lyx_gui.C: out preamble
14370 * src/lyx_gui_misc.C: out preamble
14371 * src/lyxfunc.C: connect with guii preamble
14373 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14375 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14377 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14379 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14380 whether to run bibtex.
14382 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14384 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14386 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14388 * Makefile.am (lyx_SOURCES): removed bibforms.h
14390 * vspace.h: doxygen
14392 * text.C (GetVisibleRow): make several local vars const
14394 * tabular.C: small cleanup.
14396 * lyxserver.C (callback): use compare instead of strncmp
14398 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14399 inlines to after class or to paragraph.C
14401 * lyxfont.h: remove friend operator!=
14403 * converter.h: move friend bool operator< to non friend and after
14406 * combox.h: small cleanup
14408 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14409 to inlines after class def.
14411 * buffer.C (pop_tag): use string operations instead of strcmp
14413 * bmtable.c: doxygen, small cleanup
14415 * LaTeX.h: remove friend operator==
14417 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14429 * BufferView_pimpl.C:
14430 * BufferView.[Ch]: remove cruft
14432 2001-02-14 Juergen Vigna <jug@sad.it>
14434 * lyxfunc.C: removed #if 0 unused code
14436 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14438 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14440 * text2.C (SetSelection): added a BufferView * parameter
14442 2001-02-13 Juergen Vigna <jug@sad.it>
14444 * lyxfunc.C (Dispatch): fixed protected blank problem.
14445 * BufferView2.C (protectedBlank): added LyxText * parameter.
14447 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14448 (AppendColumn): same as above for column_info.
14450 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14451 (moveCursorUpdate): use a LyXText param for support of InsetText.
14453 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14454 (tripleClick): ditto
14456 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14458 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14460 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14462 * text2.C (SetSelection): set correct update status if inset_owner
14463 (ToggleFree): ditto
14465 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14467 * tabular.C: remove some commented code.
14469 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14471 * BufferView_pimpl.C: call hideSplash()
14473 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14476 * bibforms.h: remove
14479 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14480 add LFUN_CHILD_CREATE
14482 * counters.h: fix tiny typo
14487 * lyx.C: move splash to frontends/xforms/
14489 * lyx_gui_misc.C: move Include and Bibform to frontends
14491 * lyxvc.h: clarify comment
14493 * vspace.C: tiny housekeeping
14495 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14497 * text.C (PrepareToPrint): RTL Fix.
14499 * paragraph.C (GetUChar): New method.
14500 (String): Use GetUChar.
14502 * buffer.C (asciiParagraph): Use GetUChar.
14504 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14506 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14508 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14511 * buffer.C: rename to getLogName(), handle
14512 build log / latex log nicely
14514 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14517 * MenuBackend.h: remove support for reference menuitem type.
14519 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14521 * BufferView_pimpl.C: housekeeping
14522 * BufferView_pimpl.h:
14527 * minibuffer.h: move Timeout GUI-I
14529 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14531 * lyxrc.C (read): Update converters data-structures.
14533 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14535 * LaTeX.h (operator!=): add operator != for Aux_Info
14537 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14539 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14541 * LaTeXLog.C: deleted, useful code moved to Buffer
14544 * buffer.C: new function getLatexLogName()
14550 * lyxfunc.C: use frontends for LaTeX and VC logs
14552 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14554 * LaTeX.h: yet another std:: that Allan forgot.
14556 * Variables.C (set): renamed from isset(), because this clashes
14557 with some HP-UX macros (grr).
14559 2001-02-06 Allan Rae <rae@lyx.org>
14561 * LaTeX.h: Another bug fix. Missing std:: this time.
14563 2001-02-04 Allan Rae <rae@lyx.org>
14565 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14566 floats problem. I've left it commented out because it's not quite
14567 correct. It should also test that the current object is a table or
14568 figure inset. But I haven't gotten around to figuring out how to do
14569 that. I *think* it'll be something like: "table" == inset.type()
14571 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14574 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14576 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14577 all the citation/databases/styles in the auxilary file.
14578 (run): Rerun latex if there was a babel language error.
14580 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14582 * text.C (Backspace): Preserve the font when changing newline char
14584 (BreakParagraph): If the cursor is before a space, delete the space.
14586 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14588 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14590 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14591 new argument (code).
14592 (ChangeCitationsIfUnique): New method.
14594 * paragraph.C (GetPositionOfInset): Handle bibkey.
14596 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14598 * BufferView_pimpl.h: change type of Position::par_pos to
14599 LyXParagraph::size_type.
14601 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14603 * BufferView_pimpl.C (savePosition, restorePosition): Write
14604 messages to minibuffer.
14606 2001-01-28 José Matos <jamatos@fep.up.pt>
14608 * buffer.C (makeDocBookFile): adds support for document language.
14609 A silly restriction on the name of LatexCommand types where removed.
14610 Added support for CDATA sections, allows to chars unescaped, used
14611 among others in code, to avoid escape < and >.
14613 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14615 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14616 saved positions instrad of a stack. Furthermore, a position is
14617 stored using paragraph id/paragraph position.
14619 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14620 Remove LFUN_REF_BACK.
14622 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14624 * converter.C (dvipdfm_options): New method.
14626 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14628 * vspace.C (isValidLength): Fix for empty input string.
14630 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14632 * LyXAction.C (init): change description of LFUN_FIGURE to
14635 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14637 * LaTeX.C: add using directive
14639 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14641 * MenuBackend.C (expand): Fix the sorting of the formats.
14643 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14645 * lyx_main.C: tiny error message fix
14647 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14649 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14650 calling fl_initialize(). This fixes the problem with ',' as
14651 decimal separator in text files.
14653 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14655 * trans.C (process): Fix the keymap bug.
14657 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14659 * LaTeX.C (scanAuxFiles): New method. Provides support for
14660 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14661 (scanLogFile) Scan for "run BibTeX" messages.
14663 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14664 OT1 font encoding. Also, load the aecompl package if the ae
14667 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14669 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14671 * texrow.C (increasePos): turn two error messages into debug
14674 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14676 * LaTeX.C (scanAux): Handle the \@input macro.
14677 (runBibTeX): Use scanAux().
14679 * language.C (latex_options_): New field.
14681 * LaTeXFeatures.C (getMacros): Add language macros.
14683 * buffer.C (makeLaTeXFile): Small fix.
14685 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14687 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14689 * text2.C: add a using directive.
14691 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14696 * lyxfunc.C: kill LyXBell.
14698 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14700 * text.C (IsBoundary): Remove the error message
14702 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14704 * lyxrc.C (setDefaults): Correct initialization value for
14707 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14709 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14712 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14713 and GotoNextNote().
14715 * src/LyXAction.C: Added reference-next.
14717 * text.C (InsertChar): Use contains instead of strchr.
14719 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14721 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14723 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14724 alignment commands (when needed).
14726 * text.C (InsertChar): Add ':' to number separator chars.