2 2004-01-13 André Pönitz <poenitz@gmx.net>
5 * lyxtext.h: hide cursor and selection anchor behind accessor function
8 * BufferView_pimpl.[Ch]:
19 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
21 * text2.C (undoSpan): add and use
22 * text.C (breakParagraph): use undoSpan (fix bug 578)
25 2004-01-08 Angus Leeming <leeming@lyx.org>
27 * BufferView_pimpl.C (MenuInsertLyXFile):
28 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
29 * lyxfunc.C (menuNew, open, doImport):
30 FileFilterList change to the FileDialog open and save functions.
32 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
34 * ShareContainer.h: make isEqual and isUnique adaptable
36 * CutAndPaste.C: make resetOwnerAndChanges adaptable
38 2004-01-07 Angus Leeming <leeming@lyx.org>
41 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
43 * BufferView_pimpl.C (dispatch): act on these LFUNs.
45 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
46 functions replacing find, replace and replaceAll.
48 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
49 LFUN_WORDFIND(FORWARD|BACKWARD).
51 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
53 * text.C (breakParagraph): remove an outdated #warning
55 2004-01-07 André Pönitz <poenitz@gmx.net>
57 * lyxfind.C: somewhat clearer logic
59 * text.C: prevent crash in cursorX on unitialized row cache
61 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
63 * lyxcursor.[Ch] (operator>): add
64 * textcursor.C (selStart, selEnd): use std::min and std::max
66 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
68 * Chktex.C: include boost/format.hpp
70 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
72 * InsetList.C: replace functor MathcIt with adaptable functor
74 (insetIterator): modify accordingly
76 * BranchList.h: move the BranchNamesEqual functor here from...
77 * BranchList.C: ... to here
79 * BranchList.C: new BranchListEqual fuctor, use it. Remove
81 (add): replace a finding loop with std::find_if.
83 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
85 * output_docbook.C: moving LatexParam functionality into
88 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
90 * buffer.C: increment format to 229.
92 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
95 * lyx_sty.[Ch]: remove minipageindent_def
101 * text3.C: remove LFUN_INSET_MINIPAGE
103 2003-12-28 Angus Leeming <leeming@lyx.org>
105 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
107 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
109 * text2.C (setParagraph): fix off-by-one crash
111 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
113 * output_docbook.C: header stuff for AGU
115 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
117 * text2.C (redoCursor): remove
120 * BufferView_pimpl.C: remove calls to redoCursor and
121 setCursor(cursor.par(), cursor.pos()) all around
123 2003-12-15 Angus Leeming <leeming@lyx.org>
125 * buffer.C: up the format to 228.
127 2003-12-15 André Pönitz <poenitz@gmx.net>
129 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
134 * BufferView_pimpl.C:
143 2003-12-15 Angus Leeming <leeming@lyx.org>
145 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
146 than getFromGUIName to manipulate the color.
148 2003-12-14 Angus Leeming <leeming@lyx.org>
150 * BranchList.[Ch]: minimize the API.
151 (Branch::getBranch, getColor): now return a 'const &'.
152 (Branch::setSelected) now returns a bool set to true if the
153 selection status changes.
154 (BranchList::clear, size, getColor, setColor, setSelected,
155 allBranches, allSelected, separator): removed.
156 (BranchList::find): new functions, returning the Branch with
158 (BranchList::add, remove): return a bool indicating that
159 the operation was successful.
161 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
162 new InsetBranch::isBranchSlected member function.
164 * LColor.[Ch]: mimimize the API.
165 (fill): renamed as addColor and made private.
166 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
167 versions of these functions taking a string arg have been removed.
169 * bufferparams.C (readToken):
170 * lyxfunc.C (dispatch):
171 * lyxrc.C (read): changes due to the altered BranchList and
174 * factory.C (createInset, readInset): changes due to altered
177 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
180 * lyxfunc.C: remove insetminipage. "minipage-insert"
181 now produces a frameless minipage box inset.
183 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
185 * textcursor.[Ch] (selStart,selEnd): add new methods
186 remove selection::start, end, use LyXCursor::operator<
187 * lyxcursor.[Ch] (operator<): add
188 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
189 * BufferView.[Ch] (unsetXSel): add
190 * text2.C (clearSelection): use unsetXSel,adjust
193 * rowpainter.C: adjust
194 * bufferview_funcs.C (put_selection_at): adjust
196 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
198 * BufferView_pimpl.C: small coord. correction
200 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
202 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
203 dragging over the splash screen.
205 2003-12-11 Angus Leeming <leeming@lyx.org>
207 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
208 as it is now handled in LyXText::dispatch.
210 * text3.C (doInsertInset): remove a level of nesting.
212 2003-12-11 Angus Leeming <leeming@lyx.org>
214 * factory.C (createInset): changes due to the changed interface to
215 InsetCommandMailer::string2params.
217 2003-12-10 Angus Leeming <leeming@lyx.org>
219 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
220 'dialog-show-new-inset <inset name>'
222 2003-12-10 Angus Leeming <leeming@lyx.org>
224 * buffer.C: up the format to 227.
226 * factory.C: the box inset is now identified simply by 'Box'.
228 2003-12-10 Angus Leeming <leeming@lyx.org>
230 * buffer.C: up the format to 226.
232 * factory.C: the note inset is now identified simply by 'Note'.
234 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
236 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
237 when a pit is enough. Standarize a couple of loops.
239 2003-12-05 Angus Leeming <leeming@lyx.org>
241 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
242 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
243 data to the re-worked "log" dialog.
245 2003-12-03 André Pönitz <poenitz@gmx.net>
253 * text2.C: use Inset::getText instead of Inset::getParagraph
255 2003-12-03 André Pönitz <poenitz@gmx.net>
259 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
260 InsetText::read() as LyXText::read()
262 2003-12-02 Angus Leeming <leeming@lyx.org>
264 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
265 type. Add a comment in the implementation that the function uses
266 the stream's bad() function rather than fail() as the std::streams
269 2003-12-02 André Pönitz <poenitz@gmx.net>
271 * lyxlex.[Ch]: make interface more similar to std::stream
273 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
275 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
277 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
279 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
281 * vspace.[Ch]: remove VSpace::NONE
283 2003-12-01 André Pönitz <poenitz@gmx.net>
286 * lyxtext.h: move ParagraphList member to LyXText
287 rename LyXText::ownerParagraphs to LyXText::paragraph
290 * bufferview_funcs.C:
300 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
302 * undo.C: fix cursor positioning
304 2003-12-01 John Levon <levon@movementarian.org>
306 * BufferView_pimpl.C: fix a crash on exit with
309 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
311 * BranchList.C: fix setSelected() method.
313 2003-11-28 André Pönitz <poenitz@gmx.net>
315 * ParagraphParameters.[Ch]:
316 * ParameterStruct.h: remove space above/below from Paragraph to
319 * BufferView_pimpl.C:
331 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
333 * factory.C: Syntax change for CharStyles
335 2003-11-28 André Pönitz <poenitz@gmx.net>
340 * buffer.[Ch]: move LyXText member
342 2003-11-28 André Pönitz <poenitz@gmx.net>
344 * BufferView.[Ch]: make LyXText * text a private member
346 * BufferView_pimpl.C:
357 * output_plaintext.C: cleanup
359 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
362 * lyxtextclass.[Ch]: parametrize SGML document header
364 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
367 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
370 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
372 * text2.C (setFont): rework using PosIterator (no more recursive)
373 (setCharFont): no more needed
374 (setLayout): no more selection cursors fiddling (done by redoCursor)
375 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
376 destroy remaining ones)
378 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
380 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
382 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
385 * text3.C: adjust + re-allow multi par depth changes
386 * textcursor.C: simplify a bit
388 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
394 * src/output_docbook.C:
395 * src/output_latex.C:
400 * src/text2.C: Introducing a number of tags parametrizing various
401 XML formats that we may want to support
403 2003-11-25 André Pönitz <poenitz@gmx.net>
405 * InsetList.[Ch] (begein, end): inline as suggested by profiler
407 * lyxtext.h (leftMargin/rightMargin): simplify interface
414 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
416 * lyxfunc.C (dispatch): propogate the bibtex databases from the
417 master file to any child files. Fixes bug 546.
419 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
421 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
423 2003-11-24 André Pönitz <poenitz@gmx.net>
425 * rowpainter.C: simplification
427 * text2.C (updateCounters): remove call to redoParagraph on
428 changed labels as this is far too expensive.
430 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
432 * converter.C (convert): fix a crash: this function gets
433 called with buffer == 0 from importer code.
435 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
437 * text3.C (cursorPrevious): make sure that we do not compare
438 iterators form different containers.
441 * rowpainter.C (paintSelection): make sure that we do not compare
442 iterators from different containers.
444 * text3.C (dispatch): [PRIOR] make sure that we do not compare
445 iterators from different ParagraphList containers.
448 * text2.C (LyXText): change order of initialization slightly
449 (operator=): new function. copy all variables except cache_par_
450 (moveUp): make sure that we do not compare iterators from
451 different ParagraphList constainers.
454 * text.C (firstPar): new function
455 (lastPar): new function
456 (endPar): new function
458 * lyxtext.h: move things around and group public functions, public
459 variables, private functions, private variables
461 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
463 * factory.C: change call to InsetERT constructor to avoid
464 additional invocation of method status
465 * text2.C (toggleInset): remove redundant update() call
466 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
467 instead of a Bufferview pointer
469 2003-11-21 André Pönitz <poenitz@gmx.net>
471 * rowpainter.C: simplification
473 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
475 * text3.C (dispatch): make possible to extend a word/row selection
478 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
480 * lyxtext.h: x0_,y0_ -> xo_,yo_
481 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
482 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
483 * rowpainter.C (paintRows): paint full paragraphs
485 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
487 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
490 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
492 * lyxtext.h: add x0_, y0_
493 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
494 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
496 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
498 * text2.C (setCursorIntern): move the x_target update here *
499 * text3.C: change some bv() to true/false in calls to
500 cursorUp/Down/Right/Left
501 * cursor.C: use helper function.
503 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
505 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
506 * paragraph_funcs.[Ch]: correct comment
507 * rowpainter.C: do not paint selections away from bv->cursor()
508 Fix a long standing selection painting bug.
509 * text3.C: generalize mouse-selection code to LyXTexts other that
511 * textcursor.C: do not use y coords if we can use par offsets
513 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
515 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
516 cursor position after e.g. inset insert)
518 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
520 * lyxfind.C (replace): adjust to locking removal + some
523 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
525 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
528 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
531 * output_docbook.C: XML sanitation: new layout
532 parameters InnerTag and CommandDepth
534 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
536 * BufferView_pimpl.C:
538 * text3.C: Fix the insertion and modification of button-style
541 2003-11-13 André Pönitz <poenitz@gmx.net>
543 * InsetList.[Ch]: remove deleteLyXText
545 * paragraph.[Ch]: cache beginOfBody position
550 * text3.C: remove superfluous update() calls
554 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
556 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
557 * BufferView.C (fitLockedInsetCursor): remove
558 * cursor.[Ch] (getDim): add
559 * text.C (getRowNearY): add faster version
560 * text3.C: remove some update calls
562 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
574 * text3.C: The Character Style /XML short element patch.
576 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
579 * factory.C: Small step to solving 'unable to insert some insets'
582 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
584 * cursor.[Ch] (updatePos): new function for updating the y
585 position of the tip inset
586 * bufferview_funcs.C (put_selection_at):
587 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
589 2003-11-11 André Pönitz <poenitz@gmx.net>
591 * text.C: remove big comment on invalid Paragraph pointers as it is
594 2003-11-11 André Pönitz <poenitz@gmx.net>
596 * text_funcs.[Ch]: merge with ...
604 * Makefile.am: remove text_funcs.[Ch]
606 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
608 * cursor.C (getPos): return absolute cached y coord
610 * BufferView_pimpl.C (fitCursor): new simplistic code
611 (workAreaDispatch): add a fitCursor call
613 2003-11-10 André Pönitz <poenitz@gmx.net>
616 * BufferView_pimpl.[Ch]: merge update() and updateInset()
618 2003-11-10 André Pönitz <poenitz@gmx.net>
620 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
621 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
622 indicate that the cursor needs to leave an inset
624 * lyxtext.h: remove inset locking
626 * cursor.[Ch]: re-implement functionality provided by inset locking
629 * BufferView_pimpl.[Ch]:
631 * bufferview_funcs.[Ch]:
643 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
645 * PosIterator.[Ch]: replace the stack with a vector, add inset
647 * iterators.[C]: adjust
649 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
651 * lyxfind.C (replaceAll): mark the buffer dirty if something was
653 * paragraph_funcs.C (readParToken): put the correct id in the
654 error item, not the id of the top paragraph
656 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
658 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
659 * bufferview_funcs.C (put_selection_at): use the above
661 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
663 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
665 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * output_plaintext.h:
670 * output_docbook.h: add #include statements
672 2003-11-05 José Matos <jamatos@lyx.org>
674 * output_docbook.[Ch]:
676 * output_linuxdoc.[Ch]:
677 * output_plaintext.[Ch]: New files for output formats.
678 * output.[Ch]: New file for helper functions.
681 * paragraph_funcs.[Ch]: output functions moved to new files.
683 * outputparams.h: rename of latexrunparams.h
691 * paragraph_funcs.[Ch]:
692 * paragraph_pimpl.[Ch]:
693 * tabular.[Ch]: rename ascii to plaintext
694 and LatexRunParams to OutputParams.
696 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
698 * iterators.[Ch] (text): require bv argument
699 * undo.C (recordUndo):
700 * lyxfunc.C (dispatch):
701 * bufferview_funcs.C (put_selection_at): adjust
703 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
705 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
707 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
709 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
712 2003-11-04 André Pönitz <poenitz@gmx.net>
714 * cursor.[Ch]: restructure
717 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
719 * iterators.[Ch] (asCursor): remove
721 * lfuns.h: remove LFUN_INSET_EDIT
727 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
729 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
731 * lyxfind.[Ch]: complete overhaul
732 * BufferView_pimpl.C:
734 * paragraph.[Ch] (insert): add
736 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
740 * text.C: remove dead spellcheck code
742 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
744 * dispatchresult.h: add a val setter
746 * cursor.C (dispatch): use a tempvar for data_[i]
748 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
750 * PosIterator.[Ch]: compile fix
752 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
754 * text.C (cursorPar): deactivate the cursor cache
756 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
758 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
760 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
762 * text3.C (dispatch): adjust for new DisptchResult semantics.
764 * lyxfunc.C (dispatch): handle update when return from
765 Cursor::dispatch, adjust for new DispatchResult semantics.
767 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
768 DispatchResult(true) mean to not update. Add class functions for
769 setting dispatched and update, as well as reading.
771 * cursor.C (dispatch): don't handle update here
773 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
775 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
776 * trans_mgr.C: adjust
778 * paragraph_funcs.C (readParToken): exception safety
780 * lyxvc.h: store the vcs pointer in a scoped_ptr
783 * lyxsocket.C (serverCallback): exception safety
785 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
787 * ispell.C (clone): make it return a auto_ptr
789 * factory.C (createInset): exception safety
790 (readInset): exception safety
792 * bufferlist.C (newBuffer): exception safety
794 * Thesaurus.C (Thesaurus): use initialization for aik_
796 * MenuBackend.C (expandToc): exception safety.
798 2003-11-03 André Pönitz <poenitz@gmx.net>
802 * bufferview_funcs.C: remove getInsetFromId()
805 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
811 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
813 * PosIterator.C (distance, advance): new
814 * bufferview_funcs.[Ch] (put_selection_at): new
815 * iterators.[Ch] (lockPath): new
817 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
819 * iterators.[Ch] (asPosIterator): added
820 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
821 * PosIterator.[Ch]: added
823 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * cursor.C (dispatch):
828 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
830 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
831 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
832 contructor, add a class function dispatched. Remove operator>=
834 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
836 * debug.C: only use the default constructor for debugstream
839 * main.C (main): include debug.h and setup the lyxerr streambuf
842 2003-10-31 José Matos <jamatos@lyx.org>
844 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
846 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
847 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
848 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
849 * paragraph_pimpl.C (simpleTeXSpecialC):
850 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
851 add LatexRunParams argument.
853 * exporter.C (Export): change call accordingly.
855 * latexrunparams.h: add new member to take care of the other backends.
856 2003-10-30 José Matos <jamatos@lyx.org>
858 * buffer.C (makeLinuxDocFile, makeDocBookFile):
859 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
860 factorise code for paragraph output.
862 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
865 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
867 * text3.C (dispatch):
868 * lyxfunc.C (dispatch):
869 * cursor.C (dispatch):
870 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
872 * dispatchresult.h: make the dispatch_result_t ctor explicit
874 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
877 * buffer.C: small refactoring of docbook stuff
879 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
881 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
884 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
887 operator dispatch_result_t, and operators for == != and >=
889 * cursor.C (dispatch): adjust for operator dispatch_result_t
890 removal. comment out call to update
892 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
894 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
905 * dispatchresult.h: new file, DispatchResult broken out of
908 * Makefile.am (lyx_SOURCES): add dispatchresult.h
910 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
912 * text.C (rowBreakPoint): put a hack inside #if 0
914 2003-10-28 André Pönitz <poenitz@gmx.net>
921 * text2.C: general cleanup (lots of small stuff)
923 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
925 * text2.C (cursorEnd): simple fix to the "end key goes to one
926 before the end on last row" bug
928 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
930 * text.C (backspace): fix the "zombie characters"
932 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
934 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
936 2003-10-27 André Pönitz <poenitz@gmx.net>
938 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
940 * factory.C: handle new InsetPagebreak, InsetLine
942 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
943 and move handling into new InsetPagebreak, InsetLine
945 * BufferView_pimpl.C:
947 * ParagraphParameters.C:
960 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
969 * text3.C: remove lastPos uses in favour of Row::endpos
971 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
973 * undo.C (performUndoOrRedo): fix two crashes by setting a
974 cursor by hand and reordering some calls. Use bv->lockInset instead
975 of inset->edit because the latter loses cursor information
977 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
979 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
981 (rowBreakPoint): fix width. change point to point + 1.
984 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
987 * lyxfunc.C: fix (at least partly) the problems
988 with the Nav menu and headers inside branch insets
991 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
993 * paragraph.C (getChar): add strong asserts
995 * lyxrow_funcs.C (lastPos): remove hideous hack
997 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
998 (fill): adjust to that (avoid an infinite loop)
1000 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1002 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1004 2003-10-23 André Pönitz <poenitz@gmx.net>
1006 * RowList_fwd.h: change list<> to vector<> to gain speed
1007 after suggestion from Alfredo
1009 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1011 * lyxtext.h: move the bidi stuff from here...
1014 * Bidi.[Ch]: ... to here
1016 2003-10-23 André Pönitz <poenitz@gmx.net>
1019 * text.C (isLastRow, isFirstRow): new functions
1021 * paragraph.h: new width cache member
1023 * rowpainter.C: replace RowList::iterator with Row & where possible
1025 * lyxfunc.C: replace several view()->text with a single call
1027 * toc.C: fix 'unused' warning
1029 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1032 when woring with stream::pos_type
1033 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1035 2003-10-22 André Pönitz <poenitz@gmx.net>
1038 * text.C: use Row & instead of RowList::iterator
1040 * lyxrow.h: rename end() to endpos()
1046 2003-10-22 Angus Leeming <leeming@lyx.org>
1048 * buffer.[Ch] (fully_loaded): new member function, returning true
1049 only when the file has been loaded fully.
1050 Used to prevent the premature generation of previews and by the
1051 citation inset to prevent computation of the natbib-style label.
1053 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1054 templates are all set up.
1056 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1058 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1060 * text.C: fixed an "oops" in the "is a bit silly"
1063 2003-10-21 André Pönitz <poenitz@gmx.net>
1065 * FuncStatus.[Ch]: small stuff, whitespace
1067 * lyxfont.[Ch]: operator<<() for debug reasons
1071 * lyxtext.h: whitespace, spelling
1073 * paragraph.C: naming of variables
1076 * text2.C: small stuff
1079 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1081 * text.C: (1) finish off the inset display() work;
1082 (2) fix the "is a bit silly" bug (accessing char
1085 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1087 * text.C: re-introduce display() for insets, fixing the
1088 various bugs (stretch of line above, math inset
1091 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * text.C (rightMargin): remove spurious semicolon
1095 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1098 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1100 * text3.C: fix one crash due to wrong cursor def
1102 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1104 * vc-backend.C (scanMaster): make the regex static
1106 * LaTeX.C (scanAuxFile): make the regexs static
1108 * text3.C (doInsertInset, dispatch, dispatch):
1109 * text2.C (cursorUp, cursorDown):
1110 * text.C (selectNextWordToSpellcheck):
1111 * BufferView_pimpl.C (dispatch):
1112 * lyxfunc.C (dispatch): localDispatch -> dispatch
1114 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1116 * lyxsocket.C: include <cerrno>
1118 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1120 * lyxfunc.C (dispatch): remove textcache stuff
1122 * bufferlist.C (release): remove textcache stuff
1125 * TextCache.C: delete file
1126 * TextCache.h: delete file
1128 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1130 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1131 delete of the bv_->text.
1132 (resizeCurrentBuffer): remove texcache stuff
1133 (workAreaResize): ditto
1135 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1137 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1140 2003-10-16 André Pönitz <poenitz@gmx.net>
1147 * text3.C: speed up by storing y positions per paragraph plus per-row
1148 offset instead of having a 'full' y position in the row.
1150 2003-10-15 André Pönitz <poenitz@gmx.net>
1154 * undo.[Ch]: make undo aware of inner insets
1156 2003-10-14 Angus Leeming <leeming@lyx.org>
1158 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1159 static member functions LyX::ref() and LyX::cref.
1160 (lastfiles): new accessor functions for the new lastfiles_ member var.
1161 (addLyXView, views_): add a new LyXView to the list of views_.
1162 (updateInset): loop over all LyXViews to call their own updateInset
1163 member function, returning a pointer to the Buffer owning the inset.
1165 * BufferView_pimpl.C (loadLyXFile):
1166 * MenuBackend.C (expandLastfiles):
1167 * bufferlist.C (MenuWrite, QuitLyX):
1168 lastfiles is no longer a global variable.
1169 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1171 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1172 static function. Access through LyX::cref().emergencyCleanup().
1174 2003-10-14 André Pönitz <poenitz@gmx.net>
1176 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1178 * undo.[Ch]: restoring part of 'undo in insets'
1181 * undo_funcs.[Ch]: merge with undo.[Ch]
1183 * tabular.C: small cleansing stuff
1185 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1187 * paragraph_funcs.C (readParToken): report unknown insets as error
1188 boxes. Use the outer paragraph as location (also for unknown
1191 * factory.C (readInset): do not abort on reading an unknown inset.
1192 Eat it and return 0.
1194 2003-10-13 Angus Leeming <leeming@lyx.org>
1196 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1198 * lyxrc.C: displayTranslator is now a function,
1199 declared in GraphicsTypes.h.
1201 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1203 * format.C: new placeholder $$a to pass the socket address.
1205 * bufferlist.[Ch]: new function getBufferFromTmp.
1207 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1208 files in the temporary dir.
1210 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1212 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1214 * Makefile.am: add lyxsocket.[Ch].
1216 * lyx_main.C (error_handler): handle SIGPIPE.
1218 2003-10-13 André Pönitz <poenitz@gmx.net>
1220 * BufferView_pimpl.C:
1225 * undo_funcs.[Ch]: use paroffset_type instead of
1226 ParagraphList::iterators to prevent multiple conversion
1227 (and get a more robust interface)
1229 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1231 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1233 * text3.C (dispatch): ditto
1235 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1237 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1238 move the onlyfile, use onlyfile instead of foundfile in a couple
1241 * DepTable.C (update): flush the error stream a bit more
1243 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1245 * lyxserver.C (callback): adjust
1247 * lyxfunc.C (getStatus): add a missing brace in commented code
1248 (ensureBufferClean): reindent
1249 (dispatch): delete version taking a string
1251 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * LaTeX.C (deplog): move found file handlig from here...
1254 (handleFoundFile): .. to new function here.
1255 (deplog): make sure to discover several files mentioned on the
1258 2003-10-10 André Pönitz <poenitz@gmx.net>
1265 * text3.C: fix some of the tabular crashes
1267 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1269 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1271 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1273 2003-10-09 André Pönitz <poenitz@gmx.net>
1275 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1278 * BufferView_pimpl.C:
1279 * bufferview_funcs.C:
1290 * undo_funcs.C: adjust
1292 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1294 * text2.C (incrementItemDepth): new function, use a backtracking
1295 algorithm to discover the correct item depth.
1296 (resetEnumCounterIfNeeded): new function, use a backtracking
1297 algorithm to discover if counter reset is needed.
1298 (setCounter): use them. Simplify a bit. Add different labels for
1299 different item depths for itemize.
1301 * paragraph.C (Paragraph): remove initialization of enumdepth
1304 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1305 enumerate and itemize. Change the type of itemdepth to signed char.
1307 2003-10-08 André Pönitz <poenitz@gmx.net>
1309 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1314 * tabular.[Ch]: fix crash after 'row-insert'
1316 2003-10-08 Angus Leeming <leeming@lyx.org>
1318 Fix doxygen warnings.
1320 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1321 Remove CutAndPaste:: prefix from header file declaration.
1323 * LColor.h (fill): remove LColor:: prefix from declaration.
1325 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1326 use lyx::depth_type rather than Paragraph::depth_type so that
1327 header file and .C file match.
1329 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1331 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1332 * aspell.C: \file aspell_local.C -> \file aspell.C
1333 * gettext.C: \file gettext.C -> \file src/gettext.C
1334 * gettext.h: \file gettext.h -> \file src/gettext.h
1335 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1336 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1337 * text.C: \file text.C -> \file src/text.C
1339 * toc.C: move comment so that doxygen is not confused.
1341 2003-10-07 Angus Leeming <leeming@lyx.org>
1343 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1345 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1348 * aspell_local.h: add forgotten std::string's.
1350 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1357 * text3.C: The Box patch. Fancybox support, minipage, parbox
1359 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1365 * ParagraphParameters.h:
1375 * lyxtextclasslist.h:
1378 * paragraph_pimpl.C:
1379 * textcursor.h: add <string> and other small fixes to make Lars'
1380 std::string patch compile with STLport.
1382 2003-10-06 Angus Leeming <leeming@lyx.org>
1384 * LColor.h: Add missing #include <string>.
1386 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1388 * All most all file in all subdirs: Make <string> be the prefered
1389 way of getting to std::string, add using declarations.
1391 2003-10-06 André Pönitz <poenitz@gmx.net>
1393 * metricsinfo.C: initialize LyXFont before changing attribute.
1394 (fixes the 'math in \emph is upright' bug)
1396 2003-10-06 André Pönitz <poenitz@gmx.net>
1398 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1400 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1403 * paragraph_pimpl.C: Small fixes to build using STLport
1405 2003-10-02 André Pönitz <poenitz@gmx.net>
1408 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1410 2003-10-01 André Pönitz <poenitz@gmx.net>
1412 * factory.C: assert early
1414 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1416 * lyx_main.C: remove the global debug object
1418 * debug.h: adjust for new debugstream
1420 * debug.C: adjust for new debugstream and keep the global debug
1423 2003-09-22 Angus Leeming <leeming@lyx.org>
1425 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1426 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1427 an incomplete class LyXFont.
1429 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1431 * factory.C: bug fix in branches
1433 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * lyxfunc.C (processKeySym): adjust
1437 (dispatch): change arg name from ev to func, adjust
1438 (sendDispatchMessage): ditto
1440 * lyx_main.C (defaultKeyBindings): adjust keybindings
1441 (deadKeyBindings): ditto
1443 * kbsequence.C (addkey): return a FuncRequest
1445 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1447 * kbmap.C (bind): take a FuncRequest as arg, adjust
1450 (defkey): change to take a FuncRequest as arg, adjust
1451 (findbinding): take a FuncRequest as arg, adjust.
1453 * funcrequest.h (operator=): added
1455 * funcrequest.C (FuncRequest): default kb_action changed from
1456 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1458 * buffer.C (dispatch): simplify
1459 (dispatch): adjust to take a FuncRequest as arg, adjust
1461 * boost.C (assertion_failed): change assertion message slightly
1463 * ToolbarBackend.C (read): simplify
1465 * MenuBackend.C (binding): adjust call to findbinding, add a
1466 message if no binding is found.
1468 (expandToc): correct by adding a empty FuncRequest
1470 * LyXAction.C: include <boost/assert.hpp>
1471 (isPseudoAction): delete function
1472 (LookupFunc): change name to...
1473 (lookupFunc): this. change return type to FuncRequest.
1474 (getActionName): take kb_action as arg, simplify
1475 (funcHasFlag): add an assert, simplify.
1477 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1479 * toc.C (action): return a FuncRequest, simplify
1481 * lyxfunc.C (processKeySym): adjust
1482 (getStatus): delete version that takes an int.
1484 (dispatch): delete version that takes action as int
1486 (sendDispatchMessage): simplify and adjust
1488 * funcrequest.C (getArg): take unsigned int as arg
1490 * ToolbarBackend.C (read): adjust
1491 (add): delete version that takes func as a string.
1492 (getIton): take a FuncRequest as arg
1494 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1497 * MenuBackend.C (MenuItem): add a new construct that only takes a
1498 Kind, simplify the constructor use for submenus.
1500 (expandLastfiles): adjust
1501 (expandDocuments): adjust
1502 (expandFormats): adjust
1503 (expandFloatListInsert): adjust
1504 (expandFloatInsert): adjust
1505 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1507 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1508 Remove class variables lyx_pseudo_map and lyx_arg_map
1510 * LyXAction.C (searchActionArg): delete function
1511 (getPseudoAction): delete function
1512 (retrieveActionArg): delete function
1513 (LookupFunc): make it return kb_action, simplify.
1514 (getActionName): simplify
1516 * factory.C (createInset): fix new bug
1518 2003-09-19 Angus Leeming <leeming@lyx.org>
1520 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1521 masterFilename_ parameter in the include inset.
1523 * factory.C (createInset): changes due to the changes to InsetInclude.
1525 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1527 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1529 2003-09-18 Angus Leeming <leeming@lyx.org>
1532 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1533 Inset::fillWithBibKeys.
1534 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1536 2003-09-18 Angus Leeming <leeming@lyx.org>
1538 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1540 (ctor): pass and store a 'Buffer const &'
1541 (buffer): new member function.
1543 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1544 '*this' to the LaTeXFeatures ctor.
1546 2003-09-18 Angus Leeming <leeming@lyx.org>
1552 * text.C: rename EnumLColor as LColor_color.
1554 2003-09-18 Angus Leeming <leeming@lyx.org>
1556 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1557 remove #include "insets/insetbase.h" from cursor.h.
1559 2003-09-18 Angus Leeming <leeming@lyx.org>
1561 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1562 InsetOld_code to remove #include "inset.h".
1564 * iterators.C: add #include "insets/inset.h"
1566 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1568 * BufferView.C: remove more locking stuff that apparently doesn't
1569 do anything sensible.
1571 2003-09-16 André Pönitz <poenitz@gmx.net>
1574 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1577 2003-09-16 Angus Leeming <leeming@lyx.org>
1579 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1581 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1584 * paragraph.h: remove #include "lyxfont.h". Forward declare
1587 2003-09-16 Angus Leeming <leeming@lyx.org>
1589 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1590 of support/textutils.h.
1591 (isWord): move the contents of support/textutils.h's IsWordChar here.
1597 * text2.C: add #include "paragraph.h".
1600 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1602 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1608 * LaTeX.C: use namespace alias for lyx::support::os
1610 2003-09-16 Angus Leeming <leeming@lyx.org>
1613 * bufferview_funcs.C:
1616 * paragraph_pimpl.C:
1618 * text.C: add #include "LColor.h".
1620 2003-09-16 Angus Leeming <leeming@lyx.org>
1622 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1623 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1625 Store the FontBits::color variable as an int rather than as an
1626 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1629 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1630 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1631 string calls together.
1633 * lyxrc.C: add #include "LColor.h".
1635 2003-09-15 Angus Leeming <leeming@lyx.org>
1637 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1640 2003-09-15 Angus Leeming <leeming@lyx.org>
1642 * LColor.h: add an EnumLColor wrapper for LColor::color.
1644 * lyxfont.[Ch] (color, setColor, realColor):
1645 * lyxtext.h, text.C (backgroundColor):
1646 pass EnumLColor args to/from the functions, rather than LColor::color
1650 * lyxtext.h: forward declare EnumLColor.
1652 * lyx_main.C: add #include "LColor.h".
1654 2003-09-15 Angus Leeming <leeming@lyx.org>
1656 * .cvsignore: add lyx-gtk.
1658 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1663 * ParagraphParameters.C
1667 * bufferview_funcs.C
1677 * vc-backend.C: remove usage of STRCONV
1679 2003-09-15 Angus Leeming <leeming@lyx.org>
1681 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1682 explicitly define the color passed to the painter.
1684 2003-09-15 Angus Leeming <leeming@lyx.org>
1686 * bufferparams.C (BufferParams): reorder member initializers to avoid
1689 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1691 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1692 * text.C (updateRowPositions): remove an unusual nop
1694 2003-09-12 André Pönitz <poenitz@gmx.net>
1696 * BufferView_pimpl.C:
1705 * Counters.[Ch]: finish the 'automatic counters' job
1707 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1709 * aspell.C: include <boost/assert.cpp> (compile fix)
1711 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1713 * boost.C (assertion_failed): use lyx::support::abort instead of
1716 2003-09-10 Angus Leeming <leeming@lyx.org>
1718 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1719 with their _fwd progeny.
1721 2003-09-09 Angus Leeming <leeming@lyx.org>
1723 134 files throughtout the source tree: replace 'using namespace abc;'
1724 directives with the appropriate 'using abc::xyz;' declarations.
1726 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1728 * boost.C (emergencyCleanup): moved here from LAssert.c
1729 (assertion_failed): new function, called by BOOST_ASSERT
1731 * several files: change Assert to BOOST_ASSERT
1733 2003-09-09 Angus Leeming <leeming@lyx.org>
1735 * buffer.[Ch]: Add an Impl class and move Buffer's member
1736 variables into it. As a result move several header files out of
1739 Add header files to lots of .C files all over the tree as a result.
1741 2003-09-09 Angus Leeming <leeming@lyx.org>
1743 * buffer.[Ch]: make Buffer's member variables private. Add
1746 Lots of changes all over the tree as a result.
1748 2003-09-08 Angus Leeming <leeming@lyx.org>
1750 * graph.C: #include <config.h>.
1752 2003-09-08 Angus Leeming <leeming@lyx.org>
1756 * BufferView_pimpl.C:
1785 * toc.C: remove redundant using directives.
1787 2003-09-07 Angus Leeming <leeming@lyx.org>
1789 * LaTeXFeatures.h: remove #include "support/types.h".
1790 * ToolbarBackend.h: remove #include <algorithm>.
1791 * changes.h: remove #include <ctime>.
1792 * debug.h: remove #include <iosfwd>.
1793 * graph.h: remove #include "support/std_string.h".
1794 * lyx_main.h: remove #include <csignal>.
1795 * lyxlex_pimpl.h: remove #include <fstream>.
1796 * sgml.h: remove #include <algorithm>, <utility>.
1797 * toc.h: remove #include "support/std_ostream.h".
1798 Add #include <iosfwd>.
1800 2003-09-07 Angus Leeming <leeming@lyx.org>
1802 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1804 * converter.h: forward declare LatexRunParams.
1805 * encoding.h: remove #include "lyxrc.h".
1806 * lyxtext.h: remove #include "LColor.h".
1807 * lyxtextclass.h: remove #include "support/types.h".
1808 * trans.h: remove #include "tex-accent.h".
1809 * trans_mgr.h: remove #include "tex-accent.h".
1810 * insets/inset.h: remove #include "support/types.h", <vector>.
1811 * insets/insetcollapsable.h: remove #include "LColor.h".
1812 * insets/insetinclude.h: remove #include "dimension.h".
1813 * insets/insetlatexaccent.h: remove #include "dimension.h".
1814 * insets/insetoptarg.h:: remove #include "insettext.h".
1815 * insets/insettext.h: remove #include "dimension.h",
1816 <boost/shared_ptr.hpp>
1818 * insets/renderers.h: add #include "dimension.h".
1819 * insets/updatableinset.h: add #include "support/types.h".
1821 * many .C files: Associated changes.
1823 2003-09-06 Angus Leeming <leeming@lyx.org>
1825 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1826 one, inside testInvariant.
1828 * PrinterParams.C: new file.
1829 * PrinterParams.[Ch]: move the function bodies out of line.
1831 2003-09-06 Angus Leeming <leeming@lyx.org>
1833 * ParagraphParameters.h: forward declare ParameterStruct rather than
1834 including its header file.
1835 (depth): moved out-of-line.
1837 2003-09-06 Angus Leeming <leeming@lyx.org>
1839 * BufferView_pimpl.h:
1842 * lyxfunc.h: forward declare LyXKeySym rather than
1843 #include "frontends/LyXKeySym.h".
1845 * BufferView_pimpl.C:
1848 * lyxfunc.C: associated changes.
1850 2003-09-06 Angus Leeming <leeming@lyx.org>
1852 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1853 As a result, can remove the #include "insets/inset.h" from BufferView.h
1855 2003-09-06 Angus Leeming <leeming@lyx.org>
1857 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1858 As a result, can remove the #include "insets/inset.h" from BufferView.h
1860 2003-09-06 Angus Leeming <leeming@lyx.org>
1866 * bufferview_funcs.C:
1867 * BufferView_pimpl.C:
1872 * ParagraphParameters.C:
1877 * frontends/controllers/ControlDocument.C:
1878 * insets/insetcaption.C: rearrange the #includes into some sort of
1881 * buffer.h: remove #includes ErrorList.h, undo.h
1883 2003-09-06 Angus Leeming <leeming@lyx.org>
1885 * support/types.h: add a 'depth_type' typedef, used to store the
1886 nesting depth of a paragraph.
1889 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1890 defining explicitly.
1893 * paragraph_funcs.h:
1894 * ParagraphParameters.h:
1895 * sgml.h: use lyx::depth_type rather than Paragraph or
1896 ParameterStruct's depth_type.
1899 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1902 * BufferView_pimpl.C:
1904 * ParagraphParameters.C:
1907 * bufferview_funcs.C:
1914 * frontends/LyXView.C:
1915 * frontends/controllers/ControlDocument.C:
1916 * frontends/controllers/ControlErrorList.C:
1917 * insets/insetbibitem.C:
1918 * insets/insetbranch.C:
1919 * insets/insetcaption.C:
1920 * insets/insetcollapsable.C:
1921 * insets/insetenv.C:
1922 * insets/insetert.C:
1923 * insets/insetfloat.C:
1924 * insets/insetfoot.C:
1925 * insets/insetfootlike.C:
1926 * insets/insetnewline.C:
1927 * insets/insetquotes.C:
1928 * insets/insettabular.C:
1929 * insets/insettext.C:
1930 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1932 * frontends/controllers/ControlChanges.C: #include "changes.h".
1934 2003-09-06 Angus Leeming <leeming@lyx.org>
1936 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1937 than #including paragraph.h.
1940 * RowList.h: deleted. Superfluous.
1950 * insets/insettext.h: use ParagraphList_fwd.h rather than
1953 * paragraph.h: don't forward declare ParagraphList.
1956 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1957 rather than ParagraphList.h. paragraph.h is still needed for the
1958 Paragraph::depth_type parameters.
1960 * textcursor.h: enable it to compile stand-alone in light of the
1963 * bufferview_funcs.C:
1975 * frontends/controllers/ControlParagraph.C:
1976 * frontends/controllers/ControlTabular.C:
1977 * insets/insetmarginal.C:
1978 * insets/insetminipage.C:
1979 * insets/insetnote.C:
1980 * insets/insetoptarg.C: add header files needed to compile again.
1982 2003-09-06 Angus Leeming <leeming@lyx.org>
1984 * RowList_fwd.h: new file, forward-declaring Row rather than
1985 #including lyxrow.h.
1990 * insets/insettext.h: use it instead of RowList.h
1992 * bufferview_funcs.C:
1999 * text3.C: #include "RowList.h".
2001 2003-09-05 Angus Leeming <leeming@lyx.org>
2003 * factory.C (createInset):
2004 * vspace.C (c-tor): replace sscanf call with an istringstream.
2005 * ispell.C: re-add missing HP/UX headers.
2006 * lyxserver.C: re-add missing os2 headers.
2008 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2017 * text3.C: re-add missing system headers, needed for 2.95.2.
2019 2003-09-05 Angus Leeming <leeming@lyx.org>
2021 Changes most place everywhere due to the removal of using directives
2022 from support/std_sstream.h.
2024 2003-09-05 Angus Leeming <leeming@lyx.org>
2026 Replace LString.h with support/std_string.h,
2027 Lsstream.h with support/std_sstream.h,
2028 support/LIstream.h with support/std_istream.h,
2029 support/LOstream.h with support/std_ostream.h.
2031 Changes resulting throughout the tree.
2033 2003-09-05 Angus Leeming <leeming@lyx.org>
2035 * sgml.h: ensure that the header file can be compiled stand-alone.
2036 * *.C: strip out redundant #includes. (320 in total.)
2038 2003-09-04 Angus Leeming <leeming@lyx.org>
2040 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2041 here (from getPackages).
2043 * debug.[Ch]: add a new EXTERNAL tag.
2045 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2047 * text2.C (cursorEnd): simplify
2049 (getColumnNearX): adjust
2051 * text.C (computeBidiTables): adjust
2054 * rowpainter.C (paintChars): adjust
2055 (paintSelection): adjust
2056 (paintChangeBar): adjust
2059 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2061 (numberOfSeparators): adjust
2063 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2069 * text3.C: Restricts the mouse click functionality
2070 of insets like bibtex, include, toc and floatlist to the visible
2071 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2072 up the dialogs. Cursor has to be in front of the inset (i.e.
2073 start of row) for this to function.
2075 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2077 * bufferview_funcs.C (currentState): output row information
2079 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2081 * bufferview_funcs.C (currentState): output paragraph position
2083 2003-09-04 Angus Leeming <leeming@lyx.org>
2085 * FloatList.h: move out #include "Floating.h".
2086 * LaTeX.h: move out #include "DepTable.h".
2087 * LyXAction.h: move out #include "funcrequest.h".
2088 * buffer.h: move out #include "author.h", "iterators.h".
2089 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2090 * lyx_main.h: move out #include "errorlist.h".
2091 * lyxfunc.h: move out #include "FuncStatus.h".
2092 * lyxtext: move out #include "lyxcursor.h".
2093 * paragraph_pimpl.h: move out #include "counters.h".
2095 2003-09-03 Angus Leeming <leeming@lyx.org>
2097 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2098 preamble_snippets list, enabling us to add snippets to the preamble
2099 only if the snippet was not there already.
2101 2003-09-04 Angus Leeming <leeming@lyx.org>
2103 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2105 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2107 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2110 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2112 * BranchList.C: point fix, earlier forgotten
2114 2003-09-02 Angus Leeming <leeming@lyx.org>
2116 * box.C (contains): renamed from 'contained' after a fantastic
2119 2003-09-02 John Levon <levon@movementarian.org>
2125 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2127 2003-09-02 John Levon <levon@movementarian.org>
2129 * text2.C: simplification of cursorEnd(), including partial
2132 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * buffer.C (readFile): add a space
2136 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2138 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2140 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2142 * buffer.C (readFile): new function, take a filename and a
2143 ParagraphList::iterator
2145 (readFile): adjust, make it private. don't use setStream, make
2146 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2147 always contain the filename.
2149 * BufferView.C (insertLyXFile): simplify and make it work for
2152 2003-08-30 John Levon <levon@movementarian.org>
2154 * Makefile.am: fix dist (from Kayvan)
2156 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2158 * most files: change to use const Buffer refs
2160 2003-08-27 André Pönitz <poenitz@gmx.net>
2162 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2163 on top of ownerPar().
2165 2003-08-27 John Levon <levon@movementarian.org>
2167 * funcrequest.C: properly initialise POD members
2169 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2171 * lyxtext.h (top_y): move top_y from here
2176 * BufferView_pimpl.[Ch]: to here
2177 * frontends/screen.C:
2178 * insets/insettabular.C:
2179 * insets/insettext.C: adjust
2180 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2182 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2185 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2187 2003-08-26 André Pönitz <poenitz@gmx.net>
2189 * paragraph_func.[Ch] (outerPar): new function
2192 * paragraph_funcs.C:
2193 * paragraph_funcs.h:
2194 * paragraph_pimpl.C:
2195 * text2.C: remove Inset::par_owner
2197 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2202 * text2.C: eliminates the needFullRow/display() stuff
2203 altogether, putting the logic in metrics/draw in the insets.
2205 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2207 * text2.C (redoParagraphInternal, redoParagraphs):
2208 * text.C (redoParagraph): add a call to updateRowPositions at the
2209 end of each 'metrics-like' call. Remove all others.
2210 (getRow): remove the 'y-computing' version.
2211 (getRowNearY): do not compute nor return the real y. Solve the
2212 'y < 0' problem and simplify.
2214 2003-08-22 Angus Leeming <leeming@lyx.org>
2216 * *.[Ch]: clean-up of licence and author blurbs.
2217 Also move config.h out of a few .h files and into a few .C files.
2219 2003-08-22 André Pönitz <poenitz@gmx.net>
2221 * lyxrow.[Ch]: add x_ and *fill_ members
2226 * text2.C: adjust/remove prepareToPrint() calls
2228 2003-08-22 André Pönitz <poenitz@gmx.net>
2230 * lyxrow.[Ch]: add end_ member
2232 * lyxrow_funcs.C: use LyXRow::end_
2234 * lyxtext.h (singleWidth): add LyXFont parameter
2237 * text2.C: adjust LyXText::singleWidth() calls
2239 * text.C (redoParagraph): simplify row breaking logic
2242 2003-08-19 André Pönitz <poenitz@gmx.net>
2244 * funcrequest.C: initialize button_ member
2247 * rowpainter.[Ch]: interface consolidation
2249 2003-08-18 André Pönitz <poenitz@gmx.net>
2252 * BufferView_pimpl.C:
2254 * paragraph_funcs.C:
2256 * text3.C: remove LyXScreen::draw() and fitCursor calls
2258 * BranchList.h: remove spurious semicolons
2260 * MenuBackend.C: fix branchlist related crash
2262 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2270 * bufferparams.[Ch]:
2274 * text3.C: implements the 'branch inset'
2275 idea. This allows the output of various versions of a document
2276 from a single source version, selectively outputing or suppressing
2277 output of parts of the text.
2278 This implementation contains a 'branch list editor' in a separate
2279 tab of the document settings dialog. Branches are user definable
2280 and have a "display colour" to distinguish them on-screen.
2282 ColorHandler was somewhat cleaned up.
2283 (1) make possible a dynamically growing LColor list by allowing
2284 the graphic context cache to grow along (vector);
2285 (2) eliminate an IMHO unnecessary step in colour allocation.
2287 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2289 * BufferView_pimpl.C: compile fix
2291 2003-08-15 André Pönitz <poenitz@gmx.net>
2293 * rowpainter.C: remove extra metrics calls
2295 * lyxtext.h: merge the two constructors into a single one,
2296 pass reference to owner's par list
2298 * BufferView_pimpl.C:
2302 2003-08-15 André Pönitz <poenitz@gmx.net>
2304 * lyxrow_funcs.[Ch]:
2307 * paragraph_funcs.C:
2312 * text_funcs.C: split LyXText::rowlist_ into individual
2313 Paragraph::rows_ chunks
2316 * BufferView_pimpl.[Ch]:
2319 * text3.C: remove toggleSelection()
2321 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2323 * bufferlist.C: beautify two alerts (shorter text of buttons)
2324 * buffer.C: Remove redundant ' ' from message
2326 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2327 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2328 rename VALIGN_CENTER to VALIGN_MIDDLE
2330 2003-08-11 André Pönitz <poenitz@gmx.net>
2332 * lyxtext.h (getPar):
2333 * text.C: new function
2335 2003-08-11 André Pönitz <poenitz@gmx.net>
2338 * tracer.[Ch]: remove unneeded files
2340 * InsetList.[Ch]: remove resizeInsetsLyXText()
2345 * text3.C: merge insertParagraphs() and appendParagraph()
2346 remove breakAgain(), update()
2348 * BufferView_pimpl.[Ch]:
2349 * bufferview_funcs.[Ch]:
2353 * tabular.C: adjust after text & InsetList changes.
2355 2003-08-08 André Pönitz <poenitz@gmx.net>
2357 * text.C (insertChar, backspace): replace rowlist fiddling
2358 with rebreak of full par
2361 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2362 checkParagraph, updateInset): removed
2364 2003-08-07 André Pönitz <poenitz@gmx.net>
2367 * text3.C: merge some LFUN handlers, remove dead code
2369 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2371 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2373 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2375 * text2.C (DEPM): fix part of bug 1255 and 1256
2377 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2379 * BufferView_pimpl.C (workAreaDispatch): change to use
2380 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2381 that are no mouse related.
2383 2003-08-05 André Pönitz <poenitz@gmx.net>
2386 * BufferView_pimpl.[Ch]:
2387 * bufferview_funcs.C:
2389 * text3.C: rip out "deep update"
2391 * textcursor.[Ch] (last_sel_cursor): remove unused member
2393 2003-08-04 André Pönitz <poenitz@gmx.net>
2396 * BufferView_pimpl.[Ch]:
2397 * ParagraphParameters.C:
2398 * bufferview_funcs.C:
2404 * text3.C: replace "complicated" BufferView::update(...) calls with
2407 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2409 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2411 * Makefile.am (lyx_SOURCES): add paper.h
2413 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2415 * Makefile.am: move things around so that both lyx-qt and
2416 lyx-xforms can be built (according to --with-frontend). Then lyx
2417 is a symbolic link to lyx-[firstfrontend]
2419 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2421 * Always use std::endl with lyxerr
2423 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2425 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2427 2003-08-01 André Pönitz <poenitz@gmx.net>
2430 * BufferView_pimpl.[Ch]:
2432 * text3.C: merge BufferView::repaint() and BufferView::update()
2434 2003-08-01 José Matos <jamatos@lyx.org>
2436 * buffer.[Ch]: file_format is no longer a buffer data element.
2438 2003-08-01 André Pönitz <poenitz@gmx.net>
2443 * text2.C: make redoParagraph more independent of current cursor
2445 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2447 * text2.C: remove unneeded members
2449 2003-07-30 André Pönitz <poenitz@gmx.net>
2451 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2453 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2454 create a single function...
2456 * paragraph_funcs.C (moveItem): ... here.
2459 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2461 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2463 * LColor.[Ch]: Add comment and greyedout logical colors.
2465 2003-07-30 André Pönitz <poenitz@gmx.net>
2467 * tabular.C: don't use Assert too heavily. This crashes where it
2470 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2472 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2473 is disabled (bug 1232)
2475 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2477 * factory.C: limited 'arg' scope
2479 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2481 * factory.C: fixed Note submenu issues
2483 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2485 * factory.C: submenu for Note/Comment/Greyedout
2487 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2490 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2492 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2495 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2496 greyedout. Patch provided by Jürgen Spitzmüller.
2498 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2500 * kbmap.C (read): fix error message when reading bind files
2502 2003-07-29 Angus Leeming <leeming@lyx.org>
2504 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2505 certainly does not do what it purports to do. I am doing it, and
2506 us, a favour by killing it.
2508 2003-07-28 José Matos <jamatos@lyx.org>
2510 * buffer.C (readBody, do_writeFile):
2511 * paragraph.C(readParagraph): \end_document replaces \the_end.
2513 2003-07-29 André Pönitz <poenitz@gmx.net>
2516 * BufferView_pimpl.[Ch]:
2520 * textcursor.[Ch]: remove toggleToggle & Co
2522 2003-07-28 José Matos <jamatos@fep.up.pt>
2524 * buffer.C (readParagraph):
2525 * params_func (readParToken, readParagraph):
2526 * paragraph.C (write): \layout -> \begin_layout.
2528 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * lyxlex_pimpl.C (setFile): clean up slightly.
2532 * bufferparams.h: add compressed var
2534 * buffer_funcs.C (readFile): adjust for LyXLex change
2535 (newFile): ditto + simplify
2537 * buffer.C (writeFile): handle writing of compressed files
2539 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2540 Check if the file is compressed and set a bufferparm if so.
2542 * Makefile.am (lyx_LDADD): remove explicit -lz
2544 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2546 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2547 makeDocBookFile): put the real LyX version in the first line of
2551 * version.C.in: remove lyx_docversion
2553 * tabular.C (write_attribute): add a template-based version to
2554 write enums properly
2556 2003-07-28 André Pönitz <poenitz@gmx.net>
2561 * text3.C: use doubles again for x-coordinates. They are needed.
2563 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2565 * messages.C (getLocaleDir): use lyx_localedir()
2567 * lyxlex_pimpl.C (setFile): compress stuff
2569 * buffer.C (writeFile): add some compression stuff
2570 (do_writeFile): new func, dont call expliti close... will this
2573 * Makefile.am (lyx_LDADD): add -lz
2575 2003-07-28 José Matos <jamatos@fep.up.pt>
2577 * buffer.C: increment file format.
2578 * paragraph_funcs (readParagraph, readParToken):
2579 * paragraph.C (readParagraph): add \end_layout.
2581 2003-07-27 Angus Leeming <leeming@lyx.org>
2583 * Makefile.am: remove special casing for configure-time setting of
2584 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2586 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2587 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2589 2003-07-26 André Pönitz <poenitz@gmx.net>
2591 * paragraph_func.[Ch]:
2592 * paragraph.C (realizeFont): inline it whereever it is used
2597 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2600 2003-07-26 André Pönitz <poenitz@gmx.net>
2604 * text2.C: get rid of LyXText::need_break_row
2606 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * toc.[Ch]: put namespace toc inside namespace lyx
2610 * MenuBackend.C (expandToc2): adjust for lyx::toc
2613 * lyxfunc.C (dispatch): adjust for lyx::find
2615 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2616 lyx::find instead. Reorganize a bit.
2617 (LyXReplace): rename to replace
2618 (LyXFind): rename to find
2620 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2623 2003-07-26 André Pönitz <poenitz@gmx.net>
2625 * text.C (setHeightOfRow): restrict scope of temporary variable
2627 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2628 code (never has been used?)
2630 2003-07-27 Asger Alstrup <alstrup@local>
2632 * text.C (fill): Optimise algorithm to exploit that we can reuse
2633 the LyXFont for many characters.
2634 (setHeightOfRow): Same thing.
2635 (rowBreakPoint): Same thing.
2637 2003-07-26 Asger Alstrup <alstrup@local>
2639 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2641 * text.C (singleWidth): Spurious font copying in hot-spot
2642 singleWidth avoided. Reorder tests for arabic for efficiency.
2644 * text.C (fill): handle empty paragraphs better.
2646 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2649 * encoding.h: add includes
2651 * lyxrc.C: remove reading of bind files
2653 * lyx_main.C (init): setup bindings and menus only if we have a
2656 * kbmap.C (read): new method. Do the actual reading of bind
2659 * converter.C (dvipdfm_options):
2662 (output): adapt PAPER_* enums.
2664 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2666 * bufferparams.h: remove paper-related enums from there
2668 * paper.h: New file. A trivial header file to hold paper-related
2669 enums. It should later expand to contain many paper-related
2672 * lyxrc.C: declare extern displayTranslator
2674 2003-07-27 José Matos <jamatos@fep.up.pt>
2676 * tabular.[Ch] (linuxdoc): add support for tables and figures
2679 2003-07-27 José Matos <jamatos@fep.up.pt>
2681 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2682 consistency in both functions.
2683 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2685 2003-07-26 Asger Alstrup <alstrup@local>
2687 * rowpainter.C (paintRows): Change algorithm to work directly on
2688 the insets rather than asking every character in the document
2689 whether its an inset.
2691 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2693 * buffer.C (openFileWrite): factorize some code
2695 2003-07-26 Angus Leeming <leeming@lyx.org>
2698 * lyx_main.[Ch]: replace occurances of system_tempdir with
2701 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2703 * rename Inset to InsetOld
2705 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2707 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2708 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2709 which I think is a bit clearer. EDIT is gone, since it was
2710 premature optimisation, and broken for mathed anyway.
2711 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2712 with cursor positioning in insets as well (math insets still do not
2713 work, but that's a different story anyway.) It mysteriously
2714 crashes sometimes with undo in the first paragraph, but I'm fairly
2715 confident that this is a compiler bug.
2717 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2719 * paragraph.C (Paragraph): adjust for new clone return type
2721 (copyIntoMinibuffer): ditto
2723 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2725 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2726 by not having a special case, and always doing a full rebreak of
2727 the document after undo.
2729 2003-07-23 Angus Leeming <leeming@lyx.org>
2731 * factory.C (createInset): InsetExternal::setParams now takes a
2734 2003-07-23 Angus Leeming <leeming@lyx.org>
2736 * factory.C (createInset): changed interface to the external and
2737 graphics mailers' string2params functions.
2739 2003-07-23 Angus Leeming <leeming@lyx.org>
2741 * factory.C (createInset): pass a
2742 Buffer const * parameter to InsetExternalMailer's string2params.
2744 2003-07-22 John Levon <levon@movementarian.org>
2746 * Thesaurus.h: include the right aiksaurus header
2748 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2750 * MenuBackend.C (expand): check menu shortcuts unconditionally
2752 2003-07-21 Angus Leeming <leeming@lyx.org>
2754 * factory.C (createInset): pass a
2755 buffer_path parameter to InsetGraphicsMailer's string2params.
2757 2003-07-21 Angus Leeming <leeming@lyx.org>
2759 * BufferView_pimpl.C (buffer):
2762 * lyxfunc.C (dispatch):
2763 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2764 rather than the grfx shortcut.
2766 2003-07-21 André Pönitz <poenitz@gmx.net>
2768 * rowpainter.C: remove unused variables
2771 * tabular_funcs.h: move to tabular.C
2772 * Makefile.am: adjust
2774 * tabular.[Ch]: basic optical cleaning
2776 * author.h: pass references, not values
2778 2003-07-18 André Pönitz <poenitz@gmx.net>
2786 * text3.C: two-phase drawing for InsetText and InsetTabular
2787 some float -> int changes.
2789 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2791 * lyx_main.C: fix the fix
2793 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2795 * lyx_main.C: fix a crash in batch mode if no files specified
2798 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2800 * format.[Ch] (papersize): moved to BufferParams
2801 * converter.[Ch] (dvips_options): moved to BufferParams
2802 (dvipdfm_options): moved to anon namespace
2803 * bufferparams.[Ch]: added above functions.
2805 2003-07-17 André Pönitz <poenitz@gmx.net>
2809 * text2.C: don't call inset->update() anymore
2811 * metricsinfo.[Ch]: add convenience constructor
2813 2003-07-16 André Pönitz <poenitz@gmx.net>
2818 * text2.C: replace the LyXCursor::irow_ member with
2819 on-demand computation of the value
2821 2003-07-16 John Levon <levon@movementarian.org>
2823 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2825 2003-07-15 André Pönitz <poenitz@gmx.net>
2828 * text2.C: remove no more needed refresh_row
2830 2003-07-15 André Pönitz <poenitz@gmx.net>
2835 * text3.C: refresh_status tristate -> need_update bool
2837 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2839 * lyxtext.h (init): remove reinit argument (act as if always true)
2840 * text2.C: adjust to that
2842 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2844 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2845 * text3.C: use it to delete selections in some cases
2846 (bugs 441, 673, 702, 954).
2848 2003-07-14 André Pönitz <poenitz@gmx.net>
2850 * rowpainter.[Ch]: reduce interface
2852 2003-07-14 André Pönitz <poenitz@gmx.net>
2854 * BufferView_pimpl.C:
2855 * text2.C: adjust after removing unused BufferView * argument
2857 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2859 * text2.C (init): fix a crash fired on resize
2861 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2863 * buffer.[Ch]: added new closing signal
2864 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2865 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2866 BufferView::Pimpl via the closing the signal
2868 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2870 * buffer.[Ch]: take out all bv-related from buffer
2872 * BufferView_pimpl.[Ch]: connect to new signals
2873 * CutAndPaste.C: removed useless asserts
2874 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2877 * lyxfunc.C: moved view-related funciontality from vc here
2878 * paragraph.C: removed outdated comments
2881 2003-07-10 André Pönitz <poenitz@gmx.net>
2883 * BufferView_pimpl.C:
2887 * text2.C: remove InsetText::InnerCache, clean up consequences
2889 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2891 * ispell.C: fix two typos in error messages
2893 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2895 * Extend Note inset to other forms of annotation like Comment
2896 and Greyedout. Right button click gives dialog.
2898 Files modified or added (+):
2902 * ControlNote.[Ch] +
2904 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2905 frontends/controllers
2909 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2911 * aspell.C: add missing namespace lyx::support
2913 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2915 * BufferView.[Ch] (newFile): Add
2916 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2917 * LaTeX.[Ch] (message): added this signal and use it
2918 * buffer.[Ch] (busy, message): added these signals and use them
2919 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2923 * importer.C: use buffer signals instead of direct bv calling
2924 * lyx_cb.[Ch] (ShowMessage): removed
2927 * paragraph_funcs.C:
2928 * text2.C: use buffer signals
2930 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2932 * introduce namespace lyx::graphics
2934 2003-07-02 André Pönitz <poenitz@gmx.net>
2936 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2938 2003-07-01 André Pönitz <poenitz@gmx.net>
2945 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2946 text*.C to text_func.C
2948 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2950 * introduce namespace lyx::support
2952 2003-06-30 André Pönitz <poenitz@gmx.net>
2957 * text.C: re-enable --with-included-string
2959 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2961 * textcursor.C: add <config.h>
2963 * text.C (getWord): remove const from word_location arg
2965 * lyxvc.C (getLogFile): fix const type order
2967 * lyxtext.h: remove const from word_location arg, add arg name
2969 * lyxlayout.h: currect type on labeltype.
2971 * importer.C: correct \file
2973 * converter.C (intToFormat): use std:: on ret val, ws changes
2975 * bufferlist.h: correct \file
2977 * buffer.C (makeLinuxDocFile): fix const type order
2978 (makeDocBookFile): ditto
2979 (fillWithBibKeys): use std:: on stdlib args.
2981 * CutAndPaste.C: fix authors.
2982 (availableSelections): use std:: on return vector
2984 2003-06-27 André Pönitz <poenitz@gmx.net>
2986 * BufferView_pimpl.C:
2987 * bufferview_funcs.C:
2995 * text3.C: remove LyXCursor::row_ member
2998 * text.C: rename fullRebreak() to partialRebreak() and implement
2999 a fullRebreak() that really bereks fully
3001 * textcursor.h: new struct for cursor-related data
3003 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3005 * lyx_main.C (LyX): get full path of document loaded on the
3008 2003-06-26 André Pönitz <poenitz@gmx.net>
3010 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3011 remove unused/broken operator>,<,>=.
3013 * text.C: remove only use of broken operator<= in an Assert().
3015 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3017 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3018 moved errorlist_.clear to showErrorList
3020 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3022 * converter.C (scanLog, runLaTeX):
3023 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3024 move the bv->showErrorList call to the callers
3025 * lyxfunc.C: i.e. here...
3027 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3028 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3029 namespace, the second to...
3030 * buffer_funcs (BufferFormat, parseErrors): added
3031 * errorlist.C (ErrorList(TeXErrors const &)): removed
3033 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3035 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3037 2003-06-24 "Garst R. Reese" <reese@isn.net>
3041 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3043 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3045 * version.C.in: change docversion to 1.4
3047 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3049 * buffer.C: fix a bug just introduced
3051 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3053 * buffer.[Ch]: added the parseError signal and use it, removed
3055 * BufferView.[Ch] (addError): moved to ...
3056 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3057 to the Buffer::parseError signal to catch (guess what) parse errors
3058 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3060 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3062 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3063 ability to create a buffer and to return an existing one from
3064 the list. Moved these functions to...
3065 * buffer_funcs.[Ch]: added
3066 * BufferView.[Ch] (loadLyXFile): added
3067 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3068 job removed from bufferlist::loadLyXFile.
3069 * buffer.C (setReadOnly): make it work without view
3070 (i.e added an if (users))
3072 2003-06-19 Angus Leeming <leeming@lyx.org>
3075 * LyXAction.C (init):
3076 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3077 with LFUN_DIALOG_SHOW <name> <data>.
3079 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3081 * CutAndPaste.C (availableSelections): small compilation fix for
3082 ancient (gcc 2.9x) compilers
3084 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3086 * text3.C (cursorNext): add tmp var
3088 * text2.C (updateCounters): for function calling out of for clause
3089 (replaceSelectionWithString): ditto
3090 (insertStringAsParagraphs): ditto
3091 (getColumnNearX): add tmp var
3092 (setCursorFromCoordinates): add tmp var
3093 (cursorDownParagraph): add tmp var
3094 (deleteEmptyParagraphMechanism): add tmp var
3096 * text.C (insertChar): add tmp var
3098 * rowpainter.C (paintDepthBar): add tmp var
3100 * CutAndPaste.C (availableSelections): potentially check all
3101 paragraphs in a cut to fill the shown strings.
3103 2003-06-18 André Pönitz <poenitz@gmx.net>
3105 * kbmap.[Ch]: use vector<> instead of list<>
3107 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3109 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3110 pasteSelection with index
3112 * text2.C (pasteSelection): modify, call pasteSelection with index
3114 * paragraph.C (asString): reimplement version with no interval to
3115 call the one with interval.
3117 * lyxtext.h: add index arg to pasteSelection
3119 * MenuBackend.C (MenuItem): handle PasteRecent
3120 (Menu::read::Menutags): add md_pasterecent
3122 (expandPasteRecent): new function
3125 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3127 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3129 (availableSelections): new function
3131 2003-06-17 Angus Leeming <leeming@lyx.org>
3133 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3135 2003-06-17 Angus Leeming <leeming@lyx.org>
3138 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3140 * lyxfunc.C (dispatch): invoke it.
3142 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3144 * iterators.C (operator++, ParPosition): reintroduce some
3145 const_cast for the benefit of older compilers.
3147 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3149 * text3.C (dispatch): do not modify clipboard when doing
3150 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3151 LFUN_DELETE_SKIP on a selection selection
3153 2003-06-16 André Pönitz <poenitz@gmx.net>
3159 * tabular.[Ch]: IU of clone() and getLabelList();
3161 2003-06-13 André Pönitz <poenitz@gmx.net>
3163 * tabular.h: compactification
3165 2003-06-12 André Pönitz <poenitz@gmx.net>
3169 * tabular_funcs.h: some renaming plus whitespace
3171 2003-06-12 André Pönitz <poenitz@gmx.net>
3174 * BufferView_pimpl.C:
3180 * toc.C: Return a Paragraph & for ParIterator::operator*()
3182 2003-06-11 John Levon <levon@movementarian.org>
3186 * ToolbarBackend.C: add "Toolbars" section and
3189 2003-06-10 Angus Leeming <leeming@lyx.org>
3192 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3194 * lyxfunc.C (dispatch): invoke it.
3196 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * main.C: protect <ios> with HAVE_IOS
3199 (main): protect sync_with_stdio with HAVE_IOS
3201 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3203 * text2.C (cutSelection): adjust
3204 (pasteSelection): adjust
3206 * messages.C: handle get of empty string
3208 * main.C (main): use sync_with_stdio(false)
3210 * lyxfunc.C (dispatch): adjust
3212 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3213 (WriteAs): remove unneeded BufferView arg.
3215 * bufferparams.h: use correct types on papersize, papersize2 and
3218 * bufferparams.C (readToken): adjust for type
3219 (writeLaTeX): add missing cases to switch.
3221 * bufferlist.C (quitWriteBuffer): adjust
3224 * buffer.C (asciiParagraph): remove some commented code.
3226 * CutAndPaste.C: remove current_view extern variable.
3227 (cutSelection): add BufferParams arg.
3228 (eraseSelection): add BufferParams arg.
3229 (pasteSelection): add Buffer const & arg
3231 2003-06-07 John Levon <levon@movementarian.org>
3234 * paragraph_funcs.C:
3235 * paragraph_pimpl.C:
3239 * paragraph.C: allow InsetERT to freely space lines,
3240 and some consolidation of code
3242 2003-06-06 José Matos <jamatos@fep.up.pt>
3244 * buffer.C (makeDocBookFile): fix bug #821
3246 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3248 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3250 2003-06-04 Angus Leeming <leeming@lyx.org>
3252 * buffer.C: bump format to 224.
3254 2003-06-05 André Pönitz <poenitz@gmx.net>
3256 * text2.C (redoParagraphs): remove two const_cast<>
3258 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3260 * ParagraphList.h: remove last remnants of NO_STD_LIST
3262 2003-06-03 Angus Leeming <leeming@lyx.org>
3264 * factory.C (createInset): small change to the way InsetExternal's params
3267 2003-06-04 André Pönitz <poenitz@gmx.net>
3269 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3271 * paragraph_pimpl.h:
3272 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3274 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3276 * undo_funcs.C: make some simple cases of undo work again
3278 2003-06-03 John Levon <levon@movementarian.org>
3280 * ispell.C: HPUX doesn't have sys/select.h
3283 2003-06-03 John Levon <levon@movementarian.org>
3285 * CutAndPaste.C: update tabular and include inset
3290 * paragraph.C: remove owningBuffer(), don't pass Buffer
3293 * factory.C: insetGraphicsParams changed
3295 2003-06-02 John Levon <levon@movementarian.org>
3301 * text3.C: remove insetparent
3303 2003-06-02 John Levon <levon@movementarian.org>
3306 * buffer.C: fix inset_iterator.end(), move out of line
3309 2003-06-01 John Levon <levon@movementarian.org>
3311 * text3.C: use a proper cut/paste when doing inset
3312 insert (from Jürgen Spitzmüller)
3314 2003-06-01 John Levon <levon@movementarian.org>
3316 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3318 2003-05-30 André Pönitz <poenitz@gmx.net>
3320 * rowpainter.C: unify second drawing phase
3322 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * trans_mgr.C: remove one case of current_view
3326 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3328 * paragraph_funcs.h: remove paragraph.h include
3330 * paragraph.h: delete NO_STD_LIST stuff
3332 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3334 * buffer.h: remove paragraph.h include
3336 * ParagraphList.C: delete file
3338 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3340 * toc.C (getTocList): adjust
3342 * paragraph_pimpl.C (validate): adjust
3344 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3346 * paragraph.C (Paragraph): adjust
3347 (getPositionOfInset): use const_iterator, adjust
3348 (bibitem): use const_iterator, adjust
3349 (setInsetOwner): adjust
3351 * iterators.C (operator++): adjust
3353 * InsetList.[Ch]: Replace selfmade iterator with standard
3354 vector::iterator also introduce const_iterator. Remove getPos,
3355 getInset and setInset from InsetTable. Adjust accordingly.
3357 * BufferView.C (lockInset): adjust
3358 (ChangeInsets): adjust
3360 * tabular.[Ch]: delete commented same_id functions
3362 2003-05-28 John Levon <levon@movementarian.org>
3364 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3366 2003-05-28 André Pönitz <poenitz@gmx.net>
3368 * metricsinfo.[Ch]: remove 'fullredraw' member
3370 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3372 * lyxtextclass.C (operator): remove caching.
3374 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * text2.C (cursorBottom): adjust
3379 (setCounter): use ParagraphList::find, adjust
3381 * text.C (workWidth): use ParagraphList::find, adjust
3383 * lyxcursor.C (LyXCursor): adjust
3385 * buffer.C (inset_iterator): adjust
3387 * ParagraphList.h: make iterator(value_type) private, make
3388 ParagraphList a friend of iterator.
3390 * ParagraphList.C (find): new function
3392 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3394 2003-05-27 André Pönitz <poenitz@gmx.net>
3396 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3398 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3400 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3402 2003-05-26 John Levon <levon@movementarian.org>
3404 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3406 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * remove same_id from function signatures, adjust.
3410 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3414 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3416 * paragraph.C (Paragraph): get rid of same_ids parameter
3418 * ParagraphList.C (insert): adjust
3421 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * paragraph_funcs.C (breakParagraph): adjust
3424 (breakParagraphConservative): adjust
3426 * buffer.C (readParagraph): adjust
3428 * ParagraphList.C (insert): take a reference instead of a pointer
3431 * paragraph.[Ch] (id): new function
3433 * bufferlist.C (newFile): adjust
3435 * ParagraphList.C (ParagraphList): adjust
3437 (push_back): take a reference instead of a pointer.
3439 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3441 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3444 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3445 set else use old code.
3447 * ParagraphList.C: remove all NO_NEXT code and only compile this
3448 code of NO_STD_LIST is set.
3450 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3452 * BufferView_pimpl.C:
3462 * graphics/GraphicsConverter.C:
3463 * graphics/PreviewLoader.C: header adjustment
3465 2003-05-23 Angus Leeming <leeming@lyx.org>
3467 * LaTeXFeatures.[Ch] (useBabel): new method.
3468 * bufferparams.C (writeLaTeX): use it.
3470 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * ParagraphList.h (set): remove unused function.
3474 2003-05-23 André Pönitz <poenitz@gmx.net>
3477 * BufferView_pimpl.C:
3481 * undo_funcs.C: setUndo reworked
3483 * iterators.[Ch]: add access to topmost ParagraphList
3485 * lyxtext.[Ch] (workWidth): add a const
3487 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3489 * texrow.[Ch] (increasePos): remove function
3490 * exporter.C (export): removed unused var and outdated comment
3492 2003-05-23 Angus Leeming <leeming@lyx.org>
3494 * latexrunparams.h: rename fragile as moving_arg.
3495 * paragraph.C (simpleTeXOnePar): ditto.
3496 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3498 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3500 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3502 (textUndoOrRedo): comment out a currently unused var.
3504 * paragraph.h (NO_NEXT): enable NO_NEXT
3506 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3508 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3510 * exporter.C (Export): adjust for removeAutoInsets removal.
3512 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3514 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3516 * BufferView.[Ch] (removeAutoInsets): delete function
3518 2003-05-22 Angus Leeming <leeming@lyx.org>
3520 * latexrunparams.h: add a free_spacing variable.
3522 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3523 to pass moving_arg, as the data is stored in runparams.fragile.
3525 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3526 to Inset::latexOptional or to simpleTeXOnePar.
3528 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3529 free_spacing arg to Inset::latexOptional.
3531 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3534 2003-05-22 Angus Leeming <leeming@lyx.org>
3536 * latexrunparams.h: add fragile and use_babel variables.
3538 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3539 * buffer.C (makeLaTeXFile): store this returned value in
3540 runparams.use_babel, thus passing it to the inset::latex methods.
3542 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3543 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3545 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3546 longer has a fragile arg, as it is stored in runparams.fragile.
3548 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3549 moving_arg parameter as the data is stored in runparams.fragile.
3551 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3552 a fragile parameter as the data is stored in runparams.fragile.
3554 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3558 2003-05-22 Angus Leeming <leeming@lyx.org>
3560 * latexrunparams.h: add a 'bool nice' which defaults to false.
3562 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3563 now encapsulated within runparams.
3565 * bufferlist.C (updateIncludedTeXfiles):
3566 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3568 2003-05-22 Angus Leeming <leeming@lyx.org>
3570 * latexrunparams.h: new file containing struct LatexRunParams.
3571 * Makefile.am: add new file.
3573 * LaTeX.[Ch] (c-tor, run):
3574 * buffer.[Ch] (makeLaTeXFile):
3575 * bufferlist.[Ch] (updateIncludedTeXfiles):
3576 * converter.C (convert, scanLog):
3577 * converter.[Ch] (runLaTeX):
3578 * exporter.C (Export):
3579 * paragraph.[Ch] (simpleTeXOnePar):
3580 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3581 * paragraph_funcs.[Ch] (latexParagraphs):
3582 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3583 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3584 pass around a LatexRunParams parameter.
3586 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * paragraph.[Ch]: remove unused constructor
3590 * ParagraphList.C (erase): new function, taking two iterators
3592 2003-05-22 André Pönitz <poenitz@gmx.net>
3594 * undo_funcs.C: remove duplicated code
3596 * iterator.[Ch]: operator=
3598 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * tabular.C (SetMultiColumn): ws changes
3602 * rowpainter.C (paintFirst): get rid of a ->previous
3604 * lyx_cb.C (getPossibleLabel): parlist simplification
3606 * BufferView.C (ChangeInsets): simplify slightly.
3608 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3610 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3611 * lfuns.h: new LFUN_SPACE
3612 * lyxfunc.C: protected space has a new lfun
3613 * paragraph_funcs.C: read new space insets
3615 * factory.C: handle new space insets
3617 2003-05-22 André Pönitz <poenitz@gmx.net>
3620 * BufferView_pimpl.C:
3623 * undo_funcs.C: return a ParIterator from getParFromID.
3625 * iterators.[Ch]: add two const's
3627 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3629 * toc.C (getTocList): adjust
3631 * iterators.[Ch]: rework for parlist
3633 * buffer.C (par_iterator_begin): adjust
3634 (par_iterator_end): adjust
3636 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3638 * BufferView.C (removeAutoInsets): adjust
3639 (ChangeInsets): adjust
3641 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3643 * text.C (top_y): fix bug 1110
3645 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3647 * errorlist.[Ch]: added
3650 * BufferView_pimpl.C:
3651 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3654 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * Makefile.am: ensure that lyx is relinked upon changes to the
3657 various "convenience" libs.
3659 2003-05-20 Angus Leeming <leeming@lyx.org>
3661 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3662 files are compiled in alphabetical order again.
3664 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3666 2003-05-19 Angus Leeming <leeming@lyx.org>
3668 * gettext.[Ch]: remove "char const * _(char const *)".
3670 2003-05-19 André Pönitz <poenitz@gmx.net>
3672 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3681 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3683 2003-05-19 André Pönitz <poenitz@gmx.net>
3687 * lyxtextclass.[Ch]:
3689 * paragraph_funcs.[Ch]:
3691 * text3.C: more insetenv work
3693 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3695 * ParagraphParameters.C (params2string): small bug fixed
3697 2003-05-16 André Pönitz <poenitz@gmx.net>
3700 * bufferview_funcs.C: patch from Kornel Benko to prevent
3701 crash when _(...) is called twice in a statement
3703 2003-05-16 André Pönitz <poenitz@gmx.net>
3710 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3712 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3714 * lyx_main.C (init): remove spurious static_cast
3716 2003-05-14 André Pönitz <poenitz@gmx.net>
3718 * BufferView.C: fix format string
3720 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3722 * BufferView.[Ch] (insertErrors): removed
3723 * BufferView.[Ch] (showErrorList): added
3724 * buffer.C (runChkTeX):
3725 * converter.C (scanLog): call showErrorList instead of inserterrors
3727 2003-05-13 André Pönitz <poenitz@gmx.net>
3729 * BufferView_pimpl.C:
3731 * bufferview_func.C:
3738 * tabular_funcs.h: tostr() from its own header
3740 * ParagraphParameters.C:
3745 * text3.C: STRCONV()
3747 2003-05-12 André Pönitz <poenitz@gmx.net>
3750 * BufferView_pimpl.C:
3754 * ParagraphParameters.C:
3758 * bufferview_funcs.C:
3771 * paragraph_funcs.C:
3775 * text3.C: boost::format -> bformat all over the place
3778 2003-05-09 André Pönitz <poenitz@gmx.net>
3780 * LColor.[Ch]: Pimpl the #include <map> away
3782 2003-05-09 John Levon <levon@movementarian.org>
3784 * bufferlist.C: never remove emergency saves
3786 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * Makefile.am: better lib building
3790 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3794 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3795 (simpleTeXSpecialChars): adjust
3796 (simpleTeXSpecialChars): adjust
3797 * paragraph.C (simpleTeXOnePar): adjust
3798 * buffer.C (makeLaTeXFile): adjust
3800 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3802 * text2.C (changeDepth): parlist cleanup
3803 (getColumnNearX): ditto
3805 * rowpainter.C (getLabelFont): parlist cleanup
3807 * bufferlist.C (newFile): parlist cleanup
3809 * CutAndPaste.C (eraseSelection): parlist cleanup
3811 * BufferView_pimpl.C (trackChanges): parlist cleanup
3814 * BufferView.C (lockInset): parlist cleanup.
3815 (ChangeInsets): ditto
3817 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3819 * CutAndPaste.h: Update file header.
3821 * CutAndPaste.C: Update file header.
3822 Store the parts cut out of the Document in a limited_stack.
3823 (copySelection): adjust
3824 (pasteSelection): new function, takes the index in the limited stack.
3825 (nrOfParagraphs): adjust
3826 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3827 simplify error inset insertion.
3828 (checkPastePossible): adjust
3830 2003-05-06 John Levon <levon@movementarian.org>
3832 * text2.C: don't cast wrap inset to float
3834 2003-05-05 André Pönitz <poenitz@gmx.net>
3837 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3839 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3840 few naked Paragraph *.
3842 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3844 * bufferparams.C: Output warning if a document with missing
3845 TeX document class is loaded
3846 * exporter.C: Disable TeX exports if the document class is missing
3849 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3850 isTeXClassAvailable()
3852 2003-05-03 John Levon <levon@movementarian.org>
3855 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3856 explicit cursor show/hide
3858 * BufferView_pimpl.h:
3859 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3860 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3862 * lyxfunc.C: hide cursor before dispatching.
3867 * text3.C: remove explicit cursor hides
3869 2003-05-02 André Pönitz <poenitz@gmx.net>
3871 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3874 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3877 * text2.C: tiny whitespace
3879 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * undo_funcs.C: almost only ws changes.
3883 * ParagraphList.C (splice): just return if pl is empty.
3885 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * ParagraphList.C (splice): new function.
3889 * CutAndPaste.C (pasteSelection): use it
3891 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * CutAndPaste.C (pasteSelection): remove the last next and
3894 previous from this file.
3896 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * CutAndPaste.C (pasteSelection): more clean up, user proper
3899 ParagraphList functions for pasteing.
3901 * ParagraphList.C (insert): new function, three arg insert
3903 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * ParagraphList.C (insert): new function, three arg insert
3907 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3910 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3914 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3918 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3921 (copySelection): clean up a bit.
3922 (pasteSelection): use make_pair
3924 * ParagraphList.C (ParagraphList): implement copy constructor
3925 (operator=): implement, base on copy constructor.
3928 * paragraph.C (erase): return a bool
3930 * paragraph_pimpl.C (erasePos): remove function, move contents...
3931 (erase): ... here. Return a bool.
3932 (erase): call erase instead of erasePos.
3934 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3936 * ParagraphList.h: define PitPosPair
3937 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3938 ParagraphList, fix a bug on pasting multiple pars
3939 * text2.C: change interface to C&P
3941 2003-04-30 André Pönitz <poenitz@gmx.net>
3943 * undo_func.C: revert part of yesterday's patch 2
3945 2003-04-30 John Levon <levon@movementarian.org>
3947 * LColor.C: s/tabular/table/
3949 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * text3.C (dispatch): do not convert iterator -> pointer
3952 * undo_funcs.C (setCursorParUndo): ditto
3953 * text_funcs.C (transposeChars): ditto
3955 * text2.C (setLayout): ws changes only
3957 * text.C (breakParagraph): do not convert iterator -> pointer
3959 (acceptChange): ditto
3960 (rejectChange): ditto
3965 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3968 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3970 * text3.C (gotoInset): YABG (yet another bad getChar)
3972 2003-04-29 André Pönitz <poenitz@gmx.net>
3974 * paragraph.h: make operator= private unimplemented as long as
3977 * ParagraphList.C: whitespace
3980 * paragraph_pimpl.[Ch]:
3981 * paragraph_funcs.C:
3983 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3986 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3988 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3990 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3991 * paragraph.[Ch] (erase):
3992 * paragraph_pimpl.[Ch] (erase): change return type and value
3993 * text2.C (cutSelection): some rework
3995 2003-04-28 John Levon <levon@movementarian.org>
3997 * bufferlist.C: changes for unsaved changes dialog
3999 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * bufferlist.C (newFile): set language (messages_) for new
4004 * buffer.C (readFile): ws changes only.
4006 2003-04-28 André Pönitz <poenitz@gmx.net>
4011 * BufferView_pimpl.C:
4012 * BufferView.C: getParFromID related ParagraphList::iterator changes
4014 2003-04-28 André Pönitz <poenitz@gmx.net>
4016 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4019 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * messages.C: remove one more localedir class variable.
4023 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4025 * messages.C (getLocaleDir): singleton generation function
4027 (Messages): add a default constructor.
4029 * main.C (main): do not setup localedir here, do not call
4032 * gettext.C (_): use it.
4033 (gettext_init): delete funciton
4035 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * gettext.C (getLyXMessages): new singleton generating function.
4039 * buffer.C (updateDocLang): adjust
4041 * Makefile.am (messages.o): add target
4042 (main.o): remove target
4044 2003-04-27 John Levon <levon@movementarian.org>
4049 * lyxvc.C: specify cancel button in Alert::prompt
4051 2003-04-26 John Levon <levon@movementarian.org>
4056 * LyXAction.C: add LFUN_INSET_SETTINGS
4058 * lyxfunc.C: don't enable tabular-feature when there's
4059 just any locking inset
4061 2003-04-26 John Levon <levon@movementarian.org>
4063 * bufferlist.C: re-add Cancel to buffer close question
4065 * lyxfunc.C: fix import UI a bit
4067 2003-04-25 John Levon <levon@movementarian.org>
4069 * gettext.C: remove the broken asserts for now
4071 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * messages.C: make case where setlocale cannot comply work better.
4075 * buffer.C (updateDocLang): new function
4076 (changeLanguage): use it
4079 * text2.C (setCounter): use B_ a bit.
4081 * lyxlayout.C (Read): be sure to trim the label strings.
4083 * messages.C (Messages): fix typo in comment
4085 * buffer.C (readFile): set message_ after file is loaded.
4086 (makeDocBookFile): remove double return
4087 (changeLanguage): reset message_ upon language change.
4088 (B_): new func, use this to get translated buffer strings.
4090 * main.C: add myself and Jean Marc as authors.
4092 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * messages.[hC]: pimplify Messages, and three different pimpls to be
4095 used in different circumstances.
4097 * gettext.[Ch]: change for use with new message code.
4099 2003-04-24 André Pönitz <poenitz@gmx.net>
4101 * factory.C: support for eqref
4103 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * messages.[Ch]: add missing char
4107 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4109 * messages.[Ch]: New files
4111 2003-04-18 John Levon <levon@movementarian.org>
4115 * BufferView_pimpl.C:
4119 * text2.C: remove layout-copy/paste (bug 778)
4121 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4123 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4125 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4127 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4128 if they succeed. Act accordingly.
4130 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4132 * text2.C (setCharFont): adjust
4133 (setCounter): adjust
4134 (insertStringAsLines): adjust
4136 * text.C (leftMargin): adjust
4137 (setHeightOfRow): adjust
4139 * rowpainter.C (paintFirst): adjust
4142 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4144 (isFirstInSequence): ditto
4145 (getEndLabel): ditto
4148 * paragraph.C (getParLanguage): comment out some hard stuff.
4150 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4152 (simpleDocBookOnePar): ditto
4153 (makeDocBookFile): use ParagraphList::iterator
4155 * CutAndPaste.C (pasteSelection): adjust
4157 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * text2.C (getFont): adjust
4160 (getLayoutFont): adjust
4161 (getLabelFont): adjust
4163 * paragraph_funcs.C (TeXOnePar): adjust
4165 * buffer.C (simpleLinuxDocOnePar): adjust
4166 (simpleDocBookOnePar): adjust
4168 * CutAndPaste.C (pasteSelection): adjust
4170 * BufferView.C (getEncoding): adjust
4172 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4174 2003-04-16 John Levon <levon@movementarian.org>
4176 * lyxfind.C: use parlist stuff for search/changes
4178 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4180 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4182 * text2.C (deleteEmptyParagraphMechanism): adjust
4184 * text2.[Ch] (ownerParagraph): delete func (both of them
4186 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4190 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * ParagraphList.C: prepare for NO_NEXT
4194 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * text2.C (getFont): adjust
4197 (getLayoutFont): adjust
4198 (getLabelFont): adjust
4200 * paragraph.C (getFont): adjust
4201 (getLabelFont): adjust
4202 (getLayoutFont): adjust
4204 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4206 2003-04-15 John Levon <levon@movementarian.org>
4210 * lyx_main.C: handle Include in .ui files
4212 2003-04-15 John Levon <levon@movementarian.org>
4214 * MenuBackend.C: make the doc files length shorter
4217 * ToolbarBackend.C: handle toolbar placement flags,
4220 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4225 * paragraph_funcs.C (TeXOnePar): adjust
4227 * paragraph.C (getLabelFont): add outerfont arg, adjust
4228 (getLayoutFont): ditto
4229 (simpleTeXOnePar): adjust
4231 * paragraph_pimpl.C (realizeFont): delete func
4233 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4235 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4236 row argument, constify cur argument.
4238 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * text2.C (getFont): adjust
4241 (getLayoutFont): adjust
4242 (getLabelFont): adjust
4244 * paragraph_funcs.C (TeXOnePar): adjust
4245 (outerFont): new func...
4246 (realizeFont): ...moved out from here, changed this to facilitate
4249 * paragraph.C (getFont): take outerfont as arg, adjust
4250 (simpleTeXOnePar): add outerfont arg, adjust
4252 * buffer.C (simpleLinuxDocOnePar): adjust
4253 (simpleDocBookOnePar): adjust
4255 * CutAndPaste.C (pasteSelection): adjust
4257 * BufferView.C (getEncoding): adjust
4259 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * text2.C (setCharFont): adjust
4262 (setCounter): adjust
4264 * text.C (leftMargin): adjust
4265 (setHeightOfRow): adjust
4267 * rowpainter.C (paintFirst): adjust
4270 * paragraph_pimpl.C (realizeFont): adjust
4272 * paragraph.C (isFirstInSequence): move from here...
4273 * paragraph_funcs.C (isFirstInSequence): ...to here
4275 * paragraph.C (outerHook): move from here...
4276 * paragraph_funcs.C (outerHook): ...to here
4278 * paragraph.C (depthHook): move from here...
4279 * paragraph_funcs.C (depthHook): ...to here
4281 * paragraph.C (getEndLabel): move from here...
4282 * paragraph_funcs.C (getEndLabel): ...to here
4284 * text2.C (realizeFont): move from here...
4285 * paragraph_funcs.C (realizeFont): ...to here
4287 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4291 2003-04-14 Angus Leeming <leeming@lyx.org>
4293 * LColor.[Ch]: scrap LColor mathcursor.
4295 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * lyxlex.[Ch] (text): delete function
4298 * trans.C (Load): adjust
4299 * paragraph_funcs.C (readParToken): adjust
4301 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4304 vector<char> instead of a char[].
4306 * lyxlex_pimpl.C (getString): adjust
4308 (lex): use getString
4312 * lyxlex.C (text): use pimpl_->getString()
4316 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4319 (makeFontEntriesLayoutSpecific): temp var for par.size()
4320 (setLayout): temp var for ownerParagraphs().end()
4321 (fullRebreak): temp var for rows().end()
4322 (selectionAsString): temp var for boost::next(startpit), realize
4323 that the while really is a regular for loop.
4324 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4325 setCursor in one place.
4326 (setParagraph): temp vr for ownerParagraphs().end()
4327 (updateCounters): make the while loop a for loop
4328 (cutSelection): temp var for ownerParagraphs().end()
4329 (updateInset): make the do {} while() a regular for loop
4330 (getCursorX): use temp vars
4331 (setCurrentFont): use temp vars
4332 (getColumnNearX): use temp vars
4334 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * text.C (transformChar): use temp var for getChar
4337 (computeBidiTables): use temp var for row->par()
4338 (fill): move temp vars for row->par() and pit->layout() earlier in
4340 (labelFill): use temp var for row->par()
4341 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4342 asc and desc, realize that pit never changes and that firstpit is
4343 just a duplicate and not needed. Exchange rit->par() with pit in a
4345 (breakAgain): use a temp var for boost::next(rit)
4346 (breakAgainOneRow): ditto
4347 (breakParagraph): use a temp var for rows().begin()
4348 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4349 (cursorRightOneWord): use temp var for cursor.par() and
4350 cursor.pos(), remove usage of tmpcursor.
4351 (cursorLeftOneWord): use temp var for cursor.par() and
4352 cursor.pos() only set cur at end of function.
4354 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * text.C, text2.C: exchange all usage of Paragraph::next with
4357 boost::next(ParagraphList::iterator)
4359 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4361 * text2.C (cursorTop): simplify implementation
4362 (cursorBottom): ditto
4363 (setParagraph): use ParagraphList::iterator
4364 (setCurrentFont): adjust
4365 (getColumnNearX): adjust
4366 (cursorRight): adjust
4367 (cursorLeft): remove usage of Paragraph::previous
4368 (cursorUpParagraph): ditto
4369 (deleteEmptyParagraphMechanism): slight cleanup
4371 * text.C (isBoundary): take a Paragraph const & instead of a
4373 (addressBreakPoint): ditto
4374 (leftMargin): remove usage of Paragraph::previous.
4375 (setHeightOfRow): ditto
4376 (cursorLeftOneWord): ditto
4377 (selectNextWordToSpellcheck): ditto
4380 (breakParagraph): remove one usage of Paragraph::next
4381 (redoParagraph): ditto
4382 (acceptChange): ditto
4383 (insertChar): adjust
4384 (rowBreakPoint): adjust
4386 * bufferview_funcs.C (toggleAndShow): adjust
4388 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4390 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4391 methods to access it.
4393 * text.C: Added updateRowPositions to compute all row positions.
4394 Make top_y and getRowNearY() to use the cached y position
4396 2003-04-11 John Levon <levon@movementarian.org>
4398 * text.C (rowBreakPoint): reintroduce the labelEnd
4399 checks, code copied from the row fill stuff. Deep voodoo.
4401 * text.C (fill): add a comment and debugging for the
4404 2003-04-11 John Levon <levon@movementarian.org>
4406 * text.C: make sure fullrow insets get wrapped to the next line,
4407 even when they're in a manual label
4409 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * text2.C (insertParagraph): make it take ParagraphList::iterator
4413 (setLayout): make it return ParagraphList::iterator
4414 (redoParagraphs): ditto
4416 (checkParagraph): ditto
4418 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4420 * text2.C: adjust several funcs.
4421 (realizeFont): take a ParagraphList::iterator as arg.
4422 (getLayoutFont): ditto
4423 (getLabelFont): ditto
4424 (setCharFont): ditto
4426 * text.C: adjust several funcs.
4428 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4430 * text.C (selectNextWordToSpellcheck): don't accidentally
4433 2003-04-10 John Levon <levon@movementarian.org>
4435 * ToolbarBackend.C (getIcon): special handling for
4438 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4440 * text2.C (cursorRight): a getChar assert fixed
4442 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * text2.C (getFont): change to take a ParagraphList::iterator
4445 instead of Paragraph*
4446 Adjust several functions.
4448 * text.C (transformChar): change to take a ParagraphList::iterator
4449 instead of Paragraph*
4450 (singleWidth): ditto
4451 Adjust several functions.
4453 * rowpainter.C: adjust several functions
4454 * rowpainter.h:store a ParagraphList::iterator and not a
4458 2003-04-09 John Levon <levon@movementarian.org>
4463 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4464 and the "help" bits as well
4466 2003-04-09 John Levon <levon@movementarian.org>
4469 * ToolbarBackend.C: allow multiple toolbars
4471 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * undo_funcs.C (setCursorParUndo): adjust
4475 * text_funcs.C (transposeChars): adjust
4477 * text3.C (gotoNextInset): adjust
4480 * text2.C (setLayout): adjust
4481 (changeDepth): adjust
4483 (redoParagraphs): adjust
4484 (selectionAsString): adjust
4485 (setParagraph): adjust
4486 (insertInset): adjust
4487 (cutSelection): adjust
4488 (copySelection): adjust
4489 (pasteSelection): adjust
4490 (insertStringAsLines): adjust
4491 (updateInset): adjust
4492 (setCursor): change to take a ParagraphList::iterator parameter
4493 (setCursorIntern): change to take a ParagraphList::iterator parameter
4494 (setCurrentFont): adjust
4495 (cursorLeft): adjust
4496 (cursorRight): adjust
4497 (deleteEmptyParagraphMechanism): adjust
4499 * text.C (breakParagraph): adjust
4500 (insertChar): adjust
4501 (acceptChange): adjust
4502 (rejectChange): adjust
4503 (selectNextWordToSpellcheck): adjust
4504 (changeCase): adjust
4508 * lyxfind.C (SearchForward): adjust
4509 (SearchBackward): adjust
4510 (nextChange): adjust
4512 * lyxcursor.C (par): adjust
4514 * lyxcursor.h: store a ParagraphList::iterator instead of a
4517 * lyx_cb.C (getPossibleLabel): adjust
4519 * bufferview_funcs.C (toggleAndShow): adjust
4521 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4524 * BufferView.C (removeAutoInsets): adjust
4525 (lockedInsetStoreUndo): adjust
4527 2003-04-09 John Levon <levon@movementarian.org>
4529 * ToolbarBackend.C: try icon without argument
4530 if with argument fails
4532 2003-04-08 John Levon <levon@movementarian.org>
4535 * ToolbarBackend.C: add getIcon(), handle tooltip,
4536 and change from "Icon" to "Item".
4538 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4540 * BufferView.C (lockInset): another bad getchar crunched
4542 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4544 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4547 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4549 * lyxfind.C (searchForward, searchBackwards): bug 782
4551 2003-04-07 John Levon <levon@movementarian.org>
4553 * paragraph.C: remove dead comment
4555 * text.C: remove troublesome depth-fiddling code
4556 in leftMargin() and rightMargin() (bug 1017)
4558 * text.C: fix breaking of rows in nested lists
4561 * text2.C (updateCounters): fix up depth values
4564 2003-04-07 John Levon <levon@movementarian.org>
4566 * BufferView_pimpl.C: clear message when doc finishes resizing,
4567 and after a mouse event
4569 * lyxfunc.C: clear message after exiting inset
4571 2003-04-07 John Levon <levon@movementarian.org>
4573 * bufferview_funcs.C: show math status not outside
4574 status in the statusbar
4576 2003-04-07 John Levon <levon@movementarian.org>
4578 * lyxfunc.C: note status changed after a depth change
4580 2003-04-04 Angus Leeming <leeming@lyx.org>
4582 * LaTeX.h: move AuxInfo operator==, != out of line.
4583 Remove LaTeX virtual destructor; nothing derives from it.
4584 Move operator()() out of public area and rename it startscript().
4585 Change protected for private.
4587 2003-04-04 Angus Leeming <leeming@lyx.org>
4590 * text2.C: remove unneeded #includes.
4592 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4594 * text2.C (dEPM): fix the heigth of the next row
4596 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4598 * text.C: squashed an invalid getChar requester + some ws changes
4600 2003-04-03 John Levon <levon@movementarian.org>
4602 * bufferview_funcs.h:
4603 * bufferview_funcs.C:
4606 * text2.C: make getStatus work for the env depth lfuns
4608 2003-04-03 John Levon <levon@movementarian.org>
4610 * bufferview_funcs.h:
4611 * bufferview_funcs.C:
4614 * text2.C: parlistize decDepth(), by merging it with incDepth()
4616 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4618 * lyxrow.h: store a ParagraphList::iterator instead of a
4619 Paragraph* and adjust other class functions to suit.
4621 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4624 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4626 * text2.C (setCursor): do not anchor to cursor row for the time being
4628 2003-04-02 John Levon <levon@movementarian.org>
4635 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4637 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * paragraph.h: make ParagraphList and ParagraphList::iterator
4640 friends of Paragraph.
4642 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4644 * ParagraphList.C: Use the private next_ and previous_ from
4647 2003-04-01 John Levon <levon@movementarian.org>
4651 * Makefile.am: rename, remove defaults gunk
4654 * MenuBackend.C: remove defaults gunk
4657 * Languages.C: remove defaults gunk
4660 * lyx_main.C: error out if files couldn't be found.
4662 2003-04-02 John Levon <levon@movementarian.org>
4664 * text2.C: make incDepth() use parlist
4666 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * undo_funcs.C (firstUndoParagraph): adjust
4670 * text3.C (gotoInset): adjust
4671 (dispatch): adjust, and rewrite loop.
4673 * text2.C (init): adjust, and rewrite loop.
4674 (redoParagraphs): adjust
4675 (updateInset): adjust, and rewrite loop.
4676 (deleteEmptyParagraphMechanism): adjust
4678 * tabular.C (LyXTabular): adjust
4679 (SetMultiColumn): adjust
4682 * lyxtext.[Ch] (ownerParagraph): delete function
4683 (ownerParagraphs): new function returns a ParagraphList.
4685 * BufferView.C (removeAutoInsets): adjust
4686 (insertErrors): adjust
4687 (setCursorFromRow): adjust
4689 2003-04-01 Angus Leeming <leeming@lyx.org>
4691 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4694 2003-04-02 John Levon <levon@movementarian.org>
4700 * text_funcs.C: make transposeChars a free function
4702 * lyxrow_funcs.C: remove wrong comment
4704 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * rowpainter.C: adjust
4712 * lyxrow_funcs. [Ch]: new files
4714 * lyxrow.[Ch]: remove next and previous pointers
4715 (next,previous): remove accessor functions
4716 (isParEnd): move to lyxrow_funcs
4717 (lastPos): move to lyxrow_funcs
4718 (nextRowIsAllInset): move to lyxrow_funcs
4719 (lastPrintablePos): move to lyxrow_funcs
4720 (numberOfSeparators): move to lyxrow_funcs
4721 (numberOfHfills): move to lyxrow_funcs
4722 (numberOfLabelHfills): move to lyxrow_funcs
4723 (hfillExpansion): move to lyxrow_funcs
4727 * bufferview_funcs.C (toggleAndShow): adjust
4729 * RowList.h: Remove class RowList from file leave just a
4732 * RowList.C: delete file
4734 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4737 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * text3.C (cursorPrevious): adjust
4740 (cursorNext): adjust
4743 * text2.C (redoHeightOfParagraph): adjust
4744 (redoDrawingOfParagraph): adjust
4747 * text.C (breakParagraph): adjust
4748 (insertChar): adjust
4751 * rowpainter.C (RowPainter): adjust
4752 (leftMargin): simplify and adjust
4753 (most rowpainter functions): adjust.
4755 * rowpainter.h: store the row as RowList::iterator not as Row*
4757 * lyxcursor.C (row): taka RowList::iterator as arg
4760 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4763 2003-04-01 Angus Leeming <leeming@lyx.org>
4765 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4766 stuff like bool Bool.
4768 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4770 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4773 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4778 * lyxtext.h (rows): drop one version and leve a const variant that
4779 returns a RowList::iterator.
4781 2003-03-31 Angus Leeming <leeming@lyx.org>
4783 * text.C (fill): ensure that the signature is the same as that in the
4786 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * text2.C (redoParagraphs): adjust
4789 (updateCounters): adjust
4790 (checkParagraph): adjust
4791 (getColumnNearX): adjust and reformat a bit.
4793 * text.C (top_y): adjust
4795 (leftMargin): adjust
4796 (prepareToPrint): adjust
4798 (getRowNearY): adjust
4800 * lyxtext.h: make rowlist_ mutable.
4802 * RowList.h: add const_iterator
4803 * RowList.C: adjust for RowList::const_iterator.
4805 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4808 2003-03-31 John Levon <levon@movementarian.org>
4811 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4813 * lyx_main.C: set default fonts from using lyx_gui funcs
4815 * exporter.C: pdf_mode moved from lyxrc
4818 * lyxfunc.C: changes from above
4820 2003-03-31 John Levon <levon@movementarian.org>
4822 * lyx_main.C: fix to the last fix
4824 2003-03-31 John Levon <levon@movementarian.org>
4826 * bufferlist.C: "Load original" -> "Load Original"
4832 * format.C: more Alert cleanups
4834 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * text2.C (removeParagraph): make it take a RowList::iterator as
4838 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4839 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4841 * text.C (anchor_row): make it take a RowList::iterator as arg,
4843 (computeBidiTables): make it take a const reference to Row instead
4844 of Row pointer, adjust.
4845 (leftMargin): make it take a RowList::iterator as arg, adjust.
4846 (rowBreakPoint): adjust
4847 (breakAgainOneRow): make it take a RowList::iterator as arg,
4849 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4851 * bufferview_funcs.C (toggleAndShow): adjust
4853 2003-03-30 John Levon <levon@movementarian.org>
4857 * boost-inst.C: moved to support
4859 * several files: changes as a result
4861 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * text2.C (LyXText): adjust.
4865 (removeRow): make it take a RowList::iterator as arg, adjust.
4866 (fullRebreak): adjust
4867 (deleteEmptyParagraphMechanism): adjust
4868 (clearPaint): adjust
4871 * text.C (top_y): adjust
4872 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4873 (breakAgain): make it take a RowList::iterator as arg, adjust.
4874 (breakParagraph): adjust
4875 (insertChar): adjust
4878 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4879 need_break_row, and refresh_row.
4881 * text3.C (dispatch): adjust
4883 * text2.C (checkParagraph): adjust
4885 (setCursorFromCoordinates): adjust
4887 * text.C (top_y): adjust
4889 (getRow): make it return a RowList::iterator, adjust
4890 (getRowNearY): make it return a RowList::iterator, adjust
4892 * text2.C (init): adjust
4893 (insertRow): remove function
4894 (insertParagraph): adjust
4895 (redoParagraphs): adjust
4896 (fullRebreak): adjust
4897 (updateCounters): adjust
4899 * text.C (top_y): rewrite to use RowList iterators.
4901 (setHeightOfRow): rewrite to sue RowList iterators.
4902 (appendParagraph): adjust
4903 (breakAgain): adjust
4904 (breakAgainOneRow): adjust
4905 (breakParagraph): adjust
4907 (getRowNearY): adjust, and remove commented code.
4909 * lyxtext.h (firstRow): delete function
4910 (lastRow): delete function
4911 (rows): new function (const and non-const versions.)
4912 (insertRow): delete function
4914 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4916 2003-03-29 John Levon <levon@movementarian.org>
4918 * BufferView_pimpl.C: always update scrollbar top
4919 because pasting text when we're anchored could mean we
4920 miss an update altogether
4922 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * text2.C (init): use rowlist_.end() and not 0.
4925 (insertRow): change to take a RowList::iterator as arg, adjust
4927 (insertParagraph): change to take a RowList::iterator as arg,
4929 (redoParagraphs): remove some debug msgs.
4931 * text.C (appendParagraph): change to take a RowList::iterator
4932 arg, adjust for this.
4933 (breakAgain): add an assert
4934 (breakAgainOneRow): ditto
4936 2003-03-29 John Levon <levon@movementarian.org>
4938 * text2.C: do not clear selection after inc/decDepth
4941 2003-03-29 John Levon <levon@movementarian.org>
4944 * buffer.C: fix broken strerrors according to Lars
4946 2003-03-29 John Levon <levon@movementarian.org>
4948 * converters.C: more Alert cleanups
4950 2003-03-29 John Levon <levon@movementarian.org>
4952 * bufferview_funcs.C: remove pointless Alert
4954 * buffer.C: fix confusing error message when
4955 a template is chmoded 000
4957 2003-03-29 John Levon <levon@movementarian.org>
4961 * BufferView_pimpl.C: Alert fixes
4965 * tabular-old.C: remove unused table compat reading
4967 2003-03-29 John Levon <levon@movementarian.org>
4972 * lyx_cb.C: more Alert cleanups
4974 * lyxfunc.C: don't allow chktex if not latex document
4976 2003-03-29 John Levon <levon@movementarian.org>
4980 * buffer.C: warnings pushed down from support/,
4983 2003-03-29 John Levon <levon@movementarian.org>
4985 * lyxfunc.C: safety check for C-r (revert)
4987 2003-03-29 John Levon <levon@movementarian.org>
4990 * bufferlist.C: several UI fixes using Alert::prompt.
4991 Fix the pointless looping quit code. Fix stupid revert
4996 * lyx_cb.C: use Alert::prompt
4998 * lyx_main.C: remove a silly question
5000 * lyxfunc.C: remove a couple of silly questions,
5003 2003-03-28 John Levon <levon@movementarian.org>
5005 * text2.C: fix bug 974 (End on empty par)
5007 2003-03-28 John Levon <levon@movementarian.org>
5009 * BufferView_pimpl.C:
5011 * lfuns.h: remove do-nothing math greek lfuns
5013 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * lyxgluelength.h (isValidGlueLength): add default arg on
5016 parameter 2. Remove default arg from friend in class.
5018 * lyxlength.h (isValidLength): add default arg on parameter 2.
5019 Remove default arg from friend in class.
5021 * text2.C (LyXText): adjust, initialize refresh_row.
5025 (insertParagraph): adjst
5026 (redoParagraphs): adjust
5027 (fullRebreak): adjust
5028 (updateCounters): adjust
5029 (deleteEmptyParagraphMechanism): first attempt at fixing a
5032 * text.C (top_y): adjust
5033 (setHeightOfRow): adjust
5035 (getRowNearY): adjust
5037 * lyxtext.h: include RowList.h
5038 (~LyXText): not needed anymore, deleted.
5039 (firstRow): modify for RowList
5040 (lastRow): new function
5041 Delete firstrow and lastrow class variables, add a Rowlist
5042 rowlist_ class variable.
5044 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5047 * RowList.C (insert): fix case where it == begin().
5049 2003-03-26 Angus Leeming <leeming@lyx.org>
5051 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5052 the thesaurus dialog.
5054 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5058 * RowList.[Ch]: new files
5060 * ParagraphList.C (erase): handle the case where it == begin
5063 2003-03-25 John Levon <levon@movementarian.org>
5067 * aspell.C: add new aspell support
5070 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5073 2003-03-25 Angus Leeming <leeming@lyx.org>
5076 * LyXAction.C (init): new LFUN_INSET_INSERT.
5078 * BufferView_pimpl.C (dispatch): split out part of the
5079 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5081 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5084 2003-03-25 Angus Leeming <leeming@lyx.org>
5086 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5088 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5091 * text3.C: remove useless row->height(0)
5093 2003-03-25 John Levon <levon@movementarian.org>
5097 * text3.C: rename the refreshing stuff to better names
5099 2003-03-24 John Levon <levon@movementarian.org>
5101 * BufferView_pimpl.h:
5102 * BufferView_pimpl.C: update layout choice on a mouse
5105 2003-03-23 John Levon <levon@movementarian.org>
5107 * Makefile.am: fix commandtags.h reference
5109 2003-03-22 John Levon <levon@movementarian.org>
5111 * BufferView_pimpl.C:
5116 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5118 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5121 * text.C: take the rtl methods out of line
5123 2003-03-21 André Pönitz <poenitz@gmx.net>
5125 * metricsinfo.[Ch]: new files containing structures to be passed around
5126 during the two-phase-drawing...
5128 2003-03-21 André Pönitz <poenitz@gmx.net>
5130 * lyxtextclass.C: read 'environment' tag.
5132 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5134 * text2.C (removeRow): fix bug 964
5136 2003-03-20 John Levon <levon@movementarian.org>
5140 * text2.C: paint cleanups. Inset::update() dropped font
5143 2003-03-19 John Levon <levon@movementarian.org>
5145 * lyxfunc.C: only fitcursor/markDirty if available()
5147 2003-03-19 John Levon <levon@movementarian.org>
5149 * commandtags.h: rename to ...
5151 * lfuns.h: ... this, and renumber / cleanup
5153 2003-03-19 John Levon <levon@movementarian.org>
5155 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5156 fit the cursor after an lfun
5160 * BufferView_pimpl.h:
5161 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5163 * LyXAction.C: layout-character should have ReadOnly
5165 * ParagraphParameters.C:
5167 * bufferview_funcs.C:
5174 * undo_funcs.C: changes from above
5176 2003-03-18 John Levon <levon@movementarian.org>
5178 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5179 remove it from update()
5181 * lyxfunc.C: update layout choice after an lfun
5183 * text3.C: remove extra updateLayoutChoice()s
5185 2003-03-18 John Levon <levon@movementarian.org>
5187 * text.C: top_y change means full repaint, fix
5188 a drawing bug with cursor movement
5190 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5194 * text2.C: anchor row on setCursor
5196 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5198 * lyxtext.h: remove almost all mutable keywords
5201 * text3.C: remove const keywords accordingly
5203 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5207 (TeXEnvironment): ditto
5210 2003-03-17 John Levon <levon@movementarian.org>
5212 * text.C (rowBreakPoint): remove attempt to fix displayed
5213 math insets inside a manual label
5215 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * lyxtext.h: remove BufferView* as first arg from almost all class
5219 * other files: adjust.
5221 2003-03-17 John Levon <levon@movementarian.org>
5225 * text2.C: more paint cleanups
5227 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5230 * rowpainter.C: remove "smart" background painting code
5232 2003-03-16 John Levon <levon@movementarian.org>
5237 * text3.C: add helper functions for setting refresh_row/y
5239 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5241 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5242 newline inset which *can* get inserted in the pass_thru layouts.
5243 This is primarily for literate documents.
5245 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5247 * buffer.C: increment LYX_FORMAT to 223
5249 2003-03-14 André Pönitz <poenitz@gmx.net>
5251 * textclass.h: prepare for environment handling, ws changes
5252 * lyxlayout.C: read latexheader and latexfooter tags
5254 2003-03-14 John Levon <levon@movementarian.org>
5256 * text2.C: rewrite ::status() a bit
5258 2003-03-13 John Levon <levon@movementarian.org>
5260 * lyxtext.h: add some docs
5262 2003-03-13 John Levon <levon@movementarian.org>
5267 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5269 2003-03-13 John Levon <levon@movementarian.org>
5271 * text3.C: fix appendix redrawing
5273 2003-03-13 John Levon <levon@movementarian.org>
5275 * text.C (setHeightOfRow):
5277 * rowpainter.C: make appendix mark have the text
5278 "Appendix" so the user knows what it is
5281 * LColor.C: s/appendixline/appendix/ from above
5283 2003-03-13 John Levon <levon@movementarian.org>
5285 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5287 * text.C: fix a getChar(pos) bug properly
5289 2003-03-13 Angus Leeming <leeming@lyx.org>
5292 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5293 Probably only temporary. Let's see how things pan out.
5295 * BufferView.C (unlockInset):
5296 * BufferView_pimpl.C (fitCursor):
5297 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5299 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5300 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5302 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5303 new functions that convert ParagraphParameters to and from a string.
5305 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5306 BufferView::Pimpl's dispatch.
5307 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5309 2003-03-13 André Pönitz <poenitz@gmx.net>
5313 * factory.C: make it aware of InsetEnv
5315 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5317 * text2.C (setCursor): never ask for one past last
5318 (setCursor): add some debugging messages.
5320 * text.C (singleWidth): never ask for one past last
5321 (singleWidth): ditto
5323 (rightMargin): ditto
5324 (rowBreakPoint): ditto
5325 (setHeightOfRow): ditto
5326 (prepareToPrint): ditto
5328 * rowpainter.C (paintBackground): never ask for one past last
5329 (paintText): never ask for one past last
5331 * paragraph_pimpl.C (getChar): make the assert stricter, never
5332 allow the one past last pos to be taken
5334 * paragraph.C (getChar): ws changes only
5336 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5337 (numberOfSeparators): ditto
5338 (numberOfHfills): ditto
5340 2003-03-12 John Levon <levon@movementarian.org>
5346 * paragraph_funcs.C: fix per-buffer authorlists
5348 2003-03-12 John Levon <levon@movementarian.org>
5350 * text.C: fix newline in right address
5352 2003-03-12 Angus Leeming <leeming@lyx.org>
5354 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5355 duplicate those in LyXFunc::dispatch.
5359 * ToolbarDefaults.C:
5360 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5361 Add LFUN_FONTFREE_UPDATE.
5363 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5364 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5366 * bufferview_func.[Ch]: several new functions to facilliate
5367 transfer of data to and from the character dialog.
5369 2003-03-12 John Levon <levon@movementarian.org>
5374 * paragraph_funcs.C:
5375 * paragraph_pimpl.C:
5379 * text3.C: remove META_NEWLINE in favour of an inset
5382 * rowpainter.C: remove paintNewline (done by inset)
5384 2003-03-12 John Levon <levon@movementarian.org>
5386 * paragraph_pimpl.C: complain about bad getChar()s
5387 for a while at least
5389 2003-03-12 John Levon <levon@movementarian.org>
5392 * buffer.C: move paragraph read into a separate function,
5393 a little renaming to reflect that.
5396 * bufferparams.C: remove the author_ids map, not necessary now
5399 * factory.C: moved Buffer::readInset to here
5401 * paragraph_funcs.h:
5402 * paragraph_funcs.C: readParagraph free function moved from
5405 * tabular.C: name change
5407 2003-03-12 John Levon <levon@movementarian.org>
5410 * ParagraphParameters.C: move par params input to
5413 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5414 behave like a normal read from the stream wrt reading
5415 a line vs. a \\token
5417 2003-03-12 John Levon <levon@movementarian.org>
5420 * ParagraphParameters.h:
5421 * ParagraphParameters.C: move output code to a
5424 2003-03-12 John Levon <levon@movementarian.org>
5426 * BufferView.C (insertLyXFile):
5429 * tabular.C: use a parlist iterator for creating the
5432 2003-03-12 John Levon <levon@movementarian.org>
5434 * buffer.C: make current_change static local not
5437 2003-03-12 John Levon <levon@movementarian.org>
5439 * buffer.C: fix insertStringAsLines for change tracking
5441 2003-03-12 John Levon <levon@movementarian.org>
5448 * bufferparams.C: move author list into params. Rename some
5449 functions. Move the header reading into a separate token
5450 loop. Move the header token reading into BufferParams.
5452 2003-03-12 John Levon <levon@movementarian.org>
5454 * changes.C: put debug inside lyxerr.debugging() checks
5456 2003-03-11 André Pönitz <poenitz@gmx.net>
5458 * factory.C: make it aware of InsetHFill
5460 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5462 * buffer.C (latexParagraphs): move function from here...
5463 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5466 2003-03-10 Angus Leeming <leeming@lyx.org>
5468 * LyXAction.C (init): fix bug in poplating array with multiple entries
5469 with the same LFUN (spotted by JMarc).
5471 2003-03-10 John Levon <levon@movementarian.org>
5474 * text2.C: move getColumnNearX() near its
5477 2003-03-10 John Levon <levon@movementarian.org>
5479 * text.C: fix break before a minipage
5481 2003-03-10 John Levon <levon@movementarian.org>
5483 * text.C: fix the last commit
5485 2003-03-09 John Levon <levon@movementarian.org>
5489 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5490 bug 365 (don't break before insets unless needed). Don't
5491 return a value > last under any circumstances.
5493 2003-03-09 Angus Leeming <leeming@lyx.org>
5495 * BufferView_pimpl.C (trackChanges, dispatch): call
5496 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5498 2003-03-09 Angus Leeming <leeming@lyx.org>
5500 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5501 than Dialogs::showAboutlyx().
5503 2003-03-09 Angus Leeming <leeming@lyx.org>
5505 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5506 than Dialogs::showTabularCreate().
5508 2003-03-09 John Levon <levon@movementarian.org>
5512 * text2.C: 3rd arg to nextBreakPoint was always the same.
5515 2003-03-08 John Levon <levon@movementarian.org>
5522 * text2.C: Remove the "main" bit from the "main body"
5525 2003-03-08 John Levon <levon@movementarian.org>
5527 * text.C (leftMargin): The left margin of an empty
5528 manual label paragraph should not include the label width
5531 * text.C (prepareToPrint): don't attempt to measure hfills
5532 for empty manual label paragraphs - the answer should be 0
5534 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5536 * CutAndPaste.C: remove commented code and reindent.
5538 2003-03-08 John Levon <levon@movementarian.org>
5541 * lyxfunc.C: move reloadBuffer()
5544 * BufferView.C: to here
5546 * lyxvc.C: add comment
5549 * vc-backend.C: call bv->reload() to avoid
5550 getStatus() check on MENURELOAD
5552 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5554 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5555 to an old format .dep file.
5557 2003-03-07 Angus Leeming <leeming@lyx.org>
5559 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5560 when the LFUN_MOUSE_RELEASE should have been handled by
5561 inset->localDispatch.
5563 2003-03-07 Angus Leeming <leeming@lyx.org>
5565 * BufferView_pimpl.C (dispatch):
5566 * LyXAction.C (init):
5567 * ToolbarDefaults.C (init):
5569 * lyxfunc.C (getStatus):
5570 remove LFUN_INSET_GRAPHICS.
5572 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5574 2003-03-07 Angus Leeming <leeming@lyx.org>
5577 * LyXAction.C (init):
5578 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5580 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5583 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5585 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5586 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5588 2003-03-07 Angus Leeming <leeming@lyx.org>
5590 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5593 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * ParagraphList.C (front): new function
5598 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5600 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5601 and top_row_offset_. removed var first_y.
5603 * text2.C (LyXText, removeRow):
5605 * BufferView_pimpl.C:
5606 use these methods instead of using first_y
5608 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5610 * text2.C (pasteSelection): adjust for checkPastePossible
5612 * CutAndPaste.C: remove Paragraph * buf and replace with
5613 ParagraphList paragraphs.
5614 (DeleteBuffer): delete
5615 (cutSelection): change the tc type to textclass_type
5616 (copySelection): change the tc type to textclass_type
5617 (copySelection): adjust for ParagraphList
5618 (pasteSelection): change the tc type to textclass_type
5619 (pasteSelection): adjust for Paragraphlist
5620 (nrOfParagraphs): simplify for ParagraphList
5621 (checkPastePossible): simplify for ParagraphList
5622 (checkPastePossible): remove unused arg
5624 * ParagraphList.C (insert): handle the case where there are no
5627 * CutAndPaste.h: make CutAndPaste a namespace.
5629 * text3.C (dispatch): adjust
5631 * text.C (breakParagraph): add a ParagraphList as arg
5633 * paragraph_funcs.C (breakParagraph): change to take a
5634 BufferParams and a ParagraphList as args.
5635 (breakParagraphConservative): ditto
5636 (mergeParagraph): ditto
5637 (TeXDeeper): add a ParagraphList arg
5638 (TeXEnvironment): ditto
5641 * buffer.C (readLyXformat2): adjust
5642 (insertStringAsLines): adjust
5643 (latexParagraphs): adjust
5645 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5646 (cutSelection): adjust
5647 (pasteSelection): adjust
5649 * BufferView_pimpl.C (insertInset): adjust
5651 2003-03-05 Angus Leeming <leeming@lyx.org>
5654 * LyXAction.C (init):
5655 * BufferView_pimpl.C (dispatch):
5656 * lyxfunc.C (getStatus):
5657 remove LFUN_CHILD_INSERT.
5659 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5661 2003-03-05 Angus Leeming <leeming@lyx.org>
5664 * LyXAction.C (init):
5665 * src/factory.C (createInset):
5666 * lyxfunc.C (getStatus):
5667 * text3.C (dispatch):
5668 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5670 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5672 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * ParagraphList.C (insert): handle insert right before end()
5675 (erase): fix cases where it can be first or last paragraph.
5677 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5679 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5680 Paragraph::next and Paragraph::previous
5683 * text.C (breakParagraph): adjust
5685 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5686 BufferParams& as arg.
5687 (breakParagraph): use ParagraphList::insert
5688 (breakParagraphConservative): take a Buffer* instead of a
5689 BufferParams& as arg.
5690 (breakParagraphConservative): use ParagraphList::insert.
5692 * buffer.C (insertStringAsLines): un-const it
5693 (insertStringAsLines): adjust
5695 * ParagraphList.C (insert): new function
5697 * CutAndPaste.C (pasteSelection): adjust
5699 * text.C (backspace): adjust
5701 * tabular.C (SetMultiColumn): adjust
5703 * CutAndPaste.C (cutSelection): adjust
5704 (pasteSelection): adjust
5706 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5707 Buffer const * as arg
5709 * ParagraphList.C (erase): new function
5710 * paragraph_funcs.C (mergeParagraph): use it
5711 (mergeParagraph): make it take a Buffer* instead of a
5712 BufferParams* as arg
5714 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5716 (breakParagraphConservative): ditto
5718 * paragraph.h: remove the breakParagraph friend
5720 * paragraph.C (eraseIntern): new function
5721 (setChange): new function
5723 * paragraph_funcs.C (mergeParagraph): make it take a
5724 ParagraphList::iterator instead of a Paragraph *, adjust
5727 * paragraph.h: move an #endif so that the change tracking stuff
5728 also works in the NO_NEXT case.
5730 2003-03-04 Angus Leeming <leeming@lyx.org>
5733 * LyXAction.C: new LFUN_INSET_MODIFY.
5735 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5736 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5738 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * several files: ws changes only
5742 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5743 (TeXEnvironment): ditto
5746 * buffer.C (makeLaTeXFile): adjust
5747 (latexParagraphs): make it take ParagraphList::iterator as args
5749 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * buffer.C (latexParagraphs): adjust
5753 * paragraph.C (TeXOnePar): move function...
5754 (optArgInset): move function...
5755 (TeXEnvironment): move function...
5756 * paragraph_pimpl.C (TeXDeeper): move function...
5757 * paragraph_funcs.C: ...here
5759 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5761 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * buffer.C (readInset): remove compability code for old Figure and
5766 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * buffer.C: ws changes
5771 * BufferView_pimpl.C: ditto
5774 * bufferlist.h: ditto
5778 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5780 * converter.[Ch]: split into itself +
5783 * Makefile.am: += graph.[Ch] + format.[Ch]
5790 * lyxrc.C: added #include "format.h"
5792 2003-02-27 Angus Leeming <leeming@lyx.org>
5794 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5797 * factory.C (createInset): add "label" to the factory.
5799 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5800 string and do no more.
5802 2003-02-27 Angus Leeming <leeming@lyx.org>
5805 * LyXAction.C (init):
5806 * factory.C (createInset):
5807 * BufferView_pimpl.C (dispatch):
5808 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5810 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5812 * lyxfunc.C (dispatch):
5813 * text3.C (dispatch): pass name to params2string.
5815 2003-02-26 Angus Leeming <leeming@lyx.org>
5817 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5819 Rearrange the ~includes. Strip out the unnecessary ones.
5821 * factory.C (createInset): reformat.
5822 create new insets for the various LFUN_XYZ_APPLY lfuns.
5824 2003-02-26 John Levon <levon@movementarian.org>
5827 * lyxrow.C: add isParStart,isParEnd helpers
5829 * paragraph.h: make isInserted/DeletedText take refs
5831 * paragraph_funcs.h:
5832 * paragraph_funcs.C: remove #if 0'd code
5837 * text.C: use lyxrow helpers above.
5838 Move draw and paint routines to RowPainter.
5839 Make several methods use refs not pointers.
5840 Make backgroundColor() const.
5841 Add markChangeInDraw(), isInInset().
5842 Merge changeRegionCase into changeCase.
5843 Make workWidth() shouldn't-happen code into an Assert.
5846 * rowpainter.C: new class for painting a row.
5849 * vspace.C: make inPixels take a ref
5851 2003-02-26 Angus Leeming <leeming@lyx.org>
5853 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5856 2003-02-25 John Levon <levon@movementarian.org>
5858 * ispell.C: give the forked command a more accurate name
5860 2003-02-22 John Levon <levon@movementarian.org>
5863 * toc.C: make TocItem store an id not a Paragraph *
5866 2003-02-21 Angus Leeming <leeming@lyx.org>
5868 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5869 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5870 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5871 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5872 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5873 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5875 * BufferView_pimpl.C (dispatch):
5876 * LyXAction.C (init):
5877 * factory.C (createInset):
5878 * lyxfunc.C (getStatus, dispatch):
5879 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5881 2003-02-21 Angus Leeming <leeming@lyx.org>
5883 * BufferView_pimpl.C (MenuInsertLyXFile):
5884 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5885 * lyxfunc.C (menuNew, open, doImport):
5886 no longer pass a LyXView & to fileDlg.
5888 2003-02-21 Angus Leeming <leeming@lyx.org>
5890 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5891 * LyXAction.C: change, BIBKEY to BIBITEM.
5892 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5893 Change InsetBibKey to InsetBibitem.
5894 Change BIBKEY_CODE to BIBITEM_CODE.
5895 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5896 * factory.C: replace insetbib.h with insetbibitem.h.
5897 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5898 * paragraph.C: replace insetbib.h with insetbibitem.h.
5899 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5900 Change bibkey() to bibitem().
5901 * text.C: remove insetbib.h.
5902 * text2.C: replace insetbib.h with insetbibitem.h.
5903 change bibkey() to bibitem().
5904 * text3.C: remove insetbib.h.
5905 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5907 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5909 * lyxrc.C (output): enclose user email in quotes (in case there are
5912 2003-02-18 John Levon <levon@movementarian.org>
5914 * buffer.h: add std::
5916 2003-02-17 John Levon <levon@movementarian.org>
5922 * pspell.C: reworking. Especially in ispell, a large
5923 number of clean ups and bug fixes.
5925 * lyxfunc.C: fix revert to behave sensibly
5927 2003-02-17 André Pönitz <poenitz@gmx.net>
5930 * commandtags.h: new LFUN_INSERT_BIBKEY
5940 * paragraph_func.C: remove special bibkey handling
5942 2003-02-17 John Levon <levon@movementarian.org>
5944 * text.C (Delete): fix case where delete at the end of
5945 the very first paragraph would not merge the pars
5947 2003-02-17 John Levon <levon@movementarian.org>
5949 * lyxrow.C: fix lastPrintablePos()
5951 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5953 * bufferparams.C (writeLaTeX): add a std:here
5955 * buffer.C: and remove a using directive there
5957 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5959 * buffer.C (makeLaTeXFile): move the code that generates the
5962 * bufferparams.C (writeLaTeX): ... in this new method
5964 * LaTeXFeatures.C (getEncodingSet): make const
5965 (getLanguages): make const
5967 * MenuBackend.C (binding): returns the binding associated to this
5969 (add): sets the status of each item by calling getStatus. Adds
5971 (read): add support for OptSubMenu
5972 (expand): remove extra separator at the end of expanded menu
5974 2003-02-15 John Levon <levon@movementarian.org>
5977 * BufferView_pimpl.C:
5979 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5980 inset code that had no actual effect. Remove unneeded status
5983 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5985 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5988 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5990 * text.C (drawLengthMarker): also draw an arrow marker for
5991 symbolic lengths (medskip...)
5993 2003-02-14 John Levon <levon@movementarian.org>
5996 * tabular.C: better method names
5998 2003-02-14 John Levon <levon@movementarian.org>
6000 * BufferView_pimpl.C:
6005 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6006 it's a more accurate name. Remove some pointless uses.
6008 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6010 * text2.C (LyXText): change order of initilizers to shut off
6013 2003-02-14 John Levon <levon@movementarian.org>
6015 * buffer.C: use ParIterator for getParFromID()
6019 * paragraph_pimpl.h:
6020 * paragraph_pimpl.C: remove unused getParFromID()
6022 2003-02-14 John Levon <levon@movementarian.org>
6024 * buffer.C: remove some very old #if 0'd parse code
6026 2003-02-13 John Levon <levon@movementarian.org>
6030 * text2.C: move hfillExpansion(), numberOfSeparators(),
6031 rowLast(), rowLastPrintable(), numberofHfills(),
6032 numberOfLabelHfills() ...
6035 * lyxrow.C: ... to member functions here.
6040 * text.C: remove LyXText::beginningOfMainBody(), and call
6041 p->beginningOfMainBody() directly. Move the check for
6042 LABEL_MANUAL into the latter.
6049 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6055 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6056 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6058 2003-02-13 John Levon <levon@movementarian.org>
6060 * CutAndPaste.C: remove debug
6062 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6064 * paragraph.C (asString): remove two unused variables
6066 * lyxtextclass.C (readTitleType):
6068 (LyXTextClass): handle new members titletype_ and titlename_
6070 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6072 2003-02-09 John Levon <levon@movementarian.org>
6075 * buffer.C: replace hand-coded list with a map for the dep clean
6077 2003-02-08 John Levon <levon@movementarian.org>
6079 * LaTeX.C: consolidate code into showRunMessage() helper
6081 2003-02-08 John Levon <levon@movementarian.org>
6086 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6087 and pass the size in explicitly
6089 * BufferView_pimpl.h:
6090 * BufferView_pimpl.C:
6092 * BufferView.C: add getCurrentChange()
6094 * BufferView_pimpl.h:
6095 * BufferView_pimpl.C: handle change lfuns
6097 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6098 for changes. Mark pasted paragraphs as new.
6100 * support/lyxtime.h:
6101 * support/lyxtime.C:
6102 * DepTable.C: abstract time_t as lyx::time_type
6105 * LColor.C: add colours for new text, deleted text, changebars
6107 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6108 package use "usenames" option.
6112 * LyXAction.C: add change lfuns
6116 * author.C: author handling
6119 * buffer.C: add a per-buffer author list, with first entry as
6120 current author. Handle new .lyx tokens for change tracking. Output
6121 author list to .lyx file. Output dvipost stuff to .tex preamble.
6122 Bump lyx format to 222.
6125 * bufferlist.C: add setCurrentAuthor() to reset current author details
6129 * bufferparams.C: add param for tracking
6131 * bufferview_funcs.C: output change info in minibuffer
6135 * changes.C: add change-tracking structure
6138 * debug.C: add CHANGES debug flag
6141 * lyxfind.C: add code for finding the next change piece
6144 * lyxrc.C: add user_name and user_email
6147 * lyxrow.C: add a metric for the top of the text line
6150 * text.C: implement accept/rejectChange()
6153 * text.C: paint changebars. Paint new/deleted text in the chosen
6154 colours. Strike through deleted text.
6158 * paragraph_pimpl.h:
6159 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6160 in the current change to the insert functions. Rework erase to
6161 mark text as deleted, adding an eraseIntern() and a range-based
6162 erase(). Implement per-paragraph change lookup and
6165 * paragraph_funcs.C: Fixup paste for change tracking.
6167 * tabular.C: mark added row/columns as new.
6169 * text.C: fix rowLast() to never return -1. Don't allow
6170 spellchecking of deleted text. Track transpose changes. Don't
6171 allow paragraph break or merge where appropriate.
6173 * text2.C: leave cursor at end of selection after a cut.
6175 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6177 * text.C (getLengthMarkerHeight):
6178 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6179 visible on screen too.
6181 2003-02-07 John Levon <levon@movementarian.org>
6183 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6185 2003-02-05 Angus Leeming <leeming@lyx.org>
6187 * lyxserver.C (read_ready): revert my patch of 11 September last year
6188 as it sends PC cpu through the roof. Presumably this means that
6189 the lyxserver will no longer run on an Alpha...
6191 2003-01-30 Angus Leeming <leeming@lyx.org>
6193 * factory.C (createInset): create an InsetCommandParam of type "index"
6194 and use it to 'do the right thing'.
6196 * text2.C (getStringToIndex): ensure that cursor position is always
6197 reset to the reset_cursor position.
6199 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6201 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6204 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6208 * lyxfunc.C: Output messages with identical spelling, punctuation,
6211 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6213 * MenuBackend.C (expandFormats): List only viewable export formats
6216 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6219 * lyxfunc.C (getStatus): Make sure that formats other than
6220 "fax" can also be disabled
6222 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6224 * text3.C (dispatch): put the lfuns that insert insets in 3
6225 groups, and call doInsertInset with appropriate arguments.
6226 (doInsertInset): new function, that creates an inset and inserts
6227 it according to some boolean parameters.
6229 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * buffer.C (readFile): remember to pass on 'par' when calling
6232 readFile recursively.
6234 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6236 * MenuBackend.C (expandFormats): add "..." to import formats.
6238 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6240 * paragraph.C (asString): Remove XForms RTL hacks.
6242 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6243 * buffer.C: fix typo
6245 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * Makefile.am (LIBS): delete var
6248 (lyx_LDADD): add @LIBS@ here instead.
6250 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6252 * Clarify the meaning of "wheel mouse jump"
6254 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6259 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6261 * importer.C (Loaders): do not preallocate 3 elements in the
6262 vector, since one ends up with 6 elements otherwise
6264 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6266 * DepTable.C (write): write the file name as last element of the
6267 .dep file (because it may contain spaces)
6268 (read): read info in the right order
6270 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6272 * paragraph_pimpl.C (simpleTeXBlanks):
6273 (simpleTeXSpecialChars):
6274 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6276 * tabular.C (latex): add some missing case statements. Reindent.
6278 * MenuBackend.C (expandToc): remove unused variable.
6280 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6289 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6292 2003-01-05 John Levon <levon@movementarian.org>
6295 * BufferView.C: add getEncoding()
6298 * kbsequence.C: do not store last keypress
6301 * lyxfunc.C: store last keypress here instead. Pass encoding
6304 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6306 * lyx_main.C (init): remove annoying error message when following
6307 symbolic links (bug #780)
6309 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6311 * text.C (insertChar):
6312 * lyxrc.C (getDescription): remove extra spaces
6314 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6316 * lyxrc.C (getDescription): remove extra spaces
6318 2002-12-20 John Levon <levon@movementarian.org>
6320 * text3.C: hack fix for page up/down across tall rows
6322 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6324 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6327 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6329 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6330 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6331 thesaurus is not compiled in
6333 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6335 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6337 2002-12-16 Angus Leeming <leeming@lyx.org>
6340 * lyx_main.C (init): remove override_x_deadkeys stuff.
6342 2002-12-12 John Levon <levon@movementarian.org>
6344 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6345 insert. Only remove shift modifier under strict
6348 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6350 * MenuBackend.C (expandToc): fix crash.
6352 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * MenuBackend.C (expandToc): gettext on float names.
6356 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6358 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6359 implement bool empty() [bug 490]
6361 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6365 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * several files: ws changes
6369 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * text2.C (setCounter): clean up a bit, use boost.format.
6372 (updateCounters): initialize par upon declaration.
6374 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6375 if the layout exists. We do not just store the layout any more.
6376 (SwitchLayoutsBetweenClasses): use boost.format
6378 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6380 * converter.C (convert): if from and to files are the same, use a
6381 temporary files as intermediary
6383 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6386 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6388 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6390 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6392 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6394 * tabular.C (asciiPrintCell): use string(size, char) instead of
6397 * sgml.C (openTag): fix order of arguments to string constructor
6400 * lyxfunc.C (dispatch): use boost.format
6402 * lots of files: change "c" -> 'c'
6404 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6406 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6408 2002-11-25 Angus Leeming <leeming@lyx.org>
6410 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6412 * lyx_main.C (init): compile fix.
6414 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * lyx_cb.C (start): boost.formatify
6417 do not include <iostream>
6419 * lengthcommon.C: ws only
6421 * boost-inst.C,BoostFormat.h: add more explict instantations
6423 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6425 * lots of files: handle USE_BOOST_FORMAT
6427 2002-11-21 John Levon <levon@movementarian.org>
6429 * pspell.C: fix compile
6431 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6433 * lyxfunc.C (dispatch): use boost::format
6437 * lyxfont.C (stateText): use boost::format
6439 * lyx_main.C (LyX): use boost::format
6441 (queryUserLyXDir): ditto
6444 (typedef boost::function): use the recommened syntax.
6446 * importer.C (Import): use boost::format
6448 * debug.C (showLevel): use boost::format
6450 * converter.C (view): use boost::format
6455 * bufferview_funcs.C (currentState): use boost::format
6457 * bufferlist.C (emergencyWrite): use boost::format
6459 * buffer.C (readLyXformat2): use boost::format
6460 (parseSingleLyXformat2Token): ditto
6462 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6464 * LaTeX.C (run): use boost::format
6466 * Chktex.C (scanLogFile): use boost::format
6468 * BufferView_pimpl.C (savePosition): use boost::format
6469 (restorePosition): ditto
6470 (MenuInsertLyXFile): ditto
6472 * BoostFormat.h: help file for explicit instation.
6474 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6476 * tabular.C (latex): Support for block alignment in fixed width
6479 2002-11-17 John Levon <levon@movementarian.org>
6481 * BufferView_pimpl.C:
6483 * lyxfunc.C: split filedialog into open/save
6485 2002-11-08 Juergen Vigna <jug@sad.it>
6487 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6488 by my last patch (hopefully).
6490 2002-11-08 John Levon <levon@movementarian.org>
6499 * toc.C: ParConstIterator, and use it (from Lars)
6501 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6503 * lyxtextclass.[Ch]: revise and add doxygen comments
6505 2002-11-07 John Levon <levon@movementarian.org>
6507 * text.C: fix progress value for spellchecker
6509 * toc.C: fix navigate menu for insetwrap inside minipage
6511 * paragraph_funcs.C: added FIXME for suspect code
6513 2002-11-07 John Levon <levon@movementarian.org>
6515 * BufferView_pimpl.C: fix redrawing of insets
6518 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6520 * text2.C (updateCounters): fix bug 668
6522 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6524 * text3.C (dispatch): Do not make the buffer dirty when moving the
6527 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * vc-backend.C: STRCONV
6532 * text2.C (setCounter): STRCONV
6534 * paragraph.C (asString): STRCONV
6536 * lyxlength.C (asString): STRCONV
6537 (asLatexString): ditto
6539 * lyxgluelength.C (asString): STRCONV
6540 (asLatexString): ditto
6542 * lyxfunc.C (dispatch): STRCONV
6545 * lyxfont.C (stateText): STRCONV
6547 * importer.C (Import): STRCONV
6549 * counters.C (labelItem): STRCONV
6550 (numberLabel): ditto
6551 (numberLabel): remove unused ostringstream o
6556 * bufferview_funcs.C (currentState): STRCONV
6558 * buffer.C (readFile): STRCONV
6559 (asciiParagraph): ditto
6560 (makeLaTeXFile): ditto
6562 * Spacing.C (writeEnvirBegin): STRCONV
6564 * LaTeXFeatures.C (getLanguages): STRCONV
6565 (getPackages): ditto
6567 (getBabelOptions): ditto
6568 (getTClassPreamble): ditto
6569 (getLyXSGMLEntities): ditto
6570 (getIncludedFiles): ditto
6574 (scanAuxFile): ditto
6577 * LString.h: add the STRCONV macros
6579 * BufferView_pimpl.C (savePosition): STRCONV
6580 (restorePosition): ditto
6581 (MenuInsertLyXFile): ditto
6583 * vc-backend.C (scanMaster): change from submatch[...] to
6586 * funcrequest.C: include config.h
6588 * factory.C: include config.h
6590 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6592 * box.C: include config.h
6594 * LaTeX.C (scanAuxFile): change from submatch[...] to
6598 2002-10-25 Angus Leeming <leeming@lyx.org>
6600 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6602 * ispell.[Ch] (setError): new method.
6603 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6604 Use setError() insetead of goto END.
6606 * lyx_cb.C (AutoSave): move out child process into new class
6609 2002-10-30 John Levon <levon@movementarian.org>
6611 * text3.C: make start appendix undoable
6613 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6615 * lyxlength.C (inPixels): Fix returned value.
6617 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6620 2002-10-24 Angus Leeming <leeming@lyx.org>
6622 * lyxgluelength.h: no need to forward declare BufferParams
6623 or BufferView, so don't.
6625 2002-10-21 John Levon <levon@movementarian.org>
6627 * BufferView.C: menuUndo ->undo, redo
6629 * BufferView.h: document, remove dead, make some methods private
6631 * paragraph_funcs.h:
6632 * paragraph_funcs.C:
6633 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6638 * sgml.C: move sgml open/close tag into sgml.C
6640 * bufferview_funcs.h: unused prototype
6643 * lyxfunc.C: remove unused
6646 * text.C: remove unused
6648 2002-10-21 John Levon <levon@movementarian.org>
6652 * BufferView_pimpl.h:
6653 * BufferView_pimpl.C: fix mouse wheel handling based on
6654 patch from Darren Freeman
6656 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6658 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6660 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6662 * lyxlength.C (inPixels): Fix hanfling of negative length.
6663 Fix LyXLength::MU case.
6665 2002-10-16 John Levon <levon@movementarian.org>
6667 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6669 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6671 * converter.C (view): add support for $$i (file name) and $$p
6672 (file path) for the viewer command. If $$i is not specified, then
6673 it is appended to the command (for compatibility with old syntax)
6675 2002-10-14 Juergen Vigna <jug@sad.it>
6677 * undo_funcs.C (textHandleUndo): alter the order in which the
6678 new undopar is added to the LyXText, as we have to set first
6679 the right prev/next and then add it as otherwise the rebuild of
6680 LyXText is not correct. Also reset the cursor to the right paragraph,
6681 with this IMO we could remove the hack in "redoParagraphs()".
6683 2002-10-09 Angus Leeming <leeming@lyx.org>
6685 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6686 to turn off an optimisation if a new inset is to be inserted.
6688 2002-10-11 André Pönitz <poenitz@gmx.net>
6690 * lyxtext.h: make some functions public to allow access
6691 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6693 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6695 * text3.C (dispatch): when changing layout, avoid an infinite loop
6698 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6700 * lyxrc.C (read): treat a viewer or converter command of "none" as
6703 * MenuBackend.C (expandFormats): for an update, also allow the
6704 formats that are not viewable
6706 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6707 script if it is newer than the lyxrc.defaults in user directory
6709 2002-10-07 André Pönitz <poenitz@gmx.net>
6711 * text.C: Vitaly Lipatov's small i18n fix
6713 2002-09-25 Angus Leeming <leeming@lyx.org>
6715 * ispell.h: doxygen fix.
6717 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6719 * buffer.h (readFile): Add a new argument to the method, to allow
6720 reading of old-format templates.
6722 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6724 * toc.C (getTocList): Get TOC from InsetWrap.
6726 2002-09-16 John Levon <levon@movementarian.org>
6728 * lyxfunc.C: check tabular for cut/copy too
6730 2002-09-12 John Levon <levon@movementarian.org>
6735 * factory.C: add header
6737 * paragraph_funcs.h:
6738 * paragraph_funcs.C: cleanup
6740 2002-09-11 John Levon <levon@movementarian.org>
6742 * PrinterParams.h: odd/even default to true
6744 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6746 * PrinterParams.h: update printer parameters for new xforms dialog
6748 2002-09-11 Angus Leeming <leeming@lyx.org>
6750 * lyxserver.C (read_ready): re-write to make it more transparent
6751 and to make it work in coherent fashion under Tru64 Unix.
6753 2002-09-11 André Pönitz <poenitz@gmx.net>
6757 * text3.C: implement LFUN_WORDSEL
6759 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6762 make floatlist_ a boost::shared_ptr<FloatList>
6764 * lyxtextclass.C: include FloatList.h
6765 (LyXTextClass): initialize floatlist_
6766 (TextClassTags): add TC_NOFLOAT
6767 (Read): match "nofloat" to TC_NOFLOAT and use it.
6768 (readFloat): modify call to floatlist_
6772 * FloatList.[Ch] (FloatList): remove commented out float
6774 (erase): new function
6776 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6778 * MenuBackend.C (expandToc): fix crash when there is no document
6781 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6783 * many files: Add insetwrap.
6785 2002-09-09 John Levon <levon@movementarian.org>
6787 * text2.C: remove confusing and awkward depth wraparound
6789 2002-09-09 John Levon <levon@movementarian.org>
6791 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6794 * buffer.C: remove getIncludeonlyList()
6797 * lyxfunc.C: remove headers
6799 2002-09-09 Juergen Vigna <jug@sad.it>
6801 * text.C (getColumnNearX): fix form Michael this is most
6802 probably a cut&paste bug.
6804 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6808 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6809 references, ws changes.
6811 * text2.C (init): update counters after init
6812 (insertParagraph): no need to set counter on idividual paragraphs.
6813 (setCounter): access the counters object in the textclass object
6814 on in the buffer object.
6815 (updateCounters): ditto
6817 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6818 shared_ptr<Counters> to avoid loading counters.h in all
6820 (LyXTextClass): initialize ctrs_
6821 (TextClassTags): add TC_COUNTER, and ...
6822 (Read): use it here.
6823 (CounterTags): new tags
6824 (readCounter): new function
6825 (counters): new funtion
6826 (defaultLayoutName): return a const reference
6828 * counters.C (Counters): remove contructor
6829 (newCounter): remove a couple of unneeded statements.
6830 (newCounter): simplify a bit.
6831 (numberLabel): some small formatting changes.
6833 * buffer.[Ch]: remove all traces of counters, move the Counters
6834 object to the LyXTextClass.
6836 2002-09-06 Alain Castera <castera@in2p3.fr>
6838 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6839 package to set the horizontal alignment on fixed width columns.
6842 * lyx_sty.h: added tabularnewline macro def.
6844 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6846 2002-09-06 John Levon <levon@movementarian.org>
6848 * LyXAction.C: tooltips for sub/superscript
6850 * MenuBackend.C: a bit more verbose
6852 * lyxfunc.C: tiny clean
6854 * undo_funcs.C: document undo_frozen
6856 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6858 * counters.C (Counters): add missing algorithm counter.
6860 * text2.C (setCounter): lookup the counter with layouts latexname
6861 instead of by section number.
6862 (setCounter): use a hackish way to lookup the correct enum
6864 a float name->type change
6865 reset enum couners with counter name directly instead of depth value.
6867 * counters.C (Counters): remove the push_backs, change to use the
6868 float type not the float name.
6869 (labelItem): remove unused string, float name->type change
6871 * counters.h: don't include vector, loose the enums and sects vectors
6873 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6876 (Read): add float->TC_FLOAT to textclassTags
6877 (Read): and handle it in the switch
6878 (readFloat): new function
6880 * FloatList.C (FloatList): comment out the hardcoded float
6883 * lyxlayout.h: ws change.
6885 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6887 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6889 2002-09-03 Angus Leeming <leeming@lyx.org>
6891 * BufferView_pimpl.h: qualified name is not allowed in member
6892 declaration: WorkArea & Pimpl::workarea() const;
6894 * factory.C: added using std::endl directive.
6896 * text3.C: added using std::find and std::vector directives.
6898 2002-08-29 André Pönitz <poenitz@gmx.net>
6901 * text2.C: remove unused member number_of_rows
6904 * BufferView2.C: remove file, move contents to...
6905 * BufferView.C: ... here
6907 * BufferView_pimpl.C:
6908 * factory.C: move more inset creation to factory
6910 * vspace.C: avoid direct usage of LyXText, ws changes
6913 don't provide direct access to WorkArea, use two simple
6914 acessors haveSelction() and workHeight() instead
6917 2002-08-29 John Levon <levon@movementarian.org>
6919 * BufferView_pimpl.C (dispatch): do not continue when
6922 2002-08-28 André Pönitz <poenitz@gmx.net>
6924 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6927 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6929 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6931 * buffer.C: increment LYX_FORMAT to 221
6933 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6934 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6936 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6938 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6940 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6942 * factory.C (createInset): use LyXTextClass::floats
6944 * MenuBackend.C (expandFloatListInsert):
6945 (expandFloatInsert):
6948 * text2.C (setCounter):
6950 * LaTeXFeatures.C (useFloat):
6951 (getFloatDefinitions):
6953 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6955 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6956 floatlist_, with accessor floats().
6958 * FloatList.h: remove global FloatList
6960 2002-08-26 André Pönitz <poenitz@gmx.net>
6962 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6966 * BufferView_pimpl.C:
6967 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6969 2002-08-25 John Levon <levon@movementarian.org>
6971 * LyXAction.C: fix margin note description
6973 2002-08-24 John Levon <levon@movementarian.org>
6977 * bufferview_funcs.C:
6979 * undo_funcs.C: cleanups
6981 * lyxfunc.C: disable CUT/COPY when no selection
6983 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6985 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6986 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6988 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6989 Add backward compatibility to "mono", "gray" and "no".
6991 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6993 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6994 (and file_format >= 200).
6996 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6998 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7000 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7002 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7004 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7006 * BufferView_pimpl.C:
7013 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7014 inset and code to make it work with the paragraph code. The inset
7015 can be anywhere in the paragraph, but will only do the expected
7016 thing in LaTeX if the layout file contains the parameter line
7018 (or more generally, a nonzero value) for that layout.
7020 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * paragraph.h: remove the declaration of undefined counters class
7025 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7027 * text2.C (setCounter): fixed enumeration mis-count as reported by
7028 Dr. Richard Hawkins.
7030 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7032 * paragraph_funcs.h: remove some unneeded includes
7034 * text.C (backspace): pasteParagraph now in global scipe
7036 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7037 (pasteSelection): ditto
7039 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7040 * paragraph_funcs.C (pasteParagraph): ... here
7042 2002-08-20 André Pönitz <poenitz@gmx.net>
7044 * commandtags.h: new LFUNs for swapping/copying table row/colums
7047 * lyxfunc.C: support for new lfuns
7049 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * buffer.[Ch]: remove NO_COMPABILITY stuff
7054 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * boost.C (throw_exception): new file, with helper function for
7057 boost compiled without exceptions.
7062 * ParameterStruct.h:
7063 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7065 * bufferlist.C (emergencyWriteAll): use boost bind
7067 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7069 * text.C: include paragraph_funcs.h
7070 (breakParagraph): breakParagraph is now in global scope
7072 * paragraph_funcs.[Ch]: new files
7074 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7077 * buffer.C: include paragraph_funcs.h
7078 (insertStringAsLines): breakParagraph is now in global scope
7080 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7083 * CutAndPaste.C: include paragraph_funcs.h
7084 (cutSelection): breakParagraphConservative is now in global scope
7085 (pasteSelection): ditto
7087 * buffer.h: declare oprator== and operator!= for
7088 Buffer::inset_iterator
7090 * bufferlist.C (emergencyWrite): don't use fmt(...)
7092 * text3.C: add using std::endl
7094 * BufferView.C (moveCursorUpdate): remove default arg
7096 2002-08-20 André Pönitz <poenitz@gmx.net>
7098 * buffer.[Ch]: move inline functions to .C
7101 * BufferView_pimpl.C:
7103 * buffer.[Ch]: use improved inset_iterator
7106 * paragraph.[Ch]: write one paragraph at a time
7108 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7110 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7111 style if style is not specified.
7113 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7115 * text2.C (setCounter): when searching for right label for a
7116 caption, make sure to recurse to parent insets (so that a caption
7117 in a minipage in a figure float works) (bug #568)
7119 2002-08-20 André Pönitz <poenitz@gmx.net>
7121 * text3.C: new file for LyXText::dispatch() and helpers
7123 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7125 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7127 2002-08-19 André Pönitz <poenitz@gmx.net>
7130 * text.C: new LyXText::dispatch()
7132 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7134 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7136 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7138 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7141 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7143 * Makefile.am: use $(variables) instead of @substitutions@
7145 2002-08-15 André Pönitz <poenitz@gmx.net>
7148 * BufferView_pimpl.C: streamlining mathed <-> outer world
7152 * LyXAction.C: remove unused LFUN_MATH
7154 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7156 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7158 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7160 * paragraph.C (Paragraph): reformat a bit
7161 (cutIntoMinibuffer): use builtin InsetList function instad of
7165 * buffer.C: include boost/bind.hpp, add using std::for_each
7166 (writeFileAscii): use ParagraphList iterators
7167 (validate): use for_each for validate traversal of paragraphs
7168 (getBibkeyList): use ParagraphList iterators
7169 (resizeInsets): use for_each to resizeInsetsLyXText for all
7171 (getParFromID): use ParagraphList iterators
7173 * BufferView2.C (lockInset): use paragraph list and iterators
7175 2002-08-14 John Levon <levon@movementarian.org>
7177 * lyxserver.C: remove spurious xforms include
7179 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7181 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7183 2002-08-13 André Pönitz <poenitz@gmx.net>
7186 * lyxfunc.C: further cleaning
7188 2002-08-13 André Pönitz <poenitz@gmx.net>
7190 * funcrequest.h: new constructor
7192 * funcrequest.C: move stuff here from .h
7195 * BufferView_pimpl.C:
7198 * lyxfunc.C: subsequent changes
7200 * lyxfunc.h: new view() member function
7202 * lyxfunc.C: subsequent changes
7204 2002-08-13 Angus Leeming <leeming@lyx.org>
7207 * BufferView_pimpl.C:
7215 changes due to the changed LyXView interface that now returns references
7216 to member variables not pointers.
7218 2002-08-13 Angus Leeming <leeming@lyx.org>
7220 * WordLangTuple (word, lang_code): return references to strings,
7225 * lyxtext.h: forward-declare WordLangTuple.
7230 * text.C: #include "WordLangTuple.h".
7233 * text.C: (selectNextWordToSpellcheck): constify return type.
7235 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7241 * paragraph_pimpl.h:
7244 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7246 Made updateCounter always count from start of buffer, and removed
7247 second argument (par).
7248 Reverted floats number display to '#'. Perhaps I'll try again when the
7249 code base is sanitized a bit.
7251 2002-08-12 Angus Leeming <leeming@lyx.org>
7253 * buffer.[Ch] (getLabelList): constify.
7255 2002-08-07 André Pönitz <poenitz@gmx.net>
7257 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7259 * funcrequest.h: extension to keep mouse (x,y) position
7261 2002-08-12 Juergen Vigna <jug@sad.it>
7263 * BufferView2.C (insertErrors): forbid undo when inserting error
7266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7268 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * ParagraphList.[Ch]: new files
7272 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7274 * BufferView2.C (lockInset): ParagraphList changes
7277 * bufferlist.C: ditto
7281 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7283 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7284 unused class variable counter_,
7286 * paragraph.[Ch] (getFirstCounter): delete unused function
7288 * counters.C: include LAssert.h
7289 (reset): add a new function with no arg, change other version to
7290 not have def. arg and to not allow empty arg.
7292 * text2.C (setCounter): remove empty arg from call to Counters::reset
7294 2002-08-11 John Levon <levon@movementarian.org>
7296 * Makefile.am: add WordLangTuple.h
7298 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7301 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7303 * insets/insettext.C: InsetList changes
7305 * graphics/GraphicsSupport.C (operator()): InsetList changes
7307 * toc.C (getTocList): InsetList changes
7309 * paragraph_pimpl.[Ch]: InsetList changes
7311 * paragraph.[Ch]: InsetList changes
7313 * buffer.C (inset_iterator): InsetList changes
7314 (setParagraph): ditto
7315 * buffer.h (inset_iterator): ditto
7316 * iterators.C (operator++): ditto
7317 * iterators.h: ditto
7319 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7321 * InsetList.[Ch]: new files, most InsetList handling moved out of
7324 * BufferView2.C (removeAutoInsets): InsetList changes
7326 (ChangeInsets): ditto
7328 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7330 * paragraph_pimpl.h (empty): new function
7332 * paragraph.[Ch] (empty): new function
7334 * other files: use the new Paragraph::empty function
7336 2002-08-09 John Levon <levon@movementarian.org>
7338 * lyxtext.h: remove unused refresh_height
7340 2002-08-09 John Levon <levon@movementarian.org>
7347 * paragraph.C: move sgml char escaping out of paragraph
7350 * paragraph.C: remove id setter
7354 * paragraph_pimpl.C: remove dead tex_code_break_column
7356 * bufferview_funcs.C: small cleanup
7358 * lyxfunc.C: remove dead proto
7360 * lyxtext.h: make some stuff private. Remove some dead stuff.
7362 * lyxgluelength.C: make as[LyX]String() readable
7364 2002-08-08 John Levon <levon@movementarian.org>
7369 * ToolbarDefaults.C:
7372 * toc.C: lyxaction cleanup
7374 2002-08-08 John Levon <levon@movementarian.org>
7376 * BufferView2.C: small cleanup
7379 * lyxfind.C: move unnecessary header into the .C
7381 2002-08-08 John Levon <levon@movementarian.org>
7383 * funcrequest.h: just tedious nonsense
7386 * lyx_main.C: cleanups
7389 * vspace.C: remove dead header lyx_main.h
7391 2002-08-07 Angus Leeming <leeming@lyx.org>
7394 * paragraph_pimpl.h:
7395 Forward declare class Counters in paragraph.h by moving the ctrs member
7396 variable into Paragraph::Pimpl.
7397 (counters): new method, returning a reference to pimpl_->ctrs.
7399 * text2.C: ensuing changes.
7401 2002-08-07 John Levon <levon@movementarian.org>
7403 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7405 * BufferView_pimpl.C: announce X selection on double/triple
7408 * lyx_main.C: use correct bool in batch dispatch
7410 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7412 2002-08-07 André Pönitz <poenitz@gmx.net>
7414 * funcrequest.h: new class to wrap a kb_action and its argument
7417 * BufferView_pimpl[Ch]:
7421 * lyxrc.C: subsequent changes
7424 2002-08-07 John Levon <levon@movementarian.org>
7426 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7427 document options change.
7429 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7434 * makefile.am: move counters functionality over from
7435 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7437 2002-08-06 John Levon <levon@movementarian.org>
7439 * WordLangTuple.h: new file for word + language code tuple
7450 * BufferView2.C: use WordLangTuple
7453 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7455 2002-08-06 John Levon <levon@movementarian.org>
7457 * lyx_main.C: fix cmdline batch handling
7459 2002-08-06 André Pönitz <poenitz@gmx.net>
7461 * lyxrc.C: set default for show_banner to true
7463 2002-08-06 John Levon <levon@movementarian.org>
7465 * pspell.C: fix a crash, and allow new aspell to work
7467 2002-08-06 John Levon <levon@movementarian.org>
7470 * kbmap.C: small cleanup
7473 * vspace.C: add const
7475 2002-08-05 John Levon <levon@movementarian.org>
7477 * LyXAction.C: back to tabular-insert
7479 2002-08-04 John Levon <levon@movementarian.org>
7482 * BufferView.C: cosmetic change
7484 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7494 * BufferView2.C: purge all "Lyx" not "LyX" strings
7497 * lyxcursor.C: attempt to add some documentation
7502 * ToolbarDefaults.C:
7503 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7504 merge with LFUN_TABULAR_INSERT
7511 * pspell.C: split up i/pspell implementations into separate
7512 files, many cleanups
7514 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7516 * text2.C: some cleanup
7518 * lyxfunc.C: don't check for isp_command == "none" any more, it
7519 didn't make any sense
7521 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7526 * makefile.am: move counters functionality over
7527 from text2.C/paragraph.[Ch] to counters.[Ch], and
7529 2002-08-02 John Levon <levon@movementarian.org>
7531 * buffer.C: s/lyxconvert/lyx2lyx/
7533 2002-08-02 Angus Leeming <leeming@lyx.org>
7535 * lyxlex.C: revert John's change as it breaks reading of the user
7538 2002-08-02 Angus Leeming <leeming@lyx.org>
7540 * importer.C (Import):
7541 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7542 changes due to LyXView::view() now returning a boost::shared_ptr.
7544 2002-08-02 John Levon <levon@movementarian.org>
7546 * lyxlex.C: small cleanup
7548 2002-08-02 John Levon <levon@movementarian.org>
7550 * text2.C (status): small cleanup, no logic change
7552 2002-08-01 John Levon <levon@movementarian.org>
7555 * buffer.C (writeFile): don't output alerts, caller
7559 * lyx_cb.C: from above
7561 * lyxfunc.C: allow to open non-existent files
7563 2002-07-31 John Levon <levon@movementarian.org>
7565 * lyxserver.C: don't let incidental errors get
7568 2002-07-30 John Levon <levon@movementarian.org>
7570 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7572 2002-07-30 John Levon <levon@movementarian.org>
7575 * lyxserver.C: remove I/O callback too
7577 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7579 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7582 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * many files: strip,frontStrip -> trim,ltrim,rtrim
7586 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7588 * PrinterParams.h: remove extern containsOnly, and include
7589 support/lstrings.h instead.
7591 * LaTeX.C (scanAuxFile): modify because of strip changes
7593 * buffer.C (makeLaTeXFile): ditto
7594 * bufferparams.C (writeFile): ditt
7595 * lyxfont.C (stateText): ditto
7596 * lyxserver.C (read_ready): ditto
7597 * vc-backend.C (scanMaster): ditto
7599 * BufferView_pimpl.h: ws changes
7601 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7603 2002-07-26 André Pönitz <poenitz@gmx.net>
7605 * kb_sequence.C: remove unnedred usings
7607 2002-07-26 Juergen Vigna <jug@sad.it>
7609 * lyxfind.C (LyXReplace): we have to check better if the returned
7610 text is not of theLockingInset()->getLockingInset().
7612 2002-07-25 Juergen Vigna <jug@sad.it>
7614 * lyxfind.C (LyXReplace): don't replace if we don't get the
7617 * undo_funcs.C (createUndo): remove debugging code.
7619 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7621 * buffer.C (parseSingleLyXformat2Token): Use default placement
7622 when reading old floats.
7624 * FloatList.C (FloatList): Change the default placement of figure
7625 and tables to "tbp".
7627 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7629 * MenuBackend.C: using std::max
7631 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7633 * MenuBackend.C (expandToc):
7634 (expandToc2): code moved from xforms menu frontend. It is now
7635 generic and TOCs are transparent to menu frontends.
7637 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7639 * toc.C (getTocList): protect against buf=0
7641 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7642 Menu as first parameter. Now, this calls itself recursively to
7643 expand a whole tree (this will be useful for TOC handling)
7644 (expandFloatInsert): remove 'wide' version of floats
7646 * MenuBackend.h (submenuname): returns the name of the submenu.
7647 (submenu): returns the submenu itself, provided it has been
7648 created by MenuBackend::expand
7650 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7652 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7653 insets which have noFontChange == true. (bug #172)
7655 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7657 * BufferView_pimpl.C: add connection objects and use them...
7660 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7662 * MenuBackend.C (expandLastfiles):
7665 (expandFloatListInsert):
7666 (expandFloatInsert):
7667 (expand): split expand in parts
7669 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7671 * lyx_gui.C: use lyx_gui::exit()
7673 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7675 * LyXAction.C: show the failing pseudo action
7677 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7679 * buffer.C (readFile): Run the lyxconvert script in order to read
7682 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7686 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7688 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7692 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7694 2002-07-22 Herbert Voss <voss@lyx.org>
7697 * lyxlength.[Ch]: add support for the vertical lengths
7699 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7701 * toc.[Ch]: std:: fixes
7703 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7705 * lyxrc.C: do not include lyx_main.h
7707 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7713 * BufferView2.C: include "lyxlex.h"
7716 * bufferparams.h: do not #include "lyxlex.h"
7718 * lyxtextclasslist.C (Add): remove method
7719 (classlist): renamed to classlist_
7721 * paragraph_pimpl.C:
7725 * bufferview_funcs.C:
7730 * toc.C (getTocList): use BufferParams::getLyXTextClass
7732 * toc.C (getTocList): use InsetFloat::addToToc
7734 * toc.[Ch]: new files, containing helper functions to handle table
7737 * lyxfunc.C (dispatch): no need to remove spaces around command
7739 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7740 first command of the sequence; it is not very clever, but I do not
7741 have a better idea, actually
7743 * LyXAction.C (LookupFunc): make sure to remove space at the
7744 beginning and end of the command
7746 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7748 * MenuBackend.C (getMenubar): new method: return the menubar of
7750 (read): treat differently reading of menu and menubar (in
7751 particular, the menubar has no name now)
7752 (Menu::menubar): remove
7754 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7757 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7759 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7760 a bibitem inset in a RTL paragraph.
7762 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7764 * paragraph_pimpl.C: constify
7766 * BufferView_pimpl.C:
7768 * lyxfunc.C: fix dispatch in a nicer way
7770 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7772 * lyxfunc.C (dispatch):
7773 * BufferView_pimpl.C:
7774 * BufferView_pimpl.h:
7776 * BufferView.h: rename Dispatch() to dispatch()
7778 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7780 * lyxlayout.C (Read): honor DependsOn tag
7782 * lyxlayout.[Ch] (depends_on): new method
7784 * version.C.in: update lyx_docversion
7786 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7788 * paragraph.C (validate): remove from here...
7789 * paragraph_pimpl.C (validate): ... and move here
7790 (isTextAt): make it const
7792 * buffer.C (getLists): ws cleanup
7794 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7796 * language.C (read): Use iso8859-1 encoding in latex_lang
7797 (this prevents LyX from crashing when using iso10646-1 encoding).
7799 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7801 * text2.C (toggleInset): if cursor is inside an inset, close the
7802 inset and leave cursor _after_ it
7804 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7806 * lyxfunc.C: move minibuffer completion handling out of here
7808 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7810 * BufferView_pimpl.C:
7811 * LaTeX.C: fix dispatch calls
7813 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7815 * text.C (drawChars): Fix Arabic text rendering.
7817 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7821 * lyxfunc.C: remove message-push/pop
7825 * lyxfunc.C: rationalise some code by removing verboseDispatch
7826 in favour of a bool argument to dispatch()
7828 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7830 * lyx_main.C (init): make sure to read symlinks as absolute paths
7832 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7835 * lyxfunc.C: no need for commandshortcut to be a member
7837 2002-07-15 André Pönitz <poenitz@gmx.net>
7839 * converter.C: add support for $$s (scripts from lib/scripts dir)
7840 * lyx_main.C: white space
7842 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7846 * lyxrc.C: remove second exit confirmation
7848 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7853 * BufferView_pimpl.h:
7854 * BufferView_pimpl.C:
7855 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7857 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7859 * MenuBackend.C (expand): add numeric shortcuts to document menu
7861 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7863 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7865 * lyxfont.C (setLyXFamily):
7872 * buffer.C (asciiParagraph): use ascii_lowercase
7874 2002-07-15 Mike Fabian <mfabian@suse.de>
7876 * lyxlex_pimpl.C (search_kw):
7877 * lyxlex.C (getLongString):
7878 * converter.h (operator<):
7879 * converter.C (operator<):
7880 * buffer.C (parseSingleLyXformat2Token):
7882 * ToolbarDefaults.C (read):
7883 * MenuBackend.C (checkShortcuts):
7885 * LColor.C (getFromGUIName):
7886 (getFromLyXName): use the compare_ascii_no_case instead of
7887 compare_no_case, because in turkish, 'i' is not the lowercase
7888 version of 'I', and thus turkish locale breaks parsing of tags.
7890 2002-07-16 Angus Leeming <leeming@lyx.org>
7892 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7893 now takes a Buffer const & argument.
7895 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7897 * BufferView.C (resize): check there's a buffer to resize
7899 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7901 * lyxfunc.C: remove dead code
7904 * lyxserver.C: use lyx_guii::set_read_callback
7906 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7908 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7909 an inset in a RTL paragraph.
7911 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7913 * lyxfunc.C: repaint after a font size update
7915 2002-07-15 André Pönitz <poenitz@gmx.net>
7917 * lyxlength.C: inBP should be able to return negative values
7919 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7921 * lyxfunc.C: use lyx_gui::update_fonts()
7923 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7925 * lyxfunc.C: use lyx_gui::update_color()
7927 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7933 * lyxrc.C: remove file->new asks for name option, and let
7934 buffer-new take an argument
7936 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7938 * BufferView_pimpl.C: remove unneeded extra repaint()
7940 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7942 * LyXAction.C: allow command-sequence with NoBuffer
7944 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7946 2002-07-10 Angus Leeming <leeming@lyx.org>
7948 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7950 2002-07-09 Angus Leeming <leeming@lyx.org>
7952 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7954 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7956 * lengthcommon.h: whitespace
7958 * lyxfunc.C: update scrollbar after goto paragraph
7960 * lyxtext.h: factor out page break drawing, and fix it so
7961 page break/added space paints as selected nicely
7963 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7965 * BufferView_pimpl.C: add FIXMEs, clean up a little
7967 2002-07-09 André Pönitz <poenitz@gmx.net>
7969 * lyxfont.[Ch]: support for wasy symbols
7971 2002-07-08 André Pönitz <poenitz@gmx.net>
7973 * BufferView_pimpl.C: apply John's patch for #93.
7975 2002-07-05 Angus Leeming <leeming@lyx.org>
7977 * BufferView_pimpl.C (buffer): generate previews if desired.
7979 * LColor.h: add "preview" to the color enum.
7981 * LColor.C (LColor): add a corresponding entry to the items array.
7983 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7986 2002-07-05 Angus Leeming <leeming@lyx.org>
7988 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7989 The body of the code is now in the method that is passed an ostream &
7990 rather than a file name.
7991 Pass an additional only_preamble parameter, useful for the forthcoming
7994 2002-07-03 André Pönitz <poenitz@gmx.net>
7996 * lyxfunc.C: simplify getStatus() a bit for math stuff
7998 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8000 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8002 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8004 * text.C (changeRegionCase): do not change case of all the
8005 document when region ends at paragraph end (bug #461)
8007 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8009 * paragraph.C (startTeXParParams):
8010 (endTeXParParams): add \protect when necessary
8012 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8014 * BufferView_pimpl.C (workAreaExpose): remove warning
8016 2002-06-27 Angus Leeming <leeming@lyx.org>
8018 * Makefile.am: add lyxlayout_ptr_fwd.h.
8020 2002-06-26 André Pönitz <poenitz@gmx.net>
8022 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8024 2002-06-25 Angus Leeming <leeming@lyx.org>
8026 * lyxfunc.C (dispatch): Comment out the call to
8027 grfx::GCache::changeDisplay. The method no longer exists now that the
8028 pixmap generation part of the graphics loader has been moved into
8031 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8033 * text2.C: layout as layout
8035 * text.C: layout as layout
8037 * tabular.C (OldFormatRead): layout as layout
8039 * paragraph_pimpl.C (TeXDeeper): layout as layout
8040 (realizeFont): layout as layout
8042 * paragraph.C (writeFile): layout as layout
8043 (validate): layout as layout
8044 (getFont): layout as layout
8045 (getLabelFont): layout as layout
8046 (getLayoutFont): layout as layout
8047 (breakParagraph): layout as layout
8048 (stripLeadingSpaces): layout as layout
8049 (getEndLabel): layout as layout
8050 (getMaxDepthAfter): layout as layout
8051 (applyLayout): layout as layout
8052 (TeXOnePar): layout as layout
8053 (simpleTeXOnePar): layout as layout
8054 (TeXEnvironment): layout as layout
8055 (layout): layout as layout
8056 (layout): layout as layout
8058 * lyxtextclass.C (compare_name): new functor to work with
8059 shared_ptr, layout as layout
8060 (Read): layout as layout
8061 (hasLayout): layout as layout
8062 (operator): layout as layout
8063 (delete_layout): layout as layout
8064 (defaultLayout): layout as layout
8066 * lyxlayout_ptr_fwd.h: new file
8068 * lyxlayout.C (Read): layout as layout
8070 * lyx_cb.C (MenuInsertLabel): layout as layout
8072 * bufferlist.C (newFile): layout as layout
8074 * buffer.C (readLyXformat2): layout as layout
8075 (parseSingleLyXformat2Token): layout as layout
8076 (insertStringAsLines): layout as layout
8077 (asciiParagraph): layout as layout
8078 (latexParagraphs): layout as layout
8079 (makeLinuxDocFile): layout as layout
8080 (simpleLinuxDocOnePar): layout as layout
8081 (makeDocBookFile): layout as layout
8082 (simpleDocBookOnePar): layout as layout
8083 (getLists): layout as layout
8085 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8087 * CutAndPaste.C (cutSelection): layout as layout
8088 (pasteSelection): layout as layout
8089 (SwitchLayoutsBetweenClasses): layout as layout
8091 * BufferView_pimpl.C (Dispatch): layout as layout
8092 (smartQuote): layout as layout
8094 * BufferView2.C (unlockInset): layout as layout
8096 2002-06-24 André Pönitz <poenitz@gmx.net>
8098 * lyxfunc.C: fix #487
8100 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8104 * lyxfunc.C: remove display_shortcuts, show_banner
8106 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8108 * Buffer_pimpl.C: oops, update on resize
8110 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8117 * BufferView.C: use repaint()
8119 * BufferView_pimpl.h:
8120 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8121 as it's a clearer description. Remove superfluous
8124 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8126 * text.C: fix bug 488. Not ideal, but getting
8127 getWord() to work properly for the insets that
8128 matter is more difficult ...
8130 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8132 * BufferView_pimpl.C:
8135 * lyxfunc.C: remove the six million index lyxfuncs to just
8136 one, and DTRT (bug 458)
8138 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8142 * BufferView_pimpl.h:
8143 * BufferView_pimpl.C: clean up resize() stuff,
8144 and unnecessary updateScreen()s
8146 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8150 * BufferView_pimpl.h:
8151 * BufferView_pimpl.C:
8154 * minibuffer.C: remove focus management of workarea,
8155 not needed. Use screen's greyOut()
8157 2002-06-17 Herbert Voss <voss@lyx.org>
8159 * converter.C: (convert) do not post a message, when converting
8160 fails, let the calling function decide what to do in this case
8162 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8164 * lyxfunc.C: tidy up a little
8166 2002-06-16 <alstrup@diku.dk>
8168 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8169 Got rid of FORMS_H_LOCATION include. Now we are
8172 2002-06-15 LyX Development team <lyx@rilke>
8174 * buffer.[Ch] (sgmlOpenTag):
8175 (sgmlCloseTag): Added support for avoiding pernicious mixed
8176 content. Return number of lines written.
8179 (makeDocBookFile): Fixed calls to sgml*Tag.
8180 Simple white space clean.
8182 (simpleDocBookOnePar): Simple white space clean.
8184 * tabular.[Ch] (docBook): Renamed to docbook and got another
8185 argument to related with the pernicious mixed content.
8187 (docbookRow): Fixed calls for docbook inset method.
8189 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8191 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8192 so it's X11 independent.
8196 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8198 2002-06-15 Lyx Development team <lyx@electronia>
8200 * intl.h: Renamed getTrans to getTransManager.
8202 2002-06-14 Angus Leeming <leeming@lyx.org>
8204 * Makefile.am: nuke forgotten stl_string_fwd.h.
8206 2002-06-12 Angus Leeming <leeming@lyx.org>
8208 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8210 2002-06-13 Angus Leeming <leeming@lyx.org>
8213 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8215 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8217 * kbmap.C (getiso): add support for cyrillic and greek
8219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView_pimpl.h:
8224 * BufferView_pimpl.C: move bogus scrolling logic
8227 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8230 * BufferView_pimpl.C: view->resize() change
8232 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8234 * BufferView_pimpl.C: topCursorVisible
8237 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8241 * lyx_gui.C: move to frontends/
8245 * lyx_main.C: changes from above
8247 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8254 * lyx_main.C: minor tidy
8256 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8258 * BufferView_pimpl.h:
8259 * BufferView_pimpl.C:
8261 * BufferView.C: make painter() const,
8264 * BufferView2.C: use screen() accessor
8267 * lyx_main.C: some minor cleanup
8269 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8271 * BufferView_pimpl.h:
8272 * BufferView_pimpl.C: remove enter/leaveView,
8275 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8280 * BufferView_pimpl.h:
8281 * BufferView_pimpl.C: only construct screen once,
8284 * lyxrc.C: remove pointless comment
8286 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8289 * BufferView.C: remove active() and belowMouse()
8291 * BufferView_pimpl.h:
8292 * BufferView_pimpl.C: use workarea() not workarea_,
8293 and make it use a scoped_ptr instead
8295 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8297 * lyx_gui.C: add debug message on BadWindow
8299 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8301 * sp_spell.C: fdopen is not part of the C++ standard.
8303 * paragraph.C (InsetIterator): use >= instead of ==
8305 2002-06-07 Angus Leeming <leeming@lyx.org>
8307 Fixes needed to compile with Compaq cxx 6.5.
8308 * BufferView_pimpl.C:
8315 * lyxtextclasslist.C:
8320 all c-library variables have been moved into namespace std. Wrap
8321 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8326 Add a using std::abs declaration.
8328 * kbmap.h (modifier_pair):
8329 * paragraph.h (InsetTable, InsetList):
8330 * lyxfont.h (FontBits):
8331 type definition made public.
8333 * bufferlist.C (emergencyWriteAll): the compiler complains that
8334 there is more than one possible lyx::class_fun template to choose from.
8335 I re-named the void specialisation as lyx::void_class_fun.
8337 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8339 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8340 the compiler is is unable to find tostr in write_attribute.
8342 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * buffer.C (sgmlError): hide #warning
8346 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * xtl/*: get rid of xtl, which is not in use anyway
8350 * LyXAction.C (init):
8351 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8352 were unimplemented xtl experimentation
8354 2002-06-04 André Pönitz <poenitz@gmx.net>
8356 * lyxfunc.C: disable array operation on simple formulae
8358 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8360 * converter.C: constify a bit
8362 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8364 * lyx_gui.C: check xforms version correctly
8366 2002-04-30 Herbert Voss <voss@lyx.org>
8368 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8371 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8373 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8374 attempt to register it with a VCS)
8376 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8378 * lyx_main.C (init): honor variables LYX_DIR_13x and
8381 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8385 * lyx_main.C: fix a crash on bad command line,
8386 and give a useful exit status on error
8388 * lyxfunc.C (doImport): allow -i lyx to work
8390 2002-03-30 André Pönitz <poenitz@gmx.net>
8392 * lyxfunc.C: mathed font changes
8394 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8409 * trans_mgr.h: srcdocs, and some minor cleanups
8411 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8413 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8414 call getFont all the time)
8416 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8418 * switch from SigC signals to boost::signals
8420 2002-05-29 André Pönitz <poenitz@gmx.net>
8422 * paragraph_pimpl.C (getChar): don't call size() too often...
8424 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8426 * paragraph_pimpl.C (insertChar): do not try to update tables when
8427 appending (pos == size())
8429 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8430 in order to reduce drastically the number of comparisons needed to
8431 parse a large document
8433 2002-05-29 André Pönitz <poenitz@gmx.net>
8439 * textclasslist.[Ch]:
8440 * sp_ispell.h: whitespace change
8442 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8444 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8445 lyxaction directly now.
8447 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8451 * lyxvc.C: remove unused headers
8453 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8460 * undo_funcs.C: some cleanups. Use shared_ptr
8461 and a template for the undo stacks.
8463 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8465 * BufferView_pimpl.h:
8466 * BufferView_pimpl.C:
8473 * text2.C: use key_state/mouse_state
8475 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8477 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8480 * chset.C: change include order
8481 (loadFile): use boost regex and get rid of LRegex and LSubstring
8483 * Makefile.am (BOOST_LIBS): new variable
8486 * LaTeX.C: change include order.
8487 (scanAuxFile): use boost regex and get rid of LRegex and
8491 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8496 * FontInfo.C: moved to frontends/xforms/
8499 * FontLoader.C: moved into frontends for GUIIzation
8504 * lyxfunc.C: changes from above
8506 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8508 * LColor.C: remove spurious X include
8510 * BufferView_pimpl.C:
8515 * text2.C: move font metrics to frontends/
8517 2002-05-24 Juergen Vigna <jug@sad.it>
8519 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8520 setting the undo_cursor.
8522 * ParagraphParameters.h: include local includes first.
8524 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8526 * BufferView_pimpl.C:
8527 * BufferView_pimpl.h:
8531 * screen.C: move WorkArea into frontends/
8537 * BufferView2.C: move LyXScreen into frontends/
8541 * lyx_gui.C: move lyxlookup into frontends/xforms/
8543 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8546 * BufferView_pimpl.C:
8556 * bufferview_funcs.C:
8569 * vc-backend.C: move LyX/XFormsView into frontends/
8571 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8583 * text2.C: move Painter to frontends/
8585 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8587 * buffer.C: comment out some some code that depend upon lyx_format
8590 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8591 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8593 * buffer.h (NO_COMPABILITY): turn off compability
8595 * ColorHandler.C: include scoped_array.hpp
8597 * font.C: Use more specific smart_ptr header.
8600 * ShareContainer.h: ditto
8604 * BufferView_pimpl.h: ditto
8605 * ColorHandler.h: ditto
8607 * kbmap.C (defkey): change call to shared_ptr::reset
8609 2002-05-21 Juergen Vigna <jug@sad.it>
8611 * buffer.C (insertErtContents): fix to insert ert asis if it is
8612 non empty. Skip it completely if it contains only whitespaces.
8614 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8616 * BufferView_pimpl.C:
8617 * BufferView2.C: clear selection on paste (bug 393)
8619 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * DepTable.C: include ctime
8623 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8625 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8627 2002-05-14 Juergen Vigna <jug@sad.it>
8629 * text.C (breakParagraph): fixed function to honor the keepempty
8630 layout in the right maner and also to permit the right breaking
8631 algorithm on empty or non empyt keepempty paragraphs.
8633 * paragraph.C (breakParagraph): we have to check also if the par
8634 is really empty (!size()) for isempty otherwise we do the wrong
8637 2002-05-10 Juergen Vigna <jug@sad.it>
8639 * buffer.[Ch] : The following are only changes to the ert
8640 compatibility read reading old LaTeX layout and font stuff and
8641 convert it to ERTInsets.
8643 * buffer.h: added isErtInset().
8645 * buffer.C (struct ErtComp): add a fromlayout bool to check
8646 if we're inside a LaTeX layout.
8647 (isErtInset): new helper function.
8648 (insertErtContents): look for other ert insets before this one
8649 and insert the contents there, so that we don't have subsequent
8650 ERT insets with nothing between them. This way we create only one
8651 inset with multiple paragraphs. Also check if we don't insert only
8652 spaces ' ' as they are ignored anyway afterwards in the .tex file
8653 so if we have only spaces we will ignore this latex part in the
8655 (parseSingleLyXformat2Token \\layout): better compatibility when
8656 reading layout-latex stuff.
8657 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8659 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8660 stuff after reading the inset only get the information back from
8663 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8665 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8667 * LaTeXFeatures.C (getBabelOptions): New method.
8669 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8671 * BufferView_pimpl.C (Dispatch): work around missing argument for
8674 2002-05-08 Juergen Vigna <jug@sad.it>
8676 * text.C (leftMargin): handle paragraph leftindent.
8678 * paragraph.C (writeFile): write the new \\leftindent tag.
8679 (validate): handle leftindent code.
8680 (TeXEnvironment): handle paragraphleftindent code again.
8682 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8684 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8685 for paragrap_extra indent code and new token \\leftindent.
8686 (latexParagraphs): handle the leftindent as environment.
8688 * ParameterStruct.h: added leftindent support.
8690 * ParagraphParameters.C (leftIndent): added support functions for
8691 the paragraph left indent.
8693 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8696 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8698 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8701 * text.C (computeBidiTables): No bidi in insetERT.
8703 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8706 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8708 * version.C.in: pre 5
8710 2002-05-02 José Matos <jamatos@fep.up.pt>
8711 * buffer.C (makeDocBookFile): white space changes, add newline to
8713 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8715 * tabular.C (docBook): fix typo.
8717 2002-05-03 Juergen Vigna <jug@sad.it>
8719 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8720 change in LyXText as we can not be sure it was not freed.
8721 (drawOneRow): remove unused code.
8723 * text.C (drawInset): redo the calculation of the need_break_row as
8724 it could have a row which was already freed.
8725 (draw): look at the return value of drawInset and return false if
8726 it also returned false.
8727 (paintRowText): look at the return value of draw and return false if
8728 it also returned false.
8730 * lyxtext.h: added bool return type to drawInset() and draw() so that
8731 if we have a change in the row so that the rowbreak has to be redone
8732 we abort drawing as it will be called again.
8734 2002-05-02 Juergen Vigna <jug@sad.it>
8736 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8737 a change in the maintext also if we're inside an inset.
8738 (Dispatch): set the cursor again after a break line and after the
8739 screen has been updated as it could be we're in a different row.
8741 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8742 to set the cursor behind the pargraph with > size().
8743 (setCursor): check also for the same paragraph when checking where
8744 to put the cursor if we have a NFR inset.
8746 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8747 parts of layout read further up as it still was in the wrong
8750 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8752 * screen.C (drawFromTo): change sine fullRebreak always return
8755 * buffer.C (parseSingleLyXformat2Token): reindent some
8757 * BufferView_pimpl.C (update): change since fullRebreak always
8759 (Dispatch): git rid of the last hardcoded "Standard"s.
8761 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8763 * text2.[Ch] (fullRebreak): make it return void now that we always
8766 2002-04-30 Juergen Vigna <jug@sad.it>
8768 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8769 ert compatibility check for "latex" layout.
8771 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8773 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8774 minipages: use col% instead of p%, and also use the current font.
8775 (makeLaTeXFile): Fix use babel condition.
8776 (parseSingleLyXformat2Token): Correct font when reading old floats.
8778 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8780 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8781 inserting list of floats.
8783 2002-04-25 Herbert Voss <voss@lyx.org>
8785 * MenuBackend.C (expand): don't add the graphics extensions to the
8788 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8790 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8791 non-existing layout, do not complain if it was the default layout
8792 of the original class (bug #342)
8794 2002-04-24 Juergen Vigna <jug@sad.it>
8796 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8797 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8799 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8801 * buffer.C (getBibkeyList): If using \bibliography, return the
8802 option field with the reference itself. Enables us to provide natbib
8803 support when using \bibliography.
8805 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8807 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8809 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8810 natbib is provided by the LaTeX class.
8812 2002-04-23 Juergen Vigna <jug@sad.it>
8814 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8817 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8819 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8821 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8823 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8824 ensuremath around textordmasculine, textordfeminine and
8827 2002-04-19 Juergen Vigna <jug@sad.it>
8829 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8830 reinitializing the buffer otherwise row-dimensions may be wrong.
8831 (update): reset also the selection cursors if they do exits otherwise
8832 their x/y positions may be wrong.
8834 * text2.C (cursorDown): don't enter the inset if we came from a row
8835 above and are one row over the inset.
8837 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8838 really leaving an inset.
8840 2002-04-18 Juergen Vigna <jug@sad.it>
8842 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8843 of the selected paragraph does not have the selected layout also if
8846 * text2.C (setLayout): fixed bug which did not change last selected
8849 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8850 changed the read and substituted \\end_float with \\end_inset!
8852 * BufferView_pimpl.C (cursorPrevious):
8853 (cursorNext): fixed to make it work with rows heigher than the work
8854 area without moving the cursor only the draw of the row.
8855 (workAreaMotionNotify): fix jumping over high rows.
8857 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8862 2002-04-16 Juergen Vigna <jug@sad.it>
8864 * text2.C (setCursor): set also the irow().
8865 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8867 (cursorDown): support for locking an inset if the x_fix value goes
8868 inside it. That way I can transverse insets too with cursor up/down.
8870 * lyxrow.h: added irow helper function same as other (i) functions.
8872 * BufferView_pimpl.C (cursorPrevious):
8873 (cursorNext): fixed for insets!
8875 2002-04-15 Juergen Vigna <jug@sad.it>
8877 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8878 position otherwise it is wrong in some cases.
8880 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8881 inside the inset before the call.
8883 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8885 * buffer.[Ch] (getBibkeyList): make it const.
8887 2002-04-12 Juergen Vigna <jug@sad.it>
8889 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8891 * text2.C (getCursorX): new helper function
8892 (setCursor): compute also ix_
8893 (setCursorFromCoordinates): set also ix.
8895 * lyxcursor.h: added ix_ and helper functions.
8897 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8899 * buffer.C (insertStringAsLines): dont break paragraph if the this
8900 paragraph is inside an inset which does not permit it!
8902 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8903 also with no chars on this paragraph.
8904 (paintRowText): only paint stuff if it's inside the workarea!
8906 * paragraph.C (breakParagraph): honor keepempty flag and break the
8907 paragraph always below not above.
8909 * BufferView2.C (unlockInset): update the paragraph layout on inset
8910 unlock as we changed paragraph in such a case.
8912 * lyxfind.C (LyXFind): clear the former selection if not found!
8914 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8915 again called in insertChar().
8917 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8918 an inset which uses the whole row!
8919 (rightMargin): ditto.
8920 (insertChar): force a rebreak if we inserted an inset!
8922 2002-03-28 Herbert Voss <voss@lyx.org>
8924 * lyxlength.[Ch]: add inBP() to get the right PS-point
8925 units (BigPoint). With inPixels we have rounding errors
8927 2002-04-11 Juergen Vigna <jug@sad.it>
8929 * text2.C (setCursorFromCoordinates): set iy to the right value.
8930 (setCursor): add check if row->previous exists!
8932 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8933 an old float_type as this was the case in the old code!
8935 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8937 * BufferView2.C (showLockedInsetCursor): use iy
8938 (fitLockedInsetCursor): ditto
8940 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8941 locked insets as there we have the right value now.
8943 * lyxcursor.C: added iy_ variable and iy functions to set to the
8944 baseline of cursor-y of the locked inset.
8946 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8947 (setCursor): fixed for insets which need a full row.
8949 * text.C (rowLastPrintable): don't ignore the last space when before
8950 an inset which needs a full row.
8951 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8952 as last character of a row when before a inset which needs a full row.
8954 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8956 * version.C.in: update date
8958 * text2.C (fullRebreak): try to always return true and see what
8961 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * MenuBackend.C (expand): use Floating::listName
8965 * FloatList.C (FloatList): add listName argument to the built-in
8968 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8969 text associated with the float.
8971 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8973 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8975 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8977 * ShareContainer.h: add a couple of missing typenames.
8979 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8981 * lyxrc.C (getDescription): use _() correctly rather than N_().
8983 2002-03-28 Herbert Voss <voss@lyx.org>
8985 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8986 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8988 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8990 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8991 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8993 2002-03-29 Juergen Vigna <jug@sad.it>
8995 * lyxfunc.C (dispatch): add a missing fitCursor call.
8997 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8998 it was scrolled by a cursor move, so return the bool status.
9000 * BufferView.C (fitCursor): return the bool flag also to the outside
9001 world as this is needed.
9003 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9005 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9006 call the edit() as it is not needed (and wrong) IMO.
9007 (workAreaButtonPress): set the screen_first variable before evt.
9008 unlock the inset as this may change screen_first and then we have
9009 a wrong y position for the click!
9011 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9013 * MenuBackend.C (expand): another translation that I missed
9015 2002-03-28 Juergen Vigna <jug@sad.it>
9017 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9019 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9021 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9023 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9025 * MenuBackend.C (expand): fix export/view/update when there is no
9028 2002-03-27 Herbert Voss <voss@lyx.org>
9030 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9033 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * bufferview_funcs.C (currentState): only show paragraph number
9036 for is DEVEL_VERSION is set.
9038 * lyxfunc.C (dispatch): put warning in INFO channel
9040 * MenuBackend.C (expand): translate the name of floats
9042 * FloatList.C (FloatList): mark the float names for translation
9044 * converter.C (convert): use LibScriptSearch
9046 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * MenuBackend.C (defaults): fix default menu (we might as well get
9051 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9053 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9056 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9058 * lyxvc.C: reorder includes.
9060 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9062 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9065 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9067 * CutAndPaste.C: change layouts earlier on paste
9068 to avoid crashing when calling getFont()
9070 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9072 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9075 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * WorkArea.C: remove 'Pending' debug message.
9079 * most files: ws cleanup
9081 * buffer.[Ch]: ws changes
9083 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9085 2002-03-21 Juergen Vigna <jug@sad.it>
9087 * tabular.C (SetMultiColumn): collapse also the contents of the
9088 cells and set the last border right. Added a Buffer const * param.
9090 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9092 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9095 2002-03-19 Juergen Vigna <jug@sad.it>
9097 * text2.C (clearSelection): reset also xsel_cache.
9099 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9100 where it needs to be called (John tells us to do so too :)
9101 (selectionLost): reset sel_cache.
9103 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9105 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9107 * text2.C (setCursorIntern): put debuging code in INSETS channel
9109 2002-03-19 André Pönitz <poenitz@gmx.net>
9111 * lyxfunc.C: tiny whitespace change
9113 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9115 * ToolbarDefaults.C (init):
9116 * LyXAction.C (init):
9118 * BufferView_pimpl.C (Dispatch):
9119 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9121 2002-03-19 Allan Rae <rae@lyx.org>
9123 * exporter.C (Export): removeAutoInsets before doing anything else.
9124 While I've just introduced a dependency on BufferView this really is
9125 the best place to clean the buffer otherwise you need to cleanup in
9126 a dozen places before calling export or cleanup in a dozen functions
9129 * converter.C (runLaTeX):
9130 (scanLog): Better handling of removeAutoInsets and screen updates.
9132 * lyxfunc.C (dispatch): small whitespace changes
9134 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9136 * WorkArea.C (C_WorkAreaEvent): return a value.
9137 (event_cb): return 1 if we handled the event, 0 otherwise.
9139 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9141 2002-03-18 Juergen Vigna <jug@sad.it>
9143 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9144 (GetAdditionalWidth): ditto.
9148 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9149 inset if we're there actually (probably not used right now but this
9150 is the direction to go for unifying code).
9151 (paste): disable code to clear the selection.
9153 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9154 inside an InsetText and move the check further up as it is in the
9157 * text2.C (pasteSelection): set a selection over the pasted text.
9159 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9161 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9162 and libgraphics to build on Cygwin.
9164 2002-03-15 Juergen Vigna <jug@sad.it>
9166 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9167 inserting an Inset into the paragraph. I know this is not the best
9168 fix but we already use current_view in CutAndPaste so we will remove
9169 all of it's using at the same time.
9171 * buffer.C (sgmlError): deactivated function till it is rewritten in
9172 the right mode, now it can create problems.
9174 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9175 before accessing it.
9177 2002-03-14 Juergen Vigna <jug@sad.it>
9179 * undo_funcs.C (textHandleUndo): do the right thing when updating
9180 the inset after the undo/redo.
9182 * text2.C (setCursor): just some testcode for #44 not ready yet.
9184 * undo_funcs.C (textHandleUndo): set the next() and previous()
9185 pointers of the paragraph to 0 before deleting otherwise we have
9186 problems with the Paragraph::[destructor].
9188 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9189 on a paragraph insertion.
9191 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9193 * buffer.C (asciiParagraph): use += operator for char append to
9196 * paragraph.C (getFontSettings): compare >= not just >
9197 (highestFontInRange): ditto
9200 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9202 * paragraph.C: change several algorithm to be more appripriate for
9203 the problem domain. This is lookip in FontList and in the InsetList.
9205 2002-03-13 André Pönitz <poenitz@gmx.net>
9208 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9210 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9215 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9217 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9219 * Painter.C (display): anon helper function, adjust code for this
9221 (pixmap): remove function.
9223 * Painter.h: remove private display variable.
9225 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9227 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9229 * WorkArea.[Ch]: remove figinset_canvas cruft.
9231 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9233 * lyxtextclass.C (operator): add one item cache optimization.
9235 * bufferlist.h: doxy changes
9237 * bufferlist.C: ws changes
9239 * DepTable.[Ch] (ext_exist): place const in the right spot.
9241 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9243 (workAreaExpose): call resizeInsets when the with BufferView changes.
9244 (Dispatch): adjust for protectedBlank removal
9245 (specialChar): call updateInset if the insert went ok.
9247 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9248 specialChar instead.
9250 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9252 * BufferView.h: doxy change
9254 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9256 * lyxtextclass.C (operator[]): remove non-const version
9257 (defaultLayout): remove non-const version
9259 2002-03-12 Juergen Vigna <jug@sad.it>
9261 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9262 did resize the LyXText too.
9264 * buffer.C (readLyXformat2): set layout information on newly allocated
9267 * tabular.C (OldFormatRead): set layout information on the paragraph.
9269 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9271 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9273 2002-03-11 Juergen Vigna <jug@sad.it>
9275 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9277 (resizeCurrentBuffer): force also the insets to resize themselfes.
9278 (moveCursorUpdate): fixed up for InsetText.
9280 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9283 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9284 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9285 value of Dialogs::tooltipsEnabled().
9286 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9288 2002-03-08 Juergen Vigna <jug@sad.it>
9290 * BufferView_pimpl.C (updateInset): update inset inside inset also
9291 if it isn't inside theLockingInset().
9293 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9295 * buffer.C (asciiParagraph): redo some of the word and line length
9297 (getLists): look for Caption instead of caption.
9299 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9301 * buffer.C (Buffer): initialize niceFile to true
9304 (makeDocBookFile): make sure niceFile is true on exit
9306 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9308 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9310 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9312 * LyXSendto.C: remove.
9313 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9314 * lyx_gui.C: remove now-redundant comment.
9315 * ColorHandler.h: remove forward declaration of class WorkArea.
9316 * lyxfunc.C: remove #include "WorkArea.h".
9318 2002-03-07 Juergen Vigna <jug@sad.it>
9320 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9321 got moved away with the DEPM and also set the inset_owner always
9322 right which before could have been omitted.
9324 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9326 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9327 wanted layout is not found.
9329 2002-03-07 Juergen Vigna <jug@sad.it>
9331 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9333 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9335 * paragraph.C (breakParagraph): use default layout not layout of
9337 (Paragraph): clear ParagraphParameters.
9339 2002-03-06 Juergen Vigna <jug@sad.it>
9341 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9342 otherwise it would not be a valid lenght. Fixed a special case in
9343 the minipage compatibility read where we end the document with a
9346 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9347 was set as it could be 0 for InsetTexts first entry.
9349 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * paragraph.C (writeFile): if layout is empty write out
9352 defaultLayoutName().
9354 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9355 file without named layout we set layout to defaultLayoutName().
9357 2002-03-06 Juergen Vigna <jug@sad.it>
9359 * CutAndPaste.C (copySelection): set layout for new paragraph.
9361 * text.C (prepareToPrint): leave ERT inset left aligned
9362 (leftMargin): don't indent paragraphs inside ERT insets
9364 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9366 * paragraph.C (breakParagraph): dont call clear do the work manually
9368 * paragraph.[Ch] (clear): remove function
9370 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9372 * paragraph.C (Paragraph): dont call clear, the work has already
9375 * lyxtextclass.C (operator): assert if n is empty
9377 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9378 work manually instead.
9380 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9382 * BufferView_pimpl.C: protect selectionLost against text == 0
9384 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9386 * text.C (breakParagraph): fix a setting layout to '0' problem.
9388 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9390 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9391 final location of file, for the included files, and graphics.
9393 2002-03-05 Juergen Vigna <jug@sad.it>
9395 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9397 2002-03-04 Juergen Vigna <jug@sad.it>
9399 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9401 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9402 last column of multicolumn cells.
9403 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9405 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9407 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9408 file if it doesn't go to a temporary file.
9410 * buffer.C (sgmlOpenTag):
9411 (sgmlCloseTag): remove extra newline insertion.
9413 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * text.C (getRowNearY): comment out debug msg
9417 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9419 * text2.C: first -> first_y
9421 * text.C (getRowNearY): add some attemts at a possible
9422 optimization, not working.
9424 * tabular.[Ch]: add BufferParams to several function so that newly
9425 created paragraph can be initialized to he default layotu for the
9428 * tabular-old.C (ReadOld): add buf->params to call of Init
9430 * screen.C: rename text->first to text->first_y
9432 * paragraph.C (breakParagraph): always set layout in the broken
9435 * lyxtextclass.C (Read): remove lowercase
9438 (delete_layout): ditto
9440 * lyxtext.h: rename first -> first_y
9442 * lyxlayout.C (Read): remove lowercase
9445 (obsoleted_by): ditto
9447 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9449 * buffer.C (insertErtContents): add params are to InsetERT
9450 (parseSingleLyXformat2Token): add code to check if a paragraphs
9451 layout really exist.
9452 (parseSingleLyXformat2Token): add params to several inset
9454 (asciiParagraph): remove lowercase, do the layout comparisons with
9457 * BufferView_pimpl.C (cursorNext): first -> first_y
9458 (resizeCurrentBuffer): first -> first_y
9459 (updateScrollbar): first -> first_y
9460 (scrollCB): first -> first_y
9461 (workAreaMotionNotify): first -> first_y
9462 (workAreaButtonPress): first -> first_y
9463 (checkInsetHit): first -> first_y
9464 (cursorPrevious): first -> first_y
9465 (cursorNext): first -> first_y
9466 (Dispatch): add buffer_->params to severl inset contructors
9468 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9470 * lyxlayout.C (Read): remove some debug info that I forgot.
9472 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9473 clean up the code slightly.
9474 (makeLinuxDocFile): ditto
9475 (makeDocBookFile): ditto
9477 * text2.C: layout as string
9479 * text.C: layout as string
9481 * paragraph_pimpl.C: layout as string
9483 * paragraph.[Ch]: layout as string
9485 * lyxtextclasslist.[Ch]: layout as string
9487 * lyxtextclass.[Ch]: layout as string
9489 * lyxtext.h: layout as string
9491 * lyxlayout.[Ch]: layout as string
9493 * lyx_cb.C: layout as string
9495 * bufferview_funcs.C: layout as string
9497 * bufferparams.C: layout as string
9499 * buffer.C: layout as string
9501 * LyXView.[Ch]: layout as string
9503 * LaTeXFeatures.[Ch]: layout as string
9505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9507 * BufferView_pimpl.C: change current_layout to string, remove
9512 (workAreaButtonRelease): layout as string
9514 * BufferView2.C (unlockInset): adjust
9516 * vspace.C (asLatexCommand): use an explict temp variable.
9518 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9520 * Makefile.am: use FRONTEND_*
9522 2002-03-01 Juergen Vigna <jug@sad.it>
9524 * tabular.C (SetWidthOfMulticolCell): changed to something better
9525 I hope but still work in progress.
9526 (recalculateMulticolumnsOfColumn): renamed function from
9527 recalculateMulticolCells as it is more appropriate now.
9528 (SetWidthOfCell): calculate multicols better.
9530 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9534 * lyxfunc.C (processKeySym): print sequence also if it is
9535 `deleted' (complete)
9537 * kbsequence.C (print): print sequence even if it is deleted
9538 (complete would be a better word, actually).
9540 * lyxfunc.C (dispatch): print complete options after a prefix key
9542 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9544 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9546 * text2.C (setCharFont): eliminate setCharFont code duplication.
9548 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9550 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9551 LFUN_TABULAR_FEATURE (bug #177)
9553 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9555 * Makefile.am: remove figure.h
9557 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9559 * Bufferview_pimpl.C:
9571 * text2.C: remove #include "lyx_gui_misc.h".
9573 * LaTeX.C: added #include <cstdio>
9575 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9577 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9578 that the paragraph following this one can have.
9580 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9582 * vspace.C (asLatexCommand): fix bogus gcc warning
9584 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9586 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9588 * text2.C (setLayout): get rid of redundant code
9590 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9592 * text2.C (incDepth): make sure depth cannot be increased beyond
9595 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9597 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9598 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9600 * PainterBase.h (image):
9601 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9604 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9608 * BufferView_pimpl.C:
9609 * BufferView_pimpl.h:
9629 * sp_spell.C: remove fig inset, and the crap house of
9630 cards that follows it
9632 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9638 * nt_defines.h: move .h into support/
9640 * vms_defines.h: remove
9642 * WorkArea.C: add space in debug output
9646 * buffer.C: add WITH_WARNINGS
9650 * bufferlist.C: s/retrive/retrieve/, add docs
9661 * lyxgui.C: add ID to X error handler
9663 * lyxtestclass.c: fix typo
9665 2002-02-26 Juergen Vigna <jug@sad.it>
9667 * tabular_funcs.C (write_attribute): changed so that some default
9668 attributes are not written at all.
9669 (getTokenValue): set default values before trying to read the
9670 value so we have the return value always set as default if we don't
9671 find the token we search for.
9673 * tabular.C (Write): write bools as bools not as strings!
9675 2002-02-22 Juergen Vigna <jug@sad.it>
9677 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9678 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9680 * text.C (leftMargin): don't add an indent for paragraphs inside
9681 tabular cells (fix #208).
9683 2002-02-21 José Matos <jamatos@fep.up.pt>
9685 * tabular.C (docBook): fixed support for long tables.
9687 2002-02-20 Juergen Vigna <jug@sad.it>
9689 * text2.C (getFont): get the drawing font of the Inset if this
9690 paragraph is inside an inset (only important for InsetERT for now).
9692 * buffer.C (insertErtContents): use new lanugage params in ERT
9695 * CutAndPaste.C: commenting out seemingly uneeded code.
9697 2002-02-19 Allan Rae <rae@lyx.org>
9699 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9700 Iterators might be simple to use but they also get invalidated.
9701 (removeAutoInsets): renamed saved cursor tracking variables and added
9702 some comments to clarify what everything does.
9704 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9711 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9712 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9715 * vc-backend.h: remove #include "support/syscall.h"
9719 * converter.C: rearrange #includes in Lars' approved fashion.
9721 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9722 forward declare class Timeout in the header file.
9724 * XFormsView.C: changes due to the above.
9726 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9729 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9730 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9732 2002-02-18 José Matos <jamatos@fep.up.pt>
9734 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9737 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9739 * a lot of small ws changes
9740 * add a lot of using std::XXX
9741 * use std construcs some places where approp.
9742 * use some exisint stuff from lyxfunctional where approp.
9743 * Make file changes to use partial linking (lets test this now...)
9745 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9749 remove #include "support/syscontr.h" as it's redundant. Always has been.
9757 change Systemcalls::System to Systemcalls::Wait and
9758 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9759 No change of functionality, just reflects the stripped down Systemcalls
9762 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9764 * debug.[Ch]: add a GRAPHICS type to the enum.
9766 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9768 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9770 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9773 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9776 match the changes below.
9778 * text2.C (toggleInset): if there is not editable inset at cursor
9779 position, try to see if cursor is _inside_ a collapsable inset
9782 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9785 document menu has a nice checkbox
9787 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9789 * lyxlength.C (asLatexString): change PW to output as percent of
9792 * lengthcommon.C: change '%' to 't%'
9794 * lyxfunc.C (dispatch): a few comments from Martin
9796 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9800 * BufferView_pimpl.h:
9801 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9804 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9806 * vspace.C (inPixels): fix compiler warning
9808 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9810 * lyxfunc.C (getStatus): fix status message for disabled commands.
9812 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9814 * BufferView_pimpl.C: fix crash on close buffer
9815 during selection (#227)
9817 2002-01-27 Herbert Voss <voss@lyx.org>
9819 * buffer.C: link old Figure to new graphic inset
9821 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9823 * FontLoader.C (getFontinfo): Change the latex font names in order
9824 to match the names of type1inst.
9826 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9828 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9830 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9833 (remove_files_with_extension): ditto
9834 (remove_file): ditto
9837 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9838 document is smaller than the work area height. Do not initialize
9839 static variables to 0.
9841 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9843 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9845 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9846 LFUN_LAYOUT_PARAGRAPHS.
9848 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9849 tabular. It is possible to provide a possible cell, which will
9850 typically be the actcell from the corresponding insettabular
9852 * lyxfunc.C (getStatus): small cleanup; disable
9853 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9856 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9860 * paragraph.C (startTeXParParams):
9861 (endTeXParParams): new methods. The LaTeX code to
9862 start/end paragraph formatting
9863 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9864 empty (fixes bug #200)
9866 * vspace.C (inPixels): adapt to the change below
9867 (inPixels): [later] more cleanups (remove unused variables)
9869 * lyxlength.C (inPixels): change to use a width and a height as
9872 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9874 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9875 Replaced with \paperwidth
9877 * DepTable.C (insert): add std:: qualifier
9879 2002-01-18 Allan Rae <rae@lyx.org>
9881 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9884 * text.C (drawInset): Turned out I didn't know enough about how
9885 rebreaking worked. This fixes most of the redraw problems. I see
9886 an occasional cursor trail when a line is broken now and the cursor
9887 placement can seem out by a few pixels also after a rebreak.
9889 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9891 * buffer.C (parseSingleLyXformat2Token): update because minipage
9892 width is now a LyXLength
9894 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9896 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9899 2002-01-17 Juergen Vigna <jug@sad.it>
9901 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9903 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9904 is set correctly and the inset is updated correctly.
9906 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9908 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9909 the beginning of the loop.
9911 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9913 * lyxrc.C: improve help for use_scalable_fonts
9915 2002-01-17 Allan Rae <rae@lyx.org>
9917 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9919 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9921 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9922 make sure to set their inset_owner to the right value (bug #171)
9924 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9927 * DepTable.C: Implement mtime checking to reduce time spent doing
9930 2002-01-16 Juergen Vigna <jug@sad.it>
9932 * tabular.C (GetAdditionalHeight): one of error fixed.
9934 * lyxrc.C (output): small fix in writing use_pspell.
9936 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9938 * sp_base.h: #include LString.h
9940 2002-01-16 Allan Rae <rae@lyx.org>
9942 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9943 Can someone check this please?
9945 * text.C (drawInset): It was possible that p.row would be removed by
9946 breakAgainOneRow upsetting a few other settings. There may be another
9947 small tweak possible by setting need_break_row = 0 when p.row has been
9948 removed but I don't know enough about the logic here.
9950 2002-01-15 Allan Rae <rae@lyx.org>
9952 * text.C (insertChar): removed conditional truism.
9954 * BufferView2.C (removeAutoInsets): More tweaks.
9955 cur_par_prev could be a stray pointer. Check for trailing empty line
9956 in case last line was cur_par and only had an error inset on it.
9958 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9960 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9963 * vc-backend.C (most methods):
9964 * exporter.C (Export):
9965 * converter.C (convert):
9967 * LyXSendto.C (SendtoApplyCB):
9968 * lyxfunc.C (dispatch):
9972 * lyx_cb.C (AutoSave):
9974 * BufferView_pimpl.C (MenuInsertLyXFile):
9975 * buffer.C (runChktex): use Buffer::filePath().
9977 * buffer.h: rename filename to filename_; rename filepath to
9978 filepath_ and make it private
9979 (filePath): new method
9981 * buffer.C (writeFile): use fileName()
9984 * lyx_main.C (init): fix starting of LyX when the binary is a
9985 link from so,ewhere else.
9987 * minibuffer.C: include <cctype> for isprint
9989 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9991 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9992 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9993 name clash with InsetCollapsable's width function.
9995 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9997 * lastfiles.C: include <iterator>
9999 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10001 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10004 * buffer.C (makeLaTeXFile): ditto.
10005 Also make loop operation more transparent.
10007 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10009 * ToolbarDefaults.C: remove trailing comma closing namespace.
10011 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10013 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10016 * trans.C (Load): comment out unused variable, allowed.
10018 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10020 * minibuffer.[Ch] (append_char): new method to recieve input from the
10021 drop-down completion browser. If a key was pressed, then recieve this
10022 char and append it to the existing string.
10023 (peek_event): modify the positioning data passed to the completion
10024 browser so that it can be placed above the minibuffer rather than below.
10025 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10027 * LyXAction.C (init): alloe error-next for readonly documents.
10029 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10032 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10034 * bufferlist.C (readFile): create the buffer _after_ checking that
10037 * lyxfunc.C (verboseDispatch): fix handling of arguments
10039 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10041 * lyxrc.C: use string::erase() instead of initializing to "".
10044 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10046 * BufferView_pimpl.h:
10047 * BufferView_pimpl.C:
10050 * text2.C: tell X when we have made a selection for copying
10052 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * BufferView_pimpl.C (MenuInsertLyXFile):
10055 * lyxfunc.C (menuNew):
10057 (doImport): add shortcuts to directory buttons
10059 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10062 * lyxfunc.C (setStatusMessage):
10063 (getStatusMessage): new methods
10064 (getStatus):use setStatusMessage instead of setErrorMessage
10065 (dispatch): when function is disabled, set error message here
10066 [instead of in getStatus previously]
10068 * BufferView_pimpl.C (workAreaButtonRelease): update
10069 toolbar/menubar here too.
10071 2002-01-13 Allan Rae <rae@lyx.org>
10073 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10074 Now seems indestructible. Remaining task is to audit all other
10075 code affected by deleteEmptyParagraphMechanism. One small quirk
10076 left is that an empty document with an error in the preamble can
10077 be made to report an error but no error box appears. I don't know
10079 (removeAutoInsets): Improved comments.
10081 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10084 * Thesaurus.C: update for Aiksaurus 0.14
10086 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * text2.C (firstParagraph): removed member function, all uses
10089 replaces with ownerParagraph
10090 (redoParagraphs): here
10091 (updateInset): here
10092 (toggleAppendix): here
10093 * BufferView2.C (insertErrors): here
10094 (setCursorFromRow): here
10096 2002-01-13 Allan Rae <rae@lyx.org>
10098 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10099 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10100 There is still a way to segfault this although you may have to do this
10101 multiple times: Have an InsetERT with an unknown command in it.
10102 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10103 <down-arrow>, <Enter> again, View->DVI, BANG!
10105 * text2.C (setCursor):
10106 (deleteEmptyParagraphMechanism):
10107 * lyxtext.h (setCursor):
10108 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10109 Making use of the return value may help fix other bugs.
10111 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10115 * LyXView.C (updateMenubar): call MenuBar::update here
10116 (updateToolbar): but not here
10117 (showState): do not update toolbar/menubar
10119 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10120 should need to care about that.
10122 * lyxfunc.C (verboseDispatch): simplify a bit
10123 (getStatus): have a version which takes a pseudoaction, and
10124 another which requires a (kb_action,string).
10126 * LyXAction.C (retrieveActionArg): make it work also when action
10127 is not a pseudo-action.
10128 (getActionName): simplify a bit
10131 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * lyxfunc.C (verboseDispatch): new families of methods with
10134 several ways to specify a command and a bool to indicate whether
10135 the command name and shortcut should be displayed in minibuffer
10136 (eventually, we could extend that to a finer bitmask like
10137 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10138 (dispatch): the pristine dispatch command which just, well,
10139 dispatchs! Note it still sets its result to minibuffer; I'm not
10142 * lyxfunc.h: remove setHintMessage
10144 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10146 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10148 * BufferView_pimpl.C (specialChar): delete new inset if we have
10149 not been able to insert it.
10151 * kbmap.C: revert to using int instead of kb_action, since all we
10152 are dealing with is pseudo-actions.
10154 * LyXAction.C (searchActionArg): change to return int instead of
10155 kb_action, since the result is a pseudoaction.
10157 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10159 * buffer.C (insertErtContents): Fix (partially) the font bug.
10161 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10163 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10164 as the other one is broken on my machine!
10166 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10169 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10171 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10173 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10174 reflect their actual use. Provide compatibility code for older lyxrc
10177 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10179 change names of popup font variables in line with the changes to lyxrc.C
10181 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10183 * buffer.C (asciiParagraph): avoid outputing a word twice after
10186 * lyxrc.C (getDescription): document that document_path and
10187 template_path can be empty.
10189 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10191 * LaTeXFeatures.C (getMacros):
10192 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10194 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10196 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10198 (getPackages): rename feature "floats" to "float". Use an array to
10199 iterate over 'simple' features (i.e. just a \usepackage). Add
10200 handling of "amsmath" (renamed from "amsstyle").
10202 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10204 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10207 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10209 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10210 FuncStaus::FuncStatus & FuncStaus::some_method().
10212 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10214 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10215 of the func_satus stuff. Edited and massaged in various ways by
10218 * lyxfunc.C (getStatus): use FuncStatus
10220 2002-01-08 Juergen Vigna <jug@sad.it>
10222 * text.C (nextBreakPoint): use function Inset::isChar().
10224 * paragraph.C (TeXOnePar): use function
10225 Inset::forceDefaultParagraphs.
10227 * buffer.C (latexParagraphs): use function
10228 Inset::forceDefaultParagraphs.
10230 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10232 * lyx_gui.C (init): set the style of the menu popups to
10233 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10235 2002-01-07 Juergen Vigna <jug@sad.it>
10237 * text.C (setHeightOfRow): small fix
10238 (prepareToPrint): don't look at alignment if we don't have the place
10241 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10243 * box.C: New file. Move the Box methods and functions out of box.h,
10244 following Lars' suggestion.
10246 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10248 * box.h: #include "support/LOstream.h", needed for inlined function.
10251 * lyxtextclasslist.C: added some using std declarations.
10253 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10255 * box.h: make signed dimensions to allow insets wider than
10256 the screen (bug #162)
10258 * BufferView_pimpl.C: add some insetHit debug
10260 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10262 * vc-backend.C: add FIXME
10264 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10266 * lyxfunc.C (getStatus): enable code for showing math font status
10269 2002-01-07 Juergen Vigna <jug@sad.it>
10271 * text.C (nextBreakPoint): removed debug output not needed anymore.
10273 2002-01-06 Juergen Vigna <jug@sad.it>
10275 * text.C (nextBreakPoint): fixed up this function we had this bug
10276 since ever but now hopefully we break row better.
10277 (insertChar): we have to check if an inset is the next char as it
10278 could now happen that a large inset is causing a break.
10280 2002-01-05 Juergen Vigna <jug@sad.it>
10282 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10283 if it doesn't like to be drawed.
10285 2002-01-04 Juergen Vigna <jug@sad.it>
10287 * BufferView2.C (lockInset): forgot to set a cursor.
10289 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10291 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10293 * FormMathsPanel.C:
10296 * form_maths_panel.C:
10297 * form_maths_panel.h:
10298 * form_maths_panel.fd: implemented sub- and super- buttons in math
10301 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10302 (or ^ space) to be used as in TeX (req'd by André).
10304 * lyxfunc.C: Allow ^ and _ again to be used both as
10305 super/subscript (mathed) and as themselves (in text).
10307 2002-01-03 Allan Rae <rae@lyx.org>
10309 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10310 "LyX" or the filename of the current buffer if it has one. This is a
10311 modified form of John Levon's patch.
10313 * XFormsView.C (setWindowTitle): also set icon title.
10315 * LyXView.h (setWindowTitle): signature changed.
10316 * XFormsView.h (setWindowTitle): ditto.
10318 2002-01-02 Juergen Vigna <jug@sad.it>
10320 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10322 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10324 * screen.C (topCursorVisible): introduce a temp var for
10325 text->cursor.row(), handle the case where this row is null. (kindo
10328 * text2.C (setCursor): add a couple of asserts.
10330 * paragraph.h (inset_iterator): add -> operator
10332 * paragraph.[Ch] (autoDeleteInsets): remove member function
10334 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10335 cursor pos correctly and handle inset deletion by itself.
10336 (insertErrors): move iterator declaration out of for expression
10338 * lyxtextclass.C: add <algorithm>
10340 * Makefile.am: added the new files to sources, removed layout.C
10342 * layout.C: removed file
10344 * layout.h: remove LYX_DUMMY_LAYOUT
10346 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10350 * lyxtextclass.[Ch]:
10351 * lyxtextclasslist.[Ch]: new files
10353 * include order changes to a lot of files, also changes because of
10356 2001-12-27 Juergen Vigna <jug@sad.it>
10358 * buffer.C (asciiParagraph): more fixes.
10360 * tabular.C (ascii): make ascii export support export of only the
10361 data separated by a column-delimiter.
10362 (ascii): better support for ascii export.
10364 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10366 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10368 * tabular_funcs.C: use a "using std::getline" instead of the
10369 previous fix from Angus (necessary for cxx + lyxstring)
10371 2001-12-24 Juergen Vigna <jug@sad.it>
10373 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10375 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10376 problems. First check a minipage also if we have some ert-contents
10377 (not only on par->size(), second set the right depth of the paragraph
10378 on the relink to the root-paragraph-list!
10380 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10381 which then did not anymore update the main paragraphs on undo/redo!
10383 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10386 code. Support all font-changing funcs (even those which are not in
10387 menu currently). Support for reporting font settings in
10388 mathed (disabled until Andre provides a function on mathed's side).
10390 * func_status.h (toggle): small helper function to set toggle
10393 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10395 * tabular_funcs.C: getline -> std::getline
10397 2001-12-21 Juergen Vigna <jug@sad.it>
10399 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10400 accessed and could be 0 (I couldn't generate this but it seems
10403 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10405 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10406 * tabular_funcs.h: here and include iosfwd
10408 2001-12-20 Juergen Vigna <jug@sad.it>
10410 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10411 inside inset but undo_par was.
10413 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * Thesaurus.C: always include <config.h> in sources.
10419 * box.h: do not include <config.h> in header files
10421 * text.C (paintLastRow): remove unused variable
10423 * text.C (transformChar):
10425 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10427 * Painter.C (text):
10428 * font.C (width): rewrite to use uppercase() instead of
10431 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10433 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10435 * lyxfind.C: clean up of find failure position change
10437 2001-12-20 Juergen Vigna <jug@sad.it>
10439 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10441 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10442 (TeXRow): added to LaTeX a single tabular row.
10443 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10444 (Latex): simplified and finally good LT-h/f support.
10445 (various_functions): just small adaptions for LT-h/f support.
10447 * tabular_funcs.[hC]: added and moved here all not classfunctions
10450 2001-12-19 Juergen Vigna <jug@sad.it>
10452 * tabular.[Ch]: better support for longtabular options (not finished
10455 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10457 * text.C (paintLastRow): use the label font instead of the font of
10458 the last character to compute the size of *_BOX. This makes more
10459 sense and avoids a crash with empty paragraphs.
10460 Use Painter::rectangle to draw EMPTY_BOX.
10462 2001-12-19 Juergen Vigna <jug@sad.it>
10464 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10465 the paragraphs if the replaced paragraph is not the first one!
10466 Tried to delete not used paragraphs but does not work yet so for
10467 now it's inside #ifdef's and by default off!
10469 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10471 * MenuBackend.C: include "lyx_main.h" instead of declaring
10472 lastfiles (actually was declared as LastFiles* instead of a
10475 2001-12-17 Juergen Vigna <jug@sad.it>
10477 * tabular.C (AppendColumn): applied John's fix
10479 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10483 * BufferView_pimpl.h:
10484 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10487 * box.h: new start of class for above
10489 * lyxfunc.C: ignore space-only minibuffer dispatches.
10490 Show the command name when it doesn't exist
10492 * minibuffer.C: don't add empty lines to the history
10494 * minibuffer.C: add a space on dropdown completion
10496 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10498 * text.C: fix line above/below drawing in insets
10500 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * lyxlength.C (LyXLength): Initialize private variables.
10504 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10506 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10507 when inserting error insets.
10509 2001-12-13 Juergen Vigna <jug@sad.it>
10511 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10512 actually sometimes the before-paragraph.
10513 (setUndo): don't clear the redostack if we're not actually undoing!
10515 2001-12-06 Juergen Vigna <jug@sad.it>
10517 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10518 and fixed redoing of main paragraph, so we can use it now ;)
10520 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10522 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10527 2001-12-13 André Pönitz <poenitz@gmx.net>
10530 * undo_func.C: minor cleanup
10532 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10535 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10536 font in urw-fonts package which is marked as -urw-fontspecific and
10537 does not work (incidentally, changing the encoding in the
10538 fonts.dir of this package to -adobe-fontspecific fixes the
10541 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10542 is a crash when undoing first paragraph (Juergen, please take a
10543 look). THis does not mean the undo fix is wrong, just that it
10546 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10547 the (Paragraph*) version when needed instead of duplicating the
10550 * text.C (workWidth): use Inset::parOwner to find out where the
10551 inset has been inserted. This is a huge performance gain for large
10552 documents with lots of insets. If Inset::parOwner is not set, fall
10553 back on the brute force method
10555 * paragraph_pimpl.C (insertInset):
10556 * paragraph.C (Paragraph):
10557 (cutIntoMinibuffer): set parOwner of insets when
10558 inserting/removing them
10560 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10562 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10568 * mathed/formulabase.C:
10569 * mathed/math_cursor.[Ch]:
10570 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10573 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10575 * lyxlength.[Ch] (operator!=): new function
10577 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10579 * text.C (workWidth): use Inset::parOwner to find out where the
10580 inset has been inserted. This is a huge performance gain for large
10581 documents with lots of insets. If Inset::parOwner is not set, fall
10582 back on the brute force method
10584 * paragraph_pimpl.C (insertInset):
10585 * paragraph.C (Paragraph):
10586 (cutIntoMinibuffer): set parOwner of insets when
10587 inserting/removing them
10589 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10591 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10593 * tabular-old.C (getTokenValue):
10594 * tabular.C (getTokenValue):
10595 (write_attribute): new versions for LyXLength
10596 (everywhere): adjust the use of widths
10598 * tabular.h: change the type of widths from string to LyXLength
10600 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10602 * paragraph.C: fixed missing line number count when exporting
10603 Environments to LaTeX file
10605 * buffer.C: added informational message for checking line numbers.
10607 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10609 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10610 paragraph, do the 'double space' part, but not the 'empty
10613 * text.C (workWidth): small optimization
10614 (getLengthMarkerHeight): use minimal size for negative lengths.
10616 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10618 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10620 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10622 2001-12-11 André Pönitz <poenitz@gmx.net>
10625 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10627 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10629 * text2.C: keep selection on a setFont()
10631 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10633 * lyx_cb.C: another bv->text misuse, from insert label
10635 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10638 * kbsequence.C: re-instate nmodifier mask
10640 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10642 * lyx_main.h: make lyxGUI private.
10644 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10646 * lyxfind.C: place the cursor correctly on failed search
10648 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10650 * text.C (getLengthMarkerHeight): for small heights, the arrows
10651 are not always on top/bottom of the text
10652 (drawLengthMarker): smaller arrows; take the left margin in
10653 account; draw also vfills.
10655 (paintLastRow): remove special code for vfill and standard spaces,
10656 since everything is handled in drawLengthMarker now.
10658 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * buffer.C (insertErtContents): try to handle font and language
10661 interaction a bit better.g
10663 * ColorHandler.C (updateColor): change the hash to cover the whole
10664 LColor enum, ws cleanup
10665 (getGCLinepars): ditto
10666 (getGCLinepars): only lookup in the linecache once.
10668 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10670 * iterators.C (operator++): Make the iterator more robust
10672 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10674 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10676 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10679 * text.C: better added space drawing
10681 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10684 * BufferView2.C: fix layout combo update on inset unlock
10686 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10688 * Makefile.am: don't compile unused files
10690 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10694 * LyXAction.C: remove old LFUN_LAYOUTNO
10696 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10698 * paragraph_pimpl.h:
10699 * paragraph_pimpl.C: isTextAt() doesn't need font param
10701 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10704 * lyxlex.C: little cleanup
10706 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10708 * BufferView_pimpl.C: fix insertAscii for insets
10710 2001-12-05 Juergen Vigna <jug@sad.it>
10712 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10713 set the right font on the "multi" paragraph paste!
10715 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10721 * lyxlength.C: remove out-commented code.
10723 * BufferView_pimpl:
10737 * vc-backend.C: change "while(" to "while ("
10739 * lyxlength.[Ch]: add zero function to check if length is zero or
10741 * lyxgluelength.C: use it
10743 2001-12-05 Allan Rae <rae@lyx.org>
10745 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10746 Works for 2.95.3, from what I understand of Garst's reports this should
10747 work for other g++ versions. We're screwed if the abs(int) definition
10748 changed between bugfix releases of gcc.
10750 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10752 * text.C: fix chapter label offset !
10754 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10757 * text.C: fix hfill at end of line, clean up
10759 2001-12-04 Juergen Vigna <jug@sad.it>
10761 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10762 that we force an update of the inset and it's owners if neccessary.
10764 2001-12-03 Juergen Vigna <jug@sad.it>
10766 * text.C (rowLast): simplified code
10768 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10770 * lyxfunc.C: fix show options on timeout
10772 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10774 * screen.C (topCursorVisible): scroll half a page when the cursor
10775 reached top of bottom of screen
10777 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10779 * minibuffer.C: deactivate on loss of focus
10781 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10783 * vspace.[Ch] (operator!=): add operator.
10785 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10787 * BufferView_pimpl.C: refuse to open an inset when
10788 there's a selection.
10790 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10792 * BufferView_pimpl.C: allow to click on RHS of full row insets
10794 2001-11-30 Juergen Vigna <jug@sad.it>
10796 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10797 insets for undo reasons.
10799 2001-11-28 André Pönitz <poenitz@gmx.net>
10801 * vspace.[Ch]: cosmetical changes
10803 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10813 * kbsequence.C: part re-write of old kb code
10816 * WorkArea.C: remove Lgb_bug_find_hack
10818 2001-11-30 José Matos <jamatos@fep.up.pt>
10820 * buffer.C (makeDocBookFile): add a comment to point a hack.
10821 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10822 Fixed a double write of labels.
10824 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10827 * LaTeX.h Fixed bug in LaTeX class where it would not
10828 re-run latex if no depfiles were changed, but the .dvi was removed.
10830 2001-11-28 André Pönitz <poenitz@gmx.net>
10832 * all the files from the change on 2001/11/26:
10833 use lyx::layout_type instead of LyXTextClass::size_type
10834 use lyx::textclass_type instead of LyXTextClassList::size_type
10836 2001-11-29 Juergen Vigna <jug@sad.it>
10838 * text.C: added support for paragraph::isFreeSpacing()
10840 * buffer.C: same as above
10842 * paragraph.h: inserted isFreeSpacing() function to enable
10843 FreeSpacing inside InsetERT.
10845 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10846 of the paragraph's in the cut/copy buffer to 0!
10848 * text2.C (removeRow): remove the assert as it can!
10850 * lyxtext.h: added helper function firstRow returning firstrow and
10851 made firstrow private again.
10853 * BufferView2.C (lockInset): don't relock if we're already locked!
10855 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10856 the only paragraph.
10857 (removeRow): added Assert::(firstrow)
10859 * debug.C: forgot to add INSETTEXT here.
10861 2001-11-28 Juergen Vigna <jug@sad.it>
10863 * sp_spell.C (initialize): changed error text to more general
10864 spellchecker command use (not only ispell!)
10866 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10868 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10870 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10872 * vspace.C: initialise lyxgluelength on failure
10874 2001-11-28 Allan Rae <rae@lyx.org>
10876 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10877 declaration & definition that looks like a function declaration.
10879 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10881 * BufferView2.C (copy):
10882 (copyEnvironment): do not clear the selection when doing a copy.
10884 * text.C (paintFirstRow): compilation fix
10886 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10888 * tabular.C (Latex): correct line count when writing latex.
10890 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10892 * paragraph_pimpl.h:
10893 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10896 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10900 * LColor.C: change vfillline->added_space
10902 * text.C: add markers and text for added space
10904 * vspace.C: fix comment
10906 2001-11-28 André Pönitz <poenitz@gmx.net>
10908 * paragraph.C: whitespace changes
10909 * all the other files from the change on 2001/11/26:
10910 change *::pos_type into lyx::pos_type
10912 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10914 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10915 language of the document when inserting error insets.
10917 2001-11-26 André Pönitz <poenitz@gmx.net>
10919 * BufferView_pimpl.[Ch]:
10927 * paragraph_pimpl.[Ch]:
10930 * text2.C: reduce header dependencies, introduce type for positions
10932 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10934 * <various>: change to use Alert.h
10936 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10938 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10939 when encountering an unknown token.
10940 (readLyXformat2): Show an error message if there were unknown tokens.
10942 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10945 * BufferView_pimpl.C:
10949 * text2.C: use par->isInset()
10951 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10953 * paragraph_pimpl.h:
10954 * paragraph_pimpl.C: cleanup
10956 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10958 * text2.C (removeRow):
10959 * text.C (setHeightOfRow): remove useless (and costly) call to
10962 2001-11-20 Allan Rae <rae@lyx.org>
10964 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10965 Now need Inset*::checkInsertChar() to return true for appropriate
10966 cases so that the characters in the minibuffer will actually be
10969 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10971 * text.C: change the order of the includes.
10972 (workWidth): initialize it at once.
10973 (workWidth): make maxw unsigned
10974 (setHeightOfRow): remove unused variable (inset)
10975 (selectSelectedWord): remove unused variable (inset)
10976 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10978 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10980 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10981 server is not running.
10983 (closeConnection): add debug info when server is disabled.
10985 * ColorHandler.C (getGCForeground): send debug message to GUI
10988 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10990 * kbmap.C (bind): modify because return conventions of
10991 kb_sequence::parse have changed.
10993 * kbsequence.C (parse): only ignore spaces and not any stupid
10994 control character. This avoids tests like s[i] <= ' ', which are
10995 guaranteed to fail with 8bit characters and signed chars.
10996 Change return code to string::npos when there have been no error
10997 (0 was a bad idea when error is at first character)
10999 2001-11-14 José Matos <jamatos@fep.up.pt>
11002 * buffer.C (simpleDocBookOnePar): removed unused argument.
11004 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11006 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11007 insets which are part of a word. Paragraph::isLetter takes care of
11008 that now. Use Paragraph::isInset to identify insets.
11009 (selectSelectedWord): do not test for hyphenation break.
11011 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11012 that protected spaces are considered as spaces.
11014 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11017 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11020 * lyxserver.C: fix it. and small cleanup.
11022 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11024 * BufferView_pimpl.C: use inline helpers
11027 * LaTeXFeatures.C: fix typos
11030 * Spacing.C: move spacing_string into class
11032 * ToolbarDefaults.C: move stuff into namespace anon
11034 * layout.h: update enum
11036 * lyxfunc.C: use better debug
11038 * minibuffer.h: fix typo
11042 * WorkArea.C: add and use Debug::WORKAREA
11046 * text2.C: code re-organisation, inline helpers
11048 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11050 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11051 std::vector.empty().
11053 2001-11-09 Allan Rae <rae@lyx.org>
11055 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11056 '\n's after tables. Tabular and ERT inset work now makes this no
11059 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11062 * minibuffer.C: fix crash, improve drop-down completion
11064 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11067 * lyxserver.C: invalidate fd's when doing endPipe()
11069 2001-11-08 José Matos <jamatos@fep.up.pt>
11071 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11072 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11075 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11077 2001-11-07 José Matos <jamatos@fep.up.pt>
11080 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11083 * buffer.C (sgmlOpenTag):
11084 * buffer.C (sgmlCloseTag): removed debug info.
11086 * buffer.h (sgmlOpenTag):
11087 * buffer.h (sgmlCloseTag): made public.
11089 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11091 * buffer.C (saveParamsAsDefaults):
11092 * lyx_cb.C (MenuLayoutSave): remove
11094 * LyXAction.C (init):
11096 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11098 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11100 * buffer.C (setPaperStuff): removed from here...
11102 * bufferparams.C (setPaperStuff): ... and moved there.
11104 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11108 * XFormsView.C: add support for drop-down completion
11110 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11112 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11115 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11117 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11120 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11122 * lyx_main.C: change ref to known bugs
11124 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11126 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11127 to work around older babel problems.
11129 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11131 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11133 2001-10-24 Juergen Vigna <jug@sad.it>
11135 * tabular-old.C (ReadOld): below variable changes reflected.
11137 * tabular.[Ch]: added ltType struct for longtable header/footer
11138 defines and changed all instances where they are used. Added
11139 future support for double top/bottom rows.
11141 2001-10-24 José Matos <jamatos@fep.up.pt>
11143 * buffer.h (docbookHandleCaption):
11144 * buffer.C (docbookHandleCaption): removed unused function.
11145 (makeDocBookFile): moved docbook supported version to v4.1.
11147 2001-10-24 José Matos <jamatos@fep.up.pt>
11150 * tabular.C (docbookRow): new function to export docbook code of a row.
11151 (DocBook): now honors the longtable flags.
11153 2001-10-23 José Matos <jamatos@fep.up.pt>
11156 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11157 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11159 * buffer.C (makeLinuxDocFile):
11160 (makeDocBookFile): reworked the preamble, more clean, and with
11161 support for lyx defined entities. Changed the document declaration
11162 to be more XML friendly.
11164 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11165 if we need to output XML that should be done with a filter.
11167 2001-10-22 Juergen Vigna <jug@sad.it>
11169 * sp_pspell.h (class PSpell): add alive function needed in the
11170 controller to see if the spellchecker could be started.
11172 2001-10-22 Juergen Vigna <jug@sad.it>
11174 * buffer.C (insertStringAsLines): modify the font for inserting
11175 chars in certain conditions by calling checkInsertChar(font).
11177 2001-10-19 Juergen Vigna <jug@sad.it>
11179 * text.C (workWidth): use getRow instead of wrong algorithm.
11180 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11182 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11187 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11189 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11191 * text.C (workWidth): do not search for the exact row when
11192 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11193 optimization for big documents.
11195 2001-10-18 Juergen Vigna <jug@sad.it>
11197 * text.C (workWidth): new function with added Inset * parameter.
11199 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11201 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11203 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11204 change return type of getColumnNearX.
11207 * text.C (changeRegionCase): use uppercase/lowercase instead of
11210 (rightMargin): simplify code by factoring out the uses of
11215 (appendParagraph): use Paragraph::size_type
11217 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11219 * vspace.C (asLatexString): add a missing break
11221 2001-10-15 Herbert Voss <voss@perce.de>
11223 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11225 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11230 2001-10-10 André Pönitz <poenitz@gmx.net>
11232 * lyxfunc.C: removed greek_kb_flag.
11234 2001-10-10 Herbert Voss <voss@perce.de>
11236 * lyx_main.C: delete global string help_lyxdir.
11238 2001-10-09 Herbert Voss <voss@perce.de>
11240 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11242 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11244 * lyx_main.C: added global string help_lyxdir.
11246 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11248 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11250 * lyxrc.C (set_font_norm_type): support iso8859-4
11252 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11254 * LaTeX.C (deplog): add another regex for MikTeX
11256 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11258 * lyxrc.C (set_font_norm_type): support iso8859-3
11260 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11262 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11264 * LaTeXFeatures.C: remove special case of french and index
11266 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11267 before \begin{document}). This solves several incompatibilities.
11269 2001-10-03 Garst Reese <reese@isn.net>
11271 * lyx_cb.C: change CheckTex error msg.
11273 2001-10-03 José Matos <jamatos@fep.up.pt>
11275 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11277 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11279 * .cvsignore: update
11281 * lyx_main.C (commandLineVersionInfo): use new style version info.
11283 * buffer.C (writeFile):
11285 (makeLinuxDocFile):
11286 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11288 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11290 * version.h: update to use stuff in version.C
11292 * version.C.in: new file. Contains version information determined
11293 at compile time. This is a merging of version.h and
11296 2001-10-03 Juergen Vigna <jug@sad.it>
11298 * BufferView_pimpl.C (update): don't change "dirty" status in
11301 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11303 * WorkArea.C (c-tor): re-position version string slightly.
11305 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11307 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11308 revert to previous code.
11310 WorkArea.[Ch]: (show, destroySplash): methods removed.
11312 WorkArea.C: rework code so that it's an amalgam of the codes before and
11313 after the splash screen was moved to WorkArea.
11315 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11318 * vspace.C (inPixels):
11321 * buffer.C (insertStringAsLines):
11322 (asciiParagraph): fix types to be large enough
11324 * lyxlex_pimpl.h: change member status from short to int
11326 * layout.h: fix type of endlabeltype
11329 * kbsequence.C (parse): change return type to string::size_type
11331 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11334 * Bullet.C (bulletSize):
11335 (bulletEntry): do not use short ints as parameters
11337 * BufferView2.C (insertLyXFile): change a char to an int.
11339 * WorkArea.C (WorkArea): remove unneeded floats in computation
11341 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11343 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11345 * paragraph.C (asString): Do not ignore newline/hfill chars when
11346 copying to the clipboard.
11348 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11350 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11351 after a multi-line inset.
11353 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11355 * paragraph.C (validate): Set NeedLyXFootnoteCode
11357 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11359 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11360 and decrease-error to decrease.
11362 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11364 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11365 it more readable (should be equivalent)
11367 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11369 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11371 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11373 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11374 of a cursor (row, etc.) after a character has been deleted
11375 (deleteEmptyParagraphMechanism): call the method above on _all_
11376 cursors held by the LyXText when a double space has been
11379 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11381 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11383 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11385 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11386 background. Use greyOut() and the new show() methods to toggle between
11387 the foreground and background. Add code to remove the splash after
11388 its initial showing.
11390 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11391 (create_forms): no longer call Dialogs::showSplash.
11393 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * .cvsignore: add version_info.h
11397 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11399 * version_info.h.in: new file
11401 * Makefile.am: add version_info.h.in
11403 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11404 version_info.h instead of VERSION_INFO
11406 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11408 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11409 The ERT inset now returns string().
11411 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11413 * lyxtext.h, text.C (selectNextWord): renamed as
11414 selectNextWordToSpellcheck.
11416 * text.C (selectNextWordToSpellcheck): Modified to not select
11417 words inside an ERT inset.
11419 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11421 * lyx_cb.C (MenuLayoutSave): change a bit the question
11423 * sp_base.h: include <sys/types.h>
11425 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11427 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11429 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11431 * several files: fix typos in user-visible strings
11433 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11435 * text2.C (pasteSelection): do not set the selection, since it
11436 will be cleared later. Actually, the intent was to fix the way the
11437 selection was set, but I figured rmoving the code was just as good.
11439 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11441 * FontLoader.C (available): Check if font is available without
11444 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11446 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11448 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11450 * lyxrc.[Ch]: added display_graphics variable and associated code.
11452 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11454 * bufferparams.C (hasClassDefaults): new method. Returns true if
11455 the buffer parameters correspond to known class defaults
11457 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11459 * XFormsView.C (show): set minimum size to the main window.
11461 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11463 * text2.C (copySelection):
11465 * lyxfind.C (LyXReplace):
11466 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11467 LyXText::selectionAsString.
11469 * paragraph.C (asString): add "label" argument to the second form
11471 * text2.C (selectionAsString): add "label" argument and pass it to
11472 Paragraph::asString.
11474 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11476 * lyx_main.C (commandLineHelp): remove version information
11478 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11480 * lyx_main.C: add -version commandline option
11482 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11484 * paragraph.h: make the optional constructor arg required instead.
11485 some modifications to other files because of this.
11487 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11489 * lyxserver.C (C_LyXComm_callback): make it static
11491 * lyx_main.C (error_handler): make it static
11493 * lyx_gui.C (LyX_XErrHandler): make it static
11495 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11497 * WorkArea.C: make the extern "C" methods static.
11499 * Makefile.am (lyx_LDADD): simplify
11501 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11503 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11504 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11506 * LyXAction.C (init):
11507 * lyxfunc.C (dispatch): associated code removal.
11509 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11511 * lyxfont.h (isSymbolFont): shut off warning
11513 * text.C (setHeightOfRow):
11514 (getVisibleRow): fix crash with empty paragraphs which have a
11517 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11519 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11522 2001-09-04 José Matos <jamatos@fep.up.pt>
11525 * tabular.C (docbook): rename docBook method to docbook.
11527 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11529 * Makefile.am: add dependencies to main.o.
11531 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11533 * FontLoader.C (available): Return false if !lyxrc.use_gui
11535 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11537 * FontInfo.C (query):
11538 * converter.C (view):
11539 * importer.C (Import):
11540 * exporter.C (Export): Can not -> cannot.
11542 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11544 * BufferView_pimpl.C: allow to create index inset even if
11547 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11549 * buffer.C (getLists): replace boost::tie code with an explicit pair
11550 as boost::tie can break some compilers.
11552 * iterators.h: Added a std:: declaration to the return type of
11555 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11557 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11560 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11562 * iterators.[Ch]: New files. Provide paragraph iterators.
11564 * buffer.C (changeLanguage): Use paragraph iterators.
11565 (isMultiLingual): ditto
11567 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11569 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11571 * FontLoader.C: Support for cmr font.
11573 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11575 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11576 (available): New method.
11578 * FontInfo.C (getFontname): Use scalable fonts even when
11579 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11582 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11584 * converter.C (Formats::view): reverted! Incorrect fix.
11586 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11588 * converter.C (Formats::view): only output the -paper option
11589 if the dvi viewer is xdvi, thereby fixing bug #233429.
11591 2001-08-23 Herbert Voss <voss@perce>
11593 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11595 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11597 * Spacing.h (Spacing): Set space to Default on in the default
11600 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11602 * vc-backend.h (RCS::versionString): add RCS to version
11603 (CVS::versionString): add CVS to version
11605 * vc-backend.C (scanMaster): do not add CVS to version.
11606 (scanMaster): do not add RCS to version
11608 * lyxvc.C (versionString): new method
11610 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11612 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * Spacing.C (set): initialize fval
11616 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11618 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11621 2001-08-16 Juergen Vigna <jug@sad.it>
11623 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11625 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11627 * BufferView_pimpl.C:
11630 * text2.C: setParagraph takes linespacing now
11632 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11634 * LyxAction.C: add internal LFUN_CITATION_INSERT
11636 * LyXView.C: actually apply fix
11638 * bufferlist.C: fix open non-existent file
11640 * lyxfind.C: fix indentation
11642 * lyxfunc.C: remove unneeded assert, fix typo
11644 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11646 * MenuBackend.C: use "Floatname List"
11648 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11650 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11651 when converting LaTeX layout to insetERT.
11652 Generate a non-collapsed float when reading old float
11654 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11656 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11659 2001-08-13 Juergen Vigna <jug@sad.it>
11661 * text.C (fill): return 0 instead of 20 as this seems to be the more
11664 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11666 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11669 2001-08-13 Juergen Vigna <jug@sad.it>
11671 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11673 (SearchBackward): comment out the unlocking of the inset_owner this
11674 should not be needed!
11676 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11678 * Many files: Remove inherit_language, and add latex_language
11680 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11681 collapsible insets.
11683 2001-08-10 Juergen Vigna <jug@sad.it>
11685 * text.C (prepareToPrint): fixed hfill-width in draw!
11687 * BufferView2.C (selectLastWord): save the selection cursor as this
11688 now is cleared in the function LyXText::clearSelection!
11690 2001-08-08 Juergen Vigna <jug@sad.it>
11692 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11693 BACKSPACE type functions.
11695 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11696 is only cutted from the document but not put in the cut-buffer, where
11697 still the old stuff should be.
11699 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11701 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11703 * tabular.C (SetWidthOfCell): fixed special case where the width
11705 (LeftLine): handle '|' in align_special.
11707 (LeftAlreadyDrawed): ditto
11708 (SetWidthOfCell): ditto
11710 2001-08-07 Juergen Vigna <jug@sad.it>
11712 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11714 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11716 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11717 * lyxlex.[hC]: ditto
11719 2001-08-06 Juergen Vigna <jug@sad.it>
11721 * text.C (getVisibleRow): fix up row clearing a bit.
11723 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * minibuffer.C: make sure the X server sees the changes in the input.
11727 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11729 * paragraph.C (getFont): split into...
11730 (getLabelFont): this
11731 (getLayoutFont): and this
11732 * paragraph_pimpl.C (realizeFont): calling this
11734 * text2.C (getFont): split into...
11735 (getLayoutFont): this
11736 (getLabelFont): and this
11737 (realizeFont): all three calling this
11739 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11742 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11744 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11746 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11748 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11749 layouts from the Quote inset insertion.
11751 2001-08-03 Juergen Vigna <jug@sad.it>
11753 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11755 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11756 only if status not is already CHANGED_IN_DRAW (second level).
11758 * text.C (draw): don't set the need_break_row when inside an
11761 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * buffer.C (parseSingleLyXformat2Token): handle more latex
11766 * bufferview_funcs.[hC]: change function names to
11767 begin with small char, adjust other files.
11769 2001-08-02 André Pönitz <poenitz@gmx.net>
11772 BufferView_pimpl.C: remove broken special code for math-greek
11774 2001-08-02 Juergen Vigna <jug@sad.it>
11776 * BufferView_pimpl.C (update): redone this function so that we
11777 update the text again if there was a CHANGE_IN_DRAW.
11779 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11780 (drawFromTo): added a new internal bool which is used by draw() and
11782 (general): some cursor drawing problems fixed.
11784 2001-08-01 Juergen Vigna <jug@sad.it>
11786 * lyxfind.C (LyXFind): fixed
11787 (SearchForward): ditto
11788 (SearchBackward): ditto
11790 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11791 spurius drawing of the cursor in the main area.
11793 * text2.C (status): small fix which could lead to a segfault!
11794 (clearSelection): remove unneeded BufferView param.
11796 2001-08-01 André Pönitz <poenitz@gmx.net>
11798 * lyxfunc.C: small change due to changed mathed interface
11800 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11802 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11804 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11806 * lyxfunc.c: fail gracefully if file doesn't exist
11811 * BufferView_pimpl.C: IsDirWriteable() proto changed
11813 * LyXView.C: fix updateWindowTitle() to store the last title
11815 2001-07-31 Juergen Vigna <jug@sad.it>
11817 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11818 the font (wrong since using of Paragraph::highestFontInRange).
11820 * paragraph.C (highestFontInRange): added a default_size parameter.
11822 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11823 (setHeightOfRow): reformat
11825 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11827 * converter.[hC] + affected files: move to (inital-char)lowercase
11830 * ParagraphParameters.C (ParagraphParameters): remove commented code
11832 * PainterBase.[Ch]: remove commented code
11834 * LaTeXFeatures.h: add "bool floats" for float.sty
11836 * LaTeXFeatures.C (LaTeXFeatures): init floats
11837 (require): handle float
11838 (getPackages): do it with floats
11840 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11842 * BufferView_pimpl.C (Dispatch): improve handling of
11843 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11845 * commandtags.h: #include lyxfont.h here temporarily to avoid
11848 * bufferlist.h: include LString.h here.
11850 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * text2.C (getStringToIndex): new method.
11854 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11856 * *: Reduced header file dependencies all over.
11858 2001-07-30 Baruch Even <baruch@lyx.org>
11860 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11862 2001-07-29 Baruch Even <baruch@lyx.org>
11864 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11866 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11868 * ParameterStruct.h (endif): add a default constructor to make
11869 sure that all variables is initialized.
11871 * ParagraphParameters.C (ParagraphParameters): adjust
11873 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11875 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11876 index; also, check that there is something to index, and that it
11877 does not span over several paragraphs.
11878 (doubleClick): use WHOLE_WORD_STRICT for double click.
11880 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11882 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11885 2001-07-26 Baruch Even <baruch@lyx.org>
11887 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11888 an InsetFig figure, backwards compatible reading of old figure code.
11890 2001-07-27 Juergen Vigna <jug@sad.it>
11892 * text2.C: font.realize function adaption.
11894 * text.C (draw): add a warnings lyxerr text if needed.
11896 * layout.C: font.realize function adaption.
11898 * language.C: add inherit_language and implement it's handlings
11900 * bufferview_funcs.C (StyleReset): remove language parameter from
11901 font creation (should be language_inherit now).
11903 * bufferparams.C (writeFile): handle ignore_language.
11905 * paragraph.C (getFontSettings): the language has to be resolved
11906 otherwise we have problems in LyXFont!
11908 * lyxfont.C (lyxWriteChanges): added document_language parameter
11909 (update): removed unneeded language parameter
11911 * paragraph.C (validate): fixed wrong output of color-package when
11912 using interface colors for certain fonts in certain environments,
11913 which should not seen as that on the final output.
11915 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11917 * BufferView_pimpl.C:
11922 * LyXAction.C: add thesaurus support
11925 * lyxfind.C: add "once" parameter, for thesaurus, to not
11926 move to the next match
11928 2001-07-26 Juergen Vigna <jug@sad.it>
11930 * lyxfont.C (realize): honor ignore_language too!
11933 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11935 * text.C (draw): one place more for ignore_language to not draw
11938 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11940 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11942 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11944 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11945 the minipage conversion problem.
11947 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11949 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11952 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11954 * BufferView.h: don't forward declare WorkArea
11956 * BufferView.C: don't include WorkArea.h
11958 2001-07-25 André Pönitz <poenitz@gmx.net>
11962 * lyxfunc.C: new LFUN 'math-space'
11964 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11966 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11968 * text2.C (toggleInset): call open/close
11970 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11972 * lyxfunc.C (dispatch): add debug for the disabled case
11974 * font.C (buttonText): make similar to rectText
11976 * buffer.C (readInset): comment out parsing of insetlist and
11979 * PainterBase.C (rectText): small correction
11981 * BufferView_pimpl.C: comment out insettheorem and insetlist
11982 * LyXAction.C: ditto
11983 * commandtags.h: ditto
11985 2001-07-24 Juergen Vigna <jug@sad.it>
11987 * text.C (draw): honor the ignore_language.
11989 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11991 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11993 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11996 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11998 * lyxtext.h: remove unused (and unimplemented) methods
12000 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12002 * text.C (getVisibleRow): honor background color
12005 * Painter.h: remove default color argument for fillRectangle
12007 * text.C (backgroundColor): new method
12009 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12011 * text.C (getVisibleRow): adjust
12013 * font.[Ch] (rectText): new method, metrics
12014 (buttonText): new method, metrics
12016 * PainterBase.[hC]: make rectText and buttonText always draw and take
12019 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12021 * ToolbarDefaults.C (read):
12022 * MenuBackend.C (read): allow escaping in all strings
12024 * BufferView_pimpl.C (insertAndEditInset): new method.
12025 (Dispatch): use insertAndEditInset whenever appropriate.
12027 * BufferView_pimpl.C (insertNote): removed
12029 * BufferView_pimpl.C (smartQuote): new method, moved from
12030 BufferView; if an insetquote cannot be inserted, insert a '"'
12033 * BufferView2.C: remove insertCorrectQuote();
12035 * lyxfunc.C (getStatus): Add support for all remaingin
12036 inset-insert lfuns.
12038 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12040 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12041 command (necessary to pass " as parameter of self-insert.
12043 * text.C (selectWordWhenUnderCursor):
12044 (selectWord): add word_location parameter
12045 (selectWordWhenUnderCursor): same + remove special code for word
12047 (selectNextWord): use kind() to guess type of insetspecialchar,
12050 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12051 (insertErtContents): create ert insets as collapsed.
12052 (readInset): better compatibility code for Info inset.
12054 2001-07-20 Juergen Vigna <jug@sad.it>
12056 * lyxfunc.C (dispatch): use always LyXFind now!
12058 * text2.C (init): add a reinit flag so that the LyXText can be
12059 reinited instead of deleted and reallocated (used in InsetText).
12061 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12067 2001-07-18 Juergen Vigna <jug@sad.it>
12069 * text.C (selectNextWord): handle insets inside inset by calling
12070 always the bv->text functions so that we can go up the_locking_inset!
12072 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12073 in strange locations when inside an inset!
12075 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12076 handling to include insets.
12078 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12080 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12082 * LyXAction.C (init):
12084 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12085 LIGATURE_BREAK, since the name is so stupid.
12087 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12089 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12092 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12094 * sp_form.[Ch]: remove.
12096 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12098 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12101 * src/buffer.C (readInset): ditto.
12103 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12105 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12106 menuSeparator(), endOfSentenceDot(), ldots() and
12107 hyphenationPoint(), which are therefore removed.
12108 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12110 * LyXAction.C (init):
12111 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12113 * paragraph.C (getWord): removed.
12115 * BufferView_pimpl.C (Dispatch): use last word or selection for
12116 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12118 * lyx_main.C (queryUserLyXDir): do not ask before creating
12119 user_dir, except if it has been named explicitely.
12121 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12123 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12124 a document of zero size.
12126 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12128 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12129 approriately in the c-tor and in require().
12130 (getPackages): output the appropriate LaTeX for natbib support.
12132 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12133 variables "use_natbib" and "use_numerical_citations" when reading the
12135 (readInset): read the various natbib cite commands.
12136 (validate): white-space change.
12138 * bufferparams.[Ch]: new variables "bool use_natbib" and
12139 "bool use_numerical_citations".
12140 (writeFile): output them in the LyX file.
12142 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12144 * lyxfunc.C (getStatus): add support for all the inset insertion
12147 * text2.C (insertInset):
12148 * paragraph.C (insetAllowed):
12149 * BufferView_pimpl.C (insertInset): update to take in account the
12150 renaming of insertInsetAllowed
12152 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12154 * text2.C (getInset): new method. returns inset at cursor position.
12156 * BufferView_pimpl.C (Dispatch): changes because of this.
12158 * LyXAction.C (init): rename open-stuff to inset-toggle.
12160 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12162 * text2.C (toggleInset): renamed from openStuff; use
12165 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12167 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12169 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12171 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12173 * buffer.C (readLyXformat2): Add filename to the error dialog
12175 2001-07-18 Juergen Vigna <jug@sad.it>
12177 * tabular.C (GetCellNumber): put an assert here instead of the check!
12179 2001-07-17 Juergen Vigna <jug@sad.it>
12181 * BufferView_pimpl.C (toggleSelection): adapted too.
12183 * text.C (selectNextWord): adapted for use with insets.
12184 (selectSelectedWord): ditto
12186 2001-07-17 Juergen Vigna <jug@sad.it>
12188 * sp_spell.C (PSpell): fix initialitation order.
12190 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * paragraph.C: spacing
12194 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12196 * sp_spell.C: repair language selection for pspell
12198 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12200 * lyxfunc.h: change more methods to begin with lower char.
12202 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12204 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12205 for unknown layouts.
12207 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12209 * buffer.C (readLyXformat2): Generate an error dialog if there are
12212 2001-07-16 Juergen Vigna <jug@sad.it>
12214 * sp_spell.C: always compile ISpell part.
12216 * lyxrc.C: added use_pspell entry and it's handling.
12218 2001-07-13 Juergen Vigna <jug@sad.it>
12220 * sp_spell.C: removed double includes.
12222 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12224 Consistent use of Lsstream.h:
12225 * Lsstream.h: added using std::stringstream for consistencies sake.
12227 * buffer.C: removed using std::stringstream
12229 * lyxfont.C (stateText):
12230 * paragraph.C (asString):
12231 * text.C (selectNextWord, selectSelectedWord):
12232 * text2.C (setCounter):
12233 * vspace.C (asString, asLatexString):
12234 std::ostringstream -> ostringstream.
12236 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12238 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12239 * commandtags.h: add LFUN_HELP_ABOUTLYX
12240 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12242 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12244 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12246 * lyx_gui_misc.C: remove spellchecker
12247 * lyxfunc.C: showSpellchecker
12249 * sp_ispell.h: added
12250 * sp_pspell.h: added
12251 * sp_spell.C: added
12252 * sp_form.[Ch]: removed
12253 * spellchecker.[Ch]: removed
12255 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12257 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12259 (simpleTeXSpecialChars): Simply print the input character without
12260 any special translation if pass_thru is set.
12262 * layout.h: Added bool pass_thru to layout class for being able to
12263 implement pass through of a paragraph for Literate Programming.
12265 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12266 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12267 * layout.C (Read): add "passthru" to list of layout tags and add
12268 code to set the pass_thru boolean when it is read.
12270 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12272 * trans_decl.h: remove allowed from KmodInfo
12274 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12275 remove allowed code
12278 * paragraph_pimpl.C (erase): use boost::prior
12280 * Painter.C (text): use data() instead of c_str() when length is
12282 * WorkArea.C (putClipboard): ditto
12283 * font.h (width): ditto
12285 * BufferView2.C: use it-> instead of (*it). for iterators
12287 * paragraph_pimpl.C: ditto
12288 * paragraph.C: ditto
12289 * minibuffer.C: ditto
12290 * language.C: ditto
12292 * encoding.C: ditto
12293 * counters.C: ditto
12294 * converter.C: ditto
12296 * Variables.C: ditto
12297 * TextCache.C: ditto
12298 * MenuBackend.C: ditto
12299 * LyXAction.C: ditto
12301 * FloatList.C: ditto
12302 * DepTable.C: ditto
12303 * ColorHandler.C (LyXColorHandler): ditto
12305 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12307 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12309 * text2.C (openStuff): reintroduce this method (which had been
12310 nuked in NEW_INSETS frenzy).
12312 * lyxfunc.C (Dispatch): when an action has not been handled, use
12313 its name in the error message, not its number.
12315 * paragraph.C (inInset): change method name to begin with lowercase.
12318 * text2.C: updates because of this.
12320 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12322 * ToolbarDefaults.C (add): add spaces in error message
12324 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12327 (readLyXformat2): rename return_par to first_par, use lyxlex's
12328 pushToken and remove the manual push handling.
12329 (parseSingleLyXformat2Token): add another ert comp. variable:
12330 in_tabular, rename return_par to first_par. handle newlines better
12332 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12336 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * text2.C (getParFromID): removed
12340 * buffer.C (getParFromID): new method moved form lyxtext.
12341 * BufferView2.C (insertErrors): adjust
12342 (setCursorFromRow): adjust
12343 * BufferView_pimpl.C (restorePosition): adjust
12344 * lyxfunc.C (Dispatch): adjust
12345 * undo_funcs.C (textUndo): adjust
12347 (textHandleUndo): adjust
12348 (textHandleUndo): adjust
12350 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12352 * buffer.C: up' the LYX_FORMAT
12354 * lyxfont.h: turn NO_LATEX on as default
12356 * buffer.C (insertErtContents): new methods of tex style compability.
12357 (parseSingleLyXformat2Token): use it several places.
12358 * tabular.C (OldFormatRead): and here
12360 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12362 * text2.C: remove some commented code.
12365 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12366 * trans.C: changes because of the above.
12368 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12370 * text2.C (setCounter): Fix counters bug with bibliography layout.
12372 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12374 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12375 own member functions
12376 (simpleTeXSpecialChars): ditto
12378 2001-07-06 Juergen Vigna <jug@sad.it>
12380 * a lot of files: changed the access to LyXText::status and the
12381 call of undo-functions.
12383 * undo.[Ch]: added a inset_id to the undo informations.
12385 * undo_funcs.[Ch]: added and moved here all undo functions.
12387 * lyxtext.h: give the status enum a weight, made status_ a private
12388 variable and made accessor functions for it, removed the whole bunch
12389 of undo-functions as they are now in their own file, make some
12390 functions publically available. Added function ownerParagraph with
12393 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12394 made InInset() a const function, added getParFromID() function.
12396 * buffer.[Ch]: added const version for inset_iterator functions,
12397 added getInsetFromID() function.
12399 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12400 changed undo functions for new version.
12402 2001-07-05 Juergen Vigna <jug@sad.it>
12404 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12405 unknow mechanism does not call the proper constructor but only this
12406 one also if I request the other!?
12408 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12410 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12412 * text2.C (LyXText): use initialization lists.
12414 * lyxtext.h (Selection): initialize set_ and mark_
12415 (init): remove method
12417 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12419 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12421 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * screen.[Ch]: change method names to begin with lowercase
12425 * BufferView_pimpl.C (updateScrollbar): simplify further and
12426 hopefully make it a bit faster.
12428 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12431 calling directly xforms functions.
12433 * Painter.C (Painter):
12434 * lyx_cb.C (MenuWrite):
12435 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12438 * lyx_gui.C: remove bogus guiruntime extern declaration.
12440 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12444 (redoDrawingOfParagraph): ditto
12445 (redoParagraphs): ditto
12446 (cutSelection): don't create a object for CutAndPaste use the
12447 static method directly
12448 (pasteSelection): ditto
12450 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12453 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12455 * modifications to some other files because of this.
12457 * Makefile.am (lyx_SOURCES): add XFormsView
12459 * XFormsView.[Ch]: new files
12461 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12462 the main window. Move the gui dependent stuff to XFormsView
12464 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12466 * tabular.C (GetCellInset): update cur_cell also in the row/col
12467 version of this function.
12469 * lyxfunc.C: no need to include figure_form.h here.
12475 * lyxvc.C: no need to include forms.h here.
12477 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12479 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12481 * lyxfunc.C (Dispatch):
12483 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12484 constructor argument.
12486 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * paragraph.C (Paragraph): dont't clear, and just set layout.
12489 (makeSameLayout): use params's copy contructor.
12491 * ParagraphParameters.[Ch] (makeSame): delete method
12493 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12495 * Variables.[Ch]: fix indentation, rename set to isSet
12497 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12499 * lyxfunc.C (Dispatch): fix typo
12501 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12503 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12506 * bufferlist.C: include assert.h for emergencyWrite().
12508 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12510 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12511 give up at last (bug #425202) !
12513 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12519 * spellchecker.C: strip spellchecker options and bring up
12520 preferences tab instead
12522 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12524 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12525 the istringstream constructor
12527 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * paragraph.C (getLayout): fix return value
12531 * paragraph.h: do not declare getLayout as inline.
12533 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12535 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * lyxcursor.h (operator<): new func
12538 (operator>): new func
12539 (operator>=): new func
12540 (operator<=): new func
12542 * text.C (changeCase): use selection.start and selection.end
12543 (changeRegionCase): require from to be <= to. Require par to be a
12546 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12548 2001-06-27 Juergen Vigna <jug@sad.it>
12550 * text.C (cursorLeftOneWord): changed to return the cursor and added
12551 overlay with BufferView * parameter which calls this one.
12553 (selectWord): use new getWord function.
12554 (changeCase): renamed from changeWordCase as and extended to work
12555 also on selections.
12557 * lyxtext.h: added enum word_location
12559 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12560 changeCase as this operates now also on selections.
12562 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12564 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12566 * many files: send debug output to Debug::INFO instead of
12569 * converter.C (View):
12571 (Move): send debug output to Debug::FILES instead of console.
12573 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12575 * lyxfunc.C (getStatus): use func_status
12577 * func_status.h: new header, describing the results of
12578 LyXFunc::getStatus;
12580 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12583 2001-06-25 The LyX Project <jug@sad.it>
12585 * buffer.C (sgmlOpenTag):
12587 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12589 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12591 * text2.C: remove some dead code
12593 * tabular.C (GetCellInset): store the last cell checked (gotten)
12595 * tabular.h: add the helper for the speedup
12597 * lyxtext.h: remove some dead code
12599 2001-06-26 The LyX Project <Asger>
12601 * paragraph.C: Change export to LaTeX of alignment to
12602 \begin{center} and family for better roundtrip work with reLyX.
12604 * Tune the math drawing a bit.
12606 2001-06-25 The LyX Project <Asger>
12608 * LColor.C (LColor): New color for math background. New color
12611 2001-06-25 The LyX Project <jug@sad.it>
12613 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12615 * lyxfunc.C (Open):
12616 * bufferlist.C (newFile): do not restrict to files ending with
12619 * BufferView_pimpl.C (MenuInsertLyXFile):
12621 2001-06-24 The LyX Project <jug@sad.it>
12623 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12626 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * lyxtext.h: rename most methods to begin with a small char.
12629 Lots of changes because of this.
12631 * paragraph.C (Paragraph): do not call fitToSize
12632 (erase): call Pimpl::erase
12633 (insertChar): call Pimpl::insertChar
12634 (insertInset): call Pipl::insertInset
12635 (breakParagraph): do not call fitToSize
12636 (breakParagraphConservative): do not call fitToSize
12637 (fitToSize): remove method
12639 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12641 2001-06-24 The LyX Project <Asger>
12643 * Fix Qt compilation^2
12645 2001-06-24 The LyX Project <jug@sad.it>
12647 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12648 depthHook(getDepth()-1).
12651 * ParagraphParameters.h:
12652 * ParameterStruct.h: change type of depth to unsigned int ==
12653 depth_type. Many adaptations to other files before of that.
12655 2001-06-24 The LyX Project <Asger>
12657 * Fix Qt compilation.
12659 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * paragraph.h: renamed several methods to begin with small letter.
12662 several changes to many parts of the code because of this.
12664 2001-06-23 The LyX Project <jug@sad.it>
12666 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12667 rewritten to discard all double spaces when KeepEmpty is off
12668 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12669 to only handle newlines but not fiddle with spaces and friends.
12671 * lyxfunc.C (MenuNew): when doing 'new from template', use
12672 template_path as default directory
12674 2001-06-23 The LyX Project <Asger>
12676 * Clean-up of header file includes all over
12677 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12679 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * paragraph.h: renamed from lyxparagraph.h
12683 2001-06-23 Asger <lyx@violet.home.sad.it>
12685 * Buffer.h: Removed Buffer::resize
12686 * BufferList.h: Removed BufferList::resize
12687 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12688 the document lazily when we change the width, or the font settings.
12690 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12692 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12694 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12696 * buffer.h: remove out of date comment
12698 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12701 * screen.C: fix "theoretical" GC leak
12703 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12705 * LaTeX.C (scanAuxFile):
12706 (deplog): remove trailing \r when reading stream (useful under
12709 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12711 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12712 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12713 and BufferView::theLockingInset(Inset*), so should use them and not
12714 access bv_->text->the_locking_inset directly.
12716 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12718 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12721 * tex-defs.h: remove old unused file
12723 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12725 * BufferView_pimpl.C: fix typo, remove minibuffer message
12726 when buffer has loaded
12728 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12730 * lyxfunc.C (Dispatch): use stringstream
12731 (MenuNew): use stringstream
12732 (Open): use stringstream
12734 * importer.C (Import): use stringstream
12736 * bufferview_funcs.C (CurrentState): use stringstream
12738 * LaTeX.C (run): use stringstream
12740 * BufferView_pimpl.C (savePosition): use stringstream
12741 (restorePosition): use stringstream
12742 (MenuInsertLyXFile): use stringstream
12744 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12757 * vspace.C: removed // -*- C++ -*- as first line.
12760 * version.h: added // -*- C++ -*- as first line.
12762 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12764 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12766 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12769 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12771 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12774 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12776 * gettext.C: include LString.h even when --disable-nls is on.
12778 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12780 * converter.h (Get): changed argument type from int to
12781 FormatList::size_type to avoid unnecessary conversion.
12783 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12786 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12788 * gettext.h: include LString.h even when --disable-nls is on.
12790 2001-06-07 Juergen Vigna <jug@sad.it>
12792 * text.C (BreakAgain): subst spaces with tabs.
12794 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12795 (resizeInsetsLyXText): set force on resizeLyXText.
12797 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * gettext.h (gettext_init):
12800 (locale_init): use a real definition instead of a macro
12802 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12804 * Bufferview_pimpl.C:
12806 * LColor.C: further lcolor tidies
12808 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * BufferView_pimpl.C (updateScrollbar): simplify.
12812 * BufferView2.C: don't include insets/insetinfo.h, change
12813 prototype for insertInset and call the Pimpl version. let
12814 updateInset call Pimpl version.
12816 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12817 gotoInset to BufferView::Pimpl
12819 2001-06-01 Juergen Vigna <jug@sad.it>
12821 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12822 inside a LockingInset (is the update needed at all?).
12824 2001-05-31 Juergen Vigna <jug@sad.it>
12826 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12827 here not the old one otherwise how should we compare it afterwards
12830 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * FontInfo.C: bring C functions into global namespace when
12838 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12840 * LString.h: make sure config.h has been loaded before LString.h.
12842 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12843 (one for each char read by EatLine!).
12845 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12848 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12851 to the same as the par we break from
12853 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12855 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12857 * MenuBackend.C (expand): also create menu entries for wide
12858 versions of the floats.
12860 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12862 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12864 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12865 frontends/Makefile.am
12871 * tabular.C (getTokenValue): add std::
12873 * tabular-old.C (getTokenValue): add std::
12874 (getTokenValue): ditto
12875 (getTokenValue): ditto
12877 * screen.C (ToggleSelection): adjust
12879 * lyxtext.h: put selection cursors inside a Selection struct.
12881 * lyxfunc.C (moveCursorUpdate): adjust
12883 * lyxfont.C (latexWriteStartChanges): add std::
12885 * lyxfind.C: adjust
12887 * font.h: delete with(char const *, LyXFont const &)
12889 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12891 * FontInfo.C (getFontname): add std::
12893 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12894 (workAreaButtonPress): adjust
12895 (tripleClick): adjust
12897 (moveCursorUpdate): adjust
12900 * BufferView2.C (gotoInset): adjust
12902 2001-05-30 Juergen Vigna <jug@sad.it>
12904 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12905 to check pspell I add this as default as I now have new pspell
12906 libraries and they seem to use this.
12908 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12910 * text2.C (CutSelection): make the cursor valid before the call to
12913 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12915 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12916 relied on 0 terminated strings and other horrors. Bug found due to
12917 the new assert in lyxstring!
12919 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12922 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12927 * lyxfunc.C (processKeySym): change method of getting to the
12930 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12931 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12932 * BufferView_pimpl.[Ch]: here as private methods.
12934 2001-05-28 Juergen Vigna <jug@sad.it>
12936 * text.C (SetHeightOfRow): added the update() call again as it is
12937 needed to initialize inset dimensions!
12939 2001-05-16 Juergen Vigna <jug@sad.it>
12941 * text2.C (SetCharFont): Add new function with BufferView * and
12942 bool toggleall parameters for setting insets internal fonts.
12943 (SetFont): Freeze the undo as we may change fonts in Insets and
12944 all this change should be inside only one Undo!
12946 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12947 setting font's in insets as for them we have the SetFont function!
12949 2001-05-15 Juergen Vigna <jug@sad.it>
12951 * text2.C (ClearSelection): to be sure we REALLY don't have any
12954 * tabular.C (TeXCellPreamble): fixed the left border problem for
12957 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12959 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12962 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12965 LFUN_BREAKPARAGRAPH.
12967 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12968 help test to "internal only", similar for LFUN_INSERT_URL
12970 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12971 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12972 auto_region_delete and deadkeys.
12974 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12977 * LColor.C: remove some dead entries, tidy a little
12979 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12981 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12983 (Dispatch): implement LFUN_ESCAPE
12985 * commandtags.h: add LFUN_ESCAPE
12987 * LyXAction.C (init): add entry for LFUN_ESCAPE
12989 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12990 Remove commented code.
12991 (insertNote): moved here
12992 (open_new_inset): moved here
12994 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12997 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12999 * kbmap.C (findbinding): clean it up and make it work correctly.
13001 * lyx_main.C (init): do not pass argc and argv as parameters
13003 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13005 * buffer.C: fix path for OS/2 & Win32
13009 * lyx_main.C: Added os:: class.
13011 * os2_defines.h: update
13013 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13016 better by trying again with reduced state.
13018 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13020 * lyxrc.C (read): print error about invalid key sequence only when
13021 debugging (because not all latinX keysyms are known to some X
13024 * kbsequence.C (getiso): add a few std:: qualifiers
13025 (getiso): comment out extra return statement.
13027 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13029 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13031 (Dispatch): enhance the accent inset a bit. (not perfect)
13033 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13035 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13037 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13039 * bufferlist.C (emergencyWrite): fix assert() call
13041 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13043 * text.C (InsertChar): Added trivial patch to only send the "you
13044 can not do multiple spaces this way" message once during a
13047 2001-05-08 Baruch Even <baruch@lyx.org>
13049 * Makefile.am: Changed order of libraries to get LyX to link properly
13050 with the gnome frontend.
13052 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13054 * LaTeXFeatures.h: add a std:: qualifier
13056 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * paragraph.C (String): use stringstream
13060 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13062 * paragraph.C (writeFile): remove footflag arg
13064 * buffer.C (makeLaTeXFile): use stringstream
13065 (latexParagraphs): remove footnot gurba
13067 * LaTeXFeatures.C (getPackages): use stringstream
13068 (getMacros): likewise
13069 (getTClassPreamble): likewise
13070 (getFloatDefinitions): new method
13072 * paragraph.C (writeFile): reindent
13075 * WorkArea.h: revert the xpos + etc changes.
13077 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13079 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13081 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13082 (pasteSelection): likewise
13083 * text2.C (CreateUndo): likewise
13085 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * minibuffer.C (peek_event): temporarily reduce the functionality
13088 of the minibuffer (to allow args on lfuns)
13090 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13091 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13093 * buffer.C (readInset): add compability reading of old float
13094 lists, add reading of new style float list.
13095 (readInset): avoid reevaluation of inscmd.getCmdName()
13096 (getLists): reindent
13098 * MenuBackend.C (MenuItem): implement parsing of
13099 md_floatlistinsert and md_floatinsert.
13100 (expand::LastFiles): move initalizaton of iterators out of loop,
13101 avoid reevaluation.
13102 (expand::Documents): introduce typdedef vector<string> Strings,
13104 (expand::ExportFormats): introduce typedef vector<Format const *>
13105 Formats, and use it.
13106 (expand): implement FloatListInsert and FloatInsert.
13108 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13109 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13110 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13112 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13114 (Dispatch::LFUN_FLOAT_LIST): implement
13116 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13118 * LaTeX.C (run): Fix problem with --export code.
13120 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13122 * BufferView.[Ch] (workarea): removed.
13123 (getClipboard) new method; wrapper for workarea()->getClipboard()
13125 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13128 * WorkArea.h (width, height, xpos, ypos): These methods all
13129 returned the dimensions of the work_area sub-area of WorkArea,
13130 resulting in a position error if the WorkArea were resized. Now
13131 return the dimensions of the entire WorkArea.
13133 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13135 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * LaTeX.C (deplog): correct the syntax of regex reg1
13139 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * undo.C: remove !NEW_INSETS cruft
13143 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13145 * text2.C: remove !NEW_INSETS cruft
13147 * text.C: remove !NEW_INSETS cruft
13149 * tabular.C: remove !NEW_INSETS cruft
13151 * spellchecker.C: remove !NEW_INSETS cruft
13153 * lyxtext.h: remove !NEW_INSETS cruft
13155 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13157 * lyxfunc.C: remove !NEW_INSETS cruft
13159 * lyxfind.C: remove !NEW_INSETS cruft
13161 * lyx_cb.C: remove !NEW_INSETS cruft
13163 * figureForm.C: remove !NEW_INSETS cruft
13165 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13167 * buffer.[Ch]: remove !NEW_INSETS cruft
13169 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13171 * CutAndPaste.C: remove !NEW_INSETS cruft
13173 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13175 * BufferView2.C: remove !NEW_INSETS cruft
13177 * BufferView.h: remove !NEW_INSETS cruft
13179 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13181 * Lsstream.h: include LString.h before the sstream headers to
13182 fix problem with gcc 2.95.3 and lyxstring
13184 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * lyx_main.C: add using directives when needed for C functions
13187 declared in std:: namespace.
13189 2001-04-27 Juergen Vigna <jug@sad.it>
13191 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13192 (SetHeightOfRow): comment out the update call should not be needed!
13194 2001-04-13 Juergen Vigna <jug@sad.it>
13196 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13197 (LyXTabular): tried to minimize operator= operations (and realized
13198 hopfully Lars wish).
13200 2001-04-27 Juergen Vigna <jug@sad.it>
13202 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13204 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13208 * buffer.C (readInset): hack to make listof algorithm work
13210 * BufferView_pimpl.C: hack to make listof algorithm work
13212 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * LyXAction.C: removed all !NEW_INSETS cruft
13215 (init): moved lfun_item in method
13217 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13219 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13221 * BufferView2.C (theLockingInset): white space.
13223 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * minibuffer.C: include <iostream>
13227 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13229 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13231 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13233 * text.[Ch] (TransposeChars): new method
13235 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13237 * call message directly through LyXView instead of through LyXFunc
13238 * BufferView2.C: adjust
13239 * BufferView_pimpl.C: adjust
13240 * FontLoader.C: adjust
13242 * bufferview_funcs.C: adjust
13243 * converter.C: adjust
13244 * figureForm.C: adjust
13245 * importer.C: adjust
13247 * lyx_gui_misc.C: adjust
13248 * lyxfunc.C: adjust
13251 + more files in subdirs
13253 * lyxparagraph.h (size): move up int file
13256 * adjust all uses of Assert to lyx::Assert.
13258 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13259 lyxfunctional in namespace lyx
13260 * layout.C (hasLayout): ditto
13263 (delete_layout): ditto
13264 (NumberOfClass): ditto
13265 * converter.C (GetFormat): ditto
13270 * bufferlist.C (getFileNames): ditto
13271 (emergencyWriteAll): ditto
13274 * MenuBackend.C (hasSubmenu): ditto
13277 * BufferView_pimpl.C (getInsetByCode): ditto
13279 2001-04-18 Juergen Vigna <jug@sad.it>
13281 * vspace.C (asLatexString): fixed the 100% problem.
13283 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13285 * lyxfunc.C (Dispatch):
13287 * minibuffer.h: add a few std:: qualifiers
13289 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * minibuffer.[Ch]: reimplement so that commands is initiated and
13292 run from lyxfunc, simplified som handling, and made the completion
13293 and history code for complete. wip.
13295 * lyxfunc.C (processKeySym): call message
13296 (miniDispatch): new temporary method
13297 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13298 (LFUN_MESSAGE): implement
13299 (LFUN_MESSAGE_PUSH): implement
13300 (LFUN_MESSAGE_POP): implement
13301 (initMiniBuffer): the initial/defualt minibuffer message.
13303 * lyxfont.[Ch]: inline some more getters
13305 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13307 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13309 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13310 (AutoSave): use LFUN_MESSAGE
13311 (Reconfigure): ditto
13313 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13315 * figureForm.C: use LFUN_MESSAGE
13317 * converter.C (runLaTeX): use LFUN_MESSAGE
13319 * bufferview_funcs.C: use LFUN_MESSAGE
13321 (changeDepth): ditto
13323 * bufferparams.h: use boost::
13325 * bufferlist.h: inherit privately from noncopyable
13327 * bufferlist.C (loadLyXFile): remove some commented code.
13329 * buffer.C (runChktex): use LFUN_MESSAGE
13331 * ShareContainer.h: inherit privately from noncopyable
13333 * ParagraphParameters.[hC] (depth): inline it.
13335 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13337 (message): new method
13338 (messagePush): ditto
13339 (messagePop): ditto
13340 (show): init minibuffer
13341 (showState): direct call
13343 * LaTeX.[Ch]: inherit privately from noncopyable
13344 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13345 instead of WriteStatus.
13347 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13349 * BufferView_pimpl.C (buffer): don't init minibuffer
13350 (workAreaButtonPress): use LFUN_MESSAGE
13351 (workAreaButtonRelease): ditto
13352 (savePosition): ditto
13353 (restorePosition): ditto
13354 (MenuInsertLyXFile): ditto
13355 (workAreaExpose): don't init minibuffer
13356 (update): remove commented code, simplify
13358 * BufferView2.C (openStuff): use LFUN_MESSAGE
13359 (toggleFloat): ditto
13362 (copyEnvironment): ditto
13363 (pasteEnvironment): ditto
13368 (updateInset): remove some commented code
13370 * lastfiles.h: inherit privately from noncopyable
13373 * lyx_main.h: ditto
13375 * lyxlex_pimpl.h: ditto
13377 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13378 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13379 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13381 * LyXAction.h: inherit privately from noncopyable, add methods
13382 func_begin, func_end, returning iterators to the func map.
13384 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13385 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13386 (func_begin): new method
13387 (func_end): new method
13389 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13391 (copySelection): ditto
13392 (pasteSelection): ditto
13394 * BufferView.C: whitespace change
13395 * BufferView.h: inherit privately from noncopyable
13397 2001-04-16 Allan Rae <rae@lyx.org>
13399 * tabular-old.C (l_getline):
13400 * spellchecker.C (sc_check_word):
13401 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13402 an unrecognised preprocessor directive. So ensure they're wrapped.
13404 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13406 * src/exporter.C (Export): Give an error message when path to file
13409 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13411 * LaTeX.C (deplog): Always check that foundfile exists.
13413 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13416 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13418 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * tabular.[Ch] (getLabelList): implement new method
13422 * minibuffer.h: comment ouf setTiimer
13424 * minibuffer.C (ExecutingCB): constify res
13425 (peek_event): constify s
13426 (Set): constify ntext
13427 (Init): constify nicename
13429 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13431 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13432 (savePosition): use two params to Minibuffer::Set
13433 (restorePosition): ditto
13435 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13437 * lyx_main.C: include language.h
13439 * Makefile.am (lyx_main.o): add language.h
13441 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13447 * CutAndPaste.C: include gettext.h
13449 * lyxfont.h: remove old hack with ON and OFF.
13452 * lyxfont.h: do not include language.h...
13457 * bufferview_funcs.C:
13463 * paragraph.C: ... but do it here instead
13465 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13469 * tabular.C: small reformat
13471 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13474 (BreakParagraph): ditto
13475 (SetOnlyLayout): ditto
13478 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13481 * lastfiles.C: removed most using decl, add std:: where needed
13483 * buffer.C: ws changes
13485 * MenuBackend.C (class compare_format): put into anon namespace
13486 (expand): constify label, names, action, action2
13489 * text.C (SingleWidth): constify font
13490 (IsBoundary): constify rtl2
13491 (GetVisibleRow): constify ww
13493 * LaTeX.C (deplog): constify logfile
13495 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13497 (workAreaExpose): constify widthChange, heightChange
13499 * lyxrow.C (par): moved
13502 * lyxrow.h: as inlines here
13504 * lyxfont.h (shape): moved from lyxfont.C
13505 (emph): moved from lyxfont.C
13507 * lyxfont.C (LyXFont): use initialization list for all
13509 (shape): move to lyxfont.h as inline
13510 (emph): move to lyxfont.h as inline
13513 2001-04-04 Juergen Vigna <jug@sad.it>
13515 * vspace.C: had to include stdio.h for use of sscanf
13517 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13520 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13521 independent of xforms.
13523 2001-04-02 Juergen Vigna <jug@sad.it>
13525 * spellchecker.C: fixed namespace placing!
13527 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13529 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13530 the LyXParagraph * is 0.
13532 2001-03-29 Juergen Vigna <jug@sad.it>
13534 * vspace.C: added support for %, c%, p%, l%.
13535 (stringFromUnit): added helper function.
13536 (asLatexString): changed to give right results for the %-values.
13538 * buffer.C: convert the widthp in a width%.
13540 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13542 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13545 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13546 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13548 * lyx_cb.[Ch]: see above.
13550 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13554 * lyx.[Ch]: replaced by figure_form.[Ch].
13558 * lyxfunc.C: changed headers associated with above changes.
13560 2001-03-27 Juergen Vigna <jug@sad.it>
13562 * BufferView_pimpl.C: set the temporary cursor right!
13564 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13566 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13568 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13570 * LString.h: removed "using std::getline"!
13572 * BufferView_pimpl.C (Dispatch): changes due to changes in
13573 InsetInclude::Params.
13575 * buffer.C (tag_name): removed redundant break statements as they were
13576 producing lots of warnings with my compiler.
13578 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * LString.h: add "using std::getline" when using the real <string>.
13582 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13584 * buffer.C: removed bitset usage.
13585 PAR_TAG moved to an anonymous name space.
13586 (tag_name): new funtion, also in the anonymous namespace.
13587 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13588 (makeDocBookFile): clean code. Completed transition from string arrays
13590 (SimpleDocBookOnePar): code clean.
13592 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13594 * tabular.C: add some comments.
13596 2001-03-22 Juergen Vigna <jug@sad.it>
13598 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13599 compatibility read a bit and fixed bug with minipage in different
13602 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13604 * buffer.C (pop_tag): removed.
13605 (push_tag): removed.
13606 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13607 array replaced with vector. Added support for CDATA sections.
13608 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13610 (makeDocBookFile): XML conformant declaration of CDATA section,
13611 fixed bug related to <emphasis> in the first paragraph char.
13612 (sgmlOpenTag): exclude empty tags.
13613 (sgmlCloseTag): ditto.
13615 * buffer.h (pop_tag): removed.
13616 (push_tag): removed.
13618 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13620 * language.h (Languages): added size_type and size().
13622 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13624 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13625 response on compability reading of minipages. One probliem is that
13626 the old usage of minipages was «flertydig»
13628 * several files here and in subdirs: don't use static at file
13629 scope use anon namespaces instead.
13631 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13633 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13634 LaTeX output. This is necessary for Literate document
13637 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13639 * buffer.C: insert hfill when needed.
13641 * tabular.C (l_getline): use string::erase, small whitespace change.
13643 * BufferView_pimpl.C: try the anon namespace.
13644 * WorkArea.C: ditto
13646 2001-03-16 Juergen Vigna <jug@sad.it>
13648 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13649 otherwise it won't open options-dialogs.
13651 * buffer.C: honor pextraWidth(p) on converting minipages.
13653 * tabular.C (l_getline): changed the functions to strip trailing \r.
13655 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13657 * BufferView_pimpl.C:
13658 * minibuffer..C: added "using SigC::slot" declaration.
13660 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13662 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13668 * paragraph.C: ditto
13670 * lyxtext.h: NO_PEXTRA
13672 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13674 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13675 * ParameterStruct.h: ditto
13676 * ParagraphParameters.h: ditto
13677 * lyxparagraph.h: ditto
13679 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13681 * buffer.C: add compability for minipage alignment.
13682 (latexParagraphs): remove unwanted pextra check.
13684 * several files: remove CXX_WORKING_NAMESPACES
13686 * buffer.C (pop_tag): tie is in namespace boost
13688 * BufferView.h: noncopyable is in namespace boost
13690 * lyx_main.h: ditto
13693 * lastfiles.h: ditto
13694 * bufferlist.h: ditto
13695 * ShareContainer.h: ditto
13697 * LyXAction.h: ditto
13700 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13702 * Merging changes from BRANCH_MVC back into HEAD.
13704 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13706 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13708 * BufferView_pimpl.C: change from intl.C
13712 * Makefile.am: move combox.*
13718 * intl.C: remove dialog (covered by prefs)
13720 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13722 * lyxfunc.C (Dispatch): removed redundant break statement.
13724 2001-03-14 Juergen Vigna <jug@sad.it>
13726 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13728 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13730 * buffer.C: add hack to fix compability reading of minipages.
13732 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13734 * buffer.C (getLists): Cleanup.
13736 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13738 * lyxfont.C (update): don't honor toggleall on font size.
13740 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13744 * Makefile.am: moved to frontends/xforms/
13748 * BufferView_pimpl.C: changes for moved mathpanel
13750 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13752 * gettext.h: fix gettext_init() in --disable-nls
13754 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13756 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13758 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13761 * lyx.h: strip external form
13763 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13765 * BufferView_pimpl.C: add comment, destroySplash()
13767 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13769 * BufferView_pimpl.C:
13773 * lyxfunc.C: use re-worked insetinclude
13775 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13777 * buffer.C: add using std::stringstream.
13779 * lyx_cb.C: readd using std::ios.
13781 * buffer.C: add using std::map.
13783 * BufferView_pimpl.C: add using std::vector.
13785 * ShareContainer.h: add std:: to swap.
13787 * buffer.h: add some typedefs
13788 * buffer.C (getLists): use them
13789 (getLists): renamed from getTocList.
13790 add a counter for the different float types and use it in the
13792 (getLists): use the same counter for the NEW_INSETS and the "non"
13795 * lyx_cb.h: remove unused items, includes, using etc.
13797 * ShareContainer.h: remove some commented code, add more comments
13798 and "documentation".
13800 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13802 * buffer.C (getTocList): make the list also when NEW_INSETS is
13805 * buffer.h: remove TocType
13807 * buffer.C (getTocList): change to return a map<string,
13808 vector<TocItem> >, implement for dynamic number of list.
13810 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13811 * text2.C (PasteSelection): adjust
13812 * CutAndPaste.C (pasteSelection): adjust
13814 * FloatList.C (FloatList): update from the new_insets branch.
13815 * Floating.[Ch]: ditto
13816 * LaTeXFeatures.C: ditto
13818 * lyxlex_pimpl.C: ditto
13820 * paragraph.C (Last): remove when NEW_INSETS is defined.
13822 * other file: changes because of the above.
13824 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13826 * lyxparagraph.h: rename next to next_, previous to previous_,
13827 make them private for NEW_INSETS. Rename Next() to next(),
13828 Previous() to previous().
13830 * other files: changes because of the above.
13832 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13835 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13838 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13840 * main.C (main): pass lyx_localedir to gettext_init().
13842 * gettext.h: remove locale_init and gettext_init macros
13844 * gettext.C (locale_init): new function
13845 (gettext_init): new function
13847 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13850 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13852 * Moved credits to frontends:
13853 * credits.[Ch]: removed
13854 * credits_form.[Ch]: removed
13855 * lyx_gui_misc.C: remove credits stuff
13858 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13860 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13862 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13863 unneeded destructor.
13865 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13866 a standalone pointer again.
13868 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13870 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13876 * ToolbarDefaults.C:
13885 * BufferView_pimpl.C: use new file dialog in GUII
13888 * lyx_cb.C: remove LayoutsCB to Toolbar
13890 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13892 * ShareContainer.h (get): add std:: qualifier
13894 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13896 * ShareContainer.h: define a proper ShareContainer::value_type
13897 type (and use typename to please compaq cxx)
13899 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13901 * lyxparagraph.h: move serveral local vars to
13902 ParameterStruct/ParagraphParameters., use ShareContainer in
13903 FontTable., make vars in FontTable private and add getter and
13906 * paragraph.C: changes because of the above.
13908 * lyxfont.h: remove copy constructor and copy assignment. (the
13909 default ones is ok), move number inside FontBits. move inlines to
13912 * lyxfont.C: add number to initializaton of statics, move several
13913 inlines here. constify several local vars. some whitespace
13914 cleanup. Dont hide outerscope variables.
13916 * Spacing.h: add two new constructors to match the set methods.
13918 * ShareContainer.h: new file, will perhaps be moved to support
13920 * ParameterStruct.h: new file
13922 * ParagraphParameters.h: new file
13924 * ParagraphParameters.C: new file
13926 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13927 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13929 * BufferView_pimpl.C: ParagraphParameter changes.
13930 * buffer.C: Likewise.
13931 * bufferview_funcs.C: Likewise.
13932 * text.C: Likewise.
13933 * text2.C: Likewise.
13935 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * lyxfind.C (LyXReplace): do not redefine default argument in
13939 (IsStringInText): ditto
13940 (SearchForward): ditto
13941 (SearchBackward): ditto
13943 2001-03-06 Juergen Vigna <jug@sad.it>
13945 * lyxfind.C (IsStringInText): put parentes around expressions.
13947 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13949 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13951 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13953 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13955 * stl_string_fwd.h: add comment
13957 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13960 * tabular.C: remove unused DocBook methods
13966 killed DO_USE_DEFAULT_LANGUAGE
13968 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13970 * lyx_gui.C: do not include language.h.
13972 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13973 arguments in function implementation.
13975 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13977 * BufferView_pimpl.C: add <ctime>
13979 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13981 * BufferView_pimpl.C: add using std::find_if
13983 2001-02-27 José Matos <jamatos@fep.up.pt>
13985 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13988 2001-02-11 José Matos <jamatos@fep.up.pt>
13990 * buffer.C (makeDocBookFile): command styles now have a parameter as
13991 "title" by default.
13993 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13995 * layout_forms.[Ch]: removed
13996 * lyx_cb.[Ch]: out character
13997 * lyx_gui.C: out character
13998 * lyx_gui_misc.C: out character
13999 * bufferview_funcs.C: : out character,
14000 added toggleall as parameter in ToggleAndShow
14002 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14004 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14006 * text2.C (SetCurrentFont): Disable number property at boundary.
14008 2001-02-26 Juergen Vigna <jug@sad.it>
14010 * lyxfunc.C (getStatus): added a string argument override function so
14011 that this is correctly called from LyXFunc::Dispatch if it contains a
14012 do_not_use_argument which is used!
14013 (Dispatch): added check for "custom" export and call appropriate func.
14015 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14017 * lyxrc.C: Add language_command_local, language_use_babel and
14018 language_global_options.
14020 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14022 * buffer.C (makeLaTeXFile): Use language_use_babel and
14023 language_global_options.
14025 2001-02-23 Juergen Vigna <jug@sad.it>
14027 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14028 which works with LyXText and putted it inside BufferView. Here now we
14029 only call for that part the BufferView::Dispatch() function.
14031 * BufferView.C (Dispatch): added.
14033 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14034 functions which needs to use a LyXText over from LyXFunc.
14035 (MenuInsertLyXFile): added
14036 (getInsetByCode): added
14037 (moveCursorUpdate): added
14038 (static TEXT): added
14040 2001-02-22 Juergen Vigna <jug@sad.it>
14042 * BufferView_pimpl.C (update): call a status update to see if LyXText
14045 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14047 * vc-backend.C (revert): implement for CVS
14048 (getLog): implement for CVS
14050 2001-02-20 Juergen Vigna <jug@sad.it>
14052 * text2.C (ClearSelection): added BufferView param for inset_owner call
14054 * lyxfunc.C (TEXT): added this function and use it instead of
14055 directly owner->view()-text of getLyXText().
14057 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14059 * src/layout_forms.C: out preamble
14060 * src/layout_forms.h: out preamble
14061 * src/lyx_cb.C: out preamble
14062 * src/lyx_cb.h: out preamble
14063 * src/lyx_gui.C: out preamble
14064 * src/lyx_gui_misc.C: out preamble
14065 * src/lyxfunc.C: connect with guii preamble
14067 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14069 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14071 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14073 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14074 whether to run bibtex.
14076 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14078 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14080 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14082 * Makefile.am (lyx_SOURCES): removed bibforms.h
14084 * vspace.h: doxygen
14086 * text.C (GetVisibleRow): make several local vars const
14088 * tabular.C: small cleanup.
14090 * lyxserver.C (callback): use compare instead of strncmp
14092 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14093 inlines to after class or to paragraph.C
14095 * lyxfont.h: remove friend operator!=
14097 * converter.h: move friend bool operator< to non friend and after
14100 * combox.h: small cleanup
14102 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14103 to inlines after class def.
14105 * buffer.C (pop_tag): use string operations instead of strcmp
14107 * bmtable.c: doxygen, small cleanup
14109 * LaTeX.h: remove friend operator==
14111 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14123 * BufferView_pimpl.C:
14124 * BufferView.[Ch]: remove cruft
14126 2001-02-14 Juergen Vigna <jug@sad.it>
14128 * lyxfunc.C: removed #if 0 unused code
14130 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14132 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14134 * text2.C (SetSelection): added a BufferView * parameter
14136 2001-02-13 Juergen Vigna <jug@sad.it>
14138 * lyxfunc.C (Dispatch): fixed protected blank problem.
14139 * BufferView2.C (protectedBlank): added LyxText * parameter.
14141 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14142 (AppendColumn): same as above for column_info.
14144 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14145 (moveCursorUpdate): use a LyXText param for support of InsetText.
14147 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14148 (tripleClick): ditto
14150 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14152 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14154 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14156 * text2.C (SetSelection): set correct update status if inset_owner
14157 (ToggleFree): ditto
14159 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14161 * tabular.C: remove some commented code.
14163 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14165 * BufferView_pimpl.C: call hideSplash()
14167 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14170 * bibforms.h: remove
14173 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14174 add LFUN_CHILD_CREATE
14176 * counters.h: fix tiny typo
14181 * lyx.C: move splash to frontends/xforms/
14183 * lyx_gui_misc.C: move Include and Bibform to frontends
14185 * lyxvc.h: clarify comment
14187 * vspace.C: tiny housekeeping
14189 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14191 * text.C (PrepareToPrint): RTL Fix.
14193 * paragraph.C (GetUChar): New method.
14194 (String): Use GetUChar.
14196 * buffer.C (asciiParagraph): Use GetUChar.
14198 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14200 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14202 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14205 * buffer.C: rename to getLogName(), handle
14206 build log / latex log nicely
14208 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * MenuBackend.h: remove support for reference menuitem type.
14213 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14215 * BufferView_pimpl.C: housekeeping
14216 * BufferView_pimpl.h:
14221 * minibuffer.h: move Timeout GUI-I
14223 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14225 * lyxrc.C (read): Update converters data-structures.
14227 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14229 * LaTeX.h (operator!=): add operator != for Aux_Info
14231 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14233 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14235 * LaTeXLog.C: deleted, useful code moved to Buffer
14238 * buffer.C: new function getLatexLogName()
14244 * lyxfunc.C: use frontends for LaTeX and VC logs
14246 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14248 * LaTeX.h: yet another std:: that Allan forgot.
14250 * Variables.C (set): renamed from isset(), because this clashes
14251 with some HP-UX macros (grr).
14253 2001-02-06 Allan Rae <rae@lyx.org>
14255 * LaTeX.h: Another bug fix. Missing std:: this time.
14257 2001-02-04 Allan Rae <rae@lyx.org>
14259 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14260 floats problem. I've left it commented out because it's not quite
14261 correct. It should also test that the current object is a table or
14262 figure inset. But I haven't gotten around to figuring out how to do
14263 that. I *think* it'll be something like: "table" == inset.type()
14265 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14268 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14270 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14271 all the citation/databases/styles in the auxilary file.
14272 (run): Rerun latex if there was a babel language error.
14274 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14276 * text.C (Backspace): Preserve the font when changing newline char
14278 (BreakParagraph): If the cursor is before a space, delete the space.
14280 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14282 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14284 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14285 new argument (code).
14286 (ChangeCitationsIfUnique): New method.
14288 * paragraph.C (GetPositionOfInset): Handle bibkey.
14290 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * BufferView_pimpl.h: change type of Position::par_pos to
14293 LyXParagraph::size_type.
14295 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14297 * BufferView_pimpl.C (savePosition, restorePosition): Write
14298 messages to minibuffer.
14300 2001-01-28 José Matos <jamatos@fep.up.pt>
14302 * buffer.C (makeDocBookFile): adds support for document language.
14303 A silly restriction on the name of LatexCommand types where removed.
14304 Added support for CDATA sections, allows to chars unescaped, used
14305 among others in code, to avoid escape < and >.
14307 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14309 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14310 saved positions instrad of a stack. Furthermore, a position is
14311 stored using paragraph id/paragraph position.
14313 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14314 Remove LFUN_REF_BACK.
14316 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14318 * converter.C (dvipdfm_options): New method.
14320 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14322 * vspace.C (isValidLength): Fix for empty input string.
14324 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14326 * LyXAction.C (init): change description of LFUN_FIGURE to
14329 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * LaTeX.C: add using directive
14333 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14335 * MenuBackend.C (expand): Fix the sorting of the formats.
14337 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14339 * lyx_main.C: tiny error message fix
14341 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14344 calling fl_initialize(). This fixes the problem with ',' as
14345 decimal separator in text files.
14347 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14349 * trans.C (process): Fix the keymap bug.
14351 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14353 * LaTeX.C (scanAuxFiles): New method. Provides support for
14354 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14355 (scanLogFile) Scan for "run BibTeX" messages.
14357 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14358 OT1 font encoding. Also, load the aecompl package if the ae
14361 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14363 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14365 * texrow.C (increasePos): turn two error messages into debug
14368 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14370 * LaTeX.C (scanAux): Handle the \@input macro.
14371 (runBibTeX): Use scanAux().
14373 * language.C (latex_options_): New field.
14375 * LaTeXFeatures.C (getMacros): Add language macros.
14377 * buffer.C (makeLaTeXFile): Small fix.
14379 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14381 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14383 * text2.C: add a using directive.
14385 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14390 * lyxfunc.C: kill LyXBell.
14392 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14394 * text.C (IsBoundary): Remove the error message
14396 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14398 * lyxrc.C (setDefaults): Correct initialization value for
14401 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14403 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14406 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14407 and GotoNextNote().
14409 * src/LyXAction.C: Added reference-next.
14411 * text.C (InsertChar): Use contains instead of strchr.
14413 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14415 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14417 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14418 alignment commands (when needed).
14420 * text.C (InsertChar): Add ':' to number separator chars.