1 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3 * lyxfind.C (find): fix argument order in call to ::find
5 2004-02-02 André Pönitz <poenitz@gmx.net>
7 * cursor.[Ch]: remove direct access to anchor
9 * text.C: remove findText() hack
11 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
13 * iterators.[Ch] (lockPath): remove in favour of...
14 * BufferView.[Ch] (setCursor): this addition
15 * BufferView.C (putSelectionAt): adjust
16 * undo.C (performUndoOrRedo): adjust
17 * lyxfunc.C (dispatch): adjust
19 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
21 * iterators.C (lockPath): add a missing slice
22 * undo.C (performUndoOrRedo): remove redundant positioning code
24 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
26 * vc-backend.C (scanMaster): ";" -> ';'
28 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
30 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
33 * lyxtextclass.C (compare_name): rename to...
34 (LayoutNamesEqual): ...this
36 * lyxlex_pimpl.C (compare_tags): inherit from
37 std::binary_function, put back into anon namespace
39 * lyxfind.C (MatchString): inherig from std::binary_function
40 (findChange): use empty() istead of !size()
42 * format.C (FormatNamesEqual): new functor
49 * converter.C (compare_Converter): rename to...
50 (ConverterEqual): ...this, and fixup a bit.
51 (getConverter): use it, and make function const
52 (getNumber): use it, and make function const
56 * bufferlist.C: add using boost::bind
58 * MenuBackend.C (MenuNamesEqual): new functor
59 (hasMenu): use it, and make function const
60 (hasSubmenu): use nested bind to get rid of compare_memfun.
62 2004-01-30 André Pönitz <poenitz@gmx.net>
75 * text3.C: move some of the edit(x,y) handling to the insets
76 some coordinate changes.
78 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
80 * text.C: add using statements for std::advance and std::distance
82 * paragraph.C: add using statement for std::distance
84 * lyxfind.C: add using statement for std::advance
86 * cursor.C (region): remove std:: from swap
87 (openable): use nucleus in stead of operator->
89 * BufferView.C: add using statements for std::distance and std::swap
91 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
93 * iterators.C: Remove the pimple, move the needed structures to
94 the header file. Create accessor for the positions stack.
95 (asPosIterator): remove function
97 * PosIterator.C (PosIterator): move constructors to top of file
98 (PosIterator): reimplement the constructor taking a ParIterator in
100 (setFrom): new function
101 (operator!=): inline it
103 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
105 * lyxfind.C (replaceAll): use std::advance
107 * iterators.h: inherit from std::iterator.
109 * PosIterator.C (advance, distance): remove
110 * PosIterator.h: interit from std::iterator.
112 2004-01-26 André Pönitz <poenitz@gmx.net>
115 * BufferView_pimpl.[Ch]:
119 * bufferview_funcs.C:
130 * output_plaintext.C:
132 * paragraph_funcs.[Ch]:
133 * paragraph_pimpl.[Ch]:
139 * text3.C: more IU: dumps most of the rest of the mathcursor
140 implementation into cursor.[Ch]; "globalize" a bit of it.
142 2004-01-25 Angus Leeming <leeming@lyx.org>
144 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
146 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * LaTeXFeatures.h: add nice_ and nice() const
149 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
151 2004-01-20 André Pönitz <poenitz@gmx.net>
154 * BufferView_pimpl.C:
156 * bufferview_funcs.C:
169 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
170 LCursor and mathcursor parts to LCursor and InsetBase.
172 2004-01-15 André Pönitz <poenitz@gmx.net>
174 * cursor_slice.[Ch]: add a few covienience functions
176 * funcrequest.[Ch]: remove BufferView * member
178 * BufferView_pimpl.C:
185 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
187 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
189 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
190 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
192 2004-01-13 André Pönitz <poenitz@gmx.net>
195 * lyxtext.h: hide cursor and selection anchor behind accessor function
198 * BufferView_pimpl.[Ch]:
200 * bufferview_funcs.C:
210 * cursor_slice.[Ch]: some integer type changes for inset unification
212 * lyxcursor.[hC]: remove, it's CursorSlice now.
215 * BufferView_pimpl.[Ch]:
216 * bufferview_funcs.C:
222 * textcursor.[Ch]: adjust
224 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
226 * text2.C (undoSpan): add and use
227 * text.C (breakParagraph): use undoSpan (fix bug 578)
230 2004-01-08 Angus Leeming <leeming@lyx.org>
232 * BufferView_pimpl.C (MenuInsertLyXFile):
233 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
234 * lyxfunc.C (menuNew, open, doImport):
235 FileFilterList change to the FileDialog open and save functions.
237 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
239 * ShareContainer.h: make isEqual and isUnique adaptable
241 * CutAndPaste.C: make resetOwnerAndChanges adaptable
243 2004-01-07 Angus Leeming <leeming@lyx.org>
246 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
248 * BufferView_pimpl.C (dispatch): act on these LFUNs.
250 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
251 functions replacing find, replace and replaceAll.
253 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
254 LFUN_WORDFIND(FORWARD|BACKWARD).
256 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
258 * text.C (breakParagraph): remove an outdated #warning
260 2004-01-07 André Pönitz <poenitz@gmx.net>
262 * lyxfind.C: somewhat clearer logic
264 * text.C: prevent crash in cursorX on unitialized row cache
266 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
268 * lyxcursor.[Ch] (operator>): add
269 * textcursor.C (selStart, selEnd): use std::min and std::max
271 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
273 * Chktex.C: include boost/format.hpp
275 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
277 * InsetList.C: replace functor MathcIt with adaptable functor
279 (insetIterator): modify accordingly
281 * BranchList.h: move the BranchNamesEqual functor here from...
282 * BranchList.C: ... to here
284 * BranchList.C: new BranchListEqual fuctor, use it. Remove
286 (add): replace a finding loop with std::find_if.
288 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
290 * output_docbook.C: moving LatexParam functionality into
293 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * buffer.C: increment format to 229.
297 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
300 * lyx_sty.[Ch]: remove minipageindent_def
306 * text3.C: remove LFUN_INSET_MINIPAGE
308 2003-12-28 Angus Leeming <leeming@lyx.org>
310 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
312 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
314 * text2.C (setParagraph): fix off-by-one crash
316 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
318 * output_docbook.C: header stuff for AGU
320 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
322 * text2.C (redoCursor): remove
325 * BufferView_pimpl.C: remove calls to redoCursor and
326 setCursor(cursor.par(), cursor.pos()) all around
328 2003-12-15 Angus Leeming <leeming@lyx.org>
330 * buffer.C: up the format to 228.
332 2003-12-15 André Pönitz <poenitz@gmx.net>
334 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
339 * BufferView_pimpl.C:
348 2003-12-15 Angus Leeming <leeming@lyx.org>
350 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
351 than getFromGUIName to manipulate the color.
353 2003-12-14 Angus Leeming <leeming@lyx.org>
355 * BranchList.[Ch]: minimize the API.
356 (Branch::getBranch, getColor): now return a 'const &'.
357 (Branch::setSelected) now returns a bool set to true if the
358 selection status changes.
359 (BranchList::clear, size, getColor, setColor, setSelected,
360 allBranches, allSelected, separator): removed.
361 (BranchList::find): new functions, returning the Branch with
363 (BranchList::add, remove): return a bool indicating that
364 the operation was successful.
366 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
367 new InsetBranch::isBranchSlected member function.
369 * LColor.[Ch]: mimimize the API.
370 (fill): renamed as addColor and made private.
371 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
372 versions of these functions taking a string arg have been removed.
374 * bufferparams.C (readToken):
375 * lyxfunc.C (dispatch):
376 * lyxrc.C (read): changes due to the altered BranchList and
379 * factory.C (createInset, readInset): changes due to altered
382 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * lyxfunc.C: remove insetminipage. "minipage-insert"
386 now produces a frameless minipage box inset.
388 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
390 * textcursor.[Ch] (selStart,selEnd): add new methods
391 remove selection::start, end, use LyXCursor::operator<
392 * lyxcursor.[Ch] (operator<): add
393 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
394 * BufferView.[Ch] (unsetXSel): add
395 * text2.C (clearSelection): use unsetXSel,adjust
398 * rowpainter.C: adjust
399 * bufferview_funcs.C (put_selection_at): adjust
401 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
403 * BufferView_pimpl.C: small coord. correction
405 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
407 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
408 dragging over the splash screen.
410 2003-12-11 Angus Leeming <leeming@lyx.org>
412 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
413 as it is now handled in LyXText::dispatch.
415 * text3.C (doInsertInset): remove a level of nesting.
417 2003-12-11 Angus Leeming <leeming@lyx.org>
419 * factory.C (createInset): changes due to the changed interface to
420 InsetCommandMailer::string2params.
422 2003-12-10 Angus Leeming <leeming@lyx.org>
424 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
425 'dialog-show-new-inset <inset name>'
427 2003-12-10 Angus Leeming <leeming@lyx.org>
429 * buffer.C: up the format to 227.
431 * factory.C: the box inset is now identified simply by 'Box'.
433 2003-12-10 Angus Leeming <leeming@lyx.org>
435 * buffer.C: up the format to 226.
437 * factory.C: the note inset is now identified simply by 'Note'.
439 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
441 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
442 when a pit is enough. Standarize a couple of loops.
444 2003-12-05 Angus Leeming <leeming@lyx.org>
446 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
447 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
448 data to the re-worked "log" dialog.
450 2003-12-03 André Pönitz <poenitz@gmx.net>
458 * text2.C: use Inset::getText instead of Inset::getParagraph
460 2003-12-03 André Pönitz <poenitz@gmx.net>
464 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
465 InsetText::read() as LyXText::read()
467 2003-12-02 Angus Leeming <leeming@lyx.org>
469 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
470 type. Add a comment in the implementation that the function uses
471 the stream's bad() function rather than fail() as the std::streams
474 2003-12-02 André Pönitz <poenitz@gmx.net>
476 * lyxlex.[Ch]: make interface more similar to std::stream
478 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
480 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
482 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
484 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
486 * vspace.[Ch]: remove VSpace::NONE
488 2003-12-01 André Pönitz <poenitz@gmx.net>
491 * lyxtext.h: move ParagraphList member to LyXText
492 rename LyXText::ownerParagraphs to LyXText::paragraph
495 * bufferview_funcs.C:
505 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
507 * undo.C: fix cursor positioning
509 2003-12-01 John Levon <levon@movementarian.org>
511 * BufferView_pimpl.C: fix a crash on exit with
514 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
516 * BranchList.C: fix setSelected() method.
518 2003-11-28 André Pönitz <poenitz@gmx.net>
520 * ParagraphParameters.[Ch]:
521 * ParameterStruct.h: remove space above/below from Paragraph to
524 * BufferView_pimpl.C:
536 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
538 * factory.C: Syntax change for CharStyles
540 2003-11-28 André Pönitz <poenitz@gmx.net>
545 * buffer.[Ch]: move LyXText member
547 2003-11-28 André Pönitz <poenitz@gmx.net>
549 * BufferView.[Ch]: make LyXText * text a private member
551 * BufferView_pimpl.C:
562 * output_plaintext.C: cleanup
564 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
567 * lyxtextclass.[Ch]: parametrize SGML document header
569 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
572 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
575 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
577 * text2.C (setFont): rework using PosIterator (no more recursive)
578 (setCharFont): no more needed
579 (setLayout): no more selection cursors fiddling (done by redoCursor)
580 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
581 destroy remaining ones)
583 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
585 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
587 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
590 * text3.C: adjust + re-allow multi par depth changes
591 * textcursor.C: simplify a bit
593 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
599 * src/output_docbook.C:
600 * src/output_latex.C:
605 * src/text2.C: Introducing a number of tags parametrizing various
606 XML formats that we may want to support
608 2003-11-25 André Pönitz <poenitz@gmx.net>
610 * InsetList.[Ch] (begein, end): inline as suggested by profiler
612 * lyxtext.h (leftMargin/rightMargin): simplify interface
619 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
621 * lyxfunc.C (dispatch): propogate the bibtex databases from the
622 master file to any child files. Fixes bug 546.
624 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
626 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
628 2003-11-24 André Pönitz <poenitz@gmx.net>
630 * rowpainter.C: simplification
632 * text2.C (updateCounters): remove call to redoParagraph on
633 changed labels as this is far too expensive.
635 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
637 * converter.C (convert): fix a crash: this function gets
638 called with buffer == 0 from importer code.
640 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
642 * text3.C (cursorPrevious): make sure that we do not compare
643 iterators form different containers.
646 * rowpainter.C (paintSelection): make sure that we do not compare
647 iterators from different containers.
649 * text3.C (dispatch): [PRIOR] make sure that we do not compare
650 iterators from different ParagraphList containers.
653 * text2.C (LyXText): change order of initialization slightly
654 (operator=): new function. copy all variables except cache_par_
655 (moveUp): make sure that we do not compare iterators from
656 different ParagraphList constainers.
659 * text.C (firstPar): new function
660 (lastPar): new function
661 (endPar): new function
663 * lyxtext.h: move things around and group public functions, public
664 variables, private functions, private variables
666 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
668 * factory.C: change call to InsetERT constructor to avoid
669 additional invocation of method status
670 * text2.C (toggleInset): remove redundant update() call
671 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
672 instead of a Bufferview pointer
674 2003-11-21 André Pönitz <poenitz@gmx.net>
676 * rowpainter.C: simplification
678 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
680 * text3.C (dispatch): make possible to extend a word/row selection
683 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
685 * lyxtext.h: x0_,y0_ -> xo_,yo_
686 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
687 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
688 * rowpainter.C (paintRows): paint full paragraphs
690 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
692 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
695 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
697 * lyxtext.h: add x0_, y0_
698 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
699 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
701 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
703 * text2.C (setCursorIntern): move the x_target update here *
704 * text3.C: change some bv() to true/false in calls to
705 cursorUp/Down/Right/Left
706 * cursor.C: use helper function.
708 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
710 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
711 * paragraph_funcs.[Ch]: correct comment
712 * rowpainter.C: do not paint selections away from bv->cursor()
713 Fix a long standing selection painting bug.
714 * text3.C: generalize mouse-selection code to LyXTexts other that
716 * textcursor.C: do not use y coords if we can use par offsets
718 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
720 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
721 cursor position after e.g. inset insert)
723 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
725 * lyxfind.C (replace): adjust to locking removal + some
728 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
730 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
733 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
736 * output_docbook.C: XML sanitation: new layout
737 parameters InnerTag and CommandDepth
739 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
741 * BufferView_pimpl.C:
743 * text3.C: Fix the insertion and modification of button-style
746 2003-11-13 André Pönitz <poenitz@gmx.net>
748 * InsetList.[Ch]: remove deleteLyXText
750 * paragraph.[Ch]: cache beginOfBody position
755 * text3.C: remove superfluous update() calls
759 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
761 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
762 * BufferView.C (fitLockedInsetCursor): remove
763 * cursor.[Ch] (getDim): add
764 * text.C (getRowNearY): add faster version
765 * text3.C: remove some update calls
767 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
779 * text3.C: The Character Style /XML short element patch.
781 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
784 * factory.C: Small step to solving 'unable to insert some insets'
787 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
789 * cursor.[Ch] (updatePos): new function for updating the y
790 position of the tip inset
791 * bufferview_funcs.C (put_selection_at):
792 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
794 2003-11-11 André Pönitz <poenitz@gmx.net>
796 * text.C: remove big comment on invalid Paragraph pointers as it is
799 2003-11-11 André Pönitz <poenitz@gmx.net>
801 * text_funcs.[Ch]: merge with ...
809 * Makefile.am: remove text_funcs.[Ch]
811 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
813 * cursor.C (getPos): return absolute cached y coord
815 * BufferView_pimpl.C (fitCursor): new simplistic code
816 (workAreaDispatch): add a fitCursor call
818 2003-11-10 André Pönitz <poenitz@gmx.net>
821 * BufferView_pimpl.[Ch]: merge update() and updateInset()
823 2003-11-10 André Pönitz <poenitz@gmx.net>
825 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
826 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
827 indicate that the cursor needs to leave an inset
829 * lyxtext.h: remove inset locking
831 * cursor.[Ch]: re-implement functionality provided by inset locking
834 * BufferView_pimpl.[Ch]:
836 * bufferview_funcs.[Ch]:
848 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
850 * PosIterator.[Ch]: replace the stack with a vector, add inset
852 * iterators.[C]: adjust
854 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
856 * lyxfind.C (replaceAll): mark the buffer dirty if something was
858 * paragraph_funcs.C (readParToken): put the correct id in the
859 error item, not the id of the top paragraph
861 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
863 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
864 * bufferview_funcs.C (put_selection_at): use the above
866 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
868 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
870 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * output_plaintext.h:
875 * output_docbook.h: add #include statements
877 2003-11-05 José Matos <jamatos@lyx.org>
879 * output_docbook.[Ch]:
881 * output_linuxdoc.[Ch]:
882 * output_plaintext.[Ch]: New files for output formats.
883 * output.[Ch]: New file for helper functions.
886 * paragraph_funcs.[Ch]: output functions moved to new files.
888 * outputparams.h: rename of latexrunparams.h
896 * paragraph_funcs.[Ch]:
897 * paragraph_pimpl.[Ch]:
898 * tabular.[Ch]: rename ascii to plaintext
899 and LatexRunParams to OutputParams.
901 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
903 * iterators.[Ch] (text): require bv argument
904 * undo.C (recordUndo):
905 * lyxfunc.C (dispatch):
906 * bufferview_funcs.C (put_selection_at): adjust
908 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
910 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
912 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
914 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
917 2003-11-04 André Pönitz <poenitz@gmx.net>
919 * cursor.[Ch]: restructure
922 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
924 * iterators.[Ch] (asCursor): remove
926 * lfuns.h: remove LFUN_INSET_EDIT
932 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
934 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
936 * lyxfind.[Ch]: complete overhaul
937 * BufferView_pimpl.C:
939 * paragraph.[Ch] (insert): add
941 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
945 * text.C: remove dead spellcheck code
947 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * dispatchresult.h: add a val setter
951 * cursor.C (dispatch): use a tempvar for data_[i]
953 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
955 * PosIterator.[Ch]: compile fix
957 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
959 * text.C (cursorPar): deactivate the cursor cache
961 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
963 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
965 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
967 * text3.C (dispatch): adjust for new DisptchResult semantics.
969 * lyxfunc.C (dispatch): handle update when return from
970 Cursor::dispatch, adjust for new DispatchResult semantics.
972 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
973 DispatchResult(true) mean to not update. Add class functions for
974 setting dispatched and update, as well as reading.
976 * cursor.C (dispatch): don't handle update here
978 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
980 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
981 * trans_mgr.C: adjust
983 * paragraph_funcs.C (readParToken): exception safety
985 * lyxvc.h: store the vcs pointer in a scoped_ptr
988 * lyxsocket.C (serverCallback): exception safety
990 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
992 * ispell.C (clone): make it return a auto_ptr
994 * factory.C (createInset): exception safety
995 (readInset): exception safety
997 * bufferlist.C (newBuffer): exception safety
999 * Thesaurus.C (Thesaurus): use initialization for aik_
1001 * MenuBackend.C (expandToc): exception safety.
1003 2003-11-03 André Pönitz <poenitz@gmx.net>
1007 * bufferview_funcs.C: remove getInsetFromId()
1010 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1016 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1018 * PosIterator.C (distance, advance): new
1019 * bufferview_funcs.[Ch] (put_selection_at): new
1020 * iterators.[Ch] (lockPath): new
1022 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1024 * iterators.[Ch] (asPosIterator): added
1025 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1026 * PosIterator.[Ch]: added
1028 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * cursor.C (dispatch):
1033 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1035 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1036 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1037 contructor, add a class function dispatched. Remove operator>=
1039 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * debug.C: only use the default constructor for debugstream
1044 * main.C (main): include debug.h and setup the lyxerr streambuf
1047 2003-10-31 José Matos <jamatos@lyx.org>
1049 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1051 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1052 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1053 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1054 * paragraph_pimpl.C (simpleTeXSpecialC):
1055 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1056 add LatexRunParams argument.
1058 * exporter.C (Export): change call accordingly.
1060 * latexrunparams.h: add new member to take care of the other backends.
1061 2003-10-30 José Matos <jamatos@lyx.org>
1063 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1064 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1065 factorise code for paragraph output.
1067 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1070 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1072 * text3.C (dispatch):
1073 * lyxfunc.C (dispatch):
1074 * cursor.C (dispatch):
1075 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1077 * dispatchresult.h: make the dispatch_result_t ctor explicit
1079 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1082 * buffer.C: small refactoring of docbook stuff
1084 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1086 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1089 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1091 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1092 operator dispatch_result_t, and operators for == != and >=
1094 * cursor.C (dispatch): adjust for operator dispatch_result_t
1095 removal. comment out call to update
1097 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1099 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1110 * dispatchresult.h: new file, DispatchResult broken out of
1113 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1115 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1117 * text.C (rowBreakPoint): put a hack inside #if 0
1119 2003-10-28 André Pönitz <poenitz@gmx.net>
1123 * paragraph_funcs.C:
1126 * text2.C: general cleanup (lots of small stuff)
1128 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1130 * text2.C (cursorEnd): simple fix to the "end key goes to one
1131 before the end on last row" bug
1133 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1135 * text.C (backspace): fix the "zombie characters"
1137 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1139 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1141 2003-10-27 André Pönitz <poenitz@gmx.net>
1143 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1145 * factory.C: handle new InsetPagebreak, InsetLine
1147 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1148 and move handling into new InsetPagebreak, InsetLine
1150 * BufferView_pimpl.C:
1152 * ParagraphParameters.C:
1153 * ParameterStruct.h:
1158 * paragraph_funcs.C:
1159 * paragraph_pimpl.C:
1165 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1168 * lyxrow_funcs.[Ch]:
1174 * text3.C: remove lastPos uses in favour of Row::endpos
1176 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1178 * undo.C (performUndoOrRedo): fix two crashes by setting a
1179 cursor by hand and reordering some calls. Use bv->lockInset instead
1180 of inset->edit because the latter loses cursor information
1182 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1184 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1186 (rowBreakPoint): fix width. change point to point + 1.
1187 Add a missing check.
1189 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1192 * lyxfunc.C: fix (at least partly) the problems
1193 with the Nav menu and headers inside branch insets
1196 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1198 * paragraph.C (getChar): add strong asserts
1200 * lyxrow_funcs.C (lastPos): remove hideous hack
1202 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1203 (fill): adjust to that (avoid an infinite loop)
1205 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1207 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1209 2003-10-23 André Pönitz <poenitz@gmx.net>
1211 * RowList_fwd.h: change list<> to vector<> to gain speed
1212 after suggestion from Alfredo
1214 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1216 * lyxtext.h: move the bidi stuff from here...
1219 * Bidi.[Ch]: ... to here
1221 2003-10-23 André Pönitz <poenitz@gmx.net>
1224 * text.C (isLastRow, isFirstRow): new functions
1226 * paragraph.h: new width cache member
1228 * rowpainter.C: replace RowList::iterator with Row & where possible
1230 * lyxfunc.C: replace several view()->text with a single call
1232 * toc.C: fix 'unused' warning
1234 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1236 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1237 when woring with stream::pos_type
1238 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1240 2003-10-22 André Pönitz <poenitz@gmx.net>
1243 * text.C: use Row & instead of RowList::iterator
1245 * lyxrow.h: rename end() to endpos()
1251 2003-10-22 Angus Leeming <leeming@lyx.org>
1253 * buffer.[Ch] (fully_loaded): new member function, returning true
1254 only when the file has been loaded fully.
1255 Used to prevent the premature generation of previews and by the
1256 citation inset to prevent computation of the natbib-style label.
1258 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1259 templates are all set up.
1261 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1263 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1265 * text.C: fixed an "oops" in the "is a bit silly"
1268 2003-10-21 André Pönitz <poenitz@gmx.net>
1270 * FuncStatus.[Ch]: small stuff, whitespace
1272 * lyxfont.[Ch]: operator<<() for debug reasons
1276 * lyxtext.h: whitespace, spelling
1278 * paragraph.C: naming of variables
1281 * text2.C: small stuff
1284 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1286 * text.C: (1) finish off the inset display() work;
1287 (2) fix the "is a bit silly" bug (accessing char
1290 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1292 * text.C: re-introduce display() for insets, fixing the
1293 various bugs (stretch of line above, math inset
1296 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * text.C (rightMargin): remove spurious semicolon
1300 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1303 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1305 * text3.C: fix one crash due to wrong cursor def
1307 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * vc-backend.C (scanMaster): make the regex static
1311 * LaTeX.C (scanAuxFile): make the regexs static
1313 * text3.C (doInsertInset, dispatch, dispatch):
1314 * text2.C (cursorUp, cursorDown):
1315 * text.C (selectNextWordToSpellcheck):
1316 * BufferView_pimpl.C (dispatch):
1317 * lyxfunc.C (dispatch): localDispatch -> dispatch
1319 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1321 * lyxsocket.C: include <cerrno>
1323 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * lyxfunc.C (dispatch): remove textcache stuff
1327 * bufferlist.C (release): remove textcache stuff
1330 * TextCache.C: delete file
1331 * TextCache.h: delete file
1333 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1335 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1336 delete of the bv_->text.
1337 (resizeCurrentBuffer): remove texcache stuff
1338 (workAreaResize): ditto
1340 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1345 2003-10-16 André Pönitz <poenitz@gmx.net>
1352 * text3.C: speed up by storing y positions per paragraph plus per-row
1353 offset instead of having a 'full' y position in the row.
1355 2003-10-15 André Pönitz <poenitz@gmx.net>
1359 * undo.[Ch]: make undo aware of inner insets
1361 2003-10-14 Angus Leeming <leeming@lyx.org>
1363 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1364 static member functions LyX::ref() and LyX::cref.
1365 (lastfiles): new accessor functions for the new lastfiles_ member var.
1366 (addLyXView, views_): add a new LyXView to the list of views_.
1367 (updateInset): loop over all LyXViews to call their own updateInset
1368 member function, returning a pointer to the Buffer owning the inset.
1370 * BufferView_pimpl.C (loadLyXFile):
1371 * MenuBackend.C (expandLastfiles):
1372 * bufferlist.C (MenuWrite, QuitLyX):
1373 lastfiles is no longer a global variable.
1374 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1376 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1377 static function. Access through LyX::cref().emergencyCleanup().
1379 2003-10-14 André Pönitz <poenitz@gmx.net>
1381 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1383 * undo.[Ch]: restoring part of 'undo in insets'
1386 * undo_funcs.[Ch]: merge with undo.[Ch]
1388 * tabular.C: small cleansing stuff
1390 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1392 * paragraph_funcs.C (readParToken): report unknown insets as error
1393 boxes. Use the outer paragraph as location (also for unknown
1396 * factory.C (readInset): do not abort on reading an unknown inset.
1397 Eat it and return 0.
1399 2003-10-13 Angus Leeming <leeming@lyx.org>
1401 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1403 * lyxrc.C: displayTranslator is now a function,
1404 declared in GraphicsTypes.h.
1406 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1408 * format.C: new placeholder $$a to pass the socket address.
1410 * bufferlist.[Ch]: new function getBufferFromTmp.
1412 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1413 files in the temporary dir.
1415 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1417 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1419 * Makefile.am: add lyxsocket.[Ch].
1421 * lyx_main.C (error_handler): handle SIGPIPE.
1423 2003-10-13 André Pönitz <poenitz@gmx.net>
1425 * BufferView_pimpl.C:
1430 * undo_funcs.[Ch]: use paroffset_type instead of
1431 ParagraphList::iterators to prevent multiple conversion
1432 (and get a more robust interface)
1434 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1436 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1438 * text3.C (dispatch): ditto
1440 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1443 move the onlyfile, use onlyfile instead of foundfile in a couple
1446 * DepTable.C (update): flush the error stream a bit more
1448 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1450 * lyxserver.C (callback): adjust
1452 * lyxfunc.C (getStatus): add a missing brace in commented code
1453 (ensureBufferClean): reindent
1454 (dispatch): delete version taking a string
1456 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * LaTeX.C (deplog): move found file handlig from here...
1459 (handleFoundFile): .. to new function here.
1460 (deplog): make sure to discover several files mentioned on the
1463 2003-10-10 André Pönitz <poenitz@gmx.net>
1470 * text3.C: fix some of the tabular crashes
1472 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1474 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1476 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1478 2003-10-09 André Pönitz <poenitz@gmx.net>
1480 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1483 * BufferView_pimpl.C:
1484 * bufferview_funcs.C:
1495 * undo_funcs.C: adjust
1497 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * text2.C (incrementItemDepth): new function, use a backtracking
1500 algorithm to discover the correct item depth.
1501 (resetEnumCounterIfNeeded): new function, use a backtracking
1502 algorithm to discover if counter reset is needed.
1503 (setCounter): use them. Simplify a bit. Add different labels for
1504 different item depths for itemize.
1506 * paragraph.C (Paragraph): remove initialization of enumdepth
1509 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1510 enumerate and itemize. Change the type of itemdepth to signed char.
1512 2003-10-08 André Pönitz <poenitz@gmx.net>
1514 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1519 * tabular.[Ch]: fix crash after 'row-insert'
1521 2003-10-08 Angus Leeming <leeming@lyx.org>
1523 Fix doxygen warnings.
1525 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1526 Remove CutAndPaste:: prefix from header file declaration.
1528 * LColor.h (fill): remove LColor:: prefix from declaration.
1530 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1531 use lyx::depth_type rather than Paragraph::depth_type so that
1532 header file and .C file match.
1534 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1536 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1537 * aspell.C: \file aspell_local.C -> \file aspell.C
1538 * gettext.C: \file gettext.C -> \file src/gettext.C
1539 * gettext.h: \file gettext.h -> \file src/gettext.h
1540 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1541 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1542 * text.C: \file text.C -> \file src/text.C
1544 * toc.C: move comment so that doxygen is not confused.
1546 2003-10-07 Angus Leeming <leeming@lyx.org>
1548 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1550 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1553 * aspell_local.h: add forgotten std::string's.
1555 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1562 * text3.C: The Box patch. Fancybox support, minipage, parbox
1564 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1570 * ParagraphParameters.h:
1580 * lyxtextclasslist.h:
1583 * paragraph_pimpl.C:
1584 * textcursor.h: add <string> and other small fixes to make Lars'
1585 std::string patch compile with STLport.
1587 2003-10-06 Angus Leeming <leeming@lyx.org>
1589 * LColor.h: Add missing #include <string>.
1591 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1593 * All most all file in all subdirs: Make <string> be the prefered
1594 way of getting to std::string, add using declarations.
1596 2003-10-06 André Pönitz <poenitz@gmx.net>
1598 * metricsinfo.C: initialize LyXFont before changing attribute.
1599 (fixes the 'math in \emph is upright' bug)
1601 2003-10-06 André Pönitz <poenitz@gmx.net>
1603 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1605 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1608 * paragraph_pimpl.C: Small fixes to build using STLport
1610 2003-10-02 André Pönitz <poenitz@gmx.net>
1613 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1615 2003-10-01 André Pönitz <poenitz@gmx.net>
1617 * factory.C: assert early
1619 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * lyx_main.C: remove the global debug object
1623 * debug.h: adjust for new debugstream
1625 * debug.C: adjust for new debugstream and keep the global debug
1628 2003-09-22 Angus Leeming <leeming@lyx.org>
1630 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1631 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1632 an incomplete class LyXFont.
1634 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1636 * factory.C: bug fix in branches
1638 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1640 * lyxfunc.C (processKeySym): adjust
1642 (dispatch): change arg name from ev to func, adjust
1643 (sendDispatchMessage): ditto
1645 * lyx_main.C (defaultKeyBindings): adjust keybindings
1646 (deadKeyBindings): ditto
1648 * kbsequence.C (addkey): return a FuncRequest
1650 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1652 * kbmap.C (bind): take a FuncRequest as arg, adjust
1655 (defkey): change to take a FuncRequest as arg, adjust
1656 (findbinding): take a FuncRequest as arg, adjust.
1658 * funcrequest.h (operator=): added
1660 * funcrequest.C (FuncRequest): default kb_action changed from
1661 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1663 * buffer.C (dispatch): simplify
1664 (dispatch): adjust to take a FuncRequest as arg, adjust
1666 * boost.C (assertion_failed): change assertion message slightly
1668 * ToolbarBackend.C (read): simplify
1670 * MenuBackend.C (binding): adjust call to findbinding, add a
1671 message if no binding is found.
1673 (expandToc): correct by adding a empty FuncRequest
1675 * LyXAction.C: include <boost/assert.hpp>
1676 (isPseudoAction): delete function
1677 (LookupFunc): change name to...
1678 (lookupFunc): this. change return type to FuncRequest.
1679 (getActionName): take kb_action as arg, simplify
1680 (funcHasFlag): add an assert, simplify.
1682 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * toc.C (action): return a FuncRequest, simplify
1686 * lyxfunc.C (processKeySym): adjust
1687 (getStatus): delete version that takes an int.
1689 (dispatch): delete version that takes action as int
1691 (sendDispatchMessage): simplify and adjust
1693 * funcrequest.C (getArg): take unsigned int as arg
1695 * ToolbarBackend.C (read): adjust
1696 (add): delete version that takes func as a string.
1697 (getIton): take a FuncRequest as arg
1699 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1702 * MenuBackend.C (MenuItem): add a new construct that only takes a
1703 Kind, simplify the constructor use for submenus.
1705 (expandLastfiles): adjust
1706 (expandDocuments): adjust
1707 (expandFormats): adjust
1708 (expandFloatListInsert): adjust
1709 (expandFloatInsert): adjust
1710 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1712 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1713 Remove class variables lyx_pseudo_map and lyx_arg_map
1715 * LyXAction.C (searchActionArg): delete function
1716 (getPseudoAction): delete function
1717 (retrieveActionArg): delete function
1718 (LookupFunc): make it return kb_action, simplify.
1719 (getActionName): simplify
1721 * factory.C (createInset): fix new bug
1723 2003-09-19 Angus Leeming <leeming@lyx.org>
1725 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1726 masterFilename_ parameter in the include inset.
1728 * factory.C (createInset): changes due to the changes to InsetInclude.
1730 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1732 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1734 2003-09-18 Angus Leeming <leeming@lyx.org>
1737 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1738 Inset::fillWithBibKeys.
1739 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1741 2003-09-18 Angus Leeming <leeming@lyx.org>
1743 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1745 (ctor): pass and store a 'Buffer const &'
1746 (buffer): new member function.
1748 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1749 '*this' to the LaTeXFeatures ctor.
1751 2003-09-18 Angus Leeming <leeming@lyx.org>
1757 * text.C: rename EnumLColor as LColor_color.
1759 2003-09-18 Angus Leeming <leeming@lyx.org>
1761 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1762 remove #include "insets/insetbase.h" from cursor.h.
1764 2003-09-18 Angus Leeming <leeming@lyx.org>
1766 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1767 InsetOld_code to remove #include "inset.h".
1769 * iterators.C: add #include "insets/inset.h"
1771 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1773 * BufferView.C: remove more locking stuff that apparently doesn't
1774 do anything sensible.
1776 2003-09-16 André Pönitz <poenitz@gmx.net>
1779 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1782 2003-09-16 Angus Leeming <leeming@lyx.org>
1784 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1786 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1789 * paragraph.h: remove #include "lyxfont.h". Forward declare
1792 2003-09-16 Angus Leeming <leeming@lyx.org>
1794 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1795 of support/textutils.h.
1796 (isWord): move the contents of support/textutils.h's IsWordChar here.
1802 * text2.C: add #include "paragraph.h".
1805 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1807 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * LaTeX.C: use namespace alias for lyx::support::os
1815 2003-09-16 Angus Leeming <leeming@lyx.org>
1818 * bufferview_funcs.C:
1821 * paragraph_pimpl.C:
1823 * text.C: add #include "LColor.h".
1825 2003-09-16 Angus Leeming <leeming@lyx.org>
1827 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1828 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1830 Store the FontBits::color variable as an int rather than as an
1831 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1834 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1835 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1836 string calls together.
1838 * lyxrc.C: add #include "LColor.h".
1840 2003-09-15 Angus Leeming <leeming@lyx.org>
1842 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1845 2003-09-15 Angus Leeming <leeming@lyx.org>
1847 * LColor.h: add an EnumLColor wrapper for LColor::color.
1849 * lyxfont.[Ch] (color, setColor, realColor):
1850 * lyxtext.h, text.C (backgroundColor):
1851 pass EnumLColor args to/from the functions, rather than LColor::color
1855 * lyxtext.h: forward declare EnumLColor.
1857 * lyx_main.C: add #include "LColor.h".
1859 2003-09-15 Angus Leeming <leeming@lyx.org>
1861 * .cvsignore: add lyx-gtk.
1863 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1868 * ParagraphParameters.C
1872 * bufferview_funcs.C
1882 * vc-backend.C: remove usage of STRCONV
1884 2003-09-15 Angus Leeming <leeming@lyx.org>
1886 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1887 explicitly define the color passed to the painter.
1889 2003-09-15 Angus Leeming <leeming@lyx.org>
1891 * bufferparams.C (BufferParams): reorder member initializers to avoid
1894 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1896 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1897 * text.C (updateRowPositions): remove an unusual nop
1899 2003-09-12 André Pönitz <poenitz@gmx.net>
1901 * BufferView_pimpl.C:
1910 * Counters.[Ch]: finish the 'automatic counters' job
1912 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1914 * aspell.C: include <boost/assert.cpp> (compile fix)
1916 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1918 * boost.C (assertion_failed): use lyx::support::abort instead of
1921 2003-09-10 Angus Leeming <leeming@lyx.org>
1923 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1924 with their _fwd progeny.
1926 2003-09-09 Angus Leeming <leeming@lyx.org>
1928 134 files throughtout the source tree: replace 'using namespace abc;'
1929 directives with the appropriate 'using abc::xyz;' declarations.
1931 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1933 * boost.C (emergencyCleanup): moved here from LAssert.c
1934 (assertion_failed): new function, called by BOOST_ASSERT
1936 * several files: change Assert to BOOST_ASSERT
1938 2003-09-09 Angus Leeming <leeming@lyx.org>
1940 * buffer.[Ch]: Add an Impl class and move Buffer's member
1941 variables into it. As a result move several header files out of
1944 Add header files to lots of .C files all over the tree as a result.
1946 2003-09-09 Angus Leeming <leeming@lyx.org>
1948 * buffer.[Ch]: make Buffer's member variables private. Add
1951 Lots of changes all over the tree as a result.
1953 2003-09-08 Angus Leeming <leeming@lyx.org>
1955 * graph.C: #include <config.h>.
1957 2003-09-08 Angus Leeming <leeming@lyx.org>
1961 * BufferView_pimpl.C:
1990 * toc.C: remove redundant using directives.
1992 2003-09-07 Angus Leeming <leeming@lyx.org>
1994 * LaTeXFeatures.h: remove #include "support/types.h".
1995 * ToolbarBackend.h: remove #include <algorithm>.
1996 * changes.h: remove #include <ctime>.
1997 * debug.h: remove #include <iosfwd>.
1998 * graph.h: remove #include "support/std_string.h".
1999 * lyx_main.h: remove #include <csignal>.
2000 * lyxlex_pimpl.h: remove #include <fstream>.
2001 * sgml.h: remove #include <algorithm>, <utility>.
2002 * toc.h: remove #include "support/std_ostream.h".
2003 Add #include <iosfwd>.
2005 2003-09-07 Angus Leeming <leeming@lyx.org>
2007 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2009 * converter.h: forward declare LatexRunParams.
2010 * encoding.h: remove #include "lyxrc.h".
2011 * lyxtext.h: remove #include "LColor.h".
2012 * lyxtextclass.h: remove #include "support/types.h".
2013 * trans.h: remove #include "tex-accent.h".
2014 * trans_mgr.h: remove #include "tex-accent.h".
2015 * insets/inset.h: remove #include "support/types.h", <vector>.
2016 * insets/insetcollapsable.h: remove #include "LColor.h".
2017 * insets/insetinclude.h: remove #include "dimension.h".
2018 * insets/insetlatexaccent.h: remove #include "dimension.h".
2019 * insets/insetoptarg.h:: remove #include "insettext.h".
2020 * insets/insettext.h: remove #include "dimension.h",
2021 <boost/shared_ptr.hpp>
2023 * insets/renderers.h: add #include "dimension.h".
2024 * insets/updatableinset.h: add #include "support/types.h".
2026 * many .C files: Associated changes.
2028 2003-09-06 Angus Leeming <leeming@lyx.org>
2030 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2031 one, inside testInvariant.
2033 * PrinterParams.C: new file.
2034 * PrinterParams.[Ch]: move the function bodies out of line.
2036 2003-09-06 Angus Leeming <leeming@lyx.org>
2038 * ParagraphParameters.h: forward declare ParameterStruct rather than
2039 including its header file.
2040 (depth): moved out-of-line.
2042 2003-09-06 Angus Leeming <leeming@lyx.org>
2044 * BufferView_pimpl.h:
2047 * lyxfunc.h: forward declare LyXKeySym rather than
2048 #include "frontends/LyXKeySym.h".
2050 * BufferView_pimpl.C:
2053 * lyxfunc.C: associated changes.
2055 2003-09-06 Angus Leeming <leeming@lyx.org>
2057 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2058 As a result, can remove the #include "insets/inset.h" from BufferView.h
2060 2003-09-06 Angus Leeming <leeming@lyx.org>
2062 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2063 As a result, can remove the #include "insets/inset.h" from BufferView.h
2065 2003-09-06 Angus Leeming <leeming@lyx.org>
2071 * bufferview_funcs.C:
2072 * BufferView_pimpl.C:
2077 * ParagraphParameters.C:
2082 * frontends/controllers/ControlDocument.C:
2083 * insets/insetcaption.C: rearrange the #includes into some sort of
2086 * buffer.h: remove #includes ErrorList.h, undo.h
2088 2003-09-06 Angus Leeming <leeming@lyx.org>
2090 * support/types.h: add a 'depth_type' typedef, used to store the
2091 nesting depth of a paragraph.
2094 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2095 defining explicitly.
2098 * paragraph_funcs.h:
2099 * ParagraphParameters.h:
2100 * sgml.h: use lyx::depth_type rather than Paragraph or
2101 ParameterStruct's depth_type.
2104 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2107 * BufferView_pimpl.C:
2109 * ParagraphParameters.C:
2112 * bufferview_funcs.C:
2119 * frontends/LyXView.C:
2120 * frontends/controllers/ControlDocument.C:
2121 * frontends/controllers/ControlErrorList.C:
2122 * insets/insetbibitem.C:
2123 * insets/insetbranch.C:
2124 * insets/insetcaption.C:
2125 * insets/insetcollapsable.C:
2126 * insets/insetenv.C:
2127 * insets/insetert.C:
2128 * insets/insetfloat.C:
2129 * insets/insetfoot.C:
2130 * insets/insetfootlike.C:
2131 * insets/insetnewline.C:
2132 * insets/insetquotes.C:
2133 * insets/insettabular.C:
2134 * insets/insettext.C:
2135 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2137 * frontends/controllers/ControlChanges.C: #include "changes.h".
2139 2003-09-06 Angus Leeming <leeming@lyx.org>
2141 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2142 than #including paragraph.h.
2145 * RowList.h: deleted. Superfluous.
2155 * insets/insettext.h: use ParagraphList_fwd.h rather than
2158 * paragraph.h: don't forward declare ParagraphList.
2161 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2162 rather than ParagraphList.h. paragraph.h is still needed for the
2163 Paragraph::depth_type parameters.
2165 * textcursor.h: enable it to compile stand-alone in light of the
2168 * bufferview_funcs.C:
2180 * frontends/controllers/ControlParagraph.C:
2181 * frontends/controllers/ControlTabular.C:
2182 * insets/insetmarginal.C:
2183 * insets/insetminipage.C:
2184 * insets/insetnote.C:
2185 * insets/insetoptarg.C: add header files needed to compile again.
2187 2003-09-06 Angus Leeming <leeming@lyx.org>
2189 * RowList_fwd.h: new file, forward-declaring Row rather than
2190 #including lyxrow.h.
2195 * insets/insettext.h: use it instead of RowList.h
2197 * bufferview_funcs.C:
2204 * text3.C: #include "RowList.h".
2206 2003-09-05 Angus Leeming <leeming@lyx.org>
2208 * factory.C (createInset):
2209 * vspace.C (c-tor): replace sscanf call with an istringstream.
2210 * ispell.C: re-add missing HP/UX headers.
2211 * lyxserver.C: re-add missing os2 headers.
2213 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2222 * text3.C: re-add missing system headers, needed for 2.95.2.
2224 2003-09-05 Angus Leeming <leeming@lyx.org>
2226 Changes most place everywhere due to the removal of using directives
2227 from support/std_sstream.h.
2229 2003-09-05 Angus Leeming <leeming@lyx.org>
2231 Replace LString.h with support/std_string.h,
2232 Lsstream.h with support/std_sstream.h,
2233 support/LIstream.h with support/std_istream.h,
2234 support/LOstream.h with support/std_ostream.h.
2236 Changes resulting throughout the tree.
2238 2003-09-05 Angus Leeming <leeming@lyx.org>
2240 * sgml.h: ensure that the header file can be compiled stand-alone.
2241 * *.C: strip out redundant #includes. (320 in total.)
2243 2003-09-04 Angus Leeming <leeming@lyx.org>
2245 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2246 here (from getPackages).
2248 * debug.[Ch]: add a new EXTERNAL tag.
2250 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2252 * text2.C (cursorEnd): simplify
2254 (getColumnNearX): adjust
2256 * text.C (computeBidiTables): adjust
2259 * rowpainter.C (paintChars): adjust
2260 (paintSelection): adjust
2261 (paintChangeBar): adjust
2264 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2266 (numberOfSeparators): adjust
2268 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2274 * text3.C: Restricts the mouse click functionality
2275 of insets like bibtex, include, toc and floatlist to the visible
2276 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2277 up the dialogs. Cursor has to be in front of the inset (i.e.
2278 start of row) for this to function.
2280 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2282 * bufferview_funcs.C (currentState): output row information
2284 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2286 * bufferview_funcs.C (currentState): output paragraph position
2288 2003-09-04 Angus Leeming <leeming@lyx.org>
2290 * FloatList.h: move out #include "Floating.h".
2291 * LaTeX.h: move out #include "DepTable.h".
2292 * LyXAction.h: move out #include "funcrequest.h".
2293 * buffer.h: move out #include "author.h", "iterators.h".
2294 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2295 * lyx_main.h: move out #include "errorlist.h".
2296 * lyxfunc.h: move out #include "FuncStatus.h".
2297 * lyxtext: move out #include "lyxcursor.h".
2298 * paragraph_pimpl.h: move out #include "counters.h".
2300 2003-09-03 Angus Leeming <leeming@lyx.org>
2302 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2303 preamble_snippets list, enabling us to add snippets to the preamble
2304 only if the snippet was not there already.
2306 2003-09-04 Angus Leeming <leeming@lyx.org>
2308 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2310 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2315 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2317 * BranchList.C: point fix, earlier forgotten
2319 2003-09-02 Angus Leeming <leeming@lyx.org>
2321 * box.C (contains): renamed from 'contained' after a fantastic
2324 2003-09-02 John Levon <levon@movementarian.org>
2330 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2332 2003-09-02 John Levon <levon@movementarian.org>
2334 * text2.C: simplification of cursorEnd(), including partial
2337 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * buffer.C (readFile): add a space
2341 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2343 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2345 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * buffer.C (readFile): new function, take a filename and a
2348 ParagraphList::iterator
2350 (readFile): adjust, make it private. don't use setStream, make
2351 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2352 always contain the filename.
2354 * BufferView.C (insertLyXFile): simplify and make it work for
2357 2003-08-30 John Levon <levon@movementarian.org>
2359 * Makefile.am: fix dist (from Kayvan)
2361 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2363 * most files: change to use const Buffer refs
2365 2003-08-27 André Pönitz <poenitz@gmx.net>
2367 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2368 on top of ownerPar().
2370 2003-08-27 John Levon <levon@movementarian.org>
2372 * funcrequest.C: properly initialise POD members
2374 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2376 * lyxtext.h (top_y): move top_y from here
2381 * BufferView_pimpl.[Ch]: to here
2382 * frontends/screen.C:
2383 * insets/insettabular.C:
2384 * insets/insettext.C: adjust
2385 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2387 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2390 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2392 2003-08-26 André Pönitz <poenitz@gmx.net>
2394 * paragraph_func.[Ch] (outerPar): new function
2397 * paragraph_funcs.C:
2398 * paragraph_funcs.h:
2399 * paragraph_pimpl.C:
2400 * text2.C: remove Inset::par_owner
2402 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2407 * text2.C: eliminates the needFullRow/display() stuff
2408 altogether, putting the logic in metrics/draw in the insets.
2410 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2412 * text2.C (redoParagraphInternal, redoParagraphs):
2413 * text.C (redoParagraph): add a call to updateRowPositions at the
2414 end of each 'metrics-like' call. Remove all others.
2415 (getRow): remove the 'y-computing' version.
2416 (getRowNearY): do not compute nor return the real y. Solve the
2417 'y < 0' problem and simplify.
2419 2003-08-22 Angus Leeming <leeming@lyx.org>
2421 * *.[Ch]: clean-up of licence and author blurbs.
2422 Also move config.h out of a few .h files and into a few .C files.
2424 2003-08-22 André Pönitz <poenitz@gmx.net>
2426 * lyxrow.[Ch]: add x_ and *fill_ members
2431 * text2.C: adjust/remove prepareToPrint() calls
2433 2003-08-22 André Pönitz <poenitz@gmx.net>
2435 * lyxrow.[Ch]: add end_ member
2437 * lyxrow_funcs.C: use LyXRow::end_
2439 * lyxtext.h (singleWidth): add LyXFont parameter
2442 * text2.C: adjust LyXText::singleWidth() calls
2444 * text.C (redoParagraph): simplify row breaking logic
2447 2003-08-19 André Pönitz <poenitz@gmx.net>
2449 * funcrequest.C: initialize button_ member
2452 * rowpainter.[Ch]: interface consolidation
2454 2003-08-18 André Pönitz <poenitz@gmx.net>
2457 * BufferView_pimpl.C:
2459 * paragraph_funcs.C:
2461 * text3.C: remove LyXScreen::draw() and fitCursor calls
2463 * BranchList.h: remove spurious semicolons
2465 * MenuBackend.C: fix branchlist related crash
2467 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2475 * bufferparams.[Ch]:
2479 * text3.C: implements the 'branch inset'
2480 idea. This allows the output of various versions of a document
2481 from a single source version, selectively outputing or suppressing
2482 output of parts of the text.
2483 This implementation contains a 'branch list editor' in a separate
2484 tab of the document settings dialog. Branches are user definable
2485 and have a "display colour" to distinguish them on-screen.
2487 ColorHandler was somewhat cleaned up.
2488 (1) make possible a dynamically growing LColor list by allowing
2489 the graphic context cache to grow along (vector);
2490 (2) eliminate an IMHO unnecessary step in colour allocation.
2492 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2494 * BufferView_pimpl.C: compile fix
2496 2003-08-15 André Pönitz <poenitz@gmx.net>
2498 * rowpainter.C: remove extra metrics calls
2500 * lyxtext.h: merge the two constructors into a single one,
2501 pass reference to owner's par list
2503 * BufferView_pimpl.C:
2507 2003-08-15 André Pönitz <poenitz@gmx.net>
2509 * lyxrow_funcs.[Ch]:
2512 * paragraph_funcs.C:
2517 * text_funcs.C: split LyXText::rowlist_ into individual
2518 Paragraph::rows_ chunks
2521 * BufferView_pimpl.[Ch]:
2524 * text3.C: remove toggleSelection()
2526 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2528 * bufferlist.C: beautify two alerts (shorter text of buttons)
2529 * buffer.C: Remove redundant ' ' from message
2531 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2532 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2533 rename VALIGN_CENTER to VALIGN_MIDDLE
2535 2003-08-11 André Pönitz <poenitz@gmx.net>
2537 * lyxtext.h (getPar):
2538 * text.C: new function
2540 2003-08-11 André Pönitz <poenitz@gmx.net>
2543 * tracer.[Ch]: remove unneeded files
2545 * InsetList.[Ch]: remove resizeInsetsLyXText()
2550 * text3.C: merge insertParagraphs() and appendParagraph()
2551 remove breakAgain(), update()
2553 * BufferView_pimpl.[Ch]:
2554 * bufferview_funcs.[Ch]:
2558 * tabular.C: adjust after text & InsetList changes.
2560 2003-08-08 André Pönitz <poenitz@gmx.net>
2562 * text.C (insertChar, backspace): replace rowlist fiddling
2563 with rebreak of full par
2566 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2567 checkParagraph, updateInset): removed
2569 2003-08-07 André Pönitz <poenitz@gmx.net>
2572 * text3.C: merge some LFUN handlers, remove dead code
2574 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2576 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2578 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2580 * text2.C (DEPM): fix part of bug 1255 and 1256
2582 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2584 * BufferView_pimpl.C (workAreaDispatch): change to use
2585 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2586 that are no mouse related.
2588 2003-08-05 André Pönitz <poenitz@gmx.net>
2591 * BufferView_pimpl.[Ch]:
2592 * bufferview_funcs.C:
2594 * text3.C: rip out "deep update"
2596 * textcursor.[Ch] (last_sel_cursor): remove unused member
2598 2003-08-04 André Pönitz <poenitz@gmx.net>
2601 * BufferView_pimpl.[Ch]:
2602 * ParagraphParameters.C:
2603 * bufferview_funcs.C:
2609 * text3.C: replace "complicated" BufferView::update(...) calls with
2612 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2614 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2616 * Makefile.am (lyx_SOURCES): add paper.h
2618 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2620 * Makefile.am: move things around so that both lyx-qt and
2621 lyx-xforms can be built (according to --with-frontend). Then lyx
2622 is a symbolic link to lyx-[firstfrontend]
2624 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2626 * Always use std::endl with lyxerr
2628 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2630 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2632 2003-08-01 André Pönitz <poenitz@gmx.net>
2635 * BufferView_pimpl.[Ch]:
2637 * text3.C: merge BufferView::repaint() and BufferView::update()
2639 2003-08-01 José Matos <jamatos@lyx.org>
2641 * buffer.[Ch]: file_format is no longer a buffer data element.
2643 2003-08-01 André Pönitz <poenitz@gmx.net>
2648 * text2.C: make redoParagraph more independent of current cursor
2650 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2652 * text2.C: remove unneeded members
2654 2003-07-30 André Pönitz <poenitz@gmx.net>
2656 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2658 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2659 create a single function...
2661 * paragraph_funcs.C (moveItem): ... here.
2664 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2666 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2668 * LColor.[Ch]: Add comment and greyedout logical colors.
2670 2003-07-30 André Pönitz <poenitz@gmx.net>
2672 * tabular.C: don't use Assert too heavily. This crashes where it
2675 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2677 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2678 is disabled (bug 1232)
2680 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2682 * factory.C: limited 'arg' scope
2684 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2686 * factory.C: fixed Note submenu issues
2688 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2690 * factory.C: submenu for Note/Comment/Greyedout
2692 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2695 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2697 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2700 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2701 greyedout. Patch provided by Jürgen Spitzmüller.
2703 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * kbmap.C (read): fix error message when reading bind files
2707 2003-07-29 Angus Leeming <leeming@lyx.org>
2709 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2710 certainly does not do what it purports to do. I am doing it, and
2711 us, a favour by killing it.
2713 2003-07-28 José Matos <jamatos@lyx.org>
2715 * buffer.C (readBody, do_writeFile):
2716 * paragraph.C(readParagraph): \end_document replaces \the_end.
2718 2003-07-29 André Pönitz <poenitz@gmx.net>
2721 * BufferView_pimpl.[Ch]:
2725 * textcursor.[Ch]: remove toggleToggle & Co
2727 2003-07-28 José Matos <jamatos@fep.up.pt>
2729 * buffer.C (readParagraph):
2730 * params_func (readParToken, readParagraph):
2731 * paragraph.C (write): \layout -> \begin_layout.
2733 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2735 * lyxlex_pimpl.C (setFile): clean up slightly.
2737 * bufferparams.h: add compressed var
2739 * buffer_funcs.C (readFile): adjust for LyXLex change
2740 (newFile): ditto + simplify
2742 * buffer.C (writeFile): handle writing of compressed files
2744 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2745 Check if the file is compressed and set a bufferparm if so.
2747 * Makefile.am (lyx_LDADD): remove explicit -lz
2749 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2751 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2752 makeDocBookFile): put the real LyX version in the first line of
2756 * version.C.in: remove lyx_docversion
2758 * tabular.C (write_attribute): add a template-based version to
2759 write enums properly
2761 2003-07-28 André Pönitz <poenitz@gmx.net>
2766 * text3.C: use doubles again for x-coordinates. They are needed.
2768 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * messages.C (getLocaleDir): use lyx_localedir()
2772 * lyxlex_pimpl.C (setFile): compress stuff
2774 * buffer.C (writeFile): add some compression stuff
2775 (do_writeFile): new func, dont call expliti close... will this
2778 * Makefile.am (lyx_LDADD): add -lz
2780 2003-07-28 José Matos <jamatos@fep.up.pt>
2782 * buffer.C: increment file format.
2783 * paragraph_funcs (readParagraph, readParToken):
2784 * paragraph.C (readParagraph): add \end_layout.
2786 2003-07-27 Angus Leeming <leeming@lyx.org>
2788 * Makefile.am: remove special casing for configure-time setting of
2789 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2791 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2792 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2794 2003-07-26 André Pönitz <poenitz@gmx.net>
2796 * paragraph_func.[Ch]:
2797 * paragraph.C (realizeFont): inline it whereever it is used
2802 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2805 2003-07-26 André Pönitz <poenitz@gmx.net>
2809 * text2.C: get rid of LyXText::need_break_row
2811 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2813 * toc.[Ch]: put namespace toc inside namespace lyx
2815 * MenuBackend.C (expandToc2): adjust for lyx::toc
2818 * lyxfunc.C (dispatch): adjust for lyx::find
2820 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2821 lyx::find instead. Reorganize a bit.
2822 (LyXReplace): rename to replace
2823 (LyXFind): rename to find
2825 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2828 2003-07-26 André Pönitz <poenitz@gmx.net>
2830 * text.C (setHeightOfRow): restrict scope of temporary variable
2832 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2833 code (never has been used?)
2835 2003-07-27 Asger Alstrup <alstrup@local>
2837 * text.C (fill): Optimise algorithm to exploit that we can reuse
2838 the LyXFont for many characters.
2839 (setHeightOfRow): Same thing.
2840 (rowBreakPoint): Same thing.
2842 2003-07-26 Asger Alstrup <alstrup@local>
2844 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2846 * text.C (singleWidth): Spurious font copying in hot-spot
2847 singleWidth avoided. Reorder tests for arabic for efficiency.
2849 * text.C (fill): handle empty paragraphs better.
2851 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2854 * encoding.h: add includes
2856 * lyxrc.C: remove reading of bind files
2858 * lyx_main.C (init): setup bindings and menus only if we have a
2861 * kbmap.C (read): new method. Do the actual reading of bind
2864 * converter.C (dvipdfm_options):
2867 (output): adapt PAPER_* enums.
2869 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2871 * bufferparams.h: remove paper-related enums from there
2873 * paper.h: New file. A trivial header file to hold paper-related
2874 enums. It should later expand to contain many paper-related
2877 * lyxrc.C: declare extern displayTranslator
2879 2003-07-27 José Matos <jamatos@fep.up.pt>
2881 * tabular.[Ch] (linuxdoc): add support for tables and figures
2884 2003-07-27 José Matos <jamatos@fep.up.pt>
2886 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2887 consistency in both functions.
2888 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2890 2003-07-26 Asger Alstrup <alstrup@local>
2892 * rowpainter.C (paintRows): Change algorithm to work directly on
2893 the insets rather than asking every character in the document
2894 whether its an inset.
2896 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2898 * buffer.C (openFileWrite): factorize some code
2900 2003-07-26 Angus Leeming <leeming@lyx.org>
2903 * lyx_main.[Ch]: replace occurances of system_tempdir with
2906 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * rename Inset to InsetOld
2910 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2912 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2913 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2914 which I think is a bit clearer. EDIT is gone, since it was
2915 premature optimisation, and broken for mathed anyway.
2916 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2917 with cursor positioning in insets as well (math insets still do not
2918 work, but that's a different story anyway.) It mysteriously
2919 crashes sometimes with undo in the first paragraph, but I'm fairly
2920 confident that this is a compiler bug.
2922 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2924 * paragraph.C (Paragraph): adjust for new clone return type
2926 (copyIntoMinibuffer): ditto
2928 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2930 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2931 by not having a special case, and always doing a full rebreak of
2932 the document after undo.
2934 2003-07-23 Angus Leeming <leeming@lyx.org>
2936 * factory.C (createInset): InsetExternal::setParams now takes a
2939 2003-07-23 Angus Leeming <leeming@lyx.org>
2941 * factory.C (createInset): changed interface to the external and
2942 graphics mailers' string2params functions.
2944 2003-07-23 Angus Leeming <leeming@lyx.org>
2946 * factory.C (createInset): pass a
2947 Buffer const * parameter to InsetExternalMailer's string2params.
2949 2003-07-22 John Levon <levon@movementarian.org>
2951 * Thesaurus.h: include the right aiksaurus header
2953 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2955 * MenuBackend.C (expand): check menu shortcuts unconditionally
2957 2003-07-21 Angus Leeming <leeming@lyx.org>
2959 * factory.C (createInset): pass a
2960 buffer_path parameter to InsetGraphicsMailer's string2params.
2962 2003-07-21 Angus Leeming <leeming@lyx.org>
2964 * BufferView_pimpl.C (buffer):
2967 * lyxfunc.C (dispatch):
2968 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2969 rather than the grfx shortcut.
2971 2003-07-21 André Pönitz <poenitz@gmx.net>
2973 * rowpainter.C: remove unused variables
2976 * tabular_funcs.h: move to tabular.C
2977 * Makefile.am: adjust
2979 * tabular.[Ch]: basic optical cleaning
2981 * author.h: pass references, not values
2983 2003-07-18 André Pönitz <poenitz@gmx.net>
2991 * text3.C: two-phase drawing for InsetText and InsetTabular
2992 some float -> int changes.
2994 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2996 * lyx_main.C: fix the fix
2998 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3000 * lyx_main.C: fix a crash in batch mode if no files specified
3003 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3005 * format.[Ch] (papersize): moved to BufferParams
3006 * converter.[Ch] (dvips_options): moved to BufferParams
3007 (dvipdfm_options): moved to anon namespace
3008 * bufferparams.[Ch]: added above functions.
3010 2003-07-17 André Pönitz <poenitz@gmx.net>
3014 * text2.C: don't call inset->update() anymore
3016 * metricsinfo.[Ch]: add convenience constructor
3018 2003-07-16 André Pönitz <poenitz@gmx.net>
3023 * text2.C: replace the LyXCursor::irow_ member with
3024 on-demand computation of the value
3026 2003-07-16 John Levon <levon@movementarian.org>
3028 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3030 2003-07-15 André Pönitz <poenitz@gmx.net>
3033 * text2.C: remove no more needed refresh_row
3035 2003-07-15 André Pönitz <poenitz@gmx.net>
3040 * text3.C: refresh_status tristate -> need_update bool
3042 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3044 * lyxtext.h (init): remove reinit argument (act as if always true)
3045 * text2.C: adjust to that
3047 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3049 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3050 * text3.C: use it to delete selections in some cases
3051 (bugs 441, 673, 702, 954).
3053 2003-07-14 André Pönitz <poenitz@gmx.net>
3055 * rowpainter.[Ch]: reduce interface
3057 2003-07-14 André Pönitz <poenitz@gmx.net>
3059 * BufferView_pimpl.C:
3060 * text2.C: adjust after removing unused BufferView * argument
3062 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3064 * text2.C (init): fix a crash fired on resize
3066 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3068 * buffer.[Ch]: added new closing signal
3069 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3070 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3071 BufferView::Pimpl via the closing the signal
3073 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3075 * buffer.[Ch]: take out all bv-related from buffer
3077 * BufferView_pimpl.[Ch]: connect to new signals
3078 * CutAndPaste.C: removed useless asserts
3079 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3082 * lyxfunc.C: moved view-related funciontality from vc here
3083 * paragraph.C: removed outdated comments
3086 2003-07-10 André Pönitz <poenitz@gmx.net>
3088 * BufferView_pimpl.C:
3092 * text2.C: remove InsetText::InnerCache, clean up consequences
3094 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3096 * ispell.C: fix two typos in error messages
3098 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3100 * Extend Note inset to other forms of annotation like Comment
3101 and Greyedout. Right button click gives dialog.
3103 Files modified or added (+):
3107 * ControlNote.[Ch] +
3109 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3110 frontends/controllers
3114 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3116 * aspell.C: add missing namespace lyx::support
3118 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3120 * BufferView.[Ch] (newFile): Add
3121 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3122 * LaTeX.[Ch] (message): added this signal and use it
3123 * buffer.[Ch] (busy, message): added these signals and use them
3124 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3128 * importer.C: use buffer signals instead of direct bv calling
3129 * lyx_cb.[Ch] (ShowMessage): removed
3132 * paragraph_funcs.C:
3133 * text2.C: use buffer signals
3135 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3137 * introduce namespace lyx::graphics
3139 2003-07-02 André Pönitz <poenitz@gmx.net>
3141 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3143 2003-07-01 André Pönitz <poenitz@gmx.net>
3150 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3151 text*.C to text_func.C
3153 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * introduce namespace lyx::support
3157 2003-06-30 André Pönitz <poenitz@gmx.net>
3162 * text.C: re-enable --with-included-string
3164 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * textcursor.C: add <config.h>
3168 * text.C (getWord): remove const from word_location arg
3170 * lyxvc.C (getLogFile): fix const type order
3172 * lyxtext.h: remove const from word_location arg, add arg name
3174 * lyxlayout.h: currect type on labeltype.
3176 * importer.C: correct \file
3178 * converter.C (intToFormat): use std:: on ret val, ws changes
3180 * bufferlist.h: correct \file
3182 * buffer.C (makeLinuxDocFile): fix const type order
3183 (makeDocBookFile): ditto
3184 (fillWithBibKeys): use std:: on stdlib args.
3186 * CutAndPaste.C: fix authors.
3187 (availableSelections): use std:: on return vector
3189 2003-06-27 André Pönitz <poenitz@gmx.net>
3191 * BufferView_pimpl.C:
3192 * bufferview_funcs.C:
3200 * text3.C: remove LyXCursor::row_ member
3203 * text.C: rename fullRebreak() to partialRebreak() and implement
3204 a fullRebreak() that really bereks fully
3206 * textcursor.h: new struct for cursor-related data
3208 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3210 * lyx_main.C (LyX): get full path of document loaded on the
3213 2003-06-26 André Pönitz <poenitz@gmx.net>
3215 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3216 remove unused/broken operator>,<,>=.
3218 * text.C: remove only use of broken operator<= in an Assert().
3220 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3222 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3223 moved errorlist_.clear to showErrorList
3225 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3227 * converter.C (scanLog, runLaTeX):
3228 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3229 move the bv->showErrorList call to the callers
3230 * lyxfunc.C: i.e. here...
3232 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3233 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3234 namespace, the second to...
3235 * buffer_funcs (BufferFormat, parseErrors): added
3236 * errorlist.C (ErrorList(TeXErrors const &)): removed
3238 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3240 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3242 2003-06-24 "Garst R. Reese" <reese@isn.net>
3246 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3248 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3250 * version.C.in: change docversion to 1.4
3252 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3254 * buffer.C: fix a bug just introduced
3256 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3258 * buffer.[Ch]: added the parseError signal and use it, removed
3260 * BufferView.[Ch] (addError): moved to ...
3261 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3262 to the Buffer::parseError signal to catch (guess what) parse errors
3263 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3265 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3267 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3268 ability to create a buffer and to return an existing one from
3269 the list. Moved these functions to...
3270 * buffer_funcs.[Ch]: added
3271 * BufferView.[Ch] (loadLyXFile): added
3272 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3273 job removed from bufferlist::loadLyXFile.
3274 * buffer.C (setReadOnly): make it work without view
3275 (i.e added an if (users))
3277 2003-06-19 Angus Leeming <leeming@lyx.org>
3280 * LyXAction.C (init):
3281 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3282 with LFUN_DIALOG_SHOW <name> <data>.
3284 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3286 * CutAndPaste.C (availableSelections): small compilation fix for
3287 ancient (gcc 2.9x) compilers
3289 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * text3.C (cursorNext): add tmp var
3293 * text2.C (updateCounters): for function calling out of for clause
3294 (replaceSelectionWithString): ditto
3295 (insertStringAsParagraphs): ditto
3296 (getColumnNearX): add tmp var
3297 (setCursorFromCoordinates): add tmp var
3298 (cursorDownParagraph): add tmp var
3299 (deleteEmptyParagraphMechanism): add tmp var
3301 * text.C (insertChar): add tmp var
3303 * rowpainter.C (paintDepthBar): add tmp var
3305 * CutAndPaste.C (availableSelections): potentially check all
3306 paragraphs in a cut to fill the shown strings.
3308 2003-06-18 André Pönitz <poenitz@gmx.net>
3310 * kbmap.[Ch]: use vector<> instead of list<>
3312 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3314 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3315 pasteSelection with index
3317 * text2.C (pasteSelection): modify, call pasteSelection with index
3319 * paragraph.C (asString): reimplement version with no interval to
3320 call the one with interval.
3322 * lyxtext.h: add index arg to pasteSelection
3324 * MenuBackend.C (MenuItem): handle PasteRecent
3325 (Menu::read::Menutags): add md_pasterecent
3327 (expandPasteRecent): new function
3330 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3332 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3334 (availableSelections): new function
3336 2003-06-17 Angus Leeming <leeming@lyx.org>
3338 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3340 2003-06-17 Angus Leeming <leeming@lyx.org>
3343 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3345 * lyxfunc.C (dispatch): invoke it.
3347 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3349 * iterators.C (operator++, ParPosition): reintroduce some
3350 const_cast for the benefit of older compilers.
3352 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3354 * text3.C (dispatch): do not modify clipboard when doing
3355 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3356 LFUN_DELETE_SKIP on a selection selection
3358 2003-06-16 André Pönitz <poenitz@gmx.net>
3364 * tabular.[Ch]: IU of clone() and getLabelList();
3366 2003-06-13 André Pönitz <poenitz@gmx.net>
3368 * tabular.h: compactification
3370 2003-06-12 André Pönitz <poenitz@gmx.net>
3374 * tabular_funcs.h: some renaming plus whitespace
3376 2003-06-12 André Pönitz <poenitz@gmx.net>
3379 * BufferView_pimpl.C:
3385 * toc.C: Return a Paragraph & for ParIterator::operator*()
3387 2003-06-11 John Levon <levon@movementarian.org>
3391 * ToolbarBackend.C: add "Toolbars" section and
3394 2003-06-10 Angus Leeming <leeming@lyx.org>
3397 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3399 * lyxfunc.C (dispatch): invoke it.
3401 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * main.C: protect <ios> with HAVE_IOS
3404 (main): protect sync_with_stdio with HAVE_IOS
3406 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3408 * text2.C (cutSelection): adjust
3409 (pasteSelection): adjust
3411 * messages.C: handle get of empty string
3413 * main.C (main): use sync_with_stdio(false)
3415 * lyxfunc.C (dispatch): adjust
3417 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3418 (WriteAs): remove unneeded BufferView arg.
3420 * bufferparams.h: use correct types on papersize, papersize2 and
3423 * bufferparams.C (readToken): adjust for type
3424 (writeLaTeX): add missing cases to switch.
3426 * bufferlist.C (quitWriteBuffer): adjust
3429 * buffer.C (asciiParagraph): remove some commented code.
3431 * CutAndPaste.C: remove current_view extern variable.
3432 (cutSelection): add BufferParams arg.
3433 (eraseSelection): add BufferParams arg.
3434 (pasteSelection): add Buffer const & arg
3436 2003-06-07 John Levon <levon@movementarian.org>
3439 * paragraph_funcs.C:
3440 * paragraph_pimpl.C:
3444 * paragraph.C: allow InsetERT to freely space lines,
3445 and some consolidation of code
3447 2003-06-06 José Matos <jamatos@fep.up.pt>
3449 * buffer.C (makeDocBookFile): fix bug #821
3451 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3453 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3455 2003-06-04 Angus Leeming <leeming@lyx.org>
3457 * buffer.C: bump format to 224.
3459 2003-06-05 André Pönitz <poenitz@gmx.net>
3461 * text2.C (redoParagraphs): remove two const_cast<>
3463 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3465 * ParagraphList.h: remove last remnants of NO_STD_LIST
3467 2003-06-03 Angus Leeming <leeming@lyx.org>
3469 * factory.C (createInset): small change to the way InsetExternal's params
3472 2003-06-04 André Pönitz <poenitz@gmx.net>
3474 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3476 * paragraph_pimpl.h:
3477 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3479 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3481 * undo_funcs.C: make some simple cases of undo work again
3483 2003-06-03 John Levon <levon@movementarian.org>
3485 * ispell.C: HPUX doesn't have sys/select.h
3488 2003-06-03 John Levon <levon@movementarian.org>
3490 * CutAndPaste.C: update tabular and include inset
3495 * paragraph.C: remove owningBuffer(), don't pass Buffer
3498 * factory.C: insetGraphicsParams changed
3500 2003-06-02 John Levon <levon@movementarian.org>
3506 * text3.C: remove insetparent
3508 2003-06-02 John Levon <levon@movementarian.org>
3511 * buffer.C: fix inset_iterator.end(), move out of line
3514 2003-06-01 John Levon <levon@movementarian.org>
3516 * text3.C: use a proper cut/paste when doing inset
3517 insert (from Jürgen Spitzmüller)
3519 2003-06-01 John Levon <levon@movementarian.org>
3521 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3523 2003-05-30 André Pönitz <poenitz@gmx.net>
3525 * rowpainter.C: unify second drawing phase
3527 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * trans_mgr.C: remove one case of current_view
3531 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3533 * paragraph_funcs.h: remove paragraph.h include
3535 * paragraph.h: delete NO_STD_LIST stuff
3537 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3539 * buffer.h: remove paragraph.h include
3541 * ParagraphList.C: delete file
3543 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3545 * toc.C (getTocList): adjust
3547 * paragraph_pimpl.C (validate): adjust
3549 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3551 * paragraph.C (Paragraph): adjust
3552 (getPositionOfInset): use const_iterator, adjust
3553 (bibitem): use const_iterator, adjust
3554 (setInsetOwner): adjust
3556 * iterators.C (operator++): adjust
3558 * InsetList.[Ch]: Replace selfmade iterator with standard
3559 vector::iterator also introduce const_iterator. Remove getPos,
3560 getInset and setInset from InsetTable. Adjust accordingly.
3562 * BufferView.C (lockInset): adjust
3563 (ChangeInsets): adjust
3565 * tabular.[Ch]: delete commented same_id functions
3567 2003-05-28 John Levon <levon@movementarian.org>
3569 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3571 2003-05-28 André Pönitz <poenitz@gmx.net>
3573 * metricsinfo.[Ch]: remove 'fullredraw' member
3575 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3577 * lyxtextclass.C (operator): remove caching.
3579 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * text2.C (cursorBottom): adjust
3584 (setCounter): use ParagraphList::find, adjust
3586 * text.C (workWidth): use ParagraphList::find, adjust
3588 * lyxcursor.C (LyXCursor): adjust
3590 * buffer.C (inset_iterator): adjust
3592 * ParagraphList.h: make iterator(value_type) private, make
3593 ParagraphList a friend of iterator.
3595 * ParagraphList.C (find): new function
3597 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3599 2003-05-27 André Pönitz <poenitz@gmx.net>
3601 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3603 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3605 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3607 2003-05-26 John Levon <levon@movementarian.org>
3609 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3611 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * remove same_id from function signatures, adjust.
3615 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3619 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3621 * paragraph.C (Paragraph): get rid of same_ids parameter
3623 * ParagraphList.C (insert): adjust
3626 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * paragraph_funcs.C (breakParagraph): adjust
3629 (breakParagraphConservative): adjust
3631 * buffer.C (readParagraph): adjust
3633 * ParagraphList.C (insert): take a reference instead of a pointer
3636 * paragraph.[Ch] (id): new function
3638 * bufferlist.C (newFile): adjust
3640 * ParagraphList.C (ParagraphList): adjust
3642 (push_back): take a reference instead of a pointer.
3644 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3646 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3649 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3650 set else use old code.
3652 * ParagraphList.C: remove all NO_NEXT code and only compile this
3653 code of NO_STD_LIST is set.
3655 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3657 * BufferView_pimpl.C:
3667 * graphics/GraphicsConverter.C:
3668 * graphics/PreviewLoader.C: header adjustment
3670 2003-05-23 Angus Leeming <leeming@lyx.org>
3672 * LaTeXFeatures.[Ch] (useBabel): new method.
3673 * bufferparams.C (writeLaTeX): use it.
3675 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * ParagraphList.h (set): remove unused function.
3679 2003-05-23 André Pönitz <poenitz@gmx.net>
3682 * BufferView_pimpl.C:
3686 * undo_funcs.C: setUndo reworked
3688 * iterators.[Ch]: add access to topmost ParagraphList
3690 * lyxtext.[Ch] (workWidth): add a const
3692 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3694 * texrow.[Ch] (increasePos): remove function
3695 * exporter.C (export): removed unused var and outdated comment
3697 2003-05-23 Angus Leeming <leeming@lyx.org>
3699 * latexrunparams.h: rename fragile as moving_arg.
3700 * paragraph.C (simpleTeXOnePar): ditto.
3701 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3703 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3707 (textUndoOrRedo): comment out a currently unused var.
3709 * paragraph.h (NO_NEXT): enable NO_NEXT
3711 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3713 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3715 * exporter.C (Export): adjust for removeAutoInsets removal.
3717 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3719 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3721 * BufferView.[Ch] (removeAutoInsets): delete function
3723 2003-05-22 Angus Leeming <leeming@lyx.org>
3725 * latexrunparams.h: add a free_spacing variable.
3727 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3728 to pass moving_arg, as the data is stored in runparams.fragile.
3730 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3731 to Inset::latexOptional or to simpleTeXOnePar.
3733 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3734 free_spacing arg to Inset::latexOptional.
3736 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3739 2003-05-22 Angus Leeming <leeming@lyx.org>
3741 * latexrunparams.h: add fragile and use_babel variables.
3743 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3744 * buffer.C (makeLaTeXFile): store this returned value in
3745 runparams.use_babel, thus passing it to the inset::latex methods.
3747 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3748 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3750 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3751 longer has a fragile arg, as it is stored in runparams.fragile.
3753 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3754 moving_arg parameter as the data is stored in runparams.fragile.
3756 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3757 a fragile parameter as the data is stored in runparams.fragile.
3759 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3763 2003-05-22 Angus Leeming <leeming@lyx.org>
3765 * latexrunparams.h: add a 'bool nice' which defaults to false.
3767 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3768 now encapsulated within runparams.
3770 * bufferlist.C (updateIncludedTeXfiles):
3771 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3773 2003-05-22 Angus Leeming <leeming@lyx.org>
3775 * latexrunparams.h: new file containing struct LatexRunParams.
3776 * Makefile.am: add new file.
3778 * LaTeX.[Ch] (c-tor, run):
3779 * buffer.[Ch] (makeLaTeXFile):
3780 * bufferlist.[Ch] (updateIncludedTeXfiles):
3781 * converter.C (convert, scanLog):
3782 * converter.[Ch] (runLaTeX):
3783 * exporter.C (Export):
3784 * paragraph.[Ch] (simpleTeXOnePar):
3785 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3786 * paragraph_funcs.[Ch] (latexParagraphs):
3787 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3788 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3789 pass around a LatexRunParams parameter.
3791 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3793 * paragraph.[Ch]: remove unused constructor
3795 * ParagraphList.C (erase): new function, taking two iterators
3797 2003-05-22 André Pönitz <poenitz@gmx.net>
3799 * undo_funcs.C: remove duplicated code
3801 * iterator.[Ch]: operator=
3803 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3805 * tabular.C (SetMultiColumn): ws changes
3807 * rowpainter.C (paintFirst): get rid of a ->previous
3809 * lyx_cb.C (getPossibleLabel): parlist simplification
3811 * BufferView.C (ChangeInsets): simplify slightly.
3813 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3815 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3816 * lfuns.h: new LFUN_SPACE
3817 * lyxfunc.C: protected space has a new lfun
3818 * paragraph_funcs.C: read new space insets
3820 * factory.C: handle new space insets
3822 2003-05-22 André Pönitz <poenitz@gmx.net>
3825 * BufferView_pimpl.C:
3828 * undo_funcs.C: return a ParIterator from getParFromID.
3830 * iterators.[Ch]: add two const's
3832 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * toc.C (getTocList): adjust
3836 * iterators.[Ch]: rework for parlist
3838 * buffer.C (par_iterator_begin): adjust
3839 (par_iterator_end): adjust
3841 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3843 * BufferView.C (removeAutoInsets): adjust
3844 (ChangeInsets): adjust
3846 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3848 * text.C (top_y): fix bug 1110
3850 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3852 * errorlist.[Ch]: added
3855 * BufferView_pimpl.C:
3856 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3859 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * Makefile.am: ensure that lyx is relinked upon changes to the
3862 various "convenience" libs.
3864 2003-05-20 Angus Leeming <leeming@lyx.org>
3866 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3867 files are compiled in alphabetical order again.
3869 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3871 2003-05-19 Angus Leeming <leeming@lyx.org>
3873 * gettext.[Ch]: remove "char const * _(char const *)".
3875 2003-05-19 André Pönitz <poenitz@gmx.net>
3877 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3886 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3888 2003-05-19 André Pönitz <poenitz@gmx.net>
3892 * lyxtextclass.[Ch]:
3894 * paragraph_funcs.[Ch]:
3896 * text3.C: more insetenv work
3898 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3900 * ParagraphParameters.C (params2string): small bug fixed
3902 2003-05-16 André Pönitz <poenitz@gmx.net>
3905 * bufferview_funcs.C: patch from Kornel Benko to prevent
3906 crash when _(...) is called twice in a statement
3908 2003-05-16 André Pönitz <poenitz@gmx.net>
3915 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3917 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3919 * lyx_main.C (init): remove spurious static_cast
3921 2003-05-14 André Pönitz <poenitz@gmx.net>
3923 * BufferView.C: fix format string
3925 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3927 * BufferView.[Ch] (insertErrors): removed
3928 * BufferView.[Ch] (showErrorList): added
3929 * buffer.C (runChkTeX):
3930 * converter.C (scanLog): call showErrorList instead of inserterrors
3932 2003-05-13 André Pönitz <poenitz@gmx.net>
3934 * BufferView_pimpl.C:
3936 * bufferview_func.C:
3943 * tabular_funcs.h: tostr() from its own header
3945 * ParagraphParameters.C:
3950 * text3.C: STRCONV()
3952 2003-05-12 André Pönitz <poenitz@gmx.net>
3955 * BufferView_pimpl.C:
3959 * ParagraphParameters.C:
3963 * bufferview_funcs.C:
3976 * paragraph_funcs.C:
3980 * text3.C: boost::format -> bformat all over the place
3983 2003-05-09 André Pönitz <poenitz@gmx.net>
3985 * LColor.[Ch]: Pimpl the #include <map> away
3987 2003-05-09 John Levon <levon@movementarian.org>
3989 * bufferlist.C: never remove emergency saves
3991 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * Makefile.am: better lib building
3995 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3999 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4000 (simpleTeXSpecialChars): adjust
4001 (simpleTeXSpecialChars): adjust
4002 * paragraph.C (simpleTeXOnePar): adjust
4003 * buffer.C (makeLaTeXFile): adjust
4005 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4007 * text2.C (changeDepth): parlist cleanup
4008 (getColumnNearX): ditto
4010 * rowpainter.C (getLabelFont): parlist cleanup
4012 * bufferlist.C (newFile): parlist cleanup
4014 * CutAndPaste.C (eraseSelection): parlist cleanup
4016 * BufferView_pimpl.C (trackChanges): parlist cleanup
4019 * BufferView.C (lockInset): parlist cleanup.
4020 (ChangeInsets): ditto
4022 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4024 * CutAndPaste.h: Update file header.
4026 * CutAndPaste.C: Update file header.
4027 Store the parts cut out of the Document in a limited_stack.
4028 (copySelection): adjust
4029 (pasteSelection): new function, takes the index in the limited stack.
4030 (nrOfParagraphs): adjust
4031 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4032 simplify error inset insertion.
4033 (checkPastePossible): adjust
4035 2003-05-06 John Levon <levon@movementarian.org>
4037 * text2.C: don't cast wrap inset to float
4039 2003-05-05 André Pönitz <poenitz@gmx.net>
4042 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4044 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4045 few naked Paragraph *.
4047 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4049 * bufferparams.C: Output warning if a document with missing
4050 TeX document class is loaded
4051 * exporter.C: Disable TeX exports if the document class is missing
4054 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4055 isTeXClassAvailable()
4057 2003-05-03 John Levon <levon@movementarian.org>
4060 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4061 explicit cursor show/hide
4063 * BufferView_pimpl.h:
4064 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4065 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4067 * lyxfunc.C: hide cursor before dispatching.
4072 * text3.C: remove explicit cursor hides
4074 2003-05-02 André Pönitz <poenitz@gmx.net>
4076 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4079 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4082 * text2.C: tiny whitespace
4084 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * undo_funcs.C: almost only ws changes.
4088 * ParagraphList.C (splice): just return if pl is empty.
4090 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * ParagraphList.C (splice): new function.
4094 * CutAndPaste.C (pasteSelection): use it
4096 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * CutAndPaste.C (pasteSelection): remove the last next and
4099 previous from this file.
4101 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * CutAndPaste.C (pasteSelection): more clean up, user proper
4104 ParagraphList functions for pasteing.
4106 * ParagraphList.C (insert): new function, three arg insert
4108 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * ParagraphList.C (insert): new function, three arg insert
4112 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4115 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4117 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4119 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4123 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4126 (copySelection): clean up a bit.
4127 (pasteSelection): use make_pair
4129 * ParagraphList.C (ParagraphList): implement copy constructor
4130 (operator=): implement, base on copy constructor.
4133 * paragraph.C (erase): return a bool
4135 * paragraph_pimpl.C (erasePos): remove function, move contents...
4136 (erase): ... here. Return a bool.
4137 (erase): call erase instead of erasePos.
4139 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4141 * ParagraphList.h: define PitPosPair
4142 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4143 ParagraphList, fix a bug on pasting multiple pars
4144 * text2.C: change interface to C&P
4146 2003-04-30 André Pönitz <poenitz@gmx.net>
4148 * undo_func.C: revert part of yesterday's patch 2
4150 2003-04-30 John Levon <levon@movementarian.org>
4152 * LColor.C: s/tabular/table/
4154 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4156 * text3.C (dispatch): do not convert iterator -> pointer
4157 * undo_funcs.C (setCursorParUndo): ditto
4158 * text_funcs.C (transposeChars): ditto
4160 * text2.C (setLayout): ws changes only
4162 * text.C (breakParagraph): do not convert iterator -> pointer
4164 (acceptChange): ditto
4165 (rejectChange): ditto
4170 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4173 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4175 * text3.C (gotoInset): YABG (yet another bad getChar)
4177 2003-04-29 André Pönitz <poenitz@gmx.net>
4179 * paragraph.h: make operator= private unimplemented as long as
4182 * ParagraphList.C: whitespace
4185 * paragraph_pimpl.[Ch]:
4186 * paragraph_funcs.C:
4188 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4191 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4193 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4195 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4196 * paragraph.[Ch] (erase):
4197 * paragraph_pimpl.[Ch] (erase): change return type and value
4198 * text2.C (cutSelection): some rework
4200 2003-04-28 John Levon <levon@movementarian.org>
4202 * bufferlist.C: changes for unsaved changes dialog
4204 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * bufferlist.C (newFile): set language (messages_) for new
4209 * buffer.C (readFile): ws changes only.
4211 2003-04-28 André Pönitz <poenitz@gmx.net>
4216 * BufferView_pimpl.C:
4217 * BufferView.C: getParFromID related ParagraphList::iterator changes
4219 2003-04-28 André Pönitz <poenitz@gmx.net>
4221 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4224 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4226 * messages.C: remove one more localedir class variable.
4228 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * messages.C (getLocaleDir): singleton generation function
4232 (Messages): add a default constructor.
4234 * main.C (main): do not setup localedir here, do not call
4237 * gettext.C (_): use it.
4238 (gettext_init): delete funciton
4240 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * gettext.C (getLyXMessages): new singleton generating function.
4244 * buffer.C (updateDocLang): adjust
4246 * Makefile.am (messages.o): add target
4247 (main.o): remove target
4249 2003-04-27 John Levon <levon@movementarian.org>
4254 * lyxvc.C: specify cancel button in Alert::prompt
4256 2003-04-26 John Levon <levon@movementarian.org>
4261 * LyXAction.C: add LFUN_INSET_SETTINGS
4263 * lyxfunc.C: don't enable tabular-feature when there's
4264 just any locking inset
4266 2003-04-26 John Levon <levon@movementarian.org>
4268 * bufferlist.C: re-add Cancel to buffer close question
4270 * lyxfunc.C: fix import UI a bit
4272 2003-04-25 John Levon <levon@movementarian.org>
4274 * gettext.C: remove the broken asserts for now
4276 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * messages.C: make case where setlocale cannot comply work better.
4280 * buffer.C (updateDocLang): new function
4281 (changeLanguage): use it
4284 * text2.C (setCounter): use B_ a bit.
4286 * lyxlayout.C (Read): be sure to trim the label strings.
4288 * messages.C (Messages): fix typo in comment
4290 * buffer.C (readFile): set message_ after file is loaded.
4291 (makeDocBookFile): remove double return
4292 (changeLanguage): reset message_ upon language change.
4293 (B_): new func, use this to get translated buffer strings.
4295 * main.C: add myself and Jean Marc as authors.
4297 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * messages.[hC]: pimplify Messages, and three different pimpls to be
4300 used in different circumstances.
4302 * gettext.[Ch]: change for use with new message code.
4304 2003-04-24 André Pönitz <poenitz@gmx.net>
4306 * factory.C: support for eqref
4308 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * messages.[Ch]: add missing char
4312 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4314 * messages.[Ch]: New files
4316 2003-04-18 John Levon <levon@movementarian.org>
4320 * BufferView_pimpl.C:
4324 * text2.C: remove layout-copy/paste (bug 778)
4326 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4328 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4330 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4332 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4333 if they succeed. Act accordingly.
4335 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * text2.C (setCharFont): adjust
4338 (setCounter): adjust
4339 (insertStringAsLines): adjust
4341 * text.C (leftMargin): adjust
4342 (setHeightOfRow): adjust
4344 * rowpainter.C (paintFirst): adjust
4347 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4349 (isFirstInSequence): ditto
4350 (getEndLabel): ditto
4353 * paragraph.C (getParLanguage): comment out some hard stuff.
4355 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4357 (simpleDocBookOnePar): ditto
4358 (makeDocBookFile): use ParagraphList::iterator
4360 * CutAndPaste.C (pasteSelection): adjust
4362 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * text2.C (getFont): adjust
4365 (getLayoutFont): adjust
4366 (getLabelFont): adjust
4368 * paragraph_funcs.C (TeXOnePar): adjust
4370 * buffer.C (simpleLinuxDocOnePar): adjust
4371 (simpleDocBookOnePar): adjust
4373 * CutAndPaste.C (pasteSelection): adjust
4375 * BufferView.C (getEncoding): adjust
4377 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4379 2003-04-16 John Levon <levon@movementarian.org>
4381 * lyxfind.C: use parlist stuff for search/changes
4383 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4387 * text2.C (deleteEmptyParagraphMechanism): adjust
4389 * text2.[Ch] (ownerParagraph): delete func (both of them
4391 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4395 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * ParagraphList.C: prepare for NO_NEXT
4399 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * text2.C (getFont): adjust
4402 (getLayoutFont): adjust
4403 (getLabelFont): adjust
4405 * paragraph.C (getFont): adjust
4406 (getLabelFont): adjust
4407 (getLayoutFont): adjust
4409 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4411 2003-04-15 John Levon <levon@movementarian.org>
4415 * lyx_main.C: handle Include in .ui files
4417 2003-04-15 John Levon <levon@movementarian.org>
4419 * MenuBackend.C: make the doc files length shorter
4422 * ToolbarBackend.C: handle toolbar placement flags,
4425 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4430 * paragraph_funcs.C (TeXOnePar): adjust
4432 * paragraph.C (getLabelFont): add outerfont arg, adjust
4433 (getLayoutFont): ditto
4434 (simpleTeXOnePar): adjust
4436 * paragraph_pimpl.C (realizeFont): delete func
4438 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4440 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4441 row argument, constify cur argument.
4443 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * text2.C (getFont): adjust
4446 (getLayoutFont): adjust
4447 (getLabelFont): adjust
4449 * paragraph_funcs.C (TeXOnePar): adjust
4450 (outerFont): new func...
4451 (realizeFont): ...moved out from here, changed this to facilitate
4454 * paragraph.C (getFont): take outerfont as arg, adjust
4455 (simpleTeXOnePar): add outerfont arg, adjust
4457 * buffer.C (simpleLinuxDocOnePar): adjust
4458 (simpleDocBookOnePar): adjust
4460 * CutAndPaste.C (pasteSelection): adjust
4462 * BufferView.C (getEncoding): adjust
4464 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * text2.C (setCharFont): adjust
4467 (setCounter): adjust
4469 * text.C (leftMargin): adjust
4470 (setHeightOfRow): adjust
4472 * rowpainter.C (paintFirst): adjust
4475 * paragraph_pimpl.C (realizeFont): adjust
4477 * paragraph.C (isFirstInSequence): move from here...
4478 * paragraph_funcs.C (isFirstInSequence): ...to here
4480 * paragraph.C (outerHook): move from here...
4481 * paragraph_funcs.C (outerHook): ...to here
4483 * paragraph.C (depthHook): move from here...
4484 * paragraph_funcs.C (depthHook): ...to here
4486 * paragraph.C (getEndLabel): move from here...
4487 * paragraph_funcs.C (getEndLabel): ...to here
4489 * text2.C (realizeFont): move from here...
4490 * paragraph_funcs.C (realizeFont): ...to here
4492 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4496 2003-04-14 Angus Leeming <leeming@lyx.org>
4498 * LColor.[Ch]: scrap LColor mathcursor.
4500 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * lyxlex.[Ch] (text): delete function
4503 * trans.C (Load): adjust
4504 * paragraph_funcs.C (readParToken): adjust
4506 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4509 vector<char> instead of a char[].
4511 * lyxlex_pimpl.C (getString): adjust
4513 (lex): use getString
4517 * lyxlex.C (text): use pimpl_->getString()
4521 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4524 (makeFontEntriesLayoutSpecific): temp var for par.size()
4525 (setLayout): temp var for ownerParagraphs().end()
4526 (fullRebreak): temp var for rows().end()
4527 (selectionAsString): temp var for boost::next(startpit), realize
4528 that the while really is a regular for loop.
4529 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4530 setCursor in one place.
4531 (setParagraph): temp vr for ownerParagraphs().end()
4532 (updateCounters): make the while loop a for loop
4533 (cutSelection): temp var for ownerParagraphs().end()
4534 (updateInset): make the do {} while() a regular for loop
4535 (getCursorX): use temp vars
4536 (setCurrentFont): use temp vars
4537 (getColumnNearX): use temp vars
4539 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * text.C (transformChar): use temp var for getChar
4542 (computeBidiTables): use temp var for row->par()
4543 (fill): move temp vars for row->par() and pit->layout() earlier in
4545 (labelFill): use temp var for row->par()
4546 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4547 asc and desc, realize that pit never changes and that firstpit is
4548 just a duplicate and not needed. Exchange rit->par() with pit in a
4550 (breakAgain): use a temp var for boost::next(rit)
4551 (breakAgainOneRow): ditto
4552 (breakParagraph): use a temp var for rows().begin()
4553 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4554 (cursorRightOneWord): use temp var for cursor.par() and
4555 cursor.pos(), remove usage of tmpcursor.
4556 (cursorLeftOneWord): use temp var for cursor.par() and
4557 cursor.pos() only set cur at end of function.
4559 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * text.C, text2.C: exchange all usage of Paragraph::next with
4562 boost::next(ParagraphList::iterator)
4564 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4566 * text2.C (cursorTop): simplify implementation
4567 (cursorBottom): ditto
4568 (setParagraph): use ParagraphList::iterator
4569 (setCurrentFont): adjust
4570 (getColumnNearX): adjust
4571 (cursorRight): adjust
4572 (cursorLeft): remove usage of Paragraph::previous
4573 (cursorUpParagraph): ditto
4574 (deleteEmptyParagraphMechanism): slight cleanup
4576 * text.C (isBoundary): take a Paragraph const & instead of a
4578 (addressBreakPoint): ditto
4579 (leftMargin): remove usage of Paragraph::previous.
4580 (setHeightOfRow): ditto
4581 (cursorLeftOneWord): ditto
4582 (selectNextWordToSpellcheck): ditto
4585 (breakParagraph): remove one usage of Paragraph::next
4586 (redoParagraph): ditto
4587 (acceptChange): ditto
4588 (insertChar): adjust
4589 (rowBreakPoint): adjust
4591 * bufferview_funcs.C (toggleAndShow): adjust
4593 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4595 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4596 methods to access it.
4598 * text.C: Added updateRowPositions to compute all row positions.
4599 Make top_y and getRowNearY() to use the cached y position
4601 2003-04-11 John Levon <levon@movementarian.org>
4603 * text.C (rowBreakPoint): reintroduce the labelEnd
4604 checks, code copied from the row fill stuff. Deep voodoo.
4606 * text.C (fill): add a comment and debugging for the
4609 2003-04-11 John Levon <levon@movementarian.org>
4611 * text.C: make sure fullrow insets get wrapped to the next line,
4612 even when they're in a manual label
4614 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * text2.C (insertParagraph): make it take ParagraphList::iterator
4618 (setLayout): make it return ParagraphList::iterator
4619 (redoParagraphs): ditto
4621 (checkParagraph): ditto
4623 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4625 * text2.C: adjust several funcs.
4626 (realizeFont): take a ParagraphList::iterator as arg.
4627 (getLayoutFont): ditto
4628 (getLabelFont): ditto
4629 (setCharFont): ditto
4631 * text.C: adjust several funcs.
4633 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4635 * text.C (selectNextWordToSpellcheck): don't accidentally
4638 2003-04-10 John Levon <levon@movementarian.org>
4640 * ToolbarBackend.C (getIcon): special handling for
4643 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4645 * text2.C (cursorRight): a getChar assert fixed
4647 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * text2.C (getFont): change to take a ParagraphList::iterator
4650 instead of Paragraph*
4651 Adjust several functions.
4653 * text.C (transformChar): change to take a ParagraphList::iterator
4654 instead of Paragraph*
4655 (singleWidth): ditto
4656 Adjust several functions.
4658 * rowpainter.C: adjust several functions
4659 * rowpainter.h:store a ParagraphList::iterator and not a
4663 2003-04-09 John Levon <levon@movementarian.org>
4668 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4669 and the "help" bits as well
4671 2003-04-09 John Levon <levon@movementarian.org>
4674 * ToolbarBackend.C: allow multiple toolbars
4676 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * undo_funcs.C (setCursorParUndo): adjust
4680 * text_funcs.C (transposeChars): adjust
4682 * text3.C (gotoNextInset): adjust
4685 * text2.C (setLayout): adjust
4686 (changeDepth): adjust
4688 (redoParagraphs): adjust
4689 (selectionAsString): adjust
4690 (setParagraph): adjust
4691 (insertInset): adjust
4692 (cutSelection): adjust
4693 (copySelection): adjust
4694 (pasteSelection): adjust
4695 (insertStringAsLines): adjust
4696 (updateInset): adjust
4697 (setCursor): change to take a ParagraphList::iterator parameter
4698 (setCursorIntern): change to take a ParagraphList::iterator parameter
4699 (setCurrentFont): adjust
4700 (cursorLeft): adjust
4701 (cursorRight): adjust
4702 (deleteEmptyParagraphMechanism): adjust
4704 * text.C (breakParagraph): adjust
4705 (insertChar): adjust
4706 (acceptChange): adjust
4707 (rejectChange): adjust
4708 (selectNextWordToSpellcheck): adjust
4709 (changeCase): adjust
4713 * lyxfind.C (SearchForward): adjust
4714 (SearchBackward): adjust
4715 (nextChange): adjust
4717 * lyxcursor.C (par): adjust
4719 * lyxcursor.h: store a ParagraphList::iterator instead of a
4722 * lyx_cb.C (getPossibleLabel): adjust
4724 * bufferview_funcs.C (toggleAndShow): adjust
4726 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4729 * BufferView.C (removeAutoInsets): adjust
4730 (lockedInsetStoreUndo): adjust
4732 2003-04-09 John Levon <levon@movementarian.org>
4734 * ToolbarBackend.C: try icon without argument
4735 if with argument fails
4737 2003-04-08 John Levon <levon@movementarian.org>
4740 * ToolbarBackend.C: add getIcon(), handle tooltip,
4741 and change from "Icon" to "Item".
4743 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4745 * BufferView.C (lockInset): another bad getchar crunched
4747 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4749 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4752 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4754 * lyxfind.C (searchForward, searchBackwards): bug 782
4756 2003-04-07 John Levon <levon@movementarian.org>
4758 * paragraph.C: remove dead comment
4760 * text.C: remove troublesome depth-fiddling code
4761 in leftMargin() and rightMargin() (bug 1017)
4763 * text.C: fix breaking of rows in nested lists
4766 * text2.C (updateCounters): fix up depth values
4769 2003-04-07 John Levon <levon@movementarian.org>
4771 * BufferView_pimpl.C: clear message when doc finishes resizing,
4772 and after a mouse event
4774 * lyxfunc.C: clear message after exiting inset
4776 2003-04-07 John Levon <levon@movementarian.org>
4778 * bufferview_funcs.C: show math status not outside
4779 status in the statusbar
4781 2003-04-07 John Levon <levon@movementarian.org>
4783 * lyxfunc.C: note status changed after a depth change
4785 2003-04-04 Angus Leeming <leeming@lyx.org>
4787 * LaTeX.h: move AuxInfo operator==, != out of line.
4788 Remove LaTeX virtual destructor; nothing derives from it.
4789 Move operator()() out of public area and rename it startscript().
4790 Change protected for private.
4792 2003-04-04 Angus Leeming <leeming@lyx.org>
4795 * text2.C: remove unneeded #includes.
4797 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4799 * text2.C (dEPM): fix the heigth of the next row
4801 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4803 * text.C: squashed an invalid getChar requester + some ws changes
4805 2003-04-03 John Levon <levon@movementarian.org>
4807 * bufferview_funcs.h:
4808 * bufferview_funcs.C:
4811 * text2.C: make getStatus work for the env depth lfuns
4813 2003-04-03 John Levon <levon@movementarian.org>
4815 * bufferview_funcs.h:
4816 * bufferview_funcs.C:
4819 * text2.C: parlistize decDepth(), by merging it with incDepth()
4821 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * lyxrow.h: store a ParagraphList::iterator instead of a
4824 Paragraph* and adjust other class functions to suit.
4826 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4829 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4831 * text2.C (setCursor): do not anchor to cursor row for the time being
4833 2003-04-02 John Levon <levon@movementarian.org>
4840 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4842 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * paragraph.h: make ParagraphList and ParagraphList::iterator
4845 friends of Paragraph.
4847 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4849 * ParagraphList.C: Use the private next_ and previous_ from
4852 2003-04-01 John Levon <levon@movementarian.org>
4856 * Makefile.am: rename, remove defaults gunk
4859 * MenuBackend.C: remove defaults gunk
4862 * Languages.C: remove defaults gunk
4865 * lyx_main.C: error out if files couldn't be found.
4867 2003-04-02 John Levon <levon@movementarian.org>
4869 * text2.C: make incDepth() use parlist
4871 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4873 * undo_funcs.C (firstUndoParagraph): adjust
4875 * text3.C (gotoInset): adjust
4876 (dispatch): adjust, and rewrite loop.
4878 * text2.C (init): adjust, and rewrite loop.
4879 (redoParagraphs): adjust
4880 (updateInset): adjust, and rewrite loop.
4881 (deleteEmptyParagraphMechanism): adjust
4883 * tabular.C (LyXTabular): adjust
4884 (SetMultiColumn): adjust
4887 * lyxtext.[Ch] (ownerParagraph): delete function
4888 (ownerParagraphs): new function returns a ParagraphList.
4890 * BufferView.C (removeAutoInsets): adjust
4891 (insertErrors): adjust
4892 (setCursorFromRow): adjust
4894 2003-04-01 Angus Leeming <leeming@lyx.org>
4896 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4899 2003-04-02 John Levon <levon@movementarian.org>
4905 * text_funcs.C: make transposeChars a free function
4907 * lyxrow_funcs.C: remove wrong comment
4909 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * rowpainter.C: adjust
4917 * lyxrow_funcs. [Ch]: new files
4919 * lyxrow.[Ch]: remove next and previous pointers
4920 (next,previous): remove accessor functions
4921 (isParEnd): move to lyxrow_funcs
4922 (lastPos): move to lyxrow_funcs
4923 (nextRowIsAllInset): move to lyxrow_funcs
4924 (lastPrintablePos): move to lyxrow_funcs
4925 (numberOfSeparators): move to lyxrow_funcs
4926 (numberOfHfills): move to lyxrow_funcs
4927 (numberOfLabelHfills): move to lyxrow_funcs
4928 (hfillExpansion): move to lyxrow_funcs
4932 * bufferview_funcs.C (toggleAndShow): adjust
4934 * RowList.h: Remove class RowList from file leave just a
4937 * RowList.C: delete file
4939 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4942 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * text3.C (cursorPrevious): adjust
4945 (cursorNext): adjust
4948 * text2.C (redoHeightOfParagraph): adjust
4949 (redoDrawingOfParagraph): adjust
4952 * text.C (breakParagraph): adjust
4953 (insertChar): adjust
4956 * rowpainter.C (RowPainter): adjust
4957 (leftMargin): simplify and adjust
4958 (most rowpainter functions): adjust.
4960 * rowpainter.h: store the row as RowList::iterator not as Row*
4962 * lyxcursor.C (row): taka RowList::iterator as arg
4965 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4968 2003-04-01 Angus Leeming <leeming@lyx.org>
4970 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4971 stuff like bool Bool.
4973 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4975 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4978 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4983 * lyxtext.h (rows): drop one version and leve a const variant that
4984 returns a RowList::iterator.
4986 2003-03-31 Angus Leeming <leeming@lyx.org>
4988 * text.C (fill): ensure that the signature is the same as that in the
4991 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4993 * text2.C (redoParagraphs): adjust
4994 (updateCounters): adjust
4995 (checkParagraph): adjust
4996 (getColumnNearX): adjust and reformat a bit.
4998 * text.C (top_y): adjust
5000 (leftMargin): adjust
5001 (prepareToPrint): adjust
5003 (getRowNearY): adjust
5005 * lyxtext.h: make rowlist_ mutable.
5007 * RowList.h: add const_iterator
5008 * RowList.C: adjust for RowList::const_iterator.
5010 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5013 2003-03-31 John Levon <levon@movementarian.org>
5016 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5018 * lyx_main.C: set default fonts from using lyx_gui funcs
5020 * exporter.C: pdf_mode moved from lyxrc
5023 * lyxfunc.C: changes from above
5025 2003-03-31 John Levon <levon@movementarian.org>
5027 * lyx_main.C: fix to the last fix
5029 2003-03-31 John Levon <levon@movementarian.org>
5031 * bufferlist.C: "Load original" -> "Load Original"
5037 * format.C: more Alert cleanups
5039 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * text2.C (removeParagraph): make it take a RowList::iterator as
5043 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5044 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5046 * text.C (anchor_row): make it take a RowList::iterator as arg,
5048 (computeBidiTables): make it take a const reference to Row instead
5049 of Row pointer, adjust.
5050 (leftMargin): make it take a RowList::iterator as arg, adjust.
5051 (rowBreakPoint): adjust
5052 (breakAgainOneRow): make it take a RowList::iterator as arg,
5054 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5056 * bufferview_funcs.C (toggleAndShow): adjust
5058 2003-03-30 John Levon <levon@movementarian.org>
5062 * boost-inst.C: moved to support
5064 * several files: changes as a result
5066 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * text2.C (LyXText): adjust.
5070 (removeRow): make it take a RowList::iterator as arg, adjust.
5071 (fullRebreak): adjust
5072 (deleteEmptyParagraphMechanism): adjust
5073 (clearPaint): adjust
5076 * text.C (top_y): adjust
5077 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5078 (breakAgain): make it take a RowList::iterator as arg, adjust.
5079 (breakParagraph): adjust
5080 (insertChar): adjust
5083 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5084 need_break_row, and refresh_row.
5086 * text3.C (dispatch): adjust
5088 * text2.C (checkParagraph): adjust
5090 (setCursorFromCoordinates): adjust
5092 * text.C (top_y): adjust
5094 (getRow): make it return a RowList::iterator, adjust
5095 (getRowNearY): make it return a RowList::iterator, adjust
5097 * text2.C (init): adjust
5098 (insertRow): remove function
5099 (insertParagraph): adjust
5100 (redoParagraphs): adjust
5101 (fullRebreak): adjust
5102 (updateCounters): adjust
5104 * text.C (top_y): rewrite to use RowList iterators.
5106 (setHeightOfRow): rewrite to sue RowList iterators.
5107 (appendParagraph): adjust
5108 (breakAgain): adjust
5109 (breakAgainOneRow): adjust
5110 (breakParagraph): adjust
5112 (getRowNearY): adjust, and remove commented code.
5114 * lyxtext.h (firstRow): delete function
5115 (lastRow): delete function
5116 (rows): new function (const and non-const versions.)
5117 (insertRow): delete function
5119 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5121 2003-03-29 John Levon <levon@movementarian.org>
5123 * BufferView_pimpl.C: always update scrollbar top
5124 because pasting text when we're anchored could mean we
5125 miss an update altogether
5127 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * text2.C (init): use rowlist_.end() and not 0.
5130 (insertRow): change to take a RowList::iterator as arg, adjust
5132 (insertParagraph): change to take a RowList::iterator as arg,
5134 (redoParagraphs): remove some debug msgs.
5136 * text.C (appendParagraph): change to take a RowList::iterator
5137 arg, adjust for this.
5138 (breakAgain): add an assert
5139 (breakAgainOneRow): ditto
5141 2003-03-29 John Levon <levon@movementarian.org>
5143 * text2.C: do not clear selection after inc/decDepth
5146 2003-03-29 John Levon <levon@movementarian.org>
5149 * buffer.C: fix broken strerrors according to Lars
5151 2003-03-29 John Levon <levon@movementarian.org>
5153 * converters.C: more Alert cleanups
5155 2003-03-29 John Levon <levon@movementarian.org>
5157 * bufferview_funcs.C: remove pointless Alert
5159 * buffer.C: fix confusing error message when
5160 a template is chmoded 000
5162 2003-03-29 John Levon <levon@movementarian.org>
5166 * BufferView_pimpl.C: Alert fixes
5170 * tabular-old.C: remove unused table compat reading
5172 2003-03-29 John Levon <levon@movementarian.org>
5177 * lyx_cb.C: more Alert cleanups
5179 * lyxfunc.C: don't allow chktex if not latex document
5181 2003-03-29 John Levon <levon@movementarian.org>
5185 * buffer.C: warnings pushed down from support/,
5188 2003-03-29 John Levon <levon@movementarian.org>
5190 * lyxfunc.C: safety check for C-r (revert)
5192 2003-03-29 John Levon <levon@movementarian.org>
5195 * bufferlist.C: several UI fixes using Alert::prompt.
5196 Fix the pointless looping quit code. Fix stupid revert
5201 * lyx_cb.C: use Alert::prompt
5203 * lyx_main.C: remove a silly question
5205 * lyxfunc.C: remove a couple of silly questions,
5208 2003-03-28 John Levon <levon@movementarian.org>
5210 * text2.C: fix bug 974 (End on empty par)
5212 2003-03-28 John Levon <levon@movementarian.org>
5214 * BufferView_pimpl.C:
5216 * lfuns.h: remove do-nothing math greek lfuns
5218 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * lyxgluelength.h (isValidGlueLength): add default arg on
5221 parameter 2. Remove default arg from friend in class.
5223 * lyxlength.h (isValidLength): add default arg on parameter 2.
5224 Remove default arg from friend in class.
5226 * text2.C (LyXText): adjust, initialize refresh_row.
5230 (insertParagraph): adjst
5231 (redoParagraphs): adjust
5232 (fullRebreak): adjust
5233 (updateCounters): adjust
5234 (deleteEmptyParagraphMechanism): first attempt at fixing a
5237 * text.C (top_y): adjust
5238 (setHeightOfRow): adjust
5240 (getRowNearY): adjust
5242 * lyxtext.h: include RowList.h
5243 (~LyXText): not needed anymore, deleted.
5244 (firstRow): modify for RowList
5245 (lastRow): new function
5246 Delete firstrow and lastrow class variables, add a Rowlist
5247 rowlist_ class variable.
5249 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5252 * RowList.C (insert): fix case where it == begin().
5254 2003-03-26 Angus Leeming <leeming@lyx.org>
5256 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5257 the thesaurus dialog.
5259 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5263 * RowList.[Ch]: new files
5265 * ParagraphList.C (erase): handle the case where it == begin
5268 2003-03-25 John Levon <levon@movementarian.org>
5272 * aspell.C: add new aspell support
5275 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5278 2003-03-25 Angus Leeming <leeming@lyx.org>
5281 * LyXAction.C (init): new LFUN_INSET_INSERT.
5283 * BufferView_pimpl.C (dispatch): split out part of the
5284 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5286 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5289 2003-03-25 Angus Leeming <leeming@lyx.org>
5291 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5293 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5296 * text3.C: remove useless row->height(0)
5298 2003-03-25 John Levon <levon@movementarian.org>
5302 * text3.C: rename the refreshing stuff to better names
5304 2003-03-24 John Levon <levon@movementarian.org>
5306 * BufferView_pimpl.h:
5307 * BufferView_pimpl.C: update layout choice on a mouse
5310 2003-03-23 John Levon <levon@movementarian.org>
5312 * Makefile.am: fix commandtags.h reference
5314 2003-03-22 John Levon <levon@movementarian.org>
5316 * BufferView_pimpl.C:
5321 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5323 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5326 * text.C: take the rtl methods out of line
5328 2003-03-21 André Pönitz <poenitz@gmx.net>
5330 * metricsinfo.[Ch]: new files containing structures to be passed around
5331 during the two-phase-drawing...
5333 2003-03-21 André Pönitz <poenitz@gmx.net>
5335 * lyxtextclass.C: read 'environment' tag.
5337 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5339 * text2.C (removeRow): fix bug 964
5341 2003-03-20 John Levon <levon@movementarian.org>
5345 * text2.C: paint cleanups. Inset::update() dropped font
5348 2003-03-19 John Levon <levon@movementarian.org>
5350 * lyxfunc.C: only fitcursor/markDirty if available()
5352 2003-03-19 John Levon <levon@movementarian.org>
5354 * commandtags.h: rename to ...
5356 * lfuns.h: ... this, and renumber / cleanup
5358 2003-03-19 John Levon <levon@movementarian.org>
5360 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5361 fit the cursor after an lfun
5365 * BufferView_pimpl.h:
5366 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5368 * LyXAction.C: layout-character should have ReadOnly
5370 * ParagraphParameters.C:
5372 * bufferview_funcs.C:
5379 * undo_funcs.C: changes from above
5381 2003-03-18 John Levon <levon@movementarian.org>
5383 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5384 remove it from update()
5386 * lyxfunc.C: update layout choice after an lfun
5388 * text3.C: remove extra updateLayoutChoice()s
5390 2003-03-18 John Levon <levon@movementarian.org>
5392 * text.C: top_y change means full repaint, fix
5393 a drawing bug with cursor movement
5395 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5399 * text2.C: anchor row on setCursor
5401 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5403 * lyxtext.h: remove almost all mutable keywords
5406 * text3.C: remove const keywords accordingly
5408 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5410 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5412 (TeXEnvironment): ditto
5415 2003-03-17 John Levon <levon@movementarian.org>
5417 * text.C (rowBreakPoint): remove attempt to fix displayed
5418 math insets inside a manual label
5420 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * lyxtext.h: remove BufferView* as first arg from almost all class
5424 * other files: adjust.
5426 2003-03-17 John Levon <levon@movementarian.org>
5430 * text2.C: more paint cleanups
5432 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5435 * rowpainter.C: remove "smart" background painting code
5437 2003-03-16 John Levon <levon@movementarian.org>
5442 * text3.C: add helper functions for setting refresh_row/y
5444 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5446 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5447 newline inset which *can* get inserted in the pass_thru layouts.
5448 This is primarily for literate documents.
5450 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5452 * buffer.C: increment LYX_FORMAT to 223
5454 2003-03-14 André Pönitz <poenitz@gmx.net>
5456 * textclass.h: prepare for environment handling, ws changes
5457 * lyxlayout.C: read latexheader and latexfooter tags
5459 2003-03-14 John Levon <levon@movementarian.org>
5461 * text2.C: rewrite ::status() a bit
5463 2003-03-13 John Levon <levon@movementarian.org>
5465 * lyxtext.h: add some docs
5467 2003-03-13 John Levon <levon@movementarian.org>
5472 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5474 2003-03-13 John Levon <levon@movementarian.org>
5476 * text3.C: fix appendix redrawing
5478 2003-03-13 John Levon <levon@movementarian.org>
5480 * text.C (setHeightOfRow):
5482 * rowpainter.C: make appendix mark have the text
5483 "Appendix" so the user knows what it is
5486 * LColor.C: s/appendixline/appendix/ from above
5488 2003-03-13 John Levon <levon@movementarian.org>
5490 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5492 * text.C: fix a getChar(pos) bug properly
5494 2003-03-13 Angus Leeming <leeming@lyx.org>
5497 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5498 Probably only temporary. Let's see how things pan out.
5500 * BufferView.C (unlockInset):
5501 * BufferView_pimpl.C (fitCursor):
5502 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5504 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5505 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5507 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5508 new functions that convert ParagraphParameters to and from a string.
5510 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5511 BufferView::Pimpl's dispatch.
5512 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5514 2003-03-13 André Pönitz <poenitz@gmx.net>
5518 * factory.C: make it aware of InsetEnv
5520 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5522 * text2.C (setCursor): never ask for one past last
5523 (setCursor): add some debugging messages.
5525 * text.C (singleWidth): never ask for one past last
5526 (singleWidth): ditto
5528 (rightMargin): ditto
5529 (rowBreakPoint): ditto
5530 (setHeightOfRow): ditto
5531 (prepareToPrint): ditto
5533 * rowpainter.C (paintBackground): never ask for one past last
5534 (paintText): never ask for one past last
5536 * paragraph_pimpl.C (getChar): make the assert stricter, never
5537 allow the one past last pos to be taken
5539 * paragraph.C (getChar): ws changes only
5541 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5542 (numberOfSeparators): ditto
5543 (numberOfHfills): ditto
5545 2003-03-12 John Levon <levon@movementarian.org>
5551 * paragraph_funcs.C: fix per-buffer authorlists
5553 2003-03-12 John Levon <levon@movementarian.org>
5555 * text.C: fix newline in right address
5557 2003-03-12 Angus Leeming <leeming@lyx.org>
5559 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5560 duplicate those in LyXFunc::dispatch.
5564 * ToolbarDefaults.C:
5565 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5566 Add LFUN_FONTFREE_UPDATE.
5568 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5569 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5571 * bufferview_func.[Ch]: several new functions to facilliate
5572 transfer of data to and from the character dialog.
5574 2003-03-12 John Levon <levon@movementarian.org>
5579 * paragraph_funcs.C:
5580 * paragraph_pimpl.C:
5584 * text3.C: remove META_NEWLINE in favour of an inset
5587 * rowpainter.C: remove paintNewline (done by inset)
5589 2003-03-12 John Levon <levon@movementarian.org>
5591 * paragraph_pimpl.C: complain about bad getChar()s
5592 for a while at least
5594 2003-03-12 John Levon <levon@movementarian.org>
5597 * buffer.C: move paragraph read into a separate function,
5598 a little renaming to reflect that.
5601 * bufferparams.C: remove the author_ids map, not necessary now
5604 * factory.C: moved Buffer::readInset to here
5606 * paragraph_funcs.h:
5607 * paragraph_funcs.C: readParagraph free function moved from
5610 * tabular.C: name change
5612 2003-03-12 John Levon <levon@movementarian.org>
5615 * ParagraphParameters.C: move par params input to
5618 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5619 behave like a normal read from the stream wrt reading
5620 a line vs. a \\token
5622 2003-03-12 John Levon <levon@movementarian.org>
5625 * ParagraphParameters.h:
5626 * ParagraphParameters.C: move output code to a
5629 2003-03-12 John Levon <levon@movementarian.org>
5631 * BufferView.C (insertLyXFile):
5634 * tabular.C: use a parlist iterator for creating the
5637 2003-03-12 John Levon <levon@movementarian.org>
5639 * buffer.C: make current_change static local not
5642 2003-03-12 John Levon <levon@movementarian.org>
5644 * buffer.C: fix insertStringAsLines for change tracking
5646 2003-03-12 John Levon <levon@movementarian.org>
5653 * bufferparams.C: move author list into params. Rename some
5654 functions. Move the header reading into a separate token
5655 loop. Move the header token reading into BufferParams.
5657 2003-03-12 John Levon <levon@movementarian.org>
5659 * changes.C: put debug inside lyxerr.debugging() checks
5661 2003-03-11 André Pönitz <poenitz@gmx.net>
5663 * factory.C: make it aware of InsetHFill
5665 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5667 * buffer.C (latexParagraphs): move function from here...
5668 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5671 2003-03-10 Angus Leeming <leeming@lyx.org>
5673 * LyXAction.C (init): fix bug in poplating array with multiple entries
5674 with the same LFUN (spotted by JMarc).
5676 2003-03-10 John Levon <levon@movementarian.org>
5679 * text2.C: move getColumnNearX() near its
5682 2003-03-10 John Levon <levon@movementarian.org>
5684 * text.C: fix break before a minipage
5686 2003-03-10 John Levon <levon@movementarian.org>
5688 * text.C: fix the last commit
5690 2003-03-09 John Levon <levon@movementarian.org>
5694 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5695 bug 365 (don't break before insets unless needed). Don't
5696 return a value > last under any circumstances.
5698 2003-03-09 Angus Leeming <leeming@lyx.org>
5700 * BufferView_pimpl.C (trackChanges, dispatch): call
5701 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5703 2003-03-09 Angus Leeming <leeming@lyx.org>
5705 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5706 than Dialogs::showAboutlyx().
5708 2003-03-09 Angus Leeming <leeming@lyx.org>
5710 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5711 than Dialogs::showTabularCreate().
5713 2003-03-09 John Levon <levon@movementarian.org>
5717 * text2.C: 3rd arg to nextBreakPoint was always the same.
5720 2003-03-08 John Levon <levon@movementarian.org>
5727 * text2.C: Remove the "main" bit from the "main body"
5730 2003-03-08 John Levon <levon@movementarian.org>
5732 * text.C (leftMargin): The left margin of an empty
5733 manual label paragraph should not include the label width
5736 * text.C (prepareToPrint): don't attempt to measure hfills
5737 for empty manual label paragraphs - the answer should be 0
5739 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * CutAndPaste.C: remove commented code and reindent.
5743 2003-03-08 John Levon <levon@movementarian.org>
5746 * lyxfunc.C: move reloadBuffer()
5749 * BufferView.C: to here
5751 * lyxvc.C: add comment
5754 * vc-backend.C: call bv->reload() to avoid
5755 getStatus() check on MENURELOAD
5757 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5759 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5760 to an old format .dep file.
5762 2003-03-07 Angus Leeming <leeming@lyx.org>
5764 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5765 when the LFUN_MOUSE_RELEASE should have been handled by
5766 inset->localDispatch.
5768 2003-03-07 Angus Leeming <leeming@lyx.org>
5770 * BufferView_pimpl.C (dispatch):
5771 * LyXAction.C (init):
5772 * ToolbarDefaults.C (init):
5774 * lyxfunc.C (getStatus):
5775 remove LFUN_INSET_GRAPHICS.
5777 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5779 2003-03-07 Angus Leeming <leeming@lyx.org>
5782 * LyXAction.C (init):
5783 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5785 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5788 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5790 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5791 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5793 2003-03-07 Angus Leeming <leeming@lyx.org>
5795 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5798 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5800 * ParagraphList.C (front): new function
5803 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5805 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5806 and top_row_offset_. removed var first_y.
5808 * text2.C (LyXText, removeRow):
5810 * BufferView_pimpl.C:
5811 use these methods instead of using first_y
5813 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * text2.C (pasteSelection): adjust for checkPastePossible
5817 * CutAndPaste.C: remove Paragraph * buf and replace with
5818 ParagraphList paragraphs.
5819 (DeleteBuffer): delete
5820 (cutSelection): change the tc type to textclass_type
5821 (copySelection): change the tc type to textclass_type
5822 (copySelection): adjust for ParagraphList
5823 (pasteSelection): change the tc type to textclass_type
5824 (pasteSelection): adjust for Paragraphlist
5825 (nrOfParagraphs): simplify for ParagraphList
5826 (checkPastePossible): simplify for ParagraphList
5827 (checkPastePossible): remove unused arg
5829 * ParagraphList.C (insert): handle the case where there are no
5832 * CutAndPaste.h: make CutAndPaste a namespace.
5834 * text3.C (dispatch): adjust
5836 * text.C (breakParagraph): add a ParagraphList as arg
5838 * paragraph_funcs.C (breakParagraph): change to take a
5839 BufferParams and a ParagraphList as args.
5840 (breakParagraphConservative): ditto
5841 (mergeParagraph): ditto
5842 (TeXDeeper): add a ParagraphList arg
5843 (TeXEnvironment): ditto
5846 * buffer.C (readLyXformat2): adjust
5847 (insertStringAsLines): adjust
5848 (latexParagraphs): adjust
5850 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5851 (cutSelection): adjust
5852 (pasteSelection): adjust
5854 * BufferView_pimpl.C (insertInset): adjust
5856 2003-03-05 Angus Leeming <leeming@lyx.org>
5859 * LyXAction.C (init):
5860 * BufferView_pimpl.C (dispatch):
5861 * lyxfunc.C (getStatus):
5862 remove LFUN_CHILD_INSERT.
5864 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5866 2003-03-05 Angus Leeming <leeming@lyx.org>
5869 * LyXAction.C (init):
5870 * src/factory.C (createInset):
5871 * lyxfunc.C (getStatus):
5872 * text3.C (dispatch):
5873 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5875 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5877 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5879 * ParagraphList.C (insert): handle insert right before end()
5880 (erase): fix cases where it can be first or last paragraph.
5882 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5885 Paragraph::next and Paragraph::previous
5888 * text.C (breakParagraph): adjust
5890 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5891 BufferParams& as arg.
5892 (breakParagraph): use ParagraphList::insert
5893 (breakParagraphConservative): take a Buffer* instead of a
5894 BufferParams& as arg.
5895 (breakParagraphConservative): use ParagraphList::insert.
5897 * buffer.C (insertStringAsLines): un-const it
5898 (insertStringAsLines): adjust
5900 * ParagraphList.C (insert): new function
5902 * CutAndPaste.C (pasteSelection): adjust
5904 * text.C (backspace): adjust
5906 * tabular.C (SetMultiColumn): adjust
5908 * CutAndPaste.C (cutSelection): adjust
5909 (pasteSelection): adjust
5911 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5912 Buffer const * as arg
5914 * ParagraphList.C (erase): new function
5915 * paragraph_funcs.C (mergeParagraph): use it
5916 (mergeParagraph): make it take a Buffer* instead of a
5917 BufferParams* as arg
5919 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5921 (breakParagraphConservative): ditto
5923 * paragraph.h: remove the breakParagraph friend
5925 * paragraph.C (eraseIntern): new function
5926 (setChange): new function
5928 * paragraph_funcs.C (mergeParagraph): make it take a
5929 ParagraphList::iterator instead of a Paragraph *, adjust
5932 * paragraph.h: move an #endif so that the change tracking stuff
5933 also works in the NO_NEXT case.
5935 2003-03-04 Angus Leeming <leeming@lyx.org>
5938 * LyXAction.C: new LFUN_INSET_MODIFY.
5940 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5941 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5943 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * several files: ws changes only
5947 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5948 (TeXEnvironment): ditto
5951 * buffer.C (makeLaTeXFile): adjust
5952 (latexParagraphs): make it take ParagraphList::iterator as args
5954 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5956 * buffer.C (latexParagraphs): adjust
5958 * paragraph.C (TeXOnePar): move function...
5959 (optArgInset): move function...
5960 (TeXEnvironment): move function...
5961 * paragraph_pimpl.C (TeXDeeper): move function...
5962 * paragraph_funcs.C: ...here
5964 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5966 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * buffer.C (readInset): remove compability code for old Figure and
5971 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5973 * buffer.C: ws changes
5976 * BufferView_pimpl.C: ditto
5979 * bufferlist.h: ditto
5983 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5985 * converter.[Ch]: split into itself +
5988 * Makefile.am: += graph.[Ch] + format.[Ch]
5995 * lyxrc.C: added #include "format.h"
5997 2003-02-27 Angus Leeming <leeming@lyx.org>
5999 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6002 * factory.C (createInset): add "label" to the factory.
6004 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6005 string and do no more.
6007 2003-02-27 Angus Leeming <leeming@lyx.org>
6010 * LyXAction.C (init):
6011 * factory.C (createInset):
6012 * BufferView_pimpl.C (dispatch):
6013 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6015 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6017 * lyxfunc.C (dispatch):
6018 * text3.C (dispatch): pass name to params2string.
6020 2003-02-26 Angus Leeming <leeming@lyx.org>
6022 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6024 Rearrange the ~includes. Strip out the unnecessary ones.
6026 * factory.C (createInset): reformat.
6027 create new insets for the various LFUN_XYZ_APPLY lfuns.
6029 2003-02-26 John Levon <levon@movementarian.org>
6032 * lyxrow.C: add isParStart,isParEnd helpers
6034 * paragraph.h: make isInserted/DeletedText take refs
6036 * paragraph_funcs.h:
6037 * paragraph_funcs.C: remove #if 0'd code
6042 * text.C: use lyxrow helpers above.
6043 Move draw and paint routines to RowPainter.
6044 Make several methods use refs not pointers.
6045 Make backgroundColor() const.
6046 Add markChangeInDraw(), isInInset().
6047 Merge changeRegionCase into changeCase.
6048 Make workWidth() shouldn't-happen code into an Assert.
6051 * rowpainter.C: new class for painting a row.
6054 * vspace.C: make inPixels take a ref
6056 2003-02-26 Angus Leeming <leeming@lyx.org>
6058 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6061 2003-02-25 John Levon <levon@movementarian.org>
6063 * ispell.C: give the forked command a more accurate name
6065 2003-02-22 John Levon <levon@movementarian.org>
6068 * toc.C: make TocItem store an id not a Paragraph *
6071 2003-02-21 Angus Leeming <leeming@lyx.org>
6073 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6074 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6075 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6076 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6077 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6078 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6080 * BufferView_pimpl.C (dispatch):
6081 * LyXAction.C (init):
6082 * factory.C (createInset):
6083 * lyxfunc.C (getStatus, dispatch):
6084 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6086 2003-02-21 Angus Leeming <leeming@lyx.org>
6088 * BufferView_pimpl.C (MenuInsertLyXFile):
6089 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6090 * lyxfunc.C (menuNew, open, doImport):
6091 no longer pass a LyXView & to fileDlg.
6093 2003-02-21 Angus Leeming <leeming@lyx.org>
6095 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6096 * LyXAction.C: change, BIBKEY to BIBITEM.
6097 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6098 Change InsetBibKey to InsetBibitem.
6099 Change BIBKEY_CODE to BIBITEM_CODE.
6100 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6101 * factory.C: replace insetbib.h with insetbibitem.h.
6102 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6103 * paragraph.C: replace insetbib.h with insetbibitem.h.
6104 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6105 Change bibkey() to bibitem().
6106 * text.C: remove insetbib.h.
6107 * text2.C: replace insetbib.h with insetbibitem.h.
6108 change bibkey() to bibitem().
6109 * text3.C: remove insetbib.h.
6110 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6112 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * lyxrc.C (output): enclose user email in quotes (in case there are
6117 2003-02-18 John Levon <levon@movementarian.org>
6119 * buffer.h: add std::
6121 2003-02-17 John Levon <levon@movementarian.org>
6127 * pspell.C: reworking. Especially in ispell, a large
6128 number of clean ups and bug fixes.
6130 * lyxfunc.C: fix revert to behave sensibly
6132 2003-02-17 André Pönitz <poenitz@gmx.net>
6135 * commandtags.h: new LFUN_INSERT_BIBKEY
6145 * paragraph_func.C: remove special bibkey handling
6147 2003-02-17 John Levon <levon@movementarian.org>
6149 * text.C (Delete): fix case where delete at the end of
6150 the very first paragraph would not merge the pars
6152 2003-02-17 John Levon <levon@movementarian.org>
6154 * lyxrow.C: fix lastPrintablePos()
6156 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6158 * bufferparams.C (writeLaTeX): add a std:here
6160 * buffer.C: and remove a using directive there
6162 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6164 * buffer.C (makeLaTeXFile): move the code that generates the
6167 * bufferparams.C (writeLaTeX): ... in this new method
6169 * LaTeXFeatures.C (getEncodingSet): make const
6170 (getLanguages): make const
6172 * MenuBackend.C (binding): returns the binding associated to this
6174 (add): sets the status of each item by calling getStatus. Adds
6176 (read): add support for OptSubMenu
6177 (expand): remove extra separator at the end of expanded menu
6179 2003-02-15 John Levon <levon@movementarian.org>
6182 * BufferView_pimpl.C:
6184 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6185 inset code that had no actual effect. Remove unneeded status
6188 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6190 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6193 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6195 * text.C (drawLengthMarker): also draw an arrow marker for
6196 symbolic lengths (medskip...)
6198 2003-02-14 John Levon <levon@movementarian.org>
6201 * tabular.C: better method names
6203 2003-02-14 John Levon <levon@movementarian.org>
6205 * BufferView_pimpl.C:
6210 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6211 it's a more accurate name. Remove some pointless uses.
6213 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6215 * text2.C (LyXText): change order of initilizers to shut off
6218 2003-02-14 John Levon <levon@movementarian.org>
6220 * buffer.C: use ParIterator for getParFromID()
6224 * paragraph_pimpl.h:
6225 * paragraph_pimpl.C: remove unused getParFromID()
6227 2003-02-14 John Levon <levon@movementarian.org>
6229 * buffer.C: remove some very old #if 0'd parse code
6231 2003-02-13 John Levon <levon@movementarian.org>
6235 * text2.C: move hfillExpansion(), numberOfSeparators(),
6236 rowLast(), rowLastPrintable(), numberofHfills(),
6237 numberOfLabelHfills() ...
6240 * lyxrow.C: ... to member functions here.
6245 * text.C: remove LyXText::beginningOfMainBody(), and call
6246 p->beginningOfMainBody() directly. Move the check for
6247 LABEL_MANUAL into the latter.
6254 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6260 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6261 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6263 2003-02-13 John Levon <levon@movementarian.org>
6265 * CutAndPaste.C: remove debug
6267 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6269 * paragraph.C (asString): remove two unused variables
6271 * lyxtextclass.C (readTitleType):
6273 (LyXTextClass): handle new members titletype_ and titlename_
6275 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6277 2003-02-09 John Levon <levon@movementarian.org>
6280 * buffer.C: replace hand-coded list with a map for the dep clean
6282 2003-02-08 John Levon <levon@movementarian.org>
6284 * LaTeX.C: consolidate code into showRunMessage() helper
6286 2003-02-08 John Levon <levon@movementarian.org>
6291 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6292 and pass the size in explicitly
6294 * BufferView_pimpl.h:
6295 * BufferView_pimpl.C:
6297 * BufferView.C: add getCurrentChange()
6299 * BufferView_pimpl.h:
6300 * BufferView_pimpl.C: handle change lfuns
6302 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6303 for changes. Mark pasted paragraphs as new.
6305 * support/lyxtime.h:
6306 * support/lyxtime.C:
6307 * DepTable.C: abstract time_t as lyx::time_type
6310 * LColor.C: add colours for new text, deleted text, changebars
6312 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6313 package use "usenames" option.
6317 * LyXAction.C: add change lfuns
6321 * author.C: author handling
6324 * buffer.C: add a per-buffer author list, with first entry as
6325 current author. Handle new .lyx tokens for change tracking. Output
6326 author list to .lyx file. Output dvipost stuff to .tex preamble.
6327 Bump lyx format to 222.
6330 * bufferlist.C: add setCurrentAuthor() to reset current author details
6334 * bufferparams.C: add param for tracking
6336 * bufferview_funcs.C: output change info in minibuffer
6340 * changes.C: add change-tracking structure
6343 * debug.C: add CHANGES debug flag
6346 * lyxfind.C: add code for finding the next change piece
6349 * lyxrc.C: add user_name and user_email
6352 * lyxrow.C: add a metric for the top of the text line
6355 * text.C: implement accept/rejectChange()
6358 * text.C: paint changebars. Paint new/deleted text in the chosen
6359 colours. Strike through deleted text.
6363 * paragraph_pimpl.h:
6364 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6365 in the current change to the insert functions. Rework erase to
6366 mark text as deleted, adding an eraseIntern() and a range-based
6367 erase(). Implement per-paragraph change lookup and
6370 * paragraph_funcs.C: Fixup paste for change tracking.
6372 * tabular.C: mark added row/columns as new.
6374 * text.C: fix rowLast() to never return -1. Don't allow
6375 spellchecking of deleted text. Track transpose changes. Don't
6376 allow paragraph break or merge where appropriate.
6378 * text2.C: leave cursor at end of selection after a cut.
6380 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6382 * text.C (getLengthMarkerHeight):
6383 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6384 visible on screen too.
6386 2003-02-07 John Levon <levon@movementarian.org>
6388 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6390 2003-02-05 Angus Leeming <leeming@lyx.org>
6392 * lyxserver.C (read_ready): revert my patch of 11 September last year
6393 as it sends PC cpu through the roof. Presumably this means that
6394 the lyxserver will no longer run on an Alpha...
6396 2003-01-30 Angus Leeming <leeming@lyx.org>
6398 * factory.C (createInset): create an InsetCommandParam of type "index"
6399 and use it to 'do the right thing'.
6401 * text2.C (getStringToIndex): ensure that cursor position is always
6402 reset to the reset_cursor position.
6404 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6406 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6409 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6413 * lyxfunc.C: Output messages with identical spelling, punctuation,
6416 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6418 * MenuBackend.C (expandFormats): List only viewable export formats
6421 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6424 * lyxfunc.C (getStatus): Make sure that formats other than
6425 "fax" can also be disabled
6427 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6429 * text3.C (dispatch): put the lfuns that insert insets in 3
6430 groups, and call doInsertInset with appropriate arguments.
6431 (doInsertInset): new function, that creates an inset and inserts
6432 it according to some boolean parameters.
6434 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * buffer.C (readFile): remember to pass on 'par' when calling
6437 readFile recursively.
6439 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6441 * MenuBackend.C (expandFormats): add "..." to import formats.
6443 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6445 * paragraph.C (asString): Remove XForms RTL hacks.
6447 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6448 * buffer.C: fix typo
6450 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * Makefile.am (LIBS): delete var
6453 (lyx_LDADD): add @LIBS@ here instead.
6455 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6457 * Clarify the meaning of "wheel mouse jump"
6459 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6461 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6464 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6466 * importer.C (Loaders): do not preallocate 3 elements in the
6467 vector, since one ends up with 6 elements otherwise
6469 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6471 * DepTable.C (write): write the file name as last element of the
6472 .dep file (because it may contain spaces)
6473 (read): read info in the right order
6475 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6477 * paragraph_pimpl.C (simpleTeXBlanks):
6478 (simpleTeXSpecialChars):
6479 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6481 * tabular.C (latex): add some missing case statements. Reindent.
6483 * MenuBackend.C (expandToc): remove unused variable.
6485 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6494 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6497 2003-01-05 John Levon <levon@movementarian.org>
6500 * BufferView.C: add getEncoding()
6503 * kbsequence.C: do not store last keypress
6506 * lyxfunc.C: store last keypress here instead. Pass encoding
6509 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6511 * lyx_main.C (init): remove annoying error message when following
6512 symbolic links (bug #780)
6514 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6516 * text.C (insertChar):
6517 * lyxrc.C (getDescription): remove extra spaces
6519 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6521 * lyxrc.C (getDescription): remove extra spaces
6523 2002-12-20 John Levon <levon@movementarian.org>
6525 * text3.C: hack fix for page up/down across tall rows
6527 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6529 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6532 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6534 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6535 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6536 thesaurus is not compiled in
6538 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6540 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6542 2002-12-16 Angus Leeming <leeming@lyx.org>
6545 * lyx_main.C (init): remove override_x_deadkeys stuff.
6547 2002-12-12 John Levon <levon@movementarian.org>
6549 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6550 insert. Only remove shift modifier under strict
6553 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * MenuBackend.C (expandToc): fix crash.
6557 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * MenuBackend.C (expandToc): gettext on float names.
6561 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6563 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6564 implement bool empty() [bug 490]
6566 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6568 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6570 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * several files: ws changes
6574 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6576 * text2.C (setCounter): clean up a bit, use boost.format.
6577 (updateCounters): initialize par upon declaration.
6579 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6580 if the layout exists. We do not just store the layout any more.
6581 (SwitchLayoutsBetweenClasses): use boost.format
6583 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6585 * converter.C (convert): if from and to files are the same, use a
6586 temporary files as intermediary
6588 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6591 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6593 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6595 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6597 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * tabular.C (asciiPrintCell): use string(size, char) instead of
6602 * sgml.C (openTag): fix order of arguments to string constructor
6605 * lyxfunc.C (dispatch): use boost.format
6607 * lots of files: change "c" -> 'c'
6609 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6611 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6613 2002-11-25 Angus Leeming <leeming@lyx.org>
6615 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6617 * lyx_main.C (init): compile fix.
6619 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6621 * lyx_cb.C (start): boost.formatify
6622 do not include <iostream>
6624 * lengthcommon.C: ws only
6626 * boost-inst.C,BoostFormat.h: add more explict instantations
6628 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * lots of files: handle USE_BOOST_FORMAT
6632 2002-11-21 John Levon <levon@movementarian.org>
6634 * pspell.C: fix compile
6636 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6638 * lyxfunc.C (dispatch): use boost::format
6642 * lyxfont.C (stateText): use boost::format
6644 * lyx_main.C (LyX): use boost::format
6646 (queryUserLyXDir): ditto
6649 (typedef boost::function): use the recommened syntax.
6651 * importer.C (Import): use boost::format
6653 * debug.C (showLevel): use boost::format
6655 * converter.C (view): use boost::format
6660 * bufferview_funcs.C (currentState): use boost::format
6662 * bufferlist.C (emergencyWrite): use boost::format
6664 * buffer.C (readLyXformat2): use boost::format
6665 (parseSingleLyXformat2Token): ditto
6667 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6669 * LaTeX.C (run): use boost::format
6671 * Chktex.C (scanLogFile): use boost::format
6673 * BufferView_pimpl.C (savePosition): use boost::format
6674 (restorePosition): ditto
6675 (MenuInsertLyXFile): ditto
6677 * BoostFormat.h: help file for explicit instation.
6679 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6681 * tabular.C (latex): Support for block alignment in fixed width
6684 2002-11-17 John Levon <levon@movementarian.org>
6686 * BufferView_pimpl.C:
6688 * lyxfunc.C: split filedialog into open/save
6690 2002-11-08 Juergen Vigna <jug@sad.it>
6692 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6693 by my last patch (hopefully).
6695 2002-11-08 John Levon <levon@movementarian.org>
6704 * toc.C: ParConstIterator, and use it (from Lars)
6706 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6708 * lyxtextclass.[Ch]: revise and add doxygen comments
6710 2002-11-07 John Levon <levon@movementarian.org>
6712 * text.C: fix progress value for spellchecker
6714 * toc.C: fix navigate menu for insetwrap inside minipage
6716 * paragraph_funcs.C: added FIXME for suspect code
6718 2002-11-07 John Levon <levon@movementarian.org>
6720 * BufferView_pimpl.C: fix redrawing of insets
6723 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6725 * text2.C (updateCounters): fix bug 668
6727 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6729 * text3.C (dispatch): Do not make the buffer dirty when moving the
6732 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6734 * vc-backend.C: STRCONV
6737 * text2.C (setCounter): STRCONV
6739 * paragraph.C (asString): STRCONV
6741 * lyxlength.C (asString): STRCONV
6742 (asLatexString): ditto
6744 * lyxgluelength.C (asString): STRCONV
6745 (asLatexString): ditto
6747 * lyxfunc.C (dispatch): STRCONV
6750 * lyxfont.C (stateText): STRCONV
6752 * importer.C (Import): STRCONV
6754 * counters.C (labelItem): STRCONV
6755 (numberLabel): ditto
6756 (numberLabel): remove unused ostringstream o
6761 * bufferview_funcs.C (currentState): STRCONV
6763 * buffer.C (readFile): STRCONV
6764 (asciiParagraph): ditto
6765 (makeLaTeXFile): ditto
6767 * Spacing.C (writeEnvirBegin): STRCONV
6769 * LaTeXFeatures.C (getLanguages): STRCONV
6770 (getPackages): ditto
6772 (getBabelOptions): ditto
6773 (getTClassPreamble): ditto
6774 (getLyXSGMLEntities): ditto
6775 (getIncludedFiles): ditto
6779 (scanAuxFile): ditto
6782 * LString.h: add the STRCONV macros
6784 * BufferView_pimpl.C (savePosition): STRCONV
6785 (restorePosition): ditto
6786 (MenuInsertLyXFile): ditto
6788 * vc-backend.C (scanMaster): change from submatch[...] to
6791 * funcrequest.C: include config.h
6793 * factory.C: include config.h
6795 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6797 * box.C: include config.h
6799 * LaTeX.C (scanAuxFile): change from submatch[...] to
6803 2002-10-25 Angus Leeming <leeming@lyx.org>
6805 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6807 * ispell.[Ch] (setError): new method.
6808 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6809 Use setError() insetead of goto END.
6811 * lyx_cb.C (AutoSave): move out child process into new class
6814 2002-10-30 John Levon <levon@movementarian.org>
6816 * text3.C: make start appendix undoable
6818 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6820 * lyxlength.C (inPixels): Fix returned value.
6822 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6825 2002-10-24 Angus Leeming <leeming@lyx.org>
6827 * lyxgluelength.h: no need to forward declare BufferParams
6828 or BufferView, so don't.
6830 2002-10-21 John Levon <levon@movementarian.org>
6832 * BufferView.C: menuUndo ->undo, redo
6834 * BufferView.h: document, remove dead, make some methods private
6836 * paragraph_funcs.h:
6837 * paragraph_funcs.C:
6838 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6843 * sgml.C: move sgml open/close tag into sgml.C
6845 * bufferview_funcs.h: unused prototype
6848 * lyxfunc.C: remove unused
6851 * text.C: remove unused
6853 2002-10-21 John Levon <levon@movementarian.org>
6857 * BufferView_pimpl.h:
6858 * BufferView_pimpl.C: fix mouse wheel handling based on
6859 patch from Darren Freeman
6861 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6863 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6865 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6867 * lyxlength.C (inPixels): Fix hanfling of negative length.
6868 Fix LyXLength::MU case.
6870 2002-10-16 John Levon <levon@movementarian.org>
6872 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6874 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6876 * converter.C (view): add support for $$i (file name) and $$p
6877 (file path) for the viewer command. If $$i is not specified, then
6878 it is appended to the command (for compatibility with old syntax)
6880 2002-10-14 Juergen Vigna <jug@sad.it>
6882 * undo_funcs.C (textHandleUndo): alter the order in which the
6883 new undopar is added to the LyXText, as we have to set first
6884 the right prev/next and then add it as otherwise the rebuild of
6885 LyXText is not correct. Also reset the cursor to the right paragraph,
6886 with this IMO we could remove the hack in "redoParagraphs()".
6888 2002-10-09 Angus Leeming <leeming@lyx.org>
6890 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6891 to turn off an optimisation if a new inset is to be inserted.
6893 2002-10-11 André Pönitz <poenitz@gmx.net>
6895 * lyxtext.h: make some functions public to allow access
6896 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6898 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6900 * text3.C (dispatch): when changing layout, avoid an infinite loop
6903 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6905 * lyxrc.C (read): treat a viewer or converter command of "none" as
6908 * MenuBackend.C (expandFormats): for an update, also allow the
6909 formats that are not viewable
6911 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6912 script if it is newer than the lyxrc.defaults in user directory
6914 2002-10-07 André Pönitz <poenitz@gmx.net>
6916 * text.C: Vitaly Lipatov's small i18n fix
6918 2002-09-25 Angus Leeming <leeming@lyx.org>
6920 * ispell.h: doxygen fix.
6922 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6924 * buffer.h (readFile): Add a new argument to the method, to allow
6925 reading of old-format templates.
6927 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6929 * toc.C (getTocList): Get TOC from InsetWrap.
6931 2002-09-16 John Levon <levon@movementarian.org>
6933 * lyxfunc.C: check tabular for cut/copy too
6935 2002-09-12 John Levon <levon@movementarian.org>
6940 * factory.C: add header
6942 * paragraph_funcs.h:
6943 * paragraph_funcs.C: cleanup
6945 2002-09-11 John Levon <levon@movementarian.org>
6947 * PrinterParams.h: odd/even default to true
6949 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6951 * PrinterParams.h: update printer parameters for new xforms dialog
6953 2002-09-11 Angus Leeming <leeming@lyx.org>
6955 * lyxserver.C (read_ready): re-write to make it more transparent
6956 and to make it work in coherent fashion under Tru64 Unix.
6958 2002-09-11 André Pönitz <poenitz@gmx.net>
6962 * text3.C: implement LFUN_WORDSEL
6964 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6967 make floatlist_ a boost::shared_ptr<FloatList>
6969 * lyxtextclass.C: include FloatList.h
6970 (LyXTextClass): initialize floatlist_
6971 (TextClassTags): add TC_NOFLOAT
6972 (Read): match "nofloat" to TC_NOFLOAT and use it.
6973 (readFloat): modify call to floatlist_
6977 * FloatList.[Ch] (FloatList): remove commented out float
6979 (erase): new function
6981 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6983 * MenuBackend.C (expandToc): fix crash when there is no document
6986 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6988 * many files: Add insetwrap.
6990 2002-09-09 John Levon <levon@movementarian.org>
6992 * text2.C: remove confusing and awkward depth wraparound
6994 2002-09-09 John Levon <levon@movementarian.org>
6996 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6999 * buffer.C: remove getIncludeonlyList()
7002 * lyxfunc.C: remove headers
7004 2002-09-09 Juergen Vigna <jug@sad.it>
7006 * text.C (getColumnNearX): fix form Michael this is most
7007 probably a cut&paste bug.
7009 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7013 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7014 references, ws changes.
7016 * text2.C (init): update counters after init
7017 (insertParagraph): no need to set counter on idividual paragraphs.
7018 (setCounter): access the counters object in the textclass object
7019 on in the buffer object.
7020 (updateCounters): ditto
7022 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7023 shared_ptr<Counters> to avoid loading counters.h in all
7025 (LyXTextClass): initialize ctrs_
7026 (TextClassTags): add TC_COUNTER, and ...
7027 (Read): use it here.
7028 (CounterTags): new tags
7029 (readCounter): new function
7030 (counters): new funtion
7031 (defaultLayoutName): return a const reference
7033 * counters.C (Counters): remove contructor
7034 (newCounter): remove a couple of unneeded statements.
7035 (newCounter): simplify a bit.
7036 (numberLabel): some small formatting changes.
7038 * buffer.[Ch]: remove all traces of counters, move the Counters
7039 object to the LyXTextClass.
7041 2002-09-06 Alain Castera <castera@in2p3.fr>
7043 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7044 package to set the horizontal alignment on fixed width columns.
7047 * lyx_sty.h: added tabularnewline macro def.
7049 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7051 2002-09-06 John Levon <levon@movementarian.org>
7053 * LyXAction.C: tooltips for sub/superscript
7055 * MenuBackend.C: a bit more verbose
7057 * lyxfunc.C: tiny clean
7059 * undo_funcs.C: document undo_frozen
7061 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * counters.C (Counters): add missing algorithm counter.
7065 * text2.C (setCounter): lookup the counter with layouts latexname
7066 instead of by section number.
7067 (setCounter): use a hackish way to lookup the correct enum
7069 a float name->type change
7070 reset enum couners with counter name directly instead of depth value.
7072 * counters.C (Counters): remove the push_backs, change to use the
7073 float type not the float name.
7074 (labelItem): remove unused string, float name->type change
7076 * counters.h: don't include vector, loose the enums and sects vectors
7078 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7081 (Read): add float->TC_FLOAT to textclassTags
7082 (Read): and handle it in the switch
7083 (readFloat): new function
7085 * FloatList.C (FloatList): comment out the hardcoded float
7088 * lyxlayout.h: ws change.
7090 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7092 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7094 2002-09-03 Angus Leeming <leeming@lyx.org>
7096 * BufferView_pimpl.h: qualified name is not allowed in member
7097 declaration: WorkArea & Pimpl::workarea() const;
7099 * factory.C: added using std::endl directive.
7101 * text3.C: added using std::find and std::vector directives.
7103 2002-08-29 André Pönitz <poenitz@gmx.net>
7106 * text2.C: remove unused member number_of_rows
7109 * BufferView2.C: remove file, move contents to...
7110 * BufferView.C: ... here
7112 * BufferView_pimpl.C:
7113 * factory.C: move more inset creation to factory
7115 * vspace.C: avoid direct usage of LyXText, ws changes
7118 don't provide direct access to WorkArea, use two simple
7119 acessors haveSelction() and workHeight() instead
7122 2002-08-29 John Levon <levon@movementarian.org>
7124 * BufferView_pimpl.C (dispatch): do not continue when
7127 2002-08-28 André Pönitz <poenitz@gmx.net>
7129 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7132 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7134 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7136 * buffer.C: increment LYX_FORMAT to 221
7138 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7139 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7141 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7143 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7145 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7147 * factory.C (createInset): use LyXTextClass::floats
7149 * MenuBackend.C (expandFloatListInsert):
7150 (expandFloatInsert):
7153 * text2.C (setCounter):
7155 * LaTeXFeatures.C (useFloat):
7156 (getFloatDefinitions):
7158 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7160 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7161 floatlist_, with accessor floats().
7163 * FloatList.h: remove global FloatList
7165 2002-08-26 André Pönitz <poenitz@gmx.net>
7167 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7171 * BufferView_pimpl.C:
7172 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7174 2002-08-25 John Levon <levon@movementarian.org>
7176 * LyXAction.C: fix margin note description
7178 2002-08-24 John Levon <levon@movementarian.org>
7182 * bufferview_funcs.C:
7184 * undo_funcs.C: cleanups
7186 * lyxfunc.C: disable CUT/COPY when no selection
7188 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7190 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7191 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7193 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7194 Add backward compatibility to "mono", "gray" and "no".
7196 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7198 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7199 (and file_format >= 200).
7201 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7203 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7205 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7207 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7209 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7211 * BufferView_pimpl.C:
7218 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7219 inset and code to make it work with the paragraph code. The inset
7220 can be anywhere in the paragraph, but will only do the expected
7221 thing in LaTeX if the layout file contains the parameter line
7223 (or more generally, a nonzero value) for that layout.
7225 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * paragraph.h: remove the declaration of undefined counters class
7230 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7232 * text2.C (setCounter): fixed enumeration mis-count as reported by
7233 Dr. Richard Hawkins.
7235 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7237 * paragraph_funcs.h: remove some unneeded includes
7239 * text.C (backspace): pasteParagraph now in global scipe
7241 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7242 (pasteSelection): ditto
7244 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7245 * paragraph_funcs.C (pasteParagraph): ... here
7247 2002-08-20 André Pönitz <poenitz@gmx.net>
7249 * commandtags.h: new LFUNs for swapping/copying table row/colums
7252 * lyxfunc.C: support for new lfuns
7254 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * buffer.[Ch]: remove NO_COMPABILITY stuff
7259 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * boost.C (throw_exception): new file, with helper function for
7262 boost compiled without exceptions.
7267 * ParameterStruct.h:
7268 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7270 * bufferlist.C (emergencyWriteAll): use boost bind
7272 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7274 * text.C: include paragraph_funcs.h
7275 (breakParagraph): breakParagraph is now in global scope
7277 * paragraph_funcs.[Ch]: new files
7279 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7282 * buffer.C: include paragraph_funcs.h
7283 (insertStringAsLines): breakParagraph is now in global scope
7285 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7288 * CutAndPaste.C: include paragraph_funcs.h
7289 (cutSelection): breakParagraphConservative is now in global scope
7290 (pasteSelection): ditto
7292 * buffer.h: declare oprator== and operator!= for
7293 Buffer::inset_iterator
7295 * bufferlist.C (emergencyWrite): don't use fmt(...)
7297 * text3.C: add using std::endl
7299 * BufferView.C (moveCursorUpdate): remove default arg
7301 2002-08-20 André Pönitz <poenitz@gmx.net>
7303 * buffer.[Ch]: move inline functions to .C
7306 * BufferView_pimpl.C:
7308 * buffer.[Ch]: use improved inset_iterator
7311 * paragraph.[Ch]: write one paragraph at a time
7313 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7315 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7316 style if style is not specified.
7318 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7320 * text2.C (setCounter): when searching for right label for a
7321 caption, make sure to recurse to parent insets (so that a caption
7322 in a minipage in a figure float works) (bug #568)
7324 2002-08-20 André Pönitz <poenitz@gmx.net>
7326 * text3.C: new file for LyXText::dispatch() and helpers
7328 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7330 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7332 2002-08-19 André Pönitz <poenitz@gmx.net>
7335 * text.C: new LyXText::dispatch()
7337 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7339 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7341 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7343 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7346 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7348 * Makefile.am: use $(variables) instead of @substitutions@
7350 2002-08-15 André Pönitz <poenitz@gmx.net>
7353 * BufferView_pimpl.C: streamlining mathed <-> outer world
7357 * LyXAction.C: remove unused LFUN_MATH
7359 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7363 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * paragraph.C (Paragraph): reformat a bit
7366 (cutIntoMinibuffer): use builtin InsetList function instad of
7370 * buffer.C: include boost/bind.hpp, add using std::for_each
7371 (writeFileAscii): use ParagraphList iterators
7372 (validate): use for_each for validate traversal of paragraphs
7373 (getBibkeyList): use ParagraphList iterators
7374 (resizeInsets): use for_each to resizeInsetsLyXText for all
7376 (getParFromID): use ParagraphList iterators
7378 * BufferView2.C (lockInset): use paragraph list and iterators
7380 2002-08-14 John Levon <levon@movementarian.org>
7382 * lyxserver.C: remove spurious xforms include
7384 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7386 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7388 2002-08-13 André Pönitz <poenitz@gmx.net>
7391 * lyxfunc.C: further cleaning
7393 2002-08-13 André Pönitz <poenitz@gmx.net>
7395 * funcrequest.h: new constructor
7397 * funcrequest.C: move stuff here from .h
7400 * BufferView_pimpl.C:
7403 * lyxfunc.C: subsequent changes
7405 * lyxfunc.h: new view() member function
7407 * lyxfunc.C: subsequent changes
7409 2002-08-13 Angus Leeming <leeming@lyx.org>
7412 * BufferView_pimpl.C:
7420 changes due to the changed LyXView interface that now returns references
7421 to member variables not pointers.
7423 2002-08-13 Angus Leeming <leeming@lyx.org>
7425 * WordLangTuple (word, lang_code): return references to strings,
7430 * lyxtext.h: forward-declare WordLangTuple.
7435 * text.C: #include "WordLangTuple.h".
7438 * text.C: (selectNextWordToSpellcheck): constify return type.
7440 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7446 * paragraph_pimpl.h:
7449 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7451 Made updateCounter always count from start of buffer, and removed
7452 second argument (par).
7453 Reverted floats number display to '#'. Perhaps I'll try again when the
7454 code base is sanitized a bit.
7456 2002-08-12 Angus Leeming <leeming@lyx.org>
7458 * buffer.[Ch] (getLabelList): constify.
7460 2002-08-07 André Pönitz <poenitz@gmx.net>
7462 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7464 * funcrequest.h: extension to keep mouse (x,y) position
7466 2002-08-12 Juergen Vigna <jug@sad.it>
7468 * BufferView2.C (insertErrors): forbid undo when inserting error
7471 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7473 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * ParagraphList.[Ch]: new files
7477 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7479 * BufferView2.C (lockInset): ParagraphList changes
7482 * bufferlist.C: ditto
7486 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7488 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7489 unused class variable counter_,
7491 * paragraph.[Ch] (getFirstCounter): delete unused function
7493 * counters.C: include LAssert.h
7494 (reset): add a new function with no arg, change other version to
7495 not have def. arg and to not allow empty arg.
7497 * text2.C (setCounter): remove empty arg from call to Counters::reset
7499 2002-08-11 John Levon <levon@movementarian.org>
7501 * Makefile.am: add WordLangTuple.h
7503 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7505 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7506 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7508 * insets/insettext.C: InsetList changes
7510 * graphics/GraphicsSupport.C (operator()): InsetList changes
7512 * toc.C (getTocList): InsetList changes
7514 * paragraph_pimpl.[Ch]: InsetList changes
7516 * paragraph.[Ch]: InsetList changes
7518 * buffer.C (inset_iterator): InsetList changes
7519 (setParagraph): ditto
7520 * buffer.h (inset_iterator): ditto
7521 * iterators.C (operator++): ditto
7522 * iterators.h: ditto
7524 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7526 * InsetList.[Ch]: new files, most InsetList handling moved out of
7529 * BufferView2.C (removeAutoInsets): InsetList changes
7531 (ChangeInsets): ditto
7533 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * paragraph_pimpl.h (empty): new function
7537 * paragraph.[Ch] (empty): new function
7539 * other files: use the new Paragraph::empty function
7541 2002-08-09 John Levon <levon@movementarian.org>
7543 * lyxtext.h: remove unused refresh_height
7545 2002-08-09 John Levon <levon@movementarian.org>
7552 * paragraph.C: move sgml char escaping out of paragraph
7555 * paragraph.C: remove id setter
7559 * paragraph_pimpl.C: remove dead tex_code_break_column
7561 * bufferview_funcs.C: small cleanup
7563 * lyxfunc.C: remove dead proto
7565 * lyxtext.h: make some stuff private. Remove some dead stuff.
7567 * lyxgluelength.C: make as[LyX]String() readable
7569 2002-08-08 John Levon <levon@movementarian.org>
7574 * ToolbarDefaults.C:
7577 * toc.C: lyxaction cleanup
7579 2002-08-08 John Levon <levon@movementarian.org>
7581 * BufferView2.C: small cleanup
7584 * lyxfind.C: move unnecessary header into the .C
7586 2002-08-08 John Levon <levon@movementarian.org>
7588 * funcrequest.h: just tedious nonsense
7591 * lyx_main.C: cleanups
7594 * vspace.C: remove dead header lyx_main.h
7596 2002-08-07 Angus Leeming <leeming@lyx.org>
7599 * paragraph_pimpl.h:
7600 Forward declare class Counters in paragraph.h by moving the ctrs member
7601 variable into Paragraph::Pimpl.
7602 (counters): new method, returning a reference to pimpl_->ctrs.
7604 * text2.C: ensuing changes.
7606 2002-08-07 John Levon <levon@movementarian.org>
7608 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7610 * BufferView_pimpl.C: announce X selection on double/triple
7613 * lyx_main.C: use correct bool in batch dispatch
7615 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7617 2002-08-07 André Pönitz <poenitz@gmx.net>
7619 * funcrequest.h: new class to wrap a kb_action and its argument
7622 * BufferView_pimpl[Ch]:
7626 * lyxrc.C: subsequent changes
7629 2002-08-07 John Levon <levon@movementarian.org>
7631 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7632 document options change.
7634 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7639 * makefile.am: move counters functionality over from
7640 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7642 2002-08-06 John Levon <levon@movementarian.org>
7644 * WordLangTuple.h: new file for word + language code tuple
7655 * BufferView2.C: use WordLangTuple
7658 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7660 2002-08-06 John Levon <levon@movementarian.org>
7662 * lyx_main.C: fix cmdline batch handling
7664 2002-08-06 André Pönitz <poenitz@gmx.net>
7666 * lyxrc.C: set default for show_banner to true
7668 2002-08-06 John Levon <levon@movementarian.org>
7670 * pspell.C: fix a crash, and allow new aspell to work
7672 2002-08-06 John Levon <levon@movementarian.org>
7675 * kbmap.C: small cleanup
7678 * vspace.C: add const
7680 2002-08-05 John Levon <levon@movementarian.org>
7682 * LyXAction.C: back to tabular-insert
7684 2002-08-04 John Levon <levon@movementarian.org>
7687 * BufferView.C: cosmetic change
7689 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7699 * BufferView2.C: purge all "Lyx" not "LyX" strings
7702 * lyxcursor.C: attempt to add some documentation
7707 * ToolbarDefaults.C:
7708 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7709 merge with LFUN_TABULAR_INSERT
7716 * pspell.C: split up i/pspell implementations into separate
7717 files, many cleanups
7719 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7721 * text2.C: some cleanup
7723 * lyxfunc.C: don't check for isp_command == "none" any more, it
7724 didn't make any sense
7726 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7731 * makefile.am: move counters functionality over
7732 from text2.C/paragraph.[Ch] to counters.[Ch], and
7734 2002-08-02 John Levon <levon@movementarian.org>
7736 * buffer.C: s/lyxconvert/lyx2lyx/
7738 2002-08-02 Angus Leeming <leeming@lyx.org>
7740 * lyxlex.C: revert John's change as it breaks reading of the user
7743 2002-08-02 Angus Leeming <leeming@lyx.org>
7745 * importer.C (Import):
7746 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7747 changes due to LyXView::view() now returning a boost::shared_ptr.
7749 2002-08-02 John Levon <levon@movementarian.org>
7751 * lyxlex.C: small cleanup
7753 2002-08-02 John Levon <levon@movementarian.org>
7755 * text2.C (status): small cleanup, no logic change
7757 2002-08-01 John Levon <levon@movementarian.org>
7760 * buffer.C (writeFile): don't output alerts, caller
7764 * lyx_cb.C: from above
7766 * lyxfunc.C: allow to open non-existent files
7768 2002-07-31 John Levon <levon@movementarian.org>
7770 * lyxserver.C: don't let incidental errors get
7773 2002-07-30 John Levon <levon@movementarian.org>
7775 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7777 2002-07-30 John Levon <levon@movementarian.org>
7780 * lyxserver.C: remove I/O callback too
7782 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7784 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7787 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7789 * many files: strip,frontStrip -> trim,ltrim,rtrim
7791 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7793 * PrinterParams.h: remove extern containsOnly, and include
7794 support/lstrings.h instead.
7796 * LaTeX.C (scanAuxFile): modify because of strip changes
7798 * buffer.C (makeLaTeXFile): ditto
7799 * bufferparams.C (writeFile): ditt
7800 * lyxfont.C (stateText): ditto
7801 * lyxserver.C (read_ready): ditto
7802 * vc-backend.C (scanMaster): ditto
7804 * BufferView_pimpl.h: ws changes
7806 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7808 2002-07-26 André Pönitz <poenitz@gmx.net>
7810 * kb_sequence.C: remove unnedred usings
7812 2002-07-26 Juergen Vigna <jug@sad.it>
7814 * lyxfind.C (LyXReplace): we have to check better if the returned
7815 text is not of theLockingInset()->getLockingInset().
7817 2002-07-25 Juergen Vigna <jug@sad.it>
7819 * lyxfind.C (LyXReplace): don't replace if we don't get the
7822 * undo_funcs.C (createUndo): remove debugging code.
7824 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7826 * buffer.C (parseSingleLyXformat2Token): Use default placement
7827 when reading old floats.
7829 * FloatList.C (FloatList): Change the default placement of figure
7830 and tables to "tbp".
7832 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7834 * MenuBackend.C: using std::max
7836 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7838 * MenuBackend.C (expandToc):
7839 (expandToc2): code moved from xforms menu frontend. It is now
7840 generic and TOCs are transparent to menu frontends.
7842 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * toc.C (getTocList): protect against buf=0
7846 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7847 Menu as first parameter. Now, this calls itself recursively to
7848 expand a whole tree (this will be useful for TOC handling)
7849 (expandFloatInsert): remove 'wide' version of floats
7851 * MenuBackend.h (submenuname): returns the name of the submenu.
7852 (submenu): returns the submenu itself, provided it has been
7853 created by MenuBackend::expand
7855 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7858 insets which have noFontChange == true. (bug #172)
7860 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * BufferView_pimpl.C: add connection objects and use them...
7865 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7867 * MenuBackend.C (expandLastfiles):
7870 (expandFloatListInsert):
7871 (expandFloatInsert):
7872 (expand): split expand in parts
7874 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7876 * lyx_gui.C: use lyx_gui::exit()
7878 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7880 * LyXAction.C: show the failing pseudo action
7882 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7884 * buffer.C (readFile): Run the lyxconvert script in order to read
7887 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7891 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7893 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7897 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7899 2002-07-22 Herbert Voss <voss@lyx.org>
7902 * lyxlength.[Ch]: add support for the vertical lengths
7904 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7906 * toc.[Ch]: std:: fixes
7908 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7910 * lyxrc.C: do not include lyx_main.h
7912 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7918 * BufferView2.C: include "lyxlex.h"
7921 * bufferparams.h: do not #include "lyxlex.h"
7923 * lyxtextclasslist.C (Add): remove method
7924 (classlist): renamed to classlist_
7926 * paragraph_pimpl.C:
7930 * bufferview_funcs.C:
7935 * toc.C (getTocList): use BufferParams::getLyXTextClass
7937 * toc.C (getTocList): use InsetFloat::addToToc
7939 * toc.[Ch]: new files, containing helper functions to handle table
7942 * lyxfunc.C (dispatch): no need to remove spaces around command
7944 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7945 first command of the sequence; it is not very clever, but I do not
7946 have a better idea, actually
7948 * LyXAction.C (LookupFunc): make sure to remove space at the
7949 beginning and end of the command
7951 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7953 * MenuBackend.C (getMenubar): new method: return the menubar of
7955 (read): treat differently reading of menu and menubar (in
7956 particular, the menubar has no name now)
7957 (Menu::menubar): remove
7959 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7962 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7964 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7965 a bibitem inset in a RTL paragraph.
7967 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7969 * paragraph_pimpl.C: constify
7971 * BufferView_pimpl.C:
7973 * lyxfunc.C: fix dispatch in a nicer way
7975 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7977 * lyxfunc.C (dispatch):
7978 * BufferView_pimpl.C:
7979 * BufferView_pimpl.h:
7981 * BufferView.h: rename Dispatch() to dispatch()
7983 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7985 * lyxlayout.C (Read): honor DependsOn tag
7987 * lyxlayout.[Ch] (depends_on): new method
7989 * version.C.in: update lyx_docversion
7991 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7993 * paragraph.C (validate): remove from here...
7994 * paragraph_pimpl.C (validate): ... and move here
7995 (isTextAt): make it const
7997 * buffer.C (getLists): ws cleanup
7999 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8001 * language.C (read): Use iso8859-1 encoding in latex_lang
8002 (this prevents LyX from crashing when using iso10646-1 encoding).
8004 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8006 * text2.C (toggleInset): if cursor is inside an inset, close the
8007 inset and leave cursor _after_ it
8009 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8011 * lyxfunc.C: move minibuffer completion handling out of here
8013 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8015 * BufferView_pimpl.C:
8016 * LaTeX.C: fix dispatch calls
8018 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8020 * text.C (drawChars): Fix Arabic text rendering.
8022 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8026 * lyxfunc.C: remove message-push/pop
8030 * lyxfunc.C: rationalise some code by removing verboseDispatch
8031 in favour of a bool argument to dispatch()
8033 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8035 * lyx_main.C (init): make sure to read symlinks as absolute paths
8037 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8040 * lyxfunc.C: no need for commandshortcut to be a member
8042 2002-07-15 André Pönitz <poenitz@gmx.net>
8044 * converter.C: add support for $$s (scripts from lib/scripts dir)
8045 * lyx_main.C: white space
8047 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8051 * lyxrc.C: remove second exit confirmation
8053 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8058 * BufferView_pimpl.h:
8059 * BufferView_pimpl.C:
8060 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8062 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8064 * MenuBackend.C (expand): add numeric shortcuts to document menu
8066 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8068 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * lyxfont.C (setLyXFamily):
8077 * buffer.C (asciiParagraph): use ascii_lowercase
8079 2002-07-15 Mike Fabian <mfabian@suse.de>
8081 * lyxlex_pimpl.C (search_kw):
8082 * lyxlex.C (getLongString):
8083 * converter.h (operator<):
8084 * converter.C (operator<):
8085 * buffer.C (parseSingleLyXformat2Token):
8087 * ToolbarDefaults.C (read):
8088 * MenuBackend.C (checkShortcuts):
8090 * LColor.C (getFromGUIName):
8091 (getFromLyXName): use the compare_ascii_no_case instead of
8092 compare_no_case, because in turkish, 'i' is not the lowercase
8093 version of 'I', and thus turkish locale breaks parsing of tags.
8095 2002-07-16 Angus Leeming <leeming@lyx.org>
8097 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8098 now takes a Buffer const & argument.
8100 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8102 * BufferView.C (resize): check there's a buffer to resize
8104 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8106 * lyxfunc.C: remove dead code
8109 * lyxserver.C: use lyx_guii::set_read_callback
8111 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8113 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8114 an inset in a RTL paragraph.
8116 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8118 * lyxfunc.C: repaint after a font size update
8120 2002-07-15 André Pönitz <poenitz@gmx.net>
8122 * lyxlength.C: inBP should be able to return negative values
8124 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8126 * lyxfunc.C: use lyx_gui::update_fonts()
8128 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8130 * lyxfunc.C: use lyx_gui::update_color()
8132 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8138 * lyxrc.C: remove file->new asks for name option, and let
8139 buffer-new take an argument
8141 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8143 * BufferView_pimpl.C: remove unneeded extra repaint()
8145 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8147 * LyXAction.C: allow command-sequence with NoBuffer
8149 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8151 2002-07-10 Angus Leeming <leeming@lyx.org>
8153 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8155 2002-07-09 Angus Leeming <leeming@lyx.org>
8157 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8159 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8161 * lengthcommon.h: whitespace
8163 * lyxfunc.C: update scrollbar after goto paragraph
8165 * lyxtext.h: factor out page break drawing, and fix it so
8166 page break/added space paints as selected nicely
8168 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8170 * BufferView_pimpl.C: add FIXMEs, clean up a little
8172 2002-07-09 André Pönitz <poenitz@gmx.net>
8174 * lyxfont.[Ch]: support for wasy symbols
8176 2002-07-08 André Pönitz <poenitz@gmx.net>
8178 * BufferView_pimpl.C: apply John's patch for #93.
8180 2002-07-05 Angus Leeming <leeming@lyx.org>
8182 * BufferView_pimpl.C (buffer): generate previews if desired.
8184 * LColor.h: add "preview" to the color enum.
8186 * LColor.C (LColor): add a corresponding entry to the items array.
8188 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8191 2002-07-05 Angus Leeming <leeming@lyx.org>
8193 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8194 The body of the code is now in the method that is passed an ostream &
8195 rather than a file name.
8196 Pass an additional only_preamble parameter, useful for the forthcoming
8199 2002-07-03 André Pönitz <poenitz@gmx.net>
8201 * lyxfunc.C: simplify getStatus() a bit for math stuff
8203 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8205 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8207 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8209 * text.C (changeRegionCase): do not change case of all the
8210 document when region ends at paragraph end (bug #461)
8212 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8214 * paragraph.C (startTeXParParams):
8215 (endTeXParParams): add \protect when necessary
8217 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8219 * BufferView_pimpl.C (workAreaExpose): remove warning
8221 2002-06-27 Angus Leeming <leeming@lyx.org>
8223 * Makefile.am: add lyxlayout_ptr_fwd.h.
8225 2002-06-26 André Pönitz <poenitz@gmx.net>
8227 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8229 2002-06-25 Angus Leeming <leeming@lyx.org>
8231 * lyxfunc.C (dispatch): Comment out the call to
8232 grfx::GCache::changeDisplay. The method no longer exists now that the
8233 pixmap generation part of the graphics loader has been moved into
8236 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8238 * text2.C: layout as layout
8240 * text.C: layout as layout
8242 * tabular.C (OldFormatRead): layout as layout
8244 * paragraph_pimpl.C (TeXDeeper): layout as layout
8245 (realizeFont): layout as layout
8247 * paragraph.C (writeFile): layout as layout
8248 (validate): layout as layout
8249 (getFont): layout as layout
8250 (getLabelFont): layout as layout
8251 (getLayoutFont): layout as layout
8252 (breakParagraph): layout as layout
8253 (stripLeadingSpaces): layout as layout
8254 (getEndLabel): layout as layout
8255 (getMaxDepthAfter): layout as layout
8256 (applyLayout): layout as layout
8257 (TeXOnePar): layout as layout
8258 (simpleTeXOnePar): layout as layout
8259 (TeXEnvironment): layout as layout
8260 (layout): layout as layout
8261 (layout): layout as layout
8263 * lyxtextclass.C (compare_name): new functor to work with
8264 shared_ptr, layout as layout
8265 (Read): layout as layout
8266 (hasLayout): layout as layout
8267 (operator): layout as layout
8268 (delete_layout): layout as layout
8269 (defaultLayout): layout as layout
8271 * lyxlayout_ptr_fwd.h: new file
8273 * lyxlayout.C (Read): layout as layout
8275 * lyx_cb.C (MenuInsertLabel): layout as layout
8277 * bufferlist.C (newFile): layout as layout
8279 * buffer.C (readLyXformat2): layout as layout
8280 (parseSingleLyXformat2Token): layout as layout
8281 (insertStringAsLines): layout as layout
8282 (asciiParagraph): layout as layout
8283 (latexParagraphs): layout as layout
8284 (makeLinuxDocFile): layout as layout
8285 (simpleLinuxDocOnePar): layout as layout
8286 (makeDocBookFile): layout as layout
8287 (simpleDocBookOnePar): layout as layout
8288 (getLists): layout as layout
8290 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8292 * CutAndPaste.C (cutSelection): layout as layout
8293 (pasteSelection): layout as layout
8294 (SwitchLayoutsBetweenClasses): layout as layout
8296 * BufferView_pimpl.C (Dispatch): layout as layout
8297 (smartQuote): layout as layout
8299 * BufferView2.C (unlockInset): layout as layout
8301 2002-06-24 André Pönitz <poenitz@gmx.net>
8303 * lyxfunc.C: fix #487
8305 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8309 * lyxfunc.C: remove display_shortcuts, show_banner
8311 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8313 * Buffer_pimpl.C: oops, update on resize
8315 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8322 * BufferView.C: use repaint()
8324 * BufferView_pimpl.h:
8325 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8326 as it's a clearer description. Remove superfluous
8329 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8331 * text.C: fix bug 488. Not ideal, but getting
8332 getWord() to work properly for the insets that
8333 matter is more difficult ...
8335 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8337 * BufferView_pimpl.C:
8340 * lyxfunc.C: remove the six million index lyxfuncs to just
8341 one, and DTRT (bug 458)
8343 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8347 * BufferView_pimpl.h:
8348 * BufferView_pimpl.C: clean up resize() stuff,
8349 and unnecessary updateScreen()s
8351 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8355 * BufferView_pimpl.h:
8356 * BufferView_pimpl.C:
8359 * minibuffer.C: remove focus management of workarea,
8360 not needed. Use screen's greyOut()
8362 2002-06-17 Herbert Voss <voss@lyx.org>
8364 * converter.C: (convert) do not post a message, when converting
8365 fails, let the calling function decide what to do in this case
8367 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8369 * lyxfunc.C: tidy up a little
8371 2002-06-16 <alstrup@diku.dk>
8373 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8374 Got rid of FORMS_H_LOCATION include. Now we are
8377 2002-06-15 LyX Development team <lyx@rilke>
8379 * buffer.[Ch] (sgmlOpenTag):
8380 (sgmlCloseTag): Added support for avoiding pernicious mixed
8381 content. Return number of lines written.
8384 (makeDocBookFile): Fixed calls to sgml*Tag.
8385 Simple white space clean.
8387 (simpleDocBookOnePar): Simple white space clean.
8389 * tabular.[Ch] (docBook): Renamed to docbook and got another
8390 argument to related with the pernicious mixed content.
8392 (docbookRow): Fixed calls for docbook inset method.
8394 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8396 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8397 so it's X11 independent.
8401 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8403 2002-06-15 Lyx Development team <lyx@electronia>
8405 * intl.h: Renamed getTrans to getTransManager.
8407 2002-06-14 Angus Leeming <leeming@lyx.org>
8409 * Makefile.am: nuke forgotten stl_string_fwd.h.
8411 2002-06-12 Angus Leeming <leeming@lyx.org>
8413 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8415 2002-06-13 Angus Leeming <leeming@lyx.org>
8418 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8420 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8422 * kbmap.C (getiso): add support for cyrillic and greek
8424 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8428 * BufferView_pimpl.h:
8429 * BufferView_pimpl.C: move bogus scrolling logic
8432 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8435 * BufferView_pimpl.C: view->resize() change
8437 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8439 * BufferView_pimpl.C: topCursorVisible
8442 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8446 * lyx_gui.C: move to frontends/
8450 * lyx_main.C: changes from above
8452 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8459 * lyx_main.C: minor tidy
8461 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8463 * BufferView_pimpl.h:
8464 * BufferView_pimpl.C:
8466 * BufferView.C: make painter() const,
8469 * BufferView2.C: use screen() accessor
8472 * lyx_main.C: some minor cleanup
8474 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8476 * BufferView_pimpl.h:
8477 * BufferView_pimpl.C: remove enter/leaveView,
8480 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8485 * BufferView_pimpl.h:
8486 * BufferView_pimpl.C: only construct screen once,
8489 * lyxrc.C: remove pointless comment
8491 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8494 * BufferView.C: remove active() and belowMouse()
8496 * BufferView_pimpl.h:
8497 * BufferView_pimpl.C: use workarea() not workarea_,
8498 and make it use a scoped_ptr instead
8500 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8502 * lyx_gui.C: add debug message on BadWindow
8504 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8506 * sp_spell.C: fdopen is not part of the C++ standard.
8508 * paragraph.C (InsetIterator): use >= instead of ==
8510 2002-06-07 Angus Leeming <leeming@lyx.org>
8512 Fixes needed to compile with Compaq cxx 6.5.
8513 * BufferView_pimpl.C:
8520 * lyxtextclasslist.C:
8525 all c-library variables have been moved into namespace std. Wrap
8526 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8531 Add a using std::abs declaration.
8533 * kbmap.h (modifier_pair):
8534 * paragraph.h (InsetTable, InsetList):
8535 * lyxfont.h (FontBits):
8536 type definition made public.
8538 * bufferlist.C (emergencyWriteAll): the compiler complains that
8539 there is more than one possible lyx::class_fun template to choose from.
8540 I re-named the void specialisation as lyx::void_class_fun.
8542 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8544 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8545 the compiler is is unable to find tostr in write_attribute.
8547 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8549 * buffer.C (sgmlError): hide #warning
8551 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8553 * xtl/*: get rid of xtl, which is not in use anyway
8555 * LyXAction.C (init):
8556 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8557 were unimplemented xtl experimentation
8559 2002-06-04 André Pönitz <poenitz@gmx.net>
8561 * lyxfunc.C: disable array operation on simple formulae
8563 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8565 * converter.C: constify a bit
8567 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8569 * lyx_gui.C: check xforms version correctly
8571 2002-04-30 Herbert Voss <voss@lyx.org>
8573 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8576 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8578 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8579 attempt to register it with a VCS)
8581 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8583 * lyx_main.C (init): honor variables LYX_DIR_13x and
8586 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8590 * lyx_main.C: fix a crash on bad command line,
8591 and give a useful exit status on error
8593 * lyxfunc.C (doImport): allow -i lyx to work
8595 2002-03-30 André Pönitz <poenitz@gmx.net>
8597 * lyxfunc.C: mathed font changes
8599 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8614 * trans_mgr.h: srcdocs, and some minor cleanups
8616 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8618 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8619 call getFont all the time)
8621 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8623 * switch from SigC signals to boost::signals
8625 2002-05-29 André Pönitz <poenitz@gmx.net>
8627 * paragraph_pimpl.C (getChar): don't call size() too often...
8629 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8631 * paragraph_pimpl.C (insertChar): do not try to update tables when
8632 appending (pos == size())
8634 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8635 in order to reduce drastically the number of comparisons needed to
8636 parse a large document
8638 2002-05-29 André Pönitz <poenitz@gmx.net>
8644 * textclasslist.[Ch]:
8645 * sp_ispell.h: whitespace change
8647 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8650 lyxaction directly now.
8652 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8656 * lyxvc.C: remove unused headers
8658 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8665 * undo_funcs.C: some cleanups. Use shared_ptr
8666 and a template for the undo stacks.
8668 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8670 * BufferView_pimpl.h:
8671 * BufferView_pimpl.C:
8678 * text2.C: use key_state/mouse_state
8680 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8682 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8685 * chset.C: change include order
8686 (loadFile): use boost regex and get rid of LRegex and LSubstring
8688 * Makefile.am (BOOST_LIBS): new variable
8691 * LaTeX.C: change include order.
8692 (scanAuxFile): use boost regex and get rid of LRegex and
8696 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8701 * FontInfo.C: moved to frontends/xforms/
8704 * FontLoader.C: moved into frontends for GUIIzation
8709 * lyxfunc.C: changes from above
8711 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8713 * LColor.C: remove spurious X include
8715 * BufferView_pimpl.C:
8720 * text2.C: move font metrics to frontends/
8722 2002-05-24 Juergen Vigna <jug@sad.it>
8724 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8725 setting the undo_cursor.
8727 * ParagraphParameters.h: include local includes first.
8729 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8731 * BufferView_pimpl.C:
8732 * BufferView_pimpl.h:
8736 * screen.C: move WorkArea into frontends/
8742 * BufferView2.C: move LyXScreen into frontends/
8746 * lyx_gui.C: move lyxlookup into frontends/xforms/
8748 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8751 * BufferView_pimpl.C:
8761 * bufferview_funcs.C:
8774 * vc-backend.C: move LyX/XFormsView into frontends/
8776 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8788 * text2.C: move Painter to frontends/
8790 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8792 * buffer.C: comment out some some code that depend upon lyx_format
8795 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8796 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8798 * buffer.h (NO_COMPABILITY): turn off compability
8800 * ColorHandler.C: include scoped_array.hpp
8802 * font.C: Use more specific smart_ptr header.
8805 * ShareContainer.h: ditto
8809 * BufferView_pimpl.h: ditto
8810 * ColorHandler.h: ditto
8812 * kbmap.C (defkey): change call to shared_ptr::reset
8814 2002-05-21 Juergen Vigna <jug@sad.it>
8816 * buffer.C (insertErtContents): fix to insert ert asis if it is
8817 non empty. Skip it completely if it contains only whitespaces.
8819 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8821 * BufferView_pimpl.C:
8822 * BufferView2.C: clear selection on paste (bug 393)
8824 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8826 * DepTable.C: include ctime
8828 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8830 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8832 2002-05-14 Juergen Vigna <jug@sad.it>
8834 * text.C (breakParagraph): fixed function to honor the keepempty
8835 layout in the right maner and also to permit the right breaking
8836 algorithm on empty or non empyt keepempty paragraphs.
8838 * paragraph.C (breakParagraph): we have to check also if the par
8839 is really empty (!size()) for isempty otherwise we do the wrong
8842 2002-05-10 Juergen Vigna <jug@sad.it>
8844 * buffer.[Ch] : The following are only changes to the ert
8845 compatibility read reading old LaTeX layout and font stuff and
8846 convert it to ERTInsets.
8848 * buffer.h: added isErtInset().
8850 * buffer.C (struct ErtComp): add a fromlayout bool to check
8851 if we're inside a LaTeX layout.
8852 (isErtInset): new helper function.
8853 (insertErtContents): look for other ert insets before this one
8854 and insert the contents there, so that we don't have subsequent
8855 ERT insets with nothing between them. This way we create only one
8856 inset with multiple paragraphs. Also check if we don't insert only
8857 spaces ' ' as they are ignored anyway afterwards in the .tex file
8858 so if we have only spaces we will ignore this latex part in the
8860 (parseSingleLyXformat2Token \\layout): better compatibility when
8861 reading layout-latex stuff.
8862 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8864 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8865 stuff after reading the inset only get the information back from
8868 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8870 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8872 * LaTeXFeatures.C (getBabelOptions): New method.
8874 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8876 * BufferView_pimpl.C (Dispatch): work around missing argument for
8879 2002-05-08 Juergen Vigna <jug@sad.it>
8881 * text.C (leftMargin): handle paragraph leftindent.
8883 * paragraph.C (writeFile): write the new \\leftindent tag.
8884 (validate): handle leftindent code.
8885 (TeXEnvironment): handle paragraphleftindent code again.
8887 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8889 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8890 for paragrap_extra indent code and new token \\leftindent.
8891 (latexParagraphs): handle the leftindent as environment.
8893 * ParameterStruct.h: added leftindent support.
8895 * ParagraphParameters.C (leftIndent): added support functions for
8896 the paragraph left indent.
8898 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8901 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8903 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8906 * text.C (computeBidiTables): No bidi in insetERT.
8908 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8911 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8913 * version.C.in: pre 5
8915 2002-05-02 José Matos <jamatos@fep.up.pt>
8916 * buffer.C (makeDocBookFile): white space changes, add newline to
8918 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8920 * tabular.C (docBook): fix typo.
8922 2002-05-03 Juergen Vigna <jug@sad.it>
8924 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8925 change in LyXText as we can not be sure it was not freed.
8926 (drawOneRow): remove unused code.
8928 * text.C (drawInset): redo the calculation of the need_break_row as
8929 it could have a row which was already freed.
8930 (draw): look at the return value of drawInset and return false if
8931 it also returned false.
8932 (paintRowText): look at the return value of draw and return false if
8933 it also returned false.
8935 * lyxtext.h: added bool return type to drawInset() and draw() so that
8936 if we have a change in the row so that the rowbreak has to be redone
8937 we abort drawing as it will be called again.
8939 2002-05-02 Juergen Vigna <jug@sad.it>
8941 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8942 a change in the maintext also if we're inside an inset.
8943 (Dispatch): set the cursor again after a break line and after the
8944 screen has been updated as it could be we're in a different row.
8946 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8947 to set the cursor behind the pargraph with > size().
8948 (setCursor): check also for the same paragraph when checking where
8949 to put the cursor if we have a NFR inset.
8951 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8952 parts of layout read further up as it still was in the wrong
8955 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8957 * screen.C (drawFromTo): change sine fullRebreak always return
8960 * buffer.C (parseSingleLyXformat2Token): reindent some
8962 * BufferView_pimpl.C (update): change since fullRebreak always
8964 (Dispatch): git rid of the last hardcoded "Standard"s.
8966 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8968 * text2.[Ch] (fullRebreak): make it return void now that we always
8971 2002-04-30 Juergen Vigna <jug@sad.it>
8973 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8974 ert compatibility check for "latex" layout.
8976 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8978 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8979 minipages: use col% instead of p%, and also use the current font.
8980 (makeLaTeXFile): Fix use babel condition.
8981 (parseSingleLyXformat2Token): Correct font when reading old floats.
8983 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8985 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8986 inserting list of floats.
8988 2002-04-25 Herbert Voss <voss@lyx.org>
8990 * MenuBackend.C (expand): don't add the graphics extensions to the
8993 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8995 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8996 non-existing layout, do not complain if it was the default layout
8997 of the original class (bug #342)
8999 2002-04-24 Juergen Vigna <jug@sad.it>
9001 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9002 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9004 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9006 * buffer.C (getBibkeyList): If using \bibliography, return the
9007 option field with the reference itself. Enables us to provide natbib
9008 support when using \bibliography.
9010 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9012 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9014 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9015 natbib is provided by the LaTeX class.
9017 2002-04-23 Juergen Vigna <jug@sad.it>
9019 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9022 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9024 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9026 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9028 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9029 ensuremath around textordmasculine, textordfeminine and
9032 2002-04-19 Juergen Vigna <jug@sad.it>
9034 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9035 reinitializing the buffer otherwise row-dimensions may be wrong.
9036 (update): reset also the selection cursors if they do exits otherwise
9037 their x/y positions may be wrong.
9039 * text2.C (cursorDown): don't enter the inset if we came from a row
9040 above and are one row over the inset.
9042 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9043 really leaving an inset.
9045 2002-04-18 Juergen Vigna <jug@sad.it>
9047 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9048 of the selected paragraph does not have the selected layout also if
9051 * text2.C (setLayout): fixed bug which did not change last selected
9054 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9055 changed the read and substituted \\end_float with \\end_inset!
9057 * BufferView_pimpl.C (cursorPrevious):
9058 (cursorNext): fixed to make it work with rows heigher than the work
9059 area without moving the cursor only the draw of the row.
9060 (workAreaMotionNotify): fix jumping over high rows.
9062 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9064 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9067 2002-04-16 Juergen Vigna <jug@sad.it>
9069 * text2.C (setCursor): set also the irow().
9070 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9072 (cursorDown): support for locking an inset if the x_fix value goes
9073 inside it. That way I can transverse insets too with cursor up/down.
9075 * lyxrow.h: added irow helper function same as other (i) functions.
9077 * BufferView_pimpl.C (cursorPrevious):
9078 (cursorNext): fixed for insets!
9080 2002-04-15 Juergen Vigna <jug@sad.it>
9082 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9083 position otherwise it is wrong in some cases.
9085 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9086 inside the inset before the call.
9088 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9090 * buffer.[Ch] (getBibkeyList): make it const.
9092 2002-04-12 Juergen Vigna <jug@sad.it>
9094 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9096 * text2.C (getCursorX): new helper function
9097 (setCursor): compute also ix_
9098 (setCursorFromCoordinates): set also ix.
9100 * lyxcursor.h: added ix_ and helper functions.
9102 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9104 * buffer.C (insertStringAsLines): dont break paragraph if the this
9105 paragraph is inside an inset which does not permit it!
9107 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9108 also with no chars on this paragraph.
9109 (paintRowText): only paint stuff if it's inside the workarea!
9111 * paragraph.C (breakParagraph): honor keepempty flag and break the
9112 paragraph always below not above.
9114 * BufferView2.C (unlockInset): update the paragraph layout on inset
9115 unlock as we changed paragraph in such a case.
9117 * lyxfind.C (LyXFind): clear the former selection if not found!
9119 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9120 again called in insertChar().
9122 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9123 an inset which uses the whole row!
9124 (rightMargin): ditto.
9125 (insertChar): force a rebreak if we inserted an inset!
9127 2002-03-28 Herbert Voss <voss@lyx.org>
9129 * lyxlength.[Ch]: add inBP() to get the right PS-point
9130 units (BigPoint). With inPixels we have rounding errors
9132 2002-04-11 Juergen Vigna <jug@sad.it>
9134 * text2.C (setCursorFromCoordinates): set iy to the right value.
9135 (setCursor): add check if row->previous exists!
9137 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9138 an old float_type as this was the case in the old code!
9140 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9142 * BufferView2.C (showLockedInsetCursor): use iy
9143 (fitLockedInsetCursor): ditto
9145 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9146 locked insets as there we have the right value now.
9148 * lyxcursor.C: added iy_ variable and iy functions to set to the
9149 baseline of cursor-y of the locked inset.
9151 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9152 (setCursor): fixed for insets which need a full row.
9154 * text.C (rowLastPrintable): don't ignore the last space when before
9155 an inset which needs a full row.
9156 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9157 as last character of a row when before a inset which needs a full row.
9159 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9161 * version.C.in: update date
9163 * text2.C (fullRebreak): try to always return true and see what
9166 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * MenuBackend.C (expand): use Floating::listName
9170 * FloatList.C (FloatList): add listName argument to the built-in
9173 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9174 text associated with the float.
9176 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9178 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9180 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9182 * ShareContainer.h: add a couple of missing typenames.
9184 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9186 * lyxrc.C (getDescription): use _() correctly rather than N_().
9188 2002-03-28 Herbert Voss <voss@lyx.org>
9190 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9191 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9193 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9196 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9198 2002-03-29 Juergen Vigna <jug@sad.it>
9200 * lyxfunc.C (dispatch): add a missing fitCursor call.
9202 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9203 it was scrolled by a cursor move, so return the bool status.
9205 * BufferView.C (fitCursor): return the bool flag also to the outside
9206 world as this is needed.
9208 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9210 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9211 call the edit() as it is not needed (and wrong) IMO.
9212 (workAreaButtonPress): set the screen_first variable before evt.
9213 unlock the inset as this may change screen_first and then we have
9214 a wrong y position for the click!
9216 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9218 * MenuBackend.C (expand): another translation that I missed
9220 2002-03-28 Juergen Vigna <jug@sad.it>
9222 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9224 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9226 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9230 * MenuBackend.C (expand): fix export/view/update when there is no
9233 2002-03-27 Herbert Voss <voss@lyx.org>
9235 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9238 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9240 * bufferview_funcs.C (currentState): only show paragraph number
9241 for is DEVEL_VERSION is set.
9243 * lyxfunc.C (dispatch): put warning in INFO channel
9245 * MenuBackend.C (expand): translate the name of floats
9247 * FloatList.C (FloatList): mark the float names for translation
9249 * converter.C (convert): use LibScriptSearch
9251 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9253 * MenuBackend.C (defaults): fix default menu (we might as well get
9256 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9261 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9263 * lyxvc.C: reorder includes.
9265 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9267 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9270 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9272 * CutAndPaste.C: change layouts earlier on paste
9273 to avoid crashing when calling getFont()
9275 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9277 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9280 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * WorkArea.C: remove 'Pending' debug message.
9284 * most files: ws cleanup
9286 * buffer.[Ch]: ws changes
9288 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9290 2002-03-21 Juergen Vigna <jug@sad.it>
9292 * tabular.C (SetMultiColumn): collapse also the contents of the
9293 cells and set the last border right. Added a Buffer const * param.
9295 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9297 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9300 2002-03-19 Juergen Vigna <jug@sad.it>
9302 * text2.C (clearSelection): reset also xsel_cache.
9304 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9305 where it needs to be called (John tells us to do so too :)
9306 (selectionLost): reset sel_cache.
9308 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9310 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9312 * text2.C (setCursorIntern): put debuging code in INSETS channel
9314 2002-03-19 André Pönitz <poenitz@gmx.net>
9316 * lyxfunc.C: tiny whitespace change
9318 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * ToolbarDefaults.C (init):
9321 * LyXAction.C (init):
9323 * BufferView_pimpl.C (Dispatch):
9324 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9326 2002-03-19 Allan Rae <rae@lyx.org>
9328 * exporter.C (Export): removeAutoInsets before doing anything else.
9329 While I've just introduced a dependency on BufferView this really is
9330 the best place to clean the buffer otherwise you need to cleanup in
9331 a dozen places before calling export or cleanup in a dozen functions
9334 * converter.C (runLaTeX):
9335 (scanLog): Better handling of removeAutoInsets and screen updates.
9337 * lyxfunc.C (dispatch): small whitespace changes
9339 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * WorkArea.C (C_WorkAreaEvent): return a value.
9342 (event_cb): return 1 if we handled the event, 0 otherwise.
9344 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9346 2002-03-18 Juergen Vigna <jug@sad.it>
9348 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9349 (GetAdditionalWidth): ditto.
9353 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9354 inset if we're there actually (probably not used right now but this
9355 is the direction to go for unifying code).
9356 (paste): disable code to clear the selection.
9358 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9359 inside an InsetText and move the check further up as it is in the
9362 * text2.C (pasteSelection): set a selection over the pasted text.
9364 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9366 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9367 and libgraphics to build on Cygwin.
9369 2002-03-15 Juergen Vigna <jug@sad.it>
9371 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9372 inserting an Inset into the paragraph. I know this is not the best
9373 fix but we already use current_view in CutAndPaste so we will remove
9374 all of it's using at the same time.
9376 * buffer.C (sgmlError): deactivated function till it is rewritten in
9377 the right mode, now it can create problems.
9379 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9380 before accessing it.
9382 2002-03-14 Juergen Vigna <jug@sad.it>
9384 * undo_funcs.C (textHandleUndo): do the right thing when updating
9385 the inset after the undo/redo.
9387 * text2.C (setCursor): just some testcode for #44 not ready yet.
9389 * undo_funcs.C (textHandleUndo): set the next() and previous()
9390 pointers of the paragraph to 0 before deleting otherwise we have
9391 problems with the Paragraph::[destructor].
9393 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9394 on a paragraph insertion.
9396 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * buffer.C (asciiParagraph): use += operator for char append to
9401 * paragraph.C (getFontSettings): compare >= not just >
9402 (highestFontInRange): ditto
9405 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9407 * paragraph.C: change several algorithm to be more appripriate for
9408 the problem domain. This is lookip in FontList and in the InsetList.
9410 2002-03-13 André Pönitz <poenitz@gmx.net>
9413 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9415 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9420 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9422 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9424 * Painter.C (display): anon helper function, adjust code for this
9426 (pixmap): remove function.
9428 * Painter.h: remove private display variable.
9430 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9432 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9434 * WorkArea.[Ch]: remove figinset_canvas cruft.
9436 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * lyxtextclass.C (operator): add one item cache optimization.
9440 * bufferlist.h: doxy changes
9442 * bufferlist.C: ws changes
9444 * DepTable.[Ch] (ext_exist): place const in the right spot.
9446 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9448 (workAreaExpose): call resizeInsets when the with BufferView changes.
9449 (Dispatch): adjust for protectedBlank removal
9450 (specialChar): call updateInset if the insert went ok.
9452 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9453 specialChar instead.
9455 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9457 * BufferView.h: doxy change
9459 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9461 * lyxtextclass.C (operator[]): remove non-const version
9462 (defaultLayout): remove non-const version
9464 2002-03-12 Juergen Vigna <jug@sad.it>
9466 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9467 did resize the LyXText too.
9469 * buffer.C (readLyXformat2): set layout information on newly allocated
9472 * tabular.C (OldFormatRead): set layout information on the paragraph.
9474 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9476 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9478 2002-03-11 Juergen Vigna <jug@sad.it>
9480 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9482 (resizeCurrentBuffer): force also the insets to resize themselfes.
9483 (moveCursorUpdate): fixed up for InsetText.
9485 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9488 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9489 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9490 value of Dialogs::tooltipsEnabled().
9491 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9493 2002-03-08 Juergen Vigna <jug@sad.it>
9495 * BufferView_pimpl.C (updateInset): update inset inside inset also
9496 if it isn't inside theLockingInset().
9498 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9500 * buffer.C (asciiParagraph): redo some of the word and line length
9502 (getLists): look for Caption instead of caption.
9504 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9506 * buffer.C (Buffer): initialize niceFile to true
9509 (makeDocBookFile): make sure niceFile is true on exit
9511 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9513 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9515 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9517 * LyXSendto.C: remove.
9518 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9519 * lyx_gui.C: remove now-redundant comment.
9520 * ColorHandler.h: remove forward declaration of class WorkArea.
9521 * lyxfunc.C: remove #include "WorkArea.h".
9523 2002-03-07 Juergen Vigna <jug@sad.it>
9525 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9526 got moved away with the DEPM and also set the inset_owner always
9527 right which before could have been omitted.
9529 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9532 wanted layout is not found.
9534 2002-03-07 Juergen Vigna <jug@sad.it>
9536 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9538 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9540 * paragraph.C (breakParagraph): use default layout not layout of
9542 (Paragraph): clear ParagraphParameters.
9544 2002-03-06 Juergen Vigna <jug@sad.it>
9546 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9547 otherwise it would not be a valid lenght. Fixed a special case in
9548 the minipage compatibility read where we end the document with a
9551 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9552 was set as it could be 0 for InsetTexts first entry.
9554 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * paragraph.C (writeFile): if layout is empty write out
9557 defaultLayoutName().
9559 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9560 file without named layout we set layout to defaultLayoutName().
9562 2002-03-06 Juergen Vigna <jug@sad.it>
9564 * CutAndPaste.C (copySelection): set layout for new paragraph.
9566 * text.C (prepareToPrint): leave ERT inset left aligned
9567 (leftMargin): don't indent paragraphs inside ERT insets
9569 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * paragraph.C (breakParagraph): dont call clear do the work manually
9573 * paragraph.[Ch] (clear): remove function
9575 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9577 * paragraph.C (Paragraph): dont call clear, the work has already
9580 * lyxtextclass.C (operator): assert if n is empty
9582 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9583 work manually instead.
9585 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9587 * BufferView_pimpl.C: protect selectionLost against text == 0
9589 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9591 * text.C (breakParagraph): fix a setting layout to '0' problem.
9593 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9595 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9596 final location of file, for the included files, and graphics.
9598 2002-03-05 Juergen Vigna <jug@sad.it>
9600 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9602 2002-03-04 Juergen Vigna <jug@sad.it>
9604 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9606 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9607 last column of multicolumn cells.
9608 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9610 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9612 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9613 file if it doesn't go to a temporary file.
9615 * buffer.C (sgmlOpenTag):
9616 (sgmlCloseTag): remove extra newline insertion.
9618 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * text.C (getRowNearY): comment out debug msg
9622 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * text2.C: first -> first_y
9626 * text.C (getRowNearY): add some attemts at a possible
9627 optimization, not working.
9629 * tabular.[Ch]: add BufferParams to several function so that newly
9630 created paragraph can be initialized to he default layotu for the
9633 * tabular-old.C (ReadOld): add buf->params to call of Init
9635 * screen.C: rename text->first to text->first_y
9637 * paragraph.C (breakParagraph): always set layout in the broken
9640 * lyxtextclass.C (Read): remove lowercase
9643 (delete_layout): ditto
9645 * lyxtext.h: rename first -> first_y
9647 * lyxlayout.C (Read): remove lowercase
9650 (obsoleted_by): ditto
9652 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9654 * buffer.C (insertErtContents): add params are to InsetERT
9655 (parseSingleLyXformat2Token): add code to check if a paragraphs
9656 layout really exist.
9657 (parseSingleLyXformat2Token): add params to several inset
9659 (asciiParagraph): remove lowercase, do the layout comparisons with
9662 * BufferView_pimpl.C (cursorNext): first -> first_y
9663 (resizeCurrentBuffer): first -> first_y
9664 (updateScrollbar): first -> first_y
9665 (scrollCB): first -> first_y
9666 (workAreaMotionNotify): first -> first_y
9667 (workAreaButtonPress): first -> first_y
9668 (checkInsetHit): first -> first_y
9669 (cursorPrevious): first -> first_y
9670 (cursorNext): first -> first_y
9671 (Dispatch): add buffer_->params to severl inset contructors
9673 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9675 * lyxlayout.C (Read): remove some debug info that I forgot.
9677 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9678 clean up the code slightly.
9679 (makeLinuxDocFile): ditto
9680 (makeDocBookFile): ditto
9682 * text2.C: layout as string
9684 * text.C: layout as string
9686 * paragraph_pimpl.C: layout as string
9688 * paragraph.[Ch]: layout as string
9690 * lyxtextclasslist.[Ch]: layout as string
9692 * lyxtextclass.[Ch]: layout as string
9694 * lyxtext.h: layout as string
9696 * lyxlayout.[Ch]: layout as string
9698 * lyx_cb.C: layout as string
9700 * bufferview_funcs.C: layout as string
9702 * bufferparams.C: layout as string
9704 * buffer.C: layout as string
9706 * LyXView.[Ch]: layout as string
9708 * LaTeXFeatures.[Ch]: layout as string
9710 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9712 * BufferView_pimpl.C: change current_layout to string, remove
9717 (workAreaButtonRelease): layout as string
9719 * BufferView2.C (unlockInset): adjust
9721 * vspace.C (asLatexCommand): use an explict temp variable.
9723 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9725 * Makefile.am: use FRONTEND_*
9727 2002-03-01 Juergen Vigna <jug@sad.it>
9729 * tabular.C (SetWidthOfMulticolCell): changed to something better
9730 I hope but still work in progress.
9731 (recalculateMulticolumnsOfColumn): renamed function from
9732 recalculateMulticolCells as it is more appropriate now.
9733 (SetWidthOfCell): calculate multicols better.
9735 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9737 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9739 * lyxfunc.C (processKeySym): print sequence also if it is
9740 `deleted' (complete)
9742 * kbsequence.C (print): print sequence even if it is deleted
9743 (complete would be a better word, actually).
9745 * lyxfunc.C (dispatch): print complete options after a prefix key
9747 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9749 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9751 * text2.C (setCharFont): eliminate setCharFont code duplication.
9753 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9755 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9756 LFUN_TABULAR_FEATURE (bug #177)
9758 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9760 * Makefile.am: remove figure.h
9762 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9764 * Bufferview_pimpl.C:
9776 * text2.C: remove #include "lyx_gui_misc.h".
9778 * LaTeX.C: added #include <cstdio>
9780 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9782 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9783 that the paragraph following this one can have.
9785 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9787 * vspace.C (asLatexCommand): fix bogus gcc warning
9789 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9791 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9793 * text2.C (setLayout): get rid of redundant code
9795 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9797 * text2.C (incDepth): make sure depth cannot be increased beyond
9800 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9802 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9803 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9805 * PainterBase.h (image):
9806 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9809 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9813 * BufferView_pimpl.C:
9814 * BufferView_pimpl.h:
9834 * sp_spell.C: remove fig inset, and the crap house of
9835 cards that follows it
9837 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9843 * nt_defines.h: move .h into support/
9845 * vms_defines.h: remove
9847 * WorkArea.C: add space in debug output
9851 * buffer.C: add WITH_WARNINGS
9855 * bufferlist.C: s/retrive/retrieve/, add docs
9866 * lyxgui.C: add ID to X error handler
9868 * lyxtestclass.c: fix typo
9870 2002-02-26 Juergen Vigna <jug@sad.it>
9872 * tabular_funcs.C (write_attribute): changed so that some default
9873 attributes are not written at all.
9874 (getTokenValue): set default values before trying to read the
9875 value so we have the return value always set as default if we don't
9876 find the token we search for.
9878 * tabular.C (Write): write bools as bools not as strings!
9880 2002-02-22 Juergen Vigna <jug@sad.it>
9882 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9883 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9885 * text.C (leftMargin): don't add an indent for paragraphs inside
9886 tabular cells (fix #208).
9888 2002-02-21 José Matos <jamatos@fep.up.pt>
9890 * tabular.C (docBook): fixed support for long tables.
9892 2002-02-20 Juergen Vigna <jug@sad.it>
9894 * text2.C (getFont): get the drawing font of the Inset if this
9895 paragraph is inside an inset (only important for InsetERT for now).
9897 * buffer.C (insertErtContents): use new lanugage params in ERT
9900 * CutAndPaste.C: commenting out seemingly uneeded code.
9902 2002-02-19 Allan Rae <rae@lyx.org>
9904 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9905 Iterators might be simple to use but they also get invalidated.
9906 (removeAutoInsets): renamed saved cursor tracking variables and added
9907 some comments to clarify what everything does.
9909 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9916 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9917 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9920 * vc-backend.h: remove #include "support/syscall.h"
9924 * converter.C: rearrange #includes in Lars' approved fashion.
9926 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9927 forward declare class Timeout in the header file.
9929 * XFormsView.C: changes due to the above.
9931 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9934 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9935 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9937 2002-02-18 José Matos <jamatos@fep.up.pt>
9939 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9942 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9944 * a lot of small ws changes
9945 * add a lot of using std::XXX
9946 * use std construcs some places where approp.
9947 * use some exisint stuff from lyxfunctional where approp.
9948 * Make file changes to use partial linking (lets test this now...)
9950 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9954 remove #include "support/syscontr.h" as it's redundant. Always has been.
9962 change Systemcalls::System to Systemcalls::Wait and
9963 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9964 No change of functionality, just reflects the stripped down Systemcalls
9967 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9969 * debug.[Ch]: add a GRAPHICS type to the enum.
9971 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9973 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9975 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9978 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9980 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9981 match the changes below.
9983 * text2.C (toggleInset): if there is not editable inset at cursor
9984 position, try to see if cursor is _inside_ a collapsable inset
9987 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9990 document menu has a nice checkbox
9992 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9994 * lyxlength.C (asLatexString): change PW to output as percent of
9997 * lengthcommon.C: change '%' to 't%'
9999 * lyxfunc.C (dispatch): a few comments from Martin
10001 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10005 * BufferView_pimpl.h:
10006 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10009 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * vspace.C (inPixels): fix compiler warning
10013 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10015 * lyxfunc.C (getStatus): fix status message for disabled commands.
10017 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10019 * BufferView_pimpl.C: fix crash on close buffer
10020 during selection (#227)
10022 2002-01-27 Herbert Voss <voss@lyx.org>
10024 * buffer.C: link old Figure to new graphic inset
10026 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10028 * FontLoader.C (getFontinfo): Change the latex font names in order
10029 to match the names of type1inst.
10031 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10033 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10035 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10036 (extchanged): ditto
10038 (remove_files_with_extension): ditto
10039 (remove_file): ditto
10042 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10043 document is smaller than the work area height. Do not initialize
10044 static variables to 0.
10046 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10048 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10050 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10051 LFUN_LAYOUT_PARAGRAPHS.
10053 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10054 tabular. It is possible to provide a possible cell, which will
10055 typically be the actcell from the corresponding insettabular
10057 * lyxfunc.C (getStatus): small cleanup; disable
10058 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10061 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10065 * paragraph.C (startTeXParParams):
10066 (endTeXParParams): new methods. The LaTeX code to
10067 start/end paragraph formatting
10068 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10069 empty (fixes bug #200)
10071 * vspace.C (inPixels): adapt to the change below
10072 (inPixels): [later] more cleanups (remove unused variables)
10074 * lyxlength.C (inPixels): change to use a width and a height as
10077 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10079 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10080 Replaced with \paperwidth
10082 * DepTable.C (insert): add std:: qualifier
10084 2002-01-18 Allan Rae <rae@lyx.org>
10086 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10089 * text.C (drawInset): Turned out I didn't know enough about how
10090 rebreaking worked. This fixes most of the redraw problems. I see
10091 an occasional cursor trail when a line is broken now and the cursor
10092 placement can seem out by a few pixels also after a rebreak.
10094 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10096 * buffer.C (parseSingleLyXformat2Token): update because minipage
10097 width is now a LyXLength
10099 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10101 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10104 2002-01-17 Juergen Vigna <jug@sad.it>
10106 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10108 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10109 is set correctly and the inset is updated correctly.
10111 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10114 the beginning of the loop.
10116 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10118 * lyxrc.C: improve help for use_scalable_fonts
10120 2002-01-17 Allan Rae <rae@lyx.org>
10122 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10124 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10126 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10127 make sure to set their inset_owner to the right value (bug #171)
10129 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10132 * DepTable.C: Implement mtime checking to reduce time spent doing
10135 2002-01-16 Juergen Vigna <jug@sad.it>
10137 * tabular.C (GetAdditionalHeight): one of error fixed.
10139 * lyxrc.C (output): small fix in writing use_pspell.
10141 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10143 * sp_base.h: #include LString.h
10145 2002-01-16 Allan Rae <rae@lyx.org>
10147 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10148 Can someone check this please?
10150 * text.C (drawInset): It was possible that p.row would be removed by
10151 breakAgainOneRow upsetting a few other settings. There may be another
10152 small tweak possible by setting need_break_row = 0 when p.row has been
10153 removed but I don't know enough about the logic here.
10155 2002-01-15 Allan Rae <rae@lyx.org>
10157 * text.C (insertChar): removed conditional truism.
10159 * BufferView2.C (removeAutoInsets): More tweaks.
10160 cur_par_prev could be a stray pointer. Check for trailing empty line
10161 in case last line was cur_par and only had an error inset on it.
10163 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10165 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10168 * vc-backend.C (most methods):
10169 * exporter.C (Export):
10170 * converter.C (convert):
10172 * LyXSendto.C (SendtoApplyCB):
10173 * lyxfunc.C (dispatch):
10177 * lyx_cb.C (AutoSave):
10179 * BufferView_pimpl.C (MenuInsertLyXFile):
10180 * buffer.C (runChktex): use Buffer::filePath().
10182 * buffer.h: rename filename to filename_; rename filepath to
10183 filepath_ and make it private
10184 (filePath): new method
10186 * buffer.C (writeFile): use fileName()
10189 * lyx_main.C (init): fix starting of LyX when the binary is a
10190 link from so,ewhere else.
10192 * minibuffer.C: include <cctype> for isprint
10194 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10196 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10197 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10198 name clash with InsetCollapsable's width function.
10200 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * lastfiles.C: include <iterator>
10204 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10206 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10209 * buffer.C (makeLaTeXFile): ditto.
10210 Also make loop operation more transparent.
10212 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10214 * ToolbarDefaults.C: remove trailing comma closing namespace.
10216 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10218 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10221 * trans.C (Load): comment out unused variable, allowed.
10223 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10225 * minibuffer.[Ch] (append_char): new method to recieve input from the
10226 drop-down completion browser. If a key was pressed, then recieve this
10227 char and append it to the existing string.
10228 (peek_event): modify the positioning data passed to the completion
10229 browser so that it can be placed above the minibuffer rather than below.
10230 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10232 * LyXAction.C (init): alloe error-next for readonly documents.
10234 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10237 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * bufferlist.C (readFile): create the buffer _after_ checking that
10242 * lyxfunc.C (verboseDispatch): fix handling of arguments
10244 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10246 * lyxrc.C: use string::erase() instead of initializing to "".
10249 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10251 * BufferView_pimpl.h:
10252 * BufferView_pimpl.C:
10255 * text2.C: tell X when we have made a selection for copying
10257 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10259 * BufferView_pimpl.C (MenuInsertLyXFile):
10260 * lyxfunc.C (menuNew):
10262 (doImport): add shortcuts to directory buttons
10264 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10267 * lyxfunc.C (setStatusMessage):
10268 (getStatusMessage): new methods
10269 (getStatus):use setStatusMessage instead of setErrorMessage
10270 (dispatch): when function is disabled, set error message here
10271 [instead of in getStatus previously]
10273 * BufferView_pimpl.C (workAreaButtonRelease): update
10274 toolbar/menubar here too.
10276 2002-01-13 Allan Rae <rae@lyx.org>
10278 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10279 Now seems indestructible. Remaining task is to audit all other
10280 code affected by deleteEmptyParagraphMechanism. One small quirk
10281 left is that an empty document with an error in the preamble can
10282 be made to report an error but no error box appears. I don't know
10284 (removeAutoInsets): Improved comments.
10286 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10289 * Thesaurus.C: update for Aiksaurus 0.14
10291 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * text2.C (firstParagraph): removed member function, all uses
10294 replaces with ownerParagraph
10295 (redoParagraphs): here
10296 (updateInset): here
10297 (toggleAppendix): here
10298 * BufferView2.C (insertErrors): here
10299 (setCursorFromRow): here
10301 2002-01-13 Allan Rae <rae@lyx.org>
10303 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10304 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10305 There is still a way to segfault this although you may have to do this
10306 multiple times: Have an InsetERT with an unknown command in it.
10307 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10308 <down-arrow>, <Enter> again, View->DVI, BANG!
10310 * text2.C (setCursor):
10311 (deleteEmptyParagraphMechanism):
10312 * lyxtext.h (setCursor):
10313 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10314 Making use of the return value may help fix other bugs.
10316 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10318 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10320 * LyXView.C (updateMenubar): call MenuBar::update here
10321 (updateToolbar): but not here
10322 (showState): do not update toolbar/menubar
10324 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10325 should need to care about that.
10327 * lyxfunc.C (verboseDispatch): simplify a bit
10328 (getStatus): have a version which takes a pseudoaction, and
10329 another which requires a (kb_action,string).
10331 * LyXAction.C (retrieveActionArg): make it work also when action
10332 is not a pseudo-action.
10333 (getActionName): simplify a bit
10336 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10338 * lyxfunc.C (verboseDispatch): new families of methods with
10339 several ways to specify a command and a bool to indicate whether
10340 the command name and shortcut should be displayed in minibuffer
10341 (eventually, we could extend that to a finer bitmask like
10342 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10343 (dispatch): the pristine dispatch command which just, well,
10344 dispatchs! Note it still sets its result to minibuffer; I'm not
10347 * lyxfunc.h: remove setHintMessage
10349 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10351 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10353 * BufferView_pimpl.C (specialChar): delete new inset if we have
10354 not been able to insert it.
10356 * kbmap.C: revert to using int instead of kb_action, since all we
10357 are dealing with is pseudo-actions.
10359 * LyXAction.C (searchActionArg): change to return int instead of
10360 kb_action, since the result is a pseudoaction.
10362 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10364 * buffer.C (insertErtContents): Fix (partially) the font bug.
10366 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10368 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10369 as the other one is broken on my machine!
10371 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10374 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10376 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10378 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10379 reflect their actual use. Provide compatibility code for older lyxrc
10382 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10384 change names of popup font variables in line with the changes to lyxrc.C
10386 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * buffer.C (asciiParagraph): avoid outputing a word twice after
10391 * lyxrc.C (getDescription): document that document_path and
10392 template_path can be empty.
10394 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10396 * LaTeXFeatures.C (getMacros):
10397 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10399 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10401 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10403 (getPackages): rename feature "floats" to "float". Use an array to
10404 iterate over 'simple' features (i.e. just a \usepackage). Add
10405 handling of "amsmath" (renamed from "amsstyle").
10407 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10409 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10412 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10414 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10415 FuncStaus::FuncStatus & FuncStaus::some_method().
10417 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10419 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10420 of the func_satus stuff. Edited and massaged in various ways by
10423 * lyxfunc.C (getStatus): use FuncStatus
10425 2002-01-08 Juergen Vigna <jug@sad.it>
10427 * text.C (nextBreakPoint): use function Inset::isChar().
10429 * paragraph.C (TeXOnePar): use function
10430 Inset::forceDefaultParagraphs.
10432 * buffer.C (latexParagraphs): use function
10433 Inset::forceDefaultParagraphs.
10435 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10437 * lyx_gui.C (init): set the style of the menu popups to
10438 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10440 2002-01-07 Juergen Vigna <jug@sad.it>
10442 * text.C (setHeightOfRow): small fix
10443 (prepareToPrint): don't look at alignment if we don't have the place
10446 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10448 * box.C: New file. Move the Box methods and functions out of box.h,
10449 following Lars' suggestion.
10451 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10453 * box.h: #include "support/LOstream.h", needed for inlined function.
10456 * lyxtextclasslist.C: added some using std declarations.
10458 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10460 * box.h: make signed dimensions to allow insets wider than
10461 the screen (bug #162)
10463 * BufferView_pimpl.C: add some insetHit debug
10465 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10467 * vc-backend.C: add FIXME
10469 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10471 * lyxfunc.C (getStatus): enable code for showing math font status
10474 2002-01-07 Juergen Vigna <jug@sad.it>
10476 * text.C (nextBreakPoint): removed debug output not needed anymore.
10478 2002-01-06 Juergen Vigna <jug@sad.it>
10480 * text.C (nextBreakPoint): fixed up this function we had this bug
10481 since ever but now hopefully we break row better.
10482 (insertChar): we have to check if an inset is the next char as it
10483 could now happen that a large inset is causing a break.
10485 2002-01-05 Juergen Vigna <jug@sad.it>
10487 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10488 if it doesn't like to be drawed.
10490 2002-01-04 Juergen Vigna <jug@sad.it>
10492 * BufferView2.C (lockInset): forgot to set a cursor.
10494 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10496 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10498 * FormMathsPanel.C:
10501 * form_maths_panel.C:
10502 * form_maths_panel.h:
10503 * form_maths_panel.fd: implemented sub- and super- buttons in math
10506 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10507 (or ^ space) to be used as in TeX (req'd by André).
10509 * lyxfunc.C: Allow ^ and _ again to be used both as
10510 super/subscript (mathed) and as themselves (in text).
10512 2002-01-03 Allan Rae <rae@lyx.org>
10514 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10515 "LyX" or the filename of the current buffer if it has one. This is a
10516 modified form of John Levon's patch.
10518 * XFormsView.C (setWindowTitle): also set icon title.
10520 * LyXView.h (setWindowTitle): signature changed.
10521 * XFormsView.h (setWindowTitle): ditto.
10523 2002-01-02 Juergen Vigna <jug@sad.it>
10525 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10527 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10529 * screen.C (topCursorVisible): introduce a temp var for
10530 text->cursor.row(), handle the case where this row is null. (kindo
10533 * text2.C (setCursor): add a couple of asserts.
10535 * paragraph.h (inset_iterator): add -> operator
10537 * paragraph.[Ch] (autoDeleteInsets): remove member function
10539 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10540 cursor pos correctly and handle inset deletion by itself.
10541 (insertErrors): move iterator declaration out of for expression
10543 * lyxtextclass.C: add <algorithm>
10545 * Makefile.am: added the new files to sources, removed layout.C
10547 * layout.C: removed file
10549 * layout.h: remove LYX_DUMMY_LAYOUT
10551 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10555 * lyxtextclass.[Ch]:
10556 * lyxtextclasslist.[Ch]: new files
10558 * include order changes to a lot of files, also changes because of
10561 2001-12-27 Juergen Vigna <jug@sad.it>
10563 * buffer.C (asciiParagraph): more fixes.
10565 * tabular.C (ascii): make ascii export support export of only the
10566 data separated by a column-delimiter.
10567 (ascii): better support for ascii export.
10569 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10571 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * tabular_funcs.C: use a "using std::getline" instead of the
10574 previous fix from Angus (necessary for cxx + lyxstring)
10576 2001-12-24 Juergen Vigna <jug@sad.it>
10578 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10580 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10581 problems. First check a minipage also if we have some ert-contents
10582 (not only on par->size(), second set the right depth of the paragraph
10583 on the relink to the root-paragraph-list!
10585 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10586 which then did not anymore update the main paragraphs on undo/redo!
10588 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10590 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10591 code. Support all font-changing funcs (even those which are not in
10592 menu currently). Support for reporting font settings in
10593 mathed (disabled until Andre provides a function on mathed's side).
10595 * func_status.h (toggle): small helper function to set toggle
10598 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10600 * tabular_funcs.C: getline -> std::getline
10602 2001-12-21 Juergen Vigna <jug@sad.it>
10604 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10605 accessed and could be 0 (I couldn't generate this but it seems
10608 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10611 * tabular_funcs.h: here and include iosfwd
10613 2001-12-20 Juergen Vigna <jug@sad.it>
10615 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10616 inside inset but undo_par was.
10618 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10620 * Thesaurus.C: always include <config.h> in sources.
10624 * box.h: do not include <config.h> in header files
10626 * text.C (paintLastRow): remove unused variable
10628 * text.C (transformChar):
10630 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10632 * Painter.C (text):
10633 * font.C (width): rewrite to use uppercase() instead of
10636 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10638 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10640 * lyxfind.C: clean up of find failure position change
10642 2001-12-20 Juergen Vigna <jug@sad.it>
10644 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10646 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10647 (TeXRow): added to LaTeX a single tabular row.
10648 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10649 (Latex): simplified and finally good LT-h/f support.
10650 (various_functions): just small adaptions for LT-h/f support.
10652 * tabular_funcs.[hC]: added and moved here all not classfunctions
10655 2001-12-19 Juergen Vigna <jug@sad.it>
10657 * tabular.[Ch]: better support for longtabular options (not finished
10660 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * text.C (paintLastRow): use the label font instead of the font of
10663 the last character to compute the size of *_BOX. This makes more
10664 sense and avoids a crash with empty paragraphs.
10665 Use Painter::rectangle to draw EMPTY_BOX.
10667 2001-12-19 Juergen Vigna <jug@sad.it>
10669 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10670 the paragraphs if the replaced paragraph is not the first one!
10671 Tried to delete not used paragraphs but does not work yet so for
10672 now it's inside #ifdef's and by default off!
10674 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10676 * MenuBackend.C: include "lyx_main.h" instead of declaring
10677 lastfiles (actually was declared as LastFiles* instead of a
10680 2001-12-17 Juergen Vigna <jug@sad.it>
10682 * tabular.C (AppendColumn): applied John's fix
10684 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10688 * BufferView_pimpl.h:
10689 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10692 * box.h: new start of class for above
10694 * lyxfunc.C: ignore space-only minibuffer dispatches.
10695 Show the command name when it doesn't exist
10697 * minibuffer.C: don't add empty lines to the history
10699 * minibuffer.C: add a space on dropdown completion
10701 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10703 * text.C: fix line above/below drawing in insets
10705 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * lyxlength.C (LyXLength): Initialize private variables.
10709 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10711 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10712 when inserting error insets.
10714 2001-12-13 Juergen Vigna <jug@sad.it>
10716 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10717 actually sometimes the before-paragraph.
10718 (setUndo): don't clear the redostack if we're not actually undoing!
10720 2001-12-06 Juergen Vigna <jug@sad.it>
10722 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10723 and fixed redoing of main paragraph, so we can use it now ;)
10725 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10727 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10729 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10732 2001-12-13 André Pönitz <poenitz@gmx.net>
10735 * undo_func.C: minor cleanup
10737 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10739 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10740 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10741 font in urw-fonts package which is marked as -urw-fontspecific and
10742 does not work (incidentally, changing the encoding in the
10743 fonts.dir of this package to -adobe-fontspecific fixes the
10746 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10747 is a crash when undoing first paragraph (Juergen, please take a
10748 look). THis does not mean the undo fix is wrong, just that it
10751 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10752 the (Paragraph*) version when needed instead of duplicating the
10755 * text.C (workWidth): use Inset::parOwner to find out where the
10756 inset has been inserted. This is a huge performance gain for large
10757 documents with lots of insets. If Inset::parOwner is not set, fall
10758 back on the brute force method
10760 * paragraph_pimpl.C (insertInset):
10761 * paragraph.C (Paragraph):
10762 (cutIntoMinibuffer): set parOwner of insets when
10763 inserting/removing them
10765 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10767 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10773 * mathed/formulabase.C:
10774 * mathed/math_cursor.[Ch]:
10775 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10778 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10780 * lyxlength.[Ch] (operator!=): new function
10782 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * text.C (workWidth): use Inset::parOwner to find out where the
10785 inset has been inserted. This is a huge performance gain for large
10786 documents with lots of insets. If Inset::parOwner is not set, fall
10787 back on the brute force method
10789 * paragraph_pimpl.C (insertInset):
10790 * paragraph.C (Paragraph):
10791 (cutIntoMinibuffer): set parOwner of insets when
10792 inserting/removing them
10794 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10796 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10798 * tabular-old.C (getTokenValue):
10799 * tabular.C (getTokenValue):
10800 (write_attribute): new versions for LyXLength
10801 (everywhere): adjust the use of widths
10803 * tabular.h: change the type of widths from string to LyXLength
10805 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10807 * paragraph.C: fixed missing line number count when exporting
10808 Environments to LaTeX file
10810 * buffer.C: added informational message for checking line numbers.
10812 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10814 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10815 paragraph, do the 'double space' part, but not the 'empty
10818 * text.C (workWidth): small optimization
10819 (getLengthMarkerHeight): use minimal size for negative lengths.
10821 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10823 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10825 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10827 2001-12-11 André Pönitz <poenitz@gmx.net>
10830 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10832 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10834 * text2.C: keep selection on a setFont()
10836 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10838 * lyx_cb.C: another bv->text misuse, from insert label
10840 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10843 * kbsequence.C: re-instate nmodifier mask
10845 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10847 * lyx_main.h: make lyxGUI private.
10849 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10851 * lyxfind.C: place the cursor correctly on failed search
10853 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10855 * text.C (getLengthMarkerHeight): for small heights, the arrows
10856 are not always on top/bottom of the text
10857 (drawLengthMarker): smaller arrows; take the left margin in
10858 account; draw also vfills.
10860 (paintLastRow): remove special code for vfill and standard spaces,
10861 since everything is handled in drawLengthMarker now.
10863 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10865 * buffer.C (insertErtContents): try to handle font and language
10866 interaction a bit better.g
10868 * ColorHandler.C (updateColor): change the hash to cover the whole
10869 LColor enum, ws cleanup
10870 (getGCLinepars): ditto
10871 (getGCLinepars): only lookup in the linecache once.
10873 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10875 * iterators.C (operator++): Make the iterator more robust
10877 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10881 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10884 * text.C: better added space drawing
10886 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10889 * BufferView2.C: fix layout combo update on inset unlock
10891 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10893 * Makefile.am: don't compile unused files
10895 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10899 * LyXAction.C: remove old LFUN_LAYOUTNO
10901 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10903 * paragraph_pimpl.h:
10904 * paragraph_pimpl.C: isTextAt() doesn't need font param
10906 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10909 * lyxlex.C: little cleanup
10911 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10913 * BufferView_pimpl.C: fix insertAscii for insets
10915 2001-12-05 Juergen Vigna <jug@sad.it>
10917 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10918 set the right font on the "multi" paragraph paste!
10920 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * lyxlength.C: remove out-commented code.
10928 * BufferView_pimpl:
10942 * vc-backend.C: change "while(" to "while ("
10944 * lyxlength.[Ch]: add zero function to check if length is zero or
10946 * lyxgluelength.C: use it
10948 2001-12-05 Allan Rae <rae@lyx.org>
10950 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10951 Works for 2.95.3, from what I understand of Garst's reports this should
10952 work for other g++ versions. We're screwed if the abs(int) definition
10953 changed between bugfix releases of gcc.
10955 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10957 * text.C: fix chapter label offset !
10959 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10962 * text.C: fix hfill at end of line, clean up
10964 2001-12-04 Juergen Vigna <jug@sad.it>
10966 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10967 that we force an update of the inset and it's owners if neccessary.
10969 2001-12-03 Juergen Vigna <jug@sad.it>
10971 * text.C (rowLast): simplified code
10973 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10975 * lyxfunc.C: fix show options on timeout
10977 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10979 * screen.C (topCursorVisible): scroll half a page when the cursor
10980 reached top of bottom of screen
10982 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10984 * minibuffer.C: deactivate on loss of focus
10986 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10988 * vspace.[Ch] (operator!=): add operator.
10990 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10992 * BufferView_pimpl.C: refuse to open an inset when
10993 there's a selection.
10995 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10997 * BufferView_pimpl.C: allow to click on RHS of full row insets
10999 2001-11-30 Juergen Vigna <jug@sad.it>
11001 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11002 insets for undo reasons.
11004 2001-11-28 André Pönitz <poenitz@gmx.net>
11006 * vspace.[Ch]: cosmetical changes
11008 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11018 * kbsequence.C: part re-write of old kb code
11021 * WorkArea.C: remove Lgb_bug_find_hack
11023 2001-11-30 José Matos <jamatos@fep.up.pt>
11025 * buffer.C (makeDocBookFile): add a comment to point a hack.
11026 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11027 Fixed a double write of labels.
11029 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11032 * LaTeX.h Fixed bug in LaTeX class where it would not
11033 re-run latex if no depfiles were changed, but the .dvi was removed.
11035 2001-11-28 André Pönitz <poenitz@gmx.net>
11037 * all the files from the change on 2001/11/26:
11038 use lyx::layout_type instead of LyXTextClass::size_type
11039 use lyx::textclass_type instead of LyXTextClassList::size_type
11041 2001-11-29 Juergen Vigna <jug@sad.it>
11043 * text.C: added support for paragraph::isFreeSpacing()
11045 * buffer.C: same as above
11047 * paragraph.h: inserted isFreeSpacing() function to enable
11048 FreeSpacing inside InsetERT.
11050 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11051 of the paragraph's in the cut/copy buffer to 0!
11053 * text2.C (removeRow): remove the assert as it can!
11055 * lyxtext.h: added helper function firstRow returning firstrow and
11056 made firstrow private again.
11058 * BufferView2.C (lockInset): don't relock if we're already locked!
11060 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11061 the only paragraph.
11062 (removeRow): added Assert::(firstrow)
11064 * debug.C: forgot to add INSETTEXT here.
11066 2001-11-28 Juergen Vigna <jug@sad.it>
11068 * sp_spell.C (initialize): changed error text to more general
11069 spellchecker command use (not only ispell!)
11071 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11073 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11075 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11077 * vspace.C: initialise lyxgluelength on failure
11079 2001-11-28 Allan Rae <rae@lyx.org>
11081 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11082 declaration & definition that looks like a function declaration.
11084 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11086 * BufferView2.C (copy):
11087 (copyEnvironment): do not clear the selection when doing a copy.
11089 * text.C (paintFirstRow): compilation fix
11091 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11093 * tabular.C (Latex): correct line count when writing latex.
11095 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11097 * paragraph_pimpl.h:
11098 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11101 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11105 * LColor.C: change vfillline->added_space
11107 * text.C: add markers and text for added space
11109 * vspace.C: fix comment
11111 2001-11-28 André Pönitz <poenitz@gmx.net>
11113 * paragraph.C: whitespace changes
11114 * all the other files from the change on 2001/11/26:
11115 change *::pos_type into lyx::pos_type
11117 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11119 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11120 language of the document when inserting error insets.
11122 2001-11-26 André Pönitz <poenitz@gmx.net>
11124 * BufferView_pimpl.[Ch]:
11132 * paragraph_pimpl.[Ch]:
11135 * text2.C: reduce header dependencies, introduce type for positions
11137 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11139 * <various>: change to use Alert.h
11141 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11143 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11144 when encountering an unknown token.
11145 (readLyXformat2): Show an error message if there were unknown tokens.
11147 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11150 * BufferView_pimpl.C:
11154 * text2.C: use par->isInset()
11156 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11158 * paragraph_pimpl.h:
11159 * paragraph_pimpl.C: cleanup
11161 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11163 * text2.C (removeRow):
11164 * text.C (setHeightOfRow): remove useless (and costly) call to
11167 2001-11-20 Allan Rae <rae@lyx.org>
11169 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11170 Now need Inset*::checkInsertChar() to return true for appropriate
11171 cases so that the characters in the minibuffer will actually be
11174 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11176 * text.C: change the order of the includes.
11177 (workWidth): initialize it at once.
11178 (workWidth): make maxw unsigned
11179 (setHeightOfRow): remove unused variable (inset)
11180 (selectSelectedWord): remove unused variable (inset)
11181 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11183 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11185 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11186 server is not running.
11188 (closeConnection): add debug info when server is disabled.
11190 * ColorHandler.C (getGCForeground): send debug message to GUI
11193 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11195 * kbmap.C (bind): modify because return conventions of
11196 kb_sequence::parse have changed.
11198 * kbsequence.C (parse): only ignore spaces and not any stupid
11199 control character. This avoids tests like s[i] <= ' ', which are
11200 guaranteed to fail with 8bit characters and signed chars.
11201 Change return code to string::npos when there have been no error
11202 (0 was a bad idea when error is at first character)
11204 2001-11-14 José Matos <jamatos@fep.up.pt>
11207 * buffer.C (simpleDocBookOnePar): removed unused argument.
11209 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11211 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11212 insets which are part of a word. Paragraph::isLetter takes care of
11213 that now. Use Paragraph::isInset to identify insets.
11214 (selectSelectedWord): do not test for hyphenation break.
11216 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11217 that protected spaces are considered as spaces.
11219 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11222 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11225 * lyxserver.C: fix it. and small cleanup.
11227 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11229 * BufferView_pimpl.C: use inline helpers
11232 * LaTeXFeatures.C: fix typos
11235 * Spacing.C: move spacing_string into class
11237 * ToolbarDefaults.C: move stuff into namespace anon
11239 * layout.h: update enum
11241 * lyxfunc.C: use better debug
11243 * minibuffer.h: fix typo
11247 * WorkArea.C: add and use Debug::WORKAREA
11251 * text2.C: code re-organisation, inline helpers
11253 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11255 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11256 std::vector.empty().
11258 2001-11-09 Allan Rae <rae@lyx.org>
11260 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11261 '\n's after tables. Tabular and ERT inset work now makes this no
11264 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11267 * minibuffer.C: fix crash, improve drop-down completion
11269 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11272 * lyxserver.C: invalidate fd's when doing endPipe()
11274 2001-11-08 José Matos <jamatos@fep.up.pt>
11276 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11277 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11280 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11282 2001-11-07 José Matos <jamatos@fep.up.pt>
11285 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11288 * buffer.C (sgmlOpenTag):
11289 * buffer.C (sgmlCloseTag): removed debug info.
11291 * buffer.h (sgmlOpenTag):
11292 * buffer.h (sgmlCloseTag): made public.
11294 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11296 * buffer.C (saveParamsAsDefaults):
11297 * lyx_cb.C (MenuLayoutSave): remove
11299 * LyXAction.C (init):
11301 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11303 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11305 * buffer.C (setPaperStuff): removed from here...
11307 * bufferparams.C (setPaperStuff): ... and moved there.
11309 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11313 * XFormsView.C: add support for drop-down completion
11315 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11317 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11320 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11322 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11325 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11327 * lyx_main.C: change ref to known bugs
11329 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11331 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11332 to work around older babel problems.
11334 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11336 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11338 2001-10-24 Juergen Vigna <jug@sad.it>
11340 * tabular-old.C (ReadOld): below variable changes reflected.
11342 * tabular.[Ch]: added ltType struct for longtable header/footer
11343 defines and changed all instances where they are used. Added
11344 future support for double top/bottom rows.
11346 2001-10-24 José Matos <jamatos@fep.up.pt>
11348 * buffer.h (docbookHandleCaption):
11349 * buffer.C (docbookHandleCaption): removed unused function.
11350 (makeDocBookFile): moved docbook supported version to v4.1.
11352 2001-10-24 José Matos <jamatos@fep.up.pt>
11355 * tabular.C (docbookRow): new function to export docbook code of a row.
11356 (DocBook): now honors the longtable flags.
11358 2001-10-23 José Matos <jamatos@fep.up.pt>
11361 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11362 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11364 * buffer.C (makeLinuxDocFile):
11365 (makeDocBookFile): reworked the preamble, more clean, and with
11366 support for lyx defined entities. Changed the document declaration
11367 to be more XML friendly.
11369 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11370 if we need to output XML that should be done with a filter.
11372 2001-10-22 Juergen Vigna <jug@sad.it>
11374 * sp_pspell.h (class PSpell): add alive function needed in the
11375 controller to see if the spellchecker could be started.
11377 2001-10-22 Juergen Vigna <jug@sad.it>
11379 * buffer.C (insertStringAsLines): modify the font for inserting
11380 chars in certain conditions by calling checkInsertChar(font).
11382 2001-10-19 Juergen Vigna <jug@sad.it>
11384 * text.C (workWidth): use getRow instead of wrong algorithm.
11385 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11387 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11392 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11394 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11396 * text.C (workWidth): do not search for the exact row when
11397 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11398 optimization for big documents.
11400 2001-10-18 Juergen Vigna <jug@sad.it>
11402 * text.C (workWidth): new function with added Inset * parameter.
11404 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11406 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11408 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11409 change return type of getColumnNearX.
11412 * text.C (changeRegionCase): use uppercase/lowercase instead of
11415 (rightMargin): simplify code by factoring out the uses of
11420 (appendParagraph): use Paragraph::size_type
11422 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11424 * vspace.C (asLatexString): add a missing break
11426 2001-10-15 Herbert Voss <voss@perce.de>
11428 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11430 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11432 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11435 2001-10-10 André Pönitz <poenitz@gmx.net>
11437 * lyxfunc.C: removed greek_kb_flag.
11439 2001-10-10 Herbert Voss <voss@perce.de>
11441 * lyx_main.C: delete global string help_lyxdir.
11443 2001-10-09 Herbert Voss <voss@perce.de>
11445 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11447 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11449 * lyx_main.C: added global string help_lyxdir.
11451 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11453 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11455 * lyxrc.C (set_font_norm_type): support iso8859-4
11457 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11459 * LaTeX.C (deplog): add another regex for MikTeX
11461 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11463 * lyxrc.C (set_font_norm_type): support iso8859-3
11465 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11467 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11469 * LaTeXFeatures.C: remove special case of french and index
11471 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11472 before \begin{document}). This solves several incompatibilities.
11474 2001-10-03 Garst Reese <reese@isn.net>
11476 * lyx_cb.C: change CheckTex error msg.
11478 2001-10-03 José Matos <jamatos@fep.up.pt>
11480 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11482 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11484 * .cvsignore: update
11486 * lyx_main.C (commandLineVersionInfo): use new style version info.
11488 * buffer.C (writeFile):
11490 (makeLinuxDocFile):
11491 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11493 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11495 * version.h: update to use stuff in version.C
11497 * version.C.in: new file. Contains version information determined
11498 at compile time. This is a merging of version.h and
11501 2001-10-03 Juergen Vigna <jug@sad.it>
11503 * BufferView_pimpl.C (update): don't change "dirty" status in
11506 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11508 * WorkArea.C (c-tor): re-position version string slightly.
11510 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11512 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11513 revert to previous code.
11515 WorkArea.[Ch]: (show, destroySplash): methods removed.
11517 WorkArea.C: rework code so that it's an amalgam of the codes before and
11518 after the splash screen was moved to WorkArea.
11520 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11523 * vspace.C (inPixels):
11526 * buffer.C (insertStringAsLines):
11527 (asciiParagraph): fix types to be large enough
11529 * lyxlex_pimpl.h: change member status from short to int
11531 * layout.h: fix type of endlabeltype
11534 * kbsequence.C (parse): change return type to string::size_type
11536 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11539 * Bullet.C (bulletSize):
11540 (bulletEntry): do not use short ints as parameters
11542 * BufferView2.C (insertLyXFile): change a char to an int.
11544 * WorkArea.C (WorkArea): remove unneeded floats in computation
11546 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11548 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11550 * paragraph.C (asString): Do not ignore newline/hfill chars when
11551 copying to the clipboard.
11553 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11555 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11556 after a multi-line inset.
11558 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11560 * paragraph.C (validate): Set NeedLyXFootnoteCode
11562 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11564 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11565 and decrease-error to decrease.
11567 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11569 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11570 it more readable (should be equivalent)
11572 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11574 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11576 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11578 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11579 of a cursor (row, etc.) after a character has been deleted
11580 (deleteEmptyParagraphMechanism): call the method above on _all_
11581 cursors held by the LyXText when a double space has been
11584 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11586 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11588 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11590 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11591 background. Use greyOut() and the new show() methods to toggle between
11592 the foreground and background. Add code to remove the splash after
11593 its initial showing.
11595 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11596 (create_forms): no longer call Dialogs::showSplash.
11598 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11600 * .cvsignore: add version_info.h
11602 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11604 * version_info.h.in: new file
11606 * Makefile.am: add version_info.h.in
11608 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11609 version_info.h instead of VERSION_INFO
11611 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11613 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11614 The ERT inset now returns string().
11616 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11618 * lyxtext.h, text.C (selectNextWord): renamed as
11619 selectNextWordToSpellcheck.
11621 * text.C (selectNextWordToSpellcheck): Modified to not select
11622 words inside an ERT inset.
11624 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * lyx_cb.C (MenuLayoutSave): change a bit the question
11628 * sp_base.h: include <sys/types.h>
11630 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11632 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11634 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11636 * several files: fix typos in user-visible strings
11638 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11640 * text2.C (pasteSelection): do not set the selection, since it
11641 will be cleared later. Actually, the intent was to fix the way the
11642 selection was set, but I figured rmoving the code was just as good.
11644 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11646 * FontLoader.C (available): Check if font is available without
11649 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11651 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11653 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11655 * lyxrc.[Ch]: added display_graphics variable and associated code.
11657 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11659 * bufferparams.C (hasClassDefaults): new method. Returns true if
11660 the buffer parameters correspond to known class defaults
11662 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11664 * XFormsView.C (show): set minimum size to the main window.
11666 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11668 * text2.C (copySelection):
11670 * lyxfind.C (LyXReplace):
11671 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11672 LyXText::selectionAsString.
11674 * paragraph.C (asString): add "label" argument to the second form
11676 * text2.C (selectionAsString): add "label" argument and pass it to
11677 Paragraph::asString.
11679 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11681 * lyx_main.C (commandLineHelp): remove version information
11683 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11685 * lyx_main.C: add -version commandline option
11687 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11689 * paragraph.h: make the optional constructor arg required instead.
11690 some modifications to other files because of this.
11692 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11694 * lyxserver.C (C_LyXComm_callback): make it static
11696 * lyx_main.C (error_handler): make it static
11698 * lyx_gui.C (LyX_XErrHandler): make it static
11700 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11702 * WorkArea.C: make the extern "C" methods static.
11704 * Makefile.am (lyx_LDADD): simplify
11706 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11708 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11709 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11711 * LyXAction.C (init):
11712 * lyxfunc.C (dispatch): associated code removal.
11714 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11716 * lyxfont.h (isSymbolFont): shut off warning
11718 * text.C (setHeightOfRow):
11719 (getVisibleRow): fix crash with empty paragraphs which have a
11722 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11724 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11727 2001-09-04 José Matos <jamatos@fep.up.pt>
11730 * tabular.C (docbook): rename docBook method to docbook.
11732 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11734 * Makefile.am: add dependencies to main.o.
11736 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11738 * FontLoader.C (available): Return false if !lyxrc.use_gui
11740 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11742 * FontInfo.C (query):
11743 * converter.C (view):
11744 * importer.C (Import):
11745 * exporter.C (Export): Can not -> cannot.
11747 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11749 * BufferView_pimpl.C: allow to create index inset even if
11752 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11754 * buffer.C (getLists): replace boost::tie code with an explicit pair
11755 as boost::tie can break some compilers.
11757 * iterators.h: Added a std:: declaration to the return type of
11760 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11762 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11765 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11767 * iterators.[Ch]: New files. Provide paragraph iterators.
11769 * buffer.C (changeLanguage): Use paragraph iterators.
11770 (isMultiLingual): ditto
11772 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11774 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11776 * FontLoader.C: Support for cmr font.
11778 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11780 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11781 (available): New method.
11783 * FontInfo.C (getFontname): Use scalable fonts even when
11784 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11787 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11789 * converter.C (Formats::view): reverted! Incorrect fix.
11791 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11793 * converter.C (Formats::view): only output the -paper option
11794 if the dvi viewer is xdvi, thereby fixing bug #233429.
11796 2001-08-23 Herbert Voss <voss@perce>
11798 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11800 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11802 * Spacing.h (Spacing): Set space to Default on in the default
11805 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * vc-backend.h (RCS::versionString): add RCS to version
11808 (CVS::versionString): add CVS to version
11810 * vc-backend.C (scanMaster): do not add CVS to version.
11811 (scanMaster): do not add RCS to version
11813 * lyxvc.C (versionString): new method
11815 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11817 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11819 * Spacing.C (set): initialize fval
11821 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11823 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11826 2001-08-16 Juergen Vigna <jug@sad.it>
11828 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11830 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11832 * BufferView_pimpl.C:
11835 * text2.C: setParagraph takes linespacing now
11837 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11839 * LyxAction.C: add internal LFUN_CITATION_INSERT
11841 * LyXView.C: actually apply fix
11843 * bufferlist.C: fix open non-existent file
11845 * lyxfind.C: fix indentation
11847 * lyxfunc.C: remove unneeded assert, fix typo
11849 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11851 * MenuBackend.C: use "Floatname List"
11853 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11855 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11856 when converting LaTeX layout to insetERT.
11857 Generate a non-collapsed float when reading old float
11859 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11861 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11864 2001-08-13 Juergen Vigna <jug@sad.it>
11866 * text.C (fill): return 0 instead of 20 as this seems to be the more
11869 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11871 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11874 2001-08-13 Juergen Vigna <jug@sad.it>
11876 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11878 (SearchBackward): comment out the unlocking of the inset_owner this
11879 should not be needed!
11881 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11883 * Many files: Remove inherit_language, and add latex_language
11885 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11886 collapsible insets.
11888 2001-08-10 Juergen Vigna <jug@sad.it>
11890 * text.C (prepareToPrint): fixed hfill-width in draw!
11892 * BufferView2.C (selectLastWord): save the selection cursor as this
11893 now is cleared in the function LyXText::clearSelection!
11895 2001-08-08 Juergen Vigna <jug@sad.it>
11897 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11898 BACKSPACE type functions.
11900 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11901 is only cutted from the document but not put in the cut-buffer, where
11902 still the old stuff should be.
11904 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11906 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11908 * tabular.C (SetWidthOfCell): fixed special case where the width
11910 (LeftLine): handle '|' in align_special.
11912 (LeftAlreadyDrawed): ditto
11913 (SetWidthOfCell): ditto
11915 2001-08-07 Juergen Vigna <jug@sad.it>
11917 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11919 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11921 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11922 * lyxlex.[hC]: ditto
11924 2001-08-06 Juergen Vigna <jug@sad.it>
11926 * text.C (getVisibleRow): fix up row clearing a bit.
11928 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11930 * minibuffer.C: make sure the X server sees the changes in the input.
11932 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * paragraph.C (getFont): split into...
11935 (getLabelFont): this
11936 (getLayoutFont): and this
11937 * paragraph_pimpl.C (realizeFont): calling this
11939 * text2.C (getFont): split into...
11940 (getLayoutFont): this
11941 (getLabelFont): and this
11942 (realizeFont): all three calling this
11944 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11947 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11949 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11951 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11953 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11954 layouts from the Quote inset insertion.
11956 2001-08-03 Juergen Vigna <jug@sad.it>
11958 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11960 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11961 only if status not is already CHANGED_IN_DRAW (second level).
11963 * text.C (draw): don't set the need_break_row when inside an
11966 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11968 * buffer.C (parseSingleLyXformat2Token): handle more latex
11971 * bufferview_funcs.[hC]: change function names to
11972 begin with small char, adjust other files.
11974 2001-08-02 André Pönitz <poenitz@gmx.net>
11977 BufferView_pimpl.C: remove broken special code for math-greek
11979 2001-08-02 Juergen Vigna <jug@sad.it>
11981 * BufferView_pimpl.C (update): redone this function so that we
11982 update the text again if there was a CHANGE_IN_DRAW.
11984 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11985 (drawFromTo): added a new internal bool which is used by draw() and
11987 (general): some cursor drawing problems fixed.
11989 2001-08-01 Juergen Vigna <jug@sad.it>
11991 * lyxfind.C (LyXFind): fixed
11992 (SearchForward): ditto
11993 (SearchBackward): ditto
11995 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11996 spurius drawing of the cursor in the main area.
11998 * text2.C (status): small fix which could lead to a segfault!
11999 (clearSelection): remove unneeded BufferView param.
12001 2001-08-01 André Pönitz <poenitz@gmx.net>
12003 * lyxfunc.C: small change due to changed mathed interface
12005 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12007 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12009 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12011 * lyxfunc.c: fail gracefully if file doesn't exist
12016 * BufferView_pimpl.C: IsDirWriteable() proto changed
12018 * LyXView.C: fix updateWindowTitle() to store the last title
12020 2001-07-31 Juergen Vigna <jug@sad.it>
12022 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12023 the font (wrong since using of Paragraph::highestFontInRange).
12025 * paragraph.C (highestFontInRange): added a default_size parameter.
12027 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12028 (setHeightOfRow): reformat
12030 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12032 * converter.[hC] + affected files: move to (inital-char)lowercase
12035 * ParagraphParameters.C (ParagraphParameters): remove commented code
12037 * PainterBase.[Ch]: remove commented code
12039 * LaTeXFeatures.h: add "bool floats" for float.sty
12041 * LaTeXFeatures.C (LaTeXFeatures): init floats
12042 (require): handle float
12043 (getPackages): do it with floats
12045 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12047 * BufferView_pimpl.C (Dispatch): improve handling of
12048 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12050 * commandtags.h: #include lyxfont.h here temporarily to avoid
12053 * bufferlist.h: include LString.h here.
12055 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * text2.C (getStringToIndex): new method.
12059 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12061 * *: Reduced header file dependencies all over.
12063 2001-07-30 Baruch Even <baruch@lyx.org>
12065 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12067 2001-07-29 Baruch Even <baruch@lyx.org>
12069 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12071 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12073 * ParameterStruct.h (endif): add a default constructor to make
12074 sure that all variables is initialized.
12076 * ParagraphParameters.C (ParagraphParameters): adjust
12078 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12080 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12081 index; also, check that there is something to index, and that it
12082 does not span over several paragraphs.
12083 (doubleClick): use WHOLE_WORD_STRICT for double click.
12085 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12087 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12090 2001-07-26 Baruch Even <baruch@lyx.org>
12092 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12093 an InsetFig figure, backwards compatible reading of old figure code.
12095 2001-07-27 Juergen Vigna <jug@sad.it>
12097 * text2.C: font.realize function adaption.
12099 * text.C (draw): add a warnings lyxerr text if needed.
12101 * layout.C: font.realize function adaption.
12103 * language.C: add inherit_language and implement it's handlings
12105 * bufferview_funcs.C (StyleReset): remove language parameter from
12106 font creation (should be language_inherit now).
12108 * bufferparams.C (writeFile): handle ignore_language.
12110 * paragraph.C (getFontSettings): the language has to be resolved
12111 otherwise we have problems in LyXFont!
12113 * lyxfont.C (lyxWriteChanges): added document_language parameter
12114 (update): removed unneeded language parameter
12116 * paragraph.C (validate): fixed wrong output of color-package when
12117 using interface colors for certain fonts in certain environments,
12118 which should not seen as that on the final output.
12120 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12122 * BufferView_pimpl.C:
12127 * LyXAction.C: add thesaurus support
12130 * lyxfind.C: add "once" parameter, for thesaurus, to not
12131 move to the next match
12133 2001-07-26 Juergen Vigna <jug@sad.it>
12135 * lyxfont.C (realize): honor ignore_language too!
12138 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12140 * text.C (draw): one place more for ignore_language to not draw
12143 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12145 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12147 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12149 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12150 the minipage conversion problem.
12152 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12154 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12157 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * BufferView.h: don't forward declare WorkArea
12161 * BufferView.C: don't include WorkArea.h
12163 2001-07-25 André Pönitz <poenitz@gmx.net>
12167 * lyxfunc.C: new LFUN 'math-space'
12169 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12171 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * text2.C (toggleInset): call open/close
12175 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * lyxfunc.C (dispatch): add debug for the disabled case
12179 * font.C (buttonText): make similar to rectText
12181 * buffer.C (readInset): comment out parsing of insetlist and
12184 * PainterBase.C (rectText): small correction
12186 * BufferView_pimpl.C: comment out insettheorem and insetlist
12187 * LyXAction.C: ditto
12188 * commandtags.h: ditto
12190 2001-07-24 Juergen Vigna <jug@sad.it>
12192 * text.C (draw): honor the ignore_language.
12194 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12196 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12198 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12201 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12203 * lyxtext.h: remove unused (and unimplemented) methods
12205 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12207 * text.C (getVisibleRow): honor background color
12210 * Painter.h: remove default color argument for fillRectangle
12212 * text.C (backgroundColor): new method
12214 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * text.C (getVisibleRow): adjust
12218 * font.[Ch] (rectText): new method, metrics
12219 (buttonText): new method, metrics
12221 * PainterBase.[hC]: make rectText and buttonText always draw and take
12224 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12226 * ToolbarDefaults.C (read):
12227 * MenuBackend.C (read): allow escaping in all strings
12229 * BufferView_pimpl.C (insertAndEditInset): new method.
12230 (Dispatch): use insertAndEditInset whenever appropriate.
12232 * BufferView_pimpl.C (insertNote): removed
12234 * BufferView_pimpl.C (smartQuote): new method, moved from
12235 BufferView; if an insetquote cannot be inserted, insert a '"'
12238 * BufferView2.C: remove insertCorrectQuote();
12240 * lyxfunc.C (getStatus): Add support for all remaingin
12241 inset-insert lfuns.
12243 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12245 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12246 command (necessary to pass " as parameter of self-insert.
12248 * text.C (selectWordWhenUnderCursor):
12249 (selectWord): add word_location parameter
12250 (selectWordWhenUnderCursor): same + remove special code for word
12252 (selectNextWord): use kind() to guess type of insetspecialchar,
12255 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12256 (insertErtContents): create ert insets as collapsed.
12257 (readInset): better compatibility code for Info inset.
12259 2001-07-20 Juergen Vigna <jug@sad.it>
12261 * lyxfunc.C (dispatch): use always LyXFind now!
12263 * text2.C (init): add a reinit flag so that the LyXText can be
12264 reinited instead of deleted and reallocated (used in InsetText).
12266 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12272 2001-07-18 Juergen Vigna <jug@sad.it>
12274 * text.C (selectNextWord): handle insets inside inset by calling
12275 always the bv->text functions so that we can go up the_locking_inset!
12277 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12278 in strange locations when inside an inset!
12280 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12281 handling to include insets.
12283 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12285 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * LyXAction.C (init):
12289 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12290 LIGATURE_BREAK, since the name is so stupid.
12292 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12294 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12297 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12299 * sp_form.[Ch]: remove.
12301 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12303 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12306 * src/buffer.C (readInset): ditto.
12308 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12310 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12311 menuSeparator(), endOfSentenceDot(), ldots() and
12312 hyphenationPoint(), which are therefore removed.
12313 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12315 * LyXAction.C (init):
12316 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12318 * paragraph.C (getWord): removed.
12320 * BufferView_pimpl.C (Dispatch): use last word or selection for
12321 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12323 * lyx_main.C (queryUserLyXDir): do not ask before creating
12324 user_dir, except if it has been named explicitely.
12326 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12328 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12329 a document of zero size.
12331 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12333 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12334 approriately in the c-tor and in require().
12335 (getPackages): output the appropriate LaTeX for natbib support.
12337 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12338 variables "use_natbib" and "use_numerical_citations" when reading the
12340 (readInset): read the various natbib cite commands.
12341 (validate): white-space change.
12343 * bufferparams.[Ch]: new variables "bool use_natbib" and
12344 "bool use_numerical_citations".
12345 (writeFile): output them in the LyX file.
12347 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12349 * lyxfunc.C (getStatus): add support for all the inset insertion
12352 * text2.C (insertInset):
12353 * paragraph.C (insetAllowed):
12354 * BufferView_pimpl.C (insertInset): update to take in account the
12355 renaming of insertInsetAllowed
12357 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12359 * text2.C (getInset): new method. returns inset at cursor position.
12361 * BufferView_pimpl.C (Dispatch): changes because of this.
12363 * LyXAction.C (init): rename open-stuff to inset-toggle.
12365 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12367 * text2.C (toggleInset): renamed from openStuff; use
12370 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12372 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12374 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12376 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12378 * buffer.C (readLyXformat2): Add filename to the error dialog
12380 2001-07-18 Juergen Vigna <jug@sad.it>
12382 * tabular.C (GetCellNumber): put an assert here instead of the check!
12384 2001-07-17 Juergen Vigna <jug@sad.it>
12386 * BufferView_pimpl.C (toggleSelection): adapted too.
12388 * text.C (selectNextWord): adapted for use with insets.
12389 (selectSelectedWord): ditto
12391 2001-07-17 Juergen Vigna <jug@sad.it>
12393 * sp_spell.C (PSpell): fix initialitation order.
12395 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * paragraph.C: spacing
12399 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12401 * sp_spell.C: repair language selection for pspell
12403 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * lyxfunc.h: change more methods to begin with lower char.
12407 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12409 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12410 for unknown layouts.
12412 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12414 * buffer.C (readLyXformat2): Generate an error dialog if there are
12417 2001-07-16 Juergen Vigna <jug@sad.it>
12419 * sp_spell.C: always compile ISpell part.
12421 * lyxrc.C: added use_pspell entry and it's handling.
12423 2001-07-13 Juergen Vigna <jug@sad.it>
12425 * sp_spell.C: removed double includes.
12427 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12429 Consistent use of Lsstream.h:
12430 * Lsstream.h: added using std::stringstream for consistencies sake.
12432 * buffer.C: removed using std::stringstream
12434 * lyxfont.C (stateText):
12435 * paragraph.C (asString):
12436 * text.C (selectNextWord, selectSelectedWord):
12437 * text2.C (setCounter):
12438 * vspace.C (asString, asLatexString):
12439 std::ostringstream -> ostringstream.
12441 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12443 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12444 * commandtags.h: add LFUN_HELP_ABOUTLYX
12445 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12447 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12449 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12451 * lyx_gui_misc.C: remove spellchecker
12452 * lyxfunc.C: showSpellchecker
12454 * sp_ispell.h: added
12455 * sp_pspell.h: added
12456 * sp_spell.C: added
12457 * sp_form.[Ch]: removed
12458 * spellchecker.[Ch]: removed
12460 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12462 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12464 (simpleTeXSpecialChars): Simply print the input character without
12465 any special translation if pass_thru is set.
12467 * layout.h: Added bool pass_thru to layout class for being able to
12468 implement pass through of a paragraph for Literate Programming.
12470 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12471 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12472 * layout.C (Read): add "passthru" to list of layout tags and add
12473 code to set the pass_thru boolean when it is read.
12475 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * trans_decl.h: remove allowed from KmodInfo
12479 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12480 remove allowed code
12483 * paragraph_pimpl.C (erase): use boost::prior
12485 * Painter.C (text): use data() instead of c_str() when length is
12487 * WorkArea.C (putClipboard): ditto
12488 * font.h (width): ditto
12490 * BufferView2.C: use it-> instead of (*it). for iterators
12492 * paragraph_pimpl.C: ditto
12493 * paragraph.C: ditto
12494 * minibuffer.C: ditto
12495 * language.C: ditto
12497 * encoding.C: ditto
12498 * counters.C: ditto
12499 * converter.C: ditto
12501 * Variables.C: ditto
12502 * TextCache.C: ditto
12503 * MenuBackend.C: ditto
12504 * LyXAction.C: ditto
12506 * FloatList.C: ditto
12507 * DepTable.C: ditto
12508 * ColorHandler.C (LyXColorHandler): ditto
12510 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12512 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12514 * text2.C (openStuff): reintroduce this method (which had been
12515 nuked in NEW_INSETS frenzy).
12517 * lyxfunc.C (Dispatch): when an action has not been handled, use
12518 its name in the error message, not its number.
12520 * paragraph.C (inInset): change method name to begin with lowercase.
12523 * text2.C: updates because of this.
12525 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * ToolbarDefaults.C (add): add spaces in error message
12529 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12532 (readLyXformat2): rename return_par to first_par, use lyxlex's
12533 pushToken and remove the manual push handling.
12534 (parseSingleLyXformat2Token): add another ert comp. variable:
12535 in_tabular, rename return_par to first_par. handle newlines better
12537 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12539 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12541 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12543 * text2.C (getParFromID): removed
12545 * buffer.C (getParFromID): new method moved form lyxtext.
12546 * BufferView2.C (insertErrors): adjust
12547 (setCursorFromRow): adjust
12548 * BufferView_pimpl.C (restorePosition): adjust
12549 * lyxfunc.C (Dispatch): adjust
12550 * undo_funcs.C (textUndo): adjust
12552 (textHandleUndo): adjust
12553 (textHandleUndo): adjust
12555 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12557 * buffer.C: up' the LYX_FORMAT
12559 * lyxfont.h: turn NO_LATEX on as default
12561 * buffer.C (insertErtContents): new methods of tex style compability.
12562 (parseSingleLyXformat2Token): use it several places.
12563 * tabular.C (OldFormatRead): and here
12565 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * text2.C: remove some commented code.
12570 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12571 * trans.C: changes because of the above.
12573 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12575 * text2.C (setCounter): Fix counters bug with bibliography layout.
12577 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12580 own member functions
12581 (simpleTeXSpecialChars): ditto
12583 2001-07-06 Juergen Vigna <jug@sad.it>
12585 * a lot of files: changed the access to LyXText::status and the
12586 call of undo-functions.
12588 * undo.[Ch]: added a inset_id to the undo informations.
12590 * undo_funcs.[Ch]: added and moved here all undo functions.
12592 * lyxtext.h: give the status enum a weight, made status_ a private
12593 variable and made accessor functions for it, removed the whole bunch
12594 of undo-functions as they are now in their own file, make some
12595 functions publically available. Added function ownerParagraph with
12598 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12599 made InInset() a const function, added getParFromID() function.
12601 * buffer.[Ch]: added const version for inset_iterator functions,
12602 added getInsetFromID() function.
12604 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12605 changed undo functions for new version.
12607 2001-07-05 Juergen Vigna <jug@sad.it>
12609 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12610 unknow mechanism does not call the proper constructor but only this
12611 one also if I request the other!?
12613 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12617 * text2.C (LyXText): use initialization lists.
12619 * lyxtext.h (Selection): initialize set_ and mark_
12620 (init): remove method
12622 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12624 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12626 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * screen.[Ch]: change method names to begin with lowercase
12630 * BufferView_pimpl.C (updateScrollbar): simplify further and
12631 hopefully make it a bit faster.
12633 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12635 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12636 calling directly xforms functions.
12638 * Painter.C (Painter):
12639 * lyx_cb.C (MenuWrite):
12640 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12643 * lyx_gui.C: remove bogus guiruntime extern declaration.
12645 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12649 (redoDrawingOfParagraph): ditto
12650 (redoParagraphs): ditto
12651 (cutSelection): don't create a object for CutAndPaste use the
12652 static method directly
12653 (pasteSelection): ditto
12655 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12658 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12660 * modifications to some other files because of this.
12662 * Makefile.am (lyx_SOURCES): add XFormsView
12664 * XFormsView.[Ch]: new files
12666 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12667 the main window. Move the gui dependent stuff to XFormsView
12669 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12671 * tabular.C (GetCellInset): update cur_cell also in the row/col
12672 version of this function.
12674 * lyxfunc.C: no need to include figure_form.h here.
12680 * lyxvc.C: no need to include forms.h here.
12682 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12684 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12686 * lyxfunc.C (Dispatch):
12688 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12689 constructor argument.
12691 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * paragraph.C (Paragraph): dont't clear, and just set layout.
12694 (makeSameLayout): use params's copy contructor.
12696 * ParagraphParameters.[Ch] (makeSame): delete method
12698 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12700 * Variables.[Ch]: fix indentation, rename set to isSet
12702 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12704 * lyxfunc.C (Dispatch): fix typo
12706 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12711 * bufferlist.C: include assert.h for emergencyWrite().
12713 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12715 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12716 give up at last (bug #425202) !
12718 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12724 * spellchecker.C: strip spellchecker options and bring up
12725 preferences tab instead
12727 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12730 the istringstream constructor
12732 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12734 * paragraph.C (getLayout): fix return value
12736 * paragraph.h: do not declare getLayout as inline.
12738 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12740 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12742 * lyxcursor.h (operator<): new func
12743 (operator>): new func
12744 (operator>=): new func
12745 (operator<=): new func
12747 * text.C (changeCase): use selection.start and selection.end
12748 (changeRegionCase): require from to be <= to. Require par to be a
12751 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12753 2001-06-27 Juergen Vigna <jug@sad.it>
12755 * text.C (cursorLeftOneWord): changed to return the cursor and added
12756 overlay with BufferView * parameter which calls this one.
12758 (selectWord): use new getWord function.
12759 (changeCase): renamed from changeWordCase as and extended to work
12760 also on selections.
12762 * lyxtext.h: added enum word_location
12764 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12765 changeCase as this operates now also on selections.
12767 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12769 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12771 * many files: send debug output to Debug::INFO instead of
12774 * converter.C (View):
12776 (Move): send debug output to Debug::FILES instead of console.
12778 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12780 * lyxfunc.C (getStatus): use func_status
12782 * func_status.h: new header, describing the results of
12783 LyXFunc::getStatus;
12785 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12788 2001-06-25 The LyX Project <jug@sad.it>
12790 * buffer.C (sgmlOpenTag):
12792 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12794 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * text2.C: remove some dead code
12798 * tabular.C (GetCellInset): store the last cell checked (gotten)
12800 * tabular.h: add the helper for the speedup
12802 * lyxtext.h: remove some dead code
12804 2001-06-26 The LyX Project <Asger>
12806 * paragraph.C: Change export to LaTeX of alignment to
12807 \begin{center} and family for better roundtrip work with reLyX.
12809 * Tune the math drawing a bit.
12811 2001-06-25 The LyX Project <Asger>
12813 * LColor.C (LColor): New color for math background. New color
12816 2001-06-25 The LyX Project <jug@sad.it>
12818 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12820 * lyxfunc.C (Open):
12821 * bufferlist.C (newFile): do not restrict to files ending with
12824 * BufferView_pimpl.C (MenuInsertLyXFile):
12826 2001-06-24 The LyX Project <jug@sad.it>
12828 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12831 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * lyxtext.h: rename most methods to begin with a small char.
12834 Lots of changes because of this.
12836 * paragraph.C (Paragraph): do not call fitToSize
12837 (erase): call Pimpl::erase
12838 (insertChar): call Pimpl::insertChar
12839 (insertInset): call Pipl::insertInset
12840 (breakParagraph): do not call fitToSize
12841 (breakParagraphConservative): do not call fitToSize
12842 (fitToSize): remove method
12844 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12846 2001-06-24 The LyX Project <Asger>
12848 * Fix Qt compilation^2
12850 2001-06-24 The LyX Project <jug@sad.it>
12852 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12853 depthHook(getDepth()-1).
12856 * ParagraphParameters.h:
12857 * ParameterStruct.h: change type of depth to unsigned int ==
12858 depth_type. Many adaptations to other files before of that.
12860 2001-06-24 The LyX Project <Asger>
12862 * Fix Qt compilation.
12864 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * paragraph.h: renamed several methods to begin with small letter.
12867 several changes to many parts of the code because of this.
12869 2001-06-23 The LyX Project <jug@sad.it>
12871 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12872 rewritten to discard all double spaces when KeepEmpty is off
12873 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12874 to only handle newlines but not fiddle with spaces and friends.
12876 * lyxfunc.C (MenuNew): when doing 'new from template', use
12877 template_path as default directory
12879 2001-06-23 The LyX Project <Asger>
12881 * Clean-up of header file includes all over
12882 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12884 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * paragraph.h: renamed from lyxparagraph.h
12888 2001-06-23 Asger <lyx@violet.home.sad.it>
12890 * Buffer.h: Removed Buffer::resize
12891 * BufferList.h: Removed BufferList::resize
12892 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12893 the document lazily when we change the width, or the font settings.
12895 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12897 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12899 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12901 * buffer.h: remove out of date comment
12903 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12906 * screen.C: fix "theoretical" GC leak
12908 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * LaTeX.C (scanAuxFile):
12911 (deplog): remove trailing \r when reading stream (useful under
12914 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12916 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12917 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12918 and BufferView::theLockingInset(Inset*), so should use them and not
12919 access bv_->text->the_locking_inset directly.
12921 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12923 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12926 * tex-defs.h: remove old unused file
12928 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12930 * BufferView_pimpl.C: fix typo, remove minibuffer message
12931 when buffer has loaded
12933 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * lyxfunc.C (Dispatch): use stringstream
12936 (MenuNew): use stringstream
12937 (Open): use stringstream
12939 * importer.C (Import): use stringstream
12941 * bufferview_funcs.C (CurrentState): use stringstream
12943 * LaTeX.C (run): use stringstream
12945 * BufferView_pimpl.C (savePosition): use stringstream
12946 (restorePosition): use stringstream
12947 (MenuInsertLyXFile): use stringstream
12949 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12962 * vspace.C: removed // -*- C++ -*- as first line.
12965 * version.h: added // -*- C++ -*- as first line.
12967 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12971 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12974 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12976 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12979 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12981 * gettext.C: include LString.h even when --disable-nls is on.
12983 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12985 * converter.h (Get): changed argument type from int to
12986 FormatList::size_type to avoid unnecessary conversion.
12988 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12991 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12993 * gettext.h: include LString.h even when --disable-nls is on.
12995 2001-06-07 Juergen Vigna <jug@sad.it>
12997 * text.C (BreakAgain): subst spaces with tabs.
12999 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13000 (resizeInsetsLyXText): set force on resizeLyXText.
13002 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13004 * gettext.h (gettext_init):
13005 (locale_init): use a real definition instead of a macro
13007 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13009 * Bufferview_pimpl.C:
13011 * LColor.C: further lcolor tidies
13013 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * BufferView_pimpl.C (updateScrollbar): simplify.
13017 * BufferView2.C: don't include insets/insetinfo.h, change
13018 prototype for insertInset and call the Pimpl version. let
13019 updateInset call Pimpl version.
13021 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13022 gotoInset to BufferView::Pimpl
13024 2001-06-01 Juergen Vigna <jug@sad.it>
13026 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13027 inside a LockingInset (is the update needed at all?).
13029 2001-05-31 Juergen Vigna <jug@sad.it>
13031 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13032 here not the old one otherwise how should we compare it afterwards
13035 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13040 * FontInfo.C: bring C functions into global namespace when
13043 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13045 * LString.h: make sure config.h has been loaded before LString.h.
13047 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13048 (one for each char read by EatLine!).
13050 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13053 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13055 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13056 to the same as the par we break from
13058 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13060 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13062 * MenuBackend.C (expand): also create menu entries for wide
13063 versions of the floats.
13065 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13067 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13069 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13070 frontends/Makefile.am
13076 * tabular.C (getTokenValue): add std::
13078 * tabular-old.C (getTokenValue): add std::
13079 (getTokenValue): ditto
13080 (getTokenValue): ditto
13082 * screen.C (ToggleSelection): adjust
13084 * lyxtext.h: put selection cursors inside a Selection struct.
13086 * lyxfunc.C (moveCursorUpdate): adjust
13088 * lyxfont.C (latexWriteStartChanges): add std::
13090 * lyxfind.C: adjust
13092 * font.h: delete with(char const *, LyXFont const &)
13094 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13096 * FontInfo.C (getFontname): add std::
13098 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13099 (workAreaButtonPress): adjust
13100 (tripleClick): adjust
13102 (moveCursorUpdate): adjust
13105 * BufferView2.C (gotoInset): adjust
13107 2001-05-30 Juergen Vigna <jug@sad.it>
13109 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13110 to check pspell I add this as default as I now have new pspell
13111 libraries and they seem to use this.
13113 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * text2.C (CutSelection): make the cursor valid before the call to
13118 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13120 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13121 relied on 0 terminated strings and other horrors. Bug found due to
13122 the new assert in lyxstring!
13124 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13127 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13129 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13132 * lyxfunc.C (processKeySym): change method of getting to the
13135 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13136 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13137 * BufferView_pimpl.[Ch]: here as private methods.
13139 2001-05-28 Juergen Vigna <jug@sad.it>
13141 * text.C (SetHeightOfRow): added the update() call again as it is
13142 needed to initialize inset dimensions!
13144 2001-05-16 Juergen Vigna <jug@sad.it>
13146 * text2.C (SetCharFont): Add new function with BufferView * and
13147 bool toggleall parameters for setting insets internal fonts.
13148 (SetFont): Freeze the undo as we may change fonts in Insets and
13149 all this change should be inside only one Undo!
13151 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13152 setting font's in insets as for them we have the SetFont function!
13154 2001-05-15 Juergen Vigna <jug@sad.it>
13156 * text2.C (ClearSelection): to be sure we REALLY don't have any
13159 * tabular.C (TeXCellPreamble): fixed the left border problem for
13162 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13164 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13167 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13169 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13170 LFUN_BREAKPARAGRAPH.
13172 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13173 help test to "internal only", similar for LFUN_INSERT_URL
13175 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13176 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13177 auto_region_delete and deadkeys.
13179 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13182 * LColor.C: remove some dead entries, tidy a little
13184 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13186 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13188 (Dispatch): implement LFUN_ESCAPE
13190 * commandtags.h: add LFUN_ESCAPE
13192 * LyXAction.C (init): add entry for LFUN_ESCAPE
13194 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13195 Remove commented code.
13196 (insertNote): moved here
13197 (open_new_inset): moved here
13199 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13202 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13204 * kbmap.C (findbinding): clean it up and make it work correctly.
13206 * lyx_main.C (init): do not pass argc and argv as parameters
13208 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13210 * buffer.C: fix path for OS/2 & Win32
13214 * lyx_main.C: Added os:: class.
13216 * os2_defines.h: update
13218 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13220 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13221 better by trying again with reduced state.
13223 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13225 * lyxrc.C (read): print error about invalid key sequence only when
13226 debugging (because not all latinX keysyms are known to some X
13229 * kbsequence.C (getiso): add a few std:: qualifiers
13230 (getiso): comment out extra return statement.
13232 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13236 (Dispatch): enhance the accent inset a bit. (not perfect)
13238 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13242 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13244 * bufferlist.C (emergencyWrite): fix assert() call
13246 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13248 * text.C (InsertChar): Added trivial patch to only send the "you
13249 can not do multiple spaces this way" message once during a
13252 2001-05-08 Baruch Even <baruch@lyx.org>
13254 * Makefile.am: Changed order of libraries to get LyX to link properly
13255 with the gnome frontend.
13257 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13259 * LaTeXFeatures.h: add a std:: qualifier
13261 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13263 * paragraph.C (String): use stringstream
13265 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13267 * paragraph.C (writeFile): remove footflag arg
13269 * buffer.C (makeLaTeXFile): use stringstream
13270 (latexParagraphs): remove footnot gurba
13272 * LaTeXFeatures.C (getPackages): use stringstream
13273 (getMacros): likewise
13274 (getTClassPreamble): likewise
13275 (getFloatDefinitions): new method
13277 * paragraph.C (writeFile): reindent
13280 * WorkArea.h: revert the xpos + etc changes.
13282 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13284 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13286 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13287 (pasteSelection): likewise
13288 * text2.C (CreateUndo): likewise
13290 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * minibuffer.C (peek_event): temporarily reduce the functionality
13293 of the minibuffer (to allow args on lfuns)
13295 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13296 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13298 * buffer.C (readInset): add compability reading of old float
13299 lists, add reading of new style float list.
13300 (readInset): avoid reevaluation of inscmd.getCmdName()
13301 (getLists): reindent
13303 * MenuBackend.C (MenuItem): implement parsing of
13304 md_floatlistinsert and md_floatinsert.
13305 (expand::LastFiles): move initalizaton of iterators out of loop,
13306 avoid reevaluation.
13307 (expand::Documents): introduce typdedef vector<string> Strings,
13309 (expand::ExportFormats): introduce typedef vector<Format const *>
13310 Formats, and use it.
13311 (expand): implement FloatListInsert and FloatInsert.
13313 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13314 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13315 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13317 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13319 (Dispatch::LFUN_FLOAT_LIST): implement
13321 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13323 * LaTeX.C (run): Fix problem with --export code.
13325 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13327 * BufferView.[Ch] (workarea): removed.
13328 (getClipboard) new method; wrapper for workarea()->getClipboard()
13330 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13333 * WorkArea.h (width, height, xpos, ypos): These methods all
13334 returned the dimensions of the work_area sub-area of WorkArea,
13335 resulting in a position error if the WorkArea were resized. Now
13336 return the dimensions of the entire WorkArea.
13338 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13340 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13342 * LaTeX.C (deplog): correct the syntax of regex reg1
13344 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13346 * undo.C: remove !NEW_INSETS cruft
13348 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * text2.C: remove !NEW_INSETS cruft
13352 * text.C: remove !NEW_INSETS cruft
13354 * tabular.C: remove !NEW_INSETS cruft
13356 * spellchecker.C: remove !NEW_INSETS cruft
13358 * lyxtext.h: remove !NEW_INSETS cruft
13360 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13362 * lyxfunc.C: remove !NEW_INSETS cruft
13364 * lyxfind.C: remove !NEW_INSETS cruft
13366 * lyx_cb.C: remove !NEW_INSETS cruft
13368 * figureForm.C: remove !NEW_INSETS cruft
13370 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13372 * buffer.[Ch]: remove !NEW_INSETS cruft
13374 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13376 * CutAndPaste.C: remove !NEW_INSETS cruft
13378 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13380 * BufferView2.C: remove !NEW_INSETS cruft
13382 * BufferView.h: remove !NEW_INSETS cruft
13384 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * Lsstream.h: include LString.h before the sstream headers to
13387 fix problem with gcc 2.95.3 and lyxstring
13389 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * lyx_main.C: add using directives when needed for C functions
13392 declared in std:: namespace.
13394 2001-04-27 Juergen Vigna <jug@sad.it>
13396 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13397 (SetHeightOfRow): comment out the update call should not be needed!
13399 2001-04-13 Juergen Vigna <jug@sad.it>
13401 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13402 (LyXTabular): tried to minimize operator= operations (and realized
13403 hopfully Lars wish).
13405 2001-04-27 Juergen Vigna <jug@sad.it>
13407 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13409 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13411 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13413 * buffer.C (readInset): hack to make listof algorithm work
13415 * BufferView_pimpl.C: hack to make listof algorithm work
13417 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13419 * LyXAction.C: removed all !NEW_INSETS cruft
13420 (init): moved lfun_item in method
13422 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13424 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13426 * BufferView2.C (theLockingInset): white space.
13428 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * minibuffer.C: include <iostream>
13432 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13434 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13436 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13438 * text.[Ch] (TransposeChars): new method
13440 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13442 * call message directly through LyXView instead of through LyXFunc
13443 * BufferView2.C: adjust
13444 * BufferView_pimpl.C: adjust
13445 * FontLoader.C: adjust
13447 * bufferview_funcs.C: adjust
13448 * converter.C: adjust
13449 * figureForm.C: adjust
13450 * importer.C: adjust
13452 * lyx_gui_misc.C: adjust
13453 * lyxfunc.C: adjust
13456 + more files in subdirs
13458 * lyxparagraph.h (size): move up int file
13461 * adjust all uses of Assert to lyx::Assert.
13463 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13464 lyxfunctional in namespace lyx
13465 * layout.C (hasLayout): ditto
13468 (delete_layout): ditto
13469 (NumberOfClass): ditto
13470 * converter.C (GetFormat): ditto
13475 * bufferlist.C (getFileNames): ditto
13476 (emergencyWriteAll): ditto
13479 * MenuBackend.C (hasSubmenu): ditto
13482 * BufferView_pimpl.C (getInsetByCode): ditto
13484 2001-04-18 Juergen Vigna <jug@sad.it>
13486 * vspace.C (asLatexString): fixed the 100% problem.
13488 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13490 * lyxfunc.C (Dispatch):
13492 * minibuffer.h: add a few std:: qualifiers
13494 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13496 * minibuffer.[Ch]: reimplement so that commands is initiated and
13497 run from lyxfunc, simplified som handling, and made the completion
13498 and history code for complete. wip.
13500 * lyxfunc.C (processKeySym): call message
13501 (miniDispatch): new temporary method
13502 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13503 (LFUN_MESSAGE): implement
13504 (LFUN_MESSAGE_PUSH): implement
13505 (LFUN_MESSAGE_POP): implement
13506 (initMiniBuffer): the initial/defualt minibuffer message.
13508 * lyxfont.[Ch]: inline some more getters
13510 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13512 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13514 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13515 (AutoSave): use LFUN_MESSAGE
13516 (Reconfigure): ditto
13518 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13520 * figureForm.C: use LFUN_MESSAGE
13522 * converter.C (runLaTeX): use LFUN_MESSAGE
13524 * bufferview_funcs.C: use LFUN_MESSAGE
13526 (changeDepth): ditto
13528 * bufferparams.h: use boost::
13530 * bufferlist.h: inherit privately from noncopyable
13532 * bufferlist.C (loadLyXFile): remove some commented code.
13534 * buffer.C (runChktex): use LFUN_MESSAGE
13536 * ShareContainer.h: inherit privately from noncopyable
13538 * ParagraphParameters.[hC] (depth): inline it.
13540 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13542 (message): new method
13543 (messagePush): ditto
13544 (messagePop): ditto
13545 (show): init minibuffer
13546 (showState): direct call
13548 * LaTeX.[Ch]: inherit privately from noncopyable
13549 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13550 instead of WriteStatus.
13552 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13554 * BufferView_pimpl.C (buffer): don't init minibuffer
13555 (workAreaButtonPress): use LFUN_MESSAGE
13556 (workAreaButtonRelease): ditto
13557 (savePosition): ditto
13558 (restorePosition): ditto
13559 (MenuInsertLyXFile): ditto
13560 (workAreaExpose): don't init minibuffer
13561 (update): remove commented code, simplify
13563 * BufferView2.C (openStuff): use LFUN_MESSAGE
13564 (toggleFloat): ditto
13567 (copyEnvironment): ditto
13568 (pasteEnvironment): ditto
13573 (updateInset): remove some commented code
13575 * lastfiles.h: inherit privately from noncopyable
13578 * lyx_main.h: ditto
13580 * lyxlex_pimpl.h: ditto
13582 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13583 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13584 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13586 * LyXAction.h: inherit privately from noncopyable, add methods
13587 func_begin, func_end, returning iterators to the func map.
13589 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13590 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13591 (func_begin): new method
13592 (func_end): new method
13594 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13596 (copySelection): ditto
13597 (pasteSelection): ditto
13599 * BufferView.C: whitespace change
13600 * BufferView.h: inherit privately from noncopyable
13602 2001-04-16 Allan Rae <rae@lyx.org>
13604 * tabular-old.C (l_getline):
13605 * spellchecker.C (sc_check_word):
13606 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13607 an unrecognised preprocessor directive. So ensure they're wrapped.
13609 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13611 * src/exporter.C (Export): Give an error message when path to file
13614 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13616 * LaTeX.C (deplog): Always check that foundfile exists.
13618 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13621 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13623 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * tabular.[Ch] (getLabelList): implement new method
13627 * minibuffer.h: comment ouf setTiimer
13629 * minibuffer.C (ExecutingCB): constify res
13630 (peek_event): constify s
13631 (Set): constify ntext
13632 (Init): constify nicename
13634 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13636 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13637 (savePosition): use two params to Minibuffer::Set
13638 (restorePosition): ditto
13640 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13642 * lyx_main.C: include language.h
13644 * Makefile.am (lyx_main.o): add language.h
13646 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13652 * CutAndPaste.C: include gettext.h
13654 * lyxfont.h: remove old hack with ON and OFF.
13657 * lyxfont.h: do not include language.h...
13662 * bufferview_funcs.C:
13668 * paragraph.C: ... but do it here instead
13670 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13674 * tabular.C: small reformat
13676 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13679 (BreakParagraph): ditto
13680 (SetOnlyLayout): ditto
13683 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13686 * lastfiles.C: removed most using decl, add std:: where needed
13688 * buffer.C: ws changes
13690 * MenuBackend.C (class compare_format): put into anon namespace
13691 (expand): constify label, names, action, action2
13694 * text.C (SingleWidth): constify font
13695 (IsBoundary): constify rtl2
13696 (GetVisibleRow): constify ww
13698 * LaTeX.C (deplog): constify logfile
13700 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13702 (workAreaExpose): constify widthChange, heightChange
13704 * lyxrow.C (par): moved
13707 * lyxrow.h: as inlines here
13709 * lyxfont.h (shape): moved from lyxfont.C
13710 (emph): moved from lyxfont.C
13712 * lyxfont.C (LyXFont): use initialization list for all
13714 (shape): move to lyxfont.h as inline
13715 (emph): move to lyxfont.h as inline
13718 2001-04-04 Juergen Vigna <jug@sad.it>
13720 * vspace.C: had to include stdio.h for use of sscanf
13722 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13725 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13726 independent of xforms.
13728 2001-04-02 Juergen Vigna <jug@sad.it>
13730 * spellchecker.C: fixed namespace placing!
13732 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13734 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13735 the LyXParagraph * is 0.
13737 2001-03-29 Juergen Vigna <jug@sad.it>
13739 * vspace.C: added support for %, c%, p%, l%.
13740 (stringFromUnit): added helper function.
13741 (asLatexString): changed to give right results for the %-values.
13743 * buffer.C: convert the widthp in a width%.
13745 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13747 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13750 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13751 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13753 * lyx_cb.[Ch]: see above.
13755 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13759 * lyx.[Ch]: replaced by figure_form.[Ch].
13763 * lyxfunc.C: changed headers associated with above changes.
13765 2001-03-27 Juergen Vigna <jug@sad.it>
13767 * BufferView_pimpl.C: set the temporary cursor right!
13769 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13771 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13773 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13775 * LString.h: removed "using std::getline"!
13777 * BufferView_pimpl.C (Dispatch): changes due to changes in
13778 InsetInclude::Params.
13780 * buffer.C (tag_name): removed redundant break statements as they were
13781 producing lots of warnings with my compiler.
13783 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * LString.h: add "using std::getline" when using the real <string>.
13787 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13789 * buffer.C: removed bitset usage.
13790 PAR_TAG moved to an anonymous name space.
13791 (tag_name): new funtion, also in the anonymous namespace.
13792 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13793 (makeDocBookFile): clean code. Completed transition from string arrays
13795 (SimpleDocBookOnePar): code clean.
13797 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13799 * tabular.C: add some comments.
13801 2001-03-22 Juergen Vigna <jug@sad.it>
13803 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13804 compatibility read a bit and fixed bug with minipage in different
13807 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13809 * buffer.C (pop_tag): removed.
13810 (push_tag): removed.
13811 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13812 array replaced with vector. Added support for CDATA sections.
13813 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13815 (makeDocBookFile): XML conformant declaration of CDATA section,
13816 fixed bug related to <emphasis> in the first paragraph char.
13817 (sgmlOpenTag): exclude empty tags.
13818 (sgmlCloseTag): ditto.
13820 * buffer.h (pop_tag): removed.
13821 (push_tag): removed.
13823 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13825 * language.h (Languages): added size_type and size().
13827 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13829 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13830 response on compability reading of minipages. One probliem is that
13831 the old usage of minipages was «flertydig»
13833 * several files here and in subdirs: don't use static at file
13834 scope use anon namespaces instead.
13836 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13838 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13839 LaTeX output. This is necessary for Literate document
13842 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13844 * buffer.C: insert hfill when needed.
13846 * tabular.C (l_getline): use string::erase, small whitespace change.
13848 * BufferView_pimpl.C: try the anon namespace.
13849 * WorkArea.C: ditto
13851 2001-03-16 Juergen Vigna <jug@sad.it>
13853 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13854 otherwise it won't open options-dialogs.
13856 * buffer.C: honor pextraWidth(p) on converting minipages.
13858 * tabular.C (l_getline): changed the functions to strip trailing \r.
13860 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13862 * BufferView_pimpl.C:
13863 * minibuffer..C: added "using SigC::slot" declaration.
13865 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13867 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13873 * paragraph.C: ditto
13875 * lyxtext.h: NO_PEXTRA
13877 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13879 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13880 * ParameterStruct.h: ditto
13881 * ParagraphParameters.h: ditto
13882 * lyxparagraph.h: ditto
13884 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13886 * buffer.C: add compability for minipage alignment.
13887 (latexParagraphs): remove unwanted pextra check.
13889 * several files: remove CXX_WORKING_NAMESPACES
13891 * buffer.C (pop_tag): tie is in namespace boost
13893 * BufferView.h: noncopyable is in namespace boost
13895 * lyx_main.h: ditto
13898 * lastfiles.h: ditto
13899 * bufferlist.h: ditto
13900 * ShareContainer.h: ditto
13902 * LyXAction.h: ditto
13905 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13907 * Merging changes from BRANCH_MVC back into HEAD.
13909 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13911 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13913 * BufferView_pimpl.C: change from intl.C
13917 * Makefile.am: move combox.*
13923 * intl.C: remove dialog (covered by prefs)
13925 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13927 * lyxfunc.C (Dispatch): removed redundant break statement.
13929 2001-03-14 Juergen Vigna <jug@sad.it>
13931 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13933 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13935 * buffer.C: add hack to fix compability reading of minipages.
13937 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13939 * buffer.C (getLists): Cleanup.
13941 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13943 * lyxfont.C (update): don't honor toggleall on font size.
13945 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13949 * Makefile.am: moved to frontends/xforms/
13953 * BufferView_pimpl.C: changes for moved mathpanel
13955 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13957 * gettext.h: fix gettext_init() in --disable-nls
13959 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13961 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13963 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13966 * lyx.h: strip external form
13968 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13970 * BufferView_pimpl.C: add comment, destroySplash()
13972 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13974 * BufferView_pimpl.C:
13978 * lyxfunc.C: use re-worked insetinclude
13980 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13982 * buffer.C: add using std::stringstream.
13984 * lyx_cb.C: readd using std::ios.
13986 * buffer.C: add using std::map.
13988 * BufferView_pimpl.C: add using std::vector.
13990 * ShareContainer.h: add std:: to swap.
13992 * buffer.h: add some typedefs
13993 * buffer.C (getLists): use them
13994 (getLists): renamed from getTocList.
13995 add a counter for the different float types and use it in the
13997 (getLists): use the same counter for the NEW_INSETS and the "non"
14000 * lyx_cb.h: remove unused items, includes, using etc.
14002 * ShareContainer.h: remove some commented code, add more comments
14003 and "documentation".
14005 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14007 * buffer.C (getTocList): make the list also when NEW_INSETS is
14010 * buffer.h: remove TocType
14012 * buffer.C (getTocList): change to return a map<string,
14013 vector<TocItem> >, implement for dynamic number of list.
14015 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14016 * text2.C (PasteSelection): adjust
14017 * CutAndPaste.C (pasteSelection): adjust
14019 * FloatList.C (FloatList): update from the new_insets branch.
14020 * Floating.[Ch]: ditto
14021 * LaTeXFeatures.C: ditto
14023 * lyxlex_pimpl.C: ditto
14025 * paragraph.C (Last): remove when NEW_INSETS is defined.
14027 * other file: changes because of the above.
14029 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14031 * lyxparagraph.h: rename next to next_, previous to previous_,
14032 make them private for NEW_INSETS. Rename Next() to next(),
14033 Previous() to previous().
14035 * other files: changes because of the above.
14037 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14040 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14043 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14045 * main.C (main): pass lyx_localedir to gettext_init().
14047 * gettext.h: remove locale_init and gettext_init macros
14049 * gettext.C (locale_init): new function
14050 (gettext_init): new function
14052 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14055 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14057 * Moved credits to frontends:
14058 * credits.[Ch]: removed
14059 * credits_form.[Ch]: removed
14060 * lyx_gui_misc.C: remove credits stuff
14063 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14065 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14067 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14068 unneeded destructor.
14070 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14071 a standalone pointer again.
14073 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14075 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14081 * ToolbarDefaults.C:
14090 * BufferView_pimpl.C: use new file dialog in GUII
14093 * lyx_cb.C: remove LayoutsCB to Toolbar
14095 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14097 * ShareContainer.h (get): add std:: qualifier
14099 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14101 * ShareContainer.h: define a proper ShareContainer::value_type
14102 type (and use typename to please compaq cxx)
14104 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14106 * lyxparagraph.h: move serveral local vars to
14107 ParameterStruct/ParagraphParameters., use ShareContainer in
14108 FontTable., make vars in FontTable private and add getter and
14111 * paragraph.C: changes because of the above.
14113 * lyxfont.h: remove copy constructor and copy assignment. (the
14114 default ones is ok), move number inside FontBits. move inlines to
14117 * lyxfont.C: add number to initializaton of statics, move several
14118 inlines here. constify several local vars. some whitespace
14119 cleanup. Dont hide outerscope variables.
14121 * Spacing.h: add two new constructors to match the set methods.
14123 * ShareContainer.h: new file, will perhaps be moved to support
14125 * ParameterStruct.h: new file
14127 * ParagraphParameters.h: new file
14129 * ParagraphParameters.C: new file
14131 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14132 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14134 * BufferView_pimpl.C: ParagraphParameter changes.
14135 * buffer.C: Likewise.
14136 * bufferview_funcs.C: Likewise.
14137 * text.C: Likewise.
14138 * text2.C: Likewise.
14140 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14142 * lyxfind.C (LyXReplace): do not redefine default argument in
14144 (IsStringInText): ditto
14145 (SearchForward): ditto
14146 (SearchBackward): ditto
14148 2001-03-06 Juergen Vigna <jug@sad.it>
14150 * lyxfind.C (IsStringInText): put parentes around expressions.
14152 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14154 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14156 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14158 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14160 * stl_string_fwd.h: add comment
14162 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14165 * tabular.C: remove unused DocBook methods
14171 killed DO_USE_DEFAULT_LANGUAGE
14173 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14175 * lyx_gui.C: do not include language.h.
14177 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14178 arguments in function implementation.
14180 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14182 * BufferView_pimpl.C: add <ctime>
14184 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14186 * BufferView_pimpl.C: add using std::find_if
14188 2001-02-27 José Matos <jamatos@fep.up.pt>
14190 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14193 2001-02-11 José Matos <jamatos@fep.up.pt>
14195 * buffer.C (makeDocBookFile): command styles now have a parameter as
14196 "title" by default.
14198 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14200 * layout_forms.[Ch]: removed
14201 * lyx_cb.[Ch]: out character
14202 * lyx_gui.C: out character
14203 * lyx_gui_misc.C: out character
14204 * bufferview_funcs.C: : out character,
14205 added toggleall as parameter in ToggleAndShow
14207 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14209 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14211 * text2.C (SetCurrentFont): Disable number property at boundary.
14213 2001-02-26 Juergen Vigna <jug@sad.it>
14215 * lyxfunc.C (getStatus): added a string argument override function so
14216 that this is correctly called from LyXFunc::Dispatch if it contains a
14217 do_not_use_argument which is used!
14218 (Dispatch): added check for "custom" export and call appropriate func.
14220 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14222 * lyxrc.C: Add language_command_local, language_use_babel and
14223 language_global_options.
14225 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14227 * buffer.C (makeLaTeXFile): Use language_use_babel and
14228 language_global_options.
14230 2001-02-23 Juergen Vigna <jug@sad.it>
14232 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14233 which works with LyXText and putted it inside BufferView. Here now we
14234 only call for that part the BufferView::Dispatch() function.
14236 * BufferView.C (Dispatch): added.
14238 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14239 functions which needs to use a LyXText over from LyXFunc.
14240 (MenuInsertLyXFile): added
14241 (getInsetByCode): added
14242 (moveCursorUpdate): added
14243 (static TEXT): added
14245 2001-02-22 Juergen Vigna <jug@sad.it>
14247 * BufferView_pimpl.C (update): call a status update to see if LyXText
14250 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14252 * vc-backend.C (revert): implement for CVS
14253 (getLog): implement for CVS
14255 2001-02-20 Juergen Vigna <jug@sad.it>
14257 * text2.C (ClearSelection): added BufferView param for inset_owner call
14259 * lyxfunc.C (TEXT): added this function and use it instead of
14260 directly owner->view()-text of getLyXText().
14262 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14264 * src/layout_forms.C: out preamble
14265 * src/layout_forms.h: out preamble
14266 * src/lyx_cb.C: out preamble
14267 * src/lyx_cb.h: out preamble
14268 * src/lyx_gui.C: out preamble
14269 * src/lyx_gui_misc.C: out preamble
14270 * src/lyxfunc.C: connect with guii preamble
14272 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14274 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14276 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14278 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14279 whether to run bibtex.
14281 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14283 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14285 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14287 * Makefile.am (lyx_SOURCES): removed bibforms.h
14289 * vspace.h: doxygen
14291 * text.C (GetVisibleRow): make several local vars const
14293 * tabular.C: small cleanup.
14295 * lyxserver.C (callback): use compare instead of strncmp
14297 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14298 inlines to after class or to paragraph.C
14300 * lyxfont.h: remove friend operator!=
14302 * converter.h: move friend bool operator< to non friend and after
14305 * combox.h: small cleanup
14307 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14308 to inlines after class def.
14310 * buffer.C (pop_tag): use string operations instead of strcmp
14312 * bmtable.c: doxygen, small cleanup
14314 * LaTeX.h: remove friend operator==
14316 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14328 * BufferView_pimpl.C:
14329 * BufferView.[Ch]: remove cruft
14331 2001-02-14 Juergen Vigna <jug@sad.it>
14333 * lyxfunc.C: removed #if 0 unused code
14335 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14337 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14339 * text2.C (SetSelection): added a BufferView * parameter
14341 2001-02-13 Juergen Vigna <jug@sad.it>
14343 * lyxfunc.C (Dispatch): fixed protected blank problem.
14344 * BufferView2.C (protectedBlank): added LyxText * parameter.
14346 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14347 (AppendColumn): same as above for column_info.
14349 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14350 (moveCursorUpdate): use a LyXText param for support of InsetText.
14352 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14353 (tripleClick): ditto
14355 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14357 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14359 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14361 * text2.C (SetSelection): set correct update status if inset_owner
14362 (ToggleFree): ditto
14364 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14366 * tabular.C: remove some commented code.
14368 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14370 * BufferView_pimpl.C: call hideSplash()
14372 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14375 * bibforms.h: remove
14378 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14379 add LFUN_CHILD_CREATE
14381 * counters.h: fix tiny typo
14386 * lyx.C: move splash to frontends/xforms/
14388 * lyx_gui_misc.C: move Include and Bibform to frontends
14390 * lyxvc.h: clarify comment
14392 * vspace.C: tiny housekeeping
14394 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14396 * text.C (PrepareToPrint): RTL Fix.
14398 * paragraph.C (GetUChar): New method.
14399 (String): Use GetUChar.
14401 * buffer.C (asciiParagraph): Use GetUChar.
14403 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14405 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14407 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14410 * buffer.C: rename to getLogName(), handle
14411 build log / latex log nicely
14413 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14416 * MenuBackend.h: remove support for reference menuitem type.
14418 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14420 * BufferView_pimpl.C: housekeeping
14421 * BufferView_pimpl.h:
14426 * minibuffer.h: move Timeout GUI-I
14428 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14430 * lyxrc.C (read): Update converters data-structures.
14432 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14434 * LaTeX.h (operator!=): add operator != for Aux_Info
14436 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14438 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14440 * LaTeXLog.C: deleted, useful code moved to Buffer
14443 * buffer.C: new function getLatexLogName()
14449 * lyxfunc.C: use frontends for LaTeX and VC logs
14451 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14453 * LaTeX.h: yet another std:: that Allan forgot.
14455 * Variables.C (set): renamed from isset(), because this clashes
14456 with some HP-UX macros (grr).
14458 2001-02-06 Allan Rae <rae@lyx.org>
14460 * LaTeX.h: Another bug fix. Missing std:: this time.
14462 2001-02-04 Allan Rae <rae@lyx.org>
14464 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14465 floats problem. I've left it commented out because it's not quite
14466 correct. It should also test that the current object is a table or
14467 figure inset. But I haven't gotten around to figuring out how to do
14468 that. I *think* it'll be something like: "table" == inset.type()
14470 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14473 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14475 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14476 all the citation/databases/styles in the auxilary file.
14477 (run): Rerun latex if there was a babel language error.
14479 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14481 * text.C (Backspace): Preserve the font when changing newline char
14483 (BreakParagraph): If the cursor is before a space, delete the space.
14485 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14487 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14489 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14490 new argument (code).
14491 (ChangeCitationsIfUnique): New method.
14493 * paragraph.C (GetPositionOfInset): Handle bibkey.
14495 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14497 * BufferView_pimpl.h: change type of Position::par_pos to
14498 LyXParagraph::size_type.
14500 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14502 * BufferView_pimpl.C (savePosition, restorePosition): Write
14503 messages to minibuffer.
14505 2001-01-28 José Matos <jamatos@fep.up.pt>
14507 * buffer.C (makeDocBookFile): adds support for document language.
14508 A silly restriction on the name of LatexCommand types where removed.
14509 Added support for CDATA sections, allows to chars unescaped, used
14510 among others in code, to avoid escape < and >.
14512 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14514 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14515 saved positions instrad of a stack. Furthermore, a position is
14516 stored using paragraph id/paragraph position.
14518 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14519 Remove LFUN_REF_BACK.
14521 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14523 * converter.C (dvipdfm_options): New method.
14525 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14527 * vspace.C (isValidLength): Fix for empty input string.
14529 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14531 * LyXAction.C (init): change description of LFUN_FIGURE to
14534 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14536 * LaTeX.C: add using directive
14538 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14540 * MenuBackend.C (expand): Fix the sorting of the formats.
14542 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14544 * lyx_main.C: tiny error message fix
14546 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14549 calling fl_initialize(). This fixes the problem with ',' as
14550 decimal separator in text files.
14552 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14554 * trans.C (process): Fix the keymap bug.
14556 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14558 * LaTeX.C (scanAuxFiles): New method. Provides support for
14559 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14560 (scanLogFile) Scan for "run BibTeX" messages.
14562 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14563 OT1 font encoding. Also, load the aecompl package if the ae
14566 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14568 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14570 * texrow.C (increasePos): turn two error messages into debug
14573 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14575 * LaTeX.C (scanAux): Handle the \@input macro.
14576 (runBibTeX): Use scanAux().
14578 * language.C (latex_options_): New field.
14580 * LaTeXFeatures.C (getMacros): Add language macros.
14582 * buffer.C (makeLaTeXFile): Small fix.
14584 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14588 * text2.C: add a using directive.
14590 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14595 * lyxfunc.C: kill LyXBell.
14597 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14599 * text.C (IsBoundary): Remove the error message
14601 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14603 * lyxrc.C (setDefaults): Correct initialization value for
14606 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14608 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14611 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14612 and GotoNextNote().
14614 * src/LyXAction.C: Added reference-next.
14616 * text.C (InsertChar): Use contains instead of strchr.
14618 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14620 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14622 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14623 alignment commands (when needed).
14625 * text.C (InsertChar): Add ':' to number separator chars.