2 2004-01-13 André Pönitz <poenitz@gmx.net>
5 * lyxtext.h: hide cursor and selection anchor behind accessor function
8 * BufferView_pimpl.[Ch]:
20 * cursor_slice.[Ch]: some integer type changes for inset unification
22 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
24 * text2.C (undoSpan): add and use
25 * text.C (breakParagraph): use undoSpan (fix bug 578)
28 2004-01-08 Angus Leeming <leeming@lyx.org>
30 * BufferView_pimpl.C (MenuInsertLyXFile):
31 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
32 * lyxfunc.C (menuNew, open, doImport):
33 FileFilterList change to the FileDialog open and save functions.
35 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
37 * ShareContainer.h: make isEqual and isUnique adaptable
39 * CutAndPaste.C: make resetOwnerAndChanges adaptable
41 2004-01-07 Angus Leeming <leeming@lyx.org>
44 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
46 * BufferView_pimpl.C (dispatch): act on these LFUNs.
48 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
49 functions replacing find, replace and replaceAll.
51 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
52 LFUN_WORDFIND(FORWARD|BACKWARD).
54 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
56 * text.C (breakParagraph): remove an outdated #warning
58 2004-01-07 André Pönitz <poenitz@gmx.net>
60 * lyxfind.C: somewhat clearer logic
62 * text.C: prevent crash in cursorX on unitialized row cache
64 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
66 * lyxcursor.[Ch] (operator>): add
67 * textcursor.C (selStart, selEnd): use std::min and std::max
69 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
71 * Chktex.C: include boost/format.hpp
73 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
75 * InsetList.C: replace functor MathcIt with adaptable functor
77 (insetIterator): modify accordingly
79 * BranchList.h: move the BranchNamesEqual functor here from...
80 * BranchList.C: ... to here
82 * BranchList.C: new BranchListEqual fuctor, use it. Remove
84 (add): replace a finding loop with std::find_if.
86 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
88 * output_docbook.C: moving LatexParam functionality into
91 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * buffer.C: increment format to 229.
95 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
98 * lyx_sty.[Ch]: remove minipageindent_def
104 * text3.C: remove LFUN_INSET_MINIPAGE
106 2003-12-28 Angus Leeming <leeming@lyx.org>
108 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
110 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
112 * text2.C (setParagraph): fix off-by-one crash
114 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
116 * output_docbook.C: header stuff for AGU
118 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
120 * text2.C (redoCursor): remove
123 * BufferView_pimpl.C: remove calls to redoCursor and
124 setCursor(cursor.par(), cursor.pos()) all around
126 2003-12-15 Angus Leeming <leeming@lyx.org>
128 * buffer.C: up the format to 228.
130 2003-12-15 André Pönitz <poenitz@gmx.net>
132 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
137 * BufferView_pimpl.C:
146 2003-12-15 Angus Leeming <leeming@lyx.org>
148 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
149 than getFromGUIName to manipulate the color.
151 2003-12-14 Angus Leeming <leeming@lyx.org>
153 * BranchList.[Ch]: minimize the API.
154 (Branch::getBranch, getColor): now return a 'const &'.
155 (Branch::setSelected) now returns a bool set to true if the
156 selection status changes.
157 (BranchList::clear, size, getColor, setColor, setSelected,
158 allBranches, allSelected, separator): removed.
159 (BranchList::find): new functions, returning the Branch with
161 (BranchList::add, remove): return a bool indicating that
162 the operation was successful.
164 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
165 new InsetBranch::isBranchSlected member function.
167 * LColor.[Ch]: mimimize the API.
168 (fill): renamed as addColor and made private.
169 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
170 versions of these functions taking a string arg have been removed.
172 * bufferparams.C (readToken):
173 * lyxfunc.C (dispatch):
174 * lyxrc.C (read): changes due to the altered BranchList and
177 * factory.C (createInset, readInset): changes due to altered
180 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
183 * lyxfunc.C: remove insetminipage. "minipage-insert"
184 now produces a frameless minipage box inset.
186 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
188 * textcursor.[Ch] (selStart,selEnd): add new methods
189 remove selection::start, end, use LyXCursor::operator<
190 * lyxcursor.[Ch] (operator<): add
191 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
192 * BufferView.[Ch] (unsetXSel): add
193 * text2.C (clearSelection): use unsetXSel,adjust
196 * rowpainter.C: adjust
197 * bufferview_funcs.C (put_selection_at): adjust
199 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
201 * BufferView_pimpl.C: small coord. correction
203 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
205 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
206 dragging over the splash screen.
208 2003-12-11 Angus Leeming <leeming@lyx.org>
210 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
211 as it is now handled in LyXText::dispatch.
213 * text3.C (doInsertInset): remove a level of nesting.
215 2003-12-11 Angus Leeming <leeming@lyx.org>
217 * factory.C (createInset): changes due to the changed interface to
218 InsetCommandMailer::string2params.
220 2003-12-10 Angus Leeming <leeming@lyx.org>
222 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
223 'dialog-show-new-inset <inset name>'
225 2003-12-10 Angus Leeming <leeming@lyx.org>
227 * buffer.C: up the format to 227.
229 * factory.C: the box inset is now identified simply by 'Box'.
231 2003-12-10 Angus Leeming <leeming@lyx.org>
233 * buffer.C: up the format to 226.
235 * factory.C: the note inset is now identified simply by 'Note'.
237 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
239 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
240 when a pit is enough. Standarize a couple of loops.
242 2003-12-05 Angus Leeming <leeming@lyx.org>
244 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
245 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
246 data to the re-worked "log" dialog.
248 2003-12-03 André Pönitz <poenitz@gmx.net>
256 * text2.C: use Inset::getText instead of Inset::getParagraph
258 2003-12-03 André Pönitz <poenitz@gmx.net>
262 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
263 InsetText::read() as LyXText::read()
265 2003-12-02 Angus Leeming <leeming@lyx.org>
267 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
268 type. Add a comment in the implementation that the function uses
269 the stream's bad() function rather than fail() as the std::streams
272 2003-12-02 André Pönitz <poenitz@gmx.net>
274 * lyxlex.[Ch]: make interface more similar to std::stream
276 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
278 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
280 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
282 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
284 * vspace.[Ch]: remove VSpace::NONE
286 2003-12-01 André Pönitz <poenitz@gmx.net>
289 * lyxtext.h: move ParagraphList member to LyXText
290 rename LyXText::ownerParagraphs to LyXText::paragraph
293 * bufferview_funcs.C:
303 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
305 * undo.C: fix cursor positioning
307 2003-12-01 John Levon <levon@movementarian.org>
309 * BufferView_pimpl.C: fix a crash on exit with
312 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
314 * BranchList.C: fix setSelected() method.
316 2003-11-28 André Pönitz <poenitz@gmx.net>
318 * ParagraphParameters.[Ch]:
319 * ParameterStruct.h: remove space above/below from Paragraph to
322 * BufferView_pimpl.C:
334 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
336 * factory.C: Syntax change for CharStyles
338 2003-11-28 André Pönitz <poenitz@gmx.net>
343 * buffer.[Ch]: move LyXText member
345 2003-11-28 André Pönitz <poenitz@gmx.net>
347 * BufferView.[Ch]: make LyXText * text a private member
349 * BufferView_pimpl.C:
360 * output_plaintext.C: cleanup
362 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
365 * lyxtextclass.[Ch]: parametrize SGML document header
367 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
370 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
373 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
375 * text2.C (setFont): rework using PosIterator (no more recursive)
376 (setCharFont): no more needed
377 (setLayout): no more selection cursors fiddling (done by redoCursor)
378 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
379 destroy remaining ones)
381 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
383 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
385 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
388 * text3.C: adjust + re-allow multi par depth changes
389 * textcursor.C: simplify a bit
391 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
397 * src/output_docbook.C:
398 * src/output_latex.C:
403 * src/text2.C: Introducing a number of tags parametrizing various
404 XML formats that we may want to support
406 2003-11-25 André Pönitz <poenitz@gmx.net>
408 * InsetList.[Ch] (begein, end): inline as suggested by profiler
410 * lyxtext.h (leftMargin/rightMargin): simplify interface
417 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
419 * lyxfunc.C (dispatch): propogate the bibtex databases from the
420 master file to any child files. Fixes bug 546.
422 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
424 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
426 2003-11-24 André Pönitz <poenitz@gmx.net>
428 * rowpainter.C: simplification
430 * text2.C (updateCounters): remove call to redoParagraph on
431 changed labels as this is far too expensive.
433 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
435 * converter.C (convert): fix a crash: this function gets
436 called with buffer == 0 from importer code.
438 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
440 * text3.C (cursorPrevious): make sure that we do not compare
441 iterators form different containers.
444 * rowpainter.C (paintSelection): make sure that we do not compare
445 iterators from different containers.
447 * text3.C (dispatch): [PRIOR] make sure that we do not compare
448 iterators from different ParagraphList containers.
451 * text2.C (LyXText): change order of initialization slightly
452 (operator=): new function. copy all variables except cache_par_
453 (moveUp): make sure that we do not compare iterators from
454 different ParagraphList constainers.
457 * text.C (firstPar): new function
458 (lastPar): new function
459 (endPar): new function
461 * lyxtext.h: move things around and group public functions, public
462 variables, private functions, private variables
464 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
466 * factory.C: change call to InsetERT constructor to avoid
467 additional invocation of method status
468 * text2.C (toggleInset): remove redundant update() call
469 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
470 instead of a Bufferview pointer
472 2003-11-21 André Pönitz <poenitz@gmx.net>
474 * rowpainter.C: simplification
476 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
478 * text3.C (dispatch): make possible to extend a word/row selection
481 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
483 * lyxtext.h: x0_,y0_ -> xo_,yo_
484 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
485 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
486 * rowpainter.C (paintRows): paint full paragraphs
488 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
490 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
493 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
495 * lyxtext.h: add x0_, y0_
496 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
497 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
499 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
501 * text2.C (setCursorIntern): move the x_target update here *
502 * text3.C: change some bv() to true/false in calls to
503 cursorUp/Down/Right/Left
504 * cursor.C: use helper function.
506 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
508 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
509 * paragraph_funcs.[Ch]: correct comment
510 * rowpainter.C: do not paint selections away from bv->cursor()
511 Fix a long standing selection painting bug.
512 * text3.C: generalize mouse-selection code to LyXTexts other that
514 * textcursor.C: do not use y coords if we can use par offsets
516 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
518 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
519 cursor position after e.g. inset insert)
521 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
523 * lyxfind.C (replace): adjust to locking removal + some
526 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
528 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
531 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
534 * output_docbook.C: XML sanitation: new layout
535 parameters InnerTag and CommandDepth
537 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
539 * BufferView_pimpl.C:
541 * text3.C: Fix the insertion and modification of button-style
544 2003-11-13 André Pönitz <poenitz@gmx.net>
546 * InsetList.[Ch]: remove deleteLyXText
548 * paragraph.[Ch]: cache beginOfBody position
553 * text3.C: remove superfluous update() calls
557 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
559 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
560 * BufferView.C (fitLockedInsetCursor): remove
561 * cursor.[Ch] (getDim): add
562 * text.C (getRowNearY): add faster version
563 * text3.C: remove some update calls
565 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
577 * text3.C: The Character Style /XML short element patch.
579 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
582 * factory.C: Small step to solving 'unable to insert some insets'
585 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
587 * cursor.[Ch] (updatePos): new function for updating the y
588 position of the tip inset
589 * bufferview_funcs.C (put_selection_at):
590 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
592 2003-11-11 André Pönitz <poenitz@gmx.net>
594 * text.C: remove big comment on invalid Paragraph pointers as it is
597 2003-11-11 André Pönitz <poenitz@gmx.net>
599 * text_funcs.[Ch]: merge with ...
607 * Makefile.am: remove text_funcs.[Ch]
609 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
611 * cursor.C (getPos): return absolute cached y coord
613 * BufferView_pimpl.C (fitCursor): new simplistic code
614 (workAreaDispatch): add a fitCursor call
616 2003-11-10 André Pönitz <poenitz@gmx.net>
619 * BufferView_pimpl.[Ch]: merge update() and updateInset()
621 2003-11-10 André Pönitz <poenitz@gmx.net>
623 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
624 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
625 indicate that the cursor needs to leave an inset
627 * lyxtext.h: remove inset locking
629 * cursor.[Ch]: re-implement functionality provided by inset locking
632 * BufferView_pimpl.[Ch]:
634 * bufferview_funcs.[Ch]:
646 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
648 * PosIterator.[Ch]: replace the stack with a vector, add inset
650 * iterators.[C]: adjust
652 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
654 * lyxfind.C (replaceAll): mark the buffer dirty if something was
656 * paragraph_funcs.C (readParToken): put the correct id in the
657 error item, not the id of the top paragraph
659 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
661 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
662 * bufferview_funcs.C (put_selection_at): use the above
664 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
666 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
668 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * output_plaintext.h:
673 * output_docbook.h: add #include statements
675 2003-11-05 José Matos <jamatos@lyx.org>
677 * output_docbook.[Ch]:
679 * output_linuxdoc.[Ch]:
680 * output_plaintext.[Ch]: New files for output formats.
681 * output.[Ch]: New file for helper functions.
684 * paragraph_funcs.[Ch]: output functions moved to new files.
686 * outputparams.h: rename of latexrunparams.h
694 * paragraph_funcs.[Ch]:
695 * paragraph_pimpl.[Ch]:
696 * tabular.[Ch]: rename ascii to plaintext
697 and LatexRunParams to OutputParams.
699 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
701 * iterators.[Ch] (text): require bv argument
702 * undo.C (recordUndo):
703 * lyxfunc.C (dispatch):
704 * bufferview_funcs.C (put_selection_at): adjust
706 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
708 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
710 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
712 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
715 2003-11-04 André Pönitz <poenitz@gmx.net>
717 * cursor.[Ch]: restructure
720 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
722 * iterators.[Ch] (asCursor): remove
724 * lfuns.h: remove LFUN_INSET_EDIT
730 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
732 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
734 * lyxfind.[Ch]: complete overhaul
735 * BufferView_pimpl.C:
737 * paragraph.[Ch] (insert): add
739 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
743 * text.C: remove dead spellcheck code
745 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
747 * dispatchresult.h: add a val setter
749 * cursor.C (dispatch): use a tempvar for data_[i]
751 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
753 * PosIterator.[Ch]: compile fix
755 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
757 * text.C (cursorPar): deactivate the cursor cache
759 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
761 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
763 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
765 * text3.C (dispatch): adjust for new DisptchResult semantics.
767 * lyxfunc.C (dispatch): handle update when return from
768 Cursor::dispatch, adjust for new DispatchResult semantics.
770 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
771 DispatchResult(true) mean to not update. Add class functions for
772 setting dispatched and update, as well as reading.
774 * cursor.C (dispatch): don't handle update here
776 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
778 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
779 * trans_mgr.C: adjust
781 * paragraph_funcs.C (readParToken): exception safety
783 * lyxvc.h: store the vcs pointer in a scoped_ptr
786 * lyxsocket.C (serverCallback): exception safety
788 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
790 * ispell.C (clone): make it return a auto_ptr
792 * factory.C (createInset): exception safety
793 (readInset): exception safety
795 * bufferlist.C (newBuffer): exception safety
797 * Thesaurus.C (Thesaurus): use initialization for aik_
799 * MenuBackend.C (expandToc): exception safety.
801 2003-11-03 André Pönitz <poenitz@gmx.net>
805 * bufferview_funcs.C: remove getInsetFromId()
808 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
814 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
816 * PosIterator.C (distance, advance): new
817 * bufferview_funcs.[Ch] (put_selection_at): new
818 * iterators.[Ch] (lockPath): new
820 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
822 * iterators.[Ch] (asPosIterator): added
823 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
824 * PosIterator.[Ch]: added
826 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * cursor.C (dispatch):
831 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
833 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
834 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
835 contructor, add a class function dispatched. Remove operator>=
837 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
839 * debug.C: only use the default constructor for debugstream
842 * main.C (main): include debug.h and setup the lyxerr streambuf
845 2003-10-31 José Matos <jamatos@lyx.org>
847 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
849 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
850 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
851 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
852 * paragraph_pimpl.C (simpleTeXSpecialC):
853 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
854 add LatexRunParams argument.
856 * exporter.C (Export): change call accordingly.
858 * latexrunparams.h: add new member to take care of the other backends.
859 2003-10-30 José Matos <jamatos@lyx.org>
861 * buffer.C (makeLinuxDocFile, makeDocBookFile):
862 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
863 factorise code for paragraph output.
865 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
868 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
870 * text3.C (dispatch):
871 * lyxfunc.C (dispatch):
872 * cursor.C (dispatch):
873 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
875 * dispatchresult.h: make the dispatch_result_t ctor explicit
877 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
880 * buffer.C: small refactoring of docbook stuff
882 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
887 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
889 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
890 operator dispatch_result_t, and operators for == != and >=
892 * cursor.C (dispatch): adjust for operator dispatch_result_t
893 removal. comment out call to update
895 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
897 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
905 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
908 * dispatchresult.h: new file, DispatchResult broken out of
911 * Makefile.am (lyx_SOURCES): add dispatchresult.h
913 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
915 * text.C (rowBreakPoint): put a hack inside #if 0
917 2003-10-28 André Pönitz <poenitz@gmx.net>
924 * text2.C: general cleanup (lots of small stuff)
926 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
928 * text2.C (cursorEnd): simple fix to the "end key goes to one
929 before the end on last row" bug
931 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
933 * text.C (backspace): fix the "zombie characters"
935 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
937 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
939 2003-10-27 André Pönitz <poenitz@gmx.net>
941 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
943 * factory.C: handle new InsetPagebreak, InsetLine
945 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
946 and move handling into new InsetPagebreak, InsetLine
948 * BufferView_pimpl.C:
950 * ParagraphParameters.C:
963 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
972 * text3.C: remove lastPos uses in favour of Row::endpos
974 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
976 * undo.C (performUndoOrRedo): fix two crashes by setting a
977 cursor by hand and reordering some calls. Use bv->lockInset instead
978 of inset->edit because the latter loses cursor information
980 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
982 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
984 (rowBreakPoint): fix width. change point to point + 1.
987 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
990 * lyxfunc.C: fix (at least partly) the problems
991 with the Nav menu and headers inside branch insets
994 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
996 * paragraph.C (getChar): add strong asserts
998 * lyxrow_funcs.C (lastPos): remove hideous hack
1000 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1001 (fill): adjust to that (avoid an infinite loop)
1003 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1005 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1007 2003-10-23 André Pönitz <poenitz@gmx.net>
1009 * RowList_fwd.h: change list<> to vector<> to gain speed
1010 after suggestion from Alfredo
1012 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1014 * lyxtext.h: move the bidi stuff from here...
1017 * Bidi.[Ch]: ... to here
1019 2003-10-23 André Pönitz <poenitz@gmx.net>
1022 * text.C (isLastRow, isFirstRow): new functions
1024 * paragraph.h: new width cache member
1026 * rowpainter.C: replace RowList::iterator with Row & where possible
1028 * lyxfunc.C: replace several view()->text with a single call
1030 * toc.C: fix 'unused' warning
1032 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1035 when woring with stream::pos_type
1036 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1038 2003-10-22 André Pönitz <poenitz@gmx.net>
1041 * text.C: use Row & instead of RowList::iterator
1043 * lyxrow.h: rename end() to endpos()
1049 2003-10-22 Angus Leeming <leeming@lyx.org>
1051 * buffer.[Ch] (fully_loaded): new member function, returning true
1052 only when the file has been loaded fully.
1053 Used to prevent the premature generation of previews and by the
1054 citation inset to prevent computation of the natbib-style label.
1056 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1057 templates are all set up.
1059 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1061 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1063 * text.C: fixed an "oops" in the "is a bit silly"
1066 2003-10-21 André Pönitz <poenitz@gmx.net>
1068 * FuncStatus.[Ch]: small stuff, whitespace
1070 * lyxfont.[Ch]: operator<<() for debug reasons
1074 * lyxtext.h: whitespace, spelling
1076 * paragraph.C: naming of variables
1079 * text2.C: small stuff
1082 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1084 * text.C: (1) finish off the inset display() work;
1085 (2) fix the "is a bit silly" bug (accessing char
1088 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1090 * text.C: re-introduce display() for insets, fixing the
1091 various bugs (stretch of line above, math inset
1094 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1096 * text.C (rightMargin): remove spurious semicolon
1098 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1101 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1103 * text3.C: fix one crash due to wrong cursor def
1105 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * vc-backend.C (scanMaster): make the regex static
1109 * LaTeX.C (scanAuxFile): make the regexs static
1111 * text3.C (doInsertInset, dispatch, dispatch):
1112 * text2.C (cursorUp, cursorDown):
1113 * text.C (selectNextWordToSpellcheck):
1114 * BufferView_pimpl.C (dispatch):
1115 * lyxfunc.C (dispatch): localDispatch -> dispatch
1117 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1119 * lyxsocket.C: include <cerrno>
1121 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1123 * lyxfunc.C (dispatch): remove textcache stuff
1125 * bufferlist.C (release): remove textcache stuff
1128 * TextCache.C: delete file
1129 * TextCache.h: delete file
1131 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1133 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1134 delete of the bv_->text.
1135 (resizeCurrentBuffer): remove texcache stuff
1136 (workAreaResize): ditto
1138 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1143 2003-10-16 André Pönitz <poenitz@gmx.net>
1150 * text3.C: speed up by storing y positions per paragraph plus per-row
1151 offset instead of having a 'full' y position in the row.
1153 2003-10-15 André Pönitz <poenitz@gmx.net>
1157 * undo.[Ch]: make undo aware of inner insets
1159 2003-10-14 Angus Leeming <leeming@lyx.org>
1161 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1162 static member functions LyX::ref() and LyX::cref.
1163 (lastfiles): new accessor functions for the new lastfiles_ member var.
1164 (addLyXView, views_): add a new LyXView to the list of views_.
1165 (updateInset): loop over all LyXViews to call their own updateInset
1166 member function, returning a pointer to the Buffer owning the inset.
1168 * BufferView_pimpl.C (loadLyXFile):
1169 * MenuBackend.C (expandLastfiles):
1170 * bufferlist.C (MenuWrite, QuitLyX):
1171 lastfiles is no longer a global variable.
1172 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1174 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1175 static function. Access through LyX::cref().emergencyCleanup().
1177 2003-10-14 André Pönitz <poenitz@gmx.net>
1179 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1181 * undo.[Ch]: restoring part of 'undo in insets'
1184 * undo_funcs.[Ch]: merge with undo.[Ch]
1186 * tabular.C: small cleansing stuff
1188 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1190 * paragraph_funcs.C (readParToken): report unknown insets as error
1191 boxes. Use the outer paragraph as location (also for unknown
1194 * factory.C (readInset): do not abort on reading an unknown inset.
1195 Eat it and return 0.
1197 2003-10-13 Angus Leeming <leeming@lyx.org>
1199 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1201 * lyxrc.C: displayTranslator is now a function,
1202 declared in GraphicsTypes.h.
1204 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1206 * format.C: new placeholder $$a to pass the socket address.
1208 * bufferlist.[Ch]: new function getBufferFromTmp.
1210 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1211 files in the temporary dir.
1213 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1215 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1217 * Makefile.am: add lyxsocket.[Ch].
1219 * lyx_main.C (error_handler): handle SIGPIPE.
1221 2003-10-13 André Pönitz <poenitz@gmx.net>
1223 * BufferView_pimpl.C:
1228 * undo_funcs.[Ch]: use paroffset_type instead of
1229 ParagraphList::iterators to prevent multiple conversion
1230 (and get a more robust interface)
1232 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1234 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1236 * text3.C (dispatch): ditto
1238 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1241 move the onlyfile, use onlyfile instead of foundfile in a couple
1244 * DepTable.C (update): flush the error stream a bit more
1246 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * lyxserver.C (callback): adjust
1250 * lyxfunc.C (getStatus): add a missing brace in commented code
1251 (ensureBufferClean): reindent
1252 (dispatch): delete version taking a string
1254 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1256 * LaTeX.C (deplog): move found file handlig from here...
1257 (handleFoundFile): .. to new function here.
1258 (deplog): make sure to discover several files mentioned on the
1261 2003-10-10 André Pönitz <poenitz@gmx.net>
1268 * text3.C: fix some of the tabular crashes
1270 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1272 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1274 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1276 2003-10-09 André Pönitz <poenitz@gmx.net>
1278 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1281 * BufferView_pimpl.C:
1282 * bufferview_funcs.C:
1293 * undo_funcs.C: adjust
1295 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1297 * text2.C (incrementItemDepth): new function, use a backtracking
1298 algorithm to discover the correct item depth.
1299 (resetEnumCounterIfNeeded): new function, use a backtracking
1300 algorithm to discover if counter reset is needed.
1301 (setCounter): use them. Simplify a bit. Add different labels for
1302 different item depths for itemize.
1304 * paragraph.C (Paragraph): remove initialization of enumdepth
1307 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1308 enumerate and itemize. Change the type of itemdepth to signed char.
1310 2003-10-08 André Pönitz <poenitz@gmx.net>
1312 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1317 * tabular.[Ch]: fix crash after 'row-insert'
1319 2003-10-08 Angus Leeming <leeming@lyx.org>
1321 Fix doxygen warnings.
1323 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1324 Remove CutAndPaste:: prefix from header file declaration.
1326 * LColor.h (fill): remove LColor:: prefix from declaration.
1328 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1329 use lyx::depth_type rather than Paragraph::depth_type so that
1330 header file and .C file match.
1332 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1334 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1335 * aspell.C: \file aspell_local.C -> \file aspell.C
1336 * gettext.C: \file gettext.C -> \file src/gettext.C
1337 * gettext.h: \file gettext.h -> \file src/gettext.h
1338 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1339 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1340 * text.C: \file text.C -> \file src/text.C
1342 * toc.C: move comment so that doxygen is not confused.
1344 2003-10-07 Angus Leeming <leeming@lyx.org>
1346 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1348 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1351 * aspell_local.h: add forgotten std::string's.
1353 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1360 * text3.C: The Box patch. Fancybox support, minipage, parbox
1362 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1368 * ParagraphParameters.h:
1378 * lyxtextclasslist.h:
1381 * paragraph_pimpl.C:
1382 * textcursor.h: add <string> and other small fixes to make Lars'
1383 std::string patch compile with STLport.
1385 2003-10-06 Angus Leeming <leeming@lyx.org>
1387 * LColor.h: Add missing #include <string>.
1389 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * All most all file in all subdirs: Make <string> be the prefered
1392 way of getting to std::string, add using declarations.
1394 2003-10-06 André Pönitz <poenitz@gmx.net>
1396 * metricsinfo.C: initialize LyXFont before changing attribute.
1397 (fixes the 'math in \emph is upright' bug)
1399 2003-10-06 André Pönitz <poenitz@gmx.net>
1401 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1403 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1406 * paragraph_pimpl.C: Small fixes to build using STLport
1408 2003-10-02 André Pönitz <poenitz@gmx.net>
1411 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1413 2003-10-01 André Pönitz <poenitz@gmx.net>
1415 * factory.C: assert early
1417 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * lyx_main.C: remove the global debug object
1421 * debug.h: adjust for new debugstream
1423 * debug.C: adjust for new debugstream and keep the global debug
1426 2003-09-22 Angus Leeming <leeming@lyx.org>
1428 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1429 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1430 an incomplete class LyXFont.
1432 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1434 * factory.C: bug fix in branches
1436 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * lyxfunc.C (processKeySym): adjust
1440 (dispatch): change arg name from ev to func, adjust
1441 (sendDispatchMessage): ditto
1443 * lyx_main.C (defaultKeyBindings): adjust keybindings
1444 (deadKeyBindings): ditto
1446 * kbsequence.C (addkey): return a FuncRequest
1448 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1450 * kbmap.C (bind): take a FuncRequest as arg, adjust
1453 (defkey): change to take a FuncRequest as arg, adjust
1454 (findbinding): take a FuncRequest as arg, adjust.
1456 * funcrequest.h (operator=): added
1458 * funcrequest.C (FuncRequest): default kb_action changed from
1459 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1461 * buffer.C (dispatch): simplify
1462 (dispatch): adjust to take a FuncRequest as arg, adjust
1464 * boost.C (assertion_failed): change assertion message slightly
1466 * ToolbarBackend.C (read): simplify
1468 * MenuBackend.C (binding): adjust call to findbinding, add a
1469 message if no binding is found.
1471 (expandToc): correct by adding a empty FuncRequest
1473 * LyXAction.C: include <boost/assert.hpp>
1474 (isPseudoAction): delete function
1475 (LookupFunc): change name to...
1476 (lookupFunc): this. change return type to FuncRequest.
1477 (getActionName): take kb_action as arg, simplify
1478 (funcHasFlag): add an assert, simplify.
1480 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1482 * toc.C (action): return a FuncRequest, simplify
1484 * lyxfunc.C (processKeySym): adjust
1485 (getStatus): delete version that takes an int.
1487 (dispatch): delete version that takes action as int
1489 (sendDispatchMessage): simplify and adjust
1491 * funcrequest.C (getArg): take unsigned int as arg
1493 * ToolbarBackend.C (read): adjust
1494 (add): delete version that takes func as a string.
1495 (getIton): take a FuncRequest as arg
1497 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1500 * MenuBackend.C (MenuItem): add a new construct that only takes a
1501 Kind, simplify the constructor use for submenus.
1503 (expandLastfiles): adjust
1504 (expandDocuments): adjust
1505 (expandFormats): adjust
1506 (expandFloatListInsert): adjust
1507 (expandFloatInsert): adjust
1508 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1510 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1511 Remove class variables lyx_pseudo_map and lyx_arg_map
1513 * LyXAction.C (searchActionArg): delete function
1514 (getPseudoAction): delete function
1515 (retrieveActionArg): delete function
1516 (LookupFunc): make it return kb_action, simplify.
1517 (getActionName): simplify
1519 * factory.C (createInset): fix new bug
1521 2003-09-19 Angus Leeming <leeming@lyx.org>
1523 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1524 masterFilename_ parameter in the include inset.
1526 * factory.C (createInset): changes due to the changes to InsetInclude.
1528 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1530 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1532 2003-09-18 Angus Leeming <leeming@lyx.org>
1535 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1536 Inset::fillWithBibKeys.
1537 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1539 2003-09-18 Angus Leeming <leeming@lyx.org>
1541 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1543 (ctor): pass and store a 'Buffer const &'
1544 (buffer): new member function.
1546 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1547 '*this' to the LaTeXFeatures ctor.
1549 2003-09-18 Angus Leeming <leeming@lyx.org>
1555 * text.C: rename EnumLColor as LColor_color.
1557 2003-09-18 Angus Leeming <leeming@lyx.org>
1559 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1560 remove #include "insets/insetbase.h" from cursor.h.
1562 2003-09-18 Angus Leeming <leeming@lyx.org>
1564 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1565 InsetOld_code to remove #include "inset.h".
1567 * iterators.C: add #include "insets/inset.h"
1569 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1571 * BufferView.C: remove more locking stuff that apparently doesn't
1572 do anything sensible.
1574 2003-09-16 André Pönitz <poenitz@gmx.net>
1577 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1580 2003-09-16 Angus Leeming <leeming@lyx.org>
1582 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1584 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1587 * paragraph.h: remove #include "lyxfont.h". Forward declare
1590 2003-09-16 Angus Leeming <leeming@lyx.org>
1592 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1593 of support/textutils.h.
1594 (isWord): move the contents of support/textutils.h's IsWordChar here.
1600 * text2.C: add #include "paragraph.h".
1603 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1605 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * LaTeX.C: use namespace alias for lyx::support::os
1613 2003-09-16 Angus Leeming <leeming@lyx.org>
1616 * bufferview_funcs.C:
1619 * paragraph_pimpl.C:
1621 * text.C: add #include "LColor.h".
1623 2003-09-16 Angus Leeming <leeming@lyx.org>
1625 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1626 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1628 Store the FontBits::color variable as an int rather than as an
1629 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1632 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1633 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1634 string calls together.
1636 * lyxrc.C: add #include "LColor.h".
1638 2003-09-15 Angus Leeming <leeming@lyx.org>
1640 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1643 2003-09-15 Angus Leeming <leeming@lyx.org>
1645 * LColor.h: add an EnumLColor wrapper for LColor::color.
1647 * lyxfont.[Ch] (color, setColor, realColor):
1648 * lyxtext.h, text.C (backgroundColor):
1649 pass EnumLColor args to/from the functions, rather than LColor::color
1653 * lyxtext.h: forward declare EnumLColor.
1655 * lyx_main.C: add #include "LColor.h".
1657 2003-09-15 Angus Leeming <leeming@lyx.org>
1659 * .cvsignore: add lyx-gtk.
1661 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * ParagraphParameters.C
1670 * bufferview_funcs.C
1680 * vc-backend.C: remove usage of STRCONV
1682 2003-09-15 Angus Leeming <leeming@lyx.org>
1684 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1685 explicitly define the color passed to the painter.
1687 2003-09-15 Angus Leeming <leeming@lyx.org>
1689 * bufferparams.C (BufferParams): reorder member initializers to avoid
1692 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1694 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1695 * text.C (updateRowPositions): remove an unusual nop
1697 2003-09-12 André Pönitz <poenitz@gmx.net>
1699 * BufferView_pimpl.C:
1708 * Counters.[Ch]: finish the 'automatic counters' job
1710 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1712 * aspell.C: include <boost/assert.cpp> (compile fix)
1714 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1716 * boost.C (assertion_failed): use lyx::support::abort instead of
1719 2003-09-10 Angus Leeming <leeming@lyx.org>
1721 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1722 with their _fwd progeny.
1724 2003-09-09 Angus Leeming <leeming@lyx.org>
1726 134 files throughtout the source tree: replace 'using namespace abc;'
1727 directives with the appropriate 'using abc::xyz;' declarations.
1729 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1731 * boost.C (emergencyCleanup): moved here from LAssert.c
1732 (assertion_failed): new function, called by BOOST_ASSERT
1734 * several files: change Assert to BOOST_ASSERT
1736 2003-09-09 Angus Leeming <leeming@lyx.org>
1738 * buffer.[Ch]: Add an Impl class and move Buffer's member
1739 variables into it. As a result move several header files out of
1742 Add header files to lots of .C files all over the tree as a result.
1744 2003-09-09 Angus Leeming <leeming@lyx.org>
1746 * buffer.[Ch]: make Buffer's member variables private. Add
1749 Lots of changes all over the tree as a result.
1751 2003-09-08 Angus Leeming <leeming@lyx.org>
1753 * graph.C: #include <config.h>.
1755 2003-09-08 Angus Leeming <leeming@lyx.org>
1759 * BufferView_pimpl.C:
1788 * toc.C: remove redundant using directives.
1790 2003-09-07 Angus Leeming <leeming@lyx.org>
1792 * LaTeXFeatures.h: remove #include "support/types.h".
1793 * ToolbarBackend.h: remove #include <algorithm>.
1794 * changes.h: remove #include <ctime>.
1795 * debug.h: remove #include <iosfwd>.
1796 * graph.h: remove #include "support/std_string.h".
1797 * lyx_main.h: remove #include <csignal>.
1798 * lyxlex_pimpl.h: remove #include <fstream>.
1799 * sgml.h: remove #include <algorithm>, <utility>.
1800 * toc.h: remove #include "support/std_ostream.h".
1801 Add #include <iosfwd>.
1803 2003-09-07 Angus Leeming <leeming@lyx.org>
1805 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1807 * converter.h: forward declare LatexRunParams.
1808 * encoding.h: remove #include "lyxrc.h".
1809 * lyxtext.h: remove #include "LColor.h".
1810 * lyxtextclass.h: remove #include "support/types.h".
1811 * trans.h: remove #include "tex-accent.h".
1812 * trans_mgr.h: remove #include "tex-accent.h".
1813 * insets/inset.h: remove #include "support/types.h", <vector>.
1814 * insets/insetcollapsable.h: remove #include "LColor.h".
1815 * insets/insetinclude.h: remove #include "dimension.h".
1816 * insets/insetlatexaccent.h: remove #include "dimension.h".
1817 * insets/insetoptarg.h:: remove #include "insettext.h".
1818 * insets/insettext.h: remove #include "dimension.h",
1819 <boost/shared_ptr.hpp>
1821 * insets/renderers.h: add #include "dimension.h".
1822 * insets/updatableinset.h: add #include "support/types.h".
1824 * many .C files: Associated changes.
1826 2003-09-06 Angus Leeming <leeming@lyx.org>
1828 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1829 one, inside testInvariant.
1831 * PrinterParams.C: new file.
1832 * PrinterParams.[Ch]: move the function bodies out of line.
1834 2003-09-06 Angus Leeming <leeming@lyx.org>
1836 * ParagraphParameters.h: forward declare ParameterStruct rather than
1837 including its header file.
1838 (depth): moved out-of-line.
1840 2003-09-06 Angus Leeming <leeming@lyx.org>
1842 * BufferView_pimpl.h:
1845 * lyxfunc.h: forward declare LyXKeySym rather than
1846 #include "frontends/LyXKeySym.h".
1848 * BufferView_pimpl.C:
1851 * lyxfunc.C: associated changes.
1853 2003-09-06 Angus Leeming <leeming@lyx.org>
1855 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1856 As a result, can remove the #include "insets/inset.h" from BufferView.h
1858 2003-09-06 Angus Leeming <leeming@lyx.org>
1860 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1861 As a result, can remove the #include "insets/inset.h" from BufferView.h
1863 2003-09-06 Angus Leeming <leeming@lyx.org>
1869 * bufferview_funcs.C:
1870 * BufferView_pimpl.C:
1875 * ParagraphParameters.C:
1880 * frontends/controllers/ControlDocument.C:
1881 * insets/insetcaption.C: rearrange the #includes into some sort of
1884 * buffer.h: remove #includes ErrorList.h, undo.h
1886 2003-09-06 Angus Leeming <leeming@lyx.org>
1888 * support/types.h: add a 'depth_type' typedef, used to store the
1889 nesting depth of a paragraph.
1892 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1893 defining explicitly.
1896 * paragraph_funcs.h:
1897 * ParagraphParameters.h:
1898 * sgml.h: use lyx::depth_type rather than Paragraph or
1899 ParameterStruct's depth_type.
1902 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1905 * BufferView_pimpl.C:
1907 * ParagraphParameters.C:
1910 * bufferview_funcs.C:
1917 * frontends/LyXView.C:
1918 * frontends/controllers/ControlDocument.C:
1919 * frontends/controllers/ControlErrorList.C:
1920 * insets/insetbibitem.C:
1921 * insets/insetbranch.C:
1922 * insets/insetcaption.C:
1923 * insets/insetcollapsable.C:
1924 * insets/insetenv.C:
1925 * insets/insetert.C:
1926 * insets/insetfloat.C:
1927 * insets/insetfoot.C:
1928 * insets/insetfootlike.C:
1929 * insets/insetnewline.C:
1930 * insets/insetquotes.C:
1931 * insets/insettabular.C:
1932 * insets/insettext.C:
1933 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1935 * frontends/controllers/ControlChanges.C: #include "changes.h".
1937 2003-09-06 Angus Leeming <leeming@lyx.org>
1939 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1940 than #including paragraph.h.
1943 * RowList.h: deleted. Superfluous.
1953 * insets/insettext.h: use ParagraphList_fwd.h rather than
1956 * paragraph.h: don't forward declare ParagraphList.
1959 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1960 rather than ParagraphList.h. paragraph.h is still needed for the
1961 Paragraph::depth_type parameters.
1963 * textcursor.h: enable it to compile stand-alone in light of the
1966 * bufferview_funcs.C:
1978 * frontends/controllers/ControlParagraph.C:
1979 * frontends/controllers/ControlTabular.C:
1980 * insets/insetmarginal.C:
1981 * insets/insetminipage.C:
1982 * insets/insetnote.C:
1983 * insets/insetoptarg.C: add header files needed to compile again.
1985 2003-09-06 Angus Leeming <leeming@lyx.org>
1987 * RowList_fwd.h: new file, forward-declaring Row rather than
1988 #including lyxrow.h.
1993 * insets/insettext.h: use it instead of RowList.h
1995 * bufferview_funcs.C:
2002 * text3.C: #include "RowList.h".
2004 2003-09-05 Angus Leeming <leeming@lyx.org>
2006 * factory.C (createInset):
2007 * vspace.C (c-tor): replace sscanf call with an istringstream.
2008 * ispell.C: re-add missing HP/UX headers.
2009 * lyxserver.C: re-add missing os2 headers.
2011 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2020 * text3.C: re-add missing system headers, needed for 2.95.2.
2022 2003-09-05 Angus Leeming <leeming@lyx.org>
2024 Changes most place everywhere due to the removal of using directives
2025 from support/std_sstream.h.
2027 2003-09-05 Angus Leeming <leeming@lyx.org>
2029 Replace LString.h with support/std_string.h,
2030 Lsstream.h with support/std_sstream.h,
2031 support/LIstream.h with support/std_istream.h,
2032 support/LOstream.h with support/std_ostream.h.
2034 Changes resulting throughout the tree.
2036 2003-09-05 Angus Leeming <leeming@lyx.org>
2038 * sgml.h: ensure that the header file can be compiled stand-alone.
2039 * *.C: strip out redundant #includes. (320 in total.)
2041 2003-09-04 Angus Leeming <leeming@lyx.org>
2043 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2044 here (from getPackages).
2046 * debug.[Ch]: add a new EXTERNAL tag.
2048 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2050 * text2.C (cursorEnd): simplify
2052 (getColumnNearX): adjust
2054 * text.C (computeBidiTables): adjust
2057 * rowpainter.C (paintChars): adjust
2058 (paintSelection): adjust
2059 (paintChangeBar): adjust
2062 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2064 (numberOfSeparators): adjust
2066 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2072 * text3.C: Restricts the mouse click functionality
2073 of insets like bibtex, include, toc and floatlist to the visible
2074 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2075 up the dialogs. Cursor has to be in front of the inset (i.e.
2076 start of row) for this to function.
2078 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2080 * bufferview_funcs.C (currentState): output row information
2082 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2084 * bufferview_funcs.C (currentState): output paragraph position
2086 2003-09-04 Angus Leeming <leeming@lyx.org>
2088 * FloatList.h: move out #include "Floating.h".
2089 * LaTeX.h: move out #include "DepTable.h".
2090 * LyXAction.h: move out #include "funcrequest.h".
2091 * buffer.h: move out #include "author.h", "iterators.h".
2092 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2093 * lyx_main.h: move out #include "errorlist.h".
2094 * lyxfunc.h: move out #include "FuncStatus.h".
2095 * lyxtext: move out #include "lyxcursor.h".
2096 * paragraph_pimpl.h: move out #include "counters.h".
2098 2003-09-03 Angus Leeming <leeming@lyx.org>
2100 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2101 preamble_snippets list, enabling us to add snippets to the preamble
2102 only if the snippet was not there already.
2104 2003-09-04 Angus Leeming <leeming@lyx.org>
2106 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2108 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2113 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2115 * BranchList.C: point fix, earlier forgotten
2117 2003-09-02 Angus Leeming <leeming@lyx.org>
2119 * box.C (contains): renamed from 'contained' after a fantastic
2122 2003-09-02 John Levon <levon@movementarian.org>
2128 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2130 2003-09-02 John Levon <levon@movementarian.org>
2132 * text2.C: simplification of cursorEnd(), including partial
2135 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * buffer.C (readFile): add a space
2139 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2141 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2143 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2145 * buffer.C (readFile): new function, take a filename and a
2146 ParagraphList::iterator
2148 (readFile): adjust, make it private. don't use setStream, make
2149 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2150 always contain the filename.
2152 * BufferView.C (insertLyXFile): simplify and make it work for
2155 2003-08-30 John Levon <levon@movementarian.org>
2157 * Makefile.am: fix dist (from Kayvan)
2159 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * most files: change to use const Buffer refs
2163 2003-08-27 André Pönitz <poenitz@gmx.net>
2165 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2166 on top of ownerPar().
2168 2003-08-27 John Levon <levon@movementarian.org>
2170 * funcrequest.C: properly initialise POD members
2172 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2174 * lyxtext.h (top_y): move top_y from here
2179 * BufferView_pimpl.[Ch]: to here
2180 * frontends/screen.C:
2181 * insets/insettabular.C:
2182 * insets/insettext.C: adjust
2183 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2185 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2188 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2190 2003-08-26 André Pönitz <poenitz@gmx.net>
2192 * paragraph_func.[Ch] (outerPar): new function
2195 * paragraph_funcs.C:
2196 * paragraph_funcs.h:
2197 * paragraph_pimpl.C:
2198 * text2.C: remove Inset::par_owner
2200 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2205 * text2.C: eliminates the needFullRow/display() stuff
2206 altogether, putting the logic in metrics/draw in the insets.
2208 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2210 * text2.C (redoParagraphInternal, redoParagraphs):
2211 * text.C (redoParagraph): add a call to updateRowPositions at the
2212 end of each 'metrics-like' call. Remove all others.
2213 (getRow): remove the 'y-computing' version.
2214 (getRowNearY): do not compute nor return the real y. Solve the
2215 'y < 0' problem and simplify.
2217 2003-08-22 Angus Leeming <leeming@lyx.org>
2219 * *.[Ch]: clean-up of licence and author blurbs.
2220 Also move config.h out of a few .h files and into a few .C files.
2222 2003-08-22 André Pönitz <poenitz@gmx.net>
2224 * lyxrow.[Ch]: add x_ and *fill_ members
2229 * text2.C: adjust/remove prepareToPrint() calls
2231 2003-08-22 André Pönitz <poenitz@gmx.net>
2233 * lyxrow.[Ch]: add end_ member
2235 * lyxrow_funcs.C: use LyXRow::end_
2237 * lyxtext.h (singleWidth): add LyXFont parameter
2240 * text2.C: adjust LyXText::singleWidth() calls
2242 * text.C (redoParagraph): simplify row breaking logic
2245 2003-08-19 André Pönitz <poenitz@gmx.net>
2247 * funcrequest.C: initialize button_ member
2250 * rowpainter.[Ch]: interface consolidation
2252 2003-08-18 André Pönitz <poenitz@gmx.net>
2255 * BufferView_pimpl.C:
2257 * paragraph_funcs.C:
2259 * text3.C: remove LyXScreen::draw() and fitCursor calls
2261 * BranchList.h: remove spurious semicolons
2263 * MenuBackend.C: fix branchlist related crash
2265 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2273 * bufferparams.[Ch]:
2277 * text3.C: implements the 'branch inset'
2278 idea. This allows the output of various versions of a document
2279 from a single source version, selectively outputing or suppressing
2280 output of parts of the text.
2281 This implementation contains a 'branch list editor' in a separate
2282 tab of the document settings dialog. Branches are user definable
2283 and have a "display colour" to distinguish them on-screen.
2285 ColorHandler was somewhat cleaned up.
2286 (1) make possible a dynamically growing LColor list by allowing
2287 the graphic context cache to grow along (vector);
2288 (2) eliminate an IMHO unnecessary step in colour allocation.
2290 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2292 * BufferView_pimpl.C: compile fix
2294 2003-08-15 André Pönitz <poenitz@gmx.net>
2296 * rowpainter.C: remove extra metrics calls
2298 * lyxtext.h: merge the two constructors into a single one,
2299 pass reference to owner's par list
2301 * BufferView_pimpl.C:
2305 2003-08-15 André Pönitz <poenitz@gmx.net>
2307 * lyxrow_funcs.[Ch]:
2310 * paragraph_funcs.C:
2315 * text_funcs.C: split LyXText::rowlist_ into individual
2316 Paragraph::rows_ chunks
2319 * BufferView_pimpl.[Ch]:
2322 * text3.C: remove toggleSelection()
2324 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2326 * bufferlist.C: beautify two alerts (shorter text of buttons)
2327 * buffer.C: Remove redundant ' ' from message
2329 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2330 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2331 rename VALIGN_CENTER to VALIGN_MIDDLE
2333 2003-08-11 André Pönitz <poenitz@gmx.net>
2335 * lyxtext.h (getPar):
2336 * text.C: new function
2338 2003-08-11 André Pönitz <poenitz@gmx.net>
2341 * tracer.[Ch]: remove unneeded files
2343 * InsetList.[Ch]: remove resizeInsetsLyXText()
2348 * text3.C: merge insertParagraphs() and appendParagraph()
2349 remove breakAgain(), update()
2351 * BufferView_pimpl.[Ch]:
2352 * bufferview_funcs.[Ch]:
2356 * tabular.C: adjust after text & InsetList changes.
2358 2003-08-08 André Pönitz <poenitz@gmx.net>
2360 * text.C (insertChar, backspace): replace rowlist fiddling
2361 with rebreak of full par
2364 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2365 checkParagraph, updateInset): removed
2367 2003-08-07 André Pönitz <poenitz@gmx.net>
2370 * text3.C: merge some LFUN handlers, remove dead code
2372 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2374 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2376 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2378 * text2.C (DEPM): fix part of bug 1255 and 1256
2380 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2382 * BufferView_pimpl.C (workAreaDispatch): change to use
2383 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2384 that are no mouse related.
2386 2003-08-05 André Pönitz <poenitz@gmx.net>
2389 * BufferView_pimpl.[Ch]:
2390 * bufferview_funcs.C:
2392 * text3.C: rip out "deep update"
2394 * textcursor.[Ch] (last_sel_cursor): remove unused member
2396 2003-08-04 André Pönitz <poenitz@gmx.net>
2399 * BufferView_pimpl.[Ch]:
2400 * ParagraphParameters.C:
2401 * bufferview_funcs.C:
2407 * text3.C: replace "complicated" BufferView::update(...) calls with
2410 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2412 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2414 * Makefile.am (lyx_SOURCES): add paper.h
2416 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2418 * Makefile.am: move things around so that both lyx-qt and
2419 lyx-xforms can be built (according to --with-frontend). Then lyx
2420 is a symbolic link to lyx-[firstfrontend]
2422 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2424 * Always use std::endl with lyxerr
2426 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2428 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2430 2003-08-01 André Pönitz <poenitz@gmx.net>
2433 * BufferView_pimpl.[Ch]:
2435 * text3.C: merge BufferView::repaint() and BufferView::update()
2437 2003-08-01 José Matos <jamatos@lyx.org>
2439 * buffer.[Ch]: file_format is no longer a buffer data element.
2441 2003-08-01 André Pönitz <poenitz@gmx.net>
2446 * text2.C: make redoParagraph more independent of current cursor
2448 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2450 * text2.C: remove unneeded members
2452 2003-07-30 André Pönitz <poenitz@gmx.net>
2454 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2456 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2457 create a single function...
2459 * paragraph_funcs.C (moveItem): ... here.
2462 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2464 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2466 * LColor.[Ch]: Add comment and greyedout logical colors.
2468 2003-07-30 André Pönitz <poenitz@gmx.net>
2470 * tabular.C: don't use Assert too heavily. This crashes where it
2473 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2475 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2476 is disabled (bug 1232)
2478 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2480 * factory.C: limited 'arg' scope
2482 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2484 * factory.C: fixed Note submenu issues
2486 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2488 * factory.C: submenu for Note/Comment/Greyedout
2490 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2493 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2495 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2498 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2499 greyedout. Patch provided by Jürgen Spitzmüller.
2501 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2503 * kbmap.C (read): fix error message when reading bind files
2505 2003-07-29 Angus Leeming <leeming@lyx.org>
2507 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2508 certainly does not do what it purports to do. I am doing it, and
2509 us, a favour by killing it.
2511 2003-07-28 José Matos <jamatos@lyx.org>
2513 * buffer.C (readBody, do_writeFile):
2514 * paragraph.C(readParagraph): \end_document replaces \the_end.
2516 2003-07-29 André Pönitz <poenitz@gmx.net>
2519 * BufferView_pimpl.[Ch]:
2523 * textcursor.[Ch]: remove toggleToggle & Co
2525 2003-07-28 José Matos <jamatos@fep.up.pt>
2527 * buffer.C (readParagraph):
2528 * params_func (readParToken, readParagraph):
2529 * paragraph.C (write): \layout -> \begin_layout.
2531 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2533 * lyxlex_pimpl.C (setFile): clean up slightly.
2535 * bufferparams.h: add compressed var
2537 * buffer_funcs.C (readFile): adjust for LyXLex change
2538 (newFile): ditto + simplify
2540 * buffer.C (writeFile): handle writing of compressed files
2542 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2543 Check if the file is compressed and set a bufferparm if so.
2545 * Makefile.am (lyx_LDADD): remove explicit -lz
2547 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2549 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2550 makeDocBookFile): put the real LyX version in the first line of
2554 * version.C.in: remove lyx_docversion
2556 * tabular.C (write_attribute): add a template-based version to
2557 write enums properly
2559 2003-07-28 André Pönitz <poenitz@gmx.net>
2564 * text3.C: use doubles again for x-coordinates. They are needed.
2566 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * messages.C (getLocaleDir): use lyx_localedir()
2570 * lyxlex_pimpl.C (setFile): compress stuff
2572 * buffer.C (writeFile): add some compression stuff
2573 (do_writeFile): new func, dont call expliti close... will this
2576 * Makefile.am (lyx_LDADD): add -lz
2578 2003-07-28 José Matos <jamatos@fep.up.pt>
2580 * buffer.C: increment file format.
2581 * paragraph_funcs (readParagraph, readParToken):
2582 * paragraph.C (readParagraph): add \end_layout.
2584 2003-07-27 Angus Leeming <leeming@lyx.org>
2586 * Makefile.am: remove special casing for configure-time setting of
2587 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2589 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2590 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2592 2003-07-26 André Pönitz <poenitz@gmx.net>
2594 * paragraph_func.[Ch]:
2595 * paragraph.C (realizeFont): inline it whereever it is used
2600 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2603 2003-07-26 André Pönitz <poenitz@gmx.net>
2607 * text2.C: get rid of LyXText::need_break_row
2609 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * toc.[Ch]: put namespace toc inside namespace lyx
2613 * MenuBackend.C (expandToc2): adjust for lyx::toc
2616 * lyxfunc.C (dispatch): adjust for lyx::find
2618 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2619 lyx::find instead. Reorganize a bit.
2620 (LyXReplace): rename to replace
2621 (LyXFind): rename to find
2623 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2626 2003-07-26 André Pönitz <poenitz@gmx.net>
2628 * text.C (setHeightOfRow): restrict scope of temporary variable
2630 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2631 code (never has been used?)
2633 2003-07-27 Asger Alstrup <alstrup@local>
2635 * text.C (fill): Optimise algorithm to exploit that we can reuse
2636 the LyXFont for many characters.
2637 (setHeightOfRow): Same thing.
2638 (rowBreakPoint): Same thing.
2640 2003-07-26 Asger Alstrup <alstrup@local>
2642 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2644 * text.C (singleWidth): Spurious font copying in hot-spot
2645 singleWidth avoided. Reorder tests for arabic for efficiency.
2647 * text.C (fill): handle empty paragraphs better.
2649 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2652 * encoding.h: add includes
2654 * lyxrc.C: remove reading of bind files
2656 * lyx_main.C (init): setup bindings and menus only if we have a
2659 * kbmap.C (read): new method. Do the actual reading of bind
2662 * converter.C (dvipdfm_options):
2665 (output): adapt PAPER_* enums.
2667 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2669 * bufferparams.h: remove paper-related enums from there
2671 * paper.h: New file. A trivial header file to hold paper-related
2672 enums. It should later expand to contain many paper-related
2675 * lyxrc.C: declare extern displayTranslator
2677 2003-07-27 José Matos <jamatos@fep.up.pt>
2679 * tabular.[Ch] (linuxdoc): add support for tables and figures
2682 2003-07-27 José Matos <jamatos@fep.up.pt>
2684 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2685 consistency in both functions.
2686 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2688 2003-07-26 Asger Alstrup <alstrup@local>
2690 * rowpainter.C (paintRows): Change algorithm to work directly on
2691 the insets rather than asking every character in the document
2692 whether its an inset.
2694 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2696 * buffer.C (openFileWrite): factorize some code
2698 2003-07-26 Angus Leeming <leeming@lyx.org>
2701 * lyx_main.[Ch]: replace occurances of system_tempdir with
2704 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2706 * rename Inset to InsetOld
2708 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2710 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2711 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2712 which I think is a bit clearer. EDIT is gone, since it was
2713 premature optimisation, and broken for mathed anyway.
2714 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2715 with cursor positioning in insets as well (math insets still do not
2716 work, but that's a different story anyway.) It mysteriously
2717 crashes sometimes with undo in the first paragraph, but I'm fairly
2718 confident that this is a compiler bug.
2720 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * paragraph.C (Paragraph): adjust for new clone return type
2724 (copyIntoMinibuffer): ditto
2726 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2728 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2729 by not having a special case, and always doing a full rebreak of
2730 the document after undo.
2732 2003-07-23 Angus Leeming <leeming@lyx.org>
2734 * factory.C (createInset): InsetExternal::setParams now takes a
2737 2003-07-23 Angus Leeming <leeming@lyx.org>
2739 * factory.C (createInset): changed interface to the external and
2740 graphics mailers' string2params functions.
2742 2003-07-23 Angus Leeming <leeming@lyx.org>
2744 * factory.C (createInset): pass a
2745 Buffer const * parameter to InsetExternalMailer's string2params.
2747 2003-07-22 John Levon <levon@movementarian.org>
2749 * Thesaurus.h: include the right aiksaurus header
2751 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2753 * MenuBackend.C (expand): check menu shortcuts unconditionally
2755 2003-07-21 Angus Leeming <leeming@lyx.org>
2757 * factory.C (createInset): pass a
2758 buffer_path parameter to InsetGraphicsMailer's string2params.
2760 2003-07-21 Angus Leeming <leeming@lyx.org>
2762 * BufferView_pimpl.C (buffer):
2765 * lyxfunc.C (dispatch):
2766 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2767 rather than the grfx shortcut.
2769 2003-07-21 André Pönitz <poenitz@gmx.net>
2771 * rowpainter.C: remove unused variables
2774 * tabular_funcs.h: move to tabular.C
2775 * Makefile.am: adjust
2777 * tabular.[Ch]: basic optical cleaning
2779 * author.h: pass references, not values
2781 2003-07-18 André Pönitz <poenitz@gmx.net>
2789 * text3.C: two-phase drawing for InsetText and InsetTabular
2790 some float -> int changes.
2792 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2794 * lyx_main.C: fix the fix
2796 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2798 * lyx_main.C: fix a crash in batch mode if no files specified
2801 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2803 * format.[Ch] (papersize): moved to BufferParams
2804 * converter.[Ch] (dvips_options): moved to BufferParams
2805 (dvipdfm_options): moved to anon namespace
2806 * bufferparams.[Ch]: added above functions.
2808 2003-07-17 André Pönitz <poenitz@gmx.net>
2812 * text2.C: don't call inset->update() anymore
2814 * metricsinfo.[Ch]: add convenience constructor
2816 2003-07-16 André Pönitz <poenitz@gmx.net>
2821 * text2.C: replace the LyXCursor::irow_ member with
2822 on-demand computation of the value
2824 2003-07-16 John Levon <levon@movementarian.org>
2826 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2828 2003-07-15 André Pönitz <poenitz@gmx.net>
2831 * text2.C: remove no more needed refresh_row
2833 2003-07-15 André Pönitz <poenitz@gmx.net>
2838 * text3.C: refresh_status tristate -> need_update bool
2840 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2842 * lyxtext.h (init): remove reinit argument (act as if always true)
2843 * text2.C: adjust to that
2845 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2847 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2848 * text3.C: use it to delete selections in some cases
2849 (bugs 441, 673, 702, 954).
2851 2003-07-14 André Pönitz <poenitz@gmx.net>
2853 * rowpainter.[Ch]: reduce interface
2855 2003-07-14 André Pönitz <poenitz@gmx.net>
2857 * BufferView_pimpl.C:
2858 * text2.C: adjust after removing unused BufferView * argument
2860 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2862 * text2.C (init): fix a crash fired on resize
2864 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2866 * buffer.[Ch]: added new closing signal
2867 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2868 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2869 BufferView::Pimpl via the closing the signal
2871 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2873 * buffer.[Ch]: take out all bv-related from buffer
2875 * BufferView_pimpl.[Ch]: connect to new signals
2876 * CutAndPaste.C: removed useless asserts
2877 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2880 * lyxfunc.C: moved view-related funciontality from vc here
2881 * paragraph.C: removed outdated comments
2884 2003-07-10 André Pönitz <poenitz@gmx.net>
2886 * BufferView_pimpl.C:
2890 * text2.C: remove InsetText::InnerCache, clean up consequences
2892 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2894 * ispell.C: fix two typos in error messages
2896 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2898 * Extend Note inset to other forms of annotation like Comment
2899 and Greyedout. Right button click gives dialog.
2901 Files modified or added (+):
2905 * ControlNote.[Ch] +
2907 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2908 frontends/controllers
2912 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2914 * aspell.C: add missing namespace lyx::support
2916 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2918 * BufferView.[Ch] (newFile): Add
2919 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2920 * LaTeX.[Ch] (message): added this signal and use it
2921 * buffer.[Ch] (busy, message): added these signals and use them
2922 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2926 * importer.C: use buffer signals instead of direct bv calling
2927 * lyx_cb.[Ch] (ShowMessage): removed
2930 * paragraph_funcs.C:
2931 * text2.C: use buffer signals
2933 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * introduce namespace lyx::graphics
2937 2003-07-02 André Pönitz <poenitz@gmx.net>
2939 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2941 2003-07-01 André Pönitz <poenitz@gmx.net>
2948 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2949 text*.C to text_func.C
2951 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2953 * introduce namespace lyx::support
2955 2003-06-30 André Pönitz <poenitz@gmx.net>
2960 * text.C: re-enable --with-included-string
2962 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2964 * textcursor.C: add <config.h>
2966 * text.C (getWord): remove const from word_location arg
2968 * lyxvc.C (getLogFile): fix const type order
2970 * lyxtext.h: remove const from word_location arg, add arg name
2972 * lyxlayout.h: currect type on labeltype.
2974 * importer.C: correct \file
2976 * converter.C (intToFormat): use std:: on ret val, ws changes
2978 * bufferlist.h: correct \file
2980 * buffer.C (makeLinuxDocFile): fix const type order
2981 (makeDocBookFile): ditto
2982 (fillWithBibKeys): use std:: on stdlib args.
2984 * CutAndPaste.C: fix authors.
2985 (availableSelections): use std:: on return vector
2987 2003-06-27 André Pönitz <poenitz@gmx.net>
2989 * BufferView_pimpl.C:
2990 * bufferview_funcs.C:
2998 * text3.C: remove LyXCursor::row_ member
3001 * text.C: rename fullRebreak() to partialRebreak() and implement
3002 a fullRebreak() that really bereks fully
3004 * textcursor.h: new struct for cursor-related data
3006 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3008 * lyx_main.C (LyX): get full path of document loaded on the
3011 2003-06-26 André Pönitz <poenitz@gmx.net>
3013 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3014 remove unused/broken operator>,<,>=.
3016 * text.C: remove only use of broken operator<= in an Assert().
3018 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3020 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3021 moved errorlist_.clear to showErrorList
3023 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3025 * converter.C (scanLog, runLaTeX):
3026 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3027 move the bv->showErrorList call to the callers
3028 * lyxfunc.C: i.e. here...
3030 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3031 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3032 namespace, the second to...
3033 * buffer_funcs (BufferFormat, parseErrors): added
3034 * errorlist.C (ErrorList(TeXErrors const &)): removed
3036 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3038 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3040 2003-06-24 "Garst R. Reese" <reese@isn.net>
3044 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3046 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3048 * version.C.in: change docversion to 1.4
3050 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3052 * buffer.C: fix a bug just introduced
3054 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3056 * buffer.[Ch]: added the parseError signal and use it, removed
3058 * BufferView.[Ch] (addError): moved to ...
3059 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3060 to the Buffer::parseError signal to catch (guess what) parse errors
3061 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3063 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3065 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3066 ability to create a buffer and to return an existing one from
3067 the list. Moved these functions to...
3068 * buffer_funcs.[Ch]: added
3069 * BufferView.[Ch] (loadLyXFile): added
3070 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3071 job removed from bufferlist::loadLyXFile.
3072 * buffer.C (setReadOnly): make it work without view
3073 (i.e added an if (users))
3075 2003-06-19 Angus Leeming <leeming@lyx.org>
3078 * LyXAction.C (init):
3079 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3080 with LFUN_DIALOG_SHOW <name> <data>.
3082 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3084 * CutAndPaste.C (availableSelections): small compilation fix for
3085 ancient (gcc 2.9x) compilers
3087 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * text3.C (cursorNext): add tmp var
3091 * text2.C (updateCounters): for function calling out of for clause
3092 (replaceSelectionWithString): ditto
3093 (insertStringAsParagraphs): ditto
3094 (getColumnNearX): add tmp var
3095 (setCursorFromCoordinates): add tmp var
3096 (cursorDownParagraph): add tmp var
3097 (deleteEmptyParagraphMechanism): add tmp var
3099 * text.C (insertChar): add tmp var
3101 * rowpainter.C (paintDepthBar): add tmp var
3103 * CutAndPaste.C (availableSelections): potentially check all
3104 paragraphs in a cut to fill the shown strings.
3106 2003-06-18 André Pönitz <poenitz@gmx.net>
3108 * kbmap.[Ch]: use vector<> instead of list<>
3110 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3112 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3113 pasteSelection with index
3115 * text2.C (pasteSelection): modify, call pasteSelection with index
3117 * paragraph.C (asString): reimplement version with no interval to
3118 call the one with interval.
3120 * lyxtext.h: add index arg to pasteSelection
3122 * MenuBackend.C (MenuItem): handle PasteRecent
3123 (Menu::read::Menutags): add md_pasterecent
3125 (expandPasteRecent): new function
3128 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3130 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3132 (availableSelections): new function
3134 2003-06-17 Angus Leeming <leeming@lyx.org>
3136 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3138 2003-06-17 Angus Leeming <leeming@lyx.org>
3141 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3143 * lyxfunc.C (dispatch): invoke it.
3145 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3147 * iterators.C (operator++, ParPosition): reintroduce some
3148 const_cast for the benefit of older compilers.
3150 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3152 * text3.C (dispatch): do not modify clipboard when doing
3153 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3154 LFUN_DELETE_SKIP on a selection selection
3156 2003-06-16 André Pönitz <poenitz@gmx.net>
3162 * tabular.[Ch]: IU of clone() and getLabelList();
3164 2003-06-13 André Pönitz <poenitz@gmx.net>
3166 * tabular.h: compactification
3168 2003-06-12 André Pönitz <poenitz@gmx.net>
3172 * tabular_funcs.h: some renaming plus whitespace
3174 2003-06-12 André Pönitz <poenitz@gmx.net>
3177 * BufferView_pimpl.C:
3183 * toc.C: Return a Paragraph & for ParIterator::operator*()
3185 2003-06-11 John Levon <levon@movementarian.org>
3189 * ToolbarBackend.C: add "Toolbars" section and
3192 2003-06-10 Angus Leeming <leeming@lyx.org>
3195 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3197 * lyxfunc.C (dispatch): invoke it.
3199 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * main.C: protect <ios> with HAVE_IOS
3202 (main): protect sync_with_stdio with HAVE_IOS
3204 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3206 * text2.C (cutSelection): adjust
3207 (pasteSelection): adjust
3209 * messages.C: handle get of empty string
3211 * main.C (main): use sync_with_stdio(false)
3213 * lyxfunc.C (dispatch): adjust
3215 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3216 (WriteAs): remove unneeded BufferView arg.
3218 * bufferparams.h: use correct types on papersize, papersize2 and
3221 * bufferparams.C (readToken): adjust for type
3222 (writeLaTeX): add missing cases to switch.
3224 * bufferlist.C (quitWriteBuffer): adjust
3227 * buffer.C (asciiParagraph): remove some commented code.
3229 * CutAndPaste.C: remove current_view extern variable.
3230 (cutSelection): add BufferParams arg.
3231 (eraseSelection): add BufferParams arg.
3232 (pasteSelection): add Buffer const & arg
3234 2003-06-07 John Levon <levon@movementarian.org>
3237 * paragraph_funcs.C:
3238 * paragraph_pimpl.C:
3242 * paragraph.C: allow InsetERT to freely space lines,
3243 and some consolidation of code
3245 2003-06-06 José Matos <jamatos@fep.up.pt>
3247 * buffer.C (makeDocBookFile): fix bug #821
3249 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3251 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3253 2003-06-04 Angus Leeming <leeming@lyx.org>
3255 * buffer.C: bump format to 224.
3257 2003-06-05 André Pönitz <poenitz@gmx.net>
3259 * text2.C (redoParagraphs): remove two const_cast<>
3261 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3263 * ParagraphList.h: remove last remnants of NO_STD_LIST
3265 2003-06-03 Angus Leeming <leeming@lyx.org>
3267 * factory.C (createInset): small change to the way InsetExternal's params
3270 2003-06-04 André Pönitz <poenitz@gmx.net>
3272 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3274 * paragraph_pimpl.h:
3275 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3277 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3279 * undo_funcs.C: make some simple cases of undo work again
3281 2003-06-03 John Levon <levon@movementarian.org>
3283 * ispell.C: HPUX doesn't have sys/select.h
3286 2003-06-03 John Levon <levon@movementarian.org>
3288 * CutAndPaste.C: update tabular and include inset
3293 * paragraph.C: remove owningBuffer(), don't pass Buffer
3296 * factory.C: insetGraphicsParams changed
3298 2003-06-02 John Levon <levon@movementarian.org>
3304 * text3.C: remove insetparent
3306 2003-06-02 John Levon <levon@movementarian.org>
3309 * buffer.C: fix inset_iterator.end(), move out of line
3312 2003-06-01 John Levon <levon@movementarian.org>
3314 * text3.C: use a proper cut/paste when doing inset
3315 insert (from Jürgen Spitzmüller)
3317 2003-06-01 John Levon <levon@movementarian.org>
3319 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3321 2003-05-30 André Pönitz <poenitz@gmx.net>
3323 * rowpainter.C: unify second drawing phase
3325 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * trans_mgr.C: remove one case of current_view
3329 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3331 * paragraph_funcs.h: remove paragraph.h include
3333 * paragraph.h: delete NO_STD_LIST stuff
3335 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3337 * buffer.h: remove paragraph.h include
3339 * ParagraphList.C: delete file
3341 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3343 * toc.C (getTocList): adjust
3345 * paragraph_pimpl.C (validate): adjust
3347 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3349 * paragraph.C (Paragraph): adjust
3350 (getPositionOfInset): use const_iterator, adjust
3351 (bibitem): use const_iterator, adjust
3352 (setInsetOwner): adjust
3354 * iterators.C (operator++): adjust
3356 * InsetList.[Ch]: Replace selfmade iterator with standard
3357 vector::iterator also introduce const_iterator. Remove getPos,
3358 getInset and setInset from InsetTable. Adjust accordingly.
3360 * BufferView.C (lockInset): adjust
3361 (ChangeInsets): adjust
3363 * tabular.[Ch]: delete commented same_id functions
3365 2003-05-28 John Levon <levon@movementarian.org>
3367 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3369 2003-05-28 André Pönitz <poenitz@gmx.net>
3371 * metricsinfo.[Ch]: remove 'fullredraw' member
3373 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3375 * lyxtextclass.C (operator): remove caching.
3377 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * text2.C (cursorBottom): adjust
3382 (setCounter): use ParagraphList::find, adjust
3384 * text.C (workWidth): use ParagraphList::find, adjust
3386 * lyxcursor.C (LyXCursor): adjust
3388 * buffer.C (inset_iterator): adjust
3390 * ParagraphList.h: make iterator(value_type) private, make
3391 ParagraphList a friend of iterator.
3393 * ParagraphList.C (find): new function
3395 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3397 2003-05-27 André Pönitz <poenitz@gmx.net>
3399 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3401 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3403 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3405 2003-05-26 John Levon <levon@movementarian.org>
3407 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3409 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * remove same_id from function signatures, adjust.
3413 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3417 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3419 * paragraph.C (Paragraph): get rid of same_ids parameter
3421 * ParagraphList.C (insert): adjust
3424 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * paragraph_funcs.C (breakParagraph): adjust
3427 (breakParagraphConservative): adjust
3429 * buffer.C (readParagraph): adjust
3431 * ParagraphList.C (insert): take a reference instead of a pointer
3434 * paragraph.[Ch] (id): new function
3436 * bufferlist.C (newFile): adjust
3438 * ParagraphList.C (ParagraphList): adjust
3440 (push_back): take a reference instead of a pointer.
3442 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3444 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3447 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3448 set else use old code.
3450 * ParagraphList.C: remove all NO_NEXT code and only compile this
3451 code of NO_STD_LIST is set.
3453 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3455 * BufferView_pimpl.C:
3465 * graphics/GraphicsConverter.C:
3466 * graphics/PreviewLoader.C: header adjustment
3468 2003-05-23 Angus Leeming <leeming@lyx.org>
3470 * LaTeXFeatures.[Ch] (useBabel): new method.
3471 * bufferparams.C (writeLaTeX): use it.
3473 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * ParagraphList.h (set): remove unused function.
3477 2003-05-23 André Pönitz <poenitz@gmx.net>
3480 * BufferView_pimpl.C:
3484 * undo_funcs.C: setUndo reworked
3486 * iterators.[Ch]: add access to topmost ParagraphList
3488 * lyxtext.[Ch] (workWidth): add a const
3490 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3492 * texrow.[Ch] (increasePos): remove function
3493 * exporter.C (export): removed unused var and outdated comment
3495 2003-05-23 Angus Leeming <leeming@lyx.org>
3497 * latexrunparams.h: rename fragile as moving_arg.
3498 * paragraph.C (simpleTeXOnePar): ditto.
3499 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3501 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3505 (textUndoOrRedo): comment out a currently unused var.
3507 * paragraph.h (NO_NEXT): enable NO_NEXT
3509 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3511 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3513 * exporter.C (Export): adjust for removeAutoInsets removal.
3515 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3517 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3519 * BufferView.[Ch] (removeAutoInsets): delete function
3521 2003-05-22 Angus Leeming <leeming@lyx.org>
3523 * latexrunparams.h: add a free_spacing variable.
3525 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3526 to pass moving_arg, as the data is stored in runparams.fragile.
3528 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3529 to Inset::latexOptional or to simpleTeXOnePar.
3531 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3532 free_spacing arg to Inset::latexOptional.
3534 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3537 2003-05-22 Angus Leeming <leeming@lyx.org>
3539 * latexrunparams.h: add fragile and use_babel variables.
3541 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3542 * buffer.C (makeLaTeXFile): store this returned value in
3543 runparams.use_babel, thus passing it to the inset::latex methods.
3545 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3546 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3548 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3549 longer has a fragile arg, as it is stored in runparams.fragile.
3551 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3552 moving_arg parameter as the data is stored in runparams.fragile.
3554 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3555 a fragile parameter as the data is stored in runparams.fragile.
3557 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3561 2003-05-22 Angus Leeming <leeming@lyx.org>
3563 * latexrunparams.h: add a 'bool nice' which defaults to false.
3565 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3566 now encapsulated within runparams.
3568 * bufferlist.C (updateIncludedTeXfiles):
3569 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3571 2003-05-22 Angus Leeming <leeming@lyx.org>
3573 * latexrunparams.h: new file containing struct LatexRunParams.
3574 * Makefile.am: add new file.
3576 * LaTeX.[Ch] (c-tor, run):
3577 * buffer.[Ch] (makeLaTeXFile):
3578 * bufferlist.[Ch] (updateIncludedTeXfiles):
3579 * converter.C (convert, scanLog):
3580 * converter.[Ch] (runLaTeX):
3581 * exporter.C (Export):
3582 * paragraph.[Ch] (simpleTeXOnePar):
3583 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3584 * paragraph_funcs.[Ch] (latexParagraphs):
3585 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3586 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3587 pass around a LatexRunParams parameter.
3589 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * paragraph.[Ch]: remove unused constructor
3593 * ParagraphList.C (erase): new function, taking two iterators
3595 2003-05-22 André Pönitz <poenitz@gmx.net>
3597 * undo_funcs.C: remove duplicated code
3599 * iterator.[Ch]: operator=
3601 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * tabular.C (SetMultiColumn): ws changes
3605 * rowpainter.C (paintFirst): get rid of a ->previous
3607 * lyx_cb.C (getPossibleLabel): parlist simplification
3609 * BufferView.C (ChangeInsets): simplify slightly.
3611 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3613 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3614 * lfuns.h: new LFUN_SPACE
3615 * lyxfunc.C: protected space has a new lfun
3616 * paragraph_funcs.C: read new space insets
3618 * factory.C: handle new space insets
3620 2003-05-22 André Pönitz <poenitz@gmx.net>
3623 * BufferView_pimpl.C:
3626 * undo_funcs.C: return a ParIterator from getParFromID.
3628 * iterators.[Ch]: add two const's
3630 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * toc.C (getTocList): adjust
3634 * iterators.[Ch]: rework for parlist
3636 * buffer.C (par_iterator_begin): adjust
3637 (par_iterator_end): adjust
3639 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3641 * BufferView.C (removeAutoInsets): adjust
3642 (ChangeInsets): adjust
3644 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3646 * text.C (top_y): fix bug 1110
3648 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3650 * errorlist.[Ch]: added
3653 * BufferView_pimpl.C:
3654 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3657 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * Makefile.am: ensure that lyx is relinked upon changes to the
3660 various "convenience" libs.
3662 2003-05-20 Angus Leeming <leeming@lyx.org>
3664 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3665 files are compiled in alphabetical order again.
3667 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3669 2003-05-19 Angus Leeming <leeming@lyx.org>
3671 * gettext.[Ch]: remove "char const * _(char const *)".
3673 2003-05-19 André Pönitz <poenitz@gmx.net>
3675 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3684 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3686 2003-05-19 André Pönitz <poenitz@gmx.net>
3690 * lyxtextclass.[Ch]:
3692 * paragraph_funcs.[Ch]:
3694 * text3.C: more insetenv work
3696 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3698 * ParagraphParameters.C (params2string): small bug fixed
3700 2003-05-16 André Pönitz <poenitz@gmx.net>
3703 * bufferview_funcs.C: patch from Kornel Benko to prevent
3704 crash when _(...) is called twice in a statement
3706 2003-05-16 André Pönitz <poenitz@gmx.net>
3713 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3715 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3717 * lyx_main.C (init): remove spurious static_cast
3719 2003-05-14 André Pönitz <poenitz@gmx.net>
3721 * BufferView.C: fix format string
3723 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3725 * BufferView.[Ch] (insertErrors): removed
3726 * BufferView.[Ch] (showErrorList): added
3727 * buffer.C (runChkTeX):
3728 * converter.C (scanLog): call showErrorList instead of inserterrors
3730 2003-05-13 André Pönitz <poenitz@gmx.net>
3732 * BufferView_pimpl.C:
3734 * bufferview_func.C:
3741 * tabular_funcs.h: tostr() from its own header
3743 * ParagraphParameters.C:
3748 * text3.C: STRCONV()
3750 2003-05-12 André Pönitz <poenitz@gmx.net>
3753 * BufferView_pimpl.C:
3757 * ParagraphParameters.C:
3761 * bufferview_funcs.C:
3774 * paragraph_funcs.C:
3778 * text3.C: boost::format -> bformat all over the place
3781 2003-05-09 André Pönitz <poenitz@gmx.net>
3783 * LColor.[Ch]: Pimpl the #include <map> away
3785 2003-05-09 John Levon <levon@movementarian.org>
3787 * bufferlist.C: never remove emergency saves
3789 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * Makefile.am: better lib building
3793 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3797 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3798 (simpleTeXSpecialChars): adjust
3799 (simpleTeXSpecialChars): adjust
3800 * paragraph.C (simpleTeXOnePar): adjust
3801 * buffer.C (makeLaTeXFile): adjust
3803 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3805 * text2.C (changeDepth): parlist cleanup
3806 (getColumnNearX): ditto
3808 * rowpainter.C (getLabelFont): parlist cleanup
3810 * bufferlist.C (newFile): parlist cleanup
3812 * CutAndPaste.C (eraseSelection): parlist cleanup
3814 * BufferView_pimpl.C (trackChanges): parlist cleanup
3817 * BufferView.C (lockInset): parlist cleanup.
3818 (ChangeInsets): ditto
3820 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * CutAndPaste.h: Update file header.
3824 * CutAndPaste.C: Update file header.
3825 Store the parts cut out of the Document in a limited_stack.
3826 (copySelection): adjust
3827 (pasteSelection): new function, takes the index in the limited stack.
3828 (nrOfParagraphs): adjust
3829 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3830 simplify error inset insertion.
3831 (checkPastePossible): adjust
3833 2003-05-06 John Levon <levon@movementarian.org>
3835 * text2.C: don't cast wrap inset to float
3837 2003-05-05 André Pönitz <poenitz@gmx.net>
3840 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3842 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3843 few naked Paragraph *.
3845 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3847 * bufferparams.C: Output warning if a document with missing
3848 TeX document class is loaded
3849 * exporter.C: Disable TeX exports if the document class is missing
3852 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3853 isTeXClassAvailable()
3855 2003-05-03 John Levon <levon@movementarian.org>
3858 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3859 explicit cursor show/hide
3861 * BufferView_pimpl.h:
3862 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3863 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3865 * lyxfunc.C: hide cursor before dispatching.
3870 * text3.C: remove explicit cursor hides
3872 2003-05-02 André Pönitz <poenitz@gmx.net>
3874 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3877 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3880 * text2.C: tiny whitespace
3882 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * undo_funcs.C: almost only ws changes.
3886 * ParagraphList.C (splice): just return if pl is empty.
3888 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3890 * ParagraphList.C (splice): new function.
3892 * CutAndPaste.C (pasteSelection): use it
3894 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * CutAndPaste.C (pasteSelection): remove the last next and
3897 previous from this file.
3899 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3901 * CutAndPaste.C (pasteSelection): more clean up, user proper
3902 ParagraphList functions for pasteing.
3904 * ParagraphList.C (insert): new function, three arg insert
3906 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * ParagraphList.C (insert): new function, three arg insert
3910 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3913 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3917 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3921 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3923 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3924 (copySelection): clean up a bit.
3925 (pasteSelection): use make_pair
3927 * ParagraphList.C (ParagraphList): implement copy constructor
3928 (operator=): implement, base on copy constructor.
3931 * paragraph.C (erase): return a bool
3933 * paragraph_pimpl.C (erasePos): remove function, move contents...
3934 (erase): ... here. Return a bool.
3935 (erase): call erase instead of erasePos.
3937 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3939 * ParagraphList.h: define PitPosPair
3940 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3941 ParagraphList, fix a bug on pasting multiple pars
3942 * text2.C: change interface to C&P
3944 2003-04-30 André Pönitz <poenitz@gmx.net>
3946 * undo_func.C: revert part of yesterday's patch 2
3948 2003-04-30 John Levon <levon@movementarian.org>
3950 * LColor.C: s/tabular/table/
3952 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * text3.C (dispatch): do not convert iterator -> pointer
3955 * undo_funcs.C (setCursorParUndo): ditto
3956 * text_funcs.C (transposeChars): ditto
3958 * text2.C (setLayout): ws changes only
3960 * text.C (breakParagraph): do not convert iterator -> pointer
3962 (acceptChange): ditto
3963 (rejectChange): ditto
3968 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3971 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3973 * text3.C (gotoInset): YABG (yet another bad getChar)
3975 2003-04-29 André Pönitz <poenitz@gmx.net>
3977 * paragraph.h: make operator= private unimplemented as long as
3980 * ParagraphList.C: whitespace
3983 * paragraph_pimpl.[Ch]:
3984 * paragraph_funcs.C:
3986 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3989 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3991 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3993 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3994 * paragraph.[Ch] (erase):
3995 * paragraph_pimpl.[Ch] (erase): change return type and value
3996 * text2.C (cutSelection): some rework
3998 2003-04-28 John Levon <levon@movementarian.org>
4000 * bufferlist.C: changes for unsaved changes dialog
4002 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4004 * bufferlist.C (newFile): set language (messages_) for new
4007 * buffer.C (readFile): ws changes only.
4009 2003-04-28 André Pönitz <poenitz@gmx.net>
4014 * BufferView_pimpl.C:
4015 * BufferView.C: getParFromID related ParagraphList::iterator changes
4017 2003-04-28 André Pönitz <poenitz@gmx.net>
4019 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4022 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4024 * messages.C: remove one more localedir class variable.
4026 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * messages.C (getLocaleDir): singleton generation function
4030 (Messages): add a default constructor.
4032 * main.C (main): do not setup localedir here, do not call
4035 * gettext.C (_): use it.
4036 (gettext_init): delete funciton
4038 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * gettext.C (getLyXMessages): new singleton generating function.
4042 * buffer.C (updateDocLang): adjust
4044 * Makefile.am (messages.o): add target
4045 (main.o): remove target
4047 2003-04-27 John Levon <levon@movementarian.org>
4052 * lyxvc.C: specify cancel button in Alert::prompt
4054 2003-04-26 John Levon <levon@movementarian.org>
4059 * LyXAction.C: add LFUN_INSET_SETTINGS
4061 * lyxfunc.C: don't enable tabular-feature when there's
4062 just any locking inset
4064 2003-04-26 John Levon <levon@movementarian.org>
4066 * bufferlist.C: re-add Cancel to buffer close question
4068 * lyxfunc.C: fix import UI a bit
4070 2003-04-25 John Levon <levon@movementarian.org>
4072 * gettext.C: remove the broken asserts for now
4074 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * messages.C: make case where setlocale cannot comply work better.
4078 * buffer.C (updateDocLang): new function
4079 (changeLanguage): use it
4082 * text2.C (setCounter): use B_ a bit.
4084 * lyxlayout.C (Read): be sure to trim the label strings.
4086 * messages.C (Messages): fix typo in comment
4088 * buffer.C (readFile): set message_ after file is loaded.
4089 (makeDocBookFile): remove double return
4090 (changeLanguage): reset message_ upon language change.
4091 (B_): new func, use this to get translated buffer strings.
4093 * main.C: add myself and Jean Marc as authors.
4095 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * messages.[hC]: pimplify Messages, and three different pimpls to be
4098 used in different circumstances.
4100 * gettext.[Ch]: change for use with new message code.
4102 2003-04-24 André Pönitz <poenitz@gmx.net>
4104 * factory.C: support for eqref
4106 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * messages.[Ch]: add missing char
4110 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4112 * messages.[Ch]: New files
4114 2003-04-18 John Levon <levon@movementarian.org>
4118 * BufferView_pimpl.C:
4122 * text2.C: remove layout-copy/paste (bug 778)
4124 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4126 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4128 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4130 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4131 if they succeed. Act accordingly.
4133 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * text2.C (setCharFont): adjust
4136 (setCounter): adjust
4137 (insertStringAsLines): adjust
4139 * text.C (leftMargin): adjust
4140 (setHeightOfRow): adjust
4142 * rowpainter.C (paintFirst): adjust
4145 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4147 (isFirstInSequence): ditto
4148 (getEndLabel): ditto
4151 * paragraph.C (getParLanguage): comment out some hard stuff.
4153 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4155 (simpleDocBookOnePar): ditto
4156 (makeDocBookFile): use ParagraphList::iterator
4158 * CutAndPaste.C (pasteSelection): adjust
4160 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * text2.C (getFont): adjust
4163 (getLayoutFont): adjust
4164 (getLabelFont): adjust
4166 * paragraph_funcs.C (TeXOnePar): adjust
4168 * buffer.C (simpleLinuxDocOnePar): adjust
4169 (simpleDocBookOnePar): adjust
4171 * CutAndPaste.C (pasteSelection): adjust
4173 * BufferView.C (getEncoding): adjust
4175 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4177 2003-04-16 John Levon <levon@movementarian.org>
4179 * lyxfind.C: use parlist stuff for search/changes
4181 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4185 * text2.C (deleteEmptyParagraphMechanism): adjust
4187 * text2.[Ch] (ownerParagraph): delete func (both of them
4189 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4193 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * ParagraphList.C: prepare for NO_NEXT
4197 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * text2.C (getFont): adjust
4200 (getLayoutFont): adjust
4201 (getLabelFont): adjust
4203 * paragraph.C (getFont): adjust
4204 (getLabelFont): adjust
4205 (getLayoutFont): adjust
4207 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4209 2003-04-15 John Levon <levon@movementarian.org>
4213 * lyx_main.C: handle Include in .ui files
4215 2003-04-15 John Levon <levon@movementarian.org>
4217 * MenuBackend.C: make the doc files length shorter
4220 * ToolbarBackend.C: handle toolbar placement flags,
4223 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4228 * paragraph_funcs.C (TeXOnePar): adjust
4230 * paragraph.C (getLabelFont): add outerfont arg, adjust
4231 (getLayoutFont): ditto
4232 (simpleTeXOnePar): adjust
4234 * paragraph_pimpl.C (realizeFont): delete func
4236 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4238 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4239 row argument, constify cur argument.
4241 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * text2.C (getFont): adjust
4244 (getLayoutFont): adjust
4245 (getLabelFont): adjust
4247 * paragraph_funcs.C (TeXOnePar): adjust
4248 (outerFont): new func...
4249 (realizeFont): ...moved out from here, changed this to facilitate
4252 * paragraph.C (getFont): take outerfont as arg, adjust
4253 (simpleTeXOnePar): add outerfont arg, adjust
4255 * buffer.C (simpleLinuxDocOnePar): adjust
4256 (simpleDocBookOnePar): adjust
4258 * CutAndPaste.C (pasteSelection): adjust
4260 * BufferView.C (getEncoding): adjust
4262 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * text2.C (setCharFont): adjust
4265 (setCounter): adjust
4267 * text.C (leftMargin): adjust
4268 (setHeightOfRow): adjust
4270 * rowpainter.C (paintFirst): adjust
4273 * paragraph_pimpl.C (realizeFont): adjust
4275 * paragraph.C (isFirstInSequence): move from here...
4276 * paragraph_funcs.C (isFirstInSequence): ...to here
4278 * paragraph.C (outerHook): move from here...
4279 * paragraph_funcs.C (outerHook): ...to here
4281 * paragraph.C (depthHook): move from here...
4282 * paragraph_funcs.C (depthHook): ...to here
4284 * paragraph.C (getEndLabel): move from here...
4285 * paragraph_funcs.C (getEndLabel): ...to here
4287 * text2.C (realizeFont): move from here...
4288 * paragraph_funcs.C (realizeFont): ...to here
4290 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4294 2003-04-14 Angus Leeming <leeming@lyx.org>
4296 * LColor.[Ch]: scrap LColor mathcursor.
4298 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * lyxlex.[Ch] (text): delete function
4301 * trans.C (Load): adjust
4302 * paragraph_funcs.C (readParToken): adjust
4304 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4306 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4307 vector<char> instead of a char[].
4309 * lyxlex_pimpl.C (getString): adjust
4311 (lex): use getString
4315 * lyxlex.C (text): use pimpl_->getString()
4319 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4322 (makeFontEntriesLayoutSpecific): temp var for par.size()
4323 (setLayout): temp var for ownerParagraphs().end()
4324 (fullRebreak): temp var for rows().end()
4325 (selectionAsString): temp var for boost::next(startpit), realize
4326 that the while really is a regular for loop.
4327 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4328 setCursor in one place.
4329 (setParagraph): temp vr for ownerParagraphs().end()
4330 (updateCounters): make the while loop a for loop
4331 (cutSelection): temp var for ownerParagraphs().end()
4332 (updateInset): make the do {} while() a regular for loop
4333 (getCursorX): use temp vars
4334 (setCurrentFont): use temp vars
4335 (getColumnNearX): use temp vars
4337 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * text.C (transformChar): use temp var for getChar
4340 (computeBidiTables): use temp var for row->par()
4341 (fill): move temp vars for row->par() and pit->layout() earlier in
4343 (labelFill): use temp var for row->par()
4344 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4345 asc and desc, realize that pit never changes and that firstpit is
4346 just a duplicate and not needed. Exchange rit->par() with pit in a
4348 (breakAgain): use a temp var for boost::next(rit)
4349 (breakAgainOneRow): ditto
4350 (breakParagraph): use a temp var for rows().begin()
4351 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4352 (cursorRightOneWord): use temp var for cursor.par() and
4353 cursor.pos(), remove usage of tmpcursor.
4354 (cursorLeftOneWord): use temp var for cursor.par() and
4355 cursor.pos() only set cur at end of function.
4357 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * text.C, text2.C: exchange all usage of Paragraph::next with
4360 boost::next(ParagraphList::iterator)
4362 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4364 * text2.C (cursorTop): simplify implementation
4365 (cursorBottom): ditto
4366 (setParagraph): use ParagraphList::iterator
4367 (setCurrentFont): adjust
4368 (getColumnNearX): adjust
4369 (cursorRight): adjust
4370 (cursorLeft): remove usage of Paragraph::previous
4371 (cursorUpParagraph): ditto
4372 (deleteEmptyParagraphMechanism): slight cleanup
4374 * text.C (isBoundary): take a Paragraph const & instead of a
4376 (addressBreakPoint): ditto
4377 (leftMargin): remove usage of Paragraph::previous.
4378 (setHeightOfRow): ditto
4379 (cursorLeftOneWord): ditto
4380 (selectNextWordToSpellcheck): ditto
4383 (breakParagraph): remove one usage of Paragraph::next
4384 (redoParagraph): ditto
4385 (acceptChange): ditto
4386 (insertChar): adjust
4387 (rowBreakPoint): adjust
4389 * bufferview_funcs.C (toggleAndShow): adjust
4391 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4393 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4394 methods to access it.
4396 * text.C: Added updateRowPositions to compute all row positions.
4397 Make top_y and getRowNearY() to use the cached y position
4399 2003-04-11 John Levon <levon@movementarian.org>
4401 * text.C (rowBreakPoint): reintroduce the labelEnd
4402 checks, code copied from the row fill stuff. Deep voodoo.
4404 * text.C (fill): add a comment and debugging for the
4407 2003-04-11 John Levon <levon@movementarian.org>
4409 * text.C: make sure fullrow insets get wrapped to the next line,
4410 even when they're in a manual label
4412 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * text2.C (insertParagraph): make it take ParagraphList::iterator
4416 (setLayout): make it return ParagraphList::iterator
4417 (redoParagraphs): ditto
4419 (checkParagraph): ditto
4421 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4423 * text2.C: adjust several funcs.
4424 (realizeFont): take a ParagraphList::iterator as arg.
4425 (getLayoutFont): ditto
4426 (getLabelFont): ditto
4427 (setCharFont): ditto
4429 * text.C: adjust several funcs.
4431 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4433 * text.C (selectNextWordToSpellcheck): don't accidentally
4436 2003-04-10 John Levon <levon@movementarian.org>
4438 * ToolbarBackend.C (getIcon): special handling for
4441 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4443 * text2.C (cursorRight): a getChar assert fixed
4445 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * text2.C (getFont): change to take a ParagraphList::iterator
4448 instead of Paragraph*
4449 Adjust several functions.
4451 * text.C (transformChar): change to take a ParagraphList::iterator
4452 instead of Paragraph*
4453 (singleWidth): ditto
4454 Adjust several functions.
4456 * rowpainter.C: adjust several functions
4457 * rowpainter.h:store a ParagraphList::iterator and not a
4461 2003-04-09 John Levon <levon@movementarian.org>
4466 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4467 and the "help" bits as well
4469 2003-04-09 John Levon <levon@movementarian.org>
4472 * ToolbarBackend.C: allow multiple toolbars
4474 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * undo_funcs.C (setCursorParUndo): adjust
4478 * text_funcs.C (transposeChars): adjust
4480 * text3.C (gotoNextInset): adjust
4483 * text2.C (setLayout): adjust
4484 (changeDepth): adjust
4486 (redoParagraphs): adjust
4487 (selectionAsString): adjust
4488 (setParagraph): adjust
4489 (insertInset): adjust
4490 (cutSelection): adjust
4491 (copySelection): adjust
4492 (pasteSelection): adjust
4493 (insertStringAsLines): adjust
4494 (updateInset): adjust
4495 (setCursor): change to take a ParagraphList::iterator parameter
4496 (setCursorIntern): change to take a ParagraphList::iterator parameter
4497 (setCurrentFont): adjust
4498 (cursorLeft): adjust
4499 (cursorRight): adjust
4500 (deleteEmptyParagraphMechanism): adjust
4502 * text.C (breakParagraph): adjust
4503 (insertChar): adjust
4504 (acceptChange): adjust
4505 (rejectChange): adjust
4506 (selectNextWordToSpellcheck): adjust
4507 (changeCase): adjust
4511 * lyxfind.C (SearchForward): adjust
4512 (SearchBackward): adjust
4513 (nextChange): adjust
4515 * lyxcursor.C (par): adjust
4517 * lyxcursor.h: store a ParagraphList::iterator instead of a
4520 * lyx_cb.C (getPossibleLabel): adjust
4522 * bufferview_funcs.C (toggleAndShow): adjust
4524 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4527 * BufferView.C (removeAutoInsets): adjust
4528 (lockedInsetStoreUndo): adjust
4530 2003-04-09 John Levon <levon@movementarian.org>
4532 * ToolbarBackend.C: try icon without argument
4533 if with argument fails
4535 2003-04-08 John Levon <levon@movementarian.org>
4538 * ToolbarBackend.C: add getIcon(), handle tooltip,
4539 and change from "Icon" to "Item".
4541 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4543 * BufferView.C (lockInset): another bad getchar crunched
4545 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4547 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4550 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4552 * lyxfind.C (searchForward, searchBackwards): bug 782
4554 2003-04-07 John Levon <levon@movementarian.org>
4556 * paragraph.C: remove dead comment
4558 * text.C: remove troublesome depth-fiddling code
4559 in leftMargin() and rightMargin() (bug 1017)
4561 * text.C: fix breaking of rows in nested lists
4564 * text2.C (updateCounters): fix up depth values
4567 2003-04-07 John Levon <levon@movementarian.org>
4569 * BufferView_pimpl.C: clear message when doc finishes resizing,
4570 and after a mouse event
4572 * lyxfunc.C: clear message after exiting inset
4574 2003-04-07 John Levon <levon@movementarian.org>
4576 * bufferview_funcs.C: show math status not outside
4577 status in the statusbar
4579 2003-04-07 John Levon <levon@movementarian.org>
4581 * lyxfunc.C: note status changed after a depth change
4583 2003-04-04 Angus Leeming <leeming@lyx.org>
4585 * LaTeX.h: move AuxInfo operator==, != out of line.
4586 Remove LaTeX virtual destructor; nothing derives from it.
4587 Move operator()() out of public area and rename it startscript().
4588 Change protected for private.
4590 2003-04-04 Angus Leeming <leeming@lyx.org>
4593 * text2.C: remove unneeded #includes.
4595 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4597 * text2.C (dEPM): fix the heigth of the next row
4599 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4601 * text.C: squashed an invalid getChar requester + some ws changes
4603 2003-04-03 John Levon <levon@movementarian.org>
4605 * bufferview_funcs.h:
4606 * bufferview_funcs.C:
4609 * text2.C: make getStatus work for the env depth lfuns
4611 2003-04-03 John Levon <levon@movementarian.org>
4613 * bufferview_funcs.h:
4614 * bufferview_funcs.C:
4617 * text2.C: parlistize decDepth(), by merging it with incDepth()
4619 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * lyxrow.h: store a ParagraphList::iterator instead of a
4622 Paragraph* and adjust other class functions to suit.
4624 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4627 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4629 * text2.C (setCursor): do not anchor to cursor row for the time being
4631 2003-04-02 John Levon <levon@movementarian.org>
4638 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4640 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * paragraph.h: make ParagraphList and ParagraphList::iterator
4643 friends of Paragraph.
4645 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4647 * ParagraphList.C: Use the private next_ and previous_ from
4650 2003-04-01 John Levon <levon@movementarian.org>
4654 * Makefile.am: rename, remove defaults gunk
4657 * MenuBackend.C: remove defaults gunk
4660 * Languages.C: remove defaults gunk
4663 * lyx_main.C: error out if files couldn't be found.
4665 2003-04-02 John Levon <levon@movementarian.org>
4667 * text2.C: make incDepth() use parlist
4669 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * undo_funcs.C (firstUndoParagraph): adjust
4673 * text3.C (gotoInset): adjust
4674 (dispatch): adjust, and rewrite loop.
4676 * text2.C (init): adjust, and rewrite loop.
4677 (redoParagraphs): adjust
4678 (updateInset): adjust, and rewrite loop.
4679 (deleteEmptyParagraphMechanism): adjust
4681 * tabular.C (LyXTabular): adjust
4682 (SetMultiColumn): adjust
4685 * lyxtext.[Ch] (ownerParagraph): delete function
4686 (ownerParagraphs): new function returns a ParagraphList.
4688 * BufferView.C (removeAutoInsets): adjust
4689 (insertErrors): adjust
4690 (setCursorFromRow): adjust
4692 2003-04-01 Angus Leeming <leeming@lyx.org>
4694 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4697 2003-04-02 John Levon <levon@movementarian.org>
4703 * text_funcs.C: make transposeChars a free function
4705 * lyxrow_funcs.C: remove wrong comment
4707 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * rowpainter.C: adjust
4715 * lyxrow_funcs. [Ch]: new files
4717 * lyxrow.[Ch]: remove next and previous pointers
4718 (next,previous): remove accessor functions
4719 (isParEnd): move to lyxrow_funcs
4720 (lastPos): move to lyxrow_funcs
4721 (nextRowIsAllInset): move to lyxrow_funcs
4722 (lastPrintablePos): move to lyxrow_funcs
4723 (numberOfSeparators): move to lyxrow_funcs
4724 (numberOfHfills): move to lyxrow_funcs
4725 (numberOfLabelHfills): move to lyxrow_funcs
4726 (hfillExpansion): move to lyxrow_funcs
4730 * bufferview_funcs.C (toggleAndShow): adjust
4732 * RowList.h: Remove class RowList from file leave just a
4735 * RowList.C: delete file
4737 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4740 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * text3.C (cursorPrevious): adjust
4743 (cursorNext): adjust
4746 * text2.C (redoHeightOfParagraph): adjust
4747 (redoDrawingOfParagraph): adjust
4750 * text.C (breakParagraph): adjust
4751 (insertChar): adjust
4754 * rowpainter.C (RowPainter): adjust
4755 (leftMargin): simplify and adjust
4756 (most rowpainter functions): adjust.
4758 * rowpainter.h: store the row as RowList::iterator not as Row*
4760 * lyxcursor.C (row): taka RowList::iterator as arg
4763 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4766 2003-04-01 Angus Leeming <leeming@lyx.org>
4768 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4769 stuff like bool Bool.
4771 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4773 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4776 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4781 * lyxtext.h (rows): drop one version and leve a const variant that
4782 returns a RowList::iterator.
4784 2003-03-31 Angus Leeming <leeming@lyx.org>
4786 * text.C (fill): ensure that the signature is the same as that in the
4789 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * text2.C (redoParagraphs): adjust
4792 (updateCounters): adjust
4793 (checkParagraph): adjust
4794 (getColumnNearX): adjust and reformat a bit.
4796 * text.C (top_y): adjust
4798 (leftMargin): adjust
4799 (prepareToPrint): adjust
4801 (getRowNearY): adjust
4803 * lyxtext.h: make rowlist_ mutable.
4805 * RowList.h: add const_iterator
4806 * RowList.C: adjust for RowList::const_iterator.
4808 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4811 2003-03-31 John Levon <levon@movementarian.org>
4814 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4816 * lyx_main.C: set default fonts from using lyx_gui funcs
4818 * exporter.C: pdf_mode moved from lyxrc
4821 * lyxfunc.C: changes from above
4823 2003-03-31 John Levon <levon@movementarian.org>
4825 * lyx_main.C: fix to the last fix
4827 2003-03-31 John Levon <levon@movementarian.org>
4829 * bufferlist.C: "Load original" -> "Load Original"
4835 * format.C: more Alert cleanups
4837 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * text2.C (removeParagraph): make it take a RowList::iterator as
4841 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4842 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4844 * text.C (anchor_row): make it take a RowList::iterator as arg,
4846 (computeBidiTables): make it take a const reference to Row instead
4847 of Row pointer, adjust.
4848 (leftMargin): make it take a RowList::iterator as arg, adjust.
4849 (rowBreakPoint): adjust
4850 (breakAgainOneRow): make it take a RowList::iterator as arg,
4852 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4854 * bufferview_funcs.C (toggleAndShow): adjust
4856 2003-03-30 John Levon <levon@movementarian.org>
4860 * boost-inst.C: moved to support
4862 * several files: changes as a result
4864 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4866 * text2.C (LyXText): adjust.
4868 (removeRow): make it take a RowList::iterator as arg, adjust.
4869 (fullRebreak): adjust
4870 (deleteEmptyParagraphMechanism): adjust
4871 (clearPaint): adjust
4874 * text.C (top_y): adjust
4875 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4876 (breakAgain): make it take a RowList::iterator as arg, adjust.
4877 (breakParagraph): adjust
4878 (insertChar): adjust
4881 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4882 need_break_row, and refresh_row.
4884 * text3.C (dispatch): adjust
4886 * text2.C (checkParagraph): adjust
4888 (setCursorFromCoordinates): adjust
4890 * text.C (top_y): adjust
4892 (getRow): make it return a RowList::iterator, adjust
4893 (getRowNearY): make it return a RowList::iterator, adjust
4895 * text2.C (init): adjust
4896 (insertRow): remove function
4897 (insertParagraph): adjust
4898 (redoParagraphs): adjust
4899 (fullRebreak): adjust
4900 (updateCounters): adjust
4902 * text.C (top_y): rewrite to use RowList iterators.
4904 (setHeightOfRow): rewrite to sue RowList iterators.
4905 (appendParagraph): adjust
4906 (breakAgain): adjust
4907 (breakAgainOneRow): adjust
4908 (breakParagraph): adjust
4910 (getRowNearY): adjust, and remove commented code.
4912 * lyxtext.h (firstRow): delete function
4913 (lastRow): delete function
4914 (rows): new function (const and non-const versions.)
4915 (insertRow): delete function
4917 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4919 2003-03-29 John Levon <levon@movementarian.org>
4921 * BufferView_pimpl.C: always update scrollbar top
4922 because pasting text when we're anchored could mean we
4923 miss an update altogether
4925 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * text2.C (init): use rowlist_.end() and not 0.
4928 (insertRow): change to take a RowList::iterator as arg, adjust
4930 (insertParagraph): change to take a RowList::iterator as arg,
4932 (redoParagraphs): remove some debug msgs.
4934 * text.C (appendParagraph): change to take a RowList::iterator
4935 arg, adjust for this.
4936 (breakAgain): add an assert
4937 (breakAgainOneRow): ditto
4939 2003-03-29 John Levon <levon@movementarian.org>
4941 * text2.C: do not clear selection after inc/decDepth
4944 2003-03-29 John Levon <levon@movementarian.org>
4947 * buffer.C: fix broken strerrors according to Lars
4949 2003-03-29 John Levon <levon@movementarian.org>
4951 * converters.C: more Alert cleanups
4953 2003-03-29 John Levon <levon@movementarian.org>
4955 * bufferview_funcs.C: remove pointless Alert
4957 * buffer.C: fix confusing error message when
4958 a template is chmoded 000
4960 2003-03-29 John Levon <levon@movementarian.org>
4964 * BufferView_pimpl.C: Alert fixes
4968 * tabular-old.C: remove unused table compat reading
4970 2003-03-29 John Levon <levon@movementarian.org>
4975 * lyx_cb.C: more Alert cleanups
4977 * lyxfunc.C: don't allow chktex if not latex document
4979 2003-03-29 John Levon <levon@movementarian.org>
4983 * buffer.C: warnings pushed down from support/,
4986 2003-03-29 John Levon <levon@movementarian.org>
4988 * lyxfunc.C: safety check for C-r (revert)
4990 2003-03-29 John Levon <levon@movementarian.org>
4993 * bufferlist.C: several UI fixes using Alert::prompt.
4994 Fix the pointless looping quit code. Fix stupid revert
4999 * lyx_cb.C: use Alert::prompt
5001 * lyx_main.C: remove a silly question
5003 * lyxfunc.C: remove a couple of silly questions,
5006 2003-03-28 John Levon <levon@movementarian.org>
5008 * text2.C: fix bug 974 (End on empty par)
5010 2003-03-28 John Levon <levon@movementarian.org>
5012 * BufferView_pimpl.C:
5014 * lfuns.h: remove do-nothing math greek lfuns
5016 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * lyxgluelength.h (isValidGlueLength): add default arg on
5019 parameter 2. Remove default arg from friend in class.
5021 * lyxlength.h (isValidLength): add default arg on parameter 2.
5022 Remove default arg from friend in class.
5024 * text2.C (LyXText): adjust, initialize refresh_row.
5028 (insertParagraph): adjst
5029 (redoParagraphs): adjust
5030 (fullRebreak): adjust
5031 (updateCounters): adjust
5032 (deleteEmptyParagraphMechanism): first attempt at fixing a
5035 * text.C (top_y): adjust
5036 (setHeightOfRow): adjust
5038 (getRowNearY): adjust
5040 * lyxtext.h: include RowList.h
5041 (~LyXText): not needed anymore, deleted.
5042 (firstRow): modify for RowList
5043 (lastRow): new function
5044 Delete firstrow and lastrow class variables, add a Rowlist
5045 rowlist_ class variable.
5047 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5050 * RowList.C (insert): fix case where it == begin().
5052 2003-03-26 Angus Leeming <leeming@lyx.org>
5054 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5055 the thesaurus dialog.
5057 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5061 * RowList.[Ch]: new files
5063 * ParagraphList.C (erase): handle the case where it == begin
5066 2003-03-25 John Levon <levon@movementarian.org>
5070 * aspell.C: add new aspell support
5073 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5076 2003-03-25 Angus Leeming <leeming@lyx.org>
5079 * LyXAction.C (init): new LFUN_INSET_INSERT.
5081 * BufferView_pimpl.C (dispatch): split out part of the
5082 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5084 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5087 2003-03-25 Angus Leeming <leeming@lyx.org>
5089 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5091 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5094 * text3.C: remove useless row->height(0)
5096 2003-03-25 John Levon <levon@movementarian.org>
5100 * text3.C: rename the refreshing stuff to better names
5102 2003-03-24 John Levon <levon@movementarian.org>
5104 * BufferView_pimpl.h:
5105 * BufferView_pimpl.C: update layout choice on a mouse
5108 2003-03-23 John Levon <levon@movementarian.org>
5110 * Makefile.am: fix commandtags.h reference
5112 2003-03-22 John Levon <levon@movementarian.org>
5114 * BufferView_pimpl.C:
5119 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5121 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5124 * text.C: take the rtl methods out of line
5126 2003-03-21 André Pönitz <poenitz@gmx.net>
5128 * metricsinfo.[Ch]: new files containing structures to be passed around
5129 during the two-phase-drawing...
5131 2003-03-21 André Pönitz <poenitz@gmx.net>
5133 * lyxtextclass.C: read 'environment' tag.
5135 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5137 * text2.C (removeRow): fix bug 964
5139 2003-03-20 John Levon <levon@movementarian.org>
5143 * text2.C: paint cleanups. Inset::update() dropped font
5146 2003-03-19 John Levon <levon@movementarian.org>
5148 * lyxfunc.C: only fitcursor/markDirty if available()
5150 2003-03-19 John Levon <levon@movementarian.org>
5152 * commandtags.h: rename to ...
5154 * lfuns.h: ... this, and renumber / cleanup
5156 2003-03-19 John Levon <levon@movementarian.org>
5158 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5159 fit the cursor after an lfun
5163 * BufferView_pimpl.h:
5164 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5166 * LyXAction.C: layout-character should have ReadOnly
5168 * ParagraphParameters.C:
5170 * bufferview_funcs.C:
5177 * undo_funcs.C: changes from above
5179 2003-03-18 John Levon <levon@movementarian.org>
5181 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5182 remove it from update()
5184 * lyxfunc.C: update layout choice after an lfun
5186 * text3.C: remove extra updateLayoutChoice()s
5188 2003-03-18 John Levon <levon@movementarian.org>
5190 * text.C: top_y change means full repaint, fix
5191 a drawing bug with cursor movement
5193 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5197 * text2.C: anchor row on setCursor
5199 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5201 * lyxtext.h: remove almost all mutable keywords
5204 * text3.C: remove const keywords accordingly
5206 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5210 (TeXEnvironment): ditto
5213 2003-03-17 John Levon <levon@movementarian.org>
5215 * text.C (rowBreakPoint): remove attempt to fix displayed
5216 math insets inside a manual label
5218 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * lyxtext.h: remove BufferView* as first arg from almost all class
5222 * other files: adjust.
5224 2003-03-17 John Levon <levon@movementarian.org>
5228 * text2.C: more paint cleanups
5230 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5233 * rowpainter.C: remove "smart" background painting code
5235 2003-03-16 John Levon <levon@movementarian.org>
5240 * text3.C: add helper functions for setting refresh_row/y
5242 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5244 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5245 newline inset which *can* get inserted in the pass_thru layouts.
5246 This is primarily for literate documents.
5248 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5250 * buffer.C: increment LYX_FORMAT to 223
5252 2003-03-14 André Pönitz <poenitz@gmx.net>
5254 * textclass.h: prepare for environment handling, ws changes
5255 * lyxlayout.C: read latexheader and latexfooter tags
5257 2003-03-14 John Levon <levon@movementarian.org>
5259 * text2.C: rewrite ::status() a bit
5261 2003-03-13 John Levon <levon@movementarian.org>
5263 * lyxtext.h: add some docs
5265 2003-03-13 John Levon <levon@movementarian.org>
5270 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5272 2003-03-13 John Levon <levon@movementarian.org>
5274 * text3.C: fix appendix redrawing
5276 2003-03-13 John Levon <levon@movementarian.org>
5278 * text.C (setHeightOfRow):
5280 * rowpainter.C: make appendix mark have the text
5281 "Appendix" so the user knows what it is
5284 * LColor.C: s/appendixline/appendix/ from above
5286 2003-03-13 John Levon <levon@movementarian.org>
5288 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5290 * text.C: fix a getChar(pos) bug properly
5292 2003-03-13 Angus Leeming <leeming@lyx.org>
5295 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5296 Probably only temporary. Let's see how things pan out.
5298 * BufferView.C (unlockInset):
5299 * BufferView_pimpl.C (fitCursor):
5300 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5302 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5303 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5305 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5306 new functions that convert ParagraphParameters to and from a string.
5308 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5309 BufferView::Pimpl's dispatch.
5310 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5312 2003-03-13 André Pönitz <poenitz@gmx.net>
5316 * factory.C: make it aware of InsetEnv
5318 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * text2.C (setCursor): never ask for one past last
5321 (setCursor): add some debugging messages.
5323 * text.C (singleWidth): never ask for one past last
5324 (singleWidth): ditto
5326 (rightMargin): ditto
5327 (rowBreakPoint): ditto
5328 (setHeightOfRow): ditto
5329 (prepareToPrint): ditto
5331 * rowpainter.C (paintBackground): never ask for one past last
5332 (paintText): never ask for one past last
5334 * paragraph_pimpl.C (getChar): make the assert stricter, never
5335 allow the one past last pos to be taken
5337 * paragraph.C (getChar): ws changes only
5339 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5340 (numberOfSeparators): ditto
5341 (numberOfHfills): ditto
5343 2003-03-12 John Levon <levon@movementarian.org>
5349 * paragraph_funcs.C: fix per-buffer authorlists
5351 2003-03-12 John Levon <levon@movementarian.org>
5353 * text.C: fix newline in right address
5355 2003-03-12 Angus Leeming <leeming@lyx.org>
5357 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5358 duplicate those in LyXFunc::dispatch.
5362 * ToolbarDefaults.C:
5363 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5364 Add LFUN_FONTFREE_UPDATE.
5366 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5367 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5369 * bufferview_func.[Ch]: several new functions to facilliate
5370 transfer of data to and from the character dialog.
5372 2003-03-12 John Levon <levon@movementarian.org>
5377 * paragraph_funcs.C:
5378 * paragraph_pimpl.C:
5382 * text3.C: remove META_NEWLINE in favour of an inset
5385 * rowpainter.C: remove paintNewline (done by inset)
5387 2003-03-12 John Levon <levon@movementarian.org>
5389 * paragraph_pimpl.C: complain about bad getChar()s
5390 for a while at least
5392 2003-03-12 John Levon <levon@movementarian.org>
5395 * buffer.C: move paragraph read into a separate function,
5396 a little renaming to reflect that.
5399 * bufferparams.C: remove the author_ids map, not necessary now
5402 * factory.C: moved Buffer::readInset to here
5404 * paragraph_funcs.h:
5405 * paragraph_funcs.C: readParagraph free function moved from
5408 * tabular.C: name change
5410 2003-03-12 John Levon <levon@movementarian.org>
5413 * ParagraphParameters.C: move par params input to
5416 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5417 behave like a normal read from the stream wrt reading
5418 a line vs. a \\token
5420 2003-03-12 John Levon <levon@movementarian.org>
5423 * ParagraphParameters.h:
5424 * ParagraphParameters.C: move output code to a
5427 2003-03-12 John Levon <levon@movementarian.org>
5429 * BufferView.C (insertLyXFile):
5432 * tabular.C: use a parlist iterator for creating the
5435 2003-03-12 John Levon <levon@movementarian.org>
5437 * buffer.C: make current_change static local not
5440 2003-03-12 John Levon <levon@movementarian.org>
5442 * buffer.C: fix insertStringAsLines for change tracking
5444 2003-03-12 John Levon <levon@movementarian.org>
5451 * bufferparams.C: move author list into params. Rename some
5452 functions. Move the header reading into a separate token
5453 loop. Move the header token reading into BufferParams.
5455 2003-03-12 John Levon <levon@movementarian.org>
5457 * changes.C: put debug inside lyxerr.debugging() checks
5459 2003-03-11 André Pönitz <poenitz@gmx.net>
5461 * factory.C: make it aware of InsetHFill
5463 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5465 * buffer.C (latexParagraphs): move function from here...
5466 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5469 2003-03-10 Angus Leeming <leeming@lyx.org>
5471 * LyXAction.C (init): fix bug in poplating array with multiple entries
5472 with the same LFUN (spotted by JMarc).
5474 2003-03-10 John Levon <levon@movementarian.org>
5477 * text2.C: move getColumnNearX() near its
5480 2003-03-10 John Levon <levon@movementarian.org>
5482 * text.C: fix break before a minipage
5484 2003-03-10 John Levon <levon@movementarian.org>
5486 * text.C: fix the last commit
5488 2003-03-09 John Levon <levon@movementarian.org>
5492 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5493 bug 365 (don't break before insets unless needed). Don't
5494 return a value > last under any circumstances.
5496 2003-03-09 Angus Leeming <leeming@lyx.org>
5498 * BufferView_pimpl.C (trackChanges, dispatch): call
5499 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5501 2003-03-09 Angus Leeming <leeming@lyx.org>
5503 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5504 than Dialogs::showAboutlyx().
5506 2003-03-09 Angus Leeming <leeming@lyx.org>
5508 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5509 than Dialogs::showTabularCreate().
5511 2003-03-09 John Levon <levon@movementarian.org>
5515 * text2.C: 3rd arg to nextBreakPoint was always the same.
5518 2003-03-08 John Levon <levon@movementarian.org>
5525 * text2.C: Remove the "main" bit from the "main body"
5528 2003-03-08 John Levon <levon@movementarian.org>
5530 * text.C (leftMargin): The left margin of an empty
5531 manual label paragraph should not include the label width
5534 * text.C (prepareToPrint): don't attempt to measure hfills
5535 for empty manual label paragraphs - the answer should be 0
5537 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * CutAndPaste.C: remove commented code and reindent.
5541 2003-03-08 John Levon <levon@movementarian.org>
5544 * lyxfunc.C: move reloadBuffer()
5547 * BufferView.C: to here
5549 * lyxvc.C: add comment
5552 * vc-backend.C: call bv->reload() to avoid
5553 getStatus() check on MENURELOAD
5555 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5557 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5558 to an old format .dep file.
5560 2003-03-07 Angus Leeming <leeming@lyx.org>
5562 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5563 when the LFUN_MOUSE_RELEASE should have been handled by
5564 inset->localDispatch.
5566 2003-03-07 Angus Leeming <leeming@lyx.org>
5568 * BufferView_pimpl.C (dispatch):
5569 * LyXAction.C (init):
5570 * ToolbarDefaults.C (init):
5572 * lyxfunc.C (getStatus):
5573 remove LFUN_INSET_GRAPHICS.
5575 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5577 2003-03-07 Angus Leeming <leeming@lyx.org>
5580 * LyXAction.C (init):
5581 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5583 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5586 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5588 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5589 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5591 2003-03-07 Angus Leeming <leeming@lyx.org>
5593 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5596 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * ParagraphList.C (front): new function
5601 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5603 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5604 and top_row_offset_. removed var first_y.
5606 * text2.C (LyXText, removeRow):
5608 * BufferView_pimpl.C:
5609 use these methods instead of using first_y
5611 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * text2.C (pasteSelection): adjust for checkPastePossible
5615 * CutAndPaste.C: remove Paragraph * buf and replace with
5616 ParagraphList paragraphs.
5617 (DeleteBuffer): delete
5618 (cutSelection): change the tc type to textclass_type
5619 (copySelection): change the tc type to textclass_type
5620 (copySelection): adjust for ParagraphList
5621 (pasteSelection): change the tc type to textclass_type
5622 (pasteSelection): adjust for Paragraphlist
5623 (nrOfParagraphs): simplify for ParagraphList
5624 (checkPastePossible): simplify for ParagraphList
5625 (checkPastePossible): remove unused arg
5627 * ParagraphList.C (insert): handle the case where there are no
5630 * CutAndPaste.h: make CutAndPaste a namespace.
5632 * text3.C (dispatch): adjust
5634 * text.C (breakParagraph): add a ParagraphList as arg
5636 * paragraph_funcs.C (breakParagraph): change to take a
5637 BufferParams and a ParagraphList as args.
5638 (breakParagraphConservative): ditto
5639 (mergeParagraph): ditto
5640 (TeXDeeper): add a ParagraphList arg
5641 (TeXEnvironment): ditto
5644 * buffer.C (readLyXformat2): adjust
5645 (insertStringAsLines): adjust
5646 (latexParagraphs): adjust
5648 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5649 (cutSelection): adjust
5650 (pasteSelection): adjust
5652 * BufferView_pimpl.C (insertInset): adjust
5654 2003-03-05 Angus Leeming <leeming@lyx.org>
5657 * LyXAction.C (init):
5658 * BufferView_pimpl.C (dispatch):
5659 * lyxfunc.C (getStatus):
5660 remove LFUN_CHILD_INSERT.
5662 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5664 2003-03-05 Angus Leeming <leeming@lyx.org>
5667 * LyXAction.C (init):
5668 * src/factory.C (createInset):
5669 * lyxfunc.C (getStatus):
5670 * text3.C (dispatch):
5671 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5673 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5675 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * ParagraphList.C (insert): handle insert right before end()
5678 (erase): fix cases where it can be first or last paragraph.
5680 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5683 Paragraph::next and Paragraph::previous
5686 * text.C (breakParagraph): adjust
5688 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5689 BufferParams& as arg.
5690 (breakParagraph): use ParagraphList::insert
5691 (breakParagraphConservative): take a Buffer* instead of a
5692 BufferParams& as arg.
5693 (breakParagraphConservative): use ParagraphList::insert.
5695 * buffer.C (insertStringAsLines): un-const it
5696 (insertStringAsLines): adjust
5698 * ParagraphList.C (insert): new function
5700 * CutAndPaste.C (pasteSelection): adjust
5702 * text.C (backspace): adjust
5704 * tabular.C (SetMultiColumn): adjust
5706 * CutAndPaste.C (cutSelection): adjust
5707 (pasteSelection): adjust
5709 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5710 Buffer const * as arg
5712 * ParagraphList.C (erase): new function
5713 * paragraph_funcs.C (mergeParagraph): use it
5714 (mergeParagraph): make it take a Buffer* instead of a
5715 BufferParams* as arg
5717 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5719 (breakParagraphConservative): ditto
5721 * paragraph.h: remove the breakParagraph friend
5723 * paragraph.C (eraseIntern): new function
5724 (setChange): new function
5726 * paragraph_funcs.C (mergeParagraph): make it take a
5727 ParagraphList::iterator instead of a Paragraph *, adjust
5730 * paragraph.h: move an #endif so that the change tracking stuff
5731 also works in the NO_NEXT case.
5733 2003-03-04 Angus Leeming <leeming@lyx.org>
5736 * LyXAction.C: new LFUN_INSET_MODIFY.
5738 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5739 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5741 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * several files: ws changes only
5745 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5746 (TeXEnvironment): ditto
5749 * buffer.C (makeLaTeXFile): adjust
5750 (latexParagraphs): make it take ParagraphList::iterator as args
5752 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5754 * buffer.C (latexParagraphs): adjust
5756 * paragraph.C (TeXOnePar): move function...
5757 (optArgInset): move function...
5758 (TeXEnvironment): move function...
5759 * paragraph_pimpl.C (TeXDeeper): move function...
5760 * paragraph_funcs.C: ...here
5762 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5764 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5766 * buffer.C (readInset): remove compability code for old Figure and
5769 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5771 * buffer.C: ws changes
5774 * BufferView_pimpl.C: ditto
5777 * bufferlist.h: ditto
5781 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5783 * converter.[Ch]: split into itself +
5786 * Makefile.am: += graph.[Ch] + format.[Ch]
5793 * lyxrc.C: added #include "format.h"
5795 2003-02-27 Angus Leeming <leeming@lyx.org>
5797 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5800 * factory.C (createInset): add "label" to the factory.
5802 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5803 string and do no more.
5805 2003-02-27 Angus Leeming <leeming@lyx.org>
5808 * LyXAction.C (init):
5809 * factory.C (createInset):
5810 * BufferView_pimpl.C (dispatch):
5811 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5813 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5815 * lyxfunc.C (dispatch):
5816 * text3.C (dispatch): pass name to params2string.
5818 2003-02-26 Angus Leeming <leeming@lyx.org>
5820 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5822 Rearrange the ~includes. Strip out the unnecessary ones.
5824 * factory.C (createInset): reformat.
5825 create new insets for the various LFUN_XYZ_APPLY lfuns.
5827 2003-02-26 John Levon <levon@movementarian.org>
5830 * lyxrow.C: add isParStart,isParEnd helpers
5832 * paragraph.h: make isInserted/DeletedText take refs
5834 * paragraph_funcs.h:
5835 * paragraph_funcs.C: remove #if 0'd code
5840 * text.C: use lyxrow helpers above.
5841 Move draw and paint routines to RowPainter.
5842 Make several methods use refs not pointers.
5843 Make backgroundColor() const.
5844 Add markChangeInDraw(), isInInset().
5845 Merge changeRegionCase into changeCase.
5846 Make workWidth() shouldn't-happen code into an Assert.
5849 * rowpainter.C: new class for painting a row.
5852 * vspace.C: make inPixels take a ref
5854 2003-02-26 Angus Leeming <leeming@lyx.org>
5856 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5859 2003-02-25 John Levon <levon@movementarian.org>
5861 * ispell.C: give the forked command a more accurate name
5863 2003-02-22 John Levon <levon@movementarian.org>
5866 * toc.C: make TocItem store an id not a Paragraph *
5869 2003-02-21 Angus Leeming <leeming@lyx.org>
5871 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5872 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5873 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5874 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5875 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5876 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5878 * BufferView_pimpl.C (dispatch):
5879 * LyXAction.C (init):
5880 * factory.C (createInset):
5881 * lyxfunc.C (getStatus, dispatch):
5882 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5884 2003-02-21 Angus Leeming <leeming@lyx.org>
5886 * BufferView_pimpl.C (MenuInsertLyXFile):
5887 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5888 * lyxfunc.C (menuNew, open, doImport):
5889 no longer pass a LyXView & to fileDlg.
5891 2003-02-21 Angus Leeming <leeming@lyx.org>
5893 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5894 * LyXAction.C: change, BIBKEY to BIBITEM.
5895 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5896 Change InsetBibKey to InsetBibitem.
5897 Change BIBKEY_CODE to BIBITEM_CODE.
5898 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5899 * factory.C: replace insetbib.h with insetbibitem.h.
5900 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5901 * paragraph.C: replace insetbib.h with insetbibitem.h.
5902 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5903 Change bibkey() to bibitem().
5904 * text.C: remove insetbib.h.
5905 * text2.C: replace insetbib.h with insetbibitem.h.
5906 change bibkey() to bibitem().
5907 * text3.C: remove insetbib.h.
5908 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5910 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5912 * lyxrc.C (output): enclose user email in quotes (in case there are
5915 2003-02-18 John Levon <levon@movementarian.org>
5917 * buffer.h: add std::
5919 2003-02-17 John Levon <levon@movementarian.org>
5925 * pspell.C: reworking. Especially in ispell, a large
5926 number of clean ups and bug fixes.
5928 * lyxfunc.C: fix revert to behave sensibly
5930 2003-02-17 André Pönitz <poenitz@gmx.net>
5933 * commandtags.h: new LFUN_INSERT_BIBKEY
5943 * paragraph_func.C: remove special bibkey handling
5945 2003-02-17 John Levon <levon@movementarian.org>
5947 * text.C (Delete): fix case where delete at the end of
5948 the very first paragraph would not merge the pars
5950 2003-02-17 John Levon <levon@movementarian.org>
5952 * lyxrow.C: fix lastPrintablePos()
5954 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5956 * bufferparams.C (writeLaTeX): add a std:here
5958 * buffer.C: and remove a using directive there
5960 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5962 * buffer.C (makeLaTeXFile): move the code that generates the
5965 * bufferparams.C (writeLaTeX): ... in this new method
5967 * LaTeXFeatures.C (getEncodingSet): make const
5968 (getLanguages): make const
5970 * MenuBackend.C (binding): returns the binding associated to this
5972 (add): sets the status of each item by calling getStatus. Adds
5974 (read): add support for OptSubMenu
5975 (expand): remove extra separator at the end of expanded menu
5977 2003-02-15 John Levon <levon@movementarian.org>
5980 * BufferView_pimpl.C:
5982 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5983 inset code that had no actual effect. Remove unneeded status
5986 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5988 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5991 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5993 * text.C (drawLengthMarker): also draw an arrow marker for
5994 symbolic lengths (medskip...)
5996 2003-02-14 John Levon <levon@movementarian.org>
5999 * tabular.C: better method names
6001 2003-02-14 John Levon <levon@movementarian.org>
6003 * BufferView_pimpl.C:
6008 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6009 it's a more accurate name. Remove some pointless uses.
6011 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6013 * text2.C (LyXText): change order of initilizers to shut off
6016 2003-02-14 John Levon <levon@movementarian.org>
6018 * buffer.C: use ParIterator for getParFromID()
6022 * paragraph_pimpl.h:
6023 * paragraph_pimpl.C: remove unused getParFromID()
6025 2003-02-14 John Levon <levon@movementarian.org>
6027 * buffer.C: remove some very old #if 0'd parse code
6029 2003-02-13 John Levon <levon@movementarian.org>
6033 * text2.C: move hfillExpansion(), numberOfSeparators(),
6034 rowLast(), rowLastPrintable(), numberofHfills(),
6035 numberOfLabelHfills() ...
6038 * lyxrow.C: ... to member functions here.
6043 * text.C: remove LyXText::beginningOfMainBody(), and call
6044 p->beginningOfMainBody() directly. Move the check for
6045 LABEL_MANUAL into the latter.
6052 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6058 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6059 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6061 2003-02-13 John Levon <levon@movementarian.org>
6063 * CutAndPaste.C: remove debug
6065 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6067 * paragraph.C (asString): remove two unused variables
6069 * lyxtextclass.C (readTitleType):
6071 (LyXTextClass): handle new members titletype_ and titlename_
6073 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6075 2003-02-09 John Levon <levon@movementarian.org>
6078 * buffer.C: replace hand-coded list with a map for the dep clean
6080 2003-02-08 John Levon <levon@movementarian.org>
6082 * LaTeX.C: consolidate code into showRunMessage() helper
6084 2003-02-08 John Levon <levon@movementarian.org>
6089 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6090 and pass the size in explicitly
6092 * BufferView_pimpl.h:
6093 * BufferView_pimpl.C:
6095 * BufferView.C: add getCurrentChange()
6097 * BufferView_pimpl.h:
6098 * BufferView_pimpl.C: handle change lfuns
6100 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6101 for changes. Mark pasted paragraphs as new.
6103 * support/lyxtime.h:
6104 * support/lyxtime.C:
6105 * DepTable.C: abstract time_t as lyx::time_type
6108 * LColor.C: add colours for new text, deleted text, changebars
6110 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6111 package use "usenames" option.
6115 * LyXAction.C: add change lfuns
6119 * author.C: author handling
6122 * buffer.C: add a per-buffer author list, with first entry as
6123 current author. Handle new .lyx tokens for change tracking. Output
6124 author list to .lyx file. Output dvipost stuff to .tex preamble.
6125 Bump lyx format to 222.
6128 * bufferlist.C: add setCurrentAuthor() to reset current author details
6132 * bufferparams.C: add param for tracking
6134 * bufferview_funcs.C: output change info in minibuffer
6138 * changes.C: add change-tracking structure
6141 * debug.C: add CHANGES debug flag
6144 * lyxfind.C: add code for finding the next change piece
6147 * lyxrc.C: add user_name and user_email
6150 * lyxrow.C: add a metric for the top of the text line
6153 * text.C: implement accept/rejectChange()
6156 * text.C: paint changebars. Paint new/deleted text in the chosen
6157 colours. Strike through deleted text.
6161 * paragraph_pimpl.h:
6162 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6163 in the current change to the insert functions. Rework erase to
6164 mark text as deleted, adding an eraseIntern() and a range-based
6165 erase(). Implement per-paragraph change lookup and
6168 * paragraph_funcs.C: Fixup paste for change tracking.
6170 * tabular.C: mark added row/columns as new.
6172 * text.C: fix rowLast() to never return -1. Don't allow
6173 spellchecking of deleted text. Track transpose changes. Don't
6174 allow paragraph break or merge where appropriate.
6176 * text2.C: leave cursor at end of selection after a cut.
6178 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6180 * text.C (getLengthMarkerHeight):
6181 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6182 visible on screen too.
6184 2003-02-07 John Levon <levon@movementarian.org>
6186 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6188 2003-02-05 Angus Leeming <leeming@lyx.org>
6190 * lyxserver.C (read_ready): revert my patch of 11 September last year
6191 as it sends PC cpu through the roof. Presumably this means that
6192 the lyxserver will no longer run on an Alpha...
6194 2003-01-30 Angus Leeming <leeming@lyx.org>
6196 * factory.C (createInset): create an InsetCommandParam of type "index"
6197 and use it to 'do the right thing'.
6199 * text2.C (getStringToIndex): ensure that cursor position is always
6200 reset to the reset_cursor position.
6202 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6204 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6207 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6211 * lyxfunc.C: Output messages with identical spelling, punctuation,
6214 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6216 * MenuBackend.C (expandFormats): List only viewable export formats
6219 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6222 * lyxfunc.C (getStatus): Make sure that formats other than
6223 "fax" can also be disabled
6225 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6227 * text3.C (dispatch): put the lfuns that insert insets in 3
6228 groups, and call doInsertInset with appropriate arguments.
6229 (doInsertInset): new function, that creates an inset and inserts
6230 it according to some boolean parameters.
6232 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6234 * buffer.C (readFile): remember to pass on 'par' when calling
6235 readFile recursively.
6237 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6239 * MenuBackend.C (expandFormats): add "..." to import formats.
6241 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6243 * paragraph.C (asString): Remove XForms RTL hacks.
6245 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6246 * buffer.C: fix typo
6248 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6250 * Makefile.am (LIBS): delete var
6251 (lyx_LDADD): add @LIBS@ here instead.
6253 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6255 * Clarify the meaning of "wheel mouse jump"
6257 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6259 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6262 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6264 * importer.C (Loaders): do not preallocate 3 elements in the
6265 vector, since one ends up with 6 elements otherwise
6267 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6269 * DepTable.C (write): write the file name as last element of the
6270 .dep file (because it may contain spaces)
6271 (read): read info in the right order
6273 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6275 * paragraph_pimpl.C (simpleTeXBlanks):
6276 (simpleTeXSpecialChars):
6277 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6279 * tabular.C (latex): add some missing case statements. Reindent.
6281 * MenuBackend.C (expandToc): remove unused variable.
6283 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6292 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6295 2003-01-05 John Levon <levon@movementarian.org>
6298 * BufferView.C: add getEncoding()
6301 * kbsequence.C: do not store last keypress
6304 * lyxfunc.C: store last keypress here instead. Pass encoding
6307 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6309 * lyx_main.C (init): remove annoying error message when following
6310 symbolic links (bug #780)
6312 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6314 * text.C (insertChar):
6315 * lyxrc.C (getDescription): remove extra spaces
6317 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6319 * lyxrc.C (getDescription): remove extra spaces
6321 2002-12-20 John Levon <levon@movementarian.org>
6323 * text3.C: hack fix for page up/down across tall rows
6325 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6327 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6330 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6332 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6333 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6334 thesaurus is not compiled in
6336 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6338 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6340 2002-12-16 Angus Leeming <leeming@lyx.org>
6343 * lyx_main.C (init): remove override_x_deadkeys stuff.
6345 2002-12-12 John Levon <levon@movementarian.org>
6347 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6348 insert. Only remove shift modifier under strict
6351 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * MenuBackend.C (expandToc): fix crash.
6355 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * MenuBackend.C (expandToc): gettext on float names.
6359 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6361 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6362 implement bool empty() [bug 490]
6364 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6368 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6370 * several files: ws changes
6372 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * text2.C (setCounter): clean up a bit, use boost.format.
6375 (updateCounters): initialize par upon declaration.
6377 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6378 if the layout exists. We do not just store the layout any more.
6379 (SwitchLayoutsBetweenClasses): use boost.format
6381 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6383 * converter.C (convert): if from and to files are the same, use a
6384 temporary files as intermediary
6386 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6389 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6391 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6393 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6395 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * tabular.C (asciiPrintCell): use string(size, char) instead of
6400 * sgml.C (openTag): fix order of arguments to string constructor
6403 * lyxfunc.C (dispatch): use boost.format
6405 * lots of files: change "c" -> 'c'
6407 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6409 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6411 2002-11-25 Angus Leeming <leeming@lyx.org>
6413 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6415 * lyx_main.C (init): compile fix.
6417 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * lyx_cb.C (start): boost.formatify
6420 do not include <iostream>
6422 * lengthcommon.C: ws only
6424 * boost-inst.C,BoostFormat.h: add more explict instantations
6426 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * lots of files: handle USE_BOOST_FORMAT
6430 2002-11-21 John Levon <levon@movementarian.org>
6432 * pspell.C: fix compile
6434 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6436 * lyxfunc.C (dispatch): use boost::format
6440 * lyxfont.C (stateText): use boost::format
6442 * lyx_main.C (LyX): use boost::format
6444 (queryUserLyXDir): ditto
6447 (typedef boost::function): use the recommened syntax.
6449 * importer.C (Import): use boost::format
6451 * debug.C (showLevel): use boost::format
6453 * converter.C (view): use boost::format
6458 * bufferview_funcs.C (currentState): use boost::format
6460 * bufferlist.C (emergencyWrite): use boost::format
6462 * buffer.C (readLyXformat2): use boost::format
6463 (parseSingleLyXformat2Token): ditto
6465 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6467 * LaTeX.C (run): use boost::format
6469 * Chktex.C (scanLogFile): use boost::format
6471 * BufferView_pimpl.C (savePosition): use boost::format
6472 (restorePosition): ditto
6473 (MenuInsertLyXFile): ditto
6475 * BoostFormat.h: help file for explicit instation.
6477 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6479 * tabular.C (latex): Support for block alignment in fixed width
6482 2002-11-17 John Levon <levon@movementarian.org>
6484 * BufferView_pimpl.C:
6486 * lyxfunc.C: split filedialog into open/save
6488 2002-11-08 Juergen Vigna <jug@sad.it>
6490 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6491 by my last patch (hopefully).
6493 2002-11-08 John Levon <levon@movementarian.org>
6502 * toc.C: ParConstIterator, and use it (from Lars)
6504 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6506 * lyxtextclass.[Ch]: revise and add doxygen comments
6508 2002-11-07 John Levon <levon@movementarian.org>
6510 * text.C: fix progress value for spellchecker
6512 * toc.C: fix navigate menu for insetwrap inside minipage
6514 * paragraph_funcs.C: added FIXME for suspect code
6516 2002-11-07 John Levon <levon@movementarian.org>
6518 * BufferView_pimpl.C: fix redrawing of insets
6521 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * text2.C (updateCounters): fix bug 668
6525 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6527 * text3.C (dispatch): Do not make the buffer dirty when moving the
6530 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * vc-backend.C: STRCONV
6535 * text2.C (setCounter): STRCONV
6537 * paragraph.C (asString): STRCONV
6539 * lyxlength.C (asString): STRCONV
6540 (asLatexString): ditto
6542 * lyxgluelength.C (asString): STRCONV
6543 (asLatexString): ditto
6545 * lyxfunc.C (dispatch): STRCONV
6548 * lyxfont.C (stateText): STRCONV
6550 * importer.C (Import): STRCONV
6552 * counters.C (labelItem): STRCONV
6553 (numberLabel): ditto
6554 (numberLabel): remove unused ostringstream o
6559 * bufferview_funcs.C (currentState): STRCONV
6561 * buffer.C (readFile): STRCONV
6562 (asciiParagraph): ditto
6563 (makeLaTeXFile): ditto
6565 * Spacing.C (writeEnvirBegin): STRCONV
6567 * LaTeXFeatures.C (getLanguages): STRCONV
6568 (getPackages): ditto
6570 (getBabelOptions): ditto
6571 (getTClassPreamble): ditto
6572 (getLyXSGMLEntities): ditto
6573 (getIncludedFiles): ditto
6577 (scanAuxFile): ditto
6580 * LString.h: add the STRCONV macros
6582 * BufferView_pimpl.C (savePosition): STRCONV
6583 (restorePosition): ditto
6584 (MenuInsertLyXFile): ditto
6586 * vc-backend.C (scanMaster): change from submatch[...] to
6589 * funcrequest.C: include config.h
6591 * factory.C: include config.h
6593 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6595 * box.C: include config.h
6597 * LaTeX.C (scanAuxFile): change from submatch[...] to
6601 2002-10-25 Angus Leeming <leeming@lyx.org>
6603 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6605 * ispell.[Ch] (setError): new method.
6606 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6607 Use setError() insetead of goto END.
6609 * lyx_cb.C (AutoSave): move out child process into new class
6612 2002-10-30 John Levon <levon@movementarian.org>
6614 * text3.C: make start appendix undoable
6616 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6618 * lyxlength.C (inPixels): Fix returned value.
6620 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6623 2002-10-24 Angus Leeming <leeming@lyx.org>
6625 * lyxgluelength.h: no need to forward declare BufferParams
6626 or BufferView, so don't.
6628 2002-10-21 John Levon <levon@movementarian.org>
6630 * BufferView.C: menuUndo ->undo, redo
6632 * BufferView.h: document, remove dead, make some methods private
6634 * paragraph_funcs.h:
6635 * paragraph_funcs.C:
6636 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6641 * sgml.C: move sgml open/close tag into sgml.C
6643 * bufferview_funcs.h: unused prototype
6646 * lyxfunc.C: remove unused
6649 * text.C: remove unused
6651 2002-10-21 John Levon <levon@movementarian.org>
6655 * BufferView_pimpl.h:
6656 * BufferView_pimpl.C: fix mouse wheel handling based on
6657 patch from Darren Freeman
6659 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6661 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6663 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6665 * lyxlength.C (inPixels): Fix hanfling of negative length.
6666 Fix LyXLength::MU case.
6668 2002-10-16 John Levon <levon@movementarian.org>
6670 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6672 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6674 * converter.C (view): add support for $$i (file name) and $$p
6675 (file path) for the viewer command. If $$i is not specified, then
6676 it is appended to the command (for compatibility with old syntax)
6678 2002-10-14 Juergen Vigna <jug@sad.it>
6680 * undo_funcs.C (textHandleUndo): alter the order in which the
6681 new undopar is added to the LyXText, as we have to set first
6682 the right prev/next and then add it as otherwise the rebuild of
6683 LyXText is not correct. Also reset the cursor to the right paragraph,
6684 with this IMO we could remove the hack in "redoParagraphs()".
6686 2002-10-09 Angus Leeming <leeming@lyx.org>
6688 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6689 to turn off an optimisation if a new inset is to be inserted.
6691 2002-10-11 André Pönitz <poenitz@gmx.net>
6693 * lyxtext.h: make some functions public to allow access
6694 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6696 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6698 * text3.C (dispatch): when changing layout, avoid an infinite loop
6701 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6703 * lyxrc.C (read): treat a viewer or converter command of "none" as
6706 * MenuBackend.C (expandFormats): for an update, also allow the
6707 formats that are not viewable
6709 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6710 script if it is newer than the lyxrc.defaults in user directory
6712 2002-10-07 André Pönitz <poenitz@gmx.net>
6714 * text.C: Vitaly Lipatov's small i18n fix
6716 2002-09-25 Angus Leeming <leeming@lyx.org>
6718 * ispell.h: doxygen fix.
6720 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6722 * buffer.h (readFile): Add a new argument to the method, to allow
6723 reading of old-format templates.
6725 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6727 * toc.C (getTocList): Get TOC from InsetWrap.
6729 2002-09-16 John Levon <levon@movementarian.org>
6731 * lyxfunc.C: check tabular for cut/copy too
6733 2002-09-12 John Levon <levon@movementarian.org>
6738 * factory.C: add header
6740 * paragraph_funcs.h:
6741 * paragraph_funcs.C: cleanup
6743 2002-09-11 John Levon <levon@movementarian.org>
6745 * PrinterParams.h: odd/even default to true
6747 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6749 * PrinterParams.h: update printer parameters for new xforms dialog
6751 2002-09-11 Angus Leeming <leeming@lyx.org>
6753 * lyxserver.C (read_ready): re-write to make it more transparent
6754 and to make it work in coherent fashion under Tru64 Unix.
6756 2002-09-11 André Pönitz <poenitz@gmx.net>
6760 * text3.C: implement LFUN_WORDSEL
6762 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6764 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6765 make floatlist_ a boost::shared_ptr<FloatList>
6767 * lyxtextclass.C: include FloatList.h
6768 (LyXTextClass): initialize floatlist_
6769 (TextClassTags): add TC_NOFLOAT
6770 (Read): match "nofloat" to TC_NOFLOAT and use it.
6771 (readFloat): modify call to floatlist_
6775 * FloatList.[Ch] (FloatList): remove commented out float
6777 (erase): new function
6779 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6781 * MenuBackend.C (expandToc): fix crash when there is no document
6784 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6786 * many files: Add insetwrap.
6788 2002-09-09 John Levon <levon@movementarian.org>
6790 * text2.C: remove confusing and awkward depth wraparound
6792 2002-09-09 John Levon <levon@movementarian.org>
6794 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6797 * buffer.C: remove getIncludeonlyList()
6800 * lyxfunc.C: remove headers
6802 2002-09-09 Juergen Vigna <jug@sad.it>
6804 * text.C (getColumnNearX): fix form Michael this is most
6805 probably a cut&paste bug.
6807 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6811 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6812 references, ws changes.
6814 * text2.C (init): update counters after init
6815 (insertParagraph): no need to set counter on idividual paragraphs.
6816 (setCounter): access the counters object in the textclass object
6817 on in the buffer object.
6818 (updateCounters): ditto
6820 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6821 shared_ptr<Counters> to avoid loading counters.h in all
6823 (LyXTextClass): initialize ctrs_
6824 (TextClassTags): add TC_COUNTER, and ...
6825 (Read): use it here.
6826 (CounterTags): new tags
6827 (readCounter): new function
6828 (counters): new funtion
6829 (defaultLayoutName): return a const reference
6831 * counters.C (Counters): remove contructor
6832 (newCounter): remove a couple of unneeded statements.
6833 (newCounter): simplify a bit.
6834 (numberLabel): some small formatting changes.
6836 * buffer.[Ch]: remove all traces of counters, move the Counters
6837 object to the LyXTextClass.
6839 2002-09-06 Alain Castera <castera@in2p3.fr>
6841 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6842 package to set the horizontal alignment on fixed width columns.
6845 * lyx_sty.h: added tabularnewline macro def.
6847 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6849 2002-09-06 John Levon <levon@movementarian.org>
6851 * LyXAction.C: tooltips for sub/superscript
6853 * MenuBackend.C: a bit more verbose
6855 * lyxfunc.C: tiny clean
6857 * undo_funcs.C: document undo_frozen
6859 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * counters.C (Counters): add missing algorithm counter.
6863 * text2.C (setCounter): lookup the counter with layouts latexname
6864 instead of by section number.
6865 (setCounter): use a hackish way to lookup the correct enum
6867 a float name->type change
6868 reset enum couners with counter name directly instead of depth value.
6870 * counters.C (Counters): remove the push_backs, change to use the
6871 float type not the float name.
6872 (labelItem): remove unused string, float name->type change
6874 * counters.h: don't include vector, loose the enums and sects vectors
6876 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6878 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6879 (Read): add float->TC_FLOAT to textclassTags
6880 (Read): and handle it in the switch
6881 (readFloat): new function
6883 * FloatList.C (FloatList): comment out the hardcoded float
6886 * lyxlayout.h: ws change.
6888 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6890 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6892 2002-09-03 Angus Leeming <leeming@lyx.org>
6894 * BufferView_pimpl.h: qualified name is not allowed in member
6895 declaration: WorkArea & Pimpl::workarea() const;
6897 * factory.C: added using std::endl directive.
6899 * text3.C: added using std::find and std::vector directives.
6901 2002-08-29 André Pönitz <poenitz@gmx.net>
6904 * text2.C: remove unused member number_of_rows
6907 * BufferView2.C: remove file, move contents to...
6908 * BufferView.C: ... here
6910 * BufferView_pimpl.C:
6911 * factory.C: move more inset creation to factory
6913 * vspace.C: avoid direct usage of LyXText, ws changes
6916 don't provide direct access to WorkArea, use two simple
6917 acessors haveSelction() and workHeight() instead
6920 2002-08-29 John Levon <levon@movementarian.org>
6922 * BufferView_pimpl.C (dispatch): do not continue when
6925 2002-08-28 André Pönitz <poenitz@gmx.net>
6927 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6930 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6932 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6934 * buffer.C: increment LYX_FORMAT to 221
6936 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6937 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6939 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6941 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6943 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6945 * factory.C (createInset): use LyXTextClass::floats
6947 * MenuBackend.C (expandFloatListInsert):
6948 (expandFloatInsert):
6951 * text2.C (setCounter):
6953 * LaTeXFeatures.C (useFloat):
6954 (getFloatDefinitions):
6956 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6958 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6959 floatlist_, with accessor floats().
6961 * FloatList.h: remove global FloatList
6963 2002-08-26 André Pönitz <poenitz@gmx.net>
6965 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6969 * BufferView_pimpl.C:
6970 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6972 2002-08-25 John Levon <levon@movementarian.org>
6974 * LyXAction.C: fix margin note description
6976 2002-08-24 John Levon <levon@movementarian.org>
6980 * bufferview_funcs.C:
6982 * undo_funcs.C: cleanups
6984 * lyxfunc.C: disable CUT/COPY when no selection
6986 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6988 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6989 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6991 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6992 Add backward compatibility to "mono", "gray" and "no".
6994 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6996 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6997 (and file_format >= 200).
6999 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7001 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7003 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7005 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7007 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7009 * BufferView_pimpl.C:
7016 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7017 inset and code to make it work with the paragraph code. The inset
7018 can be anywhere in the paragraph, but will only do the expected
7019 thing in LaTeX if the layout file contains the parameter line
7021 (or more generally, a nonzero value) for that layout.
7023 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7025 * paragraph.h: remove the declaration of undefined counters class
7028 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7030 * text2.C (setCounter): fixed enumeration mis-count as reported by
7031 Dr. Richard Hawkins.
7033 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7035 * paragraph_funcs.h: remove some unneeded includes
7037 * text.C (backspace): pasteParagraph now in global scipe
7039 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7040 (pasteSelection): ditto
7042 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7043 * paragraph_funcs.C (pasteParagraph): ... here
7045 2002-08-20 André Pönitz <poenitz@gmx.net>
7047 * commandtags.h: new LFUNs for swapping/copying table row/colums
7050 * lyxfunc.C: support for new lfuns
7052 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7055 * buffer.[Ch]: remove NO_COMPABILITY stuff
7057 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * boost.C (throw_exception): new file, with helper function for
7060 boost compiled without exceptions.
7065 * ParameterStruct.h:
7066 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7068 * bufferlist.C (emergencyWriteAll): use boost bind
7070 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7072 * text.C: include paragraph_funcs.h
7073 (breakParagraph): breakParagraph is now in global scope
7075 * paragraph_funcs.[Ch]: new files
7077 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7080 * buffer.C: include paragraph_funcs.h
7081 (insertStringAsLines): breakParagraph is now in global scope
7083 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7086 * CutAndPaste.C: include paragraph_funcs.h
7087 (cutSelection): breakParagraphConservative is now in global scope
7088 (pasteSelection): ditto
7090 * buffer.h: declare oprator== and operator!= for
7091 Buffer::inset_iterator
7093 * bufferlist.C (emergencyWrite): don't use fmt(...)
7095 * text3.C: add using std::endl
7097 * BufferView.C (moveCursorUpdate): remove default arg
7099 2002-08-20 André Pönitz <poenitz@gmx.net>
7101 * buffer.[Ch]: move inline functions to .C
7104 * BufferView_pimpl.C:
7106 * buffer.[Ch]: use improved inset_iterator
7109 * paragraph.[Ch]: write one paragraph at a time
7111 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7113 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7114 style if style is not specified.
7116 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7118 * text2.C (setCounter): when searching for right label for a
7119 caption, make sure to recurse to parent insets (so that a caption
7120 in a minipage in a figure float works) (bug #568)
7122 2002-08-20 André Pönitz <poenitz@gmx.net>
7124 * text3.C: new file for LyXText::dispatch() and helpers
7126 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7128 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7130 2002-08-19 André Pönitz <poenitz@gmx.net>
7133 * text.C: new LyXText::dispatch()
7135 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7137 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7139 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7141 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7144 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7146 * Makefile.am: use $(variables) instead of @substitutions@
7148 2002-08-15 André Pönitz <poenitz@gmx.net>
7151 * BufferView_pimpl.C: streamlining mathed <-> outer world
7155 * LyXAction.C: remove unused LFUN_MATH
7157 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7161 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * paragraph.C (Paragraph): reformat a bit
7164 (cutIntoMinibuffer): use builtin InsetList function instad of
7168 * buffer.C: include boost/bind.hpp, add using std::for_each
7169 (writeFileAscii): use ParagraphList iterators
7170 (validate): use for_each for validate traversal of paragraphs
7171 (getBibkeyList): use ParagraphList iterators
7172 (resizeInsets): use for_each to resizeInsetsLyXText for all
7174 (getParFromID): use ParagraphList iterators
7176 * BufferView2.C (lockInset): use paragraph list and iterators
7178 2002-08-14 John Levon <levon@movementarian.org>
7180 * lyxserver.C: remove spurious xforms include
7182 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7184 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7186 2002-08-13 André Pönitz <poenitz@gmx.net>
7189 * lyxfunc.C: further cleaning
7191 2002-08-13 André Pönitz <poenitz@gmx.net>
7193 * funcrequest.h: new constructor
7195 * funcrequest.C: move stuff here from .h
7198 * BufferView_pimpl.C:
7201 * lyxfunc.C: subsequent changes
7203 * lyxfunc.h: new view() member function
7205 * lyxfunc.C: subsequent changes
7207 2002-08-13 Angus Leeming <leeming@lyx.org>
7210 * BufferView_pimpl.C:
7218 changes due to the changed LyXView interface that now returns references
7219 to member variables not pointers.
7221 2002-08-13 Angus Leeming <leeming@lyx.org>
7223 * WordLangTuple (word, lang_code): return references to strings,
7228 * lyxtext.h: forward-declare WordLangTuple.
7233 * text.C: #include "WordLangTuple.h".
7236 * text.C: (selectNextWordToSpellcheck): constify return type.
7238 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7244 * paragraph_pimpl.h:
7247 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7249 Made updateCounter always count from start of buffer, and removed
7250 second argument (par).
7251 Reverted floats number display to '#'. Perhaps I'll try again when the
7252 code base is sanitized a bit.
7254 2002-08-12 Angus Leeming <leeming@lyx.org>
7256 * buffer.[Ch] (getLabelList): constify.
7258 2002-08-07 André Pönitz <poenitz@gmx.net>
7260 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7262 * funcrequest.h: extension to keep mouse (x,y) position
7264 2002-08-12 Juergen Vigna <jug@sad.it>
7266 * BufferView2.C (insertErrors): forbid undo when inserting error
7269 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7271 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * ParagraphList.[Ch]: new files
7275 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7277 * BufferView2.C (lockInset): ParagraphList changes
7280 * bufferlist.C: ditto
7284 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7286 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7287 unused class variable counter_,
7289 * paragraph.[Ch] (getFirstCounter): delete unused function
7291 * counters.C: include LAssert.h
7292 (reset): add a new function with no arg, change other version to
7293 not have def. arg and to not allow empty arg.
7295 * text2.C (setCounter): remove empty arg from call to Counters::reset
7297 2002-08-11 John Levon <levon@movementarian.org>
7299 * Makefile.am: add WordLangTuple.h
7301 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7304 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7306 * insets/insettext.C: InsetList changes
7308 * graphics/GraphicsSupport.C (operator()): InsetList changes
7310 * toc.C (getTocList): InsetList changes
7312 * paragraph_pimpl.[Ch]: InsetList changes
7314 * paragraph.[Ch]: InsetList changes
7316 * buffer.C (inset_iterator): InsetList changes
7317 (setParagraph): ditto
7318 * buffer.h (inset_iterator): ditto
7319 * iterators.C (operator++): ditto
7320 * iterators.h: ditto
7322 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7324 * InsetList.[Ch]: new files, most InsetList handling moved out of
7327 * BufferView2.C (removeAutoInsets): InsetList changes
7329 (ChangeInsets): ditto
7331 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * paragraph_pimpl.h (empty): new function
7335 * paragraph.[Ch] (empty): new function
7337 * other files: use the new Paragraph::empty function
7339 2002-08-09 John Levon <levon@movementarian.org>
7341 * lyxtext.h: remove unused refresh_height
7343 2002-08-09 John Levon <levon@movementarian.org>
7350 * paragraph.C: move sgml char escaping out of paragraph
7353 * paragraph.C: remove id setter
7357 * paragraph_pimpl.C: remove dead tex_code_break_column
7359 * bufferview_funcs.C: small cleanup
7361 * lyxfunc.C: remove dead proto
7363 * lyxtext.h: make some stuff private. Remove some dead stuff.
7365 * lyxgluelength.C: make as[LyX]String() readable
7367 2002-08-08 John Levon <levon@movementarian.org>
7372 * ToolbarDefaults.C:
7375 * toc.C: lyxaction cleanup
7377 2002-08-08 John Levon <levon@movementarian.org>
7379 * BufferView2.C: small cleanup
7382 * lyxfind.C: move unnecessary header into the .C
7384 2002-08-08 John Levon <levon@movementarian.org>
7386 * funcrequest.h: just tedious nonsense
7389 * lyx_main.C: cleanups
7392 * vspace.C: remove dead header lyx_main.h
7394 2002-08-07 Angus Leeming <leeming@lyx.org>
7397 * paragraph_pimpl.h:
7398 Forward declare class Counters in paragraph.h by moving the ctrs member
7399 variable into Paragraph::Pimpl.
7400 (counters): new method, returning a reference to pimpl_->ctrs.
7402 * text2.C: ensuing changes.
7404 2002-08-07 John Levon <levon@movementarian.org>
7406 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7408 * BufferView_pimpl.C: announce X selection on double/triple
7411 * lyx_main.C: use correct bool in batch dispatch
7413 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7415 2002-08-07 André Pönitz <poenitz@gmx.net>
7417 * funcrequest.h: new class to wrap a kb_action and its argument
7420 * BufferView_pimpl[Ch]:
7424 * lyxrc.C: subsequent changes
7427 2002-08-07 John Levon <levon@movementarian.org>
7429 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7430 document options change.
7432 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7437 * makefile.am: move counters functionality over from
7438 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7440 2002-08-06 John Levon <levon@movementarian.org>
7442 * WordLangTuple.h: new file for word + language code tuple
7453 * BufferView2.C: use WordLangTuple
7456 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7458 2002-08-06 John Levon <levon@movementarian.org>
7460 * lyx_main.C: fix cmdline batch handling
7462 2002-08-06 André Pönitz <poenitz@gmx.net>
7464 * lyxrc.C: set default for show_banner to true
7466 2002-08-06 John Levon <levon@movementarian.org>
7468 * pspell.C: fix a crash, and allow new aspell to work
7470 2002-08-06 John Levon <levon@movementarian.org>
7473 * kbmap.C: small cleanup
7476 * vspace.C: add const
7478 2002-08-05 John Levon <levon@movementarian.org>
7480 * LyXAction.C: back to tabular-insert
7482 2002-08-04 John Levon <levon@movementarian.org>
7485 * BufferView.C: cosmetic change
7487 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7497 * BufferView2.C: purge all "Lyx" not "LyX" strings
7500 * lyxcursor.C: attempt to add some documentation
7505 * ToolbarDefaults.C:
7506 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7507 merge with LFUN_TABULAR_INSERT
7514 * pspell.C: split up i/pspell implementations into separate
7515 files, many cleanups
7517 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7519 * text2.C: some cleanup
7521 * lyxfunc.C: don't check for isp_command == "none" any more, it
7522 didn't make any sense
7524 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7529 * makefile.am: move counters functionality over
7530 from text2.C/paragraph.[Ch] to counters.[Ch], and
7532 2002-08-02 John Levon <levon@movementarian.org>
7534 * buffer.C: s/lyxconvert/lyx2lyx/
7536 2002-08-02 Angus Leeming <leeming@lyx.org>
7538 * lyxlex.C: revert John's change as it breaks reading of the user
7541 2002-08-02 Angus Leeming <leeming@lyx.org>
7543 * importer.C (Import):
7544 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7545 changes due to LyXView::view() now returning a boost::shared_ptr.
7547 2002-08-02 John Levon <levon@movementarian.org>
7549 * lyxlex.C: small cleanup
7551 2002-08-02 John Levon <levon@movementarian.org>
7553 * text2.C (status): small cleanup, no logic change
7555 2002-08-01 John Levon <levon@movementarian.org>
7558 * buffer.C (writeFile): don't output alerts, caller
7562 * lyx_cb.C: from above
7564 * lyxfunc.C: allow to open non-existent files
7566 2002-07-31 John Levon <levon@movementarian.org>
7568 * lyxserver.C: don't let incidental errors get
7571 2002-07-30 John Levon <levon@movementarian.org>
7573 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7575 2002-07-30 John Levon <levon@movementarian.org>
7578 * lyxserver.C: remove I/O callback too
7580 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7582 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7585 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * many files: strip,frontStrip -> trim,ltrim,rtrim
7589 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * PrinterParams.h: remove extern containsOnly, and include
7592 support/lstrings.h instead.
7594 * LaTeX.C (scanAuxFile): modify because of strip changes
7596 * buffer.C (makeLaTeXFile): ditto
7597 * bufferparams.C (writeFile): ditt
7598 * lyxfont.C (stateText): ditto
7599 * lyxserver.C (read_ready): ditto
7600 * vc-backend.C (scanMaster): ditto
7602 * BufferView_pimpl.h: ws changes
7604 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7606 2002-07-26 André Pönitz <poenitz@gmx.net>
7608 * kb_sequence.C: remove unnedred usings
7610 2002-07-26 Juergen Vigna <jug@sad.it>
7612 * lyxfind.C (LyXReplace): we have to check better if the returned
7613 text is not of theLockingInset()->getLockingInset().
7615 2002-07-25 Juergen Vigna <jug@sad.it>
7617 * lyxfind.C (LyXReplace): don't replace if we don't get the
7620 * undo_funcs.C (createUndo): remove debugging code.
7622 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7624 * buffer.C (parseSingleLyXformat2Token): Use default placement
7625 when reading old floats.
7627 * FloatList.C (FloatList): Change the default placement of figure
7628 and tables to "tbp".
7630 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7632 * MenuBackend.C: using std::max
7634 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7636 * MenuBackend.C (expandToc):
7637 (expandToc2): code moved from xforms menu frontend. It is now
7638 generic and TOCs are transparent to menu frontends.
7640 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7642 * toc.C (getTocList): protect against buf=0
7644 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7645 Menu as first parameter. Now, this calls itself recursively to
7646 expand a whole tree (this will be useful for TOC handling)
7647 (expandFloatInsert): remove 'wide' version of floats
7649 * MenuBackend.h (submenuname): returns the name of the submenu.
7650 (submenu): returns the submenu itself, provided it has been
7651 created by MenuBackend::expand
7653 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7655 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7656 insets which have noFontChange == true. (bug #172)
7658 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7660 * BufferView_pimpl.C: add connection objects and use them...
7663 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7665 * MenuBackend.C (expandLastfiles):
7668 (expandFloatListInsert):
7669 (expandFloatInsert):
7670 (expand): split expand in parts
7672 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7674 * lyx_gui.C: use lyx_gui::exit()
7676 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7678 * LyXAction.C: show the failing pseudo action
7680 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7682 * buffer.C (readFile): Run the lyxconvert script in order to read
7685 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7689 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7691 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7695 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7697 2002-07-22 Herbert Voss <voss@lyx.org>
7700 * lyxlength.[Ch]: add support for the vertical lengths
7702 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7704 * toc.[Ch]: std:: fixes
7706 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7708 * lyxrc.C: do not include lyx_main.h
7710 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7716 * BufferView2.C: include "lyxlex.h"
7719 * bufferparams.h: do not #include "lyxlex.h"
7721 * lyxtextclasslist.C (Add): remove method
7722 (classlist): renamed to classlist_
7724 * paragraph_pimpl.C:
7728 * bufferview_funcs.C:
7733 * toc.C (getTocList): use BufferParams::getLyXTextClass
7735 * toc.C (getTocList): use InsetFloat::addToToc
7737 * toc.[Ch]: new files, containing helper functions to handle table
7740 * lyxfunc.C (dispatch): no need to remove spaces around command
7742 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7743 first command of the sequence; it is not very clever, but I do not
7744 have a better idea, actually
7746 * LyXAction.C (LookupFunc): make sure to remove space at the
7747 beginning and end of the command
7749 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7751 * MenuBackend.C (getMenubar): new method: return the menubar of
7753 (read): treat differently reading of menu and menubar (in
7754 particular, the menubar has no name now)
7755 (Menu::menubar): remove
7757 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7760 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7762 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7763 a bibitem inset in a RTL paragraph.
7765 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7767 * paragraph_pimpl.C: constify
7769 * BufferView_pimpl.C:
7771 * lyxfunc.C: fix dispatch in a nicer way
7773 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7775 * lyxfunc.C (dispatch):
7776 * BufferView_pimpl.C:
7777 * BufferView_pimpl.h:
7779 * BufferView.h: rename Dispatch() to dispatch()
7781 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7783 * lyxlayout.C (Read): honor DependsOn tag
7785 * lyxlayout.[Ch] (depends_on): new method
7787 * version.C.in: update lyx_docversion
7789 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7791 * paragraph.C (validate): remove from here...
7792 * paragraph_pimpl.C (validate): ... and move here
7793 (isTextAt): make it const
7795 * buffer.C (getLists): ws cleanup
7797 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7799 * language.C (read): Use iso8859-1 encoding in latex_lang
7800 (this prevents LyX from crashing when using iso10646-1 encoding).
7802 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7804 * text2.C (toggleInset): if cursor is inside an inset, close the
7805 inset and leave cursor _after_ it
7807 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7809 * lyxfunc.C: move minibuffer completion handling out of here
7811 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7813 * BufferView_pimpl.C:
7814 * LaTeX.C: fix dispatch calls
7816 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7818 * text.C (drawChars): Fix Arabic text rendering.
7820 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7824 * lyxfunc.C: remove message-push/pop
7828 * lyxfunc.C: rationalise some code by removing verboseDispatch
7829 in favour of a bool argument to dispatch()
7831 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7833 * lyx_main.C (init): make sure to read symlinks as absolute paths
7835 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7838 * lyxfunc.C: no need for commandshortcut to be a member
7840 2002-07-15 André Pönitz <poenitz@gmx.net>
7842 * converter.C: add support for $$s (scripts from lib/scripts dir)
7843 * lyx_main.C: white space
7845 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7849 * lyxrc.C: remove second exit confirmation
7851 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7856 * BufferView_pimpl.h:
7857 * BufferView_pimpl.C:
7858 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7860 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7862 * MenuBackend.C (expand): add numeric shortcuts to document menu
7864 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7866 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7868 * lyxfont.C (setLyXFamily):
7875 * buffer.C (asciiParagraph): use ascii_lowercase
7877 2002-07-15 Mike Fabian <mfabian@suse.de>
7879 * lyxlex_pimpl.C (search_kw):
7880 * lyxlex.C (getLongString):
7881 * converter.h (operator<):
7882 * converter.C (operator<):
7883 * buffer.C (parseSingleLyXformat2Token):
7885 * ToolbarDefaults.C (read):
7886 * MenuBackend.C (checkShortcuts):
7888 * LColor.C (getFromGUIName):
7889 (getFromLyXName): use the compare_ascii_no_case instead of
7890 compare_no_case, because in turkish, 'i' is not the lowercase
7891 version of 'I', and thus turkish locale breaks parsing of tags.
7893 2002-07-16 Angus Leeming <leeming@lyx.org>
7895 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7896 now takes a Buffer const & argument.
7898 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7900 * BufferView.C (resize): check there's a buffer to resize
7902 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7904 * lyxfunc.C: remove dead code
7907 * lyxserver.C: use lyx_guii::set_read_callback
7909 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7911 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7912 an inset in a RTL paragraph.
7914 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7916 * lyxfunc.C: repaint after a font size update
7918 2002-07-15 André Pönitz <poenitz@gmx.net>
7920 * lyxlength.C: inBP should be able to return negative values
7922 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7924 * lyxfunc.C: use lyx_gui::update_fonts()
7926 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7928 * lyxfunc.C: use lyx_gui::update_color()
7930 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7936 * lyxrc.C: remove file->new asks for name option, and let
7937 buffer-new take an argument
7939 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7941 * BufferView_pimpl.C: remove unneeded extra repaint()
7943 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7945 * LyXAction.C: allow command-sequence with NoBuffer
7947 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7949 2002-07-10 Angus Leeming <leeming@lyx.org>
7951 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7953 2002-07-09 Angus Leeming <leeming@lyx.org>
7955 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7957 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7959 * lengthcommon.h: whitespace
7961 * lyxfunc.C: update scrollbar after goto paragraph
7963 * lyxtext.h: factor out page break drawing, and fix it so
7964 page break/added space paints as selected nicely
7966 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7968 * BufferView_pimpl.C: add FIXMEs, clean up a little
7970 2002-07-09 André Pönitz <poenitz@gmx.net>
7972 * lyxfont.[Ch]: support for wasy symbols
7974 2002-07-08 André Pönitz <poenitz@gmx.net>
7976 * BufferView_pimpl.C: apply John's patch for #93.
7978 2002-07-05 Angus Leeming <leeming@lyx.org>
7980 * BufferView_pimpl.C (buffer): generate previews if desired.
7982 * LColor.h: add "preview" to the color enum.
7984 * LColor.C (LColor): add a corresponding entry to the items array.
7986 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7989 2002-07-05 Angus Leeming <leeming@lyx.org>
7991 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7992 The body of the code is now in the method that is passed an ostream &
7993 rather than a file name.
7994 Pass an additional only_preamble parameter, useful for the forthcoming
7997 2002-07-03 André Pönitz <poenitz@gmx.net>
7999 * lyxfunc.C: simplify getStatus() a bit for math stuff
8001 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8003 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8005 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8007 * text.C (changeRegionCase): do not change case of all the
8008 document when region ends at paragraph end (bug #461)
8010 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8012 * paragraph.C (startTeXParParams):
8013 (endTeXParParams): add \protect when necessary
8015 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8017 * BufferView_pimpl.C (workAreaExpose): remove warning
8019 2002-06-27 Angus Leeming <leeming@lyx.org>
8021 * Makefile.am: add lyxlayout_ptr_fwd.h.
8023 2002-06-26 André Pönitz <poenitz@gmx.net>
8025 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8027 2002-06-25 Angus Leeming <leeming@lyx.org>
8029 * lyxfunc.C (dispatch): Comment out the call to
8030 grfx::GCache::changeDisplay. The method no longer exists now that the
8031 pixmap generation part of the graphics loader has been moved into
8034 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8036 * text2.C: layout as layout
8038 * text.C: layout as layout
8040 * tabular.C (OldFormatRead): layout as layout
8042 * paragraph_pimpl.C (TeXDeeper): layout as layout
8043 (realizeFont): layout as layout
8045 * paragraph.C (writeFile): layout as layout
8046 (validate): layout as layout
8047 (getFont): layout as layout
8048 (getLabelFont): layout as layout
8049 (getLayoutFont): layout as layout
8050 (breakParagraph): layout as layout
8051 (stripLeadingSpaces): layout as layout
8052 (getEndLabel): layout as layout
8053 (getMaxDepthAfter): layout as layout
8054 (applyLayout): layout as layout
8055 (TeXOnePar): layout as layout
8056 (simpleTeXOnePar): layout as layout
8057 (TeXEnvironment): layout as layout
8058 (layout): layout as layout
8059 (layout): layout as layout
8061 * lyxtextclass.C (compare_name): new functor to work with
8062 shared_ptr, layout as layout
8063 (Read): layout as layout
8064 (hasLayout): layout as layout
8065 (operator): layout as layout
8066 (delete_layout): layout as layout
8067 (defaultLayout): layout as layout
8069 * lyxlayout_ptr_fwd.h: new file
8071 * lyxlayout.C (Read): layout as layout
8073 * lyx_cb.C (MenuInsertLabel): layout as layout
8075 * bufferlist.C (newFile): layout as layout
8077 * buffer.C (readLyXformat2): layout as layout
8078 (parseSingleLyXformat2Token): layout as layout
8079 (insertStringAsLines): layout as layout
8080 (asciiParagraph): layout as layout
8081 (latexParagraphs): layout as layout
8082 (makeLinuxDocFile): layout as layout
8083 (simpleLinuxDocOnePar): layout as layout
8084 (makeDocBookFile): layout as layout
8085 (simpleDocBookOnePar): layout as layout
8086 (getLists): layout as layout
8088 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8090 * CutAndPaste.C (cutSelection): layout as layout
8091 (pasteSelection): layout as layout
8092 (SwitchLayoutsBetweenClasses): layout as layout
8094 * BufferView_pimpl.C (Dispatch): layout as layout
8095 (smartQuote): layout as layout
8097 * BufferView2.C (unlockInset): layout as layout
8099 2002-06-24 André Pönitz <poenitz@gmx.net>
8101 * lyxfunc.C: fix #487
8103 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8107 * lyxfunc.C: remove display_shortcuts, show_banner
8109 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8111 * Buffer_pimpl.C: oops, update on resize
8113 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8120 * BufferView.C: use repaint()
8122 * BufferView_pimpl.h:
8123 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8124 as it's a clearer description. Remove superfluous
8127 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8129 * text.C: fix bug 488. Not ideal, but getting
8130 getWord() to work properly for the insets that
8131 matter is more difficult ...
8133 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8135 * BufferView_pimpl.C:
8138 * lyxfunc.C: remove the six million index lyxfuncs to just
8139 one, and DTRT (bug 458)
8141 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8145 * BufferView_pimpl.h:
8146 * BufferView_pimpl.C: clean up resize() stuff,
8147 and unnecessary updateScreen()s
8149 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8153 * BufferView_pimpl.h:
8154 * BufferView_pimpl.C:
8157 * minibuffer.C: remove focus management of workarea,
8158 not needed. Use screen's greyOut()
8160 2002-06-17 Herbert Voss <voss@lyx.org>
8162 * converter.C: (convert) do not post a message, when converting
8163 fails, let the calling function decide what to do in this case
8165 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8167 * lyxfunc.C: tidy up a little
8169 2002-06-16 <alstrup@diku.dk>
8171 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8172 Got rid of FORMS_H_LOCATION include. Now we are
8175 2002-06-15 LyX Development team <lyx@rilke>
8177 * buffer.[Ch] (sgmlOpenTag):
8178 (sgmlCloseTag): Added support for avoiding pernicious mixed
8179 content. Return number of lines written.
8182 (makeDocBookFile): Fixed calls to sgml*Tag.
8183 Simple white space clean.
8185 (simpleDocBookOnePar): Simple white space clean.
8187 * tabular.[Ch] (docBook): Renamed to docbook and got another
8188 argument to related with the pernicious mixed content.
8190 (docbookRow): Fixed calls for docbook inset method.
8192 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8194 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8195 so it's X11 independent.
8199 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8201 2002-06-15 Lyx Development team <lyx@electronia>
8203 * intl.h: Renamed getTrans to getTransManager.
8205 2002-06-14 Angus Leeming <leeming@lyx.org>
8207 * Makefile.am: nuke forgotten stl_string_fwd.h.
8209 2002-06-12 Angus Leeming <leeming@lyx.org>
8211 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8213 2002-06-13 Angus Leeming <leeming@lyx.org>
8216 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8218 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8220 * kbmap.C (getiso): add support for cyrillic and greek
8222 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8226 * BufferView_pimpl.h:
8227 * BufferView_pimpl.C: move bogus scrolling logic
8230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8233 * BufferView_pimpl.C: view->resize() change
8235 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8237 * BufferView_pimpl.C: topCursorVisible
8240 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8244 * lyx_gui.C: move to frontends/
8248 * lyx_main.C: changes from above
8250 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8257 * lyx_main.C: minor tidy
8259 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8261 * BufferView_pimpl.h:
8262 * BufferView_pimpl.C:
8264 * BufferView.C: make painter() const,
8267 * BufferView2.C: use screen() accessor
8270 * lyx_main.C: some minor cleanup
8272 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8274 * BufferView_pimpl.h:
8275 * BufferView_pimpl.C: remove enter/leaveView,
8278 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8283 * BufferView_pimpl.h:
8284 * BufferView_pimpl.C: only construct screen once,
8287 * lyxrc.C: remove pointless comment
8289 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8292 * BufferView.C: remove active() and belowMouse()
8294 * BufferView_pimpl.h:
8295 * BufferView_pimpl.C: use workarea() not workarea_,
8296 and make it use a scoped_ptr instead
8298 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8300 * lyx_gui.C: add debug message on BadWindow
8302 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8304 * sp_spell.C: fdopen is not part of the C++ standard.
8306 * paragraph.C (InsetIterator): use >= instead of ==
8308 2002-06-07 Angus Leeming <leeming@lyx.org>
8310 Fixes needed to compile with Compaq cxx 6.5.
8311 * BufferView_pimpl.C:
8318 * lyxtextclasslist.C:
8323 all c-library variables have been moved into namespace std. Wrap
8324 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8329 Add a using std::abs declaration.
8331 * kbmap.h (modifier_pair):
8332 * paragraph.h (InsetTable, InsetList):
8333 * lyxfont.h (FontBits):
8334 type definition made public.
8336 * bufferlist.C (emergencyWriteAll): the compiler complains that
8337 there is more than one possible lyx::class_fun template to choose from.
8338 I re-named the void specialisation as lyx::void_class_fun.
8340 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8342 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8343 the compiler is is unable to find tostr in write_attribute.
8345 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8347 * buffer.C (sgmlError): hide #warning
8349 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8351 * xtl/*: get rid of xtl, which is not in use anyway
8353 * LyXAction.C (init):
8354 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8355 were unimplemented xtl experimentation
8357 2002-06-04 André Pönitz <poenitz@gmx.net>
8359 * lyxfunc.C: disable array operation on simple formulae
8361 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8363 * converter.C: constify a bit
8365 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8367 * lyx_gui.C: check xforms version correctly
8369 2002-04-30 Herbert Voss <voss@lyx.org>
8371 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8374 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8376 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8377 attempt to register it with a VCS)
8379 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * lyx_main.C (init): honor variables LYX_DIR_13x and
8384 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8388 * lyx_main.C: fix a crash on bad command line,
8389 and give a useful exit status on error
8391 * lyxfunc.C (doImport): allow -i lyx to work
8393 2002-03-30 André Pönitz <poenitz@gmx.net>
8395 * lyxfunc.C: mathed font changes
8397 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8412 * trans_mgr.h: srcdocs, and some minor cleanups
8414 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8416 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8417 call getFont all the time)
8419 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8421 * switch from SigC signals to boost::signals
8423 2002-05-29 André Pönitz <poenitz@gmx.net>
8425 * paragraph_pimpl.C (getChar): don't call size() too often...
8427 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8429 * paragraph_pimpl.C (insertChar): do not try to update tables when
8430 appending (pos == size())
8432 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8433 in order to reduce drastically the number of comparisons needed to
8434 parse a large document
8436 2002-05-29 André Pönitz <poenitz@gmx.net>
8442 * textclasslist.[Ch]:
8443 * sp_ispell.h: whitespace change
8445 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8447 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8448 lyxaction directly now.
8450 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8454 * lyxvc.C: remove unused headers
8456 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8463 * undo_funcs.C: some cleanups. Use shared_ptr
8464 and a template for the undo stacks.
8466 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8468 * BufferView_pimpl.h:
8469 * BufferView_pimpl.C:
8476 * text2.C: use key_state/mouse_state
8478 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8480 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8483 * chset.C: change include order
8484 (loadFile): use boost regex and get rid of LRegex and LSubstring
8486 * Makefile.am (BOOST_LIBS): new variable
8489 * LaTeX.C: change include order.
8490 (scanAuxFile): use boost regex and get rid of LRegex and
8494 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8499 * FontInfo.C: moved to frontends/xforms/
8502 * FontLoader.C: moved into frontends for GUIIzation
8507 * lyxfunc.C: changes from above
8509 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8511 * LColor.C: remove spurious X include
8513 * BufferView_pimpl.C:
8518 * text2.C: move font metrics to frontends/
8520 2002-05-24 Juergen Vigna <jug@sad.it>
8522 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8523 setting the undo_cursor.
8525 * ParagraphParameters.h: include local includes first.
8527 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8529 * BufferView_pimpl.C:
8530 * BufferView_pimpl.h:
8534 * screen.C: move WorkArea into frontends/
8540 * BufferView2.C: move LyXScreen into frontends/
8544 * lyx_gui.C: move lyxlookup into frontends/xforms/
8546 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.C:
8559 * bufferview_funcs.C:
8572 * vc-backend.C: move LyX/XFormsView into frontends/
8574 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8586 * text2.C: move Painter to frontends/
8588 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8590 * buffer.C: comment out some some code that depend upon lyx_format
8593 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8594 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8596 * buffer.h (NO_COMPABILITY): turn off compability
8598 * ColorHandler.C: include scoped_array.hpp
8600 * font.C: Use more specific smart_ptr header.
8603 * ShareContainer.h: ditto
8607 * BufferView_pimpl.h: ditto
8608 * ColorHandler.h: ditto
8610 * kbmap.C (defkey): change call to shared_ptr::reset
8612 2002-05-21 Juergen Vigna <jug@sad.it>
8614 * buffer.C (insertErtContents): fix to insert ert asis if it is
8615 non empty. Skip it completely if it contains only whitespaces.
8617 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8619 * BufferView_pimpl.C:
8620 * BufferView2.C: clear selection on paste (bug 393)
8622 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8624 * DepTable.C: include ctime
8626 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8628 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8630 2002-05-14 Juergen Vigna <jug@sad.it>
8632 * text.C (breakParagraph): fixed function to honor the keepempty
8633 layout in the right maner and also to permit the right breaking
8634 algorithm on empty or non empyt keepempty paragraphs.
8636 * paragraph.C (breakParagraph): we have to check also if the par
8637 is really empty (!size()) for isempty otherwise we do the wrong
8640 2002-05-10 Juergen Vigna <jug@sad.it>
8642 * buffer.[Ch] : The following are only changes to the ert
8643 compatibility read reading old LaTeX layout and font stuff and
8644 convert it to ERTInsets.
8646 * buffer.h: added isErtInset().
8648 * buffer.C (struct ErtComp): add a fromlayout bool to check
8649 if we're inside a LaTeX layout.
8650 (isErtInset): new helper function.
8651 (insertErtContents): look for other ert insets before this one
8652 and insert the contents there, so that we don't have subsequent
8653 ERT insets with nothing between them. This way we create only one
8654 inset with multiple paragraphs. Also check if we don't insert only
8655 spaces ' ' as they are ignored anyway afterwards in the .tex file
8656 so if we have only spaces we will ignore this latex part in the
8658 (parseSingleLyXformat2Token \\layout): better compatibility when
8659 reading layout-latex stuff.
8660 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8662 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8663 stuff after reading the inset only get the information back from
8666 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8668 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8670 * LaTeXFeatures.C (getBabelOptions): New method.
8672 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * BufferView_pimpl.C (Dispatch): work around missing argument for
8677 2002-05-08 Juergen Vigna <jug@sad.it>
8679 * text.C (leftMargin): handle paragraph leftindent.
8681 * paragraph.C (writeFile): write the new \\leftindent tag.
8682 (validate): handle leftindent code.
8683 (TeXEnvironment): handle paragraphleftindent code again.
8685 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8687 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8688 for paragrap_extra indent code and new token \\leftindent.
8689 (latexParagraphs): handle the leftindent as environment.
8691 * ParameterStruct.h: added leftindent support.
8693 * ParagraphParameters.C (leftIndent): added support functions for
8694 the paragraph left indent.
8696 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8699 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8701 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8704 * text.C (computeBidiTables): No bidi in insetERT.
8706 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8709 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8711 * version.C.in: pre 5
8713 2002-05-02 José Matos <jamatos@fep.up.pt>
8714 * buffer.C (makeDocBookFile): white space changes, add newline to
8716 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8718 * tabular.C (docBook): fix typo.
8720 2002-05-03 Juergen Vigna <jug@sad.it>
8722 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8723 change in LyXText as we can not be sure it was not freed.
8724 (drawOneRow): remove unused code.
8726 * text.C (drawInset): redo the calculation of the need_break_row as
8727 it could have a row which was already freed.
8728 (draw): look at the return value of drawInset and return false if
8729 it also returned false.
8730 (paintRowText): look at the return value of draw and return false if
8731 it also returned false.
8733 * lyxtext.h: added bool return type to drawInset() and draw() so that
8734 if we have a change in the row so that the rowbreak has to be redone
8735 we abort drawing as it will be called again.
8737 2002-05-02 Juergen Vigna <jug@sad.it>
8739 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8740 a change in the maintext also if we're inside an inset.
8741 (Dispatch): set the cursor again after a break line and after the
8742 screen has been updated as it could be we're in a different row.
8744 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8745 to set the cursor behind the pargraph with > size().
8746 (setCursor): check also for the same paragraph when checking where
8747 to put the cursor if we have a NFR inset.
8749 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8750 parts of layout read further up as it still was in the wrong
8753 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * screen.C (drawFromTo): change sine fullRebreak always return
8758 * buffer.C (parseSingleLyXformat2Token): reindent some
8760 * BufferView_pimpl.C (update): change since fullRebreak always
8762 (Dispatch): git rid of the last hardcoded "Standard"s.
8764 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8766 * text2.[Ch] (fullRebreak): make it return void now that we always
8769 2002-04-30 Juergen Vigna <jug@sad.it>
8771 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8772 ert compatibility check for "latex" layout.
8774 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8776 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8777 minipages: use col% instead of p%, and also use the current font.
8778 (makeLaTeXFile): Fix use babel condition.
8779 (parseSingleLyXformat2Token): Correct font when reading old floats.
8781 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8783 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8784 inserting list of floats.
8786 2002-04-25 Herbert Voss <voss@lyx.org>
8788 * MenuBackend.C (expand): don't add the graphics extensions to the
8791 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8793 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8794 non-existing layout, do not complain if it was the default layout
8795 of the original class (bug #342)
8797 2002-04-24 Juergen Vigna <jug@sad.it>
8799 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8800 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8802 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8804 * buffer.C (getBibkeyList): If using \bibliography, return the
8805 option field with the reference itself. Enables us to provide natbib
8806 support when using \bibliography.
8808 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8810 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8812 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8813 natbib is provided by the LaTeX class.
8815 2002-04-23 Juergen Vigna <jug@sad.it>
8817 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8820 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8822 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8824 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8826 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8827 ensuremath around textordmasculine, textordfeminine and
8830 2002-04-19 Juergen Vigna <jug@sad.it>
8832 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8833 reinitializing the buffer otherwise row-dimensions may be wrong.
8834 (update): reset also the selection cursors if they do exits otherwise
8835 their x/y positions may be wrong.
8837 * text2.C (cursorDown): don't enter the inset if we came from a row
8838 above and are one row over the inset.
8840 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8841 really leaving an inset.
8843 2002-04-18 Juergen Vigna <jug@sad.it>
8845 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8846 of the selected paragraph does not have the selected layout also if
8849 * text2.C (setLayout): fixed bug which did not change last selected
8852 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8853 changed the read and substituted \\end_float with \\end_inset!
8855 * BufferView_pimpl.C (cursorPrevious):
8856 (cursorNext): fixed to make it work with rows heigher than the work
8857 area without moving the cursor only the draw of the row.
8858 (workAreaMotionNotify): fix jumping over high rows.
8860 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8865 2002-04-16 Juergen Vigna <jug@sad.it>
8867 * text2.C (setCursor): set also the irow().
8868 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8870 (cursorDown): support for locking an inset if the x_fix value goes
8871 inside it. That way I can transverse insets too with cursor up/down.
8873 * lyxrow.h: added irow helper function same as other (i) functions.
8875 * BufferView_pimpl.C (cursorPrevious):
8876 (cursorNext): fixed for insets!
8878 2002-04-15 Juergen Vigna <jug@sad.it>
8880 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8881 position otherwise it is wrong in some cases.
8883 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8884 inside the inset before the call.
8886 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8888 * buffer.[Ch] (getBibkeyList): make it const.
8890 2002-04-12 Juergen Vigna <jug@sad.it>
8892 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8894 * text2.C (getCursorX): new helper function
8895 (setCursor): compute also ix_
8896 (setCursorFromCoordinates): set also ix.
8898 * lyxcursor.h: added ix_ and helper functions.
8900 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8902 * buffer.C (insertStringAsLines): dont break paragraph if the this
8903 paragraph is inside an inset which does not permit it!
8905 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8906 also with no chars on this paragraph.
8907 (paintRowText): only paint stuff if it's inside the workarea!
8909 * paragraph.C (breakParagraph): honor keepempty flag and break the
8910 paragraph always below not above.
8912 * BufferView2.C (unlockInset): update the paragraph layout on inset
8913 unlock as we changed paragraph in such a case.
8915 * lyxfind.C (LyXFind): clear the former selection if not found!
8917 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8918 again called in insertChar().
8920 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8921 an inset which uses the whole row!
8922 (rightMargin): ditto.
8923 (insertChar): force a rebreak if we inserted an inset!
8925 2002-03-28 Herbert Voss <voss@lyx.org>
8927 * lyxlength.[Ch]: add inBP() to get the right PS-point
8928 units (BigPoint). With inPixels we have rounding errors
8930 2002-04-11 Juergen Vigna <jug@sad.it>
8932 * text2.C (setCursorFromCoordinates): set iy to the right value.
8933 (setCursor): add check if row->previous exists!
8935 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8936 an old float_type as this was the case in the old code!
8938 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8940 * BufferView2.C (showLockedInsetCursor): use iy
8941 (fitLockedInsetCursor): ditto
8943 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8944 locked insets as there we have the right value now.
8946 * lyxcursor.C: added iy_ variable and iy functions to set to the
8947 baseline of cursor-y of the locked inset.
8949 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8950 (setCursor): fixed for insets which need a full row.
8952 * text.C (rowLastPrintable): don't ignore the last space when before
8953 an inset which needs a full row.
8954 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8955 as last character of a row when before a inset which needs a full row.
8957 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * version.C.in: update date
8961 * text2.C (fullRebreak): try to always return true and see what
8964 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * MenuBackend.C (expand): use Floating::listName
8968 * FloatList.C (FloatList): add listName argument to the built-in
8971 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8972 text associated with the float.
8974 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8976 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8978 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8980 * ShareContainer.h: add a couple of missing typenames.
8982 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8984 * lyxrc.C (getDescription): use _() correctly rather than N_().
8986 2002-03-28 Herbert Voss <voss@lyx.org>
8988 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8989 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8991 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8993 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8994 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8996 2002-03-29 Juergen Vigna <jug@sad.it>
8998 * lyxfunc.C (dispatch): add a missing fitCursor call.
9000 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9001 it was scrolled by a cursor move, so return the bool status.
9003 * BufferView.C (fitCursor): return the bool flag also to the outside
9004 world as this is needed.
9006 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9008 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9009 call the edit() as it is not needed (and wrong) IMO.
9010 (workAreaButtonPress): set the screen_first variable before evt.
9011 unlock the inset as this may change screen_first and then we have
9012 a wrong y position for the click!
9014 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9016 * MenuBackend.C (expand): another translation that I missed
9018 2002-03-28 Juergen Vigna <jug@sad.it>
9020 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9022 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9024 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9026 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9028 * MenuBackend.C (expand): fix export/view/update when there is no
9031 2002-03-27 Herbert Voss <voss@lyx.org>
9033 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9036 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * bufferview_funcs.C (currentState): only show paragraph number
9039 for is DEVEL_VERSION is set.
9041 * lyxfunc.C (dispatch): put warning in INFO channel
9043 * MenuBackend.C (expand): translate the name of floats
9045 * FloatList.C (FloatList): mark the float names for translation
9047 * converter.C (convert): use LibScriptSearch
9049 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9051 * MenuBackend.C (defaults): fix default menu (we might as well get
9054 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9056 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9059 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9061 * lyxvc.C: reorder includes.
9063 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9065 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9068 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9070 * CutAndPaste.C: change layouts earlier on paste
9071 to avoid crashing when calling getFont()
9073 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9075 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9078 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9080 * WorkArea.C: remove 'Pending' debug message.
9082 * most files: ws cleanup
9084 * buffer.[Ch]: ws changes
9086 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9088 2002-03-21 Juergen Vigna <jug@sad.it>
9090 * tabular.C (SetMultiColumn): collapse also the contents of the
9091 cells and set the last border right. Added a Buffer const * param.
9093 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9095 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9098 2002-03-19 Juergen Vigna <jug@sad.it>
9100 * text2.C (clearSelection): reset also xsel_cache.
9102 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9103 where it needs to be called (John tells us to do so too :)
9104 (selectionLost): reset sel_cache.
9106 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9108 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9110 * text2.C (setCursorIntern): put debuging code in INSETS channel
9112 2002-03-19 André Pönitz <poenitz@gmx.net>
9114 * lyxfunc.C: tiny whitespace change
9116 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9118 * ToolbarDefaults.C (init):
9119 * LyXAction.C (init):
9121 * BufferView_pimpl.C (Dispatch):
9122 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9124 2002-03-19 Allan Rae <rae@lyx.org>
9126 * exporter.C (Export): removeAutoInsets before doing anything else.
9127 While I've just introduced a dependency on BufferView this really is
9128 the best place to clean the buffer otherwise you need to cleanup in
9129 a dozen places before calling export or cleanup in a dozen functions
9132 * converter.C (runLaTeX):
9133 (scanLog): Better handling of removeAutoInsets and screen updates.
9135 * lyxfunc.C (dispatch): small whitespace changes
9137 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * WorkArea.C (C_WorkAreaEvent): return a value.
9140 (event_cb): return 1 if we handled the event, 0 otherwise.
9142 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9144 2002-03-18 Juergen Vigna <jug@sad.it>
9146 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9147 (GetAdditionalWidth): ditto.
9151 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9152 inset if we're there actually (probably not used right now but this
9153 is the direction to go for unifying code).
9154 (paste): disable code to clear the selection.
9156 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9157 inside an InsetText and move the check further up as it is in the
9160 * text2.C (pasteSelection): set a selection over the pasted text.
9162 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9164 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9165 and libgraphics to build on Cygwin.
9167 2002-03-15 Juergen Vigna <jug@sad.it>
9169 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9170 inserting an Inset into the paragraph. I know this is not the best
9171 fix but we already use current_view in CutAndPaste so we will remove
9172 all of it's using at the same time.
9174 * buffer.C (sgmlError): deactivated function till it is rewritten in
9175 the right mode, now it can create problems.
9177 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9178 before accessing it.
9180 2002-03-14 Juergen Vigna <jug@sad.it>
9182 * undo_funcs.C (textHandleUndo): do the right thing when updating
9183 the inset after the undo/redo.
9185 * text2.C (setCursor): just some testcode for #44 not ready yet.
9187 * undo_funcs.C (textHandleUndo): set the next() and previous()
9188 pointers of the paragraph to 0 before deleting otherwise we have
9189 problems with the Paragraph::[destructor].
9191 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9192 on a paragraph insertion.
9194 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9196 * buffer.C (asciiParagraph): use += operator for char append to
9199 * paragraph.C (getFontSettings): compare >= not just >
9200 (highestFontInRange): ditto
9203 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9205 * paragraph.C: change several algorithm to be more appripriate for
9206 the problem domain. This is lookip in FontList and in the InsetList.
9208 2002-03-13 André Pönitz <poenitz@gmx.net>
9211 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9213 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9218 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9220 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * Painter.C (display): anon helper function, adjust code for this
9224 (pixmap): remove function.
9226 * Painter.h: remove private display variable.
9228 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9230 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9232 * WorkArea.[Ch]: remove figinset_canvas cruft.
9234 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9236 * lyxtextclass.C (operator): add one item cache optimization.
9238 * bufferlist.h: doxy changes
9240 * bufferlist.C: ws changes
9242 * DepTable.[Ch] (ext_exist): place const in the right spot.
9244 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9246 (workAreaExpose): call resizeInsets when the with BufferView changes.
9247 (Dispatch): adjust for protectedBlank removal
9248 (specialChar): call updateInset if the insert went ok.
9250 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9251 specialChar instead.
9253 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9255 * BufferView.h: doxy change
9257 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9259 * lyxtextclass.C (operator[]): remove non-const version
9260 (defaultLayout): remove non-const version
9262 2002-03-12 Juergen Vigna <jug@sad.it>
9264 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9265 did resize the LyXText too.
9267 * buffer.C (readLyXformat2): set layout information on newly allocated
9270 * tabular.C (OldFormatRead): set layout information on the paragraph.
9272 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9274 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9276 2002-03-11 Juergen Vigna <jug@sad.it>
9278 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9280 (resizeCurrentBuffer): force also the insets to resize themselfes.
9281 (moveCursorUpdate): fixed up for InsetText.
9283 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9286 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9287 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9288 value of Dialogs::tooltipsEnabled().
9289 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9291 2002-03-08 Juergen Vigna <jug@sad.it>
9293 * BufferView_pimpl.C (updateInset): update inset inside inset also
9294 if it isn't inside theLockingInset().
9296 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * buffer.C (asciiParagraph): redo some of the word and line length
9300 (getLists): look for Caption instead of caption.
9302 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9304 * buffer.C (Buffer): initialize niceFile to true
9307 (makeDocBookFile): make sure niceFile is true on exit
9309 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9313 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9315 * LyXSendto.C: remove.
9316 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9317 * lyx_gui.C: remove now-redundant comment.
9318 * ColorHandler.h: remove forward declaration of class WorkArea.
9319 * lyxfunc.C: remove #include "WorkArea.h".
9321 2002-03-07 Juergen Vigna <jug@sad.it>
9323 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9324 got moved away with the DEPM and also set the inset_owner always
9325 right which before could have been omitted.
9327 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9330 wanted layout is not found.
9332 2002-03-07 Juergen Vigna <jug@sad.it>
9334 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9336 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9338 * paragraph.C (breakParagraph): use default layout not layout of
9340 (Paragraph): clear ParagraphParameters.
9342 2002-03-06 Juergen Vigna <jug@sad.it>
9344 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9345 otherwise it would not be a valid lenght. Fixed a special case in
9346 the minipage compatibility read where we end the document with a
9349 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9350 was set as it could be 0 for InsetTexts first entry.
9352 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * paragraph.C (writeFile): if layout is empty write out
9355 defaultLayoutName().
9357 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9358 file without named layout we set layout to defaultLayoutName().
9360 2002-03-06 Juergen Vigna <jug@sad.it>
9362 * CutAndPaste.C (copySelection): set layout for new paragraph.
9364 * text.C (prepareToPrint): leave ERT inset left aligned
9365 (leftMargin): don't indent paragraphs inside ERT insets
9367 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9369 * paragraph.C (breakParagraph): dont call clear do the work manually
9371 * paragraph.[Ch] (clear): remove function
9373 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9375 * paragraph.C (Paragraph): dont call clear, the work has already
9378 * lyxtextclass.C (operator): assert if n is empty
9380 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9381 work manually instead.
9383 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9385 * BufferView_pimpl.C: protect selectionLost against text == 0
9387 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9389 * text.C (breakParagraph): fix a setting layout to '0' problem.
9391 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9393 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9394 final location of file, for the included files, and graphics.
9396 2002-03-05 Juergen Vigna <jug@sad.it>
9398 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9400 2002-03-04 Juergen Vigna <jug@sad.it>
9402 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9404 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9405 last column of multicolumn cells.
9406 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9408 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9410 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9411 file if it doesn't go to a temporary file.
9413 * buffer.C (sgmlOpenTag):
9414 (sgmlCloseTag): remove extra newline insertion.
9416 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9418 * text.C (getRowNearY): comment out debug msg
9420 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9422 * text2.C: first -> first_y
9424 * text.C (getRowNearY): add some attemts at a possible
9425 optimization, not working.
9427 * tabular.[Ch]: add BufferParams to several function so that newly
9428 created paragraph can be initialized to he default layotu for the
9431 * tabular-old.C (ReadOld): add buf->params to call of Init
9433 * screen.C: rename text->first to text->first_y
9435 * paragraph.C (breakParagraph): always set layout in the broken
9438 * lyxtextclass.C (Read): remove lowercase
9441 (delete_layout): ditto
9443 * lyxtext.h: rename first -> first_y
9445 * lyxlayout.C (Read): remove lowercase
9448 (obsoleted_by): ditto
9450 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9452 * buffer.C (insertErtContents): add params are to InsetERT
9453 (parseSingleLyXformat2Token): add code to check if a paragraphs
9454 layout really exist.
9455 (parseSingleLyXformat2Token): add params to several inset
9457 (asciiParagraph): remove lowercase, do the layout comparisons with
9460 * BufferView_pimpl.C (cursorNext): first -> first_y
9461 (resizeCurrentBuffer): first -> first_y
9462 (updateScrollbar): first -> first_y
9463 (scrollCB): first -> first_y
9464 (workAreaMotionNotify): first -> first_y
9465 (workAreaButtonPress): first -> first_y
9466 (checkInsetHit): first -> first_y
9467 (cursorPrevious): first -> first_y
9468 (cursorNext): first -> first_y
9469 (Dispatch): add buffer_->params to severl inset contructors
9471 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9473 * lyxlayout.C (Read): remove some debug info that I forgot.
9475 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9476 clean up the code slightly.
9477 (makeLinuxDocFile): ditto
9478 (makeDocBookFile): ditto
9480 * text2.C: layout as string
9482 * text.C: layout as string
9484 * paragraph_pimpl.C: layout as string
9486 * paragraph.[Ch]: layout as string
9488 * lyxtextclasslist.[Ch]: layout as string
9490 * lyxtextclass.[Ch]: layout as string
9492 * lyxtext.h: layout as string
9494 * lyxlayout.[Ch]: layout as string
9496 * lyx_cb.C: layout as string
9498 * bufferview_funcs.C: layout as string
9500 * bufferparams.C: layout as string
9502 * buffer.C: layout as string
9504 * LyXView.[Ch]: layout as string
9506 * LaTeXFeatures.[Ch]: layout as string
9508 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9510 * BufferView_pimpl.C: change current_layout to string, remove
9515 (workAreaButtonRelease): layout as string
9517 * BufferView2.C (unlockInset): adjust
9519 * vspace.C (asLatexCommand): use an explict temp variable.
9521 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9523 * Makefile.am: use FRONTEND_*
9525 2002-03-01 Juergen Vigna <jug@sad.it>
9527 * tabular.C (SetWidthOfMulticolCell): changed to something better
9528 I hope but still work in progress.
9529 (recalculateMulticolumnsOfColumn): renamed function from
9530 recalculateMulticolCells as it is more appropriate now.
9531 (SetWidthOfCell): calculate multicols better.
9533 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9537 * lyxfunc.C (processKeySym): print sequence also if it is
9538 `deleted' (complete)
9540 * kbsequence.C (print): print sequence even if it is deleted
9541 (complete would be a better word, actually).
9543 * lyxfunc.C (dispatch): print complete options after a prefix key
9545 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9547 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9549 * text2.C (setCharFont): eliminate setCharFont code duplication.
9551 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9554 LFUN_TABULAR_FEATURE (bug #177)
9556 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9558 * Makefile.am: remove figure.h
9560 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9562 * Bufferview_pimpl.C:
9574 * text2.C: remove #include "lyx_gui_misc.h".
9576 * LaTeX.C: added #include <cstdio>
9578 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9581 that the paragraph following this one can have.
9583 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9585 * vspace.C (asLatexCommand): fix bogus gcc warning
9587 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9589 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9591 * text2.C (setLayout): get rid of redundant code
9593 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9595 * text2.C (incDepth): make sure depth cannot be increased beyond
9598 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9600 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9601 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9603 * PainterBase.h (image):
9604 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9607 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9611 * BufferView_pimpl.C:
9612 * BufferView_pimpl.h:
9632 * sp_spell.C: remove fig inset, and the crap house of
9633 cards that follows it
9635 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9641 * nt_defines.h: move .h into support/
9643 * vms_defines.h: remove
9645 * WorkArea.C: add space in debug output
9649 * buffer.C: add WITH_WARNINGS
9653 * bufferlist.C: s/retrive/retrieve/, add docs
9664 * lyxgui.C: add ID to X error handler
9666 * lyxtestclass.c: fix typo
9668 2002-02-26 Juergen Vigna <jug@sad.it>
9670 * tabular_funcs.C (write_attribute): changed so that some default
9671 attributes are not written at all.
9672 (getTokenValue): set default values before trying to read the
9673 value so we have the return value always set as default if we don't
9674 find the token we search for.
9676 * tabular.C (Write): write bools as bools not as strings!
9678 2002-02-22 Juergen Vigna <jug@sad.it>
9680 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9681 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9683 * text.C (leftMargin): don't add an indent for paragraphs inside
9684 tabular cells (fix #208).
9686 2002-02-21 José Matos <jamatos@fep.up.pt>
9688 * tabular.C (docBook): fixed support for long tables.
9690 2002-02-20 Juergen Vigna <jug@sad.it>
9692 * text2.C (getFont): get the drawing font of the Inset if this
9693 paragraph is inside an inset (only important for InsetERT for now).
9695 * buffer.C (insertErtContents): use new lanugage params in ERT
9698 * CutAndPaste.C: commenting out seemingly uneeded code.
9700 2002-02-19 Allan Rae <rae@lyx.org>
9702 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9703 Iterators might be simple to use but they also get invalidated.
9704 (removeAutoInsets): renamed saved cursor tracking variables and added
9705 some comments to clarify what everything does.
9707 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9714 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9715 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9718 * vc-backend.h: remove #include "support/syscall.h"
9722 * converter.C: rearrange #includes in Lars' approved fashion.
9724 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9725 forward declare class Timeout in the header file.
9727 * XFormsView.C: changes due to the above.
9729 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9732 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9733 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9735 2002-02-18 José Matos <jamatos@fep.up.pt>
9737 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9740 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9742 * a lot of small ws changes
9743 * add a lot of using std::XXX
9744 * use std construcs some places where approp.
9745 * use some exisint stuff from lyxfunctional where approp.
9746 * Make file changes to use partial linking (lets test this now...)
9748 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9752 remove #include "support/syscontr.h" as it's redundant. Always has been.
9760 change Systemcalls::System to Systemcalls::Wait and
9761 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9762 No change of functionality, just reflects the stripped down Systemcalls
9765 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9767 * debug.[Ch]: add a GRAPHICS type to the enum.
9769 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9771 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9773 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9776 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9778 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9779 match the changes below.
9781 * text2.C (toggleInset): if there is not editable inset at cursor
9782 position, try to see if cursor is _inside_ a collapsable inset
9785 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9788 document menu has a nice checkbox
9790 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9792 * lyxlength.C (asLatexString): change PW to output as percent of
9795 * lengthcommon.C: change '%' to 't%'
9797 * lyxfunc.C (dispatch): a few comments from Martin
9799 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9803 * BufferView_pimpl.h:
9804 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9807 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * vspace.C (inPixels): fix compiler warning
9811 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * lyxfunc.C (getStatus): fix status message for disabled commands.
9815 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9817 * BufferView_pimpl.C: fix crash on close buffer
9818 during selection (#227)
9820 2002-01-27 Herbert Voss <voss@lyx.org>
9822 * buffer.C: link old Figure to new graphic inset
9824 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9826 * FontLoader.C (getFontinfo): Change the latex font names in order
9827 to match the names of type1inst.
9829 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9831 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9833 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9836 (remove_files_with_extension): ditto
9837 (remove_file): ditto
9840 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9841 document is smaller than the work area height. Do not initialize
9842 static variables to 0.
9844 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9848 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9849 LFUN_LAYOUT_PARAGRAPHS.
9851 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9852 tabular. It is possible to provide a possible cell, which will
9853 typically be the actcell from the corresponding insettabular
9855 * lyxfunc.C (getStatus): small cleanup; disable
9856 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9859 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9861 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9863 * paragraph.C (startTeXParParams):
9864 (endTeXParParams): new methods. The LaTeX code to
9865 start/end paragraph formatting
9866 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9867 empty (fixes bug #200)
9869 * vspace.C (inPixels): adapt to the change below
9870 (inPixels): [later] more cleanups (remove unused variables)
9872 * lyxlength.C (inPixels): change to use a width and a height as
9875 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9877 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9878 Replaced with \paperwidth
9880 * DepTable.C (insert): add std:: qualifier
9882 2002-01-18 Allan Rae <rae@lyx.org>
9884 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9887 * text.C (drawInset): Turned out I didn't know enough about how
9888 rebreaking worked. This fixes most of the redraw problems. I see
9889 an occasional cursor trail when a line is broken now and the cursor
9890 placement can seem out by a few pixels also after a rebreak.
9892 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9894 * buffer.C (parseSingleLyXformat2Token): update because minipage
9895 width is now a LyXLength
9897 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9899 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9902 2002-01-17 Juergen Vigna <jug@sad.it>
9904 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9906 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9907 is set correctly and the inset is updated correctly.
9909 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9911 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9912 the beginning of the loop.
9914 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9916 * lyxrc.C: improve help for use_scalable_fonts
9918 2002-01-17 Allan Rae <rae@lyx.org>
9920 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9922 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9924 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9925 make sure to set their inset_owner to the right value (bug #171)
9927 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9930 * DepTable.C: Implement mtime checking to reduce time spent doing
9933 2002-01-16 Juergen Vigna <jug@sad.it>
9935 * tabular.C (GetAdditionalHeight): one of error fixed.
9937 * lyxrc.C (output): small fix in writing use_pspell.
9939 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9941 * sp_base.h: #include LString.h
9943 2002-01-16 Allan Rae <rae@lyx.org>
9945 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9946 Can someone check this please?
9948 * text.C (drawInset): It was possible that p.row would be removed by
9949 breakAgainOneRow upsetting a few other settings. There may be another
9950 small tweak possible by setting need_break_row = 0 when p.row has been
9951 removed but I don't know enough about the logic here.
9953 2002-01-15 Allan Rae <rae@lyx.org>
9955 * text.C (insertChar): removed conditional truism.
9957 * BufferView2.C (removeAutoInsets): More tweaks.
9958 cur_par_prev could be a stray pointer. Check for trailing empty line
9959 in case last line was cur_par and only had an error inset on it.
9961 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9963 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9966 * vc-backend.C (most methods):
9967 * exporter.C (Export):
9968 * converter.C (convert):
9970 * LyXSendto.C (SendtoApplyCB):
9971 * lyxfunc.C (dispatch):
9975 * lyx_cb.C (AutoSave):
9977 * BufferView_pimpl.C (MenuInsertLyXFile):
9978 * buffer.C (runChktex): use Buffer::filePath().
9980 * buffer.h: rename filename to filename_; rename filepath to
9981 filepath_ and make it private
9982 (filePath): new method
9984 * buffer.C (writeFile): use fileName()
9987 * lyx_main.C (init): fix starting of LyX when the binary is a
9988 link from so,ewhere else.
9990 * minibuffer.C: include <cctype> for isprint
9992 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9994 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9995 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9996 name clash with InsetCollapsable's width function.
9998 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10000 * lastfiles.C: include <iterator>
10002 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10004 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10007 * buffer.C (makeLaTeXFile): ditto.
10008 Also make loop operation more transparent.
10010 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10012 * ToolbarDefaults.C: remove trailing comma closing namespace.
10014 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10016 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10019 * trans.C (Load): comment out unused variable, allowed.
10021 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10023 * minibuffer.[Ch] (append_char): new method to recieve input from the
10024 drop-down completion browser. If a key was pressed, then recieve this
10025 char and append it to the existing string.
10026 (peek_event): modify the positioning data passed to the completion
10027 browser so that it can be placed above the minibuffer rather than below.
10028 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10030 * LyXAction.C (init): alloe error-next for readonly documents.
10032 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10035 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10037 * bufferlist.C (readFile): create the buffer _after_ checking that
10040 * lyxfunc.C (verboseDispatch): fix handling of arguments
10042 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10044 * lyxrc.C: use string::erase() instead of initializing to "".
10047 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10049 * BufferView_pimpl.h:
10050 * BufferView_pimpl.C:
10053 * text2.C: tell X when we have made a selection for copying
10055 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10057 * BufferView_pimpl.C (MenuInsertLyXFile):
10058 * lyxfunc.C (menuNew):
10060 (doImport): add shortcuts to directory buttons
10062 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10065 * lyxfunc.C (setStatusMessage):
10066 (getStatusMessage): new methods
10067 (getStatus):use setStatusMessage instead of setErrorMessage
10068 (dispatch): when function is disabled, set error message here
10069 [instead of in getStatus previously]
10071 * BufferView_pimpl.C (workAreaButtonRelease): update
10072 toolbar/menubar here too.
10074 2002-01-13 Allan Rae <rae@lyx.org>
10076 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10077 Now seems indestructible. Remaining task is to audit all other
10078 code affected by deleteEmptyParagraphMechanism. One small quirk
10079 left is that an empty document with an error in the preamble can
10080 be made to report an error but no error box appears. I don't know
10082 (removeAutoInsets): Improved comments.
10084 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10087 * Thesaurus.C: update for Aiksaurus 0.14
10089 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10091 * text2.C (firstParagraph): removed member function, all uses
10092 replaces with ownerParagraph
10093 (redoParagraphs): here
10094 (updateInset): here
10095 (toggleAppendix): here
10096 * BufferView2.C (insertErrors): here
10097 (setCursorFromRow): here
10099 2002-01-13 Allan Rae <rae@lyx.org>
10101 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10102 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10103 There is still a way to segfault this although you may have to do this
10104 multiple times: Have an InsetERT with an unknown command in it.
10105 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10106 <down-arrow>, <Enter> again, View->DVI, BANG!
10108 * text2.C (setCursor):
10109 (deleteEmptyParagraphMechanism):
10110 * lyxtext.h (setCursor):
10111 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10112 Making use of the return value may help fix other bugs.
10114 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10116 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10118 * LyXView.C (updateMenubar): call MenuBar::update here
10119 (updateToolbar): but not here
10120 (showState): do not update toolbar/menubar
10122 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10123 should need to care about that.
10125 * lyxfunc.C (verboseDispatch): simplify a bit
10126 (getStatus): have a version which takes a pseudoaction, and
10127 another which requires a (kb_action,string).
10129 * LyXAction.C (retrieveActionArg): make it work also when action
10130 is not a pseudo-action.
10131 (getActionName): simplify a bit
10134 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * lyxfunc.C (verboseDispatch): new families of methods with
10137 several ways to specify a command and a bool to indicate whether
10138 the command name and shortcut should be displayed in minibuffer
10139 (eventually, we could extend that to a finer bitmask like
10140 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10141 (dispatch): the pristine dispatch command which just, well,
10142 dispatchs! Note it still sets its result to minibuffer; I'm not
10145 * lyxfunc.h: remove setHintMessage
10147 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10149 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10151 * BufferView_pimpl.C (specialChar): delete new inset if we have
10152 not been able to insert it.
10154 * kbmap.C: revert to using int instead of kb_action, since all we
10155 are dealing with is pseudo-actions.
10157 * LyXAction.C (searchActionArg): change to return int instead of
10158 kb_action, since the result is a pseudoaction.
10160 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10162 * buffer.C (insertErtContents): Fix (partially) the font bug.
10164 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10166 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10167 as the other one is broken on my machine!
10169 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10172 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10174 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10176 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10177 reflect their actual use. Provide compatibility code for older lyxrc
10180 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10182 change names of popup font variables in line with the changes to lyxrc.C
10184 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * buffer.C (asciiParagraph): avoid outputing a word twice after
10189 * lyxrc.C (getDescription): document that document_path and
10190 template_path can be empty.
10192 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10194 * LaTeXFeatures.C (getMacros):
10195 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10197 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10199 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10201 (getPackages): rename feature "floats" to "float". Use an array to
10202 iterate over 'simple' features (i.e. just a \usepackage). Add
10203 handling of "amsmath" (renamed from "amsstyle").
10205 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10207 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10210 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10212 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10213 FuncStaus::FuncStatus & FuncStaus::some_method().
10215 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10217 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10218 of the func_satus stuff. Edited and massaged in various ways by
10221 * lyxfunc.C (getStatus): use FuncStatus
10223 2002-01-08 Juergen Vigna <jug@sad.it>
10225 * text.C (nextBreakPoint): use function Inset::isChar().
10227 * paragraph.C (TeXOnePar): use function
10228 Inset::forceDefaultParagraphs.
10230 * buffer.C (latexParagraphs): use function
10231 Inset::forceDefaultParagraphs.
10233 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10235 * lyx_gui.C (init): set the style of the menu popups to
10236 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10238 2002-01-07 Juergen Vigna <jug@sad.it>
10240 * text.C (setHeightOfRow): small fix
10241 (prepareToPrint): don't look at alignment if we don't have the place
10244 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10246 * box.C: New file. Move the Box methods and functions out of box.h,
10247 following Lars' suggestion.
10249 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10251 * box.h: #include "support/LOstream.h", needed for inlined function.
10254 * lyxtextclasslist.C: added some using std declarations.
10256 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10258 * box.h: make signed dimensions to allow insets wider than
10259 the screen (bug #162)
10261 * BufferView_pimpl.C: add some insetHit debug
10263 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10265 * vc-backend.C: add FIXME
10267 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10269 * lyxfunc.C (getStatus): enable code for showing math font status
10272 2002-01-07 Juergen Vigna <jug@sad.it>
10274 * text.C (nextBreakPoint): removed debug output not needed anymore.
10276 2002-01-06 Juergen Vigna <jug@sad.it>
10278 * text.C (nextBreakPoint): fixed up this function we had this bug
10279 since ever but now hopefully we break row better.
10280 (insertChar): we have to check if an inset is the next char as it
10281 could now happen that a large inset is causing a break.
10283 2002-01-05 Juergen Vigna <jug@sad.it>
10285 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10286 if it doesn't like to be drawed.
10288 2002-01-04 Juergen Vigna <jug@sad.it>
10290 * BufferView2.C (lockInset): forgot to set a cursor.
10292 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10294 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10296 * FormMathsPanel.C:
10299 * form_maths_panel.C:
10300 * form_maths_panel.h:
10301 * form_maths_panel.fd: implemented sub- and super- buttons in math
10304 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10305 (or ^ space) to be used as in TeX (req'd by André).
10307 * lyxfunc.C: Allow ^ and _ again to be used both as
10308 super/subscript (mathed) and as themselves (in text).
10310 2002-01-03 Allan Rae <rae@lyx.org>
10312 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10313 "LyX" or the filename of the current buffer if it has one. This is a
10314 modified form of John Levon's patch.
10316 * XFormsView.C (setWindowTitle): also set icon title.
10318 * LyXView.h (setWindowTitle): signature changed.
10319 * XFormsView.h (setWindowTitle): ditto.
10321 2002-01-02 Juergen Vigna <jug@sad.it>
10323 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10325 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10327 * screen.C (topCursorVisible): introduce a temp var for
10328 text->cursor.row(), handle the case where this row is null. (kindo
10331 * text2.C (setCursor): add a couple of asserts.
10333 * paragraph.h (inset_iterator): add -> operator
10335 * paragraph.[Ch] (autoDeleteInsets): remove member function
10337 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10338 cursor pos correctly and handle inset deletion by itself.
10339 (insertErrors): move iterator declaration out of for expression
10341 * lyxtextclass.C: add <algorithm>
10343 * Makefile.am: added the new files to sources, removed layout.C
10345 * layout.C: removed file
10347 * layout.h: remove LYX_DUMMY_LAYOUT
10349 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10353 * lyxtextclass.[Ch]:
10354 * lyxtextclasslist.[Ch]: new files
10356 * include order changes to a lot of files, also changes because of
10359 2001-12-27 Juergen Vigna <jug@sad.it>
10361 * buffer.C (asciiParagraph): more fixes.
10363 * tabular.C (ascii): make ascii export support export of only the
10364 data separated by a column-delimiter.
10365 (ascii): better support for ascii export.
10367 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10369 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10371 * tabular_funcs.C: use a "using std::getline" instead of the
10372 previous fix from Angus (necessary for cxx + lyxstring)
10374 2001-12-24 Juergen Vigna <jug@sad.it>
10376 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10378 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10379 problems. First check a minipage also if we have some ert-contents
10380 (not only on par->size(), second set the right depth of the paragraph
10381 on the relink to the root-paragraph-list!
10383 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10384 which then did not anymore update the main paragraphs on undo/redo!
10386 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10389 code. Support all font-changing funcs (even those which are not in
10390 menu currently). Support for reporting font settings in
10391 mathed (disabled until Andre provides a function on mathed's side).
10393 * func_status.h (toggle): small helper function to set toggle
10396 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10398 * tabular_funcs.C: getline -> std::getline
10400 2001-12-21 Juergen Vigna <jug@sad.it>
10402 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10403 accessed and could be 0 (I couldn't generate this but it seems
10406 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10409 * tabular_funcs.h: here and include iosfwd
10411 2001-12-20 Juergen Vigna <jug@sad.it>
10413 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10414 inside inset but undo_par was.
10416 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10418 * Thesaurus.C: always include <config.h> in sources.
10422 * box.h: do not include <config.h> in header files
10424 * text.C (paintLastRow): remove unused variable
10426 * text.C (transformChar):
10428 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10430 * Painter.C (text):
10431 * font.C (width): rewrite to use uppercase() instead of
10434 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10436 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10438 * lyxfind.C: clean up of find failure position change
10440 2001-12-20 Juergen Vigna <jug@sad.it>
10442 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10444 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10445 (TeXRow): added to LaTeX a single tabular row.
10446 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10447 (Latex): simplified and finally good LT-h/f support.
10448 (various_functions): just small adaptions for LT-h/f support.
10450 * tabular_funcs.[hC]: added and moved here all not classfunctions
10453 2001-12-19 Juergen Vigna <jug@sad.it>
10455 * tabular.[Ch]: better support for longtabular options (not finished
10458 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10460 * text.C (paintLastRow): use the label font instead of the font of
10461 the last character to compute the size of *_BOX. This makes more
10462 sense and avoids a crash with empty paragraphs.
10463 Use Painter::rectangle to draw EMPTY_BOX.
10465 2001-12-19 Juergen Vigna <jug@sad.it>
10467 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10468 the paragraphs if the replaced paragraph is not the first one!
10469 Tried to delete not used paragraphs but does not work yet so for
10470 now it's inside #ifdef's and by default off!
10472 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10474 * MenuBackend.C: include "lyx_main.h" instead of declaring
10475 lastfiles (actually was declared as LastFiles* instead of a
10478 2001-12-17 Juergen Vigna <jug@sad.it>
10480 * tabular.C (AppendColumn): applied John's fix
10482 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10486 * BufferView_pimpl.h:
10487 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10490 * box.h: new start of class for above
10492 * lyxfunc.C: ignore space-only minibuffer dispatches.
10493 Show the command name when it doesn't exist
10495 * minibuffer.C: don't add empty lines to the history
10497 * minibuffer.C: add a space on dropdown completion
10499 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10501 * text.C: fix line above/below drawing in insets
10503 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10505 * lyxlength.C (LyXLength): Initialize private variables.
10507 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10509 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10510 when inserting error insets.
10512 2001-12-13 Juergen Vigna <jug@sad.it>
10514 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10515 actually sometimes the before-paragraph.
10516 (setUndo): don't clear the redostack if we're not actually undoing!
10518 2001-12-06 Juergen Vigna <jug@sad.it>
10520 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10521 and fixed redoing of main paragraph, so we can use it now ;)
10523 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10525 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10530 2001-12-13 André Pönitz <poenitz@gmx.net>
10533 * undo_func.C: minor cleanup
10535 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10537 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10538 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10539 font in urw-fonts package which is marked as -urw-fontspecific and
10540 does not work (incidentally, changing the encoding in the
10541 fonts.dir of this package to -adobe-fontspecific fixes the
10544 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10545 is a crash when undoing first paragraph (Juergen, please take a
10546 look). THis does not mean the undo fix is wrong, just that it
10549 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10550 the (Paragraph*) version when needed instead of duplicating the
10553 * text.C (workWidth): use Inset::parOwner to find out where the
10554 inset has been inserted. This is a huge performance gain for large
10555 documents with lots of insets. If Inset::parOwner is not set, fall
10556 back on the brute force method
10558 * paragraph_pimpl.C (insertInset):
10559 * paragraph.C (Paragraph):
10560 (cutIntoMinibuffer): set parOwner of insets when
10561 inserting/removing them
10563 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10565 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10571 * mathed/formulabase.C:
10572 * mathed/math_cursor.[Ch]:
10573 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10576 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * lyxlength.[Ch] (operator!=): new function
10580 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * text.C (workWidth): use Inset::parOwner to find out where the
10583 inset has been inserted. This is a huge performance gain for large
10584 documents with lots of insets. If Inset::parOwner is not set, fall
10585 back on the brute force method
10587 * paragraph_pimpl.C (insertInset):
10588 * paragraph.C (Paragraph):
10589 (cutIntoMinibuffer): set parOwner of insets when
10590 inserting/removing them
10592 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10594 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10596 * tabular-old.C (getTokenValue):
10597 * tabular.C (getTokenValue):
10598 (write_attribute): new versions for LyXLength
10599 (everywhere): adjust the use of widths
10601 * tabular.h: change the type of widths from string to LyXLength
10603 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10605 * paragraph.C: fixed missing line number count when exporting
10606 Environments to LaTeX file
10608 * buffer.C: added informational message for checking line numbers.
10610 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10612 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10613 paragraph, do the 'double space' part, but not the 'empty
10616 * text.C (workWidth): small optimization
10617 (getLengthMarkerHeight): use minimal size for negative lengths.
10619 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10621 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10623 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10625 2001-12-11 André Pönitz <poenitz@gmx.net>
10628 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10630 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10632 * text2.C: keep selection on a setFont()
10634 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10636 * lyx_cb.C: another bv->text misuse, from insert label
10638 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10641 * kbsequence.C: re-instate nmodifier mask
10643 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10645 * lyx_main.h: make lyxGUI private.
10647 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10649 * lyxfind.C: place the cursor correctly on failed search
10651 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * text.C (getLengthMarkerHeight): for small heights, the arrows
10654 are not always on top/bottom of the text
10655 (drawLengthMarker): smaller arrows; take the left margin in
10656 account; draw also vfills.
10658 (paintLastRow): remove special code for vfill and standard spaces,
10659 since everything is handled in drawLengthMarker now.
10661 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10663 * buffer.C (insertErtContents): try to handle font and language
10664 interaction a bit better.g
10666 * ColorHandler.C (updateColor): change the hash to cover the whole
10667 LColor enum, ws cleanup
10668 (getGCLinepars): ditto
10669 (getGCLinepars): only lookup in the linecache once.
10671 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10673 * iterators.C (operator++): Make the iterator more robust
10675 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10679 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10682 * text.C: better added space drawing
10684 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10687 * BufferView2.C: fix layout combo update on inset unlock
10689 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10691 * Makefile.am: don't compile unused files
10693 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10697 * LyXAction.C: remove old LFUN_LAYOUTNO
10699 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10701 * paragraph_pimpl.h:
10702 * paragraph_pimpl.C: isTextAt() doesn't need font param
10704 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10707 * lyxlex.C: little cleanup
10709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10711 * BufferView_pimpl.C: fix insertAscii for insets
10713 2001-12-05 Juergen Vigna <jug@sad.it>
10715 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10716 set the right font on the "multi" paragraph paste!
10718 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * lyxlength.C: remove out-commented code.
10726 * BufferView_pimpl:
10740 * vc-backend.C: change "while(" to "while ("
10742 * lyxlength.[Ch]: add zero function to check if length is zero or
10744 * lyxgluelength.C: use it
10746 2001-12-05 Allan Rae <rae@lyx.org>
10748 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10749 Works for 2.95.3, from what I understand of Garst's reports this should
10750 work for other g++ versions. We're screwed if the abs(int) definition
10751 changed between bugfix releases of gcc.
10753 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10755 * text.C: fix chapter label offset !
10757 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10760 * text.C: fix hfill at end of line, clean up
10762 2001-12-04 Juergen Vigna <jug@sad.it>
10764 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10765 that we force an update of the inset and it's owners if neccessary.
10767 2001-12-03 Juergen Vigna <jug@sad.it>
10769 * text.C (rowLast): simplified code
10771 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10773 * lyxfunc.C: fix show options on timeout
10775 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10777 * screen.C (topCursorVisible): scroll half a page when the cursor
10778 reached top of bottom of screen
10780 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10782 * minibuffer.C: deactivate on loss of focus
10784 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10786 * vspace.[Ch] (operator!=): add operator.
10788 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10790 * BufferView_pimpl.C: refuse to open an inset when
10791 there's a selection.
10793 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10795 * BufferView_pimpl.C: allow to click on RHS of full row insets
10797 2001-11-30 Juergen Vigna <jug@sad.it>
10799 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10800 insets for undo reasons.
10802 2001-11-28 André Pönitz <poenitz@gmx.net>
10804 * vspace.[Ch]: cosmetical changes
10806 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10816 * kbsequence.C: part re-write of old kb code
10819 * WorkArea.C: remove Lgb_bug_find_hack
10821 2001-11-30 José Matos <jamatos@fep.up.pt>
10823 * buffer.C (makeDocBookFile): add a comment to point a hack.
10824 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10825 Fixed a double write of labels.
10827 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10830 * LaTeX.h Fixed bug in LaTeX class where it would not
10831 re-run latex if no depfiles were changed, but the .dvi was removed.
10833 2001-11-28 André Pönitz <poenitz@gmx.net>
10835 * all the files from the change on 2001/11/26:
10836 use lyx::layout_type instead of LyXTextClass::size_type
10837 use lyx::textclass_type instead of LyXTextClassList::size_type
10839 2001-11-29 Juergen Vigna <jug@sad.it>
10841 * text.C: added support for paragraph::isFreeSpacing()
10843 * buffer.C: same as above
10845 * paragraph.h: inserted isFreeSpacing() function to enable
10846 FreeSpacing inside InsetERT.
10848 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10849 of the paragraph's in the cut/copy buffer to 0!
10851 * text2.C (removeRow): remove the assert as it can!
10853 * lyxtext.h: added helper function firstRow returning firstrow and
10854 made firstrow private again.
10856 * BufferView2.C (lockInset): don't relock if we're already locked!
10858 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10859 the only paragraph.
10860 (removeRow): added Assert::(firstrow)
10862 * debug.C: forgot to add INSETTEXT here.
10864 2001-11-28 Juergen Vigna <jug@sad.it>
10866 * sp_spell.C (initialize): changed error text to more general
10867 spellchecker command use (not only ispell!)
10869 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10871 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10873 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10875 * vspace.C: initialise lyxgluelength on failure
10877 2001-11-28 Allan Rae <rae@lyx.org>
10879 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10880 declaration & definition that looks like a function declaration.
10882 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10884 * BufferView2.C (copy):
10885 (copyEnvironment): do not clear the selection when doing a copy.
10887 * text.C (paintFirstRow): compilation fix
10889 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10891 * tabular.C (Latex): correct line count when writing latex.
10893 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10895 * paragraph_pimpl.h:
10896 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10899 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10903 * LColor.C: change vfillline->added_space
10905 * text.C: add markers and text for added space
10907 * vspace.C: fix comment
10909 2001-11-28 André Pönitz <poenitz@gmx.net>
10911 * paragraph.C: whitespace changes
10912 * all the other files from the change on 2001/11/26:
10913 change *::pos_type into lyx::pos_type
10915 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10917 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10918 language of the document when inserting error insets.
10920 2001-11-26 André Pönitz <poenitz@gmx.net>
10922 * BufferView_pimpl.[Ch]:
10930 * paragraph_pimpl.[Ch]:
10933 * text2.C: reduce header dependencies, introduce type for positions
10935 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10937 * <various>: change to use Alert.h
10939 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10941 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10942 when encountering an unknown token.
10943 (readLyXformat2): Show an error message if there were unknown tokens.
10945 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10948 * BufferView_pimpl.C:
10952 * text2.C: use par->isInset()
10954 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10956 * paragraph_pimpl.h:
10957 * paragraph_pimpl.C: cleanup
10959 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10961 * text2.C (removeRow):
10962 * text.C (setHeightOfRow): remove useless (and costly) call to
10965 2001-11-20 Allan Rae <rae@lyx.org>
10967 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10968 Now need Inset*::checkInsertChar() to return true for appropriate
10969 cases so that the characters in the minibuffer will actually be
10972 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * text.C: change the order of the includes.
10975 (workWidth): initialize it at once.
10976 (workWidth): make maxw unsigned
10977 (setHeightOfRow): remove unused variable (inset)
10978 (selectSelectedWord): remove unused variable (inset)
10979 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10981 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10983 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10984 server is not running.
10986 (closeConnection): add debug info when server is disabled.
10988 * ColorHandler.C (getGCForeground): send debug message to GUI
10991 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10993 * kbmap.C (bind): modify because return conventions of
10994 kb_sequence::parse have changed.
10996 * kbsequence.C (parse): only ignore spaces and not any stupid
10997 control character. This avoids tests like s[i] <= ' ', which are
10998 guaranteed to fail with 8bit characters and signed chars.
10999 Change return code to string::npos when there have been no error
11000 (0 was a bad idea when error is at first character)
11002 2001-11-14 José Matos <jamatos@fep.up.pt>
11005 * buffer.C (simpleDocBookOnePar): removed unused argument.
11007 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11009 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11010 insets which are part of a word. Paragraph::isLetter takes care of
11011 that now. Use Paragraph::isInset to identify insets.
11012 (selectSelectedWord): do not test for hyphenation break.
11014 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11015 that protected spaces are considered as spaces.
11017 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11020 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11023 * lyxserver.C: fix it. and small cleanup.
11025 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11027 * BufferView_pimpl.C: use inline helpers
11030 * LaTeXFeatures.C: fix typos
11033 * Spacing.C: move spacing_string into class
11035 * ToolbarDefaults.C: move stuff into namespace anon
11037 * layout.h: update enum
11039 * lyxfunc.C: use better debug
11041 * minibuffer.h: fix typo
11045 * WorkArea.C: add and use Debug::WORKAREA
11049 * text2.C: code re-organisation, inline helpers
11051 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11053 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11054 std::vector.empty().
11056 2001-11-09 Allan Rae <rae@lyx.org>
11058 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11059 '\n's after tables. Tabular and ERT inset work now makes this no
11062 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11065 * minibuffer.C: fix crash, improve drop-down completion
11067 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11070 * lyxserver.C: invalidate fd's when doing endPipe()
11072 2001-11-08 José Matos <jamatos@fep.up.pt>
11074 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11075 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11078 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11080 2001-11-07 José Matos <jamatos@fep.up.pt>
11083 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11086 * buffer.C (sgmlOpenTag):
11087 * buffer.C (sgmlCloseTag): removed debug info.
11089 * buffer.h (sgmlOpenTag):
11090 * buffer.h (sgmlCloseTag): made public.
11092 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11094 * buffer.C (saveParamsAsDefaults):
11095 * lyx_cb.C (MenuLayoutSave): remove
11097 * LyXAction.C (init):
11099 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11101 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11103 * buffer.C (setPaperStuff): removed from here...
11105 * bufferparams.C (setPaperStuff): ... and moved there.
11107 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11111 * XFormsView.C: add support for drop-down completion
11113 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11115 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11118 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11120 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11123 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11125 * lyx_main.C: change ref to known bugs
11127 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11129 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11130 to work around older babel problems.
11132 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11134 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11136 2001-10-24 Juergen Vigna <jug@sad.it>
11138 * tabular-old.C (ReadOld): below variable changes reflected.
11140 * tabular.[Ch]: added ltType struct for longtable header/footer
11141 defines and changed all instances where they are used. Added
11142 future support for double top/bottom rows.
11144 2001-10-24 José Matos <jamatos@fep.up.pt>
11146 * buffer.h (docbookHandleCaption):
11147 * buffer.C (docbookHandleCaption): removed unused function.
11148 (makeDocBookFile): moved docbook supported version to v4.1.
11150 2001-10-24 José Matos <jamatos@fep.up.pt>
11153 * tabular.C (docbookRow): new function to export docbook code of a row.
11154 (DocBook): now honors the longtable flags.
11156 2001-10-23 José Matos <jamatos@fep.up.pt>
11159 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11160 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11162 * buffer.C (makeLinuxDocFile):
11163 (makeDocBookFile): reworked the preamble, more clean, and with
11164 support for lyx defined entities. Changed the document declaration
11165 to be more XML friendly.
11167 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11168 if we need to output XML that should be done with a filter.
11170 2001-10-22 Juergen Vigna <jug@sad.it>
11172 * sp_pspell.h (class PSpell): add alive function needed in the
11173 controller to see if the spellchecker could be started.
11175 2001-10-22 Juergen Vigna <jug@sad.it>
11177 * buffer.C (insertStringAsLines): modify the font for inserting
11178 chars in certain conditions by calling checkInsertChar(font).
11180 2001-10-19 Juergen Vigna <jug@sad.it>
11182 * text.C (workWidth): use getRow instead of wrong algorithm.
11183 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11185 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11190 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11192 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11194 * text.C (workWidth): do not search for the exact row when
11195 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11196 optimization for big documents.
11198 2001-10-18 Juergen Vigna <jug@sad.it>
11200 * text.C (workWidth): new function with added Inset * parameter.
11202 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11204 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11206 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11207 change return type of getColumnNearX.
11210 * text.C (changeRegionCase): use uppercase/lowercase instead of
11213 (rightMargin): simplify code by factoring out the uses of
11218 (appendParagraph): use Paragraph::size_type
11220 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11222 * vspace.C (asLatexString): add a missing break
11224 2001-10-15 Herbert Voss <voss@perce.de>
11226 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11228 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11230 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11233 2001-10-10 André Pönitz <poenitz@gmx.net>
11235 * lyxfunc.C: removed greek_kb_flag.
11237 2001-10-10 Herbert Voss <voss@perce.de>
11239 * lyx_main.C: delete global string help_lyxdir.
11241 2001-10-09 Herbert Voss <voss@perce.de>
11243 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11245 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11247 * lyx_main.C: added global string help_lyxdir.
11249 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11251 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11253 * lyxrc.C (set_font_norm_type): support iso8859-4
11255 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11257 * LaTeX.C (deplog): add another regex for MikTeX
11259 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11261 * lyxrc.C (set_font_norm_type): support iso8859-3
11263 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11265 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11267 * LaTeXFeatures.C: remove special case of french and index
11269 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11270 before \begin{document}). This solves several incompatibilities.
11272 2001-10-03 Garst Reese <reese@isn.net>
11274 * lyx_cb.C: change CheckTex error msg.
11276 2001-10-03 José Matos <jamatos@fep.up.pt>
11278 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11280 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * .cvsignore: update
11284 * lyx_main.C (commandLineVersionInfo): use new style version info.
11286 * buffer.C (writeFile):
11288 (makeLinuxDocFile):
11289 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11291 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11293 * version.h: update to use stuff in version.C
11295 * version.C.in: new file. Contains version information determined
11296 at compile time. This is a merging of version.h and
11299 2001-10-03 Juergen Vigna <jug@sad.it>
11301 * BufferView_pimpl.C (update): don't change "dirty" status in
11304 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11306 * WorkArea.C (c-tor): re-position version string slightly.
11308 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11310 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11311 revert to previous code.
11313 WorkArea.[Ch]: (show, destroySplash): methods removed.
11315 WorkArea.C: rework code so that it's an amalgam of the codes before and
11316 after the splash screen was moved to WorkArea.
11318 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11321 * vspace.C (inPixels):
11324 * buffer.C (insertStringAsLines):
11325 (asciiParagraph): fix types to be large enough
11327 * lyxlex_pimpl.h: change member status from short to int
11329 * layout.h: fix type of endlabeltype
11332 * kbsequence.C (parse): change return type to string::size_type
11334 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11337 * Bullet.C (bulletSize):
11338 (bulletEntry): do not use short ints as parameters
11340 * BufferView2.C (insertLyXFile): change a char to an int.
11342 * WorkArea.C (WorkArea): remove unneeded floats in computation
11344 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11346 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11348 * paragraph.C (asString): Do not ignore newline/hfill chars when
11349 copying to the clipboard.
11351 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11353 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11354 after a multi-line inset.
11356 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11358 * paragraph.C (validate): Set NeedLyXFootnoteCode
11360 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11362 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11363 and decrease-error to decrease.
11365 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11367 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11368 it more readable (should be equivalent)
11370 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11372 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11374 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11376 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11377 of a cursor (row, etc.) after a character has been deleted
11378 (deleteEmptyParagraphMechanism): call the method above on _all_
11379 cursors held by the LyXText when a double space has been
11382 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11384 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11386 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11388 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11389 background. Use greyOut() and the new show() methods to toggle between
11390 the foreground and background. Add code to remove the splash after
11391 its initial showing.
11393 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11394 (create_forms): no longer call Dialogs::showSplash.
11396 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11398 * .cvsignore: add version_info.h
11400 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11402 * version_info.h.in: new file
11404 * Makefile.am: add version_info.h.in
11406 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11407 version_info.h instead of VERSION_INFO
11409 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11411 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11412 The ERT inset now returns string().
11414 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11416 * lyxtext.h, text.C (selectNextWord): renamed as
11417 selectNextWordToSpellcheck.
11419 * text.C (selectNextWordToSpellcheck): Modified to not select
11420 words inside an ERT inset.
11422 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11424 * lyx_cb.C (MenuLayoutSave): change a bit the question
11426 * sp_base.h: include <sys/types.h>
11428 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11430 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11432 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11434 * several files: fix typos in user-visible strings
11436 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11438 * text2.C (pasteSelection): do not set the selection, since it
11439 will be cleared later. Actually, the intent was to fix the way the
11440 selection was set, but I figured rmoving the code was just as good.
11442 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11444 * FontLoader.C (available): Check if font is available without
11447 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11449 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11451 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11453 * lyxrc.[Ch]: added display_graphics variable and associated code.
11455 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11457 * bufferparams.C (hasClassDefaults): new method. Returns true if
11458 the buffer parameters correspond to known class defaults
11460 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11462 * XFormsView.C (show): set minimum size to the main window.
11464 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11466 * text2.C (copySelection):
11468 * lyxfind.C (LyXReplace):
11469 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11470 LyXText::selectionAsString.
11472 * paragraph.C (asString): add "label" argument to the second form
11474 * text2.C (selectionAsString): add "label" argument and pass it to
11475 Paragraph::asString.
11477 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11479 * lyx_main.C (commandLineHelp): remove version information
11481 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11483 * lyx_main.C: add -version commandline option
11485 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * paragraph.h: make the optional constructor arg required instead.
11488 some modifications to other files because of this.
11490 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11492 * lyxserver.C (C_LyXComm_callback): make it static
11494 * lyx_main.C (error_handler): make it static
11496 * lyx_gui.C (LyX_XErrHandler): make it static
11498 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11500 * WorkArea.C: make the extern "C" methods static.
11502 * Makefile.am (lyx_LDADD): simplify
11504 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11506 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11507 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11509 * LyXAction.C (init):
11510 * lyxfunc.C (dispatch): associated code removal.
11512 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11514 * lyxfont.h (isSymbolFont): shut off warning
11516 * text.C (setHeightOfRow):
11517 (getVisibleRow): fix crash with empty paragraphs which have a
11520 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11522 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11525 2001-09-04 José Matos <jamatos@fep.up.pt>
11528 * tabular.C (docbook): rename docBook method to docbook.
11530 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11532 * Makefile.am: add dependencies to main.o.
11534 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11536 * FontLoader.C (available): Return false if !lyxrc.use_gui
11538 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11540 * FontInfo.C (query):
11541 * converter.C (view):
11542 * importer.C (Import):
11543 * exporter.C (Export): Can not -> cannot.
11545 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11547 * BufferView_pimpl.C: allow to create index inset even if
11550 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11552 * buffer.C (getLists): replace boost::tie code with an explicit pair
11553 as boost::tie can break some compilers.
11555 * iterators.h: Added a std:: declaration to the return type of
11558 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11560 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11563 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11565 * iterators.[Ch]: New files. Provide paragraph iterators.
11567 * buffer.C (changeLanguage): Use paragraph iterators.
11568 (isMultiLingual): ditto
11570 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11572 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11574 * FontLoader.C: Support for cmr font.
11576 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11578 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11579 (available): New method.
11581 * FontInfo.C (getFontname): Use scalable fonts even when
11582 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11585 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11587 * converter.C (Formats::view): reverted! Incorrect fix.
11589 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11591 * converter.C (Formats::view): only output the -paper option
11592 if the dvi viewer is xdvi, thereby fixing bug #233429.
11594 2001-08-23 Herbert Voss <voss@perce>
11596 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11598 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11600 * Spacing.h (Spacing): Set space to Default on in the default
11603 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11605 * vc-backend.h (RCS::versionString): add RCS to version
11606 (CVS::versionString): add CVS to version
11608 * vc-backend.C (scanMaster): do not add CVS to version.
11609 (scanMaster): do not add RCS to version
11611 * lyxvc.C (versionString): new method
11613 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11615 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * Spacing.C (set): initialize fval
11619 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11621 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11624 2001-08-16 Juergen Vigna <jug@sad.it>
11626 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11628 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11630 * BufferView_pimpl.C:
11633 * text2.C: setParagraph takes linespacing now
11635 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11637 * LyxAction.C: add internal LFUN_CITATION_INSERT
11639 * LyXView.C: actually apply fix
11641 * bufferlist.C: fix open non-existent file
11643 * lyxfind.C: fix indentation
11645 * lyxfunc.C: remove unneeded assert, fix typo
11647 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11649 * MenuBackend.C: use "Floatname List"
11651 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11653 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11654 when converting LaTeX layout to insetERT.
11655 Generate a non-collapsed float when reading old float
11657 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11659 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11662 2001-08-13 Juergen Vigna <jug@sad.it>
11664 * text.C (fill): return 0 instead of 20 as this seems to be the more
11667 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11669 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11672 2001-08-13 Juergen Vigna <jug@sad.it>
11674 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11676 (SearchBackward): comment out the unlocking of the inset_owner this
11677 should not be needed!
11679 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11681 * Many files: Remove inherit_language, and add latex_language
11683 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11684 collapsible insets.
11686 2001-08-10 Juergen Vigna <jug@sad.it>
11688 * text.C (prepareToPrint): fixed hfill-width in draw!
11690 * BufferView2.C (selectLastWord): save the selection cursor as this
11691 now is cleared in the function LyXText::clearSelection!
11693 2001-08-08 Juergen Vigna <jug@sad.it>
11695 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11696 BACKSPACE type functions.
11698 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11699 is only cutted from the document but not put in the cut-buffer, where
11700 still the old stuff should be.
11702 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11704 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11706 * tabular.C (SetWidthOfCell): fixed special case where the width
11708 (LeftLine): handle '|' in align_special.
11710 (LeftAlreadyDrawed): ditto
11711 (SetWidthOfCell): ditto
11713 2001-08-07 Juergen Vigna <jug@sad.it>
11715 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11717 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11719 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11720 * lyxlex.[hC]: ditto
11722 2001-08-06 Juergen Vigna <jug@sad.it>
11724 * text.C (getVisibleRow): fix up row clearing a bit.
11726 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * minibuffer.C: make sure the X server sees the changes in the input.
11730 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11732 * paragraph.C (getFont): split into...
11733 (getLabelFont): this
11734 (getLayoutFont): and this
11735 * paragraph_pimpl.C (realizeFont): calling this
11737 * text2.C (getFont): split into...
11738 (getLayoutFont): this
11739 (getLabelFont): and this
11740 (realizeFont): all three calling this
11742 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11745 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11747 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11749 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11751 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11752 layouts from the Quote inset insertion.
11754 2001-08-03 Juergen Vigna <jug@sad.it>
11756 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11758 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11759 only if status not is already CHANGED_IN_DRAW (second level).
11761 * text.C (draw): don't set the need_break_row when inside an
11764 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11766 * buffer.C (parseSingleLyXformat2Token): handle more latex
11769 * bufferview_funcs.[hC]: change function names to
11770 begin with small char, adjust other files.
11772 2001-08-02 André Pönitz <poenitz@gmx.net>
11775 BufferView_pimpl.C: remove broken special code for math-greek
11777 2001-08-02 Juergen Vigna <jug@sad.it>
11779 * BufferView_pimpl.C (update): redone this function so that we
11780 update the text again if there was a CHANGE_IN_DRAW.
11782 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11783 (drawFromTo): added a new internal bool which is used by draw() and
11785 (general): some cursor drawing problems fixed.
11787 2001-08-01 Juergen Vigna <jug@sad.it>
11789 * lyxfind.C (LyXFind): fixed
11790 (SearchForward): ditto
11791 (SearchBackward): ditto
11793 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11794 spurius drawing of the cursor in the main area.
11796 * text2.C (status): small fix which could lead to a segfault!
11797 (clearSelection): remove unneeded BufferView param.
11799 2001-08-01 André Pönitz <poenitz@gmx.net>
11801 * lyxfunc.C: small change due to changed mathed interface
11803 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11805 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11807 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11809 * lyxfunc.c: fail gracefully if file doesn't exist
11814 * BufferView_pimpl.C: IsDirWriteable() proto changed
11816 * LyXView.C: fix updateWindowTitle() to store the last title
11818 2001-07-31 Juergen Vigna <jug@sad.it>
11820 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11821 the font (wrong since using of Paragraph::highestFontInRange).
11823 * paragraph.C (highestFontInRange): added a default_size parameter.
11825 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11826 (setHeightOfRow): reformat
11828 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11830 * converter.[hC] + affected files: move to (inital-char)lowercase
11833 * ParagraphParameters.C (ParagraphParameters): remove commented code
11835 * PainterBase.[Ch]: remove commented code
11837 * LaTeXFeatures.h: add "bool floats" for float.sty
11839 * LaTeXFeatures.C (LaTeXFeatures): init floats
11840 (require): handle float
11841 (getPackages): do it with floats
11843 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11845 * BufferView_pimpl.C (Dispatch): improve handling of
11846 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11848 * commandtags.h: #include lyxfont.h here temporarily to avoid
11851 * bufferlist.h: include LString.h here.
11853 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11855 * text2.C (getStringToIndex): new method.
11857 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11859 * *: Reduced header file dependencies all over.
11861 2001-07-30 Baruch Even <baruch@lyx.org>
11863 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11865 2001-07-29 Baruch Even <baruch@lyx.org>
11867 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11869 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * ParameterStruct.h (endif): add a default constructor to make
11872 sure that all variables is initialized.
11874 * ParagraphParameters.C (ParagraphParameters): adjust
11876 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11879 index; also, check that there is something to index, and that it
11880 does not span over several paragraphs.
11881 (doubleClick): use WHOLE_WORD_STRICT for double click.
11883 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11885 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11888 2001-07-26 Baruch Even <baruch@lyx.org>
11890 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11891 an InsetFig figure, backwards compatible reading of old figure code.
11893 2001-07-27 Juergen Vigna <jug@sad.it>
11895 * text2.C: font.realize function adaption.
11897 * text.C (draw): add a warnings lyxerr text if needed.
11899 * layout.C: font.realize function adaption.
11901 * language.C: add inherit_language and implement it's handlings
11903 * bufferview_funcs.C (StyleReset): remove language parameter from
11904 font creation (should be language_inherit now).
11906 * bufferparams.C (writeFile): handle ignore_language.
11908 * paragraph.C (getFontSettings): the language has to be resolved
11909 otherwise we have problems in LyXFont!
11911 * lyxfont.C (lyxWriteChanges): added document_language parameter
11912 (update): removed unneeded language parameter
11914 * paragraph.C (validate): fixed wrong output of color-package when
11915 using interface colors for certain fonts in certain environments,
11916 which should not seen as that on the final output.
11918 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11920 * BufferView_pimpl.C:
11925 * LyXAction.C: add thesaurus support
11928 * lyxfind.C: add "once" parameter, for thesaurus, to not
11929 move to the next match
11931 2001-07-26 Juergen Vigna <jug@sad.it>
11933 * lyxfont.C (realize): honor ignore_language too!
11936 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11938 * text.C (draw): one place more for ignore_language to not draw
11941 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11943 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11945 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11948 the minipage conversion problem.
11950 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11952 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11955 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * BufferView.h: don't forward declare WorkArea
11959 * BufferView.C: don't include WorkArea.h
11961 2001-07-25 André Pönitz <poenitz@gmx.net>
11965 * lyxfunc.C: new LFUN 'math-space'
11967 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11969 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11971 * text2.C (toggleInset): call open/close
11973 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11975 * lyxfunc.C (dispatch): add debug for the disabled case
11977 * font.C (buttonText): make similar to rectText
11979 * buffer.C (readInset): comment out parsing of insetlist and
11982 * PainterBase.C (rectText): small correction
11984 * BufferView_pimpl.C: comment out insettheorem and insetlist
11985 * LyXAction.C: ditto
11986 * commandtags.h: ditto
11988 2001-07-24 Juergen Vigna <jug@sad.it>
11990 * text.C (draw): honor the ignore_language.
11992 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11994 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11996 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11999 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12001 * lyxtext.h: remove unused (and unimplemented) methods
12003 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12005 * text.C (getVisibleRow): honor background color
12008 * Painter.h: remove default color argument for fillRectangle
12010 * text.C (backgroundColor): new method
12012 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12014 * text.C (getVisibleRow): adjust
12016 * font.[Ch] (rectText): new method, metrics
12017 (buttonText): new method, metrics
12019 * PainterBase.[hC]: make rectText and buttonText always draw and take
12022 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12024 * ToolbarDefaults.C (read):
12025 * MenuBackend.C (read): allow escaping in all strings
12027 * BufferView_pimpl.C (insertAndEditInset): new method.
12028 (Dispatch): use insertAndEditInset whenever appropriate.
12030 * BufferView_pimpl.C (insertNote): removed
12032 * BufferView_pimpl.C (smartQuote): new method, moved from
12033 BufferView; if an insetquote cannot be inserted, insert a '"'
12036 * BufferView2.C: remove insertCorrectQuote();
12038 * lyxfunc.C (getStatus): Add support for all remaingin
12039 inset-insert lfuns.
12041 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12043 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12044 command (necessary to pass " as parameter of self-insert.
12046 * text.C (selectWordWhenUnderCursor):
12047 (selectWord): add word_location parameter
12048 (selectWordWhenUnderCursor): same + remove special code for word
12050 (selectNextWord): use kind() to guess type of insetspecialchar,
12053 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12054 (insertErtContents): create ert insets as collapsed.
12055 (readInset): better compatibility code for Info inset.
12057 2001-07-20 Juergen Vigna <jug@sad.it>
12059 * lyxfunc.C (dispatch): use always LyXFind now!
12061 * text2.C (init): add a reinit flag so that the LyXText can be
12062 reinited instead of deleted and reallocated (used in InsetText).
12064 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12070 2001-07-18 Juergen Vigna <jug@sad.it>
12072 * text.C (selectNextWord): handle insets inside inset by calling
12073 always the bv->text functions so that we can go up the_locking_inset!
12075 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12076 in strange locations when inside an inset!
12078 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12079 handling to include insets.
12081 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12083 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12085 * LyXAction.C (init):
12087 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12088 LIGATURE_BREAK, since the name is so stupid.
12090 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12092 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12095 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12097 * sp_form.[Ch]: remove.
12099 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12101 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12104 * src/buffer.C (readInset): ditto.
12106 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12108 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12109 menuSeparator(), endOfSentenceDot(), ldots() and
12110 hyphenationPoint(), which are therefore removed.
12111 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12113 * LyXAction.C (init):
12114 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12116 * paragraph.C (getWord): removed.
12118 * BufferView_pimpl.C (Dispatch): use last word or selection for
12119 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12121 * lyx_main.C (queryUserLyXDir): do not ask before creating
12122 user_dir, except if it has been named explicitely.
12124 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12126 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12127 a document of zero size.
12129 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12131 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12132 approriately in the c-tor and in require().
12133 (getPackages): output the appropriate LaTeX for natbib support.
12135 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12136 variables "use_natbib" and "use_numerical_citations" when reading the
12138 (readInset): read the various natbib cite commands.
12139 (validate): white-space change.
12141 * bufferparams.[Ch]: new variables "bool use_natbib" and
12142 "bool use_numerical_citations".
12143 (writeFile): output them in the LyX file.
12145 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12147 * lyxfunc.C (getStatus): add support for all the inset insertion
12150 * text2.C (insertInset):
12151 * paragraph.C (insetAllowed):
12152 * BufferView_pimpl.C (insertInset): update to take in account the
12153 renaming of insertInsetAllowed
12155 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12157 * text2.C (getInset): new method. returns inset at cursor position.
12159 * BufferView_pimpl.C (Dispatch): changes because of this.
12161 * LyXAction.C (init): rename open-stuff to inset-toggle.
12163 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12165 * text2.C (toggleInset): renamed from openStuff; use
12168 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12170 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12172 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12174 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12176 * buffer.C (readLyXformat2): Add filename to the error dialog
12178 2001-07-18 Juergen Vigna <jug@sad.it>
12180 * tabular.C (GetCellNumber): put an assert here instead of the check!
12182 2001-07-17 Juergen Vigna <jug@sad.it>
12184 * BufferView_pimpl.C (toggleSelection): adapted too.
12186 * text.C (selectNextWord): adapted for use with insets.
12187 (selectSelectedWord): ditto
12189 2001-07-17 Juergen Vigna <jug@sad.it>
12191 * sp_spell.C (PSpell): fix initialitation order.
12193 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12195 * paragraph.C: spacing
12197 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12199 * sp_spell.C: repair language selection for pspell
12201 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * lyxfunc.h: change more methods to begin with lower char.
12205 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12207 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12208 for unknown layouts.
12210 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12212 * buffer.C (readLyXformat2): Generate an error dialog if there are
12215 2001-07-16 Juergen Vigna <jug@sad.it>
12217 * sp_spell.C: always compile ISpell part.
12219 * lyxrc.C: added use_pspell entry and it's handling.
12221 2001-07-13 Juergen Vigna <jug@sad.it>
12223 * sp_spell.C: removed double includes.
12225 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12227 Consistent use of Lsstream.h:
12228 * Lsstream.h: added using std::stringstream for consistencies sake.
12230 * buffer.C: removed using std::stringstream
12232 * lyxfont.C (stateText):
12233 * paragraph.C (asString):
12234 * text.C (selectNextWord, selectSelectedWord):
12235 * text2.C (setCounter):
12236 * vspace.C (asString, asLatexString):
12237 std::ostringstream -> ostringstream.
12239 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12241 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12242 * commandtags.h: add LFUN_HELP_ABOUTLYX
12243 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12245 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12247 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12249 * lyx_gui_misc.C: remove spellchecker
12250 * lyxfunc.C: showSpellchecker
12252 * sp_ispell.h: added
12253 * sp_pspell.h: added
12254 * sp_spell.C: added
12255 * sp_form.[Ch]: removed
12256 * spellchecker.[Ch]: removed
12258 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12260 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12262 (simpleTeXSpecialChars): Simply print the input character without
12263 any special translation if pass_thru is set.
12265 * layout.h: Added bool pass_thru to layout class for being able to
12266 implement pass through of a paragraph for Literate Programming.
12268 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12269 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12270 * layout.C (Read): add "passthru" to list of layout tags and add
12271 code to set the pass_thru boolean when it is read.
12273 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * trans_decl.h: remove allowed from KmodInfo
12277 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12278 remove allowed code
12281 * paragraph_pimpl.C (erase): use boost::prior
12283 * Painter.C (text): use data() instead of c_str() when length is
12285 * WorkArea.C (putClipboard): ditto
12286 * font.h (width): ditto
12288 * BufferView2.C: use it-> instead of (*it). for iterators
12290 * paragraph_pimpl.C: ditto
12291 * paragraph.C: ditto
12292 * minibuffer.C: ditto
12293 * language.C: ditto
12295 * encoding.C: ditto
12296 * counters.C: ditto
12297 * converter.C: ditto
12299 * Variables.C: ditto
12300 * TextCache.C: ditto
12301 * MenuBackend.C: ditto
12302 * LyXAction.C: ditto
12304 * FloatList.C: ditto
12305 * DepTable.C: ditto
12306 * ColorHandler.C (LyXColorHandler): ditto
12308 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12310 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12312 * text2.C (openStuff): reintroduce this method (which had been
12313 nuked in NEW_INSETS frenzy).
12315 * lyxfunc.C (Dispatch): when an action has not been handled, use
12316 its name in the error message, not its number.
12318 * paragraph.C (inInset): change method name to begin with lowercase.
12321 * text2.C: updates because of this.
12323 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12325 * ToolbarDefaults.C (add): add spaces in error message
12327 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12330 (readLyXformat2): rename return_par to first_par, use lyxlex's
12331 pushToken and remove the manual push handling.
12332 (parseSingleLyXformat2Token): add another ert comp. variable:
12333 in_tabular, rename return_par to first_par. handle newlines better
12335 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12337 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12339 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * text2.C (getParFromID): removed
12343 * buffer.C (getParFromID): new method moved form lyxtext.
12344 * BufferView2.C (insertErrors): adjust
12345 (setCursorFromRow): adjust
12346 * BufferView_pimpl.C (restorePosition): adjust
12347 * lyxfunc.C (Dispatch): adjust
12348 * undo_funcs.C (textUndo): adjust
12350 (textHandleUndo): adjust
12351 (textHandleUndo): adjust
12353 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12355 * buffer.C: up' the LYX_FORMAT
12357 * lyxfont.h: turn NO_LATEX on as default
12359 * buffer.C (insertErtContents): new methods of tex style compability.
12360 (parseSingleLyXformat2Token): use it several places.
12361 * tabular.C (OldFormatRead): and here
12363 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12365 * text2.C: remove some commented code.
12368 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12369 * trans.C: changes because of the above.
12371 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12373 * text2.C (setCounter): Fix counters bug with bibliography layout.
12375 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12377 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12378 own member functions
12379 (simpleTeXSpecialChars): ditto
12381 2001-07-06 Juergen Vigna <jug@sad.it>
12383 * a lot of files: changed the access to LyXText::status and the
12384 call of undo-functions.
12386 * undo.[Ch]: added a inset_id to the undo informations.
12388 * undo_funcs.[Ch]: added and moved here all undo functions.
12390 * lyxtext.h: give the status enum a weight, made status_ a private
12391 variable and made accessor functions for it, removed the whole bunch
12392 of undo-functions as they are now in their own file, make some
12393 functions publically available. Added function ownerParagraph with
12396 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12397 made InInset() a const function, added getParFromID() function.
12399 * buffer.[Ch]: added const version for inset_iterator functions,
12400 added getInsetFromID() function.
12402 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12403 changed undo functions for new version.
12405 2001-07-05 Juergen Vigna <jug@sad.it>
12407 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12408 unknow mechanism does not call the proper constructor but only this
12409 one also if I request the other!?
12411 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12413 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12415 * text2.C (LyXText): use initialization lists.
12417 * lyxtext.h (Selection): initialize set_ and mark_
12418 (init): remove method
12420 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12422 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12424 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * screen.[Ch]: change method names to begin with lowercase
12428 * BufferView_pimpl.C (updateScrollbar): simplify further and
12429 hopefully make it a bit faster.
12431 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12433 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12434 calling directly xforms functions.
12436 * Painter.C (Painter):
12437 * lyx_cb.C (MenuWrite):
12438 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12441 * lyx_gui.C: remove bogus guiruntime extern declaration.
12443 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12445 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12447 (redoDrawingOfParagraph): ditto
12448 (redoParagraphs): ditto
12449 (cutSelection): don't create a object for CutAndPaste use the
12450 static method directly
12451 (pasteSelection): ditto
12453 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12456 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * modifications to some other files because of this.
12460 * Makefile.am (lyx_SOURCES): add XFormsView
12462 * XFormsView.[Ch]: new files
12464 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12465 the main window. Move the gui dependent stuff to XFormsView
12467 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12469 * tabular.C (GetCellInset): update cur_cell also in the row/col
12470 version of this function.
12472 * lyxfunc.C: no need to include figure_form.h here.
12478 * lyxvc.C: no need to include forms.h here.
12480 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12482 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12484 * lyxfunc.C (Dispatch):
12486 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12487 constructor argument.
12489 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12491 * paragraph.C (Paragraph): dont't clear, and just set layout.
12492 (makeSameLayout): use params's copy contructor.
12494 * ParagraphParameters.[Ch] (makeSame): delete method
12496 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12498 * Variables.[Ch]: fix indentation, rename set to isSet
12500 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12502 * lyxfunc.C (Dispatch): fix typo
12504 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12506 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12509 * bufferlist.C: include assert.h for emergencyWrite().
12511 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12513 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12514 give up at last (bug #425202) !
12516 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12522 * spellchecker.C: strip spellchecker options and bring up
12523 preferences tab instead
12525 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12528 the istringstream constructor
12530 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12532 * paragraph.C (getLayout): fix return value
12534 * paragraph.h: do not declare getLayout as inline.
12536 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12538 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * lyxcursor.h (operator<): new func
12541 (operator>): new func
12542 (operator>=): new func
12543 (operator<=): new func
12545 * text.C (changeCase): use selection.start and selection.end
12546 (changeRegionCase): require from to be <= to. Require par to be a
12549 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12551 2001-06-27 Juergen Vigna <jug@sad.it>
12553 * text.C (cursorLeftOneWord): changed to return the cursor and added
12554 overlay with BufferView * parameter which calls this one.
12556 (selectWord): use new getWord function.
12557 (changeCase): renamed from changeWordCase as and extended to work
12558 also on selections.
12560 * lyxtext.h: added enum word_location
12562 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12563 changeCase as this operates now also on selections.
12565 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12567 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12569 * many files: send debug output to Debug::INFO instead of
12572 * converter.C (View):
12574 (Move): send debug output to Debug::FILES instead of console.
12576 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12578 * lyxfunc.C (getStatus): use func_status
12580 * func_status.h: new header, describing the results of
12581 LyXFunc::getStatus;
12583 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12586 2001-06-25 The LyX Project <jug@sad.it>
12588 * buffer.C (sgmlOpenTag):
12590 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12592 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * text2.C: remove some dead code
12596 * tabular.C (GetCellInset): store the last cell checked (gotten)
12598 * tabular.h: add the helper for the speedup
12600 * lyxtext.h: remove some dead code
12602 2001-06-26 The LyX Project <Asger>
12604 * paragraph.C: Change export to LaTeX of alignment to
12605 \begin{center} and family for better roundtrip work with reLyX.
12607 * Tune the math drawing a bit.
12609 2001-06-25 The LyX Project <Asger>
12611 * LColor.C (LColor): New color for math background. New color
12614 2001-06-25 The LyX Project <jug@sad.it>
12616 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12618 * lyxfunc.C (Open):
12619 * bufferlist.C (newFile): do not restrict to files ending with
12622 * BufferView_pimpl.C (MenuInsertLyXFile):
12624 2001-06-24 The LyX Project <jug@sad.it>
12626 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12629 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * lyxtext.h: rename most methods to begin with a small char.
12632 Lots of changes because of this.
12634 * paragraph.C (Paragraph): do not call fitToSize
12635 (erase): call Pimpl::erase
12636 (insertChar): call Pimpl::insertChar
12637 (insertInset): call Pipl::insertInset
12638 (breakParagraph): do not call fitToSize
12639 (breakParagraphConservative): do not call fitToSize
12640 (fitToSize): remove method
12642 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12644 2001-06-24 The LyX Project <Asger>
12646 * Fix Qt compilation^2
12648 2001-06-24 The LyX Project <jug@sad.it>
12650 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12651 depthHook(getDepth()-1).
12654 * ParagraphParameters.h:
12655 * ParameterStruct.h: change type of depth to unsigned int ==
12656 depth_type. Many adaptations to other files before of that.
12658 2001-06-24 The LyX Project <Asger>
12660 * Fix Qt compilation.
12662 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * paragraph.h: renamed several methods to begin with small letter.
12665 several changes to many parts of the code because of this.
12667 2001-06-23 The LyX Project <jug@sad.it>
12669 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12670 rewritten to discard all double spaces when KeepEmpty is off
12671 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12672 to only handle newlines but not fiddle with spaces and friends.
12674 * lyxfunc.C (MenuNew): when doing 'new from template', use
12675 template_path as default directory
12677 2001-06-23 The LyX Project <Asger>
12679 * Clean-up of header file includes all over
12680 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12682 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * paragraph.h: renamed from lyxparagraph.h
12686 2001-06-23 Asger <lyx@violet.home.sad.it>
12688 * Buffer.h: Removed Buffer::resize
12689 * BufferList.h: Removed BufferList::resize
12690 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12691 the document lazily when we change the width, or the font settings.
12693 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12695 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12697 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12699 * buffer.h: remove out of date comment
12701 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12704 * screen.C: fix "theoretical" GC leak
12706 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * LaTeX.C (scanAuxFile):
12709 (deplog): remove trailing \r when reading stream (useful under
12712 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12714 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12715 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12716 and BufferView::theLockingInset(Inset*), so should use them and not
12717 access bv_->text->the_locking_inset directly.
12719 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12721 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12724 * tex-defs.h: remove old unused file
12726 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12728 * BufferView_pimpl.C: fix typo, remove minibuffer message
12729 when buffer has loaded
12731 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * lyxfunc.C (Dispatch): use stringstream
12734 (MenuNew): use stringstream
12735 (Open): use stringstream
12737 * importer.C (Import): use stringstream
12739 * bufferview_funcs.C (CurrentState): use stringstream
12741 * LaTeX.C (run): use stringstream
12743 * BufferView_pimpl.C (savePosition): use stringstream
12744 (restorePosition): use stringstream
12745 (MenuInsertLyXFile): use stringstream
12747 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12760 * vspace.C: removed // -*- C++ -*- as first line.
12763 * version.h: added // -*- C++ -*- as first line.
12765 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12767 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12769 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12772 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12777 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12779 * gettext.C: include LString.h even when --disable-nls is on.
12781 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12783 * converter.h (Get): changed argument type from int to
12784 FormatList::size_type to avoid unnecessary conversion.
12786 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12789 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12791 * gettext.h: include LString.h even when --disable-nls is on.
12793 2001-06-07 Juergen Vigna <jug@sad.it>
12795 * text.C (BreakAgain): subst spaces with tabs.
12797 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12798 (resizeInsetsLyXText): set force on resizeLyXText.
12800 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12802 * gettext.h (gettext_init):
12803 (locale_init): use a real definition instead of a macro
12805 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12807 * Bufferview_pimpl.C:
12809 * LColor.C: further lcolor tidies
12811 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * BufferView_pimpl.C (updateScrollbar): simplify.
12815 * BufferView2.C: don't include insets/insetinfo.h, change
12816 prototype for insertInset and call the Pimpl version. let
12817 updateInset call Pimpl version.
12819 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12820 gotoInset to BufferView::Pimpl
12822 2001-06-01 Juergen Vigna <jug@sad.it>
12824 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12825 inside a LockingInset (is the update needed at all?).
12827 2001-05-31 Juergen Vigna <jug@sad.it>
12829 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12830 here not the old one otherwise how should we compare it afterwards
12833 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12838 * FontInfo.C: bring C functions into global namespace when
12841 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12843 * LString.h: make sure config.h has been loaded before LString.h.
12845 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12846 (one for each char read by EatLine!).
12848 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12851 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12854 to the same as the par we break from
12856 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12860 * MenuBackend.C (expand): also create menu entries for wide
12861 versions of the floats.
12863 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12865 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12867 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12868 frontends/Makefile.am
12874 * tabular.C (getTokenValue): add std::
12876 * tabular-old.C (getTokenValue): add std::
12877 (getTokenValue): ditto
12878 (getTokenValue): ditto
12880 * screen.C (ToggleSelection): adjust
12882 * lyxtext.h: put selection cursors inside a Selection struct.
12884 * lyxfunc.C (moveCursorUpdate): adjust
12886 * lyxfont.C (latexWriteStartChanges): add std::
12888 * lyxfind.C: adjust
12890 * font.h: delete with(char const *, LyXFont const &)
12892 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12894 * FontInfo.C (getFontname): add std::
12896 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12897 (workAreaButtonPress): adjust
12898 (tripleClick): adjust
12900 (moveCursorUpdate): adjust
12903 * BufferView2.C (gotoInset): adjust
12905 2001-05-30 Juergen Vigna <jug@sad.it>
12907 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12908 to check pspell I add this as default as I now have new pspell
12909 libraries and they seem to use this.
12911 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12913 * text2.C (CutSelection): make the cursor valid before the call to
12916 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12918 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12919 relied on 0 terminated strings and other horrors. Bug found due to
12920 the new assert in lyxstring!
12922 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12925 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12927 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12930 * lyxfunc.C (processKeySym): change method of getting to the
12933 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12934 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12935 * BufferView_pimpl.[Ch]: here as private methods.
12937 2001-05-28 Juergen Vigna <jug@sad.it>
12939 * text.C (SetHeightOfRow): added the update() call again as it is
12940 needed to initialize inset dimensions!
12942 2001-05-16 Juergen Vigna <jug@sad.it>
12944 * text2.C (SetCharFont): Add new function with BufferView * and
12945 bool toggleall parameters for setting insets internal fonts.
12946 (SetFont): Freeze the undo as we may change fonts in Insets and
12947 all this change should be inside only one Undo!
12949 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12950 setting font's in insets as for them we have the SetFont function!
12952 2001-05-15 Juergen Vigna <jug@sad.it>
12954 * text2.C (ClearSelection): to be sure we REALLY don't have any
12957 * tabular.C (TeXCellPreamble): fixed the left border problem for
12960 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12962 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12965 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12968 LFUN_BREAKPARAGRAPH.
12970 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12971 help test to "internal only", similar for LFUN_INSERT_URL
12973 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12974 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12975 auto_region_delete and deadkeys.
12977 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12980 * LColor.C: remove some dead entries, tidy a little
12982 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12986 (Dispatch): implement LFUN_ESCAPE
12988 * commandtags.h: add LFUN_ESCAPE
12990 * LyXAction.C (init): add entry for LFUN_ESCAPE
12992 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12993 Remove commented code.
12994 (insertNote): moved here
12995 (open_new_inset): moved here
12997 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13000 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13002 * kbmap.C (findbinding): clean it up and make it work correctly.
13004 * lyx_main.C (init): do not pass argc and argv as parameters
13006 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13008 * buffer.C: fix path for OS/2 & Win32
13012 * lyx_main.C: Added os:: class.
13014 * os2_defines.h: update
13016 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13019 better by trying again with reduced state.
13021 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13023 * lyxrc.C (read): print error about invalid key sequence only when
13024 debugging (because not all latinX keysyms are known to some X
13027 * kbsequence.C (getiso): add a few std:: qualifiers
13028 (getiso): comment out extra return statement.
13030 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13034 (Dispatch): enhance the accent inset a bit. (not perfect)
13036 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13038 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13040 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13042 * bufferlist.C (emergencyWrite): fix assert() call
13044 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13046 * text.C (InsertChar): Added trivial patch to only send the "you
13047 can not do multiple spaces this way" message once during a
13050 2001-05-08 Baruch Even <baruch@lyx.org>
13052 * Makefile.am: Changed order of libraries to get LyX to link properly
13053 with the gnome frontend.
13055 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13057 * LaTeXFeatures.h: add a std:: qualifier
13059 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13061 * paragraph.C (String): use stringstream
13063 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * paragraph.C (writeFile): remove footflag arg
13067 * buffer.C (makeLaTeXFile): use stringstream
13068 (latexParagraphs): remove footnot gurba
13070 * LaTeXFeatures.C (getPackages): use stringstream
13071 (getMacros): likewise
13072 (getTClassPreamble): likewise
13073 (getFloatDefinitions): new method
13075 * paragraph.C (writeFile): reindent
13078 * WorkArea.h: revert the xpos + etc changes.
13080 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13082 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13084 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13085 (pasteSelection): likewise
13086 * text2.C (CreateUndo): likewise
13088 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13090 * minibuffer.C (peek_event): temporarily reduce the functionality
13091 of the minibuffer (to allow args on lfuns)
13093 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13094 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13096 * buffer.C (readInset): add compability reading of old float
13097 lists, add reading of new style float list.
13098 (readInset): avoid reevaluation of inscmd.getCmdName()
13099 (getLists): reindent
13101 * MenuBackend.C (MenuItem): implement parsing of
13102 md_floatlistinsert and md_floatinsert.
13103 (expand::LastFiles): move initalizaton of iterators out of loop,
13104 avoid reevaluation.
13105 (expand::Documents): introduce typdedef vector<string> Strings,
13107 (expand::ExportFormats): introduce typedef vector<Format const *>
13108 Formats, and use it.
13109 (expand): implement FloatListInsert and FloatInsert.
13111 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13112 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13113 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13115 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13117 (Dispatch::LFUN_FLOAT_LIST): implement
13119 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13121 * LaTeX.C (run): Fix problem with --export code.
13123 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13125 * BufferView.[Ch] (workarea): removed.
13126 (getClipboard) new method; wrapper for workarea()->getClipboard()
13128 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13131 * WorkArea.h (width, height, xpos, ypos): These methods all
13132 returned the dimensions of the work_area sub-area of WorkArea,
13133 resulting in a position error if the WorkArea were resized. Now
13134 return the dimensions of the entire WorkArea.
13136 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13138 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13140 * LaTeX.C (deplog): correct the syntax of regex reg1
13142 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * undo.C: remove !NEW_INSETS cruft
13146 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * text2.C: remove !NEW_INSETS cruft
13150 * text.C: remove !NEW_INSETS cruft
13152 * tabular.C: remove !NEW_INSETS cruft
13154 * spellchecker.C: remove !NEW_INSETS cruft
13156 * lyxtext.h: remove !NEW_INSETS cruft
13158 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13160 * lyxfunc.C: remove !NEW_INSETS cruft
13162 * lyxfind.C: remove !NEW_INSETS cruft
13164 * lyx_cb.C: remove !NEW_INSETS cruft
13166 * figureForm.C: remove !NEW_INSETS cruft
13168 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13170 * buffer.[Ch]: remove !NEW_INSETS cruft
13172 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13174 * CutAndPaste.C: remove !NEW_INSETS cruft
13176 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13178 * BufferView2.C: remove !NEW_INSETS cruft
13180 * BufferView.h: remove !NEW_INSETS cruft
13182 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * Lsstream.h: include LString.h before the sstream headers to
13185 fix problem with gcc 2.95.3 and lyxstring
13187 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13189 * lyx_main.C: add using directives when needed for C functions
13190 declared in std:: namespace.
13192 2001-04-27 Juergen Vigna <jug@sad.it>
13194 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13195 (SetHeightOfRow): comment out the update call should not be needed!
13197 2001-04-13 Juergen Vigna <jug@sad.it>
13199 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13200 (LyXTabular): tried to minimize operator= operations (and realized
13201 hopfully Lars wish).
13203 2001-04-27 Juergen Vigna <jug@sad.it>
13205 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13207 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13211 * buffer.C (readInset): hack to make listof algorithm work
13213 * BufferView_pimpl.C: hack to make listof algorithm work
13215 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * LyXAction.C: removed all !NEW_INSETS cruft
13218 (init): moved lfun_item in method
13220 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13222 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13224 * BufferView2.C (theLockingInset): white space.
13226 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13228 * minibuffer.C: include <iostream>
13230 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13232 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13234 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13236 * text.[Ch] (TransposeChars): new method
13238 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * call message directly through LyXView instead of through LyXFunc
13241 * BufferView2.C: adjust
13242 * BufferView_pimpl.C: adjust
13243 * FontLoader.C: adjust
13245 * bufferview_funcs.C: adjust
13246 * converter.C: adjust
13247 * figureForm.C: adjust
13248 * importer.C: adjust
13250 * lyx_gui_misc.C: adjust
13251 * lyxfunc.C: adjust
13254 + more files in subdirs
13256 * lyxparagraph.h (size): move up int file
13259 * adjust all uses of Assert to lyx::Assert.
13261 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13262 lyxfunctional in namespace lyx
13263 * layout.C (hasLayout): ditto
13266 (delete_layout): ditto
13267 (NumberOfClass): ditto
13268 * converter.C (GetFormat): ditto
13273 * bufferlist.C (getFileNames): ditto
13274 (emergencyWriteAll): ditto
13277 * MenuBackend.C (hasSubmenu): ditto
13280 * BufferView_pimpl.C (getInsetByCode): ditto
13282 2001-04-18 Juergen Vigna <jug@sad.it>
13284 * vspace.C (asLatexString): fixed the 100% problem.
13286 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13288 * lyxfunc.C (Dispatch):
13290 * minibuffer.h: add a few std:: qualifiers
13292 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * minibuffer.[Ch]: reimplement so that commands is initiated and
13295 run from lyxfunc, simplified som handling, and made the completion
13296 and history code for complete. wip.
13298 * lyxfunc.C (processKeySym): call message
13299 (miniDispatch): new temporary method
13300 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13301 (LFUN_MESSAGE): implement
13302 (LFUN_MESSAGE_PUSH): implement
13303 (LFUN_MESSAGE_POP): implement
13304 (initMiniBuffer): the initial/defualt minibuffer message.
13306 * lyxfont.[Ch]: inline some more getters
13308 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13310 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13312 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13313 (AutoSave): use LFUN_MESSAGE
13314 (Reconfigure): ditto
13316 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13318 * figureForm.C: use LFUN_MESSAGE
13320 * converter.C (runLaTeX): use LFUN_MESSAGE
13322 * bufferview_funcs.C: use LFUN_MESSAGE
13324 (changeDepth): ditto
13326 * bufferparams.h: use boost::
13328 * bufferlist.h: inherit privately from noncopyable
13330 * bufferlist.C (loadLyXFile): remove some commented code.
13332 * buffer.C (runChktex): use LFUN_MESSAGE
13334 * ShareContainer.h: inherit privately from noncopyable
13336 * ParagraphParameters.[hC] (depth): inline it.
13338 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13340 (message): new method
13341 (messagePush): ditto
13342 (messagePop): ditto
13343 (show): init minibuffer
13344 (showState): direct call
13346 * LaTeX.[Ch]: inherit privately from noncopyable
13347 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13348 instead of WriteStatus.
13350 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13352 * BufferView_pimpl.C (buffer): don't init minibuffer
13353 (workAreaButtonPress): use LFUN_MESSAGE
13354 (workAreaButtonRelease): ditto
13355 (savePosition): ditto
13356 (restorePosition): ditto
13357 (MenuInsertLyXFile): ditto
13358 (workAreaExpose): don't init minibuffer
13359 (update): remove commented code, simplify
13361 * BufferView2.C (openStuff): use LFUN_MESSAGE
13362 (toggleFloat): ditto
13365 (copyEnvironment): ditto
13366 (pasteEnvironment): ditto
13371 (updateInset): remove some commented code
13373 * lastfiles.h: inherit privately from noncopyable
13376 * lyx_main.h: ditto
13378 * lyxlex_pimpl.h: ditto
13380 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13381 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13382 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13384 * LyXAction.h: inherit privately from noncopyable, add methods
13385 func_begin, func_end, returning iterators to the func map.
13387 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13388 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13389 (func_begin): new method
13390 (func_end): new method
13392 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13394 (copySelection): ditto
13395 (pasteSelection): ditto
13397 * BufferView.C: whitespace change
13398 * BufferView.h: inherit privately from noncopyable
13400 2001-04-16 Allan Rae <rae@lyx.org>
13402 * tabular-old.C (l_getline):
13403 * spellchecker.C (sc_check_word):
13404 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13405 an unrecognised preprocessor directive. So ensure they're wrapped.
13407 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13409 * src/exporter.C (Export): Give an error message when path to file
13412 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13414 * LaTeX.C (deplog): Always check that foundfile exists.
13416 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13419 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13421 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13423 * tabular.[Ch] (getLabelList): implement new method
13425 * minibuffer.h: comment ouf setTiimer
13427 * minibuffer.C (ExecutingCB): constify res
13428 (peek_event): constify s
13429 (Set): constify ntext
13430 (Init): constify nicename
13432 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13434 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13435 (savePosition): use two params to Minibuffer::Set
13436 (restorePosition): ditto
13438 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13440 * lyx_main.C: include language.h
13442 * Makefile.am (lyx_main.o): add language.h
13444 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13450 * CutAndPaste.C: include gettext.h
13452 * lyxfont.h: remove old hack with ON and OFF.
13455 * lyxfont.h: do not include language.h...
13460 * bufferview_funcs.C:
13466 * paragraph.C: ... but do it here instead
13468 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13470 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13472 * tabular.C: small reformat
13474 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13477 (BreakParagraph): ditto
13478 (SetOnlyLayout): ditto
13481 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13484 * lastfiles.C: removed most using decl, add std:: where needed
13486 * buffer.C: ws changes
13488 * MenuBackend.C (class compare_format): put into anon namespace
13489 (expand): constify label, names, action, action2
13492 * text.C (SingleWidth): constify font
13493 (IsBoundary): constify rtl2
13494 (GetVisibleRow): constify ww
13496 * LaTeX.C (deplog): constify logfile
13498 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13500 (workAreaExpose): constify widthChange, heightChange
13502 * lyxrow.C (par): moved
13505 * lyxrow.h: as inlines here
13507 * lyxfont.h (shape): moved from lyxfont.C
13508 (emph): moved from lyxfont.C
13510 * lyxfont.C (LyXFont): use initialization list for all
13512 (shape): move to lyxfont.h as inline
13513 (emph): move to lyxfont.h as inline
13516 2001-04-04 Juergen Vigna <jug@sad.it>
13518 * vspace.C: had to include stdio.h for use of sscanf
13520 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13523 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13524 independent of xforms.
13526 2001-04-02 Juergen Vigna <jug@sad.it>
13528 * spellchecker.C: fixed namespace placing!
13530 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13532 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13533 the LyXParagraph * is 0.
13535 2001-03-29 Juergen Vigna <jug@sad.it>
13537 * vspace.C: added support for %, c%, p%, l%.
13538 (stringFromUnit): added helper function.
13539 (asLatexString): changed to give right results for the %-values.
13541 * buffer.C: convert the widthp in a width%.
13543 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13545 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13548 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13549 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13551 * lyx_cb.[Ch]: see above.
13553 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13557 * lyx.[Ch]: replaced by figure_form.[Ch].
13561 * lyxfunc.C: changed headers associated with above changes.
13563 2001-03-27 Juergen Vigna <jug@sad.it>
13565 * BufferView_pimpl.C: set the temporary cursor right!
13567 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13569 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13571 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13573 * LString.h: removed "using std::getline"!
13575 * BufferView_pimpl.C (Dispatch): changes due to changes in
13576 InsetInclude::Params.
13578 * buffer.C (tag_name): removed redundant break statements as they were
13579 producing lots of warnings with my compiler.
13581 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * LString.h: add "using std::getline" when using the real <string>.
13585 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13587 * buffer.C: removed bitset usage.
13588 PAR_TAG moved to an anonymous name space.
13589 (tag_name): new funtion, also in the anonymous namespace.
13590 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13591 (makeDocBookFile): clean code. Completed transition from string arrays
13593 (SimpleDocBookOnePar): code clean.
13595 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13597 * tabular.C: add some comments.
13599 2001-03-22 Juergen Vigna <jug@sad.it>
13601 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13602 compatibility read a bit and fixed bug with minipage in different
13605 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13607 * buffer.C (pop_tag): removed.
13608 (push_tag): removed.
13609 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13610 array replaced with vector. Added support for CDATA sections.
13611 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13613 (makeDocBookFile): XML conformant declaration of CDATA section,
13614 fixed bug related to <emphasis> in the first paragraph char.
13615 (sgmlOpenTag): exclude empty tags.
13616 (sgmlCloseTag): ditto.
13618 * buffer.h (pop_tag): removed.
13619 (push_tag): removed.
13621 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13623 * language.h (Languages): added size_type and size().
13625 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13627 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13628 response on compability reading of minipages. One probliem is that
13629 the old usage of minipages was «flertydig»
13631 * several files here and in subdirs: don't use static at file
13632 scope use anon namespaces instead.
13634 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13636 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13637 LaTeX output. This is necessary for Literate document
13640 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13642 * buffer.C: insert hfill when needed.
13644 * tabular.C (l_getline): use string::erase, small whitespace change.
13646 * BufferView_pimpl.C: try the anon namespace.
13647 * WorkArea.C: ditto
13649 2001-03-16 Juergen Vigna <jug@sad.it>
13651 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13652 otherwise it won't open options-dialogs.
13654 * buffer.C: honor pextraWidth(p) on converting minipages.
13656 * tabular.C (l_getline): changed the functions to strip trailing \r.
13658 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13660 * BufferView_pimpl.C:
13661 * minibuffer..C: added "using SigC::slot" declaration.
13663 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13665 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13671 * paragraph.C: ditto
13673 * lyxtext.h: NO_PEXTRA
13675 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13677 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13678 * ParameterStruct.h: ditto
13679 * ParagraphParameters.h: ditto
13680 * lyxparagraph.h: ditto
13682 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13684 * buffer.C: add compability for minipage alignment.
13685 (latexParagraphs): remove unwanted pextra check.
13687 * several files: remove CXX_WORKING_NAMESPACES
13689 * buffer.C (pop_tag): tie is in namespace boost
13691 * BufferView.h: noncopyable is in namespace boost
13693 * lyx_main.h: ditto
13696 * lastfiles.h: ditto
13697 * bufferlist.h: ditto
13698 * ShareContainer.h: ditto
13700 * LyXAction.h: ditto
13703 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13705 * Merging changes from BRANCH_MVC back into HEAD.
13707 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13709 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13711 * BufferView_pimpl.C: change from intl.C
13715 * Makefile.am: move combox.*
13721 * intl.C: remove dialog (covered by prefs)
13723 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13725 * lyxfunc.C (Dispatch): removed redundant break statement.
13727 2001-03-14 Juergen Vigna <jug@sad.it>
13729 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13731 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13733 * buffer.C: add hack to fix compability reading of minipages.
13735 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13737 * buffer.C (getLists): Cleanup.
13739 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13741 * lyxfont.C (update): don't honor toggleall on font size.
13743 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13747 * Makefile.am: moved to frontends/xforms/
13751 * BufferView_pimpl.C: changes for moved mathpanel
13753 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13755 * gettext.h: fix gettext_init() in --disable-nls
13757 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13759 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13761 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13764 * lyx.h: strip external form
13766 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13768 * BufferView_pimpl.C: add comment, destroySplash()
13770 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13772 * BufferView_pimpl.C:
13776 * lyxfunc.C: use re-worked insetinclude
13778 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13780 * buffer.C: add using std::stringstream.
13782 * lyx_cb.C: readd using std::ios.
13784 * buffer.C: add using std::map.
13786 * BufferView_pimpl.C: add using std::vector.
13788 * ShareContainer.h: add std:: to swap.
13790 * buffer.h: add some typedefs
13791 * buffer.C (getLists): use them
13792 (getLists): renamed from getTocList.
13793 add a counter for the different float types and use it in the
13795 (getLists): use the same counter for the NEW_INSETS and the "non"
13798 * lyx_cb.h: remove unused items, includes, using etc.
13800 * ShareContainer.h: remove some commented code, add more comments
13801 and "documentation".
13803 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13805 * buffer.C (getTocList): make the list also when NEW_INSETS is
13808 * buffer.h: remove TocType
13810 * buffer.C (getTocList): change to return a map<string,
13811 vector<TocItem> >, implement for dynamic number of list.
13813 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13814 * text2.C (PasteSelection): adjust
13815 * CutAndPaste.C (pasteSelection): adjust
13817 * FloatList.C (FloatList): update from the new_insets branch.
13818 * Floating.[Ch]: ditto
13819 * LaTeXFeatures.C: ditto
13821 * lyxlex_pimpl.C: ditto
13823 * paragraph.C (Last): remove when NEW_INSETS is defined.
13825 * other file: changes because of the above.
13827 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13829 * lyxparagraph.h: rename next to next_, previous to previous_,
13830 make them private for NEW_INSETS. Rename Next() to next(),
13831 Previous() to previous().
13833 * other files: changes because of the above.
13835 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13838 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13841 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13843 * main.C (main): pass lyx_localedir to gettext_init().
13845 * gettext.h: remove locale_init and gettext_init macros
13847 * gettext.C (locale_init): new function
13848 (gettext_init): new function
13850 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13853 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13855 * Moved credits to frontends:
13856 * credits.[Ch]: removed
13857 * credits_form.[Ch]: removed
13858 * lyx_gui_misc.C: remove credits stuff
13861 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13863 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13865 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13866 unneeded destructor.
13868 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13869 a standalone pointer again.
13871 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13873 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13879 * ToolbarDefaults.C:
13888 * BufferView_pimpl.C: use new file dialog in GUII
13891 * lyx_cb.C: remove LayoutsCB to Toolbar
13893 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13895 * ShareContainer.h (get): add std:: qualifier
13897 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13899 * ShareContainer.h: define a proper ShareContainer::value_type
13900 type (and use typename to please compaq cxx)
13902 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13904 * lyxparagraph.h: move serveral local vars to
13905 ParameterStruct/ParagraphParameters., use ShareContainer in
13906 FontTable., make vars in FontTable private and add getter and
13909 * paragraph.C: changes because of the above.
13911 * lyxfont.h: remove copy constructor and copy assignment. (the
13912 default ones is ok), move number inside FontBits. move inlines to
13915 * lyxfont.C: add number to initializaton of statics, move several
13916 inlines here. constify several local vars. some whitespace
13917 cleanup. Dont hide outerscope variables.
13919 * Spacing.h: add two new constructors to match the set methods.
13921 * ShareContainer.h: new file, will perhaps be moved to support
13923 * ParameterStruct.h: new file
13925 * ParagraphParameters.h: new file
13927 * ParagraphParameters.C: new file
13929 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13930 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13932 * BufferView_pimpl.C: ParagraphParameter changes.
13933 * buffer.C: Likewise.
13934 * bufferview_funcs.C: Likewise.
13935 * text.C: Likewise.
13936 * text2.C: Likewise.
13938 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13940 * lyxfind.C (LyXReplace): do not redefine default argument in
13942 (IsStringInText): ditto
13943 (SearchForward): ditto
13944 (SearchBackward): ditto
13946 2001-03-06 Juergen Vigna <jug@sad.it>
13948 * lyxfind.C (IsStringInText): put parentes around expressions.
13950 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13952 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13954 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13956 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13958 * stl_string_fwd.h: add comment
13960 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13963 * tabular.C: remove unused DocBook methods
13969 killed DO_USE_DEFAULT_LANGUAGE
13971 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13973 * lyx_gui.C: do not include language.h.
13975 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13976 arguments in function implementation.
13978 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13980 * BufferView_pimpl.C: add <ctime>
13982 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13984 * BufferView_pimpl.C: add using std::find_if
13986 2001-02-27 José Matos <jamatos@fep.up.pt>
13988 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13991 2001-02-11 José Matos <jamatos@fep.up.pt>
13993 * buffer.C (makeDocBookFile): command styles now have a parameter as
13994 "title" by default.
13996 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13998 * layout_forms.[Ch]: removed
13999 * lyx_cb.[Ch]: out character
14000 * lyx_gui.C: out character
14001 * lyx_gui_misc.C: out character
14002 * bufferview_funcs.C: : out character,
14003 added toggleall as parameter in ToggleAndShow
14005 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14007 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14009 * text2.C (SetCurrentFont): Disable number property at boundary.
14011 2001-02-26 Juergen Vigna <jug@sad.it>
14013 * lyxfunc.C (getStatus): added a string argument override function so
14014 that this is correctly called from LyXFunc::Dispatch if it contains a
14015 do_not_use_argument which is used!
14016 (Dispatch): added check for "custom" export and call appropriate func.
14018 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14020 * lyxrc.C: Add language_command_local, language_use_babel and
14021 language_global_options.
14023 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14025 * buffer.C (makeLaTeXFile): Use language_use_babel and
14026 language_global_options.
14028 2001-02-23 Juergen Vigna <jug@sad.it>
14030 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14031 which works with LyXText and putted it inside BufferView. Here now we
14032 only call for that part the BufferView::Dispatch() function.
14034 * BufferView.C (Dispatch): added.
14036 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14037 functions which needs to use a LyXText over from LyXFunc.
14038 (MenuInsertLyXFile): added
14039 (getInsetByCode): added
14040 (moveCursorUpdate): added
14041 (static TEXT): added
14043 2001-02-22 Juergen Vigna <jug@sad.it>
14045 * BufferView_pimpl.C (update): call a status update to see if LyXText
14048 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14050 * vc-backend.C (revert): implement for CVS
14051 (getLog): implement for CVS
14053 2001-02-20 Juergen Vigna <jug@sad.it>
14055 * text2.C (ClearSelection): added BufferView param for inset_owner call
14057 * lyxfunc.C (TEXT): added this function and use it instead of
14058 directly owner->view()-text of getLyXText().
14060 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14062 * src/layout_forms.C: out preamble
14063 * src/layout_forms.h: out preamble
14064 * src/lyx_cb.C: out preamble
14065 * src/lyx_cb.h: out preamble
14066 * src/lyx_gui.C: out preamble
14067 * src/lyx_gui_misc.C: out preamble
14068 * src/lyxfunc.C: connect with guii preamble
14070 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14072 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14074 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14076 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14077 whether to run bibtex.
14079 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14081 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14083 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14085 * Makefile.am (lyx_SOURCES): removed bibforms.h
14087 * vspace.h: doxygen
14089 * text.C (GetVisibleRow): make several local vars const
14091 * tabular.C: small cleanup.
14093 * lyxserver.C (callback): use compare instead of strncmp
14095 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14096 inlines to after class or to paragraph.C
14098 * lyxfont.h: remove friend operator!=
14100 * converter.h: move friend bool operator< to non friend and after
14103 * combox.h: small cleanup
14105 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14106 to inlines after class def.
14108 * buffer.C (pop_tag): use string operations instead of strcmp
14110 * bmtable.c: doxygen, small cleanup
14112 * LaTeX.h: remove friend operator==
14114 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14126 * BufferView_pimpl.C:
14127 * BufferView.[Ch]: remove cruft
14129 2001-02-14 Juergen Vigna <jug@sad.it>
14131 * lyxfunc.C: removed #if 0 unused code
14133 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14135 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14137 * text2.C (SetSelection): added a BufferView * parameter
14139 2001-02-13 Juergen Vigna <jug@sad.it>
14141 * lyxfunc.C (Dispatch): fixed protected blank problem.
14142 * BufferView2.C (protectedBlank): added LyxText * parameter.
14144 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14145 (AppendColumn): same as above for column_info.
14147 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14148 (moveCursorUpdate): use a LyXText param for support of InsetText.
14150 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14151 (tripleClick): ditto
14153 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14155 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14157 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14159 * text2.C (SetSelection): set correct update status if inset_owner
14160 (ToggleFree): ditto
14162 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14164 * tabular.C: remove some commented code.
14166 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14168 * BufferView_pimpl.C: call hideSplash()
14170 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14173 * bibforms.h: remove
14176 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14177 add LFUN_CHILD_CREATE
14179 * counters.h: fix tiny typo
14184 * lyx.C: move splash to frontends/xforms/
14186 * lyx_gui_misc.C: move Include and Bibform to frontends
14188 * lyxvc.h: clarify comment
14190 * vspace.C: tiny housekeeping
14192 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14194 * text.C (PrepareToPrint): RTL Fix.
14196 * paragraph.C (GetUChar): New method.
14197 (String): Use GetUChar.
14199 * buffer.C (asciiParagraph): Use GetUChar.
14201 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14203 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14205 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14208 * buffer.C: rename to getLogName(), handle
14209 build log / latex log nicely
14211 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14214 * MenuBackend.h: remove support for reference menuitem type.
14216 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14218 * BufferView_pimpl.C: housekeeping
14219 * BufferView_pimpl.h:
14224 * minibuffer.h: move Timeout GUI-I
14226 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14228 * lyxrc.C (read): Update converters data-structures.
14230 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14232 * LaTeX.h (operator!=): add operator != for Aux_Info
14234 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14236 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14238 * LaTeXLog.C: deleted, useful code moved to Buffer
14241 * buffer.C: new function getLatexLogName()
14247 * lyxfunc.C: use frontends for LaTeX and VC logs
14249 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14251 * LaTeX.h: yet another std:: that Allan forgot.
14253 * Variables.C (set): renamed from isset(), because this clashes
14254 with some HP-UX macros (grr).
14256 2001-02-06 Allan Rae <rae@lyx.org>
14258 * LaTeX.h: Another bug fix. Missing std:: this time.
14260 2001-02-04 Allan Rae <rae@lyx.org>
14262 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14263 floats problem. I've left it commented out because it's not quite
14264 correct. It should also test that the current object is a table or
14265 figure inset. But I haven't gotten around to figuring out how to do
14266 that. I *think* it'll be something like: "table" == inset.type()
14268 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14271 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14273 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14274 all the citation/databases/styles in the auxilary file.
14275 (run): Rerun latex if there was a babel language error.
14277 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14279 * text.C (Backspace): Preserve the font when changing newline char
14281 (BreakParagraph): If the cursor is before a space, delete the space.
14283 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14285 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14287 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14288 new argument (code).
14289 (ChangeCitationsIfUnique): New method.
14291 * paragraph.C (GetPositionOfInset): Handle bibkey.
14293 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14295 * BufferView_pimpl.h: change type of Position::par_pos to
14296 LyXParagraph::size_type.
14298 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14300 * BufferView_pimpl.C (savePosition, restorePosition): Write
14301 messages to minibuffer.
14303 2001-01-28 José Matos <jamatos@fep.up.pt>
14305 * buffer.C (makeDocBookFile): adds support for document language.
14306 A silly restriction on the name of LatexCommand types where removed.
14307 Added support for CDATA sections, allows to chars unescaped, used
14308 among others in code, to avoid escape < and >.
14310 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14312 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14313 saved positions instrad of a stack. Furthermore, a position is
14314 stored using paragraph id/paragraph position.
14316 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14317 Remove LFUN_REF_BACK.
14319 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14321 * converter.C (dvipdfm_options): New method.
14323 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14325 * vspace.C (isValidLength): Fix for empty input string.
14327 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14329 * LyXAction.C (init): change description of LFUN_FIGURE to
14332 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14334 * LaTeX.C: add using directive
14336 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14338 * MenuBackend.C (expand): Fix the sorting of the formats.
14340 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14342 * lyx_main.C: tiny error message fix
14344 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14346 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14347 calling fl_initialize(). This fixes the problem with ',' as
14348 decimal separator in text files.
14350 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14352 * trans.C (process): Fix the keymap bug.
14354 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14356 * LaTeX.C (scanAuxFiles): New method. Provides support for
14357 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14358 (scanLogFile) Scan for "run BibTeX" messages.
14360 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14361 OT1 font encoding. Also, load the aecompl package if the ae
14364 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14366 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * texrow.C (increasePos): turn two error messages into debug
14371 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14373 * LaTeX.C (scanAux): Handle the \@input macro.
14374 (runBibTeX): Use scanAux().
14376 * language.C (latex_options_): New field.
14378 * LaTeXFeatures.C (getMacros): Add language macros.
14380 * buffer.C (makeLaTeXFile): Small fix.
14382 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14386 * text2.C: add a using directive.
14388 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14393 * lyxfunc.C: kill LyXBell.
14395 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14397 * text.C (IsBoundary): Remove the error message
14399 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14401 * lyxrc.C (setDefaults): Correct initialization value for
14404 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14406 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14409 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14410 and GotoNextNote().
14412 * src/LyXAction.C: Added reference-next.
14414 * text.C (InsertChar): Use contains instead of strchr.
14416 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14418 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14420 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14421 alignment commands (when needed).
14423 * text.C (InsertChar): Add ':' to number separator chars.