1 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3 * cursor.C (dispatch): restore current_ before returning
5 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
7 * text2.C (cursorUp, cursorDown): fix coords
10 2004-02-12 André Pönitz <poenitz@gmx.net>
15 * text3.C: add LCursor & parameter to most cursor movement functions
16 remove usage of LyXText::cursorRow() and cursorPar()
18 * cursor.[Ch]: add textRow() needed members
24 * BufferView_pimpl.C: adjust
26 2004-02-11 André Pönitz <poenitz@gmx.net>
30 * BufferView_pimpl.C: shift undo/redo handling
32 * cursor.[Ch]: fix mathed crash
35 * lyxtext.h: move selectionAsText to LCursor
43 * rowpainter.C: fix excessive drawing
45 2004-02-06 André Pönitz <poenitz@gmx.net>
48 * BufferView_pimpl.[Ch]:
49 * text3.C: move some text specific LFUN handling
51 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
53 * text3.C (checkInsetHit): adjust coords
54 * text2.C (getColumnNearX): adjust coords
56 * text.C (getRowNearY): add two asserts
58 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
61 * format.C: add using std::distance to compile on gcc 2.95/stlport
63 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
65 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
67 2004-02-04 André Pönitz <poenitz@gmx.net>
69 * BufferView.[Ch] (insertInset):
70 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
75 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
77 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
78 on the default clause of the switch
79 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
80 wasn't catched by LCursor::dispatch
82 2004-02-03 André Pönitz <poenitz@gmx.net>
85 * cursor.[Ch]: some additional asserts
87 * undo.[Ch]: remove LyXText dependency in interface
91 * lyxtext.h (firstPar, lastPar): remove dead functions
96 * paragraph.[Ch]: adjust
98 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
100 * lyxfind.C (find): fix argument order in call to ::find
102 2004-02-02 André Pönitz <poenitz@gmx.net>
104 * cursor.[Ch]: remove direct access to anchor
106 * text.C: remove findText() hack
108 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
110 * iterators.[Ch] (lockPath): remove in favour of...
111 * BufferView.[Ch] (setCursor): this addition
112 * BufferView.C (putSelectionAt): adjust
113 * undo.C (performUndoOrRedo): adjust
114 * lyxfunc.C (dispatch): adjust
116 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
118 * iterators.C (lockPath): add a missing slice
119 * undo.C (performUndoOrRedo): remove redundant positioning code
121 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
123 * vc-backend.C (scanMaster): ";" -> ';'
125 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
127 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
130 * lyxtextclass.C (compare_name): rename to...
131 (LayoutNamesEqual): ...this
133 * lyxlex_pimpl.C (compare_tags): inherit from
134 std::binary_function, put back into anon namespace
136 * lyxfind.C (MatchString): inherig from std::binary_function
137 (findChange): use empty() istead of !size()
139 * format.C (FormatNamesEqual): new functor
146 * converter.C (compare_Converter): rename to...
147 (ConverterEqual): ...this, and fixup a bit.
148 (getConverter): use it, and make function const
149 (getNumber): use it, and make function const
153 * bufferlist.C: add using boost::bind
155 * MenuBackend.C (MenuNamesEqual): new functor
156 (hasMenu): use it, and make function const
157 (hasSubmenu): use nested bind to get rid of compare_memfun.
159 2004-01-30 André Pönitz <poenitz@gmx.net>
161 * BufferView_pimpl.C:
172 * text3.C: move some of the edit(x,y) handling to the insets
173 some coordinate changes.
175 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
177 * text.C: add using statements for std::advance and std::distance
179 * paragraph.C: add using statement for std::distance
181 * lyxfind.C: add using statement for std::advance
183 * cursor.C (region): remove std:: from swap
184 (openable): use nucleus in stead of operator->
186 * BufferView.C: add using statements for std::distance and std::swap
188 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
190 * iterators.C: Remove the pimple, move the needed structures to
191 the header file. Create accessor for the positions stack.
192 (asPosIterator): remove function
194 * PosIterator.C (PosIterator): move constructors to top of file
195 (PosIterator): reimplement the constructor taking a ParIterator in
197 (setFrom): new function
198 (operator!=): inline it
200 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
202 * lyxfind.C (replaceAll): use std::advance
204 * iterators.h: inherit from std::iterator.
206 * PosIterator.C (advance, distance): remove
207 * PosIterator.h: interit from std::iterator.
209 2004-01-26 André Pönitz <poenitz@gmx.net>
212 * BufferView_pimpl.[Ch]:
216 * bufferview_funcs.C:
227 * output_plaintext.C:
229 * paragraph_funcs.[Ch]:
230 * paragraph_pimpl.[Ch]:
236 * text3.C: more IU: dumps most of the rest of the mathcursor
237 implementation into cursor.[Ch]; "globalize" a bit of it.
239 2004-01-25 Angus Leeming <leeming@lyx.org>
241 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
243 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
245 * LaTeXFeatures.h: add nice_ and nice() const
246 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
248 2004-01-20 André Pönitz <poenitz@gmx.net>
251 * BufferView_pimpl.C:
253 * bufferview_funcs.C:
266 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
267 LCursor and mathcursor parts to LCursor and InsetBase.
269 2004-01-15 André Pönitz <poenitz@gmx.net>
271 * cursor_slice.[Ch]: add a few covienience functions
273 * funcrequest.[Ch]: remove BufferView * member
275 * BufferView_pimpl.C:
282 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
284 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
286 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
287 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
289 2004-01-13 André Pönitz <poenitz@gmx.net>
292 * lyxtext.h: hide cursor and selection anchor behind accessor function
295 * BufferView_pimpl.[Ch]:
297 * bufferview_funcs.C:
307 * cursor_slice.[Ch]: some integer type changes for inset unification
309 * lyxcursor.[hC]: remove, it's CursorSlice now.
312 * BufferView_pimpl.[Ch]:
313 * bufferview_funcs.C:
319 * textcursor.[Ch]: adjust
321 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
323 * text2.C (undoSpan): add and use
324 * text.C (breakParagraph): use undoSpan (fix bug 578)
327 2004-01-08 Angus Leeming <leeming@lyx.org>
329 * BufferView_pimpl.C (MenuInsertLyXFile):
330 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
331 * lyxfunc.C (menuNew, open, doImport):
332 FileFilterList change to the FileDialog open and save functions.
334 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
336 * ShareContainer.h: make isEqual and isUnique adaptable
338 * CutAndPaste.C: make resetOwnerAndChanges adaptable
340 2004-01-07 Angus Leeming <leeming@lyx.org>
343 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
345 * BufferView_pimpl.C (dispatch): act on these LFUNs.
347 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
348 functions replacing find, replace and replaceAll.
350 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
351 LFUN_WORDFIND(FORWARD|BACKWARD).
353 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
355 * text.C (breakParagraph): remove an outdated #warning
357 2004-01-07 André Pönitz <poenitz@gmx.net>
359 * lyxfind.C: somewhat clearer logic
361 * text.C: prevent crash in cursorX on unitialized row cache
363 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
365 * lyxcursor.[Ch] (operator>): add
366 * textcursor.C (selStart, selEnd): use std::min and std::max
368 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
370 * Chktex.C: include boost/format.hpp
372 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * InsetList.C: replace functor MathcIt with adaptable functor
376 (insetIterator): modify accordingly
378 * BranchList.h: move the BranchNamesEqual functor here from...
379 * BranchList.C: ... to here
381 * BranchList.C: new BranchListEqual fuctor, use it. Remove
383 (add): replace a finding loop with std::find_if.
385 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
387 * output_docbook.C: moving LatexParam functionality into
390 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
392 * buffer.C: increment format to 229.
394 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
397 * lyx_sty.[Ch]: remove minipageindent_def
403 * text3.C: remove LFUN_INSET_MINIPAGE
405 2003-12-28 Angus Leeming <leeming@lyx.org>
407 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
409 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
411 * text2.C (setParagraph): fix off-by-one crash
413 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
415 * output_docbook.C: header stuff for AGU
417 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
419 * text2.C (redoCursor): remove
422 * BufferView_pimpl.C: remove calls to redoCursor and
423 setCursor(cursor.par(), cursor.pos()) all around
425 2003-12-15 Angus Leeming <leeming@lyx.org>
427 * buffer.C: up the format to 228.
429 2003-12-15 André Pönitz <poenitz@gmx.net>
431 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
436 * BufferView_pimpl.C:
445 2003-12-15 Angus Leeming <leeming@lyx.org>
447 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
448 than getFromGUIName to manipulate the color.
450 2003-12-14 Angus Leeming <leeming@lyx.org>
452 * BranchList.[Ch]: minimize the API.
453 (Branch::getBranch, getColor): now return a 'const &'.
454 (Branch::setSelected) now returns a bool set to true if the
455 selection status changes.
456 (BranchList::clear, size, getColor, setColor, setSelected,
457 allBranches, allSelected, separator): removed.
458 (BranchList::find): new functions, returning the Branch with
460 (BranchList::add, remove): return a bool indicating that
461 the operation was successful.
463 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
464 new InsetBranch::isBranchSlected member function.
466 * LColor.[Ch]: mimimize the API.
467 (fill): renamed as addColor and made private.
468 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
469 versions of these functions taking a string arg have been removed.
471 * bufferparams.C (readToken):
472 * lyxfunc.C (dispatch):
473 * lyxrc.C (read): changes due to the altered BranchList and
476 * factory.C (createInset, readInset): changes due to altered
479 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
482 * lyxfunc.C: remove insetminipage. "minipage-insert"
483 now produces a frameless minipage box inset.
485 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
487 * textcursor.[Ch] (selStart,selEnd): add new methods
488 remove selection::start, end, use LyXCursor::operator<
489 * lyxcursor.[Ch] (operator<): add
490 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
491 * BufferView.[Ch] (unsetXSel): add
492 * text2.C (clearSelection): use unsetXSel,adjust
495 * rowpainter.C: adjust
496 * bufferview_funcs.C (put_selection_at): adjust
498 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
500 * BufferView_pimpl.C: small coord. correction
502 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
504 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
505 dragging over the splash screen.
507 2003-12-11 Angus Leeming <leeming@lyx.org>
509 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
510 as it is now handled in LyXText::dispatch.
512 * text3.C (doInsertInset): remove a level of nesting.
514 2003-12-11 Angus Leeming <leeming@lyx.org>
516 * factory.C (createInset): changes due to the changed interface to
517 InsetCommandMailer::string2params.
519 2003-12-10 Angus Leeming <leeming@lyx.org>
521 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
522 'dialog-show-new-inset <inset name>'
524 2003-12-10 Angus Leeming <leeming@lyx.org>
526 * buffer.C: up the format to 227.
528 * factory.C: the box inset is now identified simply by 'Box'.
530 2003-12-10 Angus Leeming <leeming@lyx.org>
532 * buffer.C: up the format to 226.
534 * factory.C: the note inset is now identified simply by 'Note'.
536 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
538 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
539 when a pit is enough. Standarize a couple of loops.
541 2003-12-05 Angus Leeming <leeming@lyx.org>
543 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
544 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
545 data to the re-worked "log" dialog.
547 2003-12-03 André Pönitz <poenitz@gmx.net>
555 * text2.C: use Inset::getText instead of Inset::getParagraph
557 2003-12-03 André Pönitz <poenitz@gmx.net>
561 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
562 InsetText::read() as LyXText::read()
564 2003-12-02 Angus Leeming <leeming@lyx.org>
566 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
567 type. Add a comment in the implementation that the function uses
568 the stream's bad() function rather than fail() as the std::streams
571 2003-12-02 André Pönitz <poenitz@gmx.net>
573 * lyxlex.[Ch]: make interface more similar to std::stream
575 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
577 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
579 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
581 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
583 * vspace.[Ch]: remove VSpace::NONE
585 2003-12-01 André Pönitz <poenitz@gmx.net>
588 * lyxtext.h: move ParagraphList member to LyXText
589 rename LyXText::ownerParagraphs to LyXText::paragraph
592 * bufferview_funcs.C:
602 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
604 * undo.C: fix cursor positioning
606 2003-12-01 John Levon <levon@movementarian.org>
608 * BufferView_pimpl.C: fix a crash on exit with
611 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
613 * BranchList.C: fix setSelected() method.
615 2003-11-28 André Pönitz <poenitz@gmx.net>
617 * ParagraphParameters.[Ch]:
618 * ParameterStruct.h: remove space above/below from Paragraph to
621 * BufferView_pimpl.C:
633 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
635 * factory.C: Syntax change for CharStyles
637 2003-11-28 André Pönitz <poenitz@gmx.net>
642 * buffer.[Ch]: move LyXText member
644 2003-11-28 André Pönitz <poenitz@gmx.net>
646 * BufferView.[Ch]: make LyXText * text a private member
648 * BufferView_pimpl.C:
659 * output_plaintext.C: cleanup
661 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
664 * lyxtextclass.[Ch]: parametrize SGML document header
666 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
669 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
672 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
674 * text2.C (setFont): rework using PosIterator (no more recursive)
675 (setCharFont): no more needed
676 (setLayout): no more selection cursors fiddling (done by redoCursor)
677 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
678 destroy remaining ones)
680 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
682 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
684 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
687 * text3.C: adjust + re-allow multi par depth changes
688 * textcursor.C: simplify a bit
690 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
696 * src/output_docbook.C:
697 * src/output_latex.C:
702 * src/text2.C: Introducing a number of tags parametrizing various
703 XML formats that we may want to support
705 2003-11-25 André Pönitz <poenitz@gmx.net>
707 * InsetList.[Ch] (begein, end): inline as suggested by profiler
709 * lyxtext.h (leftMargin/rightMargin): simplify interface
716 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
718 * lyxfunc.C (dispatch): propogate the bibtex databases from the
719 master file to any child files. Fixes bug 546.
721 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
723 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
725 2003-11-24 André Pönitz <poenitz@gmx.net>
727 * rowpainter.C: simplification
729 * text2.C (updateCounters): remove call to redoParagraph on
730 changed labels as this is far too expensive.
732 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
734 * converter.C (convert): fix a crash: this function gets
735 called with buffer == 0 from importer code.
737 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
739 * text3.C (cursorPrevious): make sure that we do not compare
740 iterators form different containers.
743 * rowpainter.C (paintSelection): make sure that we do not compare
744 iterators from different containers.
746 * text3.C (dispatch): [PRIOR] make sure that we do not compare
747 iterators from different ParagraphList containers.
750 * text2.C (LyXText): change order of initialization slightly
751 (operator=): new function. copy all variables except cache_par_
752 (moveUp): make sure that we do not compare iterators from
753 different ParagraphList constainers.
756 * text.C (firstPar): new function
757 (lastPar): new function
758 (endPar): new function
760 * lyxtext.h: move things around and group public functions, public
761 variables, private functions, private variables
763 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
765 * factory.C: change call to InsetERT constructor to avoid
766 additional invocation of method status
767 * text2.C (toggleInset): remove redundant update() call
768 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
769 instead of a Bufferview pointer
771 2003-11-21 André Pönitz <poenitz@gmx.net>
773 * rowpainter.C: simplification
775 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
777 * text3.C (dispatch): make possible to extend a word/row selection
780 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
782 * lyxtext.h: x0_,y0_ -> xo_,yo_
783 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
784 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
785 * rowpainter.C (paintRows): paint full paragraphs
787 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
789 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
792 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
794 * lyxtext.h: add x0_, y0_
795 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
796 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
798 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
800 * text2.C (setCursorIntern): move the x_target update here *
801 * text3.C: change some bv() to true/false in calls to
802 cursorUp/Down/Right/Left
803 * cursor.C: use helper function.
805 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
807 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
808 * paragraph_funcs.[Ch]: correct comment
809 * rowpainter.C: do not paint selections away from bv->cursor()
810 Fix a long standing selection painting bug.
811 * text3.C: generalize mouse-selection code to LyXTexts other that
813 * textcursor.C: do not use y coords if we can use par offsets
815 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
817 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
818 cursor position after e.g. inset insert)
820 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
822 * lyxfind.C (replace): adjust to locking removal + some
825 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
827 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
830 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
833 * output_docbook.C: XML sanitation: new layout
834 parameters InnerTag and CommandDepth
836 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
838 * BufferView_pimpl.C:
840 * text3.C: Fix the insertion and modification of button-style
843 2003-11-13 André Pönitz <poenitz@gmx.net>
845 * InsetList.[Ch]: remove deleteLyXText
847 * paragraph.[Ch]: cache beginOfBody position
852 * text3.C: remove superfluous update() calls
856 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
858 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
859 * BufferView.C (fitLockedInsetCursor): remove
860 * cursor.[Ch] (getDim): add
861 * text.C (getRowNearY): add faster version
862 * text3.C: remove some update calls
864 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
876 * text3.C: The Character Style /XML short element patch.
878 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
881 * factory.C: Small step to solving 'unable to insert some insets'
884 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
886 * cursor.[Ch] (updatePos): new function for updating the y
887 position of the tip inset
888 * bufferview_funcs.C (put_selection_at):
889 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
891 2003-11-11 André Pönitz <poenitz@gmx.net>
893 * text.C: remove big comment on invalid Paragraph pointers as it is
896 2003-11-11 André Pönitz <poenitz@gmx.net>
898 * text_funcs.[Ch]: merge with ...
906 * Makefile.am: remove text_funcs.[Ch]
908 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
910 * cursor.C (getPos): return absolute cached y coord
912 * BufferView_pimpl.C (fitCursor): new simplistic code
913 (workAreaDispatch): add a fitCursor call
915 2003-11-10 André Pönitz <poenitz@gmx.net>
918 * BufferView_pimpl.[Ch]: merge update() and updateInset()
920 2003-11-10 André Pönitz <poenitz@gmx.net>
922 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
923 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
924 indicate that the cursor needs to leave an inset
926 * lyxtext.h: remove inset locking
928 * cursor.[Ch]: re-implement functionality provided by inset locking
931 * BufferView_pimpl.[Ch]:
933 * bufferview_funcs.[Ch]:
945 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
947 * PosIterator.[Ch]: replace the stack with a vector, add inset
949 * iterators.[C]: adjust
951 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
953 * lyxfind.C (replaceAll): mark the buffer dirty if something was
955 * paragraph_funcs.C (readParToken): put the correct id in the
956 error item, not the id of the top paragraph
958 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
960 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
961 * bufferview_funcs.C (put_selection_at): use the above
963 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
965 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
967 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
970 * output_plaintext.h:
972 * output_docbook.h: add #include statements
974 2003-11-05 José Matos <jamatos@lyx.org>
976 * output_docbook.[Ch]:
978 * output_linuxdoc.[Ch]:
979 * output_plaintext.[Ch]: New files for output formats.
980 * output.[Ch]: New file for helper functions.
983 * paragraph_funcs.[Ch]: output functions moved to new files.
985 * outputparams.h: rename of latexrunparams.h
993 * paragraph_funcs.[Ch]:
994 * paragraph_pimpl.[Ch]:
995 * tabular.[Ch]: rename ascii to plaintext
996 and LatexRunParams to OutputParams.
998 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1000 * iterators.[Ch] (text): require bv argument
1001 * undo.C (recordUndo):
1002 * lyxfunc.C (dispatch):
1003 * bufferview_funcs.C (put_selection_at): adjust
1005 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1007 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1009 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1011 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1014 2003-11-04 André Pönitz <poenitz@gmx.net>
1016 * cursor.[Ch]: restructure
1019 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1021 * iterators.[Ch] (asCursor): remove
1023 * lfuns.h: remove LFUN_INSET_EDIT
1029 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1031 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1033 * lyxfind.[Ch]: complete overhaul
1034 * BufferView_pimpl.C:
1036 * paragraph.[Ch] (insert): add
1038 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1042 * text.C: remove dead spellcheck code
1044 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1046 * dispatchresult.h: add a val setter
1048 * cursor.C (dispatch): use a tempvar for data_[i]
1050 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1052 * PosIterator.[Ch]: compile fix
1054 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1056 * text.C (cursorPar): deactivate the cursor cache
1058 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1060 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1062 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * text3.C (dispatch): adjust for new DisptchResult semantics.
1066 * lyxfunc.C (dispatch): handle update when return from
1067 Cursor::dispatch, adjust for new DispatchResult semantics.
1069 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1070 DispatchResult(true) mean to not update. Add class functions for
1071 setting dispatched and update, as well as reading.
1073 * cursor.C (dispatch): don't handle update here
1075 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1078 * trans_mgr.C: adjust
1080 * paragraph_funcs.C (readParToken): exception safety
1082 * lyxvc.h: store the vcs pointer in a scoped_ptr
1085 * lyxsocket.C (serverCallback): exception safety
1087 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1089 * ispell.C (clone): make it return a auto_ptr
1091 * factory.C (createInset): exception safety
1092 (readInset): exception safety
1094 * bufferlist.C (newBuffer): exception safety
1096 * Thesaurus.C (Thesaurus): use initialization for aik_
1098 * MenuBackend.C (expandToc): exception safety.
1100 2003-11-03 André Pönitz <poenitz@gmx.net>
1104 * bufferview_funcs.C: remove getInsetFromId()
1107 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1113 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1115 * PosIterator.C (distance, advance): new
1116 * bufferview_funcs.[Ch] (put_selection_at): new
1117 * iterators.[Ch] (lockPath): new
1119 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1121 * iterators.[Ch] (asPosIterator): added
1122 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1123 * PosIterator.[Ch]: added
1125 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1129 * cursor.C (dispatch):
1130 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1132 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1133 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1134 contructor, add a class function dispatched. Remove operator>=
1136 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * debug.C: only use the default constructor for debugstream
1141 * main.C (main): include debug.h and setup the lyxerr streambuf
1144 2003-10-31 José Matos <jamatos@lyx.org>
1146 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1148 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1149 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1150 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1151 * paragraph_pimpl.C (simpleTeXSpecialC):
1152 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1153 add LatexRunParams argument.
1155 * exporter.C (Export): change call accordingly.
1157 * latexrunparams.h: add new member to take care of the other backends.
1158 2003-10-30 José Matos <jamatos@lyx.org>
1160 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1161 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1162 factorise code for paragraph output.
1164 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1167 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1169 * text3.C (dispatch):
1170 * lyxfunc.C (dispatch):
1171 * cursor.C (dispatch):
1172 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1174 * dispatchresult.h: make the dispatch_result_t ctor explicit
1176 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1179 * buffer.C: small refactoring of docbook stuff
1181 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1186 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1188 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1189 operator dispatch_result_t, and operators for == != and >=
1191 * cursor.C (dispatch): adjust for operator dispatch_result_t
1192 removal. comment out call to update
1194 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1196 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1204 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1207 * dispatchresult.h: new file, DispatchResult broken out of
1210 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1212 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1214 * text.C (rowBreakPoint): put a hack inside #if 0
1216 2003-10-28 André Pönitz <poenitz@gmx.net>
1220 * paragraph_funcs.C:
1223 * text2.C: general cleanup (lots of small stuff)
1225 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1227 * text2.C (cursorEnd): simple fix to the "end key goes to one
1228 before the end on last row" bug
1230 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1232 * text.C (backspace): fix the "zombie characters"
1234 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1236 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1238 2003-10-27 André Pönitz <poenitz@gmx.net>
1240 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1242 * factory.C: handle new InsetPagebreak, InsetLine
1244 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1245 and move handling into new InsetPagebreak, InsetLine
1247 * BufferView_pimpl.C:
1249 * ParagraphParameters.C:
1250 * ParameterStruct.h:
1255 * paragraph_funcs.C:
1256 * paragraph_pimpl.C:
1262 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1265 * lyxrow_funcs.[Ch]:
1271 * text3.C: remove lastPos uses in favour of Row::endpos
1273 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1275 * undo.C (performUndoOrRedo): fix two crashes by setting a
1276 cursor by hand and reordering some calls. Use bv->lockInset instead
1277 of inset->edit because the latter loses cursor information
1279 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1281 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1283 (rowBreakPoint): fix width. change point to point + 1.
1284 Add a missing check.
1286 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1289 * lyxfunc.C: fix (at least partly) the problems
1290 with the Nav menu and headers inside branch insets
1293 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1295 * paragraph.C (getChar): add strong asserts
1297 * lyxrow_funcs.C (lastPos): remove hideous hack
1299 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1300 (fill): adjust to that (avoid an infinite loop)
1302 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1304 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1306 2003-10-23 André Pönitz <poenitz@gmx.net>
1308 * RowList_fwd.h: change list<> to vector<> to gain speed
1309 after suggestion from Alfredo
1311 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1313 * lyxtext.h: move the bidi stuff from here...
1316 * Bidi.[Ch]: ... to here
1318 2003-10-23 André Pönitz <poenitz@gmx.net>
1321 * text.C (isLastRow, isFirstRow): new functions
1323 * paragraph.h: new width cache member
1325 * rowpainter.C: replace RowList::iterator with Row & where possible
1327 * lyxfunc.C: replace several view()->text with a single call
1329 * toc.C: fix 'unused' warning
1331 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1334 when woring with stream::pos_type
1335 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1337 2003-10-22 André Pönitz <poenitz@gmx.net>
1340 * text.C: use Row & instead of RowList::iterator
1342 * lyxrow.h: rename end() to endpos()
1348 2003-10-22 Angus Leeming <leeming@lyx.org>
1350 * buffer.[Ch] (fully_loaded): new member function, returning true
1351 only when the file has been loaded fully.
1352 Used to prevent the premature generation of previews and by the
1353 citation inset to prevent computation of the natbib-style label.
1355 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1356 templates are all set up.
1358 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1360 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1362 * text.C: fixed an "oops" in the "is a bit silly"
1365 2003-10-21 André Pönitz <poenitz@gmx.net>
1367 * FuncStatus.[Ch]: small stuff, whitespace
1369 * lyxfont.[Ch]: operator<<() for debug reasons
1373 * lyxtext.h: whitespace, spelling
1375 * paragraph.C: naming of variables
1378 * text2.C: small stuff
1381 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1383 * text.C: (1) finish off the inset display() work;
1384 (2) fix the "is a bit silly" bug (accessing char
1387 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1389 * text.C: re-introduce display() for insets, fixing the
1390 various bugs (stretch of line above, math inset
1393 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1395 * text.C (rightMargin): remove spurious semicolon
1397 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1400 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1402 * text3.C: fix one crash due to wrong cursor def
1404 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * vc-backend.C (scanMaster): make the regex static
1408 * LaTeX.C (scanAuxFile): make the regexs static
1410 * text3.C (doInsertInset, dispatch, dispatch):
1411 * text2.C (cursorUp, cursorDown):
1412 * text.C (selectNextWordToSpellcheck):
1413 * BufferView_pimpl.C (dispatch):
1414 * lyxfunc.C (dispatch): localDispatch -> dispatch
1416 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1418 * lyxsocket.C: include <cerrno>
1420 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1422 * lyxfunc.C (dispatch): remove textcache stuff
1424 * bufferlist.C (release): remove textcache stuff
1427 * TextCache.C: delete file
1428 * TextCache.h: delete file
1430 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1432 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1433 delete of the bv_->text.
1434 (resizeCurrentBuffer): remove texcache stuff
1435 (workAreaResize): ditto
1437 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1439 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1442 2003-10-16 André Pönitz <poenitz@gmx.net>
1449 * text3.C: speed up by storing y positions per paragraph plus per-row
1450 offset instead of having a 'full' y position in the row.
1452 2003-10-15 André Pönitz <poenitz@gmx.net>
1456 * undo.[Ch]: make undo aware of inner insets
1458 2003-10-14 Angus Leeming <leeming@lyx.org>
1460 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1461 static member functions LyX::ref() and LyX::cref.
1462 (lastfiles): new accessor functions for the new lastfiles_ member var.
1463 (addLyXView, views_): add a new LyXView to the list of views_.
1464 (updateInset): loop over all LyXViews to call their own updateInset
1465 member function, returning a pointer to the Buffer owning the inset.
1467 * BufferView_pimpl.C (loadLyXFile):
1468 * MenuBackend.C (expandLastfiles):
1469 * bufferlist.C (MenuWrite, QuitLyX):
1470 lastfiles is no longer a global variable.
1471 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1473 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1474 static function. Access through LyX::cref().emergencyCleanup().
1476 2003-10-14 André Pönitz <poenitz@gmx.net>
1478 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1480 * undo.[Ch]: restoring part of 'undo in insets'
1483 * undo_funcs.[Ch]: merge with undo.[Ch]
1485 * tabular.C: small cleansing stuff
1487 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1489 * paragraph_funcs.C (readParToken): report unknown insets as error
1490 boxes. Use the outer paragraph as location (also for unknown
1493 * factory.C (readInset): do not abort on reading an unknown inset.
1494 Eat it and return 0.
1496 2003-10-13 Angus Leeming <leeming@lyx.org>
1498 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1500 * lyxrc.C: displayTranslator is now a function,
1501 declared in GraphicsTypes.h.
1503 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1505 * format.C: new placeholder $$a to pass the socket address.
1507 * bufferlist.[Ch]: new function getBufferFromTmp.
1509 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1510 files in the temporary dir.
1512 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1514 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1516 * Makefile.am: add lyxsocket.[Ch].
1518 * lyx_main.C (error_handler): handle SIGPIPE.
1520 2003-10-13 André Pönitz <poenitz@gmx.net>
1522 * BufferView_pimpl.C:
1527 * undo_funcs.[Ch]: use paroffset_type instead of
1528 ParagraphList::iterators to prevent multiple conversion
1529 (and get a more robust interface)
1531 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1533 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1535 * text3.C (dispatch): ditto
1537 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1540 move the onlyfile, use onlyfile instead of foundfile in a couple
1543 * DepTable.C (update): flush the error stream a bit more
1545 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * lyxserver.C (callback): adjust
1549 * lyxfunc.C (getStatus): add a missing brace in commented code
1550 (ensureBufferClean): reindent
1551 (dispatch): delete version taking a string
1553 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * LaTeX.C (deplog): move found file handlig from here...
1556 (handleFoundFile): .. to new function here.
1557 (deplog): make sure to discover several files mentioned on the
1560 2003-10-10 André Pönitz <poenitz@gmx.net>
1567 * text3.C: fix some of the tabular crashes
1569 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1571 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1573 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1575 2003-10-09 André Pönitz <poenitz@gmx.net>
1577 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1580 * BufferView_pimpl.C:
1581 * bufferview_funcs.C:
1592 * undo_funcs.C: adjust
1594 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * text2.C (incrementItemDepth): new function, use a backtracking
1597 algorithm to discover the correct item depth.
1598 (resetEnumCounterIfNeeded): new function, use a backtracking
1599 algorithm to discover if counter reset is needed.
1600 (setCounter): use them. Simplify a bit. Add different labels for
1601 different item depths for itemize.
1603 * paragraph.C (Paragraph): remove initialization of enumdepth
1606 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1607 enumerate and itemize. Change the type of itemdepth to signed char.
1609 2003-10-08 André Pönitz <poenitz@gmx.net>
1611 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1616 * tabular.[Ch]: fix crash after 'row-insert'
1618 2003-10-08 Angus Leeming <leeming@lyx.org>
1620 Fix doxygen warnings.
1622 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1623 Remove CutAndPaste:: prefix from header file declaration.
1625 * LColor.h (fill): remove LColor:: prefix from declaration.
1627 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1628 use lyx::depth_type rather than Paragraph::depth_type so that
1629 header file and .C file match.
1631 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1633 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1634 * aspell.C: \file aspell_local.C -> \file aspell.C
1635 * gettext.C: \file gettext.C -> \file src/gettext.C
1636 * gettext.h: \file gettext.h -> \file src/gettext.h
1637 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1638 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1639 * text.C: \file text.C -> \file src/text.C
1641 * toc.C: move comment so that doxygen is not confused.
1643 2003-10-07 Angus Leeming <leeming@lyx.org>
1645 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1647 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1650 * aspell_local.h: add forgotten std::string's.
1652 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1659 * text3.C: The Box patch. Fancybox support, minipage, parbox
1661 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1667 * ParagraphParameters.h:
1677 * lyxtextclasslist.h:
1680 * paragraph_pimpl.C:
1681 * textcursor.h: add <string> and other small fixes to make Lars'
1682 std::string patch compile with STLport.
1684 2003-10-06 Angus Leeming <leeming@lyx.org>
1686 * LColor.h: Add missing #include <string>.
1688 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1690 * All most all file in all subdirs: Make <string> be the prefered
1691 way of getting to std::string, add using declarations.
1693 2003-10-06 André Pönitz <poenitz@gmx.net>
1695 * metricsinfo.C: initialize LyXFont before changing attribute.
1696 (fixes the 'math in \emph is upright' bug)
1698 2003-10-06 André Pönitz <poenitz@gmx.net>
1700 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1702 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1705 * paragraph_pimpl.C: Small fixes to build using STLport
1707 2003-10-02 André Pönitz <poenitz@gmx.net>
1710 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1712 2003-10-01 André Pönitz <poenitz@gmx.net>
1714 * factory.C: assert early
1716 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1718 * lyx_main.C: remove the global debug object
1720 * debug.h: adjust for new debugstream
1722 * debug.C: adjust for new debugstream and keep the global debug
1725 2003-09-22 Angus Leeming <leeming@lyx.org>
1727 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1728 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1729 an incomplete class LyXFont.
1731 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1733 * factory.C: bug fix in branches
1735 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * lyxfunc.C (processKeySym): adjust
1739 (dispatch): change arg name from ev to func, adjust
1740 (sendDispatchMessage): ditto
1742 * lyx_main.C (defaultKeyBindings): adjust keybindings
1743 (deadKeyBindings): ditto
1745 * kbsequence.C (addkey): return a FuncRequest
1747 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1749 * kbmap.C (bind): take a FuncRequest as arg, adjust
1752 (defkey): change to take a FuncRequest as arg, adjust
1753 (findbinding): take a FuncRequest as arg, adjust.
1755 * funcrequest.h (operator=): added
1757 * funcrequest.C (FuncRequest): default kb_action changed from
1758 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1760 * buffer.C (dispatch): simplify
1761 (dispatch): adjust to take a FuncRequest as arg, adjust
1763 * boost.C (assertion_failed): change assertion message slightly
1765 * ToolbarBackend.C (read): simplify
1767 * MenuBackend.C (binding): adjust call to findbinding, add a
1768 message if no binding is found.
1770 (expandToc): correct by adding a empty FuncRequest
1772 * LyXAction.C: include <boost/assert.hpp>
1773 (isPseudoAction): delete function
1774 (LookupFunc): change name to...
1775 (lookupFunc): this. change return type to FuncRequest.
1776 (getActionName): take kb_action as arg, simplify
1777 (funcHasFlag): add an assert, simplify.
1779 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1781 * toc.C (action): return a FuncRequest, simplify
1783 * lyxfunc.C (processKeySym): adjust
1784 (getStatus): delete version that takes an int.
1786 (dispatch): delete version that takes action as int
1788 (sendDispatchMessage): simplify and adjust
1790 * funcrequest.C (getArg): take unsigned int as arg
1792 * ToolbarBackend.C (read): adjust
1793 (add): delete version that takes func as a string.
1794 (getIton): take a FuncRequest as arg
1796 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1799 * MenuBackend.C (MenuItem): add a new construct that only takes a
1800 Kind, simplify the constructor use for submenus.
1802 (expandLastfiles): adjust
1803 (expandDocuments): adjust
1804 (expandFormats): adjust
1805 (expandFloatListInsert): adjust
1806 (expandFloatInsert): adjust
1807 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1809 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1810 Remove class variables lyx_pseudo_map and lyx_arg_map
1812 * LyXAction.C (searchActionArg): delete function
1813 (getPseudoAction): delete function
1814 (retrieveActionArg): delete function
1815 (LookupFunc): make it return kb_action, simplify.
1816 (getActionName): simplify
1818 * factory.C (createInset): fix new bug
1820 2003-09-19 Angus Leeming <leeming@lyx.org>
1822 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1823 masterFilename_ parameter in the include inset.
1825 * factory.C (createInset): changes due to the changes to InsetInclude.
1827 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1829 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1831 2003-09-18 Angus Leeming <leeming@lyx.org>
1834 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1835 Inset::fillWithBibKeys.
1836 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1838 2003-09-18 Angus Leeming <leeming@lyx.org>
1840 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1842 (ctor): pass and store a 'Buffer const &'
1843 (buffer): new member function.
1845 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1846 '*this' to the LaTeXFeatures ctor.
1848 2003-09-18 Angus Leeming <leeming@lyx.org>
1854 * text.C: rename EnumLColor as LColor_color.
1856 2003-09-18 Angus Leeming <leeming@lyx.org>
1858 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1859 remove #include "insets/insetbase.h" from cursor.h.
1861 2003-09-18 Angus Leeming <leeming@lyx.org>
1863 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1864 InsetOld_code to remove #include "inset.h".
1866 * iterators.C: add #include "insets/inset.h"
1868 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1870 * BufferView.C: remove more locking stuff that apparently doesn't
1871 do anything sensible.
1873 2003-09-16 André Pönitz <poenitz@gmx.net>
1876 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1879 2003-09-16 Angus Leeming <leeming@lyx.org>
1881 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1883 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1886 * paragraph.h: remove #include "lyxfont.h". Forward declare
1889 2003-09-16 Angus Leeming <leeming@lyx.org>
1891 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1892 of support/textutils.h.
1893 (isWord): move the contents of support/textutils.h's IsWordChar here.
1899 * text2.C: add #include "paragraph.h".
1902 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1904 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1910 * LaTeX.C: use namespace alias for lyx::support::os
1912 2003-09-16 Angus Leeming <leeming@lyx.org>
1915 * bufferview_funcs.C:
1918 * paragraph_pimpl.C:
1920 * text.C: add #include "LColor.h".
1922 2003-09-16 Angus Leeming <leeming@lyx.org>
1924 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1925 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1927 Store the FontBits::color variable as an int rather than as an
1928 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1931 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1932 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1933 string calls together.
1935 * lyxrc.C: add #include "LColor.h".
1937 2003-09-15 Angus Leeming <leeming@lyx.org>
1939 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1942 2003-09-15 Angus Leeming <leeming@lyx.org>
1944 * LColor.h: add an EnumLColor wrapper for LColor::color.
1946 * lyxfont.[Ch] (color, setColor, realColor):
1947 * lyxtext.h, text.C (backgroundColor):
1948 pass EnumLColor args to/from the functions, rather than LColor::color
1952 * lyxtext.h: forward declare EnumLColor.
1954 * lyx_main.C: add #include "LColor.h".
1956 2003-09-15 Angus Leeming <leeming@lyx.org>
1958 * .cvsignore: add lyx-gtk.
1960 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1965 * ParagraphParameters.C
1969 * bufferview_funcs.C
1979 * vc-backend.C: remove usage of STRCONV
1981 2003-09-15 Angus Leeming <leeming@lyx.org>
1983 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1984 explicitly define the color passed to the painter.
1986 2003-09-15 Angus Leeming <leeming@lyx.org>
1988 * bufferparams.C (BufferParams): reorder member initializers to avoid
1991 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1993 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1994 * text.C (updateRowPositions): remove an unusual nop
1996 2003-09-12 André Pönitz <poenitz@gmx.net>
1998 * BufferView_pimpl.C:
2007 * Counters.[Ch]: finish the 'automatic counters' job
2009 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2011 * aspell.C: include <boost/assert.cpp> (compile fix)
2013 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2015 * boost.C (assertion_failed): use lyx::support::abort instead of
2018 2003-09-10 Angus Leeming <leeming@lyx.org>
2020 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2021 with their _fwd progeny.
2023 2003-09-09 Angus Leeming <leeming@lyx.org>
2025 134 files throughtout the source tree: replace 'using namespace abc;'
2026 directives with the appropriate 'using abc::xyz;' declarations.
2028 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2030 * boost.C (emergencyCleanup): moved here from LAssert.c
2031 (assertion_failed): new function, called by BOOST_ASSERT
2033 * several files: change Assert to BOOST_ASSERT
2035 2003-09-09 Angus Leeming <leeming@lyx.org>
2037 * buffer.[Ch]: Add an Impl class and move Buffer's member
2038 variables into it. As a result move several header files out of
2041 Add header files to lots of .C files all over the tree as a result.
2043 2003-09-09 Angus Leeming <leeming@lyx.org>
2045 * buffer.[Ch]: make Buffer's member variables private. Add
2048 Lots of changes all over the tree as a result.
2050 2003-09-08 Angus Leeming <leeming@lyx.org>
2052 * graph.C: #include <config.h>.
2054 2003-09-08 Angus Leeming <leeming@lyx.org>
2058 * BufferView_pimpl.C:
2087 * toc.C: remove redundant using directives.
2089 2003-09-07 Angus Leeming <leeming@lyx.org>
2091 * LaTeXFeatures.h: remove #include "support/types.h".
2092 * ToolbarBackend.h: remove #include <algorithm>.
2093 * changes.h: remove #include <ctime>.
2094 * debug.h: remove #include <iosfwd>.
2095 * graph.h: remove #include "support/std_string.h".
2096 * lyx_main.h: remove #include <csignal>.
2097 * lyxlex_pimpl.h: remove #include <fstream>.
2098 * sgml.h: remove #include <algorithm>, <utility>.
2099 * toc.h: remove #include "support/std_ostream.h".
2100 Add #include <iosfwd>.
2102 2003-09-07 Angus Leeming <leeming@lyx.org>
2104 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2106 * converter.h: forward declare LatexRunParams.
2107 * encoding.h: remove #include "lyxrc.h".
2108 * lyxtext.h: remove #include "LColor.h".
2109 * lyxtextclass.h: remove #include "support/types.h".
2110 * trans.h: remove #include "tex-accent.h".
2111 * trans_mgr.h: remove #include "tex-accent.h".
2112 * insets/inset.h: remove #include "support/types.h", <vector>.
2113 * insets/insetcollapsable.h: remove #include "LColor.h".
2114 * insets/insetinclude.h: remove #include "dimension.h".
2115 * insets/insetlatexaccent.h: remove #include "dimension.h".
2116 * insets/insetoptarg.h:: remove #include "insettext.h".
2117 * insets/insettext.h: remove #include "dimension.h",
2118 <boost/shared_ptr.hpp>
2120 * insets/renderers.h: add #include "dimension.h".
2121 * insets/updatableinset.h: add #include "support/types.h".
2123 * many .C files: Associated changes.
2125 2003-09-06 Angus Leeming <leeming@lyx.org>
2127 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2128 one, inside testInvariant.
2130 * PrinterParams.C: new file.
2131 * PrinterParams.[Ch]: move the function bodies out of line.
2133 2003-09-06 Angus Leeming <leeming@lyx.org>
2135 * ParagraphParameters.h: forward declare ParameterStruct rather than
2136 including its header file.
2137 (depth): moved out-of-line.
2139 2003-09-06 Angus Leeming <leeming@lyx.org>
2141 * BufferView_pimpl.h:
2144 * lyxfunc.h: forward declare LyXKeySym rather than
2145 #include "frontends/LyXKeySym.h".
2147 * BufferView_pimpl.C:
2150 * lyxfunc.C: associated changes.
2152 2003-09-06 Angus Leeming <leeming@lyx.org>
2154 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2155 As a result, can remove the #include "insets/inset.h" from BufferView.h
2157 2003-09-06 Angus Leeming <leeming@lyx.org>
2159 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2160 As a result, can remove the #include "insets/inset.h" from BufferView.h
2162 2003-09-06 Angus Leeming <leeming@lyx.org>
2168 * bufferview_funcs.C:
2169 * BufferView_pimpl.C:
2174 * ParagraphParameters.C:
2179 * frontends/controllers/ControlDocument.C:
2180 * insets/insetcaption.C: rearrange the #includes into some sort of
2183 * buffer.h: remove #includes ErrorList.h, undo.h
2185 2003-09-06 Angus Leeming <leeming@lyx.org>
2187 * support/types.h: add a 'depth_type' typedef, used to store the
2188 nesting depth of a paragraph.
2191 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2192 defining explicitly.
2195 * paragraph_funcs.h:
2196 * ParagraphParameters.h:
2197 * sgml.h: use lyx::depth_type rather than Paragraph or
2198 ParameterStruct's depth_type.
2201 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2204 * BufferView_pimpl.C:
2206 * ParagraphParameters.C:
2209 * bufferview_funcs.C:
2216 * frontends/LyXView.C:
2217 * frontends/controllers/ControlDocument.C:
2218 * frontends/controllers/ControlErrorList.C:
2219 * insets/insetbibitem.C:
2220 * insets/insetbranch.C:
2221 * insets/insetcaption.C:
2222 * insets/insetcollapsable.C:
2223 * insets/insetenv.C:
2224 * insets/insetert.C:
2225 * insets/insetfloat.C:
2226 * insets/insetfoot.C:
2227 * insets/insetfootlike.C:
2228 * insets/insetnewline.C:
2229 * insets/insetquotes.C:
2230 * insets/insettabular.C:
2231 * insets/insettext.C:
2232 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2234 * frontends/controllers/ControlChanges.C: #include "changes.h".
2236 2003-09-06 Angus Leeming <leeming@lyx.org>
2238 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2239 than #including paragraph.h.
2242 * RowList.h: deleted. Superfluous.
2252 * insets/insettext.h: use ParagraphList_fwd.h rather than
2255 * paragraph.h: don't forward declare ParagraphList.
2258 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2259 rather than ParagraphList.h. paragraph.h is still needed for the
2260 Paragraph::depth_type parameters.
2262 * textcursor.h: enable it to compile stand-alone in light of the
2265 * bufferview_funcs.C:
2277 * frontends/controllers/ControlParagraph.C:
2278 * frontends/controllers/ControlTabular.C:
2279 * insets/insetmarginal.C:
2280 * insets/insetminipage.C:
2281 * insets/insetnote.C:
2282 * insets/insetoptarg.C: add header files needed to compile again.
2284 2003-09-06 Angus Leeming <leeming@lyx.org>
2286 * RowList_fwd.h: new file, forward-declaring Row rather than
2287 #including lyxrow.h.
2292 * insets/insettext.h: use it instead of RowList.h
2294 * bufferview_funcs.C:
2301 * text3.C: #include "RowList.h".
2303 2003-09-05 Angus Leeming <leeming@lyx.org>
2305 * factory.C (createInset):
2306 * vspace.C (c-tor): replace sscanf call with an istringstream.
2307 * ispell.C: re-add missing HP/UX headers.
2308 * lyxserver.C: re-add missing os2 headers.
2310 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2319 * text3.C: re-add missing system headers, needed for 2.95.2.
2321 2003-09-05 Angus Leeming <leeming@lyx.org>
2323 Changes most place everywhere due to the removal of using directives
2324 from support/std_sstream.h.
2326 2003-09-05 Angus Leeming <leeming@lyx.org>
2328 Replace LString.h with support/std_string.h,
2329 Lsstream.h with support/std_sstream.h,
2330 support/LIstream.h with support/std_istream.h,
2331 support/LOstream.h with support/std_ostream.h.
2333 Changes resulting throughout the tree.
2335 2003-09-05 Angus Leeming <leeming@lyx.org>
2337 * sgml.h: ensure that the header file can be compiled stand-alone.
2338 * *.C: strip out redundant #includes. (320 in total.)
2340 2003-09-04 Angus Leeming <leeming@lyx.org>
2342 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2343 here (from getPackages).
2345 * debug.[Ch]: add a new EXTERNAL tag.
2347 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2349 * text2.C (cursorEnd): simplify
2351 (getColumnNearX): adjust
2353 * text.C (computeBidiTables): adjust
2356 * rowpainter.C (paintChars): adjust
2357 (paintSelection): adjust
2358 (paintChangeBar): adjust
2361 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2363 (numberOfSeparators): adjust
2365 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2371 * text3.C: Restricts the mouse click functionality
2372 of insets like bibtex, include, toc and floatlist to the visible
2373 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2374 up the dialogs. Cursor has to be in front of the inset (i.e.
2375 start of row) for this to function.
2377 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2379 * bufferview_funcs.C (currentState): output row information
2381 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2383 * bufferview_funcs.C (currentState): output paragraph position
2385 2003-09-04 Angus Leeming <leeming@lyx.org>
2387 * FloatList.h: move out #include "Floating.h".
2388 * LaTeX.h: move out #include "DepTable.h".
2389 * LyXAction.h: move out #include "funcrequest.h".
2390 * buffer.h: move out #include "author.h", "iterators.h".
2391 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2392 * lyx_main.h: move out #include "errorlist.h".
2393 * lyxfunc.h: move out #include "FuncStatus.h".
2394 * lyxtext: move out #include "lyxcursor.h".
2395 * paragraph_pimpl.h: move out #include "counters.h".
2397 2003-09-03 Angus Leeming <leeming@lyx.org>
2399 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2400 preamble_snippets list, enabling us to add snippets to the preamble
2401 only if the snippet was not there already.
2403 2003-09-04 Angus Leeming <leeming@lyx.org>
2405 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2407 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2412 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2414 * BranchList.C: point fix, earlier forgotten
2416 2003-09-02 Angus Leeming <leeming@lyx.org>
2418 * box.C (contains): renamed from 'contained' after a fantastic
2421 2003-09-02 John Levon <levon@movementarian.org>
2427 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2429 2003-09-02 John Levon <levon@movementarian.org>
2431 * text2.C: simplification of cursorEnd(), including partial
2434 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * buffer.C (readFile): add a space
2438 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2440 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2442 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * buffer.C (readFile): new function, take a filename and a
2445 ParagraphList::iterator
2447 (readFile): adjust, make it private. don't use setStream, make
2448 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2449 always contain the filename.
2451 * BufferView.C (insertLyXFile): simplify and make it work for
2454 2003-08-30 John Levon <levon@movementarian.org>
2456 * Makefile.am: fix dist (from Kayvan)
2458 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * most files: change to use const Buffer refs
2462 2003-08-27 André Pönitz <poenitz@gmx.net>
2464 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2465 on top of ownerPar().
2467 2003-08-27 John Levon <levon@movementarian.org>
2469 * funcrequest.C: properly initialise POD members
2471 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2473 * lyxtext.h (top_y): move top_y from here
2478 * BufferView_pimpl.[Ch]: to here
2479 * frontends/screen.C:
2480 * insets/insettabular.C:
2481 * insets/insettext.C: adjust
2482 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2484 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2487 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2489 2003-08-26 André Pönitz <poenitz@gmx.net>
2491 * paragraph_func.[Ch] (outerPar): new function
2494 * paragraph_funcs.C:
2495 * paragraph_funcs.h:
2496 * paragraph_pimpl.C:
2497 * text2.C: remove Inset::par_owner
2499 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2504 * text2.C: eliminates the needFullRow/display() stuff
2505 altogether, putting the logic in metrics/draw in the insets.
2507 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2509 * text2.C (redoParagraphInternal, redoParagraphs):
2510 * text.C (redoParagraph): add a call to updateRowPositions at the
2511 end of each 'metrics-like' call. Remove all others.
2512 (getRow): remove the 'y-computing' version.
2513 (getRowNearY): do not compute nor return the real y. Solve the
2514 'y < 0' problem and simplify.
2516 2003-08-22 Angus Leeming <leeming@lyx.org>
2518 * *.[Ch]: clean-up of licence and author blurbs.
2519 Also move config.h out of a few .h files and into a few .C files.
2521 2003-08-22 André Pönitz <poenitz@gmx.net>
2523 * lyxrow.[Ch]: add x_ and *fill_ members
2528 * text2.C: adjust/remove prepareToPrint() calls
2530 2003-08-22 André Pönitz <poenitz@gmx.net>
2532 * lyxrow.[Ch]: add end_ member
2534 * lyxrow_funcs.C: use LyXRow::end_
2536 * lyxtext.h (singleWidth): add LyXFont parameter
2539 * text2.C: adjust LyXText::singleWidth() calls
2541 * text.C (redoParagraph): simplify row breaking logic
2544 2003-08-19 André Pönitz <poenitz@gmx.net>
2546 * funcrequest.C: initialize button_ member
2549 * rowpainter.[Ch]: interface consolidation
2551 2003-08-18 André Pönitz <poenitz@gmx.net>
2554 * BufferView_pimpl.C:
2556 * paragraph_funcs.C:
2558 * text3.C: remove LyXScreen::draw() and fitCursor calls
2560 * BranchList.h: remove spurious semicolons
2562 * MenuBackend.C: fix branchlist related crash
2564 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2572 * bufferparams.[Ch]:
2576 * text3.C: implements the 'branch inset'
2577 idea. This allows the output of various versions of a document
2578 from a single source version, selectively outputing or suppressing
2579 output of parts of the text.
2580 This implementation contains a 'branch list editor' in a separate
2581 tab of the document settings dialog. Branches are user definable
2582 and have a "display colour" to distinguish them on-screen.
2584 ColorHandler was somewhat cleaned up.
2585 (1) make possible a dynamically growing LColor list by allowing
2586 the graphic context cache to grow along (vector);
2587 (2) eliminate an IMHO unnecessary step in colour allocation.
2589 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2591 * BufferView_pimpl.C: compile fix
2593 2003-08-15 André Pönitz <poenitz@gmx.net>
2595 * rowpainter.C: remove extra metrics calls
2597 * lyxtext.h: merge the two constructors into a single one,
2598 pass reference to owner's par list
2600 * BufferView_pimpl.C:
2604 2003-08-15 André Pönitz <poenitz@gmx.net>
2606 * lyxrow_funcs.[Ch]:
2609 * paragraph_funcs.C:
2614 * text_funcs.C: split LyXText::rowlist_ into individual
2615 Paragraph::rows_ chunks
2618 * BufferView_pimpl.[Ch]:
2621 * text3.C: remove toggleSelection()
2623 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2625 * bufferlist.C: beautify two alerts (shorter text of buttons)
2626 * buffer.C: Remove redundant ' ' from message
2628 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2629 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2630 rename VALIGN_CENTER to VALIGN_MIDDLE
2632 2003-08-11 André Pönitz <poenitz@gmx.net>
2634 * lyxtext.h (getPar):
2635 * text.C: new function
2637 2003-08-11 André Pönitz <poenitz@gmx.net>
2640 * tracer.[Ch]: remove unneeded files
2642 * InsetList.[Ch]: remove resizeInsetsLyXText()
2647 * text3.C: merge insertParagraphs() and appendParagraph()
2648 remove breakAgain(), update()
2650 * BufferView_pimpl.[Ch]:
2651 * bufferview_funcs.[Ch]:
2655 * tabular.C: adjust after text & InsetList changes.
2657 2003-08-08 André Pönitz <poenitz@gmx.net>
2659 * text.C (insertChar, backspace): replace rowlist fiddling
2660 with rebreak of full par
2663 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2664 checkParagraph, updateInset): removed
2666 2003-08-07 André Pönitz <poenitz@gmx.net>
2669 * text3.C: merge some LFUN handlers, remove dead code
2671 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2673 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2675 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2677 * text2.C (DEPM): fix part of bug 1255 and 1256
2679 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 * BufferView_pimpl.C (workAreaDispatch): change to use
2682 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2683 that are no mouse related.
2685 2003-08-05 André Pönitz <poenitz@gmx.net>
2688 * BufferView_pimpl.[Ch]:
2689 * bufferview_funcs.C:
2691 * text3.C: rip out "deep update"
2693 * textcursor.[Ch] (last_sel_cursor): remove unused member
2695 2003-08-04 André Pönitz <poenitz@gmx.net>
2698 * BufferView_pimpl.[Ch]:
2699 * ParagraphParameters.C:
2700 * bufferview_funcs.C:
2706 * text3.C: replace "complicated" BufferView::update(...) calls with
2709 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2711 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2713 * Makefile.am (lyx_SOURCES): add paper.h
2715 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2717 * Makefile.am: move things around so that both lyx-qt and
2718 lyx-xforms can be built (according to --with-frontend). Then lyx
2719 is a symbolic link to lyx-[firstfrontend]
2721 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2723 * Always use std::endl with lyxerr
2725 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2727 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2729 2003-08-01 André Pönitz <poenitz@gmx.net>
2732 * BufferView_pimpl.[Ch]:
2734 * text3.C: merge BufferView::repaint() and BufferView::update()
2736 2003-08-01 José Matos <jamatos@lyx.org>
2738 * buffer.[Ch]: file_format is no longer a buffer data element.
2740 2003-08-01 André Pönitz <poenitz@gmx.net>
2745 * text2.C: make redoParagraph more independent of current cursor
2747 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2749 * text2.C: remove unneeded members
2751 2003-07-30 André Pönitz <poenitz@gmx.net>
2753 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2755 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2756 create a single function...
2758 * paragraph_funcs.C (moveItem): ... here.
2761 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2763 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2765 * LColor.[Ch]: Add comment and greyedout logical colors.
2767 2003-07-30 André Pönitz <poenitz@gmx.net>
2769 * tabular.C: don't use Assert too heavily. This crashes where it
2772 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2774 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2775 is disabled (bug 1232)
2777 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2779 * factory.C: limited 'arg' scope
2781 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2783 * factory.C: fixed Note submenu issues
2785 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2787 * factory.C: submenu for Note/Comment/Greyedout
2789 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2792 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2794 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2797 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2798 greyedout. Patch provided by Jürgen Spitzmüller.
2800 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2802 * kbmap.C (read): fix error message when reading bind files
2804 2003-07-29 Angus Leeming <leeming@lyx.org>
2806 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2807 certainly does not do what it purports to do. I am doing it, and
2808 us, a favour by killing it.
2810 2003-07-28 José Matos <jamatos@lyx.org>
2812 * buffer.C (readBody, do_writeFile):
2813 * paragraph.C(readParagraph): \end_document replaces \the_end.
2815 2003-07-29 André Pönitz <poenitz@gmx.net>
2818 * BufferView_pimpl.[Ch]:
2822 * textcursor.[Ch]: remove toggleToggle & Co
2824 2003-07-28 José Matos <jamatos@fep.up.pt>
2826 * buffer.C (readParagraph):
2827 * params_func (readParToken, readParagraph):
2828 * paragraph.C (write): \layout -> \begin_layout.
2830 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * lyxlex_pimpl.C (setFile): clean up slightly.
2834 * bufferparams.h: add compressed var
2836 * buffer_funcs.C (readFile): adjust for LyXLex change
2837 (newFile): ditto + simplify
2839 * buffer.C (writeFile): handle writing of compressed files
2841 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2842 Check if the file is compressed and set a bufferparm if so.
2844 * Makefile.am (lyx_LDADD): remove explicit -lz
2846 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2848 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2849 makeDocBookFile): put the real LyX version in the first line of
2853 * version.C.in: remove lyx_docversion
2855 * tabular.C (write_attribute): add a template-based version to
2856 write enums properly
2858 2003-07-28 André Pönitz <poenitz@gmx.net>
2863 * text3.C: use doubles again for x-coordinates. They are needed.
2865 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * messages.C (getLocaleDir): use lyx_localedir()
2869 * lyxlex_pimpl.C (setFile): compress stuff
2871 * buffer.C (writeFile): add some compression stuff
2872 (do_writeFile): new func, dont call expliti close... will this
2875 * Makefile.am (lyx_LDADD): add -lz
2877 2003-07-28 José Matos <jamatos@fep.up.pt>
2879 * buffer.C: increment file format.
2880 * paragraph_funcs (readParagraph, readParToken):
2881 * paragraph.C (readParagraph): add \end_layout.
2883 2003-07-27 Angus Leeming <leeming@lyx.org>
2885 * Makefile.am: remove special casing for configure-time setting of
2886 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2888 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2889 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2891 2003-07-26 André Pönitz <poenitz@gmx.net>
2893 * paragraph_func.[Ch]:
2894 * paragraph.C (realizeFont): inline it whereever it is used
2899 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2902 2003-07-26 André Pönitz <poenitz@gmx.net>
2906 * text2.C: get rid of LyXText::need_break_row
2908 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * toc.[Ch]: put namespace toc inside namespace lyx
2912 * MenuBackend.C (expandToc2): adjust for lyx::toc
2915 * lyxfunc.C (dispatch): adjust for lyx::find
2917 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2918 lyx::find instead. Reorganize a bit.
2919 (LyXReplace): rename to replace
2920 (LyXFind): rename to find
2922 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2925 2003-07-26 André Pönitz <poenitz@gmx.net>
2927 * text.C (setHeightOfRow): restrict scope of temporary variable
2929 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2930 code (never has been used?)
2932 2003-07-27 Asger Alstrup <alstrup@local>
2934 * text.C (fill): Optimise algorithm to exploit that we can reuse
2935 the LyXFont for many characters.
2936 (setHeightOfRow): Same thing.
2937 (rowBreakPoint): Same thing.
2939 2003-07-26 Asger Alstrup <alstrup@local>
2941 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2943 * text.C (singleWidth): Spurious font copying in hot-spot
2944 singleWidth avoided. Reorder tests for arabic for efficiency.
2946 * text.C (fill): handle empty paragraphs better.
2948 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2951 * encoding.h: add includes
2953 * lyxrc.C: remove reading of bind files
2955 * lyx_main.C (init): setup bindings and menus only if we have a
2958 * kbmap.C (read): new method. Do the actual reading of bind
2961 * converter.C (dvipdfm_options):
2964 (output): adapt PAPER_* enums.
2966 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2968 * bufferparams.h: remove paper-related enums from there
2970 * paper.h: New file. A trivial header file to hold paper-related
2971 enums. It should later expand to contain many paper-related
2974 * lyxrc.C: declare extern displayTranslator
2976 2003-07-27 José Matos <jamatos@fep.up.pt>
2978 * tabular.[Ch] (linuxdoc): add support for tables and figures
2981 2003-07-27 José Matos <jamatos@fep.up.pt>
2983 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2984 consistency in both functions.
2985 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2987 2003-07-26 Asger Alstrup <alstrup@local>
2989 * rowpainter.C (paintRows): Change algorithm to work directly on
2990 the insets rather than asking every character in the document
2991 whether its an inset.
2993 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2995 * buffer.C (openFileWrite): factorize some code
2997 2003-07-26 Angus Leeming <leeming@lyx.org>
3000 * lyx_main.[Ch]: replace occurances of system_tempdir with
3003 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3005 * rename Inset to InsetOld
3007 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3009 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3010 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3011 which I think is a bit clearer. EDIT is gone, since it was
3012 premature optimisation, and broken for mathed anyway.
3013 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3014 with cursor positioning in insets as well (math insets still do not
3015 work, but that's a different story anyway.) It mysteriously
3016 crashes sometimes with undo in the first paragraph, but I'm fairly
3017 confident that this is a compiler bug.
3019 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * paragraph.C (Paragraph): adjust for new clone return type
3023 (copyIntoMinibuffer): ditto
3025 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3027 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3028 by not having a special case, and always doing a full rebreak of
3029 the document after undo.
3031 2003-07-23 Angus Leeming <leeming@lyx.org>
3033 * factory.C (createInset): InsetExternal::setParams now takes a
3036 2003-07-23 Angus Leeming <leeming@lyx.org>
3038 * factory.C (createInset): changed interface to the external and
3039 graphics mailers' string2params functions.
3041 2003-07-23 Angus Leeming <leeming@lyx.org>
3043 * factory.C (createInset): pass a
3044 Buffer const * parameter to InsetExternalMailer's string2params.
3046 2003-07-22 John Levon <levon@movementarian.org>
3048 * Thesaurus.h: include the right aiksaurus header
3050 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3052 * MenuBackend.C (expand): check menu shortcuts unconditionally
3054 2003-07-21 Angus Leeming <leeming@lyx.org>
3056 * factory.C (createInset): pass a
3057 buffer_path parameter to InsetGraphicsMailer's string2params.
3059 2003-07-21 Angus Leeming <leeming@lyx.org>
3061 * BufferView_pimpl.C (buffer):
3064 * lyxfunc.C (dispatch):
3065 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3066 rather than the grfx shortcut.
3068 2003-07-21 André Pönitz <poenitz@gmx.net>
3070 * rowpainter.C: remove unused variables
3073 * tabular_funcs.h: move to tabular.C
3074 * Makefile.am: adjust
3076 * tabular.[Ch]: basic optical cleaning
3078 * author.h: pass references, not values
3080 2003-07-18 André Pönitz <poenitz@gmx.net>
3088 * text3.C: two-phase drawing for InsetText and InsetTabular
3089 some float -> int changes.
3091 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3093 * lyx_main.C: fix the fix
3095 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3097 * lyx_main.C: fix a crash in batch mode if no files specified
3100 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3102 * format.[Ch] (papersize): moved to BufferParams
3103 * converter.[Ch] (dvips_options): moved to BufferParams
3104 (dvipdfm_options): moved to anon namespace
3105 * bufferparams.[Ch]: added above functions.
3107 2003-07-17 André Pönitz <poenitz@gmx.net>
3111 * text2.C: don't call inset->update() anymore
3113 * metricsinfo.[Ch]: add convenience constructor
3115 2003-07-16 André Pönitz <poenitz@gmx.net>
3120 * text2.C: replace the LyXCursor::irow_ member with
3121 on-demand computation of the value
3123 2003-07-16 John Levon <levon@movementarian.org>
3125 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3127 2003-07-15 André Pönitz <poenitz@gmx.net>
3130 * text2.C: remove no more needed refresh_row
3132 2003-07-15 André Pönitz <poenitz@gmx.net>
3137 * text3.C: refresh_status tristate -> need_update bool
3139 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3141 * lyxtext.h (init): remove reinit argument (act as if always true)
3142 * text2.C: adjust to that
3144 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3146 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3147 * text3.C: use it to delete selections in some cases
3148 (bugs 441, 673, 702, 954).
3150 2003-07-14 André Pönitz <poenitz@gmx.net>
3152 * rowpainter.[Ch]: reduce interface
3154 2003-07-14 André Pönitz <poenitz@gmx.net>
3156 * BufferView_pimpl.C:
3157 * text2.C: adjust after removing unused BufferView * argument
3159 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3161 * text2.C (init): fix a crash fired on resize
3163 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3165 * buffer.[Ch]: added new closing signal
3166 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3167 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3168 BufferView::Pimpl via the closing the signal
3170 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3172 * buffer.[Ch]: take out all bv-related from buffer
3174 * BufferView_pimpl.[Ch]: connect to new signals
3175 * CutAndPaste.C: removed useless asserts
3176 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3179 * lyxfunc.C: moved view-related funciontality from vc here
3180 * paragraph.C: removed outdated comments
3183 2003-07-10 André Pönitz <poenitz@gmx.net>
3185 * BufferView_pimpl.C:
3189 * text2.C: remove InsetText::InnerCache, clean up consequences
3191 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3193 * ispell.C: fix two typos in error messages
3195 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3197 * Extend Note inset to other forms of annotation like Comment
3198 and Greyedout. Right button click gives dialog.
3200 Files modified or added (+):
3204 * ControlNote.[Ch] +
3206 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3207 frontends/controllers
3211 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3213 * aspell.C: add missing namespace lyx::support
3215 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3217 * BufferView.[Ch] (newFile): Add
3218 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3219 * LaTeX.[Ch] (message): added this signal and use it
3220 * buffer.[Ch] (busy, message): added these signals and use them
3221 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3225 * importer.C: use buffer signals instead of direct bv calling
3226 * lyx_cb.[Ch] (ShowMessage): removed
3229 * paragraph_funcs.C:
3230 * text2.C: use buffer signals
3232 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3234 * introduce namespace lyx::graphics
3236 2003-07-02 André Pönitz <poenitz@gmx.net>
3238 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3240 2003-07-01 André Pönitz <poenitz@gmx.net>
3247 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3248 text*.C to text_func.C
3250 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3252 * introduce namespace lyx::support
3254 2003-06-30 André Pönitz <poenitz@gmx.net>
3259 * text.C: re-enable --with-included-string
3261 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * textcursor.C: add <config.h>
3265 * text.C (getWord): remove const from word_location arg
3267 * lyxvc.C (getLogFile): fix const type order
3269 * lyxtext.h: remove const from word_location arg, add arg name
3271 * lyxlayout.h: currect type on labeltype.
3273 * importer.C: correct \file
3275 * converter.C (intToFormat): use std:: on ret val, ws changes
3277 * bufferlist.h: correct \file
3279 * buffer.C (makeLinuxDocFile): fix const type order
3280 (makeDocBookFile): ditto
3281 (fillWithBibKeys): use std:: on stdlib args.
3283 * CutAndPaste.C: fix authors.
3284 (availableSelections): use std:: on return vector
3286 2003-06-27 André Pönitz <poenitz@gmx.net>
3288 * BufferView_pimpl.C:
3289 * bufferview_funcs.C:
3297 * text3.C: remove LyXCursor::row_ member
3300 * text.C: rename fullRebreak() to partialRebreak() and implement
3301 a fullRebreak() that really bereks fully
3303 * textcursor.h: new struct for cursor-related data
3305 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3307 * lyx_main.C (LyX): get full path of document loaded on the
3310 2003-06-26 André Pönitz <poenitz@gmx.net>
3312 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3313 remove unused/broken operator>,<,>=.
3315 * text.C: remove only use of broken operator<= in an Assert().
3317 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3319 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3320 moved errorlist_.clear to showErrorList
3322 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3324 * converter.C (scanLog, runLaTeX):
3325 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3326 move the bv->showErrorList call to the callers
3327 * lyxfunc.C: i.e. here...
3329 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3330 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3331 namespace, the second to...
3332 * buffer_funcs (BufferFormat, parseErrors): added
3333 * errorlist.C (ErrorList(TeXErrors const &)): removed
3335 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3337 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3339 2003-06-24 "Garst R. Reese" <reese@isn.net>
3343 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3345 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3347 * version.C.in: change docversion to 1.4
3349 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3351 * buffer.C: fix a bug just introduced
3353 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3355 * buffer.[Ch]: added the parseError signal and use it, removed
3357 * BufferView.[Ch] (addError): moved to ...
3358 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3359 to the Buffer::parseError signal to catch (guess what) parse errors
3360 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3362 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3364 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3365 ability to create a buffer and to return an existing one from
3366 the list. Moved these functions to...
3367 * buffer_funcs.[Ch]: added
3368 * BufferView.[Ch] (loadLyXFile): added
3369 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3370 job removed from bufferlist::loadLyXFile.
3371 * buffer.C (setReadOnly): make it work without view
3372 (i.e added an if (users))
3374 2003-06-19 Angus Leeming <leeming@lyx.org>
3377 * LyXAction.C (init):
3378 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3379 with LFUN_DIALOG_SHOW <name> <data>.
3381 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3383 * CutAndPaste.C (availableSelections): small compilation fix for
3384 ancient (gcc 2.9x) compilers
3386 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3388 * text3.C (cursorNext): add tmp var
3390 * text2.C (updateCounters): for function calling out of for clause
3391 (replaceSelectionWithString): ditto
3392 (insertStringAsParagraphs): ditto
3393 (getColumnNearX): add tmp var
3394 (setCursorFromCoordinates): add tmp var
3395 (cursorDownParagraph): add tmp var
3396 (deleteEmptyParagraphMechanism): add tmp var
3398 * text.C (insertChar): add tmp var
3400 * rowpainter.C (paintDepthBar): add tmp var
3402 * CutAndPaste.C (availableSelections): potentially check all
3403 paragraphs in a cut to fill the shown strings.
3405 2003-06-18 André Pönitz <poenitz@gmx.net>
3407 * kbmap.[Ch]: use vector<> instead of list<>
3409 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3411 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3412 pasteSelection with index
3414 * text2.C (pasteSelection): modify, call pasteSelection with index
3416 * paragraph.C (asString): reimplement version with no interval to
3417 call the one with interval.
3419 * lyxtext.h: add index arg to pasteSelection
3421 * MenuBackend.C (MenuItem): handle PasteRecent
3422 (Menu::read::Menutags): add md_pasterecent
3424 (expandPasteRecent): new function
3427 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3429 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3431 (availableSelections): new function
3433 2003-06-17 Angus Leeming <leeming@lyx.org>
3435 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3437 2003-06-17 Angus Leeming <leeming@lyx.org>
3440 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3442 * lyxfunc.C (dispatch): invoke it.
3444 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3446 * iterators.C (operator++, ParPosition): reintroduce some
3447 const_cast for the benefit of older compilers.
3449 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3451 * text3.C (dispatch): do not modify clipboard when doing
3452 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3453 LFUN_DELETE_SKIP on a selection selection
3455 2003-06-16 André Pönitz <poenitz@gmx.net>
3461 * tabular.[Ch]: IU of clone() and getLabelList();
3463 2003-06-13 André Pönitz <poenitz@gmx.net>
3465 * tabular.h: compactification
3467 2003-06-12 André Pönitz <poenitz@gmx.net>
3471 * tabular_funcs.h: some renaming plus whitespace
3473 2003-06-12 André Pönitz <poenitz@gmx.net>
3476 * BufferView_pimpl.C:
3482 * toc.C: Return a Paragraph & for ParIterator::operator*()
3484 2003-06-11 John Levon <levon@movementarian.org>
3488 * ToolbarBackend.C: add "Toolbars" section and
3491 2003-06-10 Angus Leeming <leeming@lyx.org>
3494 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3496 * lyxfunc.C (dispatch): invoke it.
3498 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3500 * main.C: protect <ios> with HAVE_IOS
3501 (main): protect sync_with_stdio with HAVE_IOS
3503 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3505 * text2.C (cutSelection): adjust
3506 (pasteSelection): adjust
3508 * messages.C: handle get of empty string
3510 * main.C (main): use sync_with_stdio(false)
3512 * lyxfunc.C (dispatch): adjust
3514 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3515 (WriteAs): remove unneeded BufferView arg.
3517 * bufferparams.h: use correct types on papersize, papersize2 and
3520 * bufferparams.C (readToken): adjust for type
3521 (writeLaTeX): add missing cases to switch.
3523 * bufferlist.C (quitWriteBuffer): adjust
3526 * buffer.C (asciiParagraph): remove some commented code.
3528 * CutAndPaste.C: remove current_view extern variable.
3529 (cutSelection): add BufferParams arg.
3530 (eraseSelection): add BufferParams arg.
3531 (pasteSelection): add Buffer const & arg
3533 2003-06-07 John Levon <levon@movementarian.org>
3536 * paragraph_funcs.C:
3537 * paragraph_pimpl.C:
3541 * paragraph.C: allow InsetERT to freely space lines,
3542 and some consolidation of code
3544 2003-06-06 José Matos <jamatos@fep.up.pt>
3546 * buffer.C (makeDocBookFile): fix bug #821
3548 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3550 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3552 2003-06-04 Angus Leeming <leeming@lyx.org>
3554 * buffer.C: bump format to 224.
3556 2003-06-05 André Pönitz <poenitz@gmx.net>
3558 * text2.C (redoParagraphs): remove two const_cast<>
3560 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3562 * ParagraphList.h: remove last remnants of NO_STD_LIST
3564 2003-06-03 Angus Leeming <leeming@lyx.org>
3566 * factory.C (createInset): small change to the way InsetExternal's params
3569 2003-06-04 André Pönitz <poenitz@gmx.net>
3571 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3573 * paragraph_pimpl.h:
3574 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3576 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3578 * undo_funcs.C: make some simple cases of undo work again
3580 2003-06-03 John Levon <levon@movementarian.org>
3582 * ispell.C: HPUX doesn't have sys/select.h
3585 2003-06-03 John Levon <levon@movementarian.org>
3587 * CutAndPaste.C: update tabular and include inset
3592 * paragraph.C: remove owningBuffer(), don't pass Buffer
3595 * factory.C: insetGraphicsParams changed
3597 2003-06-02 John Levon <levon@movementarian.org>
3603 * text3.C: remove insetparent
3605 2003-06-02 John Levon <levon@movementarian.org>
3608 * buffer.C: fix inset_iterator.end(), move out of line
3611 2003-06-01 John Levon <levon@movementarian.org>
3613 * text3.C: use a proper cut/paste when doing inset
3614 insert (from Jürgen Spitzmüller)
3616 2003-06-01 John Levon <levon@movementarian.org>
3618 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3620 2003-05-30 André Pönitz <poenitz@gmx.net>
3622 * rowpainter.C: unify second drawing phase
3624 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * trans_mgr.C: remove one case of current_view
3628 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3630 * paragraph_funcs.h: remove paragraph.h include
3632 * paragraph.h: delete NO_STD_LIST stuff
3634 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3636 * buffer.h: remove paragraph.h include
3638 * ParagraphList.C: delete file
3640 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3642 * toc.C (getTocList): adjust
3644 * paragraph_pimpl.C (validate): adjust
3646 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3648 * paragraph.C (Paragraph): adjust
3649 (getPositionOfInset): use const_iterator, adjust
3650 (bibitem): use const_iterator, adjust
3651 (setInsetOwner): adjust
3653 * iterators.C (operator++): adjust
3655 * InsetList.[Ch]: Replace selfmade iterator with standard
3656 vector::iterator also introduce const_iterator. Remove getPos,
3657 getInset and setInset from InsetTable. Adjust accordingly.
3659 * BufferView.C (lockInset): adjust
3660 (ChangeInsets): adjust
3662 * tabular.[Ch]: delete commented same_id functions
3664 2003-05-28 John Levon <levon@movementarian.org>
3666 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3668 2003-05-28 André Pönitz <poenitz@gmx.net>
3670 * metricsinfo.[Ch]: remove 'fullredraw' member
3672 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3674 * lyxtextclass.C (operator): remove caching.
3676 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * text2.C (cursorBottom): adjust
3681 (setCounter): use ParagraphList::find, adjust
3683 * text.C (workWidth): use ParagraphList::find, adjust
3685 * lyxcursor.C (LyXCursor): adjust
3687 * buffer.C (inset_iterator): adjust
3689 * ParagraphList.h: make iterator(value_type) private, make
3690 ParagraphList a friend of iterator.
3692 * ParagraphList.C (find): new function
3694 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3696 2003-05-27 André Pönitz <poenitz@gmx.net>
3698 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3700 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3702 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3704 2003-05-26 John Levon <levon@movementarian.org>
3706 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3708 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * remove same_id from function signatures, adjust.
3712 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3716 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3718 * paragraph.C (Paragraph): get rid of same_ids parameter
3720 * ParagraphList.C (insert): adjust
3723 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * paragraph_funcs.C (breakParagraph): adjust
3726 (breakParagraphConservative): adjust
3728 * buffer.C (readParagraph): adjust
3730 * ParagraphList.C (insert): take a reference instead of a pointer
3733 * paragraph.[Ch] (id): new function
3735 * bufferlist.C (newFile): adjust
3737 * ParagraphList.C (ParagraphList): adjust
3739 (push_back): take a reference instead of a pointer.
3741 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3743 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3746 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3747 set else use old code.
3749 * ParagraphList.C: remove all NO_NEXT code and only compile this
3750 code of NO_STD_LIST is set.
3752 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3754 * BufferView_pimpl.C:
3764 * graphics/GraphicsConverter.C:
3765 * graphics/PreviewLoader.C: header adjustment
3767 2003-05-23 Angus Leeming <leeming@lyx.org>
3769 * LaTeXFeatures.[Ch] (useBabel): new method.
3770 * bufferparams.C (writeLaTeX): use it.
3772 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * ParagraphList.h (set): remove unused function.
3776 2003-05-23 André Pönitz <poenitz@gmx.net>
3779 * BufferView_pimpl.C:
3783 * undo_funcs.C: setUndo reworked
3785 * iterators.[Ch]: add access to topmost ParagraphList
3787 * lyxtext.[Ch] (workWidth): add a const
3789 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3791 * texrow.[Ch] (increasePos): remove function
3792 * exporter.C (export): removed unused var and outdated comment
3794 2003-05-23 Angus Leeming <leeming@lyx.org>
3796 * latexrunparams.h: rename fragile as moving_arg.
3797 * paragraph.C (simpleTeXOnePar): ditto.
3798 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3800 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3804 (textUndoOrRedo): comment out a currently unused var.
3806 * paragraph.h (NO_NEXT): enable NO_NEXT
3808 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3810 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3812 * exporter.C (Export): adjust for removeAutoInsets removal.
3814 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3816 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3818 * BufferView.[Ch] (removeAutoInsets): delete function
3820 2003-05-22 Angus Leeming <leeming@lyx.org>
3822 * latexrunparams.h: add a free_spacing variable.
3824 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3825 to pass moving_arg, as the data is stored in runparams.fragile.
3827 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3828 to Inset::latexOptional or to simpleTeXOnePar.
3830 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3831 free_spacing arg to Inset::latexOptional.
3833 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3836 2003-05-22 Angus Leeming <leeming@lyx.org>
3838 * latexrunparams.h: add fragile and use_babel variables.
3840 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3841 * buffer.C (makeLaTeXFile): store this returned value in
3842 runparams.use_babel, thus passing it to the inset::latex methods.
3844 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3845 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3847 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3848 longer has a fragile arg, as it is stored in runparams.fragile.
3850 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3851 moving_arg parameter as the data is stored in runparams.fragile.
3853 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3854 a fragile parameter as the data is stored in runparams.fragile.
3856 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3860 2003-05-22 Angus Leeming <leeming@lyx.org>
3862 * latexrunparams.h: add a 'bool nice' which defaults to false.
3864 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3865 now encapsulated within runparams.
3867 * bufferlist.C (updateIncludedTeXfiles):
3868 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3870 2003-05-22 Angus Leeming <leeming@lyx.org>
3872 * latexrunparams.h: new file containing struct LatexRunParams.
3873 * Makefile.am: add new file.
3875 * LaTeX.[Ch] (c-tor, run):
3876 * buffer.[Ch] (makeLaTeXFile):
3877 * bufferlist.[Ch] (updateIncludedTeXfiles):
3878 * converter.C (convert, scanLog):
3879 * converter.[Ch] (runLaTeX):
3880 * exporter.C (Export):
3881 * paragraph.[Ch] (simpleTeXOnePar):
3882 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3883 * paragraph_funcs.[Ch] (latexParagraphs):
3884 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3885 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3886 pass around a LatexRunParams parameter.
3888 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3890 * paragraph.[Ch]: remove unused constructor
3892 * ParagraphList.C (erase): new function, taking two iterators
3894 2003-05-22 André Pönitz <poenitz@gmx.net>
3896 * undo_funcs.C: remove duplicated code
3898 * iterator.[Ch]: operator=
3900 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * tabular.C (SetMultiColumn): ws changes
3904 * rowpainter.C (paintFirst): get rid of a ->previous
3906 * lyx_cb.C (getPossibleLabel): parlist simplification
3908 * BufferView.C (ChangeInsets): simplify slightly.
3910 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3912 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3913 * lfuns.h: new LFUN_SPACE
3914 * lyxfunc.C: protected space has a new lfun
3915 * paragraph_funcs.C: read new space insets
3917 * factory.C: handle new space insets
3919 2003-05-22 André Pönitz <poenitz@gmx.net>
3922 * BufferView_pimpl.C:
3925 * undo_funcs.C: return a ParIterator from getParFromID.
3927 * iterators.[Ch]: add two const's
3929 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * toc.C (getTocList): adjust
3933 * iterators.[Ch]: rework for parlist
3935 * buffer.C (par_iterator_begin): adjust
3936 (par_iterator_end): adjust
3938 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3940 * BufferView.C (removeAutoInsets): adjust
3941 (ChangeInsets): adjust
3943 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3945 * text.C (top_y): fix bug 1110
3947 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3949 * errorlist.[Ch]: added
3952 * BufferView_pimpl.C:
3953 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3956 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * Makefile.am: ensure that lyx is relinked upon changes to the
3959 various "convenience" libs.
3961 2003-05-20 Angus Leeming <leeming@lyx.org>
3963 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3964 files are compiled in alphabetical order again.
3966 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3968 2003-05-19 Angus Leeming <leeming@lyx.org>
3970 * gettext.[Ch]: remove "char const * _(char const *)".
3972 2003-05-19 André Pönitz <poenitz@gmx.net>
3974 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3983 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3985 2003-05-19 André Pönitz <poenitz@gmx.net>
3989 * lyxtextclass.[Ch]:
3991 * paragraph_funcs.[Ch]:
3993 * text3.C: more insetenv work
3995 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3997 * ParagraphParameters.C (params2string): small bug fixed
3999 2003-05-16 André Pönitz <poenitz@gmx.net>
4002 * bufferview_funcs.C: patch from Kornel Benko to prevent
4003 crash when _(...) is called twice in a statement
4005 2003-05-16 André Pönitz <poenitz@gmx.net>
4012 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4014 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4016 * lyx_main.C (init): remove spurious static_cast
4018 2003-05-14 André Pönitz <poenitz@gmx.net>
4020 * BufferView.C: fix format string
4022 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4024 * BufferView.[Ch] (insertErrors): removed
4025 * BufferView.[Ch] (showErrorList): added
4026 * buffer.C (runChkTeX):
4027 * converter.C (scanLog): call showErrorList instead of inserterrors
4029 2003-05-13 André Pönitz <poenitz@gmx.net>
4031 * BufferView_pimpl.C:
4033 * bufferview_func.C:
4040 * tabular_funcs.h: tostr() from its own header
4042 * ParagraphParameters.C:
4047 * text3.C: STRCONV()
4049 2003-05-12 André Pönitz <poenitz@gmx.net>
4052 * BufferView_pimpl.C:
4056 * ParagraphParameters.C:
4060 * bufferview_funcs.C:
4073 * paragraph_funcs.C:
4077 * text3.C: boost::format -> bformat all over the place
4080 2003-05-09 André Pönitz <poenitz@gmx.net>
4082 * LColor.[Ch]: Pimpl the #include <map> away
4084 2003-05-09 John Levon <levon@movementarian.org>
4086 * bufferlist.C: never remove emergency saves
4088 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * Makefile.am: better lib building
4092 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4096 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4097 (simpleTeXSpecialChars): adjust
4098 (simpleTeXSpecialChars): adjust
4099 * paragraph.C (simpleTeXOnePar): adjust
4100 * buffer.C (makeLaTeXFile): adjust
4102 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4104 * text2.C (changeDepth): parlist cleanup
4105 (getColumnNearX): ditto
4107 * rowpainter.C (getLabelFont): parlist cleanup
4109 * bufferlist.C (newFile): parlist cleanup
4111 * CutAndPaste.C (eraseSelection): parlist cleanup
4113 * BufferView_pimpl.C (trackChanges): parlist cleanup
4116 * BufferView.C (lockInset): parlist cleanup.
4117 (ChangeInsets): ditto
4119 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * CutAndPaste.h: Update file header.
4123 * CutAndPaste.C: Update file header.
4124 Store the parts cut out of the Document in a limited_stack.
4125 (copySelection): adjust
4126 (pasteSelection): new function, takes the index in the limited stack.
4127 (nrOfParagraphs): adjust
4128 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4129 simplify error inset insertion.
4130 (checkPastePossible): adjust
4132 2003-05-06 John Levon <levon@movementarian.org>
4134 * text2.C: don't cast wrap inset to float
4136 2003-05-05 André Pönitz <poenitz@gmx.net>
4139 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4141 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4142 few naked Paragraph *.
4144 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4146 * bufferparams.C: Output warning if a document with missing
4147 TeX document class is loaded
4148 * exporter.C: Disable TeX exports if the document class is missing
4151 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4152 isTeXClassAvailable()
4154 2003-05-03 John Levon <levon@movementarian.org>
4157 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4158 explicit cursor show/hide
4160 * BufferView_pimpl.h:
4161 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4162 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4164 * lyxfunc.C: hide cursor before dispatching.
4169 * text3.C: remove explicit cursor hides
4171 2003-05-02 André Pönitz <poenitz@gmx.net>
4173 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4176 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4179 * text2.C: tiny whitespace
4181 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * undo_funcs.C: almost only ws changes.
4185 * ParagraphList.C (splice): just return if pl is empty.
4187 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * ParagraphList.C (splice): new function.
4191 * CutAndPaste.C (pasteSelection): use it
4193 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * CutAndPaste.C (pasteSelection): remove the last next and
4196 previous from this file.
4198 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * CutAndPaste.C (pasteSelection): more clean up, user proper
4201 ParagraphList functions for pasteing.
4203 * ParagraphList.C (insert): new function, three arg insert
4205 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * ParagraphList.C (insert): new function, three arg insert
4209 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4212 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4216 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4218 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4223 (copySelection): clean up a bit.
4224 (pasteSelection): use make_pair
4226 * ParagraphList.C (ParagraphList): implement copy constructor
4227 (operator=): implement, base on copy constructor.
4230 * paragraph.C (erase): return a bool
4232 * paragraph_pimpl.C (erasePos): remove function, move contents...
4233 (erase): ... here. Return a bool.
4234 (erase): call erase instead of erasePos.
4236 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4238 * ParagraphList.h: define PitPosPair
4239 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4240 ParagraphList, fix a bug on pasting multiple pars
4241 * text2.C: change interface to C&P
4243 2003-04-30 André Pönitz <poenitz@gmx.net>
4245 * undo_func.C: revert part of yesterday's patch 2
4247 2003-04-30 John Levon <levon@movementarian.org>
4249 * LColor.C: s/tabular/table/
4251 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * text3.C (dispatch): do not convert iterator -> pointer
4254 * undo_funcs.C (setCursorParUndo): ditto
4255 * text_funcs.C (transposeChars): ditto
4257 * text2.C (setLayout): ws changes only
4259 * text.C (breakParagraph): do not convert iterator -> pointer
4261 (acceptChange): ditto
4262 (rejectChange): ditto
4267 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4270 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4272 * text3.C (gotoInset): YABG (yet another bad getChar)
4274 2003-04-29 André Pönitz <poenitz@gmx.net>
4276 * paragraph.h: make operator= private unimplemented as long as
4279 * ParagraphList.C: whitespace
4282 * paragraph_pimpl.[Ch]:
4283 * paragraph_funcs.C:
4285 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4288 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4290 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4292 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4293 * paragraph.[Ch] (erase):
4294 * paragraph_pimpl.[Ch] (erase): change return type and value
4295 * text2.C (cutSelection): some rework
4297 2003-04-28 John Levon <levon@movementarian.org>
4299 * bufferlist.C: changes for unsaved changes dialog
4301 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * bufferlist.C (newFile): set language (messages_) for new
4306 * buffer.C (readFile): ws changes only.
4308 2003-04-28 André Pönitz <poenitz@gmx.net>
4313 * BufferView_pimpl.C:
4314 * BufferView.C: getParFromID related ParagraphList::iterator changes
4316 2003-04-28 André Pönitz <poenitz@gmx.net>
4318 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4321 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * messages.C: remove one more localedir class variable.
4325 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4327 * messages.C (getLocaleDir): singleton generation function
4329 (Messages): add a default constructor.
4331 * main.C (main): do not setup localedir here, do not call
4334 * gettext.C (_): use it.
4335 (gettext_init): delete funciton
4337 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * gettext.C (getLyXMessages): new singleton generating function.
4341 * buffer.C (updateDocLang): adjust
4343 * Makefile.am (messages.o): add target
4344 (main.o): remove target
4346 2003-04-27 John Levon <levon@movementarian.org>
4351 * lyxvc.C: specify cancel button in Alert::prompt
4353 2003-04-26 John Levon <levon@movementarian.org>
4358 * LyXAction.C: add LFUN_INSET_SETTINGS
4360 * lyxfunc.C: don't enable tabular-feature when there's
4361 just any locking inset
4363 2003-04-26 John Levon <levon@movementarian.org>
4365 * bufferlist.C: re-add Cancel to buffer close question
4367 * lyxfunc.C: fix import UI a bit
4369 2003-04-25 John Levon <levon@movementarian.org>
4371 * gettext.C: remove the broken asserts for now
4373 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * messages.C: make case where setlocale cannot comply work better.
4377 * buffer.C (updateDocLang): new function
4378 (changeLanguage): use it
4381 * text2.C (setCounter): use B_ a bit.
4383 * lyxlayout.C (Read): be sure to trim the label strings.
4385 * messages.C (Messages): fix typo in comment
4387 * buffer.C (readFile): set message_ after file is loaded.
4388 (makeDocBookFile): remove double return
4389 (changeLanguage): reset message_ upon language change.
4390 (B_): new func, use this to get translated buffer strings.
4392 * main.C: add myself and Jean Marc as authors.
4394 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * messages.[hC]: pimplify Messages, and three different pimpls to be
4397 used in different circumstances.
4399 * gettext.[Ch]: change for use with new message code.
4401 2003-04-24 André Pönitz <poenitz@gmx.net>
4403 * factory.C: support for eqref
4405 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * messages.[Ch]: add missing char
4409 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4411 * messages.[Ch]: New files
4413 2003-04-18 John Levon <levon@movementarian.org>
4417 * BufferView_pimpl.C:
4421 * text2.C: remove layout-copy/paste (bug 778)
4423 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4425 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4427 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4429 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4430 if they succeed. Act accordingly.
4432 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * text2.C (setCharFont): adjust
4435 (setCounter): adjust
4436 (insertStringAsLines): adjust
4438 * text.C (leftMargin): adjust
4439 (setHeightOfRow): adjust
4441 * rowpainter.C (paintFirst): adjust
4444 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4446 (isFirstInSequence): ditto
4447 (getEndLabel): ditto
4450 * paragraph.C (getParLanguage): comment out some hard stuff.
4452 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4454 (simpleDocBookOnePar): ditto
4455 (makeDocBookFile): use ParagraphList::iterator
4457 * CutAndPaste.C (pasteSelection): adjust
4459 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * text2.C (getFont): adjust
4462 (getLayoutFont): adjust
4463 (getLabelFont): adjust
4465 * paragraph_funcs.C (TeXOnePar): adjust
4467 * buffer.C (simpleLinuxDocOnePar): adjust
4468 (simpleDocBookOnePar): adjust
4470 * CutAndPaste.C (pasteSelection): adjust
4472 * BufferView.C (getEncoding): adjust
4474 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4476 2003-04-16 John Levon <levon@movementarian.org>
4478 * lyxfind.C: use parlist stuff for search/changes
4480 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4484 * text2.C (deleteEmptyParagraphMechanism): adjust
4486 * text2.[Ch] (ownerParagraph): delete func (both of them
4488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4490 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4492 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * ParagraphList.C: prepare for NO_NEXT
4496 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * text2.C (getFont): adjust
4499 (getLayoutFont): adjust
4500 (getLabelFont): adjust
4502 * paragraph.C (getFont): adjust
4503 (getLabelFont): adjust
4504 (getLayoutFont): adjust
4506 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4508 2003-04-15 John Levon <levon@movementarian.org>
4512 * lyx_main.C: handle Include in .ui files
4514 2003-04-15 John Levon <levon@movementarian.org>
4516 * MenuBackend.C: make the doc files length shorter
4519 * ToolbarBackend.C: handle toolbar placement flags,
4522 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4524 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4527 * paragraph_funcs.C (TeXOnePar): adjust
4529 * paragraph.C (getLabelFont): add outerfont arg, adjust
4530 (getLayoutFont): ditto
4531 (simpleTeXOnePar): adjust
4533 * paragraph_pimpl.C (realizeFont): delete func
4535 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4537 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4538 row argument, constify cur argument.
4540 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * text2.C (getFont): adjust
4543 (getLayoutFont): adjust
4544 (getLabelFont): adjust
4546 * paragraph_funcs.C (TeXOnePar): adjust
4547 (outerFont): new func...
4548 (realizeFont): ...moved out from here, changed this to facilitate
4551 * paragraph.C (getFont): take outerfont as arg, adjust
4552 (simpleTeXOnePar): add outerfont arg, adjust
4554 * buffer.C (simpleLinuxDocOnePar): adjust
4555 (simpleDocBookOnePar): adjust
4557 * CutAndPaste.C (pasteSelection): adjust
4559 * BufferView.C (getEncoding): adjust
4561 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * text2.C (setCharFont): adjust
4564 (setCounter): adjust
4566 * text.C (leftMargin): adjust
4567 (setHeightOfRow): adjust
4569 * rowpainter.C (paintFirst): adjust
4572 * paragraph_pimpl.C (realizeFont): adjust
4574 * paragraph.C (isFirstInSequence): move from here...
4575 * paragraph_funcs.C (isFirstInSequence): ...to here
4577 * paragraph.C (outerHook): move from here...
4578 * paragraph_funcs.C (outerHook): ...to here
4580 * paragraph.C (depthHook): move from here...
4581 * paragraph_funcs.C (depthHook): ...to here
4583 * paragraph.C (getEndLabel): move from here...
4584 * paragraph_funcs.C (getEndLabel): ...to here
4586 * text2.C (realizeFont): move from here...
4587 * paragraph_funcs.C (realizeFont): ...to here
4589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4591 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4593 2003-04-14 Angus Leeming <leeming@lyx.org>
4595 * LColor.[Ch]: scrap LColor mathcursor.
4597 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * lyxlex.[Ch] (text): delete function
4600 * trans.C (Load): adjust
4601 * paragraph_funcs.C (readParToken): adjust
4603 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4605 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4606 vector<char> instead of a char[].
4608 * lyxlex_pimpl.C (getString): adjust
4610 (lex): use getString
4614 * lyxlex.C (text): use pimpl_->getString()
4618 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4621 (makeFontEntriesLayoutSpecific): temp var for par.size()
4622 (setLayout): temp var for ownerParagraphs().end()
4623 (fullRebreak): temp var for rows().end()
4624 (selectionAsString): temp var for boost::next(startpit), realize
4625 that the while really is a regular for loop.
4626 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4627 setCursor in one place.
4628 (setParagraph): temp vr for ownerParagraphs().end()
4629 (updateCounters): make the while loop a for loop
4630 (cutSelection): temp var for ownerParagraphs().end()
4631 (updateInset): make the do {} while() a regular for loop
4632 (getCursorX): use temp vars
4633 (setCurrentFont): use temp vars
4634 (getColumnNearX): use temp vars
4636 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * text.C (transformChar): use temp var for getChar
4639 (computeBidiTables): use temp var for row->par()
4640 (fill): move temp vars for row->par() and pit->layout() earlier in
4642 (labelFill): use temp var for row->par()
4643 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4644 asc and desc, realize that pit never changes and that firstpit is
4645 just a duplicate and not needed. Exchange rit->par() with pit in a
4647 (breakAgain): use a temp var for boost::next(rit)
4648 (breakAgainOneRow): ditto
4649 (breakParagraph): use a temp var for rows().begin()
4650 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4651 (cursorRightOneWord): use temp var for cursor.par() and
4652 cursor.pos(), remove usage of tmpcursor.
4653 (cursorLeftOneWord): use temp var for cursor.par() and
4654 cursor.pos() only set cur at end of function.
4656 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * text.C, text2.C: exchange all usage of Paragraph::next with
4659 boost::next(ParagraphList::iterator)
4661 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4663 * text2.C (cursorTop): simplify implementation
4664 (cursorBottom): ditto
4665 (setParagraph): use ParagraphList::iterator
4666 (setCurrentFont): adjust
4667 (getColumnNearX): adjust
4668 (cursorRight): adjust
4669 (cursorLeft): remove usage of Paragraph::previous
4670 (cursorUpParagraph): ditto
4671 (deleteEmptyParagraphMechanism): slight cleanup
4673 * text.C (isBoundary): take a Paragraph const & instead of a
4675 (addressBreakPoint): ditto
4676 (leftMargin): remove usage of Paragraph::previous.
4677 (setHeightOfRow): ditto
4678 (cursorLeftOneWord): ditto
4679 (selectNextWordToSpellcheck): ditto
4682 (breakParagraph): remove one usage of Paragraph::next
4683 (redoParagraph): ditto
4684 (acceptChange): ditto
4685 (insertChar): adjust
4686 (rowBreakPoint): adjust
4688 * bufferview_funcs.C (toggleAndShow): adjust
4690 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4692 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4693 methods to access it.
4695 * text.C: Added updateRowPositions to compute all row positions.
4696 Make top_y and getRowNearY() to use the cached y position
4698 2003-04-11 John Levon <levon@movementarian.org>
4700 * text.C (rowBreakPoint): reintroduce the labelEnd
4701 checks, code copied from the row fill stuff. Deep voodoo.
4703 * text.C (fill): add a comment and debugging for the
4706 2003-04-11 John Levon <levon@movementarian.org>
4708 * text.C: make sure fullrow insets get wrapped to the next line,
4709 even when they're in a manual label
4711 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * text2.C (insertParagraph): make it take ParagraphList::iterator
4715 (setLayout): make it return ParagraphList::iterator
4716 (redoParagraphs): ditto
4718 (checkParagraph): ditto
4720 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4722 * text2.C: adjust several funcs.
4723 (realizeFont): take a ParagraphList::iterator as arg.
4724 (getLayoutFont): ditto
4725 (getLabelFont): ditto
4726 (setCharFont): ditto
4728 * text.C: adjust several funcs.
4730 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4732 * text.C (selectNextWordToSpellcheck): don't accidentally
4735 2003-04-10 John Levon <levon@movementarian.org>
4737 * ToolbarBackend.C (getIcon): special handling for
4740 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4742 * text2.C (cursorRight): a getChar assert fixed
4744 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4746 * text2.C (getFont): change to take a ParagraphList::iterator
4747 instead of Paragraph*
4748 Adjust several functions.
4750 * text.C (transformChar): change to take a ParagraphList::iterator
4751 instead of Paragraph*
4752 (singleWidth): ditto
4753 Adjust several functions.
4755 * rowpainter.C: adjust several functions
4756 * rowpainter.h:store a ParagraphList::iterator and not a
4760 2003-04-09 John Levon <levon@movementarian.org>
4765 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4766 and the "help" bits as well
4768 2003-04-09 John Levon <levon@movementarian.org>
4771 * ToolbarBackend.C: allow multiple toolbars
4773 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * undo_funcs.C (setCursorParUndo): adjust
4777 * text_funcs.C (transposeChars): adjust
4779 * text3.C (gotoNextInset): adjust
4782 * text2.C (setLayout): adjust
4783 (changeDepth): adjust
4785 (redoParagraphs): adjust
4786 (selectionAsString): adjust
4787 (setParagraph): adjust
4788 (insertInset): adjust
4789 (cutSelection): adjust
4790 (copySelection): adjust
4791 (pasteSelection): adjust
4792 (insertStringAsLines): adjust
4793 (updateInset): adjust
4794 (setCursor): change to take a ParagraphList::iterator parameter
4795 (setCursorIntern): change to take a ParagraphList::iterator parameter
4796 (setCurrentFont): adjust
4797 (cursorLeft): adjust
4798 (cursorRight): adjust
4799 (deleteEmptyParagraphMechanism): adjust
4801 * text.C (breakParagraph): adjust
4802 (insertChar): adjust
4803 (acceptChange): adjust
4804 (rejectChange): adjust
4805 (selectNextWordToSpellcheck): adjust
4806 (changeCase): adjust
4810 * lyxfind.C (SearchForward): adjust
4811 (SearchBackward): adjust
4812 (nextChange): adjust
4814 * lyxcursor.C (par): adjust
4816 * lyxcursor.h: store a ParagraphList::iterator instead of a
4819 * lyx_cb.C (getPossibleLabel): adjust
4821 * bufferview_funcs.C (toggleAndShow): adjust
4823 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4826 * BufferView.C (removeAutoInsets): adjust
4827 (lockedInsetStoreUndo): adjust
4829 2003-04-09 John Levon <levon@movementarian.org>
4831 * ToolbarBackend.C: try icon without argument
4832 if with argument fails
4834 2003-04-08 John Levon <levon@movementarian.org>
4837 * ToolbarBackend.C: add getIcon(), handle tooltip,
4838 and change from "Icon" to "Item".
4840 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4842 * BufferView.C (lockInset): another bad getchar crunched
4844 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4846 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4849 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4851 * lyxfind.C (searchForward, searchBackwards): bug 782
4853 2003-04-07 John Levon <levon@movementarian.org>
4855 * paragraph.C: remove dead comment
4857 * text.C: remove troublesome depth-fiddling code
4858 in leftMargin() and rightMargin() (bug 1017)
4860 * text.C: fix breaking of rows in nested lists
4863 * text2.C (updateCounters): fix up depth values
4866 2003-04-07 John Levon <levon@movementarian.org>
4868 * BufferView_pimpl.C: clear message when doc finishes resizing,
4869 and after a mouse event
4871 * lyxfunc.C: clear message after exiting inset
4873 2003-04-07 John Levon <levon@movementarian.org>
4875 * bufferview_funcs.C: show math status not outside
4876 status in the statusbar
4878 2003-04-07 John Levon <levon@movementarian.org>
4880 * lyxfunc.C: note status changed after a depth change
4882 2003-04-04 Angus Leeming <leeming@lyx.org>
4884 * LaTeX.h: move AuxInfo operator==, != out of line.
4885 Remove LaTeX virtual destructor; nothing derives from it.
4886 Move operator()() out of public area and rename it startscript().
4887 Change protected for private.
4889 2003-04-04 Angus Leeming <leeming@lyx.org>
4892 * text2.C: remove unneeded #includes.
4894 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4896 * text2.C (dEPM): fix the heigth of the next row
4898 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4900 * text.C: squashed an invalid getChar requester + some ws changes
4902 2003-04-03 John Levon <levon@movementarian.org>
4904 * bufferview_funcs.h:
4905 * bufferview_funcs.C:
4908 * text2.C: make getStatus work for the env depth lfuns
4910 2003-04-03 John Levon <levon@movementarian.org>
4912 * bufferview_funcs.h:
4913 * bufferview_funcs.C:
4916 * text2.C: parlistize decDepth(), by merging it with incDepth()
4918 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4920 * lyxrow.h: store a ParagraphList::iterator instead of a
4921 Paragraph* and adjust other class functions to suit.
4923 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4926 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4928 * text2.C (setCursor): do not anchor to cursor row for the time being
4930 2003-04-02 John Levon <levon@movementarian.org>
4937 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4939 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * paragraph.h: make ParagraphList and ParagraphList::iterator
4942 friends of Paragraph.
4944 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4946 * ParagraphList.C: Use the private next_ and previous_ from
4949 2003-04-01 John Levon <levon@movementarian.org>
4953 * Makefile.am: rename, remove defaults gunk
4956 * MenuBackend.C: remove defaults gunk
4959 * Languages.C: remove defaults gunk
4962 * lyx_main.C: error out if files couldn't be found.
4964 2003-04-02 John Levon <levon@movementarian.org>
4966 * text2.C: make incDepth() use parlist
4968 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * undo_funcs.C (firstUndoParagraph): adjust
4972 * text3.C (gotoInset): adjust
4973 (dispatch): adjust, and rewrite loop.
4975 * text2.C (init): adjust, and rewrite loop.
4976 (redoParagraphs): adjust
4977 (updateInset): adjust, and rewrite loop.
4978 (deleteEmptyParagraphMechanism): adjust
4980 * tabular.C (LyXTabular): adjust
4981 (SetMultiColumn): adjust
4984 * lyxtext.[Ch] (ownerParagraph): delete function
4985 (ownerParagraphs): new function returns a ParagraphList.
4987 * BufferView.C (removeAutoInsets): adjust
4988 (insertErrors): adjust
4989 (setCursorFromRow): adjust
4991 2003-04-01 Angus Leeming <leeming@lyx.org>
4993 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4996 2003-04-02 John Levon <levon@movementarian.org>
5002 * text_funcs.C: make transposeChars a free function
5004 * lyxrow_funcs.C: remove wrong comment
5006 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * rowpainter.C: adjust
5014 * lyxrow_funcs. [Ch]: new files
5016 * lyxrow.[Ch]: remove next and previous pointers
5017 (next,previous): remove accessor functions
5018 (isParEnd): move to lyxrow_funcs
5019 (lastPos): move to lyxrow_funcs
5020 (nextRowIsAllInset): move to lyxrow_funcs
5021 (lastPrintablePos): move to lyxrow_funcs
5022 (numberOfSeparators): move to lyxrow_funcs
5023 (numberOfHfills): move to lyxrow_funcs
5024 (numberOfLabelHfills): move to lyxrow_funcs
5025 (hfillExpansion): move to lyxrow_funcs
5029 * bufferview_funcs.C (toggleAndShow): adjust
5031 * RowList.h: Remove class RowList from file leave just a
5034 * RowList.C: delete file
5036 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5039 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * text3.C (cursorPrevious): adjust
5042 (cursorNext): adjust
5045 * text2.C (redoHeightOfParagraph): adjust
5046 (redoDrawingOfParagraph): adjust
5049 * text.C (breakParagraph): adjust
5050 (insertChar): adjust
5053 * rowpainter.C (RowPainter): adjust
5054 (leftMargin): simplify and adjust
5055 (most rowpainter functions): adjust.
5057 * rowpainter.h: store the row as RowList::iterator not as Row*
5059 * lyxcursor.C (row): taka RowList::iterator as arg
5062 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5065 2003-04-01 Angus Leeming <leeming@lyx.org>
5067 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5068 stuff like bool Bool.
5070 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5072 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5075 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5080 * lyxtext.h (rows): drop one version and leve a const variant that
5081 returns a RowList::iterator.
5083 2003-03-31 Angus Leeming <leeming@lyx.org>
5085 * text.C (fill): ensure that the signature is the same as that in the
5088 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * text2.C (redoParagraphs): adjust
5091 (updateCounters): adjust
5092 (checkParagraph): adjust
5093 (getColumnNearX): adjust and reformat a bit.
5095 * text.C (top_y): adjust
5097 (leftMargin): adjust
5098 (prepareToPrint): adjust
5100 (getRowNearY): adjust
5102 * lyxtext.h: make rowlist_ mutable.
5104 * RowList.h: add const_iterator
5105 * RowList.C: adjust for RowList::const_iterator.
5107 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5110 2003-03-31 John Levon <levon@movementarian.org>
5113 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5115 * lyx_main.C: set default fonts from using lyx_gui funcs
5117 * exporter.C: pdf_mode moved from lyxrc
5120 * lyxfunc.C: changes from above
5122 2003-03-31 John Levon <levon@movementarian.org>
5124 * lyx_main.C: fix to the last fix
5126 2003-03-31 John Levon <levon@movementarian.org>
5128 * bufferlist.C: "Load original" -> "Load Original"
5134 * format.C: more Alert cleanups
5136 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * text2.C (removeParagraph): make it take a RowList::iterator as
5140 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5141 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5143 * text.C (anchor_row): make it take a RowList::iterator as arg,
5145 (computeBidiTables): make it take a const reference to Row instead
5146 of Row pointer, adjust.
5147 (leftMargin): make it take a RowList::iterator as arg, adjust.
5148 (rowBreakPoint): adjust
5149 (breakAgainOneRow): make it take a RowList::iterator as arg,
5151 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5153 * bufferview_funcs.C (toggleAndShow): adjust
5155 2003-03-30 John Levon <levon@movementarian.org>
5159 * boost-inst.C: moved to support
5161 * several files: changes as a result
5163 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * text2.C (LyXText): adjust.
5167 (removeRow): make it take a RowList::iterator as arg, adjust.
5168 (fullRebreak): adjust
5169 (deleteEmptyParagraphMechanism): adjust
5170 (clearPaint): adjust
5173 * text.C (top_y): adjust
5174 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5175 (breakAgain): make it take a RowList::iterator as arg, adjust.
5176 (breakParagraph): adjust
5177 (insertChar): adjust
5180 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5181 need_break_row, and refresh_row.
5183 * text3.C (dispatch): adjust
5185 * text2.C (checkParagraph): adjust
5187 (setCursorFromCoordinates): adjust
5189 * text.C (top_y): adjust
5191 (getRow): make it return a RowList::iterator, adjust
5192 (getRowNearY): make it return a RowList::iterator, adjust
5194 * text2.C (init): adjust
5195 (insertRow): remove function
5196 (insertParagraph): adjust
5197 (redoParagraphs): adjust
5198 (fullRebreak): adjust
5199 (updateCounters): adjust
5201 * text.C (top_y): rewrite to use RowList iterators.
5203 (setHeightOfRow): rewrite to sue RowList iterators.
5204 (appendParagraph): adjust
5205 (breakAgain): adjust
5206 (breakAgainOneRow): adjust
5207 (breakParagraph): adjust
5209 (getRowNearY): adjust, and remove commented code.
5211 * lyxtext.h (firstRow): delete function
5212 (lastRow): delete function
5213 (rows): new function (const and non-const versions.)
5214 (insertRow): delete function
5216 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5218 2003-03-29 John Levon <levon@movementarian.org>
5220 * BufferView_pimpl.C: always update scrollbar top
5221 because pasting text when we're anchored could mean we
5222 miss an update altogether
5224 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * text2.C (init): use rowlist_.end() and not 0.
5227 (insertRow): change to take a RowList::iterator as arg, adjust
5229 (insertParagraph): change to take a RowList::iterator as arg,
5231 (redoParagraphs): remove some debug msgs.
5233 * text.C (appendParagraph): change to take a RowList::iterator
5234 arg, adjust for this.
5235 (breakAgain): add an assert
5236 (breakAgainOneRow): ditto
5238 2003-03-29 John Levon <levon@movementarian.org>
5240 * text2.C: do not clear selection after inc/decDepth
5243 2003-03-29 John Levon <levon@movementarian.org>
5246 * buffer.C: fix broken strerrors according to Lars
5248 2003-03-29 John Levon <levon@movementarian.org>
5250 * converters.C: more Alert cleanups
5252 2003-03-29 John Levon <levon@movementarian.org>
5254 * bufferview_funcs.C: remove pointless Alert
5256 * buffer.C: fix confusing error message when
5257 a template is chmoded 000
5259 2003-03-29 John Levon <levon@movementarian.org>
5263 * BufferView_pimpl.C: Alert fixes
5267 * tabular-old.C: remove unused table compat reading
5269 2003-03-29 John Levon <levon@movementarian.org>
5274 * lyx_cb.C: more Alert cleanups
5276 * lyxfunc.C: don't allow chktex if not latex document
5278 2003-03-29 John Levon <levon@movementarian.org>
5282 * buffer.C: warnings pushed down from support/,
5285 2003-03-29 John Levon <levon@movementarian.org>
5287 * lyxfunc.C: safety check for C-r (revert)
5289 2003-03-29 John Levon <levon@movementarian.org>
5292 * bufferlist.C: several UI fixes using Alert::prompt.
5293 Fix the pointless looping quit code. Fix stupid revert
5298 * lyx_cb.C: use Alert::prompt
5300 * lyx_main.C: remove a silly question
5302 * lyxfunc.C: remove a couple of silly questions,
5305 2003-03-28 John Levon <levon@movementarian.org>
5307 * text2.C: fix bug 974 (End on empty par)
5309 2003-03-28 John Levon <levon@movementarian.org>
5311 * BufferView_pimpl.C:
5313 * lfuns.h: remove do-nothing math greek lfuns
5315 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5317 * lyxgluelength.h (isValidGlueLength): add default arg on
5318 parameter 2. Remove default arg from friend in class.
5320 * lyxlength.h (isValidLength): add default arg on parameter 2.
5321 Remove default arg from friend in class.
5323 * text2.C (LyXText): adjust, initialize refresh_row.
5327 (insertParagraph): adjst
5328 (redoParagraphs): adjust
5329 (fullRebreak): adjust
5330 (updateCounters): adjust
5331 (deleteEmptyParagraphMechanism): first attempt at fixing a
5334 * text.C (top_y): adjust
5335 (setHeightOfRow): adjust
5337 (getRowNearY): adjust
5339 * lyxtext.h: include RowList.h
5340 (~LyXText): not needed anymore, deleted.
5341 (firstRow): modify for RowList
5342 (lastRow): new function
5343 Delete firstrow and lastrow class variables, add a Rowlist
5344 rowlist_ class variable.
5346 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5349 * RowList.C (insert): fix case where it == begin().
5351 2003-03-26 Angus Leeming <leeming@lyx.org>
5353 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5354 the thesaurus dialog.
5356 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5358 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5360 * RowList.[Ch]: new files
5362 * ParagraphList.C (erase): handle the case where it == begin
5365 2003-03-25 John Levon <levon@movementarian.org>
5369 * aspell.C: add new aspell support
5372 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5375 2003-03-25 Angus Leeming <leeming@lyx.org>
5378 * LyXAction.C (init): new LFUN_INSET_INSERT.
5380 * BufferView_pimpl.C (dispatch): split out part of the
5381 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5383 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5386 2003-03-25 Angus Leeming <leeming@lyx.org>
5388 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5390 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5393 * text3.C: remove useless row->height(0)
5395 2003-03-25 John Levon <levon@movementarian.org>
5399 * text3.C: rename the refreshing stuff to better names
5401 2003-03-24 John Levon <levon@movementarian.org>
5403 * BufferView_pimpl.h:
5404 * BufferView_pimpl.C: update layout choice on a mouse
5407 2003-03-23 John Levon <levon@movementarian.org>
5409 * Makefile.am: fix commandtags.h reference
5411 2003-03-22 John Levon <levon@movementarian.org>
5413 * BufferView_pimpl.C:
5418 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5420 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5423 * text.C: take the rtl methods out of line
5425 2003-03-21 André Pönitz <poenitz@gmx.net>
5427 * metricsinfo.[Ch]: new files containing structures to be passed around
5428 during the two-phase-drawing...
5430 2003-03-21 André Pönitz <poenitz@gmx.net>
5432 * lyxtextclass.C: read 'environment' tag.
5434 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5436 * text2.C (removeRow): fix bug 964
5438 2003-03-20 John Levon <levon@movementarian.org>
5442 * text2.C: paint cleanups. Inset::update() dropped font
5445 2003-03-19 John Levon <levon@movementarian.org>
5447 * lyxfunc.C: only fitcursor/markDirty if available()
5449 2003-03-19 John Levon <levon@movementarian.org>
5451 * commandtags.h: rename to ...
5453 * lfuns.h: ... this, and renumber / cleanup
5455 2003-03-19 John Levon <levon@movementarian.org>
5457 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5458 fit the cursor after an lfun
5462 * BufferView_pimpl.h:
5463 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5465 * LyXAction.C: layout-character should have ReadOnly
5467 * ParagraphParameters.C:
5469 * bufferview_funcs.C:
5476 * undo_funcs.C: changes from above
5478 2003-03-18 John Levon <levon@movementarian.org>
5480 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5481 remove it from update()
5483 * lyxfunc.C: update layout choice after an lfun
5485 * text3.C: remove extra updateLayoutChoice()s
5487 2003-03-18 John Levon <levon@movementarian.org>
5489 * text.C: top_y change means full repaint, fix
5490 a drawing bug with cursor movement
5492 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5496 * text2.C: anchor row on setCursor
5498 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5500 * lyxtext.h: remove almost all mutable keywords
5503 * text3.C: remove const keywords accordingly
5505 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5509 (TeXEnvironment): ditto
5512 2003-03-17 John Levon <levon@movementarian.org>
5514 * text.C (rowBreakPoint): remove attempt to fix displayed
5515 math insets inside a manual label
5517 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * lyxtext.h: remove BufferView* as first arg from almost all class
5521 * other files: adjust.
5523 2003-03-17 John Levon <levon@movementarian.org>
5527 * text2.C: more paint cleanups
5529 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5532 * rowpainter.C: remove "smart" background painting code
5534 2003-03-16 John Levon <levon@movementarian.org>
5539 * text3.C: add helper functions for setting refresh_row/y
5541 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5543 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5544 newline inset which *can* get inserted in the pass_thru layouts.
5545 This is primarily for literate documents.
5547 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5549 * buffer.C: increment LYX_FORMAT to 223
5551 2003-03-14 André Pönitz <poenitz@gmx.net>
5553 * textclass.h: prepare for environment handling, ws changes
5554 * lyxlayout.C: read latexheader and latexfooter tags
5556 2003-03-14 John Levon <levon@movementarian.org>
5558 * text2.C: rewrite ::status() a bit
5560 2003-03-13 John Levon <levon@movementarian.org>
5562 * lyxtext.h: add some docs
5564 2003-03-13 John Levon <levon@movementarian.org>
5569 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5571 2003-03-13 John Levon <levon@movementarian.org>
5573 * text3.C: fix appendix redrawing
5575 2003-03-13 John Levon <levon@movementarian.org>
5577 * text.C (setHeightOfRow):
5579 * rowpainter.C: make appendix mark have the text
5580 "Appendix" so the user knows what it is
5583 * LColor.C: s/appendixline/appendix/ from above
5585 2003-03-13 John Levon <levon@movementarian.org>
5587 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5589 * text.C: fix a getChar(pos) bug properly
5591 2003-03-13 Angus Leeming <leeming@lyx.org>
5594 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5595 Probably only temporary. Let's see how things pan out.
5597 * BufferView.C (unlockInset):
5598 * BufferView_pimpl.C (fitCursor):
5599 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5601 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5602 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5604 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5605 new functions that convert ParagraphParameters to and from a string.
5607 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5608 BufferView::Pimpl's dispatch.
5609 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5611 2003-03-13 André Pönitz <poenitz@gmx.net>
5615 * factory.C: make it aware of InsetEnv
5617 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * text2.C (setCursor): never ask for one past last
5620 (setCursor): add some debugging messages.
5622 * text.C (singleWidth): never ask for one past last
5623 (singleWidth): ditto
5625 (rightMargin): ditto
5626 (rowBreakPoint): ditto
5627 (setHeightOfRow): ditto
5628 (prepareToPrint): ditto
5630 * rowpainter.C (paintBackground): never ask for one past last
5631 (paintText): never ask for one past last
5633 * paragraph_pimpl.C (getChar): make the assert stricter, never
5634 allow the one past last pos to be taken
5636 * paragraph.C (getChar): ws changes only
5638 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5639 (numberOfSeparators): ditto
5640 (numberOfHfills): ditto
5642 2003-03-12 John Levon <levon@movementarian.org>
5648 * paragraph_funcs.C: fix per-buffer authorlists
5650 2003-03-12 John Levon <levon@movementarian.org>
5652 * text.C: fix newline in right address
5654 2003-03-12 Angus Leeming <leeming@lyx.org>
5656 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5657 duplicate those in LyXFunc::dispatch.
5661 * ToolbarDefaults.C:
5662 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5663 Add LFUN_FONTFREE_UPDATE.
5665 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5666 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5668 * bufferview_func.[Ch]: several new functions to facilliate
5669 transfer of data to and from the character dialog.
5671 2003-03-12 John Levon <levon@movementarian.org>
5676 * paragraph_funcs.C:
5677 * paragraph_pimpl.C:
5681 * text3.C: remove META_NEWLINE in favour of an inset
5684 * rowpainter.C: remove paintNewline (done by inset)
5686 2003-03-12 John Levon <levon@movementarian.org>
5688 * paragraph_pimpl.C: complain about bad getChar()s
5689 for a while at least
5691 2003-03-12 John Levon <levon@movementarian.org>
5694 * buffer.C: move paragraph read into a separate function,
5695 a little renaming to reflect that.
5698 * bufferparams.C: remove the author_ids map, not necessary now
5701 * factory.C: moved Buffer::readInset to here
5703 * paragraph_funcs.h:
5704 * paragraph_funcs.C: readParagraph free function moved from
5707 * tabular.C: name change
5709 2003-03-12 John Levon <levon@movementarian.org>
5712 * ParagraphParameters.C: move par params input to
5715 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5716 behave like a normal read from the stream wrt reading
5717 a line vs. a \\token
5719 2003-03-12 John Levon <levon@movementarian.org>
5722 * ParagraphParameters.h:
5723 * ParagraphParameters.C: move output code to a
5726 2003-03-12 John Levon <levon@movementarian.org>
5728 * BufferView.C (insertLyXFile):
5731 * tabular.C: use a parlist iterator for creating the
5734 2003-03-12 John Levon <levon@movementarian.org>
5736 * buffer.C: make current_change static local not
5739 2003-03-12 John Levon <levon@movementarian.org>
5741 * buffer.C: fix insertStringAsLines for change tracking
5743 2003-03-12 John Levon <levon@movementarian.org>
5750 * bufferparams.C: move author list into params. Rename some
5751 functions. Move the header reading into a separate token
5752 loop. Move the header token reading into BufferParams.
5754 2003-03-12 John Levon <levon@movementarian.org>
5756 * changes.C: put debug inside lyxerr.debugging() checks
5758 2003-03-11 André Pönitz <poenitz@gmx.net>
5760 * factory.C: make it aware of InsetHFill
5762 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5764 * buffer.C (latexParagraphs): move function from here...
5765 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5768 2003-03-10 Angus Leeming <leeming@lyx.org>
5770 * LyXAction.C (init): fix bug in poplating array with multiple entries
5771 with the same LFUN (spotted by JMarc).
5773 2003-03-10 John Levon <levon@movementarian.org>
5776 * text2.C: move getColumnNearX() near its
5779 2003-03-10 John Levon <levon@movementarian.org>
5781 * text.C: fix break before a minipage
5783 2003-03-10 John Levon <levon@movementarian.org>
5785 * text.C: fix the last commit
5787 2003-03-09 John Levon <levon@movementarian.org>
5791 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5792 bug 365 (don't break before insets unless needed). Don't
5793 return a value > last under any circumstances.
5795 2003-03-09 Angus Leeming <leeming@lyx.org>
5797 * BufferView_pimpl.C (trackChanges, dispatch): call
5798 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5800 2003-03-09 Angus Leeming <leeming@lyx.org>
5802 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5803 than Dialogs::showAboutlyx().
5805 2003-03-09 Angus Leeming <leeming@lyx.org>
5807 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5808 than Dialogs::showTabularCreate().
5810 2003-03-09 John Levon <levon@movementarian.org>
5814 * text2.C: 3rd arg to nextBreakPoint was always the same.
5817 2003-03-08 John Levon <levon@movementarian.org>
5824 * text2.C: Remove the "main" bit from the "main body"
5827 2003-03-08 John Levon <levon@movementarian.org>
5829 * text.C (leftMargin): The left margin of an empty
5830 manual label paragraph should not include the label width
5833 * text.C (prepareToPrint): don't attempt to measure hfills
5834 for empty manual label paragraphs - the answer should be 0
5836 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * CutAndPaste.C: remove commented code and reindent.
5840 2003-03-08 John Levon <levon@movementarian.org>
5843 * lyxfunc.C: move reloadBuffer()
5846 * BufferView.C: to here
5848 * lyxvc.C: add comment
5851 * vc-backend.C: call bv->reload() to avoid
5852 getStatus() check on MENURELOAD
5854 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5856 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5857 to an old format .dep file.
5859 2003-03-07 Angus Leeming <leeming@lyx.org>
5861 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5862 when the LFUN_MOUSE_RELEASE should have been handled by
5863 inset->localDispatch.
5865 2003-03-07 Angus Leeming <leeming@lyx.org>
5867 * BufferView_pimpl.C (dispatch):
5868 * LyXAction.C (init):
5869 * ToolbarDefaults.C (init):
5871 * lyxfunc.C (getStatus):
5872 remove LFUN_INSET_GRAPHICS.
5874 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5876 2003-03-07 Angus Leeming <leeming@lyx.org>
5879 * LyXAction.C (init):
5880 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5882 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5885 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5887 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5888 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5890 2003-03-07 Angus Leeming <leeming@lyx.org>
5892 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5895 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * ParagraphList.C (front): new function
5900 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5902 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5903 and top_row_offset_. removed var first_y.
5905 * text2.C (LyXText, removeRow):
5907 * BufferView_pimpl.C:
5908 use these methods instead of using first_y
5910 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * text2.C (pasteSelection): adjust for checkPastePossible
5914 * CutAndPaste.C: remove Paragraph * buf and replace with
5915 ParagraphList paragraphs.
5916 (DeleteBuffer): delete
5917 (cutSelection): change the tc type to textclass_type
5918 (copySelection): change the tc type to textclass_type
5919 (copySelection): adjust for ParagraphList
5920 (pasteSelection): change the tc type to textclass_type
5921 (pasteSelection): adjust for Paragraphlist
5922 (nrOfParagraphs): simplify for ParagraphList
5923 (checkPastePossible): simplify for ParagraphList
5924 (checkPastePossible): remove unused arg
5926 * ParagraphList.C (insert): handle the case where there are no
5929 * CutAndPaste.h: make CutAndPaste a namespace.
5931 * text3.C (dispatch): adjust
5933 * text.C (breakParagraph): add a ParagraphList as arg
5935 * paragraph_funcs.C (breakParagraph): change to take a
5936 BufferParams and a ParagraphList as args.
5937 (breakParagraphConservative): ditto
5938 (mergeParagraph): ditto
5939 (TeXDeeper): add a ParagraphList arg
5940 (TeXEnvironment): ditto
5943 * buffer.C (readLyXformat2): adjust
5944 (insertStringAsLines): adjust
5945 (latexParagraphs): adjust
5947 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5948 (cutSelection): adjust
5949 (pasteSelection): adjust
5951 * BufferView_pimpl.C (insertInset): adjust
5953 2003-03-05 Angus Leeming <leeming@lyx.org>
5956 * LyXAction.C (init):
5957 * BufferView_pimpl.C (dispatch):
5958 * lyxfunc.C (getStatus):
5959 remove LFUN_CHILD_INSERT.
5961 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5963 2003-03-05 Angus Leeming <leeming@lyx.org>
5966 * LyXAction.C (init):
5967 * src/factory.C (createInset):
5968 * lyxfunc.C (getStatus):
5969 * text3.C (dispatch):
5970 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5972 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5974 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5976 * ParagraphList.C (insert): handle insert right before end()
5977 (erase): fix cases where it can be first or last paragraph.
5979 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5981 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5982 Paragraph::next and Paragraph::previous
5985 * text.C (breakParagraph): adjust
5987 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5988 BufferParams& as arg.
5989 (breakParagraph): use ParagraphList::insert
5990 (breakParagraphConservative): take a Buffer* instead of a
5991 BufferParams& as arg.
5992 (breakParagraphConservative): use ParagraphList::insert.
5994 * buffer.C (insertStringAsLines): un-const it
5995 (insertStringAsLines): adjust
5997 * ParagraphList.C (insert): new function
5999 * CutAndPaste.C (pasteSelection): adjust
6001 * text.C (backspace): adjust
6003 * tabular.C (SetMultiColumn): adjust
6005 * CutAndPaste.C (cutSelection): adjust
6006 (pasteSelection): adjust
6008 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6009 Buffer const * as arg
6011 * ParagraphList.C (erase): new function
6012 * paragraph_funcs.C (mergeParagraph): use it
6013 (mergeParagraph): make it take a Buffer* instead of a
6014 BufferParams* as arg
6016 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6018 (breakParagraphConservative): ditto
6020 * paragraph.h: remove the breakParagraph friend
6022 * paragraph.C (eraseIntern): new function
6023 (setChange): new function
6025 * paragraph_funcs.C (mergeParagraph): make it take a
6026 ParagraphList::iterator instead of a Paragraph *, adjust
6029 * paragraph.h: move an #endif so that the change tracking stuff
6030 also works in the NO_NEXT case.
6032 2003-03-04 Angus Leeming <leeming@lyx.org>
6035 * LyXAction.C: new LFUN_INSET_MODIFY.
6037 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6038 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6040 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * several files: ws changes only
6044 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6045 (TeXEnvironment): ditto
6048 * buffer.C (makeLaTeXFile): adjust
6049 (latexParagraphs): make it take ParagraphList::iterator as args
6051 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6053 * buffer.C (latexParagraphs): adjust
6055 * paragraph.C (TeXOnePar): move function...
6056 (optArgInset): move function...
6057 (TeXEnvironment): move function...
6058 * paragraph_pimpl.C (TeXDeeper): move function...
6059 * paragraph_funcs.C: ...here
6061 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6063 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * buffer.C (readInset): remove compability code for old Figure and
6068 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6070 * buffer.C: ws changes
6073 * BufferView_pimpl.C: ditto
6076 * bufferlist.h: ditto
6080 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6082 * converter.[Ch]: split into itself +
6085 * Makefile.am: += graph.[Ch] + format.[Ch]
6092 * lyxrc.C: added #include "format.h"
6094 2003-02-27 Angus Leeming <leeming@lyx.org>
6096 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6099 * factory.C (createInset): add "label" to the factory.
6101 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6102 string and do no more.
6104 2003-02-27 Angus Leeming <leeming@lyx.org>
6107 * LyXAction.C (init):
6108 * factory.C (createInset):
6109 * BufferView_pimpl.C (dispatch):
6110 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6112 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6114 * lyxfunc.C (dispatch):
6115 * text3.C (dispatch): pass name to params2string.
6117 2003-02-26 Angus Leeming <leeming@lyx.org>
6119 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6121 Rearrange the ~includes. Strip out the unnecessary ones.
6123 * factory.C (createInset): reformat.
6124 create new insets for the various LFUN_XYZ_APPLY lfuns.
6126 2003-02-26 John Levon <levon@movementarian.org>
6129 * lyxrow.C: add isParStart,isParEnd helpers
6131 * paragraph.h: make isInserted/DeletedText take refs
6133 * paragraph_funcs.h:
6134 * paragraph_funcs.C: remove #if 0'd code
6139 * text.C: use lyxrow helpers above.
6140 Move draw and paint routines to RowPainter.
6141 Make several methods use refs not pointers.
6142 Make backgroundColor() const.
6143 Add markChangeInDraw(), isInInset().
6144 Merge changeRegionCase into changeCase.
6145 Make workWidth() shouldn't-happen code into an Assert.
6148 * rowpainter.C: new class for painting a row.
6151 * vspace.C: make inPixels take a ref
6153 2003-02-26 Angus Leeming <leeming@lyx.org>
6155 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6158 2003-02-25 John Levon <levon@movementarian.org>
6160 * ispell.C: give the forked command a more accurate name
6162 2003-02-22 John Levon <levon@movementarian.org>
6165 * toc.C: make TocItem store an id not a Paragraph *
6168 2003-02-21 Angus Leeming <leeming@lyx.org>
6170 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6171 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6172 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6173 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6174 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6175 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6177 * BufferView_pimpl.C (dispatch):
6178 * LyXAction.C (init):
6179 * factory.C (createInset):
6180 * lyxfunc.C (getStatus, dispatch):
6181 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6183 2003-02-21 Angus Leeming <leeming@lyx.org>
6185 * BufferView_pimpl.C (MenuInsertLyXFile):
6186 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6187 * lyxfunc.C (menuNew, open, doImport):
6188 no longer pass a LyXView & to fileDlg.
6190 2003-02-21 Angus Leeming <leeming@lyx.org>
6192 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6193 * LyXAction.C: change, BIBKEY to BIBITEM.
6194 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6195 Change InsetBibKey to InsetBibitem.
6196 Change BIBKEY_CODE to BIBITEM_CODE.
6197 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6198 * factory.C: replace insetbib.h with insetbibitem.h.
6199 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6200 * paragraph.C: replace insetbib.h with insetbibitem.h.
6201 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6202 Change bibkey() to bibitem().
6203 * text.C: remove insetbib.h.
6204 * text2.C: replace insetbib.h with insetbibitem.h.
6205 change bibkey() to bibitem().
6206 * text3.C: remove insetbib.h.
6207 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6209 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6211 * lyxrc.C (output): enclose user email in quotes (in case there are
6214 2003-02-18 John Levon <levon@movementarian.org>
6216 * buffer.h: add std::
6218 2003-02-17 John Levon <levon@movementarian.org>
6224 * pspell.C: reworking. Especially in ispell, a large
6225 number of clean ups and bug fixes.
6227 * lyxfunc.C: fix revert to behave sensibly
6229 2003-02-17 André Pönitz <poenitz@gmx.net>
6232 * commandtags.h: new LFUN_INSERT_BIBKEY
6242 * paragraph_func.C: remove special bibkey handling
6244 2003-02-17 John Levon <levon@movementarian.org>
6246 * text.C (Delete): fix case where delete at the end of
6247 the very first paragraph would not merge the pars
6249 2003-02-17 John Levon <levon@movementarian.org>
6251 * lyxrow.C: fix lastPrintablePos()
6253 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6255 * bufferparams.C (writeLaTeX): add a std:here
6257 * buffer.C: and remove a using directive there
6259 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6261 * buffer.C (makeLaTeXFile): move the code that generates the
6264 * bufferparams.C (writeLaTeX): ... in this new method
6266 * LaTeXFeatures.C (getEncodingSet): make const
6267 (getLanguages): make const
6269 * MenuBackend.C (binding): returns the binding associated to this
6271 (add): sets the status of each item by calling getStatus. Adds
6273 (read): add support for OptSubMenu
6274 (expand): remove extra separator at the end of expanded menu
6276 2003-02-15 John Levon <levon@movementarian.org>
6279 * BufferView_pimpl.C:
6281 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6282 inset code that had no actual effect. Remove unneeded status
6285 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6287 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6290 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6292 * text.C (drawLengthMarker): also draw an arrow marker for
6293 symbolic lengths (medskip...)
6295 2003-02-14 John Levon <levon@movementarian.org>
6298 * tabular.C: better method names
6300 2003-02-14 John Levon <levon@movementarian.org>
6302 * BufferView_pimpl.C:
6307 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6308 it's a more accurate name. Remove some pointless uses.
6310 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6312 * text2.C (LyXText): change order of initilizers to shut off
6315 2003-02-14 John Levon <levon@movementarian.org>
6317 * buffer.C: use ParIterator for getParFromID()
6321 * paragraph_pimpl.h:
6322 * paragraph_pimpl.C: remove unused getParFromID()
6324 2003-02-14 John Levon <levon@movementarian.org>
6326 * buffer.C: remove some very old #if 0'd parse code
6328 2003-02-13 John Levon <levon@movementarian.org>
6332 * text2.C: move hfillExpansion(), numberOfSeparators(),
6333 rowLast(), rowLastPrintable(), numberofHfills(),
6334 numberOfLabelHfills() ...
6337 * lyxrow.C: ... to member functions here.
6342 * text.C: remove LyXText::beginningOfMainBody(), and call
6343 p->beginningOfMainBody() directly. Move the check for
6344 LABEL_MANUAL into the latter.
6351 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6357 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6358 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6360 2003-02-13 John Levon <levon@movementarian.org>
6362 * CutAndPaste.C: remove debug
6364 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6366 * paragraph.C (asString): remove two unused variables
6368 * lyxtextclass.C (readTitleType):
6370 (LyXTextClass): handle new members titletype_ and titlename_
6372 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6374 2003-02-09 John Levon <levon@movementarian.org>
6377 * buffer.C: replace hand-coded list with a map for the dep clean
6379 2003-02-08 John Levon <levon@movementarian.org>
6381 * LaTeX.C: consolidate code into showRunMessage() helper
6383 2003-02-08 John Levon <levon@movementarian.org>
6388 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6389 and pass the size in explicitly
6391 * BufferView_pimpl.h:
6392 * BufferView_pimpl.C:
6394 * BufferView.C: add getCurrentChange()
6396 * BufferView_pimpl.h:
6397 * BufferView_pimpl.C: handle change lfuns
6399 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6400 for changes. Mark pasted paragraphs as new.
6402 * support/lyxtime.h:
6403 * support/lyxtime.C:
6404 * DepTable.C: abstract time_t as lyx::time_type
6407 * LColor.C: add colours for new text, deleted text, changebars
6409 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6410 package use "usenames" option.
6414 * LyXAction.C: add change lfuns
6418 * author.C: author handling
6421 * buffer.C: add a per-buffer author list, with first entry as
6422 current author. Handle new .lyx tokens for change tracking. Output
6423 author list to .lyx file. Output dvipost stuff to .tex preamble.
6424 Bump lyx format to 222.
6427 * bufferlist.C: add setCurrentAuthor() to reset current author details
6431 * bufferparams.C: add param for tracking
6433 * bufferview_funcs.C: output change info in minibuffer
6437 * changes.C: add change-tracking structure
6440 * debug.C: add CHANGES debug flag
6443 * lyxfind.C: add code for finding the next change piece
6446 * lyxrc.C: add user_name and user_email
6449 * lyxrow.C: add a metric for the top of the text line
6452 * text.C: implement accept/rejectChange()
6455 * text.C: paint changebars. Paint new/deleted text in the chosen
6456 colours. Strike through deleted text.
6460 * paragraph_pimpl.h:
6461 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6462 in the current change to the insert functions. Rework erase to
6463 mark text as deleted, adding an eraseIntern() and a range-based
6464 erase(). Implement per-paragraph change lookup and
6467 * paragraph_funcs.C: Fixup paste for change tracking.
6469 * tabular.C: mark added row/columns as new.
6471 * text.C: fix rowLast() to never return -1. Don't allow
6472 spellchecking of deleted text. Track transpose changes. Don't
6473 allow paragraph break or merge where appropriate.
6475 * text2.C: leave cursor at end of selection after a cut.
6477 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6479 * text.C (getLengthMarkerHeight):
6480 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6481 visible on screen too.
6483 2003-02-07 John Levon <levon@movementarian.org>
6485 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6487 2003-02-05 Angus Leeming <leeming@lyx.org>
6489 * lyxserver.C (read_ready): revert my patch of 11 September last year
6490 as it sends PC cpu through the roof. Presumably this means that
6491 the lyxserver will no longer run on an Alpha...
6493 2003-01-30 Angus Leeming <leeming@lyx.org>
6495 * factory.C (createInset): create an InsetCommandParam of type "index"
6496 and use it to 'do the right thing'.
6498 * text2.C (getStringToIndex): ensure that cursor position is always
6499 reset to the reset_cursor position.
6501 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6503 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6506 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6510 * lyxfunc.C: Output messages with identical spelling, punctuation,
6513 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6515 * MenuBackend.C (expandFormats): List only viewable export formats
6518 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6521 * lyxfunc.C (getStatus): Make sure that formats other than
6522 "fax" can also be disabled
6524 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6526 * text3.C (dispatch): put the lfuns that insert insets in 3
6527 groups, and call doInsertInset with appropriate arguments.
6528 (doInsertInset): new function, that creates an inset and inserts
6529 it according to some boolean parameters.
6531 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6533 * buffer.C (readFile): remember to pass on 'par' when calling
6534 readFile recursively.
6536 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6538 * MenuBackend.C (expandFormats): add "..." to import formats.
6540 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6542 * paragraph.C (asString): Remove XForms RTL hacks.
6544 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6545 * buffer.C: fix typo
6547 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * Makefile.am (LIBS): delete var
6550 (lyx_LDADD): add @LIBS@ here instead.
6552 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6554 * Clarify the meaning of "wheel mouse jump"
6556 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6558 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6561 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6563 * importer.C (Loaders): do not preallocate 3 elements in the
6564 vector, since one ends up with 6 elements otherwise
6566 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6568 * DepTable.C (write): write the file name as last element of the
6569 .dep file (because it may contain spaces)
6570 (read): read info in the right order
6572 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6574 * paragraph_pimpl.C (simpleTeXBlanks):
6575 (simpleTeXSpecialChars):
6576 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6578 * tabular.C (latex): add some missing case statements. Reindent.
6580 * MenuBackend.C (expandToc): remove unused variable.
6582 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6591 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6594 2003-01-05 John Levon <levon@movementarian.org>
6597 * BufferView.C: add getEncoding()
6600 * kbsequence.C: do not store last keypress
6603 * lyxfunc.C: store last keypress here instead. Pass encoding
6606 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6608 * lyx_main.C (init): remove annoying error message when following
6609 symbolic links (bug #780)
6611 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6613 * text.C (insertChar):
6614 * lyxrc.C (getDescription): remove extra spaces
6616 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6618 * lyxrc.C (getDescription): remove extra spaces
6620 2002-12-20 John Levon <levon@movementarian.org>
6622 * text3.C: hack fix for page up/down across tall rows
6624 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6626 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6629 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6632 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6633 thesaurus is not compiled in
6635 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6637 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6639 2002-12-16 Angus Leeming <leeming@lyx.org>
6642 * lyx_main.C (init): remove override_x_deadkeys stuff.
6644 2002-12-12 John Levon <levon@movementarian.org>
6646 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6647 insert. Only remove shift modifier under strict
6650 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * MenuBackend.C (expandToc): fix crash.
6654 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6656 * MenuBackend.C (expandToc): gettext on float names.
6658 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6660 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6661 implement bool empty() [bug 490]
6663 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6665 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6667 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6669 * several files: ws changes
6671 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * text2.C (setCounter): clean up a bit, use boost.format.
6674 (updateCounters): initialize par upon declaration.
6676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6677 if the layout exists. We do not just store the layout any more.
6678 (SwitchLayoutsBetweenClasses): use boost.format
6680 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6682 * converter.C (convert): if from and to files are the same, use a
6683 temporary files as intermediary
6685 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6688 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6690 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6692 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6694 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6696 * tabular.C (asciiPrintCell): use string(size, char) instead of
6699 * sgml.C (openTag): fix order of arguments to string constructor
6702 * lyxfunc.C (dispatch): use boost.format
6704 * lots of files: change "c" -> 'c'
6706 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6708 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6710 2002-11-25 Angus Leeming <leeming@lyx.org>
6712 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6714 * lyx_main.C (init): compile fix.
6716 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * lyx_cb.C (start): boost.formatify
6719 do not include <iostream>
6721 * lengthcommon.C: ws only
6723 * boost-inst.C,BoostFormat.h: add more explict instantations
6725 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * lots of files: handle USE_BOOST_FORMAT
6729 2002-11-21 John Levon <levon@movementarian.org>
6731 * pspell.C: fix compile
6733 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6735 * lyxfunc.C (dispatch): use boost::format
6739 * lyxfont.C (stateText): use boost::format
6741 * lyx_main.C (LyX): use boost::format
6743 (queryUserLyXDir): ditto
6746 (typedef boost::function): use the recommened syntax.
6748 * importer.C (Import): use boost::format
6750 * debug.C (showLevel): use boost::format
6752 * converter.C (view): use boost::format
6757 * bufferview_funcs.C (currentState): use boost::format
6759 * bufferlist.C (emergencyWrite): use boost::format
6761 * buffer.C (readLyXformat2): use boost::format
6762 (parseSingleLyXformat2Token): ditto
6764 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6766 * LaTeX.C (run): use boost::format
6768 * Chktex.C (scanLogFile): use boost::format
6770 * BufferView_pimpl.C (savePosition): use boost::format
6771 (restorePosition): ditto
6772 (MenuInsertLyXFile): ditto
6774 * BoostFormat.h: help file for explicit instation.
6776 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6778 * tabular.C (latex): Support for block alignment in fixed width
6781 2002-11-17 John Levon <levon@movementarian.org>
6783 * BufferView_pimpl.C:
6785 * lyxfunc.C: split filedialog into open/save
6787 2002-11-08 Juergen Vigna <jug@sad.it>
6789 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6790 by my last patch (hopefully).
6792 2002-11-08 John Levon <levon@movementarian.org>
6801 * toc.C: ParConstIterator, and use it (from Lars)
6803 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6805 * lyxtextclass.[Ch]: revise and add doxygen comments
6807 2002-11-07 John Levon <levon@movementarian.org>
6809 * text.C: fix progress value for spellchecker
6811 * toc.C: fix navigate menu for insetwrap inside minipage
6813 * paragraph_funcs.C: added FIXME for suspect code
6815 2002-11-07 John Levon <levon@movementarian.org>
6817 * BufferView_pimpl.C: fix redrawing of insets
6820 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6822 * text2.C (updateCounters): fix bug 668
6824 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6826 * text3.C (dispatch): Do not make the buffer dirty when moving the
6829 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * vc-backend.C: STRCONV
6834 * text2.C (setCounter): STRCONV
6836 * paragraph.C (asString): STRCONV
6838 * lyxlength.C (asString): STRCONV
6839 (asLatexString): ditto
6841 * lyxgluelength.C (asString): STRCONV
6842 (asLatexString): ditto
6844 * lyxfunc.C (dispatch): STRCONV
6847 * lyxfont.C (stateText): STRCONV
6849 * importer.C (Import): STRCONV
6851 * counters.C (labelItem): STRCONV
6852 (numberLabel): ditto
6853 (numberLabel): remove unused ostringstream o
6858 * bufferview_funcs.C (currentState): STRCONV
6860 * buffer.C (readFile): STRCONV
6861 (asciiParagraph): ditto
6862 (makeLaTeXFile): ditto
6864 * Spacing.C (writeEnvirBegin): STRCONV
6866 * LaTeXFeatures.C (getLanguages): STRCONV
6867 (getPackages): ditto
6869 (getBabelOptions): ditto
6870 (getTClassPreamble): ditto
6871 (getLyXSGMLEntities): ditto
6872 (getIncludedFiles): ditto
6876 (scanAuxFile): ditto
6879 * LString.h: add the STRCONV macros
6881 * BufferView_pimpl.C (savePosition): STRCONV
6882 (restorePosition): ditto
6883 (MenuInsertLyXFile): ditto
6885 * vc-backend.C (scanMaster): change from submatch[...] to
6888 * funcrequest.C: include config.h
6890 * factory.C: include config.h
6892 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6894 * box.C: include config.h
6896 * LaTeX.C (scanAuxFile): change from submatch[...] to
6900 2002-10-25 Angus Leeming <leeming@lyx.org>
6902 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6904 * ispell.[Ch] (setError): new method.
6905 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6906 Use setError() insetead of goto END.
6908 * lyx_cb.C (AutoSave): move out child process into new class
6911 2002-10-30 John Levon <levon@movementarian.org>
6913 * text3.C: make start appendix undoable
6915 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6917 * lyxlength.C (inPixels): Fix returned value.
6919 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6922 2002-10-24 Angus Leeming <leeming@lyx.org>
6924 * lyxgluelength.h: no need to forward declare BufferParams
6925 or BufferView, so don't.
6927 2002-10-21 John Levon <levon@movementarian.org>
6929 * BufferView.C: menuUndo ->undo, redo
6931 * BufferView.h: document, remove dead, make some methods private
6933 * paragraph_funcs.h:
6934 * paragraph_funcs.C:
6935 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6940 * sgml.C: move sgml open/close tag into sgml.C
6942 * bufferview_funcs.h: unused prototype
6945 * lyxfunc.C: remove unused
6948 * text.C: remove unused
6950 2002-10-21 John Levon <levon@movementarian.org>
6954 * BufferView_pimpl.h:
6955 * BufferView_pimpl.C: fix mouse wheel handling based on
6956 patch from Darren Freeman
6958 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6960 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6962 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6964 * lyxlength.C (inPixels): Fix hanfling of negative length.
6965 Fix LyXLength::MU case.
6967 2002-10-16 John Levon <levon@movementarian.org>
6969 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6971 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6973 * converter.C (view): add support for $$i (file name) and $$p
6974 (file path) for the viewer command. If $$i is not specified, then
6975 it is appended to the command (for compatibility with old syntax)
6977 2002-10-14 Juergen Vigna <jug@sad.it>
6979 * undo_funcs.C (textHandleUndo): alter the order in which the
6980 new undopar is added to the LyXText, as we have to set first
6981 the right prev/next and then add it as otherwise the rebuild of
6982 LyXText is not correct. Also reset the cursor to the right paragraph,
6983 with this IMO we could remove the hack in "redoParagraphs()".
6985 2002-10-09 Angus Leeming <leeming@lyx.org>
6987 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6988 to turn off an optimisation if a new inset is to be inserted.
6990 2002-10-11 André Pönitz <poenitz@gmx.net>
6992 * lyxtext.h: make some functions public to allow access
6993 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6995 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6997 * text3.C (dispatch): when changing layout, avoid an infinite loop
7000 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7002 * lyxrc.C (read): treat a viewer or converter command of "none" as
7005 * MenuBackend.C (expandFormats): for an update, also allow the
7006 formats that are not viewable
7008 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7009 script if it is newer than the lyxrc.defaults in user directory
7011 2002-10-07 André Pönitz <poenitz@gmx.net>
7013 * text.C: Vitaly Lipatov's small i18n fix
7015 2002-09-25 Angus Leeming <leeming@lyx.org>
7017 * ispell.h: doxygen fix.
7019 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7021 * buffer.h (readFile): Add a new argument to the method, to allow
7022 reading of old-format templates.
7024 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7026 * toc.C (getTocList): Get TOC from InsetWrap.
7028 2002-09-16 John Levon <levon@movementarian.org>
7030 * lyxfunc.C: check tabular for cut/copy too
7032 2002-09-12 John Levon <levon@movementarian.org>
7037 * factory.C: add header
7039 * paragraph_funcs.h:
7040 * paragraph_funcs.C: cleanup
7042 2002-09-11 John Levon <levon@movementarian.org>
7044 * PrinterParams.h: odd/even default to true
7046 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7048 * PrinterParams.h: update printer parameters for new xforms dialog
7050 2002-09-11 Angus Leeming <leeming@lyx.org>
7052 * lyxserver.C (read_ready): re-write to make it more transparent
7053 and to make it work in coherent fashion under Tru64 Unix.
7055 2002-09-11 André Pönitz <poenitz@gmx.net>
7059 * text3.C: implement LFUN_WORDSEL
7061 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7064 make floatlist_ a boost::shared_ptr<FloatList>
7066 * lyxtextclass.C: include FloatList.h
7067 (LyXTextClass): initialize floatlist_
7068 (TextClassTags): add TC_NOFLOAT
7069 (Read): match "nofloat" to TC_NOFLOAT and use it.
7070 (readFloat): modify call to floatlist_
7074 * FloatList.[Ch] (FloatList): remove commented out float
7076 (erase): new function
7078 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7080 * MenuBackend.C (expandToc): fix crash when there is no document
7083 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7085 * many files: Add insetwrap.
7087 2002-09-09 John Levon <levon@movementarian.org>
7089 * text2.C: remove confusing and awkward depth wraparound
7091 2002-09-09 John Levon <levon@movementarian.org>
7093 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7096 * buffer.C: remove getIncludeonlyList()
7099 * lyxfunc.C: remove headers
7101 2002-09-09 Juergen Vigna <jug@sad.it>
7103 * text.C (getColumnNearX): fix form Michael this is most
7104 probably a cut&paste bug.
7106 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7110 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7111 references, ws changes.
7113 * text2.C (init): update counters after init
7114 (insertParagraph): no need to set counter on idividual paragraphs.
7115 (setCounter): access the counters object in the textclass object
7116 on in the buffer object.
7117 (updateCounters): ditto
7119 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7120 shared_ptr<Counters> to avoid loading counters.h in all
7122 (LyXTextClass): initialize ctrs_
7123 (TextClassTags): add TC_COUNTER, and ...
7124 (Read): use it here.
7125 (CounterTags): new tags
7126 (readCounter): new function
7127 (counters): new funtion
7128 (defaultLayoutName): return a const reference
7130 * counters.C (Counters): remove contructor
7131 (newCounter): remove a couple of unneeded statements.
7132 (newCounter): simplify a bit.
7133 (numberLabel): some small formatting changes.
7135 * buffer.[Ch]: remove all traces of counters, move the Counters
7136 object to the LyXTextClass.
7138 2002-09-06 Alain Castera <castera@in2p3.fr>
7140 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7141 package to set the horizontal alignment on fixed width columns.
7144 * lyx_sty.h: added tabularnewline macro def.
7146 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7148 2002-09-06 John Levon <levon@movementarian.org>
7150 * LyXAction.C: tooltips for sub/superscript
7152 * MenuBackend.C: a bit more verbose
7154 * lyxfunc.C: tiny clean
7156 * undo_funcs.C: document undo_frozen
7158 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7160 * counters.C (Counters): add missing algorithm counter.
7162 * text2.C (setCounter): lookup the counter with layouts latexname
7163 instead of by section number.
7164 (setCounter): use a hackish way to lookup the correct enum
7166 a float name->type change
7167 reset enum couners with counter name directly instead of depth value.
7169 * counters.C (Counters): remove the push_backs, change to use the
7170 float type not the float name.
7171 (labelItem): remove unused string, float name->type change
7173 * counters.h: don't include vector, loose the enums and sects vectors
7175 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7177 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7178 (Read): add float->TC_FLOAT to textclassTags
7179 (Read): and handle it in the switch
7180 (readFloat): new function
7182 * FloatList.C (FloatList): comment out the hardcoded float
7185 * lyxlayout.h: ws change.
7187 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7189 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7191 2002-09-03 Angus Leeming <leeming@lyx.org>
7193 * BufferView_pimpl.h: qualified name is not allowed in member
7194 declaration: WorkArea & Pimpl::workarea() const;
7196 * factory.C: added using std::endl directive.
7198 * text3.C: added using std::find and std::vector directives.
7200 2002-08-29 André Pönitz <poenitz@gmx.net>
7203 * text2.C: remove unused member number_of_rows
7206 * BufferView2.C: remove file, move contents to...
7207 * BufferView.C: ... here
7209 * BufferView_pimpl.C:
7210 * factory.C: move more inset creation to factory
7212 * vspace.C: avoid direct usage of LyXText, ws changes
7215 don't provide direct access to WorkArea, use two simple
7216 acessors haveSelction() and workHeight() instead
7219 2002-08-29 John Levon <levon@movementarian.org>
7221 * BufferView_pimpl.C (dispatch): do not continue when
7224 2002-08-28 André Pönitz <poenitz@gmx.net>
7226 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7229 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7231 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7233 * buffer.C: increment LYX_FORMAT to 221
7235 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7236 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7238 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7240 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7242 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7244 * factory.C (createInset): use LyXTextClass::floats
7246 * MenuBackend.C (expandFloatListInsert):
7247 (expandFloatInsert):
7250 * text2.C (setCounter):
7252 * LaTeXFeatures.C (useFloat):
7253 (getFloatDefinitions):
7255 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7257 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7258 floatlist_, with accessor floats().
7260 * FloatList.h: remove global FloatList
7262 2002-08-26 André Pönitz <poenitz@gmx.net>
7264 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7268 * BufferView_pimpl.C:
7269 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7271 2002-08-25 John Levon <levon@movementarian.org>
7273 * LyXAction.C: fix margin note description
7275 2002-08-24 John Levon <levon@movementarian.org>
7279 * bufferview_funcs.C:
7281 * undo_funcs.C: cleanups
7283 * lyxfunc.C: disable CUT/COPY when no selection
7285 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7287 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7288 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7290 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7291 Add backward compatibility to "mono", "gray" and "no".
7293 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7295 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7296 (and file_format >= 200).
7298 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7300 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7302 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7304 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7306 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7308 * BufferView_pimpl.C:
7315 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7316 inset and code to make it work with the paragraph code. The inset
7317 can be anywhere in the paragraph, but will only do the expected
7318 thing in LaTeX if the layout file contains the parameter line
7320 (or more generally, a nonzero value) for that layout.
7322 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7324 * paragraph.h: remove the declaration of undefined counters class
7327 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7329 * text2.C (setCounter): fixed enumeration mis-count as reported by
7330 Dr. Richard Hawkins.
7332 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7334 * paragraph_funcs.h: remove some unneeded includes
7336 * text.C (backspace): pasteParagraph now in global scipe
7338 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7339 (pasteSelection): ditto
7341 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7342 * paragraph_funcs.C (pasteParagraph): ... here
7344 2002-08-20 André Pönitz <poenitz@gmx.net>
7346 * commandtags.h: new LFUNs for swapping/copying table row/colums
7349 * lyxfunc.C: support for new lfuns
7351 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * buffer.[Ch]: remove NO_COMPABILITY stuff
7356 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7358 * boost.C (throw_exception): new file, with helper function for
7359 boost compiled without exceptions.
7364 * ParameterStruct.h:
7365 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7367 * bufferlist.C (emergencyWriteAll): use boost bind
7369 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7371 * text.C: include paragraph_funcs.h
7372 (breakParagraph): breakParagraph is now in global scope
7374 * paragraph_funcs.[Ch]: new files
7376 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7379 * buffer.C: include paragraph_funcs.h
7380 (insertStringAsLines): breakParagraph is now in global scope
7382 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7385 * CutAndPaste.C: include paragraph_funcs.h
7386 (cutSelection): breakParagraphConservative is now in global scope
7387 (pasteSelection): ditto
7389 * buffer.h: declare oprator== and operator!= for
7390 Buffer::inset_iterator
7392 * bufferlist.C (emergencyWrite): don't use fmt(...)
7394 * text3.C: add using std::endl
7396 * BufferView.C (moveCursorUpdate): remove default arg
7398 2002-08-20 André Pönitz <poenitz@gmx.net>
7400 * buffer.[Ch]: move inline functions to .C
7403 * BufferView_pimpl.C:
7405 * buffer.[Ch]: use improved inset_iterator
7408 * paragraph.[Ch]: write one paragraph at a time
7410 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7412 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7413 style if style is not specified.
7415 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7417 * text2.C (setCounter): when searching for right label for a
7418 caption, make sure to recurse to parent insets (so that a caption
7419 in a minipage in a figure float works) (bug #568)
7421 2002-08-20 André Pönitz <poenitz@gmx.net>
7423 * text3.C: new file for LyXText::dispatch() and helpers
7425 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7427 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7429 2002-08-19 André Pönitz <poenitz@gmx.net>
7432 * text.C: new LyXText::dispatch()
7434 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7436 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7438 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7440 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7443 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7445 * Makefile.am: use $(variables) instead of @substitutions@
7447 2002-08-15 André Pönitz <poenitz@gmx.net>
7450 * BufferView_pimpl.C: streamlining mathed <-> outer world
7454 * LyXAction.C: remove unused LFUN_MATH
7456 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7458 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7460 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7462 * paragraph.C (Paragraph): reformat a bit
7463 (cutIntoMinibuffer): use builtin InsetList function instad of
7467 * buffer.C: include boost/bind.hpp, add using std::for_each
7468 (writeFileAscii): use ParagraphList iterators
7469 (validate): use for_each for validate traversal of paragraphs
7470 (getBibkeyList): use ParagraphList iterators
7471 (resizeInsets): use for_each to resizeInsetsLyXText for all
7473 (getParFromID): use ParagraphList iterators
7475 * BufferView2.C (lockInset): use paragraph list and iterators
7477 2002-08-14 John Levon <levon@movementarian.org>
7479 * lyxserver.C: remove spurious xforms include
7481 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7483 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7485 2002-08-13 André Pönitz <poenitz@gmx.net>
7488 * lyxfunc.C: further cleaning
7490 2002-08-13 André Pönitz <poenitz@gmx.net>
7492 * funcrequest.h: new constructor
7494 * funcrequest.C: move stuff here from .h
7497 * BufferView_pimpl.C:
7500 * lyxfunc.C: subsequent changes
7502 * lyxfunc.h: new view() member function
7504 * lyxfunc.C: subsequent changes
7506 2002-08-13 Angus Leeming <leeming@lyx.org>
7509 * BufferView_pimpl.C:
7517 changes due to the changed LyXView interface that now returns references
7518 to member variables not pointers.
7520 2002-08-13 Angus Leeming <leeming@lyx.org>
7522 * WordLangTuple (word, lang_code): return references to strings,
7527 * lyxtext.h: forward-declare WordLangTuple.
7532 * text.C: #include "WordLangTuple.h".
7535 * text.C: (selectNextWordToSpellcheck): constify return type.
7537 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7543 * paragraph_pimpl.h:
7546 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7548 Made updateCounter always count from start of buffer, and removed
7549 second argument (par).
7550 Reverted floats number display to '#'. Perhaps I'll try again when the
7551 code base is sanitized a bit.
7553 2002-08-12 Angus Leeming <leeming@lyx.org>
7555 * buffer.[Ch] (getLabelList): constify.
7557 2002-08-07 André Pönitz <poenitz@gmx.net>
7559 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7561 * funcrequest.h: extension to keep mouse (x,y) position
7563 2002-08-12 Juergen Vigna <jug@sad.it>
7565 * BufferView2.C (insertErrors): forbid undo when inserting error
7568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7570 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * ParagraphList.[Ch]: new files
7574 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7576 * BufferView2.C (lockInset): ParagraphList changes
7579 * bufferlist.C: ditto
7583 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7586 unused class variable counter_,
7588 * paragraph.[Ch] (getFirstCounter): delete unused function
7590 * counters.C: include LAssert.h
7591 (reset): add a new function with no arg, change other version to
7592 not have def. arg and to not allow empty arg.
7594 * text2.C (setCounter): remove empty arg from call to Counters::reset
7596 2002-08-11 John Levon <levon@movementarian.org>
7598 * Makefile.am: add WordLangTuple.h
7600 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7602 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7603 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7605 * insets/insettext.C: InsetList changes
7607 * graphics/GraphicsSupport.C (operator()): InsetList changes
7609 * toc.C (getTocList): InsetList changes
7611 * paragraph_pimpl.[Ch]: InsetList changes
7613 * paragraph.[Ch]: InsetList changes
7615 * buffer.C (inset_iterator): InsetList changes
7616 (setParagraph): ditto
7617 * buffer.h (inset_iterator): ditto
7618 * iterators.C (operator++): ditto
7619 * iterators.h: ditto
7621 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7623 * InsetList.[Ch]: new files, most InsetList handling moved out of
7626 * BufferView2.C (removeAutoInsets): InsetList changes
7628 (ChangeInsets): ditto
7630 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * paragraph_pimpl.h (empty): new function
7634 * paragraph.[Ch] (empty): new function
7636 * other files: use the new Paragraph::empty function
7638 2002-08-09 John Levon <levon@movementarian.org>
7640 * lyxtext.h: remove unused refresh_height
7642 2002-08-09 John Levon <levon@movementarian.org>
7649 * paragraph.C: move sgml char escaping out of paragraph
7652 * paragraph.C: remove id setter
7656 * paragraph_pimpl.C: remove dead tex_code_break_column
7658 * bufferview_funcs.C: small cleanup
7660 * lyxfunc.C: remove dead proto
7662 * lyxtext.h: make some stuff private. Remove some dead stuff.
7664 * lyxgluelength.C: make as[LyX]String() readable
7666 2002-08-08 John Levon <levon@movementarian.org>
7671 * ToolbarDefaults.C:
7674 * toc.C: lyxaction cleanup
7676 2002-08-08 John Levon <levon@movementarian.org>
7678 * BufferView2.C: small cleanup
7681 * lyxfind.C: move unnecessary header into the .C
7683 2002-08-08 John Levon <levon@movementarian.org>
7685 * funcrequest.h: just tedious nonsense
7688 * lyx_main.C: cleanups
7691 * vspace.C: remove dead header lyx_main.h
7693 2002-08-07 Angus Leeming <leeming@lyx.org>
7696 * paragraph_pimpl.h:
7697 Forward declare class Counters in paragraph.h by moving the ctrs member
7698 variable into Paragraph::Pimpl.
7699 (counters): new method, returning a reference to pimpl_->ctrs.
7701 * text2.C: ensuing changes.
7703 2002-08-07 John Levon <levon@movementarian.org>
7705 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7707 * BufferView_pimpl.C: announce X selection on double/triple
7710 * lyx_main.C: use correct bool in batch dispatch
7712 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7714 2002-08-07 André Pönitz <poenitz@gmx.net>
7716 * funcrequest.h: new class to wrap a kb_action and its argument
7719 * BufferView_pimpl[Ch]:
7723 * lyxrc.C: subsequent changes
7726 2002-08-07 John Levon <levon@movementarian.org>
7728 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7729 document options change.
7731 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7736 * makefile.am: move counters functionality over from
7737 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7739 2002-08-06 John Levon <levon@movementarian.org>
7741 * WordLangTuple.h: new file for word + language code tuple
7752 * BufferView2.C: use WordLangTuple
7755 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7757 2002-08-06 John Levon <levon@movementarian.org>
7759 * lyx_main.C: fix cmdline batch handling
7761 2002-08-06 André Pönitz <poenitz@gmx.net>
7763 * lyxrc.C: set default for show_banner to true
7765 2002-08-06 John Levon <levon@movementarian.org>
7767 * pspell.C: fix a crash, and allow new aspell to work
7769 2002-08-06 John Levon <levon@movementarian.org>
7772 * kbmap.C: small cleanup
7775 * vspace.C: add const
7777 2002-08-05 John Levon <levon@movementarian.org>
7779 * LyXAction.C: back to tabular-insert
7781 2002-08-04 John Levon <levon@movementarian.org>
7784 * BufferView.C: cosmetic change
7786 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7796 * BufferView2.C: purge all "Lyx" not "LyX" strings
7799 * lyxcursor.C: attempt to add some documentation
7804 * ToolbarDefaults.C:
7805 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7806 merge with LFUN_TABULAR_INSERT
7813 * pspell.C: split up i/pspell implementations into separate
7814 files, many cleanups
7816 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7818 * text2.C: some cleanup
7820 * lyxfunc.C: don't check for isp_command == "none" any more, it
7821 didn't make any sense
7823 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7828 * makefile.am: move counters functionality over
7829 from text2.C/paragraph.[Ch] to counters.[Ch], and
7831 2002-08-02 John Levon <levon@movementarian.org>
7833 * buffer.C: s/lyxconvert/lyx2lyx/
7835 2002-08-02 Angus Leeming <leeming@lyx.org>
7837 * lyxlex.C: revert John's change as it breaks reading of the user
7840 2002-08-02 Angus Leeming <leeming@lyx.org>
7842 * importer.C (Import):
7843 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7844 changes due to LyXView::view() now returning a boost::shared_ptr.
7846 2002-08-02 John Levon <levon@movementarian.org>
7848 * lyxlex.C: small cleanup
7850 2002-08-02 John Levon <levon@movementarian.org>
7852 * text2.C (status): small cleanup, no logic change
7854 2002-08-01 John Levon <levon@movementarian.org>
7857 * buffer.C (writeFile): don't output alerts, caller
7861 * lyx_cb.C: from above
7863 * lyxfunc.C: allow to open non-existent files
7865 2002-07-31 John Levon <levon@movementarian.org>
7867 * lyxserver.C: don't let incidental errors get
7870 2002-07-30 John Levon <levon@movementarian.org>
7872 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7874 2002-07-30 John Levon <levon@movementarian.org>
7877 * lyxserver.C: remove I/O callback too
7879 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7881 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7884 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7886 * many files: strip,frontStrip -> trim,ltrim,rtrim
7888 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * PrinterParams.h: remove extern containsOnly, and include
7891 support/lstrings.h instead.
7893 * LaTeX.C (scanAuxFile): modify because of strip changes
7895 * buffer.C (makeLaTeXFile): ditto
7896 * bufferparams.C (writeFile): ditt
7897 * lyxfont.C (stateText): ditto
7898 * lyxserver.C (read_ready): ditto
7899 * vc-backend.C (scanMaster): ditto
7901 * BufferView_pimpl.h: ws changes
7903 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7905 2002-07-26 André Pönitz <poenitz@gmx.net>
7907 * kb_sequence.C: remove unnedred usings
7909 2002-07-26 Juergen Vigna <jug@sad.it>
7911 * lyxfind.C (LyXReplace): we have to check better if the returned
7912 text is not of theLockingInset()->getLockingInset().
7914 2002-07-25 Juergen Vigna <jug@sad.it>
7916 * lyxfind.C (LyXReplace): don't replace if we don't get the
7919 * undo_funcs.C (createUndo): remove debugging code.
7921 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7923 * buffer.C (parseSingleLyXformat2Token): Use default placement
7924 when reading old floats.
7926 * FloatList.C (FloatList): Change the default placement of figure
7927 and tables to "tbp".
7929 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7931 * MenuBackend.C: using std::max
7933 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * MenuBackend.C (expandToc):
7936 (expandToc2): code moved from xforms menu frontend. It is now
7937 generic and TOCs are transparent to menu frontends.
7939 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7941 * toc.C (getTocList): protect against buf=0
7943 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7944 Menu as first parameter. Now, this calls itself recursively to
7945 expand a whole tree (this will be useful for TOC handling)
7946 (expandFloatInsert): remove 'wide' version of floats
7948 * MenuBackend.h (submenuname): returns the name of the submenu.
7949 (submenu): returns the submenu itself, provided it has been
7950 created by MenuBackend::expand
7952 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7954 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7955 insets which have noFontChange == true. (bug #172)
7957 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7959 * BufferView_pimpl.C: add connection objects and use them...
7962 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7964 * MenuBackend.C (expandLastfiles):
7967 (expandFloatListInsert):
7968 (expandFloatInsert):
7969 (expand): split expand in parts
7971 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7973 * lyx_gui.C: use lyx_gui::exit()
7975 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7977 * LyXAction.C: show the failing pseudo action
7979 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7981 * buffer.C (readFile): Run the lyxconvert script in order to read
7984 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7988 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7990 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7994 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7996 2002-07-22 Herbert Voss <voss@lyx.org>
7999 * lyxlength.[Ch]: add support for the vertical lengths
8001 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8003 * toc.[Ch]: std:: fixes
8005 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8007 * lyxrc.C: do not include lyx_main.h
8009 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8015 * BufferView2.C: include "lyxlex.h"
8018 * bufferparams.h: do not #include "lyxlex.h"
8020 * lyxtextclasslist.C (Add): remove method
8021 (classlist): renamed to classlist_
8023 * paragraph_pimpl.C:
8027 * bufferview_funcs.C:
8032 * toc.C (getTocList): use BufferParams::getLyXTextClass
8034 * toc.C (getTocList): use InsetFloat::addToToc
8036 * toc.[Ch]: new files, containing helper functions to handle table
8039 * lyxfunc.C (dispatch): no need to remove spaces around command
8041 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8042 first command of the sequence; it is not very clever, but I do not
8043 have a better idea, actually
8045 * LyXAction.C (LookupFunc): make sure to remove space at the
8046 beginning and end of the command
8048 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8050 * MenuBackend.C (getMenubar): new method: return the menubar of
8052 (read): treat differently reading of menu and menubar (in
8053 particular, the menubar has no name now)
8054 (Menu::menubar): remove
8056 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8059 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8061 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8062 a bibitem inset in a RTL paragraph.
8064 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8066 * paragraph_pimpl.C: constify
8068 * BufferView_pimpl.C:
8070 * lyxfunc.C: fix dispatch in a nicer way
8072 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8074 * lyxfunc.C (dispatch):
8075 * BufferView_pimpl.C:
8076 * BufferView_pimpl.h:
8078 * BufferView.h: rename Dispatch() to dispatch()
8080 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8082 * lyxlayout.C (Read): honor DependsOn tag
8084 * lyxlayout.[Ch] (depends_on): new method
8086 * version.C.in: update lyx_docversion
8088 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8090 * paragraph.C (validate): remove from here...
8091 * paragraph_pimpl.C (validate): ... and move here
8092 (isTextAt): make it const
8094 * buffer.C (getLists): ws cleanup
8096 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8098 * language.C (read): Use iso8859-1 encoding in latex_lang
8099 (this prevents LyX from crashing when using iso10646-1 encoding).
8101 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8103 * text2.C (toggleInset): if cursor is inside an inset, close the
8104 inset and leave cursor _after_ it
8106 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8108 * lyxfunc.C: move minibuffer completion handling out of here
8110 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8112 * BufferView_pimpl.C:
8113 * LaTeX.C: fix dispatch calls
8115 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8117 * text.C (drawChars): Fix Arabic text rendering.
8119 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8123 * lyxfunc.C: remove message-push/pop
8127 * lyxfunc.C: rationalise some code by removing verboseDispatch
8128 in favour of a bool argument to dispatch()
8130 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8132 * lyx_main.C (init): make sure to read symlinks as absolute paths
8134 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8137 * lyxfunc.C: no need for commandshortcut to be a member
8139 2002-07-15 André Pönitz <poenitz@gmx.net>
8141 * converter.C: add support for $$s (scripts from lib/scripts dir)
8142 * lyx_main.C: white space
8144 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8148 * lyxrc.C: remove second exit confirmation
8150 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8155 * BufferView_pimpl.h:
8156 * BufferView_pimpl.C:
8157 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8159 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8161 * MenuBackend.C (expand): add numeric shortcuts to document menu
8163 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8165 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8167 * lyxfont.C (setLyXFamily):
8174 * buffer.C (asciiParagraph): use ascii_lowercase
8176 2002-07-15 Mike Fabian <mfabian@suse.de>
8178 * lyxlex_pimpl.C (search_kw):
8179 * lyxlex.C (getLongString):
8180 * converter.h (operator<):
8181 * converter.C (operator<):
8182 * buffer.C (parseSingleLyXformat2Token):
8184 * ToolbarDefaults.C (read):
8185 * MenuBackend.C (checkShortcuts):
8187 * LColor.C (getFromGUIName):
8188 (getFromLyXName): use the compare_ascii_no_case instead of
8189 compare_no_case, because in turkish, 'i' is not the lowercase
8190 version of 'I', and thus turkish locale breaks parsing of tags.
8192 2002-07-16 Angus Leeming <leeming@lyx.org>
8194 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8195 now takes a Buffer const & argument.
8197 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8199 * BufferView.C (resize): check there's a buffer to resize
8201 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8203 * lyxfunc.C: remove dead code
8206 * lyxserver.C: use lyx_guii::set_read_callback
8208 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8210 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8211 an inset in a RTL paragraph.
8213 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8215 * lyxfunc.C: repaint after a font size update
8217 2002-07-15 André Pönitz <poenitz@gmx.net>
8219 * lyxlength.C: inBP should be able to return negative values
8221 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8223 * lyxfunc.C: use lyx_gui::update_fonts()
8225 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8227 * lyxfunc.C: use lyx_gui::update_color()
8229 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8235 * lyxrc.C: remove file->new asks for name option, and let
8236 buffer-new take an argument
8238 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8240 * BufferView_pimpl.C: remove unneeded extra repaint()
8242 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8244 * LyXAction.C: allow command-sequence with NoBuffer
8246 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8248 2002-07-10 Angus Leeming <leeming@lyx.org>
8250 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8252 2002-07-09 Angus Leeming <leeming@lyx.org>
8254 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8256 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8258 * lengthcommon.h: whitespace
8260 * lyxfunc.C: update scrollbar after goto paragraph
8262 * lyxtext.h: factor out page break drawing, and fix it so
8263 page break/added space paints as selected nicely
8265 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8267 * BufferView_pimpl.C: add FIXMEs, clean up a little
8269 2002-07-09 André Pönitz <poenitz@gmx.net>
8271 * lyxfont.[Ch]: support for wasy symbols
8273 2002-07-08 André Pönitz <poenitz@gmx.net>
8275 * BufferView_pimpl.C: apply John's patch for #93.
8277 2002-07-05 Angus Leeming <leeming@lyx.org>
8279 * BufferView_pimpl.C (buffer): generate previews if desired.
8281 * LColor.h: add "preview" to the color enum.
8283 * LColor.C (LColor): add a corresponding entry to the items array.
8285 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8288 2002-07-05 Angus Leeming <leeming@lyx.org>
8290 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8291 The body of the code is now in the method that is passed an ostream &
8292 rather than a file name.
8293 Pass an additional only_preamble parameter, useful for the forthcoming
8296 2002-07-03 André Pönitz <poenitz@gmx.net>
8298 * lyxfunc.C: simplify getStatus() a bit for math stuff
8300 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8302 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8304 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8306 * text.C (changeRegionCase): do not change case of all the
8307 document when region ends at paragraph end (bug #461)
8309 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8311 * paragraph.C (startTeXParParams):
8312 (endTeXParParams): add \protect when necessary
8314 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8316 * BufferView_pimpl.C (workAreaExpose): remove warning
8318 2002-06-27 Angus Leeming <leeming@lyx.org>
8320 * Makefile.am: add lyxlayout_ptr_fwd.h.
8322 2002-06-26 André Pönitz <poenitz@gmx.net>
8324 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8326 2002-06-25 Angus Leeming <leeming@lyx.org>
8328 * lyxfunc.C (dispatch): Comment out the call to
8329 grfx::GCache::changeDisplay. The method no longer exists now that the
8330 pixmap generation part of the graphics loader has been moved into
8333 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8335 * text2.C: layout as layout
8337 * text.C: layout as layout
8339 * tabular.C (OldFormatRead): layout as layout
8341 * paragraph_pimpl.C (TeXDeeper): layout as layout
8342 (realizeFont): layout as layout
8344 * paragraph.C (writeFile): layout as layout
8345 (validate): layout as layout
8346 (getFont): layout as layout
8347 (getLabelFont): layout as layout
8348 (getLayoutFont): layout as layout
8349 (breakParagraph): layout as layout
8350 (stripLeadingSpaces): layout as layout
8351 (getEndLabel): layout as layout
8352 (getMaxDepthAfter): layout as layout
8353 (applyLayout): layout as layout
8354 (TeXOnePar): layout as layout
8355 (simpleTeXOnePar): layout as layout
8356 (TeXEnvironment): layout as layout
8357 (layout): layout as layout
8358 (layout): layout as layout
8360 * lyxtextclass.C (compare_name): new functor to work with
8361 shared_ptr, layout as layout
8362 (Read): layout as layout
8363 (hasLayout): layout as layout
8364 (operator): layout as layout
8365 (delete_layout): layout as layout
8366 (defaultLayout): layout as layout
8368 * lyxlayout_ptr_fwd.h: new file
8370 * lyxlayout.C (Read): layout as layout
8372 * lyx_cb.C (MenuInsertLabel): layout as layout
8374 * bufferlist.C (newFile): layout as layout
8376 * buffer.C (readLyXformat2): layout as layout
8377 (parseSingleLyXformat2Token): layout as layout
8378 (insertStringAsLines): layout as layout
8379 (asciiParagraph): layout as layout
8380 (latexParagraphs): layout as layout
8381 (makeLinuxDocFile): layout as layout
8382 (simpleLinuxDocOnePar): layout as layout
8383 (makeDocBookFile): layout as layout
8384 (simpleDocBookOnePar): layout as layout
8385 (getLists): layout as layout
8387 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8389 * CutAndPaste.C (cutSelection): layout as layout
8390 (pasteSelection): layout as layout
8391 (SwitchLayoutsBetweenClasses): layout as layout
8393 * BufferView_pimpl.C (Dispatch): layout as layout
8394 (smartQuote): layout as layout
8396 * BufferView2.C (unlockInset): layout as layout
8398 2002-06-24 André Pönitz <poenitz@gmx.net>
8400 * lyxfunc.C: fix #487
8402 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8406 * lyxfunc.C: remove display_shortcuts, show_banner
8408 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8410 * Buffer_pimpl.C: oops, update on resize
8412 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8419 * BufferView.C: use repaint()
8421 * BufferView_pimpl.h:
8422 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8423 as it's a clearer description. Remove superfluous
8426 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8428 * text.C: fix bug 488. Not ideal, but getting
8429 getWord() to work properly for the insets that
8430 matter is more difficult ...
8432 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8434 * BufferView_pimpl.C:
8437 * lyxfunc.C: remove the six million index lyxfuncs to just
8438 one, and DTRT (bug 458)
8440 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8444 * BufferView_pimpl.h:
8445 * BufferView_pimpl.C: clean up resize() stuff,
8446 and unnecessary updateScreen()s
8448 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8452 * BufferView_pimpl.h:
8453 * BufferView_pimpl.C:
8456 * minibuffer.C: remove focus management of workarea,
8457 not needed. Use screen's greyOut()
8459 2002-06-17 Herbert Voss <voss@lyx.org>
8461 * converter.C: (convert) do not post a message, when converting
8462 fails, let the calling function decide what to do in this case
8464 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8466 * lyxfunc.C: tidy up a little
8468 2002-06-16 <alstrup@diku.dk>
8470 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8471 Got rid of FORMS_H_LOCATION include. Now we are
8474 2002-06-15 LyX Development team <lyx@rilke>
8476 * buffer.[Ch] (sgmlOpenTag):
8477 (sgmlCloseTag): Added support for avoiding pernicious mixed
8478 content. Return number of lines written.
8481 (makeDocBookFile): Fixed calls to sgml*Tag.
8482 Simple white space clean.
8484 (simpleDocBookOnePar): Simple white space clean.
8486 * tabular.[Ch] (docBook): Renamed to docbook and got another
8487 argument to related with the pernicious mixed content.
8489 (docbookRow): Fixed calls for docbook inset method.
8491 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8493 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8494 so it's X11 independent.
8498 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8500 2002-06-15 Lyx Development team <lyx@electronia>
8502 * intl.h: Renamed getTrans to getTransManager.
8504 2002-06-14 Angus Leeming <leeming@lyx.org>
8506 * Makefile.am: nuke forgotten stl_string_fwd.h.
8508 2002-06-12 Angus Leeming <leeming@lyx.org>
8510 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8512 2002-06-13 Angus Leeming <leeming@lyx.org>
8515 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8517 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8519 * kbmap.C (getiso): add support for cyrillic and greek
8521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8525 * BufferView_pimpl.h:
8526 * BufferView_pimpl.C: move bogus scrolling logic
8529 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8532 * BufferView_pimpl.C: view->resize() change
8534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8536 * BufferView_pimpl.C: topCursorVisible
8539 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8543 * lyx_gui.C: move to frontends/
8547 * lyx_main.C: changes from above
8549 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8556 * lyx_main.C: minor tidy
8558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8560 * BufferView_pimpl.h:
8561 * BufferView_pimpl.C:
8563 * BufferView.C: make painter() const,
8566 * BufferView2.C: use screen() accessor
8569 * lyx_main.C: some minor cleanup
8571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8573 * BufferView_pimpl.h:
8574 * BufferView_pimpl.C: remove enter/leaveView,
8577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8582 * BufferView_pimpl.h:
8583 * BufferView_pimpl.C: only construct screen once,
8586 * lyxrc.C: remove pointless comment
8588 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8591 * BufferView.C: remove active() and belowMouse()
8593 * BufferView_pimpl.h:
8594 * BufferView_pimpl.C: use workarea() not workarea_,
8595 and make it use a scoped_ptr instead
8597 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8599 * lyx_gui.C: add debug message on BadWindow
8601 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8603 * sp_spell.C: fdopen is not part of the C++ standard.
8605 * paragraph.C (InsetIterator): use >= instead of ==
8607 2002-06-07 Angus Leeming <leeming@lyx.org>
8609 Fixes needed to compile with Compaq cxx 6.5.
8610 * BufferView_pimpl.C:
8617 * lyxtextclasslist.C:
8622 all c-library variables have been moved into namespace std. Wrap
8623 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8628 Add a using std::abs declaration.
8630 * kbmap.h (modifier_pair):
8631 * paragraph.h (InsetTable, InsetList):
8632 * lyxfont.h (FontBits):
8633 type definition made public.
8635 * bufferlist.C (emergencyWriteAll): the compiler complains that
8636 there is more than one possible lyx::class_fun template to choose from.
8637 I re-named the void specialisation as lyx::void_class_fun.
8639 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8641 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8642 the compiler is is unable to find tostr in write_attribute.
8644 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8646 * buffer.C (sgmlError): hide #warning
8648 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8650 * xtl/*: get rid of xtl, which is not in use anyway
8652 * LyXAction.C (init):
8653 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8654 were unimplemented xtl experimentation
8656 2002-06-04 André Pönitz <poenitz@gmx.net>
8658 * lyxfunc.C: disable array operation on simple formulae
8660 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8662 * converter.C: constify a bit
8664 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8666 * lyx_gui.C: check xforms version correctly
8668 2002-04-30 Herbert Voss <voss@lyx.org>
8670 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8673 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8675 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8676 attempt to register it with a VCS)
8678 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8680 * lyx_main.C (init): honor variables LYX_DIR_13x and
8683 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8687 * lyx_main.C: fix a crash on bad command line,
8688 and give a useful exit status on error
8690 * lyxfunc.C (doImport): allow -i lyx to work
8692 2002-03-30 André Pönitz <poenitz@gmx.net>
8694 * lyxfunc.C: mathed font changes
8696 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8711 * trans_mgr.h: srcdocs, and some minor cleanups
8713 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8715 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8716 call getFont all the time)
8718 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8720 * switch from SigC signals to boost::signals
8722 2002-05-29 André Pönitz <poenitz@gmx.net>
8724 * paragraph_pimpl.C (getChar): don't call size() too often...
8726 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8728 * paragraph_pimpl.C (insertChar): do not try to update tables when
8729 appending (pos == size())
8731 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8732 in order to reduce drastically the number of comparisons needed to
8733 parse a large document
8735 2002-05-29 André Pönitz <poenitz@gmx.net>
8741 * textclasslist.[Ch]:
8742 * sp_ispell.h: whitespace change
8744 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8746 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8747 lyxaction directly now.
8749 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8753 * lyxvc.C: remove unused headers
8755 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8762 * undo_funcs.C: some cleanups. Use shared_ptr
8763 and a template for the undo stacks.
8765 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8767 * BufferView_pimpl.h:
8768 * BufferView_pimpl.C:
8775 * text2.C: use key_state/mouse_state
8777 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8779 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8782 * chset.C: change include order
8783 (loadFile): use boost regex and get rid of LRegex and LSubstring
8785 * Makefile.am (BOOST_LIBS): new variable
8788 * LaTeX.C: change include order.
8789 (scanAuxFile): use boost regex and get rid of LRegex and
8793 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8798 * FontInfo.C: moved to frontends/xforms/
8801 * FontLoader.C: moved into frontends for GUIIzation
8806 * lyxfunc.C: changes from above
8808 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8810 * LColor.C: remove spurious X include
8812 * BufferView_pimpl.C:
8817 * text2.C: move font metrics to frontends/
8819 2002-05-24 Juergen Vigna <jug@sad.it>
8821 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8822 setting the undo_cursor.
8824 * ParagraphParameters.h: include local includes first.
8826 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8828 * BufferView_pimpl.C:
8829 * BufferView_pimpl.h:
8833 * screen.C: move WorkArea into frontends/
8839 * BufferView2.C: move LyXScreen into frontends/
8843 * lyx_gui.C: move lyxlookup into frontends/xforms/
8845 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8848 * BufferView_pimpl.C:
8858 * bufferview_funcs.C:
8871 * vc-backend.C: move LyX/XFormsView into frontends/
8873 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8885 * text2.C: move Painter to frontends/
8887 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8889 * buffer.C: comment out some some code that depend upon lyx_format
8892 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8893 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8895 * buffer.h (NO_COMPABILITY): turn off compability
8897 * ColorHandler.C: include scoped_array.hpp
8899 * font.C: Use more specific smart_ptr header.
8902 * ShareContainer.h: ditto
8906 * BufferView_pimpl.h: ditto
8907 * ColorHandler.h: ditto
8909 * kbmap.C (defkey): change call to shared_ptr::reset
8911 2002-05-21 Juergen Vigna <jug@sad.it>
8913 * buffer.C (insertErtContents): fix to insert ert asis if it is
8914 non empty. Skip it completely if it contains only whitespaces.
8916 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8918 * BufferView_pimpl.C:
8919 * BufferView2.C: clear selection on paste (bug 393)
8921 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8923 * DepTable.C: include ctime
8925 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8927 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8929 2002-05-14 Juergen Vigna <jug@sad.it>
8931 * text.C (breakParagraph): fixed function to honor the keepempty
8932 layout in the right maner and also to permit the right breaking
8933 algorithm on empty or non empyt keepempty paragraphs.
8935 * paragraph.C (breakParagraph): we have to check also if the par
8936 is really empty (!size()) for isempty otherwise we do the wrong
8939 2002-05-10 Juergen Vigna <jug@sad.it>
8941 * buffer.[Ch] : The following are only changes to the ert
8942 compatibility read reading old LaTeX layout and font stuff and
8943 convert it to ERTInsets.
8945 * buffer.h: added isErtInset().
8947 * buffer.C (struct ErtComp): add a fromlayout bool to check
8948 if we're inside a LaTeX layout.
8949 (isErtInset): new helper function.
8950 (insertErtContents): look for other ert insets before this one
8951 and insert the contents there, so that we don't have subsequent
8952 ERT insets with nothing between them. This way we create only one
8953 inset with multiple paragraphs. Also check if we don't insert only
8954 spaces ' ' as they are ignored anyway afterwards in the .tex file
8955 so if we have only spaces we will ignore this latex part in the
8957 (parseSingleLyXformat2Token \\layout): better compatibility when
8958 reading layout-latex stuff.
8959 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8961 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8962 stuff after reading the inset only get the information back from
8965 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8967 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8969 * LaTeXFeatures.C (getBabelOptions): New method.
8971 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8973 * BufferView_pimpl.C (Dispatch): work around missing argument for
8976 2002-05-08 Juergen Vigna <jug@sad.it>
8978 * text.C (leftMargin): handle paragraph leftindent.
8980 * paragraph.C (writeFile): write the new \\leftindent tag.
8981 (validate): handle leftindent code.
8982 (TeXEnvironment): handle paragraphleftindent code again.
8984 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8986 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8987 for paragrap_extra indent code and new token \\leftindent.
8988 (latexParagraphs): handle the leftindent as environment.
8990 * ParameterStruct.h: added leftindent support.
8992 * ParagraphParameters.C (leftIndent): added support functions for
8993 the paragraph left indent.
8995 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8998 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9000 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9003 * text.C (computeBidiTables): No bidi in insetERT.
9005 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9008 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9010 * version.C.in: pre 5
9012 2002-05-02 José Matos <jamatos@fep.up.pt>
9013 * buffer.C (makeDocBookFile): white space changes, add newline to
9015 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9017 * tabular.C (docBook): fix typo.
9019 2002-05-03 Juergen Vigna <jug@sad.it>
9021 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9022 change in LyXText as we can not be sure it was not freed.
9023 (drawOneRow): remove unused code.
9025 * text.C (drawInset): redo the calculation of the need_break_row as
9026 it could have a row which was already freed.
9027 (draw): look at the return value of drawInset and return false if
9028 it also returned false.
9029 (paintRowText): look at the return value of draw and return false if
9030 it also returned false.
9032 * lyxtext.h: added bool return type to drawInset() and draw() so that
9033 if we have a change in the row so that the rowbreak has to be redone
9034 we abort drawing as it will be called again.
9036 2002-05-02 Juergen Vigna <jug@sad.it>
9038 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9039 a change in the maintext also if we're inside an inset.
9040 (Dispatch): set the cursor again after a break line and after the
9041 screen has been updated as it could be we're in a different row.
9043 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9044 to set the cursor behind the pargraph with > size().
9045 (setCursor): check also for the same paragraph when checking where
9046 to put the cursor if we have a NFR inset.
9048 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9049 parts of layout read further up as it still was in the wrong
9052 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9054 * screen.C (drawFromTo): change sine fullRebreak always return
9057 * buffer.C (parseSingleLyXformat2Token): reindent some
9059 * BufferView_pimpl.C (update): change since fullRebreak always
9061 (Dispatch): git rid of the last hardcoded "Standard"s.
9063 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9065 * text2.[Ch] (fullRebreak): make it return void now that we always
9068 2002-04-30 Juergen Vigna <jug@sad.it>
9070 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9071 ert compatibility check for "latex" layout.
9073 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9075 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9076 minipages: use col% instead of p%, and also use the current font.
9077 (makeLaTeXFile): Fix use babel condition.
9078 (parseSingleLyXformat2Token): Correct font when reading old floats.
9080 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9082 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9083 inserting list of floats.
9085 2002-04-25 Herbert Voss <voss@lyx.org>
9087 * MenuBackend.C (expand): don't add the graphics extensions to the
9090 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9092 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9093 non-existing layout, do not complain if it was the default layout
9094 of the original class (bug #342)
9096 2002-04-24 Juergen Vigna <jug@sad.it>
9098 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9099 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9101 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9103 * buffer.C (getBibkeyList): If using \bibliography, return the
9104 option field with the reference itself. Enables us to provide natbib
9105 support when using \bibliography.
9107 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9109 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9111 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9112 natbib is provided by the LaTeX class.
9114 2002-04-23 Juergen Vigna <jug@sad.it>
9116 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9119 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9121 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9123 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9125 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9126 ensuremath around textordmasculine, textordfeminine and
9129 2002-04-19 Juergen Vigna <jug@sad.it>
9131 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9132 reinitializing the buffer otherwise row-dimensions may be wrong.
9133 (update): reset also the selection cursors if they do exits otherwise
9134 their x/y positions may be wrong.
9136 * text2.C (cursorDown): don't enter the inset if we came from a row
9137 above and are one row over the inset.
9139 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9140 really leaving an inset.
9142 2002-04-18 Juergen Vigna <jug@sad.it>
9144 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9145 of the selected paragraph does not have the selected layout also if
9148 * text2.C (setLayout): fixed bug which did not change last selected
9151 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9152 changed the read and substituted \\end_float with \\end_inset!
9154 * BufferView_pimpl.C (cursorPrevious):
9155 (cursorNext): fixed to make it work with rows heigher than the work
9156 area without moving the cursor only the draw of the row.
9157 (workAreaMotionNotify): fix jumping over high rows.
9159 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9161 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9164 2002-04-16 Juergen Vigna <jug@sad.it>
9166 * text2.C (setCursor): set also the irow().
9167 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9169 (cursorDown): support for locking an inset if the x_fix value goes
9170 inside it. That way I can transverse insets too with cursor up/down.
9172 * lyxrow.h: added irow helper function same as other (i) functions.
9174 * BufferView_pimpl.C (cursorPrevious):
9175 (cursorNext): fixed for insets!
9177 2002-04-15 Juergen Vigna <jug@sad.it>
9179 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9180 position otherwise it is wrong in some cases.
9182 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9183 inside the inset before the call.
9185 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9187 * buffer.[Ch] (getBibkeyList): make it const.
9189 2002-04-12 Juergen Vigna <jug@sad.it>
9191 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9193 * text2.C (getCursorX): new helper function
9194 (setCursor): compute also ix_
9195 (setCursorFromCoordinates): set also ix.
9197 * lyxcursor.h: added ix_ and helper functions.
9199 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9201 * buffer.C (insertStringAsLines): dont break paragraph if the this
9202 paragraph is inside an inset which does not permit it!
9204 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9205 also with no chars on this paragraph.
9206 (paintRowText): only paint stuff if it's inside the workarea!
9208 * paragraph.C (breakParagraph): honor keepempty flag and break the
9209 paragraph always below not above.
9211 * BufferView2.C (unlockInset): update the paragraph layout on inset
9212 unlock as we changed paragraph in such a case.
9214 * lyxfind.C (LyXFind): clear the former selection if not found!
9216 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9217 again called in insertChar().
9219 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9220 an inset which uses the whole row!
9221 (rightMargin): ditto.
9222 (insertChar): force a rebreak if we inserted an inset!
9224 2002-03-28 Herbert Voss <voss@lyx.org>
9226 * lyxlength.[Ch]: add inBP() to get the right PS-point
9227 units (BigPoint). With inPixels we have rounding errors
9229 2002-04-11 Juergen Vigna <jug@sad.it>
9231 * text2.C (setCursorFromCoordinates): set iy to the right value.
9232 (setCursor): add check if row->previous exists!
9234 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9235 an old float_type as this was the case in the old code!
9237 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9239 * BufferView2.C (showLockedInsetCursor): use iy
9240 (fitLockedInsetCursor): ditto
9242 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9243 locked insets as there we have the right value now.
9245 * lyxcursor.C: added iy_ variable and iy functions to set to the
9246 baseline of cursor-y of the locked inset.
9248 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9249 (setCursor): fixed for insets which need a full row.
9251 * text.C (rowLastPrintable): don't ignore the last space when before
9252 an inset which needs a full row.
9253 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9254 as last character of a row when before a inset which needs a full row.
9256 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * version.C.in: update date
9260 * text2.C (fullRebreak): try to always return true and see what
9263 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9265 * MenuBackend.C (expand): use Floating::listName
9267 * FloatList.C (FloatList): add listName argument to the built-in
9270 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9271 text associated with the float.
9273 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9275 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9277 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * ShareContainer.h: add a couple of missing typenames.
9281 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9283 * lyxrc.C (getDescription): use _() correctly rather than N_().
9285 2002-03-28 Herbert Voss <voss@lyx.org>
9287 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9288 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9290 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9292 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9293 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9295 2002-03-29 Juergen Vigna <jug@sad.it>
9297 * lyxfunc.C (dispatch): add a missing fitCursor call.
9299 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9300 it was scrolled by a cursor move, so return the bool status.
9302 * BufferView.C (fitCursor): return the bool flag also to the outside
9303 world as this is needed.
9305 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9307 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9308 call the edit() as it is not needed (and wrong) IMO.
9309 (workAreaButtonPress): set the screen_first variable before evt.
9310 unlock the inset as this may change screen_first and then we have
9311 a wrong y position for the click!
9313 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9315 * MenuBackend.C (expand): another translation that I missed
9317 2002-03-28 Juergen Vigna <jug@sad.it>
9319 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9321 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9323 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9325 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9327 * MenuBackend.C (expand): fix export/view/update when there is no
9330 2002-03-27 Herbert Voss <voss@lyx.org>
9332 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9335 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * bufferview_funcs.C (currentState): only show paragraph number
9338 for is DEVEL_VERSION is set.
9340 * lyxfunc.C (dispatch): put warning in INFO channel
9342 * MenuBackend.C (expand): translate the name of floats
9344 * FloatList.C (FloatList): mark the float names for translation
9346 * converter.C (convert): use LibScriptSearch
9348 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * MenuBackend.C (defaults): fix default menu (we might as well get
9353 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9355 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9358 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9360 * lyxvc.C: reorder includes.
9362 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9364 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9367 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9369 * CutAndPaste.C: change layouts earlier on paste
9370 to avoid crashing when calling getFont()
9372 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9374 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9377 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9379 * WorkArea.C: remove 'Pending' debug message.
9381 * most files: ws cleanup
9383 * buffer.[Ch]: ws changes
9385 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9387 2002-03-21 Juergen Vigna <jug@sad.it>
9389 * tabular.C (SetMultiColumn): collapse also the contents of the
9390 cells and set the last border right. Added a Buffer const * param.
9392 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9397 2002-03-19 Juergen Vigna <jug@sad.it>
9399 * text2.C (clearSelection): reset also xsel_cache.
9401 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9402 where it needs to be called (John tells us to do so too :)
9403 (selectionLost): reset sel_cache.
9405 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9407 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * text2.C (setCursorIntern): put debuging code in INSETS channel
9411 2002-03-19 André Pönitz <poenitz@gmx.net>
9413 * lyxfunc.C: tiny whitespace change
9415 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9417 * ToolbarDefaults.C (init):
9418 * LyXAction.C (init):
9420 * BufferView_pimpl.C (Dispatch):
9421 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9423 2002-03-19 Allan Rae <rae@lyx.org>
9425 * exporter.C (Export): removeAutoInsets before doing anything else.
9426 While I've just introduced a dependency on BufferView this really is
9427 the best place to clean the buffer otherwise you need to cleanup in
9428 a dozen places before calling export or cleanup in a dozen functions
9431 * converter.C (runLaTeX):
9432 (scanLog): Better handling of removeAutoInsets and screen updates.
9434 * lyxfunc.C (dispatch): small whitespace changes
9436 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * WorkArea.C (C_WorkAreaEvent): return a value.
9439 (event_cb): return 1 if we handled the event, 0 otherwise.
9441 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9443 2002-03-18 Juergen Vigna <jug@sad.it>
9445 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9446 (GetAdditionalWidth): ditto.
9450 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9451 inset if we're there actually (probably not used right now but this
9452 is the direction to go for unifying code).
9453 (paste): disable code to clear the selection.
9455 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9456 inside an InsetText and move the check further up as it is in the
9459 * text2.C (pasteSelection): set a selection over the pasted text.
9461 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9463 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9464 and libgraphics to build on Cygwin.
9466 2002-03-15 Juergen Vigna <jug@sad.it>
9468 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9469 inserting an Inset into the paragraph. I know this is not the best
9470 fix but we already use current_view in CutAndPaste so we will remove
9471 all of it's using at the same time.
9473 * buffer.C (sgmlError): deactivated function till it is rewritten in
9474 the right mode, now it can create problems.
9476 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9477 before accessing it.
9479 2002-03-14 Juergen Vigna <jug@sad.it>
9481 * undo_funcs.C (textHandleUndo): do the right thing when updating
9482 the inset after the undo/redo.
9484 * text2.C (setCursor): just some testcode for #44 not ready yet.
9486 * undo_funcs.C (textHandleUndo): set the next() and previous()
9487 pointers of the paragraph to 0 before deleting otherwise we have
9488 problems with the Paragraph::[destructor].
9490 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9491 on a paragraph insertion.
9493 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9495 * buffer.C (asciiParagraph): use += operator for char append to
9498 * paragraph.C (getFontSettings): compare >= not just >
9499 (highestFontInRange): ditto
9502 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9504 * paragraph.C: change several algorithm to be more appripriate for
9505 the problem domain. This is lookip in FontList and in the InsetList.
9507 2002-03-13 André Pönitz <poenitz@gmx.net>
9510 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9512 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9517 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9519 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9521 * Painter.C (display): anon helper function, adjust code for this
9523 (pixmap): remove function.
9525 * Painter.h: remove private display variable.
9527 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9529 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9531 * WorkArea.[Ch]: remove figinset_canvas cruft.
9533 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9535 * lyxtextclass.C (operator): add one item cache optimization.
9537 * bufferlist.h: doxy changes
9539 * bufferlist.C: ws changes
9541 * DepTable.[Ch] (ext_exist): place const in the right spot.
9543 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9545 (workAreaExpose): call resizeInsets when the with BufferView changes.
9546 (Dispatch): adjust for protectedBlank removal
9547 (specialChar): call updateInset if the insert went ok.
9549 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9550 specialChar instead.
9552 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9554 * BufferView.h: doxy change
9556 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9558 * lyxtextclass.C (operator[]): remove non-const version
9559 (defaultLayout): remove non-const version
9561 2002-03-12 Juergen Vigna <jug@sad.it>
9563 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9564 did resize the LyXText too.
9566 * buffer.C (readLyXformat2): set layout information on newly allocated
9569 * tabular.C (OldFormatRead): set layout information on the paragraph.
9571 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9573 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9575 2002-03-11 Juergen Vigna <jug@sad.it>
9577 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9579 (resizeCurrentBuffer): force also the insets to resize themselfes.
9580 (moveCursorUpdate): fixed up for InsetText.
9582 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9585 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9586 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9587 value of Dialogs::tooltipsEnabled().
9588 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9590 2002-03-08 Juergen Vigna <jug@sad.it>
9592 * BufferView_pimpl.C (updateInset): update inset inside inset also
9593 if it isn't inside theLockingInset().
9595 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * buffer.C (asciiParagraph): redo some of the word and line length
9599 (getLists): look for Caption instead of caption.
9601 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9603 * buffer.C (Buffer): initialize niceFile to true
9606 (makeDocBookFile): make sure niceFile is true on exit
9608 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9612 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9614 * LyXSendto.C: remove.
9615 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9616 * lyx_gui.C: remove now-redundant comment.
9617 * ColorHandler.h: remove forward declaration of class WorkArea.
9618 * lyxfunc.C: remove #include "WorkArea.h".
9620 2002-03-07 Juergen Vigna <jug@sad.it>
9622 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9623 got moved away with the DEPM and also set the inset_owner always
9624 right which before could have been omitted.
9626 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9628 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9629 wanted layout is not found.
9631 2002-03-07 Juergen Vigna <jug@sad.it>
9633 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9635 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * paragraph.C (breakParagraph): use default layout not layout of
9639 (Paragraph): clear ParagraphParameters.
9641 2002-03-06 Juergen Vigna <jug@sad.it>
9643 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9644 otherwise it would not be a valid lenght. Fixed a special case in
9645 the minipage compatibility read where we end the document with a
9648 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9649 was set as it could be 0 for InsetTexts first entry.
9651 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9653 * paragraph.C (writeFile): if layout is empty write out
9654 defaultLayoutName().
9656 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9657 file without named layout we set layout to defaultLayoutName().
9659 2002-03-06 Juergen Vigna <jug@sad.it>
9661 * CutAndPaste.C (copySelection): set layout for new paragraph.
9663 * text.C (prepareToPrint): leave ERT inset left aligned
9664 (leftMargin): don't indent paragraphs inside ERT insets
9666 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9668 * paragraph.C (breakParagraph): dont call clear do the work manually
9670 * paragraph.[Ch] (clear): remove function
9672 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9674 * paragraph.C (Paragraph): dont call clear, the work has already
9677 * lyxtextclass.C (operator): assert if n is empty
9679 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9680 work manually instead.
9682 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9684 * BufferView_pimpl.C: protect selectionLost against text == 0
9686 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9688 * text.C (breakParagraph): fix a setting layout to '0' problem.
9690 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9692 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9693 final location of file, for the included files, and graphics.
9695 2002-03-05 Juergen Vigna <jug@sad.it>
9697 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9699 2002-03-04 Juergen Vigna <jug@sad.it>
9701 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9703 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9704 last column of multicolumn cells.
9705 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9707 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9709 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9710 file if it doesn't go to a temporary file.
9712 * buffer.C (sgmlOpenTag):
9713 (sgmlCloseTag): remove extra newline insertion.
9715 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9717 * text.C (getRowNearY): comment out debug msg
9719 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9721 * text2.C: first -> first_y
9723 * text.C (getRowNearY): add some attemts at a possible
9724 optimization, not working.
9726 * tabular.[Ch]: add BufferParams to several function so that newly
9727 created paragraph can be initialized to he default layotu for the
9730 * tabular-old.C (ReadOld): add buf->params to call of Init
9732 * screen.C: rename text->first to text->first_y
9734 * paragraph.C (breakParagraph): always set layout in the broken
9737 * lyxtextclass.C (Read): remove lowercase
9740 (delete_layout): ditto
9742 * lyxtext.h: rename first -> first_y
9744 * lyxlayout.C (Read): remove lowercase
9747 (obsoleted_by): ditto
9749 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9751 * buffer.C (insertErtContents): add params are to InsetERT
9752 (parseSingleLyXformat2Token): add code to check if a paragraphs
9753 layout really exist.
9754 (parseSingleLyXformat2Token): add params to several inset
9756 (asciiParagraph): remove lowercase, do the layout comparisons with
9759 * BufferView_pimpl.C (cursorNext): first -> first_y
9760 (resizeCurrentBuffer): first -> first_y
9761 (updateScrollbar): first -> first_y
9762 (scrollCB): first -> first_y
9763 (workAreaMotionNotify): first -> first_y
9764 (workAreaButtonPress): first -> first_y
9765 (checkInsetHit): first -> first_y
9766 (cursorPrevious): first -> first_y
9767 (cursorNext): first -> first_y
9768 (Dispatch): add buffer_->params to severl inset contructors
9770 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9772 * lyxlayout.C (Read): remove some debug info that I forgot.
9774 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9775 clean up the code slightly.
9776 (makeLinuxDocFile): ditto
9777 (makeDocBookFile): ditto
9779 * text2.C: layout as string
9781 * text.C: layout as string
9783 * paragraph_pimpl.C: layout as string
9785 * paragraph.[Ch]: layout as string
9787 * lyxtextclasslist.[Ch]: layout as string
9789 * lyxtextclass.[Ch]: layout as string
9791 * lyxtext.h: layout as string
9793 * lyxlayout.[Ch]: layout as string
9795 * lyx_cb.C: layout as string
9797 * bufferview_funcs.C: layout as string
9799 * bufferparams.C: layout as string
9801 * buffer.C: layout as string
9803 * LyXView.[Ch]: layout as string
9805 * LaTeXFeatures.[Ch]: layout as string
9807 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9809 * BufferView_pimpl.C: change current_layout to string, remove
9814 (workAreaButtonRelease): layout as string
9816 * BufferView2.C (unlockInset): adjust
9818 * vspace.C (asLatexCommand): use an explict temp variable.
9820 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9822 * Makefile.am: use FRONTEND_*
9824 2002-03-01 Juergen Vigna <jug@sad.it>
9826 * tabular.C (SetWidthOfMulticolCell): changed to something better
9827 I hope but still work in progress.
9828 (recalculateMulticolumnsOfColumn): renamed function from
9829 recalculateMulticolCells as it is more appropriate now.
9830 (SetWidthOfCell): calculate multicols better.
9832 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9836 * lyxfunc.C (processKeySym): print sequence also if it is
9837 `deleted' (complete)
9839 * kbsequence.C (print): print sequence even if it is deleted
9840 (complete would be a better word, actually).
9842 * lyxfunc.C (dispatch): print complete options after a prefix key
9844 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9846 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9848 * text2.C (setCharFont): eliminate setCharFont code duplication.
9850 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9853 LFUN_TABULAR_FEATURE (bug #177)
9855 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9857 * Makefile.am: remove figure.h
9859 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9861 * Bufferview_pimpl.C:
9873 * text2.C: remove #include "lyx_gui_misc.h".
9875 * LaTeX.C: added #include <cstdio>
9877 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9879 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9880 that the paragraph following this one can have.
9882 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9884 * vspace.C (asLatexCommand): fix bogus gcc warning
9886 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9888 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9890 * text2.C (setLayout): get rid of redundant code
9892 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9894 * text2.C (incDepth): make sure depth cannot be increased beyond
9897 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9899 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9900 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9902 * PainterBase.h (image):
9903 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9906 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9910 * BufferView_pimpl.C:
9911 * BufferView_pimpl.h:
9931 * sp_spell.C: remove fig inset, and the crap house of
9932 cards that follows it
9934 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9940 * nt_defines.h: move .h into support/
9942 * vms_defines.h: remove
9944 * WorkArea.C: add space in debug output
9948 * buffer.C: add WITH_WARNINGS
9952 * bufferlist.C: s/retrive/retrieve/, add docs
9963 * lyxgui.C: add ID to X error handler
9965 * lyxtestclass.c: fix typo
9967 2002-02-26 Juergen Vigna <jug@sad.it>
9969 * tabular_funcs.C (write_attribute): changed so that some default
9970 attributes are not written at all.
9971 (getTokenValue): set default values before trying to read the
9972 value so we have the return value always set as default if we don't
9973 find the token we search for.
9975 * tabular.C (Write): write bools as bools not as strings!
9977 2002-02-22 Juergen Vigna <jug@sad.it>
9979 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9980 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9982 * text.C (leftMargin): don't add an indent for paragraphs inside
9983 tabular cells (fix #208).
9985 2002-02-21 José Matos <jamatos@fep.up.pt>
9987 * tabular.C (docBook): fixed support for long tables.
9989 2002-02-20 Juergen Vigna <jug@sad.it>
9991 * text2.C (getFont): get the drawing font of the Inset if this
9992 paragraph is inside an inset (only important for InsetERT for now).
9994 * buffer.C (insertErtContents): use new lanugage params in ERT
9997 * CutAndPaste.C: commenting out seemingly uneeded code.
9999 2002-02-19 Allan Rae <rae@lyx.org>
10001 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10002 Iterators might be simple to use but they also get invalidated.
10003 (removeAutoInsets): renamed saved cursor tracking variables and added
10004 some comments to clarify what everything does.
10006 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10013 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10014 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10017 * vc-backend.h: remove #include "support/syscall.h"
10021 * converter.C: rearrange #includes in Lars' approved fashion.
10023 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10024 forward declare class Timeout in the header file.
10026 * XFormsView.C: changes due to the above.
10028 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10029 similar to LyXView.
10031 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10032 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10034 2002-02-18 José Matos <jamatos@fep.up.pt>
10036 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10039 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10041 * a lot of small ws changes
10042 * add a lot of using std::XXX
10043 * use std construcs some places where approp.
10044 * use some exisint stuff from lyxfunctional where approp.
10045 * Make file changes to use partial linking (lets test this now...)
10047 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10051 remove #include "support/syscontr.h" as it's redundant. Always has been.
10059 change Systemcalls::System to Systemcalls::Wait and
10060 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10061 No change of functionality, just reflects the stripped down Systemcalls
10064 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10066 * debug.[Ch]: add a GRAPHICS type to the enum.
10068 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10072 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10075 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10077 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10078 match the changes below.
10080 * text2.C (toggleInset): if there is not editable inset at cursor
10081 position, try to see if cursor is _inside_ a collapsable inset
10084 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10086 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10087 document menu has a nice checkbox
10089 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * lyxlength.C (asLatexString): change PW to output as percent of
10094 * lengthcommon.C: change '%' to 't%'
10096 * lyxfunc.C (dispatch): a few comments from Martin
10098 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10102 * BufferView_pimpl.h:
10103 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10106 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10108 * vspace.C (inPixels): fix compiler warning
10110 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10112 * lyxfunc.C (getStatus): fix status message for disabled commands.
10114 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10116 * BufferView_pimpl.C: fix crash on close buffer
10117 during selection (#227)
10119 2002-01-27 Herbert Voss <voss@lyx.org>
10121 * buffer.C: link old Figure to new graphic inset
10123 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10125 * FontLoader.C (getFontinfo): Change the latex font names in order
10126 to match the names of type1inst.
10128 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10130 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10132 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10133 (extchanged): ditto
10135 (remove_files_with_extension): ditto
10136 (remove_file): ditto
10139 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10140 document is smaller than the work area height. Do not initialize
10141 static variables to 0.
10143 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10147 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10148 LFUN_LAYOUT_PARAGRAPHS.
10150 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10151 tabular. It is possible to provide a possible cell, which will
10152 typically be the actcell from the corresponding insettabular
10154 * lyxfunc.C (getStatus): small cleanup; disable
10155 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10158 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10160 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10162 * paragraph.C (startTeXParParams):
10163 (endTeXParParams): new methods. The LaTeX code to
10164 start/end paragraph formatting
10165 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10166 empty (fixes bug #200)
10168 * vspace.C (inPixels): adapt to the change below
10169 (inPixels): [later] more cleanups (remove unused variables)
10171 * lyxlength.C (inPixels): change to use a width and a height as
10174 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10176 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10177 Replaced with \paperwidth
10179 * DepTable.C (insert): add std:: qualifier
10181 2002-01-18 Allan Rae <rae@lyx.org>
10183 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10186 * text.C (drawInset): Turned out I didn't know enough about how
10187 rebreaking worked. This fixes most of the redraw problems. I see
10188 an occasional cursor trail when a line is broken now and the cursor
10189 placement can seem out by a few pixels also after a rebreak.
10191 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10193 * buffer.C (parseSingleLyXformat2Token): update because minipage
10194 width is now a LyXLength
10196 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10198 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10201 2002-01-17 Juergen Vigna <jug@sad.it>
10203 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10205 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10206 is set correctly and the inset is updated correctly.
10208 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10210 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10211 the beginning of the loop.
10213 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10215 * lyxrc.C: improve help for use_scalable_fonts
10217 2002-01-17 Allan Rae <rae@lyx.org>
10219 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10221 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10224 make sure to set their inset_owner to the right value (bug #171)
10226 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10229 * DepTable.C: Implement mtime checking to reduce time spent doing
10232 2002-01-16 Juergen Vigna <jug@sad.it>
10234 * tabular.C (GetAdditionalHeight): one of error fixed.
10236 * lyxrc.C (output): small fix in writing use_pspell.
10238 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10240 * sp_base.h: #include LString.h
10242 2002-01-16 Allan Rae <rae@lyx.org>
10244 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10245 Can someone check this please?
10247 * text.C (drawInset): It was possible that p.row would be removed by
10248 breakAgainOneRow upsetting a few other settings. There may be another
10249 small tweak possible by setting need_break_row = 0 when p.row has been
10250 removed but I don't know enough about the logic here.
10252 2002-01-15 Allan Rae <rae@lyx.org>
10254 * text.C (insertChar): removed conditional truism.
10256 * BufferView2.C (removeAutoInsets): More tweaks.
10257 cur_par_prev could be a stray pointer. Check for trailing empty line
10258 in case last line was cur_par and only had an error inset on it.
10260 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10262 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10265 * vc-backend.C (most methods):
10266 * exporter.C (Export):
10267 * converter.C (convert):
10269 * LyXSendto.C (SendtoApplyCB):
10270 * lyxfunc.C (dispatch):
10274 * lyx_cb.C (AutoSave):
10276 * BufferView_pimpl.C (MenuInsertLyXFile):
10277 * buffer.C (runChktex): use Buffer::filePath().
10279 * buffer.h: rename filename to filename_; rename filepath to
10280 filepath_ and make it private
10281 (filePath): new method
10283 * buffer.C (writeFile): use fileName()
10286 * lyx_main.C (init): fix starting of LyX when the binary is a
10287 link from so,ewhere else.
10289 * minibuffer.C: include <cctype> for isprint
10291 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10293 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10294 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10295 name clash with InsetCollapsable's width function.
10297 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10299 * lastfiles.C: include <iterator>
10301 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10303 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10306 * buffer.C (makeLaTeXFile): ditto.
10307 Also make loop operation more transparent.
10309 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10311 * ToolbarDefaults.C: remove trailing comma closing namespace.
10313 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10315 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10318 * trans.C (Load): comment out unused variable, allowed.
10320 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10322 * minibuffer.[Ch] (append_char): new method to recieve input from the
10323 drop-down completion browser. If a key was pressed, then recieve this
10324 char and append it to the existing string.
10325 (peek_event): modify the positioning data passed to the completion
10326 browser so that it can be placed above the minibuffer rather than below.
10327 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * LyXAction.C (init): alloe error-next for readonly documents.
10331 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10334 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * bufferlist.C (readFile): create the buffer _after_ checking that
10339 * lyxfunc.C (verboseDispatch): fix handling of arguments
10341 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10343 * lyxrc.C: use string::erase() instead of initializing to "".
10346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10348 * BufferView_pimpl.h:
10349 * BufferView_pimpl.C:
10352 * text2.C: tell X when we have made a selection for copying
10354 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * BufferView_pimpl.C (MenuInsertLyXFile):
10357 * lyxfunc.C (menuNew):
10359 (doImport): add shortcuts to directory buttons
10361 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10364 * lyxfunc.C (setStatusMessage):
10365 (getStatusMessage): new methods
10366 (getStatus):use setStatusMessage instead of setErrorMessage
10367 (dispatch): when function is disabled, set error message here
10368 [instead of in getStatus previously]
10370 * BufferView_pimpl.C (workAreaButtonRelease): update
10371 toolbar/menubar here too.
10373 2002-01-13 Allan Rae <rae@lyx.org>
10375 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10376 Now seems indestructible. Remaining task is to audit all other
10377 code affected by deleteEmptyParagraphMechanism. One small quirk
10378 left is that an empty document with an error in the preamble can
10379 be made to report an error but no error box appears. I don't know
10381 (removeAutoInsets): Improved comments.
10383 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10386 * Thesaurus.C: update for Aiksaurus 0.14
10388 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10390 * text2.C (firstParagraph): removed member function, all uses
10391 replaces with ownerParagraph
10392 (redoParagraphs): here
10393 (updateInset): here
10394 (toggleAppendix): here
10395 * BufferView2.C (insertErrors): here
10396 (setCursorFromRow): here
10398 2002-01-13 Allan Rae <rae@lyx.org>
10400 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10401 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10402 There is still a way to segfault this although you may have to do this
10403 multiple times: Have an InsetERT with an unknown command in it.
10404 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10405 <down-arrow>, <Enter> again, View->DVI, BANG!
10407 * text2.C (setCursor):
10408 (deleteEmptyParagraphMechanism):
10409 * lyxtext.h (setCursor):
10410 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10411 Making use of the return value may help fix other bugs.
10413 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10417 * LyXView.C (updateMenubar): call MenuBar::update here
10418 (updateToolbar): but not here
10419 (showState): do not update toolbar/menubar
10421 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10422 should need to care about that.
10424 * lyxfunc.C (verboseDispatch): simplify a bit
10425 (getStatus): have a version which takes a pseudoaction, and
10426 another which requires a (kb_action,string).
10428 * LyXAction.C (retrieveActionArg): make it work also when action
10429 is not a pseudo-action.
10430 (getActionName): simplify a bit
10433 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10435 * lyxfunc.C (verboseDispatch): new families of methods with
10436 several ways to specify a command and a bool to indicate whether
10437 the command name and shortcut should be displayed in minibuffer
10438 (eventually, we could extend that to a finer bitmask like
10439 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10440 (dispatch): the pristine dispatch command which just, well,
10441 dispatchs! Note it still sets its result to minibuffer; I'm not
10444 * lyxfunc.h: remove setHintMessage
10446 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10448 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * BufferView_pimpl.C (specialChar): delete new inset if we have
10451 not been able to insert it.
10453 * kbmap.C: revert to using int instead of kb_action, since all we
10454 are dealing with is pseudo-actions.
10456 * LyXAction.C (searchActionArg): change to return int instead of
10457 kb_action, since the result is a pseudoaction.
10459 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10461 * buffer.C (insertErtContents): Fix (partially) the font bug.
10463 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10465 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10466 as the other one is broken on my machine!
10468 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10471 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10473 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10475 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10476 reflect their actual use. Provide compatibility code for older lyxrc
10479 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10481 change names of popup font variables in line with the changes to lyxrc.C
10483 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * buffer.C (asciiParagraph): avoid outputing a word twice after
10488 * lyxrc.C (getDescription): document that document_path and
10489 template_path can be empty.
10491 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10493 * LaTeXFeatures.C (getMacros):
10494 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10496 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10498 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10500 (getPackages): rename feature "floats" to "float". Use an array to
10501 iterate over 'simple' features (i.e. just a \usepackage). Add
10502 handling of "amsmath" (renamed from "amsstyle").
10504 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10506 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10509 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10511 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10512 FuncStaus::FuncStatus & FuncStaus::some_method().
10514 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10516 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10517 of the func_satus stuff. Edited and massaged in various ways by
10520 * lyxfunc.C (getStatus): use FuncStatus
10522 2002-01-08 Juergen Vigna <jug@sad.it>
10524 * text.C (nextBreakPoint): use function Inset::isChar().
10526 * paragraph.C (TeXOnePar): use function
10527 Inset::forceDefaultParagraphs.
10529 * buffer.C (latexParagraphs): use function
10530 Inset::forceDefaultParagraphs.
10532 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10534 * lyx_gui.C (init): set the style of the menu popups to
10535 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10537 2002-01-07 Juergen Vigna <jug@sad.it>
10539 * text.C (setHeightOfRow): small fix
10540 (prepareToPrint): don't look at alignment if we don't have the place
10543 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10545 * box.C: New file. Move the Box methods and functions out of box.h,
10546 following Lars' suggestion.
10548 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10550 * box.h: #include "support/LOstream.h", needed for inlined function.
10553 * lyxtextclasslist.C: added some using std declarations.
10555 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10557 * box.h: make signed dimensions to allow insets wider than
10558 the screen (bug #162)
10560 * BufferView_pimpl.C: add some insetHit debug
10562 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10564 * vc-backend.C: add FIXME
10566 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * lyxfunc.C (getStatus): enable code for showing math font status
10571 2002-01-07 Juergen Vigna <jug@sad.it>
10573 * text.C (nextBreakPoint): removed debug output not needed anymore.
10575 2002-01-06 Juergen Vigna <jug@sad.it>
10577 * text.C (nextBreakPoint): fixed up this function we had this bug
10578 since ever but now hopefully we break row better.
10579 (insertChar): we have to check if an inset is the next char as it
10580 could now happen that a large inset is causing a break.
10582 2002-01-05 Juergen Vigna <jug@sad.it>
10584 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10585 if it doesn't like to be drawed.
10587 2002-01-04 Juergen Vigna <jug@sad.it>
10589 * BufferView2.C (lockInset): forgot to set a cursor.
10591 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10593 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10595 * FormMathsPanel.C:
10598 * form_maths_panel.C:
10599 * form_maths_panel.h:
10600 * form_maths_panel.fd: implemented sub- and super- buttons in math
10603 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10604 (or ^ space) to be used as in TeX (req'd by André).
10606 * lyxfunc.C: Allow ^ and _ again to be used both as
10607 super/subscript (mathed) and as themselves (in text).
10609 2002-01-03 Allan Rae <rae@lyx.org>
10611 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10612 "LyX" or the filename of the current buffer if it has one. This is a
10613 modified form of John Levon's patch.
10615 * XFormsView.C (setWindowTitle): also set icon title.
10617 * LyXView.h (setWindowTitle): signature changed.
10618 * XFormsView.h (setWindowTitle): ditto.
10620 2002-01-02 Juergen Vigna <jug@sad.it>
10622 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10624 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10626 * screen.C (topCursorVisible): introduce a temp var for
10627 text->cursor.row(), handle the case where this row is null. (kindo
10630 * text2.C (setCursor): add a couple of asserts.
10632 * paragraph.h (inset_iterator): add -> operator
10634 * paragraph.[Ch] (autoDeleteInsets): remove member function
10636 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10637 cursor pos correctly and handle inset deletion by itself.
10638 (insertErrors): move iterator declaration out of for expression
10640 * lyxtextclass.C: add <algorithm>
10642 * Makefile.am: added the new files to sources, removed layout.C
10644 * layout.C: removed file
10646 * layout.h: remove LYX_DUMMY_LAYOUT
10648 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10652 * lyxtextclass.[Ch]:
10653 * lyxtextclasslist.[Ch]: new files
10655 * include order changes to a lot of files, also changes because of
10658 2001-12-27 Juergen Vigna <jug@sad.it>
10660 * buffer.C (asciiParagraph): more fixes.
10662 * tabular.C (ascii): make ascii export support export of only the
10663 data separated by a column-delimiter.
10664 (ascii): better support for ascii export.
10666 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10668 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10670 * tabular_funcs.C: use a "using std::getline" instead of the
10671 previous fix from Angus (necessary for cxx + lyxstring)
10673 2001-12-24 Juergen Vigna <jug@sad.it>
10675 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10677 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10678 problems. First check a minipage also if we have some ert-contents
10679 (not only on par->size(), second set the right depth of the paragraph
10680 on the relink to the root-paragraph-list!
10682 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10683 which then did not anymore update the main paragraphs on undo/redo!
10685 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10687 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10688 code. Support all font-changing funcs (even those which are not in
10689 menu currently). Support for reporting font settings in
10690 mathed (disabled until Andre provides a function on mathed's side).
10692 * func_status.h (toggle): small helper function to set toggle
10695 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10697 * tabular_funcs.C: getline -> std::getline
10699 2001-12-21 Juergen Vigna <jug@sad.it>
10701 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10702 accessed and could be 0 (I couldn't generate this but it seems
10705 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10708 * tabular_funcs.h: here and include iosfwd
10710 2001-12-20 Juergen Vigna <jug@sad.it>
10712 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10713 inside inset but undo_par was.
10715 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10717 * Thesaurus.C: always include <config.h> in sources.
10721 * box.h: do not include <config.h> in header files
10723 * text.C (paintLastRow): remove unused variable
10725 * text.C (transformChar):
10727 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10729 * Painter.C (text):
10730 * font.C (width): rewrite to use uppercase() instead of
10733 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10735 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10737 * lyxfind.C: clean up of find failure position change
10739 2001-12-20 Juergen Vigna <jug@sad.it>
10741 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10743 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10744 (TeXRow): added to LaTeX a single tabular row.
10745 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10746 (Latex): simplified and finally good LT-h/f support.
10747 (various_functions): just small adaptions for LT-h/f support.
10749 * tabular_funcs.[hC]: added and moved here all not classfunctions
10752 2001-12-19 Juergen Vigna <jug@sad.it>
10754 * tabular.[Ch]: better support for longtabular options (not finished
10757 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10759 * text.C (paintLastRow): use the label font instead of the font of
10760 the last character to compute the size of *_BOX. This makes more
10761 sense and avoids a crash with empty paragraphs.
10762 Use Painter::rectangle to draw EMPTY_BOX.
10764 2001-12-19 Juergen Vigna <jug@sad.it>
10766 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10767 the paragraphs if the replaced paragraph is not the first one!
10768 Tried to delete not used paragraphs but does not work yet so for
10769 now it's inside #ifdef's and by default off!
10771 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10773 * MenuBackend.C: include "lyx_main.h" instead of declaring
10774 lastfiles (actually was declared as LastFiles* instead of a
10777 2001-12-17 Juergen Vigna <jug@sad.it>
10779 * tabular.C (AppendColumn): applied John's fix
10781 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10785 * BufferView_pimpl.h:
10786 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10789 * box.h: new start of class for above
10791 * lyxfunc.C: ignore space-only minibuffer dispatches.
10792 Show the command name when it doesn't exist
10794 * minibuffer.C: don't add empty lines to the history
10796 * minibuffer.C: add a space on dropdown completion
10798 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10800 * text.C: fix line above/below drawing in insets
10802 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * lyxlength.C (LyXLength): Initialize private variables.
10806 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10809 when inserting error insets.
10811 2001-12-13 Juergen Vigna <jug@sad.it>
10813 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10814 actually sometimes the before-paragraph.
10815 (setUndo): don't clear the redostack if we're not actually undoing!
10817 2001-12-06 Juergen Vigna <jug@sad.it>
10819 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10820 and fixed redoing of main paragraph, so we can use it now ;)
10822 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10824 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10826 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10829 2001-12-13 André Pönitz <poenitz@gmx.net>
10832 * undo_func.C: minor cleanup
10834 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10836 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10837 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10838 font in urw-fonts package which is marked as -urw-fontspecific and
10839 does not work (incidentally, changing the encoding in the
10840 fonts.dir of this package to -adobe-fontspecific fixes the
10843 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10844 is a crash when undoing first paragraph (Juergen, please take a
10845 look). THis does not mean the undo fix is wrong, just that it
10848 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10849 the (Paragraph*) version when needed instead of duplicating the
10852 * text.C (workWidth): use Inset::parOwner to find out where the
10853 inset has been inserted. This is a huge performance gain for large
10854 documents with lots of insets. If Inset::parOwner is not set, fall
10855 back on the brute force method
10857 * paragraph_pimpl.C (insertInset):
10858 * paragraph.C (Paragraph):
10859 (cutIntoMinibuffer): set parOwner of insets when
10860 inserting/removing them
10862 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10864 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10870 * mathed/formulabase.C:
10871 * mathed/math_cursor.[Ch]:
10872 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10875 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10877 * lyxlength.[Ch] (operator!=): new function
10879 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10881 * text.C (workWidth): use Inset::parOwner to find out where the
10882 inset has been inserted. This is a huge performance gain for large
10883 documents with lots of insets. If Inset::parOwner is not set, fall
10884 back on the brute force method
10886 * paragraph_pimpl.C (insertInset):
10887 * paragraph.C (Paragraph):
10888 (cutIntoMinibuffer): set parOwner of insets when
10889 inserting/removing them
10891 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10893 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10895 * tabular-old.C (getTokenValue):
10896 * tabular.C (getTokenValue):
10897 (write_attribute): new versions for LyXLength
10898 (everywhere): adjust the use of widths
10900 * tabular.h: change the type of widths from string to LyXLength
10902 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10904 * paragraph.C: fixed missing line number count when exporting
10905 Environments to LaTeX file
10907 * buffer.C: added informational message for checking line numbers.
10909 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10911 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10912 paragraph, do the 'double space' part, but not the 'empty
10915 * text.C (workWidth): small optimization
10916 (getLengthMarkerHeight): use minimal size for negative lengths.
10918 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10920 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10922 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10924 2001-12-11 André Pönitz <poenitz@gmx.net>
10927 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10929 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10931 * text2.C: keep selection on a setFont()
10933 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10935 * lyx_cb.C: another bv->text misuse, from insert label
10937 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10940 * kbsequence.C: re-instate nmodifier mask
10942 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10944 * lyx_main.h: make lyxGUI private.
10946 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10948 * lyxfind.C: place the cursor correctly on failed search
10950 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10952 * text.C (getLengthMarkerHeight): for small heights, the arrows
10953 are not always on top/bottom of the text
10954 (drawLengthMarker): smaller arrows; take the left margin in
10955 account; draw also vfills.
10957 (paintLastRow): remove special code for vfill and standard spaces,
10958 since everything is handled in drawLengthMarker now.
10960 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10962 * buffer.C (insertErtContents): try to handle font and language
10963 interaction a bit better.g
10965 * ColorHandler.C (updateColor): change the hash to cover the whole
10966 LColor enum, ws cleanup
10967 (getGCLinepars): ditto
10968 (getGCLinepars): only lookup in the linecache once.
10970 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10972 * iterators.C (operator++): Make the iterator more robust
10974 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10978 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10981 * text.C: better added space drawing
10983 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10986 * BufferView2.C: fix layout combo update on inset unlock
10988 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10990 * Makefile.am: don't compile unused files
10992 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10996 * LyXAction.C: remove old LFUN_LAYOUTNO
10998 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11000 * paragraph_pimpl.h:
11001 * paragraph_pimpl.C: isTextAt() doesn't need font param
11003 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11006 * lyxlex.C: little cleanup
11008 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11010 * BufferView_pimpl.C: fix insertAscii for insets
11012 2001-12-05 Juergen Vigna <jug@sad.it>
11014 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11015 set the right font on the "multi" paragraph paste!
11017 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * lyxlength.C: remove out-commented code.
11025 * BufferView_pimpl:
11039 * vc-backend.C: change "while(" to "while ("
11041 * lyxlength.[Ch]: add zero function to check if length is zero or
11043 * lyxgluelength.C: use it
11045 2001-12-05 Allan Rae <rae@lyx.org>
11047 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11048 Works for 2.95.3, from what I understand of Garst's reports this should
11049 work for other g++ versions. We're screwed if the abs(int) definition
11050 changed between bugfix releases of gcc.
11052 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11054 * text.C: fix chapter label offset !
11056 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11059 * text.C: fix hfill at end of line, clean up
11061 2001-12-04 Juergen Vigna <jug@sad.it>
11063 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11064 that we force an update of the inset and it's owners if neccessary.
11066 2001-12-03 Juergen Vigna <jug@sad.it>
11068 * text.C (rowLast): simplified code
11070 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11072 * lyxfunc.C: fix show options on timeout
11074 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11076 * screen.C (topCursorVisible): scroll half a page when the cursor
11077 reached top of bottom of screen
11079 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11081 * minibuffer.C: deactivate on loss of focus
11083 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11085 * vspace.[Ch] (operator!=): add operator.
11087 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11089 * BufferView_pimpl.C: refuse to open an inset when
11090 there's a selection.
11092 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11094 * BufferView_pimpl.C: allow to click on RHS of full row insets
11096 2001-11-30 Juergen Vigna <jug@sad.it>
11098 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11099 insets for undo reasons.
11101 2001-11-28 André Pönitz <poenitz@gmx.net>
11103 * vspace.[Ch]: cosmetical changes
11105 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11115 * kbsequence.C: part re-write of old kb code
11118 * WorkArea.C: remove Lgb_bug_find_hack
11120 2001-11-30 José Matos <jamatos@fep.up.pt>
11122 * buffer.C (makeDocBookFile): add a comment to point a hack.
11123 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11124 Fixed a double write of labels.
11126 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11129 * LaTeX.h Fixed bug in LaTeX class where it would not
11130 re-run latex if no depfiles were changed, but the .dvi was removed.
11132 2001-11-28 André Pönitz <poenitz@gmx.net>
11134 * all the files from the change on 2001/11/26:
11135 use lyx::layout_type instead of LyXTextClass::size_type
11136 use lyx::textclass_type instead of LyXTextClassList::size_type
11138 2001-11-29 Juergen Vigna <jug@sad.it>
11140 * text.C: added support for paragraph::isFreeSpacing()
11142 * buffer.C: same as above
11144 * paragraph.h: inserted isFreeSpacing() function to enable
11145 FreeSpacing inside InsetERT.
11147 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11148 of the paragraph's in the cut/copy buffer to 0!
11150 * text2.C (removeRow): remove the assert as it can!
11152 * lyxtext.h: added helper function firstRow returning firstrow and
11153 made firstrow private again.
11155 * BufferView2.C (lockInset): don't relock if we're already locked!
11157 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11158 the only paragraph.
11159 (removeRow): added Assert::(firstrow)
11161 * debug.C: forgot to add INSETTEXT here.
11163 2001-11-28 Juergen Vigna <jug@sad.it>
11165 * sp_spell.C (initialize): changed error text to more general
11166 spellchecker command use (not only ispell!)
11168 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11170 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11172 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11174 * vspace.C: initialise lyxgluelength on failure
11176 2001-11-28 Allan Rae <rae@lyx.org>
11178 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11179 declaration & definition that looks like a function declaration.
11181 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11183 * BufferView2.C (copy):
11184 (copyEnvironment): do not clear the selection when doing a copy.
11186 * text.C (paintFirstRow): compilation fix
11188 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11190 * tabular.C (Latex): correct line count when writing latex.
11192 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11194 * paragraph_pimpl.h:
11195 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11198 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11202 * LColor.C: change vfillline->added_space
11204 * text.C: add markers and text for added space
11206 * vspace.C: fix comment
11208 2001-11-28 André Pönitz <poenitz@gmx.net>
11210 * paragraph.C: whitespace changes
11211 * all the other files from the change on 2001/11/26:
11212 change *::pos_type into lyx::pos_type
11214 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11216 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11217 language of the document when inserting error insets.
11219 2001-11-26 André Pönitz <poenitz@gmx.net>
11221 * BufferView_pimpl.[Ch]:
11229 * paragraph_pimpl.[Ch]:
11232 * text2.C: reduce header dependencies, introduce type for positions
11234 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11236 * <various>: change to use Alert.h
11238 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11240 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11241 when encountering an unknown token.
11242 (readLyXformat2): Show an error message if there were unknown tokens.
11244 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11247 * BufferView_pimpl.C:
11251 * text2.C: use par->isInset()
11253 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11255 * paragraph_pimpl.h:
11256 * paragraph_pimpl.C: cleanup
11258 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11260 * text2.C (removeRow):
11261 * text.C (setHeightOfRow): remove useless (and costly) call to
11264 2001-11-20 Allan Rae <rae@lyx.org>
11266 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11267 Now need Inset*::checkInsertChar() to return true for appropriate
11268 cases so that the characters in the minibuffer will actually be
11271 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11273 * text.C: change the order of the includes.
11274 (workWidth): initialize it at once.
11275 (workWidth): make maxw unsigned
11276 (setHeightOfRow): remove unused variable (inset)
11277 (selectSelectedWord): remove unused variable (inset)
11278 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11280 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11283 server is not running.
11285 (closeConnection): add debug info when server is disabled.
11287 * ColorHandler.C (getGCForeground): send debug message to GUI
11290 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11292 * kbmap.C (bind): modify because return conventions of
11293 kb_sequence::parse have changed.
11295 * kbsequence.C (parse): only ignore spaces and not any stupid
11296 control character. This avoids tests like s[i] <= ' ', which are
11297 guaranteed to fail with 8bit characters and signed chars.
11298 Change return code to string::npos when there have been no error
11299 (0 was a bad idea when error is at first character)
11301 2001-11-14 José Matos <jamatos@fep.up.pt>
11304 * buffer.C (simpleDocBookOnePar): removed unused argument.
11306 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11308 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11309 insets which are part of a word. Paragraph::isLetter takes care of
11310 that now. Use Paragraph::isInset to identify insets.
11311 (selectSelectedWord): do not test for hyphenation break.
11313 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11314 that protected spaces are considered as spaces.
11316 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11319 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11322 * lyxserver.C: fix it. and small cleanup.
11324 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11326 * BufferView_pimpl.C: use inline helpers
11329 * LaTeXFeatures.C: fix typos
11332 * Spacing.C: move spacing_string into class
11334 * ToolbarDefaults.C: move stuff into namespace anon
11336 * layout.h: update enum
11338 * lyxfunc.C: use better debug
11340 * minibuffer.h: fix typo
11344 * WorkArea.C: add and use Debug::WORKAREA
11348 * text2.C: code re-organisation, inline helpers
11350 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11352 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11353 std::vector.empty().
11355 2001-11-09 Allan Rae <rae@lyx.org>
11357 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11358 '\n's after tables. Tabular and ERT inset work now makes this no
11361 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11364 * minibuffer.C: fix crash, improve drop-down completion
11366 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11369 * lyxserver.C: invalidate fd's when doing endPipe()
11371 2001-11-08 José Matos <jamatos@fep.up.pt>
11373 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11374 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11377 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11379 2001-11-07 José Matos <jamatos@fep.up.pt>
11382 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11385 * buffer.C (sgmlOpenTag):
11386 * buffer.C (sgmlCloseTag): removed debug info.
11388 * buffer.h (sgmlOpenTag):
11389 * buffer.h (sgmlCloseTag): made public.
11391 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11393 * buffer.C (saveParamsAsDefaults):
11394 * lyx_cb.C (MenuLayoutSave): remove
11396 * LyXAction.C (init):
11398 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11400 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11402 * buffer.C (setPaperStuff): removed from here...
11404 * bufferparams.C (setPaperStuff): ... and moved there.
11406 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11410 * XFormsView.C: add support for drop-down completion
11412 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11414 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11417 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11419 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11422 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11424 * lyx_main.C: change ref to known bugs
11426 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11428 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11429 to work around older babel problems.
11431 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11433 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11435 2001-10-24 Juergen Vigna <jug@sad.it>
11437 * tabular-old.C (ReadOld): below variable changes reflected.
11439 * tabular.[Ch]: added ltType struct for longtable header/footer
11440 defines and changed all instances where they are used. Added
11441 future support for double top/bottom rows.
11443 2001-10-24 José Matos <jamatos@fep.up.pt>
11445 * buffer.h (docbookHandleCaption):
11446 * buffer.C (docbookHandleCaption): removed unused function.
11447 (makeDocBookFile): moved docbook supported version to v4.1.
11449 2001-10-24 José Matos <jamatos@fep.up.pt>
11452 * tabular.C (docbookRow): new function to export docbook code of a row.
11453 (DocBook): now honors the longtable flags.
11455 2001-10-23 José Matos <jamatos@fep.up.pt>
11458 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11459 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11461 * buffer.C (makeLinuxDocFile):
11462 (makeDocBookFile): reworked the preamble, more clean, and with
11463 support for lyx defined entities. Changed the document declaration
11464 to be more XML friendly.
11466 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11467 if we need to output XML that should be done with a filter.
11469 2001-10-22 Juergen Vigna <jug@sad.it>
11471 * sp_pspell.h (class PSpell): add alive function needed in the
11472 controller to see if the spellchecker could be started.
11474 2001-10-22 Juergen Vigna <jug@sad.it>
11476 * buffer.C (insertStringAsLines): modify the font for inserting
11477 chars in certain conditions by calling checkInsertChar(font).
11479 2001-10-19 Juergen Vigna <jug@sad.it>
11481 * text.C (workWidth): use getRow instead of wrong algorithm.
11482 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11484 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11489 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11491 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11493 * text.C (workWidth): do not search for the exact row when
11494 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11495 optimization for big documents.
11497 2001-10-18 Juergen Vigna <jug@sad.it>
11499 * text.C (workWidth): new function with added Inset * parameter.
11501 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11503 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11505 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11506 change return type of getColumnNearX.
11509 * text.C (changeRegionCase): use uppercase/lowercase instead of
11512 (rightMargin): simplify code by factoring out the uses of
11517 (appendParagraph): use Paragraph::size_type
11519 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11521 * vspace.C (asLatexString): add a missing break
11523 2001-10-15 Herbert Voss <voss@perce.de>
11525 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11527 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11529 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11532 2001-10-10 André Pönitz <poenitz@gmx.net>
11534 * lyxfunc.C: removed greek_kb_flag.
11536 2001-10-10 Herbert Voss <voss@perce.de>
11538 * lyx_main.C: delete global string help_lyxdir.
11540 2001-10-09 Herbert Voss <voss@perce.de>
11542 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11544 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11546 * lyx_main.C: added global string help_lyxdir.
11548 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11550 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11552 * lyxrc.C (set_font_norm_type): support iso8859-4
11554 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11556 * LaTeX.C (deplog): add another regex for MikTeX
11558 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11560 * lyxrc.C (set_font_norm_type): support iso8859-3
11562 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11564 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11566 * LaTeXFeatures.C: remove special case of french and index
11568 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11569 before \begin{document}). This solves several incompatibilities.
11571 2001-10-03 Garst Reese <reese@isn.net>
11573 * lyx_cb.C: change CheckTex error msg.
11575 2001-10-03 José Matos <jamatos@fep.up.pt>
11577 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11579 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11581 * .cvsignore: update
11583 * lyx_main.C (commandLineVersionInfo): use new style version info.
11585 * buffer.C (writeFile):
11587 (makeLinuxDocFile):
11588 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11590 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11592 * version.h: update to use stuff in version.C
11594 * version.C.in: new file. Contains version information determined
11595 at compile time. This is a merging of version.h and
11598 2001-10-03 Juergen Vigna <jug@sad.it>
11600 * BufferView_pimpl.C (update): don't change "dirty" status in
11603 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11605 * WorkArea.C (c-tor): re-position version string slightly.
11607 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11609 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11610 revert to previous code.
11612 WorkArea.[Ch]: (show, destroySplash): methods removed.
11614 WorkArea.C: rework code so that it's an amalgam of the codes before and
11615 after the splash screen was moved to WorkArea.
11617 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11620 * vspace.C (inPixels):
11623 * buffer.C (insertStringAsLines):
11624 (asciiParagraph): fix types to be large enough
11626 * lyxlex_pimpl.h: change member status from short to int
11628 * layout.h: fix type of endlabeltype
11631 * kbsequence.C (parse): change return type to string::size_type
11633 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11636 * Bullet.C (bulletSize):
11637 (bulletEntry): do not use short ints as parameters
11639 * BufferView2.C (insertLyXFile): change a char to an int.
11641 * WorkArea.C (WorkArea): remove unneeded floats in computation
11643 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11645 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11647 * paragraph.C (asString): Do not ignore newline/hfill chars when
11648 copying to the clipboard.
11650 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11652 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11653 after a multi-line inset.
11655 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11657 * paragraph.C (validate): Set NeedLyXFootnoteCode
11659 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11661 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11662 and decrease-error to decrease.
11664 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11666 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11667 it more readable (should be equivalent)
11669 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11671 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11673 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11675 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11676 of a cursor (row, etc.) after a character has been deleted
11677 (deleteEmptyParagraphMechanism): call the method above on _all_
11678 cursors held by the LyXText when a double space has been
11681 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11683 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11685 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11687 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11688 background. Use greyOut() and the new show() methods to toggle between
11689 the foreground and background. Add code to remove the splash after
11690 its initial showing.
11692 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11693 (create_forms): no longer call Dialogs::showSplash.
11695 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11697 * .cvsignore: add version_info.h
11699 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11701 * version_info.h.in: new file
11703 * Makefile.am: add version_info.h.in
11705 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11706 version_info.h instead of VERSION_INFO
11708 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11710 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11711 The ERT inset now returns string().
11713 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11715 * lyxtext.h, text.C (selectNextWord): renamed as
11716 selectNextWordToSpellcheck.
11718 * text.C (selectNextWordToSpellcheck): Modified to not select
11719 words inside an ERT inset.
11721 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11723 * lyx_cb.C (MenuLayoutSave): change a bit the question
11725 * sp_base.h: include <sys/types.h>
11727 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11729 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11731 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11733 * several files: fix typos in user-visible strings
11735 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11737 * text2.C (pasteSelection): do not set the selection, since it
11738 will be cleared later. Actually, the intent was to fix the way the
11739 selection was set, but I figured rmoving the code was just as good.
11741 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11743 * FontLoader.C (available): Check if font is available without
11746 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11748 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11750 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11752 * lyxrc.[Ch]: added display_graphics variable and associated code.
11754 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11756 * bufferparams.C (hasClassDefaults): new method. Returns true if
11757 the buffer parameters correspond to known class defaults
11759 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11761 * XFormsView.C (show): set minimum size to the main window.
11763 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11765 * text2.C (copySelection):
11767 * lyxfind.C (LyXReplace):
11768 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11769 LyXText::selectionAsString.
11771 * paragraph.C (asString): add "label" argument to the second form
11773 * text2.C (selectionAsString): add "label" argument and pass it to
11774 Paragraph::asString.
11776 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * lyx_main.C (commandLineHelp): remove version information
11780 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11782 * lyx_main.C: add -version commandline option
11784 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * paragraph.h: make the optional constructor arg required instead.
11787 some modifications to other files because of this.
11789 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11791 * lyxserver.C (C_LyXComm_callback): make it static
11793 * lyx_main.C (error_handler): make it static
11795 * lyx_gui.C (LyX_XErrHandler): make it static
11797 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11799 * WorkArea.C: make the extern "C" methods static.
11801 * Makefile.am (lyx_LDADD): simplify
11803 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11805 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11806 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11808 * LyXAction.C (init):
11809 * lyxfunc.C (dispatch): associated code removal.
11811 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11813 * lyxfont.h (isSymbolFont): shut off warning
11815 * text.C (setHeightOfRow):
11816 (getVisibleRow): fix crash with empty paragraphs which have a
11819 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11821 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11824 2001-09-04 José Matos <jamatos@fep.up.pt>
11827 * tabular.C (docbook): rename docBook method to docbook.
11829 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11831 * Makefile.am: add dependencies to main.o.
11833 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11835 * FontLoader.C (available): Return false if !lyxrc.use_gui
11837 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11839 * FontInfo.C (query):
11840 * converter.C (view):
11841 * importer.C (Import):
11842 * exporter.C (Export): Can not -> cannot.
11844 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11846 * BufferView_pimpl.C: allow to create index inset even if
11849 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11851 * buffer.C (getLists): replace boost::tie code with an explicit pair
11852 as boost::tie can break some compilers.
11854 * iterators.h: Added a std:: declaration to the return type of
11857 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11859 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11862 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11864 * iterators.[Ch]: New files. Provide paragraph iterators.
11866 * buffer.C (changeLanguage): Use paragraph iterators.
11867 (isMultiLingual): ditto
11869 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11871 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11873 * FontLoader.C: Support for cmr font.
11875 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11877 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11878 (available): New method.
11880 * FontInfo.C (getFontname): Use scalable fonts even when
11881 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11884 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11886 * converter.C (Formats::view): reverted! Incorrect fix.
11888 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11890 * converter.C (Formats::view): only output the -paper option
11891 if the dvi viewer is xdvi, thereby fixing bug #233429.
11893 2001-08-23 Herbert Voss <voss@perce>
11895 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11897 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11899 * Spacing.h (Spacing): Set space to Default on in the default
11902 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * vc-backend.h (RCS::versionString): add RCS to version
11905 (CVS::versionString): add CVS to version
11907 * vc-backend.C (scanMaster): do not add CVS to version.
11908 (scanMaster): do not add RCS to version
11910 * lyxvc.C (versionString): new method
11912 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11914 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * Spacing.C (set): initialize fval
11918 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11920 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11923 2001-08-16 Juergen Vigna <jug@sad.it>
11925 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11927 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11929 * BufferView_pimpl.C:
11932 * text2.C: setParagraph takes linespacing now
11934 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11936 * LyxAction.C: add internal LFUN_CITATION_INSERT
11938 * LyXView.C: actually apply fix
11940 * bufferlist.C: fix open non-existent file
11942 * lyxfind.C: fix indentation
11944 * lyxfunc.C: remove unneeded assert, fix typo
11946 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11948 * MenuBackend.C: use "Floatname List"
11950 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11952 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11953 when converting LaTeX layout to insetERT.
11954 Generate a non-collapsed float when reading old float
11956 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11958 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11961 2001-08-13 Juergen Vigna <jug@sad.it>
11963 * text.C (fill): return 0 instead of 20 as this seems to be the more
11966 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11968 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11971 2001-08-13 Juergen Vigna <jug@sad.it>
11973 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11975 (SearchBackward): comment out the unlocking of the inset_owner this
11976 should not be needed!
11978 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11980 * Many files: Remove inherit_language, and add latex_language
11982 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11983 collapsible insets.
11985 2001-08-10 Juergen Vigna <jug@sad.it>
11987 * text.C (prepareToPrint): fixed hfill-width in draw!
11989 * BufferView2.C (selectLastWord): save the selection cursor as this
11990 now is cleared in the function LyXText::clearSelection!
11992 2001-08-08 Juergen Vigna <jug@sad.it>
11994 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11995 BACKSPACE type functions.
11997 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11998 is only cutted from the document but not put in the cut-buffer, where
11999 still the old stuff should be.
12001 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12003 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12005 * tabular.C (SetWidthOfCell): fixed special case where the width
12007 (LeftLine): handle '|' in align_special.
12009 (LeftAlreadyDrawed): ditto
12010 (SetWidthOfCell): ditto
12012 2001-08-07 Juergen Vigna <jug@sad.it>
12014 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12016 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12019 * lyxlex.[hC]: ditto
12021 2001-08-06 Juergen Vigna <jug@sad.it>
12023 * text.C (getVisibleRow): fix up row clearing a bit.
12025 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12027 * minibuffer.C: make sure the X server sees the changes in the input.
12029 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12031 * paragraph.C (getFont): split into...
12032 (getLabelFont): this
12033 (getLayoutFont): and this
12034 * paragraph_pimpl.C (realizeFont): calling this
12036 * text2.C (getFont): split into...
12037 (getLayoutFont): this
12038 (getLabelFont): and this
12039 (realizeFont): all three calling this
12041 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12044 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12046 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12048 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12050 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12051 layouts from the Quote inset insertion.
12053 2001-08-03 Juergen Vigna <jug@sad.it>
12055 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12057 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12058 only if status not is already CHANGED_IN_DRAW (second level).
12060 * text.C (draw): don't set the need_break_row when inside an
12063 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12065 * buffer.C (parseSingleLyXformat2Token): handle more latex
12068 * bufferview_funcs.[hC]: change function names to
12069 begin with small char, adjust other files.
12071 2001-08-02 André Pönitz <poenitz@gmx.net>
12074 BufferView_pimpl.C: remove broken special code for math-greek
12076 2001-08-02 Juergen Vigna <jug@sad.it>
12078 * BufferView_pimpl.C (update): redone this function so that we
12079 update the text again if there was a CHANGE_IN_DRAW.
12081 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12082 (drawFromTo): added a new internal bool which is used by draw() and
12084 (general): some cursor drawing problems fixed.
12086 2001-08-01 Juergen Vigna <jug@sad.it>
12088 * lyxfind.C (LyXFind): fixed
12089 (SearchForward): ditto
12090 (SearchBackward): ditto
12092 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12093 spurius drawing of the cursor in the main area.
12095 * text2.C (status): small fix which could lead to a segfault!
12096 (clearSelection): remove unneeded BufferView param.
12098 2001-08-01 André Pönitz <poenitz@gmx.net>
12100 * lyxfunc.C: small change due to changed mathed interface
12102 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12104 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12106 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12108 * lyxfunc.c: fail gracefully if file doesn't exist
12113 * BufferView_pimpl.C: IsDirWriteable() proto changed
12115 * LyXView.C: fix updateWindowTitle() to store the last title
12117 2001-07-31 Juergen Vigna <jug@sad.it>
12119 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12120 the font (wrong since using of Paragraph::highestFontInRange).
12122 * paragraph.C (highestFontInRange): added a default_size parameter.
12124 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12125 (setHeightOfRow): reformat
12127 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12129 * converter.[hC] + affected files: move to (inital-char)lowercase
12132 * ParagraphParameters.C (ParagraphParameters): remove commented code
12134 * PainterBase.[Ch]: remove commented code
12136 * LaTeXFeatures.h: add "bool floats" for float.sty
12138 * LaTeXFeatures.C (LaTeXFeatures): init floats
12139 (require): handle float
12140 (getPackages): do it with floats
12142 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12144 * BufferView_pimpl.C (Dispatch): improve handling of
12145 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12147 * commandtags.h: #include lyxfont.h here temporarily to avoid
12150 * bufferlist.h: include LString.h here.
12152 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12154 * text2.C (getStringToIndex): new method.
12156 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12158 * *: Reduced header file dependencies all over.
12160 2001-07-30 Baruch Even <baruch@lyx.org>
12162 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12164 2001-07-29 Baruch Even <baruch@lyx.org>
12166 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12168 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12170 * ParameterStruct.h (endif): add a default constructor to make
12171 sure that all variables is initialized.
12173 * ParagraphParameters.C (ParagraphParameters): adjust
12175 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12177 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12178 index; also, check that there is something to index, and that it
12179 does not span over several paragraphs.
12180 (doubleClick): use WHOLE_WORD_STRICT for double click.
12182 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12184 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12187 2001-07-26 Baruch Even <baruch@lyx.org>
12189 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12190 an InsetFig figure, backwards compatible reading of old figure code.
12192 2001-07-27 Juergen Vigna <jug@sad.it>
12194 * text2.C: font.realize function adaption.
12196 * text.C (draw): add a warnings lyxerr text if needed.
12198 * layout.C: font.realize function adaption.
12200 * language.C: add inherit_language and implement it's handlings
12202 * bufferview_funcs.C (StyleReset): remove language parameter from
12203 font creation (should be language_inherit now).
12205 * bufferparams.C (writeFile): handle ignore_language.
12207 * paragraph.C (getFontSettings): the language has to be resolved
12208 otherwise we have problems in LyXFont!
12210 * lyxfont.C (lyxWriteChanges): added document_language parameter
12211 (update): removed unneeded language parameter
12213 * paragraph.C (validate): fixed wrong output of color-package when
12214 using interface colors for certain fonts in certain environments,
12215 which should not seen as that on the final output.
12217 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12219 * BufferView_pimpl.C:
12224 * LyXAction.C: add thesaurus support
12227 * lyxfind.C: add "once" parameter, for thesaurus, to not
12228 move to the next match
12230 2001-07-26 Juergen Vigna <jug@sad.it>
12232 * lyxfont.C (realize): honor ignore_language too!
12235 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12237 * text.C (draw): one place more for ignore_language to not draw
12240 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12242 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12244 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12247 the minipage conversion problem.
12249 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12254 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * BufferView.h: don't forward declare WorkArea
12258 * BufferView.C: don't include WorkArea.h
12260 2001-07-25 André Pönitz <poenitz@gmx.net>
12264 * lyxfunc.C: new LFUN 'math-space'
12266 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12268 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * text2.C (toggleInset): call open/close
12272 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12274 * lyxfunc.C (dispatch): add debug for the disabled case
12276 * font.C (buttonText): make similar to rectText
12278 * buffer.C (readInset): comment out parsing of insetlist and
12281 * PainterBase.C (rectText): small correction
12283 * BufferView_pimpl.C: comment out insettheorem and insetlist
12284 * LyXAction.C: ditto
12285 * commandtags.h: ditto
12287 2001-07-24 Juergen Vigna <jug@sad.it>
12289 * text.C (draw): honor the ignore_language.
12291 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12293 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12295 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12298 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12300 * lyxtext.h: remove unused (and unimplemented) methods
12302 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12304 * text.C (getVisibleRow): honor background color
12307 * Painter.h: remove default color argument for fillRectangle
12309 * text.C (backgroundColor): new method
12311 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * text.C (getVisibleRow): adjust
12315 * font.[Ch] (rectText): new method, metrics
12316 (buttonText): new method, metrics
12318 * PainterBase.[hC]: make rectText and buttonText always draw and take
12321 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12323 * ToolbarDefaults.C (read):
12324 * MenuBackend.C (read): allow escaping in all strings
12326 * BufferView_pimpl.C (insertAndEditInset): new method.
12327 (Dispatch): use insertAndEditInset whenever appropriate.
12329 * BufferView_pimpl.C (insertNote): removed
12331 * BufferView_pimpl.C (smartQuote): new method, moved from
12332 BufferView; if an insetquote cannot be inserted, insert a '"'
12335 * BufferView2.C: remove insertCorrectQuote();
12337 * lyxfunc.C (getStatus): Add support for all remaingin
12338 inset-insert lfuns.
12340 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12342 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12343 command (necessary to pass " as parameter of self-insert.
12345 * text.C (selectWordWhenUnderCursor):
12346 (selectWord): add word_location parameter
12347 (selectWordWhenUnderCursor): same + remove special code for word
12349 (selectNextWord): use kind() to guess type of insetspecialchar,
12352 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12353 (insertErtContents): create ert insets as collapsed.
12354 (readInset): better compatibility code for Info inset.
12356 2001-07-20 Juergen Vigna <jug@sad.it>
12358 * lyxfunc.C (dispatch): use always LyXFind now!
12360 * text2.C (init): add a reinit flag so that the LyXText can be
12361 reinited instead of deleted and reallocated (used in InsetText).
12363 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12369 2001-07-18 Juergen Vigna <jug@sad.it>
12371 * text.C (selectNextWord): handle insets inside inset by calling
12372 always the bv->text functions so that we can go up the_locking_inset!
12374 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12375 in strange locations when inside an inset!
12377 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12378 handling to include insets.
12380 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12382 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12384 * LyXAction.C (init):
12386 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12387 LIGATURE_BREAK, since the name is so stupid.
12389 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12391 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12394 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12396 * sp_form.[Ch]: remove.
12398 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12400 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12403 * src/buffer.C (readInset): ditto.
12405 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12407 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12408 menuSeparator(), endOfSentenceDot(), ldots() and
12409 hyphenationPoint(), which are therefore removed.
12410 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12412 * LyXAction.C (init):
12413 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12415 * paragraph.C (getWord): removed.
12417 * BufferView_pimpl.C (Dispatch): use last word or selection for
12418 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12420 * lyx_main.C (queryUserLyXDir): do not ask before creating
12421 user_dir, except if it has been named explicitely.
12423 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12425 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12426 a document of zero size.
12428 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12430 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12431 approriately in the c-tor and in require().
12432 (getPackages): output the appropriate LaTeX for natbib support.
12434 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12435 variables "use_natbib" and "use_numerical_citations" when reading the
12437 (readInset): read the various natbib cite commands.
12438 (validate): white-space change.
12440 * bufferparams.[Ch]: new variables "bool use_natbib" and
12441 "bool use_numerical_citations".
12442 (writeFile): output them in the LyX file.
12444 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12446 * lyxfunc.C (getStatus): add support for all the inset insertion
12449 * text2.C (insertInset):
12450 * paragraph.C (insetAllowed):
12451 * BufferView_pimpl.C (insertInset): update to take in account the
12452 renaming of insertInsetAllowed
12454 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12456 * text2.C (getInset): new method. returns inset at cursor position.
12458 * BufferView_pimpl.C (Dispatch): changes because of this.
12460 * LyXAction.C (init): rename open-stuff to inset-toggle.
12462 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12464 * text2.C (toggleInset): renamed from openStuff; use
12467 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12469 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12471 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12473 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12475 * buffer.C (readLyXformat2): Add filename to the error dialog
12477 2001-07-18 Juergen Vigna <jug@sad.it>
12479 * tabular.C (GetCellNumber): put an assert here instead of the check!
12481 2001-07-17 Juergen Vigna <jug@sad.it>
12483 * BufferView_pimpl.C (toggleSelection): adapted too.
12485 * text.C (selectNextWord): adapted for use with insets.
12486 (selectSelectedWord): ditto
12488 2001-07-17 Juergen Vigna <jug@sad.it>
12490 * sp_spell.C (PSpell): fix initialitation order.
12492 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * paragraph.C: spacing
12496 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12498 * sp_spell.C: repair language selection for pspell
12500 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * lyxfunc.h: change more methods to begin with lower char.
12504 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12506 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12507 for unknown layouts.
12509 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12511 * buffer.C (readLyXformat2): Generate an error dialog if there are
12514 2001-07-16 Juergen Vigna <jug@sad.it>
12516 * sp_spell.C: always compile ISpell part.
12518 * lyxrc.C: added use_pspell entry and it's handling.
12520 2001-07-13 Juergen Vigna <jug@sad.it>
12522 * sp_spell.C: removed double includes.
12524 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12526 Consistent use of Lsstream.h:
12527 * Lsstream.h: added using std::stringstream for consistencies sake.
12529 * buffer.C: removed using std::stringstream
12531 * lyxfont.C (stateText):
12532 * paragraph.C (asString):
12533 * text.C (selectNextWord, selectSelectedWord):
12534 * text2.C (setCounter):
12535 * vspace.C (asString, asLatexString):
12536 std::ostringstream -> ostringstream.
12538 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12540 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12541 * commandtags.h: add LFUN_HELP_ABOUTLYX
12542 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12544 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12546 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12548 * lyx_gui_misc.C: remove spellchecker
12549 * lyxfunc.C: showSpellchecker
12551 * sp_ispell.h: added
12552 * sp_pspell.h: added
12553 * sp_spell.C: added
12554 * sp_form.[Ch]: removed
12555 * spellchecker.[Ch]: removed
12557 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12559 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12561 (simpleTeXSpecialChars): Simply print the input character without
12562 any special translation if pass_thru is set.
12564 * layout.h: Added bool pass_thru to layout class for being able to
12565 implement pass through of a paragraph for Literate Programming.
12567 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12568 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12569 * layout.C (Read): add "passthru" to list of layout tags and add
12570 code to set the pass_thru boolean when it is read.
12572 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * trans_decl.h: remove allowed from KmodInfo
12576 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12577 remove allowed code
12580 * paragraph_pimpl.C (erase): use boost::prior
12582 * Painter.C (text): use data() instead of c_str() when length is
12584 * WorkArea.C (putClipboard): ditto
12585 * font.h (width): ditto
12587 * BufferView2.C: use it-> instead of (*it). for iterators
12589 * paragraph_pimpl.C: ditto
12590 * paragraph.C: ditto
12591 * minibuffer.C: ditto
12592 * language.C: ditto
12594 * encoding.C: ditto
12595 * counters.C: ditto
12596 * converter.C: ditto
12598 * Variables.C: ditto
12599 * TextCache.C: ditto
12600 * MenuBackend.C: ditto
12601 * LyXAction.C: ditto
12603 * FloatList.C: ditto
12604 * DepTable.C: ditto
12605 * ColorHandler.C (LyXColorHandler): ditto
12607 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12609 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12611 * text2.C (openStuff): reintroduce this method (which had been
12612 nuked in NEW_INSETS frenzy).
12614 * lyxfunc.C (Dispatch): when an action has not been handled, use
12615 its name in the error message, not its number.
12617 * paragraph.C (inInset): change method name to begin with lowercase.
12620 * text2.C: updates because of this.
12622 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12624 * ToolbarDefaults.C (add): add spaces in error message
12626 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12629 (readLyXformat2): rename return_par to first_par, use lyxlex's
12630 pushToken and remove the manual push handling.
12631 (parseSingleLyXformat2Token): add another ert comp. variable:
12632 in_tabular, rename return_par to first_par. handle newlines better
12634 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12636 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12638 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * text2.C (getParFromID): removed
12642 * buffer.C (getParFromID): new method moved form lyxtext.
12643 * BufferView2.C (insertErrors): adjust
12644 (setCursorFromRow): adjust
12645 * BufferView_pimpl.C (restorePosition): adjust
12646 * lyxfunc.C (Dispatch): adjust
12647 * undo_funcs.C (textUndo): adjust
12649 (textHandleUndo): adjust
12650 (textHandleUndo): adjust
12652 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12654 * buffer.C: up' the LYX_FORMAT
12656 * lyxfont.h: turn NO_LATEX on as default
12658 * buffer.C (insertErtContents): new methods of tex style compability.
12659 (parseSingleLyXformat2Token): use it several places.
12660 * tabular.C (OldFormatRead): and here
12662 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * text2.C: remove some commented code.
12667 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12668 * trans.C: changes because of the above.
12670 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12672 * text2.C (setCounter): Fix counters bug with bibliography layout.
12674 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12677 own member functions
12678 (simpleTeXSpecialChars): ditto
12680 2001-07-06 Juergen Vigna <jug@sad.it>
12682 * a lot of files: changed the access to LyXText::status and the
12683 call of undo-functions.
12685 * undo.[Ch]: added a inset_id to the undo informations.
12687 * undo_funcs.[Ch]: added and moved here all undo functions.
12689 * lyxtext.h: give the status enum a weight, made status_ a private
12690 variable and made accessor functions for it, removed the whole bunch
12691 of undo-functions as they are now in their own file, make some
12692 functions publically available. Added function ownerParagraph with
12695 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12696 made InInset() a const function, added getParFromID() function.
12698 * buffer.[Ch]: added const version for inset_iterator functions,
12699 added getInsetFromID() function.
12701 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12702 changed undo functions for new version.
12704 2001-07-05 Juergen Vigna <jug@sad.it>
12706 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12707 unknow mechanism does not call the proper constructor but only this
12708 one also if I request the other!?
12710 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12714 * text2.C (LyXText): use initialization lists.
12716 * lyxtext.h (Selection): initialize set_ and mark_
12717 (init): remove method
12719 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12721 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12723 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * screen.[Ch]: change method names to begin with lowercase
12727 * BufferView_pimpl.C (updateScrollbar): simplify further and
12728 hopefully make it a bit faster.
12730 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12732 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12733 calling directly xforms functions.
12735 * Painter.C (Painter):
12736 * lyx_cb.C (MenuWrite):
12737 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12740 * lyx_gui.C: remove bogus guiruntime extern declaration.
12742 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12744 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12746 (redoDrawingOfParagraph): ditto
12747 (redoParagraphs): ditto
12748 (cutSelection): don't create a object for CutAndPaste use the
12749 static method directly
12750 (pasteSelection): ditto
12752 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12755 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * modifications to some other files because of this.
12759 * Makefile.am (lyx_SOURCES): add XFormsView
12761 * XFormsView.[Ch]: new files
12763 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12764 the main window. Move the gui dependent stuff to XFormsView
12766 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * tabular.C (GetCellInset): update cur_cell also in the row/col
12769 version of this function.
12771 * lyxfunc.C: no need to include figure_form.h here.
12777 * lyxvc.C: no need to include forms.h here.
12779 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12783 * lyxfunc.C (Dispatch):
12785 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12786 constructor argument.
12788 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12790 * paragraph.C (Paragraph): dont't clear, and just set layout.
12791 (makeSameLayout): use params's copy contructor.
12793 * ParagraphParameters.[Ch] (makeSame): delete method
12795 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12797 * Variables.[Ch]: fix indentation, rename set to isSet
12799 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * lyxfunc.C (Dispatch): fix typo
12803 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12805 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12808 * bufferlist.C: include assert.h for emergencyWrite().
12810 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12812 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12813 give up at last (bug #425202) !
12815 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12821 * spellchecker.C: strip spellchecker options and bring up
12822 preferences tab instead
12824 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12827 the istringstream constructor
12829 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12831 * paragraph.C (getLayout): fix return value
12833 * paragraph.h: do not declare getLayout as inline.
12835 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12837 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12839 * lyxcursor.h (operator<): new func
12840 (operator>): new func
12841 (operator>=): new func
12842 (operator<=): new func
12844 * text.C (changeCase): use selection.start and selection.end
12845 (changeRegionCase): require from to be <= to. Require par to be a
12848 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12850 2001-06-27 Juergen Vigna <jug@sad.it>
12852 * text.C (cursorLeftOneWord): changed to return the cursor and added
12853 overlay with BufferView * parameter which calls this one.
12855 (selectWord): use new getWord function.
12856 (changeCase): renamed from changeWordCase as and extended to work
12857 also on selections.
12859 * lyxtext.h: added enum word_location
12861 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12862 changeCase as this operates now also on selections.
12864 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12866 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12868 * many files: send debug output to Debug::INFO instead of
12871 * converter.C (View):
12873 (Move): send debug output to Debug::FILES instead of console.
12875 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12877 * lyxfunc.C (getStatus): use func_status
12879 * func_status.h: new header, describing the results of
12880 LyXFunc::getStatus;
12882 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12885 2001-06-25 The LyX Project <jug@sad.it>
12887 * buffer.C (sgmlOpenTag):
12889 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12891 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12893 * text2.C: remove some dead code
12895 * tabular.C (GetCellInset): store the last cell checked (gotten)
12897 * tabular.h: add the helper for the speedup
12899 * lyxtext.h: remove some dead code
12901 2001-06-26 The LyX Project <Asger>
12903 * paragraph.C: Change export to LaTeX of alignment to
12904 \begin{center} and family for better roundtrip work with reLyX.
12906 * Tune the math drawing a bit.
12908 2001-06-25 The LyX Project <Asger>
12910 * LColor.C (LColor): New color for math background. New color
12913 2001-06-25 The LyX Project <jug@sad.it>
12915 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12917 * lyxfunc.C (Open):
12918 * bufferlist.C (newFile): do not restrict to files ending with
12921 * BufferView_pimpl.C (MenuInsertLyXFile):
12923 2001-06-24 The LyX Project <jug@sad.it>
12925 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12928 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12930 * lyxtext.h: rename most methods to begin with a small char.
12931 Lots of changes because of this.
12933 * paragraph.C (Paragraph): do not call fitToSize
12934 (erase): call Pimpl::erase
12935 (insertChar): call Pimpl::insertChar
12936 (insertInset): call Pipl::insertInset
12937 (breakParagraph): do not call fitToSize
12938 (breakParagraphConservative): do not call fitToSize
12939 (fitToSize): remove method
12941 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12943 2001-06-24 The LyX Project <Asger>
12945 * Fix Qt compilation^2
12947 2001-06-24 The LyX Project <jug@sad.it>
12949 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12950 depthHook(getDepth()-1).
12953 * ParagraphParameters.h:
12954 * ParameterStruct.h: change type of depth to unsigned int ==
12955 depth_type. Many adaptations to other files before of that.
12957 2001-06-24 The LyX Project <Asger>
12959 * Fix Qt compilation.
12961 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * paragraph.h: renamed several methods to begin with small letter.
12964 several changes to many parts of the code because of this.
12966 2001-06-23 The LyX Project <jug@sad.it>
12968 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12969 rewritten to discard all double spaces when KeepEmpty is off
12970 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12971 to only handle newlines but not fiddle with spaces and friends.
12973 * lyxfunc.C (MenuNew): when doing 'new from template', use
12974 template_path as default directory
12976 2001-06-23 The LyX Project <Asger>
12978 * Clean-up of header file includes all over
12979 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12981 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12983 * paragraph.h: renamed from lyxparagraph.h
12985 2001-06-23 Asger <lyx@violet.home.sad.it>
12987 * Buffer.h: Removed Buffer::resize
12988 * BufferList.h: Removed BufferList::resize
12989 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12990 the document lazily when we change the width, or the font settings.
12992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12994 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12996 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12998 * buffer.h: remove out of date comment
13000 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13003 * screen.C: fix "theoretical" GC leak
13005 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13007 * LaTeX.C (scanAuxFile):
13008 (deplog): remove trailing \r when reading stream (useful under
13011 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13013 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13014 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13015 and BufferView::theLockingInset(Inset*), so should use them and not
13016 access bv_->text->the_locking_inset directly.
13018 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13020 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13023 * tex-defs.h: remove old unused file
13025 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13027 * BufferView_pimpl.C: fix typo, remove minibuffer message
13028 when buffer has loaded
13030 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * lyxfunc.C (Dispatch): use stringstream
13033 (MenuNew): use stringstream
13034 (Open): use stringstream
13036 * importer.C (Import): use stringstream
13038 * bufferview_funcs.C (CurrentState): use stringstream
13040 * LaTeX.C (run): use stringstream
13042 * BufferView_pimpl.C (savePosition): use stringstream
13043 (restorePosition): use stringstream
13044 (MenuInsertLyXFile): use stringstream
13046 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13059 * vspace.C: removed // -*- C++ -*- as first line.
13062 * version.h: added // -*- C++ -*- as first line.
13064 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13066 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13068 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13071 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13073 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13076 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13078 * gettext.C: include LString.h even when --disable-nls is on.
13080 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13082 * converter.h (Get): changed argument type from int to
13083 FormatList::size_type to avoid unnecessary conversion.
13085 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13088 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * gettext.h: include LString.h even when --disable-nls is on.
13092 2001-06-07 Juergen Vigna <jug@sad.it>
13094 * text.C (BreakAgain): subst spaces with tabs.
13096 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13097 (resizeInsetsLyXText): set force on resizeLyXText.
13099 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13101 * gettext.h (gettext_init):
13102 (locale_init): use a real definition instead of a macro
13104 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13106 * Bufferview_pimpl.C:
13108 * LColor.C: further lcolor tidies
13110 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * BufferView_pimpl.C (updateScrollbar): simplify.
13114 * BufferView2.C: don't include insets/insetinfo.h, change
13115 prototype for insertInset and call the Pimpl version. let
13116 updateInset call Pimpl version.
13118 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13119 gotoInset to BufferView::Pimpl
13121 2001-06-01 Juergen Vigna <jug@sad.it>
13123 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13124 inside a LockingInset (is the update needed at all?).
13126 2001-05-31 Juergen Vigna <jug@sad.it>
13128 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13129 here not the old one otherwise how should we compare it afterwards
13132 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * FontInfo.C: bring C functions into global namespace when
13140 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13142 * LString.h: make sure config.h has been loaded before LString.h.
13144 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13145 (one for each char read by EatLine!).
13147 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13150 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13153 to the same as the par we break from
13155 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13157 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13159 * MenuBackend.C (expand): also create menu entries for wide
13160 versions of the floats.
13162 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13164 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13166 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13167 frontends/Makefile.am
13173 * tabular.C (getTokenValue): add std::
13175 * tabular-old.C (getTokenValue): add std::
13176 (getTokenValue): ditto
13177 (getTokenValue): ditto
13179 * screen.C (ToggleSelection): adjust
13181 * lyxtext.h: put selection cursors inside a Selection struct.
13183 * lyxfunc.C (moveCursorUpdate): adjust
13185 * lyxfont.C (latexWriteStartChanges): add std::
13187 * lyxfind.C: adjust
13189 * font.h: delete with(char const *, LyXFont const &)
13191 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13193 * FontInfo.C (getFontname): add std::
13195 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13196 (workAreaButtonPress): adjust
13197 (tripleClick): adjust
13199 (moveCursorUpdate): adjust
13202 * BufferView2.C (gotoInset): adjust
13204 2001-05-30 Juergen Vigna <jug@sad.it>
13206 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13207 to check pspell I add this as default as I now have new pspell
13208 libraries and they seem to use this.
13210 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * text2.C (CutSelection): make the cursor valid before the call to
13215 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13218 relied on 0 terminated strings and other horrors. Bug found due to
13219 the new assert in lyxstring!
13221 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13224 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13226 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13229 * lyxfunc.C (processKeySym): change method of getting to the
13232 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13233 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13234 * BufferView_pimpl.[Ch]: here as private methods.
13236 2001-05-28 Juergen Vigna <jug@sad.it>
13238 * text.C (SetHeightOfRow): added the update() call again as it is
13239 needed to initialize inset dimensions!
13241 2001-05-16 Juergen Vigna <jug@sad.it>
13243 * text2.C (SetCharFont): Add new function with BufferView * and
13244 bool toggleall parameters for setting insets internal fonts.
13245 (SetFont): Freeze the undo as we may change fonts in Insets and
13246 all this change should be inside only one Undo!
13248 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13249 setting font's in insets as for them we have the SetFont function!
13251 2001-05-15 Juergen Vigna <jug@sad.it>
13253 * text2.C (ClearSelection): to be sure we REALLY don't have any
13256 * tabular.C (TeXCellPreamble): fixed the left border problem for
13259 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13261 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13264 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13267 LFUN_BREAKPARAGRAPH.
13269 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13270 help test to "internal only", similar for LFUN_INSERT_URL
13272 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13273 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13274 auto_region_delete and deadkeys.
13276 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13279 * LColor.C: remove some dead entries, tidy a little
13281 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13285 (Dispatch): implement LFUN_ESCAPE
13287 * commandtags.h: add LFUN_ESCAPE
13289 * LyXAction.C (init): add entry for LFUN_ESCAPE
13291 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13292 Remove commented code.
13293 (insertNote): moved here
13294 (open_new_inset): moved here
13296 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13299 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13301 * kbmap.C (findbinding): clean it up and make it work correctly.
13303 * lyx_main.C (init): do not pass argc and argv as parameters
13305 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13307 * buffer.C: fix path for OS/2 & Win32
13311 * lyx_main.C: Added os:: class.
13313 * os2_defines.h: update
13315 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13317 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13318 better by trying again with reduced state.
13320 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * lyxrc.C (read): print error about invalid key sequence only when
13323 debugging (because not all latinX keysyms are known to some X
13326 * kbsequence.C (getiso): add a few std:: qualifiers
13327 (getiso): comment out extra return statement.
13329 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13333 (Dispatch): enhance the accent inset a bit. (not perfect)
13335 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13339 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * bufferlist.C (emergencyWrite): fix assert() call
13343 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13345 * text.C (InsertChar): Added trivial patch to only send the "you
13346 can not do multiple spaces this way" message once during a
13349 2001-05-08 Baruch Even <baruch@lyx.org>
13351 * Makefile.am: Changed order of libraries to get LyX to link properly
13352 with the gnome frontend.
13354 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * LaTeXFeatures.h: add a std:: qualifier
13358 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * paragraph.C (String): use stringstream
13362 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13364 * paragraph.C (writeFile): remove footflag arg
13366 * buffer.C (makeLaTeXFile): use stringstream
13367 (latexParagraphs): remove footnot gurba
13369 * LaTeXFeatures.C (getPackages): use stringstream
13370 (getMacros): likewise
13371 (getTClassPreamble): likewise
13372 (getFloatDefinitions): new method
13374 * paragraph.C (writeFile): reindent
13377 * WorkArea.h: revert the xpos + etc changes.
13379 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13381 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13383 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13384 (pasteSelection): likewise
13385 * text2.C (CreateUndo): likewise
13387 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * minibuffer.C (peek_event): temporarily reduce the functionality
13390 of the minibuffer (to allow args on lfuns)
13392 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13393 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13395 * buffer.C (readInset): add compability reading of old float
13396 lists, add reading of new style float list.
13397 (readInset): avoid reevaluation of inscmd.getCmdName()
13398 (getLists): reindent
13400 * MenuBackend.C (MenuItem): implement parsing of
13401 md_floatlistinsert and md_floatinsert.
13402 (expand::LastFiles): move initalizaton of iterators out of loop,
13403 avoid reevaluation.
13404 (expand::Documents): introduce typdedef vector<string> Strings,
13406 (expand::ExportFormats): introduce typedef vector<Format const *>
13407 Formats, and use it.
13408 (expand): implement FloatListInsert and FloatInsert.
13410 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13411 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13412 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13414 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13416 (Dispatch::LFUN_FLOAT_LIST): implement
13418 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13420 * LaTeX.C (run): Fix problem with --export code.
13422 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13424 * BufferView.[Ch] (workarea): removed.
13425 (getClipboard) new method; wrapper for workarea()->getClipboard()
13427 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13430 * WorkArea.h (width, height, xpos, ypos): These methods all
13431 returned the dimensions of the work_area sub-area of WorkArea,
13432 resulting in a position error if the WorkArea were resized. Now
13433 return the dimensions of the entire WorkArea.
13435 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13437 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13439 * LaTeX.C (deplog): correct the syntax of regex reg1
13441 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * undo.C: remove !NEW_INSETS cruft
13445 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * text2.C: remove !NEW_INSETS cruft
13449 * text.C: remove !NEW_INSETS cruft
13451 * tabular.C: remove !NEW_INSETS cruft
13453 * spellchecker.C: remove !NEW_INSETS cruft
13455 * lyxtext.h: remove !NEW_INSETS cruft
13457 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13459 * lyxfunc.C: remove !NEW_INSETS cruft
13461 * lyxfind.C: remove !NEW_INSETS cruft
13463 * lyx_cb.C: remove !NEW_INSETS cruft
13465 * figureForm.C: remove !NEW_INSETS cruft
13467 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13469 * buffer.[Ch]: remove !NEW_INSETS cruft
13471 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13473 * CutAndPaste.C: remove !NEW_INSETS cruft
13475 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13477 * BufferView2.C: remove !NEW_INSETS cruft
13479 * BufferView.h: remove !NEW_INSETS cruft
13481 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13483 * Lsstream.h: include LString.h before the sstream headers to
13484 fix problem with gcc 2.95.3 and lyxstring
13486 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13488 * lyx_main.C: add using directives when needed for C functions
13489 declared in std:: namespace.
13491 2001-04-27 Juergen Vigna <jug@sad.it>
13493 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13494 (SetHeightOfRow): comment out the update call should not be needed!
13496 2001-04-13 Juergen Vigna <jug@sad.it>
13498 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13499 (LyXTabular): tried to minimize operator= operations (and realized
13500 hopfully Lars wish).
13502 2001-04-27 Juergen Vigna <jug@sad.it>
13504 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13506 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13510 * buffer.C (readInset): hack to make listof algorithm work
13512 * BufferView_pimpl.C: hack to make listof algorithm work
13514 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13516 * LyXAction.C: removed all !NEW_INSETS cruft
13517 (init): moved lfun_item in method
13519 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13521 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13523 * BufferView2.C (theLockingInset): white space.
13525 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13527 * minibuffer.C: include <iostream>
13529 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13531 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13533 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13535 * text.[Ch] (TransposeChars): new method
13537 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13539 * call message directly through LyXView instead of through LyXFunc
13540 * BufferView2.C: adjust
13541 * BufferView_pimpl.C: adjust
13542 * FontLoader.C: adjust
13544 * bufferview_funcs.C: adjust
13545 * converter.C: adjust
13546 * figureForm.C: adjust
13547 * importer.C: adjust
13549 * lyx_gui_misc.C: adjust
13550 * lyxfunc.C: adjust
13553 + more files in subdirs
13555 * lyxparagraph.h (size): move up int file
13558 * adjust all uses of Assert to lyx::Assert.
13560 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13561 lyxfunctional in namespace lyx
13562 * layout.C (hasLayout): ditto
13565 (delete_layout): ditto
13566 (NumberOfClass): ditto
13567 * converter.C (GetFormat): ditto
13572 * bufferlist.C (getFileNames): ditto
13573 (emergencyWriteAll): ditto
13576 * MenuBackend.C (hasSubmenu): ditto
13579 * BufferView_pimpl.C (getInsetByCode): ditto
13581 2001-04-18 Juergen Vigna <jug@sad.it>
13583 * vspace.C (asLatexString): fixed the 100% problem.
13585 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13587 * lyxfunc.C (Dispatch):
13589 * minibuffer.h: add a few std:: qualifiers
13591 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * minibuffer.[Ch]: reimplement so that commands is initiated and
13594 run from lyxfunc, simplified som handling, and made the completion
13595 and history code for complete. wip.
13597 * lyxfunc.C (processKeySym): call message
13598 (miniDispatch): new temporary method
13599 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13600 (LFUN_MESSAGE): implement
13601 (LFUN_MESSAGE_PUSH): implement
13602 (LFUN_MESSAGE_POP): implement
13603 (initMiniBuffer): the initial/defualt minibuffer message.
13605 * lyxfont.[Ch]: inline some more getters
13607 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13609 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13611 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13612 (AutoSave): use LFUN_MESSAGE
13613 (Reconfigure): ditto
13615 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13617 * figureForm.C: use LFUN_MESSAGE
13619 * converter.C (runLaTeX): use LFUN_MESSAGE
13621 * bufferview_funcs.C: use LFUN_MESSAGE
13623 (changeDepth): ditto
13625 * bufferparams.h: use boost::
13627 * bufferlist.h: inherit privately from noncopyable
13629 * bufferlist.C (loadLyXFile): remove some commented code.
13631 * buffer.C (runChktex): use LFUN_MESSAGE
13633 * ShareContainer.h: inherit privately from noncopyable
13635 * ParagraphParameters.[hC] (depth): inline it.
13637 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13639 (message): new method
13640 (messagePush): ditto
13641 (messagePop): ditto
13642 (show): init minibuffer
13643 (showState): direct call
13645 * LaTeX.[Ch]: inherit privately from noncopyable
13646 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13647 instead of WriteStatus.
13649 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13651 * BufferView_pimpl.C (buffer): don't init minibuffer
13652 (workAreaButtonPress): use LFUN_MESSAGE
13653 (workAreaButtonRelease): ditto
13654 (savePosition): ditto
13655 (restorePosition): ditto
13656 (MenuInsertLyXFile): ditto
13657 (workAreaExpose): don't init minibuffer
13658 (update): remove commented code, simplify
13660 * BufferView2.C (openStuff): use LFUN_MESSAGE
13661 (toggleFloat): ditto
13664 (copyEnvironment): ditto
13665 (pasteEnvironment): ditto
13670 (updateInset): remove some commented code
13672 * lastfiles.h: inherit privately from noncopyable
13675 * lyx_main.h: ditto
13677 * lyxlex_pimpl.h: ditto
13679 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13680 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13681 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13683 * LyXAction.h: inherit privately from noncopyable, add methods
13684 func_begin, func_end, returning iterators to the func map.
13686 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13687 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13688 (func_begin): new method
13689 (func_end): new method
13691 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13693 (copySelection): ditto
13694 (pasteSelection): ditto
13696 * BufferView.C: whitespace change
13697 * BufferView.h: inherit privately from noncopyable
13699 2001-04-16 Allan Rae <rae@lyx.org>
13701 * tabular-old.C (l_getline):
13702 * spellchecker.C (sc_check_word):
13703 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13704 an unrecognised preprocessor directive. So ensure they're wrapped.
13706 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13708 * src/exporter.C (Export): Give an error message when path to file
13711 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13713 * LaTeX.C (deplog): Always check that foundfile exists.
13715 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13718 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13720 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13722 * tabular.[Ch] (getLabelList): implement new method
13724 * minibuffer.h: comment ouf setTiimer
13726 * minibuffer.C (ExecutingCB): constify res
13727 (peek_event): constify s
13728 (Set): constify ntext
13729 (Init): constify nicename
13731 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13733 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13734 (savePosition): use two params to Minibuffer::Set
13735 (restorePosition): ditto
13737 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13739 * lyx_main.C: include language.h
13741 * Makefile.am (lyx_main.o): add language.h
13743 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13749 * CutAndPaste.C: include gettext.h
13751 * lyxfont.h: remove old hack with ON and OFF.
13754 * lyxfont.h: do not include language.h...
13759 * bufferview_funcs.C:
13765 * paragraph.C: ... but do it here instead
13767 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13769 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13771 * tabular.C: small reformat
13773 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13776 (BreakParagraph): ditto
13777 (SetOnlyLayout): ditto
13780 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13783 * lastfiles.C: removed most using decl, add std:: where needed
13785 * buffer.C: ws changes
13787 * MenuBackend.C (class compare_format): put into anon namespace
13788 (expand): constify label, names, action, action2
13791 * text.C (SingleWidth): constify font
13792 (IsBoundary): constify rtl2
13793 (GetVisibleRow): constify ww
13795 * LaTeX.C (deplog): constify logfile
13797 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13799 (workAreaExpose): constify widthChange, heightChange
13801 * lyxrow.C (par): moved
13804 * lyxrow.h: as inlines here
13806 * lyxfont.h (shape): moved from lyxfont.C
13807 (emph): moved from lyxfont.C
13809 * lyxfont.C (LyXFont): use initialization list for all
13811 (shape): move to lyxfont.h as inline
13812 (emph): move to lyxfont.h as inline
13815 2001-04-04 Juergen Vigna <jug@sad.it>
13817 * vspace.C: had to include stdio.h for use of sscanf
13819 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13822 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13823 independent of xforms.
13825 2001-04-02 Juergen Vigna <jug@sad.it>
13827 * spellchecker.C: fixed namespace placing!
13829 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13831 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13832 the LyXParagraph * is 0.
13834 2001-03-29 Juergen Vigna <jug@sad.it>
13836 * vspace.C: added support for %, c%, p%, l%.
13837 (stringFromUnit): added helper function.
13838 (asLatexString): changed to give right results for the %-values.
13840 * buffer.C: convert the widthp in a width%.
13842 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13844 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13847 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13848 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13850 * lyx_cb.[Ch]: see above.
13852 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13856 * lyx.[Ch]: replaced by figure_form.[Ch].
13860 * lyxfunc.C: changed headers associated with above changes.
13862 2001-03-27 Juergen Vigna <jug@sad.it>
13864 * BufferView_pimpl.C: set the temporary cursor right!
13866 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13868 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13870 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13872 * LString.h: removed "using std::getline"!
13874 * BufferView_pimpl.C (Dispatch): changes due to changes in
13875 InsetInclude::Params.
13877 * buffer.C (tag_name): removed redundant break statements as they were
13878 producing lots of warnings with my compiler.
13880 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * LString.h: add "using std::getline" when using the real <string>.
13884 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13886 * buffer.C: removed bitset usage.
13887 PAR_TAG moved to an anonymous name space.
13888 (tag_name): new funtion, also in the anonymous namespace.
13889 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13890 (makeDocBookFile): clean code. Completed transition from string arrays
13892 (SimpleDocBookOnePar): code clean.
13894 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13896 * tabular.C: add some comments.
13898 2001-03-22 Juergen Vigna <jug@sad.it>
13900 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13901 compatibility read a bit and fixed bug with minipage in different
13904 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13906 * buffer.C (pop_tag): removed.
13907 (push_tag): removed.
13908 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13909 array replaced with vector. Added support for CDATA sections.
13910 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13912 (makeDocBookFile): XML conformant declaration of CDATA section,
13913 fixed bug related to <emphasis> in the first paragraph char.
13914 (sgmlOpenTag): exclude empty tags.
13915 (sgmlCloseTag): ditto.
13917 * buffer.h (pop_tag): removed.
13918 (push_tag): removed.
13920 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13922 * language.h (Languages): added size_type and size().
13924 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13926 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13927 response on compability reading of minipages. One probliem is that
13928 the old usage of minipages was «flertydig»
13930 * several files here and in subdirs: don't use static at file
13931 scope use anon namespaces instead.
13933 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13935 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13936 LaTeX output. This is necessary for Literate document
13939 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13941 * buffer.C: insert hfill when needed.
13943 * tabular.C (l_getline): use string::erase, small whitespace change.
13945 * BufferView_pimpl.C: try the anon namespace.
13946 * WorkArea.C: ditto
13948 2001-03-16 Juergen Vigna <jug@sad.it>
13950 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13951 otherwise it won't open options-dialogs.
13953 * buffer.C: honor pextraWidth(p) on converting minipages.
13955 * tabular.C (l_getline): changed the functions to strip trailing \r.
13957 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13959 * BufferView_pimpl.C:
13960 * minibuffer..C: added "using SigC::slot" declaration.
13962 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13964 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13970 * paragraph.C: ditto
13972 * lyxtext.h: NO_PEXTRA
13974 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13976 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13977 * ParameterStruct.h: ditto
13978 * ParagraphParameters.h: ditto
13979 * lyxparagraph.h: ditto
13981 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13983 * buffer.C: add compability for minipage alignment.
13984 (latexParagraphs): remove unwanted pextra check.
13986 * several files: remove CXX_WORKING_NAMESPACES
13988 * buffer.C (pop_tag): tie is in namespace boost
13990 * BufferView.h: noncopyable is in namespace boost
13992 * lyx_main.h: ditto
13995 * lastfiles.h: ditto
13996 * bufferlist.h: ditto
13997 * ShareContainer.h: ditto
13999 * LyXAction.h: ditto
14002 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14004 * Merging changes from BRANCH_MVC back into HEAD.
14006 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14008 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14010 * BufferView_pimpl.C: change from intl.C
14014 * Makefile.am: move combox.*
14020 * intl.C: remove dialog (covered by prefs)
14022 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14024 * lyxfunc.C (Dispatch): removed redundant break statement.
14026 2001-03-14 Juergen Vigna <jug@sad.it>
14028 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14030 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14032 * buffer.C: add hack to fix compability reading of minipages.
14034 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14036 * buffer.C (getLists): Cleanup.
14038 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14040 * lyxfont.C (update): don't honor toggleall on font size.
14042 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14046 * Makefile.am: moved to frontends/xforms/
14050 * BufferView_pimpl.C: changes for moved mathpanel
14052 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14054 * gettext.h: fix gettext_init() in --disable-nls
14056 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14060 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14063 * lyx.h: strip external form
14065 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14067 * BufferView_pimpl.C: add comment, destroySplash()
14069 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14071 * BufferView_pimpl.C:
14075 * lyxfunc.C: use re-worked insetinclude
14077 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14079 * buffer.C: add using std::stringstream.
14081 * lyx_cb.C: readd using std::ios.
14083 * buffer.C: add using std::map.
14085 * BufferView_pimpl.C: add using std::vector.
14087 * ShareContainer.h: add std:: to swap.
14089 * buffer.h: add some typedefs
14090 * buffer.C (getLists): use them
14091 (getLists): renamed from getTocList.
14092 add a counter for the different float types and use it in the
14094 (getLists): use the same counter for the NEW_INSETS and the "non"
14097 * lyx_cb.h: remove unused items, includes, using etc.
14099 * ShareContainer.h: remove some commented code, add more comments
14100 and "documentation".
14102 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14104 * buffer.C (getTocList): make the list also when NEW_INSETS is
14107 * buffer.h: remove TocType
14109 * buffer.C (getTocList): change to return a map<string,
14110 vector<TocItem> >, implement for dynamic number of list.
14112 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14113 * text2.C (PasteSelection): adjust
14114 * CutAndPaste.C (pasteSelection): adjust
14116 * FloatList.C (FloatList): update from the new_insets branch.
14117 * Floating.[Ch]: ditto
14118 * LaTeXFeatures.C: ditto
14120 * lyxlex_pimpl.C: ditto
14122 * paragraph.C (Last): remove when NEW_INSETS is defined.
14124 * other file: changes because of the above.
14126 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14128 * lyxparagraph.h: rename next to next_, previous to previous_,
14129 make them private for NEW_INSETS. Rename Next() to next(),
14130 Previous() to previous().
14132 * other files: changes because of the above.
14134 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14137 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14140 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14142 * main.C (main): pass lyx_localedir to gettext_init().
14144 * gettext.h: remove locale_init and gettext_init macros
14146 * gettext.C (locale_init): new function
14147 (gettext_init): new function
14149 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14152 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14154 * Moved credits to frontends:
14155 * credits.[Ch]: removed
14156 * credits_form.[Ch]: removed
14157 * lyx_gui_misc.C: remove credits stuff
14160 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14162 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14164 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14165 unneeded destructor.
14167 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14168 a standalone pointer again.
14170 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14172 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14178 * ToolbarDefaults.C:
14187 * BufferView_pimpl.C: use new file dialog in GUII
14190 * lyx_cb.C: remove LayoutsCB to Toolbar
14192 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14194 * ShareContainer.h (get): add std:: qualifier
14196 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14198 * ShareContainer.h: define a proper ShareContainer::value_type
14199 type (and use typename to please compaq cxx)
14201 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14203 * lyxparagraph.h: move serveral local vars to
14204 ParameterStruct/ParagraphParameters., use ShareContainer in
14205 FontTable., make vars in FontTable private and add getter and
14208 * paragraph.C: changes because of the above.
14210 * lyxfont.h: remove copy constructor and copy assignment. (the
14211 default ones is ok), move number inside FontBits. move inlines to
14214 * lyxfont.C: add number to initializaton of statics, move several
14215 inlines here. constify several local vars. some whitespace
14216 cleanup. Dont hide outerscope variables.
14218 * Spacing.h: add two new constructors to match the set methods.
14220 * ShareContainer.h: new file, will perhaps be moved to support
14222 * ParameterStruct.h: new file
14224 * ParagraphParameters.h: new file
14226 * ParagraphParameters.C: new file
14228 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14229 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14231 * BufferView_pimpl.C: ParagraphParameter changes.
14232 * buffer.C: Likewise.
14233 * bufferview_funcs.C: Likewise.
14234 * text.C: Likewise.
14235 * text2.C: Likewise.
14237 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14239 * lyxfind.C (LyXReplace): do not redefine default argument in
14241 (IsStringInText): ditto
14242 (SearchForward): ditto
14243 (SearchBackward): ditto
14245 2001-03-06 Juergen Vigna <jug@sad.it>
14247 * lyxfind.C (IsStringInText): put parentes around expressions.
14249 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14251 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14253 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14255 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14257 * stl_string_fwd.h: add comment
14259 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14262 * tabular.C: remove unused DocBook methods
14268 killed DO_USE_DEFAULT_LANGUAGE
14270 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14272 * lyx_gui.C: do not include language.h.
14274 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14275 arguments in function implementation.
14277 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14279 * BufferView_pimpl.C: add <ctime>
14281 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14283 * BufferView_pimpl.C: add using std::find_if
14285 2001-02-27 José Matos <jamatos@fep.up.pt>
14287 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14290 2001-02-11 José Matos <jamatos@fep.up.pt>
14292 * buffer.C (makeDocBookFile): command styles now have a parameter as
14293 "title" by default.
14295 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14297 * layout_forms.[Ch]: removed
14298 * lyx_cb.[Ch]: out character
14299 * lyx_gui.C: out character
14300 * lyx_gui_misc.C: out character
14301 * bufferview_funcs.C: : out character,
14302 added toggleall as parameter in ToggleAndShow
14304 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14306 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14308 * text2.C (SetCurrentFont): Disable number property at boundary.
14310 2001-02-26 Juergen Vigna <jug@sad.it>
14312 * lyxfunc.C (getStatus): added a string argument override function so
14313 that this is correctly called from LyXFunc::Dispatch if it contains a
14314 do_not_use_argument which is used!
14315 (Dispatch): added check for "custom" export and call appropriate func.
14317 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14319 * lyxrc.C: Add language_command_local, language_use_babel and
14320 language_global_options.
14322 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14324 * buffer.C (makeLaTeXFile): Use language_use_babel and
14325 language_global_options.
14327 2001-02-23 Juergen Vigna <jug@sad.it>
14329 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14330 which works with LyXText and putted it inside BufferView. Here now we
14331 only call for that part the BufferView::Dispatch() function.
14333 * BufferView.C (Dispatch): added.
14335 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14336 functions which needs to use a LyXText over from LyXFunc.
14337 (MenuInsertLyXFile): added
14338 (getInsetByCode): added
14339 (moveCursorUpdate): added
14340 (static TEXT): added
14342 2001-02-22 Juergen Vigna <jug@sad.it>
14344 * BufferView_pimpl.C (update): call a status update to see if LyXText
14347 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14349 * vc-backend.C (revert): implement for CVS
14350 (getLog): implement for CVS
14352 2001-02-20 Juergen Vigna <jug@sad.it>
14354 * text2.C (ClearSelection): added BufferView param for inset_owner call
14356 * lyxfunc.C (TEXT): added this function and use it instead of
14357 directly owner->view()-text of getLyXText().
14359 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14361 * src/layout_forms.C: out preamble
14362 * src/layout_forms.h: out preamble
14363 * src/lyx_cb.C: out preamble
14364 * src/lyx_cb.h: out preamble
14365 * src/lyx_gui.C: out preamble
14366 * src/lyx_gui_misc.C: out preamble
14367 * src/lyxfunc.C: connect with guii preamble
14369 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14371 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14373 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14375 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14376 whether to run bibtex.
14378 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14380 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14382 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14384 * Makefile.am (lyx_SOURCES): removed bibforms.h
14386 * vspace.h: doxygen
14388 * text.C (GetVisibleRow): make several local vars const
14390 * tabular.C: small cleanup.
14392 * lyxserver.C (callback): use compare instead of strncmp
14394 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14395 inlines to after class or to paragraph.C
14397 * lyxfont.h: remove friend operator!=
14399 * converter.h: move friend bool operator< to non friend and after
14402 * combox.h: small cleanup
14404 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14405 to inlines after class def.
14407 * buffer.C (pop_tag): use string operations instead of strcmp
14409 * bmtable.c: doxygen, small cleanup
14411 * LaTeX.h: remove friend operator==
14413 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14425 * BufferView_pimpl.C:
14426 * BufferView.[Ch]: remove cruft
14428 2001-02-14 Juergen Vigna <jug@sad.it>
14430 * lyxfunc.C: removed #if 0 unused code
14432 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14434 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14436 * text2.C (SetSelection): added a BufferView * parameter
14438 2001-02-13 Juergen Vigna <jug@sad.it>
14440 * lyxfunc.C (Dispatch): fixed protected blank problem.
14441 * BufferView2.C (protectedBlank): added LyxText * parameter.
14443 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14444 (AppendColumn): same as above for column_info.
14446 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14447 (moveCursorUpdate): use a LyXText param for support of InsetText.
14449 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14450 (tripleClick): ditto
14452 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14454 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14456 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14458 * text2.C (SetSelection): set correct update status if inset_owner
14459 (ToggleFree): ditto
14461 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14463 * tabular.C: remove some commented code.
14465 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14467 * BufferView_pimpl.C: call hideSplash()
14469 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14472 * bibforms.h: remove
14475 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14476 add LFUN_CHILD_CREATE
14478 * counters.h: fix tiny typo
14483 * lyx.C: move splash to frontends/xforms/
14485 * lyx_gui_misc.C: move Include and Bibform to frontends
14487 * lyxvc.h: clarify comment
14489 * vspace.C: tiny housekeeping
14491 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14493 * text.C (PrepareToPrint): RTL Fix.
14495 * paragraph.C (GetUChar): New method.
14496 (String): Use GetUChar.
14498 * buffer.C (asciiParagraph): Use GetUChar.
14500 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14502 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14504 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14507 * buffer.C: rename to getLogName(), handle
14508 build log / latex log nicely
14510 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14513 * MenuBackend.h: remove support for reference menuitem type.
14515 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14517 * BufferView_pimpl.C: housekeeping
14518 * BufferView_pimpl.h:
14523 * minibuffer.h: move Timeout GUI-I
14525 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14527 * lyxrc.C (read): Update converters data-structures.
14529 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14531 * LaTeX.h (operator!=): add operator != for Aux_Info
14533 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14535 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14537 * LaTeXLog.C: deleted, useful code moved to Buffer
14540 * buffer.C: new function getLatexLogName()
14546 * lyxfunc.C: use frontends for LaTeX and VC logs
14548 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * LaTeX.h: yet another std:: that Allan forgot.
14552 * Variables.C (set): renamed from isset(), because this clashes
14553 with some HP-UX macros (grr).
14555 2001-02-06 Allan Rae <rae@lyx.org>
14557 * LaTeX.h: Another bug fix. Missing std:: this time.
14559 2001-02-04 Allan Rae <rae@lyx.org>
14561 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14562 floats problem. I've left it commented out because it's not quite
14563 correct. It should also test that the current object is a table or
14564 figure inset. But I haven't gotten around to figuring out how to do
14565 that. I *think* it'll be something like: "table" == inset.type()
14567 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14570 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14572 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14573 all the citation/databases/styles in the auxilary file.
14574 (run): Rerun latex if there was a babel language error.
14576 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14578 * text.C (Backspace): Preserve the font when changing newline char
14580 (BreakParagraph): If the cursor is before a space, delete the space.
14582 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14584 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14586 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14587 new argument (code).
14588 (ChangeCitationsIfUnique): New method.
14590 * paragraph.C (GetPositionOfInset): Handle bibkey.
14592 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14594 * BufferView_pimpl.h: change type of Position::par_pos to
14595 LyXParagraph::size_type.
14597 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14599 * BufferView_pimpl.C (savePosition, restorePosition): Write
14600 messages to minibuffer.
14602 2001-01-28 José Matos <jamatos@fep.up.pt>
14604 * buffer.C (makeDocBookFile): adds support for document language.
14605 A silly restriction on the name of LatexCommand types where removed.
14606 Added support for CDATA sections, allows to chars unescaped, used
14607 among others in code, to avoid escape < and >.
14609 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14611 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14612 saved positions instrad of a stack. Furthermore, a position is
14613 stored using paragraph id/paragraph position.
14615 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14616 Remove LFUN_REF_BACK.
14618 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14620 * converter.C (dvipdfm_options): New method.
14622 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14624 * vspace.C (isValidLength): Fix for empty input string.
14626 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14628 * LyXAction.C (init): change description of LFUN_FIGURE to
14631 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14633 * LaTeX.C: add using directive
14635 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14637 * MenuBackend.C (expand): Fix the sorting of the formats.
14639 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14641 * lyx_main.C: tiny error message fix
14643 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14646 calling fl_initialize(). This fixes the problem with ',' as
14647 decimal separator in text files.
14649 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14651 * trans.C (process): Fix the keymap bug.
14653 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14655 * LaTeX.C (scanAuxFiles): New method. Provides support for
14656 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14657 (scanLogFile) Scan for "run BibTeX" messages.
14659 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14660 OT1 font encoding. Also, load the aecompl package if the ae
14663 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14665 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * texrow.C (increasePos): turn two error messages into debug
14670 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14672 * LaTeX.C (scanAux): Handle the \@input macro.
14673 (runBibTeX): Use scanAux().
14675 * language.C (latex_options_): New field.
14677 * LaTeXFeatures.C (getMacros): Add language macros.
14679 * buffer.C (makeLaTeXFile): Small fix.
14681 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14685 * text2.C: add a using directive.
14687 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14692 * lyxfunc.C: kill LyXBell.
14694 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14696 * text.C (IsBoundary): Remove the error message
14698 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14700 * lyxrc.C (setDefaults): Correct initialization value for
14703 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14705 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14708 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14709 and GotoNextNote().
14711 * src/LyXAction.C: Added reference-next.
14713 * text.C (InsertChar): Use contains instead of strchr.
14715 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14717 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14719 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14720 alignment commands (when needed).
14722 * text.C (InsertChar): Add ':' to number separator chars.