1 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3 * iterators.C (lockPath): add a missing slice
4 * undo.C (performUndoOrRedo): remove redundant positioning code
6 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
8 * vc-backend.C (scanMaster): ";" -> ';'
10 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
12 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
15 * lyxtextclass.C (compare_name): rename to...
16 (LayoutNamesEqual): ...this
18 * lyxlex_pimpl.C (compare_tags): inherit from
19 std::binary_function, put back into anon namespace
21 * lyxfind.C (MatchString): inherig from std::binary_function
22 (findChange): use empty() istead of !size()
24 * format.C (FormatNamesEqual): new functor
31 * converter.C (compare_Converter): rename to...
32 (ConverterEqual): ...this, and fixup a bit.
33 (getConverter): use it, and make function const
34 (getNumber): use it, and make function const
38 * bufferlist.C: add using boost::bind
40 * MenuBackend.C (MenuNamesEqual): new functor
41 (hasMenu): use it, and make function const
42 (hasSubmenu): use nested bind to get rid of compare_memfun.
44 2004-01-30 André Pönitz <poenitz@gmx.net>
57 * text3.C: move some of the edit(x,y) handling to the insets
58 some coordinate changes.
60 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
62 * text.C: add using statements for std::advance and std::distance
64 * paragraph.C: add using statement for std::distance
66 * lyxfind.C: add using statement for std::advance
68 * cursor.C (region): remove std:: from swap
69 (openable): use nucleus in stead of operator->
71 * BufferView.C: add using statements for std::distance and std::swap
73 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
75 * iterators.C: Remove the pimple, move the needed structures to
76 the header file. Create accessor for the positions stack.
77 (asPosIterator): remove function
79 * PosIterator.C (PosIterator): move constructors to top of file
80 (PosIterator): reimplement the constructor taking a ParIterator in
82 (setFrom): new function
83 (operator!=): inline it
85 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
87 * lyxfind.C (replaceAll): use std::advance
89 * iterators.h: inherit from std::iterator.
91 * PosIterator.C (advance, distance): remove
92 * PosIterator.h: interit from std::iterator.
94 2004-01-26 André Pönitz <poenitz@gmx.net>
97 * BufferView_pimpl.[Ch]:
101 * bufferview_funcs.C:
112 * output_plaintext.C:
114 * paragraph_funcs.[Ch]:
115 * paragraph_pimpl.[Ch]:
121 * text3.C: more IU: dumps most of the rest of the mathcursor
122 implementation into cursor.[Ch]; "globalize" a bit of it.
124 2004-01-25 Angus Leeming <leeming@lyx.org>
126 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
128 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
130 * LaTeXFeatures.h: add nice_ and nice() const
131 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
133 2004-01-20 André Pönitz <poenitz@gmx.net>
136 * BufferView_pimpl.C:
138 * bufferview_funcs.C:
151 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
152 LCursor and mathcursor parts to LCursor and InsetBase.
154 2004-01-15 André Pönitz <poenitz@gmx.net>
156 * cursor_slice.[Ch]: add a few covienience functions
158 * funcrequest.[Ch]: remove BufferView * member
160 * BufferView_pimpl.C:
167 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
169 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
171 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
172 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
174 2004-01-13 André Pönitz <poenitz@gmx.net>
177 * lyxtext.h: hide cursor and selection anchor behind accessor function
180 * BufferView_pimpl.[Ch]:
182 * bufferview_funcs.C:
192 * cursor_slice.[Ch]: some integer type changes for inset unification
194 * lyxcursor.[hC]: remove, it's CursorSlice now.
197 * BufferView_pimpl.[Ch]:
198 * bufferview_funcs.C:
204 * textcursor.[Ch]: adjust
206 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
208 * text2.C (undoSpan): add and use
209 * text.C (breakParagraph): use undoSpan (fix bug 578)
212 2004-01-08 Angus Leeming <leeming@lyx.org>
214 * BufferView_pimpl.C (MenuInsertLyXFile):
215 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
216 * lyxfunc.C (menuNew, open, doImport):
217 FileFilterList change to the FileDialog open and save functions.
219 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
221 * ShareContainer.h: make isEqual and isUnique adaptable
223 * CutAndPaste.C: make resetOwnerAndChanges adaptable
225 2004-01-07 Angus Leeming <leeming@lyx.org>
228 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
230 * BufferView_pimpl.C (dispatch): act on these LFUNs.
232 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
233 functions replacing find, replace and replaceAll.
235 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
236 LFUN_WORDFIND(FORWARD|BACKWARD).
238 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
240 * text.C (breakParagraph): remove an outdated #warning
242 2004-01-07 André Pönitz <poenitz@gmx.net>
244 * lyxfind.C: somewhat clearer logic
246 * text.C: prevent crash in cursorX on unitialized row cache
248 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
250 * lyxcursor.[Ch] (operator>): add
251 * textcursor.C (selStart, selEnd): use std::min and std::max
253 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
255 * Chktex.C: include boost/format.hpp
257 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
259 * InsetList.C: replace functor MathcIt with adaptable functor
261 (insetIterator): modify accordingly
263 * BranchList.h: move the BranchNamesEqual functor here from...
264 * BranchList.C: ... to here
266 * BranchList.C: new BranchListEqual fuctor, use it. Remove
268 (add): replace a finding loop with std::find_if.
270 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
272 * output_docbook.C: moving LatexParam functionality into
275 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
277 * buffer.C: increment format to 229.
279 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
282 * lyx_sty.[Ch]: remove minipageindent_def
288 * text3.C: remove LFUN_INSET_MINIPAGE
290 2003-12-28 Angus Leeming <leeming@lyx.org>
292 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
294 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
296 * text2.C (setParagraph): fix off-by-one crash
298 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
300 * output_docbook.C: header stuff for AGU
302 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
304 * text2.C (redoCursor): remove
307 * BufferView_pimpl.C: remove calls to redoCursor and
308 setCursor(cursor.par(), cursor.pos()) all around
310 2003-12-15 Angus Leeming <leeming@lyx.org>
312 * buffer.C: up the format to 228.
314 2003-12-15 André Pönitz <poenitz@gmx.net>
316 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
321 * BufferView_pimpl.C:
330 2003-12-15 Angus Leeming <leeming@lyx.org>
332 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
333 than getFromGUIName to manipulate the color.
335 2003-12-14 Angus Leeming <leeming@lyx.org>
337 * BranchList.[Ch]: minimize the API.
338 (Branch::getBranch, getColor): now return a 'const &'.
339 (Branch::setSelected) now returns a bool set to true if the
340 selection status changes.
341 (BranchList::clear, size, getColor, setColor, setSelected,
342 allBranches, allSelected, separator): removed.
343 (BranchList::find): new functions, returning the Branch with
345 (BranchList::add, remove): return a bool indicating that
346 the operation was successful.
348 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
349 new InsetBranch::isBranchSlected member function.
351 * LColor.[Ch]: mimimize the API.
352 (fill): renamed as addColor and made private.
353 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
354 versions of these functions taking a string arg have been removed.
356 * bufferparams.C (readToken):
357 * lyxfunc.C (dispatch):
358 * lyxrc.C (read): changes due to the altered BranchList and
361 * factory.C (createInset, readInset): changes due to altered
364 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
367 * lyxfunc.C: remove insetminipage. "minipage-insert"
368 now produces a frameless minipage box inset.
370 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
372 * textcursor.[Ch] (selStart,selEnd): add new methods
373 remove selection::start, end, use LyXCursor::operator<
374 * lyxcursor.[Ch] (operator<): add
375 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
376 * BufferView.[Ch] (unsetXSel): add
377 * text2.C (clearSelection): use unsetXSel,adjust
380 * rowpainter.C: adjust
381 * bufferview_funcs.C (put_selection_at): adjust
383 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
385 * BufferView_pimpl.C: small coord. correction
387 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
389 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
390 dragging over the splash screen.
392 2003-12-11 Angus Leeming <leeming@lyx.org>
394 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
395 as it is now handled in LyXText::dispatch.
397 * text3.C (doInsertInset): remove a level of nesting.
399 2003-12-11 Angus Leeming <leeming@lyx.org>
401 * factory.C (createInset): changes due to the changed interface to
402 InsetCommandMailer::string2params.
404 2003-12-10 Angus Leeming <leeming@lyx.org>
406 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
407 'dialog-show-new-inset <inset name>'
409 2003-12-10 Angus Leeming <leeming@lyx.org>
411 * buffer.C: up the format to 227.
413 * factory.C: the box inset is now identified simply by 'Box'.
415 2003-12-10 Angus Leeming <leeming@lyx.org>
417 * buffer.C: up the format to 226.
419 * factory.C: the note inset is now identified simply by 'Note'.
421 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
423 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
424 when a pit is enough. Standarize a couple of loops.
426 2003-12-05 Angus Leeming <leeming@lyx.org>
428 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
429 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
430 data to the re-worked "log" dialog.
432 2003-12-03 André Pönitz <poenitz@gmx.net>
440 * text2.C: use Inset::getText instead of Inset::getParagraph
442 2003-12-03 André Pönitz <poenitz@gmx.net>
446 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
447 InsetText::read() as LyXText::read()
449 2003-12-02 Angus Leeming <leeming@lyx.org>
451 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
452 type. Add a comment in the implementation that the function uses
453 the stream's bad() function rather than fail() as the std::streams
456 2003-12-02 André Pönitz <poenitz@gmx.net>
458 * lyxlex.[Ch]: make interface more similar to std::stream
460 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
462 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
464 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
466 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
468 * vspace.[Ch]: remove VSpace::NONE
470 2003-12-01 André Pönitz <poenitz@gmx.net>
473 * lyxtext.h: move ParagraphList member to LyXText
474 rename LyXText::ownerParagraphs to LyXText::paragraph
477 * bufferview_funcs.C:
487 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
489 * undo.C: fix cursor positioning
491 2003-12-01 John Levon <levon@movementarian.org>
493 * BufferView_pimpl.C: fix a crash on exit with
496 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
498 * BranchList.C: fix setSelected() method.
500 2003-11-28 André Pönitz <poenitz@gmx.net>
502 * ParagraphParameters.[Ch]:
503 * ParameterStruct.h: remove space above/below from Paragraph to
506 * BufferView_pimpl.C:
518 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
520 * factory.C: Syntax change for CharStyles
522 2003-11-28 André Pönitz <poenitz@gmx.net>
527 * buffer.[Ch]: move LyXText member
529 2003-11-28 André Pönitz <poenitz@gmx.net>
531 * BufferView.[Ch]: make LyXText * text a private member
533 * BufferView_pimpl.C:
544 * output_plaintext.C: cleanup
546 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
549 * lyxtextclass.[Ch]: parametrize SGML document header
551 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
554 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
557 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
559 * text2.C (setFont): rework using PosIterator (no more recursive)
560 (setCharFont): no more needed
561 (setLayout): no more selection cursors fiddling (done by redoCursor)
562 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
563 destroy remaining ones)
565 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
567 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
569 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
572 * text3.C: adjust + re-allow multi par depth changes
573 * textcursor.C: simplify a bit
575 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
581 * src/output_docbook.C:
582 * src/output_latex.C:
587 * src/text2.C: Introducing a number of tags parametrizing various
588 XML formats that we may want to support
590 2003-11-25 André Pönitz <poenitz@gmx.net>
592 * InsetList.[Ch] (begein, end): inline as suggested by profiler
594 * lyxtext.h (leftMargin/rightMargin): simplify interface
601 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
603 * lyxfunc.C (dispatch): propogate the bibtex databases from the
604 master file to any child files. Fixes bug 546.
606 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
608 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
610 2003-11-24 André Pönitz <poenitz@gmx.net>
612 * rowpainter.C: simplification
614 * text2.C (updateCounters): remove call to redoParagraph on
615 changed labels as this is far too expensive.
617 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
619 * converter.C (convert): fix a crash: this function gets
620 called with buffer == 0 from importer code.
622 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
624 * text3.C (cursorPrevious): make sure that we do not compare
625 iterators form different containers.
628 * rowpainter.C (paintSelection): make sure that we do not compare
629 iterators from different containers.
631 * text3.C (dispatch): [PRIOR] make sure that we do not compare
632 iterators from different ParagraphList containers.
635 * text2.C (LyXText): change order of initialization slightly
636 (operator=): new function. copy all variables except cache_par_
637 (moveUp): make sure that we do not compare iterators from
638 different ParagraphList constainers.
641 * text.C (firstPar): new function
642 (lastPar): new function
643 (endPar): new function
645 * lyxtext.h: move things around and group public functions, public
646 variables, private functions, private variables
648 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
650 * factory.C: change call to InsetERT constructor to avoid
651 additional invocation of method status
652 * text2.C (toggleInset): remove redundant update() call
653 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
654 instead of a Bufferview pointer
656 2003-11-21 André Pönitz <poenitz@gmx.net>
658 * rowpainter.C: simplification
660 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
662 * text3.C (dispatch): make possible to extend a word/row selection
665 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
667 * lyxtext.h: x0_,y0_ -> xo_,yo_
668 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
669 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
670 * rowpainter.C (paintRows): paint full paragraphs
672 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
674 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
677 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
679 * lyxtext.h: add x0_, y0_
680 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
681 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
683 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
685 * text2.C (setCursorIntern): move the x_target update here *
686 * text3.C: change some bv() to true/false in calls to
687 cursorUp/Down/Right/Left
688 * cursor.C: use helper function.
690 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
692 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
693 * paragraph_funcs.[Ch]: correct comment
694 * rowpainter.C: do not paint selections away from bv->cursor()
695 Fix a long standing selection painting bug.
696 * text3.C: generalize mouse-selection code to LyXTexts other that
698 * textcursor.C: do not use y coords if we can use par offsets
700 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
702 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
703 cursor position after e.g. inset insert)
705 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
707 * lyxfind.C (replace): adjust to locking removal + some
710 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
712 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
715 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
718 * output_docbook.C: XML sanitation: new layout
719 parameters InnerTag and CommandDepth
721 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
723 * BufferView_pimpl.C:
725 * text3.C: Fix the insertion and modification of button-style
728 2003-11-13 André Pönitz <poenitz@gmx.net>
730 * InsetList.[Ch]: remove deleteLyXText
732 * paragraph.[Ch]: cache beginOfBody position
737 * text3.C: remove superfluous update() calls
741 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
743 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
744 * BufferView.C (fitLockedInsetCursor): remove
745 * cursor.[Ch] (getDim): add
746 * text.C (getRowNearY): add faster version
747 * text3.C: remove some update calls
749 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
761 * text3.C: The Character Style /XML short element patch.
763 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
766 * factory.C: Small step to solving 'unable to insert some insets'
769 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
771 * cursor.[Ch] (updatePos): new function for updating the y
772 position of the tip inset
773 * bufferview_funcs.C (put_selection_at):
774 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
776 2003-11-11 André Pönitz <poenitz@gmx.net>
778 * text.C: remove big comment on invalid Paragraph pointers as it is
781 2003-11-11 André Pönitz <poenitz@gmx.net>
783 * text_funcs.[Ch]: merge with ...
791 * Makefile.am: remove text_funcs.[Ch]
793 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
795 * cursor.C (getPos): return absolute cached y coord
797 * BufferView_pimpl.C (fitCursor): new simplistic code
798 (workAreaDispatch): add a fitCursor call
800 2003-11-10 André Pönitz <poenitz@gmx.net>
803 * BufferView_pimpl.[Ch]: merge update() and updateInset()
805 2003-11-10 André Pönitz <poenitz@gmx.net>
807 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
808 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
809 indicate that the cursor needs to leave an inset
811 * lyxtext.h: remove inset locking
813 * cursor.[Ch]: re-implement functionality provided by inset locking
816 * BufferView_pimpl.[Ch]:
818 * bufferview_funcs.[Ch]:
830 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
832 * PosIterator.[Ch]: replace the stack with a vector, add inset
834 * iterators.[C]: adjust
836 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
838 * lyxfind.C (replaceAll): mark the buffer dirty if something was
840 * paragraph_funcs.C (readParToken): put the correct id in the
841 error item, not the id of the top paragraph
843 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
845 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
846 * bufferview_funcs.C (put_selection_at): use the above
848 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
850 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
852 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * output_plaintext.h:
857 * output_docbook.h: add #include statements
859 2003-11-05 José Matos <jamatos@lyx.org>
861 * output_docbook.[Ch]:
863 * output_linuxdoc.[Ch]:
864 * output_plaintext.[Ch]: New files for output formats.
865 * output.[Ch]: New file for helper functions.
868 * paragraph_funcs.[Ch]: output functions moved to new files.
870 * outputparams.h: rename of latexrunparams.h
878 * paragraph_funcs.[Ch]:
879 * paragraph_pimpl.[Ch]:
880 * tabular.[Ch]: rename ascii to plaintext
881 and LatexRunParams to OutputParams.
883 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
885 * iterators.[Ch] (text): require bv argument
886 * undo.C (recordUndo):
887 * lyxfunc.C (dispatch):
888 * bufferview_funcs.C (put_selection_at): adjust
890 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
892 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
894 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
896 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
899 2003-11-04 André Pönitz <poenitz@gmx.net>
901 * cursor.[Ch]: restructure
904 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
906 * iterators.[Ch] (asCursor): remove
908 * lfuns.h: remove LFUN_INSET_EDIT
914 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
916 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
918 * lyxfind.[Ch]: complete overhaul
919 * BufferView_pimpl.C:
921 * paragraph.[Ch] (insert): add
923 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
927 * text.C: remove dead spellcheck code
929 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * dispatchresult.h: add a val setter
933 * cursor.C (dispatch): use a tempvar for data_[i]
935 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
937 * PosIterator.[Ch]: compile fix
939 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
941 * text.C (cursorPar): deactivate the cursor cache
943 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
945 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
947 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
949 * text3.C (dispatch): adjust for new DisptchResult semantics.
951 * lyxfunc.C (dispatch): handle update when return from
952 Cursor::dispatch, adjust for new DispatchResult semantics.
954 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
955 DispatchResult(true) mean to not update. Add class functions for
956 setting dispatched and update, as well as reading.
958 * cursor.C (dispatch): don't handle update here
960 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
962 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
963 * trans_mgr.C: adjust
965 * paragraph_funcs.C (readParToken): exception safety
967 * lyxvc.h: store the vcs pointer in a scoped_ptr
970 * lyxsocket.C (serverCallback): exception safety
972 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
974 * ispell.C (clone): make it return a auto_ptr
976 * factory.C (createInset): exception safety
977 (readInset): exception safety
979 * bufferlist.C (newBuffer): exception safety
981 * Thesaurus.C (Thesaurus): use initialization for aik_
983 * MenuBackend.C (expandToc): exception safety.
985 2003-11-03 André Pönitz <poenitz@gmx.net>
989 * bufferview_funcs.C: remove getInsetFromId()
992 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
998 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1000 * PosIterator.C (distance, advance): new
1001 * bufferview_funcs.[Ch] (put_selection_at): new
1002 * iterators.[Ch] (lockPath): new
1004 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1006 * iterators.[Ch] (asPosIterator): added
1007 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1008 * PosIterator.[Ch]: added
1010 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * cursor.C (dispatch):
1015 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1017 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1018 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1019 contructor, add a class function dispatched. Remove operator>=
1021 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1023 * debug.C: only use the default constructor for debugstream
1026 * main.C (main): include debug.h and setup the lyxerr streambuf
1029 2003-10-31 José Matos <jamatos@lyx.org>
1031 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1033 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1034 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1035 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1036 * paragraph_pimpl.C (simpleTeXSpecialC):
1037 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1038 add LatexRunParams argument.
1040 * exporter.C (Export): change call accordingly.
1042 * latexrunparams.h: add new member to take care of the other backends.
1043 2003-10-30 José Matos <jamatos@lyx.org>
1045 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1046 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1047 factorise code for paragraph output.
1049 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1052 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * text3.C (dispatch):
1055 * lyxfunc.C (dispatch):
1056 * cursor.C (dispatch):
1057 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1059 * dispatchresult.h: make the dispatch_result_t ctor explicit
1061 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1064 * buffer.C: small refactoring of docbook stuff
1066 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1068 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1071 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1074 operator dispatch_result_t, and operators for == != and >=
1076 * cursor.C (dispatch): adjust for operator dispatch_result_t
1077 removal. comment out call to update
1079 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1081 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1092 * dispatchresult.h: new file, DispatchResult broken out of
1095 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1097 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1099 * text.C (rowBreakPoint): put a hack inside #if 0
1101 2003-10-28 André Pönitz <poenitz@gmx.net>
1105 * paragraph_funcs.C:
1108 * text2.C: general cleanup (lots of small stuff)
1110 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1112 * text2.C (cursorEnd): simple fix to the "end key goes to one
1113 before the end on last row" bug
1115 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1117 * text.C (backspace): fix the "zombie characters"
1119 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1121 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1123 2003-10-27 André Pönitz <poenitz@gmx.net>
1125 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1127 * factory.C: handle new InsetPagebreak, InsetLine
1129 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1130 and move handling into new InsetPagebreak, InsetLine
1132 * BufferView_pimpl.C:
1134 * ParagraphParameters.C:
1135 * ParameterStruct.h:
1140 * paragraph_funcs.C:
1141 * paragraph_pimpl.C:
1147 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1150 * lyxrow_funcs.[Ch]:
1156 * text3.C: remove lastPos uses in favour of Row::endpos
1158 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1160 * undo.C (performUndoOrRedo): fix two crashes by setting a
1161 cursor by hand and reordering some calls. Use bv->lockInset instead
1162 of inset->edit because the latter loses cursor information
1164 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1166 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1168 (rowBreakPoint): fix width. change point to point + 1.
1169 Add a missing check.
1171 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1174 * lyxfunc.C: fix (at least partly) the problems
1175 with the Nav menu and headers inside branch insets
1178 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1180 * paragraph.C (getChar): add strong asserts
1182 * lyxrow_funcs.C (lastPos): remove hideous hack
1184 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1185 (fill): adjust to that (avoid an infinite loop)
1187 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1189 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1191 2003-10-23 André Pönitz <poenitz@gmx.net>
1193 * RowList_fwd.h: change list<> to vector<> to gain speed
1194 after suggestion from Alfredo
1196 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1198 * lyxtext.h: move the bidi stuff from here...
1201 * Bidi.[Ch]: ... to here
1203 2003-10-23 André Pönitz <poenitz@gmx.net>
1206 * text.C (isLastRow, isFirstRow): new functions
1208 * paragraph.h: new width cache member
1210 * rowpainter.C: replace RowList::iterator with Row & where possible
1212 * lyxfunc.C: replace several view()->text with a single call
1214 * toc.C: fix 'unused' warning
1216 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1219 when woring with stream::pos_type
1220 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1222 2003-10-22 André Pönitz <poenitz@gmx.net>
1225 * text.C: use Row & instead of RowList::iterator
1227 * lyxrow.h: rename end() to endpos()
1233 2003-10-22 Angus Leeming <leeming@lyx.org>
1235 * buffer.[Ch] (fully_loaded): new member function, returning true
1236 only when the file has been loaded fully.
1237 Used to prevent the premature generation of previews and by the
1238 citation inset to prevent computation of the natbib-style label.
1240 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1241 templates are all set up.
1243 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1245 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1247 * text.C: fixed an "oops" in the "is a bit silly"
1250 2003-10-21 André Pönitz <poenitz@gmx.net>
1252 * FuncStatus.[Ch]: small stuff, whitespace
1254 * lyxfont.[Ch]: operator<<() for debug reasons
1258 * lyxtext.h: whitespace, spelling
1260 * paragraph.C: naming of variables
1263 * text2.C: small stuff
1266 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1268 * text.C: (1) finish off the inset display() work;
1269 (2) fix the "is a bit silly" bug (accessing char
1272 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1274 * text.C: re-introduce display() for insets, fixing the
1275 various bugs (stretch of line above, math inset
1278 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * text.C (rightMargin): remove spurious semicolon
1282 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1285 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1287 * text3.C: fix one crash due to wrong cursor def
1289 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1291 * vc-backend.C (scanMaster): make the regex static
1293 * LaTeX.C (scanAuxFile): make the regexs static
1295 * text3.C (doInsertInset, dispatch, dispatch):
1296 * text2.C (cursorUp, cursorDown):
1297 * text.C (selectNextWordToSpellcheck):
1298 * BufferView_pimpl.C (dispatch):
1299 * lyxfunc.C (dispatch): localDispatch -> dispatch
1301 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1303 * lyxsocket.C: include <cerrno>
1305 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1307 * lyxfunc.C (dispatch): remove textcache stuff
1309 * bufferlist.C (release): remove textcache stuff
1312 * TextCache.C: delete file
1313 * TextCache.h: delete file
1315 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1317 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1318 delete of the bv_->text.
1319 (resizeCurrentBuffer): remove texcache stuff
1320 (workAreaResize): ditto
1322 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1327 2003-10-16 André Pönitz <poenitz@gmx.net>
1334 * text3.C: speed up by storing y positions per paragraph plus per-row
1335 offset instead of having a 'full' y position in the row.
1337 2003-10-15 André Pönitz <poenitz@gmx.net>
1341 * undo.[Ch]: make undo aware of inner insets
1343 2003-10-14 Angus Leeming <leeming@lyx.org>
1345 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1346 static member functions LyX::ref() and LyX::cref.
1347 (lastfiles): new accessor functions for the new lastfiles_ member var.
1348 (addLyXView, views_): add a new LyXView to the list of views_.
1349 (updateInset): loop over all LyXViews to call their own updateInset
1350 member function, returning a pointer to the Buffer owning the inset.
1352 * BufferView_pimpl.C (loadLyXFile):
1353 * MenuBackend.C (expandLastfiles):
1354 * bufferlist.C (MenuWrite, QuitLyX):
1355 lastfiles is no longer a global variable.
1356 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1358 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1359 static function. Access through LyX::cref().emergencyCleanup().
1361 2003-10-14 André Pönitz <poenitz@gmx.net>
1363 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1365 * undo.[Ch]: restoring part of 'undo in insets'
1368 * undo_funcs.[Ch]: merge with undo.[Ch]
1370 * tabular.C: small cleansing stuff
1372 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1374 * paragraph_funcs.C (readParToken): report unknown insets as error
1375 boxes. Use the outer paragraph as location (also for unknown
1378 * factory.C (readInset): do not abort on reading an unknown inset.
1379 Eat it and return 0.
1381 2003-10-13 Angus Leeming <leeming@lyx.org>
1383 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1385 * lyxrc.C: displayTranslator is now a function,
1386 declared in GraphicsTypes.h.
1388 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1390 * format.C: new placeholder $$a to pass the socket address.
1392 * bufferlist.[Ch]: new function getBufferFromTmp.
1394 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1395 files in the temporary dir.
1397 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1399 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1401 * Makefile.am: add lyxsocket.[Ch].
1403 * lyx_main.C (error_handler): handle SIGPIPE.
1405 2003-10-13 André Pönitz <poenitz@gmx.net>
1407 * BufferView_pimpl.C:
1412 * undo_funcs.[Ch]: use paroffset_type instead of
1413 ParagraphList::iterators to prevent multiple conversion
1414 (and get a more robust interface)
1416 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1418 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1420 * text3.C (dispatch): ditto
1422 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1425 move the onlyfile, use onlyfile instead of foundfile in a couple
1428 * DepTable.C (update): flush the error stream a bit more
1430 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1432 * lyxserver.C (callback): adjust
1434 * lyxfunc.C (getStatus): add a missing brace in commented code
1435 (ensureBufferClean): reindent
1436 (dispatch): delete version taking a string
1438 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * LaTeX.C (deplog): move found file handlig from here...
1441 (handleFoundFile): .. to new function here.
1442 (deplog): make sure to discover several files mentioned on the
1445 2003-10-10 André Pönitz <poenitz@gmx.net>
1452 * text3.C: fix some of the tabular crashes
1454 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1456 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1458 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1460 2003-10-09 André Pönitz <poenitz@gmx.net>
1462 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1465 * BufferView_pimpl.C:
1466 * bufferview_funcs.C:
1477 * undo_funcs.C: adjust
1479 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1481 * text2.C (incrementItemDepth): new function, use a backtracking
1482 algorithm to discover the correct item depth.
1483 (resetEnumCounterIfNeeded): new function, use a backtracking
1484 algorithm to discover if counter reset is needed.
1485 (setCounter): use them. Simplify a bit. Add different labels for
1486 different item depths for itemize.
1488 * paragraph.C (Paragraph): remove initialization of enumdepth
1491 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1492 enumerate and itemize. Change the type of itemdepth to signed char.
1494 2003-10-08 André Pönitz <poenitz@gmx.net>
1496 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1501 * tabular.[Ch]: fix crash after 'row-insert'
1503 2003-10-08 Angus Leeming <leeming@lyx.org>
1505 Fix doxygen warnings.
1507 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1508 Remove CutAndPaste:: prefix from header file declaration.
1510 * LColor.h (fill): remove LColor:: prefix from declaration.
1512 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1513 use lyx::depth_type rather than Paragraph::depth_type so that
1514 header file and .C file match.
1516 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1518 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1519 * aspell.C: \file aspell_local.C -> \file aspell.C
1520 * gettext.C: \file gettext.C -> \file src/gettext.C
1521 * gettext.h: \file gettext.h -> \file src/gettext.h
1522 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1523 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1524 * text.C: \file text.C -> \file src/text.C
1526 * toc.C: move comment so that doxygen is not confused.
1528 2003-10-07 Angus Leeming <leeming@lyx.org>
1530 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1532 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1535 * aspell_local.h: add forgotten std::string's.
1537 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1544 * text3.C: The Box patch. Fancybox support, minipage, parbox
1546 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1552 * ParagraphParameters.h:
1562 * lyxtextclasslist.h:
1565 * paragraph_pimpl.C:
1566 * textcursor.h: add <string> and other small fixes to make Lars'
1567 std::string patch compile with STLport.
1569 2003-10-06 Angus Leeming <leeming@lyx.org>
1571 * LColor.h: Add missing #include <string>.
1573 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * All most all file in all subdirs: Make <string> be the prefered
1576 way of getting to std::string, add using declarations.
1578 2003-10-06 André Pönitz <poenitz@gmx.net>
1580 * metricsinfo.C: initialize LyXFont before changing attribute.
1581 (fixes the 'math in \emph is upright' bug)
1583 2003-10-06 André Pönitz <poenitz@gmx.net>
1585 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1587 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1590 * paragraph_pimpl.C: Small fixes to build using STLport
1592 2003-10-02 André Pönitz <poenitz@gmx.net>
1595 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1597 2003-10-01 André Pönitz <poenitz@gmx.net>
1599 * factory.C: assert early
1601 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * lyx_main.C: remove the global debug object
1605 * debug.h: adjust for new debugstream
1607 * debug.C: adjust for new debugstream and keep the global debug
1610 2003-09-22 Angus Leeming <leeming@lyx.org>
1612 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1613 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1614 an incomplete class LyXFont.
1616 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1618 * factory.C: bug fix in branches
1620 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1622 * lyxfunc.C (processKeySym): adjust
1624 (dispatch): change arg name from ev to func, adjust
1625 (sendDispatchMessage): ditto
1627 * lyx_main.C (defaultKeyBindings): adjust keybindings
1628 (deadKeyBindings): ditto
1630 * kbsequence.C (addkey): return a FuncRequest
1632 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1634 * kbmap.C (bind): take a FuncRequest as arg, adjust
1637 (defkey): change to take a FuncRequest as arg, adjust
1638 (findbinding): take a FuncRequest as arg, adjust.
1640 * funcrequest.h (operator=): added
1642 * funcrequest.C (FuncRequest): default kb_action changed from
1643 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1645 * buffer.C (dispatch): simplify
1646 (dispatch): adjust to take a FuncRequest as arg, adjust
1648 * boost.C (assertion_failed): change assertion message slightly
1650 * ToolbarBackend.C (read): simplify
1652 * MenuBackend.C (binding): adjust call to findbinding, add a
1653 message if no binding is found.
1655 (expandToc): correct by adding a empty FuncRequest
1657 * LyXAction.C: include <boost/assert.hpp>
1658 (isPseudoAction): delete function
1659 (LookupFunc): change name to...
1660 (lookupFunc): this. change return type to FuncRequest.
1661 (getActionName): take kb_action as arg, simplify
1662 (funcHasFlag): add an assert, simplify.
1664 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * toc.C (action): return a FuncRequest, simplify
1668 * lyxfunc.C (processKeySym): adjust
1669 (getStatus): delete version that takes an int.
1671 (dispatch): delete version that takes action as int
1673 (sendDispatchMessage): simplify and adjust
1675 * funcrequest.C (getArg): take unsigned int as arg
1677 * ToolbarBackend.C (read): adjust
1678 (add): delete version that takes func as a string.
1679 (getIton): take a FuncRequest as arg
1681 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1684 * MenuBackend.C (MenuItem): add a new construct that only takes a
1685 Kind, simplify the constructor use for submenus.
1687 (expandLastfiles): adjust
1688 (expandDocuments): adjust
1689 (expandFormats): adjust
1690 (expandFloatListInsert): adjust
1691 (expandFloatInsert): adjust
1692 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1694 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1695 Remove class variables lyx_pseudo_map and lyx_arg_map
1697 * LyXAction.C (searchActionArg): delete function
1698 (getPseudoAction): delete function
1699 (retrieveActionArg): delete function
1700 (LookupFunc): make it return kb_action, simplify.
1701 (getActionName): simplify
1703 * factory.C (createInset): fix new bug
1705 2003-09-19 Angus Leeming <leeming@lyx.org>
1707 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1708 masterFilename_ parameter in the include inset.
1710 * factory.C (createInset): changes due to the changes to InsetInclude.
1712 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1714 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1716 2003-09-18 Angus Leeming <leeming@lyx.org>
1719 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1720 Inset::fillWithBibKeys.
1721 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1723 2003-09-18 Angus Leeming <leeming@lyx.org>
1725 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1727 (ctor): pass and store a 'Buffer const &'
1728 (buffer): new member function.
1730 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1731 '*this' to the LaTeXFeatures ctor.
1733 2003-09-18 Angus Leeming <leeming@lyx.org>
1739 * text.C: rename EnumLColor as LColor_color.
1741 2003-09-18 Angus Leeming <leeming@lyx.org>
1743 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1744 remove #include "insets/insetbase.h" from cursor.h.
1746 2003-09-18 Angus Leeming <leeming@lyx.org>
1748 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1749 InsetOld_code to remove #include "inset.h".
1751 * iterators.C: add #include "insets/inset.h"
1753 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1755 * BufferView.C: remove more locking stuff that apparently doesn't
1756 do anything sensible.
1758 2003-09-16 André Pönitz <poenitz@gmx.net>
1761 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1764 2003-09-16 Angus Leeming <leeming@lyx.org>
1766 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1768 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1771 * paragraph.h: remove #include "lyxfont.h". Forward declare
1774 2003-09-16 Angus Leeming <leeming@lyx.org>
1776 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1777 of support/textutils.h.
1778 (isWord): move the contents of support/textutils.h's IsWordChar here.
1784 * text2.C: add #include "paragraph.h".
1787 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1789 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1795 * LaTeX.C: use namespace alias for lyx::support::os
1797 2003-09-16 Angus Leeming <leeming@lyx.org>
1800 * bufferview_funcs.C:
1803 * paragraph_pimpl.C:
1805 * text.C: add #include "LColor.h".
1807 2003-09-16 Angus Leeming <leeming@lyx.org>
1809 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1810 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1812 Store the FontBits::color variable as an int rather than as an
1813 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1816 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1817 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1818 string calls together.
1820 * lyxrc.C: add #include "LColor.h".
1822 2003-09-15 Angus Leeming <leeming@lyx.org>
1824 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1827 2003-09-15 Angus Leeming <leeming@lyx.org>
1829 * LColor.h: add an EnumLColor wrapper for LColor::color.
1831 * lyxfont.[Ch] (color, setColor, realColor):
1832 * lyxtext.h, text.C (backgroundColor):
1833 pass EnumLColor args to/from the functions, rather than LColor::color
1837 * lyxtext.h: forward declare EnumLColor.
1839 * lyx_main.C: add #include "LColor.h".
1841 2003-09-15 Angus Leeming <leeming@lyx.org>
1843 * .cvsignore: add lyx-gtk.
1845 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * ParagraphParameters.C
1854 * bufferview_funcs.C
1864 * vc-backend.C: remove usage of STRCONV
1866 2003-09-15 Angus Leeming <leeming@lyx.org>
1868 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1869 explicitly define the color passed to the painter.
1871 2003-09-15 Angus Leeming <leeming@lyx.org>
1873 * bufferparams.C (BufferParams): reorder member initializers to avoid
1876 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1878 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1879 * text.C (updateRowPositions): remove an unusual nop
1881 2003-09-12 André Pönitz <poenitz@gmx.net>
1883 * BufferView_pimpl.C:
1892 * Counters.[Ch]: finish the 'automatic counters' job
1894 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1896 * aspell.C: include <boost/assert.cpp> (compile fix)
1898 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1900 * boost.C (assertion_failed): use lyx::support::abort instead of
1903 2003-09-10 Angus Leeming <leeming@lyx.org>
1905 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1906 with their _fwd progeny.
1908 2003-09-09 Angus Leeming <leeming@lyx.org>
1910 134 files throughtout the source tree: replace 'using namespace abc;'
1911 directives with the appropriate 'using abc::xyz;' declarations.
1913 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1915 * boost.C (emergencyCleanup): moved here from LAssert.c
1916 (assertion_failed): new function, called by BOOST_ASSERT
1918 * several files: change Assert to BOOST_ASSERT
1920 2003-09-09 Angus Leeming <leeming@lyx.org>
1922 * buffer.[Ch]: Add an Impl class and move Buffer's member
1923 variables into it. As a result move several header files out of
1926 Add header files to lots of .C files all over the tree as a result.
1928 2003-09-09 Angus Leeming <leeming@lyx.org>
1930 * buffer.[Ch]: make Buffer's member variables private. Add
1933 Lots of changes all over the tree as a result.
1935 2003-09-08 Angus Leeming <leeming@lyx.org>
1937 * graph.C: #include <config.h>.
1939 2003-09-08 Angus Leeming <leeming@lyx.org>
1943 * BufferView_pimpl.C:
1972 * toc.C: remove redundant using directives.
1974 2003-09-07 Angus Leeming <leeming@lyx.org>
1976 * LaTeXFeatures.h: remove #include "support/types.h".
1977 * ToolbarBackend.h: remove #include <algorithm>.
1978 * changes.h: remove #include <ctime>.
1979 * debug.h: remove #include <iosfwd>.
1980 * graph.h: remove #include "support/std_string.h".
1981 * lyx_main.h: remove #include <csignal>.
1982 * lyxlex_pimpl.h: remove #include <fstream>.
1983 * sgml.h: remove #include <algorithm>, <utility>.
1984 * toc.h: remove #include "support/std_ostream.h".
1985 Add #include <iosfwd>.
1987 2003-09-07 Angus Leeming <leeming@lyx.org>
1989 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1991 * converter.h: forward declare LatexRunParams.
1992 * encoding.h: remove #include "lyxrc.h".
1993 * lyxtext.h: remove #include "LColor.h".
1994 * lyxtextclass.h: remove #include "support/types.h".
1995 * trans.h: remove #include "tex-accent.h".
1996 * trans_mgr.h: remove #include "tex-accent.h".
1997 * insets/inset.h: remove #include "support/types.h", <vector>.
1998 * insets/insetcollapsable.h: remove #include "LColor.h".
1999 * insets/insetinclude.h: remove #include "dimension.h".
2000 * insets/insetlatexaccent.h: remove #include "dimension.h".
2001 * insets/insetoptarg.h:: remove #include "insettext.h".
2002 * insets/insettext.h: remove #include "dimension.h",
2003 <boost/shared_ptr.hpp>
2005 * insets/renderers.h: add #include "dimension.h".
2006 * insets/updatableinset.h: add #include "support/types.h".
2008 * many .C files: Associated changes.
2010 2003-09-06 Angus Leeming <leeming@lyx.org>
2012 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2013 one, inside testInvariant.
2015 * PrinterParams.C: new file.
2016 * PrinterParams.[Ch]: move the function bodies out of line.
2018 2003-09-06 Angus Leeming <leeming@lyx.org>
2020 * ParagraphParameters.h: forward declare ParameterStruct rather than
2021 including its header file.
2022 (depth): moved out-of-line.
2024 2003-09-06 Angus Leeming <leeming@lyx.org>
2026 * BufferView_pimpl.h:
2029 * lyxfunc.h: forward declare LyXKeySym rather than
2030 #include "frontends/LyXKeySym.h".
2032 * BufferView_pimpl.C:
2035 * lyxfunc.C: associated changes.
2037 2003-09-06 Angus Leeming <leeming@lyx.org>
2039 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2040 As a result, can remove the #include "insets/inset.h" from BufferView.h
2042 2003-09-06 Angus Leeming <leeming@lyx.org>
2044 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2045 As a result, can remove the #include "insets/inset.h" from BufferView.h
2047 2003-09-06 Angus Leeming <leeming@lyx.org>
2053 * bufferview_funcs.C:
2054 * BufferView_pimpl.C:
2059 * ParagraphParameters.C:
2064 * frontends/controllers/ControlDocument.C:
2065 * insets/insetcaption.C: rearrange the #includes into some sort of
2068 * buffer.h: remove #includes ErrorList.h, undo.h
2070 2003-09-06 Angus Leeming <leeming@lyx.org>
2072 * support/types.h: add a 'depth_type' typedef, used to store the
2073 nesting depth of a paragraph.
2076 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2077 defining explicitly.
2080 * paragraph_funcs.h:
2081 * ParagraphParameters.h:
2082 * sgml.h: use lyx::depth_type rather than Paragraph or
2083 ParameterStruct's depth_type.
2086 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2089 * BufferView_pimpl.C:
2091 * ParagraphParameters.C:
2094 * bufferview_funcs.C:
2101 * frontends/LyXView.C:
2102 * frontends/controllers/ControlDocument.C:
2103 * frontends/controllers/ControlErrorList.C:
2104 * insets/insetbibitem.C:
2105 * insets/insetbranch.C:
2106 * insets/insetcaption.C:
2107 * insets/insetcollapsable.C:
2108 * insets/insetenv.C:
2109 * insets/insetert.C:
2110 * insets/insetfloat.C:
2111 * insets/insetfoot.C:
2112 * insets/insetfootlike.C:
2113 * insets/insetnewline.C:
2114 * insets/insetquotes.C:
2115 * insets/insettabular.C:
2116 * insets/insettext.C:
2117 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2119 * frontends/controllers/ControlChanges.C: #include "changes.h".
2121 2003-09-06 Angus Leeming <leeming@lyx.org>
2123 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2124 than #including paragraph.h.
2127 * RowList.h: deleted. Superfluous.
2137 * insets/insettext.h: use ParagraphList_fwd.h rather than
2140 * paragraph.h: don't forward declare ParagraphList.
2143 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2144 rather than ParagraphList.h. paragraph.h is still needed for the
2145 Paragraph::depth_type parameters.
2147 * textcursor.h: enable it to compile stand-alone in light of the
2150 * bufferview_funcs.C:
2162 * frontends/controllers/ControlParagraph.C:
2163 * frontends/controllers/ControlTabular.C:
2164 * insets/insetmarginal.C:
2165 * insets/insetminipage.C:
2166 * insets/insetnote.C:
2167 * insets/insetoptarg.C: add header files needed to compile again.
2169 2003-09-06 Angus Leeming <leeming@lyx.org>
2171 * RowList_fwd.h: new file, forward-declaring Row rather than
2172 #including lyxrow.h.
2177 * insets/insettext.h: use it instead of RowList.h
2179 * bufferview_funcs.C:
2186 * text3.C: #include "RowList.h".
2188 2003-09-05 Angus Leeming <leeming@lyx.org>
2190 * factory.C (createInset):
2191 * vspace.C (c-tor): replace sscanf call with an istringstream.
2192 * ispell.C: re-add missing HP/UX headers.
2193 * lyxserver.C: re-add missing os2 headers.
2195 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2204 * text3.C: re-add missing system headers, needed for 2.95.2.
2206 2003-09-05 Angus Leeming <leeming@lyx.org>
2208 Changes most place everywhere due to the removal of using directives
2209 from support/std_sstream.h.
2211 2003-09-05 Angus Leeming <leeming@lyx.org>
2213 Replace LString.h with support/std_string.h,
2214 Lsstream.h with support/std_sstream.h,
2215 support/LIstream.h with support/std_istream.h,
2216 support/LOstream.h with support/std_ostream.h.
2218 Changes resulting throughout the tree.
2220 2003-09-05 Angus Leeming <leeming@lyx.org>
2222 * sgml.h: ensure that the header file can be compiled stand-alone.
2223 * *.C: strip out redundant #includes. (320 in total.)
2225 2003-09-04 Angus Leeming <leeming@lyx.org>
2227 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2228 here (from getPackages).
2230 * debug.[Ch]: add a new EXTERNAL tag.
2232 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2234 * text2.C (cursorEnd): simplify
2236 (getColumnNearX): adjust
2238 * text.C (computeBidiTables): adjust
2241 * rowpainter.C (paintChars): adjust
2242 (paintSelection): adjust
2243 (paintChangeBar): adjust
2246 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2248 (numberOfSeparators): adjust
2250 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2256 * text3.C: Restricts the mouse click functionality
2257 of insets like bibtex, include, toc and floatlist to the visible
2258 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2259 up the dialogs. Cursor has to be in front of the inset (i.e.
2260 start of row) for this to function.
2262 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2264 * bufferview_funcs.C (currentState): output row information
2266 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2268 * bufferview_funcs.C (currentState): output paragraph position
2270 2003-09-04 Angus Leeming <leeming@lyx.org>
2272 * FloatList.h: move out #include "Floating.h".
2273 * LaTeX.h: move out #include "DepTable.h".
2274 * LyXAction.h: move out #include "funcrequest.h".
2275 * buffer.h: move out #include "author.h", "iterators.h".
2276 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2277 * lyx_main.h: move out #include "errorlist.h".
2278 * lyxfunc.h: move out #include "FuncStatus.h".
2279 * lyxtext: move out #include "lyxcursor.h".
2280 * paragraph_pimpl.h: move out #include "counters.h".
2282 2003-09-03 Angus Leeming <leeming@lyx.org>
2284 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2285 preamble_snippets list, enabling us to add snippets to the preamble
2286 only if the snippet was not there already.
2288 2003-09-04 Angus Leeming <leeming@lyx.org>
2290 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2292 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2294 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2297 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2299 * BranchList.C: point fix, earlier forgotten
2301 2003-09-02 Angus Leeming <leeming@lyx.org>
2303 * box.C (contains): renamed from 'contained' after a fantastic
2306 2003-09-02 John Levon <levon@movementarian.org>
2312 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2314 2003-09-02 John Levon <levon@movementarian.org>
2316 * text2.C: simplification of cursorEnd(), including partial
2319 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2321 * buffer.C (readFile): add a space
2323 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2325 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2327 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2329 * buffer.C (readFile): new function, take a filename and a
2330 ParagraphList::iterator
2332 (readFile): adjust, make it private. don't use setStream, make
2333 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2334 always contain the filename.
2336 * BufferView.C (insertLyXFile): simplify and make it work for
2339 2003-08-30 John Levon <levon@movementarian.org>
2341 * Makefile.am: fix dist (from Kayvan)
2343 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * most files: change to use const Buffer refs
2347 2003-08-27 André Pönitz <poenitz@gmx.net>
2349 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2350 on top of ownerPar().
2352 2003-08-27 John Levon <levon@movementarian.org>
2354 * funcrequest.C: properly initialise POD members
2356 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2358 * lyxtext.h (top_y): move top_y from here
2363 * BufferView_pimpl.[Ch]: to here
2364 * frontends/screen.C:
2365 * insets/insettabular.C:
2366 * insets/insettext.C: adjust
2367 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2369 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2372 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2374 2003-08-26 André Pönitz <poenitz@gmx.net>
2376 * paragraph_func.[Ch] (outerPar): new function
2379 * paragraph_funcs.C:
2380 * paragraph_funcs.h:
2381 * paragraph_pimpl.C:
2382 * text2.C: remove Inset::par_owner
2384 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2389 * text2.C: eliminates the needFullRow/display() stuff
2390 altogether, putting the logic in metrics/draw in the insets.
2392 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2394 * text2.C (redoParagraphInternal, redoParagraphs):
2395 * text.C (redoParagraph): add a call to updateRowPositions at the
2396 end of each 'metrics-like' call. Remove all others.
2397 (getRow): remove the 'y-computing' version.
2398 (getRowNearY): do not compute nor return the real y. Solve the
2399 'y < 0' problem and simplify.
2401 2003-08-22 Angus Leeming <leeming@lyx.org>
2403 * *.[Ch]: clean-up of licence and author blurbs.
2404 Also move config.h out of a few .h files and into a few .C files.
2406 2003-08-22 André Pönitz <poenitz@gmx.net>
2408 * lyxrow.[Ch]: add x_ and *fill_ members
2413 * text2.C: adjust/remove prepareToPrint() calls
2415 2003-08-22 André Pönitz <poenitz@gmx.net>
2417 * lyxrow.[Ch]: add end_ member
2419 * lyxrow_funcs.C: use LyXRow::end_
2421 * lyxtext.h (singleWidth): add LyXFont parameter
2424 * text2.C: adjust LyXText::singleWidth() calls
2426 * text.C (redoParagraph): simplify row breaking logic
2429 2003-08-19 André Pönitz <poenitz@gmx.net>
2431 * funcrequest.C: initialize button_ member
2434 * rowpainter.[Ch]: interface consolidation
2436 2003-08-18 André Pönitz <poenitz@gmx.net>
2439 * BufferView_pimpl.C:
2441 * paragraph_funcs.C:
2443 * text3.C: remove LyXScreen::draw() and fitCursor calls
2445 * BranchList.h: remove spurious semicolons
2447 * MenuBackend.C: fix branchlist related crash
2449 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2457 * bufferparams.[Ch]:
2461 * text3.C: implements the 'branch inset'
2462 idea. This allows the output of various versions of a document
2463 from a single source version, selectively outputing or suppressing
2464 output of parts of the text.
2465 This implementation contains a 'branch list editor' in a separate
2466 tab of the document settings dialog. Branches are user definable
2467 and have a "display colour" to distinguish them on-screen.
2469 ColorHandler was somewhat cleaned up.
2470 (1) make possible a dynamically growing LColor list by allowing
2471 the graphic context cache to grow along (vector);
2472 (2) eliminate an IMHO unnecessary step in colour allocation.
2474 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2476 * BufferView_pimpl.C: compile fix
2478 2003-08-15 André Pönitz <poenitz@gmx.net>
2480 * rowpainter.C: remove extra metrics calls
2482 * lyxtext.h: merge the two constructors into a single one,
2483 pass reference to owner's par list
2485 * BufferView_pimpl.C:
2489 2003-08-15 André Pönitz <poenitz@gmx.net>
2491 * lyxrow_funcs.[Ch]:
2494 * paragraph_funcs.C:
2499 * text_funcs.C: split LyXText::rowlist_ into individual
2500 Paragraph::rows_ chunks
2503 * BufferView_pimpl.[Ch]:
2506 * text3.C: remove toggleSelection()
2508 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2510 * bufferlist.C: beautify two alerts (shorter text of buttons)
2511 * buffer.C: Remove redundant ' ' from message
2513 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2514 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2515 rename VALIGN_CENTER to VALIGN_MIDDLE
2517 2003-08-11 André Pönitz <poenitz@gmx.net>
2519 * lyxtext.h (getPar):
2520 * text.C: new function
2522 2003-08-11 André Pönitz <poenitz@gmx.net>
2525 * tracer.[Ch]: remove unneeded files
2527 * InsetList.[Ch]: remove resizeInsetsLyXText()
2532 * text3.C: merge insertParagraphs() and appendParagraph()
2533 remove breakAgain(), update()
2535 * BufferView_pimpl.[Ch]:
2536 * bufferview_funcs.[Ch]:
2540 * tabular.C: adjust after text & InsetList changes.
2542 2003-08-08 André Pönitz <poenitz@gmx.net>
2544 * text.C (insertChar, backspace): replace rowlist fiddling
2545 with rebreak of full par
2548 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2549 checkParagraph, updateInset): removed
2551 2003-08-07 André Pönitz <poenitz@gmx.net>
2554 * text3.C: merge some LFUN handlers, remove dead code
2556 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2558 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2560 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2562 * text2.C (DEPM): fix part of bug 1255 and 1256
2564 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2566 * BufferView_pimpl.C (workAreaDispatch): change to use
2567 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2568 that are no mouse related.
2570 2003-08-05 André Pönitz <poenitz@gmx.net>
2573 * BufferView_pimpl.[Ch]:
2574 * bufferview_funcs.C:
2576 * text3.C: rip out "deep update"
2578 * textcursor.[Ch] (last_sel_cursor): remove unused member
2580 2003-08-04 André Pönitz <poenitz@gmx.net>
2583 * BufferView_pimpl.[Ch]:
2584 * ParagraphParameters.C:
2585 * bufferview_funcs.C:
2591 * text3.C: replace "complicated" BufferView::update(...) calls with
2594 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2596 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2598 * Makefile.am (lyx_SOURCES): add paper.h
2600 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2602 * Makefile.am: move things around so that both lyx-qt and
2603 lyx-xforms can be built (according to --with-frontend). Then lyx
2604 is a symbolic link to lyx-[firstfrontend]
2606 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2608 * Always use std::endl with lyxerr
2610 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2612 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2614 2003-08-01 André Pönitz <poenitz@gmx.net>
2617 * BufferView_pimpl.[Ch]:
2619 * text3.C: merge BufferView::repaint() and BufferView::update()
2621 2003-08-01 José Matos <jamatos@lyx.org>
2623 * buffer.[Ch]: file_format is no longer a buffer data element.
2625 2003-08-01 André Pönitz <poenitz@gmx.net>
2630 * text2.C: make redoParagraph more independent of current cursor
2632 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2634 * text2.C: remove unneeded members
2636 2003-07-30 André Pönitz <poenitz@gmx.net>
2638 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2640 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2641 create a single function...
2643 * paragraph_funcs.C (moveItem): ... here.
2646 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2648 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2650 * LColor.[Ch]: Add comment and greyedout logical colors.
2652 2003-07-30 André Pönitz <poenitz@gmx.net>
2654 * tabular.C: don't use Assert too heavily. This crashes where it
2657 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2659 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2660 is disabled (bug 1232)
2662 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2664 * factory.C: limited 'arg' scope
2666 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2668 * factory.C: fixed Note submenu issues
2670 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2672 * factory.C: submenu for Note/Comment/Greyedout
2674 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2677 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2679 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2682 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2683 greyedout. Patch provided by Jürgen Spitzmüller.
2685 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2687 * kbmap.C (read): fix error message when reading bind files
2689 2003-07-29 Angus Leeming <leeming@lyx.org>
2691 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2692 certainly does not do what it purports to do. I am doing it, and
2693 us, a favour by killing it.
2695 2003-07-28 José Matos <jamatos@lyx.org>
2697 * buffer.C (readBody, do_writeFile):
2698 * paragraph.C(readParagraph): \end_document replaces \the_end.
2700 2003-07-29 André Pönitz <poenitz@gmx.net>
2703 * BufferView_pimpl.[Ch]:
2707 * textcursor.[Ch]: remove toggleToggle & Co
2709 2003-07-28 José Matos <jamatos@fep.up.pt>
2711 * buffer.C (readParagraph):
2712 * params_func (readParToken, readParagraph):
2713 * paragraph.C (write): \layout -> \begin_layout.
2715 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * lyxlex_pimpl.C (setFile): clean up slightly.
2719 * bufferparams.h: add compressed var
2721 * buffer_funcs.C (readFile): adjust for LyXLex change
2722 (newFile): ditto + simplify
2724 * buffer.C (writeFile): handle writing of compressed files
2726 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2727 Check if the file is compressed and set a bufferparm if so.
2729 * Makefile.am (lyx_LDADD): remove explicit -lz
2731 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2733 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2734 makeDocBookFile): put the real LyX version in the first line of
2738 * version.C.in: remove lyx_docversion
2740 * tabular.C (write_attribute): add a template-based version to
2741 write enums properly
2743 2003-07-28 André Pönitz <poenitz@gmx.net>
2748 * text3.C: use doubles again for x-coordinates. They are needed.
2750 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * messages.C (getLocaleDir): use lyx_localedir()
2754 * lyxlex_pimpl.C (setFile): compress stuff
2756 * buffer.C (writeFile): add some compression stuff
2757 (do_writeFile): new func, dont call expliti close... will this
2760 * Makefile.am (lyx_LDADD): add -lz
2762 2003-07-28 José Matos <jamatos@fep.up.pt>
2764 * buffer.C: increment file format.
2765 * paragraph_funcs (readParagraph, readParToken):
2766 * paragraph.C (readParagraph): add \end_layout.
2768 2003-07-27 Angus Leeming <leeming@lyx.org>
2770 * Makefile.am: remove special casing for configure-time setting of
2771 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2773 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2774 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2776 2003-07-26 André Pönitz <poenitz@gmx.net>
2778 * paragraph_func.[Ch]:
2779 * paragraph.C (realizeFont): inline it whereever it is used
2784 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2787 2003-07-26 André Pönitz <poenitz@gmx.net>
2791 * text2.C: get rid of LyXText::need_break_row
2793 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * toc.[Ch]: put namespace toc inside namespace lyx
2797 * MenuBackend.C (expandToc2): adjust for lyx::toc
2800 * lyxfunc.C (dispatch): adjust for lyx::find
2802 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2803 lyx::find instead. Reorganize a bit.
2804 (LyXReplace): rename to replace
2805 (LyXFind): rename to find
2807 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2810 2003-07-26 André Pönitz <poenitz@gmx.net>
2812 * text.C (setHeightOfRow): restrict scope of temporary variable
2814 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2815 code (never has been used?)
2817 2003-07-27 Asger Alstrup <alstrup@local>
2819 * text.C (fill): Optimise algorithm to exploit that we can reuse
2820 the LyXFont for many characters.
2821 (setHeightOfRow): Same thing.
2822 (rowBreakPoint): Same thing.
2824 2003-07-26 Asger Alstrup <alstrup@local>
2826 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2828 * text.C (singleWidth): Spurious font copying in hot-spot
2829 singleWidth avoided. Reorder tests for arabic for efficiency.
2831 * text.C (fill): handle empty paragraphs better.
2833 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2836 * encoding.h: add includes
2838 * lyxrc.C: remove reading of bind files
2840 * lyx_main.C (init): setup bindings and menus only if we have a
2843 * kbmap.C (read): new method. Do the actual reading of bind
2846 * converter.C (dvipdfm_options):
2849 (output): adapt PAPER_* enums.
2851 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2853 * bufferparams.h: remove paper-related enums from there
2855 * paper.h: New file. A trivial header file to hold paper-related
2856 enums. It should later expand to contain many paper-related
2859 * lyxrc.C: declare extern displayTranslator
2861 2003-07-27 José Matos <jamatos@fep.up.pt>
2863 * tabular.[Ch] (linuxdoc): add support for tables and figures
2866 2003-07-27 José Matos <jamatos@fep.up.pt>
2868 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2869 consistency in both functions.
2870 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2872 2003-07-26 Asger Alstrup <alstrup@local>
2874 * rowpainter.C (paintRows): Change algorithm to work directly on
2875 the insets rather than asking every character in the document
2876 whether its an inset.
2878 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2880 * buffer.C (openFileWrite): factorize some code
2882 2003-07-26 Angus Leeming <leeming@lyx.org>
2885 * lyx_main.[Ch]: replace occurances of system_tempdir with
2888 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * rename Inset to InsetOld
2892 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2894 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2895 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2896 which I think is a bit clearer. EDIT is gone, since it was
2897 premature optimisation, and broken for mathed anyway.
2898 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2899 with cursor positioning in insets as well (math insets still do not
2900 work, but that's a different story anyway.) It mysteriously
2901 crashes sometimes with undo in the first paragraph, but I'm fairly
2902 confident that this is a compiler bug.
2904 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * paragraph.C (Paragraph): adjust for new clone return type
2908 (copyIntoMinibuffer): ditto
2910 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2912 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2913 by not having a special case, and always doing a full rebreak of
2914 the document after undo.
2916 2003-07-23 Angus Leeming <leeming@lyx.org>
2918 * factory.C (createInset): InsetExternal::setParams now takes a
2921 2003-07-23 Angus Leeming <leeming@lyx.org>
2923 * factory.C (createInset): changed interface to the external and
2924 graphics mailers' string2params functions.
2926 2003-07-23 Angus Leeming <leeming@lyx.org>
2928 * factory.C (createInset): pass a
2929 Buffer const * parameter to InsetExternalMailer's string2params.
2931 2003-07-22 John Levon <levon@movementarian.org>
2933 * Thesaurus.h: include the right aiksaurus header
2935 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2937 * MenuBackend.C (expand): check menu shortcuts unconditionally
2939 2003-07-21 Angus Leeming <leeming@lyx.org>
2941 * factory.C (createInset): pass a
2942 buffer_path parameter to InsetGraphicsMailer's string2params.
2944 2003-07-21 Angus Leeming <leeming@lyx.org>
2946 * BufferView_pimpl.C (buffer):
2949 * lyxfunc.C (dispatch):
2950 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2951 rather than the grfx shortcut.
2953 2003-07-21 André Pönitz <poenitz@gmx.net>
2955 * rowpainter.C: remove unused variables
2958 * tabular_funcs.h: move to tabular.C
2959 * Makefile.am: adjust
2961 * tabular.[Ch]: basic optical cleaning
2963 * author.h: pass references, not values
2965 2003-07-18 André Pönitz <poenitz@gmx.net>
2973 * text3.C: two-phase drawing for InsetText and InsetTabular
2974 some float -> int changes.
2976 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2978 * lyx_main.C: fix the fix
2980 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2982 * lyx_main.C: fix a crash in batch mode if no files specified
2985 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2987 * format.[Ch] (papersize): moved to BufferParams
2988 * converter.[Ch] (dvips_options): moved to BufferParams
2989 (dvipdfm_options): moved to anon namespace
2990 * bufferparams.[Ch]: added above functions.
2992 2003-07-17 André Pönitz <poenitz@gmx.net>
2996 * text2.C: don't call inset->update() anymore
2998 * metricsinfo.[Ch]: add convenience constructor
3000 2003-07-16 André Pönitz <poenitz@gmx.net>
3005 * text2.C: replace the LyXCursor::irow_ member with
3006 on-demand computation of the value
3008 2003-07-16 John Levon <levon@movementarian.org>
3010 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3012 2003-07-15 André Pönitz <poenitz@gmx.net>
3015 * text2.C: remove no more needed refresh_row
3017 2003-07-15 André Pönitz <poenitz@gmx.net>
3022 * text3.C: refresh_status tristate -> need_update bool
3024 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3026 * lyxtext.h (init): remove reinit argument (act as if always true)
3027 * text2.C: adjust to that
3029 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3031 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3032 * text3.C: use it to delete selections in some cases
3033 (bugs 441, 673, 702, 954).
3035 2003-07-14 André Pönitz <poenitz@gmx.net>
3037 * rowpainter.[Ch]: reduce interface
3039 2003-07-14 André Pönitz <poenitz@gmx.net>
3041 * BufferView_pimpl.C:
3042 * text2.C: adjust after removing unused BufferView * argument
3044 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3046 * text2.C (init): fix a crash fired on resize
3048 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3050 * buffer.[Ch]: added new closing signal
3051 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3052 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3053 BufferView::Pimpl via the closing the signal
3055 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3057 * buffer.[Ch]: take out all bv-related from buffer
3059 * BufferView_pimpl.[Ch]: connect to new signals
3060 * CutAndPaste.C: removed useless asserts
3061 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3064 * lyxfunc.C: moved view-related funciontality from vc here
3065 * paragraph.C: removed outdated comments
3068 2003-07-10 André Pönitz <poenitz@gmx.net>
3070 * BufferView_pimpl.C:
3074 * text2.C: remove InsetText::InnerCache, clean up consequences
3076 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3078 * ispell.C: fix two typos in error messages
3080 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3082 * Extend Note inset to other forms of annotation like Comment
3083 and Greyedout. Right button click gives dialog.
3085 Files modified or added (+):
3089 * ControlNote.[Ch] +
3091 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3092 frontends/controllers
3096 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3098 * aspell.C: add missing namespace lyx::support
3100 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3102 * BufferView.[Ch] (newFile): Add
3103 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3104 * LaTeX.[Ch] (message): added this signal and use it
3105 * buffer.[Ch] (busy, message): added these signals and use them
3106 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3110 * importer.C: use buffer signals instead of direct bv calling
3111 * lyx_cb.[Ch] (ShowMessage): removed
3114 * paragraph_funcs.C:
3115 * text2.C: use buffer signals
3117 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3119 * introduce namespace lyx::graphics
3121 2003-07-02 André Pönitz <poenitz@gmx.net>
3123 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3125 2003-07-01 André Pönitz <poenitz@gmx.net>
3132 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3133 text*.C to text_func.C
3135 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3137 * introduce namespace lyx::support
3139 2003-06-30 André Pönitz <poenitz@gmx.net>
3144 * text.C: re-enable --with-included-string
3146 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * textcursor.C: add <config.h>
3150 * text.C (getWord): remove const from word_location arg
3152 * lyxvc.C (getLogFile): fix const type order
3154 * lyxtext.h: remove const from word_location arg, add arg name
3156 * lyxlayout.h: currect type on labeltype.
3158 * importer.C: correct \file
3160 * converter.C (intToFormat): use std:: on ret val, ws changes
3162 * bufferlist.h: correct \file
3164 * buffer.C (makeLinuxDocFile): fix const type order
3165 (makeDocBookFile): ditto
3166 (fillWithBibKeys): use std:: on stdlib args.
3168 * CutAndPaste.C: fix authors.
3169 (availableSelections): use std:: on return vector
3171 2003-06-27 André Pönitz <poenitz@gmx.net>
3173 * BufferView_pimpl.C:
3174 * bufferview_funcs.C:
3182 * text3.C: remove LyXCursor::row_ member
3185 * text.C: rename fullRebreak() to partialRebreak() and implement
3186 a fullRebreak() that really bereks fully
3188 * textcursor.h: new struct for cursor-related data
3190 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3192 * lyx_main.C (LyX): get full path of document loaded on the
3195 2003-06-26 André Pönitz <poenitz@gmx.net>
3197 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3198 remove unused/broken operator>,<,>=.
3200 * text.C: remove only use of broken operator<= in an Assert().
3202 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3204 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3205 moved errorlist_.clear to showErrorList
3207 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3209 * converter.C (scanLog, runLaTeX):
3210 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3211 move the bv->showErrorList call to the callers
3212 * lyxfunc.C: i.e. here...
3214 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3215 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3216 namespace, the second to...
3217 * buffer_funcs (BufferFormat, parseErrors): added
3218 * errorlist.C (ErrorList(TeXErrors const &)): removed
3220 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3222 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3224 2003-06-24 "Garst R. Reese" <reese@isn.net>
3228 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3230 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3232 * version.C.in: change docversion to 1.4
3234 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3236 * buffer.C: fix a bug just introduced
3238 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3240 * buffer.[Ch]: added the parseError signal and use it, removed
3242 * BufferView.[Ch] (addError): moved to ...
3243 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3244 to the Buffer::parseError signal to catch (guess what) parse errors
3245 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3247 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3249 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3250 ability to create a buffer and to return an existing one from
3251 the list. Moved these functions to...
3252 * buffer_funcs.[Ch]: added
3253 * BufferView.[Ch] (loadLyXFile): added
3254 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3255 job removed from bufferlist::loadLyXFile.
3256 * buffer.C (setReadOnly): make it work without view
3257 (i.e added an if (users))
3259 2003-06-19 Angus Leeming <leeming@lyx.org>
3262 * LyXAction.C (init):
3263 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3264 with LFUN_DIALOG_SHOW <name> <data>.
3266 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3268 * CutAndPaste.C (availableSelections): small compilation fix for
3269 ancient (gcc 2.9x) compilers
3271 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * text3.C (cursorNext): add tmp var
3275 * text2.C (updateCounters): for function calling out of for clause
3276 (replaceSelectionWithString): ditto
3277 (insertStringAsParagraphs): ditto
3278 (getColumnNearX): add tmp var
3279 (setCursorFromCoordinates): add tmp var
3280 (cursorDownParagraph): add tmp var
3281 (deleteEmptyParagraphMechanism): add tmp var
3283 * text.C (insertChar): add tmp var
3285 * rowpainter.C (paintDepthBar): add tmp var
3287 * CutAndPaste.C (availableSelections): potentially check all
3288 paragraphs in a cut to fill the shown strings.
3290 2003-06-18 André Pönitz <poenitz@gmx.net>
3292 * kbmap.[Ch]: use vector<> instead of list<>
3294 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3296 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3297 pasteSelection with index
3299 * text2.C (pasteSelection): modify, call pasteSelection with index
3301 * paragraph.C (asString): reimplement version with no interval to
3302 call the one with interval.
3304 * lyxtext.h: add index arg to pasteSelection
3306 * MenuBackend.C (MenuItem): handle PasteRecent
3307 (Menu::read::Menutags): add md_pasterecent
3309 (expandPasteRecent): new function
3312 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3314 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3316 (availableSelections): new function
3318 2003-06-17 Angus Leeming <leeming@lyx.org>
3320 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3322 2003-06-17 Angus Leeming <leeming@lyx.org>
3325 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3327 * lyxfunc.C (dispatch): invoke it.
3329 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3331 * iterators.C (operator++, ParPosition): reintroduce some
3332 const_cast for the benefit of older compilers.
3334 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3336 * text3.C (dispatch): do not modify clipboard when doing
3337 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3338 LFUN_DELETE_SKIP on a selection selection
3340 2003-06-16 André Pönitz <poenitz@gmx.net>
3346 * tabular.[Ch]: IU of clone() and getLabelList();
3348 2003-06-13 André Pönitz <poenitz@gmx.net>
3350 * tabular.h: compactification
3352 2003-06-12 André Pönitz <poenitz@gmx.net>
3356 * tabular_funcs.h: some renaming plus whitespace
3358 2003-06-12 André Pönitz <poenitz@gmx.net>
3361 * BufferView_pimpl.C:
3367 * toc.C: Return a Paragraph & for ParIterator::operator*()
3369 2003-06-11 John Levon <levon@movementarian.org>
3373 * ToolbarBackend.C: add "Toolbars" section and
3376 2003-06-10 Angus Leeming <leeming@lyx.org>
3379 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3381 * lyxfunc.C (dispatch): invoke it.
3383 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * main.C: protect <ios> with HAVE_IOS
3386 (main): protect sync_with_stdio with HAVE_IOS
3388 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3390 * text2.C (cutSelection): adjust
3391 (pasteSelection): adjust
3393 * messages.C: handle get of empty string
3395 * main.C (main): use sync_with_stdio(false)
3397 * lyxfunc.C (dispatch): adjust
3399 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3400 (WriteAs): remove unneeded BufferView arg.
3402 * bufferparams.h: use correct types on papersize, papersize2 and
3405 * bufferparams.C (readToken): adjust for type
3406 (writeLaTeX): add missing cases to switch.
3408 * bufferlist.C (quitWriteBuffer): adjust
3411 * buffer.C (asciiParagraph): remove some commented code.
3413 * CutAndPaste.C: remove current_view extern variable.
3414 (cutSelection): add BufferParams arg.
3415 (eraseSelection): add BufferParams arg.
3416 (pasteSelection): add Buffer const & arg
3418 2003-06-07 John Levon <levon@movementarian.org>
3421 * paragraph_funcs.C:
3422 * paragraph_pimpl.C:
3426 * paragraph.C: allow InsetERT to freely space lines,
3427 and some consolidation of code
3429 2003-06-06 José Matos <jamatos@fep.up.pt>
3431 * buffer.C (makeDocBookFile): fix bug #821
3433 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3435 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3437 2003-06-04 Angus Leeming <leeming@lyx.org>
3439 * buffer.C: bump format to 224.
3441 2003-06-05 André Pönitz <poenitz@gmx.net>
3443 * text2.C (redoParagraphs): remove two const_cast<>
3445 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3447 * ParagraphList.h: remove last remnants of NO_STD_LIST
3449 2003-06-03 Angus Leeming <leeming@lyx.org>
3451 * factory.C (createInset): small change to the way InsetExternal's params
3454 2003-06-04 André Pönitz <poenitz@gmx.net>
3456 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3458 * paragraph_pimpl.h:
3459 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3461 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3463 * undo_funcs.C: make some simple cases of undo work again
3465 2003-06-03 John Levon <levon@movementarian.org>
3467 * ispell.C: HPUX doesn't have sys/select.h
3470 2003-06-03 John Levon <levon@movementarian.org>
3472 * CutAndPaste.C: update tabular and include inset
3477 * paragraph.C: remove owningBuffer(), don't pass Buffer
3480 * factory.C: insetGraphicsParams changed
3482 2003-06-02 John Levon <levon@movementarian.org>
3488 * text3.C: remove insetparent
3490 2003-06-02 John Levon <levon@movementarian.org>
3493 * buffer.C: fix inset_iterator.end(), move out of line
3496 2003-06-01 John Levon <levon@movementarian.org>
3498 * text3.C: use a proper cut/paste when doing inset
3499 insert (from Jürgen Spitzmüller)
3501 2003-06-01 John Levon <levon@movementarian.org>
3503 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3505 2003-05-30 André Pönitz <poenitz@gmx.net>
3507 * rowpainter.C: unify second drawing phase
3509 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * trans_mgr.C: remove one case of current_view
3513 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3515 * paragraph_funcs.h: remove paragraph.h include
3517 * paragraph.h: delete NO_STD_LIST stuff
3519 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3521 * buffer.h: remove paragraph.h include
3523 * ParagraphList.C: delete file
3525 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3527 * toc.C (getTocList): adjust
3529 * paragraph_pimpl.C (validate): adjust
3531 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3533 * paragraph.C (Paragraph): adjust
3534 (getPositionOfInset): use const_iterator, adjust
3535 (bibitem): use const_iterator, adjust
3536 (setInsetOwner): adjust
3538 * iterators.C (operator++): adjust
3540 * InsetList.[Ch]: Replace selfmade iterator with standard
3541 vector::iterator also introduce const_iterator. Remove getPos,
3542 getInset and setInset from InsetTable. Adjust accordingly.
3544 * BufferView.C (lockInset): adjust
3545 (ChangeInsets): adjust
3547 * tabular.[Ch]: delete commented same_id functions
3549 2003-05-28 John Levon <levon@movementarian.org>
3551 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3553 2003-05-28 André Pönitz <poenitz@gmx.net>
3555 * metricsinfo.[Ch]: remove 'fullredraw' member
3557 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3559 * lyxtextclass.C (operator): remove caching.
3561 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * text2.C (cursorBottom): adjust
3566 (setCounter): use ParagraphList::find, adjust
3568 * text.C (workWidth): use ParagraphList::find, adjust
3570 * lyxcursor.C (LyXCursor): adjust
3572 * buffer.C (inset_iterator): adjust
3574 * ParagraphList.h: make iterator(value_type) private, make
3575 ParagraphList a friend of iterator.
3577 * ParagraphList.C (find): new function
3579 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3581 2003-05-27 André Pönitz <poenitz@gmx.net>
3583 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3585 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3587 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3589 2003-05-26 John Levon <levon@movementarian.org>
3591 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3593 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * remove same_id from function signatures, adjust.
3597 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3601 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3603 * paragraph.C (Paragraph): get rid of same_ids parameter
3605 * ParagraphList.C (insert): adjust
3608 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * paragraph_funcs.C (breakParagraph): adjust
3611 (breakParagraphConservative): adjust
3613 * buffer.C (readParagraph): adjust
3615 * ParagraphList.C (insert): take a reference instead of a pointer
3618 * paragraph.[Ch] (id): new function
3620 * bufferlist.C (newFile): adjust
3622 * ParagraphList.C (ParagraphList): adjust
3624 (push_back): take a reference instead of a pointer.
3626 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3628 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3631 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3632 set else use old code.
3634 * ParagraphList.C: remove all NO_NEXT code and only compile this
3635 code of NO_STD_LIST is set.
3637 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3639 * BufferView_pimpl.C:
3649 * graphics/GraphicsConverter.C:
3650 * graphics/PreviewLoader.C: header adjustment
3652 2003-05-23 Angus Leeming <leeming@lyx.org>
3654 * LaTeXFeatures.[Ch] (useBabel): new method.
3655 * bufferparams.C (writeLaTeX): use it.
3657 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * ParagraphList.h (set): remove unused function.
3661 2003-05-23 André Pönitz <poenitz@gmx.net>
3664 * BufferView_pimpl.C:
3668 * undo_funcs.C: setUndo reworked
3670 * iterators.[Ch]: add access to topmost ParagraphList
3672 * lyxtext.[Ch] (workWidth): add a const
3674 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3676 * texrow.[Ch] (increasePos): remove function
3677 * exporter.C (export): removed unused var and outdated comment
3679 2003-05-23 Angus Leeming <leeming@lyx.org>
3681 * latexrunparams.h: rename fragile as moving_arg.
3682 * paragraph.C (simpleTeXOnePar): ditto.
3683 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3685 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3689 (textUndoOrRedo): comment out a currently unused var.
3691 * paragraph.h (NO_NEXT): enable NO_NEXT
3693 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3695 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3697 * exporter.C (Export): adjust for removeAutoInsets removal.
3699 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3701 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3703 * BufferView.[Ch] (removeAutoInsets): delete function
3705 2003-05-22 Angus Leeming <leeming@lyx.org>
3707 * latexrunparams.h: add a free_spacing variable.
3709 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3710 to pass moving_arg, as the data is stored in runparams.fragile.
3712 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3713 to Inset::latexOptional or to simpleTeXOnePar.
3715 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3716 free_spacing arg to Inset::latexOptional.
3718 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3721 2003-05-22 Angus Leeming <leeming@lyx.org>
3723 * latexrunparams.h: add fragile and use_babel variables.
3725 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3726 * buffer.C (makeLaTeXFile): store this returned value in
3727 runparams.use_babel, thus passing it to the inset::latex methods.
3729 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3730 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3732 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3733 longer has a fragile arg, as it is stored in runparams.fragile.
3735 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3736 moving_arg parameter as the data is stored in runparams.fragile.
3738 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3739 a fragile parameter as the data is stored in runparams.fragile.
3741 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3745 2003-05-22 Angus Leeming <leeming@lyx.org>
3747 * latexrunparams.h: add a 'bool nice' which defaults to false.
3749 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3750 now encapsulated within runparams.
3752 * bufferlist.C (updateIncludedTeXfiles):
3753 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3755 2003-05-22 Angus Leeming <leeming@lyx.org>
3757 * latexrunparams.h: new file containing struct LatexRunParams.
3758 * Makefile.am: add new file.
3760 * LaTeX.[Ch] (c-tor, run):
3761 * buffer.[Ch] (makeLaTeXFile):
3762 * bufferlist.[Ch] (updateIncludedTeXfiles):
3763 * converter.C (convert, scanLog):
3764 * converter.[Ch] (runLaTeX):
3765 * exporter.C (Export):
3766 * paragraph.[Ch] (simpleTeXOnePar):
3767 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3768 * paragraph_funcs.[Ch] (latexParagraphs):
3769 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3770 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3771 pass around a LatexRunParams parameter.
3773 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * paragraph.[Ch]: remove unused constructor
3777 * ParagraphList.C (erase): new function, taking two iterators
3779 2003-05-22 André Pönitz <poenitz@gmx.net>
3781 * undo_funcs.C: remove duplicated code
3783 * iterator.[Ch]: operator=
3785 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * tabular.C (SetMultiColumn): ws changes
3789 * rowpainter.C (paintFirst): get rid of a ->previous
3791 * lyx_cb.C (getPossibleLabel): parlist simplification
3793 * BufferView.C (ChangeInsets): simplify slightly.
3795 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3797 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3798 * lfuns.h: new LFUN_SPACE
3799 * lyxfunc.C: protected space has a new lfun
3800 * paragraph_funcs.C: read new space insets
3802 * factory.C: handle new space insets
3804 2003-05-22 André Pönitz <poenitz@gmx.net>
3807 * BufferView_pimpl.C:
3810 * undo_funcs.C: return a ParIterator from getParFromID.
3812 * iterators.[Ch]: add two const's
3814 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * toc.C (getTocList): adjust
3818 * iterators.[Ch]: rework for parlist
3820 * buffer.C (par_iterator_begin): adjust
3821 (par_iterator_end): adjust
3823 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3825 * BufferView.C (removeAutoInsets): adjust
3826 (ChangeInsets): adjust
3828 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3830 * text.C (top_y): fix bug 1110
3832 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3834 * errorlist.[Ch]: added
3837 * BufferView_pimpl.C:
3838 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3841 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * Makefile.am: ensure that lyx is relinked upon changes to the
3844 various "convenience" libs.
3846 2003-05-20 Angus Leeming <leeming@lyx.org>
3848 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3849 files are compiled in alphabetical order again.
3851 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3853 2003-05-19 Angus Leeming <leeming@lyx.org>
3855 * gettext.[Ch]: remove "char const * _(char const *)".
3857 2003-05-19 André Pönitz <poenitz@gmx.net>
3859 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3868 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3870 2003-05-19 André Pönitz <poenitz@gmx.net>
3874 * lyxtextclass.[Ch]:
3876 * paragraph_funcs.[Ch]:
3878 * text3.C: more insetenv work
3880 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3882 * ParagraphParameters.C (params2string): small bug fixed
3884 2003-05-16 André Pönitz <poenitz@gmx.net>
3887 * bufferview_funcs.C: patch from Kornel Benko to prevent
3888 crash when _(...) is called twice in a statement
3890 2003-05-16 André Pönitz <poenitz@gmx.net>
3897 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3899 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3901 * lyx_main.C (init): remove spurious static_cast
3903 2003-05-14 André Pönitz <poenitz@gmx.net>
3905 * BufferView.C: fix format string
3907 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3909 * BufferView.[Ch] (insertErrors): removed
3910 * BufferView.[Ch] (showErrorList): added
3911 * buffer.C (runChkTeX):
3912 * converter.C (scanLog): call showErrorList instead of inserterrors
3914 2003-05-13 André Pönitz <poenitz@gmx.net>
3916 * BufferView_pimpl.C:
3918 * bufferview_func.C:
3925 * tabular_funcs.h: tostr() from its own header
3927 * ParagraphParameters.C:
3932 * text3.C: STRCONV()
3934 2003-05-12 André Pönitz <poenitz@gmx.net>
3937 * BufferView_pimpl.C:
3941 * ParagraphParameters.C:
3945 * bufferview_funcs.C:
3958 * paragraph_funcs.C:
3962 * text3.C: boost::format -> bformat all over the place
3965 2003-05-09 André Pönitz <poenitz@gmx.net>
3967 * LColor.[Ch]: Pimpl the #include <map> away
3969 2003-05-09 John Levon <levon@movementarian.org>
3971 * bufferlist.C: never remove emergency saves
3973 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * Makefile.am: better lib building
3977 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3981 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3982 (simpleTeXSpecialChars): adjust
3983 (simpleTeXSpecialChars): adjust
3984 * paragraph.C (simpleTeXOnePar): adjust
3985 * buffer.C (makeLaTeXFile): adjust
3987 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3989 * text2.C (changeDepth): parlist cleanup
3990 (getColumnNearX): ditto
3992 * rowpainter.C (getLabelFont): parlist cleanup
3994 * bufferlist.C (newFile): parlist cleanup
3996 * CutAndPaste.C (eraseSelection): parlist cleanup
3998 * BufferView_pimpl.C (trackChanges): parlist cleanup
4001 * BufferView.C (lockInset): parlist cleanup.
4002 (ChangeInsets): ditto
4004 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * CutAndPaste.h: Update file header.
4008 * CutAndPaste.C: Update file header.
4009 Store the parts cut out of the Document in a limited_stack.
4010 (copySelection): adjust
4011 (pasteSelection): new function, takes the index in the limited stack.
4012 (nrOfParagraphs): adjust
4013 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4014 simplify error inset insertion.
4015 (checkPastePossible): adjust
4017 2003-05-06 John Levon <levon@movementarian.org>
4019 * text2.C: don't cast wrap inset to float
4021 2003-05-05 André Pönitz <poenitz@gmx.net>
4024 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4026 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4027 few naked Paragraph *.
4029 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4031 * bufferparams.C: Output warning if a document with missing
4032 TeX document class is loaded
4033 * exporter.C: Disable TeX exports if the document class is missing
4036 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4037 isTeXClassAvailable()
4039 2003-05-03 John Levon <levon@movementarian.org>
4042 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4043 explicit cursor show/hide
4045 * BufferView_pimpl.h:
4046 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4047 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4049 * lyxfunc.C: hide cursor before dispatching.
4054 * text3.C: remove explicit cursor hides
4056 2003-05-02 André Pönitz <poenitz@gmx.net>
4058 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4061 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4064 * text2.C: tiny whitespace
4066 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * undo_funcs.C: almost only ws changes.
4070 * ParagraphList.C (splice): just return if pl is empty.
4072 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * ParagraphList.C (splice): new function.
4076 * CutAndPaste.C (pasteSelection): use it
4078 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4080 * CutAndPaste.C (pasteSelection): remove the last next and
4081 previous from this file.
4083 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * CutAndPaste.C (pasteSelection): more clean up, user proper
4086 ParagraphList functions for pasteing.
4088 * ParagraphList.C (insert): new function, three arg insert
4090 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * ParagraphList.C (insert): new function, three arg insert
4094 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4097 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4099 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4101 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4105 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4107 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4108 (copySelection): clean up a bit.
4109 (pasteSelection): use make_pair
4111 * ParagraphList.C (ParagraphList): implement copy constructor
4112 (operator=): implement, base on copy constructor.
4115 * paragraph.C (erase): return a bool
4117 * paragraph_pimpl.C (erasePos): remove function, move contents...
4118 (erase): ... here. Return a bool.
4119 (erase): call erase instead of erasePos.
4121 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4123 * ParagraphList.h: define PitPosPair
4124 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4125 ParagraphList, fix a bug on pasting multiple pars
4126 * text2.C: change interface to C&P
4128 2003-04-30 André Pönitz <poenitz@gmx.net>
4130 * undo_func.C: revert part of yesterday's patch 2
4132 2003-04-30 John Levon <levon@movementarian.org>
4134 * LColor.C: s/tabular/table/
4136 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * text3.C (dispatch): do not convert iterator -> pointer
4139 * undo_funcs.C (setCursorParUndo): ditto
4140 * text_funcs.C (transposeChars): ditto
4142 * text2.C (setLayout): ws changes only
4144 * text.C (breakParagraph): do not convert iterator -> pointer
4146 (acceptChange): ditto
4147 (rejectChange): ditto
4152 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4155 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4157 * text3.C (gotoInset): YABG (yet another bad getChar)
4159 2003-04-29 André Pönitz <poenitz@gmx.net>
4161 * paragraph.h: make operator= private unimplemented as long as
4164 * ParagraphList.C: whitespace
4167 * paragraph_pimpl.[Ch]:
4168 * paragraph_funcs.C:
4170 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4173 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4175 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4177 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4178 * paragraph.[Ch] (erase):
4179 * paragraph_pimpl.[Ch] (erase): change return type and value
4180 * text2.C (cutSelection): some rework
4182 2003-04-28 John Levon <levon@movementarian.org>
4184 * bufferlist.C: changes for unsaved changes dialog
4186 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * bufferlist.C (newFile): set language (messages_) for new
4191 * buffer.C (readFile): ws changes only.
4193 2003-04-28 André Pönitz <poenitz@gmx.net>
4198 * BufferView_pimpl.C:
4199 * BufferView.C: getParFromID related ParagraphList::iterator changes
4201 2003-04-28 André Pönitz <poenitz@gmx.net>
4203 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4206 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * messages.C: remove one more localedir class variable.
4210 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * messages.C (getLocaleDir): singleton generation function
4214 (Messages): add a default constructor.
4216 * main.C (main): do not setup localedir here, do not call
4219 * gettext.C (_): use it.
4220 (gettext_init): delete funciton
4222 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * gettext.C (getLyXMessages): new singleton generating function.
4226 * buffer.C (updateDocLang): adjust
4228 * Makefile.am (messages.o): add target
4229 (main.o): remove target
4231 2003-04-27 John Levon <levon@movementarian.org>
4236 * lyxvc.C: specify cancel button in Alert::prompt
4238 2003-04-26 John Levon <levon@movementarian.org>
4243 * LyXAction.C: add LFUN_INSET_SETTINGS
4245 * lyxfunc.C: don't enable tabular-feature when there's
4246 just any locking inset
4248 2003-04-26 John Levon <levon@movementarian.org>
4250 * bufferlist.C: re-add Cancel to buffer close question
4252 * lyxfunc.C: fix import UI a bit
4254 2003-04-25 John Levon <levon@movementarian.org>
4256 * gettext.C: remove the broken asserts for now
4258 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * messages.C: make case where setlocale cannot comply work better.
4262 * buffer.C (updateDocLang): new function
4263 (changeLanguage): use it
4266 * text2.C (setCounter): use B_ a bit.
4268 * lyxlayout.C (Read): be sure to trim the label strings.
4270 * messages.C (Messages): fix typo in comment
4272 * buffer.C (readFile): set message_ after file is loaded.
4273 (makeDocBookFile): remove double return
4274 (changeLanguage): reset message_ upon language change.
4275 (B_): new func, use this to get translated buffer strings.
4277 * main.C: add myself and Jean Marc as authors.
4279 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * messages.[hC]: pimplify Messages, and three different pimpls to be
4282 used in different circumstances.
4284 * gettext.[Ch]: change for use with new message code.
4286 2003-04-24 André Pönitz <poenitz@gmx.net>
4288 * factory.C: support for eqref
4290 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * messages.[Ch]: add missing char
4294 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4296 * messages.[Ch]: New files
4298 2003-04-18 John Levon <levon@movementarian.org>
4302 * BufferView_pimpl.C:
4306 * text2.C: remove layout-copy/paste (bug 778)
4308 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4310 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4312 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4314 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4315 if they succeed. Act accordingly.
4317 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * text2.C (setCharFont): adjust
4320 (setCounter): adjust
4321 (insertStringAsLines): adjust
4323 * text.C (leftMargin): adjust
4324 (setHeightOfRow): adjust
4326 * rowpainter.C (paintFirst): adjust
4329 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4331 (isFirstInSequence): ditto
4332 (getEndLabel): ditto
4335 * paragraph.C (getParLanguage): comment out some hard stuff.
4337 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4339 (simpleDocBookOnePar): ditto
4340 (makeDocBookFile): use ParagraphList::iterator
4342 * CutAndPaste.C (pasteSelection): adjust
4344 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * text2.C (getFont): adjust
4347 (getLayoutFont): adjust
4348 (getLabelFont): adjust
4350 * paragraph_funcs.C (TeXOnePar): adjust
4352 * buffer.C (simpleLinuxDocOnePar): adjust
4353 (simpleDocBookOnePar): adjust
4355 * CutAndPaste.C (pasteSelection): adjust
4357 * BufferView.C (getEncoding): adjust
4359 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4361 2003-04-16 John Levon <levon@movementarian.org>
4363 * lyxfind.C: use parlist stuff for search/changes
4365 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4367 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4369 * text2.C (deleteEmptyParagraphMechanism): adjust
4371 * text2.[Ch] (ownerParagraph): delete func (both of them
4373 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4377 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * ParagraphList.C: prepare for NO_NEXT
4381 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * text2.C (getFont): adjust
4384 (getLayoutFont): adjust
4385 (getLabelFont): adjust
4387 * paragraph.C (getFont): adjust
4388 (getLabelFont): adjust
4389 (getLayoutFont): adjust
4391 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4393 2003-04-15 John Levon <levon@movementarian.org>
4397 * lyx_main.C: handle Include in .ui files
4399 2003-04-15 John Levon <levon@movementarian.org>
4401 * MenuBackend.C: make the doc files length shorter
4404 * ToolbarBackend.C: handle toolbar placement flags,
4407 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4409 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4412 * paragraph_funcs.C (TeXOnePar): adjust
4414 * paragraph.C (getLabelFont): add outerfont arg, adjust
4415 (getLayoutFont): ditto
4416 (simpleTeXOnePar): adjust
4418 * paragraph_pimpl.C (realizeFont): delete func
4420 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4422 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4423 row argument, constify cur argument.
4425 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * text2.C (getFont): adjust
4428 (getLayoutFont): adjust
4429 (getLabelFont): adjust
4431 * paragraph_funcs.C (TeXOnePar): adjust
4432 (outerFont): new func...
4433 (realizeFont): ...moved out from here, changed this to facilitate
4436 * paragraph.C (getFont): take outerfont as arg, adjust
4437 (simpleTeXOnePar): add outerfont arg, adjust
4439 * buffer.C (simpleLinuxDocOnePar): adjust
4440 (simpleDocBookOnePar): adjust
4442 * CutAndPaste.C (pasteSelection): adjust
4444 * BufferView.C (getEncoding): adjust
4446 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * text2.C (setCharFont): adjust
4449 (setCounter): adjust
4451 * text.C (leftMargin): adjust
4452 (setHeightOfRow): adjust
4454 * rowpainter.C (paintFirst): adjust
4457 * paragraph_pimpl.C (realizeFont): adjust
4459 * paragraph.C (isFirstInSequence): move from here...
4460 * paragraph_funcs.C (isFirstInSequence): ...to here
4462 * paragraph.C (outerHook): move from here...
4463 * paragraph_funcs.C (outerHook): ...to here
4465 * paragraph.C (depthHook): move from here...
4466 * paragraph_funcs.C (depthHook): ...to here
4468 * paragraph.C (getEndLabel): move from here...
4469 * paragraph_funcs.C (getEndLabel): ...to here
4471 * text2.C (realizeFont): move from here...
4472 * paragraph_funcs.C (realizeFont): ...to here
4474 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4478 2003-04-14 Angus Leeming <leeming@lyx.org>
4480 * LColor.[Ch]: scrap LColor mathcursor.
4482 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * lyxlex.[Ch] (text): delete function
4485 * trans.C (Load): adjust
4486 * paragraph_funcs.C (readParToken): adjust
4488 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4490 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4491 vector<char> instead of a char[].
4493 * lyxlex_pimpl.C (getString): adjust
4495 (lex): use getString
4499 * lyxlex.C (text): use pimpl_->getString()
4503 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4505 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4506 (makeFontEntriesLayoutSpecific): temp var for par.size()
4507 (setLayout): temp var for ownerParagraphs().end()
4508 (fullRebreak): temp var for rows().end()
4509 (selectionAsString): temp var for boost::next(startpit), realize
4510 that the while really is a regular for loop.
4511 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4512 setCursor in one place.
4513 (setParagraph): temp vr for ownerParagraphs().end()
4514 (updateCounters): make the while loop a for loop
4515 (cutSelection): temp var for ownerParagraphs().end()
4516 (updateInset): make the do {} while() a regular for loop
4517 (getCursorX): use temp vars
4518 (setCurrentFont): use temp vars
4519 (getColumnNearX): use temp vars
4521 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * text.C (transformChar): use temp var for getChar
4524 (computeBidiTables): use temp var for row->par()
4525 (fill): move temp vars for row->par() and pit->layout() earlier in
4527 (labelFill): use temp var for row->par()
4528 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4529 asc and desc, realize that pit never changes and that firstpit is
4530 just a duplicate and not needed. Exchange rit->par() with pit in a
4532 (breakAgain): use a temp var for boost::next(rit)
4533 (breakAgainOneRow): ditto
4534 (breakParagraph): use a temp var for rows().begin()
4535 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4536 (cursorRightOneWord): use temp var for cursor.par() and
4537 cursor.pos(), remove usage of tmpcursor.
4538 (cursorLeftOneWord): use temp var for cursor.par() and
4539 cursor.pos() only set cur at end of function.
4541 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4543 * text.C, text2.C: exchange all usage of Paragraph::next with
4544 boost::next(ParagraphList::iterator)
4546 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4548 * text2.C (cursorTop): simplify implementation
4549 (cursorBottom): ditto
4550 (setParagraph): use ParagraphList::iterator
4551 (setCurrentFont): adjust
4552 (getColumnNearX): adjust
4553 (cursorRight): adjust
4554 (cursorLeft): remove usage of Paragraph::previous
4555 (cursorUpParagraph): ditto
4556 (deleteEmptyParagraphMechanism): slight cleanup
4558 * text.C (isBoundary): take a Paragraph const & instead of a
4560 (addressBreakPoint): ditto
4561 (leftMargin): remove usage of Paragraph::previous.
4562 (setHeightOfRow): ditto
4563 (cursorLeftOneWord): ditto
4564 (selectNextWordToSpellcheck): ditto
4567 (breakParagraph): remove one usage of Paragraph::next
4568 (redoParagraph): ditto
4569 (acceptChange): ditto
4570 (insertChar): adjust
4571 (rowBreakPoint): adjust
4573 * bufferview_funcs.C (toggleAndShow): adjust
4575 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4577 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4578 methods to access it.
4580 * text.C: Added updateRowPositions to compute all row positions.
4581 Make top_y and getRowNearY() to use the cached y position
4583 2003-04-11 John Levon <levon@movementarian.org>
4585 * text.C (rowBreakPoint): reintroduce the labelEnd
4586 checks, code copied from the row fill stuff. Deep voodoo.
4588 * text.C (fill): add a comment and debugging for the
4591 2003-04-11 John Levon <levon@movementarian.org>
4593 * text.C: make sure fullrow insets get wrapped to the next line,
4594 even when they're in a manual label
4596 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4598 * text2.C (insertParagraph): make it take ParagraphList::iterator
4600 (setLayout): make it return ParagraphList::iterator
4601 (redoParagraphs): ditto
4603 (checkParagraph): ditto
4605 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4607 * text2.C: adjust several funcs.
4608 (realizeFont): take a ParagraphList::iterator as arg.
4609 (getLayoutFont): ditto
4610 (getLabelFont): ditto
4611 (setCharFont): ditto
4613 * text.C: adjust several funcs.
4615 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4617 * text.C (selectNextWordToSpellcheck): don't accidentally
4620 2003-04-10 John Levon <levon@movementarian.org>
4622 * ToolbarBackend.C (getIcon): special handling for
4625 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4627 * text2.C (cursorRight): a getChar assert fixed
4629 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * text2.C (getFont): change to take a ParagraphList::iterator
4632 instead of Paragraph*
4633 Adjust several functions.
4635 * text.C (transformChar): change to take a ParagraphList::iterator
4636 instead of Paragraph*
4637 (singleWidth): ditto
4638 Adjust several functions.
4640 * rowpainter.C: adjust several functions
4641 * rowpainter.h:store a ParagraphList::iterator and not a
4645 2003-04-09 John Levon <levon@movementarian.org>
4650 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4651 and the "help" bits as well
4653 2003-04-09 John Levon <levon@movementarian.org>
4656 * ToolbarBackend.C: allow multiple toolbars
4658 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4660 * undo_funcs.C (setCursorParUndo): adjust
4662 * text_funcs.C (transposeChars): adjust
4664 * text3.C (gotoNextInset): adjust
4667 * text2.C (setLayout): adjust
4668 (changeDepth): adjust
4670 (redoParagraphs): adjust
4671 (selectionAsString): adjust
4672 (setParagraph): adjust
4673 (insertInset): adjust
4674 (cutSelection): adjust
4675 (copySelection): adjust
4676 (pasteSelection): adjust
4677 (insertStringAsLines): adjust
4678 (updateInset): adjust
4679 (setCursor): change to take a ParagraphList::iterator parameter
4680 (setCursorIntern): change to take a ParagraphList::iterator parameter
4681 (setCurrentFont): adjust
4682 (cursorLeft): adjust
4683 (cursorRight): adjust
4684 (deleteEmptyParagraphMechanism): adjust
4686 * text.C (breakParagraph): adjust
4687 (insertChar): adjust
4688 (acceptChange): adjust
4689 (rejectChange): adjust
4690 (selectNextWordToSpellcheck): adjust
4691 (changeCase): adjust
4695 * lyxfind.C (SearchForward): adjust
4696 (SearchBackward): adjust
4697 (nextChange): adjust
4699 * lyxcursor.C (par): adjust
4701 * lyxcursor.h: store a ParagraphList::iterator instead of a
4704 * lyx_cb.C (getPossibleLabel): adjust
4706 * bufferview_funcs.C (toggleAndShow): adjust
4708 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4711 * BufferView.C (removeAutoInsets): adjust
4712 (lockedInsetStoreUndo): adjust
4714 2003-04-09 John Levon <levon@movementarian.org>
4716 * ToolbarBackend.C: try icon without argument
4717 if with argument fails
4719 2003-04-08 John Levon <levon@movementarian.org>
4722 * ToolbarBackend.C: add getIcon(), handle tooltip,
4723 and change from "Icon" to "Item".
4725 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4727 * BufferView.C (lockInset): another bad getchar crunched
4729 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4731 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4734 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4736 * lyxfind.C (searchForward, searchBackwards): bug 782
4738 2003-04-07 John Levon <levon@movementarian.org>
4740 * paragraph.C: remove dead comment
4742 * text.C: remove troublesome depth-fiddling code
4743 in leftMargin() and rightMargin() (bug 1017)
4745 * text.C: fix breaking of rows in nested lists
4748 * text2.C (updateCounters): fix up depth values
4751 2003-04-07 John Levon <levon@movementarian.org>
4753 * BufferView_pimpl.C: clear message when doc finishes resizing,
4754 and after a mouse event
4756 * lyxfunc.C: clear message after exiting inset
4758 2003-04-07 John Levon <levon@movementarian.org>
4760 * bufferview_funcs.C: show math status not outside
4761 status in the statusbar
4763 2003-04-07 John Levon <levon@movementarian.org>
4765 * lyxfunc.C: note status changed after a depth change
4767 2003-04-04 Angus Leeming <leeming@lyx.org>
4769 * LaTeX.h: move AuxInfo operator==, != out of line.
4770 Remove LaTeX virtual destructor; nothing derives from it.
4771 Move operator()() out of public area and rename it startscript().
4772 Change protected for private.
4774 2003-04-04 Angus Leeming <leeming@lyx.org>
4777 * text2.C: remove unneeded #includes.
4779 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4781 * text2.C (dEPM): fix the heigth of the next row
4783 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4785 * text.C: squashed an invalid getChar requester + some ws changes
4787 2003-04-03 John Levon <levon@movementarian.org>
4789 * bufferview_funcs.h:
4790 * bufferview_funcs.C:
4793 * text2.C: make getStatus work for the env depth lfuns
4795 2003-04-03 John Levon <levon@movementarian.org>
4797 * bufferview_funcs.h:
4798 * bufferview_funcs.C:
4801 * text2.C: parlistize decDepth(), by merging it with incDepth()
4803 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * lyxrow.h: store a ParagraphList::iterator instead of a
4806 Paragraph* and adjust other class functions to suit.
4808 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4811 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4813 * text2.C (setCursor): do not anchor to cursor row for the time being
4815 2003-04-02 John Levon <levon@movementarian.org>
4822 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4824 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * paragraph.h: make ParagraphList and ParagraphList::iterator
4827 friends of Paragraph.
4829 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4831 * ParagraphList.C: Use the private next_ and previous_ from
4834 2003-04-01 John Levon <levon@movementarian.org>
4838 * Makefile.am: rename, remove defaults gunk
4841 * MenuBackend.C: remove defaults gunk
4844 * Languages.C: remove defaults gunk
4847 * lyx_main.C: error out if files couldn't be found.
4849 2003-04-02 John Levon <levon@movementarian.org>
4851 * text2.C: make incDepth() use parlist
4853 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * undo_funcs.C (firstUndoParagraph): adjust
4857 * text3.C (gotoInset): adjust
4858 (dispatch): adjust, and rewrite loop.
4860 * text2.C (init): adjust, and rewrite loop.
4861 (redoParagraphs): adjust
4862 (updateInset): adjust, and rewrite loop.
4863 (deleteEmptyParagraphMechanism): adjust
4865 * tabular.C (LyXTabular): adjust
4866 (SetMultiColumn): adjust
4869 * lyxtext.[Ch] (ownerParagraph): delete function
4870 (ownerParagraphs): new function returns a ParagraphList.
4872 * BufferView.C (removeAutoInsets): adjust
4873 (insertErrors): adjust
4874 (setCursorFromRow): adjust
4876 2003-04-01 Angus Leeming <leeming@lyx.org>
4878 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4881 2003-04-02 John Levon <levon@movementarian.org>
4887 * text_funcs.C: make transposeChars a free function
4889 * lyxrow_funcs.C: remove wrong comment
4891 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * rowpainter.C: adjust
4899 * lyxrow_funcs. [Ch]: new files
4901 * lyxrow.[Ch]: remove next and previous pointers
4902 (next,previous): remove accessor functions
4903 (isParEnd): move to lyxrow_funcs
4904 (lastPos): move to lyxrow_funcs
4905 (nextRowIsAllInset): move to lyxrow_funcs
4906 (lastPrintablePos): move to lyxrow_funcs
4907 (numberOfSeparators): move to lyxrow_funcs
4908 (numberOfHfills): move to lyxrow_funcs
4909 (numberOfLabelHfills): move to lyxrow_funcs
4910 (hfillExpansion): move to lyxrow_funcs
4914 * bufferview_funcs.C (toggleAndShow): adjust
4916 * RowList.h: Remove class RowList from file leave just a
4919 * RowList.C: delete file
4921 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4924 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * text3.C (cursorPrevious): adjust
4927 (cursorNext): adjust
4930 * text2.C (redoHeightOfParagraph): adjust
4931 (redoDrawingOfParagraph): adjust
4934 * text.C (breakParagraph): adjust
4935 (insertChar): adjust
4938 * rowpainter.C (RowPainter): adjust
4939 (leftMargin): simplify and adjust
4940 (most rowpainter functions): adjust.
4942 * rowpainter.h: store the row as RowList::iterator not as Row*
4944 * lyxcursor.C (row): taka RowList::iterator as arg
4947 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4950 2003-04-01 Angus Leeming <leeming@lyx.org>
4952 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4953 stuff like bool Bool.
4955 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4957 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4960 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4965 * lyxtext.h (rows): drop one version and leve a const variant that
4966 returns a RowList::iterator.
4968 2003-03-31 Angus Leeming <leeming@lyx.org>
4970 * text.C (fill): ensure that the signature is the same as that in the
4973 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4975 * text2.C (redoParagraphs): adjust
4976 (updateCounters): adjust
4977 (checkParagraph): adjust
4978 (getColumnNearX): adjust and reformat a bit.
4980 * text.C (top_y): adjust
4982 (leftMargin): adjust
4983 (prepareToPrint): adjust
4985 (getRowNearY): adjust
4987 * lyxtext.h: make rowlist_ mutable.
4989 * RowList.h: add const_iterator
4990 * RowList.C: adjust for RowList::const_iterator.
4992 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4995 2003-03-31 John Levon <levon@movementarian.org>
4998 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5000 * lyx_main.C: set default fonts from using lyx_gui funcs
5002 * exporter.C: pdf_mode moved from lyxrc
5005 * lyxfunc.C: changes from above
5007 2003-03-31 John Levon <levon@movementarian.org>
5009 * lyx_main.C: fix to the last fix
5011 2003-03-31 John Levon <levon@movementarian.org>
5013 * bufferlist.C: "Load original" -> "Load Original"
5019 * format.C: more Alert cleanups
5021 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5023 * text2.C (removeParagraph): make it take a RowList::iterator as
5025 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5026 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5028 * text.C (anchor_row): make it take a RowList::iterator as arg,
5030 (computeBidiTables): make it take a const reference to Row instead
5031 of Row pointer, adjust.
5032 (leftMargin): make it take a RowList::iterator as arg, adjust.
5033 (rowBreakPoint): adjust
5034 (breakAgainOneRow): make it take a RowList::iterator as arg,
5036 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5038 * bufferview_funcs.C (toggleAndShow): adjust
5040 2003-03-30 John Levon <levon@movementarian.org>
5044 * boost-inst.C: moved to support
5046 * several files: changes as a result
5048 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * text2.C (LyXText): adjust.
5052 (removeRow): make it take a RowList::iterator as arg, adjust.
5053 (fullRebreak): adjust
5054 (deleteEmptyParagraphMechanism): adjust
5055 (clearPaint): adjust
5058 * text.C (top_y): adjust
5059 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5060 (breakAgain): make it take a RowList::iterator as arg, adjust.
5061 (breakParagraph): adjust
5062 (insertChar): adjust
5065 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5066 need_break_row, and refresh_row.
5068 * text3.C (dispatch): adjust
5070 * text2.C (checkParagraph): adjust
5072 (setCursorFromCoordinates): adjust
5074 * text.C (top_y): adjust
5076 (getRow): make it return a RowList::iterator, adjust
5077 (getRowNearY): make it return a RowList::iterator, adjust
5079 * text2.C (init): adjust
5080 (insertRow): remove function
5081 (insertParagraph): adjust
5082 (redoParagraphs): adjust
5083 (fullRebreak): adjust
5084 (updateCounters): adjust
5086 * text.C (top_y): rewrite to use RowList iterators.
5088 (setHeightOfRow): rewrite to sue RowList iterators.
5089 (appendParagraph): adjust
5090 (breakAgain): adjust
5091 (breakAgainOneRow): adjust
5092 (breakParagraph): adjust
5094 (getRowNearY): adjust, and remove commented code.
5096 * lyxtext.h (firstRow): delete function
5097 (lastRow): delete function
5098 (rows): new function (const and non-const versions.)
5099 (insertRow): delete function
5101 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5103 2003-03-29 John Levon <levon@movementarian.org>
5105 * BufferView_pimpl.C: always update scrollbar top
5106 because pasting text when we're anchored could mean we
5107 miss an update altogether
5109 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * text2.C (init): use rowlist_.end() and not 0.
5112 (insertRow): change to take a RowList::iterator as arg, adjust
5114 (insertParagraph): change to take a RowList::iterator as arg,
5116 (redoParagraphs): remove some debug msgs.
5118 * text.C (appendParagraph): change to take a RowList::iterator
5119 arg, adjust for this.
5120 (breakAgain): add an assert
5121 (breakAgainOneRow): ditto
5123 2003-03-29 John Levon <levon@movementarian.org>
5125 * text2.C: do not clear selection after inc/decDepth
5128 2003-03-29 John Levon <levon@movementarian.org>
5131 * buffer.C: fix broken strerrors according to Lars
5133 2003-03-29 John Levon <levon@movementarian.org>
5135 * converters.C: more Alert cleanups
5137 2003-03-29 John Levon <levon@movementarian.org>
5139 * bufferview_funcs.C: remove pointless Alert
5141 * buffer.C: fix confusing error message when
5142 a template is chmoded 000
5144 2003-03-29 John Levon <levon@movementarian.org>
5148 * BufferView_pimpl.C: Alert fixes
5152 * tabular-old.C: remove unused table compat reading
5154 2003-03-29 John Levon <levon@movementarian.org>
5159 * lyx_cb.C: more Alert cleanups
5161 * lyxfunc.C: don't allow chktex if not latex document
5163 2003-03-29 John Levon <levon@movementarian.org>
5167 * buffer.C: warnings pushed down from support/,
5170 2003-03-29 John Levon <levon@movementarian.org>
5172 * lyxfunc.C: safety check for C-r (revert)
5174 2003-03-29 John Levon <levon@movementarian.org>
5177 * bufferlist.C: several UI fixes using Alert::prompt.
5178 Fix the pointless looping quit code. Fix stupid revert
5183 * lyx_cb.C: use Alert::prompt
5185 * lyx_main.C: remove a silly question
5187 * lyxfunc.C: remove a couple of silly questions,
5190 2003-03-28 John Levon <levon@movementarian.org>
5192 * text2.C: fix bug 974 (End on empty par)
5194 2003-03-28 John Levon <levon@movementarian.org>
5196 * BufferView_pimpl.C:
5198 * lfuns.h: remove do-nothing math greek lfuns
5200 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * lyxgluelength.h (isValidGlueLength): add default arg on
5203 parameter 2. Remove default arg from friend in class.
5205 * lyxlength.h (isValidLength): add default arg on parameter 2.
5206 Remove default arg from friend in class.
5208 * text2.C (LyXText): adjust, initialize refresh_row.
5212 (insertParagraph): adjst
5213 (redoParagraphs): adjust
5214 (fullRebreak): adjust
5215 (updateCounters): adjust
5216 (deleteEmptyParagraphMechanism): first attempt at fixing a
5219 * text.C (top_y): adjust
5220 (setHeightOfRow): adjust
5222 (getRowNearY): adjust
5224 * lyxtext.h: include RowList.h
5225 (~LyXText): not needed anymore, deleted.
5226 (firstRow): modify for RowList
5227 (lastRow): new function
5228 Delete firstrow and lastrow class variables, add a Rowlist
5229 rowlist_ class variable.
5231 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5234 * RowList.C (insert): fix case where it == begin().
5236 2003-03-26 Angus Leeming <leeming@lyx.org>
5238 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5239 the thesaurus dialog.
5241 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5245 * RowList.[Ch]: new files
5247 * ParagraphList.C (erase): handle the case where it == begin
5250 2003-03-25 John Levon <levon@movementarian.org>
5254 * aspell.C: add new aspell support
5257 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5260 2003-03-25 Angus Leeming <leeming@lyx.org>
5263 * LyXAction.C (init): new LFUN_INSET_INSERT.
5265 * BufferView_pimpl.C (dispatch): split out part of the
5266 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5268 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5271 2003-03-25 Angus Leeming <leeming@lyx.org>
5273 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5275 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5278 * text3.C: remove useless row->height(0)
5280 2003-03-25 John Levon <levon@movementarian.org>
5284 * text3.C: rename the refreshing stuff to better names
5286 2003-03-24 John Levon <levon@movementarian.org>
5288 * BufferView_pimpl.h:
5289 * BufferView_pimpl.C: update layout choice on a mouse
5292 2003-03-23 John Levon <levon@movementarian.org>
5294 * Makefile.am: fix commandtags.h reference
5296 2003-03-22 John Levon <levon@movementarian.org>
5298 * BufferView_pimpl.C:
5303 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5305 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5308 * text.C: take the rtl methods out of line
5310 2003-03-21 André Pönitz <poenitz@gmx.net>
5312 * metricsinfo.[Ch]: new files containing structures to be passed around
5313 during the two-phase-drawing...
5315 2003-03-21 André Pönitz <poenitz@gmx.net>
5317 * lyxtextclass.C: read 'environment' tag.
5319 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5321 * text2.C (removeRow): fix bug 964
5323 2003-03-20 John Levon <levon@movementarian.org>
5327 * text2.C: paint cleanups. Inset::update() dropped font
5330 2003-03-19 John Levon <levon@movementarian.org>
5332 * lyxfunc.C: only fitcursor/markDirty if available()
5334 2003-03-19 John Levon <levon@movementarian.org>
5336 * commandtags.h: rename to ...
5338 * lfuns.h: ... this, and renumber / cleanup
5340 2003-03-19 John Levon <levon@movementarian.org>
5342 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5343 fit the cursor after an lfun
5347 * BufferView_pimpl.h:
5348 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5350 * LyXAction.C: layout-character should have ReadOnly
5352 * ParagraphParameters.C:
5354 * bufferview_funcs.C:
5361 * undo_funcs.C: changes from above
5363 2003-03-18 John Levon <levon@movementarian.org>
5365 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5366 remove it from update()
5368 * lyxfunc.C: update layout choice after an lfun
5370 * text3.C: remove extra updateLayoutChoice()s
5372 2003-03-18 John Levon <levon@movementarian.org>
5374 * text.C: top_y change means full repaint, fix
5375 a drawing bug with cursor movement
5377 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5381 * text2.C: anchor row on setCursor
5383 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5385 * lyxtext.h: remove almost all mutable keywords
5388 * text3.C: remove const keywords accordingly
5390 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5392 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5394 (TeXEnvironment): ditto
5397 2003-03-17 John Levon <levon@movementarian.org>
5399 * text.C (rowBreakPoint): remove attempt to fix displayed
5400 math insets inside a manual label
5402 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * lyxtext.h: remove BufferView* as first arg from almost all class
5406 * other files: adjust.
5408 2003-03-17 John Levon <levon@movementarian.org>
5412 * text2.C: more paint cleanups
5414 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5417 * rowpainter.C: remove "smart" background painting code
5419 2003-03-16 John Levon <levon@movementarian.org>
5424 * text3.C: add helper functions for setting refresh_row/y
5426 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5428 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5429 newline inset which *can* get inserted in the pass_thru layouts.
5430 This is primarily for literate documents.
5432 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5434 * buffer.C: increment LYX_FORMAT to 223
5436 2003-03-14 André Pönitz <poenitz@gmx.net>
5438 * textclass.h: prepare for environment handling, ws changes
5439 * lyxlayout.C: read latexheader and latexfooter tags
5441 2003-03-14 John Levon <levon@movementarian.org>
5443 * text2.C: rewrite ::status() a bit
5445 2003-03-13 John Levon <levon@movementarian.org>
5447 * lyxtext.h: add some docs
5449 2003-03-13 John Levon <levon@movementarian.org>
5454 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5456 2003-03-13 John Levon <levon@movementarian.org>
5458 * text3.C: fix appendix redrawing
5460 2003-03-13 John Levon <levon@movementarian.org>
5462 * text.C (setHeightOfRow):
5464 * rowpainter.C: make appendix mark have the text
5465 "Appendix" so the user knows what it is
5468 * LColor.C: s/appendixline/appendix/ from above
5470 2003-03-13 John Levon <levon@movementarian.org>
5472 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5474 * text.C: fix a getChar(pos) bug properly
5476 2003-03-13 Angus Leeming <leeming@lyx.org>
5479 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5480 Probably only temporary. Let's see how things pan out.
5482 * BufferView.C (unlockInset):
5483 * BufferView_pimpl.C (fitCursor):
5484 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5486 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5487 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5489 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5490 new functions that convert ParagraphParameters to and from a string.
5492 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5493 BufferView::Pimpl's dispatch.
5494 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5496 2003-03-13 André Pönitz <poenitz@gmx.net>
5500 * factory.C: make it aware of InsetEnv
5502 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * text2.C (setCursor): never ask for one past last
5505 (setCursor): add some debugging messages.
5507 * text.C (singleWidth): never ask for one past last
5508 (singleWidth): ditto
5510 (rightMargin): ditto
5511 (rowBreakPoint): ditto
5512 (setHeightOfRow): ditto
5513 (prepareToPrint): ditto
5515 * rowpainter.C (paintBackground): never ask for one past last
5516 (paintText): never ask for one past last
5518 * paragraph_pimpl.C (getChar): make the assert stricter, never
5519 allow the one past last pos to be taken
5521 * paragraph.C (getChar): ws changes only
5523 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5524 (numberOfSeparators): ditto
5525 (numberOfHfills): ditto
5527 2003-03-12 John Levon <levon@movementarian.org>
5533 * paragraph_funcs.C: fix per-buffer authorlists
5535 2003-03-12 John Levon <levon@movementarian.org>
5537 * text.C: fix newline in right address
5539 2003-03-12 Angus Leeming <leeming@lyx.org>
5541 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5542 duplicate those in LyXFunc::dispatch.
5546 * ToolbarDefaults.C:
5547 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5548 Add LFUN_FONTFREE_UPDATE.
5550 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5551 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5553 * bufferview_func.[Ch]: several new functions to facilliate
5554 transfer of data to and from the character dialog.
5556 2003-03-12 John Levon <levon@movementarian.org>
5561 * paragraph_funcs.C:
5562 * paragraph_pimpl.C:
5566 * text3.C: remove META_NEWLINE in favour of an inset
5569 * rowpainter.C: remove paintNewline (done by inset)
5571 2003-03-12 John Levon <levon@movementarian.org>
5573 * paragraph_pimpl.C: complain about bad getChar()s
5574 for a while at least
5576 2003-03-12 John Levon <levon@movementarian.org>
5579 * buffer.C: move paragraph read into a separate function,
5580 a little renaming to reflect that.
5583 * bufferparams.C: remove the author_ids map, not necessary now
5586 * factory.C: moved Buffer::readInset to here
5588 * paragraph_funcs.h:
5589 * paragraph_funcs.C: readParagraph free function moved from
5592 * tabular.C: name change
5594 2003-03-12 John Levon <levon@movementarian.org>
5597 * ParagraphParameters.C: move par params input to
5600 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5601 behave like a normal read from the stream wrt reading
5602 a line vs. a \\token
5604 2003-03-12 John Levon <levon@movementarian.org>
5607 * ParagraphParameters.h:
5608 * ParagraphParameters.C: move output code to a
5611 2003-03-12 John Levon <levon@movementarian.org>
5613 * BufferView.C (insertLyXFile):
5616 * tabular.C: use a parlist iterator for creating the
5619 2003-03-12 John Levon <levon@movementarian.org>
5621 * buffer.C: make current_change static local not
5624 2003-03-12 John Levon <levon@movementarian.org>
5626 * buffer.C: fix insertStringAsLines for change tracking
5628 2003-03-12 John Levon <levon@movementarian.org>
5635 * bufferparams.C: move author list into params. Rename some
5636 functions. Move the header reading into a separate token
5637 loop. Move the header token reading into BufferParams.
5639 2003-03-12 John Levon <levon@movementarian.org>
5641 * changes.C: put debug inside lyxerr.debugging() checks
5643 2003-03-11 André Pönitz <poenitz@gmx.net>
5645 * factory.C: make it aware of InsetHFill
5647 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5649 * buffer.C (latexParagraphs): move function from here...
5650 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5653 2003-03-10 Angus Leeming <leeming@lyx.org>
5655 * LyXAction.C (init): fix bug in poplating array with multiple entries
5656 with the same LFUN (spotted by JMarc).
5658 2003-03-10 John Levon <levon@movementarian.org>
5661 * text2.C: move getColumnNearX() near its
5664 2003-03-10 John Levon <levon@movementarian.org>
5666 * text.C: fix break before a minipage
5668 2003-03-10 John Levon <levon@movementarian.org>
5670 * text.C: fix the last commit
5672 2003-03-09 John Levon <levon@movementarian.org>
5676 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5677 bug 365 (don't break before insets unless needed). Don't
5678 return a value > last under any circumstances.
5680 2003-03-09 Angus Leeming <leeming@lyx.org>
5682 * BufferView_pimpl.C (trackChanges, dispatch): call
5683 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5685 2003-03-09 Angus Leeming <leeming@lyx.org>
5687 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5688 than Dialogs::showAboutlyx().
5690 2003-03-09 Angus Leeming <leeming@lyx.org>
5692 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5693 than Dialogs::showTabularCreate().
5695 2003-03-09 John Levon <levon@movementarian.org>
5699 * text2.C: 3rd arg to nextBreakPoint was always the same.
5702 2003-03-08 John Levon <levon@movementarian.org>
5709 * text2.C: Remove the "main" bit from the "main body"
5712 2003-03-08 John Levon <levon@movementarian.org>
5714 * text.C (leftMargin): The left margin of an empty
5715 manual label paragraph should not include the label width
5718 * text.C (prepareToPrint): don't attempt to measure hfills
5719 for empty manual label paragraphs - the answer should be 0
5721 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * CutAndPaste.C: remove commented code and reindent.
5725 2003-03-08 John Levon <levon@movementarian.org>
5728 * lyxfunc.C: move reloadBuffer()
5731 * BufferView.C: to here
5733 * lyxvc.C: add comment
5736 * vc-backend.C: call bv->reload() to avoid
5737 getStatus() check on MENURELOAD
5739 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5741 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5742 to an old format .dep file.
5744 2003-03-07 Angus Leeming <leeming@lyx.org>
5746 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5747 when the LFUN_MOUSE_RELEASE should have been handled by
5748 inset->localDispatch.
5750 2003-03-07 Angus Leeming <leeming@lyx.org>
5752 * BufferView_pimpl.C (dispatch):
5753 * LyXAction.C (init):
5754 * ToolbarDefaults.C (init):
5756 * lyxfunc.C (getStatus):
5757 remove LFUN_INSET_GRAPHICS.
5759 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5761 2003-03-07 Angus Leeming <leeming@lyx.org>
5764 * LyXAction.C (init):
5765 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5767 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5770 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5772 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5773 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5775 2003-03-07 Angus Leeming <leeming@lyx.org>
5777 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5780 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * ParagraphList.C (front): new function
5785 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5787 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5788 and top_row_offset_. removed var first_y.
5790 * text2.C (LyXText, removeRow):
5792 * BufferView_pimpl.C:
5793 use these methods instead of using first_y
5795 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5797 * text2.C (pasteSelection): adjust for checkPastePossible
5799 * CutAndPaste.C: remove Paragraph * buf and replace with
5800 ParagraphList paragraphs.
5801 (DeleteBuffer): delete
5802 (cutSelection): change the tc type to textclass_type
5803 (copySelection): change the tc type to textclass_type
5804 (copySelection): adjust for ParagraphList
5805 (pasteSelection): change the tc type to textclass_type
5806 (pasteSelection): adjust for Paragraphlist
5807 (nrOfParagraphs): simplify for ParagraphList
5808 (checkPastePossible): simplify for ParagraphList
5809 (checkPastePossible): remove unused arg
5811 * ParagraphList.C (insert): handle the case where there are no
5814 * CutAndPaste.h: make CutAndPaste a namespace.
5816 * text3.C (dispatch): adjust
5818 * text.C (breakParagraph): add a ParagraphList as arg
5820 * paragraph_funcs.C (breakParagraph): change to take a
5821 BufferParams and a ParagraphList as args.
5822 (breakParagraphConservative): ditto
5823 (mergeParagraph): ditto
5824 (TeXDeeper): add a ParagraphList arg
5825 (TeXEnvironment): ditto
5828 * buffer.C (readLyXformat2): adjust
5829 (insertStringAsLines): adjust
5830 (latexParagraphs): adjust
5832 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5833 (cutSelection): adjust
5834 (pasteSelection): adjust
5836 * BufferView_pimpl.C (insertInset): adjust
5838 2003-03-05 Angus Leeming <leeming@lyx.org>
5841 * LyXAction.C (init):
5842 * BufferView_pimpl.C (dispatch):
5843 * lyxfunc.C (getStatus):
5844 remove LFUN_CHILD_INSERT.
5846 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5848 2003-03-05 Angus Leeming <leeming@lyx.org>
5851 * LyXAction.C (init):
5852 * src/factory.C (createInset):
5853 * lyxfunc.C (getStatus):
5854 * text3.C (dispatch):
5855 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5857 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5859 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * ParagraphList.C (insert): handle insert right before end()
5862 (erase): fix cases where it can be first or last paragraph.
5864 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5866 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5867 Paragraph::next and Paragraph::previous
5870 * text.C (breakParagraph): adjust
5872 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5873 BufferParams& as arg.
5874 (breakParagraph): use ParagraphList::insert
5875 (breakParagraphConservative): take a Buffer* instead of a
5876 BufferParams& as arg.
5877 (breakParagraphConservative): use ParagraphList::insert.
5879 * buffer.C (insertStringAsLines): un-const it
5880 (insertStringAsLines): adjust
5882 * ParagraphList.C (insert): new function
5884 * CutAndPaste.C (pasteSelection): adjust
5886 * text.C (backspace): adjust
5888 * tabular.C (SetMultiColumn): adjust
5890 * CutAndPaste.C (cutSelection): adjust
5891 (pasteSelection): adjust
5893 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5894 Buffer const * as arg
5896 * ParagraphList.C (erase): new function
5897 * paragraph_funcs.C (mergeParagraph): use it
5898 (mergeParagraph): make it take a Buffer* instead of a
5899 BufferParams* as arg
5901 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5903 (breakParagraphConservative): ditto
5905 * paragraph.h: remove the breakParagraph friend
5907 * paragraph.C (eraseIntern): new function
5908 (setChange): new function
5910 * paragraph_funcs.C (mergeParagraph): make it take a
5911 ParagraphList::iterator instead of a Paragraph *, adjust
5914 * paragraph.h: move an #endif so that the change tracking stuff
5915 also works in the NO_NEXT case.
5917 2003-03-04 Angus Leeming <leeming@lyx.org>
5920 * LyXAction.C: new LFUN_INSET_MODIFY.
5922 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5923 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5925 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5927 * several files: ws changes only
5929 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5930 (TeXEnvironment): ditto
5933 * buffer.C (makeLaTeXFile): adjust
5934 (latexParagraphs): make it take ParagraphList::iterator as args
5936 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5938 * buffer.C (latexParagraphs): adjust
5940 * paragraph.C (TeXOnePar): move function...
5941 (optArgInset): move function...
5942 (TeXEnvironment): move function...
5943 * paragraph_pimpl.C (TeXDeeper): move function...
5944 * paragraph_funcs.C: ...here
5946 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5948 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * buffer.C (readInset): remove compability code for old Figure and
5953 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5955 * buffer.C: ws changes
5958 * BufferView_pimpl.C: ditto
5961 * bufferlist.h: ditto
5965 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5967 * converter.[Ch]: split into itself +
5970 * Makefile.am: += graph.[Ch] + format.[Ch]
5977 * lyxrc.C: added #include "format.h"
5979 2003-02-27 Angus Leeming <leeming@lyx.org>
5981 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5984 * factory.C (createInset): add "label" to the factory.
5986 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5987 string and do no more.
5989 2003-02-27 Angus Leeming <leeming@lyx.org>
5992 * LyXAction.C (init):
5993 * factory.C (createInset):
5994 * BufferView_pimpl.C (dispatch):
5995 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5997 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5999 * lyxfunc.C (dispatch):
6000 * text3.C (dispatch): pass name to params2string.
6002 2003-02-26 Angus Leeming <leeming@lyx.org>
6004 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6006 Rearrange the ~includes. Strip out the unnecessary ones.
6008 * factory.C (createInset): reformat.
6009 create new insets for the various LFUN_XYZ_APPLY lfuns.
6011 2003-02-26 John Levon <levon@movementarian.org>
6014 * lyxrow.C: add isParStart,isParEnd helpers
6016 * paragraph.h: make isInserted/DeletedText take refs
6018 * paragraph_funcs.h:
6019 * paragraph_funcs.C: remove #if 0'd code
6024 * text.C: use lyxrow helpers above.
6025 Move draw and paint routines to RowPainter.
6026 Make several methods use refs not pointers.
6027 Make backgroundColor() const.
6028 Add markChangeInDraw(), isInInset().
6029 Merge changeRegionCase into changeCase.
6030 Make workWidth() shouldn't-happen code into an Assert.
6033 * rowpainter.C: new class for painting a row.
6036 * vspace.C: make inPixels take a ref
6038 2003-02-26 Angus Leeming <leeming@lyx.org>
6040 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6043 2003-02-25 John Levon <levon@movementarian.org>
6045 * ispell.C: give the forked command a more accurate name
6047 2003-02-22 John Levon <levon@movementarian.org>
6050 * toc.C: make TocItem store an id not a Paragraph *
6053 2003-02-21 Angus Leeming <leeming@lyx.org>
6055 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6056 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6057 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6058 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6059 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6060 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6062 * BufferView_pimpl.C (dispatch):
6063 * LyXAction.C (init):
6064 * factory.C (createInset):
6065 * lyxfunc.C (getStatus, dispatch):
6066 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6068 2003-02-21 Angus Leeming <leeming@lyx.org>
6070 * BufferView_pimpl.C (MenuInsertLyXFile):
6071 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6072 * lyxfunc.C (menuNew, open, doImport):
6073 no longer pass a LyXView & to fileDlg.
6075 2003-02-21 Angus Leeming <leeming@lyx.org>
6077 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6078 * LyXAction.C: change, BIBKEY to BIBITEM.
6079 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6080 Change InsetBibKey to InsetBibitem.
6081 Change BIBKEY_CODE to BIBITEM_CODE.
6082 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6083 * factory.C: replace insetbib.h with insetbibitem.h.
6084 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6085 * paragraph.C: replace insetbib.h with insetbibitem.h.
6086 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6087 Change bibkey() to bibitem().
6088 * text.C: remove insetbib.h.
6089 * text2.C: replace insetbib.h with insetbibitem.h.
6090 change bibkey() to bibitem().
6091 * text3.C: remove insetbib.h.
6092 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6094 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * lyxrc.C (output): enclose user email in quotes (in case there are
6099 2003-02-18 John Levon <levon@movementarian.org>
6101 * buffer.h: add std::
6103 2003-02-17 John Levon <levon@movementarian.org>
6109 * pspell.C: reworking. Especially in ispell, a large
6110 number of clean ups and bug fixes.
6112 * lyxfunc.C: fix revert to behave sensibly
6114 2003-02-17 André Pönitz <poenitz@gmx.net>
6117 * commandtags.h: new LFUN_INSERT_BIBKEY
6127 * paragraph_func.C: remove special bibkey handling
6129 2003-02-17 John Levon <levon@movementarian.org>
6131 * text.C (Delete): fix case where delete at the end of
6132 the very first paragraph would not merge the pars
6134 2003-02-17 John Levon <levon@movementarian.org>
6136 * lyxrow.C: fix lastPrintablePos()
6138 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6140 * bufferparams.C (writeLaTeX): add a std:here
6142 * buffer.C: and remove a using directive there
6144 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6146 * buffer.C (makeLaTeXFile): move the code that generates the
6149 * bufferparams.C (writeLaTeX): ... in this new method
6151 * LaTeXFeatures.C (getEncodingSet): make const
6152 (getLanguages): make const
6154 * MenuBackend.C (binding): returns the binding associated to this
6156 (add): sets the status of each item by calling getStatus. Adds
6158 (read): add support for OptSubMenu
6159 (expand): remove extra separator at the end of expanded menu
6161 2003-02-15 John Levon <levon@movementarian.org>
6164 * BufferView_pimpl.C:
6166 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6167 inset code that had no actual effect. Remove unneeded status
6170 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6172 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6175 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6177 * text.C (drawLengthMarker): also draw an arrow marker for
6178 symbolic lengths (medskip...)
6180 2003-02-14 John Levon <levon@movementarian.org>
6183 * tabular.C: better method names
6185 2003-02-14 John Levon <levon@movementarian.org>
6187 * BufferView_pimpl.C:
6192 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6193 it's a more accurate name. Remove some pointless uses.
6195 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6197 * text2.C (LyXText): change order of initilizers to shut off
6200 2003-02-14 John Levon <levon@movementarian.org>
6202 * buffer.C: use ParIterator for getParFromID()
6206 * paragraph_pimpl.h:
6207 * paragraph_pimpl.C: remove unused getParFromID()
6209 2003-02-14 John Levon <levon@movementarian.org>
6211 * buffer.C: remove some very old #if 0'd parse code
6213 2003-02-13 John Levon <levon@movementarian.org>
6217 * text2.C: move hfillExpansion(), numberOfSeparators(),
6218 rowLast(), rowLastPrintable(), numberofHfills(),
6219 numberOfLabelHfills() ...
6222 * lyxrow.C: ... to member functions here.
6227 * text.C: remove LyXText::beginningOfMainBody(), and call
6228 p->beginningOfMainBody() directly. Move the check for
6229 LABEL_MANUAL into the latter.
6236 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6242 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6243 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6245 2003-02-13 John Levon <levon@movementarian.org>
6247 * CutAndPaste.C: remove debug
6249 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6251 * paragraph.C (asString): remove two unused variables
6253 * lyxtextclass.C (readTitleType):
6255 (LyXTextClass): handle new members titletype_ and titlename_
6257 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6259 2003-02-09 John Levon <levon@movementarian.org>
6262 * buffer.C: replace hand-coded list with a map for the dep clean
6264 2003-02-08 John Levon <levon@movementarian.org>
6266 * LaTeX.C: consolidate code into showRunMessage() helper
6268 2003-02-08 John Levon <levon@movementarian.org>
6273 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6274 and pass the size in explicitly
6276 * BufferView_pimpl.h:
6277 * BufferView_pimpl.C:
6279 * BufferView.C: add getCurrentChange()
6281 * BufferView_pimpl.h:
6282 * BufferView_pimpl.C: handle change lfuns
6284 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6285 for changes. Mark pasted paragraphs as new.
6287 * support/lyxtime.h:
6288 * support/lyxtime.C:
6289 * DepTable.C: abstract time_t as lyx::time_type
6292 * LColor.C: add colours for new text, deleted text, changebars
6294 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6295 package use "usenames" option.
6299 * LyXAction.C: add change lfuns
6303 * author.C: author handling
6306 * buffer.C: add a per-buffer author list, with first entry as
6307 current author. Handle new .lyx tokens for change tracking. Output
6308 author list to .lyx file. Output dvipost stuff to .tex preamble.
6309 Bump lyx format to 222.
6312 * bufferlist.C: add setCurrentAuthor() to reset current author details
6316 * bufferparams.C: add param for tracking
6318 * bufferview_funcs.C: output change info in minibuffer
6322 * changes.C: add change-tracking structure
6325 * debug.C: add CHANGES debug flag
6328 * lyxfind.C: add code for finding the next change piece
6331 * lyxrc.C: add user_name and user_email
6334 * lyxrow.C: add a metric for the top of the text line
6337 * text.C: implement accept/rejectChange()
6340 * text.C: paint changebars. Paint new/deleted text in the chosen
6341 colours. Strike through deleted text.
6345 * paragraph_pimpl.h:
6346 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6347 in the current change to the insert functions. Rework erase to
6348 mark text as deleted, adding an eraseIntern() and a range-based
6349 erase(). Implement per-paragraph change lookup and
6352 * paragraph_funcs.C: Fixup paste for change tracking.
6354 * tabular.C: mark added row/columns as new.
6356 * text.C: fix rowLast() to never return -1. Don't allow
6357 spellchecking of deleted text. Track transpose changes. Don't
6358 allow paragraph break or merge where appropriate.
6360 * text2.C: leave cursor at end of selection after a cut.
6362 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6364 * text.C (getLengthMarkerHeight):
6365 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6366 visible on screen too.
6368 2003-02-07 John Levon <levon@movementarian.org>
6370 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6372 2003-02-05 Angus Leeming <leeming@lyx.org>
6374 * lyxserver.C (read_ready): revert my patch of 11 September last year
6375 as it sends PC cpu through the roof. Presumably this means that
6376 the lyxserver will no longer run on an Alpha...
6378 2003-01-30 Angus Leeming <leeming@lyx.org>
6380 * factory.C (createInset): create an InsetCommandParam of type "index"
6381 and use it to 'do the right thing'.
6383 * text2.C (getStringToIndex): ensure that cursor position is always
6384 reset to the reset_cursor position.
6386 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6388 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6391 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6395 * lyxfunc.C: Output messages with identical spelling, punctuation,
6398 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6400 * MenuBackend.C (expandFormats): List only viewable export formats
6403 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6406 * lyxfunc.C (getStatus): Make sure that formats other than
6407 "fax" can also be disabled
6409 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6411 * text3.C (dispatch): put the lfuns that insert insets in 3
6412 groups, and call doInsertInset with appropriate arguments.
6413 (doInsertInset): new function, that creates an inset and inserts
6414 it according to some boolean parameters.
6416 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * buffer.C (readFile): remember to pass on 'par' when calling
6419 readFile recursively.
6421 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6423 * MenuBackend.C (expandFormats): add "..." to import formats.
6425 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6427 * paragraph.C (asString): Remove XForms RTL hacks.
6429 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6430 * buffer.C: fix typo
6432 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * Makefile.am (LIBS): delete var
6435 (lyx_LDADD): add @LIBS@ here instead.
6437 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6439 * Clarify the meaning of "wheel mouse jump"
6441 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6443 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6446 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6448 * importer.C (Loaders): do not preallocate 3 elements in the
6449 vector, since one ends up with 6 elements otherwise
6451 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6453 * DepTable.C (write): write the file name as last element of the
6454 .dep file (because it may contain spaces)
6455 (read): read info in the right order
6457 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6459 * paragraph_pimpl.C (simpleTeXBlanks):
6460 (simpleTeXSpecialChars):
6461 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6463 * tabular.C (latex): add some missing case statements. Reindent.
6465 * MenuBackend.C (expandToc): remove unused variable.
6467 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6476 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6479 2003-01-05 John Levon <levon@movementarian.org>
6482 * BufferView.C: add getEncoding()
6485 * kbsequence.C: do not store last keypress
6488 * lyxfunc.C: store last keypress here instead. Pass encoding
6491 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6493 * lyx_main.C (init): remove annoying error message when following
6494 symbolic links (bug #780)
6496 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6498 * text.C (insertChar):
6499 * lyxrc.C (getDescription): remove extra spaces
6501 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6503 * lyxrc.C (getDescription): remove extra spaces
6505 2002-12-20 John Levon <levon@movementarian.org>
6507 * text3.C: hack fix for page up/down across tall rows
6509 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6511 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6514 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6516 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6517 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6518 thesaurus is not compiled in
6520 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6522 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6524 2002-12-16 Angus Leeming <leeming@lyx.org>
6527 * lyx_main.C (init): remove override_x_deadkeys stuff.
6529 2002-12-12 John Levon <levon@movementarian.org>
6531 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6532 insert. Only remove shift modifier under strict
6535 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * MenuBackend.C (expandToc): fix crash.
6539 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * MenuBackend.C (expandToc): gettext on float names.
6543 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6545 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6546 implement bool empty() [bug 490]
6548 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6552 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * several files: ws changes
6556 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * text2.C (setCounter): clean up a bit, use boost.format.
6559 (updateCounters): initialize par upon declaration.
6561 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6562 if the layout exists. We do not just store the layout any more.
6563 (SwitchLayoutsBetweenClasses): use boost.format
6565 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6567 * converter.C (convert): if from and to files are the same, use a
6568 temporary files as intermediary
6570 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6573 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6575 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6577 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6579 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * tabular.C (asciiPrintCell): use string(size, char) instead of
6584 * sgml.C (openTag): fix order of arguments to string constructor
6587 * lyxfunc.C (dispatch): use boost.format
6589 * lots of files: change "c" -> 'c'
6591 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6593 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6595 2002-11-25 Angus Leeming <leeming@lyx.org>
6597 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6599 * lyx_main.C (init): compile fix.
6601 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * lyx_cb.C (start): boost.formatify
6604 do not include <iostream>
6606 * lengthcommon.C: ws only
6608 * boost-inst.C,BoostFormat.h: add more explict instantations
6610 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * lots of files: handle USE_BOOST_FORMAT
6614 2002-11-21 John Levon <levon@movementarian.org>
6616 * pspell.C: fix compile
6618 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6620 * lyxfunc.C (dispatch): use boost::format
6624 * lyxfont.C (stateText): use boost::format
6626 * lyx_main.C (LyX): use boost::format
6628 (queryUserLyXDir): ditto
6631 (typedef boost::function): use the recommened syntax.
6633 * importer.C (Import): use boost::format
6635 * debug.C (showLevel): use boost::format
6637 * converter.C (view): use boost::format
6642 * bufferview_funcs.C (currentState): use boost::format
6644 * bufferlist.C (emergencyWrite): use boost::format
6646 * buffer.C (readLyXformat2): use boost::format
6647 (parseSingleLyXformat2Token): ditto
6649 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6651 * LaTeX.C (run): use boost::format
6653 * Chktex.C (scanLogFile): use boost::format
6655 * BufferView_pimpl.C (savePosition): use boost::format
6656 (restorePosition): ditto
6657 (MenuInsertLyXFile): ditto
6659 * BoostFormat.h: help file for explicit instation.
6661 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6663 * tabular.C (latex): Support for block alignment in fixed width
6666 2002-11-17 John Levon <levon@movementarian.org>
6668 * BufferView_pimpl.C:
6670 * lyxfunc.C: split filedialog into open/save
6672 2002-11-08 Juergen Vigna <jug@sad.it>
6674 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6675 by my last patch (hopefully).
6677 2002-11-08 John Levon <levon@movementarian.org>
6686 * toc.C: ParConstIterator, and use it (from Lars)
6688 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6690 * lyxtextclass.[Ch]: revise and add doxygen comments
6692 2002-11-07 John Levon <levon@movementarian.org>
6694 * text.C: fix progress value for spellchecker
6696 * toc.C: fix navigate menu for insetwrap inside minipage
6698 * paragraph_funcs.C: added FIXME for suspect code
6700 2002-11-07 John Levon <levon@movementarian.org>
6702 * BufferView_pimpl.C: fix redrawing of insets
6705 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6707 * text2.C (updateCounters): fix bug 668
6709 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6711 * text3.C (dispatch): Do not make the buffer dirty when moving the
6714 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * vc-backend.C: STRCONV
6719 * text2.C (setCounter): STRCONV
6721 * paragraph.C (asString): STRCONV
6723 * lyxlength.C (asString): STRCONV
6724 (asLatexString): ditto
6726 * lyxgluelength.C (asString): STRCONV
6727 (asLatexString): ditto
6729 * lyxfunc.C (dispatch): STRCONV
6732 * lyxfont.C (stateText): STRCONV
6734 * importer.C (Import): STRCONV
6736 * counters.C (labelItem): STRCONV
6737 (numberLabel): ditto
6738 (numberLabel): remove unused ostringstream o
6743 * bufferview_funcs.C (currentState): STRCONV
6745 * buffer.C (readFile): STRCONV
6746 (asciiParagraph): ditto
6747 (makeLaTeXFile): ditto
6749 * Spacing.C (writeEnvirBegin): STRCONV
6751 * LaTeXFeatures.C (getLanguages): STRCONV
6752 (getPackages): ditto
6754 (getBabelOptions): ditto
6755 (getTClassPreamble): ditto
6756 (getLyXSGMLEntities): ditto
6757 (getIncludedFiles): ditto
6761 (scanAuxFile): ditto
6764 * LString.h: add the STRCONV macros
6766 * BufferView_pimpl.C (savePosition): STRCONV
6767 (restorePosition): ditto
6768 (MenuInsertLyXFile): ditto
6770 * vc-backend.C (scanMaster): change from submatch[...] to
6773 * funcrequest.C: include config.h
6775 * factory.C: include config.h
6777 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6779 * box.C: include config.h
6781 * LaTeX.C (scanAuxFile): change from submatch[...] to
6785 2002-10-25 Angus Leeming <leeming@lyx.org>
6787 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6789 * ispell.[Ch] (setError): new method.
6790 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6791 Use setError() insetead of goto END.
6793 * lyx_cb.C (AutoSave): move out child process into new class
6796 2002-10-30 John Levon <levon@movementarian.org>
6798 * text3.C: make start appendix undoable
6800 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6802 * lyxlength.C (inPixels): Fix returned value.
6804 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6807 2002-10-24 Angus Leeming <leeming@lyx.org>
6809 * lyxgluelength.h: no need to forward declare BufferParams
6810 or BufferView, so don't.
6812 2002-10-21 John Levon <levon@movementarian.org>
6814 * BufferView.C: menuUndo ->undo, redo
6816 * BufferView.h: document, remove dead, make some methods private
6818 * paragraph_funcs.h:
6819 * paragraph_funcs.C:
6820 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6825 * sgml.C: move sgml open/close tag into sgml.C
6827 * bufferview_funcs.h: unused prototype
6830 * lyxfunc.C: remove unused
6833 * text.C: remove unused
6835 2002-10-21 John Levon <levon@movementarian.org>
6839 * BufferView_pimpl.h:
6840 * BufferView_pimpl.C: fix mouse wheel handling based on
6841 patch from Darren Freeman
6843 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6845 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6847 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6849 * lyxlength.C (inPixels): Fix hanfling of negative length.
6850 Fix LyXLength::MU case.
6852 2002-10-16 John Levon <levon@movementarian.org>
6854 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6856 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6858 * converter.C (view): add support for $$i (file name) and $$p
6859 (file path) for the viewer command. If $$i is not specified, then
6860 it is appended to the command (for compatibility with old syntax)
6862 2002-10-14 Juergen Vigna <jug@sad.it>
6864 * undo_funcs.C (textHandleUndo): alter the order in which the
6865 new undopar is added to the LyXText, as we have to set first
6866 the right prev/next and then add it as otherwise the rebuild of
6867 LyXText is not correct. Also reset the cursor to the right paragraph,
6868 with this IMO we could remove the hack in "redoParagraphs()".
6870 2002-10-09 Angus Leeming <leeming@lyx.org>
6872 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6873 to turn off an optimisation if a new inset is to be inserted.
6875 2002-10-11 André Pönitz <poenitz@gmx.net>
6877 * lyxtext.h: make some functions public to allow access
6878 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6880 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6882 * text3.C (dispatch): when changing layout, avoid an infinite loop
6885 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6887 * lyxrc.C (read): treat a viewer or converter command of "none" as
6890 * MenuBackend.C (expandFormats): for an update, also allow the
6891 formats that are not viewable
6893 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6894 script if it is newer than the lyxrc.defaults in user directory
6896 2002-10-07 André Pönitz <poenitz@gmx.net>
6898 * text.C: Vitaly Lipatov's small i18n fix
6900 2002-09-25 Angus Leeming <leeming@lyx.org>
6902 * ispell.h: doxygen fix.
6904 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6906 * buffer.h (readFile): Add a new argument to the method, to allow
6907 reading of old-format templates.
6909 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6911 * toc.C (getTocList): Get TOC from InsetWrap.
6913 2002-09-16 John Levon <levon@movementarian.org>
6915 * lyxfunc.C: check tabular for cut/copy too
6917 2002-09-12 John Levon <levon@movementarian.org>
6922 * factory.C: add header
6924 * paragraph_funcs.h:
6925 * paragraph_funcs.C: cleanup
6927 2002-09-11 John Levon <levon@movementarian.org>
6929 * PrinterParams.h: odd/even default to true
6931 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6933 * PrinterParams.h: update printer parameters for new xforms dialog
6935 2002-09-11 Angus Leeming <leeming@lyx.org>
6937 * lyxserver.C (read_ready): re-write to make it more transparent
6938 and to make it work in coherent fashion under Tru64 Unix.
6940 2002-09-11 André Pönitz <poenitz@gmx.net>
6944 * text3.C: implement LFUN_WORDSEL
6946 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6948 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6949 make floatlist_ a boost::shared_ptr<FloatList>
6951 * lyxtextclass.C: include FloatList.h
6952 (LyXTextClass): initialize floatlist_
6953 (TextClassTags): add TC_NOFLOAT
6954 (Read): match "nofloat" to TC_NOFLOAT and use it.
6955 (readFloat): modify call to floatlist_
6959 * FloatList.[Ch] (FloatList): remove commented out float
6961 (erase): new function
6963 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6965 * MenuBackend.C (expandToc): fix crash when there is no document
6968 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6970 * many files: Add insetwrap.
6972 2002-09-09 John Levon <levon@movementarian.org>
6974 * text2.C: remove confusing and awkward depth wraparound
6976 2002-09-09 John Levon <levon@movementarian.org>
6978 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6981 * buffer.C: remove getIncludeonlyList()
6984 * lyxfunc.C: remove headers
6986 2002-09-09 Juergen Vigna <jug@sad.it>
6988 * text.C (getColumnNearX): fix form Michael this is most
6989 probably a cut&paste bug.
6991 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6993 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6995 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6996 references, ws changes.
6998 * text2.C (init): update counters after init
6999 (insertParagraph): no need to set counter on idividual paragraphs.
7000 (setCounter): access the counters object in the textclass object
7001 on in the buffer object.
7002 (updateCounters): ditto
7004 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7005 shared_ptr<Counters> to avoid loading counters.h in all
7007 (LyXTextClass): initialize ctrs_
7008 (TextClassTags): add TC_COUNTER, and ...
7009 (Read): use it here.
7010 (CounterTags): new tags
7011 (readCounter): new function
7012 (counters): new funtion
7013 (defaultLayoutName): return a const reference
7015 * counters.C (Counters): remove contructor
7016 (newCounter): remove a couple of unneeded statements.
7017 (newCounter): simplify a bit.
7018 (numberLabel): some small formatting changes.
7020 * buffer.[Ch]: remove all traces of counters, move the Counters
7021 object to the LyXTextClass.
7023 2002-09-06 Alain Castera <castera@in2p3.fr>
7025 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7026 package to set the horizontal alignment on fixed width columns.
7029 * lyx_sty.h: added tabularnewline macro def.
7031 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7033 2002-09-06 John Levon <levon@movementarian.org>
7035 * LyXAction.C: tooltips for sub/superscript
7037 * MenuBackend.C: a bit more verbose
7039 * lyxfunc.C: tiny clean
7041 * undo_funcs.C: document undo_frozen
7043 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * counters.C (Counters): add missing algorithm counter.
7047 * text2.C (setCounter): lookup the counter with layouts latexname
7048 instead of by section number.
7049 (setCounter): use a hackish way to lookup the correct enum
7051 a float name->type change
7052 reset enum couners with counter name directly instead of depth value.
7054 * counters.C (Counters): remove the push_backs, change to use the
7055 float type not the float name.
7056 (labelItem): remove unused string, float name->type change
7058 * counters.h: don't include vector, loose the enums and sects vectors
7060 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7063 (Read): add float->TC_FLOAT to textclassTags
7064 (Read): and handle it in the switch
7065 (readFloat): new function
7067 * FloatList.C (FloatList): comment out the hardcoded float
7070 * lyxlayout.h: ws change.
7072 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7074 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7076 2002-09-03 Angus Leeming <leeming@lyx.org>
7078 * BufferView_pimpl.h: qualified name is not allowed in member
7079 declaration: WorkArea & Pimpl::workarea() const;
7081 * factory.C: added using std::endl directive.
7083 * text3.C: added using std::find and std::vector directives.
7085 2002-08-29 André Pönitz <poenitz@gmx.net>
7088 * text2.C: remove unused member number_of_rows
7091 * BufferView2.C: remove file, move contents to...
7092 * BufferView.C: ... here
7094 * BufferView_pimpl.C:
7095 * factory.C: move more inset creation to factory
7097 * vspace.C: avoid direct usage of LyXText, ws changes
7100 don't provide direct access to WorkArea, use two simple
7101 acessors haveSelction() and workHeight() instead
7104 2002-08-29 John Levon <levon@movementarian.org>
7106 * BufferView_pimpl.C (dispatch): do not continue when
7109 2002-08-28 André Pönitz <poenitz@gmx.net>
7111 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7114 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7116 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7118 * buffer.C: increment LYX_FORMAT to 221
7120 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7121 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7123 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7125 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7127 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7129 * factory.C (createInset): use LyXTextClass::floats
7131 * MenuBackend.C (expandFloatListInsert):
7132 (expandFloatInsert):
7135 * text2.C (setCounter):
7137 * LaTeXFeatures.C (useFloat):
7138 (getFloatDefinitions):
7140 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7142 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7143 floatlist_, with accessor floats().
7145 * FloatList.h: remove global FloatList
7147 2002-08-26 André Pönitz <poenitz@gmx.net>
7149 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7153 * BufferView_pimpl.C:
7154 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7156 2002-08-25 John Levon <levon@movementarian.org>
7158 * LyXAction.C: fix margin note description
7160 2002-08-24 John Levon <levon@movementarian.org>
7164 * bufferview_funcs.C:
7166 * undo_funcs.C: cleanups
7168 * lyxfunc.C: disable CUT/COPY when no selection
7170 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7172 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7173 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7175 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7176 Add backward compatibility to "mono", "gray" and "no".
7178 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7180 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7181 (and file_format >= 200).
7183 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7185 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7187 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7189 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7191 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7193 * BufferView_pimpl.C:
7200 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7201 inset and code to make it work with the paragraph code. The inset
7202 can be anywhere in the paragraph, but will only do the expected
7203 thing in LaTeX if the layout file contains the parameter line
7205 (or more generally, a nonzero value) for that layout.
7207 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * paragraph.h: remove the declaration of undefined counters class
7212 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7214 * text2.C (setCounter): fixed enumeration mis-count as reported by
7215 Dr. Richard Hawkins.
7217 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7219 * paragraph_funcs.h: remove some unneeded includes
7221 * text.C (backspace): pasteParagraph now in global scipe
7223 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7224 (pasteSelection): ditto
7226 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7227 * paragraph_funcs.C (pasteParagraph): ... here
7229 2002-08-20 André Pönitz <poenitz@gmx.net>
7231 * commandtags.h: new LFUNs for swapping/copying table row/colums
7234 * lyxfunc.C: support for new lfuns
7236 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * buffer.[Ch]: remove NO_COMPABILITY stuff
7241 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * boost.C (throw_exception): new file, with helper function for
7244 boost compiled without exceptions.
7249 * ParameterStruct.h:
7250 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7252 * bufferlist.C (emergencyWriteAll): use boost bind
7254 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7256 * text.C: include paragraph_funcs.h
7257 (breakParagraph): breakParagraph is now in global scope
7259 * paragraph_funcs.[Ch]: new files
7261 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7264 * buffer.C: include paragraph_funcs.h
7265 (insertStringAsLines): breakParagraph is now in global scope
7267 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7270 * CutAndPaste.C: include paragraph_funcs.h
7271 (cutSelection): breakParagraphConservative is now in global scope
7272 (pasteSelection): ditto
7274 * buffer.h: declare oprator== and operator!= for
7275 Buffer::inset_iterator
7277 * bufferlist.C (emergencyWrite): don't use fmt(...)
7279 * text3.C: add using std::endl
7281 * BufferView.C (moveCursorUpdate): remove default arg
7283 2002-08-20 André Pönitz <poenitz@gmx.net>
7285 * buffer.[Ch]: move inline functions to .C
7288 * BufferView_pimpl.C:
7290 * buffer.[Ch]: use improved inset_iterator
7293 * paragraph.[Ch]: write one paragraph at a time
7295 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7297 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7298 style if style is not specified.
7300 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7302 * text2.C (setCounter): when searching for right label for a
7303 caption, make sure to recurse to parent insets (so that a caption
7304 in a minipage in a figure float works) (bug #568)
7306 2002-08-20 André Pönitz <poenitz@gmx.net>
7308 * text3.C: new file for LyXText::dispatch() and helpers
7310 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7312 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7314 2002-08-19 André Pönitz <poenitz@gmx.net>
7317 * text.C: new LyXText::dispatch()
7319 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7321 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7323 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7325 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7328 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * Makefile.am: use $(variables) instead of @substitutions@
7332 2002-08-15 André Pönitz <poenitz@gmx.net>
7335 * BufferView_pimpl.C: streamlining mathed <-> outer world
7339 * LyXAction.C: remove unused LFUN_MATH
7341 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7345 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * paragraph.C (Paragraph): reformat a bit
7348 (cutIntoMinibuffer): use builtin InsetList function instad of
7352 * buffer.C: include boost/bind.hpp, add using std::for_each
7353 (writeFileAscii): use ParagraphList iterators
7354 (validate): use for_each for validate traversal of paragraphs
7355 (getBibkeyList): use ParagraphList iterators
7356 (resizeInsets): use for_each to resizeInsetsLyXText for all
7358 (getParFromID): use ParagraphList iterators
7360 * BufferView2.C (lockInset): use paragraph list and iterators
7362 2002-08-14 John Levon <levon@movementarian.org>
7364 * lyxserver.C: remove spurious xforms include
7366 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7368 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7370 2002-08-13 André Pönitz <poenitz@gmx.net>
7373 * lyxfunc.C: further cleaning
7375 2002-08-13 André Pönitz <poenitz@gmx.net>
7377 * funcrequest.h: new constructor
7379 * funcrequest.C: move stuff here from .h
7382 * BufferView_pimpl.C:
7385 * lyxfunc.C: subsequent changes
7387 * lyxfunc.h: new view() member function
7389 * lyxfunc.C: subsequent changes
7391 2002-08-13 Angus Leeming <leeming@lyx.org>
7394 * BufferView_pimpl.C:
7402 changes due to the changed LyXView interface that now returns references
7403 to member variables not pointers.
7405 2002-08-13 Angus Leeming <leeming@lyx.org>
7407 * WordLangTuple (word, lang_code): return references to strings,
7412 * lyxtext.h: forward-declare WordLangTuple.
7417 * text.C: #include "WordLangTuple.h".
7420 * text.C: (selectNextWordToSpellcheck): constify return type.
7422 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7428 * paragraph_pimpl.h:
7431 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7433 Made updateCounter always count from start of buffer, and removed
7434 second argument (par).
7435 Reverted floats number display to '#'. Perhaps I'll try again when the
7436 code base is sanitized a bit.
7438 2002-08-12 Angus Leeming <leeming@lyx.org>
7440 * buffer.[Ch] (getLabelList): constify.
7442 2002-08-07 André Pönitz <poenitz@gmx.net>
7444 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7446 * funcrequest.h: extension to keep mouse (x,y) position
7448 2002-08-12 Juergen Vigna <jug@sad.it>
7450 * BufferView2.C (insertErrors): forbid undo when inserting error
7453 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7455 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * ParagraphList.[Ch]: new files
7459 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7461 * BufferView2.C (lockInset): ParagraphList changes
7464 * bufferlist.C: ditto
7468 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7471 unused class variable counter_,
7473 * paragraph.[Ch] (getFirstCounter): delete unused function
7475 * counters.C: include LAssert.h
7476 (reset): add a new function with no arg, change other version to
7477 not have def. arg and to not allow empty arg.
7479 * text2.C (setCounter): remove empty arg from call to Counters::reset
7481 2002-08-11 John Levon <levon@movementarian.org>
7483 * Makefile.am: add WordLangTuple.h
7485 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7488 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7490 * insets/insettext.C: InsetList changes
7492 * graphics/GraphicsSupport.C (operator()): InsetList changes
7494 * toc.C (getTocList): InsetList changes
7496 * paragraph_pimpl.[Ch]: InsetList changes
7498 * paragraph.[Ch]: InsetList changes
7500 * buffer.C (inset_iterator): InsetList changes
7501 (setParagraph): ditto
7502 * buffer.h (inset_iterator): ditto
7503 * iterators.C (operator++): ditto
7504 * iterators.h: ditto
7506 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7508 * InsetList.[Ch]: new files, most InsetList handling moved out of
7511 * BufferView2.C (removeAutoInsets): InsetList changes
7513 (ChangeInsets): ditto
7515 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * paragraph_pimpl.h (empty): new function
7519 * paragraph.[Ch] (empty): new function
7521 * other files: use the new Paragraph::empty function
7523 2002-08-09 John Levon <levon@movementarian.org>
7525 * lyxtext.h: remove unused refresh_height
7527 2002-08-09 John Levon <levon@movementarian.org>
7534 * paragraph.C: move sgml char escaping out of paragraph
7537 * paragraph.C: remove id setter
7541 * paragraph_pimpl.C: remove dead tex_code_break_column
7543 * bufferview_funcs.C: small cleanup
7545 * lyxfunc.C: remove dead proto
7547 * lyxtext.h: make some stuff private. Remove some dead stuff.
7549 * lyxgluelength.C: make as[LyX]String() readable
7551 2002-08-08 John Levon <levon@movementarian.org>
7556 * ToolbarDefaults.C:
7559 * toc.C: lyxaction cleanup
7561 2002-08-08 John Levon <levon@movementarian.org>
7563 * BufferView2.C: small cleanup
7566 * lyxfind.C: move unnecessary header into the .C
7568 2002-08-08 John Levon <levon@movementarian.org>
7570 * funcrequest.h: just tedious nonsense
7573 * lyx_main.C: cleanups
7576 * vspace.C: remove dead header lyx_main.h
7578 2002-08-07 Angus Leeming <leeming@lyx.org>
7581 * paragraph_pimpl.h:
7582 Forward declare class Counters in paragraph.h by moving the ctrs member
7583 variable into Paragraph::Pimpl.
7584 (counters): new method, returning a reference to pimpl_->ctrs.
7586 * text2.C: ensuing changes.
7588 2002-08-07 John Levon <levon@movementarian.org>
7590 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7592 * BufferView_pimpl.C: announce X selection on double/triple
7595 * lyx_main.C: use correct bool in batch dispatch
7597 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7599 2002-08-07 André Pönitz <poenitz@gmx.net>
7601 * funcrequest.h: new class to wrap a kb_action and its argument
7604 * BufferView_pimpl[Ch]:
7608 * lyxrc.C: subsequent changes
7611 2002-08-07 John Levon <levon@movementarian.org>
7613 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7614 document options change.
7616 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7621 * makefile.am: move counters functionality over from
7622 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7624 2002-08-06 John Levon <levon@movementarian.org>
7626 * WordLangTuple.h: new file for word + language code tuple
7637 * BufferView2.C: use WordLangTuple
7640 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7642 2002-08-06 John Levon <levon@movementarian.org>
7644 * lyx_main.C: fix cmdline batch handling
7646 2002-08-06 André Pönitz <poenitz@gmx.net>
7648 * lyxrc.C: set default for show_banner to true
7650 2002-08-06 John Levon <levon@movementarian.org>
7652 * pspell.C: fix a crash, and allow new aspell to work
7654 2002-08-06 John Levon <levon@movementarian.org>
7657 * kbmap.C: small cleanup
7660 * vspace.C: add const
7662 2002-08-05 John Levon <levon@movementarian.org>
7664 * LyXAction.C: back to tabular-insert
7666 2002-08-04 John Levon <levon@movementarian.org>
7669 * BufferView.C: cosmetic change
7671 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7681 * BufferView2.C: purge all "Lyx" not "LyX" strings
7684 * lyxcursor.C: attempt to add some documentation
7689 * ToolbarDefaults.C:
7690 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7691 merge with LFUN_TABULAR_INSERT
7698 * pspell.C: split up i/pspell implementations into separate
7699 files, many cleanups
7701 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7703 * text2.C: some cleanup
7705 * lyxfunc.C: don't check for isp_command == "none" any more, it
7706 didn't make any sense
7708 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7713 * makefile.am: move counters functionality over
7714 from text2.C/paragraph.[Ch] to counters.[Ch], and
7716 2002-08-02 John Levon <levon@movementarian.org>
7718 * buffer.C: s/lyxconvert/lyx2lyx/
7720 2002-08-02 Angus Leeming <leeming@lyx.org>
7722 * lyxlex.C: revert John's change as it breaks reading of the user
7725 2002-08-02 Angus Leeming <leeming@lyx.org>
7727 * importer.C (Import):
7728 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7729 changes due to LyXView::view() now returning a boost::shared_ptr.
7731 2002-08-02 John Levon <levon@movementarian.org>
7733 * lyxlex.C: small cleanup
7735 2002-08-02 John Levon <levon@movementarian.org>
7737 * text2.C (status): small cleanup, no logic change
7739 2002-08-01 John Levon <levon@movementarian.org>
7742 * buffer.C (writeFile): don't output alerts, caller
7746 * lyx_cb.C: from above
7748 * lyxfunc.C: allow to open non-existent files
7750 2002-07-31 John Levon <levon@movementarian.org>
7752 * lyxserver.C: don't let incidental errors get
7755 2002-07-30 John Levon <levon@movementarian.org>
7757 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7759 2002-07-30 John Levon <levon@movementarian.org>
7762 * lyxserver.C: remove I/O callback too
7764 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7766 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7769 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * many files: strip,frontStrip -> trim,ltrim,rtrim
7773 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * PrinterParams.h: remove extern containsOnly, and include
7776 support/lstrings.h instead.
7778 * LaTeX.C (scanAuxFile): modify because of strip changes
7780 * buffer.C (makeLaTeXFile): ditto
7781 * bufferparams.C (writeFile): ditt
7782 * lyxfont.C (stateText): ditto
7783 * lyxserver.C (read_ready): ditto
7784 * vc-backend.C (scanMaster): ditto
7786 * BufferView_pimpl.h: ws changes
7788 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7790 2002-07-26 André Pönitz <poenitz@gmx.net>
7792 * kb_sequence.C: remove unnedred usings
7794 2002-07-26 Juergen Vigna <jug@sad.it>
7796 * lyxfind.C (LyXReplace): we have to check better if the returned
7797 text is not of theLockingInset()->getLockingInset().
7799 2002-07-25 Juergen Vigna <jug@sad.it>
7801 * lyxfind.C (LyXReplace): don't replace if we don't get the
7804 * undo_funcs.C (createUndo): remove debugging code.
7806 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7808 * buffer.C (parseSingleLyXformat2Token): Use default placement
7809 when reading old floats.
7811 * FloatList.C (FloatList): Change the default placement of figure
7812 and tables to "tbp".
7814 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7816 * MenuBackend.C: using std::max
7818 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * MenuBackend.C (expandToc):
7821 (expandToc2): code moved from xforms menu frontend. It is now
7822 generic and TOCs are transparent to menu frontends.
7824 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7826 * toc.C (getTocList): protect against buf=0
7828 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7829 Menu as first parameter. Now, this calls itself recursively to
7830 expand a whole tree (this will be useful for TOC handling)
7831 (expandFloatInsert): remove 'wide' version of floats
7833 * MenuBackend.h (submenuname): returns the name of the submenu.
7834 (submenu): returns the submenu itself, provided it has been
7835 created by MenuBackend::expand
7837 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7839 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7840 insets which have noFontChange == true. (bug #172)
7842 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7844 * BufferView_pimpl.C: add connection objects and use them...
7847 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7849 * MenuBackend.C (expandLastfiles):
7852 (expandFloatListInsert):
7853 (expandFloatInsert):
7854 (expand): split expand in parts
7856 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7858 * lyx_gui.C: use lyx_gui::exit()
7860 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7862 * LyXAction.C: show the failing pseudo action
7864 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7866 * buffer.C (readFile): Run the lyxconvert script in order to read
7869 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7873 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7875 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7879 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7881 2002-07-22 Herbert Voss <voss@lyx.org>
7884 * lyxlength.[Ch]: add support for the vertical lengths
7886 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7888 * toc.[Ch]: std:: fixes
7890 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7892 * lyxrc.C: do not include lyx_main.h
7894 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7900 * BufferView2.C: include "lyxlex.h"
7903 * bufferparams.h: do not #include "lyxlex.h"
7905 * lyxtextclasslist.C (Add): remove method
7906 (classlist): renamed to classlist_
7908 * paragraph_pimpl.C:
7912 * bufferview_funcs.C:
7917 * toc.C (getTocList): use BufferParams::getLyXTextClass
7919 * toc.C (getTocList): use InsetFloat::addToToc
7921 * toc.[Ch]: new files, containing helper functions to handle table
7924 * lyxfunc.C (dispatch): no need to remove spaces around command
7926 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7927 first command of the sequence; it is not very clever, but I do not
7928 have a better idea, actually
7930 * LyXAction.C (LookupFunc): make sure to remove space at the
7931 beginning and end of the command
7933 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * MenuBackend.C (getMenubar): new method: return the menubar of
7937 (read): treat differently reading of menu and menubar (in
7938 particular, the menubar has no name now)
7939 (Menu::menubar): remove
7941 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7944 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7946 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7947 a bibitem inset in a RTL paragraph.
7949 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7951 * paragraph_pimpl.C: constify
7953 * BufferView_pimpl.C:
7955 * lyxfunc.C: fix dispatch in a nicer way
7957 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7959 * lyxfunc.C (dispatch):
7960 * BufferView_pimpl.C:
7961 * BufferView_pimpl.h:
7963 * BufferView.h: rename Dispatch() to dispatch()
7965 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7967 * lyxlayout.C (Read): honor DependsOn tag
7969 * lyxlayout.[Ch] (depends_on): new method
7971 * version.C.in: update lyx_docversion
7973 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7975 * paragraph.C (validate): remove from here...
7976 * paragraph_pimpl.C (validate): ... and move here
7977 (isTextAt): make it const
7979 * buffer.C (getLists): ws cleanup
7981 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7983 * language.C (read): Use iso8859-1 encoding in latex_lang
7984 (this prevents LyX from crashing when using iso10646-1 encoding).
7986 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7988 * text2.C (toggleInset): if cursor is inside an inset, close the
7989 inset and leave cursor _after_ it
7991 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7993 * lyxfunc.C: move minibuffer completion handling out of here
7995 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7997 * BufferView_pimpl.C:
7998 * LaTeX.C: fix dispatch calls
8000 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8002 * text.C (drawChars): Fix Arabic text rendering.
8004 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8008 * lyxfunc.C: remove message-push/pop
8012 * lyxfunc.C: rationalise some code by removing verboseDispatch
8013 in favour of a bool argument to dispatch()
8015 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8017 * lyx_main.C (init): make sure to read symlinks as absolute paths
8019 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8022 * lyxfunc.C: no need for commandshortcut to be a member
8024 2002-07-15 André Pönitz <poenitz@gmx.net>
8026 * converter.C: add support for $$s (scripts from lib/scripts dir)
8027 * lyx_main.C: white space
8029 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8033 * lyxrc.C: remove second exit confirmation
8035 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8040 * BufferView_pimpl.h:
8041 * BufferView_pimpl.C:
8042 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8044 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8046 * MenuBackend.C (expand): add numeric shortcuts to document menu
8048 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8050 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8052 * lyxfont.C (setLyXFamily):
8059 * buffer.C (asciiParagraph): use ascii_lowercase
8061 2002-07-15 Mike Fabian <mfabian@suse.de>
8063 * lyxlex_pimpl.C (search_kw):
8064 * lyxlex.C (getLongString):
8065 * converter.h (operator<):
8066 * converter.C (operator<):
8067 * buffer.C (parseSingleLyXformat2Token):
8069 * ToolbarDefaults.C (read):
8070 * MenuBackend.C (checkShortcuts):
8072 * LColor.C (getFromGUIName):
8073 (getFromLyXName): use the compare_ascii_no_case instead of
8074 compare_no_case, because in turkish, 'i' is not the lowercase
8075 version of 'I', and thus turkish locale breaks parsing of tags.
8077 2002-07-16 Angus Leeming <leeming@lyx.org>
8079 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8080 now takes a Buffer const & argument.
8082 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8084 * BufferView.C (resize): check there's a buffer to resize
8086 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8088 * lyxfunc.C: remove dead code
8091 * lyxserver.C: use lyx_guii::set_read_callback
8093 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8095 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8096 an inset in a RTL paragraph.
8098 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8100 * lyxfunc.C: repaint after a font size update
8102 2002-07-15 André Pönitz <poenitz@gmx.net>
8104 * lyxlength.C: inBP should be able to return negative values
8106 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8108 * lyxfunc.C: use lyx_gui::update_fonts()
8110 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8112 * lyxfunc.C: use lyx_gui::update_color()
8114 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8120 * lyxrc.C: remove file->new asks for name option, and let
8121 buffer-new take an argument
8123 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8125 * BufferView_pimpl.C: remove unneeded extra repaint()
8127 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8129 * LyXAction.C: allow command-sequence with NoBuffer
8131 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8133 2002-07-10 Angus Leeming <leeming@lyx.org>
8135 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8137 2002-07-09 Angus Leeming <leeming@lyx.org>
8139 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8141 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8143 * lengthcommon.h: whitespace
8145 * lyxfunc.C: update scrollbar after goto paragraph
8147 * lyxtext.h: factor out page break drawing, and fix it so
8148 page break/added space paints as selected nicely
8150 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8152 * BufferView_pimpl.C: add FIXMEs, clean up a little
8154 2002-07-09 André Pönitz <poenitz@gmx.net>
8156 * lyxfont.[Ch]: support for wasy symbols
8158 2002-07-08 André Pönitz <poenitz@gmx.net>
8160 * BufferView_pimpl.C: apply John's patch for #93.
8162 2002-07-05 Angus Leeming <leeming@lyx.org>
8164 * BufferView_pimpl.C (buffer): generate previews if desired.
8166 * LColor.h: add "preview" to the color enum.
8168 * LColor.C (LColor): add a corresponding entry to the items array.
8170 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8173 2002-07-05 Angus Leeming <leeming@lyx.org>
8175 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8176 The body of the code is now in the method that is passed an ostream &
8177 rather than a file name.
8178 Pass an additional only_preamble parameter, useful for the forthcoming
8181 2002-07-03 André Pönitz <poenitz@gmx.net>
8183 * lyxfunc.C: simplify getStatus() a bit for math stuff
8185 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8187 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8189 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * text.C (changeRegionCase): do not change case of all the
8192 document when region ends at paragraph end (bug #461)
8194 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8196 * paragraph.C (startTeXParParams):
8197 (endTeXParParams): add \protect when necessary
8199 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8201 * BufferView_pimpl.C (workAreaExpose): remove warning
8203 2002-06-27 Angus Leeming <leeming@lyx.org>
8205 * Makefile.am: add lyxlayout_ptr_fwd.h.
8207 2002-06-26 André Pönitz <poenitz@gmx.net>
8209 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8211 2002-06-25 Angus Leeming <leeming@lyx.org>
8213 * lyxfunc.C (dispatch): Comment out the call to
8214 grfx::GCache::changeDisplay. The method no longer exists now that the
8215 pixmap generation part of the graphics loader has been moved into
8218 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8220 * text2.C: layout as layout
8222 * text.C: layout as layout
8224 * tabular.C (OldFormatRead): layout as layout
8226 * paragraph_pimpl.C (TeXDeeper): layout as layout
8227 (realizeFont): layout as layout
8229 * paragraph.C (writeFile): layout as layout
8230 (validate): layout as layout
8231 (getFont): layout as layout
8232 (getLabelFont): layout as layout
8233 (getLayoutFont): layout as layout
8234 (breakParagraph): layout as layout
8235 (stripLeadingSpaces): layout as layout
8236 (getEndLabel): layout as layout
8237 (getMaxDepthAfter): layout as layout
8238 (applyLayout): layout as layout
8239 (TeXOnePar): layout as layout
8240 (simpleTeXOnePar): layout as layout
8241 (TeXEnvironment): layout as layout
8242 (layout): layout as layout
8243 (layout): layout as layout
8245 * lyxtextclass.C (compare_name): new functor to work with
8246 shared_ptr, layout as layout
8247 (Read): layout as layout
8248 (hasLayout): layout as layout
8249 (operator): layout as layout
8250 (delete_layout): layout as layout
8251 (defaultLayout): layout as layout
8253 * lyxlayout_ptr_fwd.h: new file
8255 * lyxlayout.C (Read): layout as layout
8257 * lyx_cb.C (MenuInsertLabel): layout as layout
8259 * bufferlist.C (newFile): layout as layout
8261 * buffer.C (readLyXformat2): layout as layout
8262 (parseSingleLyXformat2Token): layout as layout
8263 (insertStringAsLines): layout as layout
8264 (asciiParagraph): layout as layout
8265 (latexParagraphs): layout as layout
8266 (makeLinuxDocFile): layout as layout
8267 (simpleLinuxDocOnePar): layout as layout
8268 (makeDocBookFile): layout as layout
8269 (simpleDocBookOnePar): layout as layout
8270 (getLists): layout as layout
8272 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8274 * CutAndPaste.C (cutSelection): layout as layout
8275 (pasteSelection): layout as layout
8276 (SwitchLayoutsBetweenClasses): layout as layout
8278 * BufferView_pimpl.C (Dispatch): layout as layout
8279 (smartQuote): layout as layout
8281 * BufferView2.C (unlockInset): layout as layout
8283 2002-06-24 André Pönitz <poenitz@gmx.net>
8285 * lyxfunc.C: fix #487
8287 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8291 * lyxfunc.C: remove display_shortcuts, show_banner
8293 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8295 * Buffer_pimpl.C: oops, update on resize
8297 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8304 * BufferView.C: use repaint()
8306 * BufferView_pimpl.h:
8307 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8308 as it's a clearer description. Remove superfluous
8311 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8313 * text.C: fix bug 488. Not ideal, but getting
8314 getWord() to work properly for the insets that
8315 matter is more difficult ...
8317 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8319 * BufferView_pimpl.C:
8322 * lyxfunc.C: remove the six million index lyxfuncs to just
8323 one, and DTRT (bug 458)
8325 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8329 * BufferView_pimpl.h:
8330 * BufferView_pimpl.C: clean up resize() stuff,
8331 and unnecessary updateScreen()s
8333 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8337 * BufferView_pimpl.h:
8338 * BufferView_pimpl.C:
8341 * minibuffer.C: remove focus management of workarea,
8342 not needed. Use screen's greyOut()
8344 2002-06-17 Herbert Voss <voss@lyx.org>
8346 * converter.C: (convert) do not post a message, when converting
8347 fails, let the calling function decide what to do in this case
8349 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8351 * lyxfunc.C: tidy up a little
8353 2002-06-16 <alstrup@diku.dk>
8355 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8356 Got rid of FORMS_H_LOCATION include. Now we are
8359 2002-06-15 LyX Development team <lyx@rilke>
8361 * buffer.[Ch] (sgmlOpenTag):
8362 (sgmlCloseTag): Added support for avoiding pernicious mixed
8363 content. Return number of lines written.
8366 (makeDocBookFile): Fixed calls to sgml*Tag.
8367 Simple white space clean.
8369 (simpleDocBookOnePar): Simple white space clean.
8371 * tabular.[Ch] (docBook): Renamed to docbook and got another
8372 argument to related with the pernicious mixed content.
8374 (docbookRow): Fixed calls for docbook inset method.
8376 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8378 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8379 so it's X11 independent.
8383 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8385 2002-06-15 Lyx Development team <lyx@electronia>
8387 * intl.h: Renamed getTrans to getTransManager.
8389 2002-06-14 Angus Leeming <leeming@lyx.org>
8391 * Makefile.am: nuke forgotten stl_string_fwd.h.
8393 2002-06-12 Angus Leeming <leeming@lyx.org>
8395 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8397 2002-06-13 Angus Leeming <leeming@lyx.org>
8400 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8402 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8404 * kbmap.C (getiso): add support for cyrillic and greek
8406 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8410 * BufferView_pimpl.h:
8411 * BufferView_pimpl.C: move bogus scrolling logic
8414 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8417 * BufferView_pimpl.C: view->resize() change
8419 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8421 * BufferView_pimpl.C: topCursorVisible
8424 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8428 * lyx_gui.C: move to frontends/
8432 * lyx_main.C: changes from above
8434 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8441 * lyx_main.C: minor tidy
8443 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8445 * BufferView_pimpl.h:
8446 * BufferView_pimpl.C:
8448 * BufferView.C: make painter() const,
8451 * BufferView2.C: use screen() accessor
8454 * lyx_main.C: some minor cleanup
8456 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8458 * BufferView_pimpl.h:
8459 * BufferView_pimpl.C: remove enter/leaveView,
8462 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8467 * BufferView_pimpl.h:
8468 * BufferView_pimpl.C: only construct screen once,
8471 * lyxrc.C: remove pointless comment
8473 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8476 * BufferView.C: remove active() and belowMouse()
8478 * BufferView_pimpl.h:
8479 * BufferView_pimpl.C: use workarea() not workarea_,
8480 and make it use a scoped_ptr instead
8482 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8484 * lyx_gui.C: add debug message on BadWindow
8486 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8488 * sp_spell.C: fdopen is not part of the C++ standard.
8490 * paragraph.C (InsetIterator): use >= instead of ==
8492 2002-06-07 Angus Leeming <leeming@lyx.org>
8494 Fixes needed to compile with Compaq cxx 6.5.
8495 * BufferView_pimpl.C:
8502 * lyxtextclasslist.C:
8507 all c-library variables have been moved into namespace std. Wrap
8508 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8513 Add a using std::abs declaration.
8515 * kbmap.h (modifier_pair):
8516 * paragraph.h (InsetTable, InsetList):
8517 * lyxfont.h (FontBits):
8518 type definition made public.
8520 * bufferlist.C (emergencyWriteAll): the compiler complains that
8521 there is more than one possible lyx::class_fun template to choose from.
8522 I re-named the void specialisation as lyx::void_class_fun.
8524 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8526 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8527 the compiler is is unable to find tostr in write_attribute.
8529 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8531 * buffer.C (sgmlError): hide #warning
8533 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8535 * xtl/*: get rid of xtl, which is not in use anyway
8537 * LyXAction.C (init):
8538 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8539 were unimplemented xtl experimentation
8541 2002-06-04 André Pönitz <poenitz@gmx.net>
8543 * lyxfunc.C: disable array operation on simple formulae
8545 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8547 * converter.C: constify a bit
8549 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8551 * lyx_gui.C: check xforms version correctly
8553 2002-04-30 Herbert Voss <voss@lyx.org>
8555 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8558 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8560 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8561 attempt to register it with a VCS)
8563 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8565 * lyx_main.C (init): honor variables LYX_DIR_13x and
8568 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8572 * lyx_main.C: fix a crash on bad command line,
8573 and give a useful exit status on error
8575 * lyxfunc.C (doImport): allow -i lyx to work
8577 2002-03-30 André Pönitz <poenitz@gmx.net>
8579 * lyxfunc.C: mathed font changes
8581 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8596 * trans_mgr.h: srcdocs, and some minor cleanups
8598 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8601 call getFont all the time)
8603 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * switch from SigC signals to boost::signals
8607 2002-05-29 André Pönitz <poenitz@gmx.net>
8609 * paragraph_pimpl.C (getChar): don't call size() too often...
8611 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8613 * paragraph_pimpl.C (insertChar): do not try to update tables when
8614 appending (pos == size())
8616 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8617 in order to reduce drastically the number of comparisons needed to
8618 parse a large document
8620 2002-05-29 André Pönitz <poenitz@gmx.net>
8626 * textclasslist.[Ch]:
8627 * sp_ispell.h: whitespace change
8629 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8631 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8632 lyxaction directly now.
8634 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8638 * lyxvc.C: remove unused headers
8640 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8647 * undo_funcs.C: some cleanups. Use shared_ptr
8648 and a template for the undo stacks.
8650 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8652 * BufferView_pimpl.h:
8653 * BufferView_pimpl.C:
8660 * text2.C: use key_state/mouse_state
8662 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8664 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8667 * chset.C: change include order
8668 (loadFile): use boost regex and get rid of LRegex and LSubstring
8670 * Makefile.am (BOOST_LIBS): new variable
8673 * LaTeX.C: change include order.
8674 (scanAuxFile): use boost regex and get rid of LRegex and
8678 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8683 * FontInfo.C: moved to frontends/xforms/
8686 * FontLoader.C: moved into frontends for GUIIzation
8691 * lyxfunc.C: changes from above
8693 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8695 * LColor.C: remove spurious X include
8697 * BufferView_pimpl.C:
8702 * text2.C: move font metrics to frontends/
8704 2002-05-24 Juergen Vigna <jug@sad.it>
8706 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8707 setting the undo_cursor.
8709 * ParagraphParameters.h: include local includes first.
8711 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8713 * BufferView_pimpl.C:
8714 * BufferView_pimpl.h:
8718 * screen.C: move WorkArea into frontends/
8724 * BufferView2.C: move LyXScreen into frontends/
8728 * lyx_gui.C: move lyxlookup into frontends/xforms/
8730 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8733 * BufferView_pimpl.C:
8743 * bufferview_funcs.C:
8756 * vc-backend.C: move LyX/XFormsView into frontends/
8758 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8770 * text2.C: move Painter to frontends/
8772 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8774 * buffer.C: comment out some some code that depend upon lyx_format
8777 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8778 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8780 * buffer.h (NO_COMPABILITY): turn off compability
8782 * ColorHandler.C: include scoped_array.hpp
8784 * font.C: Use more specific smart_ptr header.
8787 * ShareContainer.h: ditto
8791 * BufferView_pimpl.h: ditto
8792 * ColorHandler.h: ditto
8794 * kbmap.C (defkey): change call to shared_ptr::reset
8796 2002-05-21 Juergen Vigna <jug@sad.it>
8798 * buffer.C (insertErtContents): fix to insert ert asis if it is
8799 non empty. Skip it completely if it contains only whitespaces.
8801 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8803 * BufferView_pimpl.C:
8804 * BufferView2.C: clear selection on paste (bug 393)
8806 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8808 * DepTable.C: include ctime
8810 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8812 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8814 2002-05-14 Juergen Vigna <jug@sad.it>
8816 * text.C (breakParagraph): fixed function to honor the keepempty
8817 layout in the right maner and also to permit the right breaking
8818 algorithm on empty or non empyt keepempty paragraphs.
8820 * paragraph.C (breakParagraph): we have to check also if the par
8821 is really empty (!size()) for isempty otherwise we do the wrong
8824 2002-05-10 Juergen Vigna <jug@sad.it>
8826 * buffer.[Ch] : The following are only changes to the ert
8827 compatibility read reading old LaTeX layout and font stuff and
8828 convert it to ERTInsets.
8830 * buffer.h: added isErtInset().
8832 * buffer.C (struct ErtComp): add a fromlayout bool to check
8833 if we're inside a LaTeX layout.
8834 (isErtInset): new helper function.
8835 (insertErtContents): look for other ert insets before this one
8836 and insert the contents there, so that we don't have subsequent
8837 ERT insets with nothing between them. This way we create only one
8838 inset with multiple paragraphs. Also check if we don't insert only
8839 spaces ' ' as they are ignored anyway afterwards in the .tex file
8840 so if we have only spaces we will ignore this latex part in the
8842 (parseSingleLyXformat2Token \\layout): better compatibility when
8843 reading layout-latex stuff.
8844 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8846 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8847 stuff after reading the inset only get the information back from
8850 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8852 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8854 * LaTeXFeatures.C (getBabelOptions): New method.
8856 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8858 * BufferView_pimpl.C (Dispatch): work around missing argument for
8861 2002-05-08 Juergen Vigna <jug@sad.it>
8863 * text.C (leftMargin): handle paragraph leftindent.
8865 * paragraph.C (writeFile): write the new \\leftindent tag.
8866 (validate): handle leftindent code.
8867 (TeXEnvironment): handle paragraphleftindent code again.
8869 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8871 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8872 for paragrap_extra indent code and new token \\leftindent.
8873 (latexParagraphs): handle the leftindent as environment.
8875 * ParameterStruct.h: added leftindent support.
8877 * ParagraphParameters.C (leftIndent): added support functions for
8878 the paragraph left indent.
8880 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8883 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8885 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8888 * text.C (computeBidiTables): No bidi in insetERT.
8890 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8893 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8895 * version.C.in: pre 5
8897 2002-05-02 José Matos <jamatos@fep.up.pt>
8898 * buffer.C (makeDocBookFile): white space changes, add newline to
8900 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8902 * tabular.C (docBook): fix typo.
8904 2002-05-03 Juergen Vigna <jug@sad.it>
8906 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8907 change in LyXText as we can not be sure it was not freed.
8908 (drawOneRow): remove unused code.
8910 * text.C (drawInset): redo the calculation of the need_break_row as
8911 it could have a row which was already freed.
8912 (draw): look at the return value of drawInset and return false if
8913 it also returned false.
8914 (paintRowText): look at the return value of draw and return false if
8915 it also returned false.
8917 * lyxtext.h: added bool return type to drawInset() and draw() so that
8918 if we have a change in the row so that the rowbreak has to be redone
8919 we abort drawing as it will be called again.
8921 2002-05-02 Juergen Vigna <jug@sad.it>
8923 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8924 a change in the maintext also if we're inside an inset.
8925 (Dispatch): set the cursor again after a break line and after the
8926 screen has been updated as it could be we're in a different row.
8928 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8929 to set the cursor behind the pargraph with > size().
8930 (setCursor): check also for the same paragraph when checking where
8931 to put the cursor if we have a NFR inset.
8933 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8934 parts of layout read further up as it still was in the wrong
8937 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8939 * screen.C (drawFromTo): change sine fullRebreak always return
8942 * buffer.C (parseSingleLyXformat2Token): reindent some
8944 * BufferView_pimpl.C (update): change since fullRebreak always
8946 (Dispatch): git rid of the last hardcoded "Standard"s.
8948 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8950 * text2.[Ch] (fullRebreak): make it return void now that we always
8953 2002-04-30 Juergen Vigna <jug@sad.it>
8955 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8956 ert compatibility check for "latex" layout.
8958 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8960 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8961 minipages: use col% instead of p%, and also use the current font.
8962 (makeLaTeXFile): Fix use babel condition.
8963 (parseSingleLyXformat2Token): Correct font when reading old floats.
8965 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8967 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8968 inserting list of floats.
8970 2002-04-25 Herbert Voss <voss@lyx.org>
8972 * MenuBackend.C (expand): don't add the graphics extensions to the
8975 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8977 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8978 non-existing layout, do not complain if it was the default layout
8979 of the original class (bug #342)
8981 2002-04-24 Juergen Vigna <jug@sad.it>
8983 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8984 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8986 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8988 * buffer.C (getBibkeyList): If using \bibliography, return the
8989 option field with the reference itself. Enables us to provide natbib
8990 support when using \bibliography.
8992 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8994 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8996 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8997 natbib is provided by the LaTeX class.
8999 2002-04-23 Juergen Vigna <jug@sad.it>
9001 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9004 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9006 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9008 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9010 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9011 ensuremath around textordmasculine, textordfeminine and
9014 2002-04-19 Juergen Vigna <jug@sad.it>
9016 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9017 reinitializing the buffer otherwise row-dimensions may be wrong.
9018 (update): reset also the selection cursors if they do exits otherwise
9019 their x/y positions may be wrong.
9021 * text2.C (cursorDown): don't enter the inset if we came from a row
9022 above and are one row over the inset.
9024 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9025 really leaving an inset.
9027 2002-04-18 Juergen Vigna <jug@sad.it>
9029 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9030 of the selected paragraph does not have the selected layout also if
9033 * text2.C (setLayout): fixed bug which did not change last selected
9036 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9037 changed the read and substituted \\end_float with \\end_inset!
9039 * BufferView_pimpl.C (cursorPrevious):
9040 (cursorNext): fixed to make it work with rows heigher than the work
9041 area without moving the cursor only the draw of the row.
9042 (workAreaMotionNotify): fix jumping over high rows.
9044 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9046 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9049 2002-04-16 Juergen Vigna <jug@sad.it>
9051 * text2.C (setCursor): set also the irow().
9052 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9054 (cursorDown): support for locking an inset if the x_fix value goes
9055 inside it. That way I can transverse insets too with cursor up/down.
9057 * lyxrow.h: added irow helper function same as other (i) functions.
9059 * BufferView_pimpl.C (cursorPrevious):
9060 (cursorNext): fixed for insets!
9062 2002-04-15 Juergen Vigna <jug@sad.it>
9064 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9065 position otherwise it is wrong in some cases.
9067 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9068 inside the inset before the call.
9070 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9072 * buffer.[Ch] (getBibkeyList): make it const.
9074 2002-04-12 Juergen Vigna <jug@sad.it>
9076 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9078 * text2.C (getCursorX): new helper function
9079 (setCursor): compute also ix_
9080 (setCursorFromCoordinates): set also ix.
9082 * lyxcursor.h: added ix_ and helper functions.
9084 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9086 * buffer.C (insertStringAsLines): dont break paragraph if the this
9087 paragraph is inside an inset which does not permit it!
9089 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9090 also with no chars on this paragraph.
9091 (paintRowText): only paint stuff if it's inside the workarea!
9093 * paragraph.C (breakParagraph): honor keepempty flag and break the
9094 paragraph always below not above.
9096 * BufferView2.C (unlockInset): update the paragraph layout on inset
9097 unlock as we changed paragraph in such a case.
9099 * lyxfind.C (LyXFind): clear the former selection if not found!
9101 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9102 again called in insertChar().
9104 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9105 an inset which uses the whole row!
9106 (rightMargin): ditto.
9107 (insertChar): force a rebreak if we inserted an inset!
9109 2002-03-28 Herbert Voss <voss@lyx.org>
9111 * lyxlength.[Ch]: add inBP() to get the right PS-point
9112 units (BigPoint). With inPixels we have rounding errors
9114 2002-04-11 Juergen Vigna <jug@sad.it>
9116 * text2.C (setCursorFromCoordinates): set iy to the right value.
9117 (setCursor): add check if row->previous exists!
9119 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9120 an old float_type as this was the case in the old code!
9122 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9124 * BufferView2.C (showLockedInsetCursor): use iy
9125 (fitLockedInsetCursor): ditto
9127 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9128 locked insets as there we have the right value now.
9130 * lyxcursor.C: added iy_ variable and iy functions to set to the
9131 baseline of cursor-y of the locked inset.
9133 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9134 (setCursor): fixed for insets which need a full row.
9136 * text.C (rowLastPrintable): don't ignore the last space when before
9137 an inset which needs a full row.
9138 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9139 as last character of a row when before a inset which needs a full row.
9141 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * version.C.in: update date
9145 * text2.C (fullRebreak): try to always return true and see what
9148 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * MenuBackend.C (expand): use Floating::listName
9152 * FloatList.C (FloatList): add listName argument to the built-in
9155 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9156 text associated with the float.
9158 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9160 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9162 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9164 * ShareContainer.h: add a couple of missing typenames.
9166 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9168 * lyxrc.C (getDescription): use _() correctly rather than N_().
9170 2002-03-28 Herbert Voss <voss@lyx.org>
9172 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9173 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9175 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9177 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9178 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9180 2002-03-29 Juergen Vigna <jug@sad.it>
9182 * lyxfunc.C (dispatch): add a missing fitCursor call.
9184 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9185 it was scrolled by a cursor move, so return the bool status.
9187 * BufferView.C (fitCursor): return the bool flag also to the outside
9188 world as this is needed.
9190 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9192 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9193 call the edit() as it is not needed (and wrong) IMO.
9194 (workAreaButtonPress): set the screen_first variable before evt.
9195 unlock the inset as this may change screen_first and then we have
9196 a wrong y position for the click!
9198 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9200 * MenuBackend.C (expand): another translation that I missed
9202 2002-03-28 Juergen Vigna <jug@sad.it>
9204 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9206 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9208 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9210 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9212 * MenuBackend.C (expand): fix export/view/update when there is no
9215 2002-03-27 Herbert Voss <voss@lyx.org>
9217 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9220 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9222 * bufferview_funcs.C (currentState): only show paragraph number
9223 for is DEVEL_VERSION is set.
9225 * lyxfunc.C (dispatch): put warning in INFO channel
9227 * MenuBackend.C (expand): translate the name of floats
9229 * FloatList.C (FloatList): mark the float names for translation
9231 * converter.C (convert): use LibScriptSearch
9233 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9235 * MenuBackend.C (defaults): fix default menu (we might as well get
9238 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9240 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9243 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9245 * lyxvc.C: reorder includes.
9247 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9249 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9252 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9254 * CutAndPaste.C: change layouts earlier on paste
9255 to avoid crashing when calling getFont()
9257 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9259 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9262 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * WorkArea.C: remove 'Pending' debug message.
9266 * most files: ws cleanup
9268 * buffer.[Ch]: ws changes
9270 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9272 2002-03-21 Juergen Vigna <jug@sad.it>
9274 * tabular.C (SetMultiColumn): collapse also the contents of the
9275 cells and set the last border right. Added a Buffer const * param.
9277 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9282 2002-03-19 Juergen Vigna <jug@sad.it>
9284 * text2.C (clearSelection): reset also xsel_cache.
9286 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9287 where it needs to be called (John tells us to do so too :)
9288 (selectionLost): reset sel_cache.
9290 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9292 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9294 * text2.C (setCursorIntern): put debuging code in INSETS channel
9296 2002-03-19 André Pönitz <poenitz@gmx.net>
9298 * lyxfunc.C: tiny whitespace change
9300 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9302 * ToolbarDefaults.C (init):
9303 * LyXAction.C (init):
9305 * BufferView_pimpl.C (Dispatch):
9306 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9308 2002-03-19 Allan Rae <rae@lyx.org>
9310 * exporter.C (Export): removeAutoInsets before doing anything else.
9311 While I've just introduced a dependency on BufferView this really is
9312 the best place to clean the buffer otherwise you need to cleanup in
9313 a dozen places before calling export or cleanup in a dozen functions
9316 * converter.C (runLaTeX):
9317 (scanLog): Better handling of removeAutoInsets and screen updates.
9319 * lyxfunc.C (dispatch): small whitespace changes
9321 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9323 * WorkArea.C (C_WorkAreaEvent): return a value.
9324 (event_cb): return 1 if we handled the event, 0 otherwise.
9326 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9328 2002-03-18 Juergen Vigna <jug@sad.it>
9330 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9331 (GetAdditionalWidth): ditto.
9335 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9336 inset if we're there actually (probably not used right now but this
9337 is the direction to go for unifying code).
9338 (paste): disable code to clear the selection.
9340 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9341 inside an InsetText and move the check further up as it is in the
9344 * text2.C (pasteSelection): set a selection over the pasted text.
9346 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9348 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9349 and libgraphics to build on Cygwin.
9351 2002-03-15 Juergen Vigna <jug@sad.it>
9353 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9354 inserting an Inset into the paragraph. I know this is not the best
9355 fix but we already use current_view in CutAndPaste so we will remove
9356 all of it's using at the same time.
9358 * buffer.C (sgmlError): deactivated function till it is rewritten in
9359 the right mode, now it can create problems.
9361 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9362 before accessing it.
9364 2002-03-14 Juergen Vigna <jug@sad.it>
9366 * undo_funcs.C (textHandleUndo): do the right thing when updating
9367 the inset after the undo/redo.
9369 * text2.C (setCursor): just some testcode for #44 not ready yet.
9371 * undo_funcs.C (textHandleUndo): set the next() and previous()
9372 pointers of the paragraph to 0 before deleting otherwise we have
9373 problems with the Paragraph::[destructor].
9375 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9376 on a paragraph insertion.
9378 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9380 * buffer.C (asciiParagraph): use += operator for char append to
9383 * paragraph.C (getFontSettings): compare >= not just >
9384 (highestFontInRange): ditto
9387 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9389 * paragraph.C: change several algorithm to be more appripriate for
9390 the problem domain. This is lookip in FontList and in the InsetList.
9392 2002-03-13 André Pönitz <poenitz@gmx.net>
9395 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9397 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9402 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9404 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9406 * Painter.C (display): anon helper function, adjust code for this
9408 (pixmap): remove function.
9410 * Painter.h: remove private display variable.
9412 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9414 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9416 * WorkArea.[Ch]: remove figinset_canvas cruft.
9418 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * lyxtextclass.C (operator): add one item cache optimization.
9422 * bufferlist.h: doxy changes
9424 * bufferlist.C: ws changes
9426 * DepTable.[Ch] (ext_exist): place const in the right spot.
9428 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9430 (workAreaExpose): call resizeInsets when the with BufferView changes.
9431 (Dispatch): adjust for protectedBlank removal
9432 (specialChar): call updateInset if the insert went ok.
9434 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9435 specialChar instead.
9437 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9439 * BufferView.h: doxy change
9441 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9443 * lyxtextclass.C (operator[]): remove non-const version
9444 (defaultLayout): remove non-const version
9446 2002-03-12 Juergen Vigna <jug@sad.it>
9448 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9449 did resize the LyXText too.
9451 * buffer.C (readLyXformat2): set layout information on newly allocated
9454 * tabular.C (OldFormatRead): set layout information on the paragraph.
9456 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9458 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9460 2002-03-11 Juergen Vigna <jug@sad.it>
9462 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9464 (resizeCurrentBuffer): force also the insets to resize themselfes.
9465 (moveCursorUpdate): fixed up for InsetText.
9467 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9470 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9471 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9472 value of Dialogs::tooltipsEnabled().
9473 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9475 2002-03-08 Juergen Vigna <jug@sad.it>
9477 * BufferView_pimpl.C (updateInset): update inset inside inset also
9478 if it isn't inside theLockingInset().
9480 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9482 * buffer.C (asciiParagraph): redo some of the word and line length
9484 (getLists): look for Caption instead of caption.
9486 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9488 * buffer.C (Buffer): initialize niceFile to true
9491 (makeDocBookFile): make sure niceFile is true on exit
9493 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9497 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9499 * LyXSendto.C: remove.
9500 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9501 * lyx_gui.C: remove now-redundant comment.
9502 * ColorHandler.h: remove forward declaration of class WorkArea.
9503 * lyxfunc.C: remove #include "WorkArea.h".
9505 2002-03-07 Juergen Vigna <jug@sad.it>
9507 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9508 got moved away with the DEPM and also set the inset_owner always
9509 right which before could have been omitted.
9511 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9513 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9514 wanted layout is not found.
9516 2002-03-07 Juergen Vigna <jug@sad.it>
9518 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9520 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9522 * paragraph.C (breakParagraph): use default layout not layout of
9524 (Paragraph): clear ParagraphParameters.
9526 2002-03-06 Juergen Vigna <jug@sad.it>
9528 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9529 otherwise it would not be a valid lenght. Fixed a special case in
9530 the minipage compatibility read where we end the document with a
9533 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9534 was set as it could be 0 for InsetTexts first entry.
9536 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9538 * paragraph.C (writeFile): if layout is empty write out
9539 defaultLayoutName().
9541 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9542 file without named layout we set layout to defaultLayoutName().
9544 2002-03-06 Juergen Vigna <jug@sad.it>
9546 * CutAndPaste.C (copySelection): set layout for new paragraph.
9548 * text.C (prepareToPrint): leave ERT inset left aligned
9549 (leftMargin): don't indent paragraphs inside ERT insets
9551 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9553 * paragraph.C (breakParagraph): dont call clear do the work manually
9555 * paragraph.[Ch] (clear): remove function
9557 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * paragraph.C (Paragraph): dont call clear, the work has already
9562 * lyxtextclass.C (operator): assert if n is empty
9564 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9565 work manually instead.
9567 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9569 * BufferView_pimpl.C: protect selectionLost against text == 0
9571 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9573 * text.C (breakParagraph): fix a setting layout to '0' problem.
9575 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9577 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9578 final location of file, for the included files, and graphics.
9580 2002-03-05 Juergen Vigna <jug@sad.it>
9582 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9584 2002-03-04 Juergen Vigna <jug@sad.it>
9586 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9588 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9589 last column of multicolumn cells.
9590 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9592 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9594 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9595 file if it doesn't go to a temporary file.
9597 * buffer.C (sgmlOpenTag):
9598 (sgmlCloseTag): remove extra newline insertion.
9600 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9602 * text.C (getRowNearY): comment out debug msg
9604 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9606 * text2.C: first -> first_y
9608 * text.C (getRowNearY): add some attemts at a possible
9609 optimization, not working.
9611 * tabular.[Ch]: add BufferParams to several function so that newly
9612 created paragraph can be initialized to he default layotu for the
9615 * tabular-old.C (ReadOld): add buf->params to call of Init
9617 * screen.C: rename text->first to text->first_y
9619 * paragraph.C (breakParagraph): always set layout in the broken
9622 * lyxtextclass.C (Read): remove lowercase
9625 (delete_layout): ditto
9627 * lyxtext.h: rename first -> first_y
9629 * lyxlayout.C (Read): remove lowercase
9632 (obsoleted_by): ditto
9634 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9636 * buffer.C (insertErtContents): add params are to InsetERT
9637 (parseSingleLyXformat2Token): add code to check if a paragraphs
9638 layout really exist.
9639 (parseSingleLyXformat2Token): add params to several inset
9641 (asciiParagraph): remove lowercase, do the layout comparisons with
9644 * BufferView_pimpl.C (cursorNext): first -> first_y
9645 (resizeCurrentBuffer): first -> first_y
9646 (updateScrollbar): first -> first_y
9647 (scrollCB): first -> first_y
9648 (workAreaMotionNotify): first -> first_y
9649 (workAreaButtonPress): first -> first_y
9650 (checkInsetHit): first -> first_y
9651 (cursorPrevious): first -> first_y
9652 (cursorNext): first -> first_y
9653 (Dispatch): add buffer_->params to severl inset contructors
9655 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9657 * lyxlayout.C (Read): remove some debug info that I forgot.
9659 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9660 clean up the code slightly.
9661 (makeLinuxDocFile): ditto
9662 (makeDocBookFile): ditto
9664 * text2.C: layout as string
9666 * text.C: layout as string
9668 * paragraph_pimpl.C: layout as string
9670 * paragraph.[Ch]: layout as string
9672 * lyxtextclasslist.[Ch]: layout as string
9674 * lyxtextclass.[Ch]: layout as string
9676 * lyxtext.h: layout as string
9678 * lyxlayout.[Ch]: layout as string
9680 * lyx_cb.C: layout as string
9682 * bufferview_funcs.C: layout as string
9684 * bufferparams.C: layout as string
9686 * buffer.C: layout as string
9688 * LyXView.[Ch]: layout as string
9690 * LaTeXFeatures.[Ch]: layout as string
9692 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9694 * BufferView_pimpl.C: change current_layout to string, remove
9699 (workAreaButtonRelease): layout as string
9701 * BufferView2.C (unlockInset): adjust
9703 * vspace.C (asLatexCommand): use an explict temp variable.
9705 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9707 * Makefile.am: use FRONTEND_*
9709 2002-03-01 Juergen Vigna <jug@sad.it>
9711 * tabular.C (SetWidthOfMulticolCell): changed to something better
9712 I hope but still work in progress.
9713 (recalculateMulticolumnsOfColumn): renamed function from
9714 recalculateMulticolCells as it is more appropriate now.
9715 (SetWidthOfCell): calculate multicols better.
9717 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9721 * lyxfunc.C (processKeySym): print sequence also if it is
9722 `deleted' (complete)
9724 * kbsequence.C (print): print sequence even if it is deleted
9725 (complete would be a better word, actually).
9727 * lyxfunc.C (dispatch): print complete options after a prefix key
9729 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9731 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9733 * text2.C (setCharFont): eliminate setCharFont code duplication.
9735 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9737 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9738 LFUN_TABULAR_FEATURE (bug #177)
9740 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9742 * Makefile.am: remove figure.h
9744 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9746 * Bufferview_pimpl.C:
9758 * text2.C: remove #include "lyx_gui_misc.h".
9760 * LaTeX.C: added #include <cstdio>
9762 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9764 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9765 that the paragraph following this one can have.
9767 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9769 * vspace.C (asLatexCommand): fix bogus gcc warning
9771 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9773 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9775 * text2.C (setLayout): get rid of redundant code
9777 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9779 * text2.C (incDepth): make sure depth cannot be increased beyond
9782 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9784 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9785 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9787 * PainterBase.h (image):
9788 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9791 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9795 * BufferView_pimpl.C:
9796 * BufferView_pimpl.h:
9816 * sp_spell.C: remove fig inset, and the crap house of
9817 cards that follows it
9819 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9825 * nt_defines.h: move .h into support/
9827 * vms_defines.h: remove
9829 * WorkArea.C: add space in debug output
9833 * buffer.C: add WITH_WARNINGS
9837 * bufferlist.C: s/retrive/retrieve/, add docs
9848 * lyxgui.C: add ID to X error handler
9850 * lyxtestclass.c: fix typo
9852 2002-02-26 Juergen Vigna <jug@sad.it>
9854 * tabular_funcs.C (write_attribute): changed so that some default
9855 attributes are not written at all.
9856 (getTokenValue): set default values before trying to read the
9857 value so we have the return value always set as default if we don't
9858 find the token we search for.
9860 * tabular.C (Write): write bools as bools not as strings!
9862 2002-02-22 Juergen Vigna <jug@sad.it>
9864 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9865 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9867 * text.C (leftMargin): don't add an indent for paragraphs inside
9868 tabular cells (fix #208).
9870 2002-02-21 José Matos <jamatos@fep.up.pt>
9872 * tabular.C (docBook): fixed support for long tables.
9874 2002-02-20 Juergen Vigna <jug@sad.it>
9876 * text2.C (getFont): get the drawing font of the Inset if this
9877 paragraph is inside an inset (only important for InsetERT for now).
9879 * buffer.C (insertErtContents): use new lanugage params in ERT
9882 * CutAndPaste.C: commenting out seemingly uneeded code.
9884 2002-02-19 Allan Rae <rae@lyx.org>
9886 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9887 Iterators might be simple to use but they also get invalidated.
9888 (removeAutoInsets): renamed saved cursor tracking variables and added
9889 some comments to clarify what everything does.
9891 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9898 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9899 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9902 * vc-backend.h: remove #include "support/syscall.h"
9906 * converter.C: rearrange #includes in Lars' approved fashion.
9908 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9909 forward declare class Timeout in the header file.
9911 * XFormsView.C: changes due to the above.
9913 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9916 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9917 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9919 2002-02-18 José Matos <jamatos@fep.up.pt>
9921 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9924 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9926 * a lot of small ws changes
9927 * add a lot of using std::XXX
9928 * use std construcs some places where approp.
9929 * use some exisint stuff from lyxfunctional where approp.
9930 * Make file changes to use partial linking (lets test this now...)
9932 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9936 remove #include "support/syscontr.h" as it's redundant. Always has been.
9944 change Systemcalls::System to Systemcalls::Wait and
9945 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9946 No change of functionality, just reflects the stripped down Systemcalls
9949 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9951 * debug.[Ch]: add a GRAPHICS type to the enum.
9953 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9957 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9960 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9963 match the changes below.
9965 * text2.C (toggleInset): if there is not editable inset at cursor
9966 position, try to see if cursor is _inside_ a collapsable inset
9969 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9972 document menu has a nice checkbox
9974 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9976 * lyxlength.C (asLatexString): change PW to output as percent of
9979 * lengthcommon.C: change '%' to 't%'
9981 * lyxfunc.C (dispatch): a few comments from Martin
9983 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9987 * BufferView_pimpl.h:
9988 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9991 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9993 * vspace.C (inPixels): fix compiler warning
9995 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9997 * lyxfunc.C (getStatus): fix status message for disabled commands.
9999 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10001 * BufferView_pimpl.C: fix crash on close buffer
10002 during selection (#227)
10004 2002-01-27 Herbert Voss <voss@lyx.org>
10006 * buffer.C: link old Figure to new graphic inset
10008 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10010 * FontLoader.C (getFontinfo): Change the latex font names in order
10011 to match the names of type1inst.
10013 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10015 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10017 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10018 (extchanged): ditto
10020 (remove_files_with_extension): ditto
10021 (remove_file): ditto
10024 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10025 document is smaller than the work area height. Do not initialize
10026 static variables to 0.
10028 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10030 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10032 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10033 LFUN_LAYOUT_PARAGRAPHS.
10035 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10036 tabular. It is possible to provide a possible cell, which will
10037 typically be the actcell from the corresponding insettabular
10039 * lyxfunc.C (getStatus): small cleanup; disable
10040 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10043 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10045 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10047 * paragraph.C (startTeXParParams):
10048 (endTeXParParams): new methods. The LaTeX code to
10049 start/end paragraph formatting
10050 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10051 empty (fixes bug #200)
10053 * vspace.C (inPixels): adapt to the change below
10054 (inPixels): [later] more cleanups (remove unused variables)
10056 * lyxlength.C (inPixels): change to use a width and a height as
10059 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10061 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10062 Replaced with \paperwidth
10064 * DepTable.C (insert): add std:: qualifier
10066 2002-01-18 Allan Rae <rae@lyx.org>
10068 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10071 * text.C (drawInset): Turned out I didn't know enough about how
10072 rebreaking worked. This fixes most of the redraw problems. I see
10073 an occasional cursor trail when a line is broken now and the cursor
10074 placement can seem out by a few pixels also after a rebreak.
10076 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10078 * buffer.C (parseSingleLyXformat2Token): update because minipage
10079 width is now a LyXLength
10081 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10083 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10086 2002-01-17 Juergen Vigna <jug@sad.it>
10088 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10090 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10091 is set correctly and the inset is updated correctly.
10093 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10096 the beginning of the loop.
10098 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10100 * lyxrc.C: improve help for use_scalable_fonts
10102 2002-01-17 Allan Rae <rae@lyx.org>
10104 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10106 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10108 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10109 make sure to set their inset_owner to the right value (bug #171)
10111 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10114 * DepTable.C: Implement mtime checking to reduce time spent doing
10117 2002-01-16 Juergen Vigna <jug@sad.it>
10119 * tabular.C (GetAdditionalHeight): one of error fixed.
10121 * lyxrc.C (output): small fix in writing use_pspell.
10123 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10125 * sp_base.h: #include LString.h
10127 2002-01-16 Allan Rae <rae@lyx.org>
10129 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10130 Can someone check this please?
10132 * text.C (drawInset): It was possible that p.row would be removed by
10133 breakAgainOneRow upsetting a few other settings. There may be another
10134 small tweak possible by setting need_break_row = 0 when p.row has been
10135 removed but I don't know enough about the logic here.
10137 2002-01-15 Allan Rae <rae@lyx.org>
10139 * text.C (insertChar): removed conditional truism.
10141 * BufferView2.C (removeAutoInsets): More tweaks.
10142 cur_par_prev could be a stray pointer. Check for trailing empty line
10143 in case last line was cur_par and only had an error inset on it.
10145 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10147 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10150 * vc-backend.C (most methods):
10151 * exporter.C (Export):
10152 * converter.C (convert):
10154 * LyXSendto.C (SendtoApplyCB):
10155 * lyxfunc.C (dispatch):
10159 * lyx_cb.C (AutoSave):
10161 * BufferView_pimpl.C (MenuInsertLyXFile):
10162 * buffer.C (runChktex): use Buffer::filePath().
10164 * buffer.h: rename filename to filename_; rename filepath to
10165 filepath_ and make it private
10166 (filePath): new method
10168 * buffer.C (writeFile): use fileName()
10171 * lyx_main.C (init): fix starting of LyX when the binary is a
10172 link from so,ewhere else.
10174 * minibuffer.C: include <cctype> for isprint
10176 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10178 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10179 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10180 name clash with InsetCollapsable's width function.
10182 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * lastfiles.C: include <iterator>
10186 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10188 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10191 * buffer.C (makeLaTeXFile): ditto.
10192 Also make loop operation more transparent.
10194 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10196 * ToolbarDefaults.C: remove trailing comma closing namespace.
10198 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10200 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10203 * trans.C (Load): comment out unused variable, allowed.
10205 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10207 * minibuffer.[Ch] (append_char): new method to recieve input from the
10208 drop-down completion browser. If a key was pressed, then recieve this
10209 char and append it to the existing string.
10210 (peek_event): modify the positioning data passed to the completion
10211 browser so that it can be placed above the minibuffer rather than below.
10212 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10214 * LyXAction.C (init): alloe error-next for readonly documents.
10216 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10219 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10221 * bufferlist.C (readFile): create the buffer _after_ checking that
10224 * lyxfunc.C (verboseDispatch): fix handling of arguments
10226 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10228 * lyxrc.C: use string::erase() instead of initializing to "".
10231 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10233 * BufferView_pimpl.h:
10234 * BufferView_pimpl.C:
10237 * text2.C: tell X when we have made a selection for copying
10239 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10241 * BufferView_pimpl.C (MenuInsertLyXFile):
10242 * lyxfunc.C (menuNew):
10244 (doImport): add shortcuts to directory buttons
10246 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10249 * lyxfunc.C (setStatusMessage):
10250 (getStatusMessage): new methods
10251 (getStatus):use setStatusMessage instead of setErrorMessage
10252 (dispatch): when function is disabled, set error message here
10253 [instead of in getStatus previously]
10255 * BufferView_pimpl.C (workAreaButtonRelease): update
10256 toolbar/menubar here too.
10258 2002-01-13 Allan Rae <rae@lyx.org>
10260 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10261 Now seems indestructible. Remaining task is to audit all other
10262 code affected by deleteEmptyParagraphMechanism. One small quirk
10263 left is that an empty document with an error in the preamble can
10264 be made to report an error but no error box appears. I don't know
10266 (removeAutoInsets): Improved comments.
10268 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10271 * Thesaurus.C: update for Aiksaurus 0.14
10273 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10275 * text2.C (firstParagraph): removed member function, all uses
10276 replaces with ownerParagraph
10277 (redoParagraphs): here
10278 (updateInset): here
10279 (toggleAppendix): here
10280 * BufferView2.C (insertErrors): here
10281 (setCursorFromRow): here
10283 2002-01-13 Allan Rae <rae@lyx.org>
10285 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10286 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10287 There is still a way to segfault this although you may have to do this
10288 multiple times: Have an InsetERT with an unknown command in it.
10289 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10290 <down-arrow>, <Enter> again, View->DVI, BANG!
10292 * text2.C (setCursor):
10293 (deleteEmptyParagraphMechanism):
10294 * lyxtext.h (setCursor):
10295 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10296 Making use of the return value may help fix other bugs.
10298 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10300 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10302 * LyXView.C (updateMenubar): call MenuBar::update here
10303 (updateToolbar): but not here
10304 (showState): do not update toolbar/menubar
10306 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10307 should need to care about that.
10309 * lyxfunc.C (verboseDispatch): simplify a bit
10310 (getStatus): have a version which takes a pseudoaction, and
10311 another which requires a (kb_action,string).
10313 * LyXAction.C (retrieveActionArg): make it work also when action
10314 is not a pseudo-action.
10315 (getActionName): simplify a bit
10318 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10320 * lyxfunc.C (verboseDispatch): new families of methods with
10321 several ways to specify a command and a bool to indicate whether
10322 the command name and shortcut should be displayed in minibuffer
10323 (eventually, we could extend that to a finer bitmask like
10324 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10325 (dispatch): the pristine dispatch command which just, well,
10326 dispatchs! Note it still sets its result to minibuffer; I'm not
10329 * lyxfunc.h: remove setHintMessage
10331 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10333 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10335 * BufferView_pimpl.C (specialChar): delete new inset if we have
10336 not been able to insert it.
10338 * kbmap.C: revert to using int instead of kb_action, since all we
10339 are dealing with is pseudo-actions.
10341 * LyXAction.C (searchActionArg): change to return int instead of
10342 kb_action, since the result is a pseudoaction.
10344 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10346 * buffer.C (insertErtContents): Fix (partially) the font bug.
10348 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10350 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10351 as the other one is broken on my machine!
10353 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10356 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10358 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10360 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10361 reflect their actual use. Provide compatibility code for older lyxrc
10364 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10366 change names of popup font variables in line with the changes to lyxrc.C
10368 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * buffer.C (asciiParagraph): avoid outputing a word twice after
10373 * lyxrc.C (getDescription): document that document_path and
10374 template_path can be empty.
10376 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10378 * LaTeXFeatures.C (getMacros):
10379 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10381 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10383 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10385 (getPackages): rename feature "floats" to "float". Use an array to
10386 iterate over 'simple' features (i.e. just a \usepackage). Add
10387 handling of "amsmath" (renamed from "amsstyle").
10389 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10391 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10394 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10396 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10397 FuncStaus::FuncStatus & FuncStaus::some_method().
10399 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10401 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10402 of the func_satus stuff. Edited and massaged in various ways by
10405 * lyxfunc.C (getStatus): use FuncStatus
10407 2002-01-08 Juergen Vigna <jug@sad.it>
10409 * text.C (nextBreakPoint): use function Inset::isChar().
10411 * paragraph.C (TeXOnePar): use function
10412 Inset::forceDefaultParagraphs.
10414 * buffer.C (latexParagraphs): use function
10415 Inset::forceDefaultParagraphs.
10417 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10419 * lyx_gui.C (init): set the style of the menu popups to
10420 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10422 2002-01-07 Juergen Vigna <jug@sad.it>
10424 * text.C (setHeightOfRow): small fix
10425 (prepareToPrint): don't look at alignment if we don't have the place
10428 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10430 * box.C: New file. Move the Box methods and functions out of box.h,
10431 following Lars' suggestion.
10433 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10435 * box.h: #include "support/LOstream.h", needed for inlined function.
10438 * lyxtextclasslist.C: added some using std declarations.
10440 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10442 * box.h: make signed dimensions to allow insets wider than
10443 the screen (bug #162)
10445 * BufferView_pimpl.C: add some insetHit debug
10447 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10449 * vc-backend.C: add FIXME
10451 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10453 * lyxfunc.C (getStatus): enable code for showing math font status
10456 2002-01-07 Juergen Vigna <jug@sad.it>
10458 * text.C (nextBreakPoint): removed debug output not needed anymore.
10460 2002-01-06 Juergen Vigna <jug@sad.it>
10462 * text.C (nextBreakPoint): fixed up this function we had this bug
10463 since ever but now hopefully we break row better.
10464 (insertChar): we have to check if an inset is the next char as it
10465 could now happen that a large inset is causing a break.
10467 2002-01-05 Juergen Vigna <jug@sad.it>
10469 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10470 if it doesn't like to be drawed.
10472 2002-01-04 Juergen Vigna <jug@sad.it>
10474 * BufferView2.C (lockInset): forgot to set a cursor.
10476 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10478 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10480 * FormMathsPanel.C:
10483 * form_maths_panel.C:
10484 * form_maths_panel.h:
10485 * form_maths_panel.fd: implemented sub- and super- buttons in math
10488 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10489 (or ^ space) to be used as in TeX (req'd by André).
10491 * lyxfunc.C: Allow ^ and _ again to be used both as
10492 super/subscript (mathed) and as themselves (in text).
10494 2002-01-03 Allan Rae <rae@lyx.org>
10496 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10497 "LyX" or the filename of the current buffer if it has one. This is a
10498 modified form of John Levon's patch.
10500 * XFormsView.C (setWindowTitle): also set icon title.
10502 * LyXView.h (setWindowTitle): signature changed.
10503 * XFormsView.h (setWindowTitle): ditto.
10505 2002-01-02 Juergen Vigna <jug@sad.it>
10507 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10509 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10511 * screen.C (topCursorVisible): introduce a temp var for
10512 text->cursor.row(), handle the case where this row is null. (kindo
10515 * text2.C (setCursor): add a couple of asserts.
10517 * paragraph.h (inset_iterator): add -> operator
10519 * paragraph.[Ch] (autoDeleteInsets): remove member function
10521 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10522 cursor pos correctly and handle inset deletion by itself.
10523 (insertErrors): move iterator declaration out of for expression
10525 * lyxtextclass.C: add <algorithm>
10527 * Makefile.am: added the new files to sources, removed layout.C
10529 * layout.C: removed file
10531 * layout.h: remove LYX_DUMMY_LAYOUT
10533 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10537 * lyxtextclass.[Ch]:
10538 * lyxtextclasslist.[Ch]: new files
10540 * include order changes to a lot of files, also changes because of
10543 2001-12-27 Juergen Vigna <jug@sad.it>
10545 * buffer.C (asciiParagraph): more fixes.
10547 * tabular.C (ascii): make ascii export support export of only the
10548 data separated by a column-delimiter.
10549 (ascii): better support for ascii export.
10551 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10553 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10555 * tabular_funcs.C: use a "using std::getline" instead of the
10556 previous fix from Angus (necessary for cxx + lyxstring)
10558 2001-12-24 Juergen Vigna <jug@sad.it>
10560 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10562 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10563 problems. First check a minipage also if we have some ert-contents
10564 (not only on par->size(), second set the right depth of the paragraph
10565 on the relink to the root-paragraph-list!
10567 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10568 which then did not anymore update the main paragraphs on undo/redo!
10570 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10573 code. Support all font-changing funcs (even those which are not in
10574 menu currently). Support for reporting font settings in
10575 mathed (disabled until Andre provides a function on mathed's side).
10577 * func_status.h (toggle): small helper function to set toggle
10580 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10582 * tabular_funcs.C: getline -> std::getline
10584 2001-12-21 Juergen Vigna <jug@sad.it>
10586 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10587 accessed and could be 0 (I couldn't generate this but it seems
10590 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10592 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10593 * tabular_funcs.h: here and include iosfwd
10595 2001-12-20 Juergen Vigna <jug@sad.it>
10597 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10598 inside inset but undo_par was.
10600 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10602 * Thesaurus.C: always include <config.h> in sources.
10606 * box.h: do not include <config.h> in header files
10608 * text.C (paintLastRow): remove unused variable
10610 * text.C (transformChar):
10612 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10614 * Painter.C (text):
10615 * font.C (width): rewrite to use uppercase() instead of
10618 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10620 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10622 * lyxfind.C: clean up of find failure position change
10624 2001-12-20 Juergen Vigna <jug@sad.it>
10626 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10628 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10629 (TeXRow): added to LaTeX a single tabular row.
10630 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10631 (Latex): simplified and finally good LT-h/f support.
10632 (various_functions): just small adaptions for LT-h/f support.
10634 * tabular_funcs.[hC]: added and moved here all not classfunctions
10637 2001-12-19 Juergen Vigna <jug@sad.it>
10639 * tabular.[Ch]: better support for longtabular options (not finished
10642 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * text.C (paintLastRow): use the label font instead of the font of
10645 the last character to compute the size of *_BOX. This makes more
10646 sense and avoids a crash with empty paragraphs.
10647 Use Painter::rectangle to draw EMPTY_BOX.
10649 2001-12-19 Juergen Vigna <jug@sad.it>
10651 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10652 the paragraphs if the replaced paragraph is not the first one!
10653 Tried to delete not used paragraphs but does not work yet so for
10654 now it's inside #ifdef's and by default off!
10656 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10658 * MenuBackend.C: include "lyx_main.h" instead of declaring
10659 lastfiles (actually was declared as LastFiles* instead of a
10662 2001-12-17 Juergen Vigna <jug@sad.it>
10664 * tabular.C (AppendColumn): applied John's fix
10666 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10670 * BufferView_pimpl.h:
10671 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10674 * box.h: new start of class for above
10676 * lyxfunc.C: ignore space-only minibuffer dispatches.
10677 Show the command name when it doesn't exist
10679 * minibuffer.C: don't add empty lines to the history
10681 * minibuffer.C: add a space on dropdown completion
10683 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10685 * text.C: fix line above/below drawing in insets
10687 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10689 * lyxlength.C (LyXLength): Initialize private variables.
10691 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10693 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10694 when inserting error insets.
10696 2001-12-13 Juergen Vigna <jug@sad.it>
10698 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10699 actually sometimes the before-paragraph.
10700 (setUndo): don't clear the redostack if we're not actually undoing!
10702 2001-12-06 Juergen Vigna <jug@sad.it>
10704 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10705 and fixed redoing of main paragraph, so we can use it now ;)
10707 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10709 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10711 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10714 2001-12-13 André Pönitz <poenitz@gmx.net>
10717 * undo_func.C: minor cleanup
10719 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10721 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10722 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10723 font in urw-fonts package which is marked as -urw-fontspecific and
10724 does not work (incidentally, changing the encoding in the
10725 fonts.dir of this package to -adobe-fontspecific fixes the
10728 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10729 is a crash when undoing first paragraph (Juergen, please take a
10730 look). THis does not mean the undo fix is wrong, just that it
10733 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10734 the (Paragraph*) version when needed instead of duplicating the
10737 * text.C (workWidth): use Inset::parOwner to find out where the
10738 inset has been inserted. This is a huge performance gain for large
10739 documents with lots of insets. If Inset::parOwner is not set, fall
10740 back on the brute force method
10742 * paragraph_pimpl.C (insertInset):
10743 * paragraph.C (Paragraph):
10744 (cutIntoMinibuffer): set parOwner of insets when
10745 inserting/removing them
10747 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10749 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10755 * mathed/formulabase.C:
10756 * mathed/math_cursor.[Ch]:
10757 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10760 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10762 * lyxlength.[Ch] (operator!=): new function
10764 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10766 * text.C (workWidth): use Inset::parOwner to find out where the
10767 inset has been inserted. This is a huge performance gain for large
10768 documents with lots of insets. If Inset::parOwner is not set, fall
10769 back on the brute force method
10771 * paragraph_pimpl.C (insertInset):
10772 * paragraph.C (Paragraph):
10773 (cutIntoMinibuffer): set parOwner of insets when
10774 inserting/removing them
10776 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10778 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10780 * tabular-old.C (getTokenValue):
10781 * tabular.C (getTokenValue):
10782 (write_attribute): new versions for LyXLength
10783 (everywhere): adjust the use of widths
10785 * tabular.h: change the type of widths from string to LyXLength
10787 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10789 * paragraph.C: fixed missing line number count when exporting
10790 Environments to LaTeX file
10792 * buffer.C: added informational message for checking line numbers.
10794 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10797 paragraph, do the 'double space' part, but not the 'empty
10800 * text.C (workWidth): small optimization
10801 (getLengthMarkerHeight): use minimal size for negative lengths.
10803 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10805 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10807 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10809 2001-12-11 André Pönitz <poenitz@gmx.net>
10812 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10814 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10816 * text2.C: keep selection on a setFont()
10818 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10820 * lyx_cb.C: another bv->text misuse, from insert label
10822 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10825 * kbsequence.C: re-instate nmodifier mask
10827 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10829 * lyx_main.h: make lyxGUI private.
10831 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10833 * lyxfind.C: place the cursor correctly on failed search
10835 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10837 * text.C (getLengthMarkerHeight): for small heights, the arrows
10838 are not always on top/bottom of the text
10839 (drawLengthMarker): smaller arrows; take the left margin in
10840 account; draw also vfills.
10842 (paintLastRow): remove special code for vfill and standard spaces,
10843 since everything is handled in drawLengthMarker now.
10845 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * buffer.C (insertErtContents): try to handle font and language
10848 interaction a bit better.g
10850 * ColorHandler.C (updateColor): change the hash to cover the whole
10851 LColor enum, ws cleanup
10852 (getGCLinepars): ditto
10853 (getGCLinepars): only lookup in the linecache once.
10855 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10857 * iterators.C (operator++): Make the iterator more robust
10859 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10861 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10866 * text.C: better added space drawing
10868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10871 * BufferView2.C: fix layout combo update on inset unlock
10873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10875 * Makefile.am: don't compile unused files
10877 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10881 * LyXAction.C: remove old LFUN_LAYOUTNO
10883 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10885 * paragraph_pimpl.h:
10886 * paragraph_pimpl.C: isTextAt() doesn't need font param
10888 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10891 * lyxlex.C: little cleanup
10893 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10895 * BufferView_pimpl.C: fix insertAscii for insets
10897 2001-12-05 Juergen Vigna <jug@sad.it>
10899 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10900 set the right font on the "multi" paragraph paste!
10902 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10908 * lyxlength.C: remove out-commented code.
10910 * BufferView_pimpl:
10924 * vc-backend.C: change "while(" to "while ("
10926 * lyxlength.[Ch]: add zero function to check if length is zero or
10928 * lyxgluelength.C: use it
10930 2001-12-05 Allan Rae <rae@lyx.org>
10932 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10933 Works for 2.95.3, from what I understand of Garst's reports this should
10934 work for other g++ versions. We're screwed if the abs(int) definition
10935 changed between bugfix releases of gcc.
10937 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10939 * text.C: fix chapter label offset !
10941 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10944 * text.C: fix hfill at end of line, clean up
10946 2001-12-04 Juergen Vigna <jug@sad.it>
10948 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10949 that we force an update of the inset and it's owners if neccessary.
10951 2001-12-03 Juergen Vigna <jug@sad.it>
10953 * text.C (rowLast): simplified code
10955 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10957 * lyxfunc.C: fix show options on timeout
10959 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10961 * screen.C (topCursorVisible): scroll half a page when the cursor
10962 reached top of bottom of screen
10964 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10966 * minibuffer.C: deactivate on loss of focus
10968 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10970 * vspace.[Ch] (operator!=): add operator.
10972 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10974 * BufferView_pimpl.C: refuse to open an inset when
10975 there's a selection.
10977 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10979 * BufferView_pimpl.C: allow to click on RHS of full row insets
10981 2001-11-30 Juergen Vigna <jug@sad.it>
10983 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10984 insets for undo reasons.
10986 2001-11-28 André Pönitz <poenitz@gmx.net>
10988 * vspace.[Ch]: cosmetical changes
10990 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11000 * kbsequence.C: part re-write of old kb code
11003 * WorkArea.C: remove Lgb_bug_find_hack
11005 2001-11-30 José Matos <jamatos@fep.up.pt>
11007 * buffer.C (makeDocBookFile): add a comment to point a hack.
11008 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11009 Fixed a double write of labels.
11011 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11014 * LaTeX.h Fixed bug in LaTeX class where it would not
11015 re-run latex if no depfiles were changed, but the .dvi was removed.
11017 2001-11-28 André Pönitz <poenitz@gmx.net>
11019 * all the files from the change on 2001/11/26:
11020 use lyx::layout_type instead of LyXTextClass::size_type
11021 use lyx::textclass_type instead of LyXTextClassList::size_type
11023 2001-11-29 Juergen Vigna <jug@sad.it>
11025 * text.C: added support for paragraph::isFreeSpacing()
11027 * buffer.C: same as above
11029 * paragraph.h: inserted isFreeSpacing() function to enable
11030 FreeSpacing inside InsetERT.
11032 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11033 of the paragraph's in the cut/copy buffer to 0!
11035 * text2.C (removeRow): remove the assert as it can!
11037 * lyxtext.h: added helper function firstRow returning firstrow and
11038 made firstrow private again.
11040 * BufferView2.C (lockInset): don't relock if we're already locked!
11042 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11043 the only paragraph.
11044 (removeRow): added Assert::(firstrow)
11046 * debug.C: forgot to add INSETTEXT here.
11048 2001-11-28 Juergen Vigna <jug@sad.it>
11050 * sp_spell.C (initialize): changed error text to more general
11051 spellchecker command use (not only ispell!)
11053 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11055 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11057 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11059 * vspace.C: initialise lyxgluelength on failure
11061 2001-11-28 Allan Rae <rae@lyx.org>
11063 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11064 declaration & definition that looks like a function declaration.
11066 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11068 * BufferView2.C (copy):
11069 (copyEnvironment): do not clear the selection when doing a copy.
11071 * text.C (paintFirstRow): compilation fix
11073 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11075 * tabular.C (Latex): correct line count when writing latex.
11077 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11079 * paragraph_pimpl.h:
11080 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11083 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11087 * LColor.C: change vfillline->added_space
11089 * text.C: add markers and text for added space
11091 * vspace.C: fix comment
11093 2001-11-28 André Pönitz <poenitz@gmx.net>
11095 * paragraph.C: whitespace changes
11096 * all the other files from the change on 2001/11/26:
11097 change *::pos_type into lyx::pos_type
11099 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11101 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11102 language of the document when inserting error insets.
11104 2001-11-26 André Pönitz <poenitz@gmx.net>
11106 * BufferView_pimpl.[Ch]:
11114 * paragraph_pimpl.[Ch]:
11117 * text2.C: reduce header dependencies, introduce type for positions
11119 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11121 * <various>: change to use Alert.h
11123 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11125 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11126 when encountering an unknown token.
11127 (readLyXformat2): Show an error message if there were unknown tokens.
11129 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11132 * BufferView_pimpl.C:
11136 * text2.C: use par->isInset()
11138 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11140 * paragraph_pimpl.h:
11141 * paragraph_pimpl.C: cleanup
11143 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11145 * text2.C (removeRow):
11146 * text.C (setHeightOfRow): remove useless (and costly) call to
11149 2001-11-20 Allan Rae <rae@lyx.org>
11151 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11152 Now need Inset*::checkInsertChar() to return true for appropriate
11153 cases so that the characters in the minibuffer will actually be
11156 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11158 * text.C: change the order of the includes.
11159 (workWidth): initialize it at once.
11160 (workWidth): make maxw unsigned
11161 (setHeightOfRow): remove unused variable (inset)
11162 (selectSelectedWord): remove unused variable (inset)
11163 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11165 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11167 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11168 server is not running.
11170 (closeConnection): add debug info when server is disabled.
11172 * ColorHandler.C (getGCForeground): send debug message to GUI
11175 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11177 * kbmap.C (bind): modify because return conventions of
11178 kb_sequence::parse have changed.
11180 * kbsequence.C (parse): only ignore spaces and not any stupid
11181 control character. This avoids tests like s[i] <= ' ', which are
11182 guaranteed to fail with 8bit characters and signed chars.
11183 Change return code to string::npos when there have been no error
11184 (0 was a bad idea when error is at first character)
11186 2001-11-14 José Matos <jamatos@fep.up.pt>
11189 * buffer.C (simpleDocBookOnePar): removed unused argument.
11191 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11193 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11194 insets which are part of a word. Paragraph::isLetter takes care of
11195 that now. Use Paragraph::isInset to identify insets.
11196 (selectSelectedWord): do not test for hyphenation break.
11198 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11199 that protected spaces are considered as spaces.
11201 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11204 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11207 * lyxserver.C: fix it. and small cleanup.
11209 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11211 * BufferView_pimpl.C: use inline helpers
11214 * LaTeXFeatures.C: fix typos
11217 * Spacing.C: move spacing_string into class
11219 * ToolbarDefaults.C: move stuff into namespace anon
11221 * layout.h: update enum
11223 * lyxfunc.C: use better debug
11225 * minibuffer.h: fix typo
11229 * WorkArea.C: add and use Debug::WORKAREA
11233 * text2.C: code re-organisation, inline helpers
11235 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11237 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11238 std::vector.empty().
11240 2001-11-09 Allan Rae <rae@lyx.org>
11242 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11243 '\n's after tables. Tabular and ERT inset work now makes this no
11246 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11249 * minibuffer.C: fix crash, improve drop-down completion
11251 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11254 * lyxserver.C: invalidate fd's when doing endPipe()
11256 2001-11-08 José Matos <jamatos@fep.up.pt>
11258 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11259 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11262 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11264 2001-11-07 José Matos <jamatos@fep.up.pt>
11267 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11270 * buffer.C (sgmlOpenTag):
11271 * buffer.C (sgmlCloseTag): removed debug info.
11273 * buffer.h (sgmlOpenTag):
11274 * buffer.h (sgmlCloseTag): made public.
11276 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11278 * buffer.C (saveParamsAsDefaults):
11279 * lyx_cb.C (MenuLayoutSave): remove
11281 * LyXAction.C (init):
11283 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11285 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11287 * buffer.C (setPaperStuff): removed from here...
11289 * bufferparams.C (setPaperStuff): ... and moved there.
11291 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11295 * XFormsView.C: add support for drop-down completion
11297 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11299 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11302 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11304 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11307 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11309 * lyx_main.C: change ref to known bugs
11311 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11313 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11314 to work around older babel problems.
11316 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11318 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11320 2001-10-24 Juergen Vigna <jug@sad.it>
11322 * tabular-old.C (ReadOld): below variable changes reflected.
11324 * tabular.[Ch]: added ltType struct for longtable header/footer
11325 defines and changed all instances where they are used. Added
11326 future support for double top/bottom rows.
11328 2001-10-24 José Matos <jamatos@fep.up.pt>
11330 * buffer.h (docbookHandleCaption):
11331 * buffer.C (docbookHandleCaption): removed unused function.
11332 (makeDocBookFile): moved docbook supported version to v4.1.
11334 2001-10-24 José Matos <jamatos@fep.up.pt>
11337 * tabular.C (docbookRow): new function to export docbook code of a row.
11338 (DocBook): now honors the longtable flags.
11340 2001-10-23 José Matos <jamatos@fep.up.pt>
11343 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11344 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11346 * buffer.C (makeLinuxDocFile):
11347 (makeDocBookFile): reworked the preamble, more clean, and with
11348 support for lyx defined entities. Changed the document declaration
11349 to be more XML friendly.
11351 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11352 if we need to output XML that should be done with a filter.
11354 2001-10-22 Juergen Vigna <jug@sad.it>
11356 * sp_pspell.h (class PSpell): add alive function needed in the
11357 controller to see if the spellchecker could be started.
11359 2001-10-22 Juergen Vigna <jug@sad.it>
11361 * buffer.C (insertStringAsLines): modify the font for inserting
11362 chars in certain conditions by calling checkInsertChar(font).
11364 2001-10-19 Juergen Vigna <jug@sad.it>
11366 * text.C (workWidth): use getRow instead of wrong algorithm.
11367 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11369 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11374 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11376 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11378 * text.C (workWidth): do not search for the exact row when
11379 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11380 optimization for big documents.
11382 2001-10-18 Juergen Vigna <jug@sad.it>
11384 * text.C (workWidth): new function with added Inset * parameter.
11386 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11388 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11390 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11391 change return type of getColumnNearX.
11394 * text.C (changeRegionCase): use uppercase/lowercase instead of
11397 (rightMargin): simplify code by factoring out the uses of
11402 (appendParagraph): use Paragraph::size_type
11404 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11406 * vspace.C (asLatexString): add a missing break
11408 2001-10-15 Herbert Voss <voss@perce.de>
11410 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11412 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11414 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11417 2001-10-10 André Pönitz <poenitz@gmx.net>
11419 * lyxfunc.C: removed greek_kb_flag.
11421 2001-10-10 Herbert Voss <voss@perce.de>
11423 * lyx_main.C: delete global string help_lyxdir.
11425 2001-10-09 Herbert Voss <voss@perce.de>
11427 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11429 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11431 * lyx_main.C: added global string help_lyxdir.
11433 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11435 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11437 * lyxrc.C (set_font_norm_type): support iso8859-4
11439 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11441 * LaTeX.C (deplog): add another regex for MikTeX
11443 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11445 * lyxrc.C (set_font_norm_type): support iso8859-3
11447 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11451 * LaTeXFeatures.C: remove special case of french and index
11453 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11454 before \begin{document}). This solves several incompatibilities.
11456 2001-10-03 Garst Reese <reese@isn.net>
11458 * lyx_cb.C: change CheckTex error msg.
11460 2001-10-03 José Matos <jamatos@fep.up.pt>
11462 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11464 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11466 * .cvsignore: update
11468 * lyx_main.C (commandLineVersionInfo): use new style version info.
11470 * buffer.C (writeFile):
11472 (makeLinuxDocFile):
11473 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11475 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11477 * version.h: update to use stuff in version.C
11479 * version.C.in: new file. Contains version information determined
11480 at compile time. This is a merging of version.h and
11483 2001-10-03 Juergen Vigna <jug@sad.it>
11485 * BufferView_pimpl.C (update): don't change "dirty" status in
11488 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11490 * WorkArea.C (c-tor): re-position version string slightly.
11492 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11494 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11495 revert to previous code.
11497 WorkArea.[Ch]: (show, destroySplash): methods removed.
11499 WorkArea.C: rework code so that it's an amalgam of the codes before and
11500 after the splash screen was moved to WorkArea.
11502 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11505 * vspace.C (inPixels):
11508 * buffer.C (insertStringAsLines):
11509 (asciiParagraph): fix types to be large enough
11511 * lyxlex_pimpl.h: change member status from short to int
11513 * layout.h: fix type of endlabeltype
11516 * kbsequence.C (parse): change return type to string::size_type
11518 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11521 * Bullet.C (bulletSize):
11522 (bulletEntry): do not use short ints as parameters
11524 * BufferView2.C (insertLyXFile): change a char to an int.
11526 * WorkArea.C (WorkArea): remove unneeded floats in computation
11528 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11530 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11532 * paragraph.C (asString): Do not ignore newline/hfill chars when
11533 copying to the clipboard.
11535 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11537 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11538 after a multi-line inset.
11540 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11542 * paragraph.C (validate): Set NeedLyXFootnoteCode
11544 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11546 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11547 and decrease-error to decrease.
11549 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11551 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11552 it more readable (should be equivalent)
11554 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11556 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11558 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11560 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11561 of a cursor (row, etc.) after a character has been deleted
11562 (deleteEmptyParagraphMechanism): call the method above on _all_
11563 cursors held by the LyXText when a double space has been
11566 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11568 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11570 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11572 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11573 background. Use greyOut() and the new show() methods to toggle between
11574 the foreground and background. Add code to remove the splash after
11575 its initial showing.
11577 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11578 (create_forms): no longer call Dialogs::showSplash.
11580 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11582 * .cvsignore: add version_info.h
11584 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11586 * version_info.h.in: new file
11588 * Makefile.am: add version_info.h.in
11590 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11591 version_info.h instead of VERSION_INFO
11593 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11595 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11596 The ERT inset now returns string().
11598 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11600 * lyxtext.h, text.C (selectNextWord): renamed as
11601 selectNextWordToSpellcheck.
11603 * text.C (selectNextWordToSpellcheck): Modified to not select
11604 words inside an ERT inset.
11606 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11608 * lyx_cb.C (MenuLayoutSave): change a bit the question
11610 * sp_base.h: include <sys/types.h>
11612 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11614 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11616 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11618 * several files: fix typos in user-visible strings
11620 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11622 * text2.C (pasteSelection): do not set the selection, since it
11623 will be cleared later. Actually, the intent was to fix the way the
11624 selection was set, but I figured rmoving the code was just as good.
11626 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11628 * FontLoader.C (available): Check if font is available without
11631 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11633 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11635 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11637 * lyxrc.[Ch]: added display_graphics variable and associated code.
11639 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11641 * bufferparams.C (hasClassDefaults): new method. Returns true if
11642 the buffer parameters correspond to known class defaults
11644 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11646 * XFormsView.C (show): set minimum size to the main window.
11648 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11650 * text2.C (copySelection):
11652 * lyxfind.C (LyXReplace):
11653 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11654 LyXText::selectionAsString.
11656 * paragraph.C (asString): add "label" argument to the second form
11658 * text2.C (selectionAsString): add "label" argument and pass it to
11659 Paragraph::asString.
11661 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11663 * lyx_main.C (commandLineHelp): remove version information
11665 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11667 * lyx_main.C: add -version commandline option
11669 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11671 * paragraph.h: make the optional constructor arg required instead.
11672 some modifications to other files because of this.
11674 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11676 * lyxserver.C (C_LyXComm_callback): make it static
11678 * lyx_main.C (error_handler): make it static
11680 * lyx_gui.C (LyX_XErrHandler): make it static
11682 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11684 * WorkArea.C: make the extern "C" methods static.
11686 * Makefile.am (lyx_LDADD): simplify
11688 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11690 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11691 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11693 * LyXAction.C (init):
11694 * lyxfunc.C (dispatch): associated code removal.
11696 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11698 * lyxfont.h (isSymbolFont): shut off warning
11700 * text.C (setHeightOfRow):
11701 (getVisibleRow): fix crash with empty paragraphs which have a
11704 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11706 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11709 2001-09-04 José Matos <jamatos@fep.up.pt>
11712 * tabular.C (docbook): rename docBook method to docbook.
11714 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11716 * Makefile.am: add dependencies to main.o.
11718 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11720 * FontLoader.C (available): Return false if !lyxrc.use_gui
11722 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11724 * FontInfo.C (query):
11725 * converter.C (view):
11726 * importer.C (Import):
11727 * exporter.C (Export): Can not -> cannot.
11729 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11731 * BufferView_pimpl.C: allow to create index inset even if
11734 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11736 * buffer.C (getLists): replace boost::tie code with an explicit pair
11737 as boost::tie can break some compilers.
11739 * iterators.h: Added a std:: declaration to the return type of
11742 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11744 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11747 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11749 * iterators.[Ch]: New files. Provide paragraph iterators.
11751 * buffer.C (changeLanguage): Use paragraph iterators.
11752 (isMultiLingual): ditto
11754 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11756 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11758 * FontLoader.C: Support for cmr font.
11760 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11762 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11763 (available): New method.
11765 * FontInfo.C (getFontname): Use scalable fonts even when
11766 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11769 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11771 * converter.C (Formats::view): reverted! Incorrect fix.
11773 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11775 * converter.C (Formats::view): only output the -paper option
11776 if the dvi viewer is xdvi, thereby fixing bug #233429.
11778 2001-08-23 Herbert Voss <voss@perce>
11780 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11782 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11784 * Spacing.h (Spacing): Set space to Default on in the default
11787 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11789 * vc-backend.h (RCS::versionString): add RCS to version
11790 (CVS::versionString): add CVS to version
11792 * vc-backend.C (scanMaster): do not add CVS to version.
11793 (scanMaster): do not add RCS to version
11795 * lyxvc.C (versionString): new method
11797 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11799 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * Spacing.C (set): initialize fval
11803 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11805 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11808 2001-08-16 Juergen Vigna <jug@sad.it>
11810 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11812 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11814 * BufferView_pimpl.C:
11817 * text2.C: setParagraph takes linespacing now
11819 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11821 * LyxAction.C: add internal LFUN_CITATION_INSERT
11823 * LyXView.C: actually apply fix
11825 * bufferlist.C: fix open non-existent file
11827 * lyxfind.C: fix indentation
11829 * lyxfunc.C: remove unneeded assert, fix typo
11831 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11833 * MenuBackend.C: use "Floatname List"
11835 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11837 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11838 when converting LaTeX layout to insetERT.
11839 Generate a non-collapsed float when reading old float
11841 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11843 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11846 2001-08-13 Juergen Vigna <jug@sad.it>
11848 * text.C (fill): return 0 instead of 20 as this seems to be the more
11851 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11853 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11856 2001-08-13 Juergen Vigna <jug@sad.it>
11858 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11860 (SearchBackward): comment out the unlocking of the inset_owner this
11861 should not be needed!
11863 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11865 * Many files: Remove inherit_language, and add latex_language
11867 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11868 collapsible insets.
11870 2001-08-10 Juergen Vigna <jug@sad.it>
11872 * text.C (prepareToPrint): fixed hfill-width in draw!
11874 * BufferView2.C (selectLastWord): save the selection cursor as this
11875 now is cleared in the function LyXText::clearSelection!
11877 2001-08-08 Juergen Vigna <jug@sad.it>
11879 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11880 BACKSPACE type functions.
11882 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11883 is only cutted from the document but not put in the cut-buffer, where
11884 still the old stuff should be.
11886 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11888 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11890 * tabular.C (SetWidthOfCell): fixed special case where the width
11892 (LeftLine): handle '|' in align_special.
11894 (LeftAlreadyDrawed): ditto
11895 (SetWidthOfCell): ditto
11897 2001-08-07 Juergen Vigna <jug@sad.it>
11899 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11901 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11904 * lyxlex.[hC]: ditto
11906 2001-08-06 Juergen Vigna <jug@sad.it>
11908 * text.C (getVisibleRow): fix up row clearing a bit.
11910 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * minibuffer.C: make sure the X server sees the changes in the input.
11914 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * paragraph.C (getFont): split into...
11917 (getLabelFont): this
11918 (getLayoutFont): and this
11919 * paragraph_pimpl.C (realizeFont): calling this
11921 * text2.C (getFont): split into...
11922 (getLayoutFont): this
11923 (getLabelFont): and this
11924 (realizeFont): all three calling this
11926 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11929 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11931 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11933 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11935 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11936 layouts from the Quote inset insertion.
11938 2001-08-03 Juergen Vigna <jug@sad.it>
11940 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11942 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11943 only if status not is already CHANGED_IN_DRAW (second level).
11945 * text.C (draw): don't set the need_break_row when inside an
11948 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11950 * buffer.C (parseSingleLyXformat2Token): handle more latex
11953 * bufferview_funcs.[hC]: change function names to
11954 begin with small char, adjust other files.
11956 2001-08-02 André Pönitz <poenitz@gmx.net>
11959 BufferView_pimpl.C: remove broken special code for math-greek
11961 2001-08-02 Juergen Vigna <jug@sad.it>
11963 * BufferView_pimpl.C (update): redone this function so that we
11964 update the text again if there was a CHANGE_IN_DRAW.
11966 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11967 (drawFromTo): added a new internal bool which is used by draw() and
11969 (general): some cursor drawing problems fixed.
11971 2001-08-01 Juergen Vigna <jug@sad.it>
11973 * lyxfind.C (LyXFind): fixed
11974 (SearchForward): ditto
11975 (SearchBackward): ditto
11977 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11978 spurius drawing of the cursor in the main area.
11980 * text2.C (status): small fix which could lead to a segfault!
11981 (clearSelection): remove unneeded BufferView param.
11983 2001-08-01 André Pönitz <poenitz@gmx.net>
11985 * lyxfunc.C: small change due to changed mathed interface
11987 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11989 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11991 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11993 * lyxfunc.c: fail gracefully if file doesn't exist
11998 * BufferView_pimpl.C: IsDirWriteable() proto changed
12000 * LyXView.C: fix updateWindowTitle() to store the last title
12002 2001-07-31 Juergen Vigna <jug@sad.it>
12004 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12005 the font (wrong since using of Paragraph::highestFontInRange).
12007 * paragraph.C (highestFontInRange): added a default_size parameter.
12009 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12010 (setHeightOfRow): reformat
12012 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12014 * converter.[hC] + affected files: move to (inital-char)lowercase
12017 * ParagraphParameters.C (ParagraphParameters): remove commented code
12019 * PainterBase.[Ch]: remove commented code
12021 * LaTeXFeatures.h: add "bool floats" for float.sty
12023 * LaTeXFeatures.C (LaTeXFeatures): init floats
12024 (require): handle float
12025 (getPackages): do it with floats
12027 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * BufferView_pimpl.C (Dispatch): improve handling of
12030 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12032 * commandtags.h: #include lyxfont.h here temporarily to avoid
12035 * bufferlist.h: include LString.h here.
12037 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12039 * text2.C (getStringToIndex): new method.
12041 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12043 * *: Reduced header file dependencies all over.
12045 2001-07-30 Baruch Even <baruch@lyx.org>
12047 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12049 2001-07-29 Baruch Even <baruch@lyx.org>
12051 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12053 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * ParameterStruct.h (endif): add a default constructor to make
12056 sure that all variables is initialized.
12058 * ParagraphParameters.C (ParagraphParameters): adjust
12060 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12062 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12063 index; also, check that there is something to index, and that it
12064 does not span over several paragraphs.
12065 (doubleClick): use WHOLE_WORD_STRICT for double click.
12067 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12069 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12072 2001-07-26 Baruch Even <baruch@lyx.org>
12074 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12075 an InsetFig figure, backwards compatible reading of old figure code.
12077 2001-07-27 Juergen Vigna <jug@sad.it>
12079 * text2.C: font.realize function adaption.
12081 * text.C (draw): add a warnings lyxerr text if needed.
12083 * layout.C: font.realize function adaption.
12085 * language.C: add inherit_language and implement it's handlings
12087 * bufferview_funcs.C (StyleReset): remove language parameter from
12088 font creation (should be language_inherit now).
12090 * bufferparams.C (writeFile): handle ignore_language.
12092 * paragraph.C (getFontSettings): the language has to be resolved
12093 otherwise we have problems in LyXFont!
12095 * lyxfont.C (lyxWriteChanges): added document_language parameter
12096 (update): removed unneeded language parameter
12098 * paragraph.C (validate): fixed wrong output of color-package when
12099 using interface colors for certain fonts in certain environments,
12100 which should not seen as that on the final output.
12102 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12104 * BufferView_pimpl.C:
12109 * LyXAction.C: add thesaurus support
12112 * lyxfind.C: add "once" parameter, for thesaurus, to not
12113 move to the next match
12115 2001-07-26 Juergen Vigna <jug@sad.it>
12117 * lyxfont.C (realize): honor ignore_language too!
12120 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12122 * text.C (draw): one place more for ignore_language to not draw
12125 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12127 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12129 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12132 the minipage conversion problem.
12134 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12136 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12139 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * BufferView.h: don't forward declare WorkArea
12143 * BufferView.C: don't include WorkArea.h
12145 2001-07-25 André Pönitz <poenitz@gmx.net>
12149 * lyxfunc.C: new LFUN 'math-space'
12151 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12153 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * text2.C (toggleInset): call open/close
12157 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * lyxfunc.C (dispatch): add debug for the disabled case
12161 * font.C (buttonText): make similar to rectText
12163 * buffer.C (readInset): comment out parsing of insetlist and
12166 * PainterBase.C (rectText): small correction
12168 * BufferView_pimpl.C: comment out insettheorem and insetlist
12169 * LyXAction.C: ditto
12170 * commandtags.h: ditto
12172 2001-07-24 Juergen Vigna <jug@sad.it>
12174 * text.C (draw): honor the ignore_language.
12176 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12178 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12180 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12183 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12185 * lyxtext.h: remove unused (and unimplemented) methods
12187 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12189 * text.C (getVisibleRow): honor background color
12192 * Painter.h: remove default color argument for fillRectangle
12194 * text.C (backgroundColor): new method
12196 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12198 * text.C (getVisibleRow): adjust
12200 * font.[Ch] (rectText): new method, metrics
12201 (buttonText): new method, metrics
12203 * PainterBase.[hC]: make rectText and buttonText always draw and take
12206 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12208 * ToolbarDefaults.C (read):
12209 * MenuBackend.C (read): allow escaping in all strings
12211 * BufferView_pimpl.C (insertAndEditInset): new method.
12212 (Dispatch): use insertAndEditInset whenever appropriate.
12214 * BufferView_pimpl.C (insertNote): removed
12216 * BufferView_pimpl.C (smartQuote): new method, moved from
12217 BufferView; if an insetquote cannot be inserted, insert a '"'
12220 * BufferView2.C: remove insertCorrectQuote();
12222 * lyxfunc.C (getStatus): Add support for all remaingin
12223 inset-insert lfuns.
12225 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12227 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12228 command (necessary to pass " as parameter of self-insert.
12230 * text.C (selectWordWhenUnderCursor):
12231 (selectWord): add word_location parameter
12232 (selectWordWhenUnderCursor): same + remove special code for word
12234 (selectNextWord): use kind() to guess type of insetspecialchar,
12237 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12238 (insertErtContents): create ert insets as collapsed.
12239 (readInset): better compatibility code for Info inset.
12241 2001-07-20 Juergen Vigna <jug@sad.it>
12243 * lyxfunc.C (dispatch): use always LyXFind now!
12245 * text2.C (init): add a reinit flag so that the LyXText can be
12246 reinited instead of deleted and reallocated (used in InsetText).
12248 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12254 2001-07-18 Juergen Vigna <jug@sad.it>
12256 * text.C (selectNextWord): handle insets inside inset by calling
12257 always the bv->text functions so that we can go up the_locking_inset!
12259 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12260 in strange locations when inside an inset!
12262 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12263 handling to include insets.
12265 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12267 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * LyXAction.C (init):
12271 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12272 LIGATURE_BREAK, since the name is so stupid.
12274 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12276 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12279 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12281 * sp_form.[Ch]: remove.
12283 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12285 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12288 * src/buffer.C (readInset): ditto.
12290 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12292 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12293 menuSeparator(), endOfSentenceDot(), ldots() and
12294 hyphenationPoint(), which are therefore removed.
12295 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12297 * LyXAction.C (init):
12298 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12300 * paragraph.C (getWord): removed.
12302 * BufferView_pimpl.C (Dispatch): use last word or selection for
12303 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12305 * lyx_main.C (queryUserLyXDir): do not ask before creating
12306 user_dir, except if it has been named explicitely.
12308 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12310 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12311 a document of zero size.
12313 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12315 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12316 approriately in the c-tor and in require().
12317 (getPackages): output the appropriate LaTeX for natbib support.
12319 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12320 variables "use_natbib" and "use_numerical_citations" when reading the
12322 (readInset): read the various natbib cite commands.
12323 (validate): white-space change.
12325 * bufferparams.[Ch]: new variables "bool use_natbib" and
12326 "bool use_numerical_citations".
12327 (writeFile): output them in the LyX file.
12329 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12331 * lyxfunc.C (getStatus): add support for all the inset insertion
12334 * text2.C (insertInset):
12335 * paragraph.C (insetAllowed):
12336 * BufferView_pimpl.C (insertInset): update to take in account the
12337 renaming of insertInsetAllowed
12339 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12341 * text2.C (getInset): new method. returns inset at cursor position.
12343 * BufferView_pimpl.C (Dispatch): changes because of this.
12345 * LyXAction.C (init): rename open-stuff to inset-toggle.
12347 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12349 * text2.C (toggleInset): renamed from openStuff; use
12352 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12354 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12356 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12358 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12360 * buffer.C (readLyXformat2): Add filename to the error dialog
12362 2001-07-18 Juergen Vigna <jug@sad.it>
12364 * tabular.C (GetCellNumber): put an assert here instead of the check!
12366 2001-07-17 Juergen Vigna <jug@sad.it>
12368 * BufferView_pimpl.C (toggleSelection): adapted too.
12370 * text.C (selectNextWord): adapted for use with insets.
12371 (selectSelectedWord): ditto
12373 2001-07-17 Juergen Vigna <jug@sad.it>
12375 * sp_spell.C (PSpell): fix initialitation order.
12377 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * paragraph.C: spacing
12381 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12383 * sp_spell.C: repair language selection for pspell
12385 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * lyxfunc.h: change more methods to begin with lower char.
12389 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12391 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12392 for unknown layouts.
12394 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12396 * buffer.C (readLyXformat2): Generate an error dialog if there are
12399 2001-07-16 Juergen Vigna <jug@sad.it>
12401 * sp_spell.C: always compile ISpell part.
12403 * lyxrc.C: added use_pspell entry and it's handling.
12405 2001-07-13 Juergen Vigna <jug@sad.it>
12407 * sp_spell.C: removed double includes.
12409 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12411 Consistent use of Lsstream.h:
12412 * Lsstream.h: added using std::stringstream for consistencies sake.
12414 * buffer.C: removed using std::stringstream
12416 * lyxfont.C (stateText):
12417 * paragraph.C (asString):
12418 * text.C (selectNextWord, selectSelectedWord):
12419 * text2.C (setCounter):
12420 * vspace.C (asString, asLatexString):
12421 std::ostringstream -> ostringstream.
12423 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12425 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12426 * commandtags.h: add LFUN_HELP_ABOUTLYX
12427 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12429 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12431 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12433 * lyx_gui_misc.C: remove spellchecker
12434 * lyxfunc.C: showSpellchecker
12436 * sp_ispell.h: added
12437 * sp_pspell.h: added
12438 * sp_spell.C: added
12439 * sp_form.[Ch]: removed
12440 * spellchecker.[Ch]: removed
12442 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12444 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12446 (simpleTeXSpecialChars): Simply print the input character without
12447 any special translation if pass_thru is set.
12449 * layout.h: Added bool pass_thru to layout class for being able to
12450 implement pass through of a paragraph for Literate Programming.
12452 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12453 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12454 * layout.C (Read): add "passthru" to list of layout tags and add
12455 code to set the pass_thru boolean when it is read.
12457 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * trans_decl.h: remove allowed from KmodInfo
12461 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12462 remove allowed code
12465 * paragraph_pimpl.C (erase): use boost::prior
12467 * Painter.C (text): use data() instead of c_str() when length is
12469 * WorkArea.C (putClipboard): ditto
12470 * font.h (width): ditto
12472 * BufferView2.C: use it-> instead of (*it). for iterators
12474 * paragraph_pimpl.C: ditto
12475 * paragraph.C: ditto
12476 * minibuffer.C: ditto
12477 * language.C: ditto
12479 * encoding.C: ditto
12480 * counters.C: ditto
12481 * converter.C: ditto
12483 * Variables.C: ditto
12484 * TextCache.C: ditto
12485 * MenuBackend.C: ditto
12486 * LyXAction.C: ditto
12488 * FloatList.C: ditto
12489 * DepTable.C: ditto
12490 * ColorHandler.C (LyXColorHandler): ditto
12492 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12494 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12496 * text2.C (openStuff): reintroduce this method (which had been
12497 nuked in NEW_INSETS frenzy).
12499 * lyxfunc.C (Dispatch): when an action has not been handled, use
12500 its name in the error message, not its number.
12502 * paragraph.C (inInset): change method name to begin with lowercase.
12505 * text2.C: updates because of this.
12507 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12509 * ToolbarDefaults.C (add): add spaces in error message
12511 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12513 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12514 (readLyXformat2): rename return_par to first_par, use lyxlex's
12515 pushToken and remove the manual push handling.
12516 (parseSingleLyXformat2Token): add another ert comp. variable:
12517 in_tabular, rename return_par to first_par. handle newlines better
12519 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12521 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12523 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12525 * text2.C (getParFromID): removed
12527 * buffer.C (getParFromID): new method moved form lyxtext.
12528 * BufferView2.C (insertErrors): adjust
12529 (setCursorFromRow): adjust
12530 * BufferView_pimpl.C (restorePosition): adjust
12531 * lyxfunc.C (Dispatch): adjust
12532 * undo_funcs.C (textUndo): adjust
12534 (textHandleUndo): adjust
12535 (textHandleUndo): adjust
12537 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * buffer.C: up' the LYX_FORMAT
12541 * lyxfont.h: turn NO_LATEX on as default
12543 * buffer.C (insertErtContents): new methods of tex style compability.
12544 (parseSingleLyXformat2Token): use it several places.
12545 * tabular.C (OldFormatRead): and here
12547 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * text2.C: remove some commented code.
12552 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12553 * trans.C: changes because of the above.
12555 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12557 * text2.C (setCounter): Fix counters bug with bibliography layout.
12559 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12561 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12562 own member functions
12563 (simpleTeXSpecialChars): ditto
12565 2001-07-06 Juergen Vigna <jug@sad.it>
12567 * a lot of files: changed the access to LyXText::status and the
12568 call of undo-functions.
12570 * undo.[Ch]: added a inset_id to the undo informations.
12572 * undo_funcs.[Ch]: added and moved here all undo functions.
12574 * lyxtext.h: give the status enum a weight, made status_ a private
12575 variable and made accessor functions for it, removed the whole bunch
12576 of undo-functions as they are now in their own file, make some
12577 functions publically available. Added function ownerParagraph with
12580 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12581 made InInset() a const function, added getParFromID() function.
12583 * buffer.[Ch]: added const version for inset_iterator functions,
12584 added getInsetFromID() function.
12586 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12587 changed undo functions for new version.
12589 2001-07-05 Juergen Vigna <jug@sad.it>
12591 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12592 unknow mechanism does not call the proper constructor but only this
12593 one also if I request the other!?
12595 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12597 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12599 * text2.C (LyXText): use initialization lists.
12601 * lyxtext.h (Selection): initialize set_ and mark_
12602 (init): remove method
12604 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12606 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12608 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * screen.[Ch]: change method names to begin with lowercase
12612 * BufferView_pimpl.C (updateScrollbar): simplify further and
12613 hopefully make it a bit faster.
12615 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12617 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12618 calling directly xforms functions.
12620 * Painter.C (Painter):
12621 * lyx_cb.C (MenuWrite):
12622 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12625 * lyx_gui.C: remove bogus guiruntime extern declaration.
12627 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12629 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12631 (redoDrawingOfParagraph): ditto
12632 (redoParagraphs): ditto
12633 (cutSelection): don't create a object for CutAndPaste use the
12634 static method directly
12635 (pasteSelection): ditto
12637 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12640 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * modifications to some other files because of this.
12644 * Makefile.am (lyx_SOURCES): add XFormsView
12646 * XFormsView.[Ch]: new files
12648 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12649 the main window. Move the gui dependent stuff to XFormsView
12651 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12653 * tabular.C (GetCellInset): update cur_cell also in the row/col
12654 version of this function.
12656 * lyxfunc.C: no need to include figure_form.h here.
12662 * lyxvc.C: no need to include forms.h here.
12664 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12666 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12668 * lyxfunc.C (Dispatch):
12670 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12671 constructor argument.
12673 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12675 * paragraph.C (Paragraph): dont't clear, and just set layout.
12676 (makeSameLayout): use params's copy contructor.
12678 * ParagraphParameters.[Ch] (makeSame): delete method
12680 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12682 * Variables.[Ch]: fix indentation, rename set to isSet
12684 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * lyxfunc.C (Dispatch): fix typo
12688 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12690 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12693 * bufferlist.C: include assert.h for emergencyWrite().
12695 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12697 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12698 give up at last (bug #425202) !
12700 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12706 * spellchecker.C: strip spellchecker options and bring up
12707 preferences tab instead
12709 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12711 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12712 the istringstream constructor
12714 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12716 * paragraph.C (getLayout): fix return value
12718 * paragraph.h: do not declare getLayout as inline.
12720 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12722 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * lyxcursor.h (operator<): new func
12725 (operator>): new func
12726 (operator>=): new func
12727 (operator<=): new func
12729 * text.C (changeCase): use selection.start and selection.end
12730 (changeRegionCase): require from to be <= to. Require par to be a
12733 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12735 2001-06-27 Juergen Vigna <jug@sad.it>
12737 * text.C (cursorLeftOneWord): changed to return the cursor and added
12738 overlay with BufferView * parameter which calls this one.
12740 (selectWord): use new getWord function.
12741 (changeCase): renamed from changeWordCase as and extended to work
12742 also on selections.
12744 * lyxtext.h: added enum word_location
12746 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12747 changeCase as this operates now also on selections.
12749 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12751 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12753 * many files: send debug output to Debug::INFO instead of
12756 * converter.C (View):
12758 (Move): send debug output to Debug::FILES instead of console.
12760 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12762 * lyxfunc.C (getStatus): use func_status
12764 * func_status.h: new header, describing the results of
12765 LyXFunc::getStatus;
12767 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12770 2001-06-25 The LyX Project <jug@sad.it>
12772 * buffer.C (sgmlOpenTag):
12774 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12776 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12778 * text2.C: remove some dead code
12780 * tabular.C (GetCellInset): store the last cell checked (gotten)
12782 * tabular.h: add the helper for the speedup
12784 * lyxtext.h: remove some dead code
12786 2001-06-26 The LyX Project <Asger>
12788 * paragraph.C: Change export to LaTeX of alignment to
12789 \begin{center} and family for better roundtrip work with reLyX.
12791 * Tune the math drawing a bit.
12793 2001-06-25 The LyX Project <Asger>
12795 * LColor.C (LColor): New color for math background. New color
12798 2001-06-25 The LyX Project <jug@sad.it>
12800 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12802 * lyxfunc.C (Open):
12803 * bufferlist.C (newFile): do not restrict to files ending with
12806 * BufferView_pimpl.C (MenuInsertLyXFile):
12808 2001-06-24 The LyX Project <jug@sad.it>
12810 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12813 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12815 * lyxtext.h: rename most methods to begin with a small char.
12816 Lots of changes because of this.
12818 * paragraph.C (Paragraph): do not call fitToSize
12819 (erase): call Pimpl::erase
12820 (insertChar): call Pimpl::insertChar
12821 (insertInset): call Pipl::insertInset
12822 (breakParagraph): do not call fitToSize
12823 (breakParagraphConservative): do not call fitToSize
12824 (fitToSize): remove method
12826 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12828 2001-06-24 The LyX Project <Asger>
12830 * Fix Qt compilation^2
12832 2001-06-24 The LyX Project <jug@sad.it>
12834 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12835 depthHook(getDepth()-1).
12838 * ParagraphParameters.h:
12839 * ParameterStruct.h: change type of depth to unsigned int ==
12840 depth_type. Many adaptations to other files before of that.
12842 2001-06-24 The LyX Project <Asger>
12844 * Fix Qt compilation.
12846 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * paragraph.h: renamed several methods to begin with small letter.
12849 several changes to many parts of the code because of this.
12851 2001-06-23 The LyX Project <jug@sad.it>
12853 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12854 rewritten to discard all double spaces when KeepEmpty is off
12855 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12856 to only handle newlines but not fiddle with spaces and friends.
12858 * lyxfunc.C (MenuNew): when doing 'new from template', use
12859 template_path as default directory
12861 2001-06-23 The LyX Project <Asger>
12863 * Clean-up of header file includes all over
12864 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12866 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * paragraph.h: renamed from lyxparagraph.h
12870 2001-06-23 Asger <lyx@violet.home.sad.it>
12872 * Buffer.h: Removed Buffer::resize
12873 * BufferList.h: Removed BufferList::resize
12874 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12875 the document lazily when we change the width, or the font settings.
12877 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12879 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12881 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12883 * buffer.h: remove out of date comment
12885 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12888 * screen.C: fix "theoretical" GC leak
12890 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12892 * LaTeX.C (scanAuxFile):
12893 (deplog): remove trailing \r when reading stream (useful under
12896 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12898 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12899 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12900 and BufferView::theLockingInset(Inset*), so should use them and not
12901 access bv_->text->the_locking_inset directly.
12903 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12905 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12908 * tex-defs.h: remove old unused file
12910 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12912 * BufferView_pimpl.C: fix typo, remove minibuffer message
12913 when buffer has loaded
12915 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * lyxfunc.C (Dispatch): use stringstream
12918 (MenuNew): use stringstream
12919 (Open): use stringstream
12921 * importer.C (Import): use stringstream
12923 * bufferview_funcs.C (CurrentState): use stringstream
12925 * LaTeX.C (run): use stringstream
12927 * BufferView_pimpl.C (savePosition): use stringstream
12928 (restorePosition): use stringstream
12929 (MenuInsertLyXFile): use stringstream
12931 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12944 * vspace.C: removed // -*- C++ -*- as first line.
12947 * version.h: added // -*- C++ -*- as first line.
12949 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12951 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12953 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12956 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12958 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12961 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12963 * gettext.C: include LString.h even when --disable-nls is on.
12965 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12967 * converter.h (Get): changed argument type from int to
12968 FormatList::size_type to avoid unnecessary conversion.
12970 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12973 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12975 * gettext.h: include LString.h even when --disable-nls is on.
12977 2001-06-07 Juergen Vigna <jug@sad.it>
12979 * text.C (BreakAgain): subst spaces with tabs.
12981 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12982 (resizeInsetsLyXText): set force on resizeLyXText.
12984 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12986 * gettext.h (gettext_init):
12987 (locale_init): use a real definition instead of a macro
12989 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12991 * Bufferview_pimpl.C:
12993 * LColor.C: further lcolor tidies
12995 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12997 * BufferView_pimpl.C (updateScrollbar): simplify.
12999 * BufferView2.C: don't include insets/insetinfo.h, change
13000 prototype for insertInset and call the Pimpl version. let
13001 updateInset call Pimpl version.
13003 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13004 gotoInset to BufferView::Pimpl
13006 2001-06-01 Juergen Vigna <jug@sad.it>
13008 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13009 inside a LockingInset (is the update needed at all?).
13011 2001-05-31 Juergen Vigna <jug@sad.it>
13013 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13014 here not the old one otherwise how should we compare it afterwards
13017 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13022 * FontInfo.C: bring C functions into global namespace when
13025 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13027 * LString.h: make sure config.h has been loaded before LString.h.
13029 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13030 (one for each char read by EatLine!).
13032 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13035 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13038 to the same as the par we break from
13040 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13042 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13044 * MenuBackend.C (expand): also create menu entries for wide
13045 versions of the floats.
13047 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13049 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13051 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13052 frontends/Makefile.am
13058 * tabular.C (getTokenValue): add std::
13060 * tabular-old.C (getTokenValue): add std::
13061 (getTokenValue): ditto
13062 (getTokenValue): ditto
13064 * screen.C (ToggleSelection): adjust
13066 * lyxtext.h: put selection cursors inside a Selection struct.
13068 * lyxfunc.C (moveCursorUpdate): adjust
13070 * lyxfont.C (latexWriteStartChanges): add std::
13072 * lyxfind.C: adjust
13074 * font.h: delete with(char const *, LyXFont const &)
13076 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13078 * FontInfo.C (getFontname): add std::
13080 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13081 (workAreaButtonPress): adjust
13082 (tripleClick): adjust
13084 (moveCursorUpdate): adjust
13087 * BufferView2.C (gotoInset): adjust
13089 2001-05-30 Juergen Vigna <jug@sad.it>
13091 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13092 to check pspell I add this as default as I now have new pspell
13093 libraries and they seem to use this.
13095 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * text2.C (CutSelection): make the cursor valid before the call to
13100 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13102 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13103 relied on 0 terminated strings and other horrors. Bug found due to
13104 the new assert in lyxstring!
13106 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13109 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13114 * lyxfunc.C (processKeySym): change method of getting to the
13117 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13118 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13119 * BufferView_pimpl.[Ch]: here as private methods.
13121 2001-05-28 Juergen Vigna <jug@sad.it>
13123 * text.C (SetHeightOfRow): added the update() call again as it is
13124 needed to initialize inset dimensions!
13126 2001-05-16 Juergen Vigna <jug@sad.it>
13128 * text2.C (SetCharFont): Add new function with BufferView * and
13129 bool toggleall parameters for setting insets internal fonts.
13130 (SetFont): Freeze the undo as we may change fonts in Insets and
13131 all this change should be inside only one Undo!
13133 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13134 setting font's in insets as for them we have the SetFont function!
13136 2001-05-15 Juergen Vigna <jug@sad.it>
13138 * text2.C (ClearSelection): to be sure we REALLY don't have any
13141 * tabular.C (TeXCellPreamble): fixed the left border problem for
13144 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13146 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13149 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13152 LFUN_BREAKPARAGRAPH.
13154 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13155 help test to "internal only", similar for LFUN_INSERT_URL
13157 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13158 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13159 auto_region_delete and deadkeys.
13161 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13164 * LColor.C: remove some dead entries, tidy a little
13166 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13170 (Dispatch): implement LFUN_ESCAPE
13172 * commandtags.h: add LFUN_ESCAPE
13174 * LyXAction.C (init): add entry for LFUN_ESCAPE
13176 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13177 Remove commented code.
13178 (insertNote): moved here
13179 (open_new_inset): moved here
13181 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13184 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * kbmap.C (findbinding): clean it up and make it work correctly.
13188 * lyx_main.C (init): do not pass argc and argv as parameters
13190 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13192 * buffer.C: fix path for OS/2 & Win32
13196 * lyx_main.C: Added os:: class.
13198 * os2_defines.h: update
13200 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13203 better by trying again with reduced state.
13205 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13207 * lyxrc.C (read): print error about invalid key sequence only when
13208 debugging (because not all latinX keysyms are known to some X
13211 * kbsequence.C (getiso): add a few std:: qualifiers
13212 (getiso): comment out extra return statement.
13214 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13216 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13218 (Dispatch): enhance the accent inset a bit. (not perfect)
13220 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13222 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13224 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * bufferlist.C (emergencyWrite): fix assert() call
13228 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13230 * text.C (InsertChar): Added trivial patch to only send the "you
13231 can not do multiple spaces this way" message once during a
13234 2001-05-08 Baruch Even <baruch@lyx.org>
13236 * Makefile.am: Changed order of libraries to get LyX to link properly
13237 with the gnome frontend.
13239 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13241 * LaTeXFeatures.h: add a std:: qualifier
13243 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * paragraph.C (String): use stringstream
13247 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * paragraph.C (writeFile): remove footflag arg
13251 * buffer.C (makeLaTeXFile): use stringstream
13252 (latexParagraphs): remove footnot gurba
13254 * LaTeXFeatures.C (getPackages): use stringstream
13255 (getMacros): likewise
13256 (getTClassPreamble): likewise
13257 (getFloatDefinitions): new method
13259 * paragraph.C (writeFile): reindent
13262 * WorkArea.h: revert the xpos + etc changes.
13264 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13266 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13268 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13269 (pasteSelection): likewise
13270 * text2.C (CreateUndo): likewise
13272 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * minibuffer.C (peek_event): temporarily reduce the functionality
13275 of the minibuffer (to allow args on lfuns)
13277 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13278 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13280 * buffer.C (readInset): add compability reading of old float
13281 lists, add reading of new style float list.
13282 (readInset): avoid reevaluation of inscmd.getCmdName()
13283 (getLists): reindent
13285 * MenuBackend.C (MenuItem): implement parsing of
13286 md_floatlistinsert and md_floatinsert.
13287 (expand::LastFiles): move initalizaton of iterators out of loop,
13288 avoid reevaluation.
13289 (expand::Documents): introduce typdedef vector<string> Strings,
13291 (expand::ExportFormats): introduce typedef vector<Format const *>
13292 Formats, and use it.
13293 (expand): implement FloatListInsert and FloatInsert.
13295 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13296 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13297 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13299 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13301 (Dispatch::LFUN_FLOAT_LIST): implement
13303 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13305 * LaTeX.C (run): Fix problem with --export code.
13307 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13309 * BufferView.[Ch] (workarea): removed.
13310 (getClipboard) new method; wrapper for workarea()->getClipboard()
13312 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13315 * WorkArea.h (width, height, xpos, ypos): These methods all
13316 returned the dimensions of the work_area sub-area of WorkArea,
13317 resulting in a position error if the WorkArea were resized. Now
13318 return the dimensions of the entire WorkArea.
13320 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13322 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * LaTeX.C (deplog): correct the syntax of regex reg1
13326 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13328 * undo.C: remove !NEW_INSETS cruft
13330 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * text2.C: remove !NEW_INSETS cruft
13334 * text.C: remove !NEW_INSETS cruft
13336 * tabular.C: remove !NEW_INSETS cruft
13338 * spellchecker.C: remove !NEW_INSETS cruft
13340 * lyxtext.h: remove !NEW_INSETS cruft
13342 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13344 * lyxfunc.C: remove !NEW_INSETS cruft
13346 * lyxfind.C: remove !NEW_INSETS cruft
13348 * lyx_cb.C: remove !NEW_INSETS cruft
13350 * figureForm.C: remove !NEW_INSETS cruft
13352 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13354 * buffer.[Ch]: remove !NEW_INSETS cruft
13356 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13358 * CutAndPaste.C: remove !NEW_INSETS cruft
13360 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13362 * BufferView2.C: remove !NEW_INSETS cruft
13364 * BufferView.h: remove !NEW_INSETS cruft
13366 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13368 * Lsstream.h: include LString.h before the sstream headers to
13369 fix problem with gcc 2.95.3 and lyxstring
13371 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13373 * lyx_main.C: add using directives when needed for C functions
13374 declared in std:: namespace.
13376 2001-04-27 Juergen Vigna <jug@sad.it>
13378 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13379 (SetHeightOfRow): comment out the update call should not be needed!
13381 2001-04-13 Juergen Vigna <jug@sad.it>
13383 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13384 (LyXTabular): tried to minimize operator= operations (and realized
13385 hopfully Lars wish).
13387 2001-04-27 Juergen Vigna <jug@sad.it>
13389 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13391 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13395 * buffer.C (readInset): hack to make listof algorithm work
13397 * BufferView_pimpl.C: hack to make listof algorithm work
13399 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13401 * LyXAction.C: removed all !NEW_INSETS cruft
13402 (init): moved lfun_item in method
13404 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13406 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13408 * BufferView2.C (theLockingInset): white space.
13410 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13412 * minibuffer.C: include <iostream>
13414 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13416 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13418 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13420 * text.[Ch] (TransposeChars): new method
13422 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * call message directly through LyXView instead of through LyXFunc
13425 * BufferView2.C: adjust
13426 * BufferView_pimpl.C: adjust
13427 * FontLoader.C: adjust
13429 * bufferview_funcs.C: adjust
13430 * converter.C: adjust
13431 * figureForm.C: adjust
13432 * importer.C: adjust
13434 * lyx_gui_misc.C: adjust
13435 * lyxfunc.C: adjust
13438 + more files in subdirs
13440 * lyxparagraph.h (size): move up int file
13443 * adjust all uses of Assert to lyx::Assert.
13445 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13446 lyxfunctional in namespace lyx
13447 * layout.C (hasLayout): ditto
13450 (delete_layout): ditto
13451 (NumberOfClass): ditto
13452 * converter.C (GetFormat): ditto
13457 * bufferlist.C (getFileNames): ditto
13458 (emergencyWriteAll): ditto
13461 * MenuBackend.C (hasSubmenu): ditto
13464 * BufferView_pimpl.C (getInsetByCode): ditto
13466 2001-04-18 Juergen Vigna <jug@sad.it>
13468 * vspace.C (asLatexString): fixed the 100% problem.
13470 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * lyxfunc.C (Dispatch):
13474 * minibuffer.h: add a few std:: qualifiers
13476 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * minibuffer.[Ch]: reimplement so that commands is initiated and
13479 run from lyxfunc, simplified som handling, and made the completion
13480 and history code for complete. wip.
13482 * lyxfunc.C (processKeySym): call message
13483 (miniDispatch): new temporary method
13484 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13485 (LFUN_MESSAGE): implement
13486 (LFUN_MESSAGE_PUSH): implement
13487 (LFUN_MESSAGE_POP): implement
13488 (initMiniBuffer): the initial/defualt minibuffer message.
13490 * lyxfont.[Ch]: inline some more getters
13492 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13494 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13496 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13497 (AutoSave): use LFUN_MESSAGE
13498 (Reconfigure): ditto
13500 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13502 * figureForm.C: use LFUN_MESSAGE
13504 * converter.C (runLaTeX): use LFUN_MESSAGE
13506 * bufferview_funcs.C: use LFUN_MESSAGE
13508 (changeDepth): ditto
13510 * bufferparams.h: use boost::
13512 * bufferlist.h: inherit privately from noncopyable
13514 * bufferlist.C (loadLyXFile): remove some commented code.
13516 * buffer.C (runChktex): use LFUN_MESSAGE
13518 * ShareContainer.h: inherit privately from noncopyable
13520 * ParagraphParameters.[hC] (depth): inline it.
13522 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13524 (message): new method
13525 (messagePush): ditto
13526 (messagePop): ditto
13527 (show): init minibuffer
13528 (showState): direct call
13530 * LaTeX.[Ch]: inherit privately from noncopyable
13531 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13532 instead of WriteStatus.
13534 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13536 * BufferView_pimpl.C (buffer): don't init minibuffer
13537 (workAreaButtonPress): use LFUN_MESSAGE
13538 (workAreaButtonRelease): ditto
13539 (savePosition): ditto
13540 (restorePosition): ditto
13541 (MenuInsertLyXFile): ditto
13542 (workAreaExpose): don't init minibuffer
13543 (update): remove commented code, simplify
13545 * BufferView2.C (openStuff): use LFUN_MESSAGE
13546 (toggleFloat): ditto
13549 (copyEnvironment): ditto
13550 (pasteEnvironment): ditto
13555 (updateInset): remove some commented code
13557 * lastfiles.h: inherit privately from noncopyable
13560 * lyx_main.h: ditto
13562 * lyxlex_pimpl.h: ditto
13564 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13565 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13566 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13568 * LyXAction.h: inherit privately from noncopyable, add methods
13569 func_begin, func_end, returning iterators to the func map.
13571 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13572 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13573 (func_begin): new method
13574 (func_end): new method
13576 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13578 (copySelection): ditto
13579 (pasteSelection): ditto
13581 * BufferView.C: whitespace change
13582 * BufferView.h: inherit privately from noncopyable
13584 2001-04-16 Allan Rae <rae@lyx.org>
13586 * tabular-old.C (l_getline):
13587 * spellchecker.C (sc_check_word):
13588 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13589 an unrecognised preprocessor directive. So ensure they're wrapped.
13591 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13593 * src/exporter.C (Export): Give an error message when path to file
13596 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13598 * LaTeX.C (deplog): Always check that foundfile exists.
13600 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13605 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13607 * tabular.[Ch] (getLabelList): implement new method
13609 * minibuffer.h: comment ouf setTiimer
13611 * minibuffer.C (ExecutingCB): constify res
13612 (peek_event): constify s
13613 (Set): constify ntext
13614 (Init): constify nicename
13616 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13618 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13619 (savePosition): use two params to Minibuffer::Set
13620 (restorePosition): ditto
13622 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13624 * lyx_main.C: include language.h
13626 * Makefile.am (lyx_main.o): add language.h
13628 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13634 * CutAndPaste.C: include gettext.h
13636 * lyxfont.h: remove old hack with ON and OFF.
13639 * lyxfont.h: do not include language.h...
13644 * bufferview_funcs.C:
13650 * paragraph.C: ... but do it here instead
13652 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13654 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13656 * tabular.C: small reformat
13658 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13661 (BreakParagraph): ditto
13662 (SetOnlyLayout): ditto
13665 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13668 * lastfiles.C: removed most using decl, add std:: where needed
13670 * buffer.C: ws changes
13672 * MenuBackend.C (class compare_format): put into anon namespace
13673 (expand): constify label, names, action, action2
13676 * text.C (SingleWidth): constify font
13677 (IsBoundary): constify rtl2
13678 (GetVisibleRow): constify ww
13680 * LaTeX.C (deplog): constify logfile
13682 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13684 (workAreaExpose): constify widthChange, heightChange
13686 * lyxrow.C (par): moved
13689 * lyxrow.h: as inlines here
13691 * lyxfont.h (shape): moved from lyxfont.C
13692 (emph): moved from lyxfont.C
13694 * lyxfont.C (LyXFont): use initialization list for all
13696 (shape): move to lyxfont.h as inline
13697 (emph): move to lyxfont.h as inline
13700 2001-04-04 Juergen Vigna <jug@sad.it>
13702 * vspace.C: had to include stdio.h for use of sscanf
13704 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13707 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13708 independent of xforms.
13710 2001-04-02 Juergen Vigna <jug@sad.it>
13712 * spellchecker.C: fixed namespace placing!
13714 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13716 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13717 the LyXParagraph * is 0.
13719 2001-03-29 Juergen Vigna <jug@sad.it>
13721 * vspace.C: added support for %, c%, p%, l%.
13722 (stringFromUnit): added helper function.
13723 (asLatexString): changed to give right results for the %-values.
13725 * buffer.C: convert the widthp in a width%.
13727 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13729 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13732 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13733 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13735 * lyx_cb.[Ch]: see above.
13737 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13741 * lyx.[Ch]: replaced by figure_form.[Ch].
13745 * lyxfunc.C: changed headers associated with above changes.
13747 2001-03-27 Juergen Vigna <jug@sad.it>
13749 * BufferView_pimpl.C: set the temporary cursor right!
13751 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13753 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13755 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13757 * LString.h: removed "using std::getline"!
13759 * BufferView_pimpl.C (Dispatch): changes due to changes in
13760 InsetInclude::Params.
13762 * buffer.C (tag_name): removed redundant break statements as they were
13763 producing lots of warnings with my compiler.
13765 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13767 * LString.h: add "using std::getline" when using the real <string>.
13769 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13771 * buffer.C: removed bitset usage.
13772 PAR_TAG moved to an anonymous name space.
13773 (tag_name): new funtion, also in the anonymous namespace.
13774 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13775 (makeDocBookFile): clean code. Completed transition from string arrays
13777 (SimpleDocBookOnePar): code clean.
13779 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13781 * tabular.C: add some comments.
13783 2001-03-22 Juergen Vigna <jug@sad.it>
13785 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13786 compatibility read a bit and fixed bug with minipage in different
13789 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13791 * buffer.C (pop_tag): removed.
13792 (push_tag): removed.
13793 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13794 array replaced with vector. Added support for CDATA sections.
13795 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13797 (makeDocBookFile): XML conformant declaration of CDATA section,
13798 fixed bug related to <emphasis> in the first paragraph char.
13799 (sgmlOpenTag): exclude empty tags.
13800 (sgmlCloseTag): ditto.
13802 * buffer.h (pop_tag): removed.
13803 (push_tag): removed.
13805 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13807 * language.h (Languages): added size_type and size().
13809 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13811 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13812 response on compability reading of minipages. One probliem is that
13813 the old usage of minipages was «flertydig»
13815 * several files here and in subdirs: don't use static at file
13816 scope use anon namespaces instead.
13818 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13820 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13821 LaTeX output. This is necessary for Literate document
13824 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13826 * buffer.C: insert hfill when needed.
13828 * tabular.C (l_getline): use string::erase, small whitespace change.
13830 * BufferView_pimpl.C: try the anon namespace.
13831 * WorkArea.C: ditto
13833 2001-03-16 Juergen Vigna <jug@sad.it>
13835 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13836 otherwise it won't open options-dialogs.
13838 * buffer.C: honor pextraWidth(p) on converting minipages.
13840 * tabular.C (l_getline): changed the functions to strip trailing \r.
13842 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13844 * BufferView_pimpl.C:
13845 * minibuffer..C: added "using SigC::slot" declaration.
13847 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13849 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13855 * paragraph.C: ditto
13857 * lyxtext.h: NO_PEXTRA
13859 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13861 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13862 * ParameterStruct.h: ditto
13863 * ParagraphParameters.h: ditto
13864 * lyxparagraph.h: ditto
13866 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13868 * buffer.C: add compability for minipage alignment.
13869 (latexParagraphs): remove unwanted pextra check.
13871 * several files: remove CXX_WORKING_NAMESPACES
13873 * buffer.C (pop_tag): tie is in namespace boost
13875 * BufferView.h: noncopyable is in namespace boost
13877 * lyx_main.h: ditto
13880 * lastfiles.h: ditto
13881 * bufferlist.h: ditto
13882 * ShareContainer.h: ditto
13884 * LyXAction.h: ditto
13887 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13889 * Merging changes from BRANCH_MVC back into HEAD.
13891 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13893 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13895 * BufferView_pimpl.C: change from intl.C
13899 * Makefile.am: move combox.*
13905 * intl.C: remove dialog (covered by prefs)
13907 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13909 * lyxfunc.C (Dispatch): removed redundant break statement.
13911 2001-03-14 Juergen Vigna <jug@sad.it>
13913 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13915 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13917 * buffer.C: add hack to fix compability reading of minipages.
13919 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13921 * buffer.C (getLists): Cleanup.
13923 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13925 * lyxfont.C (update): don't honor toggleall on font size.
13927 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13931 * Makefile.am: moved to frontends/xforms/
13935 * BufferView_pimpl.C: changes for moved mathpanel
13937 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13939 * gettext.h: fix gettext_init() in --disable-nls
13941 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13943 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13945 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13948 * lyx.h: strip external form
13950 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13952 * BufferView_pimpl.C: add comment, destroySplash()
13954 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13956 * BufferView_pimpl.C:
13960 * lyxfunc.C: use re-worked insetinclude
13962 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13964 * buffer.C: add using std::stringstream.
13966 * lyx_cb.C: readd using std::ios.
13968 * buffer.C: add using std::map.
13970 * BufferView_pimpl.C: add using std::vector.
13972 * ShareContainer.h: add std:: to swap.
13974 * buffer.h: add some typedefs
13975 * buffer.C (getLists): use them
13976 (getLists): renamed from getTocList.
13977 add a counter for the different float types and use it in the
13979 (getLists): use the same counter for the NEW_INSETS and the "non"
13982 * lyx_cb.h: remove unused items, includes, using etc.
13984 * ShareContainer.h: remove some commented code, add more comments
13985 and "documentation".
13987 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13989 * buffer.C (getTocList): make the list also when NEW_INSETS is
13992 * buffer.h: remove TocType
13994 * buffer.C (getTocList): change to return a map<string,
13995 vector<TocItem> >, implement for dynamic number of list.
13997 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13998 * text2.C (PasteSelection): adjust
13999 * CutAndPaste.C (pasteSelection): adjust
14001 * FloatList.C (FloatList): update from the new_insets branch.
14002 * Floating.[Ch]: ditto
14003 * LaTeXFeatures.C: ditto
14005 * lyxlex_pimpl.C: ditto
14007 * paragraph.C (Last): remove when NEW_INSETS is defined.
14009 * other file: changes because of the above.
14011 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14013 * lyxparagraph.h: rename next to next_, previous to previous_,
14014 make them private for NEW_INSETS. Rename Next() to next(),
14015 Previous() to previous().
14017 * other files: changes because of the above.
14019 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14022 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14025 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14027 * main.C (main): pass lyx_localedir to gettext_init().
14029 * gettext.h: remove locale_init and gettext_init macros
14031 * gettext.C (locale_init): new function
14032 (gettext_init): new function
14034 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14037 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14039 * Moved credits to frontends:
14040 * credits.[Ch]: removed
14041 * credits_form.[Ch]: removed
14042 * lyx_gui_misc.C: remove credits stuff
14045 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14047 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14049 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14050 unneeded destructor.
14052 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14053 a standalone pointer again.
14055 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14057 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14063 * ToolbarDefaults.C:
14072 * BufferView_pimpl.C: use new file dialog in GUII
14075 * lyx_cb.C: remove LayoutsCB to Toolbar
14077 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14079 * ShareContainer.h (get): add std:: qualifier
14081 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14083 * ShareContainer.h: define a proper ShareContainer::value_type
14084 type (and use typename to please compaq cxx)
14086 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14088 * lyxparagraph.h: move serveral local vars to
14089 ParameterStruct/ParagraphParameters., use ShareContainer in
14090 FontTable., make vars in FontTable private and add getter and
14093 * paragraph.C: changes because of the above.
14095 * lyxfont.h: remove copy constructor and copy assignment. (the
14096 default ones is ok), move number inside FontBits. move inlines to
14099 * lyxfont.C: add number to initializaton of statics, move several
14100 inlines here. constify several local vars. some whitespace
14101 cleanup. Dont hide outerscope variables.
14103 * Spacing.h: add two new constructors to match the set methods.
14105 * ShareContainer.h: new file, will perhaps be moved to support
14107 * ParameterStruct.h: new file
14109 * ParagraphParameters.h: new file
14111 * ParagraphParameters.C: new file
14113 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14114 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14116 * BufferView_pimpl.C: ParagraphParameter changes.
14117 * buffer.C: Likewise.
14118 * bufferview_funcs.C: Likewise.
14119 * text.C: Likewise.
14120 * text2.C: Likewise.
14122 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14124 * lyxfind.C (LyXReplace): do not redefine default argument in
14126 (IsStringInText): ditto
14127 (SearchForward): ditto
14128 (SearchBackward): ditto
14130 2001-03-06 Juergen Vigna <jug@sad.it>
14132 * lyxfind.C (IsStringInText): put parentes around expressions.
14134 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14136 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14138 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14140 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14142 * stl_string_fwd.h: add comment
14144 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14147 * tabular.C: remove unused DocBook methods
14153 killed DO_USE_DEFAULT_LANGUAGE
14155 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14157 * lyx_gui.C: do not include language.h.
14159 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14160 arguments in function implementation.
14162 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14164 * BufferView_pimpl.C: add <ctime>
14166 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14168 * BufferView_pimpl.C: add using std::find_if
14170 2001-02-27 José Matos <jamatos@fep.up.pt>
14172 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14175 2001-02-11 José Matos <jamatos@fep.up.pt>
14177 * buffer.C (makeDocBookFile): command styles now have a parameter as
14178 "title" by default.
14180 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14182 * layout_forms.[Ch]: removed
14183 * lyx_cb.[Ch]: out character
14184 * lyx_gui.C: out character
14185 * lyx_gui_misc.C: out character
14186 * bufferview_funcs.C: : out character,
14187 added toggleall as parameter in ToggleAndShow
14189 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14191 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14193 * text2.C (SetCurrentFont): Disable number property at boundary.
14195 2001-02-26 Juergen Vigna <jug@sad.it>
14197 * lyxfunc.C (getStatus): added a string argument override function so
14198 that this is correctly called from LyXFunc::Dispatch if it contains a
14199 do_not_use_argument which is used!
14200 (Dispatch): added check for "custom" export and call appropriate func.
14202 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14204 * lyxrc.C: Add language_command_local, language_use_babel and
14205 language_global_options.
14207 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14209 * buffer.C (makeLaTeXFile): Use language_use_babel and
14210 language_global_options.
14212 2001-02-23 Juergen Vigna <jug@sad.it>
14214 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14215 which works with LyXText and putted it inside BufferView. Here now we
14216 only call for that part the BufferView::Dispatch() function.
14218 * BufferView.C (Dispatch): added.
14220 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14221 functions which needs to use a LyXText over from LyXFunc.
14222 (MenuInsertLyXFile): added
14223 (getInsetByCode): added
14224 (moveCursorUpdate): added
14225 (static TEXT): added
14227 2001-02-22 Juergen Vigna <jug@sad.it>
14229 * BufferView_pimpl.C (update): call a status update to see if LyXText
14232 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14234 * vc-backend.C (revert): implement for CVS
14235 (getLog): implement for CVS
14237 2001-02-20 Juergen Vigna <jug@sad.it>
14239 * text2.C (ClearSelection): added BufferView param for inset_owner call
14241 * lyxfunc.C (TEXT): added this function and use it instead of
14242 directly owner->view()-text of getLyXText().
14244 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14246 * src/layout_forms.C: out preamble
14247 * src/layout_forms.h: out preamble
14248 * src/lyx_cb.C: out preamble
14249 * src/lyx_cb.h: out preamble
14250 * src/lyx_gui.C: out preamble
14251 * src/lyx_gui_misc.C: out preamble
14252 * src/lyxfunc.C: connect with guii preamble
14254 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14256 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14258 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14260 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14261 whether to run bibtex.
14263 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14265 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14267 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14269 * Makefile.am (lyx_SOURCES): removed bibforms.h
14271 * vspace.h: doxygen
14273 * text.C (GetVisibleRow): make several local vars const
14275 * tabular.C: small cleanup.
14277 * lyxserver.C (callback): use compare instead of strncmp
14279 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14280 inlines to after class or to paragraph.C
14282 * lyxfont.h: remove friend operator!=
14284 * converter.h: move friend bool operator< to non friend and after
14287 * combox.h: small cleanup
14289 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14290 to inlines after class def.
14292 * buffer.C (pop_tag): use string operations instead of strcmp
14294 * bmtable.c: doxygen, small cleanup
14296 * LaTeX.h: remove friend operator==
14298 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14310 * BufferView_pimpl.C:
14311 * BufferView.[Ch]: remove cruft
14313 2001-02-14 Juergen Vigna <jug@sad.it>
14315 * lyxfunc.C: removed #if 0 unused code
14317 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14319 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14321 * text2.C (SetSelection): added a BufferView * parameter
14323 2001-02-13 Juergen Vigna <jug@sad.it>
14325 * lyxfunc.C (Dispatch): fixed protected blank problem.
14326 * BufferView2.C (protectedBlank): added LyxText * parameter.
14328 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14329 (AppendColumn): same as above for column_info.
14331 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14332 (moveCursorUpdate): use a LyXText param for support of InsetText.
14334 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14335 (tripleClick): ditto
14337 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14339 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14341 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14343 * text2.C (SetSelection): set correct update status if inset_owner
14344 (ToggleFree): ditto
14346 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14348 * tabular.C: remove some commented code.
14350 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14352 * BufferView_pimpl.C: call hideSplash()
14354 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14357 * bibforms.h: remove
14360 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14361 add LFUN_CHILD_CREATE
14363 * counters.h: fix tiny typo
14368 * lyx.C: move splash to frontends/xforms/
14370 * lyx_gui_misc.C: move Include and Bibform to frontends
14372 * lyxvc.h: clarify comment
14374 * vspace.C: tiny housekeeping
14376 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14378 * text.C (PrepareToPrint): RTL Fix.
14380 * paragraph.C (GetUChar): New method.
14381 (String): Use GetUChar.
14383 * buffer.C (asciiParagraph): Use GetUChar.
14385 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14387 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14389 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14392 * buffer.C: rename to getLogName(), handle
14393 build log / latex log nicely
14395 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14398 * MenuBackend.h: remove support for reference menuitem type.
14400 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14402 * BufferView_pimpl.C: housekeeping
14403 * BufferView_pimpl.h:
14408 * minibuffer.h: move Timeout GUI-I
14410 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14412 * lyxrc.C (read): Update converters data-structures.
14414 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14416 * LaTeX.h (operator!=): add operator != for Aux_Info
14418 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14420 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14422 * LaTeXLog.C: deleted, useful code moved to Buffer
14425 * buffer.C: new function getLatexLogName()
14431 * lyxfunc.C: use frontends for LaTeX and VC logs
14433 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14435 * LaTeX.h: yet another std:: that Allan forgot.
14437 * Variables.C (set): renamed from isset(), because this clashes
14438 with some HP-UX macros (grr).
14440 2001-02-06 Allan Rae <rae@lyx.org>
14442 * LaTeX.h: Another bug fix. Missing std:: this time.
14444 2001-02-04 Allan Rae <rae@lyx.org>
14446 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14447 floats problem. I've left it commented out because it's not quite
14448 correct. It should also test that the current object is a table or
14449 figure inset. But I haven't gotten around to figuring out how to do
14450 that. I *think* it'll be something like: "table" == inset.type()
14452 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14455 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14457 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14458 all the citation/databases/styles in the auxilary file.
14459 (run): Rerun latex if there was a babel language error.
14461 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14463 * text.C (Backspace): Preserve the font when changing newline char
14465 (BreakParagraph): If the cursor is before a space, delete the space.
14467 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14469 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14471 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14472 new argument (code).
14473 (ChangeCitationsIfUnique): New method.
14475 * paragraph.C (GetPositionOfInset): Handle bibkey.
14477 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14479 * BufferView_pimpl.h: change type of Position::par_pos to
14480 LyXParagraph::size_type.
14482 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14484 * BufferView_pimpl.C (savePosition, restorePosition): Write
14485 messages to minibuffer.
14487 2001-01-28 José Matos <jamatos@fep.up.pt>
14489 * buffer.C (makeDocBookFile): adds support for document language.
14490 A silly restriction on the name of LatexCommand types where removed.
14491 Added support for CDATA sections, allows to chars unescaped, used
14492 among others in code, to avoid escape < and >.
14494 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14496 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14497 saved positions instrad of a stack. Furthermore, a position is
14498 stored using paragraph id/paragraph position.
14500 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14501 Remove LFUN_REF_BACK.
14503 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14505 * converter.C (dvipdfm_options): New method.
14507 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14509 * vspace.C (isValidLength): Fix for empty input string.
14511 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14513 * LyXAction.C (init): change description of LFUN_FIGURE to
14516 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14518 * LaTeX.C: add using directive
14520 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14522 * MenuBackend.C (expand): Fix the sorting of the formats.
14524 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14526 * lyx_main.C: tiny error message fix
14528 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14530 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14531 calling fl_initialize(). This fixes the problem with ',' as
14532 decimal separator in text files.
14534 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14536 * trans.C (process): Fix the keymap bug.
14538 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14540 * LaTeX.C (scanAuxFiles): New method. Provides support for
14541 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14542 (scanLogFile) Scan for "run BibTeX" messages.
14544 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14545 OT1 font encoding. Also, load the aecompl package if the ae
14548 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14550 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14552 * texrow.C (increasePos): turn two error messages into debug
14555 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14557 * LaTeX.C (scanAux): Handle the \@input macro.
14558 (runBibTeX): Use scanAux().
14560 * language.C (latex_options_): New field.
14562 * LaTeXFeatures.C (getMacros): Add language macros.
14564 * buffer.C (makeLaTeXFile): Small fix.
14566 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14570 * text2.C: add a using directive.
14572 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14577 * lyxfunc.C: kill LyXBell.
14579 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14581 * text.C (IsBoundary): Remove the error message
14583 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14585 * lyxrc.C (setDefaults): Correct initialization value for
14588 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14590 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14593 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14594 and GotoNextNote().
14596 * src/LyXAction.C: Added reference-next.
14598 * text.C (InsertChar): Use contains instead of strchr.
14600 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14602 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14604 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14605 alignment commands (when needed).
14607 * text.C (InsertChar): Add ':' to number separator chars.