3 2004-01-30 André Pönitz <poenitz@gmx.net>
16 * text3.C: move some of the edit(x,y) handling to the insets
17 some coordinate changes.
19 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
21 * text.C: add using statements for std::advance and std::distance
23 * paragraph.C: add using statement for std::distance
25 * lyxfind.C: add using statement for std::advance
27 * cursor.C (region): remove std:: from swap
28 (openable): use nucleus in stead of operator->
30 * BufferView.C: add using statements for std::distance and std::swap
32 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
34 * iterators.C: Remove the pimple, move the needed structures to
35 the header file. Create accessor for the positions stack.
36 (asPosIterator): remove function
38 * PosIterator.C (PosIterator): move constructors to top of file
39 (PosIterator): reimplement the constructor taking a ParIterator in
41 (setFrom): new function
42 (operator!=): inline it
44 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
46 * lyxfind.C (replaceAll): use std::advance
48 * iterators.h: inherit from std::iterator.
50 * PosIterator.C (advance, distance): remove
51 * PosIterator.h: interit from std::iterator.
53 2004-01-26 André Pönitz <poenitz@gmx.net>
56 * BufferView_pimpl.[Ch]:
73 * paragraph_funcs.[Ch]:
74 * paragraph_pimpl.[Ch]:
80 * text3.C: more IU: dumps most of the rest of the mathcursor
81 implementation into cursor.[Ch]; "globalize" a bit of it.
83 2004-01-25 Angus Leeming <leeming@lyx.org>
85 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
87 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * LaTeXFeatures.h: add nice_ and nice() const
90 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
92 2004-01-20 André Pönitz <poenitz@gmx.net>
110 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
111 LCursor and mathcursor parts to LCursor and InsetBase.
113 2004-01-15 André Pönitz <poenitz@gmx.net>
115 * cursor_slice.[Ch]: add a few covienience functions
117 * funcrequest.[Ch]: remove BufferView * member
119 * BufferView_pimpl.C:
126 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
128 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
130 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
131 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
133 2004-01-13 André Pönitz <poenitz@gmx.net>
136 * lyxtext.h: hide cursor and selection anchor behind accessor function
139 * BufferView_pimpl.[Ch]:
141 * bufferview_funcs.C:
151 * cursor_slice.[Ch]: some integer type changes for inset unification
153 * lyxcursor.[hC]: remove, it's CursorSlice now.
156 * BufferView_pimpl.[Ch]:
157 * bufferview_funcs.C:
163 * textcursor.[Ch]: adjust
165 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
167 * text2.C (undoSpan): add and use
168 * text.C (breakParagraph): use undoSpan (fix bug 578)
171 2004-01-08 Angus Leeming <leeming@lyx.org>
173 * BufferView_pimpl.C (MenuInsertLyXFile):
174 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
175 * lyxfunc.C (menuNew, open, doImport):
176 FileFilterList change to the FileDialog open and save functions.
178 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * ShareContainer.h: make isEqual and isUnique adaptable
182 * CutAndPaste.C: make resetOwnerAndChanges adaptable
184 2004-01-07 Angus Leeming <leeming@lyx.org>
187 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
189 * BufferView_pimpl.C (dispatch): act on these LFUNs.
191 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
192 functions replacing find, replace and replaceAll.
194 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
195 LFUN_WORDFIND(FORWARD|BACKWARD).
197 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
199 * text.C (breakParagraph): remove an outdated #warning
201 2004-01-07 André Pönitz <poenitz@gmx.net>
203 * lyxfind.C: somewhat clearer logic
205 * text.C: prevent crash in cursorX on unitialized row cache
207 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
209 * lyxcursor.[Ch] (operator>): add
210 * textcursor.C (selStart, selEnd): use std::min and std::max
212 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
214 * Chktex.C: include boost/format.hpp
216 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
218 * InsetList.C: replace functor MathcIt with adaptable functor
220 (insetIterator): modify accordingly
222 * BranchList.h: move the BranchNamesEqual functor here from...
223 * BranchList.C: ... to here
225 * BranchList.C: new BranchListEqual fuctor, use it. Remove
227 (add): replace a finding loop with std::find_if.
229 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
231 * output_docbook.C: moving LatexParam functionality into
234 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * buffer.C: increment format to 229.
238 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
241 * lyx_sty.[Ch]: remove minipageindent_def
247 * text3.C: remove LFUN_INSET_MINIPAGE
249 2003-12-28 Angus Leeming <leeming@lyx.org>
251 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
253 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
255 * text2.C (setParagraph): fix off-by-one crash
257 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
259 * output_docbook.C: header stuff for AGU
261 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
263 * text2.C (redoCursor): remove
266 * BufferView_pimpl.C: remove calls to redoCursor and
267 setCursor(cursor.par(), cursor.pos()) all around
269 2003-12-15 Angus Leeming <leeming@lyx.org>
271 * buffer.C: up the format to 228.
273 2003-12-15 André Pönitz <poenitz@gmx.net>
275 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
280 * BufferView_pimpl.C:
289 2003-12-15 Angus Leeming <leeming@lyx.org>
291 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
292 than getFromGUIName to manipulate the color.
294 2003-12-14 Angus Leeming <leeming@lyx.org>
296 * BranchList.[Ch]: minimize the API.
297 (Branch::getBranch, getColor): now return a 'const &'.
298 (Branch::setSelected) now returns a bool set to true if the
299 selection status changes.
300 (BranchList::clear, size, getColor, setColor, setSelected,
301 allBranches, allSelected, separator): removed.
302 (BranchList::find): new functions, returning the Branch with
304 (BranchList::add, remove): return a bool indicating that
305 the operation was successful.
307 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
308 new InsetBranch::isBranchSlected member function.
310 * LColor.[Ch]: mimimize the API.
311 (fill): renamed as addColor and made private.
312 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
313 versions of these functions taking a string arg have been removed.
315 * bufferparams.C (readToken):
316 * lyxfunc.C (dispatch):
317 * lyxrc.C (read): changes due to the altered BranchList and
320 * factory.C (createInset, readInset): changes due to altered
323 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
326 * lyxfunc.C: remove insetminipage. "minipage-insert"
327 now produces a frameless minipage box inset.
329 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
331 * textcursor.[Ch] (selStart,selEnd): add new methods
332 remove selection::start, end, use LyXCursor::operator<
333 * lyxcursor.[Ch] (operator<): add
334 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
335 * BufferView.[Ch] (unsetXSel): add
336 * text2.C (clearSelection): use unsetXSel,adjust
339 * rowpainter.C: adjust
340 * bufferview_funcs.C (put_selection_at): adjust
342 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
344 * BufferView_pimpl.C: small coord. correction
346 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
348 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
349 dragging over the splash screen.
351 2003-12-11 Angus Leeming <leeming@lyx.org>
353 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
354 as it is now handled in LyXText::dispatch.
356 * text3.C (doInsertInset): remove a level of nesting.
358 2003-12-11 Angus Leeming <leeming@lyx.org>
360 * factory.C (createInset): changes due to the changed interface to
361 InsetCommandMailer::string2params.
363 2003-12-10 Angus Leeming <leeming@lyx.org>
365 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
366 'dialog-show-new-inset <inset name>'
368 2003-12-10 Angus Leeming <leeming@lyx.org>
370 * buffer.C: up the format to 227.
372 * factory.C: the box inset is now identified simply by 'Box'.
374 2003-12-10 Angus Leeming <leeming@lyx.org>
376 * buffer.C: up the format to 226.
378 * factory.C: the note inset is now identified simply by 'Note'.
380 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
382 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
383 when a pit is enough. Standarize a couple of loops.
385 2003-12-05 Angus Leeming <leeming@lyx.org>
387 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
388 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
389 data to the re-worked "log" dialog.
391 2003-12-03 André Pönitz <poenitz@gmx.net>
399 * text2.C: use Inset::getText instead of Inset::getParagraph
401 2003-12-03 André Pönitz <poenitz@gmx.net>
405 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
406 InsetText::read() as LyXText::read()
408 2003-12-02 Angus Leeming <leeming@lyx.org>
410 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
411 type. Add a comment in the implementation that the function uses
412 the stream's bad() function rather than fail() as the std::streams
415 2003-12-02 André Pönitz <poenitz@gmx.net>
417 * lyxlex.[Ch]: make interface more similar to std::stream
419 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
421 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
423 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
425 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
427 * vspace.[Ch]: remove VSpace::NONE
429 2003-12-01 André Pönitz <poenitz@gmx.net>
432 * lyxtext.h: move ParagraphList member to LyXText
433 rename LyXText::ownerParagraphs to LyXText::paragraph
436 * bufferview_funcs.C:
446 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
448 * undo.C: fix cursor positioning
450 2003-12-01 John Levon <levon@movementarian.org>
452 * BufferView_pimpl.C: fix a crash on exit with
455 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
457 * BranchList.C: fix setSelected() method.
459 2003-11-28 André Pönitz <poenitz@gmx.net>
461 * ParagraphParameters.[Ch]:
462 * ParameterStruct.h: remove space above/below from Paragraph to
465 * BufferView_pimpl.C:
477 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
479 * factory.C: Syntax change for CharStyles
481 2003-11-28 André Pönitz <poenitz@gmx.net>
486 * buffer.[Ch]: move LyXText member
488 2003-11-28 André Pönitz <poenitz@gmx.net>
490 * BufferView.[Ch]: make LyXText * text a private member
492 * BufferView_pimpl.C:
503 * output_plaintext.C: cleanup
505 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
508 * lyxtextclass.[Ch]: parametrize SGML document header
510 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
513 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
516 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
518 * text2.C (setFont): rework using PosIterator (no more recursive)
519 (setCharFont): no more needed
520 (setLayout): no more selection cursors fiddling (done by redoCursor)
521 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
522 destroy remaining ones)
524 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
526 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
528 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
531 * text3.C: adjust + re-allow multi par depth changes
532 * textcursor.C: simplify a bit
534 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
540 * src/output_docbook.C:
541 * src/output_latex.C:
546 * src/text2.C: Introducing a number of tags parametrizing various
547 XML formats that we may want to support
549 2003-11-25 André Pönitz <poenitz@gmx.net>
551 * InsetList.[Ch] (begein, end): inline as suggested by profiler
553 * lyxtext.h (leftMargin/rightMargin): simplify interface
560 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
562 * lyxfunc.C (dispatch): propogate the bibtex databases from the
563 master file to any child files. Fixes bug 546.
565 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
567 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
569 2003-11-24 André Pönitz <poenitz@gmx.net>
571 * rowpainter.C: simplification
573 * text2.C (updateCounters): remove call to redoParagraph on
574 changed labels as this is far too expensive.
576 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
578 * converter.C (convert): fix a crash: this function gets
579 called with buffer == 0 from importer code.
581 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
583 * text3.C (cursorPrevious): make sure that we do not compare
584 iterators form different containers.
587 * rowpainter.C (paintSelection): make sure that we do not compare
588 iterators from different containers.
590 * text3.C (dispatch): [PRIOR] make sure that we do not compare
591 iterators from different ParagraphList containers.
594 * text2.C (LyXText): change order of initialization slightly
595 (operator=): new function. copy all variables except cache_par_
596 (moveUp): make sure that we do not compare iterators from
597 different ParagraphList constainers.
600 * text.C (firstPar): new function
601 (lastPar): new function
602 (endPar): new function
604 * lyxtext.h: move things around and group public functions, public
605 variables, private functions, private variables
607 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
609 * factory.C: change call to InsetERT constructor to avoid
610 additional invocation of method status
611 * text2.C (toggleInset): remove redundant update() call
612 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
613 instead of a Bufferview pointer
615 2003-11-21 André Pönitz <poenitz@gmx.net>
617 * rowpainter.C: simplification
619 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
621 * text3.C (dispatch): make possible to extend a word/row selection
624 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
626 * lyxtext.h: x0_,y0_ -> xo_,yo_
627 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
628 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
629 * rowpainter.C (paintRows): paint full paragraphs
631 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
633 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
636 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
638 * lyxtext.h: add x0_, y0_
639 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
640 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
642 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
644 * text2.C (setCursorIntern): move the x_target update here *
645 * text3.C: change some bv() to true/false in calls to
646 cursorUp/Down/Right/Left
647 * cursor.C: use helper function.
649 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
651 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
652 * paragraph_funcs.[Ch]: correct comment
653 * rowpainter.C: do not paint selections away from bv->cursor()
654 Fix a long standing selection painting bug.
655 * text3.C: generalize mouse-selection code to LyXTexts other that
657 * textcursor.C: do not use y coords if we can use par offsets
659 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
661 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
662 cursor position after e.g. inset insert)
664 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
666 * lyxfind.C (replace): adjust to locking removal + some
669 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
671 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
674 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
677 * output_docbook.C: XML sanitation: new layout
678 parameters InnerTag and CommandDepth
680 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
682 * BufferView_pimpl.C:
684 * text3.C: Fix the insertion and modification of button-style
687 2003-11-13 André Pönitz <poenitz@gmx.net>
689 * InsetList.[Ch]: remove deleteLyXText
691 * paragraph.[Ch]: cache beginOfBody position
696 * text3.C: remove superfluous update() calls
700 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
702 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
703 * BufferView.C (fitLockedInsetCursor): remove
704 * cursor.[Ch] (getDim): add
705 * text.C (getRowNearY): add faster version
706 * text3.C: remove some update calls
708 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
720 * text3.C: The Character Style /XML short element patch.
722 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
725 * factory.C: Small step to solving 'unable to insert some insets'
728 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
730 * cursor.[Ch] (updatePos): new function for updating the y
731 position of the tip inset
732 * bufferview_funcs.C (put_selection_at):
733 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
735 2003-11-11 André Pönitz <poenitz@gmx.net>
737 * text.C: remove big comment on invalid Paragraph pointers as it is
740 2003-11-11 André Pönitz <poenitz@gmx.net>
742 * text_funcs.[Ch]: merge with ...
750 * Makefile.am: remove text_funcs.[Ch]
752 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
754 * cursor.C (getPos): return absolute cached y coord
756 * BufferView_pimpl.C (fitCursor): new simplistic code
757 (workAreaDispatch): add a fitCursor call
759 2003-11-10 André Pönitz <poenitz@gmx.net>
762 * BufferView_pimpl.[Ch]: merge update() and updateInset()
764 2003-11-10 André Pönitz <poenitz@gmx.net>
766 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
767 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
768 indicate that the cursor needs to leave an inset
770 * lyxtext.h: remove inset locking
772 * cursor.[Ch]: re-implement functionality provided by inset locking
775 * BufferView_pimpl.[Ch]:
777 * bufferview_funcs.[Ch]:
789 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
791 * PosIterator.[Ch]: replace the stack with a vector, add inset
793 * iterators.[C]: adjust
795 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
797 * lyxfind.C (replaceAll): mark the buffer dirty if something was
799 * paragraph_funcs.C (readParToken): put the correct id in the
800 error item, not the id of the top paragraph
802 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
804 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
805 * bufferview_funcs.C (put_selection_at): use the above
807 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
809 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
811 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * output_plaintext.h:
816 * output_docbook.h: add #include statements
818 2003-11-05 José Matos <jamatos@lyx.org>
820 * output_docbook.[Ch]:
822 * output_linuxdoc.[Ch]:
823 * output_plaintext.[Ch]: New files for output formats.
824 * output.[Ch]: New file for helper functions.
827 * paragraph_funcs.[Ch]: output functions moved to new files.
829 * outputparams.h: rename of latexrunparams.h
837 * paragraph_funcs.[Ch]:
838 * paragraph_pimpl.[Ch]:
839 * tabular.[Ch]: rename ascii to plaintext
840 and LatexRunParams to OutputParams.
842 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
844 * iterators.[Ch] (text): require bv argument
845 * undo.C (recordUndo):
846 * lyxfunc.C (dispatch):
847 * bufferview_funcs.C (put_selection_at): adjust
849 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
851 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
853 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
855 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
858 2003-11-04 André Pönitz <poenitz@gmx.net>
860 * cursor.[Ch]: restructure
863 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
865 * iterators.[Ch] (asCursor): remove
867 * lfuns.h: remove LFUN_INSET_EDIT
873 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
875 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
877 * lyxfind.[Ch]: complete overhaul
878 * BufferView_pimpl.C:
880 * paragraph.[Ch] (insert): add
882 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
886 * text.C: remove dead spellcheck code
888 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
890 * dispatchresult.h: add a val setter
892 * cursor.C (dispatch): use a tempvar for data_[i]
894 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
896 * PosIterator.[Ch]: compile fix
898 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
900 * text.C (cursorPar): deactivate the cursor cache
902 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
904 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
906 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
908 * text3.C (dispatch): adjust for new DisptchResult semantics.
910 * lyxfunc.C (dispatch): handle update when return from
911 Cursor::dispatch, adjust for new DispatchResult semantics.
913 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
914 DispatchResult(true) mean to not update. Add class functions for
915 setting dispatched and update, as well as reading.
917 * cursor.C (dispatch): don't handle update here
919 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
921 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
922 * trans_mgr.C: adjust
924 * paragraph_funcs.C (readParToken): exception safety
926 * lyxvc.h: store the vcs pointer in a scoped_ptr
929 * lyxsocket.C (serverCallback): exception safety
931 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
933 * ispell.C (clone): make it return a auto_ptr
935 * factory.C (createInset): exception safety
936 (readInset): exception safety
938 * bufferlist.C (newBuffer): exception safety
940 * Thesaurus.C (Thesaurus): use initialization for aik_
942 * MenuBackend.C (expandToc): exception safety.
944 2003-11-03 André Pönitz <poenitz@gmx.net>
948 * bufferview_funcs.C: remove getInsetFromId()
951 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
957 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
959 * PosIterator.C (distance, advance): new
960 * bufferview_funcs.[Ch] (put_selection_at): new
961 * iterators.[Ch] (lockPath): new
963 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
965 * iterators.[Ch] (asPosIterator): added
966 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
967 * PosIterator.[Ch]: added
969 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * cursor.C (dispatch):
974 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
976 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
977 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
978 contructor, add a class function dispatched. Remove operator>=
980 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
982 * debug.C: only use the default constructor for debugstream
985 * main.C (main): include debug.h and setup the lyxerr streambuf
988 2003-10-31 José Matos <jamatos@lyx.org>
990 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
992 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
993 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
994 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
995 * paragraph_pimpl.C (simpleTeXSpecialC):
996 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
997 add LatexRunParams argument.
999 * exporter.C (Export): change call accordingly.
1001 * latexrunparams.h: add new member to take care of the other backends.
1002 2003-10-30 José Matos <jamatos@lyx.org>
1004 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1005 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1006 factorise code for paragraph output.
1008 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1011 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1013 * text3.C (dispatch):
1014 * lyxfunc.C (dispatch):
1015 * cursor.C (dispatch):
1016 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1018 * dispatchresult.h: make the dispatch_result_t ctor explicit
1020 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1023 * buffer.C: small refactoring of docbook stuff
1025 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1030 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1033 operator dispatch_result_t, and operators for == != and >=
1035 * cursor.C (dispatch): adjust for operator dispatch_result_t
1036 removal. comment out call to update
1038 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1040 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1048 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1051 * dispatchresult.h: new file, DispatchResult broken out of
1054 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1056 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1058 * text.C (rowBreakPoint): put a hack inside #if 0
1060 2003-10-28 André Pönitz <poenitz@gmx.net>
1064 * paragraph_funcs.C:
1067 * text2.C: general cleanup (lots of small stuff)
1069 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1071 * text2.C (cursorEnd): simple fix to the "end key goes to one
1072 before the end on last row" bug
1074 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1076 * text.C (backspace): fix the "zombie characters"
1078 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1080 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1082 2003-10-27 André Pönitz <poenitz@gmx.net>
1084 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1086 * factory.C: handle new InsetPagebreak, InsetLine
1088 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1089 and move handling into new InsetPagebreak, InsetLine
1091 * BufferView_pimpl.C:
1093 * ParagraphParameters.C:
1094 * ParameterStruct.h:
1099 * paragraph_funcs.C:
1100 * paragraph_pimpl.C:
1106 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1109 * lyxrow_funcs.[Ch]:
1115 * text3.C: remove lastPos uses in favour of Row::endpos
1117 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1119 * undo.C (performUndoOrRedo): fix two crashes by setting a
1120 cursor by hand and reordering some calls. Use bv->lockInset instead
1121 of inset->edit because the latter loses cursor information
1123 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1125 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1127 (rowBreakPoint): fix width. change point to point + 1.
1128 Add a missing check.
1130 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1133 * lyxfunc.C: fix (at least partly) the problems
1134 with the Nav menu and headers inside branch insets
1137 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1139 * paragraph.C (getChar): add strong asserts
1141 * lyxrow_funcs.C (lastPos): remove hideous hack
1143 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1144 (fill): adjust to that (avoid an infinite loop)
1146 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1148 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1150 2003-10-23 André Pönitz <poenitz@gmx.net>
1152 * RowList_fwd.h: change list<> to vector<> to gain speed
1153 after suggestion from Alfredo
1155 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1157 * lyxtext.h: move the bidi stuff from here...
1160 * Bidi.[Ch]: ... to here
1162 2003-10-23 André Pönitz <poenitz@gmx.net>
1165 * text.C (isLastRow, isFirstRow): new functions
1167 * paragraph.h: new width cache member
1169 * rowpainter.C: replace RowList::iterator with Row & where possible
1171 * lyxfunc.C: replace several view()->text with a single call
1173 * toc.C: fix 'unused' warning
1175 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1177 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1178 when woring with stream::pos_type
1179 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1181 2003-10-22 André Pönitz <poenitz@gmx.net>
1184 * text.C: use Row & instead of RowList::iterator
1186 * lyxrow.h: rename end() to endpos()
1192 2003-10-22 Angus Leeming <leeming@lyx.org>
1194 * buffer.[Ch] (fully_loaded): new member function, returning true
1195 only when the file has been loaded fully.
1196 Used to prevent the premature generation of previews and by the
1197 citation inset to prevent computation of the natbib-style label.
1199 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1200 templates are all set up.
1202 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1204 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1206 * text.C: fixed an "oops" in the "is a bit silly"
1209 2003-10-21 André Pönitz <poenitz@gmx.net>
1211 * FuncStatus.[Ch]: small stuff, whitespace
1213 * lyxfont.[Ch]: operator<<() for debug reasons
1217 * lyxtext.h: whitespace, spelling
1219 * paragraph.C: naming of variables
1222 * text2.C: small stuff
1225 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1227 * text.C: (1) finish off the inset display() work;
1228 (2) fix the "is a bit silly" bug (accessing char
1231 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1233 * text.C: re-introduce display() for insets, fixing the
1234 various bugs (stretch of line above, math inset
1237 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * text.C (rightMargin): remove spurious semicolon
1241 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1244 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1246 * text3.C: fix one crash due to wrong cursor def
1248 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * vc-backend.C (scanMaster): make the regex static
1252 * LaTeX.C (scanAuxFile): make the regexs static
1254 * text3.C (doInsertInset, dispatch, dispatch):
1255 * text2.C (cursorUp, cursorDown):
1256 * text.C (selectNextWordToSpellcheck):
1257 * BufferView_pimpl.C (dispatch):
1258 * lyxfunc.C (dispatch): localDispatch -> dispatch
1260 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * lyxsocket.C: include <cerrno>
1264 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1266 * lyxfunc.C (dispatch): remove textcache stuff
1268 * bufferlist.C (release): remove textcache stuff
1271 * TextCache.C: delete file
1272 * TextCache.h: delete file
1274 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1276 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1277 delete of the bv_->text.
1278 (resizeCurrentBuffer): remove texcache stuff
1279 (workAreaResize): ditto
1281 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1286 2003-10-16 André Pönitz <poenitz@gmx.net>
1293 * text3.C: speed up by storing y positions per paragraph plus per-row
1294 offset instead of having a 'full' y position in the row.
1296 2003-10-15 André Pönitz <poenitz@gmx.net>
1300 * undo.[Ch]: make undo aware of inner insets
1302 2003-10-14 Angus Leeming <leeming@lyx.org>
1304 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1305 static member functions LyX::ref() and LyX::cref.
1306 (lastfiles): new accessor functions for the new lastfiles_ member var.
1307 (addLyXView, views_): add a new LyXView to the list of views_.
1308 (updateInset): loop over all LyXViews to call their own updateInset
1309 member function, returning a pointer to the Buffer owning the inset.
1311 * BufferView_pimpl.C (loadLyXFile):
1312 * MenuBackend.C (expandLastfiles):
1313 * bufferlist.C (MenuWrite, QuitLyX):
1314 lastfiles is no longer a global variable.
1315 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1317 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1318 static function. Access through LyX::cref().emergencyCleanup().
1320 2003-10-14 André Pönitz <poenitz@gmx.net>
1322 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1324 * undo.[Ch]: restoring part of 'undo in insets'
1327 * undo_funcs.[Ch]: merge with undo.[Ch]
1329 * tabular.C: small cleansing stuff
1331 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1333 * paragraph_funcs.C (readParToken): report unknown insets as error
1334 boxes. Use the outer paragraph as location (also for unknown
1337 * factory.C (readInset): do not abort on reading an unknown inset.
1338 Eat it and return 0.
1340 2003-10-13 Angus Leeming <leeming@lyx.org>
1342 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1344 * lyxrc.C: displayTranslator is now a function,
1345 declared in GraphicsTypes.h.
1347 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1349 * format.C: new placeholder $$a to pass the socket address.
1351 * bufferlist.[Ch]: new function getBufferFromTmp.
1353 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1354 files in the temporary dir.
1356 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1358 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1360 * Makefile.am: add lyxsocket.[Ch].
1362 * lyx_main.C (error_handler): handle SIGPIPE.
1364 2003-10-13 André Pönitz <poenitz@gmx.net>
1366 * BufferView_pimpl.C:
1371 * undo_funcs.[Ch]: use paroffset_type instead of
1372 ParagraphList::iterators to prevent multiple conversion
1373 (and get a more robust interface)
1375 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1377 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1379 * text3.C (dispatch): ditto
1381 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1383 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1384 move the onlyfile, use onlyfile instead of foundfile in a couple
1387 * DepTable.C (update): flush the error stream a bit more
1389 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * lyxserver.C (callback): adjust
1393 * lyxfunc.C (getStatus): add a missing brace in commented code
1394 (ensureBufferClean): reindent
1395 (dispatch): delete version taking a string
1397 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1399 * LaTeX.C (deplog): move found file handlig from here...
1400 (handleFoundFile): .. to new function here.
1401 (deplog): make sure to discover several files mentioned on the
1404 2003-10-10 André Pönitz <poenitz@gmx.net>
1411 * text3.C: fix some of the tabular crashes
1413 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1415 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1417 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1419 2003-10-09 André Pönitz <poenitz@gmx.net>
1421 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1424 * BufferView_pimpl.C:
1425 * bufferview_funcs.C:
1436 * undo_funcs.C: adjust
1438 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * text2.C (incrementItemDepth): new function, use a backtracking
1441 algorithm to discover the correct item depth.
1442 (resetEnumCounterIfNeeded): new function, use a backtracking
1443 algorithm to discover if counter reset is needed.
1444 (setCounter): use them. Simplify a bit. Add different labels for
1445 different item depths for itemize.
1447 * paragraph.C (Paragraph): remove initialization of enumdepth
1450 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1451 enumerate and itemize. Change the type of itemdepth to signed char.
1453 2003-10-08 André Pönitz <poenitz@gmx.net>
1455 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1460 * tabular.[Ch]: fix crash after 'row-insert'
1462 2003-10-08 Angus Leeming <leeming@lyx.org>
1464 Fix doxygen warnings.
1466 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1467 Remove CutAndPaste:: prefix from header file declaration.
1469 * LColor.h (fill): remove LColor:: prefix from declaration.
1471 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1472 use lyx::depth_type rather than Paragraph::depth_type so that
1473 header file and .C file match.
1475 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1477 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1478 * aspell.C: \file aspell_local.C -> \file aspell.C
1479 * gettext.C: \file gettext.C -> \file src/gettext.C
1480 * gettext.h: \file gettext.h -> \file src/gettext.h
1481 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1482 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1483 * text.C: \file text.C -> \file src/text.C
1485 * toc.C: move comment so that doxygen is not confused.
1487 2003-10-07 Angus Leeming <leeming@lyx.org>
1489 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1491 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1494 * aspell_local.h: add forgotten std::string's.
1496 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1503 * text3.C: The Box patch. Fancybox support, minipage, parbox
1505 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1511 * ParagraphParameters.h:
1521 * lyxtextclasslist.h:
1524 * paragraph_pimpl.C:
1525 * textcursor.h: add <string> and other small fixes to make Lars'
1526 std::string patch compile with STLport.
1528 2003-10-06 Angus Leeming <leeming@lyx.org>
1530 * LColor.h: Add missing #include <string>.
1532 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1534 * All most all file in all subdirs: Make <string> be the prefered
1535 way of getting to std::string, add using declarations.
1537 2003-10-06 André Pönitz <poenitz@gmx.net>
1539 * metricsinfo.C: initialize LyXFont before changing attribute.
1540 (fixes the 'math in \emph is upright' bug)
1542 2003-10-06 André Pönitz <poenitz@gmx.net>
1544 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1546 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1549 * paragraph_pimpl.C: Small fixes to build using STLport
1551 2003-10-02 André Pönitz <poenitz@gmx.net>
1554 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1556 2003-10-01 André Pönitz <poenitz@gmx.net>
1558 * factory.C: assert early
1560 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1562 * lyx_main.C: remove the global debug object
1564 * debug.h: adjust for new debugstream
1566 * debug.C: adjust for new debugstream and keep the global debug
1569 2003-09-22 Angus Leeming <leeming@lyx.org>
1571 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1572 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1573 an incomplete class LyXFont.
1575 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1577 * factory.C: bug fix in branches
1579 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * lyxfunc.C (processKeySym): adjust
1583 (dispatch): change arg name from ev to func, adjust
1584 (sendDispatchMessage): ditto
1586 * lyx_main.C (defaultKeyBindings): adjust keybindings
1587 (deadKeyBindings): ditto
1589 * kbsequence.C (addkey): return a FuncRequest
1591 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1593 * kbmap.C (bind): take a FuncRequest as arg, adjust
1596 (defkey): change to take a FuncRequest as arg, adjust
1597 (findbinding): take a FuncRequest as arg, adjust.
1599 * funcrequest.h (operator=): added
1601 * funcrequest.C (FuncRequest): default kb_action changed from
1602 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1604 * buffer.C (dispatch): simplify
1605 (dispatch): adjust to take a FuncRequest as arg, adjust
1607 * boost.C (assertion_failed): change assertion message slightly
1609 * ToolbarBackend.C (read): simplify
1611 * MenuBackend.C (binding): adjust call to findbinding, add a
1612 message if no binding is found.
1614 (expandToc): correct by adding a empty FuncRequest
1616 * LyXAction.C: include <boost/assert.hpp>
1617 (isPseudoAction): delete function
1618 (LookupFunc): change name to...
1619 (lookupFunc): this. change return type to FuncRequest.
1620 (getActionName): take kb_action as arg, simplify
1621 (funcHasFlag): add an assert, simplify.
1623 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * toc.C (action): return a FuncRequest, simplify
1627 * lyxfunc.C (processKeySym): adjust
1628 (getStatus): delete version that takes an int.
1630 (dispatch): delete version that takes action as int
1632 (sendDispatchMessage): simplify and adjust
1634 * funcrequest.C (getArg): take unsigned int as arg
1636 * ToolbarBackend.C (read): adjust
1637 (add): delete version that takes func as a string.
1638 (getIton): take a FuncRequest as arg
1640 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1643 * MenuBackend.C (MenuItem): add a new construct that only takes a
1644 Kind, simplify the constructor use for submenus.
1646 (expandLastfiles): adjust
1647 (expandDocuments): adjust
1648 (expandFormats): adjust
1649 (expandFloatListInsert): adjust
1650 (expandFloatInsert): adjust
1651 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1653 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1654 Remove class variables lyx_pseudo_map and lyx_arg_map
1656 * LyXAction.C (searchActionArg): delete function
1657 (getPseudoAction): delete function
1658 (retrieveActionArg): delete function
1659 (LookupFunc): make it return kb_action, simplify.
1660 (getActionName): simplify
1662 * factory.C (createInset): fix new bug
1664 2003-09-19 Angus Leeming <leeming@lyx.org>
1666 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1667 masterFilename_ parameter in the include inset.
1669 * factory.C (createInset): changes due to the changes to InsetInclude.
1671 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1673 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1675 2003-09-18 Angus Leeming <leeming@lyx.org>
1678 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1679 Inset::fillWithBibKeys.
1680 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1682 2003-09-18 Angus Leeming <leeming@lyx.org>
1684 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1686 (ctor): pass and store a 'Buffer const &'
1687 (buffer): new member function.
1689 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1690 '*this' to the LaTeXFeatures ctor.
1692 2003-09-18 Angus Leeming <leeming@lyx.org>
1698 * text.C: rename EnumLColor as LColor_color.
1700 2003-09-18 Angus Leeming <leeming@lyx.org>
1702 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1703 remove #include "insets/insetbase.h" from cursor.h.
1705 2003-09-18 Angus Leeming <leeming@lyx.org>
1707 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1708 InsetOld_code to remove #include "inset.h".
1710 * iterators.C: add #include "insets/inset.h"
1712 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1714 * BufferView.C: remove more locking stuff that apparently doesn't
1715 do anything sensible.
1717 2003-09-16 André Pönitz <poenitz@gmx.net>
1720 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1723 2003-09-16 Angus Leeming <leeming@lyx.org>
1725 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1727 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1730 * paragraph.h: remove #include "lyxfont.h". Forward declare
1733 2003-09-16 Angus Leeming <leeming@lyx.org>
1735 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1736 of support/textutils.h.
1737 (isWord): move the contents of support/textutils.h's IsWordChar here.
1743 * text2.C: add #include "paragraph.h".
1746 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1748 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * LaTeX.C: use namespace alias for lyx::support::os
1756 2003-09-16 Angus Leeming <leeming@lyx.org>
1759 * bufferview_funcs.C:
1762 * paragraph_pimpl.C:
1764 * text.C: add #include "LColor.h".
1766 2003-09-16 Angus Leeming <leeming@lyx.org>
1768 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1769 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1771 Store the FontBits::color variable as an int rather than as an
1772 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1775 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1776 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1777 string calls together.
1779 * lyxrc.C: add #include "LColor.h".
1781 2003-09-15 Angus Leeming <leeming@lyx.org>
1783 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1786 2003-09-15 Angus Leeming <leeming@lyx.org>
1788 * LColor.h: add an EnumLColor wrapper for LColor::color.
1790 * lyxfont.[Ch] (color, setColor, realColor):
1791 * lyxtext.h, text.C (backgroundColor):
1792 pass EnumLColor args to/from the functions, rather than LColor::color
1796 * lyxtext.h: forward declare EnumLColor.
1798 * lyx_main.C: add #include "LColor.h".
1800 2003-09-15 Angus Leeming <leeming@lyx.org>
1802 * .cvsignore: add lyx-gtk.
1804 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1809 * ParagraphParameters.C
1813 * bufferview_funcs.C
1823 * vc-backend.C: remove usage of STRCONV
1825 2003-09-15 Angus Leeming <leeming@lyx.org>
1827 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1828 explicitly define the color passed to the painter.
1830 2003-09-15 Angus Leeming <leeming@lyx.org>
1832 * bufferparams.C (BufferParams): reorder member initializers to avoid
1835 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1837 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1838 * text.C (updateRowPositions): remove an unusual nop
1840 2003-09-12 André Pönitz <poenitz@gmx.net>
1842 * BufferView_pimpl.C:
1851 * Counters.[Ch]: finish the 'automatic counters' job
1853 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1855 * aspell.C: include <boost/assert.cpp> (compile fix)
1857 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1859 * boost.C (assertion_failed): use lyx::support::abort instead of
1862 2003-09-10 Angus Leeming <leeming@lyx.org>
1864 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1865 with their _fwd progeny.
1867 2003-09-09 Angus Leeming <leeming@lyx.org>
1869 134 files throughtout the source tree: replace 'using namespace abc;'
1870 directives with the appropriate 'using abc::xyz;' declarations.
1872 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1874 * boost.C (emergencyCleanup): moved here from LAssert.c
1875 (assertion_failed): new function, called by BOOST_ASSERT
1877 * several files: change Assert to BOOST_ASSERT
1879 2003-09-09 Angus Leeming <leeming@lyx.org>
1881 * buffer.[Ch]: Add an Impl class and move Buffer's member
1882 variables into it. As a result move several header files out of
1885 Add header files to lots of .C files all over the tree as a result.
1887 2003-09-09 Angus Leeming <leeming@lyx.org>
1889 * buffer.[Ch]: make Buffer's member variables private. Add
1892 Lots of changes all over the tree as a result.
1894 2003-09-08 Angus Leeming <leeming@lyx.org>
1896 * graph.C: #include <config.h>.
1898 2003-09-08 Angus Leeming <leeming@lyx.org>
1902 * BufferView_pimpl.C:
1931 * toc.C: remove redundant using directives.
1933 2003-09-07 Angus Leeming <leeming@lyx.org>
1935 * LaTeXFeatures.h: remove #include "support/types.h".
1936 * ToolbarBackend.h: remove #include <algorithm>.
1937 * changes.h: remove #include <ctime>.
1938 * debug.h: remove #include <iosfwd>.
1939 * graph.h: remove #include "support/std_string.h".
1940 * lyx_main.h: remove #include <csignal>.
1941 * lyxlex_pimpl.h: remove #include <fstream>.
1942 * sgml.h: remove #include <algorithm>, <utility>.
1943 * toc.h: remove #include "support/std_ostream.h".
1944 Add #include <iosfwd>.
1946 2003-09-07 Angus Leeming <leeming@lyx.org>
1948 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1950 * converter.h: forward declare LatexRunParams.
1951 * encoding.h: remove #include "lyxrc.h".
1952 * lyxtext.h: remove #include "LColor.h".
1953 * lyxtextclass.h: remove #include "support/types.h".
1954 * trans.h: remove #include "tex-accent.h".
1955 * trans_mgr.h: remove #include "tex-accent.h".
1956 * insets/inset.h: remove #include "support/types.h", <vector>.
1957 * insets/insetcollapsable.h: remove #include "LColor.h".
1958 * insets/insetinclude.h: remove #include "dimension.h".
1959 * insets/insetlatexaccent.h: remove #include "dimension.h".
1960 * insets/insetoptarg.h:: remove #include "insettext.h".
1961 * insets/insettext.h: remove #include "dimension.h",
1962 <boost/shared_ptr.hpp>
1964 * insets/renderers.h: add #include "dimension.h".
1965 * insets/updatableinset.h: add #include "support/types.h".
1967 * many .C files: Associated changes.
1969 2003-09-06 Angus Leeming <leeming@lyx.org>
1971 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1972 one, inside testInvariant.
1974 * PrinterParams.C: new file.
1975 * PrinterParams.[Ch]: move the function bodies out of line.
1977 2003-09-06 Angus Leeming <leeming@lyx.org>
1979 * ParagraphParameters.h: forward declare ParameterStruct rather than
1980 including its header file.
1981 (depth): moved out-of-line.
1983 2003-09-06 Angus Leeming <leeming@lyx.org>
1985 * BufferView_pimpl.h:
1988 * lyxfunc.h: forward declare LyXKeySym rather than
1989 #include "frontends/LyXKeySym.h".
1991 * BufferView_pimpl.C:
1994 * lyxfunc.C: associated changes.
1996 2003-09-06 Angus Leeming <leeming@lyx.org>
1998 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1999 As a result, can remove the #include "insets/inset.h" from BufferView.h
2001 2003-09-06 Angus Leeming <leeming@lyx.org>
2003 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2004 As a result, can remove the #include "insets/inset.h" from BufferView.h
2006 2003-09-06 Angus Leeming <leeming@lyx.org>
2012 * bufferview_funcs.C:
2013 * BufferView_pimpl.C:
2018 * ParagraphParameters.C:
2023 * frontends/controllers/ControlDocument.C:
2024 * insets/insetcaption.C: rearrange the #includes into some sort of
2027 * buffer.h: remove #includes ErrorList.h, undo.h
2029 2003-09-06 Angus Leeming <leeming@lyx.org>
2031 * support/types.h: add a 'depth_type' typedef, used to store the
2032 nesting depth of a paragraph.
2035 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2036 defining explicitly.
2039 * paragraph_funcs.h:
2040 * ParagraphParameters.h:
2041 * sgml.h: use lyx::depth_type rather than Paragraph or
2042 ParameterStruct's depth_type.
2045 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2048 * BufferView_pimpl.C:
2050 * ParagraphParameters.C:
2053 * bufferview_funcs.C:
2060 * frontends/LyXView.C:
2061 * frontends/controllers/ControlDocument.C:
2062 * frontends/controllers/ControlErrorList.C:
2063 * insets/insetbibitem.C:
2064 * insets/insetbranch.C:
2065 * insets/insetcaption.C:
2066 * insets/insetcollapsable.C:
2067 * insets/insetenv.C:
2068 * insets/insetert.C:
2069 * insets/insetfloat.C:
2070 * insets/insetfoot.C:
2071 * insets/insetfootlike.C:
2072 * insets/insetnewline.C:
2073 * insets/insetquotes.C:
2074 * insets/insettabular.C:
2075 * insets/insettext.C:
2076 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2078 * frontends/controllers/ControlChanges.C: #include "changes.h".
2080 2003-09-06 Angus Leeming <leeming@lyx.org>
2082 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2083 than #including paragraph.h.
2086 * RowList.h: deleted. Superfluous.
2096 * insets/insettext.h: use ParagraphList_fwd.h rather than
2099 * paragraph.h: don't forward declare ParagraphList.
2102 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2103 rather than ParagraphList.h. paragraph.h is still needed for the
2104 Paragraph::depth_type parameters.
2106 * textcursor.h: enable it to compile stand-alone in light of the
2109 * bufferview_funcs.C:
2121 * frontends/controllers/ControlParagraph.C:
2122 * frontends/controllers/ControlTabular.C:
2123 * insets/insetmarginal.C:
2124 * insets/insetminipage.C:
2125 * insets/insetnote.C:
2126 * insets/insetoptarg.C: add header files needed to compile again.
2128 2003-09-06 Angus Leeming <leeming@lyx.org>
2130 * RowList_fwd.h: new file, forward-declaring Row rather than
2131 #including lyxrow.h.
2136 * insets/insettext.h: use it instead of RowList.h
2138 * bufferview_funcs.C:
2145 * text3.C: #include "RowList.h".
2147 2003-09-05 Angus Leeming <leeming@lyx.org>
2149 * factory.C (createInset):
2150 * vspace.C (c-tor): replace sscanf call with an istringstream.
2151 * ispell.C: re-add missing HP/UX headers.
2152 * lyxserver.C: re-add missing os2 headers.
2154 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2163 * text3.C: re-add missing system headers, needed for 2.95.2.
2165 2003-09-05 Angus Leeming <leeming@lyx.org>
2167 Changes most place everywhere due to the removal of using directives
2168 from support/std_sstream.h.
2170 2003-09-05 Angus Leeming <leeming@lyx.org>
2172 Replace LString.h with support/std_string.h,
2173 Lsstream.h with support/std_sstream.h,
2174 support/LIstream.h with support/std_istream.h,
2175 support/LOstream.h with support/std_ostream.h.
2177 Changes resulting throughout the tree.
2179 2003-09-05 Angus Leeming <leeming@lyx.org>
2181 * sgml.h: ensure that the header file can be compiled stand-alone.
2182 * *.C: strip out redundant #includes. (320 in total.)
2184 2003-09-04 Angus Leeming <leeming@lyx.org>
2186 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2187 here (from getPackages).
2189 * debug.[Ch]: add a new EXTERNAL tag.
2191 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2193 * text2.C (cursorEnd): simplify
2195 (getColumnNearX): adjust
2197 * text.C (computeBidiTables): adjust
2200 * rowpainter.C (paintChars): adjust
2201 (paintSelection): adjust
2202 (paintChangeBar): adjust
2205 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2207 (numberOfSeparators): adjust
2209 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2215 * text3.C: Restricts the mouse click functionality
2216 of insets like bibtex, include, toc and floatlist to the visible
2217 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2218 up the dialogs. Cursor has to be in front of the inset (i.e.
2219 start of row) for this to function.
2221 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2223 * bufferview_funcs.C (currentState): output row information
2225 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2227 * bufferview_funcs.C (currentState): output paragraph position
2229 2003-09-04 Angus Leeming <leeming@lyx.org>
2231 * FloatList.h: move out #include "Floating.h".
2232 * LaTeX.h: move out #include "DepTable.h".
2233 * LyXAction.h: move out #include "funcrequest.h".
2234 * buffer.h: move out #include "author.h", "iterators.h".
2235 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2236 * lyx_main.h: move out #include "errorlist.h".
2237 * lyxfunc.h: move out #include "FuncStatus.h".
2238 * lyxtext: move out #include "lyxcursor.h".
2239 * paragraph_pimpl.h: move out #include "counters.h".
2241 2003-09-03 Angus Leeming <leeming@lyx.org>
2243 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2244 preamble_snippets list, enabling us to add snippets to the preamble
2245 only if the snippet was not there already.
2247 2003-09-04 Angus Leeming <leeming@lyx.org>
2249 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2251 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2253 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2256 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2258 * BranchList.C: point fix, earlier forgotten
2260 2003-09-02 Angus Leeming <leeming@lyx.org>
2262 * box.C (contains): renamed from 'contained' after a fantastic
2265 2003-09-02 John Levon <levon@movementarian.org>
2271 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2273 2003-09-02 John Levon <levon@movementarian.org>
2275 * text2.C: simplification of cursorEnd(), including partial
2278 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * buffer.C (readFile): add a space
2282 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2284 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2286 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2288 * buffer.C (readFile): new function, take a filename and a
2289 ParagraphList::iterator
2291 (readFile): adjust, make it private. don't use setStream, make
2292 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2293 always contain the filename.
2295 * BufferView.C (insertLyXFile): simplify and make it work for
2298 2003-08-30 John Levon <levon@movementarian.org>
2300 * Makefile.am: fix dist (from Kayvan)
2302 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * most files: change to use const Buffer refs
2306 2003-08-27 André Pönitz <poenitz@gmx.net>
2308 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2309 on top of ownerPar().
2311 2003-08-27 John Levon <levon@movementarian.org>
2313 * funcrequest.C: properly initialise POD members
2315 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2317 * lyxtext.h (top_y): move top_y from here
2322 * BufferView_pimpl.[Ch]: to here
2323 * frontends/screen.C:
2324 * insets/insettabular.C:
2325 * insets/insettext.C: adjust
2326 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2328 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2331 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2333 2003-08-26 André Pönitz <poenitz@gmx.net>
2335 * paragraph_func.[Ch] (outerPar): new function
2338 * paragraph_funcs.C:
2339 * paragraph_funcs.h:
2340 * paragraph_pimpl.C:
2341 * text2.C: remove Inset::par_owner
2343 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2348 * text2.C: eliminates the needFullRow/display() stuff
2349 altogether, putting the logic in metrics/draw in the insets.
2351 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2353 * text2.C (redoParagraphInternal, redoParagraphs):
2354 * text.C (redoParagraph): add a call to updateRowPositions at the
2355 end of each 'metrics-like' call. Remove all others.
2356 (getRow): remove the 'y-computing' version.
2357 (getRowNearY): do not compute nor return the real y. Solve the
2358 'y < 0' problem and simplify.
2360 2003-08-22 Angus Leeming <leeming@lyx.org>
2362 * *.[Ch]: clean-up of licence and author blurbs.
2363 Also move config.h out of a few .h files and into a few .C files.
2365 2003-08-22 André Pönitz <poenitz@gmx.net>
2367 * lyxrow.[Ch]: add x_ and *fill_ members
2372 * text2.C: adjust/remove prepareToPrint() calls
2374 2003-08-22 André Pönitz <poenitz@gmx.net>
2376 * lyxrow.[Ch]: add end_ member
2378 * lyxrow_funcs.C: use LyXRow::end_
2380 * lyxtext.h (singleWidth): add LyXFont parameter
2383 * text2.C: adjust LyXText::singleWidth() calls
2385 * text.C (redoParagraph): simplify row breaking logic
2388 2003-08-19 André Pönitz <poenitz@gmx.net>
2390 * funcrequest.C: initialize button_ member
2393 * rowpainter.[Ch]: interface consolidation
2395 2003-08-18 André Pönitz <poenitz@gmx.net>
2398 * BufferView_pimpl.C:
2400 * paragraph_funcs.C:
2402 * text3.C: remove LyXScreen::draw() and fitCursor calls
2404 * BranchList.h: remove spurious semicolons
2406 * MenuBackend.C: fix branchlist related crash
2408 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2416 * bufferparams.[Ch]:
2420 * text3.C: implements the 'branch inset'
2421 idea. This allows the output of various versions of a document
2422 from a single source version, selectively outputing or suppressing
2423 output of parts of the text.
2424 This implementation contains a 'branch list editor' in a separate
2425 tab of the document settings dialog. Branches are user definable
2426 and have a "display colour" to distinguish them on-screen.
2428 ColorHandler was somewhat cleaned up.
2429 (1) make possible a dynamically growing LColor list by allowing
2430 the graphic context cache to grow along (vector);
2431 (2) eliminate an IMHO unnecessary step in colour allocation.
2433 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2435 * BufferView_pimpl.C: compile fix
2437 2003-08-15 André Pönitz <poenitz@gmx.net>
2439 * rowpainter.C: remove extra metrics calls
2441 * lyxtext.h: merge the two constructors into a single one,
2442 pass reference to owner's par list
2444 * BufferView_pimpl.C:
2448 2003-08-15 André Pönitz <poenitz@gmx.net>
2450 * lyxrow_funcs.[Ch]:
2453 * paragraph_funcs.C:
2458 * text_funcs.C: split LyXText::rowlist_ into individual
2459 Paragraph::rows_ chunks
2462 * BufferView_pimpl.[Ch]:
2465 * text3.C: remove toggleSelection()
2467 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2469 * bufferlist.C: beautify two alerts (shorter text of buttons)
2470 * buffer.C: Remove redundant ' ' from message
2472 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2473 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2474 rename VALIGN_CENTER to VALIGN_MIDDLE
2476 2003-08-11 André Pönitz <poenitz@gmx.net>
2478 * lyxtext.h (getPar):
2479 * text.C: new function
2481 2003-08-11 André Pönitz <poenitz@gmx.net>
2484 * tracer.[Ch]: remove unneeded files
2486 * InsetList.[Ch]: remove resizeInsetsLyXText()
2491 * text3.C: merge insertParagraphs() and appendParagraph()
2492 remove breakAgain(), update()
2494 * BufferView_pimpl.[Ch]:
2495 * bufferview_funcs.[Ch]:
2499 * tabular.C: adjust after text & InsetList changes.
2501 2003-08-08 André Pönitz <poenitz@gmx.net>
2503 * text.C (insertChar, backspace): replace rowlist fiddling
2504 with rebreak of full par
2507 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2508 checkParagraph, updateInset): removed
2510 2003-08-07 André Pönitz <poenitz@gmx.net>
2513 * text3.C: merge some LFUN handlers, remove dead code
2515 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2519 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2521 * text2.C (DEPM): fix part of bug 1255 and 1256
2523 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2525 * BufferView_pimpl.C (workAreaDispatch): change to use
2526 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2527 that are no mouse related.
2529 2003-08-05 André Pönitz <poenitz@gmx.net>
2532 * BufferView_pimpl.[Ch]:
2533 * bufferview_funcs.C:
2535 * text3.C: rip out "deep update"
2537 * textcursor.[Ch] (last_sel_cursor): remove unused member
2539 2003-08-04 André Pönitz <poenitz@gmx.net>
2542 * BufferView_pimpl.[Ch]:
2543 * ParagraphParameters.C:
2544 * bufferview_funcs.C:
2550 * text3.C: replace "complicated" BufferView::update(...) calls with
2553 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2555 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2557 * Makefile.am (lyx_SOURCES): add paper.h
2559 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2561 * Makefile.am: move things around so that both lyx-qt and
2562 lyx-xforms can be built (according to --with-frontend). Then lyx
2563 is a symbolic link to lyx-[firstfrontend]
2565 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2567 * Always use std::endl with lyxerr
2569 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2571 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2573 2003-08-01 André Pönitz <poenitz@gmx.net>
2576 * BufferView_pimpl.[Ch]:
2578 * text3.C: merge BufferView::repaint() and BufferView::update()
2580 2003-08-01 José Matos <jamatos@lyx.org>
2582 * buffer.[Ch]: file_format is no longer a buffer data element.
2584 2003-08-01 André Pönitz <poenitz@gmx.net>
2589 * text2.C: make redoParagraph more independent of current cursor
2591 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2593 * text2.C: remove unneeded members
2595 2003-07-30 André Pönitz <poenitz@gmx.net>
2597 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2599 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2600 create a single function...
2602 * paragraph_funcs.C (moveItem): ... here.
2605 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2607 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2609 * LColor.[Ch]: Add comment and greyedout logical colors.
2611 2003-07-30 André Pönitz <poenitz@gmx.net>
2613 * tabular.C: don't use Assert too heavily. This crashes where it
2616 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2618 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2619 is disabled (bug 1232)
2621 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2623 * factory.C: limited 'arg' scope
2625 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2627 * factory.C: fixed Note submenu issues
2629 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2631 * factory.C: submenu for Note/Comment/Greyedout
2633 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2636 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2638 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2641 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2642 greyedout. Patch provided by Jürgen Spitzmüller.
2644 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2646 * kbmap.C (read): fix error message when reading bind files
2648 2003-07-29 Angus Leeming <leeming@lyx.org>
2650 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2651 certainly does not do what it purports to do. I am doing it, and
2652 us, a favour by killing it.
2654 2003-07-28 José Matos <jamatos@lyx.org>
2656 * buffer.C (readBody, do_writeFile):
2657 * paragraph.C(readParagraph): \end_document replaces \the_end.
2659 2003-07-29 André Pönitz <poenitz@gmx.net>
2662 * BufferView_pimpl.[Ch]:
2666 * textcursor.[Ch]: remove toggleToggle & Co
2668 2003-07-28 José Matos <jamatos@fep.up.pt>
2670 * buffer.C (readParagraph):
2671 * params_func (readParToken, readParagraph):
2672 * paragraph.C (write): \layout -> \begin_layout.
2674 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * lyxlex_pimpl.C (setFile): clean up slightly.
2678 * bufferparams.h: add compressed var
2680 * buffer_funcs.C (readFile): adjust for LyXLex change
2681 (newFile): ditto + simplify
2683 * buffer.C (writeFile): handle writing of compressed files
2685 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2686 Check if the file is compressed and set a bufferparm if so.
2688 * Makefile.am (lyx_LDADD): remove explicit -lz
2690 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2692 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2693 makeDocBookFile): put the real LyX version in the first line of
2697 * version.C.in: remove lyx_docversion
2699 * tabular.C (write_attribute): add a template-based version to
2700 write enums properly
2702 2003-07-28 André Pönitz <poenitz@gmx.net>
2707 * text3.C: use doubles again for x-coordinates. They are needed.
2709 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * messages.C (getLocaleDir): use lyx_localedir()
2713 * lyxlex_pimpl.C (setFile): compress stuff
2715 * buffer.C (writeFile): add some compression stuff
2716 (do_writeFile): new func, dont call expliti close... will this
2719 * Makefile.am (lyx_LDADD): add -lz
2721 2003-07-28 José Matos <jamatos@fep.up.pt>
2723 * buffer.C: increment file format.
2724 * paragraph_funcs (readParagraph, readParToken):
2725 * paragraph.C (readParagraph): add \end_layout.
2727 2003-07-27 Angus Leeming <leeming@lyx.org>
2729 * Makefile.am: remove special casing for configure-time setting of
2730 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2732 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2733 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2735 2003-07-26 André Pönitz <poenitz@gmx.net>
2737 * paragraph_func.[Ch]:
2738 * paragraph.C (realizeFont): inline it whereever it is used
2743 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2746 2003-07-26 André Pönitz <poenitz@gmx.net>
2750 * text2.C: get rid of LyXText::need_break_row
2752 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * toc.[Ch]: put namespace toc inside namespace lyx
2756 * MenuBackend.C (expandToc2): adjust for lyx::toc
2759 * lyxfunc.C (dispatch): adjust for lyx::find
2761 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2762 lyx::find instead. Reorganize a bit.
2763 (LyXReplace): rename to replace
2764 (LyXFind): rename to find
2766 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2769 2003-07-26 André Pönitz <poenitz@gmx.net>
2771 * text.C (setHeightOfRow): restrict scope of temporary variable
2773 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2774 code (never has been used?)
2776 2003-07-27 Asger Alstrup <alstrup@local>
2778 * text.C (fill): Optimise algorithm to exploit that we can reuse
2779 the LyXFont for many characters.
2780 (setHeightOfRow): Same thing.
2781 (rowBreakPoint): Same thing.
2783 2003-07-26 Asger Alstrup <alstrup@local>
2785 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2787 * text.C (singleWidth): Spurious font copying in hot-spot
2788 singleWidth avoided. Reorder tests for arabic for efficiency.
2790 * text.C (fill): handle empty paragraphs better.
2792 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2795 * encoding.h: add includes
2797 * lyxrc.C: remove reading of bind files
2799 * lyx_main.C (init): setup bindings and menus only if we have a
2802 * kbmap.C (read): new method. Do the actual reading of bind
2805 * converter.C (dvipdfm_options):
2808 (output): adapt PAPER_* enums.
2810 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2812 * bufferparams.h: remove paper-related enums from there
2814 * paper.h: New file. A trivial header file to hold paper-related
2815 enums. It should later expand to contain many paper-related
2818 * lyxrc.C: declare extern displayTranslator
2820 2003-07-27 José Matos <jamatos@fep.up.pt>
2822 * tabular.[Ch] (linuxdoc): add support for tables and figures
2825 2003-07-27 José Matos <jamatos@fep.up.pt>
2827 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2828 consistency in both functions.
2829 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2831 2003-07-26 Asger Alstrup <alstrup@local>
2833 * rowpainter.C (paintRows): Change algorithm to work directly on
2834 the insets rather than asking every character in the document
2835 whether its an inset.
2837 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2839 * buffer.C (openFileWrite): factorize some code
2841 2003-07-26 Angus Leeming <leeming@lyx.org>
2844 * lyx_main.[Ch]: replace occurances of system_tempdir with
2847 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * rename Inset to InsetOld
2851 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2853 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2854 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2855 which I think is a bit clearer. EDIT is gone, since it was
2856 premature optimisation, and broken for mathed anyway.
2857 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2858 with cursor positioning in insets as well (math insets still do not
2859 work, but that's a different story anyway.) It mysteriously
2860 crashes sometimes with undo in the first paragraph, but I'm fairly
2861 confident that this is a compiler bug.
2863 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * paragraph.C (Paragraph): adjust for new clone return type
2867 (copyIntoMinibuffer): ditto
2869 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2871 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2872 by not having a special case, and always doing a full rebreak of
2873 the document after undo.
2875 2003-07-23 Angus Leeming <leeming@lyx.org>
2877 * factory.C (createInset): InsetExternal::setParams now takes a
2880 2003-07-23 Angus Leeming <leeming@lyx.org>
2882 * factory.C (createInset): changed interface to the external and
2883 graphics mailers' string2params functions.
2885 2003-07-23 Angus Leeming <leeming@lyx.org>
2887 * factory.C (createInset): pass a
2888 Buffer const * parameter to InsetExternalMailer's string2params.
2890 2003-07-22 John Levon <levon@movementarian.org>
2892 * Thesaurus.h: include the right aiksaurus header
2894 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2896 * MenuBackend.C (expand): check menu shortcuts unconditionally
2898 2003-07-21 Angus Leeming <leeming@lyx.org>
2900 * factory.C (createInset): pass a
2901 buffer_path parameter to InsetGraphicsMailer's string2params.
2903 2003-07-21 Angus Leeming <leeming@lyx.org>
2905 * BufferView_pimpl.C (buffer):
2908 * lyxfunc.C (dispatch):
2909 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2910 rather than the grfx shortcut.
2912 2003-07-21 André Pönitz <poenitz@gmx.net>
2914 * rowpainter.C: remove unused variables
2917 * tabular_funcs.h: move to tabular.C
2918 * Makefile.am: adjust
2920 * tabular.[Ch]: basic optical cleaning
2922 * author.h: pass references, not values
2924 2003-07-18 André Pönitz <poenitz@gmx.net>
2932 * text3.C: two-phase drawing for InsetText and InsetTabular
2933 some float -> int changes.
2935 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2937 * lyx_main.C: fix the fix
2939 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2941 * lyx_main.C: fix a crash in batch mode if no files specified
2944 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2946 * format.[Ch] (papersize): moved to BufferParams
2947 * converter.[Ch] (dvips_options): moved to BufferParams
2948 (dvipdfm_options): moved to anon namespace
2949 * bufferparams.[Ch]: added above functions.
2951 2003-07-17 André Pönitz <poenitz@gmx.net>
2955 * text2.C: don't call inset->update() anymore
2957 * metricsinfo.[Ch]: add convenience constructor
2959 2003-07-16 André Pönitz <poenitz@gmx.net>
2964 * text2.C: replace the LyXCursor::irow_ member with
2965 on-demand computation of the value
2967 2003-07-16 John Levon <levon@movementarian.org>
2969 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2971 2003-07-15 André Pönitz <poenitz@gmx.net>
2974 * text2.C: remove no more needed refresh_row
2976 2003-07-15 André Pönitz <poenitz@gmx.net>
2981 * text3.C: refresh_status tristate -> need_update bool
2983 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2985 * lyxtext.h (init): remove reinit argument (act as if always true)
2986 * text2.C: adjust to that
2988 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2990 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2991 * text3.C: use it to delete selections in some cases
2992 (bugs 441, 673, 702, 954).
2994 2003-07-14 André Pönitz <poenitz@gmx.net>
2996 * rowpainter.[Ch]: reduce interface
2998 2003-07-14 André Pönitz <poenitz@gmx.net>
3000 * BufferView_pimpl.C:
3001 * text2.C: adjust after removing unused BufferView * argument
3003 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3005 * text2.C (init): fix a crash fired on resize
3007 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3009 * buffer.[Ch]: added new closing signal
3010 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3011 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3012 BufferView::Pimpl via the closing the signal
3014 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3016 * buffer.[Ch]: take out all bv-related from buffer
3018 * BufferView_pimpl.[Ch]: connect to new signals
3019 * CutAndPaste.C: removed useless asserts
3020 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3023 * lyxfunc.C: moved view-related funciontality from vc here
3024 * paragraph.C: removed outdated comments
3027 2003-07-10 André Pönitz <poenitz@gmx.net>
3029 * BufferView_pimpl.C:
3033 * text2.C: remove InsetText::InnerCache, clean up consequences
3035 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3037 * ispell.C: fix two typos in error messages
3039 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3041 * Extend Note inset to other forms of annotation like Comment
3042 and Greyedout. Right button click gives dialog.
3044 Files modified or added (+):
3048 * ControlNote.[Ch] +
3050 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3051 frontends/controllers
3055 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3057 * aspell.C: add missing namespace lyx::support
3059 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3061 * BufferView.[Ch] (newFile): Add
3062 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3063 * LaTeX.[Ch] (message): added this signal and use it
3064 * buffer.[Ch] (busy, message): added these signals and use them
3065 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3069 * importer.C: use buffer signals instead of direct bv calling
3070 * lyx_cb.[Ch] (ShowMessage): removed
3073 * paragraph_funcs.C:
3074 * text2.C: use buffer signals
3076 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3078 * introduce namespace lyx::graphics
3080 2003-07-02 André Pönitz <poenitz@gmx.net>
3082 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3084 2003-07-01 André Pönitz <poenitz@gmx.net>
3091 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3092 text*.C to text_func.C
3094 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * introduce namespace lyx::support
3098 2003-06-30 André Pönitz <poenitz@gmx.net>
3103 * text.C: re-enable --with-included-string
3105 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * textcursor.C: add <config.h>
3109 * text.C (getWord): remove const from word_location arg
3111 * lyxvc.C (getLogFile): fix const type order
3113 * lyxtext.h: remove const from word_location arg, add arg name
3115 * lyxlayout.h: currect type on labeltype.
3117 * importer.C: correct \file
3119 * converter.C (intToFormat): use std:: on ret val, ws changes
3121 * bufferlist.h: correct \file
3123 * buffer.C (makeLinuxDocFile): fix const type order
3124 (makeDocBookFile): ditto
3125 (fillWithBibKeys): use std:: on stdlib args.
3127 * CutAndPaste.C: fix authors.
3128 (availableSelections): use std:: on return vector
3130 2003-06-27 André Pönitz <poenitz@gmx.net>
3132 * BufferView_pimpl.C:
3133 * bufferview_funcs.C:
3141 * text3.C: remove LyXCursor::row_ member
3144 * text.C: rename fullRebreak() to partialRebreak() and implement
3145 a fullRebreak() that really bereks fully
3147 * textcursor.h: new struct for cursor-related data
3149 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3151 * lyx_main.C (LyX): get full path of document loaded on the
3154 2003-06-26 André Pönitz <poenitz@gmx.net>
3156 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3157 remove unused/broken operator>,<,>=.
3159 * text.C: remove only use of broken operator<= in an Assert().
3161 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3163 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3164 moved errorlist_.clear to showErrorList
3166 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3168 * converter.C (scanLog, runLaTeX):
3169 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3170 move the bv->showErrorList call to the callers
3171 * lyxfunc.C: i.e. here...
3173 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3174 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3175 namespace, the second to...
3176 * buffer_funcs (BufferFormat, parseErrors): added
3177 * errorlist.C (ErrorList(TeXErrors const &)): removed
3179 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3181 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3183 2003-06-24 "Garst R. Reese" <reese@isn.net>
3187 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3189 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3191 * version.C.in: change docversion to 1.4
3193 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3195 * buffer.C: fix a bug just introduced
3197 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3199 * buffer.[Ch]: added the parseError signal and use it, removed
3201 * BufferView.[Ch] (addError): moved to ...
3202 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3203 to the Buffer::parseError signal to catch (guess what) parse errors
3204 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3206 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3208 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3209 ability to create a buffer and to return an existing one from
3210 the list. Moved these functions to...
3211 * buffer_funcs.[Ch]: added
3212 * BufferView.[Ch] (loadLyXFile): added
3213 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3214 job removed from bufferlist::loadLyXFile.
3215 * buffer.C (setReadOnly): make it work without view
3216 (i.e added an if (users))
3218 2003-06-19 Angus Leeming <leeming@lyx.org>
3221 * LyXAction.C (init):
3222 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3223 with LFUN_DIALOG_SHOW <name> <data>.
3225 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3227 * CutAndPaste.C (availableSelections): small compilation fix for
3228 ancient (gcc 2.9x) compilers
3230 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * text3.C (cursorNext): add tmp var
3234 * text2.C (updateCounters): for function calling out of for clause
3235 (replaceSelectionWithString): ditto
3236 (insertStringAsParagraphs): ditto
3237 (getColumnNearX): add tmp var
3238 (setCursorFromCoordinates): add tmp var
3239 (cursorDownParagraph): add tmp var
3240 (deleteEmptyParagraphMechanism): add tmp var
3242 * text.C (insertChar): add tmp var
3244 * rowpainter.C (paintDepthBar): add tmp var
3246 * CutAndPaste.C (availableSelections): potentially check all
3247 paragraphs in a cut to fill the shown strings.
3249 2003-06-18 André Pönitz <poenitz@gmx.net>
3251 * kbmap.[Ch]: use vector<> instead of list<>
3253 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3255 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3256 pasteSelection with index
3258 * text2.C (pasteSelection): modify, call pasteSelection with index
3260 * paragraph.C (asString): reimplement version with no interval to
3261 call the one with interval.
3263 * lyxtext.h: add index arg to pasteSelection
3265 * MenuBackend.C (MenuItem): handle PasteRecent
3266 (Menu::read::Menutags): add md_pasterecent
3268 (expandPasteRecent): new function
3271 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3273 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3275 (availableSelections): new function
3277 2003-06-17 Angus Leeming <leeming@lyx.org>
3279 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3281 2003-06-17 Angus Leeming <leeming@lyx.org>
3284 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3286 * lyxfunc.C (dispatch): invoke it.
3288 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3290 * iterators.C (operator++, ParPosition): reintroduce some
3291 const_cast for the benefit of older compilers.
3293 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3295 * text3.C (dispatch): do not modify clipboard when doing
3296 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3297 LFUN_DELETE_SKIP on a selection selection
3299 2003-06-16 André Pönitz <poenitz@gmx.net>
3305 * tabular.[Ch]: IU of clone() and getLabelList();
3307 2003-06-13 André Pönitz <poenitz@gmx.net>
3309 * tabular.h: compactification
3311 2003-06-12 André Pönitz <poenitz@gmx.net>
3315 * tabular_funcs.h: some renaming plus whitespace
3317 2003-06-12 André Pönitz <poenitz@gmx.net>
3320 * BufferView_pimpl.C:
3326 * toc.C: Return a Paragraph & for ParIterator::operator*()
3328 2003-06-11 John Levon <levon@movementarian.org>
3332 * ToolbarBackend.C: add "Toolbars" section and
3335 2003-06-10 Angus Leeming <leeming@lyx.org>
3338 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3340 * lyxfunc.C (dispatch): invoke it.
3342 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3344 * main.C: protect <ios> with HAVE_IOS
3345 (main): protect sync_with_stdio with HAVE_IOS
3347 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3349 * text2.C (cutSelection): adjust
3350 (pasteSelection): adjust
3352 * messages.C: handle get of empty string
3354 * main.C (main): use sync_with_stdio(false)
3356 * lyxfunc.C (dispatch): adjust
3358 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3359 (WriteAs): remove unneeded BufferView arg.
3361 * bufferparams.h: use correct types on papersize, papersize2 and
3364 * bufferparams.C (readToken): adjust for type
3365 (writeLaTeX): add missing cases to switch.
3367 * bufferlist.C (quitWriteBuffer): adjust
3370 * buffer.C (asciiParagraph): remove some commented code.
3372 * CutAndPaste.C: remove current_view extern variable.
3373 (cutSelection): add BufferParams arg.
3374 (eraseSelection): add BufferParams arg.
3375 (pasteSelection): add Buffer const & arg
3377 2003-06-07 John Levon <levon@movementarian.org>
3380 * paragraph_funcs.C:
3381 * paragraph_pimpl.C:
3385 * paragraph.C: allow InsetERT to freely space lines,
3386 and some consolidation of code
3388 2003-06-06 José Matos <jamatos@fep.up.pt>
3390 * buffer.C (makeDocBookFile): fix bug #821
3392 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3394 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3396 2003-06-04 Angus Leeming <leeming@lyx.org>
3398 * buffer.C: bump format to 224.
3400 2003-06-05 André Pönitz <poenitz@gmx.net>
3402 * text2.C (redoParagraphs): remove two const_cast<>
3404 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3406 * ParagraphList.h: remove last remnants of NO_STD_LIST
3408 2003-06-03 Angus Leeming <leeming@lyx.org>
3410 * factory.C (createInset): small change to the way InsetExternal's params
3413 2003-06-04 André Pönitz <poenitz@gmx.net>
3415 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3417 * paragraph_pimpl.h:
3418 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3420 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3422 * undo_funcs.C: make some simple cases of undo work again
3424 2003-06-03 John Levon <levon@movementarian.org>
3426 * ispell.C: HPUX doesn't have sys/select.h
3429 2003-06-03 John Levon <levon@movementarian.org>
3431 * CutAndPaste.C: update tabular and include inset
3436 * paragraph.C: remove owningBuffer(), don't pass Buffer
3439 * factory.C: insetGraphicsParams changed
3441 2003-06-02 John Levon <levon@movementarian.org>
3447 * text3.C: remove insetparent
3449 2003-06-02 John Levon <levon@movementarian.org>
3452 * buffer.C: fix inset_iterator.end(), move out of line
3455 2003-06-01 John Levon <levon@movementarian.org>
3457 * text3.C: use a proper cut/paste when doing inset
3458 insert (from Jürgen Spitzmüller)
3460 2003-06-01 John Levon <levon@movementarian.org>
3462 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3464 2003-05-30 André Pönitz <poenitz@gmx.net>
3466 * rowpainter.C: unify second drawing phase
3468 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * trans_mgr.C: remove one case of current_view
3472 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3474 * paragraph_funcs.h: remove paragraph.h include
3476 * paragraph.h: delete NO_STD_LIST stuff
3478 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3480 * buffer.h: remove paragraph.h include
3482 * ParagraphList.C: delete file
3484 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3486 * toc.C (getTocList): adjust
3488 * paragraph_pimpl.C (validate): adjust
3490 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3492 * paragraph.C (Paragraph): adjust
3493 (getPositionOfInset): use const_iterator, adjust
3494 (bibitem): use const_iterator, adjust
3495 (setInsetOwner): adjust
3497 * iterators.C (operator++): adjust
3499 * InsetList.[Ch]: Replace selfmade iterator with standard
3500 vector::iterator also introduce const_iterator. Remove getPos,
3501 getInset and setInset from InsetTable. Adjust accordingly.
3503 * BufferView.C (lockInset): adjust
3504 (ChangeInsets): adjust
3506 * tabular.[Ch]: delete commented same_id functions
3508 2003-05-28 John Levon <levon@movementarian.org>
3510 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3512 2003-05-28 André Pönitz <poenitz@gmx.net>
3514 * metricsinfo.[Ch]: remove 'fullredraw' member
3516 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3518 * lyxtextclass.C (operator): remove caching.
3520 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * text2.C (cursorBottom): adjust
3525 (setCounter): use ParagraphList::find, adjust
3527 * text.C (workWidth): use ParagraphList::find, adjust
3529 * lyxcursor.C (LyXCursor): adjust
3531 * buffer.C (inset_iterator): adjust
3533 * ParagraphList.h: make iterator(value_type) private, make
3534 ParagraphList a friend of iterator.
3536 * ParagraphList.C (find): new function
3538 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3540 2003-05-27 André Pönitz <poenitz@gmx.net>
3542 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3544 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3546 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3548 2003-05-26 John Levon <levon@movementarian.org>
3550 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3552 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3554 * remove same_id from function signatures, adjust.
3556 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3560 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3562 * paragraph.C (Paragraph): get rid of same_ids parameter
3564 * ParagraphList.C (insert): adjust
3567 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * paragraph_funcs.C (breakParagraph): adjust
3570 (breakParagraphConservative): adjust
3572 * buffer.C (readParagraph): adjust
3574 * ParagraphList.C (insert): take a reference instead of a pointer
3577 * paragraph.[Ch] (id): new function
3579 * bufferlist.C (newFile): adjust
3581 * ParagraphList.C (ParagraphList): adjust
3583 (push_back): take a reference instead of a pointer.
3585 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3587 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3590 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3591 set else use old code.
3593 * ParagraphList.C: remove all NO_NEXT code and only compile this
3594 code of NO_STD_LIST is set.
3596 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3598 * BufferView_pimpl.C:
3608 * graphics/GraphicsConverter.C:
3609 * graphics/PreviewLoader.C: header adjustment
3611 2003-05-23 Angus Leeming <leeming@lyx.org>
3613 * LaTeXFeatures.[Ch] (useBabel): new method.
3614 * bufferparams.C (writeLaTeX): use it.
3616 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * ParagraphList.h (set): remove unused function.
3620 2003-05-23 André Pönitz <poenitz@gmx.net>
3623 * BufferView_pimpl.C:
3627 * undo_funcs.C: setUndo reworked
3629 * iterators.[Ch]: add access to topmost ParagraphList
3631 * lyxtext.[Ch] (workWidth): add a const
3633 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3635 * texrow.[Ch] (increasePos): remove function
3636 * exporter.C (export): removed unused var and outdated comment
3638 2003-05-23 Angus Leeming <leeming@lyx.org>
3640 * latexrunparams.h: rename fragile as moving_arg.
3641 * paragraph.C (simpleTeXOnePar): ditto.
3642 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3644 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3646 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3648 (textUndoOrRedo): comment out a currently unused var.
3650 * paragraph.h (NO_NEXT): enable NO_NEXT
3652 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3654 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3656 * exporter.C (Export): adjust for removeAutoInsets removal.
3658 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3660 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3662 * BufferView.[Ch] (removeAutoInsets): delete function
3664 2003-05-22 Angus Leeming <leeming@lyx.org>
3666 * latexrunparams.h: add a free_spacing variable.
3668 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3669 to pass moving_arg, as the data is stored in runparams.fragile.
3671 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3672 to Inset::latexOptional or to simpleTeXOnePar.
3674 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3675 free_spacing arg to Inset::latexOptional.
3677 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3680 2003-05-22 Angus Leeming <leeming@lyx.org>
3682 * latexrunparams.h: add fragile and use_babel variables.
3684 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3685 * buffer.C (makeLaTeXFile): store this returned value in
3686 runparams.use_babel, thus passing it to the inset::latex methods.
3688 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3689 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3691 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3692 longer has a fragile arg, as it is stored in runparams.fragile.
3694 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3695 moving_arg parameter as the data is stored in runparams.fragile.
3697 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3698 a fragile parameter as the data is stored in runparams.fragile.
3700 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3704 2003-05-22 Angus Leeming <leeming@lyx.org>
3706 * latexrunparams.h: add a 'bool nice' which defaults to false.
3708 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3709 now encapsulated within runparams.
3711 * bufferlist.C (updateIncludedTeXfiles):
3712 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3714 2003-05-22 Angus Leeming <leeming@lyx.org>
3716 * latexrunparams.h: new file containing struct LatexRunParams.
3717 * Makefile.am: add new file.
3719 * LaTeX.[Ch] (c-tor, run):
3720 * buffer.[Ch] (makeLaTeXFile):
3721 * bufferlist.[Ch] (updateIncludedTeXfiles):
3722 * converter.C (convert, scanLog):
3723 * converter.[Ch] (runLaTeX):
3724 * exporter.C (Export):
3725 * paragraph.[Ch] (simpleTeXOnePar):
3726 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3727 * paragraph_funcs.[Ch] (latexParagraphs):
3728 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3729 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3730 pass around a LatexRunParams parameter.
3732 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * paragraph.[Ch]: remove unused constructor
3736 * ParagraphList.C (erase): new function, taking two iterators
3738 2003-05-22 André Pönitz <poenitz@gmx.net>
3740 * undo_funcs.C: remove duplicated code
3742 * iterator.[Ch]: operator=
3744 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * tabular.C (SetMultiColumn): ws changes
3748 * rowpainter.C (paintFirst): get rid of a ->previous
3750 * lyx_cb.C (getPossibleLabel): parlist simplification
3752 * BufferView.C (ChangeInsets): simplify slightly.
3754 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3756 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3757 * lfuns.h: new LFUN_SPACE
3758 * lyxfunc.C: protected space has a new lfun
3759 * paragraph_funcs.C: read new space insets
3761 * factory.C: handle new space insets
3763 2003-05-22 André Pönitz <poenitz@gmx.net>
3766 * BufferView_pimpl.C:
3769 * undo_funcs.C: return a ParIterator from getParFromID.
3771 * iterators.[Ch]: add two const's
3773 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * toc.C (getTocList): adjust
3777 * iterators.[Ch]: rework for parlist
3779 * buffer.C (par_iterator_begin): adjust
3780 (par_iterator_end): adjust
3782 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3784 * BufferView.C (removeAutoInsets): adjust
3785 (ChangeInsets): adjust
3787 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3789 * text.C (top_y): fix bug 1110
3791 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3793 * errorlist.[Ch]: added
3796 * BufferView_pimpl.C:
3797 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3800 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * Makefile.am: ensure that lyx is relinked upon changes to the
3803 various "convenience" libs.
3805 2003-05-20 Angus Leeming <leeming@lyx.org>
3807 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3808 files are compiled in alphabetical order again.
3810 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3812 2003-05-19 Angus Leeming <leeming@lyx.org>
3814 * gettext.[Ch]: remove "char const * _(char const *)".
3816 2003-05-19 André Pönitz <poenitz@gmx.net>
3818 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3827 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3829 2003-05-19 André Pönitz <poenitz@gmx.net>
3833 * lyxtextclass.[Ch]:
3835 * paragraph_funcs.[Ch]:
3837 * text3.C: more insetenv work
3839 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3841 * ParagraphParameters.C (params2string): small bug fixed
3843 2003-05-16 André Pönitz <poenitz@gmx.net>
3846 * bufferview_funcs.C: patch from Kornel Benko to prevent
3847 crash when _(...) is called twice in a statement
3849 2003-05-16 André Pönitz <poenitz@gmx.net>
3856 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3858 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3860 * lyx_main.C (init): remove spurious static_cast
3862 2003-05-14 André Pönitz <poenitz@gmx.net>
3864 * BufferView.C: fix format string
3866 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3868 * BufferView.[Ch] (insertErrors): removed
3869 * BufferView.[Ch] (showErrorList): added
3870 * buffer.C (runChkTeX):
3871 * converter.C (scanLog): call showErrorList instead of inserterrors
3873 2003-05-13 André Pönitz <poenitz@gmx.net>
3875 * BufferView_pimpl.C:
3877 * bufferview_func.C:
3884 * tabular_funcs.h: tostr() from its own header
3886 * ParagraphParameters.C:
3891 * text3.C: STRCONV()
3893 2003-05-12 André Pönitz <poenitz@gmx.net>
3896 * BufferView_pimpl.C:
3900 * ParagraphParameters.C:
3904 * bufferview_funcs.C:
3917 * paragraph_funcs.C:
3921 * text3.C: boost::format -> bformat all over the place
3924 2003-05-09 André Pönitz <poenitz@gmx.net>
3926 * LColor.[Ch]: Pimpl the #include <map> away
3928 2003-05-09 John Levon <levon@movementarian.org>
3930 * bufferlist.C: never remove emergency saves
3932 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * Makefile.am: better lib building
3936 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3940 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3941 (simpleTeXSpecialChars): adjust
3942 (simpleTeXSpecialChars): adjust
3943 * paragraph.C (simpleTeXOnePar): adjust
3944 * buffer.C (makeLaTeXFile): adjust
3946 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3948 * text2.C (changeDepth): parlist cleanup
3949 (getColumnNearX): ditto
3951 * rowpainter.C (getLabelFont): parlist cleanup
3953 * bufferlist.C (newFile): parlist cleanup
3955 * CutAndPaste.C (eraseSelection): parlist cleanup
3957 * BufferView_pimpl.C (trackChanges): parlist cleanup
3960 * BufferView.C (lockInset): parlist cleanup.
3961 (ChangeInsets): ditto
3963 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * CutAndPaste.h: Update file header.
3967 * CutAndPaste.C: Update file header.
3968 Store the parts cut out of the Document in a limited_stack.
3969 (copySelection): adjust
3970 (pasteSelection): new function, takes the index in the limited stack.
3971 (nrOfParagraphs): adjust
3972 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3973 simplify error inset insertion.
3974 (checkPastePossible): adjust
3976 2003-05-06 John Levon <levon@movementarian.org>
3978 * text2.C: don't cast wrap inset to float
3980 2003-05-05 André Pönitz <poenitz@gmx.net>
3983 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3985 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3986 few naked Paragraph *.
3988 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3990 * bufferparams.C: Output warning if a document with missing
3991 TeX document class is loaded
3992 * exporter.C: Disable TeX exports if the document class is missing
3995 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3996 isTeXClassAvailable()
3998 2003-05-03 John Levon <levon@movementarian.org>
4001 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4002 explicit cursor show/hide
4004 * BufferView_pimpl.h:
4005 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4006 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4008 * lyxfunc.C: hide cursor before dispatching.
4013 * text3.C: remove explicit cursor hides
4015 2003-05-02 André Pönitz <poenitz@gmx.net>
4017 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4020 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4023 * text2.C: tiny whitespace
4025 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * undo_funcs.C: almost only ws changes.
4029 * ParagraphList.C (splice): just return if pl is empty.
4031 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * ParagraphList.C (splice): new function.
4035 * CutAndPaste.C (pasteSelection): use it
4037 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * CutAndPaste.C (pasteSelection): remove the last next and
4040 previous from this file.
4042 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * CutAndPaste.C (pasteSelection): more clean up, user proper
4045 ParagraphList functions for pasteing.
4047 * ParagraphList.C (insert): new function, three arg insert
4049 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * ParagraphList.C (insert): new function, three arg insert
4053 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4056 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4060 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4064 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4067 (copySelection): clean up a bit.
4068 (pasteSelection): use make_pair
4070 * ParagraphList.C (ParagraphList): implement copy constructor
4071 (operator=): implement, base on copy constructor.
4074 * paragraph.C (erase): return a bool
4076 * paragraph_pimpl.C (erasePos): remove function, move contents...
4077 (erase): ... here. Return a bool.
4078 (erase): call erase instead of erasePos.
4080 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4082 * ParagraphList.h: define PitPosPair
4083 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4084 ParagraphList, fix a bug on pasting multiple pars
4085 * text2.C: change interface to C&P
4087 2003-04-30 André Pönitz <poenitz@gmx.net>
4089 * undo_func.C: revert part of yesterday's patch 2
4091 2003-04-30 John Levon <levon@movementarian.org>
4093 * LColor.C: s/tabular/table/
4095 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * text3.C (dispatch): do not convert iterator -> pointer
4098 * undo_funcs.C (setCursorParUndo): ditto
4099 * text_funcs.C (transposeChars): ditto
4101 * text2.C (setLayout): ws changes only
4103 * text.C (breakParagraph): do not convert iterator -> pointer
4105 (acceptChange): ditto
4106 (rejectChange): ditto
4111 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4114 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4116 * text3.C (gotoInset): YABG (yet another bad getChar)
4118 2003-04-29 André Pönitz <poenitz@gmx.net>
4120 * paragraph.h: make operator= private unimplemented as long as
4123 * ParagraphList.C: whitespace
4126 * paragraph_pimpl.[Ch]:
4127 * paragraph_funcs.C:
4129 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4132 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4134 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4136 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4137 * paragraph.[Ch] (erase):
4138 * paragraph_pimpl.[Ch] (erase): change return type and value
4139 * text2.C (cutSelection): some rework
4141 2003-04-28 John Levon <levon@movementarian.org>
4143 * bufferlist.C: changes for unsaved changes dialog
4145 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * bufferlist.C (newFile): set language (messages_) for new
4150 * buffer.C (readFile): ws changes only.
4152 2003-04-28 André Pönitz <poenitz@gmx.net>
4157 * BufferView_pimpl.C:
4158 * BufferView.C: getParFromID related ParagraphList::iterator changes
4160 2003-04-28 André Pönitz <poenitz@gmx.net>
4162 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4165 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4167 * messages.C: remove one more localedir class variable.
4169 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4171 * messages.C (getLocaleDir): singleton generation function
4173 (Messages): add a default constructor.
4175 * main.C (main): do not setup localedir here, do not call
4178 * gettext.C (_): use it.
4179 (gettext_init): delete funciton
4181 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * gettext.C (getLyXMessages): new singleton generating function.
4185 * buffer.C (updateDocLang): adjust
4187 * Makefile.am (messages.o): add target
4188 (main.o): remove target
4190 2003-04-27 John Levon <levon@movementarian.org>
4195 * lyxvc.C: specify cancel button in Alert::prompt
4197 2003-04-26 John Levon <levon@movementarian.org>
4202 * LyXAction.C: add LFUN_INSET_SETTINGS
4204 * lyxfunc.C: don't enable tabular-feature when there's
4205 just any locking inset
4207 2003-04-26 John Levon <levon@movementarian.org>
4209 * bufferlist.C: re-add Cancel to buffer close question
4211 * lyxfunc.C: fix import UI a bit
4213 2003-04-25 John Levon <levon@movementarian.org>
4215 * gettext.C: remove the broken asserts for now
4217 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * messages.C: make case where setlocale cannot comply work better.
4221 * buffer.C (updateDocLang): new function
4222 (changeLanguage): use it
4225 * text2.C (setCounter): use B_ a bit.
4227 * lyxlayout.C (Read): be sure to trim the label strings.
4229 * messages.C (Messages): fix typo in comment
4231 * buffer.C (readFile): set message_ after file is loaded.
4232 (makeDocBookFile): remove double return
4233 (changeLanguage): reset message_ upon language change.
4234 (B_): new func, use this to get translated buffer strings.
4236 * main.C: add myself and Jean Marc as authors.
4238 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * messages.[hC]: pimplify Messages, and three different pimpls to be
4241 used in different circumstances.
4243 * gettext.[Ch]: change for use with new message code.
4245 2003-04-24 André Pönitz <poenitz@gmx.net>
4247 * factory.C: support for eqref
4249 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4251 * messages.[Ch]: add missing char
4253 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4255 * messages.[Ch]: New files
4257 2003-04-18 John Levon <levon@movementarian.org>
4261 * BufferView_pimpl.C:
4265 * text2.C: remove layout-copy/paste (bug 778)
4267 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4269 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4271 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4273 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4274 if they succeed. Act accordingly.
4276 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * text2.C (setCharFont): adjust
4279 (setCounter): adjust
4280 (insertStringAsLines): adjust
4282 * text.C (leftMargin): adjust
4283 (setHeightOfRow): adjust
4285 * rowpainter.C (paintFirst): adjust
4288 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4290 (isFirstInSequence): ditto
4291 (getEndLabel): ditto
4294 * paragraph.C (getParLanguage): comment out some hard stuff.
4296 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4298 (simpleDocBookOnePar): ditto
4299 (makeDocBookFile): use ParagraphList::iterator
4301 * CutAndPaste.C (pasteSelection): adjust
4303 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * text2.C (getFont): adjust
4306 (getLayoutFont): adjust
4307 (getLabelFont): adjust
4309 * paragraph_funcs.C (TeXOnePar): adjust
4311 * buffer.C (simpleLinuxDocOnePar): adjust
4312 (simpleDocBookOnePar): adjust
4314 * CutAndPaste.C (pasteSelection): adjust
4316 * BufferView.C (getEncoding): adjust
4318 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4320 2003-04-16 John Levon <levon@movementarian.org>
4322 * lyxfind.C: use parlist stuff for search/changes
4324 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4328 * text2.C (deleteEmptyParagraphMechanism): adjust
4330 * text2.[Ch] (ownerParagraph): delete func (both of them
4332 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4336 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * ParagraphList.C: prepare for NO_NEXT
4340 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * text2.C (getFont): adjust
4343 (getLayoutFont): adjust
4344 (getLabelFont): adjust
4346 * paragraph.C (getFont): adjust
4347 (getLabelFont): adjust
4348 (getLayoutFont): adjust
4350 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4352 2003-04-15 John Levon <levon@movementarian.org>
4356 * lyx_main.C: handle Include in .ui files
4358 2003-04-15 John Levon <levon@movementarian.org>
4360 * MenuBackend.C: make the doc files length shorter
4363 * ToolbarBackend.C: handle toolbar placement flags,
4366 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4371 * paragraph_funcs.C (TeXOnePar): adjust
4373 * paragraph.C (getLabelFont): add outerfont arg, adjust
4374 (getLayoutFont): ditto
4375 (simpleTeXOnePar): adjust
4377 * paragraph_pimpl.C (realizeFont): delete func
4379 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4381 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4382 row argument, constify cur argument.
4384 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * text2.C (getFont): adjust
4387 (getLayoutFont): adjust
4388 (getLabelFont): adjust
4390 * paragraph_funcs.C (TeXOnePar): adjust
4391 (outerFont): new func...
4392 (realizeFont): ...moved out from here, changed this to facilitate
4395 * paragraph.C (getFont): take outerfont as arg, adjust
4396 (simpleTeXOnePar): add outerfont arg, adjust
4398 * buffer.C (simpleLinuxDocOnePar): adjust
4399 (simpleDocBookOnePar): adjust
4401 * CutAndPaste.C (pasteSelection): adjust
4403 * BufferView.C (getEncoding): adjust
4405 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * text2.C (setCharFont): adjust
4408 (setCounter): adjust
4410 * text.C (leftMargin): adjust
4411 (setHeightOfRow): adjust
4413 * rowpainter.C (paintFirst): adjust
4416 * paragraph_pimpl.C (realizeFont): adjust
4418 * paragraph.C (isFirstInSequence): move from here...
4419 * paragraph_funcs.C (isFirstInSequence): ...to here
4421 * paragraph.C (outerHook): move from here...
4422 * paragraph_funcs.C (outerHook): ...to here
4424 * paragraph.C (depthHook): move from here...
4425 * paragraph_funcs.C (depthHook): ...to here
4427 * paragraph.C (getEndLabel): move from here...
4428 * paragraph_funcs.C (getEndLabel): ...to here
4430 * text2.C (realizeFont): move from here...
4431 * paragraph_funcs.C (realizeFont): ...to here
4433 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4437 2003-04-14 Angus Leeming <leeming@lyx.org>
4439 * LColor.[Ch]: scrap LColor mathcursor.
4441 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * lyxlex.[Ch] (text): delete function
4444 * trans.C (Load): adjust
4445 * paragraph_funcs.C (readParToken): adjust
4447 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4450 vector<char> instead of a char[].
4452 * lyxlex_pimpl.C (getString): adjust
4454 (lex): use getString
4458 * lyxlex.C (text): use pimpl_->getString()
4462 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4465 (makeFontEntriesLayoutSpecific): temp var for par.size()
4466 (setLayout): temp var for ownerParagraphs().end()
4467 (fullRebreak): temp var for rows().end()
4468 (selectionAsString): temp var for boost::next(startpit), realize
4469 that the while really is a regular for loop.
4470 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4471 setCursor in one place.
4472 (setParagraph): temp vr for ownerParagraphs().end()
4473 (updateCounters): make the while loop a for loop
4474 (cutSelection): temp var for ownerParagraphs().end()
4475 (updateInset): make the do {} while() a regular for loop
4476 (getCursorX): use temp vars
4477 (setCurrentFont): use temp vars
4478 (getColumnNearX): use temp vars
4480 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * text.C (transformChar): use temp var for getChar
4483 (computeBidiTables): use temp var for row->par()
4484 (fill): move temp vars for row->par() and pit->layout() earlier in
4486 (labelFill): use temp var for row->par()
4487 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4488 asc and desc, realize that pit never changes and that firstpit is
4489 just a duplicate and not needed. Exchange rit->par() with pit in a
4491 (breakAgain): use a temp var for boost::next(rit)
4492 (breakAgainOneRow): ditto
4493 (breakParagraph): use a temp var for rows().begin()
4494 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4495 (cursorRightOneWord): use temp var for cursor.par() and
4496 cursor.pos(), remove usage of tmpcursor.
4497 (cursorLeftOneWord): use temp var for cursor.par() and
4498 cursor.pos() only set cur at end of function.
4500 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4502 * text.C, text2.C: exchange all usage of Paragraph::next with
4503 boost::next(ParagraphList::iterator)
4505 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4507 * text2.C (cursorTop): simplify implementation
4508 (cursorBottom): ditto
4509 (setParagraph): use ParagraphList::iterator
4510 (setCurrentFont): adjust
4511 (getColumnNearX): adjust
4512 (cursorRight): adjust
4513 (cursorLeft): remove usage of Paragraph::previous
4514 (cursorUpParagraph): ditto
4515 (deleteEmptyParagraphMechanism): slight cleanup
4517 * text.C (isBoundary): take a Paragraph const & instead of a
4519 (addressBreakPoint): ditto
4520 (leftMargin): remove usage of Paragraph::previous.
4521 (setHeightOfRow): ditto
4522 (cursorLeftOneWord): ditto
4523 (selectNextWordToSpellcheck): ditto
4526 (breakParagraph): remove one usage of Paragraph::next
4527 (redoParagraph): ditto
4528 (acceptChange): ditto
4529 (insertChar): adjust
4530 (rowBreakPoint): adjust
4532 * bufferview_funcs.C (toggleAndShow): adjust
4534 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4536 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4537 methods to access it.
4539 * text.C: Added updateRowPositions to compute all row positions.
4540 Make top_y and getRowNearY() to use the cached y position
4542 2003-04-11 John Levon <levon@movementarian.org>
4544 * text.C (rowBreakPoint): reintroduce the labelEnd
4545 checks, code copied from the row fill stuff. Deep voodoo.
4547 * text.C (fill): add a comment and debugging for the
4550 2003-04-11 John Levon <levon@movementarian.org>
4552 * text.C: make sure fullrow insets get wrapped to the next line,
4553 even when they're in a manual label
4555 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * text2.C (insertParagraph): make it take ParagraphList::iterator
4559 (setLayout): make it return ParagraphList::iterator
4560 (redoParagraphs): ditto
4562 (checkParagraph): ditto
4564 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4566 * text2.C: adjust several funcs.
4567 (realizeFont): take a ParagraphList::iterator as arg.
4568 (getLayoutFont): ditto
4569 (getLabelFont): ditto
4570 (setCharFont): ditto
4572 * text.C: adjust several funcs.
4574 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4576 * text.C (selectNextWordToSpellcheck): don't accidentally
4579 2003-04-10 John Levon <levon@movementarian.org>
4581 * ToolbarBackend.C (getIcon): special handling for
4584 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4586 * text2.C (cursorRight): a getChar assert fixed
4588 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4590 * text2.C (getFont): change to take a ParagraphList::iterator
4591 instead of Paragraph*
4592 Adjust several functions.
4594 * text.C (transformChar): change to take a ParagraphList::iterator
4595 instead of Paragraph*
4596 (singleWidth): ditto
4597 Adjust several functions.
4599 * rowpainter.C: adjust several functions
4600 * rowpainter.h:store a ParagraphList::iterator and not a
4604 2003-04-09 John Levon <levon@movementarian.org>
4609 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4610 and the "help" bits as well
4612 2003-04-09 John Levon <levon@movementarian.org>
4615 * ToolbarBackend.C: allow multiple toolbars
4617 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * undo_funcs.C (setCursorParUndo): adjust
4621 * text_funcs.C (transposeChars): adjust
4623 * text3.C (gotoNextInset): adjust
4626 * text2.C (setLayout): adjust
4627 (changeDepth): adjust
4629 (redoParagraphs): adjust
4630 (selectionAsString): adjust
4631 (setParagraph): adjust
4632 (insertInset): adjust
4633 (cutSelection): adjust
4634 (copySelection): adjust
4635 (pasteSelection): adjust
4636 (insertStringAsLines): adjust
4637 (updateInset): adjust
4638 (setCursor): change to take a ParagraphList::iterator parameter
4639 (setCursorIntern): change to take a ParagraphList::iterator parameter
4640 (setCurrentFont): adjust
4641 (cursorLeft): adjust
4642 (cursorRight): adjust
4643 (deleteEmptyParagraphMechanism): adjust
4645 * text.C (breakParagraph): adjust
4646 (insertChar): adjust
4647 (acceptChange): adjust
4648 (rejectChange): adjust
4649 (selectNextWordToSpellcheck): adjust
4650 (changeCase): adjust
4654 * lyxfind.C (SearchForward): adjust
4655 (SearchBackward): adjust
4656 (nextChange): adjust
4658 * lyxcursor.C (par): adjust
4660 * lyxcursor.h: store a ParagraphList::iterator instead of a
4663 * lyx_cb.C (getPossibleLabel): adjust
4665 * bufferview_funcs.C (toggleAndShow): adjust
4667 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4670 * BufferView.C (removeAutoInsets): adjust
4671 (lockedInsetStoreUndo): adjust
4673 2003-04-09 John Levon <levon@movementarian.org>
4675 * ToolbarBackend.C: try icon without argument
4676 if with argument fails
4678 2003-04-08 John Levon <levon@movementarian.org>
4681 * ToolbarBackend.C: add getIcon(), handle tooltip,
4682 and change from "Icon" to "Item".
4684 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4686 * BufferView.C (lockInset): another bad getchar crunched
4688 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4690 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4693 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4695 * lyxfind.C (searchForward, searchBackwards): bug 782
4697 2003-04-07 John Levon <levon@movementarian.org>
4699 * paragraph.C: remove dead comment
4701 * text.C: remove troublesome depth-fiddling code
4702 in leftMargin() and rightMargin() (bug 1017)
4704 * text.C: fix breaking of rows in nested lists
4707 * text2.C (updateCounters): fix up depth values
4710 2003-04-07 John Levon <levon@movementarian.org>
4712 * BufferView_pimpl.C: clear message when doc finishes resizing,
4713 and after a mouse event
4715 * lyxfunc.C: clear message after exiting inset
4717 2003-04-07 John Levon <levon@movementarian.org>
4719 * bufferview_funcs.C: show math status not outside
4720 status in the statusbar
4722 2003-04-07 John Levon <levon@movementarian.org>
4724 * lyxfunc.C: note status changed after a depth change
4726 2003-04-04 Angus Leeming <leeming@lyx.org>
4728 * LaTeX.h: move AuxInfo operator==, != out of line.
4729 Remove LaTeX virtual destructor; nothing derives from it.
4730 Move operator()() out of public area and rename it startscript().
4731 Change protected for private.
4733 2003-04-04 Angus Leeming <leeming@lyx.org>
4736 * text2.C: remove unneeded #includes.
4738 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4740 * text2.C (dEPM): fix the heigth of the next row
4742 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4744 * text.C: squashed an invalid getChar requester + some ws changes
4746 2003-04-03 John Levon <levon@movementarian.org>
4748 * bufferview_funcs.h:
4749 * bufferview_funcs.C:
4752 * text2.C: make getStatus work for the env depth lfuns
4754 2003-04-03 John Levon <levon@movementarian.org>
4756 * bufferview_funcs.h:
4757 * bufferview_funcs.C:
4760 * text2.C: parlistize decDepth(), by merging it with incDepth()
4762 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4764 * lyxrow.h: store a ParagraphList::iterator instead of a
4765 Paragraph* and adjust other class functions to suit.
4767 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4770 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4772 * text2.C (setCursor): do not anchor to cursor row for the time being
4774 2003-04-02 John Levon <levon@movementarian.org>
4781 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4783 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * paragraph.h: make ParagraphList and ParagraphList::iterator
4786 friends of Paragraph.
4788 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4790 * ParagraphList.C: Use the private next_ and previous_ from
4793 2003-04-01 John Levon <levon@movementarian.org>
4797 * Makefile.am: rename, remove defaults gunk
4800 * MenuBackend.C: remove defaults gunk
4803 * Languages.C: remove defaults gunk
4806 * lyx_main.C: error out if files couldn't be found.
4808 2003-04-02 John Levon <levon@movementarian.org>
4810 * text2.C: make incDepth() use parlist
4812 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4814 * undo_funcs.C (firstUndoParagraph): adjust
4816 * text3.C (gotoInset): adjust
4817 (dispatch): adjust, and rewrite loop.
4819 * text2.C (init): adjust, and rewrite loop.
4820 (redoParagraphs): adjust
4821 (updateInset): adjust, and rewrite loop.
4822 (deleteEmptyParagraphMechanism): adjust
4824 * tabular.C (LyXTabular): adjust
4825 (SetMultiColumn): adjust
4828 * lyxtext.[Ch] (ownerParagraph): delete function
4829 (ownerParagraphs): new function returns a ParagraphList.
4831 * BufferView.C (removeAutoInsets): adjust
4832 (insertErrors): adjust
4833 (setCursorFromRow): adjust
4835 2003-04-01 Angus Leeming <leeming@lyx.org>
4837 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4840 2003-04-02 John Levon <levon@movementarian.org>
4846 * text_funcs.C: make transposeChars a free function
4848 * lyxrow_funcs.C: remove wrong comment
4850 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4853 * rowpainter.C: adjust
4858 * lyxrow_funcs. [Ch]: new files
4860 * lyxrow.[Ch]: remove next and previous pointers
4861 (next,previous): remove accessor functions
4862 (isParEnd): move to lyxrow_funcs
4863 (lastPos): move to lyxrow_funcs
4864 (nextRowIsAllInset): move to lyxrow_funcs
4865 (lastPrintablePos): move to lyxrow_funcs
4866 (numberOfSeparators): move to lyxrow_funcs
4867 (numberOfHfills): move to lyxrow_funcs
4868 (numberOfLabelHfills): move to lyxrow_funcs
4869 (hfillExpansion): move to lyxrow_funcs
4873 * bufferview_funcs.C (toggleAndShow): adjust
4875 * RowList.h: Remove class RowList from file leave just a
4878 * RowList.C: delete file
4880 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4883 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * text3.C (cursorPrevious): adjust
4886 (cursorNext): adjust
4889 * text2.C (redoHeightOfParagraph): adjust
4890 (redoDrawingOfParagraph): adjust
4893 * text.C (breakParagraph): adjust
4894 (insertChar): adjust
4897 * rowpainter.C (RowPainter): adjust
4898 (leftMargin): simplify and adjust
4899 (most rowpainter functions): adjust.
4901 * rowpainter.h: store the row as RowList::iterator not as Row*
4903 * lyxcursor.C (row): taka RowList::iterator as arg
4906 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4909 2003-04-01 Angus Leeming <leeming@lyx.org>
4911 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4912 stuff like bool Bool.
4914 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4916 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4919 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4924 * lyxtext.h (rows): drop one version and leve a const variant that
4925 returns a RowList::iterator.
4927 2003-03-31 Angus Leeming <leeming@lyx.org>
4929 * text.C (fill): ensure that the signature is the same as that in the
4932 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * text2.C (redoParagraphs): adjust
4935 (updateCounters): adjust
4936 (checkParagraph): adjust
4937 (getColumnNearX): adjust and reformat a bit.
4939 * text.C (top_y): adjust
4941 (leftMargin): adjust
4942 (prepareToPrint): adjust
4944 (getRowNearY): adjust
4946 * lyxtext.h: make rowlist_ mutable.
4948 * RowList.h: add const_iterator
4949 * RowList.C: adjust for RowList::const_iterator.
4951 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4954 2003-03-31 John Levon <levon@movementarian.org>
4957 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4959 * lyx_main.C: set default fonts from using lyx_gui funcs
4961 * exporter.C: pdf_mode moved from lyxrc
4964 * lyxfunc.C: changes from above
4966 2003-03-31 John Levon <levon@movementarian.org>
4968 * lyx_main.C: fix to the last fix
4970 2003-03-31 John Levon <levon@movementarian.org>
4972 * bufferlist.C: "Load original" -> "Load Original"
4978 * format.C: more Alert cleanups
4980 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4982 * text2.C (removeParagraph): make it take a RowList::iterator as
4984 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4985 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4987 * text.C (anchor_row): make it take a RowList::iterator as arg,
4989 (computeBidiTables): make it take a const reference to Row instead
4990 of Row pointer, adjust.
4991 (leftMargin): make it take a RowList::iterator as arg, adjust.
4992 (rowBreakPoint): adjust
4993 (breakAgainOneRow): make it take a RowList::iterator as arg,
4995 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4997 * bufferview_funcs.C (toggleAndShow): adjust
4999 2003-03-30 John Levon <levon@movementarian.org>
5003 * boost-inst.C: moved to support
5005 * several files: changes as a result
5007 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * text2.C (LyXText): adjust.
5011 (removeRow): make it take a RowList::iterator as arg, adjust.
5012 (fullRebreak): adjust
5013 (deleteEmptyParagraphMechanism): adjust
5014 (clearPaint): adjust
5017 * text.C (top_y): adjust
5018 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5019 (breakAgain): make it take a RowList::iterator as arg, adjust.
5020 (breakParagraph): adjust
5021 (insertChar): adjust
5024 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5025 need_break_row, and refresh_row.
5027 * text3.C (dispatch): adjust
5029 * text2.C (checkParagraph): adjust
5031 (setCursorFromCoordinates): adjust
5033 * text.C (top_y): adjust
5035 (getRow): make it return a RowList::iterator, adjust
5036 (getRowNearY): make it return a RowList::iterator, adjust
5038 * text2.C (init): adjust
5039 (insertRow): remove function
5040 (insertParagraph): adjust
5041 (redoParagraphs): adjust
5042 (fullRebreak): adjust
5043 (updateCounters): adjust
5045 * text.C (top_y): rewrite to use RowList iterators.
5047 (setHeightOfRow): rewrite to sue RowList iterators.
5048 (appendParagraph): adjust
5049 (breakAgain): adjust
5050 (breakAgainOneRow): adjust
5051 (breakParagraph): adjust
5053 (getRowNearY): adjust, and remove commented code.
5055 * lyxtext.h (firstRow): delete function
5056 (lastRow): delete function
5057 (rows): new function (const and non-const versions.)
5058 (insertRow): delete function
5060 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5062 2003-03-29 John Levon <levon@movementarian.org>
5064 * BufferView_pimpl.C: always update scrollbar top
5065 because pasting text when we're anchored could mean we
5066 miss an update altogether
5068 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * text2.C (init): use rowlist_.end() and not 0.
5071 (insertRow): change to take a RowList::iterator as arg, adjust
5073 (insertParagraph): change to take a RowList::iterator as arg,
5075 (redoParagraphs): remove some debug msgs.
5077 * text.C (appendParagraph): change to take a RowList::iterator
5078 arg, adjust for this.
5079 (breakAgain): add an assert
5080 (breakAgainOneRow): ditto
5082 2003-03-29 John Levon <levon@movementarian.org>
5084 * text2.C: do not clear selection after inc/decDepth
5087 2003-03-29 John Levon <levon@movementarian.org>
5090 * buffer.C: fix broken strerrors according to Lars
5092 2003-03-29 John Levon <levon@movementarian.org>
5094 * converters.C: more Alert cleanups
5096 2003-03-29 John Levon <levon@movementarian.org>
5098 * bufferview_funcs.C: remove pointless Alert
5100 * buffer.C: fix confusing error message when
5101 a template is chmoded 000
5103 2003-03-29 John Levon <levon@movementarian.org>
5107 * BufferView_pimpl.C: Alert fixes
5111 * tabular-old.C: remove unused table compat reading
5113 2003-03-29 John Levon <levon@movementarian.org>
5118 * lyx_cb.C: more Alert cleanups
5120 * lyxfunc.C: don't allow chktex if not latex document
5122 2003-03-29 John Levon <levon@movementarian.org>
5126 * buffer.C: warnings pushed down from support/,
5129 2003-03-29 John Levon <levon@movementarian.org>
5131 * lyxfunc.C: safety check for C-r (revert)
5133 2003-03-29 John Levon <levon@movementarian.org>
5136 * bufferlist.C: several UI fixes using Alert::prompt.
5137 Fix the pointless looping quit code. Fix stupid revert
5142 * lyx_cb.C: use Alert::prompt
5144 * lyx_main.C: remove a silly question
5146 * lyxfunc.C: remove a couple of silly questions,
5149 2003-03-28 John Levon <levon@movementarian.org>
5151 * text2.C: fix bug 974 (End on empty par)
5153 2003-03-28 John Levon <levon@movementarian.org>
5155 * BufferView_pimpl.C:
5157 * lfuns.h: remove do-nothing math greek lfuns
5159 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * lyxgluelength.h (isValidGlueLength): add default arg on
5162 parameter 2. Remove default arg from friend in class.
5164 * lyxlength.h (isValidLength): add default arg on parameter 2.
5165 Remove default arg from friend in class.
5167 * text2.C (LyXText): adjust, initialize refresh_row.
5171 (insertParagraph): adjst
5172 (redoParagraphs): adjust
5173 (fullRebreak): adjust
5174 (updateCounters): adjust
5175 (deleteEmptyParagraphMechanism): first attempt at fixing a
5178 * text.C (top_y): adjust
5179 (setHeightOfRow): adjust
5181 (getRowNearY): adjust
5183 * lyxtext.h: include RowList.h
5184 (~LyXText): not needed anymore, deleted.
5185 (firstRow): modify for RowList
5186 (lastRow): new function
5187 Delete firstrow and lastrow class variables, add a Rowlist
5188 rowlist_ class variable.
5190 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5193 * RowList.C (insert): fix case where it == begin().
5195 2003-03-26 Angus Leeming <leeming@lyx.org>
5197 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5198 the thesaurus dialog.
5200 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5202 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5204 * RowList.[Ch]: new files
5206 * ParagraphList.C (erase): handle the case where it == begin
5209 2003-03-25 John Levon <levon@movementarian.org>
5213 * aspell.C: add new aspell support
5216 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5219 2003-03-25 Angus Leeming <leeming@lyx.org>
5222 * LyXAction.C (init): new LFUN_INSET_INSERT.
5224 * BufferView_pimpl.C (dispatch): split out part of the
5225 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5227 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5230 2003-03-25 Angus Leeming <leeming@lyx.org>
5232 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5234 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5237 * text3.C: remove useless row->height(0)
5239 2003-03-25 John Levon <levon@movementarian.org>
5243 * text3.C: rename the refreshing stuff to better names
5245 2003-03-24 John Levon <levon@movementarian.org>
5247 * BufferView_pimpl.h:
5248 * BufferView_pimpl.C: update layout choice on a mouse
5251 2003-03-23 John Levon <levon@movementarian.org>
5253 * Makefile.am: fix commandtags.h reference
5255 2003-03-22 John Levon <levon@movementarian.org>
5257 * BufferView_pimpl.C:
5262 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5264 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5267 * text.C: take the rtl methods out of line
5269 2003-03-21 André Pönitz <poenitz@gmx.net>
5271 * metricsinfo.[Ch]: new files containing structures to be passed around
5272 during the two-phase-drawing...
5274 2003-03-21 André Pönitz <poenitz@gmx.net>
5276 * lyxtextclass.C: read 'environment' tag.
5278 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5280 * text2.C (removeRow): fix bug 964
5282 2003-03-20 John Levon <levon@movementarian.org>
5286 * text2.C: paint cleanups. Inset::update() dropped font
5289 2003-03-19 John Levon <levon@movementarian.org>
5291 * lyxfunc.C: only fitcursor/markDirty if available()
5293 2003-03-19 John Levon <levon@movementarian.org>
5295 * commandtags.h: rename to ...
5297 * lfuns.h: ... this, and renumber / cleanup
5299 2003-03-19 John Levon <levon@movementarian.org>
5301 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5302 fit the cursor after an lfun
5306 * BufferView_pimpl.h:
5307 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5309 * LyXAction.C: layout-character should have ReadOnly
5311 * ParagraphParameters.C:
5313 * bufferview_funcs.C:
5320 * undo_funcs.C: changes from above
5322 2003-03-18 John Levon <levon@movementarian.org>
5324 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5325 remove it from update()
5327 * lyxfunc.C: update layout choice after an lfun
5329 * text3.C: remove extra updateLayoutChoice()s
5331 2003-03-18 John Levon <levon@movementarian.org>
5333 * text.C: top_y change means full repaint, fix
5334 a drawing bug with cursor movement
5336 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5340 * text2.C: anchor row on setCursor
5342 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5344 * lyxtext.h: remove almost all mutable keywords
5347 * text3.C: remove const keywords accordingly
5349 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5353 (TeXEnvironment): ditto
5356 2003-03-17 John Levon <levon@movementarian.org>
5358 * text.C (rowBreakPoint): remove attempt to fix displayed
5359 math insets inside a manual label
5361 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * lyxtext.h: remove BufferView* as first arg from almost all class
5365 * other files: adjust.
5367 2003-03-17 John Levon <levon@movementarian.org>
5371 * text2.C: more paint cleanups
5373 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5376 * rowpainter.C: remove "smart" background painting code
5378 2003-03-16 John Levon <levon@movementarian.org>
5383 * text3.C: add helper functions for setting refresh_row/y
5385 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5387 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5388 newline inset which *can* get inserted in the pass_thru layouts.
5389 This is primarily for literate documents.
5391 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5393 * buffer.C: increment LYX_FORMAT to 223
5395 2003-03-14 André Pönitz <poenitz@gmx.net>
5397 * textclass.h: prepare for environment handling, ws changes
5398 * lyxlayout.C: read latexheader and latexfooter tags
5400 2003-03-14 John Levon <levon@movementarian.org>
5402 * text2.C: rewrite ::status() a bit
5404 2003-03-13 John Levon <levon@movementarian.org>
5406 * lyxtext.h: add some docs
5408 2003-03-13 John Levon <levon@movementarian.org>
5413 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5415 2003-03-13 John Levon <levon@movementarian.org>
5417 * text3.C: fix appendix redrawing
5419 2003-03-13 John Levon <levon@movementarian.org>
5421 * text.C (setHeightOfRow):
5423 * rowpainter.C: make appendix mark have the text
5424 "Appendix" so the user knows what it is
5427 * LColor.C: s/appendixline/appendix/ from above
5429 2003-03-13 John Levon <levon@movementarian.org>
5431 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5433 * text.C: fix a getChar(pos) bug properly
5435 2003-03-13 Angus Leeming <leeming@lyx.org>
5438 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5439 Probably only temporary. Let's see how things pan out.
5441 * BufferView.C (unlockInset):
5442 * BufferView_pimpl.C (fitCursor):
5443 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5445 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5446 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5448 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5449 new functions that convert ParagraphParameters to and from a string.
5451 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5452 BufferView::Pimpl's dispatch.
5453 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5455 2003-03-13 André Pönitz <poenitz@gmx.net>
5459 * factory.C: make it aware of InsetEnv
5461 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * text2.C (setCursor): never ask for one past last
5464 (setCursor): add some debugging messages.
5466 * text.C (singleWidth): never ask for one past last
5467 (singleWidth): ditto
5469 (rightMargin): ditto
5470 (rowBreakPoint): ditto
5471 (setHeightOfRow): ditto
5472 (prepareToPrint): ditto
5474 * rowpainter.C (paintBackground): never ask for one past last
5475 (paintText): never ask for one past last
5477 * paragraph_pimpl.C (getChar): make the assert stricter, never
5478 allow the one past last pos to be taken
5480 * paragraph.C (getChar): ws changes only
5482 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5483 (numberOfSeparators): ditto
5484 (numberOfHfills): ditto
5486 2003-03-12 John Levon <levon@movementarian.org>
5492 * paragraph_funcs.C: fix per-buffer authorlists
5494 2003-03-12 John Levon <levon@movementarian.org>
5496 * text.C: fix newline in right address
5498 2003-03-12 Angus Leeming <leeming@lyx.org>
5500 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5501 duplicate those in LyXFunc::dispatch.
5505 * ToolbarDefaults.C:
5506 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5507 Add LFUN_FONTFREE_UPDATE.
5509 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5510 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5512 * bufferview_func.[Ch]: several new functions to facilliate
5513 transfer of data to and from the character dialog.
5515 2003-03-12 John Levon <levon@movementarian.org>
5520 * paragraph_funcs.C:
5521 * paragraph_pimpl.C:
5525 * text3.C: remove META_NEWLINE in favour of an inset
5528 * rowpainter.C: remove paintNewline (done by inset)
5530 2003-03-12 John Levon <levon@movementarian.org>
5532 * paragraph_pimpl.C: complain about bad getChar()s
5533 for a while at least
5535 2003-03-12 John Levon <levon@movementarian.org>
5538 * buffer.C: move paragraph read into a separate function,
5539 a little renaming to reflect that.
5542 * bufferparams.C: remove the author_ids map, not necessary now
5545 * factory.C: moved Buffer::readInset to here
5547 * paragraph_funcs.h:
5548 * paragraph_funcs.C: readParagraph free function moved from
5551 * tabular.C: name change
5553 2003-03-12 John Levon <levon@movementarian.org>
5556 * ParagraphParameters.C: move par params input to
5559 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5560 behave like a normal read from the stream wrt reading
5561 a line vs. a \\token
5563 2003-03-12 John Levon <levon@movementarian.org>
5566 * ParagraphParameters.h:
5567 * ParagraphParameters.C: move output code to a
5570 2003-03-12 John Levon <levon@movementarian.org>
5572 * BufferView.C (insertLyXFile):
5575 * tabular.C: use a parlist iterator for creating the
5578 2003-03-12 John Levon <levon@movementarian.org>
5580 * buffer.C: make current_change static local not
5583 2003-03-12 John Levon <levon@movementarian.org>
5585 * buffer.C: fix insertStringAsLines for change tracking
5587 2003-03-12 John Levon <levon@movementarian.org>
5594 * bufferparams.C: move author list into params. Rename some
5595 functions. Move the header reading into a separate token
5596 loop. Move the header token reading into BufferParams.
5598 2003-03-12 John Levon <levon@movementarian.org>
5600 * changes.C: put debug inside lyxerr.debugging() checks
5602 2003-03-11 André Pönitz <poenitz@gmx.net>
5604 * factory.C: make it aware of InsetHFill
5606 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5608 * buffer.C (latexParagraphs): move function from here...
5609 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5612 2003-03-10 Angus Leeming <leeming@lyx.org>
5614 * LyXAction.C (init): fix bug in poplating array with multiple entries
5615 with the same LFUN (spotted by JMarc).
5617 2003-03-10 John Levon <levon@movementarian.org>
5620 * text2.C: move getColumnNearX() near its
5623 2003-03-10 John Levon <levon@movementarian.org>
5625 * text.C: fix break before a minipage
5627 2003-03-10 John Levon <levon@movementarian.org>
5629 * text.C: fix the last commit
5631 2003-03-09 John Levon <levon@movementarian.org>
5635 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5636 bug 365 (don't break before insets unless needed). Don't
5637 return a value > last under any circumstances.
5639 2003-03-09 Angus Leeming <leeming@lyx.org>
5641 * BufferView_pimpl.C (trackChanges, dispatch): call
5642 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5644 2003-03-09 Angus Leeming <leeming@lyx.org>
5646 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5647 than Dialogs::showAboutlyx().
5649 2003-03-09 Angus Leeming <leeming@lyx.org>
5651 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5652 than Dialogs::showTabularCreate().
5654 2003-03-09 John Levon <levon@movementarian.org>
5658 * text2.C: 3rd arg to nextBreakPoint was always the same.
5661 2003-03-08 John Levon <levon@movementarian.org>
5668 * text2.C: Remove the "main" bit from the "main body"
5671 2003-03-08 John Levon <levon@movementarian.org>
5673 * text.C (leftMargin): The left margin of an empty
5674 manual label paragraph should not include the label width
5677 * text.C (prepareToPrint): don't attempt to measure hfills
5678 for empty manual label paragraphs - the answer should be 0
5680 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * CutAndPaste.C: remove commented code and reindent.
5684 2003-03-08 John Levon <levon@movementarian.org>
5687 * lyxfunc.C: move reloadBuffer()
5690 * BufferView.C: to here
5692 * lyxvc.C: add comment
5695 * vc-backend.C: call bv->reload() to avoid
5696 getStatus() check on MENURELOAD
5698 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5700 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5701 to an old format .dep file.
5703 2003-03-07 Angus Leeming <leeming@lyx.org>
5705 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5706 when the LFUN_MOUSE_RELEASE should have been handled by
5707 inset->localDispatch.
5709 2003-03-07 Angus Leeming <leeming@lyx.org>
5711 * BufferView_pimpl.C (dispatch):
5712 * LyXAction.C (init):
5713 * ToolbarDefaults.C (init):
5715 * lyxfunc.C (getStatus):
5716 remove LFUN_INSET_GRAPHICS.
5718 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5720 2003-03-07 Angus Leeming <leeming@lyx.org>
5723 * LyXAction.C (init):
5724 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5726 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5729 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5731 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5732 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5734 2003-03-07 Angus Leeming <leeming@lyx.org>
5736 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5739 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * ParagraphList.C (front): new function
5744 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5746 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5747 and top_row_offset_. removed var first_y.
5749 * text2.C (LyXText, removeRow):
5751 * BufferView_pimpl.C:
5752 use these methods instead of using first_y
5754 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5756 * text2.C (pasteSelection): adjust for checkPastePossible
5758 * CutAndPaste.C: remove Paragraph * buf and replace with
5759 ParagraphList paragraphs.
5760 (DeleteBuffer): delete
5761 (cutSelection): change the tc type to textclass_type
5762 (copySelection): change the tc type to textclass_type
5763 (copySelection): adjust for ParagraphList
5764 (pasteSelection): change the tc type to textclass_type
5765 (pasteSelection): adjust for Paragraphlist
5766 (nrOfParagraphs): simplify for ParagraphList
5767 (checkPastePossible): simplify for ParagraphList
5768 (checkPastePossible): remove unused arg
5770 * ParagraphList.C (insert): handle the case where there are no
5773 * CutAndPaste.h: make CutAndPaste a namespace.
5775 * text3.C (dispatch): adjust
5777 * text.C (breakParagraph): add a ParagraphList as arg
5779 * paragraph_funcs.C (breakParagraph): change to take a
5780 BufferParams and a ParagraphList as args.
5781 (breakParagraphConservative): ditto
5782 (mergeParagraph): ditto
5783 (TeXDeeper): add a ParagraphList arg
5784 (TeXEnvironment): ditto
5787 * buffer.C (readLyXformat2): adjust
5788 (insertStringAsLines): adjust
5789 (latexParagraphs): adjust
5791 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5792 (cutSelection): adjust
5793 (pasteSelection): adjust
5795 * BufferView_pimpl.C (insertInset): adjust
5797 2003-03-05 Angus Leeming <leeming@lyx.org>
5800 * LyXAction.C (init):
5801 * BufferView_pimpl.C (dispatch):
5802 * lyxfunc.C (getStatus):
5803 remove LFUN_CHILD_INSERT.
5805 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5807 2003-03-05 Angus Leeming <leeming@lyx.org>
5810 * LyXAction.C (init):
5811 * src/factory.C (createInset):
5812 * lyxfunc.C (getStatus):
5813 * text3.C (dispatch):
5814 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5816 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5818 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5820 * ParagraphList.C (insert): handle insert right before end()
5821 (erase): fix cases where it can be first or last paragraph.
5823 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5825 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5826 Paragraph::next and Paragraph::previous
5829 * text.C (breakParagraph): adjust
5831 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5832 BufferParams& as arg.
5833 (breakParagraph): use ParagraphList::insert
5834 (breakParagraphConservative): take a Buffer* instead of a
5835 BufferParams& as arg.
5836 (breakParagraphConservative): use ParagraphList::insert.
5838 * buffer.C (insertStringAsLines): un-const it
5839 (insertStringAsLines): adjust
5841 * ParagraphList.C (insert): new function
5843 * CutAndPaste.C (pasteSelection): adjust
5845 * text.C (backspace): adjust
5847 * tabular.C (SetMultiColumn): adjust
5849 * CutAndPaste.C (cutSelection): adjust
5850 (pasteSelection): adjust
5852 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5853 Buffer const * as arg
5855 * ParagraphList.C (erase): new function
5856 * paragraph_funcs.C (mergeParagraph): use it
5857 (mergeParagraph): make it take a Buffer* instead of a
5858 BufferParams* as arg
5860 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5862 (breakParagraphConservative): ditto
5864 * paragraph.h: remove the breakParagraph friend
5866 * paragraph.C (eraseIntern): new function
5867 (setChange): new function
5869 * paragraph_funcs.C (mergeParagraph): make it take a
5870 ParagraphList::iterator instead of a Paragraph *, adjust
5873 * paragraph.h: move an #endif so that the change tracking stuff
5874 also works in the NO_NEXT case.
5876 2003-03-04 Angus Leeming <leeming@lyx.org>
5879 * LyXAction.C: new LFUN_INSET_MODIFY.
5881 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5882 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5884 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * several files: ws changes only
5888 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5889 (TeXEnvironment): ditto
5892 * buffer.C (makeLaTeXFile): adjust
5893 (latexParagraphs): make it take ParagraphList::iterator as args
5895 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * buffer.C (latexParagraphs): adjust
5899 * paragraph.C (TeXOnePar): move function...
5900 (optArgInset): move function...
5901 (TeXEnvironment): move function...
5902 * paragraph_pimpl.C (TeXDeeper): move function...
5903 * paragraph_funcs.C: ...here
5905 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5907 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * buffer.C (readInset): remove compability code for old Figure and
5912 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * buffer.C: ws changes
5917 * BufferView_pimpl.C: ditto
5920 * bufferlist.h: ditto
5924 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5926 * converter.[Ch]: split into itself +
5929 * Makefile.am: += graph.[Ch] + format.[Ch]
5936 * lyxrc.C: added #include "format.h"
5938 2003-02-27 Angus Leeming <leeming@lyx.org>
5940 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5943 * factory.C (createInset): add "label" to the factory.
5945 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5946 string and do no more.
5948 2003-02-27 Angus Leeming <leeming@lyx.org>
5951 * LyXAction.C (init):
5952 * factory.C (createInset):
5953 * BufferView_pimpl.C (dispatch):
5954 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5956 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5958 * lyxfunc.C (dispatch):
5959 * text3.C (dispatch): pass name to params2string.
5961 2003-02-26 Angus Leeming <leeming@lyx.org>
5963 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5965 Rearrange the ~includes. Strip out the unnecessary ones.
5967 * factory.C (createInset): reformat.
5968 create new insets for the various LFUN_XYZ_APPLY lfuns.
5970 2003-02-26 John Levon <levon@movementarian.org>
5973 * lyxrow.C: add isParStart,isParEnd helpers
5975 * paragraph.h: make isInserted/DeletedText take refs
5977 * paragraph_funcs.h:
5978 * paragraph_funcs.C: remove #if 0'd code
5983 * text.C: use lyxrow helpers above.
5984 Move draw and paint routines to RowPainter.
5985 Make several methods use refs not pointers.
5986 Make backgroundColor() const.
5987 Add markChangeInDraw(), isInInset().
5988 Merge changeRegionCase into changeCase.
5989 Make workWidth() shouldn't-happen code into an Assert.
5992 * rowpainter.C: new class for painting a row.
5995 * vspace.C: make inPixels take a ref
5997 2003-02-26 Angus Leeming <leeming@lyx.org>
5999 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6002 2003-02-25 John Levon <levon@movementarian.org>
6004 * ispell.C: give the forked command a more accurate name
6006 2003-02-22 John Levon <levon@movementarian.org>
6009 * toc.C: make TocItem store an id not a Paragraph *
6012 2003-02-21 Angus Leeming <leeming@lyx.org>
6014 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6015 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6016 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6017 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6018 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6019 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6021 * BufferView_pimpl.C (dispatch):
6022 * LyXAction.C (init):
6023 * factory.C (createInset):
6024 * lyxfunc.C (getStatus, dispatch):
6025 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6027 2003-02-21 Angus Leeming <leeming@lyx.org>
6029 * BufferView_pimpl.C (MenuInsertLyXFile):
6030 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6031 * lyxfunc.C (menuNew, open, doImport):
6032 no longer pass a LyXView & to fileDlg.
6034 2003-02-21 Angus Leeming <leeming@lyx.org>
6036 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6037 * LyXAction.C: change, BIBKEY to BIBITEM.
6038 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6039 Change InsetBibKey to InsetBibitem.
6040 Change BIBKEY_CODE to BIBITEM_CODE.
6041 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6042 * factory.C: replace insetbib.h with insetbibitem.h.
6043 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6044 * paragraph.C: replace insetbib.h with insetbibitem.h.
6045 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6046 Change bibkey() to bibitem().
6047 * text.C: remove insetbib.h.
6048 * text2.C: replace insetbib.h with insetbibitem.h.
6049 change bibkey() to bibitem().
6050 * text3.C: remove insetbib.h.
6051 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6053 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6055 * lyxrc.C (output): enclose user email in quotes (in case there are
6058 2003-02-18 John Levon <levon@movementarian.org>
6060 * buffer.h: add std::
6062 2003-02-17 John Levon <levon@movementarian.org>
6068 * pspell.C: reworking. Especially in ispell, a large
6069 number of clean ups and bug fixes.
6071 * lyxfunc.C: fix revert to behave sensibly
6073 2003-02-17 André Pönitz <poenitz@gmx.net>
6076 * commandtags.h: new LFUN_INSERT_BIBKEY
6086 * paragraph_func.C: remove special bibkey handling
6088 2003-02-17 John Levon <levon@movementarian.org>
6090 * text.C (Delete): fix case where delete at the end of
6091 the very first paragraph would not merge the pars
6093 2003-02-17 John Levon <levon@movementarian.org>
6095 * lyxrow.C: fix lastPrintablePos()
6097 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6099 * bufferparams.C (writeLaTeX): add a std:here
6101 * buffer.C: and remove a using directive there
6103 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6105 * buffer.C (makeLaTeXFile): move the code that generates the
6108 * bufferparams.C (writeLaTeX): ... in this new method
6110 * LaTeXFeatures.C (getEncodingSet): make const
6111 (getLanguages): make const
6113 * MenuBackend.C (binding): returns the binding associated to this
6115 (add): sets the status of each item by calling getStatus. Adds
6117 (read): add support for OptSubMenu
6118 (expand): remove extra separator at the end of expanded menu
6120 2003-02-15 John Levon <levon@movementarian.org>
6123 * BufferView_pimpl.C:
6125 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6126 inset code that had no actual effect. Remove unneeded status
6129 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6131 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6134 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6136 * text.C (drawLengthMarker): also draw an arrow marker for
6137 symbolic lengths (medskip...)
6139 2003-02-14 John Levon <levon@movementarian.org>
6142 * tabular.C: better method names
6144 2003-02-14 John Levon <levon@movementarian.org>
6146 * BufferView_pimpl.C:
6151 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6152 it's a more accurate name. Remove some pointless uses.
6154 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6156 * text2.C (LyXText): change order of initilizers to shut off
6159 2003-02-14 John Levon <levon@movementarian.org>
6161 * buffer.C: use ParIterator for getParFromID()
6165 * paragraph_pimpl.h:
6166 * paragraph_pimpl.C: remove unused getParFromID()
6168 2003-02-14 John Levon <levon@movementarian.org>
6170 * buffer.C: remove some very old #if 0'd parse code
6172 2003-02-13 John Levon <levon@movementarian.org>
6176 * text2.C: move hfillExpansion(), numberOfSeparators(),
6177 rowLast(), rowLastPrintable(), numberofHfills(),
6178 numberOfLabelHfills() ...
6181 * lyxrow.C: ... to member functions here.
6186 * text.C: remove LyXText::beginningOfMainBody(), and call
6187 p->beginningOfMainBody() directly. Move the check for
6188 LABEL_MANUAL into the latter.
6195 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6201 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6202 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6204 2003-02-13 John Levon <levon@movementarian.org>
6206 * CutAndPaste.C: remove debug
6208 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6210 * paragraph.C (asString): remove two unused variables
6212 * lyxtextclass.C (readTitleType):
6214 (LyXTextClass): handle new members titletype_ and titlename_
6216 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6218 2003-02-09 John Levon <levon@movementarian.org>
6221 * buffer.C: replace hand-coded list with a map for the dep clean
6223 2003-02-08 John Levon <levon@movementarian.org>
6225 * LaTeX.C: consolidate code into showRunMessage() helper
6227 2003-02-08 John Levon <levon@movementarian.org>
6232 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6233 and pass the size in explicitly
6235 * BufferView_pimpl.h:
6236 * BufferView_pimpl.C:
6238 * BufferView.C: add getCurrentChange()
6240 * BufferView_pimpl.h:
6241 * BufferView_pimpl.C: handle change lfuns
6243 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6244 for changes. Mark pasted paragraphs as new.
6246 * support/lyxtime.h:
6247 * support/lyxtime.C:
6248 * DepTable.C: abstract time_t as lyx::time_type
6251 * LColor.C: add colours for new text, deleted text, changebars
6253 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6254 package use "usenames" option.
6258 * LyXAction.C: add change lfuns
6262 * author.C: author handling
6265 * buffer.C: add a per-buffer author list, with first entry as
6266 current author. Handle new .lyx tokens for change tracking. Output
6267 author list to .lyx file. Output dvipost stuff to .tex preamble.
6268 Bump lyx format to 222.
6271 * bufferlist.C: add setCurrentAuthor() to reset current author details
6275 * bufferparams.C: add param for tracking
6277 * bufferview_funcs.C: output change info in minibuffer
6281 * changes.C: add change-tracking structure
6284 * debug.C: add CHANGES debug flag
6287 * lyxfind.C: add code for finding the next change piece
6290 * lyxrc.C: add user_name and user_email
6293 * lyxrow.C: add a metric for the top of the text line
6296 * text.C: implement accept/rejectChange()
6299 * text.C: paint changebars. Paint new/deleted text in the chosen
6300 colours. Strike through deleted text.
6304 * paragraph_pimpl.h:
6305 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6306 in the current change to the insert functions. Rework erase to
6307 mark text as deleted, adding an eraseIntern() and a range-based
6308 erase(). Implement per-paragraph change lookup and
6311 * paragraph_funcs.C: Fixup paste for change tracking.
6313 * tabular.C: mark added row/columns as new.
6315 * text.C: fix rowLast() to never return -1. Don't allow
6316 spellchecking of deleted text. Track transpose changes. Don't
6317 allow paragraph break or merge where appropriate.
6319 * text2.C: leave cursor at end of selection after a cut.
6321 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6323 * text.C (getLengthMarkerHeight):
6324 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6325 visible on screen too.
6327 2003-02-07 John Levon <levon@movementarian.org>
6329 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6331 2003-02-05 Angus Leeming <leeming@lyx.org>
6333 * lyxserver.C (read_ready): revert my patch of 11 September last year
6334 as it sends PC cpu through the roof. Presumably this means that
6335 the lyxserver will no longer run on an Alpha...
6337 2003-01-30 Angus Leeming <leeming@lyx.org>
6339 * factory.C (createInset): create an InsetCommandParam of type "index"
6340 and use it to 'do the right thing'.
6342 * text2.C (getStringToIndex): ensure that cursor position is always
6343 reset to the reset_cursor position.
6345 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6347 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6350 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6354 * lyxfunc.C: Output messages with identical spelling, punctuation,
6357 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6359 * MenuBackend.C (expandFormats): List only viewable export formats
6362 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6365 * lyxfunc.C (getStatus): Make sure that formats other than
6366 "fax" can also be disabled
6368 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6370 * text3.C (dispatch): put the lfuns that insert insets in 3
6371 groups, and call doInsertInset with appropriate arguments.
6372 (doInsertInset): new function, that creates an inset and inserts
6373 it according to some boolean parameters.
6375 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * buffer.C (readFile): remember to pass on 'par' when calling
6378 readFile recursively.
6380 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6382 * MenuBackend.C (expandFormats): add "..." to import formats.
6384 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6386 * paragraph.C (asString): Remove XForms RTL hacks.
6388 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6389 * buffer.C: fix typo
6391 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * Makefile.am (LIBS): delete var
6394 (lyx_LDADD): add @LIBS@ here instead.
6396 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6398 * Clarify the meaning of "wheel mouse jump"
6400 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6402 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6405 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6407 * importer.C (Loaders): do not preallocate 3 elements in the
6408 vector, since one ends up with 6 elements otherwise
6410 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6412 * DepTable.C (write): write the file name as last element of the
6413 .dep file (because it may contain spaces)
6414 (read): read info in the right order
6416 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * paragraph_pimpl.C (simpleTeXBlanks):
6419 (simpleTeXSpecialChars):
6420 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6422 * tabular.C (latex): add some missing case statements. Reindent.
6424 * MenuBackend.C (expandToc): remove unused variable.
6426 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6435 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6438 2003-01-05 John Levon <levon@movementarian.org>
6441 * BufferView.C: add getEncoding()
6444 * kbsequence.C: do not store last keypress
6447 * lyxfunc.C: store last keypress here instead. Pass encoding
6450 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6452 * lyx_main.C (init): remove annoying error message when following
6453 symbolic links (bug #780)
6455 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6457 * text.C (insertChar):
6458 * lyxrc.C (getDescription): remove extra spaces
6460 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6462 * lyxrc.C (getDescription): remove extra spaces
6464 2002-12-20 John Levon <levon@movementarian.org>
6466 * text3.C: hack fix for page up/down across tall rows
6468 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6470 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6473 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6475 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6476 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6477 thesaurus is not compiled in
6479 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6481 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6483 2002-12-16 Angus Leeming <leeming@lyx.org>
6486 * lyx_main.C (init): remove override_x_deadkeys stuff.
6488 2002-12-12 John Levon <levon@movementarian.org>
6490 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6491 insert. Only remove shift modifier under strict
6494 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6496 * MenuBackend.C (expandToc): fix crash.
6498 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6500 * MenuBackend.C (expandToc): gettext on float names.
6502 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6504 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6505 implement bool empty() [bug 490]
6507 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6511 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * several files: ws changes
6515 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * text2.C (setCounter): clean up a bit, use boost.format.
6518 (updateCounters): initialize par upon declaration.
6520 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6521 if the layout exists. We do not just store the layout any more.
6522 (SwitchLayoutsBetweenClasses): use boost.format
6524 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6526 * converter.C (convert): if from and to files are the same, use a
6527 temporary files as intermediary
6529 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6532 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6534 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6536 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6538 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6540 * tabular.C (asciiPrintCell): use string(size, char) instead of
6543 * sgml.C (openTag): fix order of arguments to string constructor
6546 * lyxfunc.C (dispatch): use boost.format
6548 * lots of files: change "c" -> 'c'
6550 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6552 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6554 2002-11-25 Angus Leeming <leeming@lyx.org>
6556 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6558 * lyx_main.C (init): compile fix.
6560 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6562 * lyx_cb.C (start): boost.formatify
6563 do not include <iostream>
6565 * lengthcommon.C: ws only
6567 * boost-inst.C,BoostFormat.h: add more explict instantations
6569 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * lots of files: handle USE_BOOST_FORMAT
6573 2002-11-21 John Levon <levon@movementarian.org>
6575 * pspell.C: fix compile
6577 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6579 * lyxfunc.C (dispatch): use boost::format
6583 * lyxfont.C (stateText): use boost::format
6585 * lyx_main.C (LyX): use boost::format
6587 (queryUserLyXDir): ditto
6590 (typedef boost::function): use the recommened syntax.
6592 * importer.C (Import): use boost::format
6594 * debug.C (showLevel): use boost::format
6596 * converter.C (view): use boost::format
6601 * bufferview_funcs.C (currentState): use boost::format
6603 * bufferlist.C (emergencyWrite): use boost::format
6605 * buffer.C (readLyXformat2): use boost::format
6606 (parseSingleLyXformat2Token): ditto
6608 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6610 * LaTeX.C (run): use boost::format
6612 * Chktex.C (scanLogFile): use boost::format
6614 * BufferView_pimpl.C (savePosition): use boost::format
6615 (restorePosition): ditto
6616 (MenuInsertLyXFile): ditto
6618 * BoostFormat.h: help file for explicit instation.
6620 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6622 * tabular.C (latex): Support for block alignment in fixed width
6625 2002-11-17 John Levon <levon@movementarian.org>
6627 * BufferView_pimpl.C:
6629 * lyxfunc.C: split filedialog into open/save
6631 2002-11-08 Juergen Vigna <jug@sad.it>
6633 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6634 by my last patch (hopefully).
6636 2002-11-08 John Levon <levon@movementarian.org>
6645 * toc.C: ParConstIterator, and use it (from Lars)
6647 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6649 * lyxtextclass.[Ch]: revise and add doxygen comments
6651 2002-11-07 John Levon <levon@movementarian.org>
6653 * text.C: fix progress value for spellchecker
6655 * toc.C: fix navigate menu for insetwrap inside minipage
6657 * paragraph_funcs.C: added FIXME for suspect code
6659 2002-11-07 John Levon <levon@movementarian.org>
6661 * BufferView_pimpl.C: fix redrawing of insets
6664 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6666 * text2.C (updateCounters): fix bug 668
6668 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6670 * text3.C (dispatch): Do not make the buffer dirty when moving the
6673 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * vc-backend.C: STRCONV
6678 * text2.C (setCounter): STRCONV
6680 * paragraph.C (asString): STRCONV
6682 * lyxlength.C (asString): STRCONV
6683 (asLatexString): ditto
6685 * lyxgluelength.C (asString): STRCONV
6686 (asLatexString): ditto
6688 * lyxfunc.C (dispatch): STRCONV
6691 * lyxfont.C (stateText): STRCONV
6693 * importer.C (Import): STRCONV
6695 * counters.C (labelItem): STRCONV
6696 (numberLabel): ditto
6697 (numberLabel): remove unused ostringstream o
6702 * bufferview_funcs.C (currentState): STRCONV
6704 * buffer.C (readFile): STRCONV
6705 (asciiParagraph): ditto
6706 (makeLaTeXFile): ditto
6708 * Spacing.C (writeEnvirBegin): STRCONV
6710 * LaTeXFeatures.C (getLanguages): STRCONV
6711 (getPackages): ditto
6713 (getBabelOptions): ditto
6714 (getTClassPreamble): ditto
6715 (getLyXSGMLEntities): ditto
6716 (getIncludedFiles): ditto
6720 (scanAuxFile): ditto
6723 * LString.h: add the STRCONV macros
6725 * BufferView_pimpl.C (savePosition): STRCONV
6726 (restorePosition): ditto
6727 (MenuInsertLyXFile): ditto
6729 * vc-backend.C (scanMaster): change from submatch[...] to
6732 * funcrequest.C: include config.h
6734 * factory.C: include config.h
6736 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6738 * box.C: include config.h
6740 * LaTeX.C (scanAuxFile): change from submatch[...] to
6744 2002-10-25 Angus Leeming <leeming@lyx.org>
6746 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6748 * ispell.[Ch] (setError): new method.
6749 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6750 Use setError() insetead of goto END.
6752 * lyx_cb.C (AutoSave): move out child process into new class
6755 2002-10-30 John Levon <levon@movementarian.org>
6757 * text3.C: make start appendix undoable
6759 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6761 * lyxlength.C (inPixels): Fix returned value.
6763 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6766 2002-10-24 Angus Leeming <leeming@lyx.org>
6768 * lyxgluelength.h: no need to forward declare BufferParams
6769 or BufferView, so don't.
6771 2002-10-21 John Levon <levon@movementarian.org>
6773 * BufferView.C: menuUndo ->undo, redo
6775 * BufferView.h: document, remove dead, make some methods private
6777 * paragraph_funcs.h:
6778 * paragraph_funcs.C:
6779 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6784 * sgml.C: move sgml open/close tag into sgml.C
6786 * bufferview_funcs.h: unused prototype
6789 * lyxfunc.C: remove unused
6792 * text.C: remove unused
6794 2002-10-21 John Levon <levon@movementarian.org>
6798 * BufferView_pimpl.h:
6799 * BufferView_pimpl.C: fix mouse wheel handling based on
6800 patch from Darren Freeman
6802 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6804 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6806 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6808 * lyxlength.C (inPixels): Fix hanfling of negative length.
6809 Fix LyXLength::MU case.
6811 2002-10-16 John Levon <levon@movementarian.org>
6813 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6815 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6817 * converter.C (view): add support for $$i (file name) and $$p
6818 (file path) for the viewer command. If $$i is not specified, then
6819 it is appended to the command (for compatibility with old syntax)
6821 2002-10-14 Juergen Vigna <jug@sad.it>
6823 * undo_funcs.C (textHandleUndo): alter the order in which the
6824 new undopar is added to the LyXText, as we have to set first
6825 the right prev/next and then add it as otherwise the rebuild of
6826 LyXText is not correct. Also reset the cursor to the right paragraph,
6827 with this IMO we could remove the hack in "redoParagraphs()".
6829 2002-10-09 Angus Leeming <leeming@lyx.org>
6831 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6832 to turn off an optimisation if a new inset is to be inserted.
6834 2002-10-11 André Pönitz <poenitz@gmx.net>
6836 * lyxtext.h: make some functions public to allow access
6837 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6839 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6841 * text3.C (dispatch): when changing layout, avoid an infinite loop
6844 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6846 * lyxrc.C (read): treat a viewer or converter command of "none" as
6849 * MenuBackend.C (expandFormats): for an update, also allow the
6850 formats that are not viewable
6852 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6853 script if it is newer than the lyxrc.defaults in user directory
6855 2002-10-07 André Pönitz <poenitz@gmx.net>
6857 * text.C: Vitaly Lipatov's small i18n fix
6859 2002-09-25 Angus Leeming <leeming@lyx.org>
6861 * ispell.h: doxygen fix.
6863 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6865 * buffer.h (readFile): Add a new argument to the method, to allow
6866 reading of old-format templates.
6868 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6870 * toc.C (getTocList): Get TOC from InsetWrap.
6872 2002-09-16 John Levon <levon@movementarian.org>
6874 * lyxfunc.C: check tabular for cut/copy too
6876 2002-09-12 John Levon <levon@movementarian.org>
6881 * factory.C: add header
6883 * paragraph_funcs.h:
6884 * paragraph_funcs.C: cleanup
6886 2002-09-11 John Levon <levon@movementarian.org>
6888 * PrinterParams.h: odd/even default to true
6890 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6892 * PrinterParams.h: update printer parameters for new xforms dialog
6894 2002-09-11 Angus Leeming <leeming@lyx.org>
6896 * lyxserver.C (read_ready): re-write to make it more transparent
6897 and to make it work in coherent fashion under Tru64 Unix.
6899 2002-09-11 André Pönitz <poenitz@gmx.net>
6903 * text3.C: implement LFUN_WORDSEL
6905 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6908 make floatlist_ a boost::shared_ptr<FloatList>
6910 * lyxtextclass.C: include FloatList.h
6911 (LyXTextClass): initialize floatlist_
6912 (TextClassTags): add TC_NOFLOAT
6913 (Read): match "nofloat" to TC_NOFLOAT and use it.
6914 (readFloat): modify call to floatlist_
6918 * FloatList.[Ch] (FloatList): remove commented out float
6920 (erase): new function
6922 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6924 * MenuBackend.C (expandToc): fix crash when there is no document
6927 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6929 * many files: Add insetwrap.
6931 2002-09-09 John Levon <levon@movementarian.org>
6933 * text2.C: remove confusing and awkward depth wraparound
6935 2002-09-09 John Levon <levon@movementarian.org>
6937 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6940 * buffer.C: remove getIncludeonlyList()
6943 * lyxfunc.C: remove headers
6945 2002-09-09 Juergen Vigna <jug@sad.it>
6947 * text.C (getColumnNearX): fix form Michael this is most
6948 probably a cut&paste bug.
6950 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6952 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6954 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6955 references, ws changes.
6957 * text2.C (init): update counters after init
6958 (insertParagraph): no need to set counter on idividual paragraphs.
6959 (setCounter): access the counters object in the textclass object
6960 on in the buffer object.
6961 (updateCounters): ditto
6963 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6964 shared_ptr<Counters> to avoid loading counters.h in all
6966 (LyXTextClass): initialize ctrs_
6967 (TextClassTags): add TC_COUNTER, and ...
6968 (Read): use it here.
6969 (CounterTags): new tags
6970 (readCounter): new function
6971 (counters): new funtion
6972 (defaultLayoutName): return a const reference
6974 * counters.C (Counters): remove contructor
6975 (newCounter): remove a couple of unneeded statements.
6976 (newCounter): simplify a bit.
6977 (numberLabel): some small formatting changes.
6979 * buffer.[Ch]: remove all traces of counters, move the Counters
6980 object to the LyXTextClass.
6982 2002-09-06 Alain Castera <castera@in2p3.fr>
6984 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6985 package to set the horizontal alignment on fixed width columns.
6988 * lyx_sty.h: added tabularnewline macro def.
6990 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6992 2002-09-06 John Levon <levon@movementarian.org>
6994 * LyXAction.C: tooltips for sub/superscript
6996 * MenuBackend.C: a bit more verbose
6998 * lyxfunc.C: tiny clean
7000 * undo_funcs.C: document undo_frozen
7002 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7004 * counters.C (Counters): add missing algorithm counter.
7006 * text2.C (setCounter): lookup the counter with layouts latexname
7007 instead of by section number.
7008 (setCounter): use a hackish way to lookup the correct enum
7010 a float name->type change
7011 reset enum couners with counter name directly instead of depth value.
7013 * counters.C (Counters): remove the push_backs, change to use the
7014 float type not the float name.
7015 (labelItem): remove unused string, float name->type change
7017 * counters.h: don't include vector, loose the enums and sects vectors
7019 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7021 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7022 (Read): add float->TC_FLOAT to textclassTags
7023 (Read): and handle it in the switch
7024 (readFloat): new function
7026 * FloatList.C (FloatList): comment out the hardcoded float
7029 * lyxlayout.h: ws change.
7031 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7033 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7035 2002-09-03 Angus Leeming <leeming@lyx.org>
7037 * BufferView_pimpl.h: qualified name is not allowed in member
7038 declaration: WorkArea & Pimpl::workarea() const;
7040 * factory.C: added using std::endl directive.
7042 * text3.C: added using std::find and std::vector directives.
7044 2002-08-29 André Pönitz <poenitz@gmx.net>
7047 * text2.C: remove unused member number_of_rows
7050 * BufferView2.C: remove file, move contents to...
7051 * BufferView.C: ... here
7053 * BufferView_pimpl.C:
7054 * factory.C: move more inset creation to factory
7056 * vspace.C: avoid direct usage of LyXText, ws changes
7059 don't provide direct access to WorkArea, use two simple
7060 acessors haveSelction() and workHeight() instead
7063 2002-08-29 John Levon <levon@movementarian.org>
7065 * BufferView_pimpl.C (dispatch): do not continue when
7068 2002-08-28 André Pönitz <poenitz@gmx.net>
7070 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7073 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7075 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7077 * buffer.C: increment LYX_FORMAT to 221
7079 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7080 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7082 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7084 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7086 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7088 * factory.C (createInset): use LyXTextClass::floats
7090 * MenuBackend.C (expandFloatListInsert):
7091 (expandFloatInsert):
7094 * text2.C (setCounter):
7096 * LaTeXFeatures.C (useFloat):
7097 (getFloatDefinitions):
7099 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7101 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7102 floatlist_, with accessor floats().
7104 * FloatList.h: remove global FloatList
7106 2002-08-26 André Pönitz <poenitz@gmx.net>
7108 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7112 * BufferView_pimpl.C:
7113 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7115 2002-08-25 John Levon <levon@movementarian.org>
7117 * LyXAction.C: fix margin note description
7119 2002-08-24 John Levon <levon@movementarian.org>
7123 * bufferview_funcs.C:
7125 * undo_funcs.C: cleanups
7127 * lyxfunc.C: disable CUT/COPY when no selection
7129 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7131 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7132 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7134 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7135 Add backward compatibility to "mono", "gray" and "no".
7137 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7139 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7140 (and file_format >= 200).
7142 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7144 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7146 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7148 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7150 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7152 * BufferView_pimpl.C:
7159 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7160 inset and code to make it work with the paragraph code. The inset
7161 can be anywhere in the paragraph, but will only do the expected
7162 thing in LaTeX if the layout file contains the parameter line
7164 (or more generally, a nonzero value) for that layout.
7166 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * paragraph.h: remove the declaration of undefined counters class
7171 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7173 * text2.C (setCounter): fixed enumeration mis-count as reported by
7174 Dr. Richard Hawkins.
7176 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * paragraph_funcs.h: remove some unneeded includes
7180 * text.C (backspace): pasteParagraph now in global scipe
7182 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7183 (pasteSelection): ditto
7185 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7186 * paragraph_funcs.C (pasteParagraph): ... here
7188 2002-08-20 André Pönitz <poenitz@gmx.net>
7190 * commandtags.h: new LFUNs for swapping/copying table row/colums
7193 * lyxfunc.C: support for new lfuns
7195 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * buffer.[Ch]: remove NO_COMPABILITY stuff
7200 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7202 * boost.C (throw_exception): new file, with helper function for
7203 boost compiled without exceptions.
7208 * ParameterStruct.h:
7209 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7211 * bufferlist.C (emergencyWriteAll): use boost bind
7213 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7215 * text.C: include paragraph_funcs.h
7216 (breakParagraph): breakParagraph is now in global scope
7218 * paragraph_funcs.[Ch]: new files
7220 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7223 * buffer.C: include paragraph_funcs.h
7224 (insertStringAsLines): breakParagraph is now in global scope
7226 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7229 * CutAndPaste.C: include paragraph_funcs.h
7230 (cutSelection): breakParagraphConservative is now in global scope
7231 (pasteSelection): ditto
7233 * buffer.h: declare oprator== and operator!= for
7234 Buffer::inset_iterator
7236 * bufferlist.C (emergencyWrite): don't use fmt(...)
7238 * text3.C: add using std::endl
7240 * BufferView.C (moveCursorUpdate): remove default arg
7242 2002-08-20 André Pönitz <poenitz@gmx.net>
7244 * buffer.[Ch]: move inline functions to .C
7247 * BufferView_pimpl.C:
7249 * buffer.[Ch]: use improved inset_iterator
7252 * paragraph.[Ch]: write one paragraph at a time
7254 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7256 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7257 style if style is not specified.
7259 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7261 * text2.C (setCounter): when searching for right label for a
7262 caption, make sure to recurse to parent insets (so that a caption
7263 in a minipage in a figure float works) (bug #568)
7265 2002-08-20 André Pönitz <poenitz@gmx.net>
7267 * text3.C: new file for LyXText::dispatch() and helpers
7269 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7271 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7273 2002-08-19 André Pönitz <poenitz@gmx.net>
7276 * text.C: new LyXText::dispatch()
7278 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7280 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7282 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7284 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7287 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7289 * Makefile.am: use $(variables) instead of @substitutions@
7291 2002-08-15 André Pönitz <poenitz@gmx.net>
7294 * BufferView_pimpl.C: streamlining mathed <-> outer world
7298 * LyXAction.C: remove unused LFUN_MATH
7300 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7304 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * paragraph.C (Paragraph): reformat a bit
7307 (cutIntoMinibuffer): use builtin InsetList function instad of
7311 * buffer.C: include boost/bind.hpp, add using std::for_each
7312 (writeFileAscii): use ParagraphList iterators
7313 (validate): use for_each for validate traversal of paragraphs
7314 (getBibkeyList): use ParagraphList iterators
7315 (resizeInsets): use for_each to resizeInsetsLyXText for all
7317 (getParFromID): use ParagraphList iterators
7319 * BufferView2.C (lockInset): use paragraph list and iterators
7321 2002-08-14 John Levon <levon@movementarian.org>
7323 * lyxserver.C: remove spurious xforms include
7325 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7327 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7329 2002-08-13 André Pönitz <poenitz@gmx.net>
7332 * lyxfunc.C: further cleaning
7334 2002-08-13 André Pönitz <poenitz@gmx.net>
7336 * funcrequest.h: new constructor
7338 * funcrequest.C: move stuff here from .h
7341 * BufferView_pimpl.C:
7344 * lyxfunc.C: subsequent changes
7346 * lyxfunc.h: new view() member function
7348 * lyxfunc.C: subsequent changes
7350 2002-08-13 Angus Leeming <leeming@lyx.org>
7353 * BufferView_pimpl.C:
7361 changes due to the changed LyXView interface that now returns references
7362 to member variables not pointers.
7364 2002-08-13 Angus Leeming <leeming@lyx.org>
7366 * WordLangTuple (word, lang_code): return references to strings,
7371 * lyxtext.h: forward-declare WordLangTuple.
7376 * text.C: #include "WordLangTuple.h".
7379 * text.C: (selectNextWordToSpellcheck): constify return type.
7381 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7387 * paragraph_pimpl.h:
7390 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7392 Made updateCounter always count from start of buffer, and removed
7393 second argument (par).
7394 Reverted floats number display to '#'. Perhaps I'll try again when the
7395 code base is sanitized a bit.
7397 2002-08-12 Angus Leeming <leeming@lyx.org>
7399 * buffer.[Ch] (getLabelList): constify.
7401 2002-08-07 André Pönitz <poenitz@gmx.net>
7403 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7405 * funcrequest.h: extension to keep mouse (x,y) position
7407 2002-08-12 Juergen Vigna <jug@sad.it>
7409 * BufferView2.C (insertErrors): forbid undo when inserting error
7412 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7414 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * ParagraphList.[Ch]: new files
7418 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7420 * BufferView2.C (lockInset): ParagraphList changes
7423 * bufferlist.C: ditto
7427 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7430 unused class variable counter_,
7432 * paragraph.[Ch] (getFirstCounter): delete unused function
7434 * counters.C: include LAssert.h
7435 (reset): add a new function with no arg, change other version to
7436 not have def. arg and to not allow empty arg.
7438 * text2.C (setCounter): remove empty arg from call to Counters::reset
7440 2002-08-11 John Levon <levon@movementarian.org>
7442 * Makefile.am: add WordLangTuple.h
7444 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7447 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7449 * insets/insettext.C: InsetList changes
7451 * graphics/GraphicsSupport.C (operator()): InsetList changes
7453 * toc.C (getTocList): InsetList changes
7455 * paragraph_pimpl.[Ch]: InsetList changes
7457 * paragraph.[Ch]: InsetList changes
7459 * buffer.C (inset_iterator): InsetList changes
7460 (setParagraph): ditto
7461 * buffer.h (inset_iterator): ditto
7462 * iterators.C (operator++): ditto
7463 * iterators.h: ditto
7465 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7467 * InsetList.[Ch]: new files, most InsetList handling moved out of
7470 * BufferView2.C (removeAutoInsets): InsetList changes
7472 (ChangeInsets): ditto
7474 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * paragraph_pimpl.h (empty): new function
7478 * paragraph.[Ch] (empty): new function
7480 * other files: use the new Paragraph::empty function
7482 2002-08-09 John Levon <levon@movementarian.org>
7484 * lyxtext.h: remove unused refresh_height
7486 2002-08-09 John Levon <levon@movementarian.org>
7493 * paragraph.C: move sgml char escaping out of paragraph
7496 * paragraph.C: remove id setter
7500 * paragraph_pimpl.C: remove dead tex_code_break_column
7502 * bufferview_funcs.C: small cleanup
7504 * lyxfunc.C: remove dead proto
7506 * lyxtext.h: make some stuff private. Remove some dead stuff.
7508 * lyxgluelength.C: make as[LyX]String() readable
7510 2002-08-08 John Levon <levon@movementarian.org>
7515 * ToolbarDefaults.C:
7518 * toc.C: lyxaction cleanup
7520 2002-08-08 John Levon <levon@movementarian.org>
7522 * BufferView2.C: small cleanup
7525 * lyxfind.C: move unnecessary header into the .C
7527 2002-08-08 John Levon <levon@movementarian.org>
7529 * funcrequest.h: just tedious nonsense
7532 * lyx_main.C: cleanups
7535 * vspace.C: remove dead header lyx_main.h
7537 2002-08-07 Angus Leeming <leeming@lyx.org>
7540 * paragraph_pimpl.h:
7541 Forward declare class Counters in paragraph.h by moving the ctrs member
7542 variable into Paragraph::Pimpl.
7543 (counters): new method, returning a reference to pimpl_->ctrs.
7545 * text2.C: ensuing changes.
7547 2002-08-07 John Levon <levon@movementarian.org>
7549 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7551 * BufferView_pimpl.C: announce X selection on double/triple
7554 * lyx_main.C: use correct bool in batch dispatch
7556 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7558 2002-08-07 André Pönitz <poenitz@gmx.net>
7560 * funcrequest.h: new class to wrap a kb_action and its argument
7563 * BufferView_pimpl[Ch]:
7567 * lyxrc.C: subsequent changes
7570 2002-08-07 John Levon <levon@movementarian.org>
7572 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7573 document options change.
7575 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7580 * makefile.am: move counters functionality over from
7581 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7583 2002-08-06 John Levon <levon@movementarian.org>
7585 * WordLangTuple.h: new file for word + language code tuple
7596 * BufferView2.C: use WordLangTuple
7599 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7601 2002-08-06 John Levon <levon@movementarian.org>
7603 * lyx_main.C: fix cmdline batch handling
7605 2002-08-06 André Pönitz <poenitz@gmx.net>
7607 * lyxrc.C: set default for show_banner to true
7609 2002-08-06 John Levon <levon@movementarian.org>
7611 * pspell.C: fix a crash, and allow new aspell to work
7613 2002-08-06 John Levon <levon@movementarian.org>
7616 * kbmap.C: small cleanup
7619 * vspace.C: add const
7621 2002-08-05 John Levon <levon@movementarian.org>
7623 * LyXAction.C: back to tabular-insert
7625 2002-08-04 John Levon <levon@movementarian.org>
7628 * BufferView.C: cosmetic change
7630 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7640 * BufferView2.C: purge all "Lyx" not "LyX" strings
7643 * lyxcursor.C: attempt to add some documentation
7648 * ToolbarDefaults.C:
7649 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7650 merge with LFUN_TABULAR_INSERT
7657 * pspell.C: split up i/pspell implementations into separate
7658 files, many cleanups
7660 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7662 * text2.C: some cleanup
7664 * lyxfunc.C: don't check for isp_command == "none" any more, it
7665 didn't make any sense
7667 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7672 * makefile.am: move counters functionality over
7673 from text2.C/paragraph.[Ch] to counters.[Ch], and
7675 2002-08-02 John Levon <levon@movementarian.org>
7677 * buffer.C: s/lyxconvert/lyx2lyx/
7679 2002-08-02 Angus Leeming <leeming@lyx.org>
7681 * lyxlex.C: revert John's change as it breaks reading of the user
7684 2002-08-02 Angus Leeming <leeming@lyx.org>
7686 * importer.C (Import):
7687 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7688 changes due to LyXView::view() now returning a boost::shared_ptr.
7690 2002-08-02 John Levon <levon@movementarian.org>
7692 * lyxlex.C: small cleanup
7694 2002-08-02 John Levon <levon@movementarian.org>
7696 * text2.C (status): small cleanup, no logic change
7698 2002-08-01 John Levon <levon@movementarian.org>
7701 * buffer.C (writeFile): don't output alerts, caller
7705 * lyx_cb.C: from above
7707 * lyxfunc.C: allow to open non-existent files
7709 2002-07-31 John Levon <levon@movementarian.org>
7711 * lyxserver.C: don't let incidental errors get
7714 2002-07-30 John Levon <levon@movementarian.org>
7716 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7718 2002-07-30 John Levon <levon@movementarian.org>
7721 * lyxserver.C: remove I/O callback too
7723 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7728 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7730 * many files: strip,frontStrip -> trim,ltrim,rtrim
7732 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7734 * PrinterParams.h: remove extern containsOnly, and include
7735 support/lstrings.h instead.
7737 * LaTeX.C (scanAuxFile): modify because of strip changes
7739 * buffer.C (makeLaTeXFile): ditto
7740 * bufferparams.C (writeFile): ditt
7741 * lyxfont.C (stateText): ditto
7742 * lyxserver.C (read_ready): ditto
7743 * vc-backend.C (scanMaster): ditto
7745 * BufferView_pimpl.h: ws changes
7747 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7749 2002-07-26 André Pönitz <poenitz@gmx.net>
7751 * kb_sequence.C: remove unnedred usings
7753 2002-07-26 Juergen Vigna <jug@sad.it>
7755 * lyxfind.C (LyXReplace): we have to check better if the returned
7756 text is not of theLockingInset()->getLockingInset().
7758 2002-07-25 Juergen Vigna <jug@sad.it>
7760 * lyxfind.C (LyXReplace): don't replace if we don't get the
7763 * undo_funcs.C (createUndo): remove debugging code.
7765 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7767 * buffer.C (parseSingleLyXformat2Token): Use default placement
7768 when reading old floats.
7770 * FloatList.C (FloatList): Change the default placement of figure
7771 and tables to "tbp".
7773 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7775 * MenuBackend.C: using std::max
7777 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7779 * MenuBackend.C (expandToc):
7780 (expandToc2): code moved from xforms menu frontend. It is now
7781 generic and TOCs are transparent to menu frontends.
7783 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7785 * toc.C (getTocList): protect against buf=0
7787 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7788 Menu as first parameter. Now, this calls itself recursively to
7789 expand a whole tree (this will be useful for TOC handling)
7790 (expandFloatInsert): remove 'wide' version of floats
7792 * MenuBackend.h (submenuname): returns the name of the submenu.
7793 (submenu): returns the submenu itself, provided it has been
7794 created by MenuBackend::expand
7796 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7798 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7799 insets which have noFontChange == true. (bug #172)
7801 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7803 * BufferView_pimpl.C: add connection objects and use them...
7806 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7808 * MenuBackend.C (expandLastfiles):
7811 (expandFloatListInsert):
7812 (expandFloatInsert):
7813 (expand): split expand in parts
7815 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7817 * lyx_gui.C: use lyx_gui::exit()
7819 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7821 * LyXAction.C: show the failing pseudo action
7823 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7825 * buffer.C (readFile): Run the lyxconvert script in order to read
7828 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7832 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7834 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7838 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7840 2002-07-22 Herbert Voss <voss@lyx.org>
7843 * lyxlength.[Ch]: add support for the vertical lengths
7845 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7847 * toc.[Ch]: std:: fixes
7849 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * lyxrc.C: do not include lyx_main.h
7853 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7859 * BufferView2.C: include "lyxlex.h"
7862 * bufferparams.h: do not #include "lyxlex.h"
7864 * lyxtextclasslist.C (Add): remove method
7865 (classlist): renamed to classlist_
7867 * paragraph_pimpl.C:
7871 * bufferview_funcs.C:
7876 * toc.C (getTocList): use BufferParams::getLyXTextClass
7878 * toc.C (getTocList): use InsetFloat::addToToc
7880 * toc.[Ch]: new files, containing helper functions to handle table
7883 * lyxfunc.C (dispatch): no need to remove spaces around command
7885 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7886 first command of the sequence; it is not very clever, but I do not
7887 have a better idea, actually
7889 * LyXAction.C (LookupFunc): make sure to remove space at the
7890 beginning and end of the command
7892 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * MenuBackend.C (getMenubar): new method: return the menubar of
7896 (read): treat differently reading of menu and menubar (in
7897 particular, the menubar has no name now)
7898 (Menu::menubar): remove
7900 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7903 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7905 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7906 a bibitem inset in a RTL paragraph.
7908 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7910 * paragraph_pimpl.C: constify
7912 * BufferView_pimpl.C:
7914 * lyxfunc.C: fix dispatch in a nicer way
7916 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7918 * lyxfunc.C (dispatch):
7919 * BufferView_pimpl.C:
7920 * BufferView_pimpl.h:
7922 * BufferView.h: rename Dispatch() to dispatch()
7924 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7926 * lyxlayout.C (Read): honor DependsOn tag
7928 * lyxlayout.[Ch] (depends_on): new method
7930 * version.C.in: update lyx_docversion
7932 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7934 * paragraph.C (validate): remove from here...
7935 * paragraph_pimpl.C (validate): ... and move here
7936 (isTextAt): make it const
7938 * buffer.C (getLists): ws cleanup
7940 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7942 * language.C (read): Use iso8859-1 encoding in latex_lang
7943 (this prevents LyX from crashing when using iso10646-1 encoding).
7945 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7947 * text2.C (toggleInset): if cursor is inside an inset, close the
7948 inset and leave cursor _after_ it
7950 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7952 * lyxfunc.C: move minibuffer completion handling out of here
7954 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7956 * BufferView_pimpl.C:
7957 * LaTeX.C: fix dispatch calls
7959 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7961 * text.C (drawChars): Fix Arabic text rendering.
7963 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7967 * lyxfunc.C: remove message-push/pop
7971 * lyxfunc.C: rationalise some code by removing verboseDispatch
7972 in favour of a bool argument to dispatch()
7974 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7976 * lyx_main.C (init): make sure to read symlinks as absolute paths
7978 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7981 * lyxfunc.C: no need for commandshortcut to be a member
7983 2002-07-15 André Pönitz <poenitz@gmx.net>
7985 * converter.C: add support for $$s (scripts from lib/scripts dir)
7986 * lyx_main.C: white space
7988 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7992 * lyxrc.C: remove second exit confirmation
7994 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7999 * BufferView_pimpl.h:
8000 * BufferView_pimpl.C:
8001 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8003 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8005 * MenuBackend.C (expand): add numeric shortcuts to document menu
8007 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8009 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8011 * lyxfont.C (setLyXFamily):
8018 * buffer.C (asciiParagraph): use ascii_lowercase
8020 2002-07-15 Mike Fabian <mfabian@suse.de>
8022 * lyxlex_pimpl.C (search_kw):
8023 * lyxlex.C (getLongString):
8024 * converter.h (operator<):
8025 * converter.C (operator<):
8026 * buffer.C (parseSingleLyXformat2Token):
8028 * ToolbarDefaults.C (read):
8029 * MenuBackend.C (checkShortcuts):
8031 * LColor.C (getFromGUIName):
8032 (getFromLyXName): use the compare_ascii_no_case instead of
8033 compare_no_case, because in turkish, 'i' is not the lowercase
8034 version of 'I', and thus turkish locale breaks parsing of tags.
8036 2002-07-16 Angus Leeming <leeming@lyx.org>
8038 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8039 now takes a Buffer const & argument.
8041 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8043 * BufferView.C (resize): check there's a buffer to resize
8045 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8047 * lyxfunc.C: remove dead code
8050 * lyxserver.C: use lyx_guii::set_read_callback
8052 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8054 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8055 an inset in a RTL paragraph.
8057 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8059 * lyxfunc.C: repaint after a font size update
8061 2002-07-15 André Pönitz <poenitz@gmx.net>
8063 * lyxlength.C: inBP should be able to return negative values
8065 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8067 * lyxfunc.C: use lyx_gui::update_fonts()
8069 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8071 * lyxfunc.C: use lyx_gui::update_color()
8073 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8079 * lyxrc.C: remove file->new asks for name option, and let
8080 buffer-new take an argument
8082 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8084 * BufferView_pimpl.C: remove unneeded extra repaint()
8086 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8088 * LyXAction.C: allow command-sequence with NoBuffer
8090 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8092 2002-07-10 Angus Leeming <leeming@lyx.org>
8094 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8096 2002-07-09 Angus Leeming <leeming@lyx.org>
8098 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8100 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8102 * lengthcommon.h: whitespace
8104 * lyxfunc.C: update scrollbar after goto paragraph
8106 * lyxtext.h: factor out page break drawing, and fix it so
8107 page break/added space paints as selected nicely
8109 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8111 * BufferView_pimpl.C: add FIXMEs, clean up a little
8113 2002-07-09 André Pönitz <poenitz@gmx.net>
8115 * lyxfont.[Ch]: support for wasy symbols
8117 2002-07-08 André Pönitz <poenitz@gmx.net>
8119 * BufferView_pimpl.C: apply John's patch for #93.
8121 2002-07-05 Angus Leeming <leeming@lyx.org>
8123 * BufferView_pimpl.C (buffer): generate previews if desired.
8125 * LColor.h: add "preview" to the color enum.
8127 * LColor.C (LColor): add a corresponding entry to the items array.
8129 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8132 2002-07-05 Angus Leeming <leeming@lyx.org>
8134 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8135 The body of the code is now in the method that is passed an ostream &
8136 rather than a file name.
8137 Pass an additional only_preamble parameter, useful for the forthcoming
8140 2002-07-03 André Pönitz <poenitz@gmx.net>
8142 * lyxfunc.C: simplify getStatus() a bit for math stuff
8144 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8146 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8148 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8150 * text.C (changeRegionCase): do not change case of all the
8151 document when region ends at paragraph end (bug #461)
8153 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8155 * paragraph.C (startTeXParParams):
8156 (endTeXParParams): add \protect when necessary
8158 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8160 * BufferView_pimpl.C (workAreaExpose): remove warning
8162 2002-06-27 Angus Leeming <leeming@lyx.org>
8164 * Makefile.am: add lyxlayout_ptr_fwd.h.
8166 2002-06-26 André Pönitz <poenitz@gmx.net>
8168 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8170 2002-06-25 Angus Leeming <leeming@lyx.org>
8172 * lyxfunc.C (dispatch): Comment out the call to
8173 grfx::GCache::changeDisplay. The method no longer exists now that the
8174 pixmap generation part of the graphics loader has been moved into
8177 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8179 * text2.C: layout as layout
8181 * text.C: layout as layout
8183 * tabular.C (OldFormatRead): layout as layout
8185 * paragraph_pimpl.C (TeXDeeper): layout as layout
8186 (realizeFont): layout as layout
8188 * paragraph.C (writeFile): layout as layout
8189 (validate): layout as layout
8190 (getFont): layout as layout
8191 (getLabelFont): layout as layout
8192 (getLayoutFont): layout as layout
8193 (breakParagraph): layout as layout
8194 (stripLeadingSpaces): layout as layout
8195 (getEndLabel): layout as layout
8196 (getMaxDepthAfter): layout as layout
8197 (applyLayout): layout as layout
8198 (TeXOnePar): layout as layout
8199 (simpleTeXOnePar): layout as layout
8200 (TeXEnvironment): layout as layout
8201 (layout): layout as layout
8202 (layout): layout as layout
8204 * lyxtextclass.C (compare_name): new functor to work with
8205 shared_ptr, layout as layout
8206 (Read): layout as layout
8207 (hasLayout): layout as layout
8208 (operator): layout as layout
8209 (delete_layout): layout as layout
8210 (defaultLayout): layout as layout
8212 * lyxlayout_ptr_fwd.h: new file
8214 * lyxlayout.C (Read): layout as layout
8216 * lyx_cb.C (MenuInsertLabel): layout as layout
8218 * bufferlist.C (newFile): layout as layout
8220 * buffer.C (readLyXformat2): layout as layout
8221 (parseSingleLyXformat2Token): layout as layout
8222 (insertStringAsLines): layout as layout
8223 (asciiParagraph): layout as layout
8224 (latexParagraphs): layout as layout
8225 (makeLinuxDocFile): layout as layout
8226 (simpleLinuxDocOnePar): layout as layout
8227 (makeDocBookFile): layout as layout
8228 (simpleDocBookOnePar): layout as layout
8229 (getLists): layout as layout
8231 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8233 * CutAndPaste.C (cutSelection): layout as layout
8234 (pasteSelection): layout as layout
8235 (SwitchLayoutsBetweenClasses): layout as layout
8237 * BufferView_pimpl.C (Dispatch): layout as layout
8238 (smartQuote): layout as layout
8240 * BufferView2.C (unlockInset): layout as layout
8242 2002-06-24 André Pönitz <poenitz@gmx.net>
8244 * lyxfunc.C: fix #487
8246 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8250 * lyxfunc.C: remove display_shortcuts, show_banner
8252 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8254 * Buffer_pimpl.C: oops, update on resize
8256 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8263 * BufferView.C: use repaint()
8265 * BufferView_pimpl.h:
8266 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8267 as it's a clearer description. Remove superfluous
8270 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8272 * text.C: fix bug 488. Not ideal, but getting
8273 getWord() to work properly for the insets that
8274 matter is more difficult ...
8276 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8278 * BufferView_pimpl.C:
8281 * lyxfunc.C: remove the six million index lyxfuncs to just
8282 one, and DTRT (bug 458)
8284 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8288 * BufferView_pimpl.h:
8289 * BufferView_pimpl.C: clean up resize() stuff,
8290 and unnecessary updateScreen()s
8292 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8296 * BufferView_pimpl.h:
8297 * BufferView_pimpl.C:
8300 * minibuffer.C: remove focus management of workarea,
8301 not needed. Use screen's greyOut()
8303 2002-06-17 Herbert Voss <voss@lyx.org>
8305 * converter.C: (convert) do not post a message, when converting
8306 fails, let the calling function decide what to do in this case
8308 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8310 * lyxfunc.C: tidy up a little
8312 2002-06-16 <alstrup@diku.dk>
8314 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8315 Got rid of FORMS_H_LOCATION include. Now we are
8318 2002-06-15 LyX Development team <lyx@rilke>
8320 * buffer.[Ch] (sgmlOpenTag):
8321 (sgmlCloseTag): Added support for avoiding pernicious mixed
8322 content. Return number of lines written.
8325 (makeDocBookFile): Fixed calls to sgml*Tag.
8326 Simple white space clean.
8328 (simpleDocBookOnePar): Simple white space clean.
8330 * tabular.[Ch] (docBook): Renamed to docbook and got another
8331 argument to related with the pernicious mixed content.
8333 (docbookRow): Fixed calls for docbook inset method.
8335 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8337 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8338 so it's X11 independent.
8342 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8344 2002-06-15 Lyx Development team <lyx@electronia>
8346 * intl.h: Renamed getTrans to getTransManager.
8348 2002-06-14 Angus Leeming <leeming@lyx.org>
8350 * Makefile.am: nuke forgotten stl_string_fwd.h.
8352 2002-06-12 Angus Leeming <leeming@lyx.org>
8354 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8356 2002-06-13 Angus Leeming <leeming@lyx.org>
8359 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8361 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8363 * kbmap.C (getiso): add support for cyrillic and greek
8365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8369 * BufferView_pimpl.h:
8370 * BufferView_pimpl.C: move bogus scrolling logic
8373 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8376 * BufferView_pimpl.C: view->resize() change
8378 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8380 * BufferView_pimpl.C: topCursorVisible
8383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8387 * lyx_gui.C: move to frontends/
8391 * lyx_main.C: changes from above
8393 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8400 * lyx_main.C: minor tidy
8402 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8404 * BufferView_pimpl.h:
8405 * BufferView_pimpl.C:
8407 * BufferView.C: make painter() const,
8410 * BufferView2.C: use screen() accessor
8413 * lyx_main.C: some minor cleanup
8415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8417 * BufferView_pimpl.h:
8418 * BufferView_pimpl.C: remove enter/leaveView,
8421 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8426 * BufferView_pimpl.h:
8427 * BufferView_pimpl.C: only construct screen once,
8430 * lyxrc.C: remove pointless comment
8432 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8435 * BufferView.C: remove active() and belowMouse()
8437 * BufferView_pimpl.h:
8438 * BufferView_pimpl.C: use workarea() not workarea_,
8439 and make it use a scoped_ptr instead
8441 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8443 * lyx_gui.C: add debug message on BadWindow
8445 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8447 * sp_spell.C: fdopen is not part of the C++ standard.
8449 * paragraph.C (InsetIterator): use >= instead of ==
8451 2002-06-07 Angus Leeming <leeming@lyx.org>
8453 Fixes needed to compile with Compaq cxx 6.5.
8454 * BufferView_pimpl.C:
8461 * lyxtextclasslist.C:
8466 all c-library variables have been moved into namespace std. Wrap
8467 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8472 Add a using std::abs declaration.
8474 * kbmap.h (modifier_pair):
8475 * paragraph.h (InsetTable, InsetList):
8476 * lyxfont.h (FontBits):
8477 type definition made public.
8479 * bufferlist.C (emergencyWriteAll): the compiler complains that
8480 there is more than one possible lyx::class_fun template to choose from.
8481 I re-named the void specialisation as lyx::void_class_fun.
8483 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8485 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8486 the compiler is is unable to find tostr in write_attribute.
8488 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8490 * buffer.C (sgmlError): hide #warning
8492 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8494 * xtl/*: get rid of xtl, which is not in use anyway
8496 * LyXAction.C (init):
8497 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8498 were unimplemented xtl experimentation
8500 2002-06-04 André Pönitz <poenitz@gmx.net>
8502 * lyxfunc.C: disable array operation on simple formulae
8504 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8506 * converter.C: constify a bit
8508 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8510 * lyx_gui.C: check xforms version correctly
8512 2002-04-30 Herbert Voss <voss@lyx.org>
8514 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8517 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8519 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8520 attempt to register it with a VCS)
8522 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8524 * lyx_main.C (init): honor variables LYX_DIR_13x and
8527 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8531 * lyx_main.C: fix a crash on bad command line,
8532 and give a useful exit status on error
8534 * lyxfunc.C (doImport): allow -i lyx to work
8536 2002-03-30 André Pönitz <poenitz@gmx.net>
8538 * lyxfunc.C: mathed font changes
8540 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8555 * trans_mgr.h: srcdocs, and some minor cleanups
8557 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8559 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8560 call getFont all the time)
8562 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * switch from SigC signals to boost::signals
8566 2002-05-29 André Pönitz <poenitz@gmx.net>
8568 * paragraph_pimpl.C (getChar): don't call size() too often...
8570 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8572 * paragraph_pimpl.C (insertChar): do not try to update tables when
8573 appending (pos == size())
8575 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8576 in order to reduce drastically the number of comparisons needed to
8577 parse a large document
8579 2002-05-29 André Pönitz <poenitz@gmx.net>
8585 * textclasslist.[Ch]:
8586 * sp_ispell.h: whitespace change
8588 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8590 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8591 lyxaction directly now.
8593 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8597 * lyxvc.C: remove unused headers
8599 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8606 * undo_funcs.C: some cleanups. Use shared_ptr
8607 and a template for the undo stacks.
8609 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8611 * BufferView_pimpl.h:
8612 * BufferView_pimpl.C:
8619 * text2.C: use key_state/mouse_state
8621 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8623 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8626 * chset.C: change include order
8627 (loadFile): use boost regex and get rid of LRegex and LSubstring
8629 * Makefile.am (BOOST_LIBS): new variable
8632 * LaTeX.C: change include order.
8633 (scanAuxFile): use boost regex and get rid of LRegex and
8637 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8642 * FontInfo.C: moved to frontends/xforms/
8645 * FontLoader.C: moved into frontends for GUIIzation
8650 * lyxfunc.C: changes from above
8652 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8654 * LColor.C: remove spurious X include
8656 * BufferView_pimpl.C:
8661 * text2.C: move font metrics to frontends/
8663 2002-05-24 Juergen Vigna <jug@sad.it>
8665 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8666 setting the undo_cursor.
8668 * ParagraphParameters.h: include local includes first.
8670 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8672 * BufferView_pimpl.C:
8673 * BufferView_pimpl.h:
8677 * screen.C: move WorkArea into frontends/
8683 * BufferView2.C: move LyXScreen into frontends/
8687 * lyx_gui.C: move lyxlookup into frontends/xforms/
8689 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8692 * BufferView_pimpl.C:
8702 * bufferview_funcs.C:
8715 * vc-backend.C: move LyX/XFormsView into frontends/
8717 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8729 * text2.C: move Painter to frontends/
8731 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8733 * buffer.C: comment out some some code that depend upon lyx_format
8736 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8737 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8739 * buffer.h (NO_COMPABILITY): turn off compability
8741 * ColorHandler.C: include scoped_array.hpp
8743 * font.C: Use more specific smart_ptr header.
8746 * ShareContainer.h: ditto
8750 * BufferView_pimpl.h: ditto
8751 * ColorHandler.h: ditto
8753 * kbmap.C (defkey): change call to shared_ptr::reset
8755 2002-05-21 Juergen Vigna <jug@sad.it>
8757 * buffer.C (insertErtContents): fix to insert ert asis if it is
8758 non empty. Skip it completely if it contains only whitespaces.
8760 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8762 * BufferView_pimpl.C:
8763 * BufferView2.C: clear selection on paste (bug 393)
8765 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8767 * DepTable.C: include ctime
8769 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8771 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8773 2002-05-14 Juergen Vigna <jug@sad.it>
8775 * text.C (breakParagraph): fixed function to honor the keepempty
8776 layout in the right maner and also to permit the right breaking
8777 algorithm on empty or non empyt keepempty paragraphs.
8779 * paragraph.C (breakParagraph): we have to check also if the par
8780 is really empty (!size()) for isempty otherwise we do the wrong
8783 2002-05-10 Juergen Vigna <jug@sad.it>
8785 * buffer.[Ch] : The following are only changes to the ert
8786 compatibility read reading old LaTeX layout and font stuff and
8787 convert it to ERTInsets.
8789 * buffer.h: added isErtInset().
8791 * buffer.C (struct ErtComp): add a fromlayout bool to check
8792 if we're inside a LaTeX layout.
8793 (isErtInset): new helper function.
8794 (insertErtContents): look for other ert insets before this one
8795 and insert the contents there, so that we don't have subsequent
8796 ERT insets with nothing between them. This way we create only one
8797 inset with multiple paragraphs. Also check if we don't insert only
8798 spaces ' ' as they are ignored anyway afterwards in the .tex file
8799 so if we have only spaces we will ignore this latex part in the
8801 (parseSingleLyXformat2Token \\layout): better compatibility when
8802 reading layout-latex stuff.
8803 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8805 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8806 stuff after reading the inset only get the information back from
8809 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8811 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8813 * LaTeXFeatures.C (getBabelOptions): New method.
8815 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8817 * BufferView_pimpl.C (Dispatch): work around missing argument for
8820 2002-05-08 Juergen Vigna <jug@sad.it>
8822 * text.C (leftMargin): handle paragraph leftindent.
8824 * paragraph.C (writeFile): write the new \\leftindent tag.
8825 (validate): handle leftindent code.
8826 (TeXEnvironment): handle paragraphleftindent code again.
8828 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8830 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8831 for paragrap_extra indent code and new token \\leftindent.
8832 (latexParagraphs): handle the leftindent as environment.
8834 * ParameterStruct.h: added leftindent support.
8836 * ParagraphParameters.C (leftIndent): added support functions for
8837 the paragraph left indent.
8839 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8842 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8844 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8847 * text.C (computeBidiTables): No bidi in insetERT.
8849 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8852 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * version.C.in: pre 5
8856 2002-05-02 José Matos <jamatos@fep.up.pt>
8857 * buffer.C (makeDocBookFile): white space changes, add newline to
8859 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8861 * tabular.C (docBook): fix typo.
8863 2002-05-03 Juergen Vigna <jug@sad.it>
8865 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8866 change in LyXText as we can not be sure it was not freed.
8867 (drawOneRow): remove unused code.
8869 * text.C (drawInset): redo the calculation of the need_break_row as
8870 it could have a row which was already freed.
8871 (draw): look at the return value of drawInset and return false if
8872 it also returned false.
8873 (paintRowText): look at the return value of draw and return false if
8874 it also returned false.
8876 * lyxtext.h: added bool return type to drawInset() and draw() so that
8877 if we have a change in the row so that the rowbreak has to be redone
8878 we abort drawing as it will be called again.
8880 2002-05-02 Juergen Vigna <jug@sad.it>
8882 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8883 a change in the maintext also if we're inside an inset.
8884 (Dispatch): set the cursor again after a break line and after the
8885 screen has been updated as it could be we're in a different row.
8887 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8888 to set the cursor behind the pargraph with > size().
8889 (setCursor): check also for the same paragraph when checking where
8890 to put the cursor if we have a NFR inset.
8892 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8893 parts of layout read further up as it still was in the wrong
8896 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8898 * screen.C (drawFromTo): change sine fullRebreak always return
8901 * buffer.C (parseSingleLyXformat2Token): reindent some
8903 * BufferView_pimpl.C (update): change since fullRebreak always
8905 (Dispatch): git rid of the last hardcoded "Standard"s.
8907 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8909 * text2.[Ch] (fullRebreak): make it return void now that we always
8912 2002-04-30 Juergen Vigna <jug@sad.it>
8914 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8915 ert compatibility check for "latex" layout.
8917 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8919 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8920 minipages: use col% instead of p%, and also use the current font.
8921 (makeLaTeXFile): Fix use babel condition.
8922 (parseSingleLyXformat2Token): Correct font when reading old floats.
8924 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8926 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8927 inserting list of floats.
8929 2002-04-25 Herbert Voss <voss@lyx.org>
8931 * MenuBackend.C (expand): don't add the graphics extensions to the
8934 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8937 non-existing layout, do not complain if it was the default layout
8938 of the original class (bug #342)
8940 2002-04-24 Juergen Vigna <jug@sad.it>
8942 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8943 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8945 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8947 * buffer.C (getBibkeyList): If using \bibliography, return the
8948 option field with the reference itself. Enables us to provide natbib
8949 support when using \bibliography.
8951 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8953 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8955 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8956 natbib is provided by the LaTeX class.
8958 2002-04-23 Juergen Vigna <jug@sad.it>
8960 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8963 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8965 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8967 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8969 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8970 ensuremath around textordmasculine, textordfeminine and
8973 2002-04-19 Juergen Vigna <jug@sad.it>
8975 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8976 reinitializing the buffer otherwise row-dimensions may be wrong.
8977 (update): reset also the selection cursors if they do exits otherwise
8978 their x/y positions may be wrong.
8980 * text2.C (cursorDown): don't enter the inset if we came from a row
8981 above and are one row over the inset.
8983 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8984 really leaving an inset.
8986 2002-04-18 Juergen Vigna <jug@sad.it>
8988 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8989 of the selected paragraph does not have the selected layout also if
8992 * text2.C (setLayout): fixed bug which did not change last selected
8995 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8996 changed the read and substituted \\end_float with \\end_inset!
8998 * BufferView_pimpl.C (cursorPrevious):
8999 (cursorNext): fixed to make it work with rows heigher than the work
9000 area without moving the cursor only the draw of the row.
9001 (workAreaMotionNotify): fix jumping over high rows.
9003 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9005 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9008 2002-04-16 Juergen Vigna <jug@sad.it>
9010 * text2.C (setCursor): set also the irow().
9011 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9013 (cursorDown): support for locking an inset if the x_fix value goes
9014 inside it. That way I can transverse insets too with cursor up/down.
9016 * lyxrow.h: added irow helper function same as other (i) functions.
9018 * BufferView_pimpl.C (cursorPrevious):
9019 (cursorNext): fixed for insets!
9021 2002-04-15 Juergen Vigna <jug@sad.it>
9023 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9024 position otherwise it is wrong in some cases.
9026 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9027 inside the inset before the call.
9029 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9031 * buffer.[Ch] (getBibkeyList): make it const.
9033 2002-04-12 Juergen Vigna <jug@sad.it>
9035 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9037 * text2.C (getCursorX): new helper function
9038 (setCursor): compute also ix_
9039 (setCursorFromCoordinates): set also ix.
9041 * lyxcursor.h: added ix_ and helper functions.
9043 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9045 * buffer.C (insertStringAsLines): dont break paragraph if the this
9046 paragraph is inside an inset which does not permit it!
9048 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9049 also with no chars on this paragraph.
9050 (paintRowText): only paint stuff if it's inside the workarea!
9052 * paragraph.C (breakParagraph): honor keepempty flag and break the
9053 paragraph always below not above.
9055 * BufferView2.C (unlockInset): update the paragraph layout on inset
9056 unlock as we changed paragraph in such a case.
9058 * lyxfind.C (LyXFind): clear the former selection if not found!
9060 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9061 again called in insertChar().
9063 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9064 an inset which uses the whole row!
9065 (rightMargin): ditto.
9066 (insertChar): force a rebreak if we inserted an inset!
9068 2002-03-28 Herbert Voss <voss@lyx.org>
9070 * lyxlength.[Ch]: add inBP() to get the right PS-point
9071 units (BigPoint). With inPixels we have rounding errors
9073 2002-04-11 Juergen Vigna <jug@sad.it>
9075 * text2.C (setCursorFromCoordinates): set iy to the right value.
9076 (setCursor): add check if row->previous exists!
9078 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9079 an old float_type as this was the case in the old code!
9081 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9083 * BufferView2.C (showLockedInsetCursor): use iy
9084 (fitLockedInsetCursor): ditto
9086 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9087 locked insets as there we have the right value now.
9089 * lyxcursor.C: added iy_ variable and iy functions to set to the
9090 baseline of cursor-y of the locked inset.
9092 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9093 (setCursor): fixed for insets which need a full row.
9095 * text.C (rowLastPrintable): don't ignore the last space when before
9096 an inset which needs a full row.
9097 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9098 as last character of a row when before a inset which needs a full row.
9100 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9102 * version.C.in: update date
9104 * text2.C (fullRebreak): try to always return true and see what
9107 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * MenuBackend.C (expand): use Floating::listName
9111 * FloatList.C (FloatList): add listName argument to the built-in
9114 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9115 text associated with the float.
9117 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9119 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9121 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9123 * ShareContainer.h: add a couple of missing typenames.
9125 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9127 * lyxrc.C (getDescription): use _() correctly rather than N_().
9129 2002-03-28 Herbert Voss <voss@lyx.org>
9131 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9132 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9134 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9137 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9139 2002-03-29 Juergen Vigna <jug@sad.it>
9141 * lyxfunc.C (dispatch): add a missing fitCursor call.
9143 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9144 it was scrolled by a cursor move, so return the bool status.
9146 * BufferView.C (fitCursor): return the bool flag also to the outside
9147 world as this is needed.
9149 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9151 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9152 call the edit() as it is not needed (and wrong) IMO.
9153 (workAreaButtonPress): set the screen_first variable before evt.
9154 unlock the inset as this may change screen_first and then we have
9155 a wrong y position for the click!
9157 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9159 * MenuBackend.C (expand): another translation that I missed
9161 2002-03-28 Juergen Vigna <jug@sad.it>
9163 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9165 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9167 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9169 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9171 * MenuBackend.C (expand): fix export/view/update when there is no
9174 2002-03-27 Herbert Voss <voss@lyx.org>
9176 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9179 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9181 * bufferview_funcs.C (currentState): only show paragraph number
9182 for is DEVEL_VERSION is set.
9184 * lyxfunc.C (dispatch): put warning in INFO channel
9186 * MenuBackend.C (expand): translate the name of floats
9188 * FloatList.C (FloatList): mark the float names for translation
9190 * converter.C (convert): use LibScriptSearch
9192 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9194 * MenuBackend.C (defaults): fix default menu (we might as well get
9197 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9199 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9202 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9204 * lyxvc.C: reorder includes.
9206 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9208 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9211 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9213 * CutAndPaste.C: change layouts earlier on paste
9214 to avoid crashing when calling getFont()
9216 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9218 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9221 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9223 * WorkArea.C: remove 'Pending' debug message.
9225 * most files: ws cleanup
9227 * buffer.[Ch]: ws changes
9229 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9231 2002-03-21 Juergen Vigna <jug@sad.it>
9233 * tabular.C (SetMultiColumn): collapse also the contents of the
9234 cells and set the last border right. Added a Buffer const * param.
9236 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9241 2002-03-19 Juergen Vigna <jug@sad.it>
9243 * text2.C (clearSelection): reset also xsel_cache.
9245 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9246 where it needs to be called (John tells us to do so too :)
9247 (selectionLost): reset sel_cache.
9249 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9251 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9253 * text2.C (setCursorIntern): put debuging code in INSETS channel
9255 2002-03-19 André Pönitz <poenitz@gmx.net>
9257 * lyxfunc.C: tiny whitespace change
9259 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9261 * ToolbarDefaults.C (init):
9262 * LyXAction.C (init):
9264 * BufferView_pimpl.C (Dispatch):
9265 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9267 2002-03-19 Allan Rae <rae@lyx.org>
9269 * exporter.C (Export): removeAutoInsets before doing anything else.
9270 While I've just introduced a dependency on BufferView this really is
9271 the best place to clean the buffer otherwise you need to cleanup in
9272 a dozen places before calling export or cleanup in a dozen functions
9275 * converter.C (runLaTeX):
9276 (scanLog): Better handling of removeAutoInsets and screen updates.
9278 * lyxfunc.C (dispatch): small whitespace changes
9280 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * WorkArea.C (C_WorkAreaEvent): return a value.
9283 (event_cb): return 1 if we handled the event, 0 otherwise.
9285 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9287 2002-03-18 Juergen Vigna <jug@sad.it>
9289 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9290 (GetAdditionalWidth): ditto.
9294 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9295 inset if we're there actually (probably not used right now but this
9296 is the direction to go for unifying code).
9297 (paste): disable code to clear the selection.
9299 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9300 inside an InsetText and move the check further up as it is in the
9303 * text2.C (pasteSelection): set a selection over the pasted text.
9305 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9307 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9308 and libgraphics to build on Cygwin.
9310 2002-03-15 Juergen Vigna <jug@sad.it>
9312 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9313 inserting an Inset into the paragraph. I know this is not the best
9314 fix but we already use current_view in CutAndPaste so we will remove
9315 all of it's using at the same time.
9317 * buffer.C (sgmlError): deactivated function till it is rewritten in
9318 the right mode, now it can create problems.
9320 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9321 before accessing it.
9323 2002-03-14 Juergen Vigna <jug@sad.it>
9325 * undo_funcs.C (textHandleUndo): do the right thing when updating
9326 the inset after the undo/redo.
9328 * text2.C (setCursor): just some testcode for #44 not ready yet.
9330 * undo_funcs.C (textHandleUndo): set the next() and previous()
9331 pointers of the paragraph to 0 before deleting otherwise we have
9332 problems with the Paragraph::[destructor].
9334 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9335 on a paragraph insertion.
9337 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9339 * buffer.C (asciiParagraph): use += operator for char append to
9342 * paragraph.C (getFontSettings): compare >= not just >
9343 (highestFontInRange): ditto
9346 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * paragraph.C: change several algorithm to be more appripriate for
9349 the problem domain. This is lookip in FontList and in the InsetList.
9351 2002-03-13 André Pönitz <poenitz@gmx.net>
9354 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9356 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9361 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9363 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9365 * Painter.C (display): anon helper function, adjust code for this
9367 (pixmap): remove function.
9369 * Painter.h: remove private display variable.
9371 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9373 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9375 * WorkArea.[Ch]: remove figinset_canvas cruft.
9377 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9379 * lyxtextclass.C (operator): add one item cache optimization.
9381 * bufferlist.h: doxy changes
9383 * bufferlist.C: ws changes
9385 * DepTable.[Ch] (ext_exist): place const in the right spot.
9387 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9389 (workAreaExpose): call resizeInsets when the with BufferView changes.
9390 (Dispatch): adjust for protectedBlank removal
9391 (specialChar): call updateInset if the insert went ok.
9393 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9394 specialChar instead.
9396 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9398 * BufferView.h: doxy change
9400 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9402 * lyxtextclass.C (operator[]): remove non-const version
9403 (defaultLayout): remove non-const version
9405 2002-03-12 Juergen Vigna <jug@sad.it>
9407 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9408 did resize the LyXText too.
9410 * buffer.C (readLyXformat2): set layout information on newly allocated
9413 * tabular.C (OldFormatRead): set layout information on the paragraph.
9415 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9417 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9419 2002-03-11 Juergen Vigna <jug@sad.it>
9421 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9423 (resizeCurrentBuffer): force also the insets to resize themselfes.
9424 (moveCursorUpdate): fixed up for InsetText.
9426 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9429 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9430 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9431 value of Dialogs::tooltipsEnabled().
9432 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9434 2002-03-08 Juergen Vigna <jug@sad.it>
9436 * BufferView_pimpl.C (updateInset): update inset inside inset also
9437 if it isn't inside theLockingInset().
9439 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * buffer.C (asciiParagraph): redo some of the word and line length
9443 (getLists): look for Caption instead of caption.
9445 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9447 * buffer.C (Buffer): initialize niceFile to true
9450 (makeDocBookFile): make sure niceFile is true on exit
9452 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9454 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9456 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9458 * LyXSendto.C: remove.
9459 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9460 * lyx_gui.C: remove now-redundant comment.
9461 * ColorHandler.h: remove forward declaration of class WorkArea.
9462 * lyxfunc.C: remove #include "WorkArea.h".
9464 2002-03-07 Juergen Vigna <jug@sad.it>
9466 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9467 got moved away with the DEPM and also set the inset_owner always
9468 right which before could have been omitted.
9470 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9472 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9473 wanted layout is not found.
9475 2002-03-07 Juergen Vigna <jug@sad.it>
9477 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9479 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9481 * paragraph.C (breakParagraph): use default layout not layout of
9483 (Paragraph): clear ParagraphParameters.
9485 2002-03-06 Juergen Vigna <jug@sad.it>
9487 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9488 otherwise it would not be a valid lenght. Fixed a special case in
9489 the minipage compatibility read where we end the document with a
9492 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9493 was set as it could be 0 for InsetTexts first entry.
9495 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * paragraph.C (writeFile): if layout is empty write out
9498 defaultLayoutName().
9500 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9501 file without named layout we set layout to defaultLayoutName().
9503 2002-03-06 Juergen Vigna <jug@sad.it>
9505 * CutAndPaste.C (copySelection): set layout for new paragraph.
9507 * text.C (prepareToPrint): leave ERT inset left aligned
9508 (leftMargin): don't indent paragraphs inside ERT insets
9510 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9512 * paragraph.C (breakParagraph): dont call clear do the work manually
9514 * paragraph.[Ch] (clear): remove function
9516 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9518 * paragraph.C (Paragraph): dont call clear, the work has already
9521 * lyxtextclass.C (operator): assert if n is empty
9523 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9524 work manually instead.
9526 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9528 * BufferView_pimpl.C: protect selectionLost against text == 0
9530 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * text.C (breakParagraph): fix a setting layout to '0' problem.
9534 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9536 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9537 final location of file, for the included files, and graphics.
9539 2002-03-05 Juergen Vigna <jug@sad.it>
9541 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9543 2002-03-04 Juergen Vigna <jug@sad.it>
9545 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9547 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9548 last column of multicolumn cells.
9549 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9551 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9553 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9554 file if it doesn't go to a temporary file.
9556 * buffer.C (sgmlOpenTag):
9557 (sgmlCloseTag): remove extra newline insertion.
9559 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9561 * text.C (getRowNearY): comment out debug msg
9563 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * text2.C: first -> first_y
9567 * text.C (getRowNearY): add some attemts at a possible
9568 optimization, not working.
9570 * tabular.[Ch]: add BufferParams to several function so that newly
9571 created paragraph can be initialized to he default layotu for the
9574 * tabular-old.C (ReadOld): add buf->params to call of Init
9576 * screen.C: rename text->first to text->first_y
9578 * paragraph.C (breakParagraph): always set layout in the broken
9581 * lyxtextclass.C (Read): remove lowercase
9584 (delete_layout): ditto
9586 * lyxtext.h: rename first -> first_y
9588 * lyxlayout.C (Read): remove lowercase
9591 (obsoleted_by): ditto
9593 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9595 * buffer.C (insertErtContents): add params are to InsetERT
9596 (parseSingleLyXformat2Token): add code to check if a paragraphs
9597 layout really exist.
9598 (parseSingleLyXformat2Token): add params to several inset
9600 (asciiParagraph): remove lowercase, do the layout comparisons with
9603 * BufferView_pimpl.C (cursorNext): first -> first_y
9604 (resizeCurrentBuffer): first -> first_y
9605 (updateScrollbar): first -> first_y
9606 (scrollCB): first -> first_y
9607 (workAreaMotionNotify): first -> first_y
9608 (workAreaButtonPress): first -> first_y
9609 (checkInsetHit): first -> first_y
9610 (cursorPrevious): first -> first_y
9611 (cursorNext): first -> first_y
9612 (Dispatch): add buffer_->params to severl inset contructors
9614 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9616 * lyxlayout.C (Read): remove some debug info that I forgot.
9618 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9619 clean up the code slightly.
9620 (makeLinuxDocFile): ditto
9621 (makeDocBookFile): ditto
9623 * text2.C: layout as string
9625 * text.C: layout as string
9627 * paragraph_pimpl.C: layout as string
9629 * paragraph.[Ch]: layout as string
9631 * lyxtextclasslist.[Ch]: layout as string
9633 * lyxtextclass.[Ch]: layout as string
9635 * lyxtext.h: layout as string
9637 * lyxlayout.[Ch]: layout as string
9639 * lyx_cb.C: layout as string
9641 * bufferview_funcs.C: layout as string
9643 * bufferparams.C: layout as string
9645 * buffer.C: layout as string
9647 * LyXView.[Ch]: layout as string
9649 * LaTeXFeatures.[Ch]: layout as string
9651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9653 * BufferView_pimpl.C: change current_layout to string, remove
9658 (workAreaButtonRelease): layout as string
9660 * BufferView2.C (unlockInset): adjust
9662 * vspace.C (asLatexCommand): use an explict temp variable.
9664 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9666 * Makefile.am: use FRONTEND_*
9668 2002-03-01 Juergen Vigna <jug@sad.it>
9670 * tabular.C (SetWidthOfMulticolCell): changed to something better
9671 I hope but still work in progress.
9672 (recalculateMulticolumnsOfColumn): renamed function from
9673 recalculateMulticolCells as it is more appropriate now.
9674 (SetWidthOfCell): calculate multicols better.
9676 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9678 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9680 * lyxfunc.C (processKeySym): print sequence also if it is
9681 `deleted' (complete)
9683 * kbsequence.C (print): print sequence even if it is deleted
9684 (complete would be a better word, actually).
9686 * lyxfunc.C (dispatch): print complete options after a prefix key
9688 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9690 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9692 * text2.C (setCharFont): eliminate setCharFont code duplication.
9694 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9696 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9697 LFUN_TABULAR_FEATURE (bug #177)
9699 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9701 * Makefile.am: remove figure.h
9703 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9705 * Bufferview_pimpl.C:
9717 * text2.C: remove #include "lyx_gui_misc.h".
9719 * LaTeX.C: added #include <cstdio>
9721 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9724 that the paragraph following this one can have.
9726 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9728 * vspace.C (asLatexCommand): fix bogus gcc warning
9730 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9732 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9734 * text2.C (setLayout): get rid of redundant code
9736 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9738 * text2.C (incDepth): make sure depth cannot be increased beyond
9741 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9743 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9744 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9746 * PainterBase.h (image):
9747 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9750 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9754 * BufferView_pimpl.C:
9755 * BufferView_pimpl.h:
9775 * sp_spell.C: remove fig inset, and the crap house of
9776 cards that follows it
9778 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9784 * nt_defines.h: move .h into support/
9786 * vms_defines.h: remove
9788 * WorkArea.C: add space in debug output
9792 * buffer.C: add WITH_WARNINGS
9796 * bufferlist.C: s/retrive/retrieve/, add docs
9807 * lyxgui.C: add ID to X error handler
9809 * lyxtestclass.c: fix typo
9811 2002-02-26 Juergen Vigna <jug@sad.it>
9813 * tabular_funcs.C (write_attribute): changed so that some default
9814 attributes are not written at all.
9815 (getTokenValue): set default values before trying to read the
9816 value so we have the return value always set as default if we don't
9817 find the token we search for.
9819 * tabular.C (Write): write bools as bools not as strings!
9821 2002-02-22 Juergen Vigna <jug@sad.it>
9823 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9824 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9826 * text.C (leftMargin): don't add an indent for paragraphs inside
9827 tabular cells (fix #208).
9829 2002-02-21 José Matos <jamatos@fep.up.pt>
9831 * tabular.C (docBook): fixed support for long tables.
9833 2002-02-20 Juergen Vigna <jug@sad.it>
9835 * text2.C (getFont): get the drawing font of the Inset if this
9836 paragraph is inside an inset (only important for InsetERT for now).
9838 * buffer.C (insertErtContents): use new lanugage params in ERT
9841 * CutAndPaste.C: commenting out seemingly uneeded code.
9843 2002-02-19 Allan Rae <rae@lyx.org>
9845 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9846 Iterators might be simple to use but they also get invalidated.
9847 (removeAutoInsets): renamed saved cursor tracking variables and added
9848 some comments to clarify what everything does.
9850 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9857 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9858 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9861 * vc-backend.h: remove #include "support/syscall.h"
9865 * converter.C: rearrange #includes in Lars' approved fashion.
9867 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9868 forward declare class Timeout in the header file.
9870 * XFormsView.C: changes due to the above.
9872 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9875 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9876 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9878 2002-02-18 José Matos <jamatos@fep.up.pt>
9880 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9883 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9885 * a lot of small ws changes
9886 * add a lot of using std::XXX
9887 * use std construcs some places where approp.
9888 * use some exisint stuff from lyxfunctional where approp.
9889 * Make file changes to use partial linking (lets test this now...)
9891 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9895 remove #include "support/syscontr.h" as it's redundant. Always has been.
9903 change Systemcalls::System to Systemcalls::Wait and
9904 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9905 No change of functionality, just reflects the stripped down Systemcalls
9908 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9910 * debug.[Ch]: add a GRAPHICS type to the enum.
9912 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9914 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9916 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9919 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9921 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9922 match the changes below.
9924 * text2.C (toggleInset): if there is not editable inset at cursor
9925 position, try to see if cursor is _inside_ a collapsable inset
9928 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9931 document menu has a nice checkbox
9933 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9935 * lyxlength.C (asLatexString): change PW to output as percent of
9938 * lengthcommon.C: change '%' to 't%'
9940 * lyxfunc.C (dispatch): a few comments from Martin
9942 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView_pimpl.h:
9947 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9950 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9952 * vspace.C (inPixels): fix compiler warning
9954 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * lyxfunc.C (getStatus): fix status message for disabled commands.
9958 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9960 * BufferView_pimpl.C: fix crash on close buffer
9961 during selection (#227)
9963 2002-01-27 Herbert Voss <voss@lyx.org>
9965 * buffer.C: link old Figure to new graphic inset
9967 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9969 * FontLoader.C (getFontinfo): Change the latex font names in order
9970 to match the names of type1inst.
9972 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9976 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9979 (remove_files_with_extension): ditto
9980 (remove_file): ditto
9983 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9984 document is smaller than the work area height. Do not initialize
9985 static variables to 0.
9987 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9991 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9992 LFUN_LAYOUT_PARAGRAPHS.
9994 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9995 tabular. It is possible to provide a possible cell, which will
9996 typically be the actcell from the corresponding insettabular
9998 * lyxfunc.C (getStatus): small cleanup; disable
9999 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10002 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10004 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10006 * paragraph.C (startTeXParParams):
10007 (endTeXParParams): new methods. The LaTeX code to
10008 start/end paragraph formatting
10009 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10010 empty (fixes bug #200)
10012 * vspace.C (inPixels): adapt to the change below
10013 (inPixels): [later] more cleanups (remove unused variables)
10015 * lyxlength.C (inPixels): change to use a width and a height as
10018 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10020 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10021 Replaced with \paperwidth
10023 * DepTable.C (insert): add std:: qualifier
10025 2002-01-18 Allan Rae <rae@lyx.org>
10027 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10030 * text.C (drawInset): Turned out I didn't know enough about how
10031 rebreaking worked. This fixes most of the redraw problems. I see
10032 an occasional cursor trail when a line is broken now and the cursor
10033 placement can seem out by a few pixels also after a rebreak.
10035 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10037 * buffer.C (parseSingleLyXformat2Token): update because minipage
10038 width is now a LyXLength
10040 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10042 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10045 2002-01-17 Juergen Vigna <jug@sad.it>
10047 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10049 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10050 is set correctly and the inset is updated correctly.
10052 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10055 the beginning of the loop.
10057 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10059 * lyxrc.C: improve help for use_scalable_fonts
10061 2002-01-17 Allan Rae <rae@lyx.org>
10063 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10065 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10068 make sure to set their inset_owner to the right value (bug #171)
10070 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10073 * DepTable.C: Implement mtime checking to reduce time spent doing
10076 2002-01-16 Juergen Vigna <jug@sad.it>
10078 * tabular.C (GetAdditionalHeight): one of error fixed.
10080 * lyxrc.C (output): small fix in writing use_pspell.
10082 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10084 * sp_base.h: #include LString.h
10086 2002-01-16 Allan Rae <rae@lyx.org>
10088 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10089 Can someone check this please?
10091 * text.C (drawInset): It was possible that p.row would be removed by
10092 breakAgainOneRow upsetting a few other settings. There may be another
10093 small tweak possible by setting need_break_row = 0 when p.row has been
10094 removed but I don't know enough about the logic here.
10096 2002-01-15 Allan Rae <rae@lyx.org>
10098 * text.C (insertChar): removed conditional truism.
10100 * BufferView2.C (removeAutoInsets): More tweaks.
10101 cur_par_prev could be a stray pointer. Check for trailing empty line
10102 in case last line was cur_par and only had an error inset on it.
10104 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10106 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10109 * vc-backend.C (most methods):
10110 * exporter.C (Export):
10111 * converter.C (convert):
10113 * LyXSendto.C (SendtoApplyCB):
10114 * lyxfunc.C (dispatch):
10118 * lyx_cb.C (AutoSave):
10120 * BufferView_pimpl.C (MenuInsertLyXFile):
10121 * buffer.C (runChktex): use Buffer::filePath().
10123 * buffer.h: rename filename to filename_; rename filepath to
10124 filepath_ and make it private
10125 (filePath): new method
10127 * buffer.C (writeFile): use fileName()
10130 * lyx_main.C (init): fix starting of LyX when the binary is a
10131 link from so,ewhere else.
10133 * minibuffer.C: include <cctype> for isprint
10135 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10137 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10138 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10139 name clash with InsetCollapsable's width function.
10141 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10143 * lastfiles.C: include <iterator>
10145 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10147 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10150 * buffer.C (makeLaTeXFile): ditto.
10151 Also make loop operation more transparent.
10153 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10155 * ToolbarDefaults.C: remove trailing comma closing namespace.
10157 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10159 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10162 * trans.C (Load): comment out unused variable, allowed.
10164 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10166 * minibuffer.[Ch] (append_char): new method to recieve input from the
10167 drop-down completion browser. If a key was pressed, then recieve this
10168 char and append it to the existing string.
10169 (peek_event): modify the positioning data passed to the completion
10170 browser so that it can be placed above the minibuffer rather than below.
10171 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10173 * LyXAction.C (init): alloe error-next for readonly documents.
10175 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10178 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * bufferlist.C (readFile): create the buffer _after_ checking that
10183 * lyxfunc.C (verboseDispatch): fix handling of arguments
10185 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10187 * lyxrc.C: use string::erase() instead of initializing to "".
10190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10192 * BufferView_pimpl.h:
10193 * BufferView_pimpl.C:
10196 * text2.C: tell X when we have made a selection for copying
10198 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10200 * BufferView_pimpl.C (MenuInsertLyXFile):
10201 * lyxfunc.C (menuNew):
10203 (doImport): add shortcuts to directory buttons
10205 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10208 * lyxfunc.C (setStatusMessage):
10209 (getStatusMessage): new methods
10210 (getStatus):use setStatusMessage instead of setErrorMessage
10211 (dispatch): when function is disabled, set error message here
10212 [instead of in getStatus previously]
10214 * BufferView_pimpl.C (workAreaButtonRelease): update
10215 toolbar/menubar here too.
10217 2002-01-13 Allan Rae <rae@lyx.org>
10219 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10220 Now seems indestructible. Remaining task is to audit all other
10221 code affected by deleteEmptyParagraphMechanism. One small quirk
10222 left is that an empty document with an error in the preamble can
10223 be made to report an error but no error box appears. I don't know
10225 (removeAutoInsets): Improved comments.
10227 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10230 * Thesaurus.C: update for Aiksaurus 0.14
10232 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * text2.C (firstParagraph): removed member function, all uses
10235 replaces with ownerParagraph
10236 (redoParagraphs): here
10237 (updateInset): here
10238 (toggleAppendix): here
10239 * BufferView2.C (insertErrors): here
10240 (setCursorFromRow): here
10242 2002-01-13 Allan Rae <rae@lyx.org>
10244 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10245 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10246 There is still a way to segfault this although you may have to do this
10247 multiple times: Have an InsetERT with an unknown command in it.
10248 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10249 <down-arrow>, <Enter> again, View->DVI, BANG!
10251 * text2.C (setCursor):
10252 (deleteEmptyParagraphMechanism):
10253 * lyxtext.h (setCursor):
10254 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10255 Making use of the return value may help fix other bugs.
10257 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10259 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10261 * LyXView.C (updateMenubar): call MenuBar::update here
10262 (updateToolbar): but not here
10263 (showState): do not update toolbar/menubar
10265 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10266 should need to care about that.
10268 * lyxfunc.C (verboseDispatch): simplify a bit
10269 (getStatus): have a version which takes a pseudoaction, and
10270 another which requires a (kb_action,string).
10272 * LyXAction.C (retrieveActionArg): make it work also when action
10273 is not a pseudo-action.
10274 (getActionName): simplify a bit
10277 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * lyxfunc.C (verboseDispatch): new families of methods with
10280 several ways to specify a command and a bool to indicate whether
10281 the command name and shortcut should be displayed in minibuffer
10282 (eventually, we could extend that to a finer bitmask like
10283 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10284 (dispatch): the pristine dispatch command which just, well,
10285 dispatchs! Note it still sets its result to minibuffer; I'm not
10288 * lyxfunc.h: remove setHintMessage
10290 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10292 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10294 * BufferView_pimpl.C (specialChar): delete new inset if we have
10295 not been able to insert it.
10297 * kbmap.C: revert to using int instead of kb_action, since all we
10298 are dealing with is pseudo-actions.
10300 * LyXAction.C (searchActionArg): change to return int instead of
10301 kb_action, since the result is a pseudoaction.
10303 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10305 * buffer.C (insertErtContents): Fix (partially) the font bug.
10307 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10309 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10310 as the other one is broken on my machine!
10312 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10315 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10317 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10319 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10320 reflect their actual use. Provide compatibility code for older lyxrc
10323 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10325 change names of popup font variables in line with the changes to lyxrc.C
10327 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * buffer.C (asciiParagraph): avoid outputing a word twice after
10332 * lyxrc.C (getDescription): document that document_path and
10333 template_path can be empty.
10335 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10337 * LaTeXFeatures.C (getMacros):
10338 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10340 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10342 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10344 (getPackages): rename feature "floats" to "float". Use an array to
10345 iterate over 'simple' features (i.e. just a \usepackage). Add
10346 handling of "amsmath" (renamed from "amsstyle").
10348 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10350 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10353 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10355 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10356 FuncStaus::FuncStatus & FuncStaus::some_method().
10358 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10360 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10361 of the func_satus stuff. Edited and massaged in various ways by
10364 * lyxfunc.C (getStatus): use FuncStatus
10366 2002-01-08 Juergen Vigna <jug@sad.it>
10368 * text.C (nextBreakPoint): use function Inset::isChar().
10370 * paragraph.C (TeXOnePar): use function
10371 Inset::forceDefaultParagraphs.
10373 * buffer.C (latexParagraphs): use function
10374 Inset::forceDefaultParagraphs.
10376 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10378 * lyx_gui.C (init): set the style of the menu popups to
10379 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10381 2002-01-07 Juergen Vigna <jug@sad.it>
10383 * text.C (setHeightOfRow): small fix
10384 (prepareToPrint): don't look at alignment if we don't have the place
10387 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10389 * box.C: New file. Move the Box methods and functions out of box.h,
10390 following Lars' suggestion.
10392 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10394 * box.h: #include "support/LOstream.h", needed for inlined function.
10397 * lyxtextclasslist.C: added some using std declarations.
10399 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10401 * box.h: make signed dimensions to allow insets wider than
10402 the screen (bug #162)
10404 * BufferView_pimpl.C: add some insetHit debug
10406 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10408 * vc-backend.C: add FIXME
10410 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * lyxfunc.C (getStatus): enable code for showing math font status
10415 2002-01-07 Juergen Vigna <jug@sad.it>
10417 * text.C (nextBreakPoint): removed debug output not needed anymore.
10419 2002-01-06 Juergen Vigna <jug@sad.it>
10421 * text.C (nextBreakPoint): fixed up this function we had this bug
10422 since ever but now hopefully we break row better.
10423 (insertChar): we have to check if an inset is the next char as it
10424 could now happen that a large inset is causing a break.
10426 2002-01-05 Juergen Vigna <jug@sad.it>
10428 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10429 if it doesn't like to be drawed.
10431 2002-01-04 Juergen Vigna <jug@sad.it>
10433 * BufferView2.C (lockInset): forgot to set a cursor.
10435 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10437 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10439 * FormMathsPanel.C:
10442 * form_maths_panel.C:
10443 * form_maths_panel.h:
10444 * form_maths_panel.fd: implemented sub- and super- buttons in math
10447 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10448 (or ^ space) to be used as in TeX (req'd by André).
10450 * lyxfunc.C: Allow ^ and _ again to be used both as
10451 super/subscript (mathed) and as themselves (in text).
10453 2002-01-03 Allan Rae <rae@lyx.org>
10455 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10456 "LyX" or the filename of the current buffer if it has one. This is a
10457 modified form of John Levon's patch.
10459 * XFormsView.C (setWindowTitle): also set icon title.
10461 * LyXView.h (setWindowTitle): signature changed.
10462 * XFormsView.h (setWindowTitle): ditto.
10464 2002-01-02 Juergen Vigna <jug@sad.it>
10466 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10468 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * screen.C (topCursorVisible): introduce a temp var for
10471 text->cursor.row(), handle the case where this row is null. (kindo
10474 * text2.C (setCursor): add a couple of asserts.
10476 * paragraph.h (inset_iterator): add -> operator
10478 * paragraph.[Ch] (autoDeleteInsets): remove member function
10480 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10481 cursor pos correctly and handle inset deletion by itself.
10482 (insertErrors): move iterator declaration out of for expression
10484 * lyxtextclass.C: add <algorithm>
10486 * Makefile.am: added the new files to sources, removed layout.C
10488 * layout.C: removed file
10490 * layout.h: remove LYX_DUMMY_LAYOUT
10492 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10496 * lyxtextclass.[Ch]:
10497 * lyxtextclasslist.[Ch]: new files
10499 * include order changes to a lot of files, also changes because of
10502 2001-12-27 Juergen Vigna <jug@sad.it>
10504 * buffer.C (asciiParagraph): more fixes.
10506 * tabular.C (ascii): make ascii export support export of only the
10507 data separated by a column-delimiter.
10508 (ascii): better support for ascii export.
10510 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10512 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10514 * tabular_funcs.C: use a "using std::getline" instead of the
10515 previous fix from Angus (necessary for cxx + lyxstring)
10517 2001-12-24 Juergen Vigna <jug@sad.it>
10519 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10521 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10522 problems. First check a minipage also if we have some ert-contents
10523 (not only on par->size(), second set the right depth of the paragraph
10524 on the relink to the root-paragraph-list!
10526 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10527 which then did not anymore update the main paragraphs on undo/redo!
10529 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10531 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10532 code. Support all font-changing funcs (even those which are not in
10533 menu currently). Support for reporting font settings in
10534 mathed (disabled until Andre provides a function on mathed's side).
10536 * func_status.h (toggle): small helper function to set toggle
10539 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10541 * tabular_funcs.C: getline -> std::getline
10543 2001-12-21 Juergen Vigna <jug@sad.it>
10545 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10546 accessed and could be 0 (I couldn't generate this but it seems
10549 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10551 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10552 * tabular_funcs.h: here and include iosfwd
10554 2001-12-20 Juergen Vigna <jug@sad.it>
10556 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10557 inside inset but undo_par was.
10559 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10561 * Thesaurus.C: always include <config.h> in sources.
10565 * box.h: do not include <config.h> in header files
10567 * text.C (paintLastRow): remove unused variable
10569 * text.C (transformChar):
10571 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10573 * Painter.C (text):
10574 * font.C (width): rewrite to use uppercase() instead of
10577 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10579 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10581 * lyxfind.C: clean up of find failure position change
10583 2001-12-20 Juergen Vigna <jug@sad.it>
10585 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10587 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10588 (TeXRow): added to LaTeX a single tabular row.
10589 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10590 (Latex): simplified and finally good LT-h/f support.
10591 (various_functions): just small adaptions for LT-h/f support.
10593 * tabular_funcs.[hC]: added and moved here all not classfunctions
10596 2001-12-19 Juergen Vigna <jug@sad.it>
10598 * tabular.[Ch]: better support for longtabular options (not finished
10601 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * text.C (paintLastRow): use the label font instead of the font of
10604 the last character to compute the size of *_BOX. This makes more
10605 sense and avoids a crash with empty paragraphs.
10606 Use Painter::rectangle to draw EMPTY_BOX.
10608 2001-12-19 Juergen Vigna <jug@sad.it>
10610 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10611 the paragraphs if the replaced paragraph is not the first one!
10612 Tried to delete not used paragraphs but does not work yet so for
10613 now it's inside #ifdef's and by default off!
10615 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10617 * MenuBackend.C: include "lyx_main.h" instead of declaring
10618 lastfiles (actually was declared as LastFiles* instead of a
10621 2001-12-17 Juergen Vigna <jug@sad.it>
10623 * tabular.C (AppendColumn): applied John's fix
10625 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10629 * BufferView_pimpl.h:
10630 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10633 * box.h: new start of class for above
10635 * lyxfunc.C: ignore space-only minibuffer dispatches.
10636 Show the command name when it doesn't exist
10638 * minibuffer.C: don't add empty lines to the history
10640 * minibuffer.C: add a space on dropdown completion
10642 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10644 * text.C: fix line above/below drawing in insets
10646 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * lyxlength.C (LyXLength): Initialize private variables.
10650 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10653 when inserting error insets.
10655 2001-12-13 Juergen Vigna <jug@sad.it>
10657 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10658 actually sometimes the before-paragraph.
10659 (setUndo): don't clear the redostack if we're not actually undoing!
10661 2001-12-06 Juergen Vigna <jug@sad.it>
10663 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10664 and fixed redoing of main paragraph, so we can use it now ;)
10666 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10668 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10673 2001-12-13 André Pönitz <poenitz@gmx.net>
10676 * undo_func.C: minor cleanup
10678 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10681 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10682 font in urw-fonts package which is marked as -urw-fontspecific and
10683 does not work (incidentally, changing the encoding in the
10684 fonts.dir of this package to -adobe-fontspecific fixes the
10687 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10688 is a crash when undoing first paragraph (Juergen, please take a
10689 look). THis does not mean the undo fix is wrong, just that it
10692 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10693 the (Paragraph*) version when needed instead of duplicating the
10696 * text.C (workWidth): use Inset::parOwner to find out where the
10697 inset has been inserted. This is a huge performance gain for large
10698 documents with lots of insets. If Inset::parOwner is not set, fall
10699 back on the brute force method
10701 * paragraph_pimpl.C (insertInset):
10702 * paragraph.C (Paragraph):
10703 (cutIntoMinibuffer): set parOwner of insets when
10704 inserting/removing them
10706 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10708 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10714 * mathed/formulabase.C:
10715 * mathed/math_cursor.[Ch]:
10716 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10719 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10721 * lyxlength.[Ch] (operator!=): new function
10723 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10725 * text.C (workWidth): use Inset::parOwner to find out where the
10726 inset has been inserted. This is a huge performance gain for large
10727 documents with lots of insets. If Inset::parOwner is not set, fall
10728 back on the brute force method
10730 * paragraph_pimpl.C (insertInset):
10731 * paragraph.C (Paragraph):
10732 (cutIntoMinibuffer): set parOwner of insets when
10733 inserting/removing them
10735 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10737 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10739 * tabular-old.C (getTokenValue):
10740 * tabular.C (getTokenValue):
10741 (write_attribute): new versions for LyXLength
10742 (everywhere): adjust the use of widths
10744 * tabular.h: change the type of widths from string to LyXLength
10746 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10748 * paragraph.C: fixed missing line number count when exporting
10749 Environments to LaTeX file
10751 * buffer.C: added informational message for checking line numbers.
10753 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10755 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10756 paragraph, do the 'double space' part, but not the 'empty
10759 * text.C (workWidth): small optimization
10760 (getLengthMarkerHeight): use minimal size for negative lengths.
10762 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10764 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10766 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10768 2001-12-11 André Pönitz <poenitz@gmx.net>
10771 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10773 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10775 * text2.C: keep selection on a setFont()
10777 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10779 * lyx_cb.C: another bv->text misuse, from insert label
10781 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10784 * kbsequence.C: re-instate nmodifier mask
10786 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10788 * lyx_main.h: make lyxGUI private.
10790 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10792 * lyxfind.C: place the cursor correctly on failed search
10794 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * text.C (getLengthMarkerHeight): for small heights, the arrows
10797 are not always on top/bottom of the text
10798 (drawLengthMarker): smaller arrows; take the left margin in
10799 account; draw also vfills.
10801 (paintLastRow): remove special code for vfill and standard spaces,
10802 since everything is handled in drawLengthMarker now.
10804 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10806 * buffer.C (insertErtContents): try to handle font and language
10807 interaction a bit better.g
10809 * ColorHandler.C (updateColor): change the hash to cover the whole
10810 LColor enum, ws cleanup
10811 (getGCLinepars): ditto
10812 (getGCLinepars): only lookup in the linecache once.
10814 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10816 * iterators.C (operator++): Make the iterator more robust
10818 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10820 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10822 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10825 * text.C: better added space drawing
10827 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10830 * BufferView2.C: fix layout combo update on inset unlock
10832 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10834 * Makefile.am: don't compile unused files
10836 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10840 * LyXAction.C: remove old LFUN_LAYOUTNO
10842 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10844 * paragraph_pimpl.h:
10845 * paragraph_pimpl.C: isTextAt() doesn't need font param
10847 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10850 * lyxlex.C: little cleanup
10852 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10854 * BufferView_pimpl.C: fix insertAscii for insets
10856 2001-12-05 Juergen Vigna <jug@sad.it>
10858 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10859 set the right font on the "multi" paragraph paste!
10861 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10867 * lyxlength.C: remove out-commented code.
10869 * BufferView_pimpl:
10883 * vc-backend.C: change "while(" to "while ("
10885 * lyxlength.[Ch]: add zero function to check if length is zero or
10887 * lyxgluelength.C: use it
10889 2001-12-05 Allan Rae <rae@lyx.org>
10891 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10892 Works for 2.95.3, from what I understand of Garst's reports this should
10893 work for other g++ versions. We're screwed if the abs(int) definition
10894 changed between bugfix releases of gcc.
10896 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10898 * text.C: fix chapter label offset !
10900 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10903 * text.C: fix hfill at end of line, clean up
10905 2001-12-04 Juergen Vigna <jug@sad.it>
10907 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10908 that we force an update of the inset and it's owners if neccessary.
10910 2001-12-03 Juergen Vigna <jug@sad.it>
10912 * text.C (rowLast): simplified code
10914 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10916 * lyxfunc.C: fix show options on timeout
10918 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10920 * screen.C (topCursorVisible): scroll half a page when the cursor
10921 reached top of bottom of screen
10923 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10925 * minibuffer.C: deactivate on loss of focus
10927 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10929 * vspace.[Ch] (operator!=): add operator.
10931 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10933 * BufferView_pimpl.C: refuse to open an inset when
10934 there's a selection.
10936 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10938 * BufferView_pimpl.C: allow to click on RHS of full row insets
10940 2001-11-30 Juergen Vigna <jug@sad.it>
10942 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10943 insets for undo reasons.
10945 2001-11-28 André Pönitz <poenitz@gmx.net>
10947 * vspace.[Ch]: cosmetical changes
10949 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10959 * kbsequence.C: part re-write of old kb code
10962 * WorkArea.C: remove Lgb_bug_find_hack
10964 2001-11-30 José Matos <jamatos@fep.up.pt>
10966 * buffer.C (makeDocBookFile): add a comment to point a hack.
10967 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10968 Fixed a double write of labels.
10970 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10973 * LaTeX.h Fixed bug in LaTeX class where it would not
10974 re-run latex if no depfiles were changed, but the .dvi was removed.
10976 2001-11-28 André Pönitz <poenitz@gmx.net>
10978 * all the files from the change on 2001/11/26:
10979 use lyx::layout_type instead of LyXTextClass::size_type
10980 use lyx::textclass_type instead of LyXTextClassList::size_type
10982 2001-11-29 Juergen Vigna <jug@sad.it>
10984 * text.C: added support for paragraph::isFreeSpacing()
10986 * buffer.C: same as above
10988 * paragraph.h: inserted isFreeSpacing() function to enable
10989 FreeSpacing inside InsetERT.
10991 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10992 of the paragraph's in the cut/copy buffer to 0!
10994 * text2.C (removeRow): remove the assert as it can!
10996 * lyxtext.h: added helper function firstRow returning firstrow and
10997 made firstrow private again.
10999 * BufferView2.C (lockInset): don't relock if we're already locked!
11001 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11002 the only paragraph.
11003 (removeRow): added Assert::(firstrow)
11005 * debug.C: forgot to add INSETTEXT here.
11007 2001-11-28 Juergen Vigna <jug@sad.it>
11009 * sp_spell.C (initialize): changed error text to more general
11010 spellchecker command use (not only ispell!)
11012 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11014 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11016 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11018 * vspace.C: initialise lyxgluelength on failure
11020 2001-11-28 Allan Rae <rae@lyx.org>
11022 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11023 declaration & definition that looks like a function declaration.
11025 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11027 * BufferView2.C (copy):
11028 (copyEnvironment): do not clear the selection when doing a copy.
11030 * text.C (paintFirstRow): compilation fix
11032 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11034 * tabular.C (Latex): correct line count when writing latex.
11036 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11038 * paragraph_pimpl.h:
11039 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11042 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11046 * LColor.C: change vfillline->added_space
11048 * text.C: add markers and text for added space
11050 * vspace.C: fix comment
11052 2001-11-28 André Pönitz <poenitz@gmx.net>
11054 * paragraph.C: whitespace changes
11055 * all the other files from the change on 2001/11/26:
11056 change *::pos_type into lyx::pos_type
11058 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11060 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11061 language of the document when inserting error insets.
11063 2001-11-26 André Pönitz <poenitz@gmx.net>
11065 * BufferView_pimpl.[Ch]:
11073 * paragraph_pimpl.[Ch]:
11076 * text2.C: reduce header dependencies, introduce type for positions
11078 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11080 * <various>: change to use Alert.h
11082 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11084 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11085 when encountering an unknown token.
11086 (readLyXformat2): Show an error message if there were unknown tokens.
11088 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11091 * BufferView_pimpl.C:
11095 * text2.C: use par->isInset()
11097 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11099 * paragraph_pimpl.h:
11100 * paragraph_pimpl.C: cleanup
11102 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11104 * text2.C (removeRow):
11105 * text.C (setHeightOfRow): remove useless (and costly) call to
11108 2001-11-20 Allan Rae <rae@lyx.org>
11110 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11111 Now need Inset*::checkInsertChar() to return true for appropriate
11112 cases so that the characters in the minibuffer will actually be
11115 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11117 * text.C: change the order of the includes.
11118 (workWidth): initialize it at once.
11119 (workWidth): make maxw unsigned
11120 (setHeightOfRow): remove unused variable (inset)
11121 (selectSelectedWord): remove unused variable (inset)
11122 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11124 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11126 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11127 server is not running.
11129 (closeConnection): add debug info when server is disabled.
11131 * ColorHandler.C (getGCForeground): send debug message to GUI
11134 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11136 * kbmap.C (bind): modify because return conventions of
11137 kb_sequence::parse have changed.
11139 * kbsequence.C (parse): only ignore spaces and not any stupid
11140 control character. This avoids tests like s[i] <= ' ', which are
11141 guaranteed to fail with 8bit characters and signed chars.
11142 Change return code to string::npos when there have been no error
11143 (0 was a bad idea when error is at first character)
11145 2001-11-14 José Matos <jamatos@fep.up.pt>
11148 * buffer.C (simpleDocBookOnePar): removed unused argument.
11150 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11152 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11153 insets which are part of a word. Paragraph::isLetter takes care of
11154 that now. Use Paragraph::isInset to identify insets.
11155 (selectSelectedWord): do not test for hyphenation break.
11157 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11158 that protected spaces are considered as spaces.
11160 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11163 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11166 * lyxserver.C: fix it. and small cleanup.
11168 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11170 * BufferView_pimpl.C: use inline helpers
11173 * LaTeXFeatures.C: fix typos
11176 * Spacing.C: move spacing_string into class
11178 * ToolbarDefaults.C: move stuff into namespace anon
11180 * layout.h: update enum
11182 * lyxfunc.C: use better debug
11184 * minibuffer.h: fix typo
11188 * WorkArea.C: add and use Debug::WORKAREA
11192 * text2.C: code re-organisation, inline helpers
11194 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11196 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11197 std::vector.empty().
11199 2001-11-09 Allan Rae <rae@lyx.org>
11201 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11202 '\n's after tables. Tabular and ERT inset work now makes this no
11205 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11208 * minibuffer.C: fix crash, improve drop-down completion
11210 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11213 * lyxserver.C: invalidate fd's when doing endPipe()
11215 2001-11-08 José Matos <jamatos@fep.up.pt>
11217 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11218 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11221 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11223 2001-11-07 José Matos <jamatos@fep.up.pt>
11226 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11229 * buffer.C (sgmlOpenTag):
11230 * buffer.C (sgmlCloseTag): removed debug info.
11232 * buffer.h (sgmlOpenTag):
11233 * buffer.h (sgmlCloseTag): made public.
11235 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11237 * buffer.C (saveParamsAsDefaults):
11238 * lyx_cb.C (MenuLayoutSave): remove
11240 * LyXAction.C (init):
11242 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11244 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11246 * buffer.C (setPaperStuff): removed from here...
11248 * bufferparams.C (setPaperStuff): ... and moved there.
11250 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11254 * XFormsView.C: add support for drop-down completion
11256 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11258 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11261 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11263 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11266 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11268 * lyx_main.C: change ref to known bugs
11270 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11272 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11273 to work around older babel problems.
11275 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11277 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11279 2001-10-24 Juergen Vigna <jug@sad.it>
11281 * tabular-old.C (ReadOld): below variable changes reflected.
11283 * tabular.[Ch]: added ltType struct for longtable header/footer
11284 defines and changed all instances where they are used. Added
11285 future support for double top/bottom rows.
11287 2001-10-24 José Matos <jamatos@fep.up.pt>
11289 * buffer.h (docbookHandleCaption):
11290 * buffer.C (docbookHandleCaption): removed unused function.
11291 (makeDocBookFile): moved docbook supported version to v4.1.
11293 2001-10-24 José Matos <jamatos@fep.up.pt>
11296 * tabular.C (docbookRow): new function to export docbook code of a row.
11297 (DocBook): now honors the longtable flags.
11299 2001-10-23 José Matos <jamatos@fep.up.pt>
11302 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11303 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11305 * buffer.C (makeLinuxDocFile):
11306 (makeDocBookFile): reworked the preamble, more clean, and with
11307 support for lyx defined entities. Changed the document declaration
11308 to be more XML friendly.
11310 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11311 if we need to output XML that should be done with a filter.
11313 2001-10-22 Juergen Vigna <jug@sad.it>
11315 * sp_pspell.h (class PSpell): add alive function needed in the
11316 controller to see if the spellchecker could be started.
11318 2001-10-22 Juergen Vigna <jug@sad.it>
11320 * buffer.C (insertStringAsLines): modify the font for inserting
11321 chars in certain conditions by calling checkInsertChar(font).
11323 2001-10-19 Juergen Vigna <jug@sad.it>
11325 * text.C (workWidth): use getRow instead of wrong algorithm.
11326 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11328 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11333 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11335 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11337 * text.C (workWidth): do not search for the exact row when
11338 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11339 optimization for big documents.
11341 2001-10-18 Juergen Vigna <jug@sad.it>
11343 * text.C (workWidth): new function with added Inset * parameter.
11345 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11347 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11349 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11350 change return type of getColumnNearX.
11353 * text.C (changeRegionCase): use uppercase/lowercase instead of
11356 (rightMargin): simplify code by factoring out the uses of
11361 (appendParagraph): use Paragraph::size_type
11363 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11365 * vspace.C (asLatexString): add a missing break
11367 2001-10-15 Herbert Voss <voss@perce.de>
11369 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11371 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11373 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11376 2001-10-10 André Pönitz <poenitz@gmx.net>
11378 * lyxfunc.C: removed greek_kb_flag.
11380 2001-10-10 Herbert Voss <voss@perce.de>
11382 * lyx_main.C: delete global string help_lyxdir.
11384 2001-10-09 Herbert Voss <voss@perce.de>
11386 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11388 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11390 * lyx_main.C: added global string help_lyxdir.
11392 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11394 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11396 * lyxrc.C (set_font_norm_type): support iso8859-4
11398 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11400 * LaTeX.C (deplog): add another regex for MikTeX
11402 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11404 * lyxrc.C (set_font_norm_type): support iso8859-3
11406 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11408 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11410 * LaTeXFeatures.C: remove special case of french and index
11412 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11413 before \begin{document}). This solves several incompatibilities.
11415 2001-10-03 Garst Reese <reese@isn.net>
11417 * lyx_cb.C: change CheckTex error msg.
11419 2001-10-03 José Matos <jamatos@fep.up.pt>
11421 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11423 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11425 * .cvsignore: update
11427 * lyx_main.C (commandLineVersionInfo): use new style version info.
11429 * buffer.C (writeFile):
11431 (makeLinuxDocFile):
11432 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11434 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11436 * version.h: update to use stuff in version.C
11438 * version.C.in: new file. Contains version information determined
11439 at compile time. This is a merging of version.h and
11442 2001-10-03 Juergen Vigna <jug@sad.it>
11444 * BufferView_pimpl.C (update): don't change "dirty" status in
11447 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11449 * WorkArea.C (c-tor): re-position version string slightly.
11451 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11453 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11454 revert to previous code.
11456 WorkArea.[Ch]: (show, destroySplash): methods removed.
11458 WorkArea.C: rework code so that it's an amalgam of the codes before and
11459 after the splash screen was moved to WorkArea.
11461 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11464 * vspace.C (inPixels):
11467 * buffer.C (insertStringAsLines):
11468 (asciiParagraph): fix types to be large enough
11470 * lyxlex_pimpl.h: change member status from short to int
11472 * layout.h: fix type of endlabeltype
11475 * kbsequence.C (parse): change return type to string::size_type
11477 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11480 * Bullet.C (bulletSize):
11481 (bulletEntry): do not use short ints as parameters
11483 * BufferView2.C (insertLyXFile): change a char to an int.
11485 * WorkArea.C (WorkArea): remove unneeded floats in computation
11487 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11489 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11491 * paragraph.C (asString): Do not ignore newline/hfill chars when
11492 copying to the clipboard.
11494 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11496 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11497 after a multi-line inset.
11499 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11501 * paragraph.C (validate): Set NeedLyXFootnoteCode
11503 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11505 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11506 and decrease-error to decrease.
11508 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11510 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11511 it more readable (should be equivalent)
11513 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11515 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11517 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11519 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11520 of a cursor (row, etc.) after a character has been deleted
11521 (deleteEmptyParagraphMechanism): call the method above on _all_
11522 cursors held by the LyXText when a double space has been
11525 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11527 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11529 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11531 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11532 background. Use greyOut() and the new show() methods to toggle between
11533 the foreground and background. Add code to remove the splash after
11534 its initial showing.
11536 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11537 (create_forms): no longer call Dialogs::showSplash.
11539 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11541 * .cvsignore: add version_info.h
11543 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11545 * version_info.h.in: new file
11547 * Makefile.am: add version_info.h.in
11549 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11550 version_info.h instead of VERSION_INFO
11552 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11554 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11555 The ERT inset now returns string().
11557 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11559 * lyxtext.h, text.C (selectNextWord): renamed as
11560 selectNextWordToSpellcheck.
11562 * text.C (selectNextWordToSpellcheck): Modified to not select
11563 words inside an ERT inset.
11565 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11567 * lyx_cb.C (MenuLayoutSave): change a bit the question
11569 * sp_base.h: include <sys/types.h>
11571 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11573 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11575 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11577 * several files: fix typos in user-visible strings
11579 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11581 * text2.C (pasteSelection): do not set the selection, since it
11582 will be cleared later. Actually, the intent was to fix the way the
11583 selection was set, but I figured rmoving the code was just as good.
11585 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11587 * FontLoader.C (available): Check if font is available without
11590 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11592 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11594 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11596 * lyxrc.[Ch]: added display_graphics variable and associated code.
11598 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11600 * bufferparams.C (hasClassDefaults): new method. Returns true if
11601 the buffer parameters correspond to known class defaults
11603 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11605 * XFormsView.C (show): set minimum size to the main window.
11607 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11609 * text2.C (copySelection):
11611 * lyxfind.C (LyXReplace):
11612 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11613 LyXText::selectionAsString.
11615 * paragraph.C (asString): add "label" argument to the second form
11617 * text2.C (selectionAsString): add "label" argument and pass it to
11618 Paragraph::asString.
11620 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11622 * lyx_main.C (commandLineHelp): remove version information
11624 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11626 * lyx_main.C: add -version commandline option
11628 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11630 * paragraph.h: make the optional constructor arg required instead.
11631 some modifications to other files because of this.
11633 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11635 * lyxserver.C (C_LyXComm_callback): make it static
11637 * lyx_main.C (error_handler): make it static
11639 * lyx_gui.C (LyX_XErrHandler): make it static
11641 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11643 * WorkArea.C: make the extern "C" methods static.
11645 * Makefile.am (lyx_LDADD): simplify
11647 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11649 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11650 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11652 * LyXAction.C (init):
11653 * lyxfunc.C (dispatch): associated code removal.
11655 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * lyxfont.h (isSymbolFont): shut off warning
11659 * text.C (setHeightOfRow):
11660 (getVisibleRow): fix crash with empty paragraphs which have a
11663 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11665 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11668 2001-09-04 José Matos <jamatos@fep.up.pt>
11671 * tabular.C (docbook): rename docBook method to docbook.
11673 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11675 * Makefile.am: add dependencies to main.o.
11677 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11679 * FontLoader.C (available): Return false if !lyxrc.use_gui
11681 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11683 * FontInfo.C (query):
11684 * converter.C (view):
11685 * importer.C (Import):
11686 * exporter.C (Export): Can not -> cannot.
11688 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11690 * BufferView_pimpl.C: allow to create index inset even if
11693 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11695 * buffer.C (getLists): replace boost::tie code with an explicit pair
11696 as boost::tie can break some compilers.
11698 * iterators.h: Added a std:: declaration to the return type of
11701 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11703 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11706 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11708 * iterators.[Ch]: New files. Provide paragraph iterators.
11710 * buffer.C (changeLanguage): Use paragraph iterators.
11711 (isMultiLingual): ditto
11713 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11715 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11717 * FontLoader.C: Support for cmr font.
11719 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11721 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11722 (available): New method.
11724 * FontInfo.C (getFontname): Use scalable fonts even when
11725 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11728 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11730 * converter.C (Formats::view): reverted! Incorrect fix.
11732 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11734 * converter.C (Formats::view): only output the -paper option
11735 if the dvi viewer is xdvi, thereby fixing bug #233429.
11737 2001-08-23 Herbert Voss <voss@perce>
11739 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11741 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11743 * Spacing.h (Spacing): Set space to Default on in the default
11746 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * vc-backend.h (RCS::versionString): add RCS to version
11749 (CVS::versionString): add CVS to version
11751 * vc-backend.C (scanMaster): do not add CVS to version.
11752 (scanMaster): do not add RCS to version
11754 * lyxvc.C (versionString): new method
11756 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11758 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * Spacing.C (set): initialize fval
11762 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11764 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11767 2001-08-16 Juergen Vigna <jug@sad.it>
11769 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11771 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11773 * BufferView_pimpl.C:
11776 * text2.C: setParagraph takes linespacing now
11778 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11780 * LyxAction.C: add internal LFUN_CITATION_INSERT
11782 * LyXView.C: actually apply fix
11784 * bufferlist.C: fix open non-existent file
11786 * lyxfind.C: fix indentation
11788 * lyxfunc.C: remove unneeded assert, fix typo
11790 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11792 * MenuBackend.C: use "Floatname List"
11794 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11796 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11797 when converting LaTeX layout to insetERT.
11798 Generate a non-collapsed float when reading old float
11800 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11802 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11805 2001-08-13 Juergen Vigna <jug@sad.it>
11807 * text.C (fill): return 0 instead of 20 as this seems to be the more
11810 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11812 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11815 2001-08-13 Juergen Vigna <jug@sad.it>
11817 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11819 (SearchBackward): comment out the unlocking of the inset_owner this
11820 should not be needed!
11822 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11824 * Many files: Remove inherit_language, and add latex_language
11826 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11827 collapsible insets.
11829 2001-08-10 Juergen Vigna <jug@sad.it>
11831 * text.C (prepareToPrint): fixed hfill-width in draw!
11833 * BufferView2.C (selectLastWord): save the selection cursor as this
11834 now is cleared in the function LyXText::clearSelection!
11836 2001-08-08 Juergen Vigna <jug@sad.it>
11838 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11839 BACKSPACE type functions.
11841 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11842 is only cutted from the document but not put in the cut-buffer, where
11843 still the old stuff should be.
11845 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11847 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11849 * tabular.C (SetWidthOfCell): fixed special case where the width
11851 (LeftLine): handle '|' in align_special.
11853 (LeftAlreadyDrawed): ditto
11854 (SetWidthOfCell): ditto
11856 2001-08-07 Juergen Vigna <jug@sad.it>
11858 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11860 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11863 * lyxlex.[hC]: ditto
11865 2001-08-06 Juergen Vigna <jug@sad.it>
11867 * text.C (getVisibleRow): fix up row clearing a bit.
11869 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * minibuffer.C: make sure the X server sees the changes in the input.
11873 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11875 * paragraph.C (getFont): split into...
11876 (getLabelFont): this
11877 (getLayoutFont): and this
11878 * paragraph_pimpl.C (realizeFont): calling this
11880 * text2.C (getFont): split into...
11881 (getLayoutFont): this
11882 (getLabelFont): and this
11883 (realizeFont): all three calling this
11885 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11888 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11890 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11892 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11894 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11895 layouts from the Quote inset insertion.
11897 2001-08-03 Juergen Vigna <jug@sad.it>
11899 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11901 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11902 only if status not is already CHANGED_IN_DRAW (second level).
11904 * text.C (draw): don't set the need_break_row when inside an
11907 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11909 * buffer.C (parseSingleLyXformat2Token): handle more latex
11912 * bufferview_funcs.[hC]: change function names to
11913 begin with small char, adjust other files.
11915 2001-08-02 André Pönitz <poenitz@gmx.net>
11918 BufferView_pimpl.C: remove broken special code for math-greek
11920 2001-08-02 Juergen Vigna <jug@sad.it>
11922 * BufferView_pimpl.C (update): redone this function so that we
11923 update the text again if there was a CHANGE_IN_DRAW.
11925 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11926 (drawFromTo): added a new internal bool which is used by draw() and
11928 (general): some cursor drawing problems fixed.
11930 2001-08-01 Juergen Vigna <jug@sad.it>
11932 * lyxfind.C (LyXFind): fixed
11933 (SearchForward): ditto
11934 (SearchBackward): ditto
11936 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11937 spurius drawing of the cursor in the main area.
11939 * text2.C (status): small fix which could lead to a segfault!
11940 (clearSelection): remove unneeded BufferView param.
11942 2001-08-01 André Pönitz <poenitz@gmx.net>
11944 * lyxfunc.C: small change due to changed mathed interface
11946 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11948 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11950 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11952 * lyxfunc.c: fail gracefully if file doesn't exist
11957 * BufferView_pimpl.C: IsDirWriteable() proto changed
11959 * LyXView.C: fix updateWindowTitle() to store the last title
11961 2001-07-31 Juergen Vigna <jug@sad.it>
11963 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11964 the font (wrong since using of Paragraph::highestFontInRange).
11966 * paragraph.C (highestFontInRange): added a default_size parameter.
11968 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11969 (setHeightOfRow): reformat
11971 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11973 * converter.[hC] + affected files: move to (inital-char)lowercase
11976 * ParagraphParameters.C (ParagraphParameters): remove commented code
11978 * PainterBase.[Ch]: remove commented code
11980 * LaTeXFeatures.h: add "bool floats" for float.sty
11982 * LaTeXFeatures.C (LaTeXFeatures): init floats
11983 (require): handle float
11984 (getPackages): do it with floats
11986 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11988 * BufferView_pimpl.C (Dispatch): improve handling of
11989 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11991 * commandtags.h: #include lyxfont.h here temporarily to avoid
11994 * bufferlist.h: include LString.h here.
11996 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11998 * text2.C (getStringToIndex): new method.
12000 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12002 * *: Reduced header file dependencies all over.
12004 2001-07-30 Baruch Even <baruch@lyx.org>
12006 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12008 2001-07-29 Baruch Even <baruch@lyx.org>
12010 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12012 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12014 * ParameterStruct.h (endif): add a default constructor to make
12015 sure that all variables is initialized.
12017 * ParagraphParameters.C (ParagraphParameters): adjust
12019 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12021 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12022 index; also, check that there is something to index, and that it
12023 does not span over several paragraphs.
12024 (doubleClick): use WHOLE_WORD_STRICT for double click.
12026 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12028 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12031 2001-07-26 Baruch Even <baruch@lyx.org>
12033 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12034 an InsetFig figure, backwards compatible reading of old figure code.
12036 2001-07-27 Juergen Vigna <jug@sad.it>
12038 * text2.C: font.realize function adaption.
12040 * text.C (draw): add a warnings lyxerr text if needed.
12042 * layout.C: font.realize function adaption.
12044 * language.C: add inherit_language and implement it's handlings
12046 * bufferview_funcs.C (StyleReset): remove language parameter from
12047 font creation (should be language_inherit now).
12049 * bufferparams.C (writeFile): handle ignore_language.
12051 * paragraph.C (getFontSettings): the language has to be resolved
12052 otherwise we have problems in LyXFont!
12054 * lyxfont.C (lyxWriteChanges): added document_language parameter
12055 (update): removed unneeded language parameter
12057 * paragraph.C (validate): fixed wrong output of color-package when
12058 using interface colors for certain fonts in certain environments,
12059 which should not seen as that on the final output.
12061 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12063 * BufferView_pimpl.C:
12068 * LyXAction.C: add thesaurus support
12071 * lyxfind.C: add "once" parameter, for thesaurus, to not
12072 move to the next match
12074 2001-07-26 Juergen Vigna <jug@sad.it>
12076 * lyxfont.C (realize): honor ignore_language too!
12079 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12081 * text.C (draw): one place more for ignore_language to not draw
12084 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12086 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12088 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12091 the minipage conversion problem.
12093 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12095 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12098 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12100 * BufferView.h: don't forward declare WorkArea
12102 * BufferView.C: don't include WorkArea.h
12104 2001-07-25 André Pönitz <poenitz@gmx.net>
12108 * lyxfunc.C: new LFUN 'math-space'
12110 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12112 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12114 * text2.C (toggleInset): call open/close
12116 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * lyxfunc.C (dispatch): add debug for the disabled case
12120 * font.C (buttonText): make similar to rectText
12122 * buffer.C (readInset): comment out parsing of insetlist and
12125 * PainterBase.C (rectText): small correction
12127 * BufferView_pimpl.C: comment out insettheorem and insetlist
12128 * LyXAction.C: ditto
12129 * commandtags.h: ditto
12131 2001-07-24 Juergen Vigna <jug@sad.it>
12133 * text.C (draw): honor the ignore_language.
12135 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12137 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12139 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12142 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12144 * lyxtext.h: remove unused (and unimplemented) methods
12146 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12148 * text.C (getVisibleRow): honor background color
12151 * Painter.h: remove default color argument for fillRectangle
12153 * text.C (backgroundColor): new method
12155 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * text.C (getVisibleRow): adjust
12159 * font.[Ch] (rectText): new method, metrics
12160 (buttonText): new method, metrics
12162 * PainterBase.[hC]: make rectText and buttonText always draw and take
12165 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12167 * ToolbarDefaults.C (read):
12168 * MenuBackend.C (read): allow escaping in all strings
12170 * BufferView_pimpl.C (insertAndEditInset): new method.
12171 (Dispatch): use insertAndEditInset whenever appropriate.
12173 * BufferView_pimpl.C (insertNote): removed
12175 * BufferView_pimpl.C (smartQuote): new method, moved from
12176 BufferView; if an insetquote cannot be inserted, insert a '"'
12179 * BufferView2.C: remove insertCorrectQuote();
12181 * lyxfunc.C (getStatus): Add support for all remaingin
12182 inset-insert lfuns.
12184 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12186 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12187 command (necessary to pass " as parameter of self-insert.
12189 * text.C (selectWordWhenUnderCursor):
12190 (selectWord): add word_location parameter
12191 (selectWordWhenUnderCursor): same + remove special code for word
12193 (selectNextWord): use kind() to guess type of insetspecialchar,
12196 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12197 (insertErtContents): create ert insets as collapsed.
12198 (readInset): better compatibility code for Info inset.
12200 2001-07-20 Juergen Vigna <jug@sad.it>
12202 * lyxfunc.C (dispatch): use always LyXFind now!
12204 * text2.C (init): add a reinit flag so that the LyXText can be
12205 reinited instead of deleted and reallocated (used in InsetText).
12207 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12213 2001-07-18 Juergen Vigna <jug@sad.it>
12215 * text.C (selectNextWord): handle insets inside inset by calling
12216 always the bv->text functions so that we can go up the_locking_inset!
12218 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12219 in strange locations when inside an inset!
12221 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12222 handling to include insets.
12224 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12226 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12228 * LyXAction.C (init):
12230 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12231 LIGATURE_BREAK, since the name is so stupid.
12233 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12235 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12238 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12240 * sp_form.[Ch]: remove.
12242 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12244 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12247 * src/buffer.C (readInset): ditto.
12249 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12251 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12252 menuSeparator(), endOfSentenceDot(), ldots() and
12253 hyphenationPoint(), which are therefore removed.
12254 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12256 * LyXAction.C (init):
12257 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12259 * paragraph.C (getWord): removed.
12261 * BufferView_pimpl.C (Dispatch): use last word or selection for
12262 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12264 * lyx_main.C (queryUserLyXDir): do not ask before creating
12265 user_dir, except if it has been named explicitely.
12267 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12269 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12270 a document of zero size.
12272 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12274 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12275 approriately in the c-tor and in require().
12276 (getPackages): output the appropriate LaTeX for natbib support.
12278 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12279 variables "use_natbib" and "use_numerical_citations" when reading the
12281 (readInset): read the various natbib cite commands.
12282 (validate): white-space change.
12284 * bufferparams.[Ch]: new variables "bool use_natbib" and
12285 "bool use_numerical_citations".
12286 (writeFile): output them in the LyX file.
12288 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12290 * lyxfunc.C (getStatus): add support for all the inset insertion
12293 * text2.C (insertInset):
12294 * paragraph.C (insetAllowed):
12295 * BufferView_pimpl.C (insertInset): update to take in account the
12296 renaming of insertInsetAllowed
12298 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12300 * text2.C (getInset): new method. returns inset at cursor position.
12302 * BufferView_pimpl.C (Dispatch): changes because of this.
12304 * LyXAction.C (init): rename open-stuff to inset-toggle.
12306 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12308 * text2.C (toggleInset): renamed from openStuff; use
12311 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12313 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12315 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12317 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12319 * buffer.C (readLyXformat2): Add filename to the error dialog
12321 2001-07-18 Juergen Vigna <jug@sad.it>
12323 * tabular.C (GetCellNumber): put an assert here instead of the check!
12325 2001-07-17 Juergen Vigna <jug@sad.it>
12327 * BufferView_pimpl.C (toggleSelection): adapted too.
12329 * text.C (selectNextWord): adapted for use with insets.
12330 (selectSelectedWord): ditto
12332 2001-07-17 Juergen Vigna <jug@sad.it>
12334 * sp_spell.C (PSpell): fix initialitation order.
12336 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * paragraph.C: spacing
12340 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12342 * sp_spell.C: repair language selection for pspell
12344 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12346 * lyxfunc.h: change more methods to begin with lower char.
12348 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12350 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12351 for unknown layouts.
12353 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12355 * buffer.C (readLyXformat2): Generate an error dialog if there are
12358 2001-07-16 Juergen Vigna <jug@sad.it>
12360 * sp_spell.C: always compile ISpell part.
12362 * lyxrc.C: added use_pspell entry and it's handling.
12364 2001-07-13 Juergen Vigna <jug@sad.it>
12366 * sp_spell.C: removed double includes.
12368 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12370 Consistent use of Lsstream.h:
12371 * Lsstream.h: added using std::stringstream for consistencies sake.
12373 * buffer.C: removed using std::stringstream
12375 * lyxfont.C (stateText):
12376 * paragraph.C (asString):
12377 * text.C (selectNextWord, selectSelectedWord):
12378 * text2.C (setCounter):
12379 * vspace.C (asString, asLatexString):
12380 std::ostringstream -> ostringstream.
12382 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12384 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12385 * commandtags.h: add LFUN_HELP_ABOUTLYX
12386 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12388 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12390 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12392 * lyx_gui_misc.C: remove spellchecker
12393 * lyxfunc.C: showSpellchecker
12395 * sp_ispell.h: added
12396 * sp_pspell.h: added
12397 * sp_spell.C: added
12398 * sp_form.[Ch]: removed
12399 * spellchecker.[Ch]: removed
12401 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12403 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12405 (simpleTeXSpecialChars): Simply print the input character without
12406 any special translation if pass_thru is set.
12408 * layout.h: Added bool pass_thru to layout class for being able to
12409 implement pass through of a paragraph for Literate Programming.
12411 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12412 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12413 * layout.C (Read): add "passthru" to list of layout tags and add
12414 code to set the pass_thru boolean when it is read.
12416 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * trans_decl.h: remove allowed from KmodInfo
12420 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12421 remove allowed code
12424 * paragraph_pimpl.C (erase): use boost::prior
12426 * Painter.C (text): use data() instead of c_str() when length is
12428 * WorkArea.C (putClipboard): ditto
12429 * font.h (width): ditto
12431 * BufferView2.C: use it-> instead of (*it). for iterators
12433 * paragraph_pimpl.C: ditto
12434 * paragraph.C: ditto
12435 * minibuffer.C: ditto
12436 * language.C: ditto
12438 * encoding.C: ditto
12439 * counters.C: ditto
12440 * converter.C: ditto
12442 * Variables.C: ditto
12443 * TextCache.C: ditto
12444 * MenuBackend.C: ditto
12445 * LyXAction.C: ditto
12447 * FloatList.C: ditto
12448 * DepTable.C: ditto
12449 * ColorHandler.C (LyXColorHandler): ditto
12451 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12453 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12455 * text2.C (openStuff): reintroduce this method (which had been
12456 nuked in NEW_INSETS frenzy).
12458 * lyxfunc.C (Dispatch): when an action has not been handled, use
12459 its name in the error message, not its number.
12461 * paragraph.C (inInset): change method name to begin with lowercase.
12464 * text2.C: updates because of this.
12466 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12468 * ToolbarDefaults.C (add): add spaces in error message
12470 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12472 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12473 (readLyXformat2): rename return_par to first_par, use lyxlex's
12474 pushToken and remove the manual push handling.
12475 (parseSingleLyXformat2Token): add another ert comp. variable:
12476 in_tabular, rename return_par to first_par. handle newlines better
12478 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12480 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12482 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12484 * text2.C (getParFromID): removed
12486 * buffer.C (getParFromID): new method moved form lyxtext.
12487 * BufferView2.C (insertErrors): adjust
12488 (setCursorFromRow): adjust
12489 * BufferView_pimpl.C (restorePosition): adjust
12490 * lyxfunc.C (Dispatch): adjust
12491 * undo_funcs.C (textUndo): adjust
12493 (textHandleUndo): adjust
12494 (textHandleUndo): adjust
12496 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * buffer.C: up' the LYX_FORMAT
12500 * lyxfont.h: turn NO_LATEX on as default
12502 * buffer.C (insertErtContents): new methods of tex style compability.
12503 (parseSingleLyXformat2Token): use it several places.
12504 * tabular.C (OldFormatRead): and here
12506 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * text2.C: remove some commented code.
12511 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12512 * trans.C: changes because of the above.
12514 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12516 * text2.C (setCounter): Fix counters bug with bibliography layout.
12518 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12520 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12521 own member functions
12522 (simpleTeXSpecialChars): ditto
12524 2001-07-06 Juergen Vigna <jug@sad.it>
12526 * a lot of files: changed the access to LyXText::status and the
12527 call of undo-functions.
12529 * undo.[Ch]: added a inset_id to the undo informations.
12531 * undo_funcs.[Ch]: added and moved here all undo functions.
12533 * lyxtext.h: give the status enum a weight, made status_ a private
12534 variable and made accessor functions for it, removed the whole bunch
12535 of undo-functions as they are now in their own file, make some
12536 functions publically available. Added function ownerParagraph with
12539 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12540 made InInset() a const function, added getParFromID() function.
12542 * buffer.[Ch]: added const version for inset_iterator functions,
12543 added getInsetFromID() function.
12545 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12546 changed undo functions for new version.
12548 2001-07-05 Juergen Vigna <jug@sad.it>
12550 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12551 unknow mechanism does not call the proper constructor but only this
12552 one also if I request the other!?
12554 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12556 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12558 * text2.C (LyXText): use initialization lists.
12560 * lyxtext.h (Selection): initialize set_ and mark_
12561 (init): remove method
12563 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12565 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12567 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * screen.[Ch]: change method names to begin with lowercase
12571 * BufferView_pimpl.C (updateScrollbar): simplify further and
12572 hopefully make it a bit faster.
12574 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12576 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12577 calling directly xforms functions.
12579 * Painter.C (Painter):
12580 * lyx_cb.C (MenuWrite):
12581 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12584 * lyx_gui.C: remove bogus guiruntime extern declaration.
12586 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12588 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12590 (redoDrawingOfParagraph): ditto
12591 (redoParagraphs): ditto
12592 (cutSelection): don't create a object for CutAndPaste use the
12593 static method directly
12594 (pasteSelection): ditto
12596 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12599 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * modifications to some other files because of this.
12603 * Makefile.am (lyx_SOURCES): add XFormsView
12605 * XFormsView.[Ch]: new files
12607 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12608 the main window. Move the gui dependent stuff to XFormsView
12610 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * tabular.C (GetCellInset): update cur_cell also in the row/col
12613 version of this function.
12615 * lyxfunc.C: no need to include figure_form.h here.
12621 * lyxvc.C: no need to include forms.h here.
12623 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12625 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12627 * lyxfunc.C (Dispatch):
12629 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12630 constructor argument.
12632 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12634 * paragraph.C (Paragraph): dont't clear, and just set layout.
12635 (makeSameLayout): use params's copy contructor.
12637 * ParagraphParameters.[Ch] (makeSame): delete method
12639 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12641 * Variables.[Ch]: fix indentation, rename set to isSet
12643 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * lyxfunc.C (Dispatch): fix typo
12647 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12649 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12652 * bufferlist.C: include assert.h for emergencyWrite().
12654 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12656 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12657 give up at last (bug #425202) !
12659 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12665 * spellchecker.C: strip spellchecker options and bring up
12666 preferences tab instead
12668 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12670 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12671 the istringstream constructor
12673 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12675 * paragraph.C (getLayout): fix return value
12677 * paragraph.h: do not declare getLayout as inline.
12679 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12681 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * lyxcursor.h (operator<): new func
12684 (operator>): new func
12685 (operator>=): new func
12686 (operator<=): new func
12688 * text.C (changeCase): use selection.start and selection.end
12689 (changeRegionCase): require from to be <= to. Require par to be a
12692 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12694 2001-06-27 Juergen Vigna <jug@sad.it>
12696 * text.C (cursorLeftOneWord): changed to return the cursor and added
12697 overlay with BufferView * parameter which calls this one.
12699 (selectWord): use new getWord function.
12700 (changeCase): renamed from changeWordCase as and extended to work
12701 also on selections.
12703 * lyxtext.h: added enum word_location
12705 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12706 changeCase as this operates now also on selections.
12708 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12710 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12712 * many files: send debug output to Debug::INFO instead of
12715 * converter.C (View):
12717 (Move): send debug output to Debug::FILES instead of console.
12719 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12721 * lyxfunc.C (getStatus): use func_status
12723 * func_status.h: new header, describing the results of
12724 LyXFunc::getStatus;
12726 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12729 2001-06-25 The LyX Project <jug@sad.it>
12731 * buffer.C (sgmlOpenTag):
12733 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12735 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * text2.C: remove some dead code
12739 * tabular.C (GetCellInset): store the last cell checked (gotten)
12741 * tabular.h: add the helper for the speedup
12743 * lyxtext.h: remove some dead code
12745 2001-06-26 The LyX Project <Asger>
12747 * paragraph.C: Change export to LaTeX of alignment to
12748 \begin{center} and family for better roundtrip work with reLyX.
12750 * Tune the math drawing a bit.
12752 2001-06-25 The LyX Project <Asger>
12754 * LColor.C (LColor): New color for math background. New color
12757 2001-06-25 The LyX Project <jug@sad.it>
12759 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12761 * lyxfunc.C (Open):
12762 * bufferlist.C (newFile): do not restrict to files ending with
12765 * BufferView_pimpl.C (MenuInsertLyXFile):
12767 2001-06-24 The LyX Project <jug@sad.it>
12769 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12772 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * lyxtext.h: rename most methods to begin with a small char.
12775 Lots of changes because of this.
12777 * paragraph.C (Paragraph): do not call fitToSize
12778 (erase): call Pimpl::erase
12779 (insertChar): call Pimpl::insertChar
12780 (insertInset): call Pipl::insertInset
12781 (breakParagraph): do not call fitToSize
12782 (breakParagraphConservative): do not call fitToSize
12783 (fitToSize): remove method
12785 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12787 2001-06-24 The LyX Project <Asger>
12789 * Fix Qt compilation^2
12791 2001-06-24 The LyX Project <jug@sad.it>
12793 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12794 depthHook(getDepth()-1).
12797 * ParagraphParameters.h:
12798 * ParameterStruct.h: change type of depth to unsigned int ==
12799 depth_type. Many adaptations to other files before of that.
12801 2001-06-24 The LyX Project <Asger>
12803 * Fix Qt compilation.
12805 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12807 * paragraph.h: renamed several methods to begin with small letter.
12808 several changes to many parts of the code because of this.
12810 2001-06-23 The LyX Project <jug@sad.it>
12812 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12813 rewritten to discard all double spaces when KeepEmpty is off
12814 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12815 to only handle newlines but not fiddle with spaces and friends.
12817 * lyxfunc.C (MenuNew): when doing 'new from template', use
12818 template_path as default directory
12820 2001-06-23 The LyX Project <Asger>
12822 * Clean-up of header file includes all over
12823 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12825 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12827 * paragraph.h: renamed from lyxparagraph.h
12829 2001-06-23 Asger <lyx@violet.home.sad.it>
12831 * Buffer.h: Removed Buffer::resize
12832 * BufferList.h: Removed BufferList::resize
12833 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12834 the document lazily when we change the width, or the font settings.
12836 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12838 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12840 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12842 * buffer.h: remove out of date comment
12844 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12847 * screen.C: fix "theoretical" GC leak
12849 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * LaTeX.C (scanAuxFile):
12852 (deplog): remove trailing \r when reading stream (useful under
12855 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12857 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12858 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12859 and BufferView::theLockingInset(Inset*), so should use them and not
12860 access bv_->text->the_locking_inset directly.
12862 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12864 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12867 * tex-defs.h: remove old unused file
12869 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12871 * BufferView_pimpl.C: fix typo, remove minibuffer message
12872 when buffer has loaded
12874 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12876 * lyxfunc.C (Dispatch): use stringstream
12877 (MenuNew): use stringstream
12878 (Open): use stringstream
12880 * importer.C (Import): use stringstream
12882 * bufferview_funcs.C (CurrentState): use stringstream
12884 * LaTeX.C (run): use stringstream
12886 * BufferView_pimpl.C (savePosition): use stringstream
12887 (restorePosition): use stringstream
12888 (MenuInsertLyXFile): use stringstream
12890 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12903 * vspace.C: removed // -*- C++ -*- as first line.
12906 * version.h: added // -*- C++ -*- as first line.
12908 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12912 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12915 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12920 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12922 * gettext.C: include LString.h even when --disable-nls is on.
12924 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12926 * converter.h (Get): changed argument type from int to
12927 FormatList::size_type to avoid unnecessary conversion.
12929 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12932 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12934 * gettext.h: include LString.h even when --disable-nls is on.
12936 2001-06-07 Juergen Vigna <jug@sad.it>
12938 * text.C (BreakAgain): subst spaces with tabs.
12940 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12941 (resizeInsetsLyXText): set force on resizeLyXText.
12943 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12945 * gettext.h (gettext_init):
12946 (locale_init): use a real definition instead of a macro
12948 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12950 * Bufferview_pimpl.C:
12952 * LColor.C: further lcolor tidies
12954 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * BufferView_pimpl.C (updateScrollbar): simplify.
12958 * BufferView2.C: don't include insets/insetinfo.h, change
12959 prototype for insertInset and call the Pimpl version. let
12960 updateInset call Pimpl version.
12962 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12963 gotoInset to BufferView::Pimpl
12965 2001-06-01 Juergen Vigna <jug@sad.it>
12967 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12968 inside a LockingInset (is the update needed at all?).
12970 2001-05-31 Juergen Vigna <jug@sad.it>
12972 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12973 here not the old one otherwise how should we compare it afterwards
12976 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12981 * FontInfo.C: bring C functions into global namespace when
12984 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12986 * LString.h: make sure config.h has been loaded before LString.h.
12988 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12989 (one for each char read by EatLine!).
12991 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12994 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12996 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12997 to the same as the par we break from
12999 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13001 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13003 * MenuBackend.C (expand): also create menu entries for wide
13004 versions of the floats.
13006 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13008 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13010 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13011 frontends/Makefile.am
13017 * tabular.C (getTokenValue): add std::
13019 * tabular-old.C (getTokenValue): add std::
13020 (getTokenValue): ditto
13021 (getTokenValue): ditto
13023 * screen.C (ToggleSelection): adjust
13025 * lyxtext.h: put selection cursors inside a Selection struct.
13027 * lyxfunc.C (moveCursorUpdate): adjust
13029 * lyxfont.C (latexWriteStartChanges): add std::
13031 * lyxfind.C: adjust
13033 * font.h: delete with(char const *, LyXFont const &)
13035 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13037 * FontInfo.C (getFontname): add std::
13039 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13040 (workAreaButtonPress): adjust
13041 (tripleClick): adjust
13043 (moveCursorUpdate): adjust
13046 * BufferView2.C (gotoInset): adjust
13048 2001-05-30 Juergen Vigna <jug@sad.it>
13050 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13051 to check pspell I add this as default as I now have new pspell
13052 libraries and they seem to use this.
13054 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13056 * text2.C (CutSelection): make the cursor valid before the call to
13059 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13061 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13062 relied on 0 terminated strings and other horrors. Bug found due to
13063 the new assert in lyxstring!
13065 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13068 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13073 * lyxfunc.C (processKeySym): change method of getting to the
13076 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13077 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13078 * BufferView_pimpl.[Ch]: here as private methods.
13080 2001-05-28 Juergen Vigna <jug@sad.it>
13082 * text.C (SetHeightOfRow): added the update() call again as it is
13083 needed to initialize inset dimensions!
13085 2001-05-16 Juergen Vigna <jug@sad.it>
13087 * text2.C (SetCharFont): Add new function with BufferView * and
13088 bool toggleall parameters for setting insets internal fonts.
13089 (SetFont): Freeze the undo as we may change fonts in Insets and
13090 all this change should be inside only one Undo!
13092 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13093 setting font's in insets as for them we have the SetFont function!
13095 2001-05-15 Juergen Vigna <jug@sad.it>
13097 * text2.C (ClearSelection): to be sure we REALLY don't have any
13100 * tabular.C (TeXCellPreamble): fixed the left border problem for
13103 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13105 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13108 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13111 LFUN_BREAKPARAGRAPH.
13113 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13114 help test to "internal only", similar for LFUN_INSERT_URL
13116 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13117 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13118 auto_region_delete and deadkeys.
13120 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13123 * LColor.C: remove some dead entries, tidy a little
13125 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13129 (Dispatch): implement LFUN_ESCAPE
13131 * commandtags.h: add LFUN_ESCAPE
13133 * LyXAction.C (init): add entry for LFUN_ESCAPE
13135 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13136 Remove commented code.
13137 (insertNote): moved here
13138 (open_new_inset): moved here
13140 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13143 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * kbmap.C (findbinding): clean it up and make it work correctly.
13147 * lyx_main.C (init): do not pass argc and argv as parameters
13149 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13151 * buffer.C: fix path for OS/2 & Win32
13155 * lyx_main.C: Added os:: class.
13157 * os2_defines.h: update
13159 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13162 better by trying again with reduced state.
13164 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * lyxrc.C (read): print error about invalid key sequence only when
13167 debugging (because not all latinX keysyms are known to some X
13170 * kbsequence.C (getiso): add a few std:: qualifiers
13171 (getiso): comment out extra return statement.
13173 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13175 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13177 (Dispatch): enhance the accent inset a bit. (not perfect)
13179 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13181 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13183 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13185 * bufferlist.C (emergencyWrite): fix assert() call
13187 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13189 * text.C (InsertChar): Added trivial patch to only send the "you
13190 can not do multiple spaces this way" message once during a
13193 2001-05-08 Baruch Even <baruch@lyx.org>
13195 * Makefile.am: Changed order of libraries to get LyX to link properly
13196 with the gnome frontend.
13198 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13200 * LaTeXFeatures.h: add a std:: qualifier
13202 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * paragraph.C (String): use stringstream
13206 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13208 * paragraph.C (writeFile): remove footflag arg
13210 * buffer.C (makeLaTeXFile): use stringstream
13211 (latexParagraphs): remove footnot gurba
13213 * LaTeXFeatures.C (getPackages): use stringstream
13214 (getMacros): likewise
13215 (getTClassPreamble): likewise
13216 (getFloatDefinitions): new method
13218 * paragraph.C (writeFile): reindent
13221 * WorkArea.h: revert the xpos + etc changes.
13223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13225 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13227 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13228 (pasteSelection): likewise
13229 * text2.C (CreateUndo): likewise
13231 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * minibuffer.C (peek_event): temporarily reduce the functionality
13234 of the minibuffer (to allow args on lfuns)
13236 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13237 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13239 * buffer.C (readInset): add compability reading of old float
13240 lists, add reading of new style float list.
13241 (readInset): avoid reevaluation of inscmd.getCmdName()
13242 (getLists): reindent
13244 * MenuBackend.C (MenuItem): implement parsing of
13245 md_floatlistinsert and md_floatinsert.
13246 (expand::LastFiles): move initalizaton of iterators out of loop,
13247 avoid reevaluation.
13248 (expand::Documents): introduce typdedef vector<string> Strings,
13250 (expand::ExportFormats): introduce typedef vector<Format const *>
13251 Formats, and use it.
13252 (expand): implement FloatListInsert and FloatInsert.
13254 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13255 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13256 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13258 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13260 (Dispatch::LFUN_FLOAT_LIST): implement
13262 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13264 * LaTeX.C (run): Fix problem with --export code.
13266 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13268 * BufferView.[Ch] (workarea): removed.
13269 (getClipboard) new method; wrapper for workarea()->getClipboard()
13271 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13274 * WorkArea.h (width, height, xpos, ypos): These methods all
13275 returned the dimensions of the work_area sub-area of WorkArea,
13276 resulting in a position error if the WorkArea were resized. Now
13277 return the dimensions of the entire WorkArea.
13279 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13281 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * LaTeX.C (deplog): correct the syntax of regex reg1
13285 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13287 * undo.C: remove !NEW_INSETS cruft
13289 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * text2.C: remove !NEW_INSETS cruft
13293 * text.C: remove !NEW_INSETS cruft
13295 * tabular.C: remove !NEW_INSETS cruft
13297 * spellchecker.C: remove !NEW_INSETS cruft
13299 * lyxtext.h: remove !NEW_INSETS cruft
13301 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13303 * lyxfunc.C: remove !NEW_INSETS cruft
13305 * lyxfind.C: remove !NEW_INSETS cruft
13307 * lyx_cb.C: remove !NEW_INSETS cruft
13309 * figureForm.C: remove !NEW_INSETS cruft
13311 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13313 * buffer.[Ch]: remove !NEW_INSETS cruft
13315 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13317 * CutAndPaste.C: remove !NEW_INSETS cruft
13319 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13321 * BufferView2.C: remove !NEW_INSETS cruft
13323 * BufferView.h: remove !NEW_INSETS cruft
13325 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13327 * Lsstream.h: include LString.h before the sstream headers to
13328 fix problem with gcc 2.95.3 and lyxstring
13330 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13332 * lyx_main.C: add using directives when needed for C functions
13333 declared in std:: namespace.
13335 2001-04-27 Juergen Vigna <jug@sad.it>
13337 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13338 (SetHeightOfRow): comment out the update call should not be needed!
13340 2001-04-13 Juergen Vigna <jug@sad.it>
13342 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13343 (LyXTabular): tried to minimize operator= operations (and realized
13344 hopfully Lars wish).
13346 2001-04-27 Juergen Vigna <jug@sad.it>
13348 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13350 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13352 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13354 * buffer.C (readInset): hack to make listof algorithm work
13356 * BufferView_pimpl.C: hack to make listof algorithm work
13358 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * LyXAction.C: removed all !NEW_INSETS cruft
13361 (init): moved lfun_item in method
13363 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13365 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13367 * BufferView2.C (theLockingInset): white space.
13369 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13371 * minibuffer.C: include <iostream>
13373 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13375 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13377 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13379 * text.[Ch] (TransposeChars): new method
13381 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * call message directly through LyXView instead of through LyXFunc
13384 * BufferView2.C: adjust
13385 * BufferView_pimpl.C: adjust
13386 * FontLoader.C: adjust
13388 * bufferview_funcs.C: adjust
13389 * converter.C: adjust
13390 * figureForm.C: adjust
13391 * importer.C: adjust
13393 * lyx_gui_misc.C: adjust
13394 * lyxfunc.C: adjust
13397 + more files in subdirs
13399 * lyxparagraph.h (size): move up int file
13402 * adjust all uses of Assert to lyx::Assert.
13404 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13405 lyxfunctional in namespace lyx
13406 * layout.C (hasLayout): ditto
13409 (delete_layout): ditto
13410 (NumberOfClass): ditto
13411 * converter.C (GetFormat): ditto
13416 * bufferlist.C (getFileNames): ditto
13417 (emergencyWriteAll): ditto
13420 * MenuBackend.C (hasSubmenu): ditto
13423 * BufferView_pimpl.C (getInsetByCode): ditto
13425 2001-04-18 Juergen Vigna <jug@sad.it>
13427 * vspace.C (asLatexString): fixed the 100% problem.
13429 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * lyxfunc.C (Dispatch):
13433 * minibuffer.h: add a few std:: qualifiers
13435 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * minibuffer.[Ch]: reimplement so that commands is initiated and
13438 run from lyxfunc, simplified som handling, and made the completion
13439 and history code for complete. wip.
13441 * lyxfunc.C (processKeySym): call message
13442 (miniDispatch): new temporary method
13443 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13444 (LFUN_MESSAGE): implement
13445 (LFUN_MESSAGE_PUSH): implement
13446 (LFUN_MESSAGE_POP): implement
13447 (initMiniBuffer): the initial/defualt minibuffer message.
13449 * lyxfont.[Ch]: inline some more getters
13451 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13453 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13455 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13456 (AutoSave): use LFUN_MESSAGE
13457 (Reconfigure): ditto
13459 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13461 * figureForm.C: use LFUN_MESSAGE
13463 * converter.C (runLaTeX): use LFUN_MESSAGE
13465 * bufferview_funcs.C: use LFUN_MESSAGE
13467 (changeDepth): ditto
13469 * bufferparams.h: use boost::
13471 * bufferlist.h: inherit privately from noncopyable
13473 * bufferlist.C (loadLyXFile): remove some commented code.
13475 * buffer.C (runChktex): use LFUN_MESSAGE
13477 * ShareContainer.h: inherit privately from noncopyable
13479 * ParagraphParameters.[hC] (depth): inline it.
13481 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13483 (message): new method
13484 (messagePush): ditto
13485 (messagePop): ditto
13486 (show): init minibuffer
13487 (showState): direct call
13489 * LaTeX.[Ch]: inherit privately from noncopyable
13490 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13491 instead of WriteStatus.
13493 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13495 * BufferView_pimpl.C (buffer): don't init minibuffer
13496 (workAreaButtonPress): use LFUN_MESSAGE
13497 (workAreaButtonRelease): ditto
13498 (savePosition): ditto
13499 (restorePosition): ditto
13500 (MenuInsertLyXFile): ditto
13501 (workAreaExpose): don't init minibuffer
13502 (update): remove commented code, simplify
13504 * BufferView2.C (openStuff): use LFUN_MESSAGE
13505 (toggleFloat): ditto
13508 (copyEnvironment): ditto
13509 (pasteEnvironment): ditto
13514 (updateInset): remove some commented code
13516 * lastfiles.h: inherit privately from noncopyable
13519 * lyx_main.h: ditto
13521 * lyxlex_pimpl.h: ditto
13523 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13524 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13525 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13527 * LyXAction.h: inherit privately from noncopyable, add methods
13528 func_begin, func_end, returning iterators to the func map.
13530 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13531 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13532 (func_begin): new method
13533 (func_end): new method
13535 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13537 (copySelection): ditto
13538 (pasteSelection): ditto
13540 * BufferView.C: whitespace change
13541 * BufferView.h: inherit privately from noncopyable
13543 2001-04-16 Allan Rae <rae@lyx.org>
13545 * tabular-old.C (l_getline):
13546 * spellchecker.C (sc_check_word):
13547 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13548 an unrecognised preprocessor directive. So ensure they're wrapped.
13550 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13552 * src/exporter.C (Export): Give an error message when path to file
13555 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13557 * LaTeX.C (deplog): Always check that foundfile exists.
13559 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13564 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * tabular.[Ch] (getLabelList): implement new method
13568 * minibuffer.h: comment ouf setTiimer
13570 * minibuffer.C (ExecutingCB): constify res
13571 (peek_event): constify s
13572 (Set): constify ntext
13573 (Init): constify nicename
13575 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13577 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13578 (savePosition): use two params to Minibuffer::Set
13579 (restorePosition): ditto
13581 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * lyx_main.C: include language.h
13585 * Makefile.am (lyx_main.o): add language.h
13587 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13593 * CutAndPaste.C: include gettext.h
13595 * lyxfont.h: remove old hack with ON and OFF.
13598 * lyxfont.h: do not include language.h...
13603 * bufferview_funcs.C:
13609 * paragraph.C: ... but do it here instead
13611 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13613 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13615 * tabular.C: small reformat
13617 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13620 (BreakParagraph): ditto
13621 (SetOnlyLayout): ditto
13624 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13627 * lastfiles.C: removed most using decl, add std:: where needed
13629 * buffer.C: ws changes
13631 * MenuBackend.C (class compare_format): put into anon namespace
13632 (expand): constify label, names, action, action2
13635 * text.C (SingleWidth): constify font
13636 (IsBoundary): constify rtl2
13637 (GetVisibleRow): constify ww
13639 * LaTeX.C (deplog): constify logfile
13641 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13643 (workAreaExpose): constify widthChange, heightChange
13645 * lyxrow.C (par): moved
13648 * lyxrow.h: as inlines here
13650 * lyxfont.h (shape): moved from lyxfont.C
13651 (emph): moved from lyxfont.C
13653 * lyxfont.C (LyXFont): use initialization list for all
13655 (shape): move to lyxfont.h as inline
13656 (emph): move to lyxfont.h as inline
13659 2001-04-04 Juergen Vigna <jug@sad.it>
13661 * vspace.C: had to include stdio.h for use of sscanf
13663 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13666 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13667 independent of xforms.
13669 2001-04-02 Juergen Vigna <jug@sad.it>
13671 * spellchecker.C: fixed namespace placing!
13673 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13675 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13676 the LyXParagraph * is 0.
13678 2001-03-29 Juergen Vigna <jug@sad.it>
13680 * vspace.C: added support for %, c%, p%, l%.
13681 (stringFromUnit): added helper function.
13682 (asLatexString): changed to give right results for the %-values.
13684 * buffer.C: convert the widthp in a width%.
13686 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13688 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13691 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13692 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13694 * lyx_cb.[Ch]: see above.
13696 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13700 * lyx.[Ch]: replaced by figure_form.[Ch].
13704 * lyxfunc.C: changed headers associated with above changes.
13706 2001-03-27 Juergen Vigna <jug@sad.it>
13708 * BufferView_pimpl.C: set the temporary cursor right!
13710 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13712 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13714 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13716 * LString.h: removed "using std::getline"!
13718 * BufferView_pimpl.C (Dispatch): changes due to changes in
13719 InsetInclude::Params.
13721 * buffer.C (tag_name): removed redundant break statements as they were
13722 producing lots of warnings with my compiler.
13724 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13726 * LString.h: add "using std::getline" when using the real <string>.
13728 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13730 * buffer.C: removed bitset usage.
13731 PAR_TAG moved to an anonymous name space.
13732 (tag_name): new funtion, also in the anonymous namespace.
13733 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13734 (makeDocBookFile): clean code. Completed transition from string arrays
13736 (SimpleDocBookOnePar): code clean.
13738 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13740 * tabular.C: add some comments.
13742 2001-03-22 Juergen Vigna <jug@sad.it>
13744 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13745 compatibility read a bit and fixed bug with minipage in different
13748 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13750 * buffer.C (pop_tag): removed.
13751 (push_tag): removed.
13752 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13753 array replaced with vector. Added support for CDATA sections.
13754 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13756 (makeDocBookFile): XML conformant declaration of CDATA section,
13757 fixed bug related to <emphasis> in the first paragraph char.
13758 (sgmlOpenTag): exclude empty tags.
13759 (sgmlCloseTag): ditto.
13761 * buffer.h (pop_tag): removed.
13762 (push_tag): removed.
13764 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13766 * language.h (Languages): added size_type and size().
13768 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13770 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13771 response on compability reading of minipages. One probliem is that
13772 the old usage of minipages was «flertydig»
13774 * several files here and in subdirs: don't use static at file
13775 scope use anon namespaces instead.
13777 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13779 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13780 LaTeX output. This is necessary for Literate document
13783 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13785 * buffer.C: insert hfill when needed.
13787 * tabular.C (l_getline): use string::erase, small whitespace change.
13789 * BufferView_pimpl.C: try the anon namespace.
13790 * WorkArea.C: ditto
13792 2001-03-16 Juergen Vigna <jug@sad.it>
13794 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13795 otherwise it won't open options-dialogs.
13797 * buffer.C: honor pextraWidth(p) on converting minipages.
13799 * tabular.C (l_getline): changed the functions to strip trailing \r.
13801 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13803 * BufferView_pimpl.C:
13804 * minibuffer..C: added "using SigC::slot" declaration.
13806 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13808 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13814 * paragraph.C: ditto
13816 * lyxtext.h: NO_PEXTRA
13818 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13820 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13821 * ParameterStruct.h: ditto
13822 * ParagraphParameters.h: ditto
13823 * lyxparagraph.h: ditto
13825 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13827 * buffer.C: add compability for minipage alignment.
13828 (latexParagraphs): remove unwanted pextra check.
13830 * several files: remove CXX_WORKING_NAMESPACES
13832 * buffer.C (pop_tag): tie is in namespace boost
13834 * BufferView.h: noncopyable is in namespace boost
13836 * lyx_main.h: ditto
13839 * lastfiles.h: ditto
13840 * bufferlist.h: ditto
13841 * ShareContainer.h: ditto
13843 * LyXAction.h: ditto
13846 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13848 * Merging changes from BRANCH_MVC back into HEAD.
13850 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13852 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13854 * BufferView_pimpl.C: change from intl.C
13858 * Makefile.am: move combox.*
13864 * intl.C: remove dialog (covered by prefs)
13866 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13868 * lyxfunc.C (Dispatch): removed redundant break statement.
13870 2001-03-14 Juergen Vigna <jug@sad.it>
13872 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13874 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13876 * buffer.C: add hack to fix compability reading of minipages.
13878 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13880 * buffer.C (getLists): Cleanup.
13882 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13884 * lyxfont.C (update): don't honor toggleall on font size.
13886 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13890 * Makefile.am: moved to frontends/xforms/
13894 * BufferView_pimpl.C: changes for moved mathpanel
13896 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13898 * gettext.h: fix gettext_init() in --disable-nls
13900 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13902 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13904 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13907 * lyx.h: strip external form
13909 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13911 * BufferView_pimpl.C: add comment, destroySplash()
13913 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13915 * BufferView_pimpl.C:
13919 * lyxfunc.C: use re-worked insetinclude
13921 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13923 * buffer.C: add using std::stringstream.
13925 * lyx_cb.C: readd using std::ios.
13927 * buffer.C: add using std::map.
13929 * BufferView_pimpl.C: add using std::vector.
13931 * ShareContainer.h: add std:: to swap.
13933 * buffer.h: add some typedefs
13934 * buffer.C (getLists): use them
13935 (getLists): renamed from getTocList.
13936 add a counter for the different float types and use it in the
13938 (getLists): use the same counter for the NEW_INSETS and the "non"
13941 * lyx_cb.h: remove unused items, includes, using etc.
13943 * ShareContainer.h: remove some commented code, add more comments
13944 and "documentation".
13946 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13948 * buffer.C (getTocList): make the list also when NEW_INSETS is
13951 * buffer.h: remove TocType
13953 * buffer.C (getTocList): change to return a map<string,
13954 vector<TocItem> >, implement for dynamic number of list.
13956 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13957 * text2.C (PasteSelection): adjust
13958 * CutAndPaste.C (pasteSelection): adjust
13960 * FloatList.C (FloatList): update from the new_insets branch.
13961 * Floating.[Ch]: ditto
13962 * LaTeXFeatures.C: ditto
13964 * lyxlex_pimpl.C: ditto
13966 * paragraph.C (Last): remove when NEW_INSETS is defined.
13968 * other file: changes because of the above.
13970 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13972 * lyxparagraph.h: rename next to next_, previous to previous_,
13973 make them private for NEW_INSETS. Rename Next() to next(),
13974 Previous() to previous().
13976 * other files: changes because of the above.
13978 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13981 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13984 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13986 * main.C (main): pass lyx_localedir to gettext_init().
13988 * gettext.h: remove locale_init and gettext_init macros
13990 * gettext.C (locale_init): new function
13991 (gettext_init): new function
13993 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13996 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13998 * Moved credits to frontends:
13999 * credits.[Ch]: removed
14000 * credits_form.[Ch]: removed
14001 * lyx_gui_misc.C: remove credits stuff
14004 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14006 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14008 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14009 unneeded destructor.
14011 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14012 a standalone pointer again.
14014 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14016 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14022 * ToolbarDefaults.C:
14031 * BufferView_pimpl.C: use new file dialog in GUII
14034 * lyx_cb.C: remove LayoutsCB to Toolbar
14036 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14038 * ShareContainer.h (get): add std:: qualifier
14040 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * ShareContainer.h: define a proper ShareContainer::value_type
14043 type (and use typename to please compaq cxx)
14045 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14047 * lyxparagraph.h: move serveral local vars to
14048 ParameterStruct/ParagraphParameters., use ShareContainer in
14049 FontTable., make vars in FontTable private and add getter and
14052 * paragraph.C: changes because of the above.
14054 * lyxfont.h: remove copy constructor and copy assignment. (the
14055 default ones is ok), move number inside FontBits. move inlines to
14058 * lyxfont.C: add number to initializaton of statics, move several
14059 inlines here. constify several local vars. some whitespace
14060 cleanup. Dont hide outerscope variables.
14062 * Spacing.h: add two new constructors to match the set methods.
14064 * ShareContainer.h: new file, will perhaps be moved to support
14066 * ParameterStruct.h: new file
14068 * ParagraphParameters.h: new file
14070 * ParagraphParameters.C: new file
14072 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14073 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14075 * BufferView_pimpl.C: ParagraphParameter changes.
14076 * buffer.C: Likewise.
14077 * bufferview_funcs.C: Likewise.
14078 * text.C: Likewise.
14079 * text2.C: Likewise.
14081 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14083 * lyxfind.C (LyXReplace): do not redefine default argument in
14085 (IsStringInText): ditto
14086 (SearchForward): ditto
14087 (SearchBackward): ditto
14089 2001-03-06 Juergen Vigna <jug@sad.it>
14091 * lyxfind.C (IsStringInText): put parentes around expressions.
14093 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14095 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14097 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14099 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14101 * stl_string_fwd.h: add comment
14103 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14106 * tabular.C: remove unused DocBook methods
14112 killed DO_USE_DEFAULT_LANGUAGE
14114 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * lyx_gui.C: do not include language.h.
14118 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14119 arguments in function implementation.
14121 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14123 * BufferView_pimpl.C: add <ctime>
14125 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14127 * BufferView_pimpl.C: add using std::find_if
14129 2001-02-27 José Matos <jamatos@fep.up.pt>
14131 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14134 2001-02-11 José Matos <jamatos@fep.up.pt>
14136 * buffer.C (makeDocBookFile): command styles now have a parameter as
14137 "title" by default.
14139 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14141 * layout_forms.[Ch]: removed
14142 * lyx_cb.[Ch]: out character
14143 * lyx_gui.C: out character
14144 * lyx_gui_misc.C: out character
14145 * bufferview_funcs.C: : out character,
14146 added toggleall as parameter in ToggleAndShow
14148 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14150 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14152 * text2.C (SetCurrentFont): Disable number property at boundary.
14154 2001-02-26 Juergen Vigna <jug@sad.it>
14156 * lyxfunc.C (getStatus): added a string argument override function so
14157 that this is correctly called from LyXFunc::Dispatch if it contains a
14158 do_not_use_argument which is used!
14159 (Dispatch): added check for "custom" export and call appropriate func.
14161 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14163 * lyxrc.C: Add language_command_local, language_use_babel and
14164 language_global_options.
14166 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14168 * buffer.C (makeLaTeXFile): Use language_use_babel and
14169 language_global_options.
14171 2001-02-23 Juergen Vigna <jug@sad.it>
14173 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14174 which works with LyXText and putted it inside BufferView. Here now we
14175 only call for that part the BufferView::Dispatch() function.
14177 * BufferView.C (Dispatch): added.
14179 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14180 functions which needs to use a LyXText over from LyXFunc.
14181 (MenuInsertLyXFile): added
14182 (getInsetByCode): added
14183 (moveCursorUpdate): added
14184 (static TEXT): added
14186 2001-02-22 Juergen Vigna <jug@sad.it>
14188 * BufferView_pimpl.C (update): call a status update to see if LyXText
14191 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14193 * vc-backend.C (revert): implement for CVS
14194 (getLog): implement for CVS
14196 2001-02-20 Juergen Vigna <jug@sad.it>
14198 * text2.C (ClearSelection): added BufferView param for inset_owner call
14200 * lyxfunc.C (TEXT): added this function and use it instead of
14201 directly owner->view()-text of getLyXText().
14203 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14205 * src/layout_forms.C: out preamble
14206 * src/layout_forms.h: out preamble
14207 * src/lyx_cb.C: out preamble
14208 * src/lyx_cb.h: out preamble
14209 * src/lyx_gui.C: out preamble
14210 * src/lyx_gui_misc.C: out preamble
14211 * src/lyxfunc.C: connect with guii preamble
14213 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14215 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14217 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14219 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14220 whether to run bibtex.
14222 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14224 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14226 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14228 * Makefile.am (lyx_SOURCES): removed bibforms.h
14230 * vspace.h: doxygen
14232 * text.C (GetVisibleRow): make several local vars const
14234 * tabular.C: small cleanup.
14236 * lyxserver.C (callback): use compare instead of strncmp
14238 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14239 inlines to after class or to paragraph.C
14241 * lyxfont.h: remove friend operator!=
14243 * converter.h: move friend bool operator< to non friend and after
14246 * combox.h: small cleanup
14248 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14249 to inlines after class def.
14251 * buffer.C (pop_tag): use string operations instead of strcmp
14253 * bmtable.c: doxygen, small cleanup
14255 * LaTeX.h: remove friend operator==
14257 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14269 * BufferView_pimpl.C:
14270 * BufferView.[Ch]: remove cruft
14272 2001-02-14 Juergen Vigna <jug@sad.it>
14274 * lyxfunc.C: removed #if 0 unused code
14276 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14278 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14280 * text2.C (SetSelection): added a BufferView * parameter
14282 2001-02-13 Juergen Vigna <jug@sad.it>
14284 * lyxfunc.C (Dispatch): fixed protected blank problem.
14285 * BufferView2.C (protectedBlank): added LyxText * parameter.
14287 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14288 (AppendColumn): same as above for column_info.
14290 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14291 (moveCursorUpdate): use a LyXText param for support of InsetText.
14293 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14294 (tripleClick): ditto
14296 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14298 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14300 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14302 * text2.C (SetSelection): set correct update status if inset_owner
14303 (ToggleFree): ditto
14305 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14307 * tabular.C: remove some commented code.
14309 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14311 * BufferView_pimpl.C: call hideSplash()
14313 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14316 * bibforms.h: remove
14319 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14320 add LFUN_CHILD_CREATE
14322 * counters.h: fix tiny typo
14327 * lyx.C: move splash to frontends/xforms/
14329 * lyx_gui_misc.C: move Include and Bibform to frontends
14331 * lyxvc.h: clarify comment
14333 * vspace.C: tiny housekeeping
14335 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14337 * text.C (PrepareToPrint): RTL Fix.
14339 * paragraph.C (GetUChar): New method.
14340 (String): Use GetUChar.
14342 * buffer.C (asciiParagraph): Use GetUChar.
14344 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14346 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14348 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14351 * buffer.C: rename to getLogName(), handle
14352 build log / latex log nicely
14354 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14357 * MenuBackend.h: remove support for reference menuitem type.
14359 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14361 * BufferView_pimpl.C: housekeeping
14362 * BufferView_pimpl.h:
14367 * minibuffer.h: move Timeout GUI-I
14369 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14371 * lyxrc.C (read): Update converters data-structures.
14373 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14375 * LaTeX.h (operator!=): add operator != for Aux_Info
14377 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14379 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14381 * LaTeXLog.C: deleted, useful code moved to Buffer
14384 * buffer.C: new function getLatexLogName()
14390 * lyxfunc.C: use frontends for LaTeX and VC logs
14392 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14394 * LaTeX.h: yet another std:: that Allan forgot.
14396 * Variables.C (set): renamed from isset(), because this clashes
14397 with some HP-UX macros (grr).
14399 2001-02-06 Allan Rae <rae@lyx.org>
14401 * LaTeX.h: Another bug fix. Missing std:: this time.
14403 2001-02-04 Allan Rae <rae@lyx.org>
14405 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14406 floats problem. I've left it commented out because it's not quite
14407 correct. It should also test that the current object is a table or
14408 figure inset. But I haven't gotten around to figuring out how to do
14409 that. I *think* it'll be something like: "table" == inset.type()
14411 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14414 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14416 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14417 all the citation/databases/styles in the auxilary file.
14418 (run): Rerun latex if there was a babel language error.
14420 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14422 * text.C (Backspace): Preserve the font when changing newline char
14424 (BreakParagraph): If the cursor is before a space, delete the space.
14426 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14428 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14430 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14431 new argument (code).
14432 (ChangeCitationsIfUnique): New method.
14434 * paragraph.C (GetPositionOfInset): Handle bibkey.
14436 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14438 * BufferView_pimpl.h: change type of Position::par_pos to
14439 LyXParagraph::size_type.
14441 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14443 * BufferView_pimpl.C (savePosition, restorePosition): Write
14444 messages to minibuffer.
14446 2001-01-28 José Matos <jamatos@fep.up.pt>
14448 * buffer.C (makeDocBookFile): adds support for document language.
14449 A silly restriction on the name of LatexCommand types where removed.
14450 Added support for CDATA sections, allows to chars unescaped, used
14451 among others in code, to avoid escape < and >.
14453 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14455 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14456 saved positions instrad of a stack. Furthermore, a position is
14457 stored using paragraph id/paragraph position.
14459 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14460 Remove LFUN_REF_BACK.
14462 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14464 * converter.C (dvipdfm_options): New method.
14466 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14468 * vspace.C (isValidLength): Fix for empty input string.
14470 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14472 * LyXAction.C (init): change description of LFUN_FIGURE to
14475 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14477 * LaTeX.C: add using directive
14479 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14481 * MenuBackend.C (expand): Fix the sorting of the formats.
14483 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14485 * lyx_main.C: tiny error message fix
14487 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14489 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14490 calling fl_initialize(). This fixes the problem with ',' as
14491 decimal separator in text files.
14493 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14495 * trans.C (process): Fix the keymap bug.
14497 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14499 * LaTeX.C (scanAuxFiles): New method. Provides support for
14500 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14501 (scanLogFile) Scan for "run BibTeX" messages.
14503 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14504 OT1 font encoding. Also, load the aecompl package if the ae
14507 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14509 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14511 * texrow.C (increasePos): turn two error messages into debug
14514 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14516 * LaTeX.C (scanAux): Handle the \@input macro.
14517 (runBibTeX): Use scanAux().
14519 * language.C (latex_options_): New field.
14521 * LaTeXFeatures.C (getMacros): Add language macros.
14523 * buffer.C (makeLaTeXFile): Small fix.
14525 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14527 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14529 * text2.C: add a using directive.
14531 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14536 * lyxfunc.C: kill LyXBell.
14538 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14540 * text.C (IsBoundary): Remove the error message
14542 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14544 * lyxrc.C (setDefaults): Correct initialization value for
14547 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14549 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14552 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14553 and GotoNextNote().
14555 * src/LyXAction.C: Added reference-next.
14557 * text.C (InsertChar): Use contains instead of strchr.
14559 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14561 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14563 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14564 alignment commands (when needed).
14566 * text.C (InsertChar): Add ':' to number separator chars.