1 2004-01-07 Angus Leeming <leeming@lyx.org>
4 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
6 * BufferView_pimpl.C (dispatch): act on these LFUNs.
8 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
9 functions replacing find, replace and replaceAll.
11 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
12 LFUN_WORDFIND(FORWARD|BACKWARD).
14 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
16 * text.C (breakParagraph): remove an outdated #warning
18 2004-01-07 André Pönitz <poenitz@gmx.net>
20 * lyxfind.C: somewhat clearer logic
22 * text.C: prevent crash in cursorX on unitialized row cache
24 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
26 * lyxcursor.[Ch] (operator>): add
27 * textcursor.C (selStart, selEnd): use std::min and std::max
29 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
31 * Chktex.C: include boost/format.hpp
33 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
35 * InsetList.C: replace functor MathcIt with adaptable functor
37 (insetIterator): modify accordingly
39 * BranchList.h: move the BranchNamesEqual functor here from...
40 * BranchList.C: ... to here
42 * BranchList.C: new BranchListEqual fuctor, use it. Remove
44 (add): replace a finding loop with std::find_if.
46 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
48 * output_docbook.C: moving LatexParam functionality into
51 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
53 * buffer.C: increment format to 229.
55 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
58 * lyx_sty.[Ch]: remove minipageindent_def
64 * text3.C: remove LFUN_INSET_MINIPAGE
66 2003-12-28 Angus Leeming <leeming@lyx.org>
68 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
70 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
72 * text2.C (setParagraph): fix off-by-one crash
74 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
76 * output_docbook.C: header stuff for AGU
78 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
80 * text2.C (redoCursor): remove
83 * BufferView_pimpl.C: remove calls to redoCursor and
84 setCursor(cursor.par(), cursor.pos()) all around
86 2003-12-15 Angus Leeming <leeming@lyx.org>
88 * buffer.C: up the format to 228.
90 2003-12-15 André Pönitz <poenitz@gmx.net>
92 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
106 2003-12-15 Angus Leeming <leeming@lyx.org>
108 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
109 than getFromGUIName to manipulate the color.
111 2003-12-14 Angus Leeming <leeming@lyx.org>
113 * BranchList.[Ch]: minimize the API.
114 (Branch::getBranch, getColor): now return a 'const &'.
115 (Branch::setSelected) now returns a bool set to true if the
116 selection status changes.
117 (BranchList::clear, size, getColor, setColor, setSelected,
118 allBranches, allSelected, separator): removed.
119 (BranchList::find): new functions, returning the Branch with
121 (BranchList::add, remove): return a bool indicating that
122 the operation was successful.
124 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
125 new InsetBranch::isBranchSlected member function.
127 * LColor.[Ch]: mimimize the API.
128 (fill): renamed as addColor and made private.
129 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
130 versions of these functions taking a string arg have been removed.
132 * bufferparams.C (readToken):
133 * lyxfunc.C (dispatch):
134 * lyxrc.C (read): changes due to the altered BranchList and
137 * factory.C (createInset, readInset): changes due to altered
140 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
143 * lyxfunc.C: remove insetminipage. "minipage-insert"
144 now produces a frameless minipage box inset.
146 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
148 * textcursor.[Ch] (selStart,selEnd): add new methods
149 remove selection::start, end, use LyXCursor::operator<
150 * lyxcursor.[Ch] (operator<): add
151 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
152 * BufferView.[Ch] (unsetXSel): add
153 * text2.C (clearSelection): use unsetXSel,adjust
156 * rowpainter.C: adjust
157 * bufferview_funcs.C (put_selection_at): adjust
159 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
161 * BufferView_pimpl.C: small coord. correction
163 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
165 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
166 dragging over the splash screen.
168 2003-12-11 Angus Leeming <leeming@lyx.org>
170 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
171 as it is now handled in LyXText::dispatch.
173 * text3.C (doInsertInset): remove a level of nesting.
175 2003-12-11 Angus Leeming <leeming@lyx.org>
177 * factory.C (createInset): changes due to the changed interface to
178 InsetCommandMailer::string2params.
180 2003-12-10 Angus Leeming <leeming@lyx.org>
182 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
183 'dialog-show-new-inset <inset name>'
185 2003-12-10 Angus Leeming <leeming@lyx.org>
187 * buffer.C: up the format to 227.
189 * factory.C: the box inset is now identified simply by 'Box'.
191 2003-12-10 Angus Leeming <leeming@lyx.org>
193 * buffer.C: up the format to 226.
195 * factory.C: the note inset is now identified simply by 'Note'.
197 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
199 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
200 when a pit is enough. Standarize a couple of loops.
202 2003-12-05 Angus Leeming <leeming@lyx.org>
204 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
205 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
206 data to the re-worked "log" dialog.
208 2003-12-03 André Pönitz <poenitz@gmx.net>
216 * text2.C: use Inset::getText instead of Inset::getParagraph
218 2003-12-03 André Pönitz <poenitz@gmx.net>
222 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
223 InsetText::read() as LyXText::read()
225 2003-12-02 Angus Leeming <leeming@lyx.org>
227 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
228 type. Add a comment in the implementation that the function uses
229 the stream's bad() function rather than fail() as the std::streams
232 2003-12-02 André Pönitz <poenitz@gmx.net>
234 * lyxlex.[Ch]: make interface more similar to std::stream
236 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
238 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
240 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
242 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
244 * vspace.[Ch]: remove VSpace::NONE
246 2003-12-01 André Pönitz <poenitz@gmx.net>
249 * lyxtext.h: move ParagraphList member to LyXText
250 rename LyXText::ownerParagraphs to LyXText::paragraph
253 * bufferview_funcs.C:
263 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
265 * undo.C: fix cursor positioning
267 2003-12-01 John Levon <levon@movementarian.org>
269 * BufferView_pimpl.C: fix a crash on exit with
272 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
274 * BranchList.C: fix setSelected() method.
276 2003-11-28 André Pönitz <poenitz@gmx.net>
278 * ParagraphParameters.[Ch]:
279 * ParameterStruct.h: remove space above/below from Paragraph to
282 * BufferView_pimpl.C:
294 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
296 * factory.C: Syntax change for CharStyles
298 2003-11-28 André Pönitz <poenitz@gmx.net>
303 * buffer.[Ch]: move LyXText member
305 2003-11-28 André Pönitz <poenitz@gmx.net>
307 * BufferView.[Ch]: make LyXText * text a private member
309 * BufferView_pimpl.C:
320 * output_plaintext.C: cleanup
322 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
325 * lyxtextclass.[Ch]: parametrize SGML document header
327 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
330 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
333 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
335 * text2.C (setFont): rework using PosIterator (no more recursive)
336 (setCharFont): no more needed
337 (setLayout): no more selection cursors fiddling (done by redoCursor)
338 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
339 destroy remaining ones)
341 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
343 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
345 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
348 * text3.C: adjust + re-allow multi par depth changes
349 * textcursor.C: simplify a bit
351 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
357 * src/output_docbook.C:
358 * src/output_latex.C:
363 * src/text2.C: Introducing a number of tags parametrizing various
364 XML formats that we may want to support
366 2003-11-25 André Pönitz <poenitz@gmx.net>
368 * InsetList.[Ch] (begein, end): inline as suggested by profiler
370 * lyxtext.h (leftMargin/rightMargin): simplify interface
377 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
379 * lyxfunc.C (dispatch): propogate the bibtex databases from the
380 master file to any child files. Fixes bug 546.
382 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
384 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
386 2003-11-24 André Pönitz <poenitz@gmx.net>
388 * rowpainter.C: simplification
390 * text2.C (updateCounters): remove call to redoParagraph on
391 changed labels as this is far too expensive.
393 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
395 * converter.C (convert): fix a crash: this function gets
396 called with buffer == 0 from importer code.
398 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
400 * text3.C (cursorPrevious): make sure that we do not compare
401 iterators form different containers.
404 * rowpainter.C (paintSelection): make sure that we do not compare
405 iterators from different containers.
407 * text3.C (dispatch): [PRIOR] make sure that we do not compare
408 iterators from different ParagraphList containers.
411 * text2.C (LyXText): change order of initialization slightly
412 (operator=): new function. copy all variables except cache_par_
413 (moveUp): make sure that we do not compare iterators from
414 different ParagraphList constainers.
417 * text.C (firstPar): new function
418 (lastPar): new function
419 (endPar): new function
421 * lyxtext.h: move things around and group public functions, public
422 variables, private functions, private variables
424 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
426 * factory.C: change call to InsetERT constructor to avoid
427 additional invocation of method status
428 * text2.C (toggleInset): remove redundant update() call
429 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
430 instead of a Bufferview pointer
432 2003-11-21 André Pönitz <poenitz@gmx.net>
434 * rowpainter.C: simplification
436 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
438 * text3.C (dispatch): make possible to extend a word/row selection
441 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
443 * lyxtext.h: x0_,y0_ -> xo_,yo_
444 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
445 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
446 * rowpainter.C (paintRows): paint full paragraphs
448 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
450 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
453 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
455 * lyxtext.h: add x0_, y0_
456 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
457 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
459 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
461 * text2.C (setCursorIntern): move the x_target update here *
462 * text3.C: change some bv() to true/false in calls to
463 cursorUp/Down/Right/Left
464 * cursor.C: use helper function.
466 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
468 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
469 * paragraph_funcs.[Ch]: correct comment
470 * rowpainter.C: do not paint selections away from bv->cursor()
471 Fix a long standing selection painting bug.
472 * text3.C: generalize mouse-selection code to LyXTexts other that
474 * textcursor.C: do not use y coords if we can use par offsets
476 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
478 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
479 cursor position after e.g. inset insert)
481 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
483 * lyxfind.C (replace): adjust to locking removal + some
486 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
488 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
491 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
494 * output_docbook.C: XML sanitation: new layout
495 parameters InnerTag and CommandDepth
497 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
499 * BufferView_pimpl.C:
501 * text3.C: Fix the insertion and modification of button-style
504 2003-11-13 André Pönitz <poenitz@gmx.net>
506 * InsetList.[Ch]: remove deleteLyXText
508 * paragraph.[Ch]: cache beginOfBody position
513 * text3.C: remove superfluous update() calls
517 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
519 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
520 * BufferView.C (fitLockedInsetCursor): remove
521 * cursor.[Ch] (getDim): add
522 * text.C (getRowNearY): add faster version
523 * text3.C: remove some update calls
525 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
537 * text3.C: The Character Style /XML short element patch.
539 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
542 * factory.C: Small step to solving 'unable to insert some insets'
545 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
547 * cursor.[Ch] (updatePos): new function for updating the y
548 position of the tip inset
549 * bufferview_funcs.C (put_selection_at):
550 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
552 2003-11-11 André Pönitz <poenitz@gmx.net>
554 * text.C: remove big comment on invalid Paragraph pointers as it is
557 2003-11-11 André Pönitz <poenitz@gmx.net>
559 * text_funcs.[Ch]: merge with ...
567 * Makefile.am: remove text_funcs.[Ch]
569 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
571 * cursor.C (getPos): return absolute cached y coord
573 * BufferView_pimpl.C (fitCursor): new simplistic code
574 (workAreaDispatch): add a fitCursor call
576 2003-11-10 André Pönitz <poenitz@gmx.net>
579 * BufferView_pimpl.[Ch]: merge update() and updateInset()
581 2003-11-10 André Pönitz <poenitz@gmx.net>
583 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
584 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
585 indicate that the cursor needs to leave an inset
587 * lyxtext.h: remove inset locking
589 * cursor.[Ch]: re-implement functionality provided by inset locking
592 * BufferView_pimpl.[Ch]:
594 * bufferview_funcs.[Ch]:
606 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
608 * PosIterator.[Ch]: replace the stack with a vector, add inset
610 * iterators.[C]: adjust
612 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
614 * lyxfind.C (replaceAll): mark the buffer dirty if something was
616 * paragraph_funcs.C (readParToken): put the correct id in the
617 error item, not the id of the top paragraph
619 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
621 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
622 * bufferview_funcs.C (put_selection_at): use the above
624 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
626 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
628 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * output_plaintext.h:
633 * output_docbook.h: add #include statements
635 2003-11-05 José Matos <jamatos@lyx.org>
637 * output_docbook.[Ch]:
639 * output_linuxdoc.[Ch]:
640 * output_plaintext.[Ch]: New files for output formats.
641 * output.[Ch]: New file for helper functions.
644 * paragraph_funcs.[Ch]: output functions moved to new files.
646 * outputparams.h: rename of latexrunparams.h
654 * paragraph_funcs.[Ch]:
655 * paragraph_pimpl.[Ch]:
656 * tabular.[Ch]: rename ascii to plaintext
657 and LatexRunParams to OutputParams.
659 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
661 * iterators.[Ch] (text): require bv argument
662 * undo.C (recordUndo):
663 * lyxfunc.C (dispatch):
664 * bufferview_funcs.C (put_selection_at): adjust
666 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
668 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
670 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
672 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
675 2003-11-04 André Pönitz <poenitz@gmx.net>
677 * cursor.[Ch]: restructure
680 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
682 * iterators.[Ch] (asCursor): remove
684 * lfuns.h: remove LFUN_INSET_EDIT
690 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
692 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
694 * lyxfind.[Ch]: complete overhaul
695 * BufferView_pimpl.C:
697 * paragraph.[Ch] (insert): add
699 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
703 * text.C: remove dead spellcheck code
705 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
707 * dispatchresult.h: add a val setter
709 * cursor.C (dispatch): use a tempvar for data_[i]
711 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
713 * PosIterator.[Ch]: compile fix
715 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
717 * text.C (cursorPar): deactivate the cursor cache
719 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
721 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
723 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * text3.C (dispatch): adjust for new DisptchResult semantics.
727 * lyxfunc.C (dispatch): handle update when return from
728 Cursor::dispatch, adjust for new DispatchResult semantics.
730 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
731 DispatchResult(true) mean to not update. Add class functions for
732 setting dispatched and update, as well as reading.
734 * cursor.C (dispatch): don't handle update here
736 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
738 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
739 * trans_mgr.C: adjust
741 * paragraph_funcs.C (readParToken): exception safety
743 * lyxvc.h: store the vcs pointer in a scoped_ptr
746 * lyxsocket.C (serverCallback): exception safety
748 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
750 * ispell.C (clone): make it return a auto_ptr
752 * factory.C (createInset): exception safety
753 (readInset): exception safety
755 * bufferlist.C (newBuffer): exception safety
757 * Thesaurus.C (Thesaurus): use initialization for aik_
759 * MenuBackend.C (expandToc): exception safety.
761 2003-11-03 André Pönitz <poenitz@gmx.net>
765 * bufferview_funcs.C: remove getInsetFromId()
768 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
774 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
776 * PosIterator.C (distance, advance): new
777 * bufferview_funcs.[Ch] (put_selection_at): new
778 * iterators.[Ch] (lockPath): new
780 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
782 * iterators.[Ch] (asPosIterator): added
783 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
784 * PosIterator.[Ch]: added
786 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * cursor.C (dispatch):
791 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
793 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
794 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
795 contructor, add a class function dispatched. Remove operator>=
797 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * debug.C: only use the default constructor for debugstream
802 * main.C (main): include debug.h and setup the lyxerr streambuf
805 2003-10-31 José Matos <jamatos@lyx.org>
807 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
809 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
810 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
811 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
812 * paragraph_pimpl.C (simpleTeXSpecialC):
813 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
814 add LatexRunParams argument.
816 * exporter.C (Export): change call accordingly.
818 * latexrunparams.h: add new member to take care of the other backends.
819 2003-10-30 José Matos <jamatos@lyx.org>
821 * buffer.C (makeLinuxDocFile, makeDocBookFile):
822 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
823 factorise code for paragraph output.
825 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
828 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * text3.C (dispatch):
831 * lyxfunc.C (dispatch):
832 * cursor.C (dispatch):
833 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
835 * dispatchresult.h: make the dispatch_result_t ctor explicit
837 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
840 * buffer.C: small refactoring of docbook stuff
842 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
844 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
847 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
850 operator dispatch_result_t, and operators for == != and >=
852 * cursor.C (dispatch): adjust for operator dispatch_result_t
853 removal. comment out call to update
855 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
857 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
865 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
868 * dispatchresult.h: new file, DispatchResult broken out of
871 * Makefile.am (lyx_SOURCES): add dispatchresult.h
873 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
875 * text.C (rowBreakPoint): put a hack inside #if 0
877 2003-10-28 André Pönitz <poenitz@gmx.net>
884 * text2.C: general cleanup (lots of small stuff)
886 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
888 * text2.C (cursorEnd): simple fix to the "end key goes to one
889 before the end on last row" bug
891 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
893 * text.C (backspace): fix the "zombie characters"
895 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
897 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
899 2003-10-27 André Pönitz <poenitz@gmx.net>
901 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
903 * factory.C: handle new InsetPagebreak, InsetLine
905 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
906 and move handling into new InsetPagebreak, InsetLine
908 * BufferView_pimpl.C:
910 * ParagraphParameters.C:
923 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
932 * text3.C: remove lastPos uses in favour of Row::endpos
934 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
936 * undo.C (performUndoOrRedo): fix two crashes by setting a
937 cursor by hand and reordering some calls. Use bv->lockInset instead
938 of inset->edit because the latter loses cursor information
940 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
942 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
944 (rowBreakPoint): fix width. change point to point + 1.
947 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
950 * lyxfunc.C: fix (at least partly) the problems
951 with the Nav menu and headers inside branch insets
954 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
956 * paragraph.C (getChar): add strong asserts
958 * lyxrow_funcs.C (lastPos): remove hideous hack
960 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
961 (fill): adjust to that (avoid an infinite loop)
963 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
965 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
967 2003-10-23 André Pönitz <poenitz@gmx.net>
969 * RowList_fwd.h: change list<> to vector<> to gain speed
970 after suggestion from Alfredo
972 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
974 * lyxtext.h: move the bidi stuff from here...
977 * Bidi.[Ch]: ... to here
979 2003-10-23 André Pönitz <poenitz@gmx.net>
982 * text.C (isLastRow, isFirstRow): new functions
984 * paragraph.h: new width cache member
986 * rowpainter.C: replace RowList::iterator with Row & where possible
988 * lyxfunc.C: replace several view()->text with a single call
990 * toc.C: fix 'unused' warning
992 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
995 when woring with stream::pos_type
996 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
998 2003-10-22 André Pönitz <poenitz@gmx.net>
1001 * text.C: use Row & instead of RowList::iterator
1003 * lyxrow.h: rename end() to endpos()
1009 2003-10-22 Angus Leeming <leeming@lyx.org>
1011 * buffer.[Ch] (fully_loaded): new member function, returning true
1012 only when the file has been loaded fully.
1013 Used to prevent the premature generation of previews and by the
1014 citation inset to prevent computation of the natbib-style label.
1016 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1017 templates are all set up.
1019 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1021 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1023 * text.C: fixed an "oops" in the "is a bit silly"
1026 2003-10-21 André Pönitz <poenitz@gmx.net>
1028 * FuncStatus.[Ch]: small stuff, whitespace
1030 * lyxfont.[Ch]: operator<<() for debug reasons
1034 * lyxtext.h: whitespace, spelling
1036 * paragraph.C: naming of variables
1039 * text2.C: small stuff
1042 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1044 * text.C: (1) finish off the inset display() work;
1045 (2) fix the "is a bit silly" bug (accessing char
1048 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1050 * text.C: re-introduce display() for insets, fixing the
1051 various bugs (stretch of line above, math inset
1054 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * text.C (rightMargin): remove spurious semicolon
1058 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1061 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1063 * text3.C: fix one crash due to wrong cursor def
1065 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * vc-backend.C (scanMaster): make the regex static
1069 * LaTeX.C (scanAuxFile): make the regexs static
1071 * text3.C (doInsertInset, dispatch, dispatch):
1072 * text2.C (cursorUp, cursorDown):
1073 * text.C (selectNextWordToSpellcheck):
1074 * BufferView_pimpl.C (dispatch):
1075 * lyxfunc.C (dispatch): localDispatch -> dispatch
1077 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1079 * lyxsocket.C: include <cerrno>
1081 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1083 * lyxfunc.C (dispatch): remove textcache stuff
1085 * bufferlist.C (release): remove textcache stuff
1088 * TextCache.C: delete file
1089 * TextCache.h: delete file
1091 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1093 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1094 delete of the bv_->text.
1095 (resizeCurrentBuffer): remove texcache stuff
1096 (workAreaResize): ditto
1098 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1100 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1103 2003-10-16 André Pönitz <poenitz@gmx.net>
1110 * text3.C: speed up by storing y positions per paragraph plus per-row
1111 offset instead of having a 'full' y position in the row.
1113 2003-10-15 André Pönitz <poenitz@gmx.net>
1117 * undo.[Ch]: make undo aware of inner insets
1119 2003-10-14 Angus Leeming <leeming@lyx.org>
1121 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1122 static member functions LyX::ref() and LyX::cref.
1123 (lastfiles): new accessor functions for the new lastfiles_ member var.
1124 (addLyXView, views_): add a new LyXView to the list of views_.
1125 (updateInset): loop over all LyXViews to call their own updateInset
1126 member function, returning a pointer to the Buffer owning the inset.
1128 * BufferView_pimpl.C (loadLyXFile):
1129 * MenuBackend.C (expandLastfiles):
1130 * bufferlist.C (MenuWrite, QuitLyX):
1131 lastfiles is no longer a global variable.
1132 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1134 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1135 static function. Access through LyX::cref().emergencyCleanup().
1137 2003-10-14 André Pönitz <poenitz@gmx.net>
1139 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1141 * undo.[Ch]: restoring part of 'undo in insets'
1144 * undo_funcs.[Ch]: merge with undo.[Ch]
1146 * tabular.C: small cleansing stuff
1148 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1150 * paragraph_funcs.C (readParToken): report unknown insets as error
1151 boxes. Use the outer paragraph as location (also for unknown
1154 * factory.C (readInset): do not abort on reading an unknown inset.
1155 Eat it and return 0.
1157 2003-10-13 Angus Leeming <leeming@lyx.org>
1159 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1161 * lyxrc.C: displayTranslator is now a function,
1162 declared in GraphicsTypes.h.
1164 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1166 * format.C: new placeholder $$a to pass the socket address.
1168 * bufferlist.[Ch]: new function getBufferFromTmp.
1170 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1171 files in the temporary dir.
1173 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1175 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1177 * Makefile.am: add lyxsocket.[Ch].
1179 * lyx_main.C (error_handler): handle SIGPIPE.
1181 2003-10-13 André Pönitz <poenitz@gmx.net>
1183 * BufferView_pimpl.C:
1188 * undo_funcs.[Ch]: use paroffset_type instead of
1189 ParagraphList::iterators to prevent multiple conversion
1190 (and get a more robust interface)
1192 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1194 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1196 * text3.C (dispatch): ditto
1198 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1201 move the onlyfile, use onlyfile instead of foundfile in a couple
1204 * DepTable.C (update): flush the error stream a bit more
1206 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * lyxserver.C (callback): adjust
1210 * lyxfunc.C (getStatus): add a missing brace in commented code
1211 (ensureBufferClean): reindent
1212 (dispatch): delete version taking a string
1214 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1216 * LaTeX.C (deplog): move found file handlig from here...
1217 (handleFoundFile): .. to new function here.
1218 (deplog): make sure to discover several files mentioned on the
1221 2003-10-10 André Pönitz <poenitz@gmx.net>
1228 * text3.C: fix some of the tabular crashes
1230 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1232 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1234 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1236 2003-10-09 André Pönitz <poenitz@gmx.net>
1238 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1241 * BufferView_pimpl.C:
1242 * bufferview_funcs.C:
1253 * undo_funcs.C: adjust
1255 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * text2.C (incrementItemDepth): new function, use a backtracking
1258 algorithm to discover the correct item depth.
1259 (resetEnumCounterIfNeeded): new function, use a backtracking
1260 algorithm to discover if counter reset is needed.
1261 (setCounter): use them. Simplify a bit. Add different labels for
1262 different item depths for itemize.
1264 * paragraph.C (Paragraph): remove initialization of enumdepth
1267 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1268 enumerate and itemize. Change the type of itemdepth to signed char.
1270 2003-10-08 André Pönitz <poenitz@gmx.net>
1272 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1277 * tabular.[Ch]: fix crash after 'row-insert'
1279 2003-10-08 Angus Leeming <leeming@lyx.org>
1281 Fix doxygen warnings.
1283 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1284 Remove CutAndPaste:: prefix from header file declaration.
1286 * LColor.h (fill): remove LColor:: prefix from declaration.
1288 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1289 use lyx::depth_type rather than Paragraph::depth_type so that
1290 header file and .C file match.
1292 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1294 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1295 * aspell.C: \file aspell_local.C -> \file aspell.C
1296 * gettext.C: \file gettext.C -> \file src/gettext.C
1297 * gettext.h: \file gettext.h -> \file src/gettext.h
1298 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1299 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1300 * text.C: \file text.C -> \file src/text.C
1302 * toc.C: move comment so that doxygen is not confused.
1304 2003-10-07 Angus Leeming <leeming@lyx.org>
1306 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1308 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1311 * aspell_local.h: add forgotten std::string's.
1313 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1320 * text3.C: The Box patch. Fancybox support, minipage, parbox
1322 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1328 * ParagraphParameters.h:
1338 * lyxtextclasslist.h:
1341 * paragraph_pimpl.C:
1342 * textcursor.h: add <string> and other small fixes to make Lars'
1343 std::string patch compile with STLport.
1345 2003-10-06 Angus Leeming <leeming@lyx.org>
1347 * LColor.h: Add missing #include <string>.
1349 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * All most all file in all subdirs: Make <string> be the prefered
1352 way of getting to std::string, add using declarations.
1354 2003-10-06 André Pönitz <poenitz@gmx.net>
1356 * metricsinfo.C: initialize LyXFont before changing attribute.
1357 (fixes the 'math in \emph is upright' bug)
1359 2003-10-06 André Pönitz <poenitz@gmx.net>
1361 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1363 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1366 * paragraph_pimpl.C: Small fixes to build using STLport
1368 2003-10-02 André Pönitz <poenitz@gmx.net>
1371 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1373 2003-10-01 André Pönitz <poenitz@gmx.net>
1375 * factory.C: assert early
1377 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1379 * lyx_main.C: remove the global debug object
1381 * debug.h: adjust for new debugstream
1383 * debug.C: adjust for new debugstream and keep the global debug
1386 2003-09-22 Angus Leeming <leeming@lyx.org>
1388 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1389 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1390 an incomplete class LyXFont.
1392 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1394 * factory.C: bug fix in branches
1396 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1398 * lyxfunc.C (processKeySym): adjust
1400 (dispatch): change arg name from ev to func, adjust
1401 (sendDispatchMessage): ditto
1403 * lyx_main.C (defaultKeyBindings): adjust keybindings
1404 (deadKeyBindings): ditto
1406 * kbsequence.C (addkey): return a FuncRequest
1408 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1410 * kbmap.C (bind): take a FuncRequest as arg, adjust
1413 (defkey): change to take a FuncRequest as arg, adjust
1414 (findbinding): take a FuncRequest as arg, adjust.
1416 * funcrequest.h (operator=): added
1418 * funcrequest.C (FuncRequest): default kb_action changed from
1419 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1421 * buffer.C (dispatch): simplify
1422 (dispatch): adjust to take a FuncRequest as arg, adjust
1424 * boost.C (assertion_failed): change assertion message slightly
1426 * ToolbarBackend.C (read): simplify
1428 * MenuBackend.C (binding): adjust call to findbinding, add a
1429 message if no binding is found.
1431 (expandToc): correct by adding a empty FuncRequest
1433 * LyXAction.C: include <boost/assert.hpp>
1434 (isPseudoAction): delete function
1435 (LookupFunc): change name to...
1436 (lookupFunc): this. change return type to FuncRequest.
1437 (getActionName): take kb_action as arg, simplify
1438 (funcHasFlag): add an assert, simplify.
1440 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * toc.C (action): return a FuncRequest, simplify
1444 * lyxfunc.C (processKeySym): adjust
1445 (getStatus): delete version that takes an int.
1447 (dispatch): delete version that takes action as int
1449 (sendDispatchMessage): simplify and adjust
1451 * funcrequest.C (getArg): take unsigned int as arg
1453 * ToolbarBackend.C (read): adjust
1454 (add): delete version that takes func as a string.
1455 (getIton): take a FuncRequest as arg
1457 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1460 * MenuBackend.C (MenuItem): add a new construct that only takes a
1461 Kind, simplify the constructor use for submenus.
1463 (expandLastfiles): adjust
1464 (expandDocuments): adjust
1465 (expandFormats): adjust
1466 (expandFloatListInsert): adjust
1467 (expandFloatInsert): adjust
1468 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1470 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1471 Remove class variables lyx_pseudo_map and lyx_arg_map
1473 * LyXAction.C (searchActionArg): delete function
1474 (getPseudoAction): delete function
1475 (retrieveActionArg): delete function
1476 (LookupFunc): make it return kb_action, simplify.
1477 (getActionName): simplify
1479 * factory.C (createInset): fix new bug
1481 2003-09-19 Angus Leeming <leeming@lyx.org>
1483 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1484 masterFilename_ parameter in the include inset.
1486 * factory.C (createInset): changes due to the changes to InsetInclude.
1488 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1490 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1492 2003-09-18 Angus Leeming <leeming@lyx.org>
1495 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1496 Inset::fillWithBibKeys.
1497 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1499 2003-09-18 Angus Leeming <leeming@lyx.org>
1501 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1503 (ctor): pass and store a 'Buffer const &'
1504 (buffer): new member function.
1506 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1507 '*this' to the LaTeXFeatures ctor.
1509 2003-09-18 Angus Leeming <leeming@lyx.org>
1515 * text.C: rename EnumLColor as LColor_color.
1517 2003-09-18 Angus Leeming <leeming@lyx.org>
1519 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1520 remove #include "insets/insetbase.h" from cursor.h.
1522 2003-09-18 Angus Leeming <leeming@lyx.org>
1524 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1525 InsetOld_code to remove #include "inset.h".
1527 * iterators.C: add #include "insets/inset.h"
1529 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1531 * BufferView.C: remove more locking stuff that apparently doesn't
1532 do anything sensible.
1534 2003-09-16 André Pönitz <poenitz@gmx.net>
1537 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1540 2003-09-16 Angus Leeming <leeming@lyx.org>
1542 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1544 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1547 * paragraph.h: remove #include "lyxfont.h". Forward declare
1550 2003-09-16 Angus Leeming <leeming@lyx.org>
1552 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1553 of support/textutils.h.
1554 (isWord): move the contents of support/textutils.h's IsWordChar here.
1560 * text2.C: add #include "paragraph.h".
1563 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1565 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1571 * LaTeX.C: use namespace alias for lyx::support::os
1573 2003-09-16 Angus Leeming <leeming@lyx.org>
1576 * bufferview_funcs.C:
1579 * paragraph_pimpl.C:
1581 * text.C: add #include "LColor.h".
1583 2003-09-16 Angus Leeming <leeming@lyx.org>
1585 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1586 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1588 Store the FontBits::color variable as an int rather than as an
1589 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1592 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1593 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1594 string calls together.
1596 * lyxrc.C: add #include "LColor.h".
1598 2003-09-15 Angus Leeming <leeming@lyx.org>
1600 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1603 2003-09-15 Angus Leeming <leeming@lyx.org>
1605 * LColor.h: add an EnumLColor wrapper for LColor::color.
1607 * lyxfont.[Ch] (color, setColor, realColor):
1608 * lyxtext.h, text.C (backgroundColor):
1609 pass EnumLColor args to/from the functions, rather than LColor::color
1613 * lyxtext.h: forward declare EnumLColor.
1615 * lyx_main.C: add #include "LColor.h".
1617 2003-09-15 Angus Leeming <leeming@lyx.org>
1619 * .cvsignore: add lyx-gtk.
1621 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1626 * ParagraphParameters.C
1630 * bufferview_funcs.C
1640 * vc-backend.C: remove usage of STRCONV
1642 2003-09-15 Angus Leeming <leeming@lyx.org>
1644 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1645 explicitly define the color passed to the painter.
1647 2003-09-15 Angus Leeming <leeming@lyx.org>
1649 * bufferparams.C (BufferParams): reorder member initializers to avoid
1652 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1654 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1655 * text.C (updateRowPositions): remove an unusual nop
1657 2003-09-12 André Pönitz <poenitz@gmx.net>
1659 * BufferView_pimpl.C:
1668 * Counters.[Ch]: finish the 'automatic counters' job
1670 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1672 * aspell.C: include <boost/assert.cpp> (compile fix)
1674 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1676 * boost.C (assertion_failed): use lyx::support::abort instead of
1679 2003-09-10 Angus Leeming <leeming@lyx.org>
1681 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1682 with their _fwd progeny.
1684 2003-09-09 Angus Leeming <leeming@lyx.org>
1686 134 files throughtout the source tree: replace 'using namespace abc;'
1687 directives with the appropriate 'using abc::xyz;' declarations.
1689 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1691 * boost.C (emergencyCleanup): moved here from LAssert.c
1692 (assertion_failed): new function, called by BOOST_ASSERT
1694 * several files: change Assert to BOOST_ASSERT
1696 2003-09-09 Angus Leeming <leeming@lyx.org>
1698 * buffer.[Ch]: Add an Impl class and move Buffer's member
1699 variables into it. As a result move several header files out of
1702 Add header files to lots of .C files all over the tree as a result.
1704 2003-09-09 Angus Leeming <leeming@lyx.org>
1706 * buffer.[Ch]: make Buffer's member variables private. Add
1709 Lots of changes all over the tree as a result.
1711 2003-09-08 Angus Leeming <leeming@lyx.org>
1713 * graph.C: #include <config.h>.
1715 2003-09-08 Angus Leeming <leeming@lyx.org>
1719 * BufferView_pimpl.C:
1748 * toc.C: remove redundant using directives.
1750 2003-09-07 Angus Leeming <leeming@lyx.org>
1752 * LaTeXFeatures.h: remove #include "support/types.h".
1753 * ToolbarBackend.h: remove #include <algorithm>.
1754 * changes.h: remove #include <ctime>.
1755 * debug.h: remove #include <iosfwd>.
1756 * graph.h: remove #include "support/std_string.h".
1757 * lyx_main.h: remove #include <csignal>.
1758 * lyxlex_pimpl.h: remove #include <fstream>.
1759 * sgml.h: remove #include <algorithm>, <utility>.
1760 * toc.h: remove #include "support/std_ostream.h".
1761 Add #include <iosfwd>.
1763 2003-09-07 Angus Leeming <leeming@lyx.org>
1765 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1767 * converter.h: forward declare LatexRunParams.
1768 * encoding.h: remove #include "lyxrc.h".
1769 * lyxtext.h: remove #include "LColor.h".
1770 * lyxtextclass.h: remove #include "support/types.h".
1771 * trans.h: remove #include "tex-accent.h".
1772 * trans_mgr.h: remove #include "tex-accent.h".
1773 * insets/inset.h: remove #include "support/types.h", <vector>.
1774 * insets/insetcollapsable.h: remove #include "LColor.h".
1775 * insets/insetinclude.h: remove #include "dimension.h".
1776 * insets/insetlatexaccent.h: remove #include "dimension.h".
1777 * insets/insetoptarg.h:: remove #include "insettext.h".
1778 * insets/insettext.h: remove #include "dimension.h",
1779 <boost/shared_ptr.hpp>
1781 * insets/renderers.h: add #include "dimension.h".
1782 * insets/updatableinset.h: add #include "support/types.h".
1784 * many .C files: Associated changes.
1786 2003-09-06 Angus Leeming <leeming@lyx.org>
1788 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1789 one, inside testInvariant.
1791 * PrinterParams.C: new file.
1792 * PrinterParams.[Ch]: move the function bodies out of line.
1794 2003-09-06 Angus Leeming <leeming@lyx.org>
1796 * ParagraphParameters.h: forward declare ParameterStruct rather than
1797 including its header file.
1798 (depth): moved out-of-line.
1800 2003-09-06 Angus Leeming <leeming@lyx.org>
1802 * BufferView_pimpl.h:
1805 * lyxfunc.h: forward declare LyXKeySym rather than
1806 #include "frontends/LyXKeySym.h".
1808 * BufferView_pimpl.C:
1811 * lyxfunc.C: associated changes.
1813 2003-09-06 Angus Leeming <leeming@lyx.org>
1815 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1816 As a result, can remove the #include "insets/inset.h" from BufferView.h
1818 2003-09-06 Angus Leeming <leeming@lyx.org>
1820 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1821 As a result, can remove the #include "insets/inset.h" from BufferView.h
1823 2003-09-06 Angus Leeming <leeming@lyx.org>
1829 * bufferview_funcs.C:
1830 * BufferView_pimpl.C:
1835 * ParagraphParameters.C:
1840 * frontends/controllers/ControlDocument.C:
1841 * insets/insetcaption.C: rearrange the #includes into some sort of
1844 * buffer.h: remove #includes ErrorList.h, undo.h
1846 2003-09-06 Angus Leeming <leeming@lyx.org>
1848 * support/types.h: add a 'depth_type' typedef, used to store the
1849 nesting depth of a paragraph.
1852 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1853 defining explicitly.
1856 * paragraph_funcs.h:
1857 * ParagraphParameters.h:
1858 * sgml.h: use lyx::depth_type rather than Paragraph or
1859 ParameterStruct's depth_type.
1862 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1865 * BufferView_pimpl.C:
1867 * ParagraphParameters.C:
1870 * bufferview_funcs.C:
1877 * frontends/LyXView.C:
1878 * frontends/controllers/ControlDocument.C:
1879 * frontends/controllers/ControlErrorList.C:
1880 * insets/insetbibitem.C:
1881 * insets/insetbranch.C:
1882 * insets/insetcaption.C:
1883 * insets/insetcollapsable.C:
1884 * insets/insetenv.C:
1885 * insets/insetert.C:
1886 * insets/insetfloat.C:
1887 * insets/insetfoot.C:
1888 * insets/insetfootlike.C:
1889 * insets/insetnewline.C:
1890 * insets/insetquotes.C:
1891 * insets/insettabular.C:
1892 * insets/insettext.C:
1893 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1895 * frontends/controllers/ControlChanges.C: #include "changes.h".
1897 2003-09-06 Angus Leeming <leeming@lyx.org>
1899 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1900 than #including paragraph.h.
1903 * RowList.h: deleted. Superfluous.
1913 * insets/insettext.h: use ParagraphList_fwd.h rather than
1916 * paragraph.h: don't forward declare ParagraphList.
1919 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1920 rather than ParagraphList.h. paragraph.h is still needed for the
1921 Paragraph::depth_type parameters.
1923 * textcursor.h: enable it to compile stand-alone in light of the
1926 * bufferview_funcs.C:
1938 * frontends/controllers/ControlParagraph.C:
1939 * frontends/controllers/ControlTabular.C:
1940 * insets/insetmarginal.C:
1941 * insets/insetminipage.C:
1942 * insets/insetnote.C:
1943 * insets/insetoptarg.C: add header files needed to compile again.
1945 2003-09-06 Angus Leeming <leeming@lyx.org>
1947 * RowList_fwd.h: new file, forward-declaring Row rather than
1948 #including lyxrow.h.
1953 * insets/insettext.h: use it instead of RowList.h
1955 * bufferview_funcs.C:
1962 * text3.C: #include "RowList.h".
1964 2003-09-05 Angus Leeming <leeming@lyx.org>
1966 * factory.C (createInset):
1967 * vspace.C (c-tor): replace sscanf call with an istringstream.
1968 * ispell.C: re-add missing HP/UX headers.
1969 * lyxserver.C: re-add missing os2 headers.
1971 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1980 * text3.C: re-add missing system headers, needed for 2.95.2.
1982 2003-09-05 Angus Leeming <leeming@lyx.org>
1984 Changes most place everywhere due to the removal of using directives
1985 from support/std_sstream.h.
1987 2003-09-05 Angus Leeming <leeming@lyx.org>
1989 Replace LString.h with support/std_string.h,
1990 Lsstream.h with support/std_sstream.h,
1991 support/LIstream.h with support/std_istream.h,
1992 support/LOstream.h with support/std_ostream.h.
1994 Changes resulting throughout the tree.
1996 2003-09-05 Angus Leeming <leeming@lyx.org>
1998 * sgml.h: ensure that the header file can be compiled stand-alone.
1999 * *.C: strip out redundant #includes. (320 in total.)
2001 2003-09-04 Angus Leeming <leeming@lyx.org>
2003 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2004 here (from getPackages).
2006 * debug.[Ch]: add a new EXTERNAL tag.
2008 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2010 * text2.C (cursorEnd): simplify
2012 (getColumnNearX): adjust
2014 * text.C (computeBidiTables): adjust
2017 * rowpainter.C (paintChars): adjust
2018 (paintSelection): adjust
2019 (paintChangeBar): adjust
2022 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2024 (numberOfSeparators): adjust
2026 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2032 * text3.C: Restricts the mouse click functionality
2033 of insets like bibtex, include, toc and floatlist to the visible
2034 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2035 up the dialogs. Cursor has to be in front of the inset (i.e.
2036 start of row) for this to function.
2038 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2040 * bufferview_funcs.C (currentState): output row information
2042 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2044 * bufferview_funcs.C (currentState): output paragraph position
2046 2003-09-04 Angus Leeming <leeming@lyx.org>
2048 * FloatList.h: move out #include "Floating.h".
2049 * LaTeX.h: move out #include "DepTable.h".
2050 * LyXAction.h: move out #include "funcrequest.h".
2051 * buffer.h: move out #include "author.h", "iterators.h".
2052 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2053 * lyx_main.h: move out #include "errorlist.h".
2054 * lyxfunc.h: move out #include "FuncStatus.h".
2055 * lyxtext: move out #include "lyxcursor.h".
2056 * paragraph_pimpl.h: move out #include "counters.h".
2058 2003-09-03 Angus Leeming <leeming@lyx.org>
2060 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2061 preamble_snippets list, enabling us to add snippets to the preamble
2062 only if the snippet was not there already.
2064 2003-09-04 Angus Leeming <leeming@lyx.org>
2066 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2068 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2073 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2075 * BranchList.C: point fix, earlier forgotten
2077 2003-09-02 Angus Leeming <leeming@lyx.org>
2079 * box.C (contains): renamed from 'contained' after a fantastic
2082 2003-09-02 John Levon <levon@movementarian.org>
2088 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2090 2003-09-02 John Levon <levon@movementarian.org>
2092 * text2.C: simplification of cursorEnd(), including partial
2095 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * buffer.C (readFile): add a space
2099 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2101 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2103 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * buffer.C (readFile): new function, take a filename and a
2106 ParagraphList::iterator
2108 (readFile): adjust, make it private. don't use setStream, make
2109 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2110 always contain the filename.
2112 * BufferView.C (insertLyXFile): simplify and make it work for
2115 2003-08-30 John Levon <levon@movementarian.org>
2117 * Makefile.am: fix dist (from Kayvan)
2119 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2121 * most files: change to use const Buffer refs
2123 2003-08-27 André Pönitz <poenitz@gmx.net>
2125 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2126 on top of ownerPar().
2128 2003-08-27 John Levon <levon@movementarian.org>
2130 * funcrequest.C: properly initialise POD members
2132 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2134 * lyxtext.h (top_y): move top_y from here
2139 * BufferView_pimpl.[Ch]: to here
2140 * frontends/screen.C:
2141 * insets/insettabular.C:
2142 * insets/insettext.C: adjust
2143 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2145 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2148 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2150 2003-08-26 André Pönitz <poenitz@gmx.net>
2152 * paragraph_func.[Ch] (outerPar): new function
2155 * paragraph_funcs.C:
2156 * paragraph_funcs.h:
2157 * paragraph_pimpl.C:
2158 * text2.C: remove Inset::par_owner
2160 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2165 * text2.C: eliminates the needFullRow/display() stuff
2166 altogether, putting the logic in metrics/draw in the insets.
2168 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2170 * text2.C (redoParagraphInternal, redoParagraphs):
2171 * text.C (redoParagraph): add a call to updateRowPositions at the
2172 end of each 'metrics-like' call. Remove all others.
2173 (getRow): remove the 'y-computing' version.
2174 (getRowNearY): do not compute nor return the real y. Solve the
2175 'y < 0' problem and simplify.
2177 2003-08-22 Angus Leeming <leeming@lyx.org>
2179 * *.[Ch]: clean-up of licence and author blurbs.
2180 Also move config.h out of a few .h files and into a few .C files.
2182 2003-08-22 André Pönitz <poenitz@gmx.net>
2184 * lyxrow.[Ch]: add x_ and *fill_ members
2189 * text2.C: adjust/remove prepareToPrint() calls
2191 2003-08-22 André Pönitz <poenitz@gmx.net>
2193 * lyxrow.[Ch]: add end_ member
2195 * lyxrow_funcs.C: use LyXRow::end_
2197 * lyxtext.h (singleWidth): add LyXFont parameter
2200 * text2.C: adjust LyXText::singleWidth() calls
2202 * text.C (redoParagraph): simplify row breaking logic
2205 2003-08-19 André Pönitz <poenitz@gmx.net>
2207 * funcrequest.C: initialize button_ member
2210 * rowpainter.[Ch]: interface consolidation
2212 2003-08-18 André Pönitz <poenitz@gmx.net>
2215 * BufferView_pimpl.C:
2217 * paragraph_funcs.C:
2219 * text3.C: remove LyXScreen::draw() and fitCursor calls
2221 * BranchList.h: remove spurious semicolons
2223 * MenuBackend.C: fix branchlist related crash
2225 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2233 * bufferparams.[Ch]:
2237 * text3.C: implements the 'branch inset'
2238 idea. This allows the output of various versions of a document
2239 from a single source version, selectively outputing or suppressing
2240 output of parts of the text.
2241 This implementation contains a 'branch list editor' in a separate
2242 tab of the document settings dialog. Branches are user definable
2243 and have a "display colour" to distinguish them on-screen.
2245 ColorHandler was somewhat cleaned up.
2246 (1) make possible a dynamically growing LColor list by allowing
2247 the graphic context cache to grow along (vector);
2248 (2) eliminate an IMHO unnecessary step in colour allocation.
2250 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2252 * BufferView_pimpl.C: compile fix
2254 2003-08-15 André Pönitz <poenitz@gmx.net>
2256 * rowpainter.C: remove extra metrics calls
2258 * lyxtext.h: merge the two constructors into a single one,
2259 pass reference to owner's par list
2261 * BufferView_pimpl.C:
2265 2003-08-15 André Pönitz <poenitz@gmx.net>
2267 * lyxrow_funcs.[Ch]:
2270 * paragraph_funcs.C:
2275 * text_funcs.C: split LyXText::rowlist_ into individual
2276 Paragraph::rows_ chunks
2279 * BufferView_pimpl.[Ch]:
2282 * text3.C: remove toggleSelection()
2284 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2286 * bufferlist.C: beautify two alerts (shorter text of buttons)
2287 * buffer.C: Remove redundant ' ' from message
2289 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2290 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2291 rename VALIGN_CENTER to VALIGN_MIDDLE
2293 2003-08-11 André Pönitz <poenitz@gmx.net>
2295 * lyxtext.h (getPar):
2296 * text.C: new function
2298 2003-08-11 André Pönitz <poenitz@gmx.net>
2301 * tracer.[Ch]: remove unneeded files
2303 * InsetList.[Ch]: remove resizeInsetsLyXText()
2308 * text3.C: merge insertParagraphs() and appendParagraph()
2309 remove breakAgain(), update()
2311 * BufferView_pimpl.[Ch]:
2312 * bufferview_funcs.[Ch]:
2316 * tabular.C: adjust after text & InsetList changes.
2318 2003-08-08 André Pönitz <poenitz@gmx.net>
2320 * text.C (insertChar, backspace): replace rowlist fiddling
2321 with rebreak of full par
2324 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2325 checkParagraph, updateInset): removed
2327 2003-08-07 André Pönitz <poenitz@gmx.net>
2330 * text3.C: merge some LFUN handlers, remove dead code
2332 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2334 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2336 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2338 * text2.C (DEPM): fix part of bug 1255 and 1256
2340 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * BufferView_pimpl.C (workAreaDispatch): change to use
2343 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2344 that are no mouse related.
2346 2003-08-05 André Pönitz <poenitz@gmx.net>
2349 * BufferView_pimpl.[Ch]:
2350 * bufferview_funcs.C:
2352 * text3.C: rip out "deep update"
2354 * textcursor.[Ch] (last_sel_cursor): remove unused member
2356 2003-08-04 André Pönitz <poenitz@gmx.net>
2359 * BufferView_pimpl.[Ch]:
2360 * ParagraphParameters.C:
2361 * bufferview_funcs.C:
2367 * text3.C: replace "complicated" BufferView::update(...) calls with
2370 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2372 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2374 * Makefile.am (lyx_SOURCES): add paper.h
2376 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2378 * Makefile.am: move things around so that both lyx-qt and
2379 lyx-xforms can be built (according to --with-frontend). Then lyx
2380 is a symbolic link to lyx-[firstfrontend]
2382 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2384 * Always use std::endl with lyxerr
2386 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2388 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2390 2003-08-01 André Pönitz <poenitz@gmx.net>
2393 * BufferView_pimpl.[Ch]:
2395 * text3.C: merge BufferView::repaint() and BufferView::update()
2397 2003-08-01 José Matos <jamatos@lyx.org>
2399 * buffer.[Ch]: file_format is no longer a buffer data element.
2401 2003-08-01 André Pönitz <poenitz@gmx.net>
2406 * text2.C: make redoParagraph more independent of current cursor
2408 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2410 * text2.C: remove unneeded members
2412 2003-07-30 André Pönitz <poenitz@gmx.net>
2414 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2416 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2417 create a single function...
2419 * paragraph_funcs.C (moveItem): ... here.
2422 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2424 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2426 * LColor.[Ch]: Add comment and greyedout logical colors.
2428 2003-07-30 André Pönitz <poenitz@gmx.net>
2430 * tabular.C: don't use Assert too heavily. This crashes where it
2433 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2435 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2436 is disabled (bug 1232)
2438 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2440 * factory.C: limited 'arg' scope
2442 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2444 * factory.C: fixed Note submenu issues
2446 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2448 * factory.C: submenu for Note/Comment/Greyedout
2450 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2453 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2455 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2458 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2459 greyedout. Patch provided by Jürgen Spitzmüller.
2461 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2463 * kbmap.C (read): fix error message when reading bind files
2465 2003-07-29 Angus Leeming <leeming@lyx.org>
2467 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2468 certainly does not do what it purports to do. I am doing it, and
2469 us, a favour by killing it.
2471 2003-07-28 José Matos <jamatos@lyx.org>
2473 * buffer.C (readBody, do_writeFile):
2474 * paragraph.C(readParagraph): \end_document replaces \the_end.
2476 2003-07-29 André Pönitz <poenitz@gmx.net>
2479 * BufferView_pimpl.[Ch]:
2483 * textcursor.[Ch]: remove toggleToggle & Co
2485 2003-07-28 José Matos <jamatos@fep.up.pt>
2487 * buffer.C (readParagraph):
2488 * params_func (readParToken, readParagraph):
2489 * paragraph.C (write): \layout -> \begin_layout.
2491 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * lyxlex_pimpl.C (setFile): clean up slightly.
2495 * bufferparams.h: add compressed var
2497 * buffer_funcs.C (readFile): adjust for LyXLex change
2498 (newFile): ditto + simplify
2500 * buffer.C (writeFile): handle writing of compressed files
2502 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2503 Check if the file is compressed and set a bufferparm if so.
2505 * Makefile.am (lyx_LDADD): remove explicit -lz
2507 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2509 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2510 makeDocBookFile): put the real LyX version in the first line of
2514 * version.C.in: remove lyx_docversion
2516 * tabular.C (write_attribute): add a template-based version to
2517 write enums properly
2519 2003-07-28 André Pönitz <poenitz@gmx.net>
2524 * text3.C: use doubles again for x-coordinates. They are needed.
2526 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * messages.C (getLocaleDir): use lyx_localedir()
2530 * lyxlex_pimpl.C (setFile): compress stuff
2532 * buffer.C (writeFile): add some compression stuff
2533 (do_writeFile): new func, dont call expliti close... will this
2536 * Makefile.am (lyx_LDADD): add -lz
2538 2003-07-28 José Matos <jamatos@fep.up.pt>
2540 * buffer.C: increment file format.
2541 * paragraph_funcs (readParagraph, readParToken):
2542 * paragraph.C (readParagraph): add \end_layout.
2544 2003-07-27 Angus Leeming <leeming@lyx.org>
2546 * Makefile.am: remove special casing for configure-time setting of
2547 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2549 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2550 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2552 2003-07-26 André Pönitz <poenitz@gmx.net>
2554 * paragraph_func.[Ch]:
2555 * paragraph.C (realizeFont): inline it whereever it is used
2560 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2563 2003-07-26 André Pönitz <poenitz@gmx.net>
2567 * text2.C: get rid of LyXText::need_break_row
2569 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2571 * toc.[Ch]: put namespace toc inside namespace lyx
2573 * MenuBackend.C (expandToc2): adjust for lyx::toc
2576 * lyxfunc.C (dispatch): adjust for lyx::find
2578 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2579 lyx::find instead. Reorganize a bit.
2580 (LyXReplace): rename to replace
2581 (LyXFind): rename to find
2583 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2586 2003-07-26 André Pönitz <poenitz@gmx.net>
2588 * text.C (setHeightOfRow): restrict scope of temporary variable
2590 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2591 code (never has been used?)
2593 2003-07-27 Asger Alstrup <alstrup@local>
2595 * text.C (fill): Optimise algorithm to exploit that we can reuse
2596 the LyXFont for many characters.
2597 (setHeightOfRow): Same thing.
2598 (rowBreakPoint): Same thing.
2600 2003-07-26 Asger Alstrup <alstrup@local>
2602 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2604 * text.C (singleWidth): Spurious font copying in hot-spot
2605 singleWidth avoided. Reorder tests for arabic for efficiency.
2607 * text.C (fill): handle empty paragraphs better.
2609 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2612 * encoding.h: add includes
2614 * lyxrc.C: remove reading of bind files
2616 * lyx_main.C (init): setup bindings and menus only if we have a
2619 * kbmap.C (read): new method. Do the actual reading of bind
2622 * converter.C (dvipdfm_options):
2625 (output): adapt PAPER_* enums.
2627 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2629 * bufferparams.h: remove paper-related enums from there
2631 * paper.h: New file. A trivial header file to hold paper-related
2632 enums. It should later expand to contain many paper-related
2635 * lyxrc.C: declare extern displayTranslator
2637 2003-07-27 José Matos <jamatos@fep.up.pt>
2639 * tabular.[Ch] (linuxdoc): add support for tables and figures
2642 2003-07-27 José Matos <jamatos@fep.up.pt>
2644 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2645 consistency in both functions.
2646 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2648 2003-07-26 Asger Alstrup <alstrup@local>
2650 * rowpainter.C (paintRows): Change algorithm to work directly on
2651 the insets rather than asking every character in the document
2652 whether its an inset.
2654 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2656 * buffer.C (openFileWrite): factorize some code
2658 2003-07-26 Angus Leeming <leeming@lyx.org>
2661 * lyx_main.[Ch]: replace occurances of system_tempdir with
2664 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2666 * rename Inset to InsetOld
2668 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2670 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2671 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2672 which I think is a bit clearer. EDIT is gone, since it was
2673 premature optimisation, and broken for mathed anyway.
2674 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2675 with cursor positioning in insets as well (math insets still do not
2676 work, but that's a different story anyway.) It mysteriously
2677 crashes sometimes with undo in the first paragraph, but I'm fairly
2678 confident that this is a compiler bug.
2680 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * paragraph.C (Paragraph): adjust for new clone return type
2684 (copyIntoMinibuffer): ditto
2686 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2688 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2689 by not having a special case, and always doing a full rebreak of
2690 the document after undo.
2692 2003-07-23 Angus Leeming <leeming@lyx.org>
2694 * factory.C (createInset): InsetExternal::setParams now takes a
2697 2003-07-23 Angus Leeming <leeming@lyx.org>
2699 * factory.C (createInset): changed interface to the external and
2700 graphics mailers' string2params functions.
2702 2003-07-23 Angus Leeming <leeming@lyx.org>
2704 * factory.C (createInset): pass a
2705 Buffer const * parameter to InsetExternalMailer's string2params.
2707 2003-07-22 John Levon <levon@movementarian.org>
2709 * Thesaurus.h: include the right aiksaurus header
2711 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2713 * MenuBackend.C (expand): check menu shortcuts unconditionally
2715 2003-07-21 Angus Leeming <leeming@lyx.org>
2717 * factory.C (createInset): pass a
2718 buffer_path parameter to InsetGraphicsMailer's string2params.
2720 2003-07-21 Angus Leeming <leeming@lyx.org>
2722 * BufferView_pimpl.C (buffer):
2725 * lyxfunc.C (dispatch):
2726 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2727 rather than the grfx shortcut.
2729 2003-07-21 André Pönitz <poenitz@gmx.net>
2731 * rowpainter.C: remove unused variables
2734 * tabular_funcs.h: move to tabular.C
2735 * Makefile.am: adjust
2737 * tabular.[Ch]: basic optical cleaning
2739 * author.h: pass references, not values
2741 2003-07-18 André Pönitz <poenitz@gmx.net>
2749 * text3.C: two-phase drawing for InsetText and InsetTabular
2750 some float -> int changes.
2752 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2754 * lyx_main.C: fix the fix
2756 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2758 * lyx_main.C: fix a crash in batch mode if no files specified
2761 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2763 * format.[Ch] (papersize): moved to BufferParams
2764 * converter.[Ch] (dvips_options): moved to BufferParams
2765 (dvipdfm_options): moved to anon namespace
2766 * bufferparams.[Ch]: added above functions.
2768 2003-07-17 André Pönitz <poenitz@gmx.net>
2772 * text2.C: don't call inset->update() anymore
2774 * metricsinfo.[Ch]: add convenience constructor
2776 2003-07-16 André Pönitz <poenitz@gmx.net>
2781 * text2.C: replace the LyXCursor::irow_ member with
2782 on-demand computation of the value
2784 2003-07-16 John Levon <levon@movementarian.org>
2786 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2788 2003-07-15 André Pönitz <poenitz@gmx.net>
2791 * text2.C: remove no more needed refresh_row
2793 2003-07-15 André Pönitz <poenitz@gmx.net>
2798 * text3.C: refresh_status tristate -> need_update bool
2800 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2802 * lyxtext.h (init): remove reinit argument (act as if always true)
2803 * text2.C: adjust to that
2805 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2807 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2808 * text3.C: use it to delete selections in some cases
2809 (bugs 441, 673, 702, 954).
2811 2003-07-14 André Pönitz <poenitz@gmx.net>
2813 * rowpainter.[Ch]: reduce interface
2815 2003-07-14 André Pönitz <poenitz@gmx.net>
2817 * BufferView_pimpl.C:
2818 * text2.C: adjust after removing unused BufferView * argument
2820 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2822 * text2.C (init): fix a crash fired on resize
2824 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2826 * buffer.[Ch]: added new closing signal
2827 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2828 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2829 BufferView::Pimpl via the closing the signal
2831 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2833 * buffer.[Ch]: take out all bv-related from buffer
2835 * BufferView_pimpl.[Ch]: connect to new signals
2836 * CutAndPaste.C: removed useless asserts
2837 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2840 * lyxfunc.C: moved view-related funciontality from vc here
2841 * paragraph.C: removed outdated comments
2844 2003-07-10 André Pönitz <poenitz@gmx.net>
2846 * BufferView_pimpl.C:
2850 * text2.C: remove InsetText::InnerCache, clean up consequences
2852 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2854 * ispell.C: fix two typos in error messages
2856 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2858 * Extend Note inset to other forms of annotation like Comment
2859 and Greyedout. Right button click gives dialog.
2861 Files modified or added (+):
2865 * ControlNote.[Ch] +
2867 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2868 frontends/controllers
2872 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2874 * aspell.C: add missing namespace lyx::support
2876 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2878 * BufferView.[Ch] (newFile): Add
2879 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2880 * LaTeX.[Ch] (message): added this signal and use it
2881 * buffer.[Ch] (busy, message): added these signals and use them
2882 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2886 * importer.C: use buffer signals instead of direct bv calling
2887 * lyx_cb.[Ch] (ShowMessage): removed
2890 * paragraph_funcs.C:
2891 * text2.C: use buffer signals
2893 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2895 * introduce namespace lyx::graphics
2897 2003-07-02 André Pönitz <poenitz@gmx.net>
2899 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2901 2003-07-01 André Pönitz <poenitz@gmx.net>
2908 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2909 text*.C to text_func.C
2911 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * introduce namespace lyx::support
2915 2003-06-30 André Pönitz <poenitz@gmx.net>
2920 * text.C: re-enable --with-included-string
2922 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2924 * textcursor.C: add <config.h>
2926 * text.C (getWord): remove const from word_location arg
2928 * lyxvc.C (getLogFile): fix const type order
2930 * lyxtext.h: remove const from word_location arg, add arg name
2932 * lyxlayout.h: currect type on labeltype.
2934 * importer.C: correct \file
2936 * converter.C (intToFormat): use std:: on ret val, ws changes
2938 * bufferlist.h: correct \file
2940 * buffer.C (makeLinuxDocFile): fix const type order
2941 (makeDocBookFile): ditto
2942 (fillWithBibKeys): use std:: on stdlib args.
2944 * CutAndPaste.C: fix authors.
2945 (availableSelections): use std:: on return vector
2947 2003-06-27 André Pönitz <poenitz@gmx.net>
2949 * BufferView_pimpl.C:
2950 * bufferview_funcs.C:
2958 * text3.C: remove LyXCursor::row_ member
2961 * text.C: rename fullRebreak() to partialRebreak() and implement
2962 a fullRebreak() that really bereks fully
2964 * textcursor.h: new struct for cursor-related data
2966 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2968 * lyx_main.C (LyX): get full path of document loaded on the
2971 2003-06-26 André Pönitz <poenitz@gmx.net>
2973 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2974 remove unused/broken operator>,<,>=.
2976 * text.C: remove only use of broken operator<= in an Assert().
2978 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2980 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2981 moved errorlist_.clear to showErrorList
2983 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2985 * converter.C (scanLog, runLaTeX):
2986 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2987 move the bv->showErrorList call to the callers
2988 * lyxfunc.C: i.e. here...
2990 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2991 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2992 namespace, the second to...
2993 * buffer_funcs (BufferFormat, parseErrors): added
2994 * errorlist.C (ErrorList(TeXErrors const &)): removed
2996 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2998 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3000 2003-06-24 "Garst R. Reese" <reese@isn.net>
3004 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3006 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3008 * version.C.in: change docversion to 1.4
3010 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3012 * buffer.C: fix a bug just introduced
3014 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3016 * buffer.[Ch]: added the parseError signal and use it, removed
3018 * BufferView.[Ch] (addError): moved to ...
3019 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3020 to the Buffer::parseError signal to catch (guess what) parse errors
3021 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3023 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3025 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3026 ability to create a buffer and to return an existing one from
3027 the list. Moved these functions to...
3028 * buffer_funcs.[Ch]: added
3029 * BufferView.[Ch] (loadLyXFile): added
3030 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3031 job removed from bufferlist::loadLyXFile.
3032 * buffer.C (setReadOnly): make it work without view
3033 (i.e added an if (users))
3035 2003-06-19 Angus Leeming <leeming@lyx.org>
3038 * LyXAction.C (init):
3039 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3040 with LFUN_DIALOG_SHOW <name> <data>.
3042 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3044 * CutAndPaste.C (availableSelections): small compilation fix for
3045 ancient (gcc 2.9x) compilers
3047 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * text3.C (cursorNext): add tmp var
3051 * text2.C (updateCounters): for function calling out of for clause
3052 (replaceSelectionWithString): ditto
3053 (insertStringAsParagraphs): ditto
3054 (getColumnNearX): add tmp var
3055 (setCursorFromCoordinates): add tmp var
3056 (cursorDownParagraph): add tmp var
3057 (deleteEmptyParagraphMechanism): add tmp var
3059 * text.C (insertChar): add tmp var
3061 * rowpainter.C (paintDepthBar): add tmp var
3063 * CutAndPaste.C (availableSelections): potentially check all
3064 paragraphs in a cut to fill the shown strings.
3066 2003-06-18 André Pönitz <poenitz@gmx.net>
3068 * kbmap.[Ch]: use vector<> instead of list<>
3070 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3072 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3073 pasteSelection with index
3075 * text2.C (pasteSelection): modify, call pasteSelection with index
3077 * paragraph.C (asString): reimplement version with no interval to
3078 call the one with interval.
3080 * lyxtext.h: add index arg to pasteSelection
3082 * MenuBackend.C (MenuItem): handle PasteRecent
3083 (Menu::read::Menutags): add md_pasterecent
3085 (expandPasteRecent): new function
3088 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3090 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3092 (availableSelections): new function
3094 2003-06-17 Angus Leeming <leeming@lyx.org>
3096 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3098 2003-06-17 Angus Leeming <leeming@lyx.org>
3101 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3103 * lyxfunc.C (dispatch): invoke it.
3105 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * iterators.C (operator++, ParPosition): reintroduce some
3108 const_cast for the benefit of older compilers.
3110 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3112 * text3.C (dispatch): do not modify clipboard when doing
3113 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3114 LFUN_DELETE_SKIP on a selection selection
3116 2003-06-16 André Pönitz <poenitz@gmx.net>
3122 * tabular.[Ch]: IU of clone() and getLabelList();
3124 2003-06-13 André Pönitz <poenitz@gmx.net>
3126 * tabular.h: compactification
3128 2003-06-12 André Pönitz <poenitz@gmx.net>
3132 * tabular_funcs.h: some renaming plus whitespace
3134 2003-06-12 André Pönitz <poenitz@gmx.net>
3137 * BufferView_pimpl.C:
3143 * toc.C: Return a Paragraph & for ParIterator::operator*()
3145 2003-06-11 John Levon <levon@movementarian.org>
3149 * ToolbarBackend.C: add "Toolbars" section and
3152 2003-06-10 Angus Leeming <leeming@lyx.org>
3155 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3157 * lyxfunc.C (dispatch): invoke it.
3159 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * main.C: protect <ios> with HAVE_IOS
3162 (main): protect sync_with_stdio with HAVE_IOS
3164 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3166 * text2.C (cutSelection): adjust
3167 (pasteSelection): adjust
3169 * messages.C: handle get of empty string
3171 * main.C (main): use sync_with_stdio(false)
3173 * lyxfunc.C (dispatch): adjust
3175 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3176 (WriteAs): remove unneeded BufferView arg.
3178 * bufferparams.h: use correct types on papersize, papersize2 and
3181 * bufferparams.C (readToken): adjust for type
3182 (writeLaTeX): add missing cases to switch.
3184 * bufferlist.C (quitWriteBuffer): adjust
3187 * buffer.C (asciiParagraph): remove some commented code.
3189 * CutAndPaste.C: remove current_view extern variable.
3190 (cutSelection): add BufferParams arg.
3191 (eraseSelection): add BufferParams arg.
3192 (pasteSelection): add Buffer const & arg
3194 2003-06-07 John Levon <levon@movementarian.org>
3197 * paragraph_funcs.C:
3198 * paragraph_pimpl.C:
3202 * paragraph.C: allow InsetERT to freely space lines,
3203 and some consolidation of code
3205 2003-06-06 José Matos <jamatos@fep.up.pt>
3207 * buffer.C (makeDocBookFile): fix bug #821
3209 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3211 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3213 2003-06-04 Angus Leeming <leeming@lyx.org>
3215 * buffer.C: bump format to 224.
3217 2003-06-05 André Pönitz <poenitz@gmx.net>
3219 * text2.C (redoParagraphs): remove two const_cast<>
3221 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3223 * ParagraphList.h: remove last remnants of NO_STD_LIST
3225 2003-06-03 Angus Leeming <leeming@lyx.org>
3227 * factory.C (createInset): small change to the way InsetExternal's params
3230 2003-06-04 André Pönitz <poenitz@gmx.net>
3232 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3234 * paragraph_pimpl.h:
3235 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3237 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3239 * undo_funcs.C: make some simple cases of undo work again
3241 2003-06-03 John Levon <levon@movementarian.org>
3243 * ispell.C: HPUX doesn't have sys/select.h
3246 2003-06-03 John Levon <levon@movementarian.org>
3248 * CutAndPaste.C: update tabular and include inset
3253 * paragraph.C: remove owningBuffer(), don't pass Buffer
3256 * factory.C: insetGraphicsParams changed
3258 2003-06-02 John Levon <levon@movementarian.org>
3264 * text3.C: remove insetparent
3266 2003-06-02 John Levon <levon@movementarian.org>
3269 * buffer.C: fix inset_iterator.end(), move out of line
3272 2003-06-01 John Levon <levon@movementarian.org>
3274 * text3.C: use a proper cut/paste when doing inset
3275 insert (from Jürgen Spitzmüller)
3277 2003-06-01 John Levon <levon@movementarian.org>
3279 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3281 2003-05-30 André Pönitz <poenitz@gmx.net>
3283 * rowpainter.C: unify second drawing phase
3285 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * trans_mgr.C: remove one case of current_view
3289 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3291 * paragraph_funcs.h: remove paragraph.h include
3293 * paragraph.h: delete NO_STD_LIST stuff
3295 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3297 * buffer.h: remove paragraph.h include
3299 * ParagraphList.C: delete file
3301 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3303 * toc.C (getTocList): adjust
3305 * paragraph_pimpl.C (validate): adjust
3307 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3309 * paragraph.C (Paragraph): adjust
3310 (getPositionOfInset): use const_iterator, adjust
3311 (bibitem): use const_iterator, adjust
3312 (setInsetOwner): adjust
3314 * iterators.C (operator++): adjust
3316 * InsetList.[Ch]: Replace selfmade iterator with standard
3317 vector::iterator also introduce const_iterator. Remove getPos,
3318 getInset and setInset from InsetTable. Adjust accordingly.
3320 * BufferView.C (lockInset): adjust
3321 (ChangeInsets): adjust
3323 * tabular.[Ch]: delete commented same_id functions
3325 2003-05-28 John Levon <levon@movementarian.org>
3327 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3329 2003-05-28 André Pönitz <poenitz@gmx.net>
3331 * metricsinfo.[Ch]: remove 'fullredraw' member
3333 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3335 * lyxtextclass.C (operator): remove caching.
3337 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3341 * text2.C (cursorBottom): adjust
3342 (setCounter): use ParagraphList::find, adjust
3344 * text.C (workWidth): use ParagraphList::find, adjust
3346 * lyxcursor.C (LyXCursor): adjust
3348 * buffer.C (inset_iterator): adjust
3350 * ParagraphList.h: make iterator(value_type) private, make
3351 ParagraphList a friend of iterator.
3353 * ParagraphList.C (find): new function
3355 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3357 2003-05-27 André Pönitz <poenitz@gmx.net>
3359 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3361 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3363 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3365 2003-05-26 John Levon <levon@movementarian.org>
3367 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3369 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * remove same_id from function signatures, adjust.
3373 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3377 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3379 * paragraph.C (Paragraph): get rid of same_ids parameter
3381 * ParagraphList.C (insert): adjust
3384 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * paragraph_funcs.C (breakParagraph): adjust
3387 (breakParagraphConservative): adjust
3389 * buffer.C (readParagraph): adjust
3391 * ParagraphList.C (insert): take a reference instead of a pointer
3394 * paragraph.[Ch] (id): new function
3396 * bufferlist.C (newFile): adjust
3398 * ParagraphList.C (ParagraphList): adjust
3400 (push_back): take a reference instead of a pointer.
3402 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3404 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3407 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3408 set else use old code.
3410 * ParagraphList.C: remove all NO_NEXT code and only compile this
3411 code of NO_STD_LIST is set.
3413 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3415 * BufferView_pimpl.C:
3425 * graphics/GraphicsConverter.C:
3426 * graphics/PreviewLoader.C: header adjustment
3428 2003-05-23 Angus Leeming <leeming@lyx.org>
3430 * LaTeXFeatures.[Ch] (useBabel): new method.
3431 * bufferparams.C (writeLaTeX): use it.
3433 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * ParagraphList.h (set): remove unused function.
3437 2003-05-23 André Pönitz <poenitz@gmx.net>
3440 * BufferView_pimpl.C:
3444 * undo_funcs.C: setUndo reworked
3446 * iterators.[Ch]: add access to topmost ParagraphList
3448 * lyxtext.[Ch] (workWidth): add a const
3450 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3452 * texrow.[Ch] (increasePos): remove function
3453 * exporter.C (export): removed unused var and outdated comment
3455 2003-05-23 Angus Leeming <leeming@lyx.org>
3457 * latexrunparams.h: rename fragile as moving_arg.
3458 * paragraph.C (simpleTeXOnePar): ditto.
3459 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3461 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3465 (textUndoOrRedo): comment out a currently unused var.
3467 * paragraph.h (NO_NEXT): enable NO_NEXT
3469 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3471 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3473 * exporter.C (Export): adjust for removeAutoInsets removal.
3475 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3477 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3479 * BufferView.[Ch] (removeAutoInsets): delete function
3481 2003-05-22 Angus Leeming <leeming@lyx.org>
3483 * latexrunparams.h: add a free_spacing variable.
3485 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3486 to pass moving_arg, as the data is stored in runparams.fragile.
3488 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3489 to Inset::latexOptional or to simpleTeXOnePar.
3491 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3492 free_spacing arg to Inset::latexOptional.
3494 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3497 2003-05-22 Angus Leeming <leeming@lyx.org>
3499 * latexrunparams.h: add fragile and use_babel variables.
3501 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3502 * buffer.C (makeLaTeXFile): store this returned value in
3503 runparams.use_babel, thus passing it to the inset::latex methods.
3505 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3506 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3508 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3509 longer has a fragile arg, as it is stored in runparams.fragile.
3511 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3512 moving_arg parameter as the data is stored in runparams.fragile.
3514 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3515 a fragile parameter as the data is stored in runparams.fragile.
3517 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3521 2003-05-22 Angus Leeming <leeming@lyx.org>
3523 * latexrunparams.h: add a 'bool nice' which defaults to false.
3525 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3526 now encapsulated within runparams.
3528 * bufferlist.C (updateIncludedTeXfiles):
3529 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3531 2003-05-22 Angus Leeming <leeming@lyx.org>
3533 * latexrunparams.h: new file containing struct LatexRunParams.
3534 * Makefile.am: add new file.
3536 * LaTeX.[Ch] (c-tor, run):
3537 * buffer.[Ch] (makeLaTeXFile):
3538 * bufferlist.[Ch] (updateIncludedTeXfiles):
3539 * converter.C (convert, scanLog):
3540 * converter.[Ch] (runLaTeX):
3541 * exporter.C (Export):
3542 * paragraph.[Ch] (simpleTeXOnePar):
3543 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3544 * paragraph_funcs.[Ch] (latexParagraphs):
3545 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3546 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3547 pass around a LatexRunParams parameter.
3549 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * paragraph.[Ch]: remove unused constructor
3553 * ParagraphList.C (erase): new function, taking two iterators
3555 2003-05-22 André Pönitz <poenitz@gmx.net>
3557 * undo_funcs.C: remove duplicated code
3559 * iterator.[Ch]: operator=
3561 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3563 * tabular.C (SetMultiColumn): ws changes
3565 * rowpainter.C (paintFirst): get rid of a ->previous
3567 * lyx_cb.C (getPossibleLabel): parlist simplification
3569 * BufferView.C (ChangeInsets): simplify slightly.
3571 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3573 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3574 * lfuns.h: new LFUN_SPACE
3575 * lyxfunc.C: protected space has a new lfun
3576 * paragraph_funcs.C: read new space insets
3578 * factory.C: handle new space insets
3580 2003-05-22 André Pönitz <poenitz@gmx.net>
3583 * BufferView_pimpl.C:
3586 * undo_funcs.C: return a ParIterator from getParFromID.
3588 * iterators.[Ch]: add two const's
3590 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * toc.C (getTocList): adjust
3594 * iterators.[Ch]: rework for parlist
3596 * buffer.C (par_iterator_begin): adjust
3597 (par_iterator_end): adjust
3599 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3601 * BufferView.C (removeAutoInsets): adjust
3602 (ChangeInsets): adjust
3604 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3606 * text.C (top_y): fix bug 1110
3608 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3610 * errorlist.[Ch]: added
3613 * BufferView_pimpl.C:
3614 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3617 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * Makefile.am: ensure that lyx is relinked upon changes to the
3620 various "convenience" libs.
3622 2003-05-20 Angus Leeming <leeming@lyx.org>
3624 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3625 files are compiled in alphabetical order again.
3627 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3629 2003-05-19 Angus Leeming <leeming@lyx.org>
3631 * gettext.[Ch]: remove "char const * _(char const *)".
3633 2003-05-19 André Pönitz <poenitz@gmx.net>
3635 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3644 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3646 2003-05-19 André Pönitz <poenitz@gmx.net>
3650 * lyxtextclass.[Ch]:
3652 * paragraph_funcs.[Ch]:
3654 * text3.C: more insetenv work
3656 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3658 * ParagraphParameters.C (params2string): small bug fixed
3660 2003-05-16 André Pönitz <poenitz@gmx.net>
3663 * bufferview_funcs.C: patch from Kornel Benko to prevent
3664 crash when _(...) is called twice in a statement
3666 2003-05-16 André Pönitz <poenitz@gmx.net>
3673 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3675 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3677 * lyx_main.C (init): remove spurious static_cast
3679 2003-05-14 André Pönitz <poenitz@gmx.net>
3681 * BufferView.C: fix format string
3683 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3685 * BufferView.[Ch] (insertErrors): removed
3686 * BufferView.[Ch] (showErrorList): added
3687 * buffer.C (runChkTeX):
3688 * converter.C (scanLog): call showErrorList instead of inserterrors
3690 2003-05-13 André Pönitz <poenitz@gmx.net>
3692 * BufferView_pimpl.C:
3694 * bufferview_func.C:
3701 * tabular_funcs.h: tostr() from its own header
3703 * ParagraphParameters.C:
3708 * text3.C: STRCONV()
3710 2003-05-12 André Pönitz <poenitz@gmx.net>
3713 * BufferView_pimpl.C:
3717 * ParagraphParameters.C:
3721 * bufferview_funcs.C:
3734 * paragraph_funcs.C:
3738 * text3.C: boost::format -> bformat all over the place
3741 2003-05-09 André Pönitz <poenitz@gmx.net>
3743 * LColor.[Ch]: Pimpl the #include <map> away
3745 2003-05-09 John Levon <levon@movementarian.org>
3747 * bufferlist.C: never remove emergency saves
3749 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * Makefile.am: better lib building
3753 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3757 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3758 (simpleTeXSpecialChars): adjust
3759 (simpleTeXSpecialChars): adjust
3760 * paragraph.C (simpleTeXOnePar): adjust
3761 * buffer.C (makeLaTeXFile): adjust
3763 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3765 * text2.C (changeDepth): parlist cleanup
3766 (getColumnNearX): ditto
3768 * rowpainter.C (getLabelFont): parlist cleanup
3770 * bufferlist.C (newFile): parlist cleanup
3772 * CutAndPaste.C (eraseSelection): parlist cleanup
3774 * BufferView_pimpl.C (trackChanges): parlist cleanup
3777 * BufferView.C (lockInset): parlist cleanup.
3778 (ChangeInsets): ditto
3780 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * CutAndPaste.h: Update file header.
3784 * CutAndPaste.C: Update file header.
3785 Store the parts cut out of the Document in a limited_stack.
3786 (copySelection): adjust
3787 (pasteSelection): new function, takes the index in the limited stack.
3788 (nrOfParagraphs): adjust
3789 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3790 simplify error inset insertion.
3791 (checkPastePossible): adjust
3793 2003-05-06 John Levon <levon@movementarian.org>
3795 * text2.C: don't cast wrap inset to float
3797 2003-05-05 André Pönitz <poenitz@gmx.net>
3800 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3802 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3803 few naked Paragraph *.
3805 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3807 * bufferparams.C: Output warning if a document with missing
3808 TeX document class is loaded
3809 * exporter.C: Disable TeX exports if the document class is missing
3812 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3813 isTeXClassAvailable()
3815 2003-05-03 John Levon <levon@movementarian.org>
3818 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3819 explicit cursor show/hide
3821 * BufferView_pimpl.h:
3822 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3823 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3825 * lyxfunc.C: hide cursor before dispatching.
3830 * text3.C: remove explicit cursor hides
3832 2003-05-02 André Pönitz <poenitz@gmx.net>
3834 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3837 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3840 * text2.C: tiny whitespace
3842 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * undo_funcs.C: almost only ws changes.
3846 * ParagraphList.C (splice): just return if pl is empty.
3848 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * ParagraphList.C (splice): new function.
3852 * CutAndPaste.C (pasteSelection): use it
3854 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * CutAndPaste.C (pasteSelection): remove the last next and
3857 previous from this file.
3859 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * CutAndPaste.C (pasteSelection): more clean up, user proper
3862 ParagraphList functions for pasteing.
3864 * ParagraphList.C (insert): new function, three arg insert
3866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3868 * ParagraphList.C (insert): new function, three arg insert
3870 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3877 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3881 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3884 (copySelection): clean up a bit.
3885 (pasteSelection): use make_pair
3887 * ParagraphList.C (ParagraphList): implement copy constructor
3888 (operator=): implement, base on copy constructor.
3891 * paragraph.C (erase): return a bool
3893 * paragraph_pimpl.C (erasePos): remove function, move contents...
3894 (erase): ... here. Return a bool.
3895 (erase): call erase instead of erasePos.
3897 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3899 * ParagraphList.h: define PitPosPair
3900 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3901 ParagraphList, fix a bug on pasting multiple pars
3902 * text2.C: change interface to C&P
3904 2003-04-30 André Pönitz <poenitz@gmx.net>
3906 * undo_func.C: revert part of yesterday's patch 2
3908 2003-04-30 John Levon <levon@movementarian.org>
3910 * LColor.C: s/tabular/table/
3912 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * text3.C (dispatch): do not convert iterator -> pointer
3915 * undo_funcs.C (setCursorParUndo): ditto
3916 * text_funcs.C (transposeChars): ditto
3918 * text2.C (setLayout): ws changes only
3920 * text.C (breakParagraph): do not convert iterator -> pointer
3922 (acceptChange): ditto
3923 (rejectChange): ditto
3928 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3931 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3933 * text3.C (gotoInset): YABG (yet another bad getChar)
3935 2003-04-29 André Pönitz <poenitz@gmx.net>
3937 * paragraph.h: make operator= private unimplemented as long as
3940 * ParagraphList.C: whitespace
3943 * paragraph_pimpl.[Ch]:
3944 * paragraph_funcs.C:
3946 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3949 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3951 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3953 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3954 * paragraph.[Ch] (erase):
3955 * paragraph_pimpl.[Ch] (erase): change return type and value
3956 * text2.C (cutSelection): some rework
3958 2003-04-28 John Levon <levon@movementarian.org>
3960 * bufferlist.C: changes for unsaved changes dialog
3962 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3964 * bufferlist.C (newFile): set language (messages_) for new
3967 * buffer.C (readFile): ws changes only.
3969 2003-04-28 André Pönitz <poenitz@gmx.net>
3974 * BufferView_pimpl.C:
3975 * BufferView.C: getParFromID related ParagraphList::iterator changes
3977 2003-04-28 André Pönitz <poenitz@gmx.net>
3979 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3982 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3984 * messages.C: remove one more localedir class variable.
3986 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * messages.C (getLocaleDir): singleton generation function
3990 (Messages): add a default constructor.
3992 * main.C (main): do not setup localedir here, do not call
3995 * gettext.C (_): use it.
3996 (gettext_init): delete funciton
3998 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * gettext.C (getLyXMessages): new singleton generating function.
4002 * buffer.C (updateDocLang): adjust
4004 * Makefile.am (messages.o): add target
4005 (main.o): remove target
4007 2003-04-27 John Levon <levon@movementarian.org>
4012 * lyxvc.C: specify cancel button in Alert::prompt
4014 2003-04-26 John Levon <levon@movementarian.org>
4019 * LyXAction.C: add LFUN_INSET_SETTINGS
4021 * lyxfunc.C: don't enable tabular-feature when there's
4022 just any locking inset
4024 2003-04-26 John Levon <levon@movementarian.org>
4026 * bufferlist.C: re-add Cancel to buffer close question
4028 * lyxfunc.C: fix import UI a bit
4030 2003-04-25 John Levon <levon@movementarian.org>
4032 * gettext.C: remove the broken asserts for now
4034 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * messages.C: make case where setlocale cannot comply work better.
4038 * buffer.C (updateDocLang): new function
4039 (changeLanguage): use it
4042 * text2.C (setCounter): use B_ a bit.
4044 * lyxlayout.C (Read): be sure to trim the label strings.
4046 * messages.C (Messages): fix typo in comment
4048 * buffer.C (readFile): set message_ after file is loaded.
4049 (makeDocBookFile): remove double return
4050 (changeLanguage): reset message_ upon language change.
4051 (B_): new func, use this to get translated buffer strings.
4053 * main.C: add myself and Jean Marc as authors.
4055 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * messages.[hC]: pimplify Messages, and three different pimpls to be
4058 used in different circumstances.
4060 * gettext.[Ch]: change for use with new message code.
4062 2003-04-24 André Pönitz <poenitz@gmx.net>
4064 * factory.C: support for eqref
4066 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * messages.[Ch]: add missing char
4070 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4072 * messages.[Ch]: New files
4074 2003-04-18 John Levon <levon@movementarian.org>
4078 * BufferView_pimpl.C:
4082 * text2.C: remove layout-copy/paste (bug 778)
4084 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4086 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4088 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4090 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4091 if they succeed. Act accordingly.
4093 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4095 * text2.C (setCharFont): adjust
4096 (setCounter): adjust
4097 (insertStringAsLines): adjust
4099 * text.C (leftMargin): adjust
4100 (setHeightOfRow): adjust
4102 * rowpainter.C (paintFirst): adjust
4105 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4107 (isFirstInSequence): ditto
4108 (getEndLabel): ditto
4111 * paragraph.C (getParLanguage): comment out some hard stuff.
4113 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4115 (simpleDocBookOnePar): ditto
4116 (makeDocBookFile): use ParagraphList::iterator
4118 * CutAndPaste.C (pasteSelection): adjust
4120 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4122 * text2.C (getFont): adjust
4123 (getLayoutFont): adjust
4124 (getLabelFont): adjust
4126 * paragraph_funcs.C (TeXOnePar): adjust
4128 * buffer.C (simpleLinuxDocOnePar): adjust
4129 (simpleDocBookOnePar): adjust
4131 * CutAndPaste.C (pasteSelection): adjust
4133 * BufferView.C (getEncoding): adjust
4135 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4137 2003-04-16 John Levon <levon@movementarian.org>
4139 * lyxfind.C: use parlist stuff for search/changes
4141 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4143 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4145 * text2.C (deleteEmptyParagraphMechanism): adjust
4147 * text2.[Ch] (ownerParagraph): delete func (both of them
4149 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4151 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4153 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * ParagraphList.C: prepare for NO_NEXT
4157 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * text2.C (getFont): adjust
4160 (getLayoutFont): adjust
4161 (getLabelFont): adjust
4163 * paragraph.C (getFont): adjust
4164 (getLabelFont): adjust
4165 (getLayoutFont): adjust
4167 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4169 2003-04-15 John Levon <levon@movementarian.org>
4173 * lyx_main.C: handle Include in .ui files
4175 2003-04-15 John Levon <levon@movementarian.org>
4177 * MenuBackend.C: make the doc files length shorter
4180 * ToolbarBackend.C: handle toolbar placement flags,
4183 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4188 * paragraph_funcs.C (TeXOnePar): adjust
4190 * paragraph.C (getLabelFont): add outerfont arg, adjust
4191 (getLayoutFont): ditto
4192 (simpleTeXOnePar): adjust
4194 * paragraph_pimpl.C (realizeFont): delete func
4196 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4198 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4199 row argument, constify cur argument.
4201 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * text2.C (getFont): adjust
4204 (getLayoutFont): adjust
4205 (getLabelFont): adjust
4207 * paragraph_funcs.C (TeXOnePar): adjust
4208 (outerFont): new func...
4209 (realizeFont): ...moved out from here, changed this to facilitate
4212 * paragraph.C (getFont): take outerfont as arg, adjust
4213 (simpleTeXOnePar): add outerfont arg, adjust
4215 * buffer.C (simpleLinuxDocOnePar): adjust
4216 (simpleDocBookOnePar): adjust
4218 * CutAndPaste.C (pasteSelection): adjust
4220 * BufferView.C (getEncoding): adjust
4222 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * text2.C (setCharFont): adjust
4225 (setCounter): adjust
4227 * text.C (leftMargin): adjust
4228 (setHeightOfRow): adjust
4230 * rowpainter.C (paintFirst): adjust
4233 * paragraph_pimpl.C (realizeFont): adjust
4235 * paragraph.C (isFirstInSequence): move from here...
4236 * paragraph_funcs.C (isFirstInSequence): ...to here
4238 * paragraph.C (outerHook): move from here...
4239 * paragraph_funcs.C (outerHook): ...to here
4241 * paragraph.C (depthHook): move from here...
4242 * paragraph_funcs.C (depthHook): ...to here
4244 * paragraph.C (getEndLabel): move from here...
4245 * paragraph_funcs.C (getEndLabel): ...to here
4247 * text2.C (realizeFont): move from here...
4248 * paragraph_funcs.C (realizeFont): ...to here
4250 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4254 2003-04-14 Angus Leeming <leeming@lyx.org>
4256 * LColor.[Ch]: scrap LColor mathcursor.
4258 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * lyxlex.[Ch] (text): delete function
4261 * trans.C (Load): adjust
4262 * paragraph_funcs.C (readParToken): adjust
4264 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4267 vector<char> instead of a char[].
4269 * lyxlex_pimpl.C (getString): adjust
4271 (lex): use getString
4275 * lyxlex.C (text): use pimpl_->getString()
4279 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4282 (makeFontEntriesLayoutSpecific): temp var for par.size()
4283 (setLayout): temp var for ownerParagraphs().end()
4284 (fullRebreak): temp var for rows().end()
4285 (selectionAsString): temp var for boost::next(startpit), realize
4286 that the while really is a regular for loop.
4287 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4288 setCursor in one place.
4289 (setParagraph): temp vr for ownerParagraphs().end()
4290 (updateCounters): make the while loop a for loop
4291 (cutSelection): temp var for ownerParagraphs().end()
4292 (updateInset): make the do {} while() a regular for loop
4293 (getCursorX): use temp vars
4294 (setCurrentFont): use temp vars
4295 (getColumnNearX): use temp vars
4297 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * text.C (transformChar): use temp var for getChar
4300 (computeBidiTables): use temp var for row->par()
4301 (fill): move temp vars for row->par() and pit->layout() earlier in
4303 (labelFill): use temp var for row->par()
4304 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4305 asc and desc, realize that pit never changes and that firstpit is
4306 just a duplicate and not needed. Exchange rit->par() with pit in a
4308 (breakAgain): use a temp var for boost::next(rit)
4309 (breakAgainOneRow): ditto
4310 (breakParagraph): use a temp var for rows().begin()
4311 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4312 (cursorRightOneWord): use temp var for cursor.par() and
4313 cursor.pos(), remove usage of tmpcursor.
4314 (cursorLeftOneWord): use temp var for cursor.par() and
4315 cursor.pos() only set cur at end of function.
4317 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * text.C, text2.C: exchange all usage of Paragraph::next with
4320 boost::next(ParagraphList::iterator)
4322 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4324 * text2.C (cursorTop): simplify implementation
4325 (cursorBottom): ditto
4326 (setParagraph): use ParagraphList::iterator
4327 (setCurrentFont): adjust
4328 (getColumnNearX): adjust
4329 (cursorRight): adjust
4330 (cursorLeft): remove usage of Paragraph::previous
4331 (cursorUpParagraph): ditto
4332 (deleteEmptyParagraphMechanism): slight cleanup
4334 * text.C (isBoundary): take a Paragraph const & instead of a
4336 (addressBreakPoint): ditto
4337 (leftMargin): remove usage of Paragraph::previous.
4338 (setHeightOfRow): ditto
4339 (cursorLeftOneWord): ditto
4340 (selectNextWordToSpellcheck): ditto
4343 (breakParagraph): remove one usage of Paragraph::next
4344 (redoParagraph): ditto
4345 (acceptChange): ditto
4346 (insertChar): adjust
4347 (rowBreakPoint): adjust
4349 * bufferview_funcs.C (toggleAndShow): adjust
4351 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4353 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4354 methods to access it.
4356 * text.C: Added updateRowPositions to compute all row positions.
4357 Make top_y and getRowNearY() to use the cached y position
4359 2003-04-11 John Levon <levon@movementarian.org>
4361 * text.C (rowBreakPoint): reintroduce the labelEnd
4362 checks, code copied from the row fill stuff. Deep voodoo.
4364 * text.C (fill): add a comment and debugging for the
4367 2003-04-11 John Levon <levon@movementarian.org>
4369 * text.C: make sure fullrow insets get wrapped to the next line,
4370 even when they're in a manual label
4372 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * text2.C (insertParagraph): make it take ParagraphList::iterator
4376 (setLayout): make it return ParagraphList::iterator
4377 (redoParagraphs): ditto
4379 (checkParagraph): ditto
4381 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4383 * text2.C: adjust several funcs.
4384 (realizeFont): take a ParagraphList::iterator as arg.
4385 (getLayoutFont): ditto
4386 (getLabelFont): ditto
4387 (setCharFont): ditto
4389 * text.C: adjust several funcs.
4391 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4393 * text.C (selectNextWordToSpellcheck): don't accidentally
4396 2003-04-10 John Levon <levon@movementarian.org>
4398 * ToolbarBackend.C (getIcon): special handling for
4401 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4403 * text2.C (cursorRight): a getChar assert fixed
4405 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * text2.C (getFont): change to take a ParagraphList::iterator
4408 instead of Paragraph*
4409 Adjust several functions.
4411 * text.C (transformChar): change to take a ParagraphList::iterator
4412 instead of Paragraph*
4413 (singleWidth): ditto
4414 Adjust several functions.
4416 * rowpainter.C: adjust several functions
4417 * rowpainter.h:store a ParagraphList::iterator and not a
4421 2003-04-09 John Levon <levon@movementarian.org>
4426 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4427 and the "help" bits as well
4429 2003-04-09 John Levon <levon@movementarian.org>
4432 * ToolbarBackend.C: allow multiple toolbars
4434 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * undo_funcs.C (setCursorParUndo): adjust
4438 * text_funcs.C (transposeChars): adjust
4440 * text3.C (gotoNextInset): adjust
4443 * text2.C (setLayout): adjust
4444 (changeDepth): adjust
4446 (redoParagraphs): adjust
4447 (selectionAsString): adjust
4448 (setParagraph): adjust
4449 (insertInset): adjust
4450 (cutSelection): adjust
4451 (copySelection): adjust
4452 (pasteSelection): adjust
4453 (insertStringAsLines): adjust
4454 (updateInset): adjust
4455 (setCursor): change to take a ParagraphList::iterator parameter
4456 (setCursorIntern): change to take a ParagraphList::iterator parameter
4457 (setCurrentFont): adjust
4458 (cursorLeft): adjust
4459 (cursorRight): adjust
4460 (deleteEmptyParagraphMechanism): adjust
4462 * text.C (breakParagraph): adjust
4463 (insertChar): adjust
4464 (acceptChange): adjust
4465 (rejectChange): adjust
4466 (selectNextWordToSpellcheck): adjust
4467 (changeCase): adjust
4471 * lyxfind.C (SearchForward): adjust
4472 (SearchBackward): adjust
4473 (nextChange): adjust
4475 * lyxcursor.C (par): adjust
4477 * lyxcursor.h: store a ParagraphList::iterator instead of a
4480 * lyx_cb.C (getPossibleLabel): adjust
4482 * bufferview_funcs.C (toggleAndShow): adjust
4484 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4487 * BufferView.C (removeAutoInsets): adjust
4488 (lockedInsetStoreUndo): adjust
4490 2003-04-09 John Levon <levon@movementarian.org>
4492 * ToolbarBackend.C: try icon without argument
4493 if with argument fails
4495 2003-04-08 John Levon <levon@movementarian.org>
4498 * ToolbarBackend.C: add getIcon(), handle tooltip,
4499 and change from "Icon" to "Item".
4501 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4503 * BufferView.C (lockInset): another bad getchar crunched
4505 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4507 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4510 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4512 * lyxfind.C (searchForward, searchBackwards): bug 782
4514 2003-04-07 John Levon <levon@movementarian.org>
4516 * paragraph.C: remove dead comment
4518 * text.C: remove troublesome depth-fiddling code
4519 in leftMargin() and rightMargin() (bug 1017)
4521 * text.C: fix breaking of rows in nested lists
4524 * text2.C (updateCounters): fix up depth values
4527 2003-04-07 John Levon <levon@movementarian.org>
4529 * BufferView_pimpl.C: clear message when doc finishes resizing,
4530 and after a mouse event
4532 * lyxfunc.C: clear message after exiting inset
4534 2003-04-07 John Levon <levon@movementarian.org>
4536 * bufferview_funcs.C: show math status not outside
4537 status in the statusbar
4539 2003-04-07 John Levon <levon@movementarian.org>
4541 * lyxfunc.C: note status changed after a depth change
4543 2003-04-04 Angus Leeming <leeming@lyx.org>
4545 * LaTeX.h: move AuxInfo operator==, != out of line.
4546 Remove LaTeX virtual destructor; nothing derives from it.
4547 Move operator()() out of public area and rename it startscript().
4548 Change protected for private.
4550 2003-04-04 Angus Leeming <leeming@lyx.org>
4553 * text2.C: remove unneeded #includes.
4555 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4557 * text2.C (dEPM): fix the heigth of the next row
4559 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4561 * text.C: squashed an invalid getChar requester + some ws changes
4563 2003-04-03 John Levon <levon@movementarian.org>
4565 * bufferview_funcs.h:
4566 * bufferview_funcs.C:
4569 * text2.C: make getStatus work for the env depth lfuns
4571 2003-04-03 John Levon <levon@movementarian.org>
4573 * bufferview_funcs.h:
4574 * bufferview_funcs.C:
4577 * text2.C: parlistize decDepth(), by merging it with incDepth()
4579 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * lyxrow.h: store a ParagraphList::iterator instead of a
4582 Paragraph* and adjust other class functions to suit.
4584 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4587 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4589 * text2.C (setCursor): do not anchor to cursor row for the time being
4591 2003-04-02 John Levon <levon@movementarian.org>
4598 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4600 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * paragraph.h: make ParagraphList and ParagraphList::iterator
4603 friends of Paragraph.
4605 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4607 * ParagraphList.C: Use the private next_ and previous_ from
4610 2003-04-01 John Levon <levon@movementarian.org>
4614 * Makefile.am: rename, remove defaults gunk
4617 * MenuBackend.C: remove defaults gunk
4620 * Languages.C: remove defaults gunk
4623 * lyx_main.C: error out if files couldn't be found.
4625 2003-04-02 John Levon <levon@movementarian.org>
4627 * text2.C: make incDepth() use parlist
4629 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * undo_funcs.C (firstUndoParagraph): adjust
4633 * text3.C (gotoInset): adjust
4634 (dispatch): adjust, and rewrite loop.
4636 * text2.C (init): adjust, and rewrite loop.
4637 (redoParagraphs): adjust
4638 (updateInset): adjust, and rewrite loop.
4639 (deleteEmptyParagraphMechanism): adjust
4641 * tabular.C (LyXTabular): adjust
4642 (SetMultiColumn): adjust
4645 * lyxtext.[Ch] (ownerParagraph): delete function
4646 (ownerParagraphs): new function returns a ParagraphList.
4648 * BufferView.C (removeAutoInsets): adjust
4649 (insertErrors): adjust
4650 (setCursorFromRow): adjust
4652 2003-04-01 Angus Leeming <leeming@lyx.org>
4654 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4657 2003-04-02 John Levon <levon@movementarian.org>
4663 * text_funcs.C: make transposeChars a free function
4665 * lyxrow_funcs.C: remove wrong comment
4667 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * rowpainter.C: adjust
4675 * lyxrow_funcs. [Ch]: new files
4677 * lyxrow.[Ch]: remove next and previous pointers
4678 (next,previous): remove accessor functions
4679 (isParEnd): move to lyxrow_funcs
4680 (lastPos): move to lyxrow_funcs
4681 (nextRowIsAllInset): move to lyxrow_funcs
4682 (lastPrintablePos): move to lyxrow_funcs
4683 (numberOfSeparators): move to lyxrow_funcs
4684 (numberOfHfills): move to lyxrow_funcs
4685 (numberOfLabelHfills): move to lyxrow_funcs
4686 (hfillExpansion): move to lyxrow_funcs
4690 * bufferview_funcs.C (toggleAndShow): adjust
4692 * RowList.h: Remove class RowList from file leave just a
4695 * RowList.C: delete file
4697 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4700 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * text3.C (cursorPrevious): adjust
4703 (cursorNext): adjust
4706 * text2.C (redoHeightOfParagraph): adjust
4707 (redoDrawingOfParagraph): adjust
4710 * text.C (breakParagraph): adjust
4711 (insertChar): adjust
4714 * rowpainter.C (RowPainter): adjust
4715 (leftMargin): simplify and adjust
4716 (most rowpainter functions): adjust.
4718 * rowpainter.h: store the row as RowList::iterator not as Row*
4720 * lyxcursor.C (row): taka RowList::iterator as arg
4723 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4726 2003-04-01 Angus Leeming <leeming@lyx.org>
4728 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4729 stuff like bool Bool.
4731 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4733 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4736 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4741 * lyxtext.h (rows): drop one version and leve a const variant that
4742 returns a RowList::iterator.
4744 2003-03-31 Angus Leeming <leeming@lyx.org>
4746 * text.C (fill): ensure that the signature is the same as that in the
4749 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * text2.C (redoParagraphs): adjust
4752 (updateCounters): adjust
4753 (checkParagraph): adjust
4754 (getColumnNearX): adjust and reformat a bit.
4756 * text.C (top_y): adjust
4758 (leftMargin): adjust
4759 (prepareToPrint): adjust
4761 (getRowNearY): adjust
4763 * lyxtext.h: make rowlist_ mutable.
4765 * RowList.h: add const_iterator
4766 * RowList.C: adjust for RowList::const_iterator.
4768 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4771 2003-03-31 John Levon <levon@movementarian.org>
4774 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4776 * lyx_main.C: set default fonts from using lyx_gui funcs
4778 * exporter.C: pdf_mode moved from lyxrc
4781 * lyxfunc.C: changes from above
4783 2003-03-31 John Levon <levon@movementarian.org>
4785 * lyx_main.C: fix to the last fix
4787 2003-03-31 John Levon <levon@movementarian.org>
4789 * bufferlist.C: "Load original" -> "Load Original"
4795 * format.C: more Alert cleanups
4797 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * text2.C (removeParagraph): make it take a RowList::iterator as
4801 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4802 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4804 * text.C (anchor_row): make it take a RowList::iterator as arg,
4806 (computeBidiTables): make it take a const reference to Row instead
4807 of Row pointer, adjust.
4808 (leftMargin): make it take a RowList::iterator as arg, adjust.
4809 (rowBreakPoint): adjust
4810 (breakAgainOneRow): make it take a RowList::iterator as arg,
4812 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4814 * bufferview_funcs.C (toggleAndShow): adjust
4816 2003-03-30 John Levon <levon@movementarian.org>
4820 * boost-inst.C: moved to support
4822 * several files: changes as a result
4824 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * text2.C (LyXText): adjust.
4828 (removeRow): make it take a RowList::iterator as arg, adjust.
4829 (fullRebreak): adjust
4830 (deleteEmptyParagraphMechanism): adjust
4831 (clearPaint): adjust
4834 * text.C (top_y): adjust
4835 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4836 (breakAgain): make it take a RowList::iterator as arg, adjust.
4837 (breakParagraph): adjust
4838 (insertChar): adjust
4841 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4842 need_break_row, and refresh_row.
4844 * text3.C (dispatch): adjust
4846 * text2.C (checkParagraph): adjust
4848 (setCursorFromCoordinates): adjust
4850 * text.C (top_y): adjust
4852 (getRow): make it return a RowList::iterator, adjust
4853 (getRowNearY): make it return a RowList::iterator, adjust
4855 * text2.C (init): adjust
4856 (insertRow): remove function
4857 (insertParagraph): adjust
4858 (redoParagraphs): adjust
4859 (fullRebreak): adjust
4860 (updateCounters): adjust
4862 * text.C (top_y): rewrite to use RowList iterators.
4864 (setHeightOfRow): rewrite to sue RowList iterators.
4865 (appendParagraph): adjust
4866 (breakAgain): adjust
4867 (breakAgainOneRow): adjust
4868 (breakParagraph): adjust
4870 (getRowNearY): adjust, and remove commented code.
4872 * lyxtext.h (firstRow): delete function
4873 (lastRow): delete function
4874 (rows): new function (const and non-const versions.)
4875 (insertRow): delete function
4877 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4879 2003-03-29 John Levon <levon@movementarian.org>
4881 * BufferView_pimpl.C: always update scrollbar top
4882 because pasting text when we're anchored could mean we
4883 miss an update altogether
4885 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4887 * text2.C (init): use rowlist_.end() and not 0.
4888 (insertRow): change to take a RowList::iterator as arg, adjust
4890 (insertParagraph): change to take a RowList::iterator as arg,
4892 (redoParagraphs): remove some debug msgs.
4894 * text.C (appendParagraph): change to take a RowList::iterator
4895 arg, adjust for this.
4896 (breakAgain): add an assert
4897 (breakAgainOneRow): ditto
4899 2003-03-29 John Levon <levon@movementarian.org>
4901 * text2.C: do not clear selection after inc/decDepth
4904 2003-03-29 John Levon <levon@movementarian.org>
4907 * buffer.C: fix broken strerrors according to Lars
4909 2003-03-29 John Levon <levon@movementarian.org>
4911 * converters.C: more Alert cleanups
4913 2003-03-29 John Levon <levon@movementarian.org>
4915 * bufferview_funcs.C: remove pointless Alert
4917 * buffer.C: fix confusing error message when
4918 a template is chmoded 000
4920 2003-03-29 John Levon <levon@movementarian.org>
4924 * BufferView_pimpl.C: Alert fixes
4928 * tabular-old.C: remove unused table compat reading
4930 2003-03-29 John Levon <levon@movementarian.org>
4935 * lyx_cb.C: more Alert cleanups
4937 * lyxfunc.C: don't allow chktex if not latex document
4939 2003-03-29 John Levon <levon@movementarian.org>
4943 * buffer.C: warnings pushed down from support/,
4946 2003-03-29 John Levon <levon@movementarian.org>
4948 * lyxfunc.C: safety check for C-r (revert)
4950 2003-03-29 John Levon <levon@movementarian.org>
4953 * bufferlist.C: several UI fixes using Alert::prompt.
4954 Fix the pointless looping quit code. Fix stupid revert
4959 * lyx_cb.C: use Alert::prompt
4961 * lyx_main.C: remove a silly question
4963 * lyxfunc.C: remove a couple of silly questions,
4966 2003-03-28 John Levon <levon@movementarian.org>
4968 * text2.C: fix bug 974 (End on empty par)
4970 2003-03-28 John Levon <levon@movementarian.org>
4972 * BufferView_pimpl.C:
4974 * lfuns.h: remove do-nothing math greek lfuns
4976 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * lyxgluelength.h (isValidGlueLength): add default arg on
4979 parameter 2. Remove default arg from friend in class.
4981 * lyxlength.h (isValidLength): add default arg on parameter 2.
4982 Remove default arg from friend in class.
4984 * text2.C (LyXText): adjust, initialize refresh_row.
4988 (insertParagraph): adjst
4989 (redoParagraphs): adjust
4990 (fullRebreak): adjust
4991 (updateCounters): adjust
4992 (deleteEmptyParagraphMechanism): first attempt at fixing a
4995 * text.C (top_y): adjust
4996 (setHeightOfRow): adjust
4998 (getRowNearY): adjust
5000 * lyxtext.h: include RowList.h
5001 (~LyXText): not needed anymore, deleted.
5002 (firstRow): modify for RowList
5003 (lastRow): new function
5004 Delete firstrow and lastrow class variables, add a Rowlist
5005 rowlist_ class variable.
5007 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5010 * RowList.C (insert): fix case where it == begin().
5012 2003-03-26 Angus Leeming <leeming@lyx.org>
5014 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5015 the thesaurus dialog.
5017 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5021 * RowList.[Ch]: new files
5023 * ParagraphList.C (erase): handle the case where it == begin
5026 2003-03-25 John Levon <levon@movementarian.org>
5030 * aspell.C: add new aspell support
5033 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5036 2003-03-25 Angus Leeming <leeming@lyx.org>
5039 * LyXAction.C (init): new LFUN_INSET_INSERT.
5041 * BufferView_pimpl.C (dispatch): split out part of the
5042 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5044 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5047 2003-03-25 Angus Leeming <leeming@lyx.org>
5049 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5051 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5054 * text3.C: remove useless row->height(0)
5056 2003-03-25 John Levon <levon@movementarian.org>
5060 * text3.C: rename the refreshing stuff to better names
5062 2003-03-24 John Levon <levon@movementarian.org>
5064 * BufferView_pimpl.h:
5065 * BufferView_pimpl.C: update layout choice on a mouse
5068 2003-03-23 John Levon <levon@movementarian.org>
5070 * Makefile.am: fix commandtags.h reference
5072 2003-03-22 John Levon <levon@movementarian.org>
5074 * BufferView_pimpl.C:
5079 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5081 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5084 * text.C: take the rtl methods out of line
5086 2003-03-21 André Pönitz <poenitz@gmx.net>
5088 * metricsinfo.[Ch]: new files containing structures to be passed around
5089 during the two-phase-drawing...
5091 2003-03-21 André Pönitz <poenitz@gmx.net>
5093 * lyxtextclass.C: read 'environment' tag.
5095 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5097 * text2.C (removeRow): fix bug 964
5099 2003-03-20 John Levon <levon@movementarian.org>
5103 * text2.C: paint cleanups. Inset::update() dropped font
5106 2003-03-19 John Levon <levon@movementarian.org>
5108 * lyxfunc.C: only fitcursor/markDirty if available()
5110 2003-03-19 John Levon <levon@movementarian.org>
5112 * commandtags.h: rename to ...
5114 * lfuns.h: ... this, and renumber / cleanup
5116 2003-03-19 John Levon <levon@movementarian.org>
5118 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5119 fit the cursor after an lfun
5123 * BufferView_pimpl.h:
5124 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5126 * LyXAction.C: layout-character should have ReadOnly
5128 * ParagraphParameters.C:
5130 * bufferview_funcs.C:
5137 * undo_funcs.C: changes from above
5139 2003-03-18 John Levon <levon@movementarian.org>
5141 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5142 remove it from update()
5144 * lyxfunc.C: update layout choice after an lfun
5146 * text3.C: remove extra updateLayoutChoice()s
5148 2003-03-18 John Levon <levon@movementarian.org>
5150 * text.C: top_y change means full repaint, fix
5151 a drawing bug with cursor movement
5153 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5157 * text2.C: anchor row on setCursor
5159 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5161 * lyxtext.h: remove almost all mutable keywords
5164 * text3.C: remove const keywords accordingly
5166 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5168 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5170 (TeXEnvironment): ditto
5173 2003-03-17 John Levon <levon@movementarian.org>
5175 * text.C (rowBreakPoint): remove attempt to fix displayed
5176 math insets inside a manual label
5178 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * lyxtext.h: remove BufferView* as first arg from almost all class
5182 * other files: adjust.
5184 2003-03-17 John Levon <levon@movementarian.org>
5188 * text2.C: more paint cleanups
5190 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5193 * rowpainter.C: remove "smart" background painting code
5195 2003-03-16 John Levon <levon@movementarian.org>
5200 * text3.C: add helper functions for setting refresh_row/y
5202 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5204 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5205 newline inset which *can* get inserted in the pass_thru layouts.
5206 This is primarily for literate documents.
5208 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5210 * buffer.C: increment LYX_FORMAT to 223
5212 2003-03-14 André Pönitz <poenitz@gmx.net>
5214 * textclass.h: prepare for environment handling, ws changes
5215 * lyxlayout.C: read latexheader and latexfooter tags
5217 2003-03-14 John Levon <levon@movementarian.org>
5219 * text2.C: rewrite ::status() a bit
5221 2003-03-13 John Levon <levon@movementarian.org>
5223 * lyxtext.h: add some docs
5225 2003-03-13 John Levon <levon@movementarian.org>
5230 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5232 2003-03-13 John Levon <levon@movementarian.org>
5234 * text3.C: fix appendix redrawing
5236 2003-03-13 John Levon <levon@movementarian.org>
5238 * text.C (setHeightOfRow):
5240 * rowpainter.C: make appendix mark have the text
5241 "Appendix" so the user knows what it is
5244 * LColor.C: s/appendixline/appendix/ from above
5246 2003-03-13 John Levon <levon@movementarian.org>
5248 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5250 * text.C: fix a getChar(pos) bug properly
5252 2003-03-13 Angus Leeming <leeming@lyx.org>
5255 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5256 Probably only temporary. Let's see how things pan out.
5258 * BufferView.C (unlockInset):
5259 * BufferView_pimpl.C (fitCursor):
5260 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5262 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5263 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5265 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5266 new functions that convert ParagraphParameters to and from a string.
5268 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5269 BufferView::Pimpl's dispatch.
5270 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5272 2003-03-13 André Pönitz <poenitz@gmx.net>
5276 * factory.C: make it aware of InsetEnv
5278 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * text2.C (setCursor): never ask for one past last
5281 (setCursor): add some debugging messages.
5283 * text.C (singleWidth): never ask for one past last
5284 (singleWidth): ditto
5286 (rightMargin): ditto
5287 (rowBreakPoint): ditto
5288 (setHeightOfRow): ditto
5289 (prepareToPrint): ditto
5291 * rowpainter.C (paintBackground): never ask for one past last
5292 (paintText): never ask for one past last
5294 * paragraph_pimpl.C (getChar): make the assert stricter, never
5295 allow the one past last pos to be taken
5297 * paragraph.C (getChar): ws changes only
5299 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5300 (numberOfSeparators): ditto
5301 (numberOfHfills): ditto
5303 2003-03-12 John Levon <levon@movementarian.org>
5309 * paragraph_funcs.C: fix per-buffer authorlists
5311 2003-03-12 John Levon <levon@movementarian.org>
5313 * text.C: fix newline in right address
5315 2003-03-12 Angus Leeming <leeming@lyx.org>
5317 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5318 duplicate those in LyXFunc::dispatch.
5322 * ToolbarDefaults.C:
5323 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5324 Add LFUN_FONTFREE_UPDATE.
5326 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5327 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5329 * bufferview_func.[Ch]: several new functions to facilliate
5330 transfer of data to and from the character dialog.
5332 2003-03-12 John Levon <levon@movementarian.org>
5337 * paragraph_funcs.C:
5338 * paragraph_pimpl.C:
5342 * text3.C: remove META_NEWLINE in favour of an inset
5345 * rowpainter.C: remove paintNewline (done by inset)
5347 2003-03-12 John Levon <levon@movementarian.org>
5349 * paragraph_pimpl.C: complain about bad getChar()s
5350 for a while at least
5352 2003-03-12 John Levon <levon@movementarian.org>
5355 * buffer.C: move paragraph read into a separate function,
5356 a little renaming to reflect that.
5359 * bufferparams.C: remove the author_ids map, not necessary now
5362 * factory.C: moved Buffer::readInset to here
5364 * paragraph_funcs.h:
5365 * paragraph_funcs.C: readParagraph free function moved from
5368 * tabular.C: name change
5370 2003-03-12 John Levon <levon@movementarian.org>
5373 * ParagraphParameters.C: move par params input to
5376 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5377 behave like a normal read from the stream wrt reading
5378 a line vs. a \\token
5380 2003-03-12 John Levon <levon@movementarian.org>
5383 * ParagraphParameters.h:
5384 * ParagraphParameters.C: move output code to a
5387 2003-03-12 John Levon <levon@movementarian.org>
5389 * BufferView.C (insertLyXFile):
5392 * tabular.C: use a parlist iterator for creating the
5395 2003-03-12 John Levon <levon@movementarian.org>
5397 * buffer.C: make current_change static local not
5400 2003-03-12 John Levon <levon@movementarian.org>
5402 * buffer.C: fix insertStringAsLines for change tracking
5404 2003-03-12 John Levon <levon@movementarian.org>
5411 * bufferparams.C: move author list into params. Rename some
5412 functions. Move the header reading into a separate token
5413 loop. Move the header token reading into BufferParams.
5415 2003-03-12 John Levon <levon@movementarian.org>
5417 * changes.C: put debug inside lyxerr.debugging() checks
5419 2003-03-11 André Pönitz <poenitz@gmx.net>
5421 * factory.C: make it aware of InsetHFill
5423 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5425 * buffer.C (latexParagraphs): move function from here...
5426 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5429 2003-03-10 Angus Leeming <leeming@lyx.org>
5431 * LyXAction.C (init): fix bug in poplating array with multiple entries
5432 with the same LFUN (spotted by JMarc).
5434 2003-03-10 John Levon <levon@movementarian.org>
5437 * text2.C: move getColumnNearX() near its
5440 2003-03-10 John Levon <levon@movementarian.org>
5442 * text.C: fix break before a minipage
5444 2003-03-10 John Levon <levon@movementarian.org>
5446 * text.C: fix the last commit
5448 2003-03-09 John Levon <levon@movementarian.org>
5452 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5453 bug 365 (don't break before insets unless needed). Don't
5454 return a value > last under any circumstances.
5456 2003-03-09 Angus Leeming <leeming@lyx.org>
5458 * BufferView_pimpl.C (trackChanges, dispatch): call
5459 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5461 2003-03-09 Angus Leeming <leeming@lyx.org>
5463 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5464 than Dialogs::showAboutlyx().
5466 2003-03-09 Angus Leeming <leeming@lyx.org>
5468 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5469 than Dialogs::showTabularCreate().
5471 2003-03-09 John Levon <levon@movementarian.org>
5475 * text2.C: 3rd arg to nextBreakPoint was always the same.
5478 2003-03-08 John Levon <levon@movementarian.org>
5485 * text2.C: Remove the "main" bit from the "main body"
5488 2003-03-08 John Levon <levon@movementarian.org>
5490 * text.C (leftMargin): The left margin of an empty
5491 manual label paragraph should not include the label width
5494 * text.C (prepareToPrint): don't attempt to measure hfills
5495 for empty manual label paragraphs - the answer should be 0
5497 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * CutAndPaste.C: remove commented code and reindent.
5501 2003-03-08 John Levon <levon@movementarian.org>
5504 * lyxfunc.C: move reloadBuffer()
5507 * BufferView.C: to here
5509 * lyxvc.C: add comment
5512 * vc-backend.C: call bv->reload() to avoid
5513 getStatus() check on MENURELOAD
5515 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5517 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5518 to an old format .dep file.
5520 2003-03-07 Angus Leeming <leeming@lyx.org>
5522 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5523 when the LFUN_MOUSE_RELEASE should have been handled by
5524 inset->localDispatch.
5526 2003-03-07 Angus Leeming <leeming@lyx.org>
5528 * BufferView_pimpl.C (dispatch):
5529 * LyXAction.C (init):
5530 * ToolbarDefaults.C (init):
5532 * lyxfunc.C (getStatus):
5533 remove LFUN_INSET_GRAPHICS.
5535 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5537 2003-03-07 Angus Leeming <leeming@lyx.org>
5540 * LyXAction.C (init):
5541 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5543 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5546 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5548 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5549 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5551 2003-03-07 Angus Leeming <leeming@lyx.org>
5553 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5556 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5558 * ParagraphList.C (front): new function
5561 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5563 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5564 and top_row_offset_. removed var first_y.
5566 * text2.C (LyXText, removeRow):
5568 * BufferView_pimpl.C:
5569 use these methods instead of using first_y
5571 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * text2.C (pasteSelection): adjust for checkPastePossible
5575 * CutAndPaste.C: remove Paragraph * buf and replace with
5576 ParagraphList paragraphs.
5577 (DeleteBuffer): delete
5578 (cutSelection): change the tc type to textclass_type
5579 (copySelection): change the tc type to textclass_type
5580 (copySelection): adjust for ParagraphList
5581 (pasteSelection): change the tc type to textclass_type
5582 (pasteSelection): adjust for Paragraphlist
5583 (nrOfParagraphs): simplify for ParagraphList
5584 (checkPastePossible): simplify for ParagraphList
5585 (checkPastePossible): remove unused arg
5587 * ParagraphList.C (insert): handle the case where there are no
5590 * CutAndPaste.h: make CutAndPaste a namespace.
5592 * text3.C (dispatch): adjust
5594 * text.C (breakParagraph): add a ParagraphList as arg
5596 * paragraph_funcs.C (breakParagraph): change to take a
5597 BufferParams and a ParagraphList as args.
5598 (breakParagraphConservative): ditto
5599 (mergeParagraph): ditto
5600 (TeXDeeper): add a ParagraphList arg
5601 (TeXEnvironment): ditto
5604 * buffer.C (readLyXformat2): adjust
5605 (insertStringAsLines): adjust
5606 (latexParagraphs): adjust
5608 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5609 (cutSelection): adjust
5610 (pasteSelection): adjust
5612 * BufferView_pimpl.C (insertInset): adjust
5614 2003-03-05 Angus Leeming <leeming@lyx.org>
5617 * LyXAction.C (init):
5618 * BufferView_pimpl.C (dispatch):
5619 * lyxfunc.C (getStatus):
5620 remove LFUN_CHILD_INSERT.
5622 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5624 2003-03-05 Angus Leeming <leeming@lyx.org>
5627 * LyXAction.C (init):
5628 * src/factory.C (createInset):
5629 * lyxfunc.C (getStatus):
5630 * text3.C (dispatch):
5631 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5633 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5635 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5637 * ParagraphList.C (insert): handle insert right before end()
5638 (erase): fix cases where it can be first or last paragraph.
5640 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5642 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5643 Paragraph::next and Paragraph::previous
5646 * text.C (breakParagraph): adjust
5648 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5649 BufferParams& as arg.
5650 (breakParagraph): use ParagraphList::insert
5651 (breakParagraphConservative): take a Buffer* instead of a
5652 BufferParams& as arg.
5653 (breakParagraphConservative): use ParagraphList::insert.
5655 * buffer.C (insertStringAsLines): un-const it
5656 (insertStringAsLines): adjust
5658 * ParagraphList.C (insert): new function
5660 * CutAndPaste.C (pasteSelection): adjust
5662 * text.C (backspace): adjust
5664 * tabular.C (SetMultiColumn): adjust
5666 * CutAndPaste.C (cutSelection): adjust
5667 (pasteSelection): adjust
5669 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5670 Buffer const * as arg
5672 * ParagraphList.C (erase): new function
5673 * paragraph_funcs.C (mergeParagraph): use it
5674 (mergeParagraph): make it take a Buffer* instead of a
5675 BufferParams* as arg
5677 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5679 (breakParagraphConservative): ditto
5681 * paragraph.h: remove the breakParagraph friend
5683 * paragraph.C (eraseIntern): new function
5684 (setChange): new function
5686 * paragraph_funcs.C (mergeParagraph): make it take a
5687 ParagraphList::iterator instead of a Paragraph *, adjust
5690 * paragraph.h: move an #endif so that the change tracking stuff
5691 also works in the NO_NEXT case.
5693 2003-03-04 Angus Leeming <leeming@lyx.org>
5696 * LyXAction.C: new LFUN_INSET_MODIFY.
5698 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5699 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5701 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * several files: ws changes only
5705 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5706 (TeXEnvironment): ditto
5709 * buffer.C (makeLaTeXFile): adjust
5710 (latexParagraphs): make it take ParagraphList::iterator as args
5712 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * buffer.C (latexParagraphs): adjust
5716 * paragraph.C (TeXOnePar): move function...
5717 (optArgInset): move function...
5718 (TeXEnvironment): move function...
5719 * paragraph_pimpl.C (TeXDeeper): move function...
5720 * paragraph_funcs.C: ...here
5722 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5724 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * buffer.C (readInset): remove compability code for old Figure and
5729 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5731 * buffer.C: ws changes
5734 * BufferView_pimpl.C: ditto
5737 * bufferlist.h: ditto
5741 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5743 * converter.[Ch]: split into itself +
5746 * Makefile.am: += graph.[Ch] + format.[Ch]
5753 * lyxrc.C: added #include "format.h"
5755 2003-02-27 Angus Leeming <leeming@lyx.org>
5757 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5760 * factory.C (createInset): add "label" to the factory.
5762 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5763 string and do no more.
5765 2003-02-27 Angus Leeming <leeming@lyx.org>
5768 * LyXAction.C (init):
5769 * factory.C (createInset):
5770 * BufferView_pimpl.C (dispatch):
5771 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5773 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5775 * lyxfunc.C (dispatch):
5776 * text3.C (dispatch): pass name to params2string.
5778 2003-02-26 Angus Leeming <leeming@lyx.org>
5780 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5782 Rearrange the ~includes. Strip out the unnecessary ones.
5784 * factory.C (createInset): reformat.
5785 create new insets for the various LFUN_XYZ_APPLY lfuns.
5787 2003-02-26 John Levon <levon@movementarian.org>
5790 * lyxrow.C: add isParStart,isParEnd helpers
5792 * paragraph.h: make isInserted/DeletedText take refs
5794 * paragraph_funcs.h:
5795 * paragraph_funcs.C: remove #if 0'd code
5800 * text.C: use lyxrow helpers above.
5801 Move draw and paint routines to RowPainter.
5802 Make several methods use refs not pointers.
5803 Make backgroundColor() const.
5804 Add markChangeInDraw(), isInInset().
5805 Merge changeRegionCase into changeCase.
5806 Make workWidth() shouldn't-happen code into an Assert.
5809 * rowpainter.C: new class for painting a row.
5812 * vspace.C: make inPixels take a ref
5814 2003-02-26 Angus Leeming <leeming@lyx.org>
5816 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5819 2003-02-25 John Levon <levon@movementarian.org>
5821 * ispell.C: give the forked command a more accurate name
5823 2003-02-22 John Levon <levon@movementarian.org>
5826 * toc.C: make TocItem store an id not a Paragraph *
5829 2003-02-21 Angus Leeming <leeming@lyx.org>
5831 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5832 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5833 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5834 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5835 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5836 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5838 * BufferView_pimpl.C (dispatch):
5839 * LyXAction.C (init):
5840 * factory.C (createInset):
5841 * lyxfunc.C (getStatus, dispatch):
5842 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5844 2003-02-21 Angus Leeming <leeming@lyx.org>
5846 * BufferView_pimpl.C (MenuInsertLyXFile):
5847 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5848 * lyxfunc.C (menuNew, open, doImport):
5849 no longer pass a LyXView & to fileDlg.
5851 2003-02-21 Angus Leeming <leeming@lyx.org>
5853 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5854 * LyXAction.C: change, BIBKEY to BIBITEM.
5855 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5856 Change InsetBibKey to InsetBibitem.
5857 Change BIBKEY_CODE to BIBITEM_CODE.
5858 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5859 * factory.C: replace insetbib.h with insetbibitem.h.
5860 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5861 * paragraph.C: replace insetbib.h with insetbibitem.h.
5862 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5863 Change bibkey() to bibitem().
5864 * text.C: remove insetbib.h.
5865 * text2.C: replace insetbib.h with insetbibitem.h.
5866 change bibkey() to bibitem().
5867 * text3.C: remove insetbib.h.
5868 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5870 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5872 * lyxrc.C (output): enclose user email in quotes (in case there are
5875 2003-02-18 John Levon <levon@movementarian.org>
5877 * buffer.h: add std::
5879 2003-02-17 John Levon <levon@movementarian.org>
5885 * pspell.C: reworking. Especially in ispell, a large
5886 number of clean ups and bug fixes.
5888 * lyxfunc.C: fix revert to behave sensibly
5890 2003-02-17 André Pönitz <poenitz@gmx.net>
5893 * commandtags.h: new LFUN_INSERT_BIBKEY
5903 * paragraph_func.C: remove special bibkey handling
5905 2003-02-17 John Levon <levon@movementarian.org>
5907 * text.C (Delete): fix case where delete at the end of
5908 the very first paragraph would not merge the pars
5910 2003-02-17 John Levon <levon@movementarian.org>
5912 * lyxrow.C: fix lastPrintablePos()
5914 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5916 * bufferparams.C (writeLaTeX): add a std:here
5918 * buffer.C: and remove a using directive there
5920 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5922 * buffer.C (makeLaTeXFile): move the code that generates the
5925 * bufferparams.C (writeLaTeX): ... in this new method
5927 * LaTeXFeatures.C (getEncodingSet): make const
5928 (getLanguages): make const
5930 * MenuBackend.C (binding): returns the binding associated to this
5932 (add): sets the status of each item by calling getStatus. Adds
5934 (read): add support for OptSubMenu
5935 (expand): remove extra separator at the end of expanded menu
5937 2003-02-15 John Levon <levon@movementarian.org>
5940 * BufferView_pimpl.C:
5942 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5943 inset code that had no actual effect. Remove unneeded status
5946 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5948 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5951 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5953 * text.C (drawLengthMarker): also draw an arrow marker for
5954 symbolic lengths (medskip...)
5956 2003-02-14 John Levon <levon@movementarian.org>
5959 * tabular.C: better method names
5961 2003-02-14 John Levon <levon@movementarian.org>
5963 * BufferView_pimpl.C:
5968 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5969 it's a more accurate name. Remove some pointless uses.
5971 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5973 * text2.C (LyXText): change order of initilizers to shut off
5976 2003-02-14 John Levon <levon@movementarian.org>
5978 * buffer.C: use ParIterator for getParFromID()
5982 * paragraph_pimpl.h:
5983 * paragraph_pimpl.C: remove unused getParFromID()
5985 2003-02-14 John Levon <levon@movementarian.org>
5987 * buffer.C: remove some very old #if 0'd parse code
5989 2003-02-13 John Levon <levon@movementarian.org>
5993 * text2.C: move hfillExpansion(), numberOfSeparators(),
5994 rowLast(), rowLastPrintable(), numberofHfills(),
5995 numberOfLabelHfills() ...
5998 * lyxrow.C: ... to member functions here.
6003 * text.C: remove LyXText::beginningOfMainBody(), and call
6004 p->beginningOfMainBody() directly. Move the check for
6005 LABEL_MANUAL into the latter.
6012 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6018 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6019 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6021 2003-02-13 John Levon <levon@movementarian.org>
6023 * CutAndPaste.C: remove debug
6025 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6027 * paragraph.C (asString): remove two unused variables
6029 * lyxtextclass.C (readTitleType):
6031 (LyXTextClass): handle new members titletype_ and titlename_
6033 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6035 2003-02-09 John Levon <levon@movementarian.org>
6038 * buffer.C: replace hand-coded list with a map for the dep clean
6040 2003-02-08 John Levon <levon@movementarian.org>
6042 * LaTeX.C: consolidate code into showRunMessage() helper
6044 2003-02-08 John Levon <levon@movementarian.org>
6049 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6050 and pass the size in explicitly
6052 * BufferView_pimpl.h:
6053 * BufferView_pimpl.C:
6055 * BufferView.C: add getCurrentChange()
6057 * BufferView_pimpl.h:
6058 * BufferView_pimpl.C: handle change lfuns
6060 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6061 for changes. Mark pasted paragraphs as new.
6063 * support/lyxtime.h:
6064 * support/lyxtime.C:
6065 * DepTable.C: abstract time_t as lyx::time_type
6068 * LColor.C: add colours for new text, deleted text, changebars
6070 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6071 package use "usenames" option.
6075 * LyXAction.C: add change lfuns
6079 * author.C: author handling
6082 * buffer.C: add a per-buffer author list, with first entry as
6083 current author. Handle new .lyx tokens for change tracking. Output
6084 author list to .lyx file. Output dvipost stuff to .tex preamble.
6085 Bump lyx format to 222.
6088 * bufferlist.C: add setCurrentAuthor() to reset current author details
6092 * bufferparams.C: add param for tracking
6094 * bufferview_funcs.C: output change info in minibuffer
6098 * changes.C: add change-tracking structure
6101 * debug.C: add CHANGES debug flag
6104 * lyxfind.C: add code for finding the next change piece
6107 * lyxrc.C: add user_name and user_email
6110 * lyxrow.C: add a metric for the top of the text line
6113 * text.C: implement accept/rejectChange()
6116 * text.C: paint changebars. Paint new/deleted text in the chosen
6117 colours. Strike through deleted text.
6121 * paragraph_pimpl.h:
6122 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6123 in the current change to the insert functions. Rework erase to
6124 mark text as deleted, adding an eraseIntern() and a range-based
6125 erase(). Implement per-paragraph change lookup and
6128 * paragraph_funcs.C: Fixup paste for change tracking.
6130 * tabular.C: mark added row/columns as new.
6132 * text.C: fix rowLast() to never return -1. Don't allow
6133 spellchecking of deleted text. Track transpose changes. Don't
6134 allow paragraph break or merge where appropriate.
6136 * text2.C: leave cursor at end of selection after a cut.
6138 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6140 * text.C (getLengthMarkerHeight):
6141 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6142 visible on screen too.
6144 2003-02-07 John Levon <levon@movementarian.org>
6146 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6148 2003-02-05 Angus Leeming <leeming@lyx.org>
6150 * lyxserver.C (read_ready): revert my patch of 11 September last year
6151 as it sends PC cpu through the roof. Presumably this means that
6152 the lyxserver will no longer run on an Alpha...
6154 2003-01-30 Angus Leeming <leeming@lyx.org>
6156 * factory.C (createInset): create an InsetCommandParam of type "index"
6157 and use it to 'do the right thing'.
6159 * text2.C (getStringToIndex): ensure that cursor position is always
6160 reset to the reset_cursor position.
6162 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6164 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6167 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6171 * lyxfunc.C: Output messages with identical spelling, punctuation,
6174 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6176 * MenuBackend.C (expandFormats): List only viewable export formats
6179 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6182 * lyxfunc.C (getStatus): Make sure that formats other than
6183 "fax" can also be disabled
6185 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * text3.C (dispatch): put the lfuns that insert insets in 3
6188 groups, and call doInsertInset with appropriate arguments.
6189 (doInsertInset): new function, that creates an inset and inserts
6190 it according to some boolean parameters.
6192 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * buffer.C (readFile): remember to pass on 'par' when calling
6195 readFile recursively.
6197 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6199 * MenuBackend.C (expandFormats): add "..." to import formats.
6201 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6203 * paragraph.C (asString): Remove XForms RTL hacks.
6205 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6206 * buffer.C: fix typo
6208 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * Makefile.am (LIBS): delete var
6211 (lyx_LDADD): add @LIBS@ here instead.
6213 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6215 * Clarify the meaning of "wheel mouse jump"
6217 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6219 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6222 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6224 * importer.C (Loaders): do not preallocate 3 elements in the
6225 vector, since one ends up with 6 elements otherwise
6227 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6229 * DepTable.C (write): write the file name as last element of the
6230 .dep file (because it may contain spaces)
6231 (read): read info in the right order
6233 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6235 * paragraph_pimpl.C (simpleTeXBlanks):
6236 (simpleTeXSpecialChars):
6237 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6239 * tabular.C (latex): add some missing case statements. Reindent.
6241 * MenuBackend.C (expandToc): remove unused variable.
6243 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6252 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6255 2003-01-05 John Levon <levon@movementarian.org>
6258 * BufferView.C: add getEncoding()
6261 * kbsequence.C: do not store last keypress
6264 * lyxfunc.C: store last keypress here instead. Pass encoding
6267 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6269 * lyx_main.C (init): remove annoying error message when following
6270 symbolic links (bug #780)
6272 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6274 * text.C (insertChar):
6275 * lyxrc.C (getDescription): remove extra spaces
6277 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6279 * lyxrc.C (getDescription): remove extra spaces
6281 2002-12-20 John Levon <levon@movementarian.org>
6283 * text3.C: hack fix for page up/down across tall rows
6285 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6287 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6290 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6292 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6293 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6294 thesaurus is not compiled in
6296 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6298 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6300 2002-12-16 Angus Leeming <leeming@lyx.org>
6303 * lyx_main.C (init): remove override_x_deadkeys stuff.
6305 2002-12-12 John Levon <levon@movementarian.org>
6307 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6308 insert. Only remove shift modifier under strict
6311 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6313 * MenuBackend.C (expandToc): fix crash.
6315 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * MenuBackend.C (expandToc): gettext on float names.
6319 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6321 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6322 implement bool empty() [bug 490]
6324 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6326 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6328 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * several files: ws changes
6332 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * text2.C (setCounter): clean up a bit, use boost.format.
6335 (updateCounters): initialize par upon declaration.
6337 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6338 if the layout exists. We do not just store the layout any more.
6339 (SwitchLayoutsBetweenClasses): use boost.format
6341 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6343 * converter.C (convert): if from and to files are the same, use a
6344 temporary files as intermediary
6346 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6349 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6351 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6353 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6355 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * tabular.C (asciiPrintCell): use string(size, char) instead of
6360 * sgml.C (openTag): fix order of arguments to string constructor
6363 * lyxfunc.C (dispatch): use boost.format
6365 * lots of files: change "c" -> 'c'
6367 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6369 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6371 2002-11-25 Angus Leeming <leeming@lyx.org>
6373 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6375 * lyx_main.C (init): compile fix.
6377 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6379 * lyx_cb.C (start): boost.formatify
6380 do not include <iostream>
6382 * lengthcommon.C: ws only
6384 * boost-inst.C,BoostFormat.h: add more explict instantations
6386 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6388 * lots of files: handle USE_BOOST_FORMAT
6390 2002-11-21 John Levon <levon@movementarian.org>
6392 * pspell.C: fix compile
6394 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6396 * lyxfunc.C (dispatch): use boost::format
6400 * lyxfont.C (stateText): use boost::format
6402 * lyx_main.C (LyX): use boost::format
6404 (queryUserLyXDir): ditto
6407 (typedef boost::function): use the recommened syntax.
6409 * importer.C (Import): use boost::format
6411 * debug.C (showLevel): use boost::format
6413 * converter.C (view): use boost::format
6418 * bufferview_funcs.C (currentState): use boost::format
6420 * bufferlist.C (emergencyWrite): use boost::format
6422 * buffer.C (readLyXformat2): use boost::format
6423 (parseSingleLyXformat2Token): ditto
6425 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6427 * LaTeX.C (run): use boost::format
6429 * Chktex.C (scanLogFile): use boost::format
6431 * BufferView_pimpl.C (savePosition): use boost::format
6432 (restorePosition): ditto
6433 (MenuInsertLyXFile): ditto
6435 * BoostFormat.h: help file for explicit instation.
6437 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6439 * tabular.C (latex): Support for block alignment in fixed width
6442 2002-11-17 John Levon <levon@movementarian.org>
6444 * BufferView_pimpl.C:
6446 * lyxfunc.C: split filedialog into open/save
6448 2002-11-08 Juergen Vigna <jug@sad.it>
6450 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6451 by my last patch (hopefully).
6453 2002-11-08 John Levon <levon@movementarian.org>
6462 * toc.C: ParConstIterator, and use it (from Lars)
6464 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6466 * lyxtextclass.[Ch]: revise and add doxygen comments
6468 2002-11-07 John Levon <levon@movementarian.org>
6470 * text.C: fix progress value for spellchecker
6472 * toc.C: fix navigate menu for insetwrap inside minipage
6474 * paragraph_funcs.C: added FIXME for suspect code
6476 2002-11-07 John Levon <levon@movementarian.org>
6478 * BufferView_pimpl.C: fix redrawing of insets
6481 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6483 * text2.C (updateCounters): fix bug 668
6485 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6487 * text3.C (dispatch): Do not make the buffer dirty when moving the
6490 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6492 * vc-backend.C: STRCONV
6495 * text2.C (setCounter): STRCONV
6497 * paragraph.C (asString): STRCONV
6499 * lyxlength.C (asString): STRCONV
6500 (asLatexString): ditto
6502 * lyxgluelength.C (asString): STRCONV
6503 (asLatexString): ditto
6505 * lyxfunc.C (dispatch): STRCONV
6508 * lyxfont.C (stateText): STRCONV
6510 * importer.C (Import): STRCONV
6512 * counters.C (labelItem): STRCONV
6513 (numberLabel): ditto
6514 (numberLabel): remove unused ostringstream o
6519 * bufferview_funcs.C (currentState): STRCONV
6521 * buffer.C (readFile): STRCONV
6522 (asciiParagraph): ditto
6523 (makeLaTeXFile): ditto
6525 * Spacing.C (writeEnvirBegin): STRCONV
6527 * LaTeXFeatures.C (getLanguages): STRCONV
6528 (getPackages): ditto
6530 (getBabelOptions): ditto
6531 (getTClassPreamble): ditto
6532 (getLyXSGMLEntities): ditto
6533 (getIncludedFiles): ditto
6537 (scanAuxFile): ditto
6540 * LString.h: add the STRCONV macros
6542 * BufferView_pimpl.C (savePosition): STRCONV
6543 (restorePosition): ditto
6544 (MenuInsertLyXFile): ditto
6546 * vc-backend.C (scanMaster): change from submatch[...] to
6549 * funcrequest.C: include config.h
6551 * factory.C: include config.h
6553 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6555 * box.C: include config.h
6557 * LaTeX.C (scanAuxFile): change from submatch[...] to
6561 2002-10-25 Angus Leeming <leeming@lyx.org>
6563 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6565 * ispell.[Ch] (setError): new method.
6566 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6567 Use setError() insetead of goto END.
6569 * lyx_cb.C (AutoSave): move out child process into new class
6572 2002-10-30 John Levon <levon@movementarian.org>
6574 * text3.C: make start appendix undoable
6576 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6578 * lyxlength.C (inPixels): Fix returned value.
6580 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6583 2002-10-24 Angus Leeming <leeming@lyx.org>
6585 * lyxgluelength.h: no need to forward declare BufferParams
6586 or BufferView, so don't.
6588 2002-10-21 John Levon <levon@movementarian.org>
6590 * BufferView.C: menuUndo ->undo, redo
6592 * BufferView.h: document, remove dead, make some methods private
6594 * paragraph_funcs.h:
6595 * paragraph_funcs.C:
6596 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6601 * sgml.C: move sgml open/close tag into sgml.C
6603 * bufferview_funcs.h: unused prototype
6606 * lyxfunc.C: remove unused
6609 * text.C: remove unused
6611 2002-10-21 John Levon <levon@movementarian.org>
6615 * BufferView_pimpl.h:
6616 * BufferView_pimpl.C: fix mouse wheel handling based on
6617 patch from Darren Freeman
6619 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6621 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6623 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6625 * lyxlength.C (inPixels): Fix hanfling of negative length.
6626 Fix LyXLength::MU case.
6628 2002-10-16 John Levon <levon@movementarian.org>
6630 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6632 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6634 * converter.C (view): add support for $$i (file name) and $$p
6635 (file path) for the viewer command. If $$i is not specified, then
6636 it is appended to the command (for compatibility with old syntax)
6638 2002-10-14 Juergen Vigna <jug@sad.it>
6640 * undo_funcs.C (textHandleUndo): alter the order in which the
6641 new undopar is added to the LyXText, as we have to set first
6642 the right prev/next and then add it as otherwise the rebuild of
6643 LyXText is not correct. Also reset the cursor to the right paragraph,
6644 with this IMO we could remove the hack in "redoParagraphs()".
6646 2002-10-09 Angus Leeming <leeming@lyx.org>
6648 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6649 to turn off an optimisation if a new inset is to be inserted.
6651 2002-10-11 André Pönitz <poenitz@gmx.net>
6653 * lyxtext.h: make some functions public to allow access
6654 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6656 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6658 * text3.C (dispatch): when changing layout, avoid an infinite loop
6661 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6663 * lyxrc.C (read): treat a viewer or converter command of "none" as
6666 * MenuBackend.C (expandFormats): for an update, also allow the
6667 formats that are not viewable
6669 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6670 script if it is newer than the lyxrc.defaults in user directory
6672 2002-10-07 André Pönitz <poenitz@gmx.net>
6674 * text.C: Vitaly Lipatov's small i18n fix
6676 2002-09-25 Angus Leeming <leeming@lyx.org>
6678 * ispell.h: doxygen fix.
6680 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6682 * buffer.h (readFile): Add a new argument to the method, to allow
6683 reading of old-format templates.
6685 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6687 * toc.C (getTocList): Get TOC from InsetWrap.
6689 2002-09-16 John Levon <levon@movementarian.org>
6691 * lyxfunc.C: check tabular for cut/copy too
6693 2002-09-12 John Levon <levon@movementarian.org>
6698 * factory.C: add header
6700 * paragraph_funcs.h:
6701 * paragraph_funcs.C: cleanup
6703 2002-09-11 John Levon <levon@movementarian.org>
6705 * PrinterParams.h: odd/even default to true
6707 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6709 * PrinterParams.h: update printer parameters for new xforms dialog
6711 2002-09-11 Angus Leeming <leeming@lyx.org>
6713 * lyxserver.C (read_ready): re-write to make it more transparent
6714 and to make it work in coherent fashion under Tru64 Unix.
6716 2002-09-11 André Pönitz <poenitz@gmx.net>
6720 * text3.C: implement LFUN_WORDSEL
6722 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6724 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6725 make floatlist_ a boost::shared_ptr<FloatList>
6727 * lyxtextclass.C: include FloatList.h
6728 (LyXTextClass): initialize floatlist_
6729 (TextClassTags): add TC_NOFLOAT
6730 (Read): match "nofloat" to TC_NOFLOAT and use it.
6731 (readFloat): modify call to floatlist_
6735 * FloatList.[Ch] (FloatList): remove commented out float
6737 (erase): new function
6739 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6741 * MenuBackend.C (expandToc): fix crash when there is no document
6744 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6746 * many files: Add insetwrap.
6748 2002-09-09 John Levon <levon@movementarian.org>
6750 * text2.C: remove confusing and awkward depth wraparound
6752 2002-09-09 John Levon <levon@movementarian.org>
6754 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6757 * buffer.C: remove getIncludeonlyList()
6760 * lyxfunc.C: remove headers
6762 2002-09-09 Juergen Vigna <jug@sad.it>
6764 * text.C (getColumnNearX): fix form Michael this is most
6765 probably a cut&paste bug.
6767 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6771 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6772 references, ws changes.
6774 * text2.C (init): update counters after init
6775 (insertParagraph): no need to set counter on idividual paragraphs.
6776 (setCounter): access the counters object in the textclass object
6777 on in the buffer object.
6778 (updateCounters): ditto
6780 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6781 shared_ptr<Counters> to avoid loading counters.h in all
6783 (LyXTextClass): initialize ctrs_
6784 (TextClassTags): add TC_COUNTER, and ...
6785 (Read): use it here.
6786 (CounterTags): new tags
6787 (readCounter): new function
6788 (counters): new funtion
6789 (defaultLayoutName): return a const reference
6791 * counters.C (Counters): remove contructor
6792 (newCounter): remove a couple of unneeded statements.
6793 (newCounter): simplify a bit.
6794 (numberLabel): some small formatting changes.
6796 * buffer.[Ch]: remove all traces of counters, move the Counters
6797 object to the LyXTextClass.
6799 2002-09-06 Alain Castera <castera@in2p3.fr>
6801 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6802 package to set the horizontal alignment on fixed width columns.
6805 * lyx_sty.h: added tabularnewline macro def.
6807 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6809 2002-09-06 John Levon <levon@movementarian.org>
6811 * LyXAction.C: tooltips for sub/superscript
6813 * MenuBackend.C: a bit more verbose
6815 * lyxfunc.C: tiny clean
6817 * undo_funcs.C: document undo_frozen
6819 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * counters.C (Counters): add missing algorithm counter.
6823 * text2.C (setCounter): lookup the counter with layouts latexname
6824 instead of by section number.
6825 (setCounter): use a hackish way to lookup the correct enum
6827 a float name->type change
6828 reset enum couners with counter name directly instead of depth value.
6830 * counters.C (Counters): remove the push_backs, change to use the
6831 float type not the float name.
6832 (labelItem): remove unused string, float name->type change
6834 * counters.h: don't include vector, loose the enums and sects vectors
6836 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6838 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6839 (Read): add float->TC_FLOAT to textclassTags
6840 (Read): and handle it in the switch
6841 (readFloat): new function
6843 * FloatList.C (FloatList): comment out the hardcoded float
6846 * lyxlayout.h: ws change.
6848 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6850 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6852 2002-09-03 Angus Leeming <leeming@lyx.org>
6854 * BufferView_pimpl.h: qualified name is not allowed in member
6855 declaration: WorkArea & Pimpl::workarea() const;
6857 * factory.C: added using std::endl directive.
6859 * text3.C: added using std::find and std::vector directives.
6861 2002-08-29 André Pönitz <poenitz@gmx.net>
6864 * text2.C: remove unused member number_of_rows
6867 * BufferView2.C: remove file, move contents to...
6868 * BufferView.C: ... here
6870 * BufferView_pimpl.C:
6871 * factory.C: move more inset creation to factory
6873 * vspace.C: avoid direct usage of LyXText, ws changes
6876 don't provide direct access to WorkArea, use two simple
6877 acessors haveSelction() and workHeight() instead
6880 2002-08-29 John Levon <levon@movementarian.org>
6882 * BufferView_pimpl.C (dispatch): do not continue when
6885 2002-08-28 André Pönitz <poenitz@gmx.net>
6887 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6890 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6892 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6894 * buffer.C: increment LYX_FORMAT to 221
6896 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6897 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6899 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6901 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6903 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6905 * factory.C (createInset): use LyXTextClass::floats
6907 * MenuBackend.C (expandFloatListInsert):
6908 (expandFloatInsert):
6911 * text2.C (setCounter):
6913 * LaTeXFeatures.C (useFloat):
6914 (getFloatDefinitions):
6916 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6918 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6919 floatlist_, with accessor floats().
6921 * FloatList.h: remove global FloatList
6923 2002-08-26 André Pönitz <poenitz@gmx.net>
6925 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6929 * BufferView_pimpl.C:
6930 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6932 2002-08-25 John Levon <levon@movementarian.org>
6934 * LyXAction.C: fix margin note description
6936 2002-08-24 John Levon <levon@movementarian.org>
6940 * bufferview_funcs.C:
6942 * undo_funcs.C: cleanups
6944 * lyxfunc.C: disable CUT/COPY when no selection
6946 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6948 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6949 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6951 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6952 Add backward compatibility to "mono", "gray" and "no".
6954 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6956 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6957 (and file_format >= 200).
6959 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6961 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6963 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6965 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6967 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6969 * BufferView_pimpl.C:
6976 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6977 inset and code to make it work with the paragraph code. The inset
6978 can be anywhere in the paragraph, but will only do the expected
6979 thing in LaTeX if the layout file contains the parameter line
6981 (or more generally, a nonzero value) for that layout.
6983 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6985 * paragraph.h: remove the declaration of undefined counters class
6988 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6990 * text2.C (setCounter): fixed enumeration mis-count as reported by
6991 Dr. Richard Hawkins.
6993 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6995 * paragraph_funcs.h: remove some unneeded includes
6997 * text.C (backspace): pasteParagraph now in global scipe
6999 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7000 (pasteSelection): ditto
7002 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7003 * paragraph_funcs.C (pasteParagraph): ... here
7005 2002-08-20 André Pönitz <poenitz@gmx.net>
7007 * commandtags.h: new LFUNs for swapping/copying table row/colums
7010 * lyxfunc.C: support for new lfuns
7012 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7015 * buffer.[Ch]: remove NO_COMPABILITY stuff
7017 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * boost.C (throw_exception): new file, with helper function for
7020 boost compiled without exceptions.
7025 * ParameterStruct.h:
7026 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7028 * bufferlist.C (emergencyWriteAll): use boost bind
7030 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7032 * text.C: include paragraph_funcs.h
7033 (breakParagraph): breakParagraph is now in global scope
7035 * paragraph_funcs.[Ch]: new files
7037 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7040 * buffer.C: include paragraph_funcs.h
7041 (insertStringAsLines): breakParagraph is now in global scope
7043 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7046 * CutAndPaste.C: include paragraph_funcs.h
7047 (cutSelection): breakParagraphConservative is now in global scope
7048 (pasteSelection): ditto
7050 * buffer.h: declare oprator== and operator!= for
7051 Buffer::inset_iterator
7053 * bufferlist.C (emergencyWrite): don't use fmt(...)
7055 * text3.C: add using std::endl
7057 * BufferView.C (moveCursorUpdate): remove default arg
7059 2002-08-20 André Pönitz <poenitz@gmx.net>
7061 * buffer.[Ch]: move inline functions to .C
7064 * BufferView_pimpl.C:
7066 * buffer.[Ch]: use improved inset_iterator
7069 * paragraph.[Ch]: write one paragraph at a time
7071 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7073 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7074 style if style is not specified.
7076 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7078 * text2.C (setCounter): when searching for right label for a
7079 caption, make sure to recurse to parent insets (so that a caption
7080 in a minipage in a figure float works) (bug #568)
7082 2002-08-20 André Pönitz <poenitz@gmx.net>
7084 * text3.C: new file for LyXText::dispatch() and helpers
7086 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7088 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7090 2002-08-19 André Pönitz <poenitz@gmx.net>
7093 * text.C: new LyXText::dispatch()
7095 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7097 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7099 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7101 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7104 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7106 * Makefile.am: use $(variables) instead of @substitutions@
7108 2002-08-15 André Pönitz <poenitz@gmx.net>
7111 * BufferView_pimpl.C: streamlining mathed <-> outer world
7115 * LyXAction.C: remove unused LFUN_MATH
7117 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7121 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * paragraph.C (Paragraph): reformat a bit
7124 (cutIntoMinibuffer): use builtin InsetList function instad of
7128 * buffer.C: include boost/bind.hpp, add using std::for_each
7129 (writeFileAscii): use ParagraphList iterators
7130 (validate): use for_each for validate traversal of paragraphs
7131 (getBibkeyList): use ParagraphList iterators
7132 (resizeInsets): use for_each to resizeInsetsLyXText for all
7134 (getParFromID): use ParagraphList iterators
7136 * BufferView2.C (lockInset): use paragraph list and iterators
7138 2002-08-14 John Levon <levon@movementarian.org>
7140 * lyxserver.C: remove spurious xforms include
7142 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7144 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7146 2002-08-13 André Pönitz <poenitz@gmx.net>
7149 * lyxfunc.C: further cleaning
7151 2002-08-13 André Pönitz <poenitz@gmx.net>
7153 * funcrequest.h: new constructor
7155 * funcrequest.C: move stuff here from .h
7158 * BufferView_pimpl.C:
7161 * lyxfunc.C: subsequent changes
7163 * lyxfunc.h: new view() member function
7165 * lyxfunc.C: subsequent changes
7167 2002-08-13 Angus Leeming <leeming@lyx.org>
7170 * BufferView_pimpl.C:
7178 changes due to the changed LyXView interface that now returns references
7179 to member variables not pointers.
7181 2002-08-13 Angus Leeming <leeming@lyx.org>
7183 * WordLangTuple (word, lang_code): return references to strings,
7188 * lyxtext.h: forward-declare WordLangTuple.
7193 * text.C: #include "WordLangTuple.h".
7196 * text.C: (selectNextWordToSpellcheck): constify return type.
7198 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7204 * paragraph_pimpl.h:
7207 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7209 Made updateCounter always count from start of buffer, and removed
7210 second argument (par).
7211 Reverted floats number display to '#'. Perhaps I'll try again when the
7212 code base is sanitized a bit.
7214 2002-08-12 Angus Leeming <leeming@lyx.org>
7216 * buffer.[Ch] (getLabelList): constify.
7218 2002-08-07 André Pönitz <poenitz@gmx.net>
7220 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7222 * funcrequest.h: extension to keep mouse (x,y) position
7224 2002-08-12 Juergen Vigna <jug@sad.it>
7226 * BufferView2.C (insertErrors): forbid undo when inserting error
7229 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7231 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7233 * ParagraphList.[Ch]: new files
7235 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7237 * BufferView2.C (lockInset): ParagraphList changes
7240 * bufferlist.C: ditto
7244 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7247 unused class variable counter_,
7249 * paragraph.[Ch] (getFirstCounter): delete unused function
7251 * counters.C: include LAssert.h
7252 (reset): add a new function with no arg, change other version to
7253 not have def. arg and to not allow empty arg.
7255 * text2.C (setCounter): remove empty arg from call to Counters::reset
7257 2002-08-11 John Levon <levon@movementarian.org>
7259 * Makefile.am: add WordLangTuple.h
7261 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7264 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7266 * insets/insettext.C: InsetList changes
7268 * graphics/GraphicsSupport.C (operator()): InsetList changes
7270 * toc.C (getTocList): InsetList changes
7272 * paragraph_pimpl.[Ch]: InsetList changes
7274 * paragraph.[Ch]: InsetList changes
7276 * buffer.C (inset_iterator): InsetList changes
7277 (setParagraph): ditto
7278 * buffer.h (inset_iterator): ditto
7279 * iterators.C (operator++): ditto
7280 * iterators.h: ditto
7282 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7284 * InsetList.[Ch]: new files, most InsetList handling moved out of
7287 * BufferView2.C (removeAutoInsets): InsetList changes
7289 (ChangeInsets): ditto
7291 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * paragraph_pimpl.h (empty): new function
7295 * paragraph.[Ch] (empty): new function
7297 * other files: use the new Paragraph::empty function
7299 2002-08-09 John Levon <levon@movementarian.org>
7301 * lyxtext.h: remove unused refresh_height
7303 2002-08-09 John Levon <levon@movementarian.org>
7310 * paragraph.C: move sgml char escaping out of paragraph
7313 * paragraph.C: remove id setter
7317 * paragraph_pimpl.C: remove dead tex_code_break_column
7319 * bufferview_funcs.C: small cleanup
7321 * lyxfunc.C: remove dead proto
7323 * lyxtext.h: make some stuff private. Remove some dead stuff.
7325 * lyxgluelength.C: make as[LyX]String() readable
7327 2002-08-08 John Levon <levon@movementarian.org>
7332 * ToolbarDefaults.C:
7335 * toc.C: lyxaction cleanup
7337 2002-08-08 John Levon <levon@movementarian.org>
7339 * BufferView2.C: small cleanup
7342 * lyxfind.C: move unnecessary header into the .C
7344 2002-08-08 John Levon <levon@movementarian.org>
7346 * funcrequest.h: just tedious nonsense
7349 * lyx_main.C: cleanups
7352 * vspace.C: remove dead header lyx_main.h
7354 2002-08-07 Angus Leeming <leeming@lyx.org>
7357 * paragraph_pimpl.h:
7358 Forward declare class Counters in paragraph.h by moving the ctrs member
7359 variable into Paragraph::Pimpl.
7360 (counters): new method, returning a reference to pimpl_->ctrs.
7362 * text2.C: ensuing changes.
7364 2002-08-07 John Levon <levon@movementarian.org>
7366 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7368 * BufferView_pimpl.C: announce X selection on double/triple
7371 * lyx_main.C: use correct bool in batch dispatch
7373 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7375 2002-08-07 André Pönitz <poenitz@gmx.net>
7377 * funcrequest.h: new class to wrap a kb_action and its argument
7380 * BufferView_pimpl[Ch]:
7384 * lyxrc.C: subsequent changes
7387 2002-08-07 John Levon <levon@movementarian.org>
7389 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7390 document options change.
7392 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7397 * makefile.am: move counters functionality over from
7398 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7400 2002-08-06 John Levon <levon@movementarian.org>
7402 * WordLangTuple.h: new file for word + language code tuple
7413 * BufferView2.C: use WordLangTuple
7416 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7418 2002-08-06 John Levon <levon@movementarian.org>
7420 * lyx_main.C: fix cmdline batch handling
7422 2002-08-06 André Pönitz <poenitz@gmx.net>
7424 * lyxrc.C: set default for show_banner to true
7426 2002-08-06 John Levon <levon@movementarian.org>
7428 * pspell.C: fix a crash, and allow new aspell to work
7430 2002-08-06 John Levon <levon@movementarian.org>
7433 * kbmap.C: small cleanup
7436 * vspace.C: add const
7438 2002-08-05 John Levon <levon@movementarian.org>
7440 * LyXAction.C: back to tabular-insert
7442 2002-08-04 John Levon <levon@movementarian.org>
7445 * BufferView.C: cosmetic change
7447 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7457 * BufferView2.C: purge all "Lyx" not "LyX" strings
7460 * lyxcursor.C: attempt to add some documentation
7465 * ToolbarDefaults.C:
7466 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7467 merge with LFUN_TABULAR_INSERT
7474 * pspell.C: split up i/pspell implementations into separate
7475 files, many cleanups
7477 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7479 * text2.C: some cleanup
7481 * lyxfunc.C: don't check for isp_command == "none" any more, it
7482 didn't make any sense
7484 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7489 * makefile.am: move counters functionality over
7490 from text2.C/paragraph.[Ch] to counters.[Ch], and
7492 2002-08-02 John Levon <levon@movementarian.org>
7494 * buffer.C: s/lyxconvert/lyx2lyx/
7496 2002-08-02 Angus Leeming <leeming@lyx.org>
7498 * lyxlex.C: revert John's change as it breaks reading of the user
7501 2002-08-02 Angus Leeming <leeming@lyx.org>
7503 * importer.C (Import):
7504 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7505 changes due to LyXView::view() now returning a boost::shared_ptr.
7507 2002-08-02 John Levon <levon@movementarian.org>
7509 * lyxlex.C: small cleanup
7511 2002-08-02 John Levon <levon@movementarian.org>
7513 * text2.C (status): small cleanup, no logic change
7515 2002-08-01 John Levon <levon@movementarian.org>
7518 * buffer.C (writeFile): don't output alerts, caller
7522 * lyx_cb.C: from above
7524 * lyxfunc.C: allow to open non-existent files
7526 2002-07-31 John Levon <levon@movementarian.org>
7528 * lyxserver.C: don't let incidental errors get
7531 2002-07-30 John Levon <levon@movementarian.org>
7533 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7535 2002-07-30 John Levon <levon@movementarian.org>
7538 * lyxserver.C: remove I/O callback too
7540 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7542 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7545 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * many files: strip,frontStrip -> trim,ltrim,rtrim
7549 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7551 * PrinterParams.h: remove extern containsOnly, and include
7552 support/lstrings.h instead.
7554 * LaTeX.C (scanAuxFile): modify because of strip changes
7556 * buffer.C (makeLaTeXFile): ditto
7557 * bufferparams.C (writeFile): ditt
7558 * lyxfont.C (stateText): ditto
7559 * lyxserver.C (read_ready): ditto
7560 * vc-backend.C (scanMaster): ditto
7562 * BufferView_pimpl.h: ws changes
7564 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7566 2002-07-26 André Pönitz <poenitz@gmx.net>
7568 * kb_sequence.C: remove unnedred usings
7570 2002-07-26 Juergen Vigna <jug@sad.it>
7572 * lyxfind.C (LyXReplace): we have to check better if the returned
7573 text is not of theLockingInset()->getLockingInset().
7575 2002-07-25 Juergen Vigna <jug@sad.it>
7577 * lyxfind.C (LyXReplace): don't replace if we don't get the
7580 * undo_funcs.C (createUndo): remove debugging code.
7582 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7584 * buffer.C (parseSingleLyXformat2Token): Use default placement
7585 when reading old floats.
7587 * FloatList.C (FloatList): Change the default placement of figure
7588 and tables to "tbp".
7590 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7592 * MenuBackend.C: using std::max
7594 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7596 * MenuBackend.C (expandToc):
7597 (expandToc2): code moved from xforms menu frontend. It is now
7598 generic and TOCs are transparent to menu frontends.
7600 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7602 * toc.C (getTocList): protect against buf=0
7604 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7605 Menu as first parameter. Now, this calls itself recursively to
7606 expand a whole tree (this will be useful for TOC handling)
7607 (expandFloatInsert): remove 'wide' version of floats
7609 * MenuBackend.h (submenuname): returns the name of the submenu.
7610 (submenu): returns the submenu itself, provided it has been
7611 created by MenuBackend::expand
7613 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7615 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7616 insets which have noFontChange == true. (bug #172)
7618 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7620 * BufferView_pimpl.C: add connection objects and use them...
7623 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7625 * MenuBackend.C (expandLastfiles):
7628 (expandFloatListInsert):
7629 (expandFloatInsert):
7630 (expand): split expand in parts
7632 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7634 * lyx_gui.C: use lyx_gui::exit()
7636 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7638 * LyXAction.C: show the failing pseudo action
7640 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7642 * buffer.C (readFile): Run the lyxconvert script in order to read
7645 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7649 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7651 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7655 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7657 2002-07-22 Herbert Voss <voss@lyx.org>
7660 * lyxlength.[Ch]: add support for the vertical lengths
7662 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7664 * toc.[Ch]: std:: fixes
7666 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7668 * lyxrc.C: do not include lyx_main.h
7670 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7676 * BufferView2.C: include "lyxlex.h"
7679 * bufferparams.h: do not #include "lyxlex.h"
7681 * lyxtextclasslist.C (Add): remove method
7682 (classlist): renamed to classlist_
7684 * paragraph_pimpl.C:
7688 * bufferview_funcs.C:
7693 * toc.C (getTocList): use BufferParams::getLyXTextClass
7695 * toc.C (getTocList): use InsetFloat::addToToc
7697 * toc.[Ch]: new files, containing helper functions to handle table
7700 * lyxfunc.C (dispatch): no need to remove spaces around command
7702 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7703 first command of the sequence; it is not very clever, but I do not
7704 have a better idea, actually
7706 * LyXAction.C (LookupFunc): make sure to remove space at the
7707 beginning and end of the command
7709 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7711 * MenuBackend.C (getMenubar): new method: return the menubar of
7713 (read): treat differently reading of menu and menubar (in
7714 particular, the menubar has no name now)
7715 (Menu::menubar): remove
7717 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7720 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7722 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7723 a bibitem inset in a RTL paragraph.
7725 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7727 * paragraph_pimpl.C: constify
7729 * BufferView_pimpl.C:
7731 * lyxfunc.C: fix dispatch in a nicer way
7733 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7735 * lyxfunc.C (dispatch):
7736 * BufferView_pimpl.C:
7737 * BufferView_pimpl.h:
7739 * BufferView.h: rename Dispatch() to dispatch()
7741 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7743 * lyxlayout.C (Read): honor DependsOn tag
7745 * lyxlayout.[Ch] (depends_on): new method
7747 * version.C.in: update lyx_docversion
7749 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7751 * paragraph.C (validate): remove from here...
7752 * paragraph_pimpl.C (validate): ... and move here
7753 (isTextAt): make it const
7755 * buffer.C (getLists): ws cleanup
7757 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7759 * language.C (read): Use iso8859-1 encoding in latex_lang
7760 (this prevents LyX from crashing when using iso10646-1 encoding).
7762 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7764 * text2.C (toggleInset): if cursor is inside an inset, close the
7765 inset and leave cursor _after_ it
7767 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7769 * lyxfunc.C: move minibuffer completion handling out of here
7771 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7773 * BufferView_pimpl.C:
7774 * LaTeX.C: fix dispatch calls
7776 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7778 * text.C (drawChars): Fix Arabic text rendering.
7780 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7784 * lyxfunc.C: remove message-push/pop
7788 * lyxfunc.C: rationalise some code by removing verboseDispatch
7789 in favour of a bool argument to dispatch()
7791 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7793 * lyx_main.C (init): make sure to read symlinks as absolute paths
7795 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7798 * lyxfunc.C: no need for commandshortcut to be a member
7800 2002-07-15 André Pönitz <poenitz@gmx.net>
7802 * converter.C: add support for $$s (scripts from lib/scripts dir)
7803 * lyx_main.C: white space
7805 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7809 * lyxrc.C: remove second exit confirmation
7811 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7816 * BufferView_pimpl.h:
7817 * BufferView_pimpl.C:
7818 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7820 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7822 * MenuBackend.C (expand): add numeric shortcuts to document menu
7824 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7826 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7828 * lyxfont.C (setLyXFamily):
7835 * buffer.C (asciiParagraph): use ascii_lowercase
7837 2002-07-15 Mike Fabian <mfabian@suse.de>
7839 * lyxlex_pimpl.C (search_kw):
7840 * lyxlex.C (getLongString):
7841 * converter.h (operator<):
7842 * converter.C (operator<):
7843 * buffer.C (parseSingleLyXformat2Token):
7845 * ToolbarDefaults.C (read):
7846 * MenuBackend.C (checkShortcuts):
7848 * LColor.C (getFromGUIName):
7849 (getFromLyXName): use the compare_ascii_no_case instead of
7850 compare_no_case, because in turkish, 'i' is not the lowercase
7851 version of 'I', and thus turkish locale breaks parsing of tags.
7853 2002-07-16 Angus Leeming <leeming@lyx.org>
7855 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7856 now takes a Buffer const & argument.
7858 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7860 * BufferView.C (resize): check there's a buffer to resize
7862 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7864 * lyxfunc.C: remove dead code
7867 * lyxserver.C: use lyx_guii::set_read_callback
7869 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7871 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7872 an inset in a RTL paragraph.
7874 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7876 * lyxfunc.C: repaint after a font size update
7878 2002-07-15 André Pönitz <poenitz@gmx.net>
7880 * lyxlength.C: inBP should be able to return negative values
7882 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7884 * lyxfunc.C: use lyx_gui::update_fonts()
7886 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7888 * lyxfunc.C: use lyx_gui::update_color()
7890 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7896 * lyxrc.C: remove file->new asks for name option, and let
7897 buffer-new take an argument
7899 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7901 * BufferView_pimpl.C: remove unneeded extra repaint()
7903 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7905 * LyXAction.C: allow command-sequence with NoBuffer
7907 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7909 2002-07-10 Angus Leeming <leeming@lyx.org>
7911 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7913 2002-07-09 Angus Leeming <leeming@lyx.org>
7915 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7917 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7919 * lengthcommon.h: whitespace
7921 * lyxfunc.C: update scrollbar after goto paragraph
7923 * lyxtext.h: factor out page break drawing, and fix it so
7924 page break/added space paints as selected nicely
7926 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7928 * BufferView_pimpl.C: add FIXMEs, clean up a little
7930 2002-07-09 André Pönitz <poenitz@gmx.net>
7932 * lyxfont.[Ch]: support for wasy symbols
7934 2002-07-08 André Pönitz <poenitz@gmx.net>
7936 * BufferView_pimpl.C: apply John's patch for #93.
7938 2002-07-05 Angus Leeming <leeming@lyx.org>
7940 * BufferView_pimpl.C (buffer): generate previews if desired.
7942 * LColor.h: add "preview" to the color enum.
7944 * LColor.C (LColor): add a corresponding entry to the items array.
7946 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7949 2002-07-05 Angus Leeming <leeming@lyx.org>
7951 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7952 The body of the code is now in the method that is passed an ostream &
7953 rather than a file name.
7954 Pass an additional only_preamble parameter, useful for the forthcoming
7957 2002-07-03 André Pönitz <poenitz@gmx.net>
7959 * lyxfunc.C: simplify getStatus() a bit for math stuff
7961 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7963 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7965 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7967 * text.C (changeRegionCase): do not change case of all the
7968 document when region ends at paragraph end (bug #461)
7970 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7972 * paragraph.C (startTeXParParams):
7973 (endTeXParParams): add \protect when necessary
7975 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7977 * BufferView_pimpl.C (workAreaExpose): remove warning
7979 2002-06-27 Angus Leeming <leeming@lyx.org>
7981 * Makefile.am: add lyxlayout_ptr_fwd.h.
7983 2002-06-26 André Pönitz <poenitz@gmx.net>
7985 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7987 2002-06-25 Angus Leeming <leeming@lyx.org>
7989 * lyxfunc.C (dispatch): Comment out the call to
7990 grfx::GCache::changeDisplay. The method no longer exists now that the
7991 pixmap generation part of the graphics loader has been moved into
7994 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7996 * text2.C: layout as layout
7998 * text.C: layout as layout
8000 * tabular.C (OldFormatRead): layout as layout
8002 * paragraph_pimpl.C (TeXDeeper): layout as layout
8003 (realizeFont): layout as layout
8005 * paragraph.C (writeFile): layout as layout
8006 (validate): layout as layout
8007 (getFont): layout as layout
8008 (getLabelFont): layout as layout
8009 (getLayoutFont): layout as layout
8010 (breakParagraph): layout as layout
8011 (stripLeadingSpaces): layout as layout
8012 (getEndLabel): layout as layout
8013 (getMaxDepthAfter): layout as layout
8014 (applyLayout): layout as layout
8015 (TeXOnePar): layout as layout
8016 (simpleTeXOnePar): layout as layout
8017 (TeXEnvironment): layout as layout
8018 (layout): layout as layout
8019 (layout): layout as layout
8021 * lyxtextclass.C (compare_name): new functor to work with
8022 shared_ptr, layout as layout
8023 (Read): layout as layout
8024 (hasLayout): layout as layout
8025 (operator): layout as layout
8026 (delete_layout): layout as layout
8027 (defaultLayout): layout as layout
8029 * lyxlayout_ptr_fwd.h: new file
8031 * lyxlayout.C (Read): layout as layout
8033 * lyx_cb.C (MenuInsertLabel): layout as layout
8035 * bufferlist.C (newFile): layout as layout
8037 * buffer.C (readLyXformat2): layout as layout
8038 (parseSingleLyXformat2Token): layout as layout
8039 (insertStringAsLines): layout as layout
8040 (asciiParagraph): layout as layout
8041 (latexParagraphs): layout as layout
8042 (makeLinuxDocFile): layout as layout
8043 (simpleLinuxDocOnePar): layout as layout
8044 (makeDocBookFile): layout as layout
8045 (simpleDocBookOnePar): layout as layout
8046 (getLists): layout as layout
8048 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8050 * CutAndPaste.C (cutSelection): layout as layout
8051 (pasteSelection): layout as layout
8052 (SwitchLayoutsBetweenClasses): layout as layout
8054 * BufferView_pimpl.C (Dispatch): layout as layout
8055 (smartQuote): layout as layout
8057 * BufferView2.C (unlockInset): layout as layout
8059 2002-06-24 André Pönitz <poenitz@gmx.net>
8061 * lyxfunc.C: fix #487
8063 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8067 * lyxfunc.C: remove display_shortcuts, show_banner
8069 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8071 * Buffer_pimpl.C: oops, update on resize
8073 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8080 * BufferView.C: use repaint()
8082 * BufferView_pimpl.h:
8083 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8084 as it's a clearer description. Remove superfluous
8087 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8089 * text.C: fix bug 488. Not ideal, but getting
8090 getWord() to work properly for the insets that
8091 matter is more difficult ...
8093 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8095 * BufferView_pimpl.C:
8098 * lyxfunc.C: remove the six million index lyxfuncs to just
8099 one, and DTRT (bug 458)
8101 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8105 * BufferView_pimpl.h:
8106 * BufferView_pimpl.C: clean up resize() stuff,
8107 and unnecessary updateScreen()s
8109 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8113 * BufferView_pimpl.h:
8114 * BufferView_pimpl.C:
8117 * minibuffer.C: remove focus management of workarea,
8118 not needed. Use screen's greyOut()
8120 2002-06-17 Herbert Voss <voss@lyx.org>
8122 * converter.C: (convert) do not post a message, when converting
8123 fails, let the calling function decide what to do in this case
8125 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8127 * lyxfunc.C: tidy up a little
8129 2002-06-16 <alstrup@diku.dk>
8131 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8132 Got rid of FORMS_H_LOCATION include. Now we are
8135 2002-06-15 LyX Development team <lyx@rilke>
8137 * buffer.[Ch] (sgmlOpenTag):
8138 (sgmlCloseTag): Added support for avoiding pernicious mixed
8139 content. Return number of lines written.
8142 (makeDocBookFile): Fixed calls to sgml*Tag.
8143 Simple white space clean.
8145 (simpleDocBookOnePar): Simple white space clean.
8147 * tabular.[Ch] (docBook): Renamed to docbook and got another
8148 argument to related with the pernicious mixed content.
8150 (docbookRow): Fixed calls for docbook inset method.
8152 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8154 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8155 so it's X11 independent.
8159 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8161 2002-06-15 Lyx Development team <lyx@electronia>
8163 * intl.h: Renamed getTrans to getTransManager.
8165 2002-06-14 Angus Leeming <leeming@lyx.org>
8167 * Makefile.am: nuke forgotten stl_string_fwd.h.
8169 2002-06-12 Angus Leeming <leeming@lyx.org>
8171 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8173 2002-06-13 Angus Leeming <leeming@lyx.org>
8176 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8178 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8180 * kbmap.C (getiso): add support for cyrillic and greek
8182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8186 * BufferView_pimpl.h:
8187 * BufferView_pimpl.C: move bogus scrolling logic
8190 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8193 * BufferView_pimpl.C: view->resize() change
8195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8197 * BufferView_pimpl.C: topCursorVisible
8200 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8204 * lyx_gui.C: move to frontends/
8208 * lyx_main.C: changes from above
8210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8217 * lyx_main.C: minor tidy
8219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8221 * BufferView_pimpl.h:
8222 * BufferView_pimpl.C:
8224 * BufferView.C: make painter() const,
8227 * BufferView2.C: use screen() accessor
8230 * lyx_main.C: some minor cleanup
8232 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8234 * BufferView_pimpl.h:
8235 * BufferView_pimpl.C: remove enter/leaveView,
8238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8243 * BufferView_pimpl.h:
8244 * BufferView_pimpl.C: only construct screen once,
8247 * lyxrc.C: remove pointless comment
8249 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8252 * BufferView.C: remove active() and belowMouse()
8254 * BufferView_pimpl.h:
8255 * BufferView_pimpl.C: use workarea() not workarea_,
8256 and make it use a scoped_ptr instead
8258 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8260 * lyx_gui.C: add debug message on BadWindow
8262 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8264 * sp_spell.C: fdopen is not part of the C++ standard.
8266 * paragraph.C (InsetIterator): use >= instead of ==
8268 2002-06-07 Angus Leeming <leeming@lyx.org>
8270 Fixes needed to compile with Compaq cxx 6.5.
8271 * BufferView_pimpl.C:
8278 * lyxtextclasslist.C:
8283 all c-library variables have been moved into namespace std. Wrap
8284 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8289 Add a using std::abs declaration.
8291 * kbmap.h (modifier_pair):
8292 * paragraph.h (InsetTable, InsetList):
8293 * lyxfont.h (FontBits):
8294 type definition made public.
8296 * bufferlist.C (emergencyWriteAll): the compiler complains that
8297 there is more than one possible lyx::class_fun template to choose from.
8298 I re-named the void specialisation as lyx::void_class_fun.
8300 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8302 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8303 the compiler is is unable to find tostr in write_attribute.
8305 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8307 * buffer.C (sgmlError): hide #warning
8309 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8311 * xtl/*: get rid of xtl, which is not in use anyway
8313 * LyXAction.C (init):
8314 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8315 were unimplemented xtl experimentation
8317 2002-06-04 André Pönitz <poenitz@gmx.net>
8319 * lyxfunc.C: disable array operation on simple formulae
8321 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8323 * converter.C: constify a bit
8325 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8327 * lyx_gui.C: check xforms version correctly
8329 2002-04-30 Herbert Voss <voss@lyx.org>
8331 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8334 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8336 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8337 attempt to register it with a VCS)
8339 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8341 * lyx_main.C (init): honor variables LYX_DIR_13x and
8344 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8348 * lyx_main.C: fix a crash on bad command line,
8349 and give a useful exit status on error
8351 * lyxfunc.C (doImport): allow -i lyx to work
8353 2002-03-30 André Pönitz <poenitz@gmx.net>
8355 * lyxfunc.C: mathed font changes
8357 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8372 * trans_mgr.h: srcdocs, and some minor cleanups
8374 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8376 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8377 call getFont all the time)
8379 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8381 * switch from SigC signals to boost::signals
8383 2002-05-29 André Pönitz <poenitz@gmx.net>
8385 * paragraph_pimpl.C (getChar): don't call size() too often...
8387 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8389 * paragraph_pimpl.C (insertChar): do not try to update tables when
8390 appending (pos == size())
8392 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8393 in order to reduce drastically the number of comparisons needed to
8394 parse a large document
8396 2002-05-29 André Pönitz <poenitz@gmx.net>
8402 * textclasslist.[Ch]:
8403 * sp_ispell.h: whitespace change
8405 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8407 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8408 lyxaction directly now.
8410 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8414 * lyxvc.C: remove unused headers
8416 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8423 * undo_funcs.C: some cleanups. Use shared_ptr
8424 and a template for the undo stacks.
8426 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8428 * BufferView_pimpl.h:
8429 * BufferView_pimpl.C:
8436 * text2.C: use key_state/mouse_state
8438 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8440 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8443 * chset.C: change include order
8444 (loadFile): use boost regex and get rid of LRegex and LSubstring
8446 * Makefile.am (BOOST_LIBS): new variable
8449 * LaTeX.C: change include order.
8450 (scanAuxFile): use boost regex and get rid of LRegex and
8454 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8459 * FontInfo.C: moved to frontends/xforms/
8462 * FontLoader.C: moved into frontends for GUIIzation
8467 * lyxfunc.C: changes from above
8469 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8471 * LColor.C: remove spurious X include
8473 * BufferView_pimpl.C:
8478 * text2.C: move font metrics to frontends/
8480 2002-05-24 Juergen Vigna <jug@sad.it>
8482 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8483 setting the undo_cursor.
8485 * ParagraphParameters.h: include local includes first.
8487 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8489 * BufferView_pimpl.C:
8490 * BufferView_pimpl.h:
8494 * screen.C: move WorkArea into frontends/
8500 * BufferView2.C: move LyXScreen into frontends/
8504 * lyx_gui.C: move lyxlookup into frontends/xforms/
8506 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8509 * BufferView_pimpl.C:
8519 * bufferview_funcs.C:
8532 * vc-backend.C: move LyX/XFormsView into frontends/
8534 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8546 * text2.C: move Painter to frontends/
8548 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8550 * buffer.C: comment out some some code that depend upon lyx_format
8553 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8554 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8556 * buffer.h (NO_COMPABILITY): turn off compability
8558 * ColorHandler.C: include scoped_array.hpp
8560 * font.C: Use more specific smart_ptr header.
8563 * ShareContainer.h: ditto
8567 * BufferView_pimpl.h: ditto
8568 * ColorHandler.h: ditto
8570 * kbmap.C (defkey): change call to shared_ptr::reset
8572 2002-05-21 Juergen Vigna <jug@sad.it>
8574 * buffer.C (insertErtContents): fix to insert ert asis if it is
8575 non empty. Skip it completely if it contains only whitespaces.
8577 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8579 * BufferView_pimpl.C:
8580 * BufferView2.C: clear selection on paste (bug 393)
8582 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8584 * DepTable.C: include ctime
8586 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8588 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8590 2002-05-14 Juergen Vigna <jug@sad.it>
8592 * text.C (breakParagraph): fixed function to honor the keepempty
8593 layout in the right maner and also to permit the right breaking
8594 algorithm on empty or non empyt keepempty paragraphs.
8596 * paragraph.C (breakParagraph): we have to check also if the par
8597 is really empty (!size()) for isempty otherwise we do the wrong
8600 2002-05-10 Juergen Vigna <jug@sad.it>
8602 * buffer.[Ch] : The following are only changes to the ert
8603 compatibility read reading old LaTeX layout and font stuff and
8604 convert it to ERTInsets.
8606 * buffer.h: added isErtInset().
8608 * buffer.C (struct ErtComp): add a fromlayout bool to check
8609 if we're inside a LaTeX layout.
8610 (isErtInset): new helper function.
8611 (insertErtContents): look for other ert insets before this one
8612 and insert the contents there, so that we don't have subsequent
8613 ERT insets with nothing between them. This way we create only one
8614 inset with multiple paragraphs. Also check if we don't insert only
8615 spaces ' ' as they are ignored anyway afterwards in the .tex file
8616 so if we have only spaces we will ignore this latex part in the
8618 (parseSingleLyXformat2Token \\layout): better compatibility when
8619 reading layout-latex stuff.
8620 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8622 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8623 stuff after reading the inset only get the information back from
8626 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8628 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8630 * LaTeXFeatures.C (getBabelOptions): New method.
8632 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8634 * BufferView_pimpl.C (Dispatch): work around missing argument for
8637 2002-05-08 Juergen Vigna <jug@sad.it>
8639 * text.C (leftMargin): handle paragraph leftindent.
8641 * paragraph.C (writeFile): write the new \\leftindent tag.
8642 (validate): handle leftindent code.
8643 (TeXEnvironment): handle paragraphleftindent code again.
8645 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8647 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8648 for paragrap_extra indent code and new token \\leftindent.
8649 (latexParagraphs): handle the leftindent as environment.
8651 * ParameterStruct.h: added leftindent support.
8653 * ParagraphParameters.C (leftIndent): added support functions for
8654 the paragraph left indent.
8656 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8659 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8661 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8664 * text.C (computeBidiTables): No bidi in insetERT.
8666 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8669 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8671 * version.C.in: pre 5
8673 2002-05-02 José Matos <jamatos@fep.up.pt>
8674 * buffer.C (makeDocBookFile): white space changes, add newline to
8676 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8678 * tabular.C (docBook): fix typo.
8680 2002-05-03 Juergen Vigna <jug@sad.it>
8682 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8683 change in LyXText as we can not be sure it was not freed.
8684 (drawOneRow): remove unused code.
8686 * text.C (drawInset): redo the calculation of the need_break_row as
8687 it could have a row which was already freed.
8688 (draw): look at the return value of drawInset and return false if
8689 it also returned false.
8690 (paintRowText): look at the return value of draw and return false if
8691 it also returned false.
8693 * lyxtext.h: added bool return type to drawInset() and draw() so that
8694 if we have a change in the row so that the rowbreak has to be redone
8695 we abort drawing as it will be called again.
8697 2002-05-02 Juergen Vigna <jug@sad.it>
8699 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8700 a change in the maintext also if we're inside an inset.
8701 (Dispatch): set the cursor again after a break line and after the
8702 screen has been updated as it could be we're in a different row.
8704 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8705 to set the cursor behind the pargraph with > size().
8706 (setCursor): check also for the same paragraph when checking where
8707 to put the cursor if we have a NFR inset.
8709 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8710 parts of layout read further up as it still was in the wrong
8713 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8715 * screen.C (drawFromTo): change sine fullRebreak always return
8718 * buffer.C (parseSingleLyXformat2Token): reindent some
8720 * BufferView_pimpl.C (update): change since fullRebreak always
8722 (Dispatch): git rid of the last hardcoded "Standard"s.
8724 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8726 * text2.[Ch] (fullRebreak): make it return void now that we always
8729 2002-04-30 Juergen Vigna <jug@sad.it>
8731 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8732 ert compatibility check for "latex" layout.
8734 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8736 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8737 minipages: use col% instead of p%, and also use the current font.
8738 (makeLaTeXFile): Fix use babel condition.
8739 (parseSingleLyXformat2Token): Correct font when reading old floats.
8741 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8743 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8744 inserting list of floats.
8746 2002-04-25 Herbert Voss <voss@lyx.org>
8748 * MenuBackend.C (expand): don't add the graphics extensions to the
8751 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8753 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8754 non-existing layout, do not complain if it was the default layout
8755 of the original class (bug #342)
8757 2002-04-24 Juergen Vigna <jug@sad.it>
8759 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8760 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8762 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8764 * buffer.C (getBibkeyList): If using \bibliography, return the
8765 option field with the reference itself. Enables us to provide natbib
8766 support when using \bibliography.
8768 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8770 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8772 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8773 natbib is provided by the LaTeX class.
8775 2002-04-23 Juergen Vigna <jug@sad.it>
8777 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8780 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8782 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8784 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8786 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8787 ensuremath around textordmasculine, textordfeminine and
8790 2002-04-19 Juergen Vigna <jug@sad.it>
8792 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8793 reinitializing the buffer otherwise row-dimensions may be wrong.
8794 (update): reset also the selection cursors if they do exits otherwise
8795 their x/y positions may be wrong.
8797 * text2.C (cursorDown): don't enter the inset if we came from a row
8798 above and are one row over the inset.
8800 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8801 really leaving an inset.
8803 2002-04-18 Juergen Vigna <jug@sad.it>
8805 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8806 of the selected paragraph does not have the selected layout also if
8809 * text2.C (setLayout): fixed bug which did not change last selected
8812 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8813 changed the read and substituted \\end_float with \\end_inset!
8815 * BufferView_pimpl.C (cursorPrevious):
8816 (cursorNext): fixed to make it work with rows heigher than the work
8817 area without moving the cursor only the draw of the row.
8818 (workAreaMotionNotify): fix jumping over high rows.
8820 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8822 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8825 2002-04-16 Juergen Vigna <jug@sad.it>
8827 * text2.C (setCursor): set also the irow().
8828 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8830 (cursorDown): support for locking an inset if the x_fix value goes
8831 inside it. That way I can transverse insets too with cursor up/down.
8833 * lyxrow.h: added irow helper function same as other (i) functions.
8835 * BufferView_pimpl.C (cursorPrevious):
8836 (cursorNext): fixed for insets!
8838 2002-04-15 Juergen Vigna <jug@sad.it>
8840 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8841 position otherwise it is wrong in some cases.
8843 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8844 inside the inset before the call.
8846 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8848 * buffer.[Ch] (getBibkeyList): make it const.
8850 2002-04-12 Juergen Vigna <jug@sad.it>
8852 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8854 * text2.C (getCursorX): new helper function
8855 (setCursor): compute also ix_
8856 (setCursorFromCoordinates): set also ix.
8858 * lyxcursor.h: added ix_ and helper functions.
8860 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8862 * buffer.C (insertStringAsLines): dont break paragraph if the this
8863 paragraph is inside an inset which does not permit it!
8865 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8866 also with no chars on this paragraph.
8867 (paintRowText): only paint stuff if it's inside the workarea!
8869 * paragraph.C (breakParagraph): honor keepempty flag and break the
8870 paragraph always below not above.
8872 * BufferView2.C (unlockInset): update the paragraph layout on inset
8873 unlock as we changed paragraph in such a case.
8875 * lyxfind.C (LyXFind): clear the former selection if not found!
8877 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8878 again called in insertChar().
8880 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8881 an inset which uses the whole row!
8882 (rightMargin): ditto.
8883 (insertChar): force a rebreak if we inserted an inset!
8885 2002-03-28 Herbert Voss <voss@lyx.org>
8887 * lyxlength.[Ch]: add inBP() to get the right PS-point
8888 units (BigPoint). With inPixels we have rounding errors
8890 2002-04-11 Juergen Vigna <jug@sad.it>
8892 * text2.C (setCursorFromCoordinates): set iy to the right value.
8893 (setCursor): add check if row->previous exists!
8895 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8896 an old float_type as this was the case in the old code!
8898 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8900 * BufferView2.C (showLockedInsetCursor): use iy
8901 (fitLockedInsetCursor): ditto
8903 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8904 locked insets as there we have the right value now.
8906 * lyxcursor.C: added iy_ variable and iy functions to set to the
8907 baseline of cursor-y of the locked inset.
8909 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8910 (setCursor): fixed for insets which need a full row.
8912 * text.C (rowLastPrintable): don't ignore the last space when before
8913 an inset which needs a full row.
8914 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8915 as last character of a row when before a inset which needs a full row.
8917 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8919 * version.C.in: update date
8921 * text2.C (fullRebreak): try to always return true and see what
8924 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8926 * MenuBackend.C (expand): use Floating::listName
8928 * FloatList.C (FloatList): add listName argument to the built-in
8931 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8932 text associated with the float.
8934 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8936 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8938 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * ShareContainer.h: add a couple of missing typenames.
8942 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8944 * lyxrc.C (getDescription): use _() correctly rather than N_().
8946 2002-03-28 Herbert Voss <voss@lyx.org>
8948 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8949 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8951 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8954 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8956 2002-03-29 Juergen Vigna <jug@sad.it>
8958 * lyxfunc.C (dispatch): add a missing fitCursor call.
8960 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8961 it was scrolled by a cursor move, so return the bool status.
8963 * BufferView.C (fitCursor): return the bool flag also to the outside
8964 world as this is needed.
8966 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8968 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8969 call the edit() as it is not needed (and wrong) IMO.
8970 (workAreaButtonPress): set the screen_first variable before evt.
8971 unlock the inset as this may change screen_first and then we have
8972 a wrong y position for the click!
8974 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8976 * MenuBackend.C (expand): another translation that I missed
8978 2002-03-28 Juergen Vigna <jug@sad.it>
8980 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8982 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8984 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8986 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8988 * MenuBackend.C (expand): fix export/view/update when there is no
8991 2002-03-27 Herbert Voss <voss@lyx.org>
8993 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8996 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8998 * bufferview_funcs.C (currentState): only show paragraph number
8999 for is DEVEL_VERSION is set.
9001 * lyxfunc.C (dispatch): put warning in INFO channel
9003 * MenuBackend.C (expand): translate the name of floats
9005 * FloatList.C (FloatList): mark the float names for translation
9007 * converter.C (convert): use LibScriptSearch
9009 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9011 * MenuBackend.C (defaults): fix default menu (we might as well get
9014 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9019 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9021 * lyxvc.C: reorder includes.
9023 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9028 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9030 * CutAndPaste.C: change layouts earlier on paste
9031 to avoid crashing when calling getFont()
9033 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9035 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9038 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * WorkArea.C: remove 'Pending' debug message.
9042 * most files: ws cleanup
9044 * buffer.[Ch]: ws changes
9046 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9048 2002-03-21 Juergen Vigna <jug@sad.it>
9050 * tabular.C (SetMultiColumn): collapse also the contents of the
9051 cells and set the last border right. Added a Buffer const * param.
9053 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9055 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9058 2002-03-19 Juergen Vigna <jug@sad.it>
9060 * text2.C (clearSelection): reset also xsel_cache.
9062 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9063 where it needs to be called (John tells us to do so too :)
9064 (selectionLost): reset sel_cache.
9066 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9068 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * text2.C (setCursorIntern): put debuging code in INSETS channel
9072 2002-03-19 André Pönitz <poenitz@gmx.net>
9074 * lyxfunc.C: tiny whitespace change
9076 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9078 * ToolbarDefaults.C (init):
9079 * LyXAction.C (init):
9081 * BufferView_pimpl.C (Dispatch):
9082 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9084 2002-03-19 Allan Rae <rae@lyx.org>
9086 * exporter.C (Export): removeAutoInsets before doing anything else.
9087 While I've just introduced a dependency on BufferView this really is
9088 the best place to clean the buffer otherwise you need to cleanup in
9089 a dozen places before calling export or cleanup in a dozen functions
9092 * converter.C (runLaTeX):
9093 (scanLog): Better handling of removeAutoInsets and screen updates.
9095 * lyxfunc.C (dispatch): small whitespace changes
9097 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9099 * WorkArea.C (C_WorkAreaEvent): return a value.
9100 (event_cb): return 1 if we handled the event, 0 otherwise.
9102 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9104 2002-03-18 Juergen Vigna <jug@sad.it>
9106 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9107 (GetAdditionalWidth): ditto.
9111 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9112 inset if we're there actually (probably not used right now but this
9113 is the direction to go for unifying code).
9114 (paste): disable code to clear the selection.
9116 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9117 inside an InsetText and move the check further up as it is in the
9120 * text2.C (pasteSelection): set a selection over the pasted text.
9122 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9124 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9125 and libgraphics to build on Cygwin.
9127 2002-03-15 Juergen Vigna <jug@sad.it>
9129 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9130 inserting an Inset into the paragraph. I know this is not the best
9131 fix but we already use current_view in CutAndPaste so we will remove
9132 all of it's using at the same time.
9134 * buffer.C (sgmlError): deactivated function till it is rewritten in
9135 the right mode, now it can create problems.
9137 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9138 before accessing it.
9140 2002-03-14 Juergen Vigna <jug@sad.it>
9142 * undo_funcs.C (textHandleUndo): do the right thing when updating
9143 the inset after the undo/redo.
9145 * text2.C (setCursor): just some testcode for #44 not ready yet.
9147 * undo_funcs.C (textHandleUndo): set the next() and previous()
9148 pointers of the paragraph to 0 before deleting otherwise we have
9149 problems with the Paragraph::[destructor].
9151 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9152 on a paragraph insertion.
9154 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9156 * buffer.C (asciiParagraph): use += operator for char append to
9159 * paragraph.C (getFontSettings): compare >= not just >
9160 (highestFontInRange): ditto
9163 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * paragraph.C: change several algorithm to be more appripriate for
9166 the problem domain. This is lookip in FontList and in the InsetList.
9168 2002-03-13 André Pönitz <poenitz@gmx.net>
9171 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9173 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9178 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9180 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9182 * Painter.C (display): anon helper function, adjust code for this
9184 (pixmap): remove function.
9186 * Painter.h: remove private display variable.
9188 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9190 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9192 * WorkArea.[Ch]: remove figinset_canvas cruft.
9194 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9196 * lyxtextclass.C (operator): add one item cache optimization.
9198 * bufferlist.h: doxy changes
9200 * bufferlist.C: ws changes
9202 * DepTable.[Ch] (ext_exist): place const in the right spot.
9204 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9206 (workAreaExpose): call resizeInsets when the with BufferView changes.
9207 (Dispatch): adjust for protectedBlank removal
9208 (specialChar): call updateInset if the insert went ok.
9210 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9211 specialChar instead.
9213 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9215 * BufferView.h: doxy change
9217 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9219 * lyxtextclass.C (operator[]): remove non-const version
9220 (defaultLayout): remove non-const version
9222 2002-03-12 Juergen Vigna <jug@sad.it>
9224 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9225 did resize the LyXText too.
9227 * buffer.C (readLyXformat2): set layout information on newly allocated
9230 * tabular.C (OldFormatRead): set layout information on the paragraph.
9232 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9234 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9236 2002-03-11 Juergen Vigna <jug@sad.it>
9238 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9240 (resizeCurrentBuffer): force also the insets to resize themselfes.
9241 (moveCursorUpdate): fixed up for InsetText.
9243 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9246 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9247 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9248 value of Dialogs::tooltipsEnabled().
9249 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9251 2002-03-08 Juergen Vigna <jug@sad.it>
9253 * BufferView_pimpl.C (updateInset): update inset inside inset also
9254 if it isn't inside theLockingInset().
9256 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * buffer.C (asciiParagraph): redo some of the word and line length
9260 (getLists): look for Caption instead of caption.
9262 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * buffer.C (Buffer): initialize niceFile to true
9267 (makeDocBookFile): make sure niceFile is true on exit
9269 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9273 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9275 * LyXSendto.C: remove.
9276 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9277 * lyx_gui.C: remove now-redundant comment.
9278 * ColorHandler.h: remove forward declaration of class WorkArea.
9279 * lyxfunc.C: remove #include "WorkArea.h".
9281 2002-03-07 Juergen Vigna <jug@sad.it>
9283 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9284 got moved away with the DEPM and also set the inset_owner always
9285 right which before could have been omitted.
9287 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9290 wanted layout is not found.
9292 2002-03-07 Juergen Vigna <jug@sad.it>
9294 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9296 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * paragraph.C (breakParagraph): use default layout not layout of
9300 (Paragraph): clear ParagraphParameters.
9302 2002-03-06 Juergen Vigna <jug@sad.it>
9304 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9305 otherwise it would not be a valid lenght. Fixed a special case in
9306 the minipage compatibility read where we end the document with a
9309 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9310 was set as it could be 0 for InsetTexts first entry.
9312 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * paragraph.C (writeFile): if layout is empty write out
9315 defaultLayoutName().
9317 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9318 file without named layout we set layout to defaultLayoutName().
9320 2002-03-06 Juergen Vigna <jug@sad.it>
9322 * CutAndPaste.C (copySelection): set layout for new paragraph.
9324 * text.C (prepareToPrint): leave ERT inset left aligned
9325 (leftMargin): don't indent paragraphs inside ERT insets
9327 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * paragraph.C (breakParagraph): dont call clear do the work manually
9331 * paragraph.[Ch] (clear): remove function
9333 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9335 * paragraph.C (Paragraph): dont call clear, the work has already
9338 * lyxtextclass.C (operator): assert if n is empty
9340 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9341 work manually instead.
9343 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9345 * BufferView_pimpl.C: protect selectionLost against text == 0
9347 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * text.C (breakParagraph): fix a setting layout to '0' problem.
9351 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9353 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9354 final location of file, for the included files, and graphics.
9356 2002-03-05 Juergen Vigna <jug@sad.it>
9358 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9360 2002-03-04 Juergen Vigna <jug@sad.it>
9362 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9364 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9365 last column of multicolumn cells.
9366 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9368 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9370 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9371 file if it doesn't go to a temporary file.
9373 * buffer.C (sgmlOpenTag):
9374 (sgmlCloseTag): remove extra newline insertion.
9376 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9378 * text.C (getRowNearY): comment out debug msg
9380 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9382 * text2.C: first -> first_y
9384 * text.C (getRowNearY): add some attemts at a possible
9385 optimization, not working.
9387 * tabular.[Ch]: add BufferParams to several function so that newly
9388 created paragraph can be initialized to he default layotu for the
9391 * tabular-old.C (ReadOld): add buf->params to call of Init
9393 * screen.C: rename text->first to text->first_y
9395 * paragraph.C (breakParagraph): always set layout in the broken
9398 * lyxtextclass.C (Read): remove lowercase
9401 (delete_layout): ditto
9403 * lyxtext.h: rename first -> first_y
9405 * lyxlayout.C (Read): remove lowercase
9408 (obsoleted_by): ditto
9410 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9412 * buffer.C (insertErtContents): add params are to InsetERT
9413 (parseSingleLyXformat2Token): add code to check if a paragraphs
9414 layout really exist.
9415 (parseSingleLyXformat2Token): add params to several inset
9417 (asciiParagraph): remove lowercase, do the layout comparisons with
9420 * BufferView_pimpl.C (cursorNext): first -> first_y
9421 (resizeCurrentBuffer): first -> first_y
9422 (updateScrollbar): first -> first_y
9423 (scrollCB): first -> first_y
9424 (workAreaMotionNotify): first -> first_y
9425 (workAreaButtonPress): first -> first_y
9426 (checkInsetHit): first -> first_y
9427 (cursorPrevious): first -> first_y
9428 (cursorNext): first -> first_y
9429 (Dispatch): add buffer_->params to severl inset contructors
9431 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9433 * lyxlayout.C (Read): remove some debug info that I forgot.
9435 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9436 clean up the code slightly.
9437 (makeLinuxDocFile): ditto
9438 (makeDocBookFile): ditto
9440 * text2.C: layout as string
9442 * text.C: layout as string
9444 * paragraph_pimpl.C: layout as string
9446 * paragraph.[Ch]: layout as string
9448 * lyxtextclasslist.[Ch]: layout as string
9450 * lyxtextclass.[Ch]: layout as string
9452 * lyxtext.h: layout as string
9454 * lyxlayout.[Ch]: layout as string
9456 * lyx_cb.C: layout as string
9458 * bufferview_funcs.C: layout as string
9460 * bufferparams.C: layout as string
9462 * buffer.C: layout as string
9464 * LyXView.[Ch]: layout as string
9466 * LaTeXFeatures.[Ch]: layout as string
9468 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9470 * BufferView_pimpl.C: change current_layout to string, remove
9475 (workAreaButtonRelease): layout as string
9477 * BufferView2.C (unlockInset): adjust
9479 * vspace.C (asLatexCommand): use an explict temp variable.
9481 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9483 * Makefile.am: use FRONTEND_*
9485 2002-03-01 Juergen Vigna <jug@sad.it>
9487 * tabular.C (SetWidthOfMulticolCell): changed to something better
9488 I hope but still work in progress.
9489 (recalculateMulticolumnsOfColumn): renamed function from
9490 recalculateMulticolCells as it is more appropriate now.
9491 (SetWidthOfCell): calculate multicols better.
9493 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9497 * lyxfunc.C (processKeySym): print sequence also if it is
9498 `deleted' (complete)
9500 * kbsequence.C (print): print sequence even if it is deleted
9501 (complete would be a better word, actually).
9503 * lyxfunc.C (dispatch): print complete options after a prefix key
9505 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9507 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9509 * text2.C (setCharFont): eliminate setCharFont code duplication.
9511 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9513 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9514 LFUN_TABULAR_FEATURE (bug #177)
9516 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9518 * Makefile.am: remove figure.h
9520 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9522 * Bufferview_pimpl.C:
9534 * text2.C: remove #include "lyx_gui_misc.h".
9536 * LaTeX.C: added #include <cstdio>
9538 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9540 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9541 that the paragraph following this one can have.
9543 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9545 * vspace.C (asLatexCommand): fix bogus gcc warning
9547 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9549 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9551 * text2.C (setLayout): get rid of redundant code
9553 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9555 * text2.C (incDepth): make sure depth cannot be increased beyond
9558 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9560 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9561 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9563 * PainterBase.h (image):
9564 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9567 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9571 * BufferView_pimpl.C:
9572 * BufferView_pimpl.h:
9592 * sp_spell.C: remove fig inset, and the crap house of
9593 cards that follows it
9595 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9601 * nt_defines.h: move .h into support/
9603 * vms_defines.h: remove
9605 * WorkArea.C: add space in debug output
9609 * buffer.C: add WITH_WARNINGS
9613 * bufferlist.C: s/retrive/retrieve/, add docs
9624 * lyxgui.C: add ID to X error handler
9626 * lyxtestclass.c: fix typo
9628 2002-02-26 Juergen Vigna <jug@sad.it>
9630 * tabular_funcs.C (write_attribute): changed so that some default
9631 attributes are not written at all.
9632 (getTokenValue): set default values before trying to read the
9633 value so we have the return value always set as default if we don't
9634 find the token we search for.
9636 * tabular.C (Write): write bools as bools not as strings!
9638 2002-02-22 Juergen Vigna <jug@sad.it>
9640 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9641 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9643 * text.C (leftMargin): don't add an indent for paragraphs inside
9644 tabular cells (fix #208).
9646 2002-02-21 José Matos <jamatos@fep.up.pt>
9648 * tabular.C (docBook): fixed support for long tables.
9650 2002-02-20 Juergen Vigna <jug@sad.it>
9652 * text2.C (getFont): get the drawing font of the Inset if this
9653 paragraph is inside an inset (only important for InsetERT for now).
9655 * buffer.C (insertErtContents): use new lanugage params in ERT
9658 * CutAndPaste.C: commenting out seemingly uneeded code.
9660 2002-02-19 Allan Rae <rae@lyx.org>
9662 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9663 Iterators might be simple to use but they also get invalidated.
9664 (removeAutoInsets): renamed saved cursor tracking variables and added
9665 some comments to clarify what everything does.
9667 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9674 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9675 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9678 * vc-backend.h: remove #include "support/syscall.h"
9682 * converter.C: rearrange #includes in Lars' approved fashion.
9684 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9685 forward declare class Timeout in the header file.
9687 * XFormsView.C: changes due to the above.
9689 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9692 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9693 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9695 2002-02-18 José Matos <jamatos@fep.up.pt>
9697 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9700 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9702 * a lot of small ws changes
9703 * add a lot of using std::XXX
9704 * use std construcs some places where approp.
9705 * use some exisint stuff from lyxfunctional where approp.
9706 * Make file changes to use partial linking (lets test this now...)
9708 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9712 remove #include "support/syscontr.h" as it's redundant. Always has been.
9720 change Systemcalls::System to Systemcalls::Wait and
9721 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9722 No change of functionality, just reflects the stripped down Systemcalls
9725 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9727 * debug.[Ch]: add a GRAPHICS type to the enum.
9729 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9731 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9733 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9736 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9738 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9739 match the changes below.
9741 * text2.C (toggleInset): if there is not editable inset at cursor
9742 position, try to see if cursor is _inside_ a collapsable inset
9745 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9747 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9748 document menu has a nice checkbox
9750 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9752 * lyxlength.C (asLatexString): change PW to output as percent of
9755 * lengthcommon.C: change '%' to 't%'
9757 * lyxfunc.C (dispatch): a few comments from Martin
9759 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9763 * BufferView_pimpl.h:
9764 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9767 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * vspace.C (inPixels): fix compiler warning
9771 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * lyxfunc.C (getStatus): fix status message for disabled commands.
9775 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9777 * BufferView_pimpl.C: fix crash on close buffer
9778 during selection (#227)
9780 2002-01-27 Herbert Voss <voss@lyx.org>
9782 * buffer.C: link old Figure to new graphic inset
9784 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9786 * FontLoader.C (getFontinfo): Change the latex font names in order
9787 to match the names of type1inst.
9789 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9791 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9793 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9796 (remove_files_with_extension): ditto
9797 (remove_file): ditto
9800 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9801 document is smaller than the work area height. Do not initialize
9802 static variables to 0.
9804 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9806 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9808 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9809 LFUN_LAYOUT_PARAGRAPHS.
9811 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9812 tabular. It is possible to provide a possible cell, which will
9813 typically be the actcell from the corresponding insettabular
9815 * lyxfunc.C (getStatus): small cleanup; disable
9816 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9819 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9821 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9823 * paragraph.C (startTeXParParams):
9824 (endTeXParParams): new methods. The LaTeX code to
9825 start/end paragraph formatting
9826 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9827 empty (fixes bug #200)
9829 * vspace.C (inPixels): adapt to the change below
9830 (inPixels): [later] more cleanups (remove unused variables)
9832 * lyxlength.C (inPixels): change to use a width and a height as
9835 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9837 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9838 Replaced with \paperwidth
9840 * DepTable.C (insert): add std:: qualifier
9842 2002-01-18 Allan Rae <rae@lyx.org>
9844 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9847 * text.C (drawInset): Turned out I didn't know enough about how
9848 rebreaking worked. This fixes most of the redraw problems. I see
9849 an occasional cursor trail when a line is broken now and the cursor
9850 placement can seem out by a few pixels also after a rebreak.
9852 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9854 * buffer.C (parseSingleLyXformat2Token): update because minipage
9855 width is now a LyXLength
9857 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9859 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9862 2002-01-17 Juergen Vigna <jug@sad.it>
9864 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9866 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9867 is set correctly and the inset is updated correctly.
9869 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9871 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9872 the beginning of the loop.
9874 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9876 * lyxrc.C: improve help for use_scalable_fonts
9878 2002-01-17 Allan Rae <rae@lyx.org>
9880 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9882 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9885 make sure to set their inset_owner to the right value (bug #171)
9887 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9890 * DepTable.C: Implement mtime checking to reduce time spent doing
9893 2002-01-16 Juergen Vigna <jug@sad.it>
9895 * tabular.C (GetAdditionalHeight): one of error fixed.
9897 * lyxrc.C (output): small fix in writing use_pspell.
9899 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9901 * sp_base.h: #include LString.h
9903 2002-01-16 Allan Rae <rae@lyx.org>
9905 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9906 Can someone check this please?
9908 * text.C (drawInset): It was possible that p.row would be removed by
9909 breakAgainOneRow upsetting a few other settings. There may be another
9910 small tweak possible by setting need_break_row = 0 when p.row has been
9911 removed but I don't know enough about the logic here.
9913 2002-01-15 Allan Rae <rae@lyx.org>
9915 * text.C (insertChar): removed conditional truism.
9917 * BufferView2.C (removeAutoInsets): More tweaks.
9918 cur_par_prev could be a stray pointer. Check for trailing empty line
9919 in case last line was cur_par and only had an error inset on it.
9921 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9923 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9926 * vc-backend.C (most methods):
9927 * exporter.C (Export):
9928 * converter.C (convert):
9930 * LyXSendto.C (SendtoApplyCB):
9931 * lyxfunc.C (dispatch):
9935 * lyx_cb.C (AutoSave):
9937 * BufferView_pimpl.C (MenuInsertLyXFile):
9938 * buffer.C (runChktex): use Buffer::filePath().
9940 * buffer.h: rename filename to filename_; rename filepath to
9941 filepath_ and make it private
9942 (filePath): new method
9944 * buffer.C (writeFile): use fileName()
9947 * lyx_main.C (init): fix starting of LyX when the binary is a
9948 link from so,ewhere else.
9950 * minibuffer.C: include <cctype> for isprint
9952 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9954 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9955 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9956 name clash with InsetCollapsable's width function.
9958 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * lastfiles.C: include <iterator>
9962 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9964 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9967 * buffer.C (makeLaTeXFile): ditto.
9968 Also make loop operation more transparent.
9970 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9972 * ToolbarDefaults.C: remove trailing comma closing namespace.
9974 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9976 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9979 * trans.C (Load): comment out unused variable, allowed.
9981 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9983 * minibuffer.[Ch] (append_char): new method to recieve input from the
9984 drop-down completion browser. If a key was pressed, then recieve this
9985 char and append it to the existing string.
9986 (peek_event): modify the positioning data passed to the completion
9987 browser so that it can be placed above the minibuffer rather than below.
9988 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * LyXAction.C (init): alloe error-next for readonly documents.
9992 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9995 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9997 * bufferlist.C (readFile): create the buffer _after_ checking that
10000 * lyxfunc.C (verboseDispatch): fix handling of arguments
10002 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10004 * lyxrc.C: use string::erase() instead of initializing to "".
10007 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10009 * BufferView_pimpl.h:
10010 * BufferView_pimpl.C:
10013 * text2.C: tell X when we have made a selection for copying
10015 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10017 * BufferView_pimpl.C (MenuInsertLyXFile):
10018 * lyxfunc.C (menuNew):
10020 (doImport): add shortcuts to directory buttons
10022 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10025 * lyxfunc.C (setStatusMessage):
10026 (getStatusMessage): new methods
10027 (getStatus):use setStatusMessage instead of setErrorMessage
10028 (dispatch): when function is disabled, set error message here
10029 [instead of in getStatus previously]
10031 * BufferView_pimpl.C (workAreaButtonRelease): update
10032 toolbar/menubar here too.
10034 2002-01-13 Allan Rae <rae@lyx.org>
10036 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10037 Now seems indestructible. Remaining task is to audit all other
10038 code affected by deleteEmptyParagraphMechanism. One small quirk
10039 left is that an empty document with an error in the preamble can
10040 be made to report an error but no error box appears. I don't know
10042 (removeAutoInsets): Improved comments.
10044 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10047 * Thesaurus.C: update for Aiksaurus 0.14
10049 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10051 * text2.C (firstParagraph): removed member function, all uses
10052 replaces with ownerParagraph
10053 (redoParagraphs): here
10054 (updateInset): here
10055 (toggleAppendix): here
10056 * BufferView2.C (insertErrors): here
10057 (setCursorFromRow): here
10059 2002-01-13 Allan Rae <rae@lyx.org>
10061 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10062 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10063 There is still a way to segfault this although you may have to do this
10064 multiple times: Have an InsetERT with an unknown command in it.
10065 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10066 <down-arrow>, <Enter> again, View->DVI, BANG!
10068 * text2.C (setCursor):
10069 (deleteEmptyParagraphMechanism):
10070 * lyxtext.h (setCursor):
10071 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10072 Making use of the return value may help fix other bugs.
10074 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10076 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10078 * LyXView.C (updateMenubar): call MenuBar::update here
10079 (updateToolbar): but not here
10080 (showState): do not update toolbar/menubar
10082 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10083 should need to care about that.
10085 * lyxfunc.C (verboseDispatch): simplify a bit
10086 (getStatus): have a version which takes a pseudoaction, and
10087 another which requires a (kb_action,string).
10089 * LyXAction.C (retrieveActionArg): make it work also when action
10090 is not a pseudo-action.
10091 (getActionName): simplify a bit
10094 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10096 * lyxfunc.C (verboseDispatch): new families of methods with
10097 several ways to specify a command and a bool to indicate whether
10098 the command name and shortcut should be displayed in minibuffer
10099 (eventually, we could extend that to a finer bitmask like
10100 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10101 (dispatch): the pristine dispatch command which just, well,
10102 dispatchs! Note it still sets its result to minibuffer; I'm not
10105 * lyxfunc.h: remove setHintMessage
10107 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10109 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10111 * BufferView_pimpl.C (specialChar): delete new inset if we have
10112 not been able to insert it.
10114 * kbmap.C: revert to using int instead of kb_action, since all we
10115 are dealing with is pseudo-actions.
10117 * LyXAction.C (searchActionArg): change to return int instead of
10118 kb_action, since the result is a pseudoaction.
10120 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10122 * buffer.C (insertErtContents): Fix (partially) the font bug.
10124 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10126 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10127 as the other one is broken on my machine!
10129 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10132 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10134 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10136 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10137 reflect their actual use. Provide compatibility code for older lyxrc
10140 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10142 change names of popup font variables in line with the changes to lyxrc.C
10144 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10146 * buffer.C (asciiParagraph): avoid outputing a word twice after
10149 * lyxrc.C (getDescription): document that document_path and
10150 template_path can be empty.
10152 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10154 * LaTeXFeatures.C (getMacros):
10155 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10157 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10159 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10161 (getPackages): rename feature "floats" to "float". Use an array to
10162 iterate over 'simple' features (i.e. just a \usepackage). Add
10163 handling of "amsmath" (renamed from "amsstyle").
10165 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10167 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10170 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10172 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10173 FuncStaus::FuncStatus & FuncStaus::some_method().
10175 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10177 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10178 of the func_satus stuff. Edited and massaged in various ways by
10181 * lyxfunc.C (getStatus): use FuncStatus
10183 2002-01-08 Juergen Vigna <jug@sad.it>
10185 * text.C (nextBreakPoint): use function Inset::isChar().
10187 * paragraph.C (TeXOnePar): use function
10188 Inset::forceDefaultParagraphs.
10190 * buffer.C (latexParagraphs): use function
10191 Inset::forceDefaultParagraphs.
10193 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10195 * lyx_gui.C (init): set the style of the menu popups to
10196 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10198 2002-01-07 Juergen Vigna <jug@sad.it>
10200 * text.C (setHeightOfRow): small fix
10201 (prepareToPrint): don't look at alignment if we don't have the place
10204 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10206 * box.C: New file. Move the Box methods and functions out of box.h,
10207 following Lars' suggestion.
10209 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10211 * box.h: #include "support/LOstream.h", needed for inlined function.
10214 * lyxtextclasslist.C: added some using std declarations.
10216 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10218 * box.h: make signed dimensions to allow insets wider than
10219 the screen (bug #162)
10221 * BufferView_pimpl.C: add some insetHit debug
10223 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10225 * vc-backend.C: add FIXME
10227 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10229 * lyxfunc.C (getStatus): enable code for showing math font status
10232 2002-01-07 Juergen Vigna <jug@sad.it>
10234 * text.C (nextBreakPoint): removed debug output not needed anymore.
10236 2002-01-06 Juergen Vigna <jug@sad.it>
10238 * text.C (nextBreakPoint): fixed up this function we had this bug
10239 since ever but now hopefully we break row better.
10240 (insertChar): we have to check if an inset is the next char as it
10241 could now happen that a large inset is causing a break.
10243 2002-01-05 Juergen Vigna <jug@sad.it>
10245 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10246 if it doesn't like to be drawed.
10248 2002-01-04 Juergen Vigna <jug@sad.it>
10250 * BufferView2.C (lockInset): forgot to set a cursor.
10252 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10254 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10256 * FormMathsPanel.C:
10259 * form_maths_panel.C:
10260 * form_maths_panel.h:
10261 * form_maths_panel.fd: implemented sub- and super- buttons in math
10264 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10265 (or ^ space) to be used as in TeX (req'd by André).
10267 * lyxfunc.C: Allow ^ and _ again to be used both as
10268 super/subscript (mathed) and as themselves (in text).
10270 2002-01-03 Allan Rae <rae@lyx.org>
10272 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10273 "LyX" or the filename of the current buffer if it has one. This is a
10274 modified form of John Levon's patch.
10276 * XFormsView.C (setWindowTitle): also set icon title.
10278 * LyXView.h (setWindowTitle): signature changed.
10279 * XFormsView.h (setWindowTitle): ditto.
10281 2002-01-02 Juergen Vigna <jug@sad.it>
10283 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10285 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * screen.C (topCursorVisible): introduce a temp var for
10288 text->cursor.row(), handle the case where this row is null. (kindo
10291 * text2.C (setCursor): add a couple of asserts.
10293 * paragraph.h (inset_iterator): add -> operator
10295 * paragraph.[Ch] (autoDeleteInsets): remove member function
10297 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10298 cursor pos correctly and handle inset deletion by itself.
10299 (insertErrors): move iterator declaration out of for expression
10301 * lyxtextclass.C: add <algorithm>
10303 * Makefile.am: added the new files to sources, removed layout.C
10305 * layout.C: removed file
10307 * layout.h: remove LYX_DUMMY_LAYOUT
10309 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10313 * lyxtextclass.[Ch]:
10314 * lyxtextclasslist.[Ch]: new files
10316 * include order changes to a lot of files, also changes because of
10319 2001-12-27 Juergen Vigna <jug@sad.it>
10321 * buffer.C (asciiParagraph): more fixes.
10323 * tabular.C (ascii): make ascii export support export of only the
10324 data separated by a column-delimiter.
10325 (ascii): better support for ascii export.
10327 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10329 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10331 * tabular_funcs.C: use a "using std::getline" instead of the
10332 previous fix from Angus (necessary for cxx + lyxstring)
10334 2001-12-24 Juergen Vigna <jug@sad.it>
10336 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10338 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10339 problems. First check a minipage also if we have some ert-contents
10340 (not only on par->size(), second set the right depth of the paragraph
10341 on the relink to the root-paragraph-list!
10343 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10344 which then did not anymore update the main paragraphs on undo/redo!
10346 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10349 code. Support all font-changing funcs (even those which are not in
10350 menu currently). Support for reporting font settings in
10351 mathed (disabled until Andre provides a function on mathed's side).
10353 * func_status.h (toggle): small helper function to set toggle
10356 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10358 * tabular_funcs.C: getline -> std::getline
10360 2001-12-21 Juergen Vigna <jug@sad.it>
10362 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10363 accessed and could be 0 (I couldn't generate this but it seems
10366 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10369 * tabular_funcs.h: here and include iosfwd
10371 2001-12-20 Juergen Vigna <jug@sad.it>
10373 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10374 inside inset but undo_par was.
10376 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10378 * Thesaurus.C: always include <config.h> in sources.
10382 * box.h: do not include <config.h> in header files
10384 * text.C (paintLastRow): remove unused variable
10386 * text.C (transformChar):
10388 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10390 * Painter.C (text):
10391 * font.C (width): rewrite to use uppercase() instead of
10394 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10396 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10398 * lyxfind.C: clean up of find failure position change
10400 2001-12-20 Juergen Vigna <jug@sad.it>
10402 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10404 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10405 (TeXRow): added to LaTeX a single tabular row.
10406 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10407 (Latex): simplified and finally good LT-h/f support.
10408 (various_functions): just small adaptions for LT-h/f support.
10410 * tabular_funcs.[hC]: added and moved here all not classfunctions
10413 2001-12-19 Juergen Vigna <jug@sad.it>
10415 * tabular.[Ch]: better support for longtabular options (not finished
10418 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10420 * text.C (paintLastRow): use the label font instead of the font of
10421 the last character to compute the size of *_BOX. This makes more
10422 sense and avoids a crash with empty paragraphs.
10423 Use Painter::rectangle to draw EMPTY_BOX.
10425 2001-12-19 Juergen Vigna <jug@sad.it>
10427 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10428 the paragraphs if the replaced paragraph is not the first one!
10429 Tried to delete not used paragraphs but does not work yet so for
10430 now it's inside #ifdef's and by default off!
10432 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * MenuBackend.C: include "lyx_main.h" instead of declaring
10435 lastfiles (actually was declared as LastFiles* instead of a
10438 2001-12-17 Juergen Vigna <jug@sad.it>
10440 * tabular.C (AppendColumn): applied John's fix
10442 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10446 * BufferView_pimpl.h:
10447 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10450 * box.h: new start of class for above
10452 * lyxfunc.C: ignore space-only minibuffer dispatches.
10453 Show the command name when it doesn't exist
10455 * minibuffer.C: don't add empty lines to the history
10457 * minibuffer.C: add a space on dropdown completion
10459 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10461 * text.C: fix line above/below drawing in insets
10463 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10465 * lyxlength.C (LyXLength): Initialize private variables.
10467 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10469 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10470 when inserting error insets.
10472 2001-12-13 Juergen Vigna <jug@sad.it>
10474 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10475 actually sometimes the before-paragraph.
10476 (setUndo): don't clear the redostack if we're not actually undoing!
10478 2001-12-06 Juergen Vigna <jug@sad.it>
10480 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10481 and fixed redoing of main paragraph, so we can use it now ;)
10483 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10485 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10487 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10490 2001-12-13 André Pönitz <poenitz@gmx.net>
10493 * undo_func.C: minor cleanup
10495 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10498 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10499 font in urw-fonts package which is marked as -urw-fontspecific and
10500 does not work (incidentally, changing the encoding in the
10501 fonts.dir of this package to -adobe-fontspecific fixes the
10504 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10505 is a crash when undoing first paragraph (Juergen, please take a
10506 look). THis does not mean the undo fix is wrong, just that it
10509 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10510 the (Paragraph*) version when needed instead of duplicating the
10513 * text.C (workWidth): use Inset::parOwner to find out where the
10514 inset has been inserted. This is a huge performance gain for large
10515 documents with lots of insets. If Inset::parOwner is not set, fall
10516 back on the brute force method
10518 * paragraph_pimpl.C (insertInset):
10519 * paragraph.C (Paragraph):
10520 (cutIntoMinibuffer): set parOwner of insets when
10521 inserting/removing them
10523 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10525 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10531 * mathed/formulabase.C:
10532 * mathed/math_cursor.[Ch]:
10533 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10536 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10538 * lyxlength.[Ch] (operator!=): new function
10540 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10542 * text.C (workWidth): use Inset::parOwner to find out where the
10543 inset has been inserted. This is a huge performance gain for large
10544 documents with lots of insets. If Inset::parOwner is not set, fall
10545 back on the brute force method
10547 * paragraph_pimpl.C (insertInset):
10548 * paragraph.C (Paragraph):
10549 (cutIntoMinibuffer): set parOwner of insets when
10550 inserting/removing them
10552 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10554 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10556 * tabular-old.C (getTokenValue):
10557 * tabular.C (getTokenValue):
10558 (write_attribute): new versions for LyXLength
10559 (everywhere): adjust the use of widths
10561 * tabular.h: change the type of widths from string to LyXLength
10563 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10565 * paragraph.C: fixed missing line number count when exporting
10566 Environments to LaTeX file
10568 * buffer.C: added informational message for checking line numbers.
10570 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10573 paragraph, do the 'double space' part, but not the 'empty
10576 * text.C (workWidth): small optimization
10577 (getLengthMarkerHeight): use minimal size for negative lengths.
10579 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10581 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10583 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10585 2001-12-11 André Pönitz <poenitz@gmx.net>
10588 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10590 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10592 * text2.C: keep selection on a setFont()
10594 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10596 * lyx_cb.C: another bv->text misuse, from insert label
10598 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10601 * kbsequence.C: re-instate nmodifier mask
10603 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10605 * lyx_main.h: make lyxGUI private.
10607 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10609 * lyxfind.C: place the cursor correctly on failed search
10611 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * text.C (getLengthMarkerHeight): for small heights, the arrows
10614 are not always on top/bottom of the text
10615 (drawLengthMarker): smaller arrows; take the left margin in
10616 account; draw also vfills.
10618 (paintLastRow): remove special code for vfill and standard spaces,
10619 since everything is handled in drawLengthMarker now.
10621 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10623 * buffer.C (insertErtContents): try to handle font and language
10624 interaction a bit better.g
10626 * ColorHandler.C (updateColor): change the hash to cover the whole
10627 LColor enum, ws cleanup
10628 (getGCLinepars): ditto
10629 (getGCLinepars): only lookup in the linecache once.
10631 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10633 * iterators.C (operator++): Make the iterator more robust
10635 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10637 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10639 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10642 * text.C: better added space drawing
10644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10647 * BufferView2.C: fix layout combo update on inset unlock
10649 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10651 * Makefile.am: don't compile unused files
10653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10657 * LyXAction.C: remove old LFUN_LAYOUTNO
10659 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10661 * paragraph_pimpl.h:
10662 * paragraph_pimpl.C: isTextAt() doesn't need font param
10664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10667 * lyxlex.C: little cleanup
10669 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10671 * BufferView_pimpl.C: fix insertAscii for insets
10673 2001-12-05 Juergen Vigna <jug@sad.it>
10675 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10676 set the right font on the "multi" paragraph paste!
10678 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10684 * lyxlength.C: remove out-commented code.
10686 * BufferView_pimpl:
10700 * vc-backend.C: change "while(" to "while ("
10702 * lyxlength.[Ch]: add zero function to check if length is zero or
10704 * lyxgluelength.C: use it
10706 2001-12-05 Allan Rae <rae@lyx.org>
10708 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10709 Works for 2.95.3, from what I understand of Garst's reports this should
10710 work for other g++ versions. We're screwed if the abs(int) definition
10711 changed between bugfix releases of gcc.
10713 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10715 * text.C: fix chapter label offset !
10717 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10720 * text.C: fix hfill at end of line, clean up
10722 2001-12-04 Juergen Vigna <jug@sad.it>
10724 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10725 that we force an update of the inset and it's owners if neccessary.
10727 2001-12-03 Juergen Vigna <jug@sad.it>
10729 * text.C (rowLast): simplified code
10731 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10733 * lyxfunc.C: fix show options on timeout
10735 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * screen.C (topCursorVisible): scroll half a page when the cursor
10738 reached top of bottom of screen
10740 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10742 * minibuffer.C: deactivate on loss of focus
10744 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10746 * vspace.[Ch] (operator!=): add operator.
10748 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10750 * BufferView_pimpl.C: refuse to open an inset when
10751 there's a selection.
10753 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10755 * BufferView_pimpl.C: allow to click on RHS of full row insets
10757 2001-11-30 Juergen Vigna <jug@sad.it>
10759 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10760 insets for undo reasons.
10762 2001-11-28 André Pönitz <poenitz@gmx.net>
10764 * vspace.[Ch]: cosmetical changes
10766 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10776 * kbsequence.C: part re-write of old kb code
10779 * WorkArea.C: remove Lgb_bug_find_hack
10781 2001-11-30 José Matos <jamatos@fep.up.pt>
10783 * buffer.C (makeDocBookFile): add a comment to point a hack.
10784 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10785 Fixed a double write of labels.
10787 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10790 * LaTeX.h Fixed bug in LaTeX class where it would not
10791 re-run latex if no depfiles were changed, but the .dvi was removed.
10793 2001-11-28 André Pönitz <poenitz@gmx.net>
10795 * all the files from the change on 2001/11/26:
10796 use lyx::layout_type instead of LyXTextClass::size_type
10797 use lyx::textclass_type instead of LyXTextClassList::size_type
10799 2001-11-29 Juergen Vigna <jug@sad.it>
10801 * text.C: added support for paragraph::isFreeSpacing()
10803 * buffer.C: same as above
10805 * paragraph.h: inserted isFreeSpacing() function to enable
10806 FreeSpacing inside InsetERT.
10808 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10809 of the paragraph's in the cut/copy buffer to 0!
10811 * text2.C (removeRow): remove the assert as it can!
10813 * lyxtext.h: added helper function firstRow returning firstrow and
10814 made firstrow private again.
10816 * BufferView2.C (lockInset): don't relock if we're already locked!
10818 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10819 the only paragraph.
10820 (removeRow): added Assert::(firstrow)
10822 * debug.C: forgot to add INSETTEXT here.
10824 2001-11-28 Juergen Vigna <jug@sad.it>
10826 * sp_spell.C (initialize): changed error text to more general
10827 spellchecker command use (not only ispell!)
10829 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10831 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10833 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10835 * vspace.C: initialise lyxgluelength on failure
10837 2001-11-28 Allan Rae <rae@lyx.org>
10839 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10840 declaration & definition that looks like a function declaration.
10842 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10844 * BufferView2.C (copy):
10845 (copyEnvironment): do not clear the selection when doing a copy.
10847 * text.C (paintFirstRow): compilation fix
10849 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10851 * tabular.C (Latex): correct line count when writing latex.
10853 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10855 * paragraph_pimpl.h:
10856 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10859 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10863 * LColor.C: change vfillline->added_space
10865 * text.C: add markers and text for added space
10867 * vspace.C: fix comment
10869 2001-11-28 André Pönitz <poenitz@gmx.net>
10871 * paragraph.C: whitespace changes
10872 * all the other files from the change on 2001/11/26:
10873 change *::pos_type into lyx::pos_type
10875 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10877 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10878 language of the document when inserting error insets.
10880 2001-11-26 André Pönitz <poenitz@gmx.net>
10882 * BufferView_pimpl.[Ch]:
10890 * paragraph_pimpl.[Ch]:
10893 * text2.C: reduce header dependencies, introduce type for positions
10895 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10897 * <various>: change to use Alert.h
10899 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10901 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10902 when encountering an unknown token.
10903 (readLyXformat2): Show an error message if there were unknown tokens.
10905 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10908 * BufferView_pimpl.C:
10912 * text2.C: use par->isInset()
10914 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10916 * paragraph_pimpl.h:
10917 * paragraph_pimpl.C: cleanup
10919 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10921 * text2.C (removeRow):
10922 * text.C (setHeightOfRow): remove useless (and costly) call to
10925 2001-11-20 Allan Rae <rae@lyx.org>
10927 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10928 Now need Inset*::checkInsertChar() to return true for appropriate
10929 cases so that the characters in the minibuffer will actually be
10932 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * text.C: change the order of the includes.
10935 (workWidth): initialize it at once.
10936 (workWidth): make maxw unsigned
10937 (setHeightOfRow): remove unused variable (inset)
10938 (selectSelectedWord): remove unused variable (inset)
10939 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10941 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10943 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10944 server is not running.
10946 (closeConnection): add debug info when server is disabled.
10948 * ColorHandler.C (getGCForeground): send debug message to GUI
10951 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10953 * kbmap.C (bind): modify because return conventions of
10954 kb_sequence::parse have changed.
10956 * kbsequence.C (parse): only ignore spaces and not any stupid
10957 control character. This avoids tests like s[i] <= ' ', which are
10958 guaranteed to fail with 8bit characters and signed chars.
10959 Change return code to string::npos when there have been no error
10960 (0 was a bad idea when error is at first character)
10962 2001-11-14 José Matos <jamatos@fep.up.pt>
10965 * buffer.C (simpleDocBookOnePar): removed unused argument.
10967 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10969 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10970 insets which are part of a word. Paragraph::isLetter takes care of
10971 that now. Use Paragraph::isInset to identify insets.
10972 (selectSelectedWord): do not test for hyphenation break.
10974 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10975 that protected spaces are considered as spaces.
10977 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10980 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10983 * lyxserver.C: fix it. and small cleanup.
10985 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10987 * BufferView_pimpl.C: use inline helpers
10990 * LaTeXFeatures.C: fix typos
10993 * Spacing.C: move spacing_string into class
10995 * ToolbarDefaults.C: move stuff into namespace anon
10997 * layout.h: update enum
10999 * lyxfunc.C: use better debug
11001 * minibuffer.h: fix typo
11005 * WorkArea.C: add and use Debug::WORKAREA
11009 * text2.C: code re-organisation, inline helpers
11011 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11013 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11014 std::vector.empty().
11016 2001-11-09 Allan Rae <rae@lyx.org>
11018 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11019 '\n's after tables. Tabular and ERT inset work now makes this no
11022 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11025 * minibuffer.C: fix crash, improve drop-down completion
11027 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11030 * lyxserver.C: invalidate fd's when doing endPipe()
11032 2001-11-08 José Matos <jamatos@fep.up.pt>
11034 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11035 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11038 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11040 2001-11-07 José Matos <jamatos@fep.up.pt>
11043 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11046 * buffer.C (sgmlOpenTag):
11047 * buffer.C (sgmlCloseTag): removed debug info.
11049 * buffer.h (sgmlOpenTag):
11050 * buffer.h (sgmlCloseTag): made public.
11052 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11054 * buffer.C (saveParamsAsDefaults):
11055 * lyx_cb.C (MenuLayoutSave): remove
11057 * LyXAction.C (init):
11059 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11061 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11063 * buffer.C (setPaperStuff): removed from here...
11065 * bufferparams.C (setPaperStuff): ... and moved there.
11067 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11071 * XFormsView.C: add support for drop-down completion
11073 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11075 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11078 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11080 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11083 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11085 * lyx_main.C: change ref to known bugs
11087 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11089 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11090 to work around older babel problems.
11092 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11094 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11096 2001-10-24 Juergen Vigna <jug@sad.it>
11098 * tabular-old.C (ReadOld): below variable changes reflected.
11100 * tabular.[Ch]: added ltType struct for longtable header/footer
11101 defines and changed all instances where they are used. Added
11102 future support for double top/bottom rows.
11104 2001-10-24 José Matos <jamatos@fep.up.pt>
11106 * buffer.h (docbookHandleCaption):
11107 * buffer.C (docbookHandleCaption): removed unused function.
11108 (makeDocBookFile): moved docbook supported version to v4.1.
11110 2001-10-24 José Matos <jamatos@fep.up.pt>
11113 * tabular.C (docbookRow): new function to export docbook code of a row.
11114 (DocBook): now honors the longtable flags.
11116 2001-10-23 José Matos <jamatos@fep.up.pt>
11119 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11120 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11122 * buffer.C (makeLinuxDocFile):
11123 (makeDocBookFile): reworked the preamble, more clean, and with
11124 support for lyx defined entities. Changed the document declaration
11125 to be more XML friendly.
11127 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11128 if we need to output XML that should be done with a filter.
11130 2001-10-22 Juergen Vigna <jug@sad.it>
11132 * sp_pspell.h (class PSpell): add alive function needed in the
11133 controller to see if the spellchecker could be started.
11135 2001-10-22 Juergen Vigna <jug@sad.it>
11137 * buffer.C (insertStringAsLines): modify the font for inserting
11138 chars in certain conditions by calling checkInsertChar(font).
11140 2001-10-19 Juergen Vigna <jug@sad.it>
11142 * text.C (workWidth): use getRow instead of wrong algorithm.
11143 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11145 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11150 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11152 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * text.C (workWidth): do not search for the exact row when
11155 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11156 optimization for big documents.
11158 2001-10-18 Juergen Vigna <jug@sad.it>
11160 * text.C (workWidth): new function with added Inset * parameter.
11162 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11164 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11166 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11167 change return type of getColumnNearX.
11170 * text.C (changeRegionCase): use uppercase/lowercase instead of
11173 (rightMargin): simplify code by factoring out the uses of
11178 (appendParagraph): use Paragraph::size_type
11180 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11182 * vspace.C (asLatexString): add a missing break
11184 2001-10-15 Herbert Voss <voss@perce.de>
11186 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11188 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11190 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11193 2001-10-10 André Pönitz <poenitz@gmx.net>
11195 * lyxfunc.C: removed greek_kb_flag.
11197 2001-10-10 Herbert Voss <voss@perce.de>
11199 * lyx_main.C: delete global string help_lyxdir.
11201 2001-10-09 Herbert Voss <voss@perce.de>
11203 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11205 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11207 * lyx_main.C: added global string help_lyxdir.
11209 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11211 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11213 * lyxrc.C (set_font_norm_type): support iso8859-4
11215 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11217 * LaTeX.C (deplog): add another regex for MikTeX
11219 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11221 * lyxrc.C (set_font_norm_type): support iso8859-3
11223 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11225 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11227 * LaTeXFeatures.C: remove special case of french and index
11229 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11230 before \begin{document}). This solves several incompatibilities.
11232 2001-10-03 Garst Reese <reese@isn.net>
11234 * lyx_cb.C: change CheckTex error msg.
11236 2001-10-03 José Matos <jamatos@fep.up.pt>
11238 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11240 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11242 * .cvsignore: update
11244 * lyx_main.C (commandLineVersionInfo): use new style version info.
11246 * buffer.C (writeFile):
11248 (makeLinuxDocFile):
11249 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11251 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11253 * version.h: update to use stuff in version.C
11255 * version.C.in: new file. Contains version information determined
11256 at compile time. This is a merging of version.h and
11259 2001-10-03 Juergen Vigna <jug@sad.it>
11261 * BufferView_pimpl.C (update): don't change "dirty" status in
11264 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11266 * WorkArea.C (c-tor): re-position version string slightly.
11268 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11270 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11271 revert to previous code.
11273 WorkArea.[Ch]: (show, destroySplash): methods removed.
11275 WorkArea.C: rework code so that it's an amalgam of the codes before and
11276 after the splash screen was moved to WorkArea.
11278 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11281 * vspace.C (inPixels):
11284 * buffer.C (insertStringAsLines):
11285 (asciiParagraph): fix types to be large enough
11287 * lyxlex_pimpl.h: change member status from short to int
11289 * layout.h: fix type of endlabeltype
11292 * kbsequence.C (parse): change return type to string::size_type
11294 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11297 * Bullet.C (bulletSize):
11298 (bulletEntry): do not use short ints as parameters
11300 * BufferView2.C (insertLyXFile): change a char to an int.
11302 * WorkArea.C (WorkArea): remove unneeded floats in computation
11304 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11306 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11308 * paragraph.C (asString): Do not ignore newline/hfill chars when
11309 copying to the clipboard.
11311 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11313 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11314 after a multi-line inset.
11316 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11318 * paragraph.C (validate): Set NeedLyXFootnoteCode
11320 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11322 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11323 and decrease-error to decrease.
11325 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11327 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11328 it more readable (should be equivalent)
11330 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11332 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11334 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11336 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11337 of a cursor (row, etc.) after a character has been deleted
11338 (deleteEmptyParagraphMechanism): call the method above on _all_
11339 cursors held by the LyXText when a double space has been
11342 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11344 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11346 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11348 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11349 background. Use greyOut() and the new show() methods to toggle between
11350 the foreground and background. Add code to remove the splash after
11351 its initial showing.
11353 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11354 (create_forms): no longer call Dialogs::showSplash.
11356 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11358 * .cvsignore: add version_info.h
11360 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11362 * version_info.h.in: new file
11364 * Makefile.am: add version_info.h.in
11366 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11367 version_info.h instead of VERSION_INFO
11369 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11371 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11372 The ERT inset now returns string().
11374 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11376 * lyxtext.h, text.C (selectNextWord): renamed as
11377 selectNextWordToSpellcheck.
11379 * text.C (selectNextWordToSpellcheck): Modified to not select
11380 words inside an ERT inset.
11382 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11384 * lyx_cb.C (MenuLayoutSave): change a bit the question
11386 * sp_base.h: include <sys/types.h>
11388 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11390 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11392 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11394 * several files: fix typos in user-visible strings
11396 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11398 * text2.C (pasteSelection): do not set the selection, since it
11399 will be cleared later. Actually, the intent was to fix the way the
11400 selection was set, but I figured rmoving the code was just as good.
11402 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11404 * FontLoader.C (available): Check if font is available without
11407 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11409 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11411 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11413 * lyxrc.[Ch]: added display_graphics variable and associated code.
11415 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11417 * bufferparams.C (hasClassDefaults): new method. Returns true if
11418 the buffer parameters correspond to known class defaults
11420 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11422 * XFormsView.C (show): set minimum size to the main window.
11424 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11426 * text2.C (copySelection):
11428 * lyxfind.C (LyXReplace):
11429 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11430 LyXText::selectionAsString.
11432 * paragraph.C (asString): add "label" argument to the second form
11434 * text2.C (selectionAsString): add "label" argument and pass it to
11435 Paragraph::asString.
11437 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11439 * lyx_main.C (commandLineHelp): remove version information
11441 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11443 * lyx_main.C: add -version commandline option
11445 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11447 * paragraph.h: make the optional constructor arg required instead.
11448 some modifications to other files because of this.
11450 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11452 * lyxserver.C (C_LyXComm_callback): make it static
11454 * lyx_main.C (error_handler): make it static
11456 * lyx_gui.C (LyX_XErrHandler): make it static
11458 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11460 * WorkArea.C: make the extern "C" methods static.
11462 * Makefile.am (lyx_LDADD): simplify
11464 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11466 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11467 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11469 * LyXAction.C (init):
11470 * lyxfunc.C (dispatch): associated code removal.
11472 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11474 * lyxfont.h (isSymbolFont): shut off warning
11476 * text.C (setHeightOfRow):
11477 (getVisibleRow): fix crash with empty paragraphs which have a
11480 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11482 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11485 2001-09-04 José Matos <jamatos@fep.up.pt>
11488 * tabular.C (docbook): rename docBook method to docbook.
11490 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11492 * Makefile.am: add dependencies to main.o.
11494 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11496 * FontLoader.C (available): Return false if !lyxrc.use_gui
11498 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11500 * FontInfo.C (query):
11501 * converter.C (view):
11502 * importer.C (Import):
11503 * exporter.C (Export): Can not -> cannot.
11505 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11507 * BufferView_pimpl.C: allow to create index inset even if
11510 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11512 * buffer.C (getLists): replace boost::tie code with an explicit pair
11513 as boost::tie can break some compilers.
11515 * iterators.h: Added a std:: declaration to the return type of
11518 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11520 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11523 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11525 * iterators.[Ch]: New files. Provide paragraph iterators.
11527 * buffer.C (changeLanguage): Use paragraph iterators.
11528 (isMultiLingual): ditto
11530 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11532 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11534 * FontLoader.C: Support for cmr font.
11536 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11538 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11539 (available): New method.
11541 * FontInfo.C (getFontname): Use scalable fonts even when
11542 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11545 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11547 * converter.C (Formats::view): reverted! Incorrect fix.
11549 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11551 * converter.C (Formats::view): only output the -paper option
11552 if the dvi viewer is xdvi, thereby fixing bug #233429.
11554 2001-08-23 Herbert Voss <voss@perce>
11556 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11558 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11560 * Spacing.h (Spacing): Set space to Default on in the default
11563 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * vc-backend.h (RCS::versionString): add RCS to version
11566 (CVS::versionString): add CVS to version
11568 * vc-backend.C (scanMaster): do not add CVS to version.
11569 (scanMaster): do not add RCS to version
11571 * lyxvc.C (versionString): new method
11573 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11575 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11577 * Spacing.C (set): initialize fval
11579 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11581 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11584 2001-08-16 Juergen Vigna <jug@sad.it>
11586 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11588 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11590 * BufferView_pimpl.C:
11593 * text2.C: setParagraph takes linespacing now
11595 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11597 * LyxAction.C: add internal LFUN_CITATION_INSERT
11599 * LyXView.C: actually apply fix
11601 * bufferlist.C: fix open non-existent file
11603 * lyxfind.C: fix indentation
11605 * lyxfunc.C: remove unneeded assert, fix typo
11607 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11609 * MenuBackend.C: use "Floatname List"
11611 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11613 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11614 when converting LaTeX layout to insetERT.
11615 Generate a non-collapsed float when reading old float
11617 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11619 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11622 2001-08-13 Juergen Vigna <jug@sad.it>
11624 * text.C (fill): return 0 instead of 20 as this seems to be the more
11627 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11629 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11632 2001-08-13 Juergen Vigna <jug@sad.it>
11634 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11636 (SearchBackward): comment out the unlocking of the inset_owner this
11637 should not be needed!
11639 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11641 * Many files: Remove inherit_language, and add latex_language
11643 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11644 collapsible insets.
11646 2001-08-10 Juergen Vigna <jug@sad.it>
11648 * text.C (prepareToPrint): fixed hfill-width in draw!
11650 * BufferView2.C (selectLastWord): save the selection cursor as this
11651 now is cleared in the function LyXText::clearSelection!
11653 2001-08-08 Juergen Vigna <jug@sad.it>
11655 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11656 BACKSPACE type functions.
11658 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11659 is only cutted from the document but not put in the cut-buffer, where
11660 still the old stuff should be.
11662 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11664 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11666 * tabular.C (SetWidthOfCell): fixed special case where the width
11668 (LeftLine): handle '|' in align_special.
11670 (LeftAlreadyDrawed): ditto
11671 (SetWidthOfCell): ditto
11673 2001-08-07 Juergen Vigna <jug@sad.it>
11675 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11677 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11680 * lyxlex.[hC]: ditto
11682 2001-08-06 Juergen Vigna <jug@sad.it>
11684 * text.C (getVisibleRow): fix up row clearing a bit.
11686 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11688 * minibuffer.C: make sure the X server sees the changes in the input.
11690 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11692 * paragraph.C (getFont): split into...
11693 (getLabelFont): this
11694 (getLayoutFont): and this
11695 * paragraph_pimpl.C (realizeFont): calling this
11697 * text2.C (getFont): split into...
11698 (getLayoutFont): this
11699 (getLabelFont): and this
11700 (realizeFont): all three calling this
11702 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11705 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11707 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11709 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11711 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11712 layouts from the Quote inset insertion.
11714 2001-08-03 Juergen Vigna <jug@sad.it>
11716 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11718 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11719 only if status not is already CHANGED_IN_DRAW (second level).
11721 * text.C (draw): don't set the need_break_row when inside an
11724 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11726 * buffer.C (parseSingleLyXformat2Token): handle more latex
11729 * bufferview_funcs.[hC]: change function names to
11730 begin with small char, adjust other files.
11732 2001-08-02 André Pönitz <poenitz@gmx.net>
11735 BufferView_pimpl.C: remove broken special code for math-greek
11737 2001-08-02 Juergen Vigna <jug@sad.it>
11739 * BufferView_pimpl.C (update): redone this function so that we
11740 update the text again if there was a CHANGE_IN_DRAW.
11742 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11743 (drawFromTo): added a new internal bool which is used by draw() and
11745 (general): some cursor drawing problems fixed.
11747 2001-08-01 Juergen Vigna <jug@sad.it>
11749 * lyxfind.C (LyXFind): fixed
11750 (SearchForward): ditto
11751 (SearchBackward): ditto
11753 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11754 spurius drawing of the cursor in the main area.
11756 * text2.C (status): small fix which could lead to a segfault!
11757 (clearSelection): remove unneeded BufferView param.
11759 2001-08-01 André Pönitz <poenitz@gmx.net>
11761 * lyxfunc.C: small change due to changed mathed interface
11763 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11765 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11767 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11769 * lyxfunc.c: fail gracefully if file doesn't exist
11774 * BufferView_pimpl.C: IsDirWriteable() proto changed
11776 * LyXView.C: fix updateWindowTitle() to store the last title
11778 2001-07-31 Juergen Vigna <jug@sad.it>
11780 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11781 the font (wrong since using of Paragraph::highestFontInRange).
11783 * paragraph.C (highestFontInRange): added a default_size parameter.
11785 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11786 (setHeightOfRow): reformat
11788 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * converter.[hC] + affected files: move to (inital-char)lowercase
11793 * ParagraphParameters.C (ParagraphParameters): remove commented code
11795 * PainterBase.[Ch]: remove commented code
11797 * LaTeXFeatures.h: add "bool floats" for float.sty
11799 * LaTeXFeatures.C (LaTeXFeatures): init floats
11800 (require): handle float
11801 (getPackages): do it with floats
11803 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11805 * BufferView_pimpl.C (Dispatch): improve handling of
11806 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11808 * commandtags.h: #include lyxfont.h here temporarily to avoid
11811 * bufferlist.h: include LString.h here.
11813 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11815 * text2.C (getStringToIndex): new method.
11817 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11819 * *: Reduced header file dependencies all over.
11821 2001-07-30 Baruch Even <baruch@lyx.org>
11823 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11825 2001-07-29 Baruch Even <baruch@lyx.org>
11827 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11829 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * ParameterStruct.h (endif): add a default constructor to make
11832 sure that all variables is initialized.
11834 * ParagraphParameters.C (ParagraphParameters): adjust
11836 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11838 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11839 index; also, check that there is something to index, and that it
11840 does not span over several paragraphs.
11841 (doubleClick): use WHOLE_WORD_STRICT for double click.
11843 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11845 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11848 2001-07-26 Baruch Even <baruch@lyx.org>
11850 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11851 an InsetFig figure, backwards compatible reading of old figure code.
11853 2001-07-27 Juergen Vigna <jug@sad.it>
11855 * text2.C: font.realize function adaption.
11857 * text.C (draw): add a warnings lyxerr text if needed.
11859 * layout.C: font.realize function adaption.
11861 * language.C: add inherit_language and implement it's handlings
11863 * bufferview_funcs.C (StyleReset): remove language parameter from
11864 font creation (should be language_inherit now).
11866 * bufferparams.C (writeFile): handle ignore_language.
11868 * paragraph.C (getFontSettings): the language has to be resolved
11869 otherwise we have problems in LyXFont!
11871 * lyxfont.C (lyxWriteChanges): added document_language parameter
11872 (update): removed unneeded language parameter
11874 * paragraph.C (validate): fixed wrong output of color-package when
11875 using interface colors for certain fonts in certain environments,
11876 which should not seen as that on the final output.
11878 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11880 * BufferView_pimpl.C:
11885 * LyXAction.C: add thesaurus support
11888 * lyxfind.C: add "once" parameter, for thesaurus, to not
11889 move to the next match
11891 2001-07-26 Juergen Vigna <jug@sad.it>
11893 * lyxfont.C (realize): honor ignore_language too!
11896 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11898 * text.C (draw): one place more for ignore_language to not draw
11901 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11903 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11905 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11908 the minipage conversion problem.
11910 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11912 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11915 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11917 * BufferView.h: don't forward declare WorkArea
11919 * BufferView.C: don't include WorkArea.h
11921 2001-07-25 André Pönitz <poenitz@gmx.net>
11925 * lyxfunc.C: new LFUN 'math-space'
11927 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11929 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * text2.C (toggleInset): call open/close
11933 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11935 * lyxfunc.C (dispatch): add debug for the disabled case
11937 * font.C (buttonText): make similar to rectText
11939 * buffer.C (readInset): comment out parsing of insetlist and
11942 * PainterBase.C (rectText): small correction
11944 * BufferView_pimpl.C: comment out insettheorem and insetlist
11945 * LyXAction.C: ditto
11946 * commandtags.h: ditto
11948 2001-07-24 Juergen Vigna <jug@sad.it>
11950 * text.C (draw): honor the ignore_language.
11952 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11954 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11956 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11959 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11961 * lyxtext.h: remove unused (and unimplemented) methods
11963 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11965 * text.C (getVisibleRow): honor background color
11968 * Painter.h: remove default color argument for fillRectangle
11970 * text.C (backgroundColor): new method
11972 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11974 * text.C (getVisibleRow): adjust
11976 * font.[Ch] (rectText): new method, metrics
11977 (buttonText): new method, metrics
11979 * PainterBase.[hC]: make rectText and buttonText always draw and take
11982 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11984 * ToolbarDefaults.C (read):
11985 * MenuBackend.C (read): allow escaping in all strings
11987 * BufferView_pimpl.C (insertAndEditInset): new method.
11988 (Dispatch): use insertAndEditInset whenever appropriate.
11990 * BufferView_pimpl.C (insertNote): removed
11992 * BufferView_pimpl.C (smartQuote): new method, moved from
11993 BufferView; if an insetquote cannot be inserted, insert a '"'
11996 * BufferView2.C: remove insertCorrectQuote();
11998 * lyxfunc.C (getStatus): Add support for all remaingin
11999 inset-insert lfuns.
12001 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12003 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12004 command (necessary to pass " as parameter of self-insert.
12006 * text.C (selectWordWhenUnderCursor):
12007 (selectWord): add word_location parameter
12008 (selectWordWhenUnderCursor): same + remove special code for word
12010 (selectNextWord): use kind() to guess type of insetspecialchar,
12013 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12014 (insertErtContents): create ert insets as collapsed.
12015 (readInset): better compatibility code for Info inset.
12017 2001-07-20 Juergen Vigna <jug@sad.it>
12019 * lyxfunc.C (dispatch): use always LyXFind now!
12021 * text2.C (init): add a reinit flag so that the LyXText can be
12022 reinited instead of deleted and reallocated (used in InsetText).
12024 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12030 2001-07-18 Juergen Vigna <jug@sad.it>
12032 * text.C (selectNextWord): handle insets inside inset by calling
12033 always the bv->text functions so that we can go up the_locking_inset!
12035 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12036 in strange locations when inside an inset!
12038 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12039 handling to include insets.
12041 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12043 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12045 * LyXAction.C (init):
12047 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12048 LIGATURE_BREAK, since the name is so stupid.
12050 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12052 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12055 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12057 * sp_form.[Ch]: remove.
12059 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12061 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12064 * src/buffer.C (readInset): ditto.
12066 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12068 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12069 menuSeparator(), endOfSentenceDot(), ldots() and
12070 hyphenationPoint(), which are therefore removed.
12071 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12073 * LyXAction.C (init):
12074 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12076 * paragraph.C (getWord): removed.
12078 * BufferView_pimpl.C (Dispatch): use last word or selection for
12079 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12081 * lyx_main.C (queryUserLyXDir): do not ask before creating
12082 user_dir, except if it has been named explicitely.
12084 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12086 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12087 a document of zero size.
12089 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12091 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12092 approriately in the c-tor and in require().
12093 (getPackages): output the appropriate LaTeX for natbib support.
12095 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12096 variables "use_natbib" and "use_numerical_citations" when reading the
12098 (readInset): read the various natbib cite commands.
12099 (validate): white-space change.
12101 * bufferparams.[Ch]: new variables "bool use_natbib" and
12102 "bool use_numerical_citations".
12103 (writeFile): output them in the LyX file.
12105 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12107 * lyxfunc.C (getStatus): add support for all the inset insertion
12110 * text2.C (insertInset):
12111 * paragraph.C (insetAllowed):
12112 * BufferView_pimpl.C (insertInset): update to take in account the
12113 renaming of insertInsetAllowed
12115 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12117 * text2.C (getInset): new method. returns inset at cursor position.
12119 * BufferView_pimpl.C (Dispatch): changes because of this.
12121 * LyXAction.C (init): rename open-stuff to inset-toggle.
12123 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12125 * text2.C (toggleInset): renamed from openStuff; use
12128 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12130 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12132 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12134 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12136 * buffer.C (readLyXformat2): Add filename to the error dialog
12138 2001-07-18 Juergen Vigna <jug@sad.it>
12140 * tabular.C (GetCellNumber): put an assert here instead of the check!
12142 2001-07-17 Juergen Vigna <jug@sad.it>
12144 * BufferView_pimpl.C (toggleSelection): adapted too.
12146 * text.C (selectNextWord): adapted for use with insets.
12147 (selectSelectedWord): ditto
12149 2001-07-17 Juergen Vigna <jug@sad.it>
12151 * sp_spell.C (PSpell): fix initialitation order.
12153 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * paragraph.C: spacing
12157 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12159 * sp_spell.C: repair language selection for pspell
12161 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * lyxfunc.h: change more methods to begin with lower char.
12165 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12167 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12168 for unknown layouts.
12170 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12172 * buffer.C (readLyXformat2): Generate an error dialog if there are
12175 2001-07-16 Juergen Vigna <jug@sad.it>
12177 * sp_spell.C: always compile ISpell part.
12179 * lyxrc.C: added use_pspell entry and it's handling.
12181 2001-07-13 Juergen Vigna <jug@sad.it>
12183 * sp_spell.C: removed double includes.
12185 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12187 Consistent use of Lsstream.h:
12188 * Lsstream.h: added using std::stringstream for consistencies sake.
12190 * buffer.C: removed using std::stringstream
12192 * lyxfont.C (stateText):
12193 * paragraph.C (asString):
12194 * text.C (selectNextWord, selectSelectedWord):
12195 * text2.C (setCounter):
12196 * vspace.C (asString, asLatexString):
12197 std::ostringstream -> ostringstream.
12199 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12201 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12202 * commandtags.h: add LFUN_HELP_ABOUTLYX
12203 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12205 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12207 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12209 * lyx_gui_misc.C: remove spellchecker
12210 * lyxfunc.C: showSpellchecker
12212 * sp_ispell.h: added
12213 * sp_pspell.h: added
12214 * sp_spell.C: added
12215 * sp_form.[Ch]: removed
12216 * spellchecker.[Ch]: removed
12218 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12220 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12222 (simpleTeXSpecialChars): Simply print the input character without
12223 any special translation if pass_thru is set.
12225 * layout.h: Added bool pass_thru to layout class for being able to
12226 implement pass through of a paragraph for Literate Programming.
12228 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12229 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12230 * layout.C (Read): add "passthru" to list of layout tags and add
12231 code to set the pass_thru boolean when it is read.
12233 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * trans_decl.h: remove allowed from KmodInfo
12237 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12238 remove allowed code
12241 * paragraph_pimpl.C (erase): use boost::prior
12243 * Painter.C (text): use data() instead of c_str() when length is
12245 * WorkArea.C (putClipboard): ditto
12246 * font.h (width): ditto
12248 * BufferView2.C: use it-> instead of (*it). for iterators
12250 * paragraph_pimpl.C: ditto
12251 * paragraph.C: ditto
12252 * minibuffer.C: ditto
12253 * language.C: ditto
12255 * encoding.C: ditto
12256 * counters.C: ditto
12257 * converter.C: ditto
12259 * Variables.C: ditto
12260 * TextCache.C: ditto
12261 * MenuBackend.C: ditto
12262 * LyXAction.C: ditto
12264 * FloatList.C: ditto
12265 * DepTable.C: ditto
12266 * ColorHandler.C (LyXColorHandler): ditto
12268 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12270 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12272 * text2.C (openStuff): reintroduce this method (which had been
12273 nuked in NEW_INSETS frenzy).
12275 * lyxfunc.C (Dispatch): when an action has not been handled, use
12276 its name in the error message, not its number.
12278 * paragraph.C (inInset): change method name to begin with lowercase.
12281 * text2.C: updates because of this.
12283 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12285 * ToolbarDefaults.C (add): add spaces in error message
12287 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12290 (readLyXformat2): rename return_par to first_par, use lyxlex's
12291 pushToken and remove the manual push handling.
12292 (parseSingleLyXformat2Token): add another ert comp. variable:
12293 in_tabular, rename return_par to first_par. handle newlines better
12295 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12297 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12299 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * text2.C (getParFromID): removed
12303 * buffer.C (getParFromID): new method moved form lyxtext.
12304 * BufferView2.C (insertErrors): adjust
12305 (setCursorFromRow): adjust
12306 * BufferView_pimpl.C (restorePosition): adjust
12307 * lyxfunc.C (Dispatch): adjust
12308 * undo_funcs.C (textUndo): adjust
12310 (textHandleUndo): adjust
12311 (textHandleUndo): adjust
12313 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * buffer.C: up' the LYX_FORMAT
12317 * lyxfont.h: turn NO_LATEX on as default
12319 * buffer.C (insertErtContents): new methods of tex style compability.
12320 (parseSingleLyXformat2Token): use it several places.
12321 * tabular.C (OldFormatRead): and here
12323 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12325 * text2.C: remove some commented code.
12328 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12329 * trans.C: changes because of the above.
12331 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12333 * text2.C (setCounter): Fix counters bug with bibliography layout.
12335 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12337 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12338 own member functions
12339 (simpleTeXSpecialChars): ditto
12341 2001-07-06 Juergen Vigna <jug@sad.it>
12343 * a lot of files: changed the access to LyXText::status and the
12344 call of undo-functions.
12346 * undo.[Ch]: added a inset_id to the undo informations.
12348 * undo_funcs.[Ch]: added and moved here all undo functions.
12350 * lyxtext.h: give the status enum a weight, made status_ a private
12351 variable and made accessor functions for it, removed the whole bunch
12352 of undo-functions as they are now in their own file, make some
12353 functions publically available. Added function ownerParagraph with
12356 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12357 made InInset() a const function, added getParFromID() function.
12359 * buffer.[Ch]: added const version for inset_iterator functions,
12360 added getInsetFromID() function.
12362 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12363 changed undo functions for new version.
12365 2001-07-05 Juergen Vigna <jug@sad.it>
12367 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12368 unknow mechanism does not call the proper constructor but only this
12369 one also if I request the other!?
12371 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12375 * text2.C (LyXText): use initialization lists.
12377 * lyxtext.h (Selection): initialize set_ and mark_
12378 (init): remove method
12380 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12382 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12384 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12386 * screen.[Ch]: change method names to begin with lowercase
12388 * BufferView_pimpl.C (updateScrollbar): simplify further and
12389 hopefully make it a bit faster.
12391 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12393 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12394 calling directly xforms functions.
12396 * Painter.C (Painter):
12397 * lyx_cb.C (MenuWrite):
12398 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12401 * lyx_gui.C: remove bogus guiruntime extern declaration.
12403 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12407 (redoDrawingOfParagraph): ditto
12408 (redoParagraphs): ditto
12409 (cutSelection): don't create a object for CutAndPaste use the
12410 static method directly
12411 (pasteSelection): ditto
12413 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12416 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * modifications to some other files because of this.
12420 * Makefile.am (lyx_SOURCES): add XFormsView
12422 * XFormsView.[Ch]: new files
12424 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12425 the main window. Move the gui dependent stuff to XFormsView
12427 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12429 * tabular.C (GetCellInset): update cur_cell also in the row/col
12430 version of this function.
12432 * lyxfunc.C: no need to include figure_form.h here.
12438 * lyxvc.C: no need to include forms.h here.
12440 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12442 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12444 * lyxfunc.C (Dispatch):
12446 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12447 constructor argument.
12449 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12451 * paragraph.C (Paragraph): dont't clear, and just set layout.
12452 (makeSameLayout): use params's copy contructor.
12454 * ParagraphParameters.[Ch] (makeSame): delete method
12456 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12458 * Variables.[Ch]: fix indentation, rename set to isSet
12460 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12462 * lyxfunc.C (Dispatch): fix typo
12464 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12466 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12469 * bufferlist.C: include assert.h for emergencyWrite().
12471 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12473 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12474 give up at last (bug #425202) !
12476 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12482 * spellchecker.C: strip spellchecker options and bring up
12483 preferences tab instead
12485 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12487 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12488 the istringstream constructor
12490 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12492 * paragraph.C (getLayout): fix return value
12494 * paragraph.h: do not declare getLayout as inline.
12496 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12498 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * lyxcursor.h (operator<): new func
12501 (operator>): new func
12502 (operator>=): new func
12503 (operator<=): new func
12505 * text.C (changeCase): use selection.start and selection.end
12506 (changeRegionCase): require from to be <= to. Require par to be a
12509 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12511 2001-06-27 Juergen Vigna <jug@sad.it>
12513 * text.C (cursorLeftOneWord): changed to return the cursor and added
12514 overlay with BufferView * parameter which calls this one.
12516 (selectWord): use new getWord function.
12517 (changeCase): renamed from changeWordCase as and extended to work
12518 also on selections.
12520 * lyxtext.h: added enum word_location
12522 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12523 changeCase as this operates now also on selections.
12525 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12527 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12529 * many files: send debug output to Debug::INFO instead of
12532 * converter.C (View):
12534 (Move): send debug output to Debug::FILES instead of console.
12536 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12538 * lyxfunc.C (getStatus): use func_status
12540 * func_status.h: new header, describing the results of
12541 LyXFunc::getStatus;
12543 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12546 2001-06-25 The LyX Project <jug@sad.it>
12548 * buffer.C (sgmlOpenTag):
12550 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12552 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * text2.C: remove some dead code
12556 * tabular.C (GetCellInset): store the last cell checked (gotten)
12558 * tabular.h: add the helper for the speedup
12560 * lyxtext.h: remove some dead code
12562 2001-06-26 The LyX Project <Asger>
12564 * paragraph.C: Change export to LaTeX of alignment to
12565 \begin{center} and family for better roundtrip work with reLyX.
12567 * Tune the math drawing a bit.
12569 2001-06-25 The LyX Project <Asger>
12571 * LColor.C (LColor): New color for math background. New color
12574 2001-06-25 The LyX Project <jug@sad.it>
12576 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12578 * lyxfunc.C (Open):
12579 * bufferlist.C (newFile): do not restrict to files ending with
12582 * BufferView_pimpl.C (MenuInsertLyXFile):
12584 2001-06-24 The LyX Project <jug@sad.it>
12586 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12589 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12591 * lyxtext.h: rename most methods to begin with a small char.
12592 Lots of changes because of this.
12594 * paragraph.C (Paragraph): do not call fitToSize
12595 (erase): call Pimpl::erase
12596 (insertChar): call Pimpl::insertChar
12597 (insertInset): call Pipl::insertInset
12598 (breakParagraph): do not call fitToSize
12599 (breakParagraphConservative): do not call fitToSize
12600 (fitToSize): remove method
12602 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12604 2001-06-24 The LyX Project <Asger>
12606 * Fix Qt compilation^2
12608 2001-06-24 The LyX Project <jug@sad.it>
12610 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12611 depthHook(getDepth()-1).
12614 * ParagraphParameters.h:
12615 * ParameterStruct.h: change type of depth to unsigned int ==
12616 depth_type. Many adaptations to other files before of that.
12618 2001-06-24 The LyX Project <Asger>
12620 * Fix Qt compilation.
12622 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * paragraph.h: renamed several methods to begin with small letter.
12625 several changes to many parts of the code because of this.
12627 2001-06-23 The LyX Project <jug@sad.it>
12629 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12630 rewritten to discard all double spaces when KeepEmpty is off
12631 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12632 to only handle newlines but not fiddle with spaces and friends.
12634 * lyxfunc.C (MenuNew): when doing 'new from template', use
12635 template_path as default directory
12637 2001-06-23 The LyX Project <Asger>
12639 * Clean-up of header file includes all over
12640 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12642 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12644 * paragraph.h: renamed from lyxparagraph.h
12646 2001-06-23 Asger <lyx@violet.home.sad.it>
12648 * Buffer.h: Removed Buffer::resize
12649 * BufferList.h: Removed BufferList::resize
12650 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12651 the document lazily when we change the width, or the font settings.
12653 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12655 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12657 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12659 * buffer.h: remove out of date comment
12661 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12664 * screen.C: fix "theoretical" GC leak
12666 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12668 * LaTeX.C (scanAuxFile):
12669 (deplog): remove trailing \r when reading stream (useful under
12672 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12674 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12675 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12676 and BufferView::theLockingInset(Inset*), so should use them and not
12677 access bv_->text->the_locking_inset directly.
12679 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12681 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12684 * tex-defs.h: remove old unused file
12686 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12688 * BufferView_pimpl.C: fix typo, remove minibuffer message
12689 when buffer has loaded
12691 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * lyxfunc.C (Dispatch): use stringstream
12694 (MenuNew): use stringstream
12695 (Open): use stringstream
12697 * importer.C (Import): use stringstream
12699 * bufferview_funcs.C (CurrentState): use stringstream
12701 * LaTeX.C (run): use stringstream
12703 * BufferView_pimpl.C (savePosition): use stringstream
12704 (restorePosition): use stringstream
12705 (MenuInsertLyXFile): use stringstream
12707 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12720 * vspace.C: removed // -*- C++ -*- as first line.
12723 * version.h: added // -*- C++ -*- as first line.
12725 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12727 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12729 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12732 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12737 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12739 * gettext.C: include LString.h even when --disable-nls is on.
12741 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12743 * converter.h (Get): changed argument type from int to
12744 FormatList::size_type to avoid unnecessary conversion.
12746 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12749 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12751 * gettext.h: include LString.h even when --disable-nls is on.
12753 2001-06-07 Juergen Vigna <jug@sad.it>
12755 * text.C (BreakAgain): subst spaces with tabs.
12757 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12758 (resizeInsetsLyXText): set force on resizeLyXText.
12760 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12762 * gettext.h (gettext_init):
12763 (locale_init): use a real definition instead of a macro
12765 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12767 * Bufferview_pimpl.C:
12769 * LColor.C: further lcolor tidies
12771 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * BufferView_pimpl.C (updateScrollbar): simplify.
12775 * BufferView2.C: don't include insets/insetinfo.h, change
12776 prototype for insertInset and call the Pimpl version. let
12777 updateInset call Pimpl version.
12779 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12780 gotoInset to BufferView::Pimpl
12782 2001-06-01 Juergen Vigna <jug@sad.it>
12784 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12785 inside a LockingInset (is the update needed at all?).
12787 2001-05-31 Juergen Vigna <jug@sad.it>
12789 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12790 here not the old one otherwise how should we compare it afterwards
12793 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12798 * FontInfo.C: bring C functions into global namespace when
12801 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12803 * LString.h: make sure config.h has been loaded before LString.h.
12805 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12806 (one for each char read by EatLine!).
12808 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12811 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12814 to the same as the par we break from
12816 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12818 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12820 * MenuBackend.C (expand): also create menu entries for wide
12821 versions of the floats.
12823 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12825 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12827 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12828 frontends/Makefile.am
12834 * tabular.C (getTokenValue): add std::
12836 * tabular-old.C (getTokenValue): add std::
12837 (getTokenValue): ditto
12838 (getTokenValue): ditto
12840 * screen.C (ToggleSelection): adjust
12842 * lyxtext.h: put selection cursors inside a Selection struct.
12844 * lyxfunc.C (moveCursorUpdate): adjust
12846 * lyxfont.C (latexWriteStartChanges): add std::
12848 * lyxfind.C: adjust
12850 * font.h: delete with(char const *, LyXFont const &)
12852 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12854 * FontInfo.C (getFontname): add std::
12856 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12857 (workAreaButtonPress): adjust
12858 (tripleClick): adjust
12860 (moveCursorUpdate): adjust
12863 * BufferView2.C (gotoInset): adjust
12865 2001-05-30 Juergen Vigna <jug@sad.it>
12867 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12868 to check pspell I add this as default as I now have new pspell
12869 libraries and they seem to use this.
12871 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * text2.C (CutSelection): make the cursor valid before the call to
12876 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12878 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12879 relied on 0 terminated strings and other horrors. Bug found due to
12880 the new assert in lyxstring!
12882 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12885 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12887 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12890 * lyxfunc.C (processKeySym): change method of getting to the
12893 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12894 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12895 * BufferView_pimpl.[Ch]: here as private methods.
12897 2001-05-28 Juergen Vigna <jug@sad.it>
12899 * text.C (SetHeightOfRow): added the update() call again as it is
12900 needed to initialize inset dimensions!
12902 2001-05-16 Juergen Vigna <jug@sad.it>
12904 * text2.C (SetCharFont): Add new function with BufferView * and
12905 bool toggleall parameters for setting insets internal fonts.
12906 (SetFont): Freeze the undo as we may change fonts in Insets and
12907 all this change should be inside only one Undo!
12909 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12910 setting font's in insets as for them we have the SetFont function!
12912 2001-05-15 Juergen Vigna <jug@sad.it>
12914 * text2.C (ClearSelection): to be sure we REALLY don't have any
12917 * tabular.C (TeXCellPreamble): fixed the left border problem for
12920 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12922 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12925 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12927 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12928 LFUN_BREAKPARAGRAPH.
12930 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12931 help test to "internal only", similar for LFUN_INSERT_URL
12933 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12934 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12935 auto_region_delete and deadkeys.
12937 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12940 * LColor.C: remove some dead entries, tidy a little
12942 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12944 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12946 (Dispatch): implement LFUN_ESCAPE
12948 * commandtags.h: add LFUN_ESCAPE
12950 * LyXAction.C (init): add entry for LFUN_ESCAPE
12952 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12953 Remove commented code.
12954 (insertNote): moved here
12955 (open_new_inset): moved here
12957 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12960 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12962 * kbmap.C (findbinding): clean it up and make it work correctly.
12964 * lyx_main.C (init): do not pass argc and argv as parameters
12966 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12968 * buffer.C: fix path for OS/2 & Win32
12972 * lyx_main.C: Added os:: class.
12974 * os2_defines.h: update
12976 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12979 better by trying again with reduced state.
12981 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12983 * lyxrc.C (read): print error about invalid key sequence only when
12984 debugging (because not all latinX keysyms are known to some X
12987 * kbsequence.C (getiso): add a few std:: qualifiers
12988 (getiso): comment out extra return statement.
12990 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12994 (Dispatch): enhance the accent inset a bit. (not perfect)
12996 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12998 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13000 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13002 * bufferlist.C (emergencyWrite): fix assert() call
13004 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13006 * text.C (InsertChar): Added trivial patch to only send the "you
13007 can not do multiple spaces this way" message once during a
13010 2001-05-08 Baruch Even <baruch@lyx.org>
13012 * Makefile.am: Changed order of libraries to get LyX to link properly
13013 with the gnome frontend.
13015 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13017 * LaTeXFeatures.h: add a std:: qualifier
13019 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13021 * paragraph.C (String): use stringstream
13023 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * paragraph.C (writeFile): remove footflag arg
13027 * buffer.C (makeLaTeXFile): use stringstream
13028 (latexParagraphs): remove footnot gurba
13030 * LaTeXFeatures.C (getPackages): use stringstream
13031 (getMacros): likewise
13032 (getTClassPreamble): likewise
13033 (getFloatDefinitions): new method
13035 * paragraph.C (writeFile): reindent
13038 * WorkArea.h: revert the xpos + etc changes.
13040 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13042 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13044 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13045 (pasteSelection): likewise
13046 * text2.C (CreateUndo): likewise
13048 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13050 * minibuffer.C (peek_event): temporarily reduce the functionality
13051 of the minibuffer (to allow args on lfuns)
13053 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13054 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13056 * buffer.C (readInset): add compability reading of old float
13057 lists, add reading of new style float list.
13058 (readInset): avoid reevaluation of inscmd.getCmdName()
13059 (getLists): reindent
13061 * MenuBackend.C (MenuItem): implement parsing of
13062 md_floatlistinsert and md_floatinsert.
13063 (expand::LastFiles): move initalizaton of iterators out of loop,
13064 avoid reevaluation.
13065 (expand::Documents): introduce typdedef vector<string> Strings,
13067 (expand::ExportFormats): introduce typedef vector<Format const *>
13068 Formats, and use it.
13069 (expand): implement FloatListInsert and FloatInsert.
13071 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13072 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13073 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13075 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13077 (Dispatch::LFUN_FLOAT_LIST): implement
13079 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13081 * LaTeX.C (run): Fix problem with --export code.
13083 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13085 * BufferView.[Ch] (workarea): removed.
13086 (getClipboard) new method; wrapper for workarea()->getClipboard()
13088 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13091 * WorkArea.h (width, height, xpos, ypos): These methods all
13092 returned the dimensions of the work_area sub-area of WorkArea,
13093 resulting in a position error if the WorkArea were resized. Now
13094 return the dimensions of the entire WorkArea.
13096 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13098 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13100 * LaTeX.C (deplog): correct the syntax of regex reg1
13102 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * undo.C: remove !NEW_INSETS cruft
13106 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13108 * text2.C: remove !NEW_INSETS cruft
13110 * text.C: remove !NEW_INSETS cruft
13112 * tabular.C: remove !NEW_INSETS cruft
13114 * spellchecker.C: remove !NEW_INSETS cruft
13116 * lyxtext.h: remove !NEW_INSETS cruft
13118 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13120 * lyxfunc.C: remove !NEW_INSETS cruft
13122 * lyxfind.C: remove !NEW_INSETS cruft
13124 * lyx_cb.C: remove !NEW_INSETS cruft
13126 * figureForm.C: remove !NEW_INSETS cruft
13128 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13130 * buffer.[Ch]: remove !NEW_INSETS cruft
13132 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13134 * CutAndPaste.C: remove !NEW_INSETS cruft
13136 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13138 * BufferView2.C: remove !NEW_INSETS cruft
13140 * BufferView.h: remove !NEW_INSETS cruft
13142 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13144 * Lsstream.h: include LString.h before the sstream headers to
13145 fix problem with gcc 2.95.3 and lyxstring
13147 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13149 * lyx_main.C: add using directives when needed for C functions
13150 declared in std:: namespace.
13152 2001-04-27 Juergen Vigna <jug@sad.it>
13154 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13155 (SetHeightOfRow): comment out the update call should not be needed!
13157 2001-04-13 Juergen Vigna <jug@sad.it>
13159 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13160 (LyXTabular): tried to minimize operator= operations (and realized
13161 hopfully Lars wish).
13163 2001-04-27 Juergen Vigna <jug@sad.it>
13165 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13167 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13169 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13171 * buffer.C (readInset): hack to make listof algorithm work
13173 * BufferView_pimpl.C: hack to make listof algorithm work
13175 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * LyXAction.C: removed all !NEW_INSETS cruft
13178 (init): moved lfun_item in method
13180 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13182 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13184 * BufferView2.C (theLockingInset): white space.
13186 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * minibuffer.C: include <iostream>
13190 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13192 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13194 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13196 * text.[Ch] (TransposeChars): new method
13198 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13200 * call message directly through LyXView instead of through LyXFunc
13201 * BufferView2.C: adjust
13202 * BufferView_pimpl.C: adjust
13203 * FontLoader.C: adjust
13205 * bufferview_funcs.C: adjust
13206 * converter.C: adjust
13207 * figureForm.C: adjust
13208 * importer.C: adjust
13210 * lyx_gui_misc.C: adjust
13211 * lyxfunc.C: adjust
13214 + more files in subdirs
13216 * lyxparagraph.h (size): move up int file
13219 * adjust all uses of Assert to lyx::Assert.
13221 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13222 lyxfunctional in namespace lyx
13223 * layout.C (hasLayout): ditto
13226 (delete_layout): ditto
13227 (NumberOfClass): ditto
13228 * converter.C (GetFormat): ditto
13233 * bufferlist.C (getFileNames): ditto
13234 (emergencyWriteAll): ditto
13237 * MenuBackend.C (hasSubmenu): ditto
13240 * BufferView_pimpl.C (getInsetByCode): ditto
13242 2001-04-18 Juergen Vigna <jug@sad.it>
13244 * vspace.C (asLatexString): fixed the 100% problem.
13246 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * lyxfunc.C (Dispatch):
13250 * minibuffer.h: add a few std:: qualifiers
13252 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13254 * minibuffer.[Ch]: reimplement so that commands is initiated and
13255 run from lyxfunc, simplified som handling, and made the completion
13256 and history code for complete. wip.
13258 * lyxfunc.C (processKeySym): call message
13259 (miniDispatch): new temporary method
13260 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13261 (LFUN_MESSAGE): implement
13262 (LFUN_MESSAGE_PUSH): implement
13263 (LFUN_MESSAGE_POP): implement
13264 (initMiniBuffer): the initial/defualt minibuffer message.
13266 * lyxfont.[Ch]: inline some more getters
13268 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13270 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13272 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13273 (AutoSave): use LFUN_MESSAGE
13274 (Reconfigure): ditto
13276 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13278 * figureForm.C: use LFUN_MESSAGE
13280 * converter.C (runLaTeX): use LFUN_MESSAGE
13282 * bufferview_funcs.C: use LFUN_MESSAGE
13284 (changeDepth): ditto
13286 * bufferparams.h: use boost::
13288 * bufferlist.h: inherit privately from noncopyable
13290 * bufferlist.C (loadLyXFile): remove some commented code.
13292 * buffer.C (runChktex): use LFUN_MESSAGE
13294 * ShareContainer.h: inherit privately from noncopyable
13296 * ParagraphParameters.[hC] (depth): inline it.
13298 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13300 (message): new method
13301 (messagePush): ditto
13302 (messagePop): ditto
13303 (show): init minibuffer
13304 (showState): direct call
13306 * LaTeX.[Ch]: inherit privately from noncopyable
13307 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13308 instead of WriteStatus.
13310 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13312 * BufferView_pimpl.C (buffer): don't init minibuffer
13313 (workAreaButtonPress): use LFUN_MESSAGE
13314 (workAreaButtonRelease): ditto
13315 (savePosition): ditto
13316 (restorePosition): ditto
13317 (MenuInsertLyXFile): ditto
13318 (workAreaExpose): don't init minibuffer
13319 (update): remove commented code, simplify
13321 * BufferView2.C (openStuff): use LFUN_MESSAGE
13322 (toggleFloat): ditto
13325 (copyEnvironment): ditto
13326 (pasteEnvironment): ditto
13331 (updateInset): remove some commented code
13333 * lastfiles.h: inherit privately from noncopyable
13336 * lyx_main.h: ditto
13338 * lyxlex_pimpl.h: ditto
13340 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13341 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13342 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13344 * LyXAction.h: inherit privately from noncopyable, add methods
13345 func_begin, func_end, returning iterators to the func map.
13347 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13348 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13349 (func_begin): new method
13350 (func_end): new method
13352 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13354 (copySelection): ditto
13355 (pasteSelection): ditto
13357 * BufferView.C: whitespace change
13358 * BufferView.h: inherit privately from noncopyable
13360 2001-04-16 Allan Rae <rae@lyx.org>
13362 * tabular-old.C (l_getline):
13363 * spellchecker.C (sc_check_word):
13364 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13365 an unrecognised preprocessor directive. So ensure they're wrapped.
13367 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13369 * src/exporter.C (Export): Give an error message when path to file
13372 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13374 * LaTeX.C (deplog): Always check that foundfile exists.
13376 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13379 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13381 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * tabular.[Ch] (getLabelList): implement new method
13385 * minibuffer.h: comment ouf setTiimer
13387 * minibuffer.C (ExecutingCB): constify res
13388 (peek_event): constify s
13389 (Set): constify ntext
13390 (Init): constify nicename
13392 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13394 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13395 (savePosition): use two params to Minibuffer::Set
13396 (restorePosition): ditto
13398 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13400 * lyx_main.C: include language.h
13402 * Makefile.am (lyx_main.o): add language.h
13404 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * CutAndPaste.C: include gettext.h
13412 * lyxfont.h: remove old hack with ON and OFF.
13415 * lyxfont.h: do not include language.h...
13420 * bufferview_funcs.C:
13426 * paragraph.C: ... but do it here instead
13428 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13432 * tabular.C: small reformat
13434 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13437 (BreakParagraph): ditto
13438 (SetOnlyLayout): ditto
13441 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13444 * lastfiles.C: removed most using decl, add std:: where needed
13446 * buffer.C: ws changes
13448 * MenuBackend.C (class compare_format): put into anon namespace
13449 (expand): constify label, names, action, action2
13452 * text.C (SingleWidth): constify font
13453 (IsBoundary): constify rtl2
13454 (GetVisibleRow): constify ww
13456 * LaTeX.C (deplog): constify logfile
13458 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13460 (workAreaExpose): constify widthChange, heightChange
13462 * lyxrow.C (par): moved
13465 * lyxrow.h: as inlines here
13467 * lyxfont.h (shape): moved from lyxfont.C
13468 (emph): moved from lyxfont.C
13470 * lyxfont.C (LyXFont): use initialization list for all
13472 (shape): move to lyxfont.h as inline
13473 (emph): move to lyxfont.h as inline
13476 2001-04-04 Juergen Vigna <jug@sad.it>
13478 * vspace.C: had to include stdio.h for use of sscanf
13480 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13483 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13484 independent of xforms.
13486 2001-04-02 Juergen Vigna <jug@sad.it>
13488 * spellchecker.C: fixed namespace placing!
13490 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13492 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13493 the LyXParagraph * is 0.
13495 2001-03-29 Juergen Vigna <jug@sad.it>
13497 * vspace.C: added support for %, c%, p%, l%.
13498 (stringFromUnit): added helper function.
13499 (asLatexString): changed to give right results for the %-values.
13501 * buffer.C: convert the widthp in a width%.
13503 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13505 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13508 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13509 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13511 * lyx_cb.[Ch]: see above.
13513 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13517 * lyx.[Ch]: replaced by figure_form.[Ch].
13521 * lyxfunc.C: changed headers associated with above changes.
13523 2001-03-27 Juergen Vigna <jug@sad.it>
13525 * BufferView_pimpl.C: set the temporary cursor right!
13527 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13529 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13531 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13533 * LString.h: removed "using std::getline"!
13535 * BufferView_pimpl.C (Dispatch): changes due to changes in
13536 InsetInclude::Params.
13538 * buffer.C (tag_name): removed redundant break statements as they were
13539 producing lots of warnings with my compiler.
13541 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * LString.h: add "using std::getline" when using the real <string>.
13545 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13547 * buffer.C: removed bitset usage.
13548 PAR_TAG moved to an anonymous name space.
13549 (tag_name): new funtion, also in the anonymous namespace.
13550 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13551 (makeDocBookFile): clean code. Completed transition from string arrays
13553 (SimpleDocBookOnePar): code clean.
13555 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13557 * tabular.C: add some comments.
13559 2001-03-22 Juergen Vigna <jug@sad.it>
13561 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13562 compatibility read a bit and fixed bug with minipage in different
13565 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13567 * buffer.C (pop_tag): removed.
13568 (push_tag): removed.
13569 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13570 array replaced with vector. Added support for CDATA sections.
13571 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13573 (makeDocBookFile): XML conformant declaration of CDATA section,
13574 fixed bug related to <emphasis> in the first paragraph char.
13575 (sgmlOpenTag): exclude empty tags.
13576 (sgmlCloseTag): ditto.
13578 * buffer.h (pop_tag): removed.
13579 (push_tag): removed.
13581 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13583 * language.h (Languages): added size_type and size().
13585 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13587 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13588 response on compability reading of minipages. One probliem is that
13589 the old usage of minipages was «flertydig»
13591 * several files here and in subdirs: don't use static at file
13592 scope use anon namespaces instead.
13594 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13596 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13597 LaTeX output. This is necessary for Literate document
13600 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13602 * buffer.C: insert hfill when needed.
13604 * tabular.C (l_getline): use string::erase, small whitespace change.
13606 * BufferView_pimpl.C: try the anon namespace.
13607 * WorkArea.C: ditto
13609 2001-03-16 Juergen Vigna <jug@sad.it>
13611 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13612 otherwise it won't open options-dialogs.
13614 * buffer.C: honor pextraWidth(p) on converting minipages.
13616 * tabular.C (l_getline): changed the functions to strip trailing \r.
13618 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13620 * BufferView_pimpl.C:
13621 * minibuffer..C: added "using SigC::slot" declaration.
13623 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13625 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13631 * paragraph.C: ditto
13633 * lyxtext.h: NO_PEXTRA
13635 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13637 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13638 * ParameterStruct.h: ditto
13639 * ParagraphParameters.h: ditto
13640 * lyxparagraph.h: ditto
13642 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13644 * buffer.C: add compability for minipage alignment.
13645 (latexParagraphs): remove unwanted pextra check.
13647 * several files: remove CXX_WORKING_NAMESPACES
13649 * buffer.C (pop_tag): tie is in namespace boost
13651 * BufferView.h: noncopyable is in namespace boost
13653 * lyx_main.h: ditto
13656 * lastfiles.h: ditto
13657 * bufferlist.h: ditto
13658 * ShareContainer.h: ditto
13660 * LyXAction.h: ditto
13663 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13665 * Merging changes from BRANCH_MVC back into HEAD.
13667 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13669 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13671 * BufferView_pimpl.C: change from intl.C
13675 * Makefile.am: move combox.*
13681 * intl.C: remove dialog (covered by prefs)
13683 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13685 * lyxfunc.C (Dispatch): removed redundant break statement.
13687 2001-03-14 Juergen Vigna <jug@sad.it>
13689 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13691 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13693 * buffer.C: add hack to fix compability reading of minipages.
13695 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13697 * buffer.C (getLists): Cleanup.
13699 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * lyxfont.C (update): don't honor toggleall on font size.
13703 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13707 * Makefile.am: moved to frontends/xforms/
13711 * BufferView_pimpl.C: changes for moved mathpanel
13713 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13715 * gettext.h: fix gettext_init() in --disable-nls
13717 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13719 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13721 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13724 * lyx.h: strip external form
13726 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13728 * BufferView_pimpl.C: add comment, destroySplash()
13730 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13732 * BufferView_pimpl.C:
13736 * lyxfunc.C: use re-worked insetinclude
13738 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13740 * buffer.C: add using std::stringstream.
13742 * lyx_cb.C: readd using std::ios.
13744 * buffer.C: add using std::map.
13746 * BufferView_pimpl.C: add using std::vector.
13748 * ShareContainer.h: add std:: to swap.
13750 * buffer.h: add some typedefs
13751 * buffer.C (getLists): use them
13752 (getLists): renamed from getTocList.
13753 add a counter for the different float types and use it in the
13755 (getLists): use the same counter for the NEW_INSETS and the "non"
13758 * lyx_cb.h: remove unused items, includes, using etc.
13760 * ShareContainer.h: remove some commented code, add more comments
13761 and "documentation".
13763 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13765 * buffer.C (getTocList): make the list also when NEW_INSETS is
13768 * buffer.h: remove TocType
13770 * buffer.C (getTocList): change to return a map<string,
13771 vector<TocItem> >, implement for dynamic number of list.
13773 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13774 * text2.C (PasteSelection): adjust
13775 * CutAndPaste.C (pasteSelection): adjust
13777 * FloatList.C (FloatList): update from the new_insets branch.
13778 * Floating.[Ch]: ditto
13779 * LaTeXFeatures.C: ditto
13781 * lyxlex_pimpl.C: ditto
13783 * paragraph.C (Last): remove when NEW_INSETS is defined.
13785 * other file: changes because of the above.
13787 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13789 * lyxparagraph.h: rename next to next_, previous to previous_,
13790 make them private for NEW_INSETS. Rename Next() to next(),
13791 Previous() to previous().
13793 * other files: changes because of the above.
13795 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13798 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13801 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13803 * main.C (main): pass lyx_localedir to gettext_init().
13805 * gettext.h: remove locale_init and gettext_init macros
13807 * gettext.C (locale_init): new function
13808 (gettext_init): new function
13810 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13813 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13815 * Moved credits to frontends:
13816 * credits.[Ch]: removed
13817 * credits_form.[Ch]: removed
13818 * lyx_gui_misc.C: remove credits stuff
13821 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13823 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13825 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13826 unneeded destructor.
13828 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13829 a standalone pointer again.
13831 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13833 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13839 * ToolbarDefaults.C:
13848 * BufferView_pimpl.C: use new file dialog in GUII
13851 * lyx_cb.C: remove LayoutsCB to Toolbar
13853 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * ShareContainer.h (get): add std:: qualifier
13857 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * ShareContainer.h: define a proper ShareContainer::value_type
13860 type (and use typename to please compaq cxx)
13862 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13864 * lyxparagraph.h: move serveral local vars to
13865 ParameterStruct/ParagraphParameters., use ShareContainer in
13866 FontTable., make vars in FontTable private and add getter and
13869 * paragraph.C: changes because of the above.
13871 * lyxfont.h: remove copy constructor and copy assignment. (the
13872 default ones is ok), move number inside FontBits. move inlines to
13875 * lyxfont.C: add number to initializaton of statics, move several
13876 inlines here. constify several local vars. some whitespace
13877 cleanup. Dont hide outerscope variables.
13879 * Spacing.h: add two new constructors to match the set methods.
13881 * ShareContainer.h: new file, will perhaps be moved to support
13883 * ParameterStruct.h: new file
13885 * ParagraphParameters.h: new file
13887 * ParagraphParameters.C: new file
13889 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13890 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13892 * BufferView_pimpl.C: ParagraphParameter changes.
13893 * buffer.C: Likewise.
13894 * bufferview_funcs.C: Likewise.
13895 * text.C: Likewise.
13896 * text2.C: Likewise.
13898 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13900 * lyxfind.C (LyXReplace): do not redefine default argument in
13902 (IsStringInText): ditto
13903 (SearchForward): ditto
13904 (SearchBackward): ditto
13906 2001-03-06 Juergen Vigna <jug@sad.it>
13908 * lyxfind.C (IsStringInText): put parentes around expressions.
13910 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13912 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13914 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13916 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13918 * stl_string_fwd.h: add comment
13920 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13923 * tabular.C: remove unused DocBook methods
13929 killed DO_USE_DEFAULT_LANGUAGE
13931 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13933 * lyx_gui.C: do not include language.h.
13935 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13936 arguments in function implementation.
13938 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13940 * BufferView_pimpl.C: add <ctime>
13942 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13944 * BufferView_pimpl.C: add using std::find_if
13946 2001-02-27 José Matos <jamatos@fep.up.pt>
13948 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13951 2001-02-11 José Matos <jamatos@fep.up.pt>
13953 * buffer.C (makeDocBookFile): command styles now have a parameter as
13954 "title" by default.
13956 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13958 * layout_forms.[Ch]: removed
13959 * lyx_cb.[Ch]: out character
13960 * lyx_gui.C: out character
13961 * lyx_gui_misc.C: out character
13962 * bufferview_funcs.C: : out character,
13963 added toggleall as parameter in ToggleAndShow
13965 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13967 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13969 * text2.C (SetCurrentFont): Disable number property at boundary.
13971 2001-02-26 Juergen Vigna <jug@sad.it>
13973 * lyxfunc.C (getStatus): added a string argument override function so
13974 that this is correctly called from LyXFunc::Dispatch if it contains a
13975 do_not_use_argument which is used!
13976 (Dispatch): added check for "custom" export and call appropriate func.
13978 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13980 * lyxrc.C: Add language_command_local, language_use_babel and
13981 language_global_options.
13983 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13985 * buffer.C (makeLaTeXFile): Use language_use_babel and
13986 language_global_options.
13988 2001-02-23 Juergen Vigna <jug@sad.it>
13990 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13991 which works with LyXText and putted it inside BufferView. Here now we
13992 only call for that part the BufferView::Dispatch() function.
13994 * BufferView.C (Dispatch): added.
13996 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13997 functions which needs to use a LyXText over from LyXFunc.
13998 (MenuInsertLyXFile): added
13999 (getInsetByCode): added
14000 (moveCursorUpdate): added
14001 (static TEXT): added
14003 2001-02-22 Juergen Vigna <jug@sad.it>
14005 * BufferView_pimpl.C (update): call a status update to see if LyXText
14008 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14010 * vc-backend.C (revert): implement for CVS
14011 (getLog): implement for CVS
14013 2001-02-20 Juergen Vigna <jug@sad.it>
14015 * text2.C (ClearSelection): added BufferView param for inset_owner call
14017 * lyxfunc.C (TEXT): added this function and use it instead of
14018 directly owner->view()-text of getLyXText().
14020 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14022 * src/layout_forms.C: out preamble
14023 * src/layout_forms.h: out preamble
14024 * src/lyx_cb.C: out preamble
14025 * src/lyx_cb.h: out preamble
14026 * src/lyx_gui.C: out preamble
14027 * src/lyx_gui_misc.C: out preamble
14028 * src/lyxfunc.C: connect with guii preamble
14030 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14032 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14034 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14036 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14037 whether to run bibtex.
14039 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14041 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14043 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14045 * Makefile.am (lyx_SOURCES): removed bibforms.h
14047 * vspace.h: doxygen
14049 * text.C (GetVisibleRow): make several local vars const
14051 * tabular.C: small cleanup.
14053 * lyxserver.C (callback): use compare instead of strncmp
14055 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14056 inlines to after class or to paragraph.C
14058 * lyxfont.h: remove friend operator!=
14060 * converter.h: move friend bool operator< to non friend and after
14063 * combox.h: small cleanup
14065 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14066 to inlines after class def.
14068 * buffer.C (pop_tag): use string operations instead of strcmp
14070 * bmtable.c: doxygen, small cleanup
14072 * LaTeX.h: remove friend operator==
14074 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14086 * BufferView_pimpl.C:
14087 * BufferView.[Ch]: remove cruft
14089 2001-02-14 Juergen Vigna <jug@sad.it>
14091 * lyxfunc.C: removed #if 0 unused code
14093 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14095 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14097 * text2.C (SetSelection): added a BufferView * parameter
14099 2001-02-13 Juergen Vigna <jug@sad.it>
14101 * lyxfunc.C (Dispatch): fixed protected blank problem.
14102 * BufferView2.C (protectedBlank): added LyxText * parameter.
14104 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14105 (AppendColumn): same as above for column_info.
14107 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14108 (moveCursorUpdate): use a LyXText param for support of InsetText.
14110 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14111 (tripleClick): ditto
14113 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14115 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14117 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14119 * text2.C (SetSelection): set correct update status if inset_owner
14120 (ToggleFree): ditto
14122 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14124 * tabular.C: remove some commented code.
14126 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14128 * BufferView_pimpl.C: call hideSplash()
14130 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14133 * bibforms.h: remove
14136 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14137 add LFUN_CHILD_CREATE
14139 * counters.h: fix tiny typo
14144 * lyx.C: move splash to frontends/xforms/
14146 * lyx_gui_misc.C: move Include and Bibform to frontends
14148 * lyxvc.h: clarify comment
14150 * vspace.C: tiny housekeeping
14152 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14154 * text.C (PrepareToPrint): RTL Fix.
14156 * paragraph.C (GetUChar): New method.
14157 (String): Use GetUChar.
14159 * buffer.C (asciiParagraph): Use GetUChar.
14161 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14163 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14165 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14168 * buffer.C: rename to getLogName(), handle
14169 build log / latex log nicely
14171 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14174 * MenuBackend.h: remove support for reference menuitem type.
14176 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14178 * BufferView_pimpl.C: housekeeping
14179 * BufferView_pimpl.h:
14184 * minibuffer.h: move Timeout GUI-I
14186 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14188 * lyxrc.C (read): Update converters data-structures.
14190 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14192 * LaTeX.h (operator!=): add operator != for Aux_Info
14194 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14196 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14198 * LaTeXLog.C: deleted, useful code moved to Buffer
14201 * buffer.C: new function getLatexLogName()
14207 * lyxfunc.C: use frontends for LaTeX and VC logs
14209 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * LaTeX.h: yet another std:: that Allan forgot.
14213 * Variables.C (set): renamed from isset(), because this clashes
14214 with some HP-UX macros (grr).
14216 2001-02-06 Allan Rae <rae@lyx.org>
14218 * LaTeX.h: Another bug fix. Missing std:: this time.
14220 2001-02-04 Allan Rae <rae@lyx.org>
14222 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14223 floats problem. I've left it commented out because it's not quite
14224 correct. It should also test that the current object is a table or
14225 figure inset. But I haven't gotten around to figuring out how to do
14226 that. I *think* it'll be something like: "table" == inset.type()
14228 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14231 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14233 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14234 all the citation/databases/styles in the auxilary file.
14235 (run): Rerun latex if there was a babel language error.
14237 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14239 * text.C (Backspace): Preserve the font when changing newline char
14241 (BreakParagraph): If the cursor is before a space, delete the space.
14243 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14245 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14247 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14248 new argument (code).
14249 (ChangeCitationsIfUnique): New method.
14251 * paragraph.C (GetPositionOfInset): Handle bibkey.
14253 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14255 * BufferView_pimpl.h: change type of Position::par_pos to
14256 LyXParagraph::size_type.
14258 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14260 * BufferView_pimpl.C (savePosition, restorePosition): Write
14261 messages to minibuffer.
14263 2001-01-28 José Matos <jamatos@fep.up.pt>
14265 * buffer.C (makeDocBookFile): adds support for document language.
14266 A silly restriction on the name of LatexCommand types where removed.
14267 Added support for CDATA sections, allows to chars unescaped, used
14268 among others in code, to avoid escape < and >.
14270 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14272 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14273 saved positions instrad of a stack. Furthermore, a position is
14274 stored using paragraph id/paragraph position.
14276 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14277 Remove LFUN_REF_BACK.
14279 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14281 * converter.C (dvipdfm_options): New method.
14283 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14285 * vspace.C (isValidLength): Fix for empty input string.
14287 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14289 * LyXAction.C (init): change description of LFUN_FIGURE to
14292 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14294 * LaTeX.C: add using directive
14296 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14298 * MenuBackend.C (expand): Fix the sorting of the formats.
14300 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14302 * lyx_main.C: tiny error message fix
14304 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14306 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14307 calling fl_initialize(). This fixes the problem with ',' as
14308 decimal separator in text files.
14310 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14312 * trans.C (process): Fix the keymap bug.
14314 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14316 * LaTeX.C (scanAuxFiles): New method. Provides support for
14317 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14318 (scanLogFile) Scan for "run BibTeX" messages.
14320 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14321 OT1 font encoding. Also, load the aecompl package if the ae
14324 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14326 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14328 * texrow.C (increasePos): turn two error messages into debug
14331 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14333 * LaTeX.C (scanAux): Handle the \@input macro.
14334 (runBibTeX): Use scanAux().
14336 * language.C (latex_options_): New field.
14338 * LaTeXFeatures.C (getMacros): Add language macros.
14340 * buffer.C (makeLaTeXFile): Small fix.
14342 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14344 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14346 * text2.C: add a using directive.
14348 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14353 * lyxfunc.C: kill LyXBell.
14355 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14357 * text.C (IsBoundary): Remove the error message
14359 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14361 * lyxrc.C (setDefaults): Correct initialization value for
14364 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14366 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14369 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14370 and GotoNextNote().
14372 * src/LyXAction.C: Added reference-next.
14374 * text.C (InsertChar): Use contains instead of strchr.
14376 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14378 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14380 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14381 alignment commands (when needed).
14383 * text.C (InsertChar): Add ':' to number separator chars.