2 2004-01-08 Angus Leeming <leeming@lyx.org>
4 * BufferView_pimpl.C (MenuInsertLyXFile):
5 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6 * lyxfunc.C (menuNew, open, doImport):
7 FileFilterList change to the FileDialog open and save functions.
9 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
11 * ShareContainer.h: make isEqual and isUnique adaptable
13 * CutAndPaste.C: make resetOwnerAndChanges adaptable
15 2004-01-07 Angus Leeming <leeming@lyx.org>
18 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
20 * BufferView_pimpl.C (dispatch): act on these LFUNs.
22 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
23 functions replacing find, replace and replaceAll.
25 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
26 LFUN_WORDFIND(FORWARD|BACKWARD).
28 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
30 * text.C (breakParagraph): remove an outdated #warning
32 2004-01-07 André Pönitz <poenitz@gmx.net>
34 * lyxfind.C: somewhat clearer logic
36 * text.C: prevent crash in cursorX on unitialized row cache
38 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
40 * lyxcursor.[Ch] (operator>): add
41 * textcursor.C (selStart, selEnd): use std::min and std::max
43 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
45 * Chktex.C: include boost/format.hpp
47 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
49 * InsetList.C: replace functor MathcIt with adaptable functor
51 (insetIterator): modify accordingly
53 * BranchList.h: move the BranchNamesEqual functor here from...
54 * BranchList.C: ... to here
56 * BranchList.C: new BranchListEqual fuctor, use it. Remove
58 (add): replace a finding loop with std::find_if.
60 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
62 * output_docbook.C: moving LatexParam functionality into
65 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
67 * buffer.C: increment format to 229.
69 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
72 * lyx_sty.[Ch]: remove minipageindent_def
78 * text3.C: remove LFUN_INSET_MINIPAGE
80 2003-12-28 Angus Leeming <leeming@lyx.org>
82 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
84 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
86 * text2.C (setParagraph): fix off-by-one crash
88 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
90 * output_docbook.C: header stuff for AGU
92 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
94 * text2.C (redoCursor): remove
97 * BufferView_pimpl.C: remove calls to redoCursor and
98 setCursor(cursor.par(), cursor.pos()) all around
100 2003-12-15 Angus Leeming <leeming@lyx.org>
102 * buffer.C: up the format to 228.
104 2003-12-15 André Pönitz <poenitz@gmx.net>
106 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
111 * BufferView_pimpl.C:
120 2003-12-15 Angus Leeming <leeming@lyx.org>
122 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
123 than getFromGUIName to manipulate the color.
125 2003-12-14 Angus Leeming <leeming@lyx.org>
127 * BranchList.[Ch]: minimize the API.
128 (Branch::getBranch, getColor): now return a 'const &'.
129 (Branch::setSelected) now returns a bool set to true if the
130 selection status changes.
131 (BranchList::clear, size, getColor, setColor, setSelected,
132 allBranches, allSelected, separator): removed.
133 (BranchList::find): new functions, returning the Branch with
135 (BranchList::add, remove): return a bool indicating that
136 the operation was successful.
138 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
139 new InsetBranch::isBranchSlected member function.
141 * LColor.[Ch]: mimimize the API.
142 (fill): renamed as addColor and made private.
143 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
144 versions of these functions taking a string arg have been removed.
146 * bufferparams.C (readToken):
147 * lyxfunc.C (dispatch):
148 * lyxrc.C (read): changes due to the altered BranchList and
151 * factory.C (createInset, readInset): changes due to altered
154 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
157 * lyxfunc.C: remove insetminipage. "minipage-insert"
158 now produces a frameless minipage box inset.
160 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
162 * textcursor.[Ch] (selStart,selEnd): add new methods
163 remove selection::start, end, use LyXCursor::operator<
164 * lyxcursor.[Ch] (operator<): add
165 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
166 * BufferView.[Ch] (unsetXSel): add
167 * text2.C (clearSelection): use unsetXSel,adjust
170 * rowpainter.C: adjust
171 * bufferview_funcs.C (put_selection_at): adjust
173 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
175 * BufferView_pimpl.C: small coord. correction
177 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
179 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
180 dragging over the splash screen.
182 2003-12-11 Angus Leeming <leeming@lyx.org>
184 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
185 as it is now handled in LyXText::dispatch.
187 * text3.C (doInsertInset): remove a level of nesting.
189 2003-12-11 Angus Leeming <leeming@lyx.org>
191 * factory.C (createInset): changes due to the changed interface to
192 InsetCommandMailer::string2params.
194 2003-12-10 Angus Leeming <leeming@lyx.org>
196 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
197 'dialog-show-new-inset <inset name>'
199 2003-12-10 Angus Leeming <leeming@lyx.org>
201 * buffer.C: up the format to 227.
203 * factory.C: the box inset is now identified simply by 'Box'.
205 2003-12-10 Angus Leeming <leeming@lyx.org>
207 * buffer.C: up the format to 226.
209 * factory.C: the note inset is now identified simply by 'Note'.
211 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
213 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
214 when a pit is enough. Standarize a couple of loops.
216 2003-12-05 Angus Leeming <leeming@lyx.org>
218 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
219 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
220 data to the re-worked "log" dialog.
222 2003-12-03 André Pönitz <poenitz@gmx.net>
230 * text2.C: use Inset::getText instead of Inset::getParagraph
232 2003-12-03 André Pönitz <poenitz@gmx.net>
236 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
237 InsetText::read() as LyXText::read()
239 2003-12-02 Angus Leeming <leeming@lyx.org>
241 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
242 type. Add a comment in the implementation that the function uses
243 the stream's bad() function rather than fail() as the std::streams
246 2003-12-02 André Pönitz <poenitz@gmx.net>
248 * lyxlex.[Ch]: make interface more similar to std::stream
250 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
252 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
254 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
256 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
258 * vspace.[Ch]: remove VSpace::NONE
260 2003-12-01 André Pönitz <poenitz@gmx.net>
263 * lyxtext.h: move ParagraphList member to LyXText
264 rename LyXText::ownerParagraphs to LyXText::paragraph
267 * bufferview_funcs.C:
277 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
279 * undo.C: fix cursor positioning
281 2003-12-01 John Levon <levon@movementarian.org>
283 * BufferView_pimpl.C: fix a crash on exit with
286 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
288 * BranchList.C: fix setSelected() method.
290 2003-11-28 André Pönitz <poenitz@gmx.net>
292 * ParagraphParameters.[Ch]:
293 * ParameterStruct.h: remove space above/below from Paragraph to
296 * BufferView_pimpl.C:
308 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
310 * factory.C: Syntax change for CharStyles
312 2003-11-28 André Pönitz <poenitz@gmx.net>
317 * buffer.[Ch]: move LyXText member
319 2003-11-28 André Pönitz <poenitz@gmx.net>
321 * BufferView.[Ch]: make LyXText * text a private member
323 * BufferView_pimpl.C:
334 * output_plaintext.C: cleanup
336 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
339 * lyxtextclass.[Ch]: parametrize SGML document header
341 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
344 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
347 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
349 * text2.C (setFont): rework using PosIterator (no more recursive)
350 (setCharFont): no more needed
351 (setLayout): no more selection cursors fiddling (done by redoCursor)
352 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
353 destroy remaining ones)
355 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
357 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
359 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
362 * text3.C: adjust + re-allow multi par depth changes
363 * textcursor.C: simplify a bit
365 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
371 * src/output_docbook.C:
372 * src/output_latex.C:
377 * src/text2.C: Introducing a number of tags parametrizing various
378 XML formats that we may want to support
380 2003-11-25 André Pönitz <poenitz@gmx.net>
382 * InsetList.[Ch] (begein, end): inline as suggested by profiler
384 * lyxtext.h (leftMargin/rightMargin): simplify interface
391 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * lyxfunc.C (dispatch): propogate the bibtex databases from the
394 master file to any child files. Fixes bug 546.
396 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
398 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
400 2003-11-24 André Pönitz <poenitz@gmx.net>
402 * rowpainter.C: simplification
404 * text2.C (updateCounters): remove call to redoParagraph on
405 changed labels as this is far too expensive.
407 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
409 * converter.C (convert): fix a crash: this function gets
410 called with buffer == 0 from importer code.
412 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
414 * text3.C (cursorPrevious): make sure that we do not compare
415 iterators form different containers.
418 * rowpainter.C (paintSelection): make sure that we do not compare
419 iterators from different containers.
421 * text3.C (dispatch): [PRIOR] make sure that we do not compare
422 iterators from different ParagraphList containers.
425 * text2.C (LyXText): change order of initialization slightly
426 (operator=): new function. copy all variables except cache_par_
427 (moveUp): make sure that we do not compare iterators from
428 different ParagraphList constainers.
431 * text.C (firstPar): new function
432 (lastPar): new function
433 (endPar): new function
435 * lyxtext.h: move things around and group public functions, public
436 variables, private functions, private variables
438 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
440 * factory.C: change call to InsetERT constructor to avoid
441 additional invocation of method status
442 * text2.C (toggleInset): remove redundant update() call
443 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
444 instead of a Bufferview pointer
446 2003-11-21 André Pönitz <poenitz@gmx.net>
448 * rowpainter.C: simplification
450 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
452 * text3.C (dispatch): make possible to extend a word/row selection
455 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
457 * lyxtext.h: x0_,y0_ -> xo_,yo_
458 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
459 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
460 * rowpainter.C (paintRows): paint full paragraphs
462 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
464 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
467 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
469 * lyxtext.h: add x0_, y0_
470 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
471 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
473 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
475 * text2.C (setCursorIntern): move the x_target update here *
476 * text3.C: change some bv() to true/false in calls to
477 cursorUp/Down/Right/Left
478 * cursor.C: use helper function.
480 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
482 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
483 * paragraph_funcs.[Ch]: correct comment
484 * rowpainter.C: do not paint selections away from bv->cursor()
485 Fix a long standing selection painting bug.
486 * text3.C: generalize mouse-selection code to LyXTexts other that
488 * textcursor.C: do not use y coords if we can use par offsets
490 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
492 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
493 cursor position after e.g. inset insert)
495 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
497 * lyxfind.C (replace): adjust to locking removal + some
500 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
502 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
505 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
508 * output_docbook.C: XML sanitation: new layout
509 parameters InnerTag and CommandDepth
511 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
513 * BufferView_pimpl.C:
515 * text3.C: Fix the insertion and modification of button-style
518 2003-11-13 André Pönitz <poenitz@gmx.net>
520 * InsetList.[Ch]: remove deleteLyXText
522 * paragraph.[Ch]: cache beginOfBody position
527 * text3.C: remove superfluous update() calls
531 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
533 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
534 * BufferView.C (fitLockedInsetCursor): remove
535 * cursor.[Ch] (getDim): add
536 * text.C (getRowNearY): add faster version
537 * text3.C: remove some update calls
539 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
551 * text3.C: The Character Style /XML short element patch.
553 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
556 * factory.C: Small step to solving 'unable to insert some insets'
559 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
561 * cursor.[Ch] (updatePos): new function for updating the y
562 position of the tip inset
563 * bufferview_funcs.C (put_selection_at):
564 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
566 2003-11-11 André Pönitz <poenitz@gmx.net>
568 * text.C: remove big comment on invalid Paragraph pointers as it is
571 2003-11-11 André Pönitz <poenitz@gmx.net>
573 * text_funcs.[Ch]: merge with ...
581 * Makefile.am: remove text_funcs.[Ch]
583 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
585 * cursor.C (getPos): return absolute cached y coord
587 * BufferView_pimpl.C (fitCursor): new simplistic code
588 (workAreaDispatch): add a fitCursor call
590 2003-11-10 André Pönitz <poenitz@gmx.net>
593 * BufferView_pimpl.[Ch]: merge update() and updateInset()
595 2003-11-10 André Pönitz <poenitz@gmx.net>
597 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
598 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
599 indicate that the cursor needs to leave an inset
601 * lyxtext.h: remove inset locking
603 * cursor.[Ch]: re-implement functionality provided by inset locking
606 * BufferView_pimpl.[Ch]:
608 * bufferview_funcs.[Ch]:
620 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
622 * PosIterator.[Ch]: replace the stack with a vector, add inset
624 * iterators.[C]: adjust
626 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
628 * lyxfind.C (replaceAll): mark the buffer dirty if something was
630 * paragraph_funcs.C (readParToken): put the correct id in the
631 error item, not the id of the top paragraph
633 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
635 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
636 * bufferview_funcs.C (put_selection_at): use the above
638 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
640 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
642 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * output_plaintext.h:
647 * output_docbook.h: add #include statements
649 2003-11-05 José Matos <jamatos@lyx.org>
651 * output_docbook.[Ch]:
653 * output_linuxdoc.[Ch]:
654 * output_plaintext.[Ch]: New files for output formats.
655 * output.[Ch]: New file for helper functions.
658 * paragraph_funcs.[Ch]: output functions moved to new files.
660 * outputparams.h: rename of latexrunparams.h
668 * paragraph_funcs.[Ch]:
669 * paragraph_pimpl.[Ch]:
670 * tabular.[Ch]: rename ascii to plaintext
671 and LatexRunParams to OutputParams.
673 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
675 * iterators.[Ch] (text): require bv argument
676 * undo.C (recordUndo):
677 * lyxfunc.C (dispatch):
678 * bufferview_funcs.C (put_selection_at): adjust
680 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
682 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
684 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
686 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
689 2003-11-04 André Pönitz <poenitz@gmx.net>
691 * cursor.[Ch]: restructure
694 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
696 * iterators.[Ch] (asCursor): remove
698 * lfuns.h: remove LFUN_INSET_EDIT
704 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
706 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
708 * lyxfind.[Ch]: complete overhaul
709 * BufferView_pimpl.C:
711 * paragraph.[Ch] (insert): add
713 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
717 * text.C: remove dead spellcheck code
719 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * dispatchresult.h: add a val setter
723 * cursor.C (dispatch): use a tempvar for data_[i]
725 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
727 * PosIterator.[Ch]: compile fix
729 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
731 * text.C (cursorPar): deactivate the cursor cache
733 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
735 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
737 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
739 * text3.C (dispatch): adjust for new DisptchResult semantics.
741 * lyxfunc.C (dispatch): handle update when return from
742 Cursor::dispatch, adjust for new DispatchResult semantics.
744 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
745 DispatchResult(true) mean to not update. Add class functions for
746 setting dispatched and update, as well as reading.
748 * cursor.C (dispatch): don't handle update here
750 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
752 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
753 * trans_mgr.C: adjust
755 * paragraph_funcs.C (readParToken): exception safety
757 * lyxvc.h: store the vcs pointer in a scoped_ptr
760 * lyxsocket.C (serverCallback): exception safety
762 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
764 * ispell.C (clone): make it return a auto_ptr
766 * factory.C (createInset): exception safety
767 (readInset): exception safety
769 * bufferlist.C (newBuffer): exception safety
771 * Thesaurus.C (Thesaurus): use initialization for aik_
773 * MenuBackend.C (expandToc): exception safety.
775 2003-11-03 André Pönitz <poenitz@gmx.net>
779 * bufferview_funcs.C: remove getInsetFromId()
782 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
788 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
790 * PosIterator.C (distance, advance): new
791 * bufferview_funcs.[Ch] (put_selection_at): new
792 * iterators.[Ch] (lockPath): new
794 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
796 * iterators.[Ch] (asPosIterator): added
797 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
798 * PosIterator.[Ch]: added
800 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * cursor.C (dispatch):
805 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
807 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
808 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
809 contructor, add a class function dispatched. Remove operator>=
811 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
813 * debug.C: only use the default constructor for debugstream
816 * main.C (main): include debug.h and setup the lyxerr streambuf
819 2003-10-31 José Matos <jamatos@lyx.org>
821 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
823 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
824 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
825 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
826 * paragraph_pimpl.C (simpleTeXSpecialC):
827 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
828 add LatexRunParams argument.
830 * exporter.C (Export): change call accordingly.
832 * latexrunparams.h: add new member to take care of the other backends.
833 2003-10-30 José Matos <jamatos@lyx.org>
835 * buffer.C (makeLinuxDocFile, makeDocBookFile):
836 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
837 factorise code for paragraph output.
839 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
842 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
844 * text3.C (dispatch):
845 * lyxfunc.C (dispatch):
846 * cursor.C (dispatch):
847 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
849 * dispatchresult.h: make the dispatch_result_t ctor explicit
851 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
854 * buffer.C: small refactoring of docbook stuff
856 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
858 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
861 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
863 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
864 operator dispatch_result_t, and operators for == != and >=
866 * cursor.C (dispatch): adjust for operator dispatch_result_t
867 removal. comment out call to update
869 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
871 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
882 * dispatchresult.h: new file, DispatchResult broken out of
885 * Makefile.am (lyx_SOURCES): add dispatchresult.h
887 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
889 * text.C (rowBreakPoint): put a hack inside #if 0
891 2003-10-28 André Pönitz <poenitz@gmx.net>
898 * text2.C: general cleanup (lots of small stuff)
900 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
902 * text2.C (cursorEnd): simple fix to the "end key goes to one
903 before the end on last row" bug
905 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
907 * text.C (backspace): fix the "zombie characters"
909 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
911 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
913 2003-10-27 André Pönitz <poenitz@gmx.net>
915 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
917 * factory.C: handle new InsetPagebreak, InsetLine
919 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
920 and move handling into new InsetPagebreak, InsetLine
922 * BufferView_pimpl.C:
924 * ParagraphParameters.C:
937 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
946 * text3.C: remove lastPos uses in favour of Row::endpos
948 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
950 * undo.C (performUndoOrRedo): fix two crashes by setting a
951 cursor by hand and reordering some calls. Use bv->lockInset instead
952 of inset->edit because the latter loses cursor information
954 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
956 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
958 (rowBreakPoint): fix width. change point to point + 1.
961 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
964 * lyxfunc.C: fix (at least partly) the problems
965 with the Nav menu and headers inside branch insets
968 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
970 * paragraph.C (getChar): add strong asserts
972 * lyxrow_funcs.C (lastPos): remove hideous hack
974 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
975 (fill): adjust to that (avoid an infinite loop)
977 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
979 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
981 2003-10-23 André Pönitz <poenitz@gmx.net>
983 * RowList_fwd.h: change list<> to vector<> to gain speed
984 after suggestion from Alfredo
986 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
988 * lyxtext.h: move the bidi stuff from here...
991 * Bidi.[Ch]: ... to here
993 2003-10-23 André Pönitz <poenitz@gmx.net>
996 * text.C (isLastRow, isFirstRow): new functions
998 * paragraph.h: new width cache member
1000 * rowpainter.C: replace RowList::iterator with Row & where possible
1002 * lyxfunc.C: replace several view()->text with a single call
1004 * toc.C: fix 'unused' warning
1006 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1008 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1009 when woring with stream::pos_type
1010 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1012 2003-10-22 André Pönitz <poenitz@gmx.net>
1015 * text.C: use Row & instead of RowList::iterator
1017 * lyxrow.h: rename end() to endpos()
1023 2003-10-22 Angus Leeming <leeming@lyx.org>
1025 * buffer.[Ch] (fully_loaded): new member function, returning true
1026 only when the file has been loaded fully.
1027 Used to prevent the premature generation of previews and by the
1028 citation inset to prevent computation of the natbib-style label.
1030 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1031 templates are all set up.
1033 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1035 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1037 * text.C: fixed an "oops" in the "is a bit silly"
1040 2003-10-21 André Pönitz <poenitz@gmx.net>
1042 * FuncStatus.[Ch]: small stuff, whitespace
1044 * lyxfont.[Ch]: operator<<() for debug reasons
1048 * lyxtext.h: whitespace, spelling
1050 * paragraph.C: naming of variables
1053 * text2.C: small stuff
1056 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1058 * text.C: (1) finish off the inset display() work;
1059 (2) fix the "is a bit silly" bug (accessing char
1062 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1064 * text.C: re-introduce display() for insets, fixing the
1065 various bugs (stretch of line above, math inset
1068 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * text.C (rightMargin): remove spurious semicolon
1072 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1075 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1077 * text3.C: fix one crash due to wrong cursor def
1079 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1081 * vc-backend.C (scanMaster): make the regex static
1083 * LaTeX.C (scanAuxFile): make the regexs static
1085 * text3.C (doInsertInset, dispatch, dispatch):
1086 * text2.C (cursorUp, cursorDown):
1087 * text.C (selectNextWordToSpellcheck):
1088 * BufferView_pimpl.C (dispatch):
1089 * lyxfunc.C (dispatch): localDispatch -> dispatch
1091 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * lyxsocket.C: include <cerrno>
1095 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1097 * lyxfunc.C (dispatch): remove textcache stuff
1099 * bufferlist.C (release): remove textcache stuff
1102 * TextCache.C: delete file
1103 * TextCache.h: delete file
1105 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1107 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1108 delete of the bv_->text.
1109 (resizeCurrentBuffer): remove texcache stuff
1110 (workAreaResize): ditto
1112 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1114 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1117 2003-10-16 André Pönitz <poenitz@gmx.net>
1124 * text3.C: speed up by storing y positions per paragraph plus per-row
1125 offset instead of having a 'full' y position in the row.
1127 2003-10-15 André Pönitz <poenitz@gmx.net>
1131 * undo.[Ch]: make undo aware of inner insets
1133 2003-10-14 Angus Leeming <leeming@lyx.org>
1135 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1136 static member functions LyX::ref() and LyX::cref.
1137 (lastfiles): new accessor functions for the new lastfiles_ member var.
1138 (addLyXView, views_): add a new LyXView to the list of views_.
1139 (updateInset): loop over all LyXViews to call their own updateInset
1140 member function, returning a pointer to the Buffer owning the inset.
1142 * BufferView_pimpl.C (loadLyXFile):
1143 * MenuBackend.C (expandLastfiles):
1144 * bufferlist.C (MenuWrite, QuitLyX):
1145 lastfiles is no longer a global variable.
1146 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1148 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1149 static function. Access through LyX::cref().emergencyCleanup().
1151 2003-10-14 André Pönitz <poenitz@gmx.net>
1153 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1155 * undo.[Ch]: restoring part of 'undo in insets'
1158 * undo_funcs.[Ch]: merge with undo.[Ch]
1160 * tabular.C: small cleansing stuff
1162 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1164 * paragraph_funcs.C (readParToken): report unknown insets as error
1165 boxes. Use the outer paragraph as location (also for unknown
1168 * factory.C (readInset): do not abort on reading an unknown inset.
1169 Eat it and return 0.
1171 2003-10-13 Angus Leeming <leeming@lyx.org>
1173 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1175 * lyxrc.C: displayTranslator is now a function,
1176 declared in GraphicsTypes.h.
1178 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1180 * format.C: new placeholder $$a to pass the socket address.
1182 * bufferlist.[Ch]: new function getBufferFromTmp.
1184 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1185 files in the temporary dir.
1187 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1189 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1191 * Makefile.am: add lyxsocket.[Ch].
1193 * lyx_main.C (error_handler): handle SIGPIPE.
1195 2003-10-13 André Pönitz <poenitz@gmx.net>
1197 * BufferView_pimpl.C:
1202 * undo_funcs.[Ch]: use paroffset_type instead of
1203 ParagraphList::iterators to prevent multiple conversion
1204 (and get a more robust interface)
1206 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1210 * text3.C (dispatch): ditto
1212 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1215 move the onlyfile, use onlyfile instead of foundfile in a couple
1218 * DepTable.C (update): flush the error stream a bit more
1220 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * lyxserver.C (callback): adjust
1224 * lyxfunc.C (getStatus): add a missing brace in commented code
1225 (ensureBufferClean): reindent
1226 (dispatch): delete version taking a string
1228 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * LaTeX.C (deplog): move found file handlig from here...
1231 (handleFoundFile): .. to new function here.
1232 (deplog): make sure to discover several files mentioned on the
1235 2003-10-10 André Pönitz <poenitz@gmx.net>
1242 * text3.C: fix some of the tabular crashes
1244 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1246 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1248 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1250 2003-10-09 André Pönitz <poenitz@gmx.net>
1252 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1255 * BufferView_pimpl.C:
1256 * bufferview_funcs.C:
1267 * undo_funcs.C: adjust
1269 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * text2.C (incrementItemDepth): new function, use a backtracking
1272 algorithm to discover the correct item depth.
1273 (resetEnumCounterIfNeeded): new function, use a backtracking
1274 algorithm to discover if counter reset is needed.
1275 (setCounter): use them. Simplify a bit. Add different labels for
1276 different item depths for itemize.
1278 * paragraph.C (Paragraph): remove initialization of enumdepth
1281 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1282 enumerate and itemize. Change the type of itemdepth to signed char.
1284 2003-10-08 André Pönitz <poenitz@gmx.net>
1286 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1291 * tabular.[Ch]: fix crash after 'row-insert'
1293 2003-10-08 Angus Leeming <leeming@lyx.org>
1295 Fix doxygen warnings.
1297 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1298 Remove CutAndPaste:: prefix from header file declaration.
1300 * LColor.h (fill): remove LColor:: prefix from declaration.
1302 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1303 use lyx::depth_type rather than Paragraph::depth_type so that
1304 header file and .C file match.
1306 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1308 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1309 * aspell.C: \file aspell_local.C -> \file aspell.C
1310 * gettext.C: \file gettext.C -> \file src/gettext.C
1311 * gettext.h: \file gettext.h -> \file src/gettext.h
1312 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1313 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1314 * text.C: \file text.C -> \file src/text.C
1316 * toc.C: move comment so that doxygen is not confused.
1318 2003-10-07 Angus Leeming <leeming@lyx.org>
1320 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1322 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1325 * aspell_local.h: add forgotten std::string's.
1327 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1334 * text3.C: The Box patch. Fancybox support, minipage, parbox
1336 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1342 * ParagraphParameters.h:
1352 * lyxtextclasslist.h:
1355 * paragraph_pimpl.C:
1356 * textcursor.h: add <string> and other small fixes to make Lars'
1357 std::string patch compile with STLport.
1359 2003-10-06 Angus Leeming <leeming@lyx.org>
1361 * LColor.h: Add missing #include <string>.
1363 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1365 * All most all file in all subdirs: Make <string> be the prefered
1366 way of getting to std::string, add using declarations.
1368 2003-10-06 André Pönitz <poenitz@gmx.net>
1370 * metricsinfo.C: initialize LyXFont before changing attribute.
1371 (fixes the 'math in \emph is upright' bug)
1373 2003-10-06 André Pönitz <poenitz@gmx.net>
1375 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1377 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1380 * paragraph_pimpl.C: Small fixes to build using STLport
1382 2003-10-02 André Pönitz <poenitz@gmx.net>
1385 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1387 2003-10-01 André Pönitz <poenitz@gmx.net>
1389 * factory.C: assert early
1391 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1393 * lyx_main.C: remove the global debug object
1395 * debug.h: adjust for new debugstream
1397 * debug.C: adjust for new debugstream and keep the global debug
1400 2003-09-22 Angus Leeming <leeming@lyx.org>
1402 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1403 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1404 an incomplete class LyXFont.
1406 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1408 * factory.C: bug fix in branches
1410 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * lyxfunc.C (processKeySym): adjust
1414 (dispatch): change arg name from ev to func, adjust
1415 (sendDispatchMessage): ditto
1417 * lyx_main.C (defaultKeyBindings): adjust keybindings
1418 (deadKeyBindings): ditto
1420 * kbsequence.C (addkey): return a FuncRequest
1422 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1424 * kbmap.C (bind): take a FuncRequest as arg, adjust
1427 (defkey): change to take a FuncRequest as arg, adjust
1428 (findbinding): take a FuncRequest as arg, adjust.
1430 * funcrequest.h (operator=): added
1432 * funcrequest.C (FuncRequest): default kb_action changed from
1433 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1435 * buffer.C (dispatch): simplify
1436 (dispatch): adjust to take a FuncRequest as arg, adjust
1438 * boost.C (assertion_failed): change assertion message slightly
1440 * ToolbarBackend.C (read): simplify
1442 * MenuBackend.C (binding): adjust call to findbinding, add a
1443 message if no binding is found.
1445 (expandToc): correct by adding a empty FuncRequest
1447 * LyXAction.C: include <boost/assert.hpp>
1448 (isPseudoAction): delete function
1449 (LookupFunc): change name to...
1450 (lookupFunc): this. change return type to FuncRequest.
1451 (getActionName): take kb_action as arg, simplify
1452 (funcHasFlag): add an assert, simplify.
1454 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1456 * toc.C (action): return a FuncRequest, simplify
1458 * lyxfunc.C (processKeySym): adjust
1459 (getStatus): delete version that takes an int.
1461 (dispatch): delete version that takes action as int
1463 (sendDispatchMessage): simplify and adjust
1465 * funcrequest.C (getArg): take unsigned int as arg
1467 * ToolbarBackend.C (read): adjust
1468 (add): delete version that takes func as a string.
1469 (getIton): take a FuncRequest as arg
1471 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1474 * MenuBackend.C (MenuItem): add a new construct that only takes a
1475 Kind, simplify the constructor use for submenus.
1477 (expandLastfiles): adjust
1478 (expandDocuments): adjust
1479 (expandFormats): adjust
1480 (expandFloatListInsert): adjust
1481 (expandFloatInsert): adjust
1482 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1484 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1485 Remove class variables lyx_pseudo_map and lyx_arg_map
1487 * LyXAction.C (searchActionArg): delete function
1488 (getPseudoAction): delete function
1489 (retrieveActionArg): delete function
1490 (LookupFunc): make it return kb_action, simplify.
1491 (getActionName): simplify
1493 * factory.C (createInset): fix new bug
1495 2003-09-19 Angus Leeming <leeming@lyx.org>
1497 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1498 masterFilename_ parameter in the include inset.
1500 * factory.C (createInset): changes due to the changes to InsetInclude.
1502 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1504 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1506 2003-09-18 Angus Leeming <leeming@lyx.org>
1509 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1510 Inset::fillWithBibKeys.
1511 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1513 2003-09-18 Angus Leeming <leeming@lyx.org>
1515 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1517 (ctor): pass and store a 'Buffer const &'
1518 (buffer): new member function.
1520 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1521 '*this' to the LaTeXFeatures ctor.
1523 2003-09-18 Angus Leeming <leeming@lyx.org>
1529 * text.C: rename EnumLColor as LColor_color.
1531 2003-09-18 Angus Leeming <leeming@lyx.org>
1533 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1534 remove #include "insets/insetbase.h" from cursor.h.
1536 2003-09-18 Angus Leeming <leeming@lyx.org>
1538 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1539 InsetOld_code to remove #include "inset.h".
1541 * iterators.C: add #include "insets/inset.h"
1543 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1545 * BufferView.C: remove more locking stuff that apparently doesn't
1546 do anything sensible.
1548 2003-09-16 André Pönitz <poenitz@gmx.net>
1551 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1554 2003-09-16 Angus Leeming <leeming@lyx.org>
1556 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1558 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1561 * paragraph.h: remove #include "lyxfont.h". Forward declare
1564 2003-09-16 Angus Leeming <leeming@lyx.org>
1566 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1567 of support/textutils.h.
1568 (isWord): move the contents of support/textutils.h's IsWordChar here.
1574 * text2.C: add #include "paragraph.h".
1577 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1579 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1585 * LaTeX.C: use namespace alias for lyx::support::os
1587 2003-09-16 Angus Leeming <leeming@lyx.org>
1590 * bufferview_funcs.C:
1593 * paragraph_pimpl.C:
1595 * text.C: add #include "LColor.h".
1597 2003-09-16 Angus Leeming <leeming@lyx.org>
1599 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1600 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1602 Store the FontBits::color variable as an int rather than as an
1603 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1606 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1607 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1608 string calls together.
1610 * lyxrc.C: add #include "LColor.h".
1612 2003-09-15 Angus Leeming <leeming@lyx.org>
1614 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1617 2003-09-15 Angus Leeming <leeming@lyx.org>
1619 * LColor.h: add an EnumLColor wrapper for LColor::color.
1621 * lyxfont.[Ch] (color, setColor, realColor):
1622 * lyxtext.h, text.C (backgroundColor):
1623 pass EnumLColor args to/from the functions, rather than LColor::color
1627 * lyxtext.h: forward declare EnumLColor.
1629 * lyx_main.C: add #include "LColor.h".
1631 2003-09-15 Angus Leeming <leeming@lyx.org>
1633 * .cvsignore: add lyx-gtk.
1635 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1640 * ParagraphParameters.C
1644 * bufferview_funcs.C
1654 * vc-backend.C: remove usage of STRCONV
1656 2003-09-15 Angus Leeming <leeming@lyx.org>
1658 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1659 explicitly define the color passed to the painter.
1661 2003-09-15 Angus Leeming <leeming@lyx.org>
1663 * bufferparams.C (BufferParams): reorder member initializers to avoid
1666 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1668 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1669 * text.C (updateRowPositions): remove an unusual nop
1671 2003-09-12 André Pönitz <poenitz@gmx.net>
1673 * BufferView_pimpl.C:
1682 * Counters.[Ch]: finish the 'automatic counters' job
1684 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1686 * aspell.C: include <boost/assert.cpp> (compile fix)
1688 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1690 * boost.C (assertion_failed): use lyx::support::abort instead of
1693 2003-09-10 Angus Leeming <leeming@lyx.org>
1695 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1696 with their _fwd progeny.
1698 2003-09-09 Angus Leeming <leeming@lyx.org>
1700 134 files throughtout the source tree: replace 'using namespace abc;'
1701 directives with the appropriate 'using abc::xyz;' declarations.
1703 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1705 * boost.C (emergencyCleanup): moved here from LAssert.c
1706 (assertion_failed): new function, called by BOOST_ASSERT
1708 * several files: change Assert to BOOST_ASSERT
1710 2003-09-09 Angus Leeming <leeming@lyx.org>
1712 * buffer.[Ch]: Add an Impl class and move Buffer's member
1713 variables into it. As a result move several header files out of
1716 Add header files to lots of .C files all over the tree as a result.
1718 2003-09-09 Angus Leeming <leeming@lyx.org>
1720 * buffer.[Ch]: make Buffer's member variables private. Add
1723 Lots of changes all over the tree as a result.
1725 2003-09-08 Angus Leeming <leeming@lyx.org>
1727 * graph.C: #include <config.h>.
1729 2003-09-08 Angus Leeming <leeming@lyx.org>
1733 * BufferView_pimpl.C:
1762 * toc.C: remove redundant using directives.
1764 2003-09-07 Angus Leeming <leeming@lyx.org>
1766 * LaTeXFeatures.h: remove #include "support/types.h".
1767 * ToolbarBackend.h: remove #include <algorithm>.
1768 * changes.h: remove #include <ctime>.
1769 * debug.h: remove #include <iosfwd>.
1770 * graph.h: remove #include "support/std_string.h".
1771 * lyx_main.h: remove #include <csignal>.
1772 * lyxlex_pimpl.h: remove #include <fstream>.
1773 * sgml.h: remove #include <algorithm>, <utility>.
1774 * toc.h: remove #include "support/std_ostream.h".
1775 Add #include <iosfwd>.
1777 2003-09-07 Angus Leeming <leeming@lyx.org>
1779 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1781 * converter.h: forward declare LatexRunParams.
1782 * encoding.h: remove #include "lyxrc.h".
1783 * lyxtext.h: remove #include "LColor.h".
1784 * lyxtextclass.h: remove #include "support/types.h".
1785 * trans.h: remove #include "tex-accent.h".
1786 * trans_mgr.h: remove #include "tex-accent.h".
1787 * insets/inset.h: remove #include "support/types.h", <vector>.
1788 * insets/insetcollapsable.h: remove #include "LColor.h".
1789 * insets/insetinclude.h: remove #include "dimension.h".
1790 * insets/insetlatexaccent.h: remove #include "dimension.h".
1791 * insets/insetoptarg.h:: remove #include "insettext.h".
1792 * insets/insettext.h: remove #include "dimension.h",
1793 <boost/shared_ptr.hpp>
1795 * insets/renderers.h: add #include "dimension.h".
1796 * insets/updatableinset.h: add #include "support/types.h".
1798 * many .C files: Associated changes.
1800 2003-09-06 Angus Leeming <leeming@lyx.org>
1802 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1803 one, inside testInvariant.
1805 * PrinterParams.C: new file.
1806 * PrinterParams.[Ch]: move the function bodies out of line.
1808 2003-09-06 Angus Leeming <leeming@lyx.org>
1810 * ParagraphParameters.h: forward declare ParameterStruct rather than
1811 including its header file.
1812 (depth): moved out-of-line.
1814 2003-09-06 Angus Leeming <leeming@lyx.org>
1816 * BufferView_pimpl.h:
1819 * lyxfunc.h: forward declare LyXKeySym rather than
1820 #include "frontends/LyXKeySym.h".
1822 * BufferView_pimpl.C:
1825 * lyxfunc.C: associated changes.
1827 2003-09-06 Angus Leeming <leeming@lyx.org>
1829 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1830 As a result, can remove the #include "insets/inset.h" from BufferView.h
1832 2003-09-06 Angus Leeming <leeming@lyx.org>
1834 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1835 As a result, can remove the #include "insets/inset.h" from BufferView.h
1837 2003-09-06 Angus Leeming <leeming@lyx.org>
1843 * bufferview_funcs.C:
1844 * BufferView_pimpl.C:
1849 * ParagraphParameters.C:
1854 * frontends/controllers/ControlDocument.C:
1855 * insets/insetcaption.C: rearrange the #includes into some sort of
1858 * buffer.h: remove #includes ErrorList.h, undo.h
1860 2003-09-06 Angus Leeming <leeming@lyx.org>
1862 * support/types.h: add a 'depth_type' typedef, used to store the
1863 nesting depth of a paragraph.
1866 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1867 defining explicitly.
1870 * paragraph_funcs.h:
1871 * ParagraphParameters.h:
1872 * sgml.h: use lyx::depth_type rather than Paragraph or
1873 ParameterStruct's depth_type.
1876 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1879 * BufferView_pimpl.C:
1881 * ParagraphParameters.C:
1884 * bufferview_funcs.C:
1891 * frontends/LyXView.C:
1892 * frontends/controllers/ControlDocument.C:
1893 * frontends/controllers/ControlErrorList.C:
1894 * insets/insetbibitem.C:
1895 * insets/insetbranch.C:
1896 * insets/insetcaption.C:
1897 * insets/insetcollapsable.C:
1898 * insets/insetenv.C:
1899 * insets/insetert.C:
1900 * insets/insetfloat.C:
1901 * insets/insetfoot.C:
1902 * insets/insetfootlike.C:
1903 * insets/insetnewline.C:
1904 * insets/insetquotes.C:
1905 * insets/insettabular.C:
1906 * insets/insettext.C:
1907 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1909 * frontends/controllers/ControlChanges.C: #include "changes.h".
1911 2003-09-06 Angus Leeming <leeming@lyx.org>
1913 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1914 than #including paragraph.h.
1917 * RowList.h: deleted. Superfluous.
1927 * insets/insettext.h: use ParagraphList_fwd.h rather than
1930 * paragraph.h: don't forward declare ParagraphList.
1933 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1934 rather than ParagraphList.h. paragraph.h is still needed for the
1935 Paragraph::depth_type parameters.
1937 * textcursor.h: enable it to compile stand-alone in light of the
1940 * bufferview_funcs.C:
1952 * frontends/controllers/ControlParagraph.C:
1953 * frontends/controllers/ControlTabular.C:
1954 * insets/insetmarginal.C:
1955 * insets/insetminipage.C:
1956 * insets/insetnote.C:
1957 * insets/insetoptarg.C: add header files needed to compile again.
1959 2003-09-06 Angus Leeming <leeming@lyx.org>
1961 * RowList_fwd.h: new file, forward-declaring Row rather than
1962 #including lyxrow.h.
1967 * insets/insettext.h: use it instead of RowList.h
1969 * bufferview_funcs.C:
1976 * text3.C: #include "RowList.h".
1978 2003-09-05 Angus Leeming <leeming@lyx.org>
1980 * factory.C (createInset):
1981 * vspace.C (c-tor): replace sscanf call with an istringstream.
1982 * ispell.C: re-add missing HP/UX headers.
1983 * lyxserver.C: re-add missing os2 headers.
1985 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1994 * text3.C: re-add missing system headers, needed for 2.95.2.
1996 2003-09-05 Angus Leeming <leeming@lyx.org>
1998 Changes most place everywhere due to the removal of using directives
1999 from support/std_sstream.h.
2001 2003-09-05 Angus Leeming <leeming@lyx.org>
2003 Replace LString.h with support/std_string.h,
2004 Lsstream.h with support/std_sstream.h,
2005 support/LIstream.h with support/std_istream.h,
2006 support/LOstream.h with support/std_ostream.h.
2008 Changes resulting throughout the tree.
2010 2003-09-05 Angus Leeming <leeming@lyx.org>
2012 * sgml.h: ensure that the header file can be compiled stand-alone.
2013 * *.C: strip out redundant #includes. (320 in total.)
2015 2003-09-04 Angus Leeming <leeming@lyx.org>
2017 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2018 here (from getPackages).
2020 * debug.[Ch]: add a new EXTERNAL tag.
2022 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2024 * text2.C (cursorEnd): simplify
2026 (getColumnNearX): adjust
2028 * text.C (computeBidiTables): adjust
2031 * rowpainter.C (paintChars): adjust
2032 (paintSelection): adjust
2033 (paintChangeBar): adjust
2036 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2038 (numberOfSeparators): adjust
2040 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2046 * text3.C: Restricts the mouse click functionality
2047 of insets like bibtex, include, toc and floatlist to the visible
2048 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2049 up the dialogs. Cursor has to be in front of the inset (i.e.
2050 start of row) for this to function.
2052 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2054 * bufferview_funcs.C (currentState): output row information
2056 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2058 * bufferview_funcs.C (currentState): output paragraph position
2060 2003-09-04 Angus Leeming <leeming@lyx.org>
2062 * FloatList.h: move out #include "Floating.h".
2063 * LaTeX.h: move out #include "DepTable.h".
2064 * LyXAction.h: move out #include "funcrequest.h".
2065 * buffer.h: move out #include "author.h", "iterators.h".
2066 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2067 * lyx_main.h: move out #include "errorlist.h".
2068 * lyxfunc.h: move out #include "FuncStatus.h".
2069 * lyxtext: move out #include "lyxcursor.h".
2070 * paragraph_pimpl.h: move out #include "counters.h".
2072 2003-09-03 Angus Leeming <leeming@lyx.org>
2074 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2075 preamble_snippets list, enabling us to add snippets to the preamble
2076 only if the snippet was not there already.
2078 2003-09-04 Angus Leeming <leeming@lyx.org>
2080 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2082 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2084 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2087 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2089 * BranchList.C: point fix, earlier forgotten
2091 2003-09-02 Angus Leeming <leeming@lyx.org>
2093 * box.C (contains): renamed from 'contained' after a fantastic
2096 2003-09-02 John Levon <levon@movementarian.org>
2102 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2104 2003-09-02 John Levon <levon@movementarian.org>
2106 * text2.C: simplification of cursorEnd(), including partial
2109 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2111 * buffer.C (readFile): add a space
2113 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2115 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2117 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * buffer.C (readFile): new function, take a filename and a
2120 ParagraphList::iterator
2122 (readFile): adjust, make it private. don't use setStream, make
2123 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2124 always contain the filename.
2126 * BufferView.C (insertLyXFile): simplify and make it work for
2129 2003-08-30 John Levon <levon@movementarian.org>
2131 * Makefile.am: fix dist (from Kayvan)
2133 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2135 * most files: change to use const Buffer refs
2137 2003-08-27 André Pönitz <poenitz@gmx.net>
2139 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2140 on top of ownerPar().
2142 2003-08-27 John Levon <levon@movementarian.org>
2144 * funcrequest.C: properly initialise POD members
2146 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2148 * lyxtext.h (top_y): move top_y from here
2153 * BufferView_pimpl.[Ch]: to here
2154 * frontends/screen.C:
2155 * insets/insettabular.C:
2156 * insets/insettext.C: adjust
2157 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2159 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2162 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2164 2003-08-26 André Pönitz <poenitz@gmx.net>
2166 * paragraph_func.[Ch] (outerPar): new function
2169 * paragraph_funcs.C:
2170 * paragraph_funcs.h:
2171 * paragraph_pimpl.C:
2172 * text2.C: remove Inset::par_owner
2174 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2179 * text2.C: eliminates the needFullRow/display() stuff
2180 altogether, putting the logic in metrics/draw in the insets.
2182 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2184 * text2.C (redoParagraphInternal, redoParagraphs):
2185 * text.C (redoParagraph): add a call to updateRowPositions at the
2186 end of each 'metrics-like' call. Remove all others.
2187 (getRow): remove the 'y-computing' version.
2188 (getRowNearY): do not compute nor return the real y. Solve the
2189 'y < 0' problem and simplify.
2191 2003-08-22 Angus Leeming <leeming@lyx.org>
2193 * *.[Ch]: clean-up of licence and author blurbs.
2194 Also move config.h out of a few .h files and into a few .C files.
2196 2003-08-22 André Pönitz <poenitz@gmx.net>
2198 * lyxrow.[Ch]: add x_ and *fill_ members
2203 * text2.C: adjust/remove prepareToPrint() calls
2205 2003-08-22 André Pönitz <poenitz@gmx.net>
2207 * lyxrow.[Ch]: add end_ member
2209 * lyxrow_funcs.C: use LyXRow::end_
2211 * lyxtext.h (singleWidth): add LyXFont parameter
2214 * text2.C: adjust LyXText::singleWidth() calls
2216 * text.C (redoParagraph): simplify row breaking logic
2219 2003-08-19 André Pönitz <poenitz@gmx.net>
2221 * funcrequest.C: initialize button_ member
2224 * rowpainter.[Ch]: interface consolidation
2226 2003-08-18 André Pönitz <poenitz@gmx.net>
2229 * BufferView_pimpl.C:
2231 * paragraph_funcs.C:
2233 * text3.C: remove LyXScreen::draw() and fitCursor calls
2235 * BranchList.h: remove spurious semicolons
2237 * MenuBackend.C: fix branchlist related crash
2239 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2247 * bufferparams.[Ch]:
2251 * text3.C: implements the 'branch inset'
2252 idea. This allows the output of various versions of a document
2253 from a single source version, selectively outputing or suppressing
2254 output of parts of the text.
2255 This implementation contains a 'branch list editor' in a separate
2256 tab of the document settings dialog. Branches are user definable
2257 and have a "display colour" to distinguish them on-screen.
2259 ColorHandler was somewhat cleaned up.
2260 (1) make possible a dynamically growing LColor list by allowing
2261 the graphic context cache to grow along (vector);
2262 (2) eliminate an IMHO unnecessary step in colour allocation.
2264 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2266 * BufferView_pimpl.C: compile fix
2268 2003-08-15 André Pönitz <poenitz@gmx.net>
2270 * rowpainter.C: remove extra metrics calls
2272 * lyxtext.h: merge the two constructors into a single one,
2273 pass reference to owner's par list
2275 * BufferView_pimpl.C:
2279 2003-08-15 André Pönitz <poenitz@gmx.net>
2281 * lyxrow_funcs.[Ch]:
2284 * paragraph_funcs.C:
2289 * text_funcs.C: split LyXText::rowlist_ into individual
2290 Paragraph::rows_ chunks
2293 * BufferView_pimpl.[Ch]:
2296 * text3.C: remove toggleSelection()
2298 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2300 * bufferlist.C: beautify two alerts (shorter text of buttons)
2301 * buffer.C: Remove redundant ' ' from message
2303 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2304 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2305 rename VALIGN_CENTER to VALIGN_MIDDLE
2307 2003-08-11 André Pönitz <poenitz@gmx.net>
2309 * lyxtext.h (getPar):
2310 * text.C: new function
2312 2003-08-11 André Pönitz <poenitz@gmx.net>
2315 * tracer.[Ch]: remove unneeded files
2317 * InsetList.[Ch]: remove resizeInsetsLyXText()
2322 * text3.C: merge insertParagraphs() and appendParagraph()
2323 remove breakAgain(), update()
2325 * BufferView_pimpl.[Ch]:
2326 * bufferview_funcs.[Ch]:
2330 * tabular.C: adjust after text & InsetList changes.
2332 2003-08-08 André Pönitz <poenitz@gmx.net>
2334 * text.C (insertChar, backspace): replace rowlist fiddling
2335 with rebreak of full par
2338 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2339 checkParagraph, updateInset): removed
2341 2003-08-07 André Pönitz <poenitz@gmx.net>
2344 * text3.C: merge some LFUN handlers, remove dead code
2346 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2348 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2350 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2352 * text2.C (DEPM): fix part of bug 1255 and 1256
2354 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2356 * BufferView_pimpl.C (workAreaDispatch): change to use
2357 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2358 that are no mouse related.
2360 2003-08-05 André Pönitz <poenitz@gmx.net>
2363 * BufferView_pimpl.[Ch]:
2364 * bufferview_funcs.C:
2366 * text3.C: rip out "deep update"
2368 * textcursor.[Ch] (last_sel_cursor): remove unused member
2370 2003-08-04 André Pönitz <poenitz@gmx.net>
2373 * BufferView_pimpl.[Ch]:
2374 * ParagraphParameters.C:
2375 * bufferview_funcs.C:
2381 * text3.C: replace "complicated" BufferView::update(...) calls with
2384 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2386 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2388 * Makefile.am (lyx_SOURCES): add paper.h
2390 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2392 * Makefile.am: move things around so that both lyx-qt and
2393 lyx-xforms can be built (according to --with-frontend). Then lyx
2394 is a symbolic link to lyx-[firstfrontend]
2396 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2398 * Always use std::endl with lyxerr
2400 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2402 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2404 2003-08-01 André Pönitz <poenitz@gmx.net>
2407 * BufferView_pimpl.[Ch]:
2409 * text3.C: merge BufferView::repaint() and BufferView::update()
2411 2003-08-01 José Matos <jamatos@lyx.org>
2413 * buffer.[Ch]: file_format is no longer a buffer data element.
2415 2003-08-01 André Pönitz <poenitz@gmx.net>
2420 * text2.C: make redoParagraph more independent of current cursor
2422 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2424 * text2.C: remove unneeded members
2426 2003-07-30 André Pönitz <poenitz@gmx.net>
2428 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2430 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2431 create a single function...
2433 * paragraph_funcs.C (moveItem): ... here.
2436 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2438 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2440 * LColor.[Ch]: Add comment and greyedout logical colors.
2442 2003-07-30 André Pönitz <poenitz@gmx.net>
2444 * tabular.C: don't use Assert too heavily. This crashes where it
2447 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2449 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2450 is disabled (bug 1232)
2452 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2454 * factory.C: limited 'arg' scope
2456 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2458 * factory.C: fixed Note submenu issues
2460 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2462 * factory.C: submenu for Note/Comment/Greyedout
2464 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2467 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2469 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2472 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2473 greyedout. Patch provided by Jürgen Spitzmüller.
2475 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 * kbmap.C (read): fix error message when reading bind files
2479 2003-07-29 Angus Leeming <leeming@lyx.org>
2481 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2482 certainly does not do what it purports to do. I am doing it, and
2483 us, a favour by killing it.
2485 2003-07-28 José Matos <jamatos@lyx.org>
2487 * buffer.C (readBody, do_writeFile):
2488 * paragraph.C(readParagraph): \end_document replaces \the_end.
2490 2003-07-29 André Pönitz <poenitz@gmx.net>
2493 * BufferView_pimpl.[Ch]:
2497 * textcursor.[Ch]: remove toggleToggle & Co
2499 2003-07-28 José Matos <jamatos@fep.up.pt>
2501 * buffer.C (readParagraph):
2502 * params_func (readParToken, readParagraph):
2503 * paragraph.C (write): \layout -> \begin_layout.
2505 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * lyxlex_pimpl.C (setFile): clean up slightly.
2509 * bufferparams.h: add compressed var
2511 * buffer_funcs.C (readFile): adjust for LyXLex change
2512 (newFile): ditto + simplify
2514 * buffer.C (writeFile): handle writing of compressed files
2516 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2517 Check if the file is compressed and set a bufferparm if so.
2519 * Makefile.am (lyx_LDADD): remove explicit -lz
2521 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2524 makeDocBookFile): put the real LyX version in the first line of
2528 * version.C.in: remove lyx_docversion
2530 * tabular.C (write_attribute): add a template-based version to
2531 write enums properly
2533 2003-07-28 André Pönitz <poenitz@gmx.net>
2538 * text3.C: use doubles again for x-coordinates. They are needed.
2540 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2542 * messages.C (getLocaleDir): use lyx_localedir()
2544 * lyxlex_pimpl.C (setFile): compress stuff
2546 * buffer.C (writeFile): add some compression stuff
2547 (do_writeFile): new func, dont call expliti close... will this
2550 * Makefile.am (lyx_LDADD): add -lz
2552 2003-07-28 José Matos <jamatos@fep.up.pt>
2554 * buffer.C: increment file format.
2555 * paragraph_funcs (readParagraph, readParToken):
2556 * paragraph.C (readParagraph): add \end_layout.
2558 2003-07-27 Angus Leeming <leeming@lyx.org>
2560 * Makefile.am: remove special casing for configure-time setting of
2561 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2563 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2564 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2566 2003-07-26 André Pönitz <poenitz@gmx.net>
2568 * paragraph_func.[Ch]:
2569 * paragraph.C (realizeFont): inline it whereever it is used
2574 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2577 2003-07-26 André Pönitz <poenitz@gmx.net>
2581 * text2.C: get rid of LyXText::need_break_row
2583 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2585 * toc.[Ch]: put namespace toc inside namespace lyx
2587 * MenuBackend.C (expandToc2): adjust for lyx::toc
2590 * lyxfunc.C (dispatch): adjust for lyx::find
2592 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2593 lyx::find instead. Reorganize a bit.
2594 (LyXReplace): rename to replace
2595 (LyXFind): rename to find
2597 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2600 2003-07-26 André Pönitz <poenitz@gmx.net>
2602 * text.C (setHeightOfRow): restrict scope of temporary variable
2604 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2605 code (never has been used?)
2607 2003-07-27 Asger Alstrup <alstrup@local>
2609 * text.C (fill): Optimise algorithm to exploit that we can reuse
2610 the LyXFont for many characters.
2611 (setHeightOfRow): Same thing.
2612 (rowBreakPoint): Same thing.
2614 2003-07-26 Asger Alstrup <alstrup@local>
2616 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2618 * text.C (singleWidth): Spurious font copying in hot-spot
2619 singleWidth avoided. Reorder tests for arabic for efficiency.
2621 * text.C (fill): handle empty paragraphs better.
2623 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2626 * encoding.h: add includes
2628 * lyxrc.C: remove reading of bind files
2630 * lyx_main.C (init): setup bindings and menus only if we have a
2633 * kbmap.C (read): new method. Do the actual reading of bind
2636 * converter.C (dvipdfm_options):
2639 (output): adapt PAPER_* enums.
2641 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2643 * bufferparams.h: remove paper-related enums from there
2645 * paper.h: New file. A trivial header file to hold paper-related
2646 enums. It should later expand to contain many paper-related
2649 * lyxrc.C: declare extern displayTranslator
2651 2003-07-27 José Matos <jamatos@fep.up.pt>
2653 * tabular.[Ch] (linuxdoc): add support for tables and figures
2656 2003-07-27 José Matos <jamatos@fep.up.pt>
2658 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2659 consistency in both functions.
2660 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2662 2003-07-26 Asger Alstrup <alstrup@local>
2664 * rowpainter.C (paintRows): Change algorithm to work directly on
2665 the insets rather than asking every character in the document
2666 whether its an inset.
2668 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2670 * buffer.C (openFileWrite): factorize some code
2672 2003-07-26 Angus Leeming <leeming@lyx.org>
2675 * lyx_main.[Ch]: replace occurances of system_tempdir with
2678 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * rename Inset to InsetOld
2682 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2684 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2685 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2686 which I think is a bit clearer. EDIT is gone, since it was
2687 premature optimisation, and broken for mathed anyway.
2688 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2689 with cursor positioning in insets as well (math insets still do not
2690 work, but that's a different story anyway.) It mysteriously
2691 crashes sometimes with undo in the first paragraph, but I'm fairly
2692 confident that this is a compiler bug.
2694 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * paragraph.C (Paragraph): adjust for new clone return type
2698 (copyIntoMinibuffer): ditto
2700 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2702 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2703 by not having a special case, and always doing a full rebreak of
2704 the document after undo.
2706 2003-07-23 Angus Leeming <leeming@lyx.org>
2708 * factory.C (createInset): InsetExternal::setParams now takes a
2711 2003-07-23 Angus Leeming <leeming@lyx.org>
2713 * factory.C (createInset): changed interface to the external and
2714 graphics mailers' string2params functions.
2716 2003-07-23 Angus Leeming <leeming@lyx.org>
2718 * factory.C (createInset): pass a
2719 Buffer const * parameter to InsetExternalMailer's string2params.
2721 2003-07-22 John Levon <levon@movementarian.org>
2723 * Thesaurus.h: include the right aiksaurus header
2725 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2727 * MenuBackend.C (expand): check menu shortcuts unconditionally
2729 2003-07-21 Angus Leeming <leeming@lyx.org>
2731 * factory.C (createInset): pass a
2732 buffer_path parameter to InsetGraphicsMailer's string2params.
2734 2003-07-21 Angus Leeming <leeming@lyx.org>
2736 * BufferView_pimpl.C (buffer):
2739 * lyxfunc.C (dispatch):
2740 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2741 rather than the grfx shortcut.
2743 2003-07-21 André Pönitz <poenitz@gmx.net>
2745 * rowpainter.C: remove unused variables
2748 * tabular_funcs.h: move to tabular.C
2749 * Makefile.am: adjust
2751 * tabular.[Ch]: basic optical cleaning
2753 * author.h: pass references, not values
2755 2003-07-18 André Pönitz <poenitz@gmx.net>
2763 * text3.C: two-phase drawing for InsetText and InsetTabular
2764 some float -> int changes.
2766 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2768 * lyx_main.C: fix the fix
2770 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2772 * lyx_main.C: fix a crash in batch mode if no files specified
2775 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2777 * format.[Ch] (papersize): moved to BufferParams
2778 * converter.[Ch] (dvips_options): moved to BufferParams
2779 (dvipdfm_options): moved to anon namespace
2780 * bufferparams.[Ch]: added above functions.
2782 2003-07-17 André Pönitz <poenitz@gmx.net>
2786 * text2.C: don't call inset->update() anymore
2788 * metricsinfo.[Ch]: add convenience constructor
2790 2003-07-16 André Pönitz <poenitz@gmx.net>
2795 * text2.C: replace the LyXCursor::irow_ member with
2796 on-demand computation of the value
2798 2003-07-16 John Levon <levon@movementarian.org>
2800 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2802 2003-07-15 André Pönitz <poenitz@gmx.net>
2805 * text2.C: remove no more needed refresh_row
2807 2003-07-15 André Pönitz <poenitz@gmx.net>
2812 * text3.C: refresh_status tristate -> need_update bool
2814 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2816 * lyxtext.h (init): remove reinit argument (act as if always true)
2817 * text2.C: adjust to that
2819 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2821 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2822 * text3.C: use it to delete selections in some cases
2823 (bugs 441, 673, 702, 954).
2825 2003-07-14 André Pönitz <poenitz@gmx.net>
2827 * rowpainter.[Ch]: reduce interface
2829 2003-07-14 André Pönitz <poenitz@gmx.net>
2831 * BufferView_pimpl.C:
2832 * text2.C: adjust after removing unused BufferView * argument
2834 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2836 * text2.C (init): fix a crash fired on resize
2838 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2840 * buffer.[Ch]: added new closing signal
2841 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2842 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2843 BufferView::Pimpl via the closing the signal
2845 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2847 * buffer.[Ch]: take out all bv-related from buffer
2849 * BufferView_pimpl.[Ch]: connect to new signals
2850 * CutAndPaste.C: removed useless asserts
2851 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2854 * lyxfunc.C: moved view-related funciontality from vc here
2855 * paragraph.C: removed outdated comments
2858 2003-07-10 André Pönitz <poenitz@gmx.net>
2860 * BufferView_pimpl.C:
2864 * text2.C: remove InsetText::InnerCache, clean up consequences
2866 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2868 * ispell.C: fix two typos in error messages
2870 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2872 * Extend Note inset to other forms of annotation like Comment
2873 and Greyedout. Right button click gives dialog.
2875 Files modified or added (+):
2879 * ControlNote.[Ch] +
2881 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2882 frontends/controllers
2886 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2888 * aspell.C: add missing namespace lyx::support
2890 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2892 * BufferView.[Ch] (newFile): Add
2893 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2894 * LaTeX.[Ch] (message): added this signal and use it
2895 * buffer.[Ch] (busy, message): added these signals and use them
2896 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2900 * importer.C: use buffer signals instead of direct bv calling
2901 * lyx_cb.[Ch] (ShowMessage): removed
2904 * paragraph_funcs.C:
2905 * text2.C: use buffer signals
2907 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2909 * introduce namespace lyx::graphics
2911 2003-07-02 André Pönitz <poenitz@gmx.net>
2913 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2915 2003-07-01 André Pönitz <poenitz@gmx.net>
2922 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2923 text*.C to text_func.C
2925 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2927 * introduce namespace lyx::support
2929 2003-06-30 André Pönitz <poenitz@gmx.net>
2934 * text.C: re-enable --with-included-string
2936 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * textcursor.C: add <config.h>
2940 * text.C (getWord): remove const from word_location arg
2942 * lyxvc.C (getLogFile): fix const type order
2944 * lyxtext.h: remove const from word_location arg, add arg name
2946 * lyxlayout.h: currect type on labeltype.
2948 * importer.C: correct \file
2950 * converter.C (intToFormat): use std:: on ret val, ws changes
2952 * bufferlist.h: correct \file
2954 * buffer.C (makeLinuxDocFile): fix const type order
2955 (makeDocBookFile): ditto
2956 (fillWithBibKeys): use std:: on stdlib args.
2958 * CutAndPaste.C: fix authors.
2959 (availableSelections): use std:: on return vector
2961 2003-06-27 André Pönitz <poenitz@gmx.net>
2963 * BufferView_pimpl.C:
2964 * bufferview_funcs.C:
2972 * text3.C: remove LyXCursor::row_ member
2975 * text.C: rename fullRebreak() to partialRebreak() and implement
2976 a fullRebreak() that really bereks fully
2978 * textcursor.h: new struct for cursor-related data
2980 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2982 * lyx_main.C (LyX): get full path of document loaded on the
2985 2003-06-26 André Pönitz <poenitz@gmx.net>
2987 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2988 remove unused/broken operator>,<,>=.
2990 * text.C: remove only use of broken operator<= in an Assert().
2992 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2994 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2995 moved errorlist_.clear to showErrorList
2997 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2999 * converter.C (scanLog, runLaTeX):
3000 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3001 move the bv->showErrorList call to the callers
3002 * lyxfunc.C: i.e. here...
3004 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3005 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3006 namespace, the second to...
3007 * buffer_funcs (BufferFormat, parseErrors): added
3008 * errorlist.C (ErrorList(TeXErrors const &)): removed
3010 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3012 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3014 2003-06-24 "Garst R. Reese" <reese@isn.net>
3018 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3020 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3022 * version.C.in: change docversion to 1.4
3024 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3026 * buffer.C: fix a bug just introduced
3028 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3030 * buffer.[Ch]: added the parseError signal and use it, removed
3032 * BufferView.[Ch] (addError): moved to ...
3033 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3034 to the Buffer::parseError signal to catch (guess what) parse errors
3035 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3037 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3039 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3040 ability to create a buffer and to return an existing one from
3041 the list. Moved these functions to...
3042 * buffer_funcs.[Ch]: added
3043 * BufferView.[Ch] (loadLyXFile): added
3044 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3045 job removed from bufferlist::loadLyXFile.
3046 * buffer.C (setReadOnly): make it work without view
3047 (i.e added an if (users))
3049 2003-06-19 Angus Leeming <leeming@lyx.org>
3052 * LyXAction.C (init):
3053 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3054 with LFUN_DIALOG_SHOW <name> <data>.
3056 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3058 * CutAndPaste.C (availableSelections): small compilation fix for
3059 ancient (gcc 2.9x) compilers
3061 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3063 * text3.C (cursorNext): add tmp var
3065 * text2.C (updateCounters): for function calling out of for clause
3066 (replaceSelectionWithString): ditto
3067 (insertStringAsParagraphs): ditto
3068 (getColumnNearX): add tmp var
3069 (setCursorFromCoordinates): add tmp var
3070 (cursorDownParagraph): add tmp var
3071 (deleteEmptyParagraphMechanism): add tmp var
3073 * text.C (insertChar): add tmp var
3075 * rowpainter.C (paintDepthBar): add tmp var
3077 * CutAndPaste.C (availableSelections): potentially check all
3078 paragraphs in a cut to fill the shown strings.
3080 2003-06-18 André Pönitz <poenitz@gmx.net>
3082 * kbmap.[Ch]: use vector<> instead of list<>
3084 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3086 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3087 pasteSelection with index
3089 * text2.C (pasteSelection): modify, call pasteSelection with index
3091 * paragraph.C (asString): reimplement version with no interval to
3092 call the one with interval.
3094 * lyxtext.h: add index arg to pasteSelection
3096 * MenuBackend.C (MenuItem): handle PasteRecent
3097 (Menu::read::Menutags): add md_pasterecent
3099 (expandPasteRecent): new function
3102 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3104 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3106 (availableSelections): new function
3108 2003-06-17 Angus Leeming <leeming@lyx.org>
3110 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3112 2003-06-17 Angus Leeming <leeming@lyx.org>
3115 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3117 * lyxfunc.C (dispatch): invoke it.
3119 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3121 * iterators.C (operator++, ParPosition): reintroduce some
3122 const_cast for the benefit of older compilers.
3124 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3126 * text3.C (dispatch): do not modify clipboard when doing
3127 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3128 LFUN_DELETE_SKIP on a selection selection
3130 2003-06-16 André Pönitz <poenitz@gmx.net>
3136 * tabular.[Ch]: IU of clone() and getLabelList();
3138 2003-06-13 André Pönitz <poenitz@gmx.net>
3140 * tabular.h: compactification
3142 2003-06-12 André Pönitz <poenitz@gmx.net>
3146 * tabular_funcs.h: some renaming plus whitespace
3148 2003-06-12 André Pönitz <poenitz@gmx.net>
3151 * BufferView_pimpl.C:
3157 * toc.C: Return a Paragraph & for ParIterator::operator*()
3159 2003-06-11 John Levon <levon@movementarian.org>
3163 * ToolbarBackend.C: add "Toolbars" section and
3166 2003-06-10 Angus Leeming <leeming@lyx.org>
3169 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3171 * lyxfunc.C (dispatch): invoke it.
3173 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * main.C: protect <ios> with HAVE_IOS
3176 (main): protect sync_with_stdio with HAVE_IOS
3178 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3180 * text2.C (cutSelection): adjust
3181 (pasteSelection): adjust
3183 * messages.C: handle get of empty string
3185 * main.C (main): use sync_with_stdio(false)
3187 * lyxfunc.C (dispatch): adjust
3189 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3190 (WriteAs): remove unneeded BufferView arg.
3192 * bufferparams.h: use correct types on papersize, papersize2 and
3195 * bufferparams.C (readToken): adjust for type
3196 (writeLaTeX): add missing cases to switch.
3198 * bufferlist.C (quitWriteBuffer): adjust
3201 * buffer.C (asciiParagraph): remove some commented code.
3203 * CutAndPaste.C: remove current_view extern variable.
3204 (cutSelection): add BufferParams arg.
3205 (eraseSelection): add BufferParams arg.
3206 (pasteSelection): add Buffer const & arg
3208 2003-06-07 John Levon <levon@movementarian.org>
3211 * paragraph_funcs.C:
3212 * paragraph_pimpl.C:
3216 * paragraph.C: allow InsetERT to freely space lines,
3217 and some consolidation of code
3219 2003-06-06 José Matos <jamatos@fep.up.pt>
3221 * buffer.C (makeDocBookFile): fix bug #821
3223 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3225 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3227 2003-06-04 Angus Leeming <leeming@lyx.org>
3229 * buffer.C: bump format to 224.
3231 2003-06-05 André Pönitz <poenitz@gmx.net>
3233 * text2.C (redoParagraphs): remove two const_cast<>
3235 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3237 * ParagraphList.h: remove last remnants of NO_STD_LIST
3239 2003-06-03 Angus Leeming <leeming@lyx.org>
3241 * factory.C (createInset): small change to the way InsetExternal's params
3244 2003-06-04 André Pönitz <poenitz@gmx.net>
3246 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3248 * paragraph_pimpl.h:
3249 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3251 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3253 * undo_funcs.C: make some simple cases of undo work again
3255 2003-06-03 John Levon <levon@movementarian.org>
3257 * ispell.C: HPUX doesn't have sys/select.h
3260 2003-06-03 John Levon <levon@movementarian.org>
3262 * CutAndPaste.C: update tabular and include inset
3267 * paragraph.C: remove owningBuffer(), don't pass Buffer
3270 * factory.C: insetGraphicsParams changed
3272 2003-06-02 John Levon <levon@movementarian.org>
3278 * text3.C: remove insetparent
3280 2003-06-02 John Levon <levon@movementarian.org>
3283 * buffer.C: fix inset_iterator.end(), move out of line
3286 2003-06-01 John Levon <levon@movementarian.org>
3288 * text3.C: use a proper cut/paste when doing inset
3289 insert (from Jürgen Spitzmüller)
3291 2003-06-01 John Levon <levon@movementarian.org>
3293 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3295 2003-05-30 André Pönitz <poenitz@gmx.net>
3297 * rowpainter.C: unify second drawing phase
3299 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3301 * trans_mgr.C: remove one case of current_view
3303 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3305 * paragraph_funcs.h: remove paragraph.h include
3307 * paragraph.h: delete NO_STD_LIST stuff
3309 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3311 * buffer.h: remove paragraph.h include
3313 * ParagraphList.C: delete file
3315 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3317 * toc.C (getTocList): adjust
3319 * paragraph_pimpl.C (validate): adjust
3321 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3323 * paragraph.C (Paragraph): adjust
3324 (getPositionOfInset): use const_iterator, adjust
3325 (bibitem): use const_iterator, adjust
3326 (setInsetOwner): adjust
3328 * iterators.C (operator++): adjust
3330 * InsetList.[Ch]: Replace selfmade iterator with standard
3331 vector::iterator also introduce const_iterator. Remove getPos,
3332 getInset and setInset from InsetTable. Adjust accordingly.
3334 * BufferView.C (lockInset): adjust
3335 (ChangeInsets): adjust
3337 * tabular.[Ch]: delete commented same_id functions
3339 2003-05-28 John Levon <levon@movementarian.org>
3341 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3343 2003-05-28 André Pönitz <poenitz@gmx.net>
3345 * metricsinfo.[Ch]: remove 'fullredraw' member
3347 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3349 * lyxtextclass.C (operator): remove caching.
3351 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3355 * text2.C (cursorBottom): adjust
3356 (setCounter): use ParagraphList::find, adjust
3358 * text.C (workWidth): use ParagraphList::find, adjust
3360 * lyxcursor.C (LyXCursor): adjust
3362 * buffer.C (inset_iterator): adjust
3364 * ParagraphList.h: make iterator(value_type) private, make
3365 ParagraphList a friend of iterator.
3367 * ParagraphList.C (find): new function
3369 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3371 2003-05-27 André Pönitz <poenitz@gmx.net>
3373 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3375 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3377 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3379 2003-05-26 John Levon <levon@movementarian.org>
3381 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3383 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * remove same_id from function signatures, adjust.
3387 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3391 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3393 * paragraph.C (Paragraph): get rid of same_ids parameter
3395 * ParagraphList.C (insert): adjust
3398 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3400 * paragraph_funcs.C (breakParagraph): adjust
3401 (breakParagraphConservative): adjust
3403 * buffer.C (readParagraph): adjust
3405 * ParagraphList.C (insert): take a reference instead of a pointer
3408 * paragraph.[Ch] (id): new function
3410 * bufferlist.C (newFile): adjust
3412 * ParagraphList.C (ParagraphList): adjust
3414 (push_back): take a reference instead of a pointer.
3416 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3418 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3421 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3422 set else use old code.
3424 * ParagraphList.C: remove all NO_NEXT code and only compile this
3425 code of NO_STD_LIST is set.
3427 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3429 * BufferView_pimpl.C:
3439 * graphics/GraphicsConverter.C:
3440 * graphics/PreviewLoader.C: header adjustment
3442 2003-05-23 Angus Leeming <leeming@lyx.org>
3444 * LaTeXFeatures.[Ch] (useBabel): new method.
3445 * bufferparams.C (writeLaTeX): use it.
3447 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3449 * ParagraphList.h (set): remove unused function.
3451 2003-05-23 André Pönitz <poenitz@gmx.net>
3454 * BufferView_pimpl.C:
3458 * undo_funcs.C: setUndo reworked
3460 * iterators.[Ch]: add access to topmost ParagraphList
3462 * lyxtext.[Ch] (workWidth): add a const
3464 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3466 * texrow.[Ch] (increasePos): remove function
3467 * exporter.C (export): removed unused var and outdated comment
3469 2003-05-23 Angus Leeming <leeming@lyx.org>
3471 * latexrunparams.h: rename fragile as moving_arg.
3472 * paragraph.C (simpleTeXOnePar): ditto.
3473 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3475 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3479 (textUndoOrRedo): comment out a currently unused var.
3481 * paragraph.h (NO_NEXT): enable NO_NEXT
3483 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3485 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3487 * exporter.C (Export): adjust for removeAutoInsets removal.
3489 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3491 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3493 * BufferView.[Ch] (removeAutoInsets): delete function
3495 2003-05-22 Angus Leeming <leeming@lyx.org>
3497 * latexrunparams.h: add a free_spacing variable.
3499 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3500 to pass moving_arg, as the data is stored in runparams.fragile.
3502 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3503 to Inset::latexOptional or to simpleTeXOnePar.
3505 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3506 free_spacing arg to Inset::latexOptional.
3508 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3511 2003-05-22 Angus Leeming <leeming@lyx.org>
3513 * latexrunparams.h: add fragile and use_babel variables.
3515 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3516 * buffer.C (makeLaTeXFile): store this returned value in
3517 runparams.use_babel, thus passing it to the inset::latex methods.
3519 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3520 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3522 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3523 longer has a fragile arg, as it is stored in runparams.fragile.
3525 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3526 moving_arg parameter as the data is stored in runparams.fragile.
3528 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3529 a fragile parameter as the data is stored in runparams.fragile.
3531 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3533 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3535 2003-05-22 Angus Leeming <leeming@lyx.org>
3537 * latexrunparams.h: add a 'bool nice' which defaults to false.
3539 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3540 now encapsulated within runparams.
3542 * bufferlist.C (updateIncludedTeXfiles):
3543 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3545 2003-05-22 Angus Leeming <leeming@lyx.org>
3547 * latexrunparams.h: new file containing struct LatexRunParams.
3548 * Makefile.am: add new file.
3550 * LaTeX.[Ch] (c-tor, run):
3551 * buffer.[Ch] (makeLaTeXFile):
3552 * bufferlist.[Ch] (updateIncludedTeXfiles):
3553 * converter.C (convert, scanLog):
3554 * converter.[Ch] (runLaTeX):
3555 * exporter.C (Export):
3556 * paragraph.[Ch] (simpleTeXOnePar):
3557 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3558 * paragraph_funcs.[Ch] (latexParagraphs):
3559 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3560 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3561 pass around a LatexRunParams parameter.
3563 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * paragraph.[Ch]: remove unused constructor
3567 * ParagraphList.C (erase): new function, taking two iterators
3569 2003-05-22 André Pönitz <poenitz@gmx.net>
3571 * undo_funcs.C: remove duplicated code
3573 * iterator.[Ch]: operator=
3575 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * tabular.C (SetMultiColumn): ws changes
3579 * rowpainter.C (paintFirst): get rid of a ->previous
3581 * lyx_cb.C (getPossibleLabel): parlist simplification
3583 * BufferView.C (ChangeInsets): simplify slightly.
3585 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3587 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3588 * lfuns.h: new LFUN_SPACE
3589 * lyxfunc.C: protected space has a new lfun
3590 * paragraph_funcs.C: read new space insets
3592 * factory.C: handle new space insets
3594 2003-05-22 André Pönitz <poenitz@gmx.net>
3597 * BufferView_pimpl.C:
3600 * undo_funcs.C: return a ParIterator from getParFromID.
3602 * iterators.[Ch]: add two const's
3604 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * toc.C (getTocList): adjust
3608 * iterators.[Ch]: rework for parlist
3610 * buffer.C (par_iterator_begin): adjust
3611 (par_iterator_end): adjust
3613 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3615 * BufferView.C (removeAutoInsets): adjust
3616 (ChangeInsets): adjust
3618 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3620 * text.C (top_y): fix bug 1110
3622 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3624 * errorlist.[Ch]: added
3627 * BufferView_pimpl.C:
3628 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3631 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * Makefile.am: ensure that lyx is relinked upon changes to the
3634 various "convenience" libs.
3636 2003-05-20 Angus Leeming <leeming@lyx.org>
3638 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3639 files are compiled in alphabetical order again.
3641 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3643 2003-05-19 Angus Leeming <leeming@lyx.org>
3645 * gettext.[Ch]: remove "char const * _(char const *)".
3647 2003-05-19 André Pönitz <poenitz@gmx.net>
3649 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3658 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3660 2003-05-19 André Pönitz <poenitz@gmx.net>
3664 * lyxtextclass.[Ch]:
3666 * paragraph_funcs.[Ch]:
3668 * text3.C: more insetenv work
3670 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3672 * ParagraphParameters.C (params2string): small bug fixed
3674 2003-05-16 André Pönitz <poenitz@gmx.net>
3677 * bufferview_funcs.C: patch from Kornel Benko to prevent
3678 crash when _(...) is called twice in a statement
3680 2003-05-16 André Pönitz <poenitz@gmx.net>
3687 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3689 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3691 * lyx_main.C (init): remove spurious static_cast
3693 2003-05-14 André Pönitz <poenitz@gmx.net>
3695 * BufferView.C: fix format string
3697 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3699 * BufferView.[Ch] (insertErrors): removed
3700 * BufferView.[Ch] (showErrorList): added
3701 * buffer.C (runChkTeX):
3702 * converter.C (scanLog): call showErrorList instead of inserterrors
3704 2003-05-13 André Pönitz <poenitz@gmx.net>
3706 * BufferView_pimpl.C:
3708 * bufferview_func.C:
3715 * tabular_funcs.h: tostr() from its own header
3717 * ParagraphParameters.C:
3722 * text3.C: STRCONV()
3724 2003-05-12 André Pönitz <poenitz@gmx.net>
3727 * BufferView_pimpl.C:
3731 * ParagraphParameters.C:
3735 * bufferview_funcs.C:
3748 * paragraph_funcs.C:
3752 * text3.C: boost::format -> bformat all over the place
3755 2003-05-09 André Pönitz <poenitz@gmx.net>
3757 * LColor.[Ch]: Pimpl the #include <map> away
3759 2003-05-09 John Levon <levon@movementarian.org>
3761 * bufferlist.C: never remove emergency saves
3763 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * Makefile.am: better lib building
3767 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3771 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3772 (simpleTeXSpecialChars): adjust
3773 (simpleTeXSpecialChars): adjust
3774 * paragraph.C (simpleTeXOnePar): adjust
3775 * buffer.C (makeLaTeXFile): adjust
3777 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3779 * text2.C (changeDepth): parlist cleanup
3780 (getColumnNearX): ditto
3782 * rowpainter.C (getLabelFont): parlist cleanup
3784 * bufferlist.C (newFile): parlist cleanup
3786 * CutAndPaste.C (eraseSelection): parlist cleanup
3788 * BufferView_pimpl.C (trackChanges): parlist cleanup
3791 * BufferView.C (lockInset): parlist cleanup.
3792 (ChangeInsets): ditto
3794 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * CutAndPaste.h: Update file header.
3798 * CutAndPaste.C: Update file header.
3799 Store the parts cut out of the Document in a limited_stack.
3800 (copySelection): adjust
3801 (pasteSelection): new function, takes the index in the limited stack.
3802 (nrOfParagraphs): adjust
3803 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3804 simplify error inset insertion.
3805 (checkPastePossible): adjust
3807 2003-05-06 John Levon <levon@movementarian.org>
3809 * text2.C: don't cast wrap inset to float
3811 2003-05-05 André Pönitz <poenitz@gmx.net>
3814 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3816 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3817 few naked Paragraph *.
3819 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3821 * bufferparams.C: Output warning if a document with missing
3822 TeX document class is loaded
3823 * exporter.C: Disable TeX exports if the document class is missing
3826 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3827 isTeXClassAvailable()
3829 2003-05-03 John Levon <levon@movementarian.org>
3832 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3833 explicit cursor show/hide
3835 * BufferView_pimpl.h:
3836 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3837 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3839 * lyxfunc.C: hide cursor before dispatching.
3844 * text3.C: remove explicit cursor hides
3846 2003-05-02 André Pönitz <poenitz@gmx.net>
3848 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3851 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3854 * text2.C: tiny whitespace
3856 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * undo_funcs.C: almost only ws changes.
3860 * ParagraphList.C (splice): just return if pl is empty.
3862 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3864 * ParagraphList.C (splice): new function.
3866 * CutAndPaste.C (pasteSelection): use it
3868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * CutAndPaste.C (pasteSelection): remove the last next and
3871 previous from this file.
3873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * CutAndPaste.C (pasteSelection): more clean up, user proper
3876 ParagraphList functions for pasteing.
3878 * ParagraphList.C (insert): new function, three arg insert
3880 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * ParagraphList.C (insert): new function, three arg insert
3884 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3887 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3891 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3895 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3897 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3898 (copySelection): clean up a bit.
3899 (pasteSelection): use make_pair
3901 * ParagraphList.C (ParagraphList): implement copy constructor
3902 (operator=): implement, base on copy constructor.
3905 * paragraph.C (erase): return a bool
3907 * paragraph_pimpl.C (erasePos): remove function, move contents...
3908 (erase): ... here. Return a bool.
3909 (erase): call erase instead of erasePos.
3911 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3913 * ParagraphList.h: define PitPosPair
3914 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3915 ParagraphList, fix a bug on pasting multiple pars
3916 * text2.C: change interface to C&P
3918 2003-04-30 André Pönitz <poenitz@gmx.net>
3920 * undo_func.C: revert part of yesterday's patch 2
3922 2003-04-30 John Levon <levon@movementarian.org>
3924 * LColor.C: s/tabular/table/
3926 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * text3.C (dispatch): do not convert iterator -> pointer
3929 * undo_funcs.C (setCursorParUndo): ditto
3930 * text_funcs.C (transposeChars): ditto
3932 * text2.C (setLayout): ws changes only
3934 * text.C (breakParagraph): do not convert iterator -> pointer
3936 (acceptChange): ditto
3937 (rejectChange): ditto
3942 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3945 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3947 * text3.C (gotoInset): YABG (yet another bad getChar)
3949 2003-04-29 André Pönitz <poenitz@gmx.net>
3951 * paragraph.h: make operator= private unimplemented as long as
3954 * ParagraphList.C: whitespace
3957 * paragraph_pimpl.[Ch]:
3958 * paragraph_funcs.C:
3960 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3963 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3965 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3967 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3968 * paragraph.[Ch] (erase):
3969 * paragraph_pimpl.[Ch] (erase): change return type and value
3970 * text2.C (cutSelection): some rework
3972 2003-04-28 John Levon <levon@movementarian.org>
3974 * bufferlist.C: changes for unsaved changes dialog
3976 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * bufferlist.C (newFile): set language (messages_) for new
3981 * buffer.C (readFile): ws changes only.
3983 2003-04-28 André Pönitz <poenitz@gmx.net>
3988 * BufferView_pimpl.C:
3989 * BufferView.C: getParFromID related ParagraphList::iterator changes
3991 2003-04-28 André Pönitz <poenitz@gmx.net>
3993 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3996 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * messages.C: remove one more localedir class variable.
4000 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * messages.C (getLocaleDir): singleton generation function
4004 (Messages): add a default constructor.
4006 * main.C (main): do not setup localedir here, do not call
4009 * gettext.C (_): use it.
4010 (gettext_init): delete funciton
4012 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4014 * gettext.C (getLyXMessages): new singleton generating function.
4016 * buffer.C (updateDocLang): adjust
4018 * Makefile.am (messages.o): add target
4019 (main.o): remove target
4021 2003-04-27 John Levon <levon@movementarian.org>
4026 * lyxvc.C: specify cancel button in Alert::prompt
4028 2003-04-26 John Levon <levon@movementarian.org>
4033 * LyXAction.C: add LFUN_INSET_SETTINGS
4035 * lyxfunc.C: don't enable tabular-feature when there's
4036 just any locking inset
4038 2003-04-26 John Levon <levon@movementarian.org>
4040 * bufferlist.C: re-add Cancel to buffer close question
4042 * lyxfunc.C: fix import UI a bit
4044 2003-04-25 John Levon <levon@movementarian.org>
4046 * gettext.C: remove the broken asserts for now
4048 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * messages.C: make case where setlocale cannot comply work better.
4052 * buffer.C (updateDocLang): new function
4053 (changeLanguage): use it
4056 * text2.C (setCounter): use B_ a bit.
4058 * lyxlayout.C (Read): be sure to trim the label strings.
4060 * messages.C (Messages): fix typo in comment
4062 * buffer.C (readFile): set message_ after file is loaded.
4063 (makeDocBookFile): remove double return
4064 (changeLanguage): reset message_ upon language change.
4065 (B_): new func, use this to get translated buffer strings.
4067 * main.C: add myself and Jean Marc as authors.
4069 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * messages.[hC]: pimplify Messages, and three different pimpls to be
4072 used in different circumstances.
4074 * gettext.[Ch]: change for use with new message code.
4076 2003-04-24 André Pönitz <poenitz@gmx.net>
4078 * factory.C: support for eqref
4080 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * messages.[Ch]: add missing char
4084 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4086 * messages.[Ch]: New files
4088 2003-04-18 John Levon <levon@movementarian.org>
4092 * BufferView_pimpl.C:
4096 * text2.C: remove layout-copy/paste (bug 778)
4098 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4100 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4102 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4104 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4105 if they succeed. Act accordingly.
4107 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * text2.C (setCharFont): adjust
4110 (setCounter): adjust
4111 (insertStringAsLines): adjust
4113 * text.C (leftMargin): adjust
4114 (setHeightOfRow): adjust
4116 * rowpainter.C (paintFirst): adjust
4119 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4121 (isFirstInSequence): ditto
4122 (getEndLabel): ditto
4125 * paragraph.C (getParLanguage): comment out some hard stuff.
4127 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4129 (simpleDocBookOnePar): ditto
4130 (makeDocBookFile): use ParagraphList::iterator
4132 * CutAndPaste.C (pasteSelection): adjust
4134 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * text2.C (getFont): adjust
4137 (getLayoutFont): adjust
4138 (getLabelFont): adjust
4140 * paragraph_funcs.C (TeXOnePar): adjust
4142 * buffer.C (simpleLinuxDocOnePar): adjust
4143 (simpleDocBookOnePar): adjust
4145 * CutAndPaste.C (pasteSelection): adjust
4147 * BufferView.C (getEncoding): adjust
4149 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4151 2003-04-16 John Levon <levon@movementarian.org>
4153 * lyxfind.C: use parlist stuff for search/changes
4155 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4159 * text2.C (deleteEmptyParagraphMechanism): adjust
4161 * text2.[Ch] (ownerParagraph): delete func (both of them
4163 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4167 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * ParagraphList.C: prepare for NO_NEXT
4171 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * text2.C (getFont): adjust
4174 (getLayoutFont): adjust
4175 (getLabelFont): adjust
4177 * paragraph.C (getFont): adjust
4178 (getLabelFont): adjust
4179 (getLayoutFont): adjust
4181 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4183 2003-04-15 John Levon <levon@movementarian.org>
4187 * lyx_main.C: handle Include in .ui files
4189 2003-04-15 John Levon <levon@movementarian.org>
4191 * MenuBackend.C: make the doc files length shorter
4194 * ToolbarBackend.C: handle toolbar placement flags,
4197 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4202 * paragraph_funcs.C (TeXOnePar): adjust
4204 * paragraph.C (getLabelFont): add outerfont arg, adjust
4205 (getLayoutFont): ditto
4206 (simpleTeXOnePar): adjust
4208 * paragraph_pimpl.C (realizeFont): delete func
4210 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4212 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4213 row argument, constify cur argument.
4215 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * text2.C (getFont): adjust
4218 (getLayoutFont): adjust
4219 (getLabelFont): adjust
4221 * paragraph_funcs.C (TeXOnePar): adjust
4222 (outerFont): new func...
4223 (realizeFont): ...moved out from here, changed this to facilitate
4226 * paragraph.C (getFont): take outerfont as arg, adjust
4227 (simpleTeXOnePar): add outerfont arg, adjust
4229 * buffer.C (simpleLinuxDocOnePar): adjust
4230 (simpleDocBookOnePar): adjust
4232 * CutAndPaste.C (pasteSelection): adjust
4234 * BufferView.C (getEncoding): adjust
4236 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * text2.C (setCharFont): adjust
4239 (setCounter): adjust
4241 * text.C (leftMargin): adjust
4242 (setHeightOfRow): adjust
4244 * rowpainter.C (paintFirst): adjust
4247 * paragraph_pimpl.C (realizeFont): adjust
4249 * paragraph.C (isFirstInSequence): move from here...
4250 * paragraph_funcs.C (isFirstInSequence): ...to here
4252 * paragraph.C (outerHook): move from here...
4253 * paragraph_funcs.C (outerHook): ...to here
4255 * paragraph.C (depthHook): move from here...
4256 * paragraph_funcs.C (depthHook): ...to here
4258 * paragraph.C (getEndLabel): move from here...
4259 * paragraph_funcs.C (getEndLabel): ...to here
4261 * text2.C (realizeFont): move from here...
4262 * paragraph_funcs.C (realizeFont): ...to here
4264 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4268 2003-04-14 Angus Leeming <leeming@lyx.org>
4270 * LColor.[Ch]: scrap LColor mathcursor.
4272 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * lyxlex.[Ch] (text): delete function
4275 * trans.C (Load): adjust
4276 * paragraph_funcs.C (readParToken): adjust
4278 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4281 vector<char> instead of a char[].
4283 * lyxlex_pimpl.C (getString): adjust
4285 (lex): use getString
4289 * lyxlex.C (text): use pimpl_->getString()
4293 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4296 (makeFontEntriesLayoutSpecific): temp var for par.size()
4297 (setLayout): temp var for ownerParagraphs().end()
4298 (fullRebreak): temp var for rows().end()
4299 (selectionAsString): temp var for boost::next(startpit), realize
4300 that the while really is a regular for loop.
4301 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4302 setCursor in one place.
4303 (setParagraph): temp vr for ownerParagraphs().end()
4304 (updateCounters): make the while loop a for loop
4305 (cutSelection): temp var for ownerParagraphs().end()
4306 (updateInset): make the do {} while() a regular for loop
4307 (getCursorX): use temp vars
4308 (setCurrentFont): use temp vars
4309 (getColumnNearX): use temp vars
4311 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4313 * text.C (transformChar): use temp var for getChar
4314 (computeBidiTables): use temp var for row->par()
4315 (fill): move temp vars for row->par() and pit->layout() earlier in
4317 (labelFill): use temp var for row->par()
4318 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4319 asc and desc, realize that pit never changes and that firstpit is
4320 just a duplicate and not needed. Exchange rit->par() with pit in a
4322 (breakAgain): use a temp var for boost::next(rit)
4323 (breakAgainOneRow): ditto
4324 (breakParagraph): use a temp var for rows().begin()
4325 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4326 (cursorRightOneWord): use temp var for cursor.par() and
4327 cursor.pos(), remove usage of tmpcursor.
4328 (cursorLeftOneWord): use temp var for cursor.par() and
4329 cursor.pos() only set cur at end of function.
4331 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * text.C, text2.C: exchange all usage of Paragraph::next with
4334 boost::next(ParagraphList::iterator)
4336 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4338 * text2.C (cursorTop): simplify implementation
4339 (cursorBottom): ditto
4340 (setParagraph): use ParagraphList::iterator
4341 (setCurrentFont): adjust
4342 (getColumnNearX): adjust
4343 (cursorRight): adjust
4344 (cursorLeft): remove usage of Paragraph::previous
4345 (cursorUpParagraph): ditto
4346 (deleteEmptyParagraphMechanism): slight cleanup
4348 * text.C (isBoundary): take a Paragraph const & instead of a
4350 (addressBreakPoint): ditto
4351 (leftMargin): remove usage of Paragraph::previous.
4352 (setHeightOfRow): ditto
4353 (cursorLeftOneWord): ditto
4354 (selectNextWordToSpellcheck): ditto
4357 (breakParagraph): remove one usage of Paragraph::next
4358 (redoParagraph): ditto
4359 (acceptChange): ditto
4360 (insertChar): adjust
4361 (rowBreakPoint): adjust
4363 * bufferview_funcs.C (toggleAndShow): adjust
4365 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4367 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4368 methods to access it.
4370 * text.C: Added updateRowPositions to compute all row positions.
4371 Make top_y and getRowNearY() to use the cached y position
4373 2003-04-11 John Levon <levon@movementarian.org>
4375 * text.C (rowBreakPoint): reintroduce the labelEnd
4376 checks, code copied from the row fill stuff. Deep voodoo.
4378 * text.C (fill): add a comment and debugging for the
4381 2003-04-11 John Levon <levon@movementarian.org>
4383 * text.C: make sure fullrow insets get wrapped to the next line,
4384 even when they're in a manual label
4386 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * text2.C (insertParagraph): make it take ParagraphList::iterator
4390 (setLayout): make it return ParagraphList::iterator
4391 (redoParagraphs): ditto
4393 (checkParagraph): ditto
4395 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4397 * text2.C: adjust several funcs.
4398 (realizeFont): take a ParagraphList::iterator as arg.
4399 (getLayoutFont): ditto
4400 (getLabelFont): ditto
4401 (setCharFont): ditto
4403 * text.C: adjust several funcs.
4405 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4407 * text.C (selectNextWordToSpellcheck): don't accidentally
4410 2003-04-10 John Levon <levon@movementarian.org>
4412 * ToolbarBackend.C (getIcon): special handling for
4415 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4417 * text2.C (cursorRight): a getChar assert fixed
4419 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * text2.C (getFont): change to take a ParagraphList::iterator
4422 instead of Paragraph*
4423 Adjust several functions.
4425 * text.C (transformChar): change to take a ParagraphList::iterator
4426 instead of Paragraph*
4427 (singleWidth): ditto
4428 Adjust several functions.
4430 * rowpainter.C: adjust several functions
4431 * rowpainter.h:store a ParagraphList::iterator and not a
4435 2003-04-09 John Levon <levon@movementarian.org>
4440 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4441 and the "help" bits as well
4443 2003-04-09 John Levon <levon@movementarian.org>
4446 * ToolbarBackend.C: allow multiple toolbars
4448 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * undo_funcs.C (setCursorParUndo): adjust
4452 * text_funcs.C (transposeChars): adjust
4454 * text3.C (gotoNextInset): adjust
4457 * text2.C (setLayout): adjust
4458 (changeDepth): adjust
4460 (redoParagraphs): adjust
4461 (selectionAsString): adjust
4462 (setParagraph): adjust
4463 (insertInset): adjust
4464 (cutSelection): adjust
4465 (copySelection): adjust
4466 (pasteSelection): adjust
4467 (insertStringAsLines): adjust
4468 (updateInset): adjust
4469 (setCursor): change to take a ParagraphList::iterator parameter
4470 (setCursorIntern): change to take a ParagraphList::iterator parameter
4471 (setCurrentFont): adjust
4472 (cursorLeft): adjust
4473 (cursorRight): adjust
4474 (deleteEmptyParagraphMechanism): adjust
4476 * text.C (breakParagraph): adjust
4477 (insertChar): adjust
4478 (acceptChange): adjust
4479 (rejectChange): adjust
4480 (selectNextWordToSpellcheck): adjust
4481 (changeCase): adjust
4485 * lyxfind.C (SearchForward): adjust
4486 (SearchBackward): adjust
4487 (nextChange): adjust
4489 * lyxcursor.C (par): adjust
4491 * lyxcursor.h: store a ParagraphList::iterator instead of a
4494 * lyx_cb.C (getPossibleLabel): adjust
4496 * bufferview_funcs.C (toggleAndShow): adjust
4498 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4501 * BufferView.C (removeAutoInsets): adjust
4502 (lockedInsetStoreUndo): adjust
4504 2003-04-09 John Levon <levon@movementarian.org>
4506 * ToolbarBackend.C: try icon without argument
4507 if with argument fails
4509 2003-04-08 John Levon <levon@movementarian.org>
4512 * ToolbarBackend.C: add getIcon(), handle tooltip,
4513 and change from "Icon" to "Item".
4515 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4517 * BufferView.C (lockInset): another bad getchar crunched
4519 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4521 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4524 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4526 * lyxfind.C (searchForward, searchBackwards): bug 782
4528 2003-04-07 John Levon <levon@movementarian.org>
4530 * paragraph.C: remove dead comment
4532 * text.C: remove troublesome depth-fiddling code
4533 in leftMargin() and rightMargin() (bug 1017)
4535 * text.C: fix breaking of rows in nested lists
4538 * text2.C (updateCounters): fix up depth values
4541 2003-04-07 John Levon <levon@movementarian.org>
4543 * BufferView_pimpl.C: clear message when doc finishes resizing,
4544 and after a mouse event
4546 * lyxfunc.C: clear message after exiting inset
4548 2003-04-07 John Levon <levon@movementarian.org>
4550 * bufferview_funcs.C: show math status not outside
4551 status in the statusbar
4553 2003-04-07 John Levon <levon@movementarian.org>
4555 * lyxfunc.C: note status changed after a depth change
4557 2003-04-04 Angus Leeming <leeming@lyx.org>
4559 * LaTeX.h: move AuxInfo operator==, != out of line.
4560 Remove LaTeX virtual destructor; nothing derives from it.
4561 Move operator()() out of public area and rename it startscript().
4562 Change protected for private.
4564 2003-04-04 Angus Leeming <leeming@lyx.org>
4567 * text2.C: remove unneeded #includes.
4569 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4571 * text2.C (dEPM): fix the heigth of the next row
4573 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4575 * text.C: squashed an invalid getChar requester + some ws changes
4577 2003-04-03 John Levon <levon@movementarian.org>
4579 * bufferview_funcs.h:
4580 * bufferview_funcs.C:
4583 * text2.C: make getStatus work for the env depth lfuns
4585 2003-04-03 John Levon <levon@movementarian.org>
4587 * bufferview_funcs.h:
4588 * bufferview_funcs.C:
4591 * text2.C: parlistize decDepth(), by merging it with incDepth()
4593 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * lyxrow.h: store a ParagraphList::iterator instead of a
4596 Paragraph* and adjust other class functions to suit.
4598 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4601 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4603 * text2.C (setCursor): do not anchor to cursor row for the time being
4605 2003-04-02 John Levon <levon@movementarian.org>
4612 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4614 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * paragraph.h: make ParagraphList and ParagraphList::iterator
4617 friends of Paragraph.
4619 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4621 * ParagraphList.C: Use the private next_ and previous_ from
4624 2003-04-01 John Levon <levon@movementarian.org>
4628 * Makefile.am: rename, remove defaults gunk
4631 * MenuBackend.C: remove defaults gunk
4634 * Languages.C: remove defaults gunk
4637 * lyx_main.C: error out if files couldn't be found.
4639 2003-04-02 John Levon <levon@movementarian.org>
4641 * text2.C: make incDepth() use parlist
4643 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4645 * undo_funcs.C (firstUndoParagraph): adjust
4647 * text3.C (gotoInset): adjust
4648 (dispatch): adjust, and rewrite loop.
4650 * text2.C (init): adjust, and rewrite loop.
4651 (redoParagraphs): adjust
4652 (updateInset): adjust, and rewrite loop.
4653 (deleteEmptyParagraphMechanism): adjust
4655 * tabular.C (LyXTabular): adjust
4656 (SetMultiColumn): adjust
4659 * lyxtext.[Ch] (ownerParagraph): delete function
4660 (ownerParagraphs): new function returns a ParagraphList.
4662 * BufferView.C (removeAutoInsets): adjust
4663 (insertErrors): adjust
4664 (setCursorFromRow): adjust
4666 2003-04-01 Angus Leeming <leeming@lyx.org>
4668 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4671 2003-04-02 John Levon <levon@movementarian.org>
4677 * text_funcs.C: make transposeChars a free function
4679 * lyxrow_funcs.C: remove wrong comment
4681 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * rowpainter.C: adjust
4689 * lyxrow_funcs. [Ch]: new files
4691 * lyxrow.[Ch]: remove next and previous pointers
4692 (next,previous): remove accessor functions
4693 (isParEnd): move to lyxrow_funcs
4694 (lastPos): move to lyxrow_funcs
4695 (nextRowIsAllInset): move to lyxrow_funcs
4696 (lastPrintablePos): move to lyxrow_funcs
4697 (numberOfSeparators): move to lyxrow_funcs
4698 (numberOfHfills): move to lyxrow_funcs
4699 (numberOfLabelHfills): move to lyxrow_funcs
4700 (hfillExpansion): move to lyxrow_funcs
4704 * bufferview_funcs.C (toggleAndShow): adjust
4706 * RowList.h: Remove class RowList from file leave just a
4709 * RowList.C: delete file
4711 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4714 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * text3.C (cursorPrevious): adjust
4717 (cursorNext): adjust
4720 * text2.C (redoHeightOfParagraph): adjust
4721 (redoDrawingOfParagraph): adjust
4724 * text.C (breakParagraph): adjust
4725 (insertChar): adjust
4728 * rowpainter.C (RowPainter): adjust
4729 (leftMargin): simplify and adjust
4730 (most rowpainter functions): adjust.
4732 * rowpainter.h: store the row as RowList::iterator not as Row*
4734 * lyxcursor.C (row): taka RowList::iterator as arg
4737 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4740 2003-04-01 Angus Leeming <leeming@lyx.org>
4742 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4743 stuff like bool Bool.
4745 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4747 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4750 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4755 * lyxtext.h (rows): drop one version and leve a const variant that
4756 returns a RowList::iterator.
4758 2003-03-31 Angus Leeming <leeming@lyx.org>
4760 * text.C (fill): ensure that the signature is the same as that in the
4763 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4765 * text2.C (redoParagraphs): adjust
4766 (updateCounters): adjust
4767 (checkParagraph): adjust
4768 (getColumnNearX): adjust and reformat a bit.
4770 * text.C (top_y): adjust
4772 (leftMargin): adjust
4773 (prepareToPrint): adjust
4775 (getRowNearY): adjust
4777 * lyxtext.h: make rowlist_ mutable.
4779 * RowList.h: add const_iterator
4780 * RowList.C: adjust for RowList::const_iterator.
4782 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4785 2003-03-31 John Levon <levon@movementarian.org>
4788 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4790 * lyx_main.C: set default fonts from using lyx_gui funcs
4792 * exporter.C: pdf_mode moved from lyxrc
4795 * lyxfunc.C: changes from above
4797 2003-03-31 John Levon <levon@movementarian.org>
4799 * lyx_main.C: fix to the last fix
4801 2003-03-31 John Levon <levon@movementarian.org>
4803 * bufferlist.C: "Load original" -> "Load Original"
4809 * format.C: more Alert cleanups
4811 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * text2.C (removeParagraph): make it take a RowList::iterator as
4815 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4816 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4818 * text.C (anchor_row): make it take a RowList::iterator as arg,
4820 (computeBidiTables): make it take a const reference to Row instead
4821 of Row pointer, adjust.
4822 (leftMargin): make it take a RowList::iterator as arg, adjust.
4823 (rowBreakPoint): adjust
4824 (breakAgainOneRow): make it take a RowList::iterator as arg,
4826 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4828 * bufferview_funcs.C (toggleAndShow): adjust
4830 2003-03-30 John Levon <levon@movementarian.org>
4834 * boost-inst.C: moved to support
4836 * several files: changes as a result
4838 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * text2.C (LyXText): adjust.
4842 (removeRow): make it take a RowList::iterator as arg, adjust.
4843 (fullRebreak): adjust
4844 (deleteEmptyParagraphMechanism): adjust
4845 (clearPaint): adjust
4848 * text.C (top_y): adjust
4849 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4850 (breakAgain): make it take a RowList::iterator as arg, adjust.
4851 (breakParagraph): adjust
4852 (insertChar): adjust
4855 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4856 need_break_row, and refresh_row.
4858 * text3.C (dispatch): adjust
4860 * text2.C (checkParagraph): adjust
4862 (setCursorFromCoordinates): adjust
4864 * text.C (top_y): adjust
4866 (getRow): make it return a RowList::iterator, adjust
4867 (getRowNearY): make it return a RowList::iterator, adjust
4869 * text2.C (init): adjust
4870 (insertRow): remove function
4871 (insertParagraph): adjust
4872 (redoParagraphs): adjust
4873 (fullRebreak): adjust
4874 (updateCounters): adjust
4876 * text.C (top_y): rewrite to use RowList iterators.
4878 (setHeightOfRow): rewrite to sue RowList iterators.
4879 (appendParagraph): adjust
4880 (breakAgain): adjust
4881 (breakAgainOneRow): adjust
4882 (breakParagraph): adjust
4884 (getRowNearY): adjust, and remove commented code.
4886 * lyxtext.h (firstRow): delete function
4887 (lastRow): delete function
4888 (rows): new function (const and non-const versions.)
4889 (insertRow): delete function
4891 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4893 2003-03-29 John Levon <levon@movementarian.org>
4895 * BufferView_pimpl.C: always update scrollbar top
4896 because pasting text when we're anchored could mean we
4897 miss an update altogether
4899 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * text2.C (init): use rowlist_.end() and not 0.
4902 (insertRow): change to take a RowList::iterator as arg, adjust
4904 (insertParagraph): change to take a RowList::iterator as arg,
4906 (redoParagraphs): remove some debug msgs.
4908 * text.C (appendParagraph): change to take a RowList::iterator
4909 arg, adjust for this.
4910 (breakAgain): add an assert
4911 (breakAgainOneRow): ditto
4913 2003-03-29 John Levon <levon@movementarian.org>
4915 * text2.C: do not clear selection after inc/decDepth
4918 2003-03-29 John Levon <levon@movementarian.org>
4921 * buffer.C: fix broken strerrors according to Lars
4923 2003-03-29 John Levon <levon@movementarian.org>
4925 * converters.C: more Alert cleanups
4927 2003-03-29 John Levon <levon@movementarian.org>
4929 * bufferview_funcs.C: remove pointless Alert
4931 * buffer.C: fix confusing error message when
4932 a template is chmoded 000
4934 2003-03-29 John Levon <levon@movementarian.org>
4938 * BufferView_pimpl.C: Alert fixes
4942 * tabular-old.C: remove unused table compat reading
4944 2003-03-29 John Levon <levon@movementarian.org>
4949 * lyx_cb.C: more Alert cleanups
4951 * lyxfunc.C: don't allow chktex if not latex document
4953 2003-03-29 John Levon <levon@movementarian.org>
4957 * buffer.C: warnings pushed down from support/,
4960 2003-03-29 John Levon <levon@movementarian.org>
4962 * lyxfunc.C: safety check for C-r (revert)
4964 2003-03-29 John Levon <levon@movementarian.org>
4967 * bufferlist.C: several UI fixes using Alert::prompt.
4968 Fix the pointless looping quit code. Fix stupid revert
4973 * lyx_cb.C: use Alert::prompt
4975 * lyx_main.C: remove a silly question
4977 * lyxfunc.C: remove a couple of silly questions,
4980 2003-03-28 John Levon <levon@movementarian.org>
4982 * text2.C: fix bug 974 (End on empty par)
4984 2003-03-28 John Levon <levon@movementarian.org>
4986 * BufferView_pimpl.C:
4988 * lfuns.h: remove do-nothing math greek lfuns
4990 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4992 * lyxgluelength.h (isValidGlueLength): add default arg on
4993 parameter 2. Remove default arg from friend in class.
4995 * lyxlength.h (isValidLength): add default arg on parameter 2.
4996 Remove default arg from friend in class.
4998 * text2.C (LyXText): adjust, initialize refresh_row.
5002 (insertParagraph): adjst
5003 (redoParagraphs): adjust
5004 (fullRebreak): adjust
5005 (updateCounters): adjust
5006 (deleteEmptyParagraphMechanism): first attempt at fixing a
5009 * text.C (top_y): adjust
5010 (setHeightOfRow): adjust
5012 (getRowNearY): adjust
5014 * lyxtext.h: include RowList.h
5015 (~LyXText): not needed anymore, deleted.
5016 (firstRow): modify for RowList
5017 (lastRow): new function
5018 Delete firstrow and lastrow class variables, add a Rowlist
5019 rowlist_ class variable.
5021 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5024 * RowList.C (insert): fix case where it == begin().
5026 2003-03-26 Angus Leeming <leeming@lyx.org>
5028 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5029 the thesaurus dialog.
5031 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5033 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5035 * RowList.[Ch]: new files
5037 * ParagraphList.C (erase): handle the case where it == begin
5040 2003-03-25 John Levon <levon@movementarian.org>
5044 * aspell.C: add new aspell support
5047 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5050 2003-03-25 Angus Leeming <leeming@lyx.org>
5053 * LyXAction.C (init): new LFUN_INSET_INSERT.
5055 * BufferView_pimpl.C (dispatch): split out part of the
5056 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5058 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5061 2003-03-25 Angus Leeming <leeming@lyx.org>
5063 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5065 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5068 * text3.C: remove useless row->height(0)
5070 2003-03-25 John Levon <levon@movementarian.org>
5074 * text3.C: rename the refreshing stuff to better names
5076 2003-03-24 John Levon <levon@movementarian.org>
5078 * BufferView_pimpl.h:
5079 * BufferView_pimpl.C: update layout choice on a mouse
5082 2003-03-23 John Levon <levon@movementarian.org>
5084 * Makefile.am: fix commandtags.h reference
5086 2003-03-22 John Levon <levon@movementarian.org>
5088 * BufferView_pimpl.C:
5093 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5095 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5098 * text.C: take the rtl methods out of line
5100 2003-03-21 André Pönitz <poenitz@gmx.net>
5102 * metricsinfo.[Ch]: new files containing structures to be passed around
5103 during the two-phase-drawing...
5105 2003-03-21 André Pönitz <poenitz@gmx.net>
5107 * lyxtextclass.C: read 'environment' tag.
5109 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5111 * text2.C (removeRow): fix bug 964
5113 2003-03-20 John Levon <levon@movementarian.org>
5117 * text2.C: paint cleanups. Inset::update() dropped font
5120 2003-03-19 John Levon <levon@movementarian.org>
5122 * lyxfunc.C: only fitcursor/markDirty if available()
5124 2003-03-19 John Levon <levon@movementarian.org>
5126 * commandtags.h: rename to ...
5128 * lfuns.h: ... this, and renumber / cleanup
5130 2003-03-19 John Levon <levon@movementarian.org>
5132 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5133 fit the cursor after an lfun
5137 * BufferView_pimpl.h:
5138 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5140 * LyXAction.C: layout-character should have ReadOnly
5142 * ParagraphParameters.C:
5144 * bufferview_funcs.C:
5151 * undo_funcs.C: changes from above
5153 2003-03-18 John Levon <levon@movementarian.org>
5155 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5156 remove it from update()
5158 * lyxfunc.C: update layout choice after an lfun
5160 * text3.C: remove extra updateLayoutChoice()s
5162 2003-03-18 John Levon <levon@movementarian.org>
5164 * text.C: top_y change means full repaint, fix
5165 a drawing bug with cursor movement
5167 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5171 * text2.C: anchor row on setCursor
5173 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5175 * lyxtext.h: remove almost all mutable keywords
5178 * text3.C: remove const keywords accordingly
5180 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5184 (TeXEnvironment): ditto
5187 2003-03-17 John Levon <levon@movementarian.org>
5189 * text.C (rowBreakPoint): remove attempt to fix displayed
5190 math insets inside a manual label
5192 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * lyxtext.h: remove BufferView* as first arg from almost all class
5196 * other files: adjust.
5198 2003-03-17 John Levon <levon@movementarian.org>
5202 * text2.C: more paint cleanups
5204 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5207 * rowpainter.C: remove "smart" background painting code
5209 2003-03-16 John Levon <levon@movementarian.org>
5214 * text3.C: add helper functions for setting refresh_row/y
5216 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5218 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5219 newline inset which *can* get inserted in the pass_thru layouts.
5220 This is primarily for literate documents.
5222 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5224 * buffer.C: increment LYX_FORMAT to 223
5226 2003-03-14 André Pönitz <poenitz@gmx.net>
5228 * textclass.h: prepare for environment handling, ws changes
5229 * lyxlayout.C: read latexheader and latexfooter tags
5231 2003-03-14 John Levon <levon@movementarian.org>
5233 * text2.C: rewrite ::status() a bit
5235 2003-03-13 John Levon <levon@movementarian.org>
5237 * lyxtext.h: add some docs
5239 2003-03-13 John Levon <levon@movementarian.org>
5244 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5246 2003-03-13 John Levon <levon@movementarian.org>
5248 * text3.C: fix appendix redrawing
5250 2003-03-13 John Levon <levon@movementarian.org>
5252 * text.C (setHeightOfRow):
5254 * rowpainter.C: make appendix mark have the text
5255 "Appendix" so the user knows what it is
5258 * LColor.C: s/appendixline/appendix/ from above
5260 2003-03-13 John Levon <levon@movementarian.org>
5262 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5264 * text.C: fix a getChar(pos) bug properly
5266 2003-03-13 Angus Leeming <leeming@lyx.org>
5269 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5270 Probably only temporary. Let's see how things pan out.
5272 * BufferView.C (unlockInset):
5273 * BufferView_pimpl.C (fitCursor):
5274 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5276 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5277 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5279 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5280 new functions that convert ParagraphParameters to and from a string.
5282 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5283 BufferView::Pimpl's dispatch.
5284 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5286 2003-03-13 André Pönitz <poenitz@gmx.net>
5290 * factory.C: make it aware of InsetEnv
5292 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5294 * text2.C (setCursor): never ask for one past last
5295 (setCursor): add some debugging messages.
5297 * text.C (singleWidth): never ask for one past last
5298 (singleWidth): ditto
5300 (rightMargin): ditto
5301 (rowBreakPoint): ditto
5302 (setHeightOfRow): ditto
5303 (prepareToPrint): ditto
5305 * rowpainter.C (paintBackground): never ask for one past last
5306 (paintText): never ask for one past last
5308 * paragraph_pimpl.C (getChar): make the assert stricter, never
5309 allow the one past last pos to be taken
5311 * paragraph.C (getChar): ws changes only
5313 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5314 (numberOfSeparators): ditto
5315 (numberOfHfills): ditto
5317 2003-03-12 John Levon <levon@movementarian.org>
5323 * paragraph_funcs.C: fix per-buffer authorlists
5325 2003-03-12 John Levon <levon@movementarian.org>
5327 * text.C: fix newline in right address
5329 2003-03-12 Angus Leeming <leeming@lyx.org>
5331 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5332 duplicate those in LyXFunc::dispatch.
5336 * ToolbarDefaults.C:
5337 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5338 Add LFUN_FONTFREE_UPDATE.
5340 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5341 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5343 * bufferview_func.[Ch]: several new functions to facilliate
5344 transfer of data to and from the character dialog.
5346 2003-03-12 John Levon <levon@movementarian.org>
5351 * paragraph_funcs.C:
5352 * paragraph_pimpl.C:
5356 * text3.C: remove META_NEWLINE in favour of an inset
5359 * rowpainter.C: remove paintNewline (done by inset)
5361 2003-03-12 John Levon <levon@movementarian.org>
5363 * paragraph_pimpl.C: complain about bad getChar()s
5364 for a while at least
5366 2003-03-12 John Levon <levon@movementarian.org>
5369 * buffer.C: move paragraph read into a separate function,
5370 a little renaming to reflect that.
5373 * bufferparams.C: remove the author_ids map, not necessary now
5376 * factory.C: moved Buffer::readInset to here
5378 * paragraph_funcs.h:
5379 * paragraph_funcs.C: readParagraph free function moved from
5382 * tabular.C: name change
5384 2003-03-12 John Levon <levon@movementarian.org>
5387 * ParagraphParameters.C: move par params input to
5390 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5391 behave like a normal read from the stream wrt reading
5392 a line vs. a \\token
5394 2003-03-12 John Levon <levon@movementarian.org>
5397 * ParagraphParameters.h:
5398 * ParagraphParameters.C: move output code to a
5401 2003-03-12 John Levon <levon@movementarian.org>
5403 * BufferView.C (insertLyXFile):
5406 * tabular.C: use a parlist iterator for creating the
5409 2003-03-12 John Levon <levon@movementarian.org>
5411 * buffer.C: make current_change static local not
5414 2003-03-12 John Levon <levon@movementarian.org>
5416 * buffer.C: fix insertStringAsLines for change tracking
5418 2003-03-12 John Levon <levon@movementarian.org>
5425 * bufferparams.C: move author list into params. Rename some
5426 functions. Move the header reading into a separate token
5427 loop. Move the header token reading into BufferParams.
5429 2003-03-12 John Levon <levon@movementarian.org>
5431 * changes.C: put debug inside lyxerr.debugging() checks
5433 2003-03-11 André Pönitz <poenitz@gmx.net>
5435 * factory.C: make it aware of InsetHFill
5437 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5439 * buffer.C (latexParagraphs): move function from here...
5440 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5443 2003-03-10 Angus Leeming <leeming@lyx.org>
5445 * LyXAction.C (init): fix bug in poplating array with multiple entries
5446 with the same LFUN (spotted by JMarc).
5448 2003-03-10 John Levon <levon@movementarian.org>
5451 * text2.C: move getColumnNearX() near its
5454 2003-03-10 John Levon <levon@movementarian.org>
5456 * text.C: fix break before a minipage
5458 2003-03-10 John Levon <levon@movementarian.org>
5460 * text.C: fix the last commit
5462 2003-03-09 John Levon <levon@movementarian.org>
5466 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5467 bug 365 (don't break before insets unless needed). Don't
5468 return a value > last under any circumstances.
5470 2003-03-09 Angus Leeming <leeming@lyx.org>
5472 * BufferView_pimpl.C (trackChanges, dispatch): call
5473 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5475 2003-03-09 Angus Leeming <leeming@lyx.org>
5477 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5478 than Dialogs::showAboutlyx().
5480 2003-03-09 Angus Leeming <leeming@lyx.org>
5482 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5483 than Dialogs::showTabularCreate().
5485 2003-03-09 John Levon <levon@movementarian.org>
5489 * text2.C: 3rd arg to nextBreakPoint was always the same.
5492 2003-03-08 John Levon <levon@movementarian.org>
5499 * text2.C: Remove the "main" bit from the "main body"
5502 2003-03-08 John Levon <levon@movementarian.org>
5504 * text.C (leftMargin): The left margin of an empty
5505 manual label paragraph should not include the label width
5508 * text.C (prepareToPrint): don't attempt to measure hfills
5509 for empty manual label paragraphs - the answer should be 0
5511 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * CutAndPaste.C: remove commented code and reindent.
5515 2003-03-08 John Levon <levon@movementarian.org>
5518 * lyxfunc.C: move reloadBuffer()
5521 * BufferView.C: to here
5523 * lyxvc.C: add comment
5526 * vc-backend.C: call bv->reload() to avoid
5527 getStatus() check on MENURELOAD
5529 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5531 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5532 to an old format .dep file.
5534 2003-03-07 Angus Leeming <leeming@lyx.org>
5536 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5537 when the LFUN_MOUSE_RELEASE should have been handled by
5538 inset->localDispatch.
5540 2003-03-07 Angus Leeming <leeming@lyx.org>
5542 * BufferView_pimpl.C (dispatch):
5543 * LyXAction.C (init):
5544 * ToolbarDefaults.C (init):
5546 * lyxfunc.C (getStatus):
5547 remove LFUN_INSET_GRAPHICS.
5549 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5551 2003-03-07 Angus Leeming <leeming@lyx.org>
5554 * LyXAction.C (init):
5555 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5557 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5560 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5562 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5563 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5565 2003-03-07 Angus Leeming <leeming@lyx.org>
5567 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5570 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * ParagraphList.C (front): new function
5575 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5577 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5578 and top_row_offset_. removed var first_y.
5580 * text2.C (LyXText, removeRow):
5582 * BufferView_pimpl.C:
5583 use these methods instead of using first_y
5585 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * text2.C (pasteSelection): adjust for checkPastePossible
5589 * CutAndPaste.C: remove Paragraph * buf and replace with
5590 ParagraphList paragraphs.
5591 (DeleteBuffer): delete
5592 (cutSelection): change the tc type to textclass_type
5593 (copySelection): change the tc type to textclass_type
5594 (copySelection): adjust for ParagraphList
5595 (pasteSelection): change the tc type to textclass_type
5596 (pasteSelection): adjust for Paragraphlist
5597 (nrOfParagraphs): simplify for ParagraphList
5598 (checkPastePossible): simplify for ParagraphList
5599 (checkPastePossible): remove unused arg
5601 * ParagraphList.C (insert): handle the case where there are no
5604 * CutAndPaste.h: make CutAndPaste a namespace.
5606 * text3.C (dispatch): adjust
5608 * text.C (breakParagraph): add a ParagraphList as arg
5610 * paragraph_funcs.C (breakParagraph): change to take a
5611 BufferParams and a ParagraphList as args.
5612 (breakParagraphConservative): ditto
5613 (mergeParagraph): ditto
5614 (TeXDeeper): add a ParagraphList arg
5615 (TeXEnvironment): ditto
5618 * buffer.C (readLyXformat2): adjust
5619 (insertStringAsLines): adjust
5620 (latexParagraphs): adjust
5622 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5623 (cutSelection): adjust
5624 (pasteSelection): adjust
5626 * BufferView_pimpl.C (insertInset): adjust
5628 2003-03-05 Angus Leeming <leeming@lyx.org>
5631 * LyXAction.C (init):
5632 * BufferView_pimpl.C (dispatch):
5633 * lyxfunc.C (getStatus):
5634 remove LFUN_CHILD_INSERT.
5636 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5638 2003-03-05 Angus Leeming <leeming@lyx.org>
5641 * LyXAction.C (init):
5642 * src/factory.C (createInset):
5643 * lyxfunc.C (getStatus):
5644 * text3.C (dispatch):
5645 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5647 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5649 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * ParagraphList.C (insert): handle insert right before end()
5652 (erase): fix cases where it can be first or last paragraph.
5654 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5657 Paragraph::next and Paragraph::previous
5660 * text.C (breakParagraph): adjust
5662 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5663 BufferParams& as arg.
5664 (breakParagraph): use ParagraphList::insert
5665 (breakParagraphConservative): take a Buffer* instead of a
5666 BufferParams& as arg.
5667 (breakParagraphConservative): use ParagraphList::insert.
5669 * buffer.C (insertStringAsLines): un-const it
5670 (insertStringAsLines): adjust
5672 * ParagraphList.C (insert): new function
5674 * CutAndPaste.C (pasteSelection): adjust
5676 * text.C (backspace): adjust
5678 * tabular.C (SetMultiColumn): adjust
5680 * CutAndPaste.C (cutSelection): adjust
5681 (pasteSelection): adjust
5683 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5684 Buffer const * as arg
5686 * ParagraphList.C (erase): new function
5687 * paragraph_funcs.C (mergeParagraph): use it
5688 (mergeParagraph): make it take a Buffer* instead of a
5689 BufferParams* as arg
5691 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5693 (breakParagraphConservative): ditto
5695 * paragraph.h: remove the breakParagraph friend
5697 * paragraph.C (eraseIntern): new function
5698 (setChange): new function
5700 * paragraph_funcs.C (mergeParagraph): make it take a
5701 ParagraphList::iterator instead of a Paragraph *, adjust
5704 * paragraph.h: move an #endif so that the change tracking stuff
5705 also works in the NO_NEXT case.
5707 2003-03-04 Angus Leeming <leeming@lyx.org>
5710 * LyXAction.C: new LFUN_INSET_MODIFY.
5712 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5713 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5715 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5717 * several files: ws changes only
5719 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5720 (TeXEnvironment): ditto
5723 * buffer.C (makeLaTeXFile): adjust
5724 (latexParagraphs): make it take ParagraphList::iterator as args
5726 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * buffer.C (latexParagraphs): adjust
5730 * paragraph.C (TeXOnePar): move function...
5731 (optArgInset): move function...
5732 (TeXEnvironment): move function...
5733 * paragraph_pimpl.C (TeXDeeper): move function...
5734 * paragraph_funcs.C: ...here
5736 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5738 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * buffer.C (readInset): remove compability code for old Figure and
5743 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5745 * buffer.C: ws changes
5748 * BufferView_pimpl.C: ditto
5751 * bufferlist.h: ditto
5755 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5757 * converter.[Ch]: split into itself +
5760 * Makefile.am: += graph.[Ch] + format.[Ch]
5767 * lyxrc.C: added #include "format.h"
5769 2003-02-27 Angus Leeming <leeming@lyx.org>
5771 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5774 * factory.C (createInset): add "label" to the factory.
5776 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5777 string and do no more.
5779 2003-02-27 Angus Leeming <leeming@lyx.org>
5782 * LyXAction.C (init):
5783 * factory.C (createInset):
5784 * BufferView_pimpl.C (dispatch):
5785 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5787 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5789 * lyxfunc.C (dispatch):
5790 * text3.C (dispatch): pass name to params2string.
5792 2003-02-26 Angus Leeming <leeming@lyx.org>
5794 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5796 Rearrange the ~includes. Strip out the unnecessary ones.
5798 * factory.C (createInset): reformat.
5799 create new insets for the various LFUN_XYZ_APPLY lfuns.
5801 2003-02-26 John Levon <levon@movementarian.org>
5804 * lyxrow.C: add isParStart,isParEnd helpers
5806 * paragraph.h: make isInserted/DeletedText take refs
5808 * paragraph_funcs.h:
5809 * paragraph_funcs.C: remove #if 0'd code
5814 * text.C: use lyxrow helpers above.
5815 Move draw and paint routines to RowPainter.
5816 Make several methods use refs not pointers.
5817 Make backgroundColor() const.
5818 Add markChangeInDraw(), isInInset().
5819 Merge changeRegionCase into changeCase.
5820 Make workWidth() shouldn't-happen code into an Assert.
5823 * rowpainter.C: new class for painting a row.
5826 * vspace.C: make inPixels take a ref
5828 2003-02-26 Angus Leeming <leeming@lyx.org>
5830 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5833 2003-02-25 John Levon <levon@movementarian.org>
5835 * ispell.C: give the forked command a more accurate name
5837 2003-02-22 John Levon <levon@movementarian.org>
5840 * toc.C: make TocItem store an id not a Paragraph *
5843 2003-02-21 Angus Leeming <leeming@lyx.org>
5845 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5846 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5847 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5848 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5849 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5850 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5852 * BufferView_pimpl.C (dispatch):
5853 * LyXAction.C (init):
5854 * factory.C (createInset):
5855 * lyxfunc.C (getStatus, dispatch):
5856 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5858 2003-02-21 Angus Leeming <leeming@lyx.org>
5860 * BufferView_pimpl.C (MenuInsertLyXFile):
5861 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5862 * lyxfunc.C (menuNew, open, doImport):
5863 no longer pass a LyXView & to fileDlg.
5865 2003-02-21 Angus Leeming <leeming@lyx.org>
5867 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5868 * LyXAction.C: change, BIBKEY to BIBITEM.
5869 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5870 Change InsetBibKey to InsetBibitem.
5871 Change BIBKEY_CODE to BIBITEM_CODE.
5872 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5873 * factory.C: replace insetbib.h with insetbibitem.h.
5874 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5875 * paragraph.C: replace insetbib.h with insetbibitem.h.
5876 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5877 Change bibkey() to bibitem().
5878 * text.C: remove insetbib.h.
5879 * text2.C: replace insetbib.h with insetbibitem.h.
5880 change bibkey() to bibitem().
5881 * text3.C: remove insetbib.h.
5882 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5884 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5886 * lyxrc.C (output): enclose user email in quotes (in case there are
5889 2003-02-18 John Levon <levon@movementarian.org>
5891 * buffer.h: add std::
5893 2003-02-17 John Levon <levon@movementarian.org>
5899 * pspell.C: reworking. Especially in ispell, a large
5900 number of clean ups and bug fixes.
5902 * lyxfunc.C: fix revert to behave sensibly
5904 2003-02-17 André Pönitz <poenitz@gmx.net>
5907 * commandtags.h: new LFUN_INSERT_BIBKEY
5917 * paragraph_func.C: remove special bibkey handling
5919 2003-02-17 John Levon <levon@movementarian.org>
5921 * text.C (Delete): fix case where delete at the end of
5922 the very first paragraph would not merge the pars
5924 2003-02-17 John Levon <levon@movementarian.org>
5926 * lyxrow.C: fix lastPrintablePos()
5928 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5930 * bufferparams.C (writeLaTeX): add a std:here
5932 * buffer.C: and remove a using directive there
5934 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5936 * buffer.C (makeLaTeXFile): move the code that generates the
5939 * bufferparams.C (writeLaTeX): ... in this new method
5941 * LaTeXFeatures.C (getEncodingSet): make const
5942 (getLanguages): make const
5944 * MenuBackend.C (binding): returns the binding associated to this
5946 (add): sets the status of each item by calling getStatus. Adds
5948 (read): add support for OptSubMenu
5949 (expand): remove extra separator at the end of expanded menu
5951 2003-02-15 John Levon <levon@movementarian.org>
5954 * BufferView_pimpl.C:
5956 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5957 inset code that had no actual effect. Remove unneeded status
5960 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5962 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5965 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5967 * text.C (drawLengthMarker): also draw an arrow marker for
5968 symbolic lengths (medskip...)
5970 2003-02-14 John Levon <levon@movementarian.org>
5973 * tabular.C: better method names
5975 2003-02-14 John Levon <levon@movementarian.org>
5977 * BufferView_pimpl.C:
5982 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5983 it's a more accurate name. Remove some pointless uses.
5985 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5987 * text2.C (LyXText): change order of initilizers to shut off
5990 2003-02-14 John Levon <levon@movementarian.org>
5992 * buffer.C: use ParIterator for getParFromID()
5996 * paragraph_pimpl.h:
5997 * paragraph_pimpl.C: remove unused getParFromID()
5999 2003-02-14 John Levon <levon@movementarian.org>
6001 * buffer.C: remove some very old #if 0'd parse code
6003 2003-02-13 John Levon <levon@movementarian.org>
6007 * text2.C: move hfillExpansion(), numberOfSeparators(),
6008 rowLast(), rowLastPrintable(), numberofHfills(),
6009 numberOfLabelHfills() ...
6012 * lyxrow.C: ... to member functions here.
6017 * text.C: remove LyXText::beginningOfMainBody(), and call
6018 p->beginningOfMainBody() directly. Move the check for
6019 LABEL_MANUAL into the latter.
6026 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6032 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6033 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6035 2003-02-13 John Levon <levon@movementarian.org>
6037 * CutAndPaste.C: remove debug
6039 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6041 * paragraph.C (asString): remove two unused variables
6043 * lyxtextclass.C (readTitleType):
6045 (LyXTextClass): handle new members titletype_ and titlename_
6047 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6049 2003-02-09 John Levon <levon@movementarian.org>
6052 * buffer.C: replace hand-coded list with a map for the dep clean
6054 2003-02-08 John Levon <levon@movementarian.org>
6056 * LaTeX.C: consolidate code into showRunMessage() helper
6058 2003-02-08 John Levon <levon@movementarian.org>
6063 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6064 and pass the size in explicitly
6066 * BufferView_pimpl.h:
6067 * BufferView_pimpl.C:
6069 * BufferView.C: add getCurrentChange()
6071 * BufferView_pimpl.h:
6072 * BufferView_pimpl.C: handle change lfuns
6074 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6075 for changes. Mark pasted paragraphs as new.
6077 * support/lyxtime.h:
6078 * support/lyxtime.C:
6079 * DepTable.C: abstract time_t as lyx::time_type
6082 * LColor.C: add colours for new text, deleted text, changebars
6084 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6085 package use "usenames" option.
6089 * LyXAction.C: add change lfuns
6093 * author.C: author handling
6096 * buffer.C: add a per-buffer author list, with first entry as
6097 current author. Handle new .lyx tokens for change tracking. Output
6098 author list to .lyx file. Output dvipost stuff to .tex preamble.
6099 Bump lyx format to 222.
6102 * bufferlist.C: add setCurrentAuthor() to reset current author details
6106 * bufferparams.C: add param for tracking
6108 * bufferview_funcs.C: output change info in minibuffer
6112 * changes.C: add change-tracking structure
6115 * debug.C: add CHANGES debug flag
6118 * lyxfind.C: add code for finding the next change piece
6121 * lyxrc.C: add user_name and user_email
6124 * lyxrow.C: add a metric for the top of the text line
6127 * text.C: implement accept/rejectChange()
6130 * text.C: paint changebars. Paint new/deleted text in the chosen
6131 colours. Strike through deleted text.
6135 * paragraph_pimpl.h:
6136 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6137 in the current change to the insert functions. Rework erase to
6138 mark text as deleted, adding an eraseIntern() and a range-based
6139 erase(). Implement per-paragraph change lookup and
6142 * paragraph_funcs.C: Fixup paste for change tracking.
6144 * tabular.C: mark added row/columns as new.
6146 * text.C: fix rowLast() to never return -1. Don't allow
6147 spellchecking of deleted text. Track transpose changes. Don't
6148 allow paragraph break or merge where appropriate.
6150 * text2.C: leave cursor at end of selection after a cut.
6152 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6154 * text.C (getLengthMarkerHeight):
6155 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6156 visible on screen too.
6158 2003-02-07 John Levon <levon@movementarian.org>
6160 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6162 2003-02-05 Angus Leeming <leeming@lyx.org>
6164 * lyxserver.C (read_ready): revert my patch of 11 September last year
6165 as it sends PC cpu through the roof. Presumably this means that
6166 the lyxserver will no longer run on an Alpha...
6168 2003-01-30 Angus Leeming <leeming@lyx.org>
6170 * factory.C (createInset): create an InsetCommandParam of type "index"
6171 and use it to 'do the right thing'.
6173 * text2.C (getStringToIndex): ensure that cursor position is always
6174 reset to the reset_cursor position.
6176 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6178 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6181 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6185 * lyxfunc.C: Output messages with identical spelling, punctuation,
6188 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6190 * MenuBackend.C (expandFormats): List only viewable export formats
6193 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6196 * lyxfunc.C (getStatus): Make sure that formats other than
6197 "fax" can also be disabled
6199 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6201 * text3.C (dispatch): put the lfuns that insert insets in 3
6202 groups, and call doInsertInset with appropriate arguments.
6203 (doInsertInset): new function, that creates an inset and inserts
6204 it according to some boolean parameters.
6206 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6208 * buffer.C (readFile): remember to pass on 'par' when calling
6209 readFile recursively.
6211 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6213 * MenuBackend.C (expandFormats): add "..." to import formats.
6215 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6217 * paragraph.C (asString): Remove XForms RTL hacks.
6219 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6220 * buffer.C: fix typo
6222 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * Makefile.am (LIBS): delete var
6225 (lyx_LDADD): add @LIBS@ here instead.
6227 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6229 * Clarify the meaning of "wheel mouse jump"
6231 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6236 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6238 * importer.C (Loaders): do not preallocate 3 elements in the
6239 vector, since one ends up with 6 elements otherwise
6241 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6243 * DepTable.C (write): write the file name as last element of the
6244 .dep file (because it may contain spaces)
6245 (read): read info in the right order
6247 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6249 * paragraph_pimpl.C (simpleTeXBlanks):
6250 (simpleTeXSpecialChars):
6251 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6253 * tabular.C (latex): add some missing case statements. Reindent.
6255 * MenuBackend.C (expandToc): remove unused variable.
6257 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6266 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6269 2003-01-05 John Levon <levon@movementarian.org>
6272 * BufferView.C: add getEncoding()
6275 * kbsequence.C: do not store last keypress
6278 * lyxfunc.C: store last keypress here instead. Pass encoding
6281 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6283 * lyx_main.C (init): remove annoying error message when following
6284 symbolic links (bug #780)
6286 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * text.C (insertChar):
6289 * lyxrc.C (getDescription): remove extra spaces
6291 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * lyxrc.C (getDescription): remove extra spaces
6295 2002-12-20 John Levon <levon@movementarian.org>
6297 * text3.C: hack fix for page up/down across tall rows
6299 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6301 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6304 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6306 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6307 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6308 thesaurus is not compiled in
6310 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6312 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6314 2002-12-16 Angus Leeming <leeming@lyx.org>
6317 * lyx_main.C (init): remove override_x_deadkeys stuff.
6319 2002-12-12 John Levon <levon@movementarian.org>
6321 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6322 insert. Only remove shift modifier under strict
6325 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * MenuBackend.C (expandToc): fix crash.
6329 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * MenuBackend.C (expandToc): gettext on float names.
6333 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6335 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6336 implement bool empty() [bug 490]
6338 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6340 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6342 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * several files: ws changes
6346 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * text2.C (setCounter): clean up a bit, use boost.format.
6349 (updateCounters): initialize par upon declaration.
6351 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6352 if the layout exists. We do not just store the layout any more.
6353 (SwitchLayoutsBetweenClasses): use boost.format
6355 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6357 * converter.C (convert): if from and to files are the same, use a
6358 temporary files as intermediary
6360 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6363 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6365 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6367 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6369 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * tabular.C (asciiPrintCell): use string(size, char) instead of
6374 * sgml.C (openTag): fix order of arguments to string constructor
6377 * lyxfunc.C (dispatch): use boost.format
6379 * lots of files: change "c" -> 'c'
6381 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6383 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6385 2002-11-25 Angus Leeming <leeming@lyx.org>
6387 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6389 * lyx_main.C (init): compile fix.
6391 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * lyx_cb.C (start): boost.formatify
6394 do not include <iostream>
6396 * lengthcommon.C: ws only
6398 * boost-inst.C,BoostFormat.h: add more explict instantations
6400 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * lots of files: handle USE_BOOST_FORMAT
6404 2002-11-21 John Levon <levon@movementarian.org>
6406 * pspell.C: fix compile
6408 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6410 * lyxfunc.C (dispatch): use boost::format
6414 * lyxfont.C (stateText): use boost::format
6416 * lyx_main.C (LyX): use boost::format
6418 (queryUserLyXDir): ditto
6421 (typedef boost::function): use the recommened syntax.
6423 * importer.C (Import): use boost::format
6425 * debug.C (showLevel): use boost::format
6427 * converter.C (view): use boost::format
6432 * bufferview_funcs.C (currentState): use boost::format
6434 * bufferlist.C (emergencyWrite): use boost::format
6436 * buffer.C (readLyXformat2): use boost::format
6437 (parseSingleLyXformat2Token): ditto
6439 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6441 * LaTeX.C (run): use boost::format
6443 * Chktex.C (scanLogFile): use boost::format
6445 * BufferView_pimpl.C (savePosition): use boost::format
6446 (restorePosition): ditto
6447 (MenuInsertLyXFile): ditto
6449 * BoostFormat.h: help file for explicit instation.
6451 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6453 * tabular.C (latex): Support for block alignment in fixed width
6456 2002-11-17 John Levon <levon@movementarian.org>
6458 * BufferView_pimpl.C:
6460 * lyxfunc.C: split filedialog into open/save
6462 2002-11-08 Juergen Vigna <jug@sad.it>
6464 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6465 by my last patch (hopefully).
6467 2002-11-08 John Levon <levon@movementarian.org>
6476 * toc.C: ParConstIterator, and use it (from Lars)
6478 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6480 * lyxtextclass.[Ch]: revise and add doxygen comments
6482 2002-11-07 John Levon <levon@movementarian.org>
6484 * text.C: fix progress value for spellchecker
6486 * toc.C: fix navigate menu for insetwrap inside minipage
6488 * paragraph_funcs.C: added FIXME for suspect code
6490 2002-11-07 John Levon <levon@movementarian.org>
6492 * BufferView_pimpl.C: fix redrawing of insets
6495 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6497 * text2.C (updateCounters): fix bug 668
6499 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6501 * text3.C (dispatch): Do not make the buffer dirty when moving the
6504 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * vc-backend.C: STRCONV
6509 * text2.C (setCounter): STRCONV
6511 * paragraph.C (asString): STRCONV
6513 * lyxlength.C (asString): STRCONV
6514 (asLatexString): ditto
6516 * lyxgluelength.C (asString): STRCONV
6517 (asLatexString): ditto
6519 * lyxfunc.C (dispatch): STRCONV
6522 * lyxfont.C (stateText): STRCONV
6524 * importer.C (Import): STRCONV
6526 * counters.C (labelItem): STRCONV
6527 (numberLabel): ditto
6528 (numberLabel): remove unused ostringstream o
6533 * bufferview_funcs.C (currentState): STRCONV
6535 * buffer.C (readFile): STRCONV
6536 (asciiParagraph): ditto
6537 (makeLaTeXFile): ditto
6539 * Spacing.C (writeEnvirBegin): STRCONV
6541 * LaTeXFeatures.C (getLanguages): STRCONV
6542 (getPackages): ditto
6544 (getBabelOptions): ditto
6545 (getTClassPreamble): ditto
6546 (getLyXSGMLEntities): ditto
6547 (getIncludedFiles): ditto
6551 (scanAuxFile): ditto
6554 * LString.h: add the STRCONV macros
6556 * BufferView_pimpl.C (savePosition): STRCONV
6557 (restorePosition): ditto
6558 (MenuInsertLyXFile): ditto
6560 * vc-backend.C (scanMaster): change from submatch[...] to
6563 * funcrequest.C: include config.h
6565 * factory.C: include config.h
6567 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6569 * box.C: include config.h
6571 * LaTeX.C (scanAuxFile): change from submatch[...] to
6575 2002-10-25 Angus Leeming <leeming@lyx.org>
6577 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6579 * ispell.[Ch] (setError): new method.
6580 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6581 Use setError() insetead of goto END.
6583 * lyx_cb.C (AutoSave): move out child process into new class
6586 2002-10-30 John Levon <levon@movementarian.org>
6588 * text3.C: make start appendix undoable
6590 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6592 * lyxlength.C (inPixels): Fix returned value.
6594 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6597 2002-10-24 Angus Leeming <leeming@lyx.org>
6599 * lyxgluelength.h: no need to forward declare BufferParams
6600 or BufferView, so don't.
6602 2002-10-21 John Levon <levon@movementarian.org>
6604 * BufferView.C: menuUndo ->undo, redo
6606 * BufferView.h: document, remove dead, make some methods private
6608 * paragraph_funcs.h:
6609 * paragraph_funcs.C:
6610 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6615 * sgml.C: move sgml open/close tag into sgml.C
6617 * bufferview_funcs.h: unused prototype
6620 * lyxfunc.C: remove unused
6623 * text.C: remove unused
6625 2002-10-21 John Levon <levon@movementarian.org>
6629 * BufferView_pimpl.h:
6630 * BufferView_pimpl.C: fix mouse wheel handling based on
6631 patch from Darren Freeman
6633 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6635 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6637 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6639 * lyxlength.C (inPixels): Fix hanfling of negative length.
6640 Fix LyXLength::MU case.
6642 2002-10-16 John Levon <levon@movementarian.org>
6644 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6646 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6648 * converter.C (view): add support for $$i (file name) and $$p
6649 (file path) for the viewer command. If $$i is not specified, then
6650 it is appended to the command (for compatibility with old syntax)
6652 2002-10-14 Juergen Vigna <jug@sad.it>
6654 * undo_funcs.C (textHandleUndo): alter the order in which the
6655 new undopar is added to the LyXText, as we have to set first
6656 the right prev/next and then add it as otherwise the rebuild of
6657 LyXText is not correct. Also reset the cursor to the right paragraph,
6658 with this IMO we could remove the hack in "redoParagraphs()".
6660 2002-10-09 Angus Leeming <leeming@lyx.org>
6662 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6663 to turn off an optimisation if a new inset is to be inserted.
6665 2002-10-11 André Pönitz <poenitz@gmx.net>
6667 * lyxtext.h: make some functions public to allow access
6668 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6670 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6672 * text3.C (dispatch): when changing layout, avoid an infinite loop
6675 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6677 * lyxrc.C (read): treat a viewer or converter command of "none" as
6680 * MenuBackend.C (expandFormats): for an update, also allow the
6681 formats that are not viewable
6683 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6684 script if it is newer than the lyxrc.defaults in user directory
6686 2002-10-07 André Pönitz <poenitz@gmx.net>
6688 * text.C: Vitaly Lipatov's small i18n fix
6690 2002-09-25 Angus Leeming <leeming@lyx.org>
6692 * ispell.h: doxygen fix.
6694 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6696 * buffer.h (readFile): Add a new argument to the method, to allow
6697 reading of old-format templates.
6699 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6701 * toc.C (getTocList): Get TOC from InsetWrap.
6703 2002-09-16 John Levon <levon@movementarian.org>
6705 * lyxfunc.C: check tabular for cut/copy too
6707 2002-09-12 John Levon <levon@movementarian.org>
6712 * factory.C: add header
6714 * paragraph_funcs.h:
6715 * paragraph_funcs.C: cleanup
6717 2002-09-11 John Levon <levon@movementarian.org>
6719 * PrinterParams.h: odd/even default to true
6721 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6723 * PrinterParams.h: update printer parameters for new xforms dialog
6725 2002-09-11 Angus Leeming <leeming@lyx.org>
6727 * lyxserver.C (read_ready): re-write to make it more transparent
6728 and to make it work in coherent fashion under Tru64 Unix.
6730 2002-09-11 André Pönitz <poenitz@gmx.net>
6734 * text3.C: implement LFUN_WORDSEL
6736 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6739 make floatlist_ a boost::shared_ptr<FloatList>
6741 * lyxtextclass.C: include FloatList.h
6742 (LyXTextClass): initialize floatlist_
6743 (TextClassTags): add TC_NOFLOAT
6744 (Read): match "nofloat" to TC_NOFLOAT and use it.
6745 (readFloat): modify call to floatlist_
6749 * FloatList.[Ch] (FloatList): remove commented out float
6751 (erase): new function
6753 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6755 * MenuBackend.C (expandToc): fix crash when there is no document
6758 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6760 * many files: Add insetwrap.
6762 2002-09-09 John Levon <levon@movementarian.org>
6764 * text2.C: remove confusing and awkward depth wraparound
6766 2002-09-09 John Levon <levon@movementarian.org>
6768 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6771 * buffer.C: remove getIncludeonlyList()
6774 * lyxfunc.C: remove headers
6776 2002-09-09 Juergen Vigna <jug@sad.it>
6778 * text.C (getColumnNearX): fix form Michael this is most
6779 probably a cut&paste bug.
6781 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6783 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6785 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6786 references, ws changes.
6788 * text2.C (init): update counters after init
6789 (insertParagraph): no need to set counter on idividual paragraphs.
6790 (setCounter): access the counters object in the textclass object
6791 on in the buffer object.
6792 (updateCounters): ditto
6794 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6795 shared_ptr<Counters> to avoid loading counters.h in all
6797 (LyXTextClass): initialize ctrs_
6798 (TextClassTags): add TC_COUNTER, and ...
6799 (Read): use it here.
6800 (CounterTags): new tags
6801 (readCounter): new function
6802 (counters): new funtion
6803 (defaultLayoutName): return a const reference
6805 * counters.C (Counters): remove contructor
6806 (newCounter): remove a couple of unneeded statements.
6807 (newCounter): simplify a bit.
6808 (numberLabel): some small formatting changes.
6810 * buffer.[Ch]: remove all traces of counters, move the Counters
6811 object to the LyXTextClass.
6813 2002-09-06 Alain Castera <castera@in2p3.fr>
6815 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6816 package to set the horizontal alignment on fixed width columns.
6819 * lyx_sty.h: added tabularnewline macro def.
6821 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6823 2002-09-06 John Levon <levon@movementarian.org>
6825 * LyXAction.C: tooltips for sub/superscript
6827 * MenuBackend.C: a bit more verbose
6829 * lyxfunc.C: tiny clean
6831 * undo_funcs.C: document undo_frozen
6833 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * counters.C (Counters): add missing algorithm counter.
6837 * text2.C (setCounter): lookup the counter with layouts latexname
6838 instead of by section number.
6839 (setCounter): use a hackish way to lookup the correct enum
6841 a float name->type change
6842 reset enum couners with counter name directly instead of depth value.
6844 * counters.C (Counters): remove the push_backs, change to use the
6845 float type not the float name.
6846 (labelItem): remove unused string, float name->type change
6848 * counters.h: don't include vector, loose the enums and sects vectors
6850 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6853 (Read): add float->TC_FLOAT to textclassTags
6854 (Read): and handle it in the switch
6855 (readFloat): new function
6857 * FloatList.C (FloatList): comment out the hardcoded float
6860 * lyxlayout.h: ws change.
6862 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6864 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6866 2002-09-03 Angus Leeming <leeming@lyx.org>
6868 * BufferView_pimpl.h: qualified name is not allowed in member
6869 declaration: WorkArea & Pimpl::workarea() const;
6871 * factory.C: added using std::endl directive.
6873 * text3.C: added using std::find and std::vector directives.
6875 2002-08-29 André Pönitz <poenitz@gmx.net>
6878 * text2.C: remove unused member number_of_rows
6881 * BufferView2.C: remove file, move contents to...
6882 * BufferView.C: ... here
6884 * BufferView_pimpl.C:
6885 * factory.C: move more inset creation to factory
6887 * vspace.C: avoid direct usage of LyXText, ws changes
6890 don't provide direct access to WorkArea, use two simple
6891 acessors haveSelction() and workHeight() instead
6894 2002-08-29 John Levon <levon@movementarian.org>
6896 * BufferView_pimpl.C (dispatch): do not continue when
6899 2002-08-28 André Pönitz <poenitz@gmx.net>
6901 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6904 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6906 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6908 * buffer.C: increment LYX_FORMAT to 221
6910 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6911 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6913 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6915 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6917 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6919 * factory.C (createInset): use LyXTextClass::floats
6921 * MenuBackend.C (expandFloatListInsert):
6922 (expandFloatInsert):
6925 * text2.C (setCounter):
6927 * LaTeXFeatures.C (useFloat):
6928 (getFloatDefinitions):
6930 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6932 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6933 floatlist_, with accessor floats().
6935 * FloatList.h: remove global FloatList
6937 2002-08-26 André Pönitz <poenitz@gmx.net>
6939 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6943 * BufferView_pimpl.C:
6944 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6946 2002-08-25 John Levon <levon@movementarian.org>
6948 * LyXAction.C: fix margin note description
6950 2002-08-24 John Levon <levon@movementarian.org>
6954 * bufferview_funcs.C:
6956 * undo_funcs.C: cleanups
6958 * lyxfunc.C: disable CUT/COPY when no selection
6960 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6962 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6963 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6965 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6966 Add backward compatibility to "mono", "gray" and "no".
6968 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6970 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6971 (and file_format >= 200).
6973 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6975 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6977 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6979 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6981 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6983 * BufferView_pimpl.C:
6990 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6991 inset and code to make it work with the paragraph code. The inset
6992 can be anywhere in the paragraph, but will only do the expected
6993 thing in LaTeX if the layout file contains the parameter line
6995 (or more generally, a nonzero value) for that layout.
6997 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * paragraph.h: remove the declaration of undefined counters class
7002 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7004 * text2.C (setCounter): fixed enumeration mis-count as reported by
7005 Dr. Richard Hawkins.
7007 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7009 * paragraph_funcs.h: remove some unneeded includes
7011 * text.C (backspace): pasteParagraph now in global scipe
7013 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7014 (pasteSelection): ditto
7016 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7017 * paragraph_funcs.C (pasteParagraph): ... here
7019 2002-08-20 André Pönitz <poenitz@gmx.net>
7021 * commandtags.h: new LFUNs for swapping/copying table row/colums
7024 * lyxfunc.C: support for new lfuns
7026 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * buffer.[Ch]: remove NO_COMPABILITY stuff
7031 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * boost.C (throw_exception): new file, with helper function for
7034 boost compiled without exceptions.
7039 * ParameterStruct.h:
7040 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7042 * bufferlist.C (emergencyWriteAll): use boost bind
7044 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7046 * text.C: include paragraph_funcs.h
7047 (breakParagraph): breakParagraph is now in global scope
7049 * paragraph_funcs.[Ch]: new files
7051 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7054 * buffer.C: include paragraph_funcs.h
7055 (insertStringAsLines): breakParagraph is now in global scope
7057 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7060 * CutAndPaste.C: include paragraph_funcs.h
7061 (cutSelection): breakParagraphConservative is now in global scope
7062 (pasteSelection): ditto
7064 * buffer.h: declare oprator== and operator!= for
7065 Buffer::inset_iterator
7067 * bufferlist.C (emergencyWrite): don't use fmt(...)
7069 * text3.C: add using std::endl
7071 * BufferView.C (moveCursorUpdate): remove default arg
7073 2002-08-20 André Pönitz <poenitz@gmx.net>
7075 * buffer.[Ch]: move inline functions to .C
7078 * BufferView_pimpl.C:
7080 * buffer.[Ch]: use improved inset_iterator
7083 * paragraph.[Ch]: write one paragraph at a time
7085 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7087 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7088 style if style is not specified.
7090 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7092 * text2.C (setCounter): when searching for right label for a
7093 caption, make sure to recurse to parent insets (so that a caption
7094 in a minipage in a figure float works) (bug #568)
7096 2002-08-20 André Pönitz <poenitz@gmx.net>
7098 * text3.C: new file for LyXText::dispatch() and helpers
7100 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7102 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7104 2002-08-19 André Pönitz <poenitz@gmx.net>
7107 * text.C: new LyXText::dispatch()
7109 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7111 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7113 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7115 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7118 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7120 * Makefile.am: use $(variables) instead of @substitutions@
7122 2002-08-15 André Pönitz <poenitz@gmx.net>
7125 * BufferView_pimpl.C: streamlining mathed <-> outer world
7129 * LyXAction.C: remove unused LFUN_MATH
7131 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7135 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7137 * paragraph.C (Paragraph): reformat a bit
7138 (cutIntoMinibuffer): use builtin InsetList function instad of
7142 * buffer.C: include boost/bind.hpp, add using std::for_each
7143 (writeFileAscii): use ParagraphList iterators
7144 (validate): use for_each for validate traversal of paragraphs
7145 (getBibkeyList): use ParagraphList iterators
7146 (resizeInsets): use for_each to resizeInsetsLyXText for all
7148 (getParFromID): use ParagraphList iterators
7150 * BufferView2.C (lockInset): use paragraph list and iterators
7152 2002-08-14 John Levon <levon@movementarian.org>
7154 * lyxserver.C: remove spurious xforms include
7156 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7158 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7160 2002-08-13 André Pönitz <poenitz@gmx.net>
7163 * lyxfunc.C: further cleaning
7165 2002-08-13 André Pönitz <poenitz@gmx.net>
7167 * funcrequest.h: new constructor
7169 * funcrequest.C: move stuff here from .h
7172 * BufferView_pimpl.C:
7175 * lyxfunc.C: subsequent changes
7177 * lyxfunc.h: new view() member function
7179 * lyxfunc.C: subsequent changes
7181 2002-08-13 Angus Leeming <leeming@lyx.org>
7184 * BufferView_pimpl.C:
7192 changes due to the changed LyXView interface that now returns references
7193 to member variables not pointers.
7195 2002-08-13 Angus Leeming <leeming@lyx.org>
7197 * WordLangTuple (word, lang_code): return references to strings,
7202 * lyxtext.h: forward-declare WordLangTuple.
7207 * text.C: #include "WordLangTuple.h".
7210 * text.C: (selectNextWordToSpellcheck): constify return type.
7212 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7218 * paragraph_pimpl.h:
7221 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7223 Made updateCounter always count from start of buffer, and removed
7224 second argument (par).
7225 Reverted floats number display to '#'. Perhaps I'll try again when the
7226 code base is sanitized a bit.
7228 2002-08-12 Angus Leeming <leeming@lyx.org>
7230 * buffer.[Ch] (getLabelList): constify.
7232 2002-08-07 André Pönitz <poenitz@gmx.net>
7234 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7236 * funcrequest.h: extension to keep mouse (x,y) position
7238 2002-08-12 Juergen Vigna <jug@sad.it>
7240 * BufferView2.C (insertErrors): forbid undo when inserting error
7243 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7245 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * ParagraphList.[Ch]: new files
7249 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7251 * BufferView2.C (lockInset): ParagraphList changes
7254 * bufferlist.C: ditto
7258 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7260 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7261 unused class variable counter_,
7263 * paragraph.[Ch] (getFirstCounter): delete unused function
7265 * counters.C: include LAssert.h
7266 (reset): add a new function with no arg, change other version to
7267 not have def. arg and to not allow empty arg.
7269 * text2.C (setCounter): remove empty arg from call to Counters::reset
7271 2002-08-11 John Levon <levon@movementarian.org>
7273 * Makefile.am: add WordLangTuple.h
7275 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7277 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7278 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7280 * insets/insettext.C: InsetList changes
7282 * graphics/GraphicsSupport.C (operator()): InsetList changes
7284 * toc.C (getTocList): InsetList changes
7286 * paragraph_pimpl.[Ch]: InsetList changes
7288 * paragraph.[Ch]: InsetList changes
7290 * buffer.C (inset_iterator): InsetList changes
7291 (setParagraph): ditto
7292 * buffer.h (inset_iterator): ditto
7293 * iterators.C (operator++): ditto
7294 * iterators.h: ditto
7296 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7298 * InsetList.[Ch]: new files, most InsetList handling moved out of
7301 * BufferView2.C (removeAutoInsets): InsetList changes
7303 (ChangeInsets): ditto
7305 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7307 * paragraph_pimpl.h (empty): new function
7309 * paragraph.[Ch] (empty): new function
7311 * other files: use the new Paragraph::empty function
7313 2002-08-09 John Levon <levon@movementarian.org>
7315 * lyxtext.h: remove unused refresh_height
7317 2002-08-09 John Levon <levon@movementarian.org>
7324 * paragraph.C: move sgml char escaping out of paragraph
7327 * paragraph.C: remove id setter
7331 * paragraph_pimpl.C: remove dead tex_code_break_column
7333 * bufferview_funcs.C: small cleanup
7335 * lyxfunc.C: remove dead proto
7337 * lyxtext.h: make some stuff private. Remove some dead stuff.
7339 * lyxgluelength.C: make as[LyX]String() readable
7341 2002-08-08 John Levon <levon@movementarian.org>
7346 * ToolbarDefaults.C:
7349 * toc.C: lyxaction cleanup
7351 2002-08-08 John Levon <levon@movementarian.org>
7353 * BufferView2.C: small cleanup
7356 * lyxfind.C: move unnecessary header into the .C
7358 2002-08-08 John Levon <levon@movementarian.org>
7360 * funcrequest.h: just tedious nonsense
7363 * lyx_main.C: cleanups
7366 * vspace.C: remove dead header lyx_main.h
7368 2002-08-07 Angus Leeming <leeming@lyx.org>
7371 * paragraph_pimpl.h:
7372 Forward declare class Counters in paragraph.h by moving the ctrs member
7373 variable into Paragraph::Pimpl.
7374 (counters): new method, returning a reference to pimpl_->ctrs.
7376 * text2.C: ensuing changes.
7378 2002-08-07 John Levon <levon@movementarian.org>
7380 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7382 * BufferView_pimpl.C: announce X selection on double/triple
7385 * lyx_main.C: use correct bool in batch dispatch
7387 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7389 2002-08-07 André Pönitz <poenitz@gmx.net>
7391 * funcrequest.h: new class to wrap a kb_action and its argument
7394 * BufferView_pimpl[Ch]:
7398 * lyxrc.C: subsequent changes
7401 2002-08-07 John Levon <levon@movementarian.org>
7403 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7404 document options change.
7406 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7411 * makefile.am: move counters functionality over from
7412 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7414 2002-08-06 John Levon <levon@movementarian.org>
7416 * WordLangTuple.h: new file for word + language code tuple
7427 * BufferView2.C: use WordLangTuple
7430 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7432 2002-08-06 John Levon <levon@movementarian.org>
7434 * lyx_main.C: fix cmdline batch handling
7436 2002-08-06 André Pönitz <poenitz@gmx.net>
7438 * lyxrc.C: set default for show_banner to true
7440 2002-08-06 John Levon <levon@movementarian.org>
7442 * pspell.C: fix a crash, and allow new aspell to work
7444 2002-08-06 John Levon <levon@movementarian.org>
7447 * kbmap.C: small cleanup
7450 * vspace.C: add const
7452 2002-08-05 John Levon <levon@movementarian.org>
7454 * LyXAction.C: back to tabular-insert
7456 2002-08-04 John Levon <levon@movementarian.org>
7459 * BufferView.C: cosmetic change
7461 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7471 * BufferView2.C: purge all "Lyx" not "LyX" strings
7474 * lyxcursor.C: attempt to add some documentation
7479 * ToolbarDefaults.C:
7480 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7481 merge with LFUN_TABULAR_INSERT
7488 * pspell.C: split up i/pspell implementations into separate
7489 files, many cleanups
7491 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7493 * text2.C: some cleanup
7495 * lyxfunc.C: don't check for isp_command == "none" any more, it
7496 didn't make any sense
7498 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7503 * makefile.am: move counters functionality over
7504 from text2.C/paragraph.[Ch] to counters.[Ch], and
7506 2002-08-02 John Levon <levon@movementarian.org>
7508 * buffer.C: s/lyxconvert/lyx2lyx/
7510 2002-08-02 Angus Leeming <leeming@lyx.org>
7512 * lyxlex.C: revert John's change as it breaks reading of the user
7515 2002-08-02 Angus Leeming <leeming@lyx.org>
7517 * importer.C (Import):
7518 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7519 changes due to LyXView::view() now returning a boost::shared_ptr.
7521 2002-08-02 John Levon <levon@movementarian.org>
7523 * lyxlex.C: small cleanup
7525 2002-08-02 John Levon <levon@movementarian.org>
7527 * text2.C (status): small cleanup, no logic change
7529 2002-08-01 John Levon <levon@movementarian.org>
7532 * buffer.C (writeFile): don't output alerts, caller
7536 * lyx_cb.C: from above
7538 * lyxfunc.C: allow to open non-existent files
7540 2002-07-31 John Levon <levon@movementarian.org>
7542 * lyxserver.C: don't let incidental errors get
7545 2002-07-30 John Levon <levon@movementarian.org>
7547 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7549 2002-07-30 John Levon <levon@movementarian.org>
7552 * lyxserver.C: remove I/O callback too
7554 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7556 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7559 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * many files: strip,frontStrip -> trim,ltrim,rtrim
7563 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7565 * PrinterParams.h: remove extern containsOnly, and include
7566 support/lstrings.h instead.
7568 * LaTeX.C (scanAuxFile): modify because of strip changes
7570 * buffer.C (makeLaTeXFile): ditto
7571 * bufferparams.C (writeFile): ditt
7572 * lyxfont.C (stateText): ditto
7573 * lyxserver.C (read_ready): ditto
7574 * vc-backend.C (scanMaster): ditto
7576 * BufferView_pimpl.h: ws changes
7578 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7580 2002-07-26 André Pönitz <poenitz@gmx.net>
7582 * kb_sequence.C: remove unnedred usings
7584 2002-07-26 Juergen Vigna <jug@sad.it>
7586 * lyxfind.C (LyXReplace): we have to check better if the returned
7587 text is not of theLockingInset()->getLockingInset().
7589 2002-07-25 Juergen Vigna <jug@sad.it>
7591 * lyxfind.C (LyXReplace): don't replace if we don't get the
7594 * undo_funcs.C (createUndo): remove debugging code.
7596 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7598 * buffer.C (parseSingleLyXformat2Token): Use default placement
7599 when reading old floats.
7601 * FloatList.C (FloatList): Change the default placement of figure
7602 and tables to "tbp".
7604 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7606 * MenuBackend.C: using std::max
7608 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7610 * MenuBackend.C (expandToc):
7611 (expandToc2): code moved from xforms menu frontend. It is now
7612 generic and TOCs are transparent to menu frontends.
7614 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * toc.C (getTocList): protect against buf=0
7618 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7619 Menu as first parameter. Now, this calls itself recursively to
7620 expand a whole tree (this will be useful for TOC handling)
7621 (expandFloatInsert): remove 'wide' version of floats
7623 * MenuBackend.h (submenuname): returns the name of the submenu.
7624 (submenu): returns the submenu itself, provided it has been
7625 created by MenuBackend::expand
7627 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7629 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7630 insets which have noFontChange == true. (bug #172)
7632 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7634 * BufferView_pimpl.C: add connection objects and use them...
7637 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7639 * MenuBackend.C (expandLastfiles):
7642 (expandFloatListInsert):
7643 (expandFloatInsert):
7644 (expand): split expand in parts
7646 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7648 * lyx_gui.C: use lyx_gui::exit()
7650 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7652 * LyXAction.C: show the failing pseudo action
7654 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7656 * buffer.C (readFile): Run the lyxconvert script in order to read
7659 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7663 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7665 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7669 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7671 2002-07-22 Herbert Voss <voss@lyx.org>
7674 * lyxlength.[Ch]: add support for the vertical lengths
7676 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7678 * toc.[Ch]: std:: fixes
7680 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7682 * lyxrc.C: do not include lyx_main.h
7684 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7690 * BufferView2.C: include "lyxlex.h"
7693 * bufferparams.h: do not #include "lyxlex.h"
7695 * lyxtextclasslist.C (Add): remove method
7696 (classlist): renamed to classlist_
7698 * paragraph_pimpl.C:
7702 * bufferview_funcs.C:
7707 * toc.C (getTocList): use BufferParams::getLyXTextClass
7709 * toc.C (getTocList): use InsetFloat::addToToc
7711 * toc.[Ch]: new files, containing helper functions to handle table
7714 * lyxfunc.C (dispatch): no need to remove spaces around command
7716 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7717 first command of the sequence; it is not very clever, but I do not
7718 have a better idea, actually
7720 * LyXAction.C (LookupFunc): make sure to remove space at the
7721 beginning and end of the command
7723 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * MenuBackend.C (getMenubar): new method: return the menubar of
7727 (read): treat differently reading of menu and menubar (in
7728 particular, the menubar has no name now)
7729 (Menu::menubar): remove
7731 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7734 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7736 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7737 a bibitem inset in a RTL paragraph.
7739 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7741 * paragraph_pimpl.C: constify
7743 * BufferView_pimpl.C:
7745 * lyxfunc.C: fix dispatch in a nicer way
7747 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7749 * lyxfunc.C (dispatch):
7750 * BufferView_pimpl.C:
7751 * BufferView_pimpl.h:
7753 * BufferView.h: rename Dispatch() to dispatch()
7755 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7757 * lyxlayout.C (Read): honor DependsOn tag
7759 * lyxlayout.[Ch] (depends_on): new method
7761 * version.C.in: update lyx_docversion
7763 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7765 * paragraph.C (validate): remove from here...
7766 * paragraph_pimpl.C (validate): ... and move here
7767 (isTextAt): make it const
7769 * buffer.C (getLists): ws cleanup
7771 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7773 * language.C (read): Use iso8859-1 encoding in latex_lang
7774 (this prevents LyX from crashing when using iso10646-1 encoding).
7776 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7778 * text2.C (toggleInset): if cursor is inside an inset, close the
7779 inset and leave cursor _after_ it
7781 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7783 * lyxfunc.C: move minibuffer completion handling out of here
7785 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7787 * BufferView_pimpl.C:
7788 * LaTeX.C: fix dispatch calls
7790 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7792 * text.C (drawChars): Fix Arabic text rendering.
7794 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7798 * lyxfunc.C: remove message-push/pop
7802 * lyxfunc.C: rationalise some code by removing verboseDispatch
7803 in favour of a bool argument to dispatch()
7805 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7807 * lyx_main.C (init): make sure to read symlinks as absolute paths
7809 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7812 * lyxfunc.C: no need for commandshortcut to be a member
7814 2002-07-15 André Pönitz <poenitz@gmx.net>
7816 * converter.C: add support for $$s (scripts from lib/scripts dir)
7817 * lyx_main.C: white space
7819 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7823 * lyxrc.C: remove second exit confirmation
7825 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7830 * BufferView_pimpl.h:
7831 * BufferView_pimpl.C:
7832 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7834 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7836 * MenuBackend.C (expand): add numeric shortcuts to document menu
7838 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7840 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7842 * lyxfont.C (setLyXFamily):
7849 * buffer.C (asciiParagraph): use ascii_lowercase
7851 2002-07-15 Mike Fabian <mfabian@suse.de>
7853 * lyxlex_pimpl.C (search_kw):
7854 * lyxlex.C (getLongString):
7855 * converter.h (operator<):
7856 * converter.C (operator<):
7857 * buffer.C (parseSingleLyXformat2Token):
7859 * ToolbarDefaults.C (read):
7860 * MenuBackend.C (checkShortcuts):
7862 * LColor.C (getFromGUIName):
7863 (getFromLyXName): use the compare_ascii_no_case instead of
7864 compare_no_case, because in turkish, 'i' is not the lowercase
7865 version of 'I', and thus turkish locale breaks parsing of tags.
7867 2002-07-16 Angus Leeming <leeming@lyx.org>
7869 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7870 now takes a Buffer const & argument.
7872 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7874 * BufferView.C (resize): check there's a buffer to resize
7876 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7878 * lyxfunc.C: remove dead code
7881 * lyxserver.C: use lyx_guii::set_read_callback
7883 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7885 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7886 an inset in a RTL paragraph.
7888 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7890 * lyxfunc.C: repaint after a font size update
7892 2002-07-15 André Pönitz <poenitz@gmx.net>
7894 * lyxlength.C: inBP should be able to return negative values
7896 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7898 * lyxfunc.C: use lyx_gui::update_fonts()
7900 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7902 * lyxfunc.C: use lyx_gui::update_color()
7904 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7910 * lyxrc.C: remove file->new asks for name option, and let
7911 buffer-new take an argument
7913 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7915 * BufferView_pimpl.C: remove unneeded extra repaint()
7917 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7919 * LyXAction.C: allow command-sequence with NoBuffer
7921 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7923 2002-07-10 Angus Leeming <leeming@lyx.org>
7925 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7927 2002-07-09 Angus Leeming <leeming@lyx.org>
7929 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7931 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7933 * lengthcommon.h: whitespace
7935 * lyxfunc.C: update scrollbar after goto paragraph
7937 * lyxtext.h: factor out page break drawing, and fix it so
7938 page break/added space paints as selected nicely
7940 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7942 * BufferView_pimpl.C: add FIXMEs, clean up a little
7944 2002-07-09 André Pönitz <poenitz@gmx.net>
7946 * lyxfont.[Ch]: support for wasy symbols
7948 2002-07-08 André Pönitz <poenitz@gmx.net>
7950 * BufferView_pimpl.C: apply John's patch for #93.
7952 2002-07-05 Angus Leeming <leeming@lyx.org>
7954 * BufferView_pimpl.C (buffer): generate previews if desired.
7956 * LColor.h: add "preview" to the color enum.
7958 * LColor.C (LColor): add a corresponding entry to the items array.
7960 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7963 2002-07-05 Angus Leeming <leeming@lyx.org>
7965 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7966 The body of the code is now in the method that is passed an ostream &
7967 rather than a file name.
7968 Pass an additional only_preamble parameter, useful for the forthcoming
7971 2002-07-03 André Pönitz <poenitz@gmx.net>
7973 * lyxfunc.C: simplify getStatus() a bit for math stuff
7975 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7977 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7979 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7981 * text.C (changeRegionCase): do not change case of all the
7982 document when region ends at paragraph end (bug #461)
7984 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7986 * paragraph.C (startTeXParParams):
7987 (endTeXParParams): add \protect when necessary
7989 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7991 * BufferView_pimpl.C (workAreaExpose): remove warning
7993 2002-06-27 Angus Leeming <leeming@lyx.org>
7995 * Makefile.am: add lyxlayout_ptr_fwd.h.
7997 2002-06-26 André Pönitz <poenitz@gmx.net>
7999 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8001 2002-06-25 Angus Leeming <leeming@lyx.org>
8003 * lyxfunc.C (dispatch): Comment out the call to
8004 grfx::GCache::changeDisplay. The method no longer exists now that the
8005 pixmap generation part of the graphics loader has been moved into
8008 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8010 * text2.C: layout as layout
8012 * text.C: layout as layout
8014 * tabular.C (OldFormatRead): layout as layout
8016 * paragraph_pimpl.C (TeXDeeper): layout as layout
8017 (realizeFont): layout as layout
8019 * paragraph.C (writeFile): layout as layout
8020 (validate): layout as layout
8021 (getFont): layout as layout
8022 (getLabelFont): layout as layout
8023 (getLayoutFont): layout as layout
8024 (breakParagraph): layout as layout
8025 (stripLeadingSpaces): layout as layout
8026 (getEndLabel): layout as layout
8027 (getMaxDepthAfter): layout as layout
8028 (applyLayout): layout as layout
8029 (TeXOnePar): layout as layout
8030 (simpleTeXOnePar): layout as layout
8031 (TeXEnvironment): layout as layout
8032 (layout): layout as layout
8033 (layout): layout as layout
8035 * lyxtextclass.C (compare_name): new functor to work with
8036 shared_ptr, layout as layout
8037 (Read): layout as layout
8038 (hasLayout): layout as layout
8039 (operator): layout as layout
8040 (delete_layout): layout as layout
8041 (defaultLayout): layout as layout
8043 * lyxlayout_ptr_fwd.h: new file
8045 * lyxlayout.C (Read): layout as layout
8047 * lyx_cb.C (MenuInsertLabel): layout as layout
8049 * bufferlist.C (newFile): layout as layout
8051 * buffer.C (readLyXformat2): layout as layout
8052 (parseSingleLyXformat2Token): layout as layout
8053 (insertStringAsLines): layout as layout
8054 (asciiParagraph): layout as layout
8055 (latexParagraphs): layout as layout
8056 (makeLinuxDocFile): layout as layout
8057 (simpleLinuxDocOnePar): layout as layout
8058 (makeDocBookFile): layout as layout
8059 (simpleDocBookOnePar): layout as layout
8060 (getLists): layout as layout
8062 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8064 * CutAndPaste.C (cutSelection): layout as layout
8065 (pasteSelection): layout as layout
8066 (SwitchLayoutsBetweenClasses): layout as layout
8068 * BufferView_pimpl.C (Dispatch): layout as layout
8069 (smartQuote): layout as layout
8071 * BufferView2.C (unlockInset): layout as layout
8073 2002-06-24 André Pönitz <poenitz@gmx.net>
8075 * lyxfunc.C: fix #487
8077 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8081 * lyxfunc.C: remove display_shortcuts, show_banner
8083 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8085 * Buffer_pimpl.C: oops, update on resize
8087 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8094 * BufferView.C: use repaint()
8096 * BufferView_pimpl.h:
8097 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8098 as it's a clearer description. Remove superfluous
8101 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8103 * text.C: fix bug 488. Not ideal, but getting
8104 getWord() to work properly for the insets that
8105 matter is more difficult ...
8107 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8109 * BufferView_pimpl.C:
8112 * lyxfunc.C: remove the six million index lyxfuncs to just
8113 one, and DTRT (bug 458)
8115 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8119 * BufferView_pimpl.h:
8120 * BufferView_pimpl.C: clean up resize() stuff,
8121 and unnecessary updateScreen()s
8123 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8127 * BufferView_pimpl.h:
8128 * BufferView_pimpl.C:
8131 * minibuffer.C: remove focus management of workarea,
8132 not needed. Use screen's greyOut()
8134 2002-06-17 Herbert Voss <voss@lyx.org>
8136 * converter.C: (convert) do not post a message, when converting
8137 fails, let the calling function decide what to do in this case
8139 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8141 * lyxfunc.C: tidy up a little
8143 2002-06-16 <alstrup@diku.dk>
8145 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8146 Got rid of FORMS_H_LOCATION include. Now we are
8149 2002-06-15 LyX Development team <lyx@rilke>
8151 * buffer.[Ch] (sgmlOpenTag):
8152 (sgmlCloseTag): Added support for avoiding pernicious mixed
8153 content. Return number of lines written.
8156 (makeDocBookFile): Fixed calls to sgml*Tag.
8157 Simple white space clean.
8159 (simpleDocBookOnePar): Simple white space clean.
8161 * tabular.[Ch] (docBook): Renamed to docbook and got another
8162 argument to related with the pernicious mixed content.
8164 (docbookRow): Fixed calls for docbook inset method.
8166 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8168 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8169 so it's X11 independent.
8173 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8175 2002-06-15 Lyx Development team <lyx@electronia>
8177 * intl.h: Renamed getTrans to getTransManager.
8179 2002-06-14 Angus Leeming <leeming@lyx.org>
8181 * Makefile.am: nuke forgotten stl_string_fwd.h.
8183 2002-06-12 Angus Leeming <leeming@lyx.org>
8185 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8187 2002-06-13 Angus Leeming <leeming@lyx.org>
8190 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8192 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8194 * kbmap.C (getiso): add support for cyrillic and greek
8196 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8200 * BufferView_pimpl.h:
8201 * BufferView_pimpl.C: move bogus scrolling logic
8204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8207 * BufferView_pimpl.C: view->resize() change
8209 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8211 * BufferView_pimpl.C: topCursorVisible
8214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8218 * lyx_gui.C: move to frontends/
8222 * lyx_main.C: changes from above
8224 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8231 * lyx_main.C: minor tidy
8233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8235 * BufferView_pimpl.h:
8236 * BufferView_pimpl.C:
8238 * BufferView.C: make painter() const,
8241 * BufferView2.C: use screen() accessor
8244 * lyx_main.C: some minor cleanup
8246 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8248 * BufferView_pimpl.h:
8249 * BufferView_pimpl.C: remove enter/leaveView,
8252 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8257 * BufferView_pimpl.h:
8258 * BufferView_pimpl.C: only construct screen once,
8261 * lyxrc.C: remove pointless comment
8263 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8266 * BufferView.C: remove active() and belowMouse()
8268 * BufferView_pimpl.h:
8269 * BufferView_pimpl.C: use workarea() not workarea_,
8270 and make it use a scoped_ptr instead
8272 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8274 * lyx_gui.C: add debug message on BadWindow
8276 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8278 * sp_spell.C: fdopen is not part of the C++ standard.
8280 * paragraph.C (InsetIterator): use >= instead of ==
8282 2002-06-07 Angus Leeming <leeming@lyx.org>
8284 Fixes needed to compile with Compaq cxx 6.5.
8285 * BufferView_pimpl.C:
8292 * lyxtextclasslist.C:
8297 all c-library variables have been moved into namespace std. Wrap
8298 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8303 Add a using std::abs declaration.
8305 * kbmap.h (modifier_pair):
8306 * paragraph.h (InsetTable, InsetList):
8307 * lyxfont.h (FontBits):
8308 type definition made public.
8310 * bufferlist.C (emergencyWriteAll): the compiler complains that
8311 there is more than one possible lyx::class_fun template to choose from.
8312 I re-named the void specialisation as lyx::void_class_fun.
8314 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8316 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8317 the compiler is is unable to find tostr in write_attribute.
8319 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8321 * buffer.C (sgmlError): hide #warning
8323 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8325 * xtl/*: get rid of xtl, which is not in use anyway
8327 * LyXAction.C (init):
8328 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8329 were unimplemented xtl experimentation
8331 2002-06-04 André Pönitz <poenitz@gmx.net>
8333 * lyxfunc.C: disable array operation on simple formulae
8335 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8337 * converter.C: constify a bit
8339 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8341 * lyx_gui.C: check xforms version correctly
8343 2002-04-30 Herbert Voss <voss@lyx.org>
8345 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8348 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8350 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8351 attempt to register it with a VCS)
8353 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8355 * lyx_main.C (init): honor variables LYX_DIR_13x and
8358 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8362 * lyx_main.C: fix a crash on bad command line,
8363 and give a useful exit status on error
8365 * lyxfunc.C (doImport): allow -i lyx to work
8367 2002-03-30 André Pönitz <poenitz@gmx.net>
8369 * lyxfunc.C: mathed font changes
8371 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8386 * trans_mgr.h: srcdocs, and some minor cleanups
8388 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8390 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8391 call getFont all the time)
8393 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8395 * switch from SigC signals to boost::signals
8397 2002-05-29 André Pönitz <poenitz@gmx.net>
8399 * paragraph_pimpl.C (getChar): don't call size() too often...
8401 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8403 * paragraph_pimpl.C (insertChar): do not try to update tables when
8404 appending (pos == size())
8406 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8407 in order to reduce drastically the number of comparisons needed to
8408 parse a large document
8410 2002-05-29 André Pönitz <poenitz@gmx.net>
8416 * textclasslist.[Ch]:
8417 * sp_ispell.h: whitespace change
8419 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8421 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8422 lyxaction directly now.
8424 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8428 * lyxvc.C: remove unused headers
8430 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8437 * undo_funcs.C: some cleanups. Use shared_ptr
8438 and a template for the undo stacks.
8440 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8442 * BufferView_pimpl.h:
8443 * BufferView_pimpl.C:
8450 * text2.C: use key_state/mouse_state
8452 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8454 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8457 * chset.C: change include order
8458 (loadFile): use boost regex and get rid of LRegex and LSubstring
8460 * Makefile.am (BOOST_LIBS): new variable
8463 * LaTeX.C: change include order.
8464 (scanAuxFile): use boost regex and get rid of LRegex and
8468 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8473 * FontInfo.C: moved to frontends/xforms/
8476 * FontLoader.C: moved into frontends for GUIIzation
8481 * lyxfunc.C: changes from above
8483 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8485 * LColor.C: remove spurious X include
8487 * BufferView_pimpl.C:
8492 * text2.C: move font metrics to frontends/
8494 2002-05-24 Juergen Vigna <jug@sad.it>
8496 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8497 setting the undo_cursor.
8499 * ParagraphParameters.h: include local includes first.
8501 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8503 * BufferView_pimpl.C:
8504 * BufferView_pimpl.h:
8508 * screen.C: move WorkArea into frontends/
8514 * BufferView2.C: move LyXScreen into frontends/
8518 * lyx_gui.C: move lyxlookup into frontends/xforms/
8520 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8523 * BufferView_pimpl.C:
8533 * bufferview_funcs.C:
8546 * vc-backend.C: move LyX/XFormsView into frontends/
8548 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8560 * text2.C: move Painter to frontends/
8562 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * buffer.C: comment out some some code that depend upon lyx_format
8567 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8568 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8570 * buffer.h (NO_COMPABILITY): turn off compability
8572 * ColorHandler.C: include scoped_array.hpp
8574 * font.C: Use more specific smart_ptr header.
8577 * ShareContainer.h: ditto
8581 * BufferView_pimpl.h: ditto
8582 * ColorHandler.h: ditto
8584 * kbmap.C (defkey): change call to shared_ptr::reset
8586 2002-05-21 Juergen Vigna <jug@sad.it>
8588 * buffer.C (insertErtContents): fix to insert ert asis if it is
8589 non empty. Skip it completely if it contains only whitespaces.
8591 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8593 * BufferView_pimpl.C:
8594 * BufferView2.C: clear selection on paste (bug 393)
8596 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8598 * DepTable.C: include ctime
8600 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8602 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8604 2002-05-14 Juergen Vigna <jug@sad.it>
8606 * text.C (breakParagraph): fixed function to honor the keepempty
8607 layout in the right maner and also to permit the right breaking
8608 algorithm on empty or non empyt keepempty paragraphs.
8610 * paragraph.C (breakParagraph): we have to check also if the par
8611 is really empty (!size()) for isempty otherwise we do the wrong
8614 2002-05-10 Juergen Vigna <jug@sad.it>
8616 * buffer.[Ch] : The following are only changes to the ert
8617 compatibility read reading old LaTeX layout and font stuff and
8618 convert it to ERTInsets.
8620 * buffer.h: added isErtInset().
8622 * buffer.C (struct ErtComp): add a fromlayout bool to check
8623 if we're inside a LaTeX layout.
8624 (isErtInset): new helper function.
8625 (insertErtContents): look for other ert insets before this one
8626 and insert the contents there, so that we don't have subsequent
8627 ERT insets with nothing between them. This way we create only one
8628 inset with multiple paragraphs. Also check if we don't insert only
8629 spaces ' ' as they are ignored anyway afterwards in the .tex file
8630 so if we have only spaces we will ignore this latex part in the
8632 (parseSingleLyXformat2Token \\layout): better compatibility when
8633 reading layout-latex stuff.
8634 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8636 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8637 stuff after reading the inset only get the information back from
8640 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8642 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8644 * LaTeXFeatures.C (getBabelOptions): New method.
8646 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8648 * BufferView_pimpl.C (Dispatch): work around missing argument for
8651 2002-05-08 Juergen Vigna <jug@sad.it>
8653 * text.C (leftMargin): handle paragraph leftindent.
8655 * paragraph.C (writeFile): write the new \\leftindent tag.
8656 (validate): handle leftindent code.
8657 (TeXEnvironment): handle paragraphleftindent code again.
8659 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8661 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8662 for paragrap_extra indent code and new token \\leftindent.
8663 (latexParagraphs): handle the leftindent as environment.
8665 * ParameterStruct.h: added leftindent support.
8667 * ParagraphParameters.C (leftIndent): added support functions for
8668 the paragraph left indent.
8670 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8673 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8675 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8678 * text.C (computeBidiTables): No bidi in insetERT.
8680 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8683 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * version.C.in: pre 5
8687 2002-05-02 José Matos <jamatos@fep.up.pt>
8688 * buffer.C (makeDocBookFile): white space changes, add newline to
8690 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8692 * tabular.C (docBook): fix typo.
8694 2002-05-03 Juergen Vigna <jug@sad.it>
8696 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8697 change in LyXText as we can not be sure it was not freed.
8698 (drawOneRow): remove unused code.
8700 * text.C (drawInset): redo the calculation of the need_break_row as
8701 it could have a row which was already freed.
8702 (draw): look at the return value of drawInset and return false if
8703 it also returned false.
8704 (paintRowText): look at the return value of draw and return false if
8705 it also returned false.
8707 * lyxtext.h: added bool return type to drawInset() and draw() so that
8708 if we have a change in the row so that the rowbreak has to be redone
8709 we abort drawing as it will be called again.
8711 2002-05-02 Juergen Vigna <jug@sad.it>
8713 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8714 a change in the maintext also if we're inside an inset.
8715 (Dispatch): set the cursor again after a break line and after the
8716 screen has been updated as it could be we're in a different row.
8718 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8719 to set the cursor behind the pargraph with > size().
8720 (setCursor): check also for the same paragraph when checking where
8721 to put the cursor if we have a NFR inset.
8723 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8724 parts of layout read further up as it still was in the wrong
8727 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8729 * screen.C (drawFromTo): change sine fullRebreak always return
8732 * buffer.C (parseSingleLyXformat2Token): reindent some
8734 * BufferView_pimpl.C (update): change since fullRebreak always
8736 (Dispatch): git rid of the last hardcoded "Standard"s.
8738 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8740 * text2.[Ch] (fullRebreak): make it return void now that we always
8743 2002-04-30 Juergen Vigna <jug@sad.it>
8745 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8746 ert compatibility check for "latex" layout.
8748 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8750 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8751 minipages: use col% instead of p%, and also use the current font.
8752 (makeLaTeXFile): Fix use babel condition.
8753 (parseSingleLyXformat2Token): Correct font when reading old floats.
8755 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8757 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8758 inserting list of floats.
8760 2002-04-25 Herbert Voss <voss@lyx.org>
8762 * MenuBackend.C (expand): don't add the graphics extensions to the
8765 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8767 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8768 non-existing layout, do not complain if it was the default layout
8769 of the original class (bug #342)
8771 2002-04-24 Juergen Vigna <jug@sad.it>
8773 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8774 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8776 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8778 * buffer.C (getBibkeyList): If using \bibliography, return the
8779 option field with the reference itself. Enables us to provide natbib
8780 support when using \bibliography.
8782 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8784 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8786 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8787 natbib is provided by the LaTeX class.
8789 2002-04-23 Juergen Vigna <jug@sad.it>
8791 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8794 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8796 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8800 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8801 ensuremath around textordmasculine, textordfeminine and
8804 2002-04-19 Juergen Vigna <jug@sad.it>
8806 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8807 reinitializing the buffer otherwise row-dimensions may be wrong.
8808 (update): reset also the selection cursors if they do exits otherwise
8809 their x/y positions may be wrong.
8811 * text2.C (cursorDown): don't enter the inset if we came from a row
8812 above and are one row over the inset.
8814 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8815 really leaving an inset.
8817 2002-04-18 Juergen Vigna <jug@sad.it>
8819 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8820 of the selected paragraph does not have the selected layout also if
8823 * text2.C (setLayout): fixed bug which did not change last selected
8826 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8827 changed the read and substituted \\end_float with \\end_inset!
8829 * BufferView_pimpl.C (cursorPrevious):
8830 (cursorNext): fixed to make it work with rows heigher than the work
8831 area without moving the cursor only the draw of the row.
8832 (workAreaMotionNotify): fix jumping over high rows.
8834 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8836 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8839 2002-04-16 Juergen Vigna <jug@sad.it>
8841 * text2.C (setCursor): set also the irow().
8842 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8844 (cursorDown): support for locking an inset if the x_fix value goes
8845 inside it. That way I can transverse insets too with cursor up/down.
8847 * lyxrow.h: added irow helper function same as other (i) functions.
8849 * BufferView_pimpl.C (cursorPrevious):
8850 (cursorNext): fixed for insets!
8852 2002-04-15 Juergen Vigna <jug@sad.it>
8854 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8855 position otherwise it is wrong in some cases.
8857 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8858 inside the inset before the call.
8860 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8862 * buffer.[Ch] (getBibkeyList): make it const.
8864 2002-04-12 Juergen Vigna <jug@sad.it>
8866 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8868 * text2.C (getCursorX): new helper function
8869 (setCursor): compute also ix_
8870 (setCursorFromCoordinates): set also ix.
8872 * lyxcursor.h: added ix_ and helper functions.
8874 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8876 * buffer.C (insertStringAsLines): dont break paragraph if the this
8877 paragraph is inside an inset which does not permit it!
8879 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8880 also with no chars on this paragraph.
8881 (paintRowText): only paint stuff if it's inside the workarea!
8883 * paragraph.C (breakParagraph): honor keepempty flag and break the
8884 paragraph always below not above.
8886 * BufferView2.C (unlockInset): update the paragraph layout on inset
8887 unlock as we changed paragraph in such a case.
8889 * lyxfind.C (LyXFind): clear the former selection if not found!
8891 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8892 again called in insertChar().
8894 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8895 an inset which uses the whole row!
8896 (rightMargin): ditto.
8897 (insertChar): force a rebreak if we inserted an inset!
8899 2002-03-28 Herbert Voss <voss@lyx.org>
8901 * lyxlength.[Ch]: add inBP() to get the right PS-point
8902 units (BigPoint). With inPixels we have rounding errors
8904 2002-04-11 Juergen Vigna <jug@sad.it>
8906 * text2.C (setCursorFromCoordinates): set iy to the right value.
8907 (setCursor): add check if row->previous exists!
8909 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8910 an old float_type as this was the case in the old code!
8912 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8914 * BufferView2.C (showLockedInsetCursor): use iy
8915 (fitLockedInsetCursor): ditto
8917 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8918 locked insets as there we have the right value now.
8920 * lyxcursor.C: added iy_ variable and iy functions to set to the
8921 baseline of cursor-y of the locked inset.
8923 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8924 (setCursor): fixed for insets which need a full row.
8926 * text.C (rowLastPrintable): don't ignore the last space when before
8927 an inset which needs a full row.
8928 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8929 as last character of a row when before a inset which needs a full row.
8931 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8933 * version.C.in: update date
8935 * text2.C (fullRebreak): try to always return true and see what
8938 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8940 * MenuBackend.C (expand): use Floating::listName
8942 * FloatList.C (FloatList): add listName argument to the built-in
8945 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8946 text associated with the float.
8948 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8950 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8952 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8954 * ShareContainer.h: add a couple of missing typenames.
8956 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8958 * lyxrc.C (getDescription): use _() correctly rather than N_().
8960 2002-03-28 Herbert Voss <voss@lyx.org>
8962 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8963 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8965 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8967 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8968 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8970 2002-03-29 Juergen Vigna <jug@sad.it>
8972 * lyxfunc.C (dispatch): add a missing fitCursor call.
8974 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8975 it was scrolled by a cursor move, so return the bool status.
8977 * BufferView.C (fitCursor): return the bool flag also to the outside
8978 world as this is needed.
8980 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8982 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8983 call the edit() as it is not needed (and wrong) IMO.
8984 (workAreaButtonPress): set the screen_first variable before evt.
8985 unlock the inset as this may change screen_first and then we have
8986 a wrong y position for the click!
8988 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * MenuBackend.C (expand): another translation that I missed
8992 2002-03-28 Juergen Vigna <jug@sad.it>
8994 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8996 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8998 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9000 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9002 * MenuBackend.C (expand): fix export/view/update when there is no
9005 2002-03-27 Herbert Voss <voss@lyx.org>
9007 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9010 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9012 * bufferview_funcs.C (currentState): only show paragraph number
9013 for is DEVEL_VERSION is set.
9015 * lyxfunc.C (dispatch): put warning in INFO channel
9017 * MenuBackend.C (expand): translate the name of floats
9019 * FloatList.C (FloatList): mark the float names for translation
9021 * converter.C (convert): use LibScriptSearch
9023 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * MenuBackend.C (defaults): fix default menu (we might as well get
9028 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9030 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9033 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * lyxvc.C: reorder includes.
9037 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9039 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9042 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9044 * CutAndPaste.C: change layouts earlier on paste
9045 to avoid crashing when calling getFont()
9047 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9049 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9052 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9054 * WorkArea.C: remove 'Pending' debug message.
9056 * most files: ws cleanup
9058 * buffer.[Ch]: ws changes
9060 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9062 2002-03-21 Juergen Vigna <jug@sad.it>
9064 * tabular.C (SetMultiColumn): collapse also the contents of the
9065 cells and set the last border right. Added a Buffer const * param.
9067 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9072 2002-03-19 Juergen Vigna <jug@sad.it>
9074 * text2.C (clearSelection): reset also xsel_cache.
9076 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9077 where it needs to be called (John tells us to do so too :)
9078 (selectionLost): reset sel_cache.
9080 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9082 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9084 * text2.C (setCursorIntern): put debuging code in INSETS channel
9086 2002-03-19 André Pönitz <poenitz@gmx.net>
9088 * lyxfunc.C: tiny whitespace change
9090 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9092 * ToolbarDefaults.C (init):
9093 * LyXAction.C (init):
9095 * BufferView_pimpl.C (Dispatch):
9096 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9098 2002-03-19 Allan Rae <rae@lyx.org>
9100 * exporter.C (Export): removeAutoInsets before doing anything else.
9101 While I've just introduced a dependency on BufferView this really is
9102 the best place to clean the buffer otherwise you need to cleanup in
9103 a dozen places before calling export or cleanup in a dozen functions
9106 * converter.C (runLaTeX):
9107 (scanLog): Better handling of removeAutoInsets and screen updates.
9109 * lyxfunc.C (dispatch): small whitespace changes
9111 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * WorkArea.C (C_WorkAreaEvent): return a value.
9114 (event_cb): return 1 if we handled the event, 0 otherwise.
9116 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9118 2002-03-18 Juergen Vigna <jug@sad.it>
9120 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9121 (GetAdditionalWidth): ditto.
9125 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9126 inset if we're there actually (probably not used right now but this
9127 is the direction to go for unifying code).
9128 (paste): disable code to clear the selection.
9130 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9131 inside an InsetText and move the check further up as it is in the
9134 * text2.C (pasteSelection): set a selection over the pasted text.
9136 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9138 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9139 and libgraphics to build on Cygwin.
9141 2002-03-15 Juergen Vigna <jug@sad.it>
9143 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9144 inserting an Inset into the paragraph. I know this is not the best
9145 fix but we already use current_view in CutAndPaste so we will remove
9146 all of it's using at the same time.
9148 * buffer.C (sgmlError): deactivated function till it is rewritten in
9149 the right mode, now it can create problems.
9151 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9152 before accessing it.
9154 2002-03-14 Juergen Vigna <jug@sad.it>
9156 * undo_funcs.C (textHandleUndo): do the right thing when updating
9157 the inset after the undo/redo.
9159 * text2.C (setCursor): just some testcode for #44 not ready yet.
9161 * undo_funcs.C (textHandleUndo): set the next() and previous()
9162 pointers of the paragraph to 0 before deleting otherwise we have
9163 problems with the Paragraph::[destructor].
9165 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9166 on a paragraph insertion.
9168 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9170 * buffer.C (asciiParagraph): use += operator for char append to
9173 * paragraph.C (getFontSettings): compare >= not just >
9174 (highestFontInRange): ditto
9177 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9179 * paragraph.C: change several algorithm to be more appripriate for
9180 the problem domain. This is lookip in FontList and in the InsetList.
9182 2002-03-13 André Pönitz <poenitz@gmx.net>
9185 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9187 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9192 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9194 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9196 * Painter.C (display): anon helper function, adjust code for this
9198 (pixmap): remove function.
9200 * Painter.h: remove private display variable.
9202 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9204 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9206 * WorkArea.[Ch]: remove figinset_canvas cruft.
9208 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9210 * lyxtextclass.C (operator): add one item cache optimization.
9212 * bufferlist.h: doxy changes
9214 * bufferlist.C: ws changes
9216 * DepTable.[Ch] (ext_exist): place const in the right spot.
9218 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9220 (workAreaExpose): call resizeInsets when the with BufferView changes.
9221 (Dispatch): adjust for protectedBlank removal
9222 (specialChar): call updateInset if the insert went ok.
9224 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9225 specialChar instead.
9227 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9229 * BufferView.h: doxy change
9231 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9233 * lyxtextclass.C (operator[]): remove non-const version
9234 (defaultLayout): remove non-const version
9236 2002-03-12 Juergen Vigna <jug@sad.it>
9238 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9239 did resize the LyXText too.
9241 * buffer.C (readLyXformat2): set layout information on newly allocated
9244 * tabular.C (OldFormatRead): set layout information on the paragraph.
9246 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9248 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9250 2002-03-11 Juergen Vigna <jug@sad.it>
9252 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9254 (resizeCurrentBuffer): force also the insets to resize themselfes.
9255 (moveCursorUpdate): fixed up for InsetText.
9257 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9260 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9261 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9262 value of Dialogs::tooltipsEnabled().
9263 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9265 2002-03-08 Juergen Vigna <jug@sad.it>
9267 * BufferView_pimpl.C (updateInset): update inset inside inset also
9268 if it isn't inside theLockingInset().
9270 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9272 * buffer.C (asciiParagraph): redo some of the word and line length
9274 (getLists): look for Caption instead of caption.
9276 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9278 * buffer.C (Buffer): initialize niceFile to true
9281 (makeDocBookFile): make sure niceFile is true on exit
9283 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9285 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9287 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9289 * LyXSendto.C: remove.
9290 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9291 * lyx_gui.C: remove now-redundant comment.
9292 * ColorHandler.h: remove forward declaration of class WorkArea.
9293 * lyxfunc.C: remove #include "WorkArea.h".
9295 2002-03-07 Juergen Vigna <jug@sad.it>
9297 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9298 got moved away with the DEPM and also set the inset_owner always
9299 right which before could have been omitted.
9301 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9303 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9304 wanted layout is not found.
9306 2002-03-07 Juergen Vigna <jug@sad.it>
9308 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9310 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9312 * paragraph.C (breakParagraph): use default layout not layout of
9314 (Paragraph): clear ParagraphParameters.
9316 2002-03-06 Juergen Vigna <jug@sad.it>
9318 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9319 otherwise it would not be a valid lenght. Fixed a special case in
9320 the minipage compatibility read where we end the document with a
9323 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9324 was set as it could be 0 for InsetTexts first entry.
9326 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9328 * paragraph.C (writeFile): if layout is empty write out
9329 defaultLayoutName().
9331 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9332 file without named layout we set layout to defaultLayoutName().
9334 2002-03-06 Juergen Vigna <jug@sad.it>
9336 * CutAndPaste.C (copySelection): set layout for new paragraph.
9338 * text.C (prepareToPrint): leave ERT inset left aligned
9339 (leftMargin): don't indent paragraphs inside ERT insets
9341 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9343 * paragraph.C (breakParagraph): dont call clear do the work manually
9345 * paragraph.[Ch] (clear): remove function
9347 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * paragraph.C (Paragraph): dont call clear, the work has already
9352 * lyxtextclass.C (operator): assert if n is empty
9354 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9355 work manually instead.
9357 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9359 * BufferView_pimpl.C: protect selectionLost against text == 0
9361 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9363 * text.C (breakParagraph): fix a setting layout to '0' problem.
9365 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9367 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9368 final location of file, for the included files, and graphics.
9370 2002-03-05 Juergen Vigna <jug@sad.it>
9372 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9374 2002-03-04 Juergen Vigna <jug@sad.it>
9376 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9378 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9379 last column of multicolumn cells.
9380 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9382 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9384 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9385 file if it doesn't go to a temporary file.
9387 * buffer.C (sgmlOpenTag):
9388 (sgmlCloseTag): remove extra newline insertion.
9390 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9392 * text.C (getRowNearY): comment out debug msg
9394 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * text2.C: first -> first_y
9398 * text.C (getRowNearY): add some attemts at a possible
9399 optimization, not working.
9401 * tabular.[Ch]: add BufferParams to several function so that newly
9402 created paragraph can be initialized to he default layotu for the
9405 * tabular-old.C (ReadOld): add buf->params to call of Init
9407 * screen.C: rename text->first to text->first_y
9409 * paragraph.C (breakParagraph): always set layout in the broken
9412 * lyxtextclass.C (Read): remove lowercase
9415 (delete_layout): ditto
9417 * lyxtext.h: rename first -> first_y
9419 * lyxlayout.C (Read): remove lowercase
9422 (obsoleted_by): ditto
9424 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9426 * buffer.C (insertErtContents): add params are to InsetERT
9427 (parseSingleLyXformat2Token): add code to check if a paragraphs
9428 layout really exist.
9429 (parseSingleLyXformat2Token): add params to several inset
9431 (asciiParagraph): remove lowercase, do the layout comparisons with
9434 * BufferView_pimpl.C (cursorNext): first -> first_y
9435 (resizeCurrentBuffer): first -> first_y
9436 (updateScrollbar): first -> first_y
9437 (scrollCB): first -> first_y
9438 (workAreaMotionNotify): first -> first_y
9439 (workAreaButtonPress): first -> first_y
9440 (checkInsetHit): first -> first_y
9441 (cursorPrevious): first -> first_y
9442 (cursorNext): first -> first_y
9443 (Dispatch): add buffer_->params to severl inset contructors
9445 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9447 * lyxlayout.C (Read): remove some debug info that I forgot.
9449 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9450 clean up the code slightly.
9451 (makeLinuxDocFile): ditto
9452 (makeDocBookFile): ditto
9454 * text2.C: layout as string
9456 * text.C: layout as string
9458 * paragraph_pimpl.C: layout as string
9460 * paragraph.[Ch]: layout as string
9462 * lyxtextclasslist.[Ch]: layout as string
9464 * lyxtextclass.[Ch]: layout as string
9466 * lyxtext.h: layout as string
9468 * lyxlayout.[Ch]: layout as string
9470 * lyx_cb.C: layout as string
9472 * bufferview_funcs.C: layout as string
9474 * bufferparams.C: layout as string
9476 * buffer.C: layout as string
9478 * LyXView.[Ch]: layout as string
9480 * LaTeXFeatures.[Ch]: layout as string
9482 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9484 * BufferView_pimpl.C: change current_layout to string, remove
9489 (workAreaButtonRelease): layout as string
9491 * BufferView2.C (unlockInset): adjust
9493 * vspace.C (asLatexCommand): use an explict temp variable.
9495 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9497 * Makefile.am: use FRONTEND_*
9499 2002-03-01 Juergen Vigna <jug@sad.it>
9501 * tabular.C (SetWidthOfMulticolCell): changed to something better
9502 I hope but still work in progress.
9503 (recalculateMulticolumnsOfColumn): renamed function from
9504 recalculateMulticolCells as it is more appropriate now.
9505 (SetWidthOfCell): calculate multicols better.
9507 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9509 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9511 * lyxfunc.C (processKeySym): print sequence also if it is
9512 `deleted' (complete)
9514 * kbsequence.C (print): print sequence even if it is deleted
9515 (complete would be a better word, actually).
9517 * lyxfunc.C (dispatch): print complete options after a prefix key
9519 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9521 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9523 * text2.C (setCharFont): eliminate setCharFont code duplication.
9525 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9528 LFUN_TABULAR_FEATURE (bug #177)
9530 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9532 * Makefile.am: remove figure.h
9534 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9536 * Bufferview_pimpl.C:
9548 * text2.C: remove #include "lyx_gui_misc.h".
9550 * LaTeX.C: added #include <cstdio>
9552 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9554 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9555 that the paragraph following this one can have.
9557 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9559 * vspace.C (asLatexCommand): fix bogus gcc warning
9561 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9563 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9565 * text2.C (setLayout): get rid of redundant code
9567 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9569 * text2.C (incDepth): make sure depth cannot be increased beyond
9572 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9574 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9575 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9577 * PainterBase.h (image):
9578 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9581 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9585 * BufferView_pimpl.C:
9586 * BufferView_pimpl.h:
9606 * sp_spell.C: remove fig inset, and the crap house of
9607 cards that follows it
9609 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9615 * nt_defines.h: move .h into support/
9617 * vms_defines.h: remove
9619 * WorkArea.C: add space in debug output
9623 * buffer.C: add WITH_WARNINGS
9627 * bufferlist.C: s/retrive/retrieve/, add docs
9638 * lyxgui.C: add ID to X error handler
9640 * lyxtestclass.c: fix typo
9642 2002-02-26 Juergen Vigna <jug@sad.it>
9644 * tabular_funcs.C (write_attribute): changed so that some default
9645 attributes are not written at all.
9646 (getTokenValue): set default values before trying to read the
9647 value so we have the return value always set as default if we don't
9648 find the token we search for.
9650 * tabular.C (Write): write bools as bools not as strings!
9652 2002-02-22 Juergen Vigna <jug@sad.it>
9654 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9655 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9657 * text.C (leftMargin): don't add an indent for paragraphs inside
9658 tabular cells (fix #208).
9660 2002-02-21 José Matos <jamatos@fep.up.pt>
9662 * tabular.C (docBook): fixed support for long tables.
9664 2002-02-20 Juergen Vigna <jug@sad.it>
9666 * text2.C (getFont): get the drawing font of the Inset if this
9667 paragraph is inside an inset (only important for InsetERT for now).
9669 * buffer.C (insertErtContents): use new lanugage params in ERT
9672 * CutAndPaste.C: commenting out seemingly uneeded code.
9674 2002-02-19 Allan Rae <rae@lyx.org>
9676 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9677 Iterators might be simple to use but they also get invalidated.
9678 (removeAutoInsets): renamed saved cursor tracking variables and added
9679 some comments to clarify what everything does.
9681 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9688 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9689 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9692 * vc-backend.h: remove #include "support/syscall.h"
9696 * converter.C: rearrange #includes in Lars' approved fashion.
9698 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9699 forward declare class Timeout in the header file.
9701 * XFormsView.C: changes due to the above.
9703 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9706 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9707 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9709 2002-02-18 José Matos <jamatos@fep.up.pt>
9711 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9714 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9716 * a lot of small ws changes
9717 * add a lot of using std::XXX
9718 * use std construcs some places where approp.
9719 * use some exisint stuff from lyxfunctional where approp.
9720 * Make file changes to use partial linking (lets test this now...)
9722 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9726 remove #include "support/syscontr.h" as it's redundant. Always has been.
9734 change Systemcalls::System to Systemcalls::Wait and
9735 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9736 No change of functionality, just reflects the stripped down Systemcalls
9739 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9741 * debug.[Ch]: add a GRAPHICS type to the enum.
9743 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9747 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9750 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9752 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9753 match the changes below.
9755 * text2.C (toggleInset): if there is not editable inset at cursor
9756 position, try to see if cursor is _inside_ a collapsable inset
9759 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9761 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9762 document menu has a nice checkbox
9764 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9766 * lyxlength.C (asLatexString): change PW to output as percent of
9769 * lengthcommon.C: change '%' to 't%'
9771 * lyxfunc.C (dispatch): a few comments from Martin
9773 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9777 * BufferView_pimpl.h:
9778 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9781 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * vspace.C (inPixels): fix compiler warning
9785 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * lyxfunc.C (getStatus): fix status message for disabled commands.
9789 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9791 * BufferView_pimpl.C: fix crash on close buffer
9792 during selection (#227)
9794 2002-01-27 Herbert Voss <voss@lyx.org>
9796 * buffer.C: link old Figure to new graphic inset
9798 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9800 * FontLoader.C (getFontinfo): Change the latex font names in order
9801 to match the names of type1inst.
9803 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9805 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9807 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9810 (remove_files_with_extension): ditto
9811 (remove_file): ditto
9814 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9815 document is smaller than the work area height. Do not initialize
9816 static variables to 0.
9818 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9820 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9822 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9823 LFUN_LAYOUT_PARAGRAPHS.
9825 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9826 tabular. It is possible to provide a possible cell, which will
9827 typically be the actcell from the corresponding insettabular
9829 * lyxfunc.C (getStatus): small cleanup; disable
9830 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9833 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9835 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9837 * paragraph.C (startTeXParParams):
9838 (endTeXParParams): new methods. The LaTeX code to
9839 start/end paragraph formatting
9840 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9841 empty (fixes bug #200)
9843 * vspace.C (inPixels): adapt to the change below
9844 (inPixels): [later] more cleanups (remove unused variables)
9846 * lyxlength.C (inPixels): change to use a width and a height as
9849 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9851 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9852 Replaced with \paperwidth
9854 * DepTable.C (insert): add std:: qualifier
9856 2002-01-18 Allan Rae <rae@lyx.org>
9858 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9861 * text.C (drawInset): Turned out I didn't know enough about how
9862 rebreaking worked. This fixes most of the redraw problems. I see
9863 an occasional cursor trail when a line is broken now and the cursor
9864 placement can seem out by a few pixels also after a rebreak.
9866 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9868 * buffer.C (parseSingleLyXformat2Token): update because minipage
9869 width is now a LyXLength
9871 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9873 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9876 2002-01-17 Juergen Vigna <jug@sad.it>
9878 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9880 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9881 is set correctly and the inset is updated correctly.
9883 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9885 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9886 the beginning of the loop.
9888 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9890 * lyxrc.C: improve help for use_scalable_fonts
9892 2002-01-17 Allan Rae <rae@lyx.org>
9894 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9896 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9898 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9899 make sure to set their inset_owner to the right value (bug #171)
9901 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9904 * DepTable.C: Implement mtime checking to reduce time spent doing
9907 2002-01-16 Juergen Vigna <jug@sad.it>
9909 * tabular.C (GetAdditionalHeight): one of error fixed.
9911 * lyxrc.C (output): small fix in writing use_pspell.
9913 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9915 * sp_base.h: #include LString.h
9917 2002-01-16 Allan Rae <rae@lyx.org>
9919 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9920 Can someone check this please?
9922 * text.C (drawInset): It was possible that p.row would be removed by
9923 breakAgainOneRow upsetting a few other settings. There may be another
9924 small tweak possible by setting need_break_row = 0 when p.row has been
9925 removed but I don't know enough about the logic here.
9927 2002-01-15 Allan Rae <rae@lyx.org>
9929 * text.C (insertChar): removed conditional truism.
9931 * BufferView2.C (removeAutoInsets): More tweaks.
9932 cur_par_prev could be a stray pointer. Check for trailing empty line
9933 in case last line was cur_par and only had an error inset on it.
9935 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9940 * vc-backend.C (most methods):
9941 * exporter.C (Export):
9942 * converter.C (convert):
9944 * LyXSendto.C (SendtoApplyCB):
9945 * lyxfunc.C (dispatch):
9949 * lyx_cb.C (AutoSave):
9951 * BufferView_pimpl.C (MenuInsertLyXFile):
9952 * buffer.C (runChktex): use Buffer::filePath().
9954 * buffer.h: rename filename to filename_; rename filepath to
9955 filepath_ and make it private
9956 (filePath): new method
9958 * buffer.C (writeFile): use fileName()
9961 * lyx_main.C (init): fix starting of LyX when the binary is a
9962 link from so,ewhere else.
9964 * minibuffer.C: include <cctype> for isprint
9966 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9968 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9969 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9970 name clash with InsetCollapsable's width function.
9972 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * lastfiles.C: include <iterator>
9976 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9978 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9981 * buffer.C (makeLaTeXFile): ditto.
9982 Also make loop operation more transparent.
9984 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9986 * ToolbarDefaults.C: remove trailing comma closing namespace.
9988 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9990 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9993 * trans.C (Load): comment out unused variable, allowed.
9995 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9997 * minibuffer.[Ch] (append_char): new method to recieve input from the
9998 drop-down completion browser. If a key was pressed, then recieve this
9999 char and append it to the existing string.
10000 (peek_event): modify the positioning data passed to the completion
10001 browser so that it can be placed above the minibuffer rather than below.
10002 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10004 * LyXAction.C (init): alloe error-next for readonly documents.
10006 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10009 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * bufferlist.C (readFile): create the buffer _after_ checking that
10014 * lyxfunc.C (verboseDispatch): fix handling of arguments
10016 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10018 * lyxrc.C: use string::erase() instead of initializing to "".
10021 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10023 * BufferView_pimpl.h:
10024 * BufferView_pimpl.C:
10027 * text2.C: tell X when we have made a selection for copying
10029 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10031 * BufferView_pimpl.C (MenuInsertLyXFile):
10032 * lyxfunc.C (menuNew):
10034 (doImport): add shortcuts to directory buttons
10036 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10039 * lyxfunc.C (setStatusMessage):
10040 (getStatusMessage): new methods
10041 (getStatus):use setStatusMessage instead of setErrorMessage
10042 (dispatch): when function is disabled, set error message here
10043 [instead of in getStatus previously]
10045 * BufferView_pimpl.C (workAreaButtonRelease): update
10046 toolbar/menubar here too.
10048 2002-01-13 Allan Rae <rae@lyx.org>
10050 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10051 Now seems indestructible. Remaining task is to audit all other
10052 code affected by deleteEmptyParagraphMechanism. One small quirk
10053 left is that an empty document with an error in the preamble can
10054 be made to report an error but no error box appears. I don't know
10056 (removeAutoInsets): Improved comments.
10058 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10061 * Thesaurus.C: update for Aiksaurus 0.14
10063 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10065 * text2.C (firstParagraph): removed member function, all uses
10066 replaces with ownerParagraph
10067 (redoParagraphs): here
10068 (updateInset): here
10069 (toggleAppendix): here
10070 * BufferView2.C (insertErrors): here
10071 (setCursorFromRow): here
10073 2002-01-13 Allan Rae <rae@lyx.org>
10075 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10076 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10077 There is still a way to segfault this although you may have to do this
10078 multiple times: Have an InsetERT with an unknown command in it.
10079 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10080 <down-arrow>, <Enter> again, View->DVI, BANG!
10082 * text2.C (setCursor):
10083 (deleteEmptyParagraphMechanism):
10084 * lyxtext.h (setCursor):
10085 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10086 Making use of the return value may help fix other bugs.
10088 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10092 * LyXView.C (updateMenubar): call MenuBar::update here
10093 (updateToolbar): but not here
10094 (showState): do not update toolbar/menubar
10096 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10097 should need to care about that.
10099 * lyxfunc.C (verboseDispatch): simplify a bit
10100 (getStatus): have a version which takes a pseudoaction, and
10101 another which requires a (kb_action,string).
10103 * LyXAction.C (retrieveActionArg): make it work also when action
10104 is not a pseudo-action.
10105 (getActionName): simplify a bit
10108 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * lyxfunc.C (verboseDispatch): new families of methods with
10111 several ways to specify a command and a bool to indicate whether
10112 the command name and shortcut should be displayed in minibuffer
10113 (eventually, we could extend that to a finer bitmask like
10114 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10115 (dispatch): the pristine dispatch command which just, well,
10116 dispatchs! Note it still sets its result to minibuffer; I'm not
10119 * lyxfunc.h: remove setHintMessage
10121 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10123 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10125 * BufferView_pimpl.C (specialChar): delete new inset if we have
10126 not been able to insert it.
10128 * kbmap.C: revert to using int instead of kb_action, since all we
10129 are dealing with is pseudo-actions.
10131 * LyXAction.C (searchActionArg): change to return int instead of
10132 kb_action, since the result is a pseudoaction.
10134 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10136 * buffer.C (insertErtContents): Fix (partially) the font bug.
10138 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10140 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10141 as the other one is broken on my machine!
10143 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10146 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10148 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10150 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10151 reflect their actual use. Provide compatibility code for older lyxrc
10154 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10156 change names of popup font variables in line with the changes to lyxrc.C
10158 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10160 * buffer.C (asciiParagraph): avoid outputing a word twice after
10163 * lyxrc.C (getDescription): document that document_path and
10164 template_path can be empty.
10166 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * LaTeXFeatures.C (getMacros):
10169 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10171 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10173 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10175 (getPackages): rename feature "floats" to "float". Use an array to
10176 iterate over 'simple' features (i.e. just a \usepackage). Add
10177 handling of "amsmath" (renamed from "amsstyle").
10179 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10181 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10184 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10186 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10187 FuncStaus::FuncStatus & FuncStaus::some_method().
10189 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10191 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10192 of the func_satus stuff. Edited and massaged in various ways by
10195 * lyxfunc.C (getStatus): use FuncStatus
10197 2002-01-08 Juergen Vigna <jug@sad.it>
10199 * text.C (nextBreakPoint): use function Inset::isChar().
10201 * paragraph.C (TeXOnePar): use function
10202 Inset::forceDefaultParagraphs.
10204 * buffer.C (latexParagraphs): use function
10205 Inset::forceDefaultParagraphs.
10207 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10209 * lyx_gui.C (init): set the style of the menu popups to
10210 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10212 2002-01-07 Juergen Vigna <jug@sad.it>
10214 * text.C (setHeightOfRow): small fix
10215 (prepareToPrint): don't look at alignment if we don't have the place
10218 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10220 * box.C: New file. Move the Box methods and functions out of box.h,
10221 following Lars' suggestion.
10223 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10225 * box.h: #include "support/LOstream.h", needed for inlined function.
10228 * lyxtextclasslist.C: added some using std declarations.
10230 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10232 * box.h: make signed dimensions to allow insets wider than
10233 the screen (bug #162)
10235 * BufferView_pimpl.C: add some insetHit debug
10237 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10239 * vc-backend.C: add FIXME
10241 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10243 * lyxfunc.C (getStatus): enable code for showing math font status
10246 2002-01-07 Juergen Vigna <jug@sad.it>
10248 * text.C (nextBreakPoint): removed debug output not needed anymore.
10250 2002-01-06 Juergen Vigna <jug@sad.it>
10252 * text.C (nextBreakPoint): fixed up this function we had this bug
10253 since ever but now hopefully we break row better.
10254 (insertChar): we have to check if an inset is the next char as it
10255 could now happen that a large inset is causing a break.
10257 2002-01-05 Juergen Vigna <jug@sad.it>
10259 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10260 if it doesn't like to be drawed.
10262 2002-01-04 Juergen Vigna <jug@sad.it>
10264 * BufferView2.C (lockInset): forgot to set a cursor.
10266 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10268 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10270 * FormMathsPanel.C:
10273 * form_maths_panel.C:
10274 * form_maths_panel.h:
10275 * form_maths_panel.fd: implemented sub- and super- buttons in math
10278 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10279 (or ^ space) to be used as in TeX (req'd by André).
10281 * lyxfunc.C: Allow ^ and _ again to be used both as
10282 super/subscript (mathed) and as themselves (in text).
10284 2002-01-03 Allan Rae <rae@lyx.org>
10286 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10287 "LyX" or the filename of the current buffer if it has one. This is a
10288 modified form of John Levon's patch.
10290 * XFormsView.C (setWindowTitle): also set icon title.
10292 * LyXView.h (setWindowTitle): signature changed.
10293 * XFormsView.h (setWindowTitle): ditto.
10295 2002-01-02 Juergen Vigna <jug@sad.it>
10297 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10299 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10301 * screen.C (topCursorVisible): introduce a temp var for
10302 text->cursor.row(), handle the case where this row is null. (kindo
10305 * text2.C (setCursor): add a couple of asserts.
10307 * paragraph.h (inset_iterator): add -> operator
10309 * paragraph.[Ch] (autoDeleteInsets): remove member function
10311 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10312 cursor pos correctly and handle inset deletion by itself.
10313 (insertErrors): move iterator declaration out of for expression
10315 * lyxtextclass.C: add <algorithm>
10317 * Makefile.am: added the new files to sources, removed layout.C
10319 * layout.C: removed file
10321 * layout.h: remove LYX_DUMMY_LAYOUT
10323 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10327 * lyxtextclass.[Ch]:
10328 * lyxtextclasslist.[Ch]: new files
10330 * include order changes to a lot of files, also changes because of
10333 2001-12-27 Juergen Vigna <jug@sad.it>
10335 * buffer.C (asciiParagraph): more fixes.
10337 * tabular.C (ascii): make ascii export support export of only the
10338 data separated by a column-delimiter.
10339 (ascii): better support for ascii export.
10341 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10343 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10345 * tabular_funcs.C: use a "using std::getline" instead of the
10346 previous fix from Angus (necessary for cxx + lyxstring)
10348 2001-12-24 Juergen Vigna <jug@sad.it>
10350 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10352 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10353 problems. First check a minipage also if we have some ert-contents
10354 (not only on par->size(), second set the right depth of the paragraph
10355 on the relink to the root-paragraph-list!
10357 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10358 which then did not anymore update the main paragraphs on undo/redo!
10360 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10362 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10363 code. Support all font-changing funcs (even those which are not in
10364 menu currently). Support for reporting font settings in
10365 mathed (disabled until Andre provides a function on mathed's side).
10367 * func_status.h (toggle): small helper function to set toggle
10370 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10372 * tabular_funcs.C: getline -> std::getline
10374 2001-12-21 Juergen Vigna <jug@sad.it>
10376 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10377 accessed and could be 0 (I couldn't generate this but it seems
10380 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10382 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10383 * tabular_funcs.h: here and include iosfwd
10385 2001-12-20 Juergen Vigna <jug@sad.it>
10387 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10388 inside inset but undo_par was.
10390 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10392 * Thesaurus.C: always include <config.h> in sources.
10396 * box.h: do not include <config.h> in header files
10398 * text.C (paintLastRow): remove unused variable
10400 * text.C (transformChar):
10402 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10404 * Painter.C (text):
10405 * font.C (width): rewrite to use uppercase() instead of
10408 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10410 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10412 * lyxfind.C: clean up of find failure position change
10414 2001-12-20 Juergen Vigna <jug@sad.it>
10416 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10418 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10419 (TeXRow): added to LaTeX a single tabular row.
10420 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10421 (Latex): simplified and finally good LT-h/f support.
10422 (various_functions): just small adaptions for LT-h/f support.
10424 * tabular_funcs.[hC]: added and moved here all not classfunctions
10427 2001-12-19 Juergen Vigna <jug@sad.it>
10429 * tabular.[Ch]: better support for longtabular options (not finished
10432 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * text.C (paintLastRow): use the label font instead of the font of
10435 the last character to compute the size of *_BOX. This makes more
10436 sense and avoids a crash with empty paragraphs.
10437 Use Painter::rectangle to draw EMPTY_BOX.
10439 2001-12-19 Juergen Vigna <jug@sad.it>
10441 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10442 the paragraphs if the replaced paragraph is not the first one!
10443 Tried to delete not used paragraphs but does not work yet so for
10444 now it's inside #ifdef's and by default off!
10446 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10448 * MenuBackend.C: include "lyx_main.h" instead of declaring
10449 lastfiles (actually was declared as LastFiles* instead of a
10452 2001-12-17 Juergen Vigna <jug@sad.it>
10454 * tabular.C (AppendColumn): applied John's fix
10456 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10460 * BufferView_pimpl.h:
10461 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10464 * box.h: new start of class for above
10466 * lyxfunc.C: ignore space-only minibuffer dispatches.
10467 Show the command name when it doesn't exist
10469 * minibuffer.C: don't add empty lines to the history
10471 * minibuffer.C: add a space on dropdown completion
10473 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10475 * text.C: fix line above/below drawing in insets
10477 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * lyxlength.C (LyXLength): Initialize private variables.
10481 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10483 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10484 when inserting error insets.
10486 2001-12-13 Juergen Vigna <jug@sad.it>
10488 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10489 actually sometimes the before-paragraph.
10490 (setUndo): don't clear the redostack if we're not actually undoing!
10492 2001-12-06 Juergen Vigna <jug@sad.it>
10494 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10495 and fixed redoing of main paragraph, so we can use it now ;)
10497 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10499 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10501 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10504 2001-12-13 André Pönitz <poenitz@gmx.net>
10507 * undo_func.C: minor cleanup
10509 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10512 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10513 font in urw-fonts package which is marked as -urw-fontspecific and
10514 does not work (incidentally, changing the encoding in the
10515 fonts.dir of this package to -adobe-fontspecific fixes the
10518 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10519 is a crash when undoing first paragraph (Juergen, please take a
10520 look). THis does not mean the undo fix is wrong, just that it
10523 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10524 the (Paragraph*) version when needed instead of duplicating the
10527 * text.C (workWidth): use Inset::parOwner to find out where the
10528 inset has been inserted. This is a huge performance gain for large
10529 documents with lots of insets. If Inset::parOwner is not set, fall
10530 back on the brute force method
10532 * paragraph_pimpl.C (insertInset):
10533 * paragraph.C (Paragraph):
10534 (cutIntoMinibuffer): set parOwner of insets when
10535 inserting/removing them
10537 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10539 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10545 * mathed/formulabase.C:
10546 * mathed/math_cursor.[Ch]:
10547 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10550 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10552 * lyxlength.[Ch] (operator!=): new function
10554 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10556 * text.C (workWidth): use Inset::parOwner to find out where the
10557 inset has been inserted. This is a huge performance gain for large
10558 documents with lots of insets. If Inset::parOwner is not set, fall
10559 back on the brute force method
10561 * paragraph_pimpl.C (insertInset):
10562 * paragraph.C (Paragraph):
10563 (cutIntoMinibuffer): set parOwner of insets when
10564 inserting/removing them
10566 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10568 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * tabular-old.C (getTokenValue):
10571 * tabular.C (getTokenValue):
10572 (write_attribute): new versions for LyXLength
10573 (everywhere): adjust the use of widths
10575 * tabular.h: change the type of widths from string to LyXLength
10577 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10579 * paragraph.C: fixed missing line number count when exporting
10580 Environments to LaTeX file
10582 * buffer.C: added informational message for checking line numbers.
10584 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10586 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10587 paragraph, do the 'double space' part, but not the 'empty
10590 * text.C (workWidth): small optimization
10591 (getLengthMarkerHeight): use minimal size for negative lengths.
10593 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10595 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10597 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10599 2001-12-11 André Pönitz <poenitz@gmx.net>
10602 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10604 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10606 * text2.C: keep selection on a setFont()
10608 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10610 * lyx_cb.C: another bv->text misuse, from insert label
10612 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10615 * kbsequence.C: re-instate nmodifier mask
10617 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10619 * lyx_main.h: make lyxGUI private.
10621 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10623 * lyxfind.C: place the cursor correctly on failed search
10625 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * text.C (getLengthMarkerHeight): for small heights, the arrows
10628 are not always on top/bottom of the text
10629 (drawLengthMarker): smaller arrows; take the left margin in
10630 account; draw also vfills.
10632 (paintLastRow): remove special code for vfill and standard spaces,
10633 since everything is handled in drawLengthMarker now.
10635 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10637 * buffer.C (insertErtContents): try to handle font and language
10638 interaction a bit better.g
10640 * ColorHandler.C (updateColor): change the hash to cover the whole
10641 LColor enum, ws cleanup
10642 (getGCLinepars): ditto
10643 (getGCLinepars): only lookup in the linecache once.
10645 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10647 * iterators.C (operator++): Make the iterator more robust
10649 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10653 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10656 * text.C: better added space drawing
10658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10661 * BufferView2.C: fix layout combo update on inset unlock
10663 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10665 * Makefile.am: don't compile unused files
10667 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10671 * LyXAction.C: remove old LFUN_LAYOUTNO
10673 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10675 * paragraph_pimpl.h:
10676 * paragraph_pimpl.C: isTextAt() doesn't need font param
10678 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10681 * lyxlex.C: little cleanup
10683 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10685 * BufferView_pimpl.C: fix insertAscii for insets
10687 2001-12-05 Juergen Vigna <jug@sad.it>
10689 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10690 set the right font on the "multi" paragraph paste!
10692 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * lyxlength.C: remove out-commented code.
10700 * BufferView_pimpl:
10714 * vc-backend.C: change "while(" to "while ("
10716 * lyxlength.[Ch]: add zero function to check if length is zero or
10718 * lyxgluelength.C: use it
10720 2001-12-05 Allan Rae <rae@lyx.org>
10722 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10723 Works for 2.95.3, from what I understand of Garst's reports this should
10724 work for other g++ versions. We're screwed if the abs(int) definition
10725 changed between bugfix releases of gcc.
10727 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10729 * text.C: fix chapter label offset !
10731 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10734 * text.C: fix hfill at end of line, clean up
10736 2001-12-04 Juergen Vigna <jug@sad.it>
10738 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10739 that we force an update of the inset and it's owners if neccessary.
10741 2001-12-03 Juergen Vigna <jug@sad.it>
10743 * text.C (rowLast): simplified code
10745 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10747 * lyxfunc.C: fix show options on timeout
10749 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * screen.C (topCursorVisible): scroll half a page when the cursor
10752 reached top of bottom of screen
10754 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10756 * minibuffer.C: deactivate on loss of focus
10758 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10760 * vspace.[Ch] (operator!=): add operator.
10762 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10764 * BufferView_pimpl.C: refuse to open an inset when
10765 there's a selection.
10767 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10769 * BufferView_pimpl.C: allow to click on RHS of full row insets
10771 2001-11-30 Juergen Vigna <jug@sad.it>
10773 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10774 insets for undo reasons.
10776 2001-11-28 André Pönitz <poenitz@gmx.net>
10778 * vspace.[Ch]: cosmetical changes
10780 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10790 * kbsequence.C: part re-write of old kb code
10793 * WorkArea.C: remove Lgb_bug_find_hack
10795 2001-11-30 José Matos <jamatos@fep.up.pt>
10797 * buffer.C (makeDocBookFile): add a comment to point a hack.
10798 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10799 Fixed a double write of labels.
10801 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10804 * LaTeX.h Fixed bug in LaTeX class where it would not
10805 re-run latex if no depfiles were changed, but the .dvi was removed.
10807 2001-11-28 André Pönitz <poenitz@gmx.net>
10809 * all the files from the change on 2001/11/26:
10810 use lyx::layout_type instead of LyXTextClass::size_type
10811 use lyx::textclass_type instead of LyXTextClassList::size_type
10813 2001-11-29 Juergen Vigna <jug@sad.it>
10815 * text.C: added support for paragraph::isFreeSpacing()
10817 * buffer.C: same as above
10819 * paragraph.h: inserted isFreeSpacing() function to enable
10820 FreeSpacing inside InsetERT.
10822 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10823 of the paragraph's in the cut/copy buffer to 0!
10825 * text2.C (removeRow): remove the assert as it can!
10827 * lyxtext.h: added helper function firstRow returning firstrow and
10828 made firstrow private again.
10830 * BufferView2.C (lockInset): don't relock if we're already locked!
10832 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10833 the only paragraph.
10834 (removeRow): added Assert::(firstrow)
10836 * debug.C: forgot to add INSETTEXT here.
10838 2001-11-28 Juergen Vigna <jug@sad.it>
10840 * sp_spell.C (initialize): changed error text to more general
10841 spellchecker command use (not only ispell!)
10843 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10845 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10847 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10849 * vspace.C: initialise lyxgluelength on failure
10851 2001-11-28 Allan Rae <rae@lyx.org>
10853 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10854 declaration & definition that looks like a function declaration.
10856 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10858 * BufferView2.C (copy):
10859 (copyEnvironment): do not clear the selection when doing a copy.
10861 * text.C (paintFirstRow): compilation fix
10863 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10865 * tabular.C (Latex): correct line count when writing latex.
10867 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10869 * paragraph_pimpl.h:
10870 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10873 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10877 * LColor.C: change vfillline->added_space
10879 * text.C: add markers and text for added space
10881 * vspace.C: fix comment
10883 2001-11-28 André Pönitz <poenitz@gmx.net>
10885 * paragraph.C: whitespace changes
10886 * all the other files from the change on 2001/11/26:
10887 change *::pos_type into lyx::pos_type
10889 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10891 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10892 language of the document when inserting error insets.
10894 2001-11-26 André Pönitz <poenitz@gmx.net>
10896 * BufferView_pimpl.[Ch]:
10904 * paragraph_pimpl.[Ch]:
10907 * text2.C: reduce header dependencies, introduce type for positions
10909 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10911 * <various>: change to use Alert.h
10913 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10915 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10916 when encountering an unknown token.
10917 (readLyXformat2): Show an error message if there were unknown tokens.
10919 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10922 * BufferView_pimpl.C:
10926 * text2.C: use par->isInset()
10928 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10930 * paragraph_pimpl.h:
10931 * paragraph_pimpl.C: cleanup
10933 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10935 * text2.C (removeRow):
10936 * text.C (setHeightOfRow): remove useless (and costly) call to
10939 2001-11-20 Allan Rae <rae@lyx.org>
10941 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10942 Now need Inset*::checkInsertChar() to return true for appropriate
10943 cases so that the characters in the minibuffer will actually be
10946 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10948 * text.C: change the order of the includes.
10949 (workWidth): initialize it at once.
10950 (workWidth): make maxw unsigned
10951 (setHeightOfRow): remove unused variable (inset)
10952 (selectSelectedWord): remove unused variable (inset)
10953 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10955 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10957 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10958 server is not running.
10960 (closeConnection): add debug info when server is disabled.
10962 * ColorHandler.C (getGCForeground): send debug message to GUI
10965 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10967 * kbmap.C (bind): modify because return conventions of
10968 kb_sequence::parse have changed.
10970 * kbsequence.C (parse): only ignore spaces and not any stupid
10971 control character. This avoids tests like s[i] <= ' ', which are
10972 guaranteed to fail with 8bit characters and signed chars.
10973 Change return code to string::npos when there have been no error
10974 (0 was a bad idea when error is at first character)
10976 2001-11-14 José Matos <jamatos@fep.up.pt>
10979 * buffer.C (simpleDocBookOnePar): removed unused argument.
10981 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10983 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10984 insets which are part of a word. Paragraph::isLetter takes care of
10985 that now. Use Paragraph::isInset to identify insets.
10986 (selectSelectedWord): do not test for hyphenation break.
10988 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10989 that protected spaces are considered as spaces.
10991 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10994 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10997 * lyxserver.C: fix it. and small cleanup.
10999 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11001 * BufferView_pimpl.C: use inline helpers
11004 * LaTeXFeatures.C: fix typos
11007 * Spacing.C: move spacing_string into class
11009 * ToolbarDefaults.C: move stuff into namespace anon
11011 * layout.h: update enum
11013 * lyxfunc.C: use better debug
11015 * minibuffer.h: fix typo
11019 * WorkArea.C: add and use Debug::WORKAREA
11023 * text2.C: code re-organisation, inline helpers
11025 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11027 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11028 std::vector.empty().
11030 2001-11-09 Allan Rae <rae@lyx.org>
11032 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11033 '\n's after tables. Tabular and ERT inset work now makes this no
11036 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11039 * minibuffer.C: fix crash, improve drop-down completion
11041 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11044 * lyxserver.C: invalidate fd's when doing endPipe()
11046 2001-11-08 José Matos <jamatos@fep.up.pt>
11048 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11049 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11052 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11054 2001-11-07 José Matos <jamatos@fep.up.pt>
11057 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11060 * buffer.C (sgmlOpenTag):
11061 * buffer.C (sgmlCloseTag): removed debug info.
11063 * buffer.h (sgmlOpenTag):
11064 * buffer.h (sgmlCloseTag): made public.
11066 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11068 * buffer.C (saveParamsAsDefaults):
11069 * lyx_cb.C (MenuLayoutSave): remove
11071 * LyXAction.C (init):
11073 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11075 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11077 * buffer.C (setPaperStuff): removed from here...
11079 * bufferparams.C (setPaperStuff): ... and moved there.
11081 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11085 * XFormsView.C: add support for drop-down completion
11087 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11089 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11092 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11094 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11097 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11099 * lyx_main.C: change ref to known bugs
11101 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11103 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11104 to work around older babel problems.
11106 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11108 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11110 2001-10-24 Juergen Vigna <jug@sad.it>
11112 * tabular-old.C (ReadOld): below variable changes reflected.
11114 * tabular.[Ch]: added ltType struct for longtable header/footer
11115 defines and changed all instances where they are used. Added
11116 future support for double top/bottom rows.
11118 2001-10-24 José Matos <jamatos@fep.up.pt>
11120 * buffer.h (docbookHandleCaption):
11121 * buffer.C (docbookHandleCaption): removed unused function.
11122 (makeDocBookFile): moved docbook supported version to v4.1.
11124 2001-10-24 José Matos <jamatos@fep.up.pt>
11127 * tabular.C (docbookRow): new function to export docbook code of a row.
11128 (DocBook): now honors the longtable flags.
11130 2001-10-23 José Matos <jamatos@fep.up.pt>
11133 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11134 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11136 * buffer.C (makeLinuxDocFile):
11137 (makeDocBookFile): reworked the preamble, more clean, and with
11138 support for lyx defined entities. Changed the document declaration
11139 to be more XML friendly.
11141 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11142 if we need to output XML that should be done with a filter.
11144 2001-10-22 Juergen Vigna <jug@sad.it>
11146 * sp_pspell.h (class PSpell): add alive function needed in the
11147 controller to see if the spellchecker could be started.
11149 2001-10-22 Juergen Vigna <jug@sad.it>
11151 * buffer.C (insertStringAsLines): modify the font for inserting
11152 chars in certain conditions by calling checkInsertChar(font).
11154 2001-10-19 Juergen Vigna <jug@sad.it>
11156 * text.C (workWidth): use getRow instead of wrong algorithm.
11157 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11159 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11164 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11166 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * text.C (workWidth): do not search for the exact row when
11169 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11170 optimization for big documents.
11172 2001-10-18 Juergen Vigna <jug@sad.it>
11174 * text.C (workWidth): new function with added Inset * parameter.
11176 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11178 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11180 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11181 change return type of getColumnNearX.
11184 * text.C (changeRegionCase): use uppercase/lowercase instead of
11187 (rightMargin): simplify code by factoring out the uses of
11192 (appendParagraph): use Paragraph::size_type
11194 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11196 * vspace.C (asLatexString): add a missing break
11198 2001-10-15 Herbert Voss <voss@perce.de>
11200 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11202 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11204 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11207 2001-10-10 André Pönitz <poenitz@gmx.net>
11209 * lyxfunc.C: removed greek_kb_flag.
11211 2001-10-10 Herbert Voss <voss@perce.de>
11213 * lyx_main.C: delete global string help_lyxdir.
11215 2001-10-09 Herbert Voss <voss@perce.de>
11217 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11219 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11221 * lyx_main.C: added global string help_lyxdir.
11223 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11225 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11227 * lyxrc.C (set_font_norm_type): support iso8859-4
11229 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11231 * LaTeX.C (deplog): add another regex for MikTeX
11233 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11235 * lyxrc.C (set_font_norm_type): support iso8859-3
11237 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11239 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11241 * LaTeXFeatures.C: remove special case of french and index
11243 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11244 before \begin{document}). This solves several incompatibilities.
11246 2001-10-03 Garst Reese <reese@isn.net>
11248 * lyx_cb.C: change CheckTex error msg.
11250 2001-10-03 José Matos <jamatos@fep.up.pt>
11252 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11254 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11256 * .cvsignore: update
11258 * lyx_main.C (commandLineVersionInfo): use new style version info.
11260 * buffer.C (writeFile):
11262 (makeLinuxDocFile):
11263 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11265 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11267 * version.h: update to use stuff in version.C
11269 * version.C.in: new file. Contains version information determined
11270 at compile time. This is a merging of version.h and
11273 2001-10-03 Juergen Vigna <jug@sad.it>
11275 * BufferView_pimpl.C (update): don't change "dirty" status in
11278 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11280 * WorkArea.C (c-tor): re-position version string slightly.
11282 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11284 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11285 revert to previous code.
11287 WorkArea.[Ch]: (show, destroySplash): methods removed.
11289 WorkArea.C: rework code so that it's an amalgam of the codes before and
11290 after the splash screen was moved to WorkArea.
11292 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11295 * vspace.C (inPixels):
11298 * buffer.C (insertStringAsLines):
11299 (asciiParagraph): fix types to be large enough
11301 * lyxlex_pimpl.h: change member status from short to int
11303 * layout.h: fix type of endlabeltype
11306 * kbsequence.C (parse): change return type to string::size_type
11308 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11311 * Bullet.C (bulletSize):
11312 (bulletEntry): do not use short ints as parameters
11314 * BufferView2.C (insertLyXFile): change a char to an int.
11316 * WorkArea.C (WorkArea): remove unneeded floats in computation
11318 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11320 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11322 * paragraph.C (asString): Do not ignore newline/hfill chars when
11323 copying to the clipboard.
11325 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11327 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11328 after a multi-line inset.
11330 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11332 * paragraph.C (validate): Set NeedLyXFootnoteCode
11334 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11336 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11337 and decrease-error to decrease.
11339 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11341 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11342 it more readable (should be equivalent)
11344 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11346 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11348 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11350 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11351 of a cursor (row, etc.) after a character has been deleted
11352 (deleteEmptyParagraphMechanism): call the method above on _all_
11353 cursors held by the LyXText when a double space has been
11356 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11358 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11360 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11362 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11363 background. Use greyOut() and the new show() methods to toggle between
11364 the foreground and background. Add code to remove the splash after
11365 its initial showing.
11367 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11368 (create_forms): no longer call Dialogs::showSplash.
11370 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11372 * .cvsignore: add version_info.h
11374 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11376 * version_info.h.in: new file
11378 * Makefile.am: add version_info.h.in
11380 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11381 version_info.h instead of VERSION_INFO
11383 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11385 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11386 The ERT inset now returns string().
11388 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11390 * lyxtext.h, text.C (selectNextWord): renamed as
11391 selectNextWordToSpellcheck.
11393 * text.C (selectNextWordToSpellcheck): Modified to not select
11394 words inside an ERT inset.
11396 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11398 * lyx_cb.C (MenuLayoutSave): change a bit the question
11400 * sp_base.h: include <sys/types.h>
11402 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11404 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11406 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11408 * several files: fix typos in user-visible strings
11410 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11412 * text2.C (pasteSelection): do not set the selection, since it
11413 will be cleared later. Actually, the intent was to fix the way the
11414 selection was set, but I figured rmoving the code was just as good.
11416 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11418 * FontLoader.C (available): Check if font is available without
11421 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11423 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11425 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11427 * lyxrc.[Ch]: added display_graphics variable and associated code.
11429 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11431 * bufferparams.C (hasClassDefaults): new method. Returns true if
11432 the buffer parameters correspond to known class defaults
11434 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11436 * XFormsView.C (show): set minimum size to the main window.
11438 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11440 * text2.C (copySelection):
11442 * lyxfind.C (LyXReplace):
11443 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11444 LyXText::selectionAsString.
11446 * paragraph.C (asString): add "label" argument to the second form
11448 * text2.C (selectionAsString): add "label" argument and pass it to
11449 Paragraph::asString.
11451 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11453 * lyx_main.C (commandLineHelp): remove version information
11455 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11457 * lyx_main.C: add -version commandline option
11459 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11461 * paragraph.h: make the optional constructor arg required instead.
11462 some modifications to other files because of this.
11464 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11466 * lyxserver.C (C_LyXComm_callback): make it static
11468 * lyx_main.C (error_handler): make it static
11470 * lyx_gui.C (LyX_XErrHandler): make it static
11472 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11474 * WorkArea.C: make the extern "C" methods static.
11476 * Makefile.am (lyx_LDADD): simplify
11478 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11480 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11481 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11483 * LyXAction.C (init):
11484 * lyxfunc.C (dispatch): associated code removal.
11486 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11488 * lyxfont.h (isSymbolFont): shut off warning
11490 * text.C (setHeightOfRow):
11491 (getVisibleRow): fix crash with empty paragraphs which have a
11494 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11496 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11499 2001-09-04 José Matos <jamatos@fep.up.pt>
11502 * tabular.C (docbook): rename docBook method to docbook.
11504 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11506 * Makefile.am: add dependencies to main.o.
11508 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11510 * FontLoader.C (available): Return false if !lyxrc.use_gui
11512 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11514 * FontInfo.C (query):
11515 * converter.C (view):
11516 * importer.C (Import):
11517 * exporter.C (Export): Can not -> cannot.
11519 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11521 * BufferView_pimpl.C: allow to create index inset even if
11524 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11526 * buffer.C (getLists): replace boost::tie code with an explicit pair
11527 as boost::tie can break some compilers.
11529 * iterators.h: Added a std:: declaration to the return type of
11532 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11534 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11537 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11539 * iterators.[Ch]: New files. Provide paragraph iterators.
11541 * buffer.C (changeLanguage): Use paragraph iterators.
11542 (isMultiLingual): ditto
11544 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11546 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11548 * FontLoader.C: Support for cmr font.
11550 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11552 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11553 (available): New method.
11555 * FontInfo.C (getFontname): Use scalable fonts even when
11556 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11559 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11561 * converter.C (Formats::view): reverted! Incorrect fix.
11563 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11565 * converter.C (Formats::view): only output the -paper option
11566 if the dvi viewer is xdvi, thereby fixing bug #233429.
11568 2001-08-23 Herbert Voss <voss@perce>
11570 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11572 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11574 * Spacing.h (Spacing): Set space to Default on in the default
11577 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11579 * vc-backend.h (RCS::versionString): add RCS to version
11580 (CVS::versionString): add CVS to version
11582 * vc-backend.C (scanMaster): do not add CVS to version.
11583 (scanMaster): do not add RCS to version
11585 * lyxvc.C (versionString): new method
11587 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11589 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11591 * Spacing.C (set): initialize fval
11593 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11595 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11598 2001-08-16 Juergen Vigna <jug@sad.it>
11600 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11602 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.C:
11607 * text2.C: setParagraph takes linespacing now
11609 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11611 * LyxAction.C: add internal LFUN_CITATION_INSERT
11613 * LyXView.C: actually apply fix
11615 * bufferlist.C: fix open non-existent file
11617 * lyxfind.C: fix indentation
11619 * lyxfunc.C: remove unneeded assert, fix typo
11621 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11623 * MenuBackend.C: use "Floatname List"
11625 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11627 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11628 when converting LaTeX layout to insetERT.
11629 Generate a non-collapsed float when reading old float
11631 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11633 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11636 2001-08-13 Juergen Vigna <jug@sad.it>
11638 * text.C (fill): return 0 instead of 20 as this seems to be the more
11641 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11643 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11646 2001-08-13 Juergen Vigna <jug@sad.it>
11648 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11650 (SearchBackward): comment out the unlocking of the inset_owner this
11651 should not be needed!
11653 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11655 * Many files: Remove inherit_language, and add latex_language
11657 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11658 collapsible insets.
11660 2001-08-10 Juergen Vigna <jug@sad.it>
11662 * text.C (prepareToPrint): fixed hfill-width in draw!
11664 * BufferView2.C (selectLastWord): save the selection cursor as this
11665 now is cleared in the function LyXText::clearSelection!
11667 2001-08-08 Juergen Vigna <jug@sad.it>
11669 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11670 BACKSPACE type functions.
11672 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11673 is only cutted from the document but not put in the cut-buffer, where
11674 still the old stuff should be.
11676 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11678 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11680 * tabular.C (SetWidthOfCell): fixed special case where the width
11682 (LeftLine): handle '|' in align_special.
11684 (LeftAlreadyDrawed): ditto
11685 (SetWidthOfCell): ditto
11687 2001-08-07 Juergen Vigna <jug@sad.it>
11689 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11691 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11694 * lyxlex.[hC]: ditto
11696 2001-08-06 Juergen Vigna <jug@sad.it>
11698 * text.C (getVisibleRow): fix up row clearing a bit.
11700 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * minibuffer.C: make sure the X server sees the changes in the input.
11704 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11706 * paragraph.C (getFont): split into...
11707 (getLabelFont): this
11708 (getLayoutFont): and this
11709 * paragraph_pimpl.C (realizeFont): calling this
11711 * text2.C (getFont): split into...
11712 (getLayoutFont): this
11713 (getLabelFont): and this
11714 (realizeFont): all three calling this
11716 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11719 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11721 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11723 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11725 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11726 layouts from the Quote inset insertion.
11728 2001-08-03 Juergen Vigna <jug@sad.it>
11730 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11732 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11733 only if status not is already CHANGED_IN_DRAW (second level).
11735 * text.C (draw): don't set the need_break_row when inside an
11738 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11740 * buffer.C (parseSingleLyXformat2Token): handle more latex
11743 * bufferview_funcs.[hC]: change function names to
11744 begin with small char, adjust other files.
11746 2001-08-02 André Pönitz <poenitz@gmx.net>
11749 BufferView_pimpl.C: remove broken special code for math-greek
11751 2001-08-02 Juergen Vigna <jug@sad.it>
11753 * BufferView_pimpl.C (update): redone this function so that we
11754 update the text again if there was a CHANGE_IN_DRAW.
11756 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11757 (drawFromTo): added a new internal bool which is used by draw() and
11759 (general): some cursor drawing problems fixed.
11761 2001-08-01 Juergen Vigna <jug@sad.it>
11763 * lyxfind.C (LyXFind): fixed
11764 (SearchForward): ditto
11765 (SearchBackward): ditto
11767 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11768 spurius drawing of the cursor in the main area.
11770 * text2.C (status): small fix which could lead to a segfault!
11771 (clearSelection): remove unneeded BufferView param.
11773 2001-08-01 André Pönitz <poenitz@gmx.net>
11775 * lyxfunc.C: small change due to changed mathed interface
11777 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11779 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11781 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11783 * lyxfunc.c: fail gracefully if file doesn't exist
11788 * BufferView_pimpl.C: IsDirWriteable() proto changed
11790 * LyXView.C: fix updateWindowTitle() to store the last title
11792 2001-07-31 Juergen Vigna <jug@sad.it>
11794 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11795 the font (wrong since using of Paragraph::highestFontInRange).
11797 * paragraph.C (highestFontInRange): added a default_size parameter.
11799 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11800 (setHeightOfRow): reformat
11802 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11804 * converter.[hC] + affected files: move to (inital-char)lowercase
11807 * ParagraphParameters.C (ParagraphParameters): remove commented code
11809 * PainterBase.[Ch]: remove commented code
11811 * LaTeXFeatures.h: add "bool floats" for float.sty
11813 * LaTeXFeatures.C (LaTeXFeatures): init floats
11814 (require): handle float
11815 (getPackages): do it with floats
11817 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11819 * BufferView_pimpl.C (Dispatch): improve handling of
11820 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11822 * commandtags.h: #include lyxfont.h here temporarily to avoid
11825 * bufferlist.h: include LString.h here.
11827 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11829 * text2.C (getStringToIndex): new method.
11831 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11833 * *: Reduced header file dependencies all over.
11835 2001-07-30 Baruch Even <baruch@lyx.org>
11837 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11839 2001-07-29 Baruch Even <baruch@lyx.org>
11841 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11843 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11845 * ParameterStruct.h (endif): add a default constructor to make
11846 sure that all variables is initialized.
11848 * ParagraphParameters.C (ParagraphParameters): adjust
11850 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11853 index; also, check that there is something to index, and that it
11854 does not span over several paragraphs.
11855 (doubleClick): use WHOLE_WORD_STRICT for double click.
11857 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11859 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11862 2001-07-26 Baruch Even <baruch@lyx.org>
11864 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11865 an InsetFig figure, backwards compatible reading of old figure code.
11867 2001-07-27 Juergen Vigna <jug@sad.it>
11869 * text2.C: font.realize function adaption.
11871 * text.C (draw): add a warnings lyxerr text if needed.
11873 * layout.C: font.realize function adaption.
11875 * language.C: add inherit_language and implement it's handlings
11877 * bufferview_funcs.C (StyleReset): remove language parameter from
11878 font creation (should be language_inherit now).
11880 * bufferparams.C (writeFile): handle ignore_language.
11882 * paragraph.C (getFontSettings): the language has to be resolved
11883 otherwise we have problems in LyXFont!
11885 * lyxfont.C (lyxWriteChanges): added document_language parameter
11886 (update): removed unneeded language parameter
11888 * paragraph.C (validate): fixed wrong output of color-package when
11889 using interface colors for certain fonts in certain environments,
11890 which should not seen as that on the final output.
11892 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11894 * BufferView_pimpl.C:
11899 * LyXAction.C: add thesaurus support
11902 * lyxfind.C: add "once" parameter, for thesaurus, to not
11903 move to the next match
11905 2001-07-26 Juergen Vigna <jug@sad.it>
11907 * lyxfont.C (realize): honor ignore_language too!
11910 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11912 * text.C (draw): one place more for ignore_language to not draw
11915 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11917 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11919 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11921 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11922 the minipage conversion problem.
11924 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11926 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11929 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * BufferView.h: don't forward declare WorkArea
11933 * BufferView.C: don't include WorkArea.h
11935 2001-07-25 André Pönitz <poenitz@gmx.net>
11939 * lyxfunc.C: new LFUN 'math-space'
11941 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11943 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11945 * text2.C (toggleInset): call open/close
11947 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11949 * lyxfunc.C (dispatch): add debug for the disabled case
11951 * font.C (buttonText): make similar to rectText
11953 * buffer.C (readInset): comment out parsing of insetlist and
11956 * PainterBase.C (rectText): small correction
11958 * BufferView_pimpl.C: comment out insettheorem and insetlist
11959 * LyXAction.C: ditto
11960 * commandtags.h: ditto
11962 2001-07-24 Juergen Vigna <jug@sad.it>
11964 * text.C (draw): honor the ignore_language.
11966 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11968 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11970 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11973 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11975 * lyxtext.h: remove unused (and unimplemented) methods
11977 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11979 * text.C (getVisibleRow): honor background color
11982 * Painter.h: remove default color argument for fillRectangle
11984 * text.C (backgroundColor): new method
11986 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11988 * text.C (getVisibleRow): adjust
11990 * font.[Ch] (rectText): new method, metrics
11991 (buttonText): new method, metrics
11993 * PainterBase.[hC]: make rectText and buttonText always draw and take
11996 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11998 * ToolbarDefaults.C (read):
11999 * MenuBackend.C (read): allow escaping in all strings
12001 * BufferView_pimpl.C (insertAndEditInset): new method.
12002 (Dispatch): use insertAndEditInset whenever appropriate.
12004 * BufferView_pimpl.C (insertNote): removed
12006 * BufferView_pimpl.C (smartQuote): new method, moved from
12007 BufferView; if an insetquote cannot be inserted, insert a '"'
12010 * BufferView2.C: remove insertCorrectQuote();
12012 * lyxfunc.C (getStatus): Add support for all remaingin
12013 inset-insert lfuns.
12015 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12017 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12018 command (necessary to pass " as parameter of self-insert.
12020 * text.C (selectWordWhenUnderCursor):
12021 (selectWord): add word_location parameter
12022 (selectWordWhenUnderCursor): same + remove special code for word
12024 (selectNextWord): use kind() to guess type of insetspecialchar,
12027 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12028 (insertErtContents): create ert insets as collapsed.
12029 (readInset): better compatibility code for Info inset.
12031 2001-07-20 Juergen Vigna <jug@sad.it>
12033 * lyxfunc.C (dispatch): use always LyXFind now!
12035 * text2.C (init): add a reinit flag so that the LyXText can be
12036 reinited instead of deleted and reallocated (used in InsetText).
12038 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12044 2001-07-18 Juergen Vigna <jug@sad.it>
12046 * text.C (selectNextWord): handle insets inside inset by calling
12047 always the bv->text functions so that we can go up the_locking_inset!
12049 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12050 in strange locations when inside an inset!
12052 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12053 handling to include insets.
12055 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12057 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12059 * LyXAction.C (init):
12061 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12062 LIGATURE_BREAK, since the name is so stupid.
12064 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12066 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12069 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12071 * sp_form.[Ch]: remove.
12073 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12075 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12078 * src/buffer.C (readInset): ditto.
12080 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12082 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12083 menuSeparator(), endOfSentenceDot(), ldots() and
12084 hyphenationPoint(), which are therefore removed.
12085 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12087 * LyXAction.C (init):
12088 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12090 * paragraph.C (getWord): removed.
12092 * BufferView_pimpl.C (Dispatch): use last word or selection for
12093 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12095 * lyx_main.C (queryUserLyXDir): do not ask before creating
12096 user_dir, except if it has been named explicitely.
12098 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12100 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12101 a document of zero size.
12103 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12105 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12106 approriately in the c-tor and in require().
12107 (getPackages): output the appropriate LaTeX for natbib support.
12109 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12110 variables "use_natbib" and "use_numerical_citations" when reading the
12112 (readInset): read the various natbib cite commands.
12113 (validate): white-space change.
12115 * bufferparams.[Ch]: new variables "bool use_natbib" and
12116 "bool use_numerical_citations".
12117 (writeFile): output them in the LyX file.
12119 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12121 * lyxfunc.C (getStatus): add support for all the inset insertion
12124 * text2.C (insertInset):
12125 * paragraph.C (insetAllowed):
12126 * BufferView_pimpl.C (insertInset): update to take in account the
12127 renaming of insertInsetAllowed
12129 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12131 * text2.C (getInset): new method. returns inset at cursor position.
12133 * BufferView_pimpl.C (Dispatch): changes because of this.
12135 * LyXAction.C (init): rename open-stuff to inset-toggle.
12137 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12139 * text2.C (toggleInset): renamed from openStuff; use
12142 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12144 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12146 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12148 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12150 * buffer.C (readLyXformat2): Add filename to the error dialog
12152 2001-07-18 Juergen Vigna <jug@sad.it>
12154 * tabular.C (GetCellNumber): put an assert here instead of the check!
12156 2001-07-17 Juergen Vigna <jug@sad.it>
12158 * BufferView_pimpl.C (toggleSelection): adapted too.
12160 * text.C (selectNextWord): adapted for use with insets.
12161 (selectSelectedWord): ditto
12163 2001-07-17 Juergen Vigna <jug@sad.it>
12165 * sp_spell.C (PSpell): fix initialitation order.
12167 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * paragraph.C: spacing
12171 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12173 * sp_spell.C: repair language selection for pspell
12175 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * lyxfunc.h: change more methods to begin with lower char.
12179 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12181 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12182 for unknown layouts.
12184 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12186 * buffer.C (readLyXformat2): Generate an error dialog if there are
12189 2001-07-16 Juergen Vigna <jug@sad.it>
12191 * sp_spell.C: always compile ISpell part.
12193 * lyxrc.C: added use_pspell entry and it's handling.
12195 2001-07-13 Juergen Vigna <jug@sad.it>
12197 * sp_spell.C: removed double includes.
12199 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12201 Consistent use of Lsstream.h:
12202 * Lsstream.h: added using std::stringstream for consistencies sake.
12204 * buffer.C: removed using std::stringstream
12206 * lyxfont.C (stateText):
12207 * paragraph.C (asString):
12208 * text.C (selectNextWord, selectSelectedWord):
12209 * text2.C (setCounter):
12210 * vspace.C (asString, asLatexString):
12211 std::ostringstream -> ostringstream.
12213 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12215 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12216 * commandtags.h: add LFUN_HELP_ABOUTLYX
12217 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12219 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12221 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12223 * lyx_gui_misc.C: remove spellchecker
12224 * lyxfunc.C: showSpellchecker
12226 * sp_ispell.h: added
12227 * sp_pspell.h: added
12228 * sp_spell.C: added
12229 * sp_form.[Ch]: removed
12230 * spellchecker.[Ch]: removed
12232 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12234 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12236 (simpleTeXSpecialChars): Simply print the input character without
12237 any special translation if pass_thru is set.
12239 * layout.h: Added bool pass_thru to layout class for being able to
12240 implement pass through of a paragraph for Literate Programming.
12242 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12243 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12244 * layout.C (Read): add "passthru" to list of layout tags and add
12245 code to set the pass_thru boolean when it is read.
12247 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12249 * trans_decl.h: remove allowed from KmodInfo
12251 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12252 remove allowed code
12255 * paragraph_pimpl.C (erase): use boost::prior
12257 * Painter.C (text): use data() instead of c_str() when length is
12259 * WorkArea.C (putClipboard): ditto
12260 * font.h (width): ditto
12262 * BufferView2.C: use it-> instead of (*it). for iterators
12264 * paragraph_pimpl.C: ditto
12265 * paragraph.C: ditto
12266 * minibuffer.C: ditto
12267 * language.C: ditto
12269 * encoding.C: ditto
12270 * counters.C: ditto
12271 * converter.C: ditto
12273 * Variables.C: ditto
12274 * TextCache.C: ditto
12275 * MenuBackend.C: ditto
12276 * LyXAction.C: ditto
12278 * FloatList.C: ditto
12279 * DepTable.C: ditto
12280 * ColorHandler.C (LyXColorHandler): ditto
12282 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12286 * text2.C (openStuff): reintroduce this method (which had been
12287 nuked in NEW_INSETS frenzy).
12289 * lyxfunc.C (Dispatch): when an action has not been handled, use
12290 its name in the error message, not its number.
12292 * paragraph.C (inInset): change method name to begin with lowercase.
12295 * text2.C: updates because of this.
12297 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12299 * ToolbarDefaults.C (add): add spaces in error message
12301 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12303 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12304 (readLyXformat2): rename return_par to first_par, use lyxlex's
12305 pushToken and remove the manual push handling.
12306 (parseSingleLyXformat2Token): add another ert comp. variable:
12307 in_tabular, rename return_par to first_par. handle newlines better
12309 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12311 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12313 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * text2.C (getParFromID): removed
12317 * buffer.C (getParFromID): new method moved form lyxtext.
12318 * BufferView2.C (insertErrors): adjust
12319 (setCursorFromRow): adjust
12320 * BufferView_pimpl.C (restorePosition): adjust
12321 * lyxfunc.C (Dispatch): adjust
12322 * undo_funcs.C (textUndo): adjust
12324 (textHandleUndo): adjust
12325 (textHandleUndo): adjust
12327 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * buffer.C: up' the LYX_FORMAT
12331 * lyxfont.h: turn NO_LATEX on as default
12333 * buffer.C (insertErtContents): new methods of tex style compability.
12334 (parseSingleLyXformat2Token): use it several places.
12335 * tabular.C (OldFormatRead): and here
12337 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12339 * text2.C: remove some commented code.
12342 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12343 * trans.C: changes because of the above.
12345 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12347 * text2.C (setCounter): Fix counters bug with bibliography layout.
12349 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12351 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12352 own member functions
12353 (simpleTeXSpecialChars): ditto
12355 2001-07-06 Juergen Vigna <jug@sad.it>
12357 * a lot of files: changed the access to LyXText::status and the
12358 call of undo-functions.
12360 * undo.[Ch]: added a inset_id to the undo informations.
12362 * undo_funcs.[Ch]: added and moved here all undo functions.
12364 * lyxtext.h: give the status enum a weight, made status_ a private
12365 variable and made accessor functions for it, removed the whole bunch
12366 of undo-functions as they are now in their own file, make some
12367 functions publically available. Added function ownerParagraph with
12370 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12371 made InInset() a const function, added getParFromID() function.
12373 * buffer.[Ch]: added const version for inset_iterator functions,
12374 added getInsetFromID() function.
12376 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12377 changed undo functions for new version.
12379 2001-07-05 Juergen Vigna <jug@sad.it>
12381 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12382 unknow mechanism does not call the proper constructor but only this
12383 one also if I request the other!?
12385 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12389 * text2.C (LyXText): use initialization lists.
12391 * lyxtext.h (Selection): initialize set_ and mark_
12392 (init): remove method
12394 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12396 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12398 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12400 * screen.[Ch]: change method names to begin with lowercase
12402 * BufferView_pimpl.C (updateScrollbar): simplify further and
12403 hopefully make it a bit faster.
12405 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12407 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12408 calling directly xforms functions.
12410 * Painter.C (Painter):
12411 * lyx_cb.C (MenuWrite):
12412 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12415 * lyx_gui.C: remove bogus guiruntime extern declaration.
12417 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12421 (redoDrawingOfParagraph): ditto
12422 (redoParagraphs): ditto
12423 (cutSelection): don't create a object for CutAndPaste use the
12424 static method directly
12425 (pasteSelection): ditto
12427 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12430 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12432 * modifications to some other files because of this.
12434 * Makefile.am (lyx_SOURCES): add XFormsView
12436 * XFormsView.[Ch]: new files
12438 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12439 the main window. Move the gui dependent stuff to XFormsView
12441 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12443 * tabular.C (GetCellInset): update cur_cell also in the row/col
12444 version of this function.
12446 * lyxfunc.C: no need to include figure_form.h here.
12452 * lyxvc.C: no need to include forms.h here.
12454 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12458 * lyxfunc.C (Dispatch):
12460 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12461 constructor argument.
12463 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * paragraph.C (Paragraph): dont't clear, and just set layout.
12466 (makeSameLayout): use params's copy contructor.
12468 * ParagraphParameters.[Ch] (makeSame): delete method
12470 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12472 * Variables.[Ch]: fix indentation, rename set to isSet
12474 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * lyxfunc.C (Dispatch): fix typo
12478 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12480 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12483 * bufferlist.C: include assert.h for emergencyWrite().
12485 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12487 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12488 give up at last (bug #425202) !
12490 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12496 * spellchecker.C: strip spellchecker options and bring up
12497 preferences tab instead
12499 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12501 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12502 the istringstream constructor
12504 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12506 * paragraph.C (getLayout): fix return value
12508 * paragraph.h: do not declare getLayout as inline.
12510 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12512 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12514 * lyxcursor.h (operator<): new func
12515 (operator>): new func
12516 (operator>=): new func
12517 (operator<=): new func
12519 * text.C (changeCase): use selection.start and selection.end
12520 (changeRegionCase): require from to be <= to. Require par to be a
12523 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12525 2001-06-27 Juergen Vigna <jug@sad.it>
12527 * text.C (cursorLeftOneWord): changed to return the cursor and added
12528 overlay with BufferView * parameter which calls this one.
12530 (selectWord): use new getWord function.
12531 (changeCase): renamed from changeWordCase as and extended to work
12532 also on selections.
12534 * lyxtext.h: added enum word_location
12536 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12537 changeCase as this operates now also on selections.
12539 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12541 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12543 * many files: send debug output to Debug::INFO instead of
12546 * converter.C (View):
12548 (Move): send debug output to Debug::FILES instead of console.
12550 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12552 * lyxfunc.C (getStatus): use func_status
12554 * func_status.h: new header, describing the results of
12555 LyXFunc::getStatus;
12557 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12560 2001-06-25 The LyX Project <jug@sad.it>
12562 * buffer.C (sgmlOpenTag):
12564 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12566 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12568 * text2.C: remove some dead code
12570 * tabular.C (GetCellInset): store the last cell checked (gotten)
12572 * tabular.h: add the helper for the speedup
12574 * lyxtext.h: remove some dead code
12576 2001-06-26 The LyX Project <Asger>
12578 * paragraph.C: Change export to LaTeX of alignment to
12579 \begin{center} and family for better roundtrip work with reLyX.
12581 * Tune the math drawing a bit.
12583 2001-06-25 The LyX Project <Asger>
12585 * LColor.C (LColor): New color for math background. New color
12588 2001-06-25 The LyX Project <jug@sad.it>
12590 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12592 * lyxfunc.C (Open):
12593 * bufferlist.C (newFile): do not restrict to files ending with
12596 * BufferView_pimpl.C (MenuInsertLyXFile):
12598 2001-06-24 The LyX Project <jug@sad.it>
12600 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12603 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * lyxtext.h: rename most methods to begin with a small char.
12606 Lots of changes because of this.
12608 * paragraph.C (Paragraph): do not call fitToSize
12609 (erase): call Pimpl::erase
12610 (insertChar): call Pimpl::insertChar
12611 (insertInset): call Pipl::insertInset
12612 (breakParagraph): do not call fitToSize
12613 (breakParagraphConservative): do not call fitToSize
12614 (fitToSize): remove method
12616 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12618 2001-06-24 The LyX Project <Asger>
12620 * Fix Qt compilation^2
12622 2001-06-24 The LyX Project <jug@sad.it>
12624 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12625 depthHook(getDepth()-1).
12628 * ParagraphParameters.h:
12629 * ParameterStruct.h: change type of depth to unsigned int ==
12630 depth_type. Many adaptations to other files before of that.
12632 2001-06-24 The LyX Project <Asger>
12634 * Fix Qt compilation.
12636 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12638 * paragraph.h: renamed several methods to begin with small letter.
12639 several changes to many parts of the code because of this.
12641 2001-06-23 The LyX Project <jug@sad.it>
12643 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12644 rewritten to discard all double spaces when KeepEmpty is off
12645 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12646 to only handle newlines but not fiddle with spaces and friends.
12648 * lyxfunc.C (MenuNew): when doing 'new from template', use
12649 template_path as default directory
12651 2001-06-23 The LyX Project <Asger>
12653 * Clean-up of header file includes all over
12654 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12656 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12658 * paragraph.h: renamed from lyxparagraph.h
12660 2001-06-23 Asger <lyx@violet.home.sad.it>
12662 * Buffer.h: Removed Buffer::resize
12663 * BufferList.h: Removed BufferList::resize
12664 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12665 the document lazily when we change the width, or the font settings.
12667 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12669 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12671 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12673 * buffer.h: remove out of date comment
12675 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12678 * screen.C: fix "theoretical" GC leak
12680 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * LaTeX.C (scanAuxFile):
12683 (deplog): remove trailing \r when reading stream (useful under
12686 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12688 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12689 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12690 and BufferView::theLockingInset(Inset*), so should use them and not
12691 access bv_->text->the_locking_inset directly.
12693 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12695 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12698 * tex-defs.h: remove old unused file
12700 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12702 * BufferView_pimpl.C: fix typo, remove minibuffer message
12703 when buffer has loaded
12705 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * lyxfunc.C (Dispatch): use stringstream
12708 (MenuNew): use stringstream
12709 (Open): use stringstream
12711 * importer.C (Import): use stringstream
12713 * bufferview_funcs.C (CurrentState): use stringstream
12715 * LaTeX.C (run): use stringstream
12717 * BufferView_pimpl.C (savePosition): use stringstream
12718 (restorePosition): use stringstream
12719 (MenuInsertLyXFile): use stringstream
12721 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12734 * vspace.C: removed // -*- C++ -*- as first line.
12737 * version.h: added // -*- C++ -*- as first line.
12739 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12741 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12743 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12746 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12751 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12753 * gettext.C: include LString.h even when --disable-nls is on.
12755 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12757 * converter.h (Get): changed argument type from int to
12758 FormatList::size_type to avoid unnecessary conversion.
12760 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12763 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * gettext.h: include LString.h even when --disable-nls is on.
12767 2001-06-07 Juergen Vigna <jug@sad.it>
12769 * text.C (BreakAgain): subst spaces with tabs.
12771 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12772 (resizeInsetsLyXText): set force on resizeLyXText.
12774 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12776 * gettext.h (gettext_init):
12777 (locale_init): use a real definition instead of a macro
12779 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12781 * Bufferview_pimpl.C:
12783 * LColor.C: further lcolor tidies
12785 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12787 * BufferView_pimpl.C (updateScrollbar): simplify.
12789 * BufferView2.C: don't include insets/insetinfo.h, change
12790 prototype for insertInset and call the Pimpl version. let
12791 updateInset call Pimpl version.
12793 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12794 gotoInset to BufferView::Pimpl
12796 2001-06-01 Juergen Vigna <jug@sad.it>
12798 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12799 inside a LockingInset (is the update needed at all?).
12801 2001-05-31 Juergen Vigna <jug@sad.it>
12803 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12804 here not the old one otherwise how should we compare it afterwards
12807 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12812 * FontInfo.C: bring C functions into global namespace when
12815 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12817 * LString.h: make sure config.h has been loaded before LString.h.
12819 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12820 (one for each char read by EatLine!).
12822 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12825 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12827 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12828 to the same as the par we break from
12830 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12834 * MenuBackend.C (expand): also create menu entries for wide
12835 versions of the floats.
12837 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12839 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12841 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12842 frontends/Makefile.am
12848 * tabular.C (getTokenValue): add std::
12850 * tabular-old.C (getTokenValue): add std::
12851 (getTokenValue): ditto
12852 (getTokenValue): ditto
12854 * screen.C (ToggleSelection): adjust
12856 * lyxtext.h: put selection cursors inside a Selection struct.
12858 * lyxfunc.C (moveCursorUpdate): adjust
12860 * lyxfont.C (latexWriteStartChanges): add std::
12862 * lyxfind.C: adjust
12864 * font.h: delete with(char const *, LyXFont const &)
12866 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12868 * FontInfo.C (getFontname): add std::
12870 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12871 (workAreaButtonPress): adjust
12872 (tripleClick): adjust
12874 (moveCursorUpdate): adjust
12877 * BufferView2.C (gotoInset): adjust
12879 2001-05-30 Juergen Vigna <jug@sad.it>
12881 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12882 to check pspell I add this as default as I now have new pspell
12883 libraries and they seem to use this.
12885 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12887 * text2.C (CutSelection): make the cursor valid before the call to
12890 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12892 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12893 relied on 0 terminated strings and other horrors. Bug found due to
12894 the new assert in lyxstring!
12896 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12899 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12901 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12904 * lyxfunc.C (processKeySym): change method of getting to the
12907 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12908 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12909 * BufferView_pimpl.[Ch]: here as private methods.
12911 2001-05-28 Juergen Vigna <jug@sad.it>
12913 * text.C (SetHeightOfRow): added the update() call again as it is
12914 needed to initialize inset dimensions!
12916 2001-05-16 Juergen Vigna <jug@sad.it>
12918 * text2.C (SetCharFont): Add new function with BufferView * and
12919 bool toggleall parameters for setting insets internal fonts.
12920 (SetFont): Freeze the undo as we may change fonts in Insets and
12921 all this change should be inside only one Undo!
12923 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12924 setting font's in insets as for them we have the SetFont function!
12926 2001-05-15 Juergen Vigna <jug@sad.it>
12928 * text2.C (ClearSelection): to be sure we REALLY don't have any
12931 * tabular.C (TeXCellPreamble): fixed the left border problem for
12934 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12936 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12939 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12941 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12942 LFUN_BREAKPARAGRAPH.
12944 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12945 help test to "internal only", similar for LFUN_INSERT_URL
12947 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12948 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12949 auto_region_delete and deadkeys.
12951 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12954 * LColor.C: remove some dead entries, tidy a little
12956 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12958 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12960 (Dispatch): implement LFUN_ESCAPE
12962 * commandtags.h: add LFUN_ESCAPE
12964 * LyXAction.C (init): add entry for LFUN_ESCAPE
12966 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12967 Remove commented code.
12968 (insertNote): moved here
12969 (open_new_inset): moved here
12971 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12974 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12976 * kbmap.C (findbinding): clean it up and make it work correctly.
12978 * lyx_main.C (init): do not pass argc and argv as parameters
12980 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12982 * buffer.C: fix path for OS/2 & Win32
12986 * lyx_main.C: Added os:: class.
12988 * os2_defines.h: update
12990 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12993 better by trying again with reduced state.
12995 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12997 * lyxrc.C (read): print error about invalid key sequence only when
12998 debugging (because not all latinX keysyms are known to some X
13001 * kbsequence.C (getiso): add a few std:: qualifiers
13002 (getiso): comment out extra return statement.
13004 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13006 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13008 (Dispatch): enhance the accent inset a bit. (not perfect)
13010 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13014 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13016 * bufferlist.C (emergencyWrite): fix assert() call
13018 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13020 * text.C (InsertChar): Added trivial patch to only send the "you
13021 can not do multiple spaces this way" message once during a
13024 2001-05-08 Baruch Even <baruch@lyx.org>
13026 * Makefile.am: Changed order of libraries to get LyX to link properly
13027 with the gnome frontend.
13029 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13031 * LaTeXFeatures.h: add a std:: qualifier
13033 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13035 * paragraph.C (String): use stringstream
13037 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * paragraph.C (writeFile): remove footflag arg
13041 * buffer.C (makeLaTeXFile): use stringstream
13042 (latexParagraphs): remove footnot gurba
13044 * LaTeXFeatures.C (getPackages): use stringstream
13045 (getMacros): likewise
13046 (getTClassPreamble): likewise
13047 (getFloatDefinitions): new method
13049 * paragraph.C (writeFile): reindent
13052 * WorkArea.h: revert the xpos + etc changes.
13054 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13056 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13058 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13059 (pasteSelection): likewise
13060 * text2.C (CreateUndo): likewise
13062 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13064 * minibuffer.C (peek_event): temporarily reduce the functionality
13065 of the minibuffer (to allow args on lfuns)
13067 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13068 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13070 * buffer.C (readInset): add compability reading of old float
13071 lists, add reading of new style float list.
13072 (readInset): avoid reevaluation of inscmd.getCmdName()
13073 (getLists): reindent
13075 * MenuBackend.C (MenuItem): implement parsing of
13076 md_floatlistinsert and md_floatinsert.
13077 (expand::LastFiles): move initalizaton of iterators out of loop,
13078 avoid reevaluation.
13079 (expand::Documents): introduce typdedef vector<string> Strings,
13081 (expand::ExportFormats): introduce typedef vector<Format const *>
13082 Formats, and use it.
13083 (expand): implement FloatListInsert and FloatInsert.
13085 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13086 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13087 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13089 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13091 (Dispatch::LFUN_FLOAT_LIST): implement
13093 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13095 * LaTeX.C (run): Fix problem with --export code.
13097 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13099 * BufferView.[Ch] (workarea): removed.
13100 (getClipboard) new method; wrapper for workarea()->getClipboard()
13102 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13105 * WorkArea.h (width, height, xpos, ypos): These methods all
13106 returned the dimensions of the work_area sub-area of WorkArea,
13107 resulting in a position error if the WorkArea were resized. Now
13108 return the dimensions of the entire WorkArea.
13110 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13112 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * LaTeX.C (deplog): correct the syntax of regex reg1
13116 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * undo.C: remove !NEW_INSETS cruft
13120 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * text2.C: remove !NEW_INSETS cruft
13124 * text.C: remove !NEW_INSETS cruft
13126 * tabular.C: remove !NEW_INSETS cruft
13128 * spellchecker.C: remove !NEW_INSETS cruft
13130 * lyxtext.h: remove !NEW_INSETS cruft
13132 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13134 * lyxfunc.C: remove !NEW_INSETS cruft
13136 * lyxfind.C: remove !NEW_INSETS cruft
13138 * lyx_cb.C: remove !NEW_INSETS cruft
13140 * figureForm.C: remove !NEW_INSETS cruft
13142 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13144 * buffer.[Ch]: remove !NEW_INSETS cruft
13146 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13148 * CutAndPaste.C: remove !NEW_INSETS cruft
13150 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13152 * BufferView2.C: remove !NEW_INSETS cruft
13154 * BufferView.h: remove !NEW_INSETS cruft
13156 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13158 * Lsstream.h: include LString.h before the sstream headers to
13159 fix problem with gcc 2.95.3 and lyxstring
13161 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13163 * lyx_main.C: add using directives when needed for C functions
13164 declared in std:: namespace.
13166 2001-04-27 Juergen Vigna <jug@sad.it>
13168 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13169 (SetHeightOfRow): comment out the update call should not be needed!
13171 2001-04-13 Juergen Vigna <jug@sad.it>
13173 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13174 (LyXTabular): tried to minimize operator= operations (and realized
13175 hopfully Lars wish).
13177 2001-04-27 Juergen Vigna <jug@sad.it>
13179 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13181 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13185 * buffer.C (readInset): hack to make listof algorithm work
13187 * BufferView_pimpl.C: hack to make listof algorithm work
13189 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13191 * LyXAction.C: removed all !NEW_INSETS cruft
13192 (init): moved lfun_item in method
13194 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13196 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13198 * BufferView2.C (theLockingInset): white space.
13200 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * minibuffer.C: include <iostream>
13204 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13206 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13208 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13210 * text.[Ch] (TransposeChars): new method
13212 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * call message directly through LyXView instead of through LyXFunc
13215 * BufferView2.C: adjust
13216 * BufferView_pimpl.C: adjust
13217 * FontLoader.C: adjust
13219 * bufferview_funcs.C: adjust
13220 * converter.C: adjust
13221 * figureForm.C: adjust
13222 * importer.C: adjust
13224 * lyx_gui_misc.C: adjust
13225 * lyxfunc.C: adjust
13228 + more files in subdirs
13230 * lyxparagraph.h (size): move up int file
13233 * adjust all uses of Assert to lyx::Assert.
13235 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13236 lyxfunctional in namespace lyx
13237 * layout.C (hasLayout): ditto
13240 (delete_layout): ditto
13241 (NumberOfClass): ditto
13242 * converter.C (GetFormat): ditto
13247 * bufferlist.C (getFileNames): ditto
13248 (emergencyWriteAll): ditto
13251 * MenuBackend.C (hasSubmenu): ditto
13254 * BufferView_pimpl.C (getInsetByCode): ditto
13256 2001-04-18 Juergen Vigna <jug@sad.it>
13258 * vspace.C (asLatexString): fixed the 100% problem.
13260 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13262 * lyxfunc.C (Dispatch):
13264 * minibuffer.h: add a few std:: qualifiers
13266 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * minibuffer.[Ch]: reimplement so that commands is initiated and
13269 run from lyxfunc, simplified som handling, and made the completion
13270 and history code for complete. wip.
13272 * lyxfunc.C (processKeySym): call message
13273 (miniDispatch): new temporary method
13274 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13275 (LFUN_MESSAGE): implement
13276 (LFUN_MESSAGE_PUSH): implement
13277 (LFUN_MESSAGE_POP): implement
13278 (initMiniBuffer): the initial/defualt minibuffer message.
13280 * lyxfont.[Ch]: inline some more getters
13282 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13284 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13286 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13287 (AutoSave): use LFUN_MESSAGE
13288 (Reconfigure): ditto
13290 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13292 * figureForm.C: use LFUN_MESSAGE
13294 * converter.C (runLaTeX): use LFUN_MESSAGE
13296 * bufferview_funcs.C: use LFUN_MESSAGE
13298 (changeDepth): ditto
13300 * bufferparams.h: use boost::
13302 * bufferlist.h: inherit privately from noncopyable
13304 * bufferlist.C (loadLyXFile): remove some commented code.
13306 * buffer.C (runChktex): use LFUN_MESSAGE
13308 * ShareContainer.h: inherit privately from noncopyable
13310 * ParagraphParameters.[hC] (depth): inline it.
13312 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13314 (message): new method
13315 (messagePush): ditto
13316 (messagePop): ditto
13317 (show): init minibuffer
13318 (showState): direct call
13320 * LaTeX.[Ch]: inherit privately from noncopyable
13321 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13322 instead of WriteStatus.
13324 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13326 * BufferView_pimpl.C (buffer): don't init minibuffer
13327 (workAreaButtonPress): use LFUN_MESSAGE
13328 (workAreaButtonRelease): ditto
13329 (savePosition): ditto
13330 (restorePosition): ditto
13331 (MenuInsertLyXFile): ditto
13332 (workAreaExpose): don't init minibuffer
13333 (update): remove commented code, simplify
13335 * BufferView2.C (openStuff): use LFUN_MESSAGE
13336 (toggleFloat): ditto
13339 (copyEnvironment): ditto
13340 (pasteEnvironment): ditto
13345 (updateInset): remove some commented code
13347 * lastfiles.h: inherit privately from noncopyable
13350 * lyx_main.h: ditto
13352 * lyxlex_pimpl.h: ditto
13354 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13355 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13356 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13358 * LyXAction.h: inherit privately from noncopyable, add methods
13359 func_begin, func_end, returning iterators to the func map.
13361 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13362 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13363 (func_begin): new method
13364 (func_end): new method
13366 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13368 (copySelection): ditto
13369 (pasteSelection): ditto
13371 * BufferView.C: whitespace change
13372 * BufferView.h: inherit privately from noncopyable
13374 2001-04-16 Allan Rae <rae@lyx.org>
13376 * tabular-old.C (l_getline):
13377 * spellchecker.C (sc_check_word):
13378 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13379 an unrecognised preprocessor directive. So ensure they're wrapped.
13381 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13383 * src/exporter.C (Export): Give an error message when path to file
13386 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13388 * LaTeX.C (deplog): Always check that foundfile exists.
13390 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13393 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13395 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13397 * tabular.[Ch] (getLabelList): implement new method
13399 * minibuffer.h: comment ouf setTiimer
13401 * minibuffer.C (ExecutingCB): constify res
13402 (peek_event): constify s
13403 (Set): constify ntext
13404 (Init): constify nicename
13406 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13408 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13409 (savePosition): use two params to Minibuffer::Set
13410 (restorePosition): ditto
13412 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13414 * lyx_main.C: include language.h
13416 * Makefile.am (lyx_main.o): add language.h
13418 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13424 * CutAndPaste.C: include gettext.h
13426 * lyxfont.h: remove old hack with ON and OFF.
13429 * lyxfont.h: do not include language.h...
13434 * bufferview_funcs.C:
13440 * paragraph.C: ... but do it here instead
13442 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13446 * tabular.C: small reformat
13448 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13451 (BreakParagraph): ditto
13452 (SetOnlyLayout): ditto
13455 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13458 * lastfiles.C: removed most using decl, add std:: where needed
13460 * buffer.C: ws changes
13462 * MenuBackend.C (class compare_format): put into anon namespace
13463 (expand): constify label, names, action, action2
13466 * text.C (SingleWidth): constify font
13467 (IsBoundary): constify rtl2
13468 (GetVisibleRow): constify ww
13470 * LaTeX.C (deplog): constify logfile
13472 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13474 (workAreaExpose): constify widthChange, heightChange
13476 * lyxrow.C (par): moved
13479 * lyxrow.h: as inlines here
13481 * lyxfont.h (shape): moved from lyxfont.C
13482 (emph): moved from lyxfont.C
13484 * lyxfont.C (LyXFont): use initialization list for all
13486 (shape): move to lyxfont.h as inline
13487 (emph): move to lyxfont.h as inline
13490 2001-04-04 Juergen Vigna <jug@sad.it>
13492 * vspace.C: had to include stdio.h for use of sscanf
13494 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13497 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13498 independent of xforms.
13500 2001-04-02 Juergen Vigna <jug@sad.it>
13502 * spellchecker.C: fixed namespace placing!
13504 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13506 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13507 the LyXParagraph * is 0.
13509 2001-03-29 Juergen Vigna <jug@sad.it>
13511 * vspace.C: added support for %, c%, p%, l%.
13512 (stringFromUnit): added helper function.
13513 (asLatexString): changed to give right results for the %-values.
13515 * buffer.C: convert the widthp in a width%.
13517 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13519 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13522 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13523 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13525 * lyx_cb.[Ch]: see above.
13527 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13531 * lyx.[Ch]: replaced by figure_form.[Ch].
13535 * lyxfunc.C: changed headers associated with above changes.
13537 2001-03-27 Juergen Vigna <jug@sad.it>
13539 * BufferView_pimpl.C: set the temporary cursor right!
13541 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13543 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13545 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13547 * LString.h: removed "using std::getline"!
13549 * BufferView_pimpl.C (Dispatch): changes due to changes in
13550 InsetInclude::Params.
13552 * buffer.C (tag_name): removed redundant break statements as they were
13553 producing lots of warnings with my compiler.
13555 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * LString.h: add "using std::getline" when using the real <string>.
13559 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13561 * buffer.C: removed bitset usage.
13562 PAR_TAG moved to an anonymous name space.
13563 (tag_name): new funtion, also in the anonymous namespace.
13564 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13565 (makeDocBookFile): clean code. Completed transition from string arrays
13567 (SimpleDocBookOnePar): code clean.
13569 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13571 * tabular.C: add some comments.
13573 2001-03-22 Juergen Vigna <jug@sad.it>
13575 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13576 compatibility read a bit and fixed bug with minipage in different
13579 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13581 * buffer.C (pop_tag): removed.
13582 (push_tag): removed.
13583 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13584 array replaced with vector. Added support for CDATA sections.
13585 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13587 (makeDocBookFile): XML conformant declaration of CDATA section,
13588 fixed bug related to <emphasis> in the first paragraph char.
13589 (sgmlOpenTag): exclude empty tags.
13590 (sgmlCloseTag): ditto.
13592 * buffer.h (pop_tag): removed.
13593 (push_tag): removed.
13595 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13597 * language.h (Languages): added size_type and size().
13599 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13601 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13602 response on compability reading of minipages. One probliem is that
13603 the old usage of minipages was «flertydig»
13605 * several files here and in subdirs: don't use static at file
13606 scope use anon namespaces instead.
13608 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13610 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13611 LaTeX output. This is necessary for Literate document
13614 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13616 * buffer.C: insert hfill when needed.
13618 * tabular.C (l_getline): use string::erase, small whitespace change.
13620 * BufferView_pimpl.C: try the anon namespace.
13621 * WorkArea.C: ditto
13623 2001-03-16 Juergen Vigna <jug@sad.it>
13625 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13626 otherwise it won't open options-dialogs.
13628 * buffer.C: honor pextraWidth(p) on converting minipages.
13630 * tabular.C (l_getline): changed the functions to strip trailing \r.
13632 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13634 * BufferView_pimpl.C:
13635 * minibuffer..C: added "using SigC::slot" declaration.
13637 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13639 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13645 * paragraph.C: ditto
13647 * lyxtext.h: NO_PEXTRA
13649 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13651 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13652 * ParameterStruct.h: ditto
13653 * ParagraphParameters.h: ditto
13654 * lyxparagraph.h: ditto
13656 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13658 * buffer.C: add compability for minipage alignment.
13659 (latexParagraphs): remove unwanted pextra check.
13661 * several files: remove CXX_WORKING_NAMESPACES
13663 * buffer.C (pop_tag): tie is in namespace boost
13665 * BufferView.h: noncopyable is in namespace boost
13667 * lyx_main.h: ditto
13670 * lastfiles.h: ditto
13671 * bufferlist.h: ditto
13672 * ShareContainer.h: ditto
13674 * LyXAction.h: ditto
13677 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13679 * Merging changes from BRANCH_MVC back into HEAD.
13681 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13683 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13685 * BufferView_pimpl.C: change from intl.C
13689 * Makefile.am: move combox.*
13695 * intl.C: remove dialog (covered by prefs)
13697 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13699 * lyxfunc.C (Dispatch): removed redundant break statement.
13701 2001-03-14 Juergen Vigna <jug@sad.it>
13703 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13705 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13707 * buffer.C: add hack to fix compability reading of minipages.
13709 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13711 * buffer.C (getLists): Cleanup.
13713 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13715 * lyxfont.C (update): don't honor toggleall on font size.
13717 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13721 * Makefile.am: moved to frontends/xforms/
13725 * BufferView_pimpl.C: changes for moved mathpanel
13727 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13729 * gettext.h: fix gettext_init() in --disable-nls
13731 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13735 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13738 * lyx.h: strip external form
13740 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13742 * BufferView_pimpl.C: add comment, destroySplash()
13744 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13746 * BufferView_pimpl.C:
13750 * lyxfunc.C: use re-worked insetinclude
13752 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13754 * buffer.C: add using std::stringstream.
13756 * lyx_cb.C: readd using std::ios.
13758 * buffer.C: add using std::map.
13760 * BufferView_pimpl.C: add using std::vector.
13762 * ShareContainer.h: add std:: to swap.
13764 * buffer.h: add some typedefs
13765 * buffer.C (getLists): use them
13766 (getLists): renamed from getTocList.
13767 add a counter for the different float types and use it in the
13769 (getLists): use the same counter for the NEW_INSETS and the "non"
13772 * lyx_cb.h: remove unused items, includes, using etc.
13774 * ShareContainer.h: remove some commented code, add more comments
13775 and "documentation".
13777 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13779 * buffer.C (getTocList): make the list also when NEW_INSETS is
13782 * buffer.h: remove TocType
13784 * buffer.C (getTocList): change to return a map<string,
13785 vector<TocItem> >, implement for dynamic number of list.
13787 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13788 * text2.C (PasteSelection): adjust
13789 * CutAndPaste.C (pasteSelection): adjust
13791 * FloatList.C (FloatList): update from the new_insets branch.
13792 * Floating.[Ch]: ditto
13793 * LaTeXFeatures.C: ditto
13795 * lyxlex_pimpl.C: ditto
13797 * paragraph.C (Last): remove when NEW_INSETS is defined.
13799 * other file: changes because of the above.
13801 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13803 * lyxparagraph.h: rename next to next_, previous to previous_,
13804 make them private for NEW_INSETS. Rename Next() to next(),
13805 Previous() to previous().
13807 * other files: changes because of the above.
13809 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13812 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13815 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13817 * main.C (main): pass lyx_localedir to gettext_init().
13819 * gettext.h: remove locale_init and gettext_init macros
13821 * gettext.C (locale_init): new function
13822 (gettext_init): new function
13824 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13827 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13829 * Moved credits to frontends:
13830 * credits.[Ch]: removed
13831 * credits_form.[Ch]: removed
13832 * lyx_gui_misc.C: remove credits stuff
13835 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13837 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13839 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13840 unneeded destructor.
13842 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13843 a standalone pointer again.
13845 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13847 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13853 * ToolbarDefaults.C:
13862 * BufferView_pimpl.C: use new file dialog in GUII
13865 * lyx_cb.C: remove LayoutsCB to Toolbar
13867 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13869 * ShareContainer.h (get): add std:: qualifier
13871 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13873 * ShareContainer.h: define a proper ShareContainer::value_type
13874 type (and use typename to please compaq cxx)
13876 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13878 * lyxparagraph.h: move serveral local vars to
13879 ParameterStruct/ParagraphParameters., use ShareContainer in
13880 FontTable., make vars in FontTable private and add getter and
13883 * paragraph.C: changes because of the above.
13885 * lyxfont.h: remove copy constructor and copy assignment. (the
13886 default ones is ok), move number inside FontBits. move inlines to
13889 * lyxfont.C: add number to initializaton of statics, move several
13890 inlines here. constify several local vars. some whitespace
13891 cleanup. Dont hide outerscope variables.
13893 * Spacing.h: add two new constructors to match the set methods.
13895 * ShareContainer.h: new file, will perhaps be moved to support
13897 * ParameterStruct.h: new file
13899 * ParagraphParameters.h: new file
13901 * ParagraphParameters.C: new file
13903 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13904 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13906 * BufferView_pimpl.C: ParagraphParameter changes.
13907 * buffer.C: Likewise.
13908 * bufferview_funcs.C: Likewise.
13909 * text.C: Likewise.
13910 * text2.C: Likewise.
13912 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * lyxfind.C (LyXReplace): do not redefine default argument in
13916 (IsStringInText): ditto
13917 (SearchForward): ditto
13918 (SearchBackward): ditto
13920 2001-03-06 Juergen Vigna <jug@sad.it>
13922 * lyxfind.C (IsStringInText): put parentes around expressions.
13924 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13926 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13928 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13930 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13932 * stl_string_fwd.h: add comment
13934 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13937 * tabular.C: remove unused DocBook methods
13943 killed DO_USE_DEFAULT_LANGUAGE
13945 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13947 * lyx_gui.C: do not include language.h.
13949 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13950 arguments in function implementation.
13952 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13954 * BufferView_pimpl.C: add <ctime>
13956 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13958 * BufferView_pimpl.C: add using std::find_if
13960 2001-02-27 José Matos <jamatos@fep.up.pt>
13962 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13965 2001-02-11 José Matos <jamatos@fep.up.pt>
13967 * buffer.C (makeDocBookFile): command styles now have a parameter as
13968 "title" by default.
13970 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13972 * layout_forms.[Ch]: removed
13973 * lyx_cb.[Ch]: out character
13974 * lyx_gui.C: out character
13975 * lyx_gui_misc.C: out character
13976 * bufferview_funcs.C: : out character,
13977 added toggleall as parameter in ToggleAndShow
13979 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13981 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13983 * text2.C (SetCurrentFont): Disable number property at boundary.
13985 2001-02-26 Juergen Vigna <jug@sad.it>
13987 * lyxfunc.C (getStatus): added a string argument override function so
13988 that this is correctly called from LyXFunc::Dispatch if it contains a
13989 do_not_use_argument which is used!
13990 (Dispatch): added check for "custom" export and call appropriate func.
13992 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13994 * lyxrc.C: Add language_command_local, language_use_babel and
13995 language_global_options.
13997 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13999 * buffer.C (makeLaTeXFile): Use language_use_babel and
14000 language_global_options.
14002 2001-02-23 Juergen Vigna <jug@sad.it>
14004 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14005 which works with LyXText and putted it inside BufferView. Here now we
14006 only call for that part the BufferView::Dispatch() function.
14008 * BufferView.C (Dispatch): added.
14010 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14011 functions which needs to use a LyXText over from LyXFunc.
14012 (MenuInsertLyXFile): added
14013 (getInsetByCode): added
14014 (moveCursorUpdate): added
14015 (static TEXT): added
14017 2001-02-22 Juergen Vigna <jug@sad.it>
14019 * BufferView_pimpl.C (update): call a status update to see if LyXText
14022 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14024 * vc-backend.C (revert): implement for CVS
14025 (getLog): implement for CVS
14027 2001-02-20 Juergen Vigna <jug@sad.it>
14029 * text2.C (ClearSelection): added BufferView param for inset_owner call
14031 * lyxfunc.C (TEXT): added this function and use it instead of
14032 directly owner->view()-text of getLyXText().
14034 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14036 * src/layout_forms.C: out preamble
14037 * src/layout_forms.h: out preamble
14038 * src/lyx_cb.C: out preamble
14039 * src/lyx_cb.h: out preamble
14040 * src/lyx_gui.C: out preamble
14041 * src/lyx_gui_misc.C: out preamble
14042 * src/lyxfunc.C: connect with guii preamble
14044 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14046 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14048 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14050 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14051 whether to run bibtex.
14053 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14055 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14057 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14059 * Makefile.am (lyx_SOURCES): removed bibforms.h
14061 * vspace.h: doxygen
14063 * text.C (GetVisibleRow): make several local vars const
14065 * tabular.C: small cleanup.
14067 * lyxserver.C (callback): use compare instead of strncmp
14069 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14070 inlines to after class or to paragraph.C
14072 * lyxfont.h: remove friend operator!=
14074 * converter.h: move friend bool operator< to non friend and after
14077 * combox.h: small cleanup
14079 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14080 to inlines after class def.
14082 * buffer.C (pop_tag): use string operations instead of strcmp
14084 * bmtable.c: doxygen, small cleanup
14086 * LaTeX.h: remove friend operator==
14088 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14100 * BufferView_pimpl.C:
14101 * BufferView.[Ch]: remove cruft
14103 2001-02-14 Juergen Vigna <jug@sad.it>
14105 * lyxfunc.C: removed #if 0 unused code
14107 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14109 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14111 * text2.C (SetSelection): added a BufferView * parameter
14113 2001-02-13 Juergen Vigna <jug@sad.it>
14115 * lyxfunc.C (Dispatch): fixed protected blank problem.
14116 * BufferView2.C (protectedBlank): added LyxText * parameter.
14118 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14119 (AppendColumn): same as above for column_info.
14121 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14122 (moveCursorUpdate): use a LyXText param for support of InsetText.
14124 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14125 (tripleClick): ditto
14127 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14129 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14131 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14133 * text2.C (SetSelection): set correct update status if inset_owner
14134 (ToggleFree): ditto
14136 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14138 * tabular.C: remove some commented code.
14140 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14142 * BufferView_pimpl.C: call hideSplash()
14144 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14147 * bibforms.h: remove
14150 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14151 add LFUN_CHILD_CREATE
14153 * counters.h: fix tiny typo
14158 * lyx.C: move splash to frontends/xforms/
14160 * lyx_gui_misc.C: move Include and Bibform to frontends
14162 * lyxvc.h: clarify comment
14164 * vspace.C: tiny housekeeping
14166 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14168 * text.C (PrepareToPrint): RTL Fix.
14170 * paragraph.C (GetUChar): New method.
14171 (String): Use GetUChar.
14173 * buffer.C (asciiParagraph): Use GetUChar.
14175 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14177 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14179 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14182 * buffer.C: rename to getLogName(), handle
14183 build log / latex log nicely
14185 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14188 * MenuBackend.h: remove support for reference menuitem type.
14190 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14192 * BufferView_pimpl.C: housekeeping
14193 * BufferView_pimpl.h:
14198 * minibuffer.h: move Timeout GUI-I
14200 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14202 * lyxrc.C (read): Update converters data-structures.
14204 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14206 * LaTeX.h (operator!=): add operator != for Aux_Info
14208 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14210 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14212 * LaTeXLog.C: deleted, useful code moved to Buffer
14215 * buffer.C: new function getLatexLogName()
14221 * lyxfunc.C: use frontends for LaTeX and VC logs
14223 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14225 * LaTeX.h: yet another std:: that Allan forgot.
14227 * Variables.C (set): renamed from isset(), because this clashes
14228 with some HP-UX macros (grr).
14230 2001-02-06 Allan Rae <rae@lyx.org>
14232 * LaTeX.h: Another bug fix. Missing std:: this time.
14234 2001-02-04 Allan Rae <rae@lyx.org>
14236 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14237 floats problem. I've left it commented out because it's not quite
14238 correct. It should also test that the current object is a table or
14239 figure inset. But I haven't gotten around to figuring out how to do
14240 that. I *think* it'll be something like: "table" == inset.type()
14242 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14245 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14247 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14248 all the citation/databases/styles in the auxilary file.
14249 (run): Rerun latex if there was a babel language error.
14251 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14253 * text.C (Backspace): Preserve the font when changing newline char
14255 (BreakParagraph): If the cursor is before a space, delete the space.
14257 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14259 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14261 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14262 new argument (code).
14263 (ChangeCitationsIfUnique): New method.
14265 * paragraph.C (GetPositionOfInset): Handle bibkey.
14267 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14269 * BufferView_pimpl.h: change type of Position::par_pos to
14270 LyXParagraph::size_type.
14272 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14274 * BufferView_pimpl.C (savePosition, restorePosition): Write
14275 messages to minibuffer.
14277 2001-01-28 José Matos <jamatos@fep.up.pt>
14279 * buffer.C (makeDocBookFile): adds support for document language.
14280 A silly restriction on the name of LatexCommand types where removed.
14281 Added support for CDATA sections, allows to chars unescaped, used
14282 among others in code, to avoid escape < and >.
14284 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14286 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14287 saved positions instrad of a stack. Furthermore, a position is
14288 stored using paragraph id/paragraph position.
14290 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14291 Remove LFUN_REF_BACK.
14293 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14295 * converter.C (dvipdfm_options): New method.
14297 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14299 * vspace.C (isValidLength): Fix for empty input string.
14301 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * LyXAction.C (init): change description of LFUN_FIGURE to
14306 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * LaTeX.C: add using directive
14310 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14312 * MenuBackend.C (expand): Fix the sorting of the formats.
14314 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14316 * lyx_main.C: tiny error message fix
14318 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14320 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14321 calling fl_initialize(). This fixes the problem with ',' as
14322 decimal separator in text files.
14324 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14326 * trans.C (process): Fix the keymap bug.
14328 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14330 * LaTeX.C (scanAuxFiles): New method. Provides support for
14331 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14332 (scanLogFile) Scan for "run BibTeX" messages.
14334 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14335 OT1 font encoding. Also, load the aecompl package if the ae
14338 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14340 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14342 * texrow.C (increasePos): turn two error messages into debug
14345 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14347 * LaTeX.C (scanAux): Handle the \@input macro.
14348 (runBibTeX): Use scanAux().
14350 * language.C (latex_options_): New field.
14352 * LaTeXFeatures.C (getMacros): Add language macros.
14354 * buffer.C (makeLaTeXFile): Small fix.
14356 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14358 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14360 * text2.C: add a using directive.
14362 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14367 * lyxfunc.C: kill LyXBell.
14369 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14371 * text.C (IsBoundary): Remove the error message
14373 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14375 * lyxrc.C (setDefaults): Correct initialization value for
14378 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14380 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14383 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14384 and GotoNextNote().
14386 * src/LyXAction.C: Added reference-next.
14388 * text.C (InsertChar): Use contains instead of strchr.
14390 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14392 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14394 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14395 alignment commands (when needed).
14397 * text.C (InsertChar): Add ':' to number separator chars.