1 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4 * lyx_sty.[Ch]: remove minipageindent_def
10 * text3.C: remove LFUN_INSET_MINIPAGE
12 2003-12-28 Angus Leeming <leeming@lyx.org>
14 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
16 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
18 * text2.C (setParagraph): fix off-by-one crash
20 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
22 * output_docbook.C: header stuff for AGU
24 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
26 * text2.C (redoCursor): remove
29 * BufferView_pimpl.C: remove calls to redoCursor and
30 setCursor(cursor.par(), cursor.pos()) all around
32 2003-12-15 Angus Leeming <leeming@lyx.org>
34 * buffer.C: up the format to 228.
36 2003-12-15 André Pönitz <poenitz@gmx.net>
38 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
52 2003-12-15 Angus Leeming <leeming@lyx.org>
54 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
55 than getFromGUIName to manipulate the color.
57 2003-12-14 Angus Leeming <leeming@lyx.org>
59 * BranchList.[Ch]: minimize the API.
60 (Branch::getBranch, getColor): now return a 'const &'.
61 (Branch::setSelected) now returns a bool set to true if the
62 selection status changes.
63 (BranchList::clear, size, getColor, setColor, setSelected,
64 allBranches, allSelected, separator): removed.
65 (BranchList::find): new functions, returning the Branch with
67 (BranchList::add, remove): return a bool indicating that
68 the operation was successful.
70 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
71 new InsetBranch::isBranchSlected member function.
73 * LColor.[Ch]: mimimize the API.
74 (fill): renamed as addColor and made private.
75 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
76 versions of these functions taking a string arg have been removed.
78 * bufferparams.C (readToken):
79 * lyxfunc.C (dispatch):
80 * lyxrc.C (read): changes due to the altered BranchList and
83 * factory.C (createInset, readInset): changes due to altered
86 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * lyxfunc.C: remove insetminipage. "minipage-insert"
90 now produces a frameless minipage box inset.
92 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
94 * textcursor.[Ch] (selStart,selEnd): add new methods
95 remove selection::start, end, use LyXCursor::operator<
96 * lyxcursor.[Ch] (operator<): add
97 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
98 * BufferView.[Ch] (unsetXSel): add
99 * text2.C (clearSelection): use unsetXSel,adjust
102 * rowpainter.C: adjust
103 * bufferview_funcs.C (put_selection_at): adjust
105 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
107 * BufferView_pimpl.C: small coord. correction
109 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
111 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
112 dragging over the splash screen.
114 2003-12-11 Angus Leeming <leeming@lyx.org>
116 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
117 as it is now handled in LyXText::dispatch.
119 * text3.C (doInsertInset): remove a level of nesting.
121 2003-12-11 Angus Leeming <leeming@lyx.org>
123 * factory.C (createInset): changes due to the changed interface to
124 InsetCommandMailer::string2params.
126 2003-12-10 Angus Leeming <leeming@lyx.org>
128 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
129 'dialog-show-new-inset <inset name>'
131 2003-12-10 Angus Leeming <leeming@lyx.org>
133 * buffer.C: up the format to 227.
135 * factory.C: the box inset is now identified simply by 'Box'.
137 2003-12-10 Angus Leeming <leeming@lyx.org>
139 * buffer.C: up the format to 226.
141 * factory.C: the note inset is now identified simply by 'Note'.
143 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
145 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
146 when a pit is enough. Standarize a couple of loops.
148 2003-12-05 Angus Leeming <leeming@lyx.org>
150 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
151 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
152 data to the re-worked "log" dialog.
154 2003-12-03 André Pönitz <poenitz@gmx.net>
162 * text2.C: use Inset::getText instead of Inset::getParagraph
164 2003-12-03 André Pönitz <poenitz@gmx.net>
168 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
169 InsetText::read() as LyXText::read()
171 2003-12-02 Angus Leeming <leeming@lyx.org>
173 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
174 type. Add a comment in the implementation that the function uses
175 the stream's bad() function rather than fail() as the std::streams
178 2003-12-02 André Pönitz <poenitz@gmx.net>
180 * lyxlex.[Ch]: make interface more similar to std::stream
182 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
184 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
186 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
188 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
190 * vspace.[Ch]: remove VSpace::NONE
192 2003-12-01 André Pönitz <poenitz@gmx.net>
195 * lyxtext.h: move ParagraphList member to LyXText
196 rename LyXText::ownerParagraphs to LyXText::paragraph
199 * bufferview_funcs.C:
209 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
211 * undo.C: fix cursor positioning
213 2003-12-01 John Levon <levon@movementarian.org>
215 * BufferView_pimpl.C: fix a crash on exit with
218 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
220 * BranchList.C: fix setSelected() method.
222 2003-11-28 André Pönitz <poenitz@gmx.net>
224 * ParagraphParameters.[Ch]:
225 * ParameterStruct.h: remove space above/below from Paragraph to
228 * BufferView_pimpl.C:
240 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
242 * factory.C: Syntax change for CharStyles
244 2003-11-28 André Pönitz <poenitz@gmx.net>
249 * buffer.[Ch]: move LyXText member
251 2003-11-28 André Pönitz <poenitz@gmx.net>
253 * BufferView.[Ch]: make LyXText * text a private member
255 * BufferView_pimpl.C:
266 * output_plaintext.C: cleanup
268 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
271 * lyxtextclass.[Ch]: parametrize SGML document header
273 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
276 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
279 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
281 * text2.C (setFont): rework using PosIterator (no more recursive)
282 (setCharFont): no more needed
283 (setLayout): no more selection cursors fiddling (done by redoCursor)
284 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
285 destroy remaining ones)
287 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
289 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
291 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
294 * text3.C: adjust + re-allow multi par depth changes
295 * textcursor.C: simplify a bit
297 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
303 * src/output_docbook.C:
304 * src/output_latex.C:
309 * src/text2.C: Introducing a number of tags parametrizing various
310 XML formats that we may want to support
312 2003-11-25 André Pönitz <poenitz@gmx.net>
314 * InsetList.[Ch] (begein, end): inline as suggested by profiler
316 * lyxtext.h (leftMargin/rightMargin): simplify interface
323 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * lyxfunc.C (dispatch): propogate the bibtex databases from the
326 master file to any child files. Fixes bug 546.
328 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
330 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
332 2003-11-24 André Pönitz <poenitz@gmx.net>
334 * rowpainter.C: simplification
336 * text2.C (updateCounters): remove call to redoParagraph on
337 changed labels as this is far too expensive.
339 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
341 * converter.C (convert): fix a crash: this function gets
342 called with buffer == 0 from importer code.
344 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
346 * text3.C (cursorPrevious): make sure that we do not compare
347 iterators form different containers.
350 * rowpainter.C (paintSelection): make sure that we do not compare
351 iterators from different containers.
353 * text3.C (dispatch): [PRIOR] make sure that we do not compare
354 iterators from different ParagraphList containers.
357 * text2.C (LyXText): change order of initialization slightly
358 (operator=): new function. copy all variables except cache_par_
359 (moveUp): make sure that we do not compare iterators from
360 different ParagraphList constainers.
363 * text.C (firstPar): new function
364 (lastPar): new function
365 (endPar): new function
367 * lyxtext.h: move things around and group public functions, public
368 variables, private functions, private variables
370 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
372 * factory.C: change call to InsetERT constructor to avoid
373 additional invocation of method status
374 * text2.C (toggleInset): remove redundant update() call
375 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
376 instead of a Bufferview pointer
378 2003-11-21 André Pönitz <poenitz@gmx.net>
380 * rowpainter.C: simplification
382 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
384 * text3.C (dispatch): make possible to extend a word/row selection
387 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
389 * lyxtext.h: x0_,y0_ -> xo_,yo_
390 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
391 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
392 * rowpainter.C (paintRows): paint full paragraphs
394 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
396 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
399 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
401 * lyxtext.h: add x0_, y0_
402 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
403 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
405 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
407 * text2.C (setCursorIntern): move the x_target update here *
408 * text3.C: change some bv() to true/false in calls to
409 cursorUp/Down/Right/Left
410 * cursor.C: use helper function.
412 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
414 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
415 * paragraph_funcs.[Ch]: correct comment
416 * rowpainter.C: do not paint selections away from bv->cursor()
417 Fix a long standing selection painting bug.
418 * text3.C: generalize mouse-selection code to LyXTexts other that
420 * textcursor.C: do not use y coords if we can use par offsets
422 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
424 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
425 cursor position after e.g. inset insert)
427 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
429 * lyxfind.C (replace): adjust to locking removal + some
432 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
434 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
437 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
440 * output_docbook.C: XML sanitation: new layout
441 parameters InnerTag and CommandDepth
443 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
445 * BufferView_pimpl.C:
447 * text3.C: Fix the insertion and modification of button-style
450 2003-11-13 André Pönitz <poenitz@gmx.net>
452 * InsetList.[Ch]: remove deleteLyXText
454 * paragraph.[Ch]: cache beginOfBody position
459 * text3.C: remove superfluous update() calls
463 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
465 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
466 * BufferView.C (fitLockedInsetCursor): remove
467 * cursor.[Ch] (getDim): add
468 * text.C (getRowNearY): add faster version
469 * text3.C: remove some update calls
471 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
483 * text3.C: The Character Style /XML short element patch.
485 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
488 * factory.C: Small step to solving 'unable to insert some insets'
491 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
493 * cursor.[Ch] (updatePos): new function for updating the y
494 position of the tip inset
495 * bufferview_funcs.C (put_selection_at):
496 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
498 2003-11-11 André Pönitz <poenitz@gmx.net>
500 * text.C: remove big comment on invalid Paragraph pointers as it is
503 2003-11-11 André Pönitz <poenitz@gmx.net>
505 * text_funcs.[Ch]: merge with ...
513 * Makefile.am: remove text_funcs.[Ch]
515 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
517 * cursor.C (getPos): return absolute cached y coord
519 * BufferView_pimpl.C (fitCursor): new simplistic code
520 (workAreaDispatch): add a fitCursor call
522 2003-11-10 André Pönitz <poenitz@gmx.net>
525 * BufferView_pimpl.[Ch]: merge update() and updateInset()
527 2003-11-10 André Pönitz <poenitz@gmx.net>
529 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
530 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
531 indicate that the cursor needs to leave an inset
533 * lyxtext.h: remove inset locking
535 * cursor.[Ch]: re-implement functionality provided by inset locking
538 * BufferView_pimpl.[Ch]:
540 * bufferview_funcs.[Ch]:
552 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
554 * PosIterator.[Ch]: replace the stack with a vector, add inset
556 * iterators.[C]: adjust
558 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
560 * lyxfind.C (replaceAll): mark the buffer dirty if something was
562 * paragraph_funcs.C (readParToken): put the correct id in the
563 error item, not the id of the top paragraph
565 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
567 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
568 * bufferview_funcs.C (put_selection_at): use the above
570 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
572 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
574 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * output_plaintext.h:
579 * output_docbook.h: add #include statements
581 2003-11-05 José Matos <jamatos@lyx.org>
583 * output_docbook.[Ch]:
585 * output_linuxdoc.[Ch]:
586 * output_plaintext.[Ch]: New files for output formats.
587 * output.[Ch]: New file for helper functions.
590 * paragraph_funcs.[Ch]: output functions moved to new files.
592 * outputparams.h: rename of latexrunparams.h
600 * paragraph_funcs.[Ch]:
601 * paragraph_pimpl.[Ch]:
602 * tabular.[Ch]: rename ascii to plaintext
603 and LatexRunParams to OutputParams.
605 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
607 * iterators.[Ch] (text): require bv argument
608 * undo.C (recordUndo):
609 * lyxfunc.C (dispatch):
610 * bufferview_funcs.C (put_selection_at): adjust
612 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
614 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
616 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
618 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
621 2003-11-04 André Pönitz <poenitz@gmx.net>
623 * cursor.[Ch]: restructure
626 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
628 * iterators.[Ch] (asCursor): remove
630 * lfuns.h: remove LFUN_INSET_EDIT
636 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
638 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
640 * lyxfind.[Ch]: complete overhaul
641 * BufferView_pimpl.C:
643 * paragraph.[Ch] (insert): add
645 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
649 * text.C: remove dead spellcheck code
651 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
653 * dispatchresult.h: add a val setter
655 * cursor.C (dispatch): use a tempvar for data_[i]
657 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
659 * PosIterator.[Ch]: compile fix
661 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
663 * text.C (cursorPar): deactivate the cursor cache
665 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
667 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
669 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
671 * text3.C (dispatch): adjust for new DisptchResult semantics.
673 * lyxfunc.C (dispatch): handle update when return from
674 Cursor::dispatch, adjust for new DispatchResult semantics.
676 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
677 DispatchResult(true) mean to not update. Add class functions for
678 setting dispatched and update, as well as reading.
680 * cursor.C (dispatch): don't handle update here
682 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
684 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
685 * trans_mgr.C: adjust
687 * paragraph_funcs.C (readParToken): exception safety
689 * lyxvc.h: store the vcs pointer in a scoped_ptr
692 * lyxsocket.C (serverCallback): exception safety
694 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
696 * ispell.C (clone): make it return a auto_ptr
698 * factory.C (createInset): exception safety
699 (readInset): exception safety
701 * bufferlist.C (newBuffer): exception safety
703 * Thesaurus.C (Thesaurus): use initialization for aik_
705 * MenuBackend.C (expandToc): exception safety.
707 2003-11-03 André Pönitz <poenitz@gmx.net>
711 * bufferview_funcs.C: remove getInsetFromId()
714 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
720 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
722 * PosIterator.C (distance, advance): new
723 * bufferview_funcs.[Ch] (put_selection_at): new
724 * iterators.[Ch] (lockPath): new
726 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
728 * iterators.[Ch] (asPosIterator): added
729 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
730 * PosIterator.[Ch]: added
732 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
736 * cursor.C (dispatch):
737 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
739 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
740 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
741 contructor, add a class function dispatched. Remove operator>=
743 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
745 * debug.C: only use the default constructor for debugstream
748 * main.C (main): include debug.h and setup the lyxerr streambuf
751 2003-10-31 José Matos <jamatos@lyx.org>
753 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
755 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
756 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
757 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
758 * paragraph_pimpl.C (simpleTeXSpecialC):
759 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
760 add LatexRunParams argument.
762 * exporter.C (Export): change call accordingly.
764 * latexrunparams.h: add new member to take care of the other backends.
765 2003-10-30 José Matos <jamatos@lyx.org>
767 * buffer.C (makeLinuxDocFile, makeDocBookFile):
768 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
769 factorise code for paragraph output.
771 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
774 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * text3.C (dispatch):
777 * lyxfunc.C (dispatch):
778 * cursor.C (dispatch):
779 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
781 * dispatchresult.h: make the dispatch_result_t ctor explicit
783 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
786 * buffer.C: small refactoring of docbook stuff
788 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
793 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
796 operator dispatch_result_t, and operators for == != and >=
798 * cursor.C (dispatch): adjust for operator dispatch_result_t
799 removal. comment out call to update
801 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
803 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
811 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
814 * dispatchresult.h: new file, DispatchResult broken out of
817 * Makefile.am (lyx_SOURCES): add dispatchresult.h
819 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
821 * text.C (rowBreakPoint): put a hack inside #if 0
823 2003-10-28 André Pönitz <poenitz@gmx.net>
830 * text2.C: general cleanup (lots of small stuff)
832 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
834 * text2.C (cursorEnd): simple fix to the "end key goes to one
835 before the end on last row" bug
837 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
839 * text.C (backspace): fix the "zombie characters"
841 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
843 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
845 2003-10-27 André Pönitz <poenitz@gmx.net>
847 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
849 * factory.C: handle new InsetPagebreak, InsetLine
851 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
852 and move handling into new InsetPagebreak, InsetLine
854 * BufferView_pimpl.C:
856 * ParagraphParameters.C:
869 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
878 * text3.C: remove lastPos uses in favour of Row::endpos
880 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
882 * undo.C (performUndoOrRedo): fix two crashes by setting a
883 cursor by hand and reordering some calls. Use bv->lockInset instead
884 of inset->edit because the latter loses cursor information
886 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
888 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
890 (rowBreakPoint): fix width. change point to point + 1.
893 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
896 * lyxfunc.C: fix (at least partly) the problems
897 with the Nav menu and headers inside branch insets
900 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
902 * paragraph.C (getChar): add strong asserts
904 * lyxrow_funcs.C (lastPos): remove hideous hack
906 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
907 (fill): adjust to that (avoid an infinite loop)
909 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
911 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
913 2003-10-23 André Pönitz <poenitz@gmx.net>
915 * RowList_fwd.h: change list<> to vector<> to gain speed
916 after suggestion from Alfredo
918 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
920 * lyxtext.h: move the bidi stuff from here...
923 * Bidi.[Ch]: ... to here
925 2003-10-23 André Pönitz <poenitz@gmx.net>
928 * text.C (isLastRow, isFirstRow): new functions
930 * paragraph.h: new width cache member
932 * rowpainter.C: replace RowList::iterator with Row & where possible
934 * lyxfunc.C: replace several view()->text with a single call
936 * toc.C: fix 'unused' warning
938 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
941 when woring with stream::pos_type
942 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
944 2003-10-22 André Pönitz <poenitz@gmx.net>
947 * text.C: use Row & instead of RowList::iterator
949 * lyxrow.h: rename end() to endpos()
955 2003-10-22 Angus Leeming <leeming@lyx.org>
957 * buffer.[Ch] (fully_loaded): new member function, returning true
958 only when the file has been loaded fully.
959 Used to prevent the premature generation of previews and by the
960 citation inset to prevent computation of the natbib-style label.
962 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
963 templates are all set up.
965 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
967 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
969 * text.C: fixed an "oops" in the "is a bit silly"
972 2003-10-21 André Pönitz <poenitz@gmx.net>
974 * FuncStatus.[Ch]: small stuff, whitespace
976 * lyxfont.[Ch]: operator<<() for debug reasons
980 * lyxtext.h: whitespace, spelling
982 * paragraph.C: naming of variables
985 * text2.C: small stuff
988 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
990 * text.C: (1) finish off the inset display() work;
991 (2) fix the "is a bit silly" bug (accessing char
994 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
996 * text.C: re-introduce display() for insets, fixing the
997 various bugs (stretch of line above, math inset
1000 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1002 * text.C (rightMargin): remove spurious semicolon
1004 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1007 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1009 * text3.C: fix one crash due to wrong cursor def
1011 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1013 * vc-backend.C (scanMaster): make the regex static
1015 * LaTeX.C (scanAuxFile): make the regexs static
1017 * text3.C (doInsertInset, dispatch, dispatch):
1018 * text2.C (cursorUp, cursorDown):
1019 * text.C (selectNextWordToSpellcheck):
1020 * BufferView_pimpl.C (dispatch):
1021 * lyxfunc.C (dispatch): localDispatch -> dispatch
1023 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1025 * lyxsocket.C: include <cerrno>
1027 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1029 * lyxfunc.C (dispatch): remove textcache stuff
1031 * bufferlist.C (release): remove textcache stuff
1034 * TextCache.C: delete file
1035 * TextCache.h: delete file
1037 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1039 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1040 delete of the bv_->text.
1041 (resizeCurrentBuffer): remove texcache stuff
1042 (workAreaResize): ditto
1044 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1046 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1049 2003-10-16 André Pönitz <poenitz@gmx.net>
1056 * text3.C: speed up by storing y positions per paragraph plus per-row
1057 offset instead of having a 'full' y position in the row.
1059 2003-10-15 André Pönitz <poenitz@gmx.net>
1063 * undo.[Ch]: make undo aware of inner insets
1065 2003-10-14 Angus Leeming <leeming@lyx.org>
1067 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1068 static member functions LyX::ref() and LyX::cref.
1069 (lastfiles): new accessor functions for the new lastfiles_ member var.
1070 (addLyXView, views_): add a new LyXView to the list of views_.
1071 (updateInset): loop over all LyXViews to call their own updateInset
1072 member function, returning a pointer to the Buffer owning the inset.
1074 * BufferView_pimpl.C (loadLyXFile):
1075 * MenuBackend.C (expandLastfiles):
1076 * bufferlist.C (MenuWrite, QuitLyX):
1077 lastfiles is no longer a global variable.
1078 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1080 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1081 static function. Access through LyX::cref().emergencyCleanup().
1083 2003-10-14 André Pönitz <poenitz@gmx.net>
1085 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1087 * undo.[Ch]: restoring part of 'undo in insets'
1090 * undo_funcs.[Ch]: merge with undo.[Ch]
1092 * tabular.C: small cleansing stuff
1094 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1096 * paragraph_funcs.C (readParToken): report unknown insets as error
1097 boxes. Use the outer paragraph as location (also for unknown
1100 * factory.C (readInset): do not abort on reading an unknown inset.
1101 Eat it and return 0.
1103 2003-10-13 Angus Leeming <leeming@lyx.org>
1105 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1107 * lyxrc.C: displayTranslator is now a function,
1108 declared in GraphicsTypes.h.
1110 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1112 * format.C: new placeholder $$a to pass the socket address.
1114 * bufferlist.[Ch]: new function getBufferFromTmp.
1116 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1117 files in the temporary dir.
1119 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1121 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1123 * Makefile.am: add lyxsocket.[Ch].
1125 * lyx_main.C (error_handler): handle SIGPIPE.
1127 2003-10-13 André Pönitz <poenitz@gmx.net>
1129 * BufferView_pimpl.C:
1134 * undo_funcs.[Ch]: use paroffset_type instead of
1135 ParagraphList::iterators to prevent multiple conversion
1136 (and get a more robust interface)
1138 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1140 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1142 * text3.C (dispatch): ditto
1144 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1146 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1147 move the onlyfile, use onlyfile instead of foundfile in a couple
1150 * DepTable.C (update): flush the error stream a bit more
1152 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * lyxserver.C (callback): adjust
1156 * lyxfunc.C (getStatus): add a missing brace in commented code
1157 (ensureBufferClean): reindent
1158 (dispatch): delete version taking a string
1160 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * LaTeX.C (deplog): move found file handlig from here...
1163 (handleFoundFile): .. to new function here.
1164 (deplog): make sure to discover several files mentioned on the
1167 2003-10-10 André Pönitz <poenitz@gmx.net>
1174 * text3.C: fix some of the tabular crashes
1176 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1178 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1180 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1182 2003-10-09 André Pönitz <poenitz@gmx.net>
1184 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1187 * BufferView_pimpl.C:
1188 * bufferview_funcs.C:
1199 * undo_funcs.C: adjust
1201 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1203 * text2.C (incrementItemDepth): new function, use a backtracking
1204 algorithm to discover the correct item depth.
1205 (resetEnumCounterIfNeeded): new function, use a backtracking
1206 algorithm to discover if counter reset is needed.
1207 (setCounter): use them. Simplify a bit. Add different labels for
1208 different item depths for itemize.
1210 * paragraph.C (Paragraph): remove initialization of enumdepth
1213 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1214 enumerate and itemize. Change the type of itemdepth to signed char.
1216 2003-10-08 André Pönitz <poenitz@gmx.net>
1218 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1223 * tabular.[Ch]: fix crash after 'row-insert'
1225 2003-10-08 Angus Leeming <leeming@lyx.org>
1227 Fix doxygen warnings.
1229 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1230 Remove CutAndPaste:: prefix from header file declaration.
1232 * LColor.h (fill): remove LColor:: prefix from declaration.
1234 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1235 use lyx::depth_type rather than Paragraph::depth_type so that
1236 header file and .C file match.
1238 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1240 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1241 * aspell.C: \file aspell_local.C -> \file aspell.C
1242 * gettext.C: \file gettext.C -> \file src/gettext.C
1243 * gettext.h: \file gettext.h -> \file src/gettext.h
1244 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1245 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1246 * text.C: \file text.C -> \file src/text.C
1248 * toc.C: move comment so that doxygen is not confused.
1250 2003-10-07 Angus Leeming <leeming@lyx.org>
1252 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1254 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1257 * aspell_local.h: add forgotten std::string's.
1259 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1266 * text3.C: The Box patch. Fancybox support, minipage, parbox
1268 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1274 * ParagraphParameters.h:
1284 * lyxtextclasslist.h:
1287 * paragraph_pimpl.C:
1288 * textcursor.h: add <string> and other small fixes to make Lars'
1289 std::string patch compile with STLport.
1291 2003-10-06 Angus Leeming <leeming@lyx.org>
1293 * LColor.h: Add missing #include <string>.
1295 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1297 * All most all file in all subdirs: Make <string> be the prefered
1298 way of getting to std::string, add using declarations.
1300 2003-10-06 André Pönitz <poenitz@gmx.net>
1302 * metricsinfo.C: initialize LyXFont before changing attribute.
1303 (fixes the 'math in \emph is upright' bug)
1305 2003-10-06 André Pönitz <poenitz@gmx.net>
1307 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1309 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1312 * paragraph_pimpl.C: Small fixes to build using STLport
1314 2003-10-02 André Pönitz <poenitz@gmx.net>
1317 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1319 2003-10-01 André Pönitz <poenitz@gmx.net>
1321 * factory.C: assert early
1323 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * lyx_main.C: remove the global debug object
1327 * debug.h: adjust for new debugstream
1329 * debug.C: adjust for new debugstream and keep the global debug
1332 2003-09-22 Angus Leeming <leeming@lyx.org>
1334 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1335 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1336 an incomplete class LyXFont.
1338 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1340 * factory.C: bug fix in branches
1342 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1344 * lyxfunc.C (processKeySym): adjust
1346 (dispatch): change arg name from ev to func, adjust
1347 (sendDispatchMessage): ditto
1349 * lyx_main.C (defaultKeyBindings): adjust keybindings
1350 (deadKeyBindings): ditto
1352 * kbsequence.C (addkey): return a FuncRequest
1354 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1356 * kbmap.C (bind): take a FuncRequest as arg, adjust
1359 (defkey): change to take a FuncRequest as arg, adjust
1360 (findbinding): take a FuncRequest as arg, adjust.
1362 * funcrequest.h (operator=): added
1364 * funcrequest.C (FuncRequest): default kb_action changed from
1365 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1367 * buffer.C (dispatch): simplify
1368 (dispatch): adjust to take a FuncRequest as arg, adjust
1370 * boost.C (assertion_failed): change assertion message slightly
1372 * ToolbarBackend.C (read): simplify
1374 * MenuBackend.C (binding): adjust call to findbinding, add a
1375 message if no binding is found.
1377 (expandToc): correct by adding a empty FuncRequest
1379 * LyXAction.C: include <boost/assert.hpp>
1380 (isPseudoAction): delete function
1381 (LookupFunc): change name to...
1382 (lookupFunc): this. change return type to FuncRequest.
1383 (getActionName): take kb_action as arg, simplify
1384 (funcHasFlag): add an assert, simplify.
1386 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1388 * toc.C (action): return a FuncRequest, simplify
1390 * lyxfunc.C (processKeySym): adjust
1391 (getStatus): delete version that takes an int.
1393 (dispatch): delete version that takes action as int
1395 (sendDispatchMessage): simplify and adjust
1397 * funcrequest.C (getArg): take unsigned int as arg
1399 * ToolbarBackend.C (read): adjust
1400 (add): delete version that takes func as a string.
1401 (getIton): take a FuncRequest as arg
1403 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1406 * MenuBackend.C (MenuItem): add a new construct that only takes a
1407 Kind, simplify the constructor use for submenus.
1409 (expandLastfiles): adjust
1410 (expandDocuments): adjust
1411 (expandFormats): adjust
1412 (expandFloatListInsert): adjust
1413 (expandFloatInsert): adjust
1414 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1416 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1417 Remove class variables lyx_pseudo_map and lyx_arg_map
1419 * LyXAction.C (searchActionArg): delete function
1420 (getPseudoAction): delete function
1421 (retrieveActionArg): delete function
1422 (LookupFunc): make it return kb_action, simplify.
1423 (getActionName): simplify
1425 * factory.C (createInset): fix new bug
1427 2003-09-19 Angus Leeming <leeming@lyx.org>
1429 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1430 masterFilename_ parameter in the include inset.
1432 * factory.C (createInset): changes due to the changes to InsetInclude.
1434 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1436 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1438 2003-09-18 Angus Leeming <leeming@lyx.org>
1441 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1442 Inset::fillWithBibKeys.
1443 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1445 2003-09-18 Angus Leeming <leeming@lyx.org>
1447 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1449 (ctor): pass and store a 'Buffer const &'
1450 (buffer): new member function.
1452 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1453 '*this' to the LaTeXFeatures ctor.
1455 2003-09-18 Angus Leeming <leeming@lyx.org>
1461 * text.C: rename EnumLColor as LColor_color.
1463 2003-09-18 Angus Leeming <leeming@lyx.org>
1465 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1466 remove #include "insets/insetbase.h" from cursor.h.
1468 2003-09-18 Angus Leeming <leeming@lyx.org>
1470 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1471 InsetOld_code to remove #include "inset.h".
1473 * iterators.C: add #include "insets/inset.h"
1475 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1477 * BufferView.C: remove more locking stuff that apparently doesn't
1478 do anything sensible.
1480 2003-09-16 André Pönitz <poenitz@gmx.net>
1483 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1486 2003-09-16 Angus Leeming <leeming@lyx.org>
1488 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1490 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1493 * paragraph.h: remove #include "lyxfont.h". Forward declare
1496 2003-09-16 Angus Leeming <leeming@lyx.org>
1498 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1499 of support/textutils.h.
1500 (isWord): move the contents of support/textutils.h's IsWordChar here.
1506 * text2.C: add #include "paragraph.h".
1509 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1511 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * LaTeX.C: use namespace alias for lyx::support::os
1519 2003-09-16 Angus Leeming <leeming@lyx.org>
1522 * bufferview_funcs.C:
1525 * paragraph_pimpl.C:
1527 * text.C: add #include "LColor.h".
1529 2003-09-16 Angus Leeming <leeming@lyx.org>
1531 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1532 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1534 Store the FontBits::color variable as an int rather than as an
1535 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1538 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1539 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1540 string calls together.
1542 * lyxrc.C: add #include "LColor.h".
1544 2003-09-15 Angus Leeming <leeming@lyx.org>
1546 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1549 2003-09-15 Angus Leeming <leeming@lyx.org>
1551 * LColor.h: add an EnumLColor wrapper for LColor::color.
1553 * lyxfont.[Ch] (color, setColor, realColor):
1554 * lyxtext.h, text.C (backgroundColor):
1555 pass EnumLColor args to/from the functions, rather than LColor::color
1559 * lyxtext.h: forward declare EnumLColor.
1561 * lyx_main.C: add #include "LColor.h".
1563 2003-09-15 Angus Leeming <leeming@lyx.org>
1565 * .cvsignore: add lyx-gtk.
1567 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * ParagraphParameters.C
1576 * bufferview_funcs.C
1586 * vc-backend.C: remove usage of STRCONV
1588 2003-09-15 Angus Leeming <leeming@lyx.org>
1590 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1591 explicitly define the color passed to the painter.
1593 2003-09-15 Angus Leeming <leeming@lyx.org>
1595 * bufferparams.C (BufferParams): reorder member initializers to avoid
1598 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1600 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1601 * text.C (updateRowPositions): remove an unusual nop
1603 2003-09-12 André Pönitz <poenitz@gmx.net>
1605 * BufferView_pimpl.C:
1614 * Counters.[Ch]: finish the 'automatic counters' job
1616 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1618 * aspell.C: include <boost/assert.cpp> (compile fix)
1620 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1622 * boost.C (assertion_failed): use lyx::support::abort instead of
1625 2003-09-10 Angus Leeming <leeming@lyx.org>
1627 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1628 with their _fwd progeny.
1630 2003-09-09 Angus Leeming <leeming@lyx.org>
1632 134 files throughtout the source tree: replace 'using namespace abc;'
1633 directives with the appropriate 'using abc::xyz;' declarations.
1635 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1637 * boost.C (emergencyCleanup): moved here from LAssert.c
1638 (assertion_failed): new function, called by BOOST_ASSERT
1640 * several files: change Assert to BOOST_ASSERT
1642 2003-09-09 Angus Leeming <leeming@lyx.org>
1644 * buffer.[Ch]: Add an Impl class and move Buffer's member
1645 variables into it. As a result move several header files out of
1648 Add header files to lots of .C files all over the tree as a result.
1650 2003-09-09 Angus Leeming <leeming@lyx.org>
1652 * buffer.[Ch]: make Buffer's member variables private. Add
1655 Lots of changes all over the tree as a result.
1657 2003-09-08 Angus Leeming <leeming@lyx.org>
1659 * graph.C: #include <config.h>.
1661 2003-09-08 Angus Leeming <leeming@lyx.org>
1665 * BufferView_pimpl.C:
1694 * toc.C: remove redundant using directives.
1696 2003-09-07 Angus Leeming <leeming@lyx.org>
1698 * LaTeXFeatures.h: remove #include "support/types.h".
1699 * ToolbarBackend.h: remove #include <algorithm>.
1700 * changes.h: remove #include <ctime>.
1701 * debug.h: remove #include <iosfwd>.
1702 * graph.h: remove #include "support/std_string.h".
1703 * lyx_main.h: remove #include <csignal>.
1704 * lyxlex_pimpl.h: remove #include <fstream>.
1705 * sgml.h: remove #include <algorithm>, <utility>.
1706 * toc.h: remove #include "support/std_ostream.h".
1707 Add #include <iosfwd>.
1709 2003-09-07 Angus Leeming <leeming@lyx.org>
1711 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1713 * converter.h: forward declare LatexRunParams.
1714 * encoding.h: remove #include "lyxrc.h".
1715 * lyxtext.h: remove #include "LColor.h".
1716 * lyxtextclass.h: remove #include "support/types.h".
1717 * trans.h: remove #include "tex-accent.h".
1718 * trans_mgr.h: remove #include "tex-accent.h".
1719 * insets/inset.h: remove #include "support/types.h", <vector>.
1720 * insets/insetcollapsable.h: remove #include "LColor.h".
1721 * insets/insetinclude.h: remove #include "dimension.h".
1722 * insets/insetlatexaccent.h: remove #include "dimension.h".
1723 * insets/insetoptarg.h:: remove #include "insettext.h".
1724 * insets/insettext.h: remove #include "dimension.h",
1725 <boost/shared_ptr.hpp>
1727 * insets/renderers.h: add #include "dimension.h".
1728 * insets/updatableinset.h: add #include "support/types.h".
1730 * many .C files: Associated changes.
1732 2003-09-06 Angus Leeming <leeming@lyx.org>
1734 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1735 one, inside testInvariant.
1737 * PrinterParams.C: new file.
1738 * PrinterParams.[Ch]: move the function bodies out of line.
1740 2003-09-06 Angus Leeming <leeming@lyx.org>
1742 * ParagraphParameters.h: forward declare ParameterStruct rather than
1743 including its header file.
1744 (depth): moved out-of-line.
1746 2003-09-06 Angus Leeming <leeming@lyx.org>
1748 * BufferView_pimpl.h:
1751 * lyxfunc.h: forward declare LyXKeySym rather than
1752 #include "frontends/LyXKeySym.h".
1754 * BufferView_pimpl.C:
1757 * lyxfunc.C: associated changes.
1759 2003-09-06 Angus Leeming <leeming@lyx.org>
1761 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1762 As a result, can remove the #include "insets/inset.h" from BufferView.h
1764 2003-09-06 Angus Leeming <leeming@lyx.org>
1766 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1767 As a result, can remove the #include "insets/inset.h" from BufferView.h
1769 2003-09-06 Angus Leeming <leeming@lyx.org>
1775 * bufferview_funcs.C:
1776 * BufferView_pimpl.C:
1781 * ParagraphParameters.C:
1786 * frontends/controllers/ControlDocument.C:
1787 * insets/insetcaption.C: rearrange the #includes into some sort of
1790 * buffer.h: remove #includes ErrorList.h, undo.h
1792 2003-09-06 Angus Leeming <leeming@lyx.org>
1794 * support/types.h: add a 'depth_type' typedef, used to store the
1795 nesting depth of a paragraph.
1798 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1799 defining explicitly.
1802 * paragraph_funcs.h:
1803 * ParagraphParameters.h:
1804 * sgml.h: use lyx::depth_type rather than Paragraph or
1805 ParameterStruct's depth_type.
1808 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1811 * BufferView_pimpl.C:
1813 * ParagraphParameters.C:
1816 * bufferview_funcs.C:
1823 * frontends/LyXView.C:
1824 * frontends/controllers/ControlDocument.C:
1825 * frontends/controllers/ControlErrorList.C:
1826 * insets/insetbibitem.C:
1827 * insets/insetbranch.C:
1828 * insets/insetcaption.C:
1829 * insets/insetcollapsable.C:
1830 * insets/insetenv.C:
1831 * insets/insetert.C:
1832 * insets/insetfloat.C:
1833 * insets/insetfoot.C:
1834 * insets/insetfootlike.C:
1835 * insets/insetnewline.C:
1836 * insets/insetquotes.C:
1837 * insets/insettabular.C:
1838 * insets/insettext.C:
1839 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1841 * frontends/controllers/ControlChanges.C: #include "changes.h".
1843 2003-09-06 Angus Leeming <leeming@lyx.org>
1845 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1846 than #including paragraph.h.
1849 * RowList.h: deleted. Superfluous.
1859 * insets/insettext.h: use ParagraphList_fwd.h rather than
1862 * paragraph.h: don't forward declare ParagraphList.
1865 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1866 rather than ParagraphList.h. paragraph.h is still needed for the
1867 Paragraph::depth_type parameters.
1869 * textcursor.h: enable it to compile stand-alone in light of the
1872 * bufferview_funcs.C:
1884 * frontends/controllers/ControlParagraph.C:
1885 * frontends/controllers/ControlTabular.C:
1886 * insets/insetmarginal.C:
1887 * insets/insetminipage.C:
1888 * insets/insetnote.C:
1889 * insets/insetoptarg.C: add header files needed to compile again.
1891 2003-09-06 Angus Leeming <leeming@lyx.org>
1893 * RowList_fwd.h: new file, forward-declaring Row rather than
1894 #including lyxrow.h.
1899 * insets/insettext.h: use it instead of RowList.h
1901 * bufferview_funcs.C:
1908 * text3.C: #include "RowList.h".
1910 2003-09-05 Angus Leeming <leeming@lyx.org>
1912 * factory.C (createInset):
1913 * vspace.C (c-tor): replace sscanf call with an istringstream.
1914 * ispell.C: re-add missing HP/UX headers.
1915 * lyxserver.C: re-add missing os2 headers.
1917 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1926 * text3.C: re-add missing system headers, needed for 2.95.2.
1928 2003-09-05 Angus Leeming <leeming@lyx.org>
1930 Changes most place everywhere due to the removal of using directives
1931 from support/std_sstream.h.
1933 2003-09-05 Angus Leeming <leeming@lyx.org>
1935 Replace LString.h with support/std_string.h,
1936 Lsstream.h with support/std_sstream.h,
1937 support/LIstream.h with support/std_istream.h,
1938 support/LOstream.h with support/std_ostream.h.
1940 Changes resulting throughout the tree.
1942 2003-09-05 Angus Leeming <leeming@lyx.org>
1944 * sgml.h: ensure that the header file can be compiled stand-alone.
1945 * *.C: strip out redundant #includes. (320 in total.)
1947 2003-09-04 Angus Leeming <leeming@lyx.org>
1949 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1950 here (from getPackages).
1952 * debug.[Ch]: add a new EXTERNAL tag.
1954 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1956 * text2.C (cursorEnd): simplify
1958 (getColumnNearX): adjust
1960 * text.C (computeBidiTables): adjust
1963 * rowpainter.C (paintChars): adjust
1964 (paintSelection): adjust
1965 (paintChangeBar): adjust
1968 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1970 (numberOfSeparators): adjust
1972 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1978 * text3.C: Restricts the mouse click functionality
1979 of insets like bibtex, include, toc and floatlist to the visible
1980 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1981 up the dialogs. Cursor has to be in front of the inset (i.e.
1982 start of row) for this to function.
1984 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1986 * bufferview_funcs.C (currentState): output row information
1988 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1990 * bufferview_funcs.C (currentState): output paragraph position
1992 2003-09-04 Angus Leeming <leeming@lyx.org>
1994 * FloatList.h: move out #include "Floating.h".
1995 * LaTeX.h: move out #include "DepTable.h".
1996 * LyXAction.h: move out #include "funcrequest.h".
1997 * buffer.h: move out #include "author.h", "iterators.h".
1998 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1999 * lyx_main.h: move out #include "errorlist.h".
2000 * lyxfunc.h: move out #include "FuncStatus.h".
2001 * lyxtext: move out #include "lyxcursor.h".
2002 * paragraph_pimpl.h: move out #include "counters.h".
2004 2003-09-03 Angus Leeming <leeming@lyx.org>
2006 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2007 preamble_snippets list, enabling us to add snippets to the preamble
2008 only if the snippet was not there already.
2010 2003-09-04 Angus Leeming <leeming@lyx.org>
2012 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2014 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2019 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2021 * BranchList.C: point fix, earlier forgotten
2023 2003-09-02 Angus Leeming <leeming@lyx.org>
2025 * box.C (contains): renamed from 'contained' after a fantastic
2028 2003-09-02 John Levon <levon@movementarian.org>
2034 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2036 2003-09-02 John Levon <levon@movementarian.org>
2038 * text2.C: simplification of cursorEnd(), including partial
2041 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * buffer.C (readFile): add a space
2045 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2047 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2049 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2051 * buffer.C (readFile): new function, take a filename and a
2052 ParagraphList::iterator
2054 (readFile): adjust, make it private. don't use setStream, make
2055 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2056 always contain the filename.
2058 * BufferView.C (insertLyXFile): simplify and make it work for
2061 2003-08-30 John Levon <levon@movementarian.org>
2063 * Makefile.am: fix dist (from Kayvan)
2065 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * most files: change to use const Buffer refs
2069 2003-08-27 André Pönitz <poenitz@gmx.net>
2071 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2072 on top of ownerPar().
2074 2003-08-27 John Levon <levon@movementarian.org>
2076 * funcrequest.C: properly initialise POD members
2078 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2080 * lyxtext.h (top_y): move top_y from here
2085 * BufferView_pimpl.[Ch]: to here
2086 * frontends/screen.C:
2087 * insets/insettabular.C:
2088 * insets/insettext.C: adjust
2089 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2091 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2094 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2096 2003-08-26 André Pönitz <poenitz@gmx.net>
2098 * paragraph_func.[Ch] (outerPar): new function
2101 * paragraph_funcs.C:
2102 * paragraph_funcs.h:
2103 * paragraph_pimpl.C:
2104 * text2.C: remove Inset::par_owner
2106 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2111 * text2.C: eliminates the needFullRow/display() stuff
2112 altogether, putting the logic in metrics/draw in the insets.
2114 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2116 * text2.C (redoParagraphInternal, redoParagraphs):
2117 * text.C (redoParagraph): add a call to updateRowPositions at the
2118 end of each 'metrics-like' call. Remove all others.
2119 (getRow): remove the 'y-computing' version.
2120 (getRowNearY): do not compute nor return the real y. Solve the
2121 'y < 0' problem and simplify.
2123 2003-08-22 Angus Leeming <leeming@lyx.org>
2125 * *.[Ch]: clean-up of licence and author blurbs.
2126 Also move config.h out of a few .h files and into a few .C files.
2128 2003-08-22 André Pönitz <poenitz@gmx.net>
2130 * lyxrow.[Ch]: add x_ and *fill_ members
2135 * text2.C: adjust/remove prepareToPrint() calls
2137 2003-08-22 André Pönitz <poenitz@gmx.net>
2139 * lyxrow.[Ch]: add end_ member
2141 * lyxrow_funcs.C: use LyXRow::end_
2143 * lyxtext.h (singleWidth): add LyXFont parameter
2146 * text2.C: adjust LyXText::singleWidth() calls
2148 * text.C (redoParagraph): simplify row breaking logic
2151 2003-08-19 André Pönitz <poenitz@gmx.net>
2153 * funcrequest.C: initialize button_ member
2156 * rowpainter.[Ch]: interface consolidation
2158 2003-08-18 André Pönitz <poenitz@gmx.net>
2161 * BufferView_pimpl.C:
2163 * paragraph_funcs.C:
2165 * text3.C: remove LyXScreen::draw() and fitCursor calls
2167 * BranchList.h: remove spurious semicolons
2169 * MenuBackend.C: fix branchlist related crash
2171 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2179 * bufferparams.[Ch]:
2183 * text3.C: implements the 'branch inset'
2184 idea. This allows the output of various versions of a document
2185 from a single source version, selectively outputing or suppressing
2186 output of parts of the text.
2187 This implementation contains a 'branch list editor' in a separate
2188 tab of the document settings dialog. Branches are user definable
2189 and have a "display colour" to distinguish them on-screen.
2191 ColorHandler was somewhat cleaned up.
2192 (1) make possible a dynamically growing LColor list by allowing
2193 the graphic context cache to grow along (vector);
2194 (2) eliminate an IMHO unnecessary step in colour allocation.
2196 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2198 * BufferView_pimpl.C: compile fix
2200 2003-08-15 André Pönitz <poenitz@gmx.net>
2202 * rowpainter.C: remove extra metrics calls
2204 * lyxtext.h: merge the two constructors into a single one,
2205 pass reference to owner's par list
2207 * BufferView_pimpl.C:
2211 2003-08-15 André Pönitz <poenitz@gmx.net>
2213 * lyxrow_funcs.[Ch]:
2216 * paragraph_funcs.C:
2221 * text_funcs.C: split LyXText::rowlist_ into individual
2222 Paragraph::rows_ chunks
2225 * BufferView_pimpl.[Ch]:
2228 * text3.C: remove toggleSelection()
2230 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2232 * bufferlist.C: beautify two alerts (shorter text of buttons)
2233 * buffer.C: Remove redundant ' ' from message
2235 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2236 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2237 rename VALIGN_CENTER to VALIGN_MIDDLE
2239 2003-08-11 André Pönitz <poenitz@gmx.net>
2241 * lyxtext.h (getPar):
2242 * text.C: new function
2244 2003-08-11 André Pönitz <poenitz@gmx.net>
2247 * tracer.[Ch]: remove unneeded files
2249 * InsetList.[Ch]: remove resizeInsetsLyXText()
2254 * text3.C: merge insertParagraphs() and appendParagraph()
2255 remove breakAgain(), update()
2257 * BufferView_pimpl.[Ch]:
2258 * bufferview_funcs.[Ch]:
2262 * tabular.C: adjust after text & InsetList changes.
2264 2003-08-08 André Pönitz <poenitz@gmx.net>
2266 * text.C (insertChar, backspace): replace rowlist fiddling
2267 with rebreak of full par
2270 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2271 checkParagraph, updateInset): removed
2273 2003-08-07 André Pönitz <poenitz@gmx.net>
2276 * text3.C: merge some LFUN handlers, remove dead code
2278 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2280 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2282 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2284 * text2.C (DEPM): fix part of bug 1255 and 1256
2286 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * BufferView_pimpl.C (workAreaDispatch): change to use
2289 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2290 that are no mouse related.
2292 2003-08-05 André Pönitz <poenitz@gmx.net>
2295 * BufferView_pimpl.[Ch]:
2296 * bufferview_funcs.C:
2298 * text3.C: rip out "deep update"
2300 * textcursor.[Ch] (last_sel_cursor): remove unused member
2302 2003-08-04 André Pönitz <poenitz@gmx.net>
2305 * BufferView_pimpl.[Ch]:
2306 * ParagraphParameters.C:
2307 * bufferview_funcs.C:
2313 * text3.C: replace "complicated" BufferView::update(...) calls with
2316 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2318 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2320 * Makefile.am (lyx_SOURCES): add paper.h
2322 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2324 * Makefile.am: move things around so that both lyx-qt and
2325 lyx-xforms can be built (according to --with-frontend). Then lyx
2326 is a symbolic link to lyx-[firstfrontend]
2328 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2330 * Always use std::endl with lyxerr
2332 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2334 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2336 2003-08-01 André Pönitz <poenitz@gmx.net>
2339 * BufferView_pimpl.[Ch]:
2341 * text3.C: merge BufferView::repaint() and BufferView::update()
2343 2003-08-01 José Matos <jamatos@lyx.org>
2345 * buffer.[Ch]: file_format is no longer a buffer data element.
2347 2003-08-01 André Pönitz <poenitz@gmx.net>
2352 * text2.C: make redoParagraph more independent of current cursor
2354 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2356 * text2.C: remove unneeded members
2358 2003-07-30 André Pönitz <poenitz@gmx.net>
2360 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2362 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2363 create a single function...
2365 * paragraph_funcs.C (moveItem): ... here.
2368 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2370 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2372 * LColor.[Ch]: Add comment and greyedout logical colors.
2374 2003-07-30 André Pönitz <poenitz@gmx.net>
2376 * tabular.C: don't use Assert too heavily. This crashes where it
2379 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2381 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2382 is disabled (bug 1232)
2384 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2386 * factory.C: limited 'arg' scope
2388 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2390 * factory.C: fixed Note submenu issues
2392 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2394 * factory.C: submenu for Note/Comment/Greyedout
2396 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2399 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2401 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2404 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2405 greyedout. Patch provided by Jürgen Spitzmüller.
2407 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2409 * kbmap.C (read): fix error message when reading bind files
2411 2003-07-29 Angus Leeming <leeming@lyx.org>
2413 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2414 certainly does not do what it purports to do. I am doing it, and
2415 us, a favour by killing it.
2417 2003-07-28 José Matos <jamatos@lyx.org>
2419 * buffer.C (readBody, do_writeFile):
2420 * paragraph.C(readParagraph): \end_document replaces \the_end.
2422 2003-07-29 André Pönitz <poenitz@gmx.net>
2425 * BufferView_pimpl.[Ch]:
2429 * textcursor.[Ch]: remove toggleToggle & Co
2431 2003-07-28 José Matos <jamatos@fep.up.pt>
2433 * buffer.C (readParagraph):
2434 * params_func (readParToken, readParagraph):
2435 * paragraph.C (write): \layout -> \begin_layout.
2437 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * lyxlex_pimpl.C (setFile): clean up slightly.
2441 * bufferparams.h: add compressed var
2443 * buffer_funcs.C (readFile): adjust for LyXLex change
2444 (newFile): ditto + simplify
2446 * buffer.C (writeFile): handle writing of compressed files
2448 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2449 Check if the file is compressed and set a bufferparm if so.
2451 * Makefile.am (lyx_LDADD): remove explicit -lz
2453 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2455 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2456 makeDocBookFile): put the real LyX version in the first line of
2460 * version.C.in: remove lyx_docversion
2462 * tabular.C (write_attribute): add a template-based version to
2463 write enums properly
2465 2003-07-28 André Pönitz <poenitz@gmx.net>
2470 * text3.C: use doubles again for x-coordinates. They are needed.
2472 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * messages.C (getLocaleDir): use lyx_localedir()
2476 * lyxlex_pimpl.C (setFile): compress stuff
2478 * buffer.C (writeFile): add some compression stuff
2479 (do_writeFile): new func, dont call expliti close... will this
2482 * Makefile.am (lyx_LDADD): add -lz
2484 2003-07-28 José Matos <jamatos@fep.up.pt>
2486 * buffer.C: increment file format.
2487 * paragraph_funcs (readParagraph, readParToken):
2488 * paragraph.C (readParagraph): add \end_layout.
2490 2003-07-27 Angus Leeming <leeming@lyx.org>
2492 * Makefile.am: remove special casing for configure-time setting of
2493 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2495 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2496 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2498 2003-07-26 André Pönitz <poenitz@gmx.net>
2500 * paragraph_func.[Ch]:
2501 * paragraph.C (realizeFont): inline it whereever it is used
2506 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2509 2003-07-26 André Pönitz <poenitz@gmx.net>
2513 * text2.C: get rid of LyXText::need_break_row
2515 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2517 * toc.[Ch]: put namespace toc inside namespace lyx
2519 * MenuBackend.C (expandToc2): adjust for lyx::toc
2522 * lyxfunc.C (dispatch): adjust for lyx::find
2524 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2525 lyx::find instead. Reorganize a bit.
2526 (LyXReplace): rename to replace
2527 (LyXFind): rename to find
2529 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2532 2003-07-26 André Pönitz <poenitz@gmx.net>
2534 * text.C (setHeightOfRow): restrict scope of temporary variable
2536 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2537 code (never has been used?)
2539 2003-07-27 Asger Alstrup <alstrup@local>
2541 * text.C (fill): Optimise algorithm to exploit that we can reuse
2542 the LyXFont for many characters.
2543 (setHeightOfRow): Same thing.
2544 (rowBreakPoint): Same thing.
2546 2003-07-26 Asger Alstrup <alstrup@local>
2548 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2550 * text.C (singleWidth): Spurious font copying in hot-spot
2551 singleWidth avoided. Reorder tests for arabic for efficiency.
2553 * text.C (fill): handle empty paragraphs better.
2555 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2558 * encoding.h: add includes
2560 * lyxrc.C: remove reading of bind files
2562 * lyx_main.C (init): setup bindings and menus only if we have a
2565 * kbmap.C (read): new method. Do the actual reading of bind
2568 * converter.C (dvipdfm_options):
2571 (output): adapt PAPER_* enums.
2573 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2575 * bufferparams.h: remove paper-related enums from there
2577 * paper.h: New file. A trivial header file to hold paper-related
2578 enums. It should later expand to contain many paper-related
2581 * lyxrc.C: declare extern displayTranslator
2583 2003-07-27 José Matos <jamatos@fep.up.pt>
2585 * tabular.[Ch] (linuxdoc): add support for tables and figures
2588 2003-07-27 José Matos <jamatos@fep.up.pt>
2590 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2591 consistency in both functions.
2592 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2594 2003-07-26 Asger Alstrup <alstrup@local>
2596 * rowpainter.C (paintRows): Change algorithm to work directly on
2597 the insets rather than asking every character in the document
2598 whether its an inset.
2600 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2602 * buffer.C (openFileWrite): factorize some code
2604 2003-07-26 Angus Leeming <leeming@lyx.org>
2607 * lyx_main.[Ch]: replace occurances of system_tempdir with
2610 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * rename Inset to InsetOld
2614 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2616 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2617 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2618 which I think is a bit clearer. EDIT is gone, since it was
2619 premature optimisation, and broken for mathed anyway.
2620 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2621 with cursor positioning in insets as well (math insets still do not
2622 work, but that's a different story anyway.) It mysteriously
2623 crashes sometimes with undo in the first paragraph, but I'm fairly
2624 confident that this is a compiler bug.
2626 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2628 * paragraph.C (Paragraph): adjust for new clone return type
2630 (copyIntoMinibuffer): ditto
2632 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2634 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2635 by not having a special case, and always doing a full rebreak of
2636 the document after undo.
2638 2003-07-23 Angus Leeming <leeming@lyx.org>
2640 * factory.C (createInset): InsetExternal::setParams now takes a
2643 2003-07-23 Angus Leeming <leeming@lyx.org>
2645 * factory.C (createInset): changed interface to the external and
2646 graphics mailers' string2params functions.
2648 2003-07-23 Angus Leeming <leeming@lyx.org>
2650 * factory.C (createInset): pass a
2651 Buffer const * parameter to InsetExternalMailer's string2params.
2653 2003-07-22 John Levon <levon@movementarian.org>
2655 * Thesaurus.h: include the right aiksaurus header
2657 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * MenuBackend.C (expand): check menu shortcuts unconditionally
2661 2003-07-21 Angus Leeming <leeming@lyx.org>
2663 * factory.C (createInset): pass a
2664 buffer_path parameter to InsetGraphicsMailer's string2params.
2666 2003-07-21 Angus Leeming <leeming@lyx.org>
2668 * BufferView_pimpl.C (buffer):
2671 * lyxfunc.C (dispatch):
2672 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2673 rather than the grfx shortcut.
2675 2003-07-21 André Pönitz <poenitz@gmx.net>
2677 * rowpainter.C: remove unused variables
2680 * tabular_funcs.h: move to tabular.C
2681 * Makefile.am: adjust
2683 * tabular.[Ch]: basic optical cleaning
2685 * author.h: pass references, not values
2687 2003-07-18 André Pönitz <poenitz@gmx.net>
2695 * text3.C: two-phase drawing for InsetText and InsetTabular
2696 some float -> int changes.
2698 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2700 * lyx_main.C: fix the fix
2702 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2704 * lyx_main.C: fix a crash in batch mode if no files specified
2707 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2709 * format.[Ch] (papersize): moved to BufferParams
2710 * converter.[Ch] (dvips_options): moved to BufferParams
2711 (dvipdfm_options): moved to anon namespace
2712 * bufferparams.[Ch]: added above functions.
2714 2003-07-17 André Pönitz <poenitz@gmx.net>
2718 * text2.C: don't call inset->update() anymore
2720 * metricsinfo.[Ch]: add convenience constructor
2722 2003-07-16 André Pönitz <poenitz@gmx.net>
2727 * text2.C: replace the LyXCursor::irow_ member with
2728 on-demand computation of the value
2730 2003-07-16 John Levon <levon@movementarian.org>
2732 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2734 2003-07-15 André Pönitz <poenitz@gmx.net>
2737 * text2.C: remove no more needed refresh_row
2739 2003-07-15 André Pönitz <poenitz@gmx.net>
2744 * text3.C: refresh_status tristate -> need_update bool
2746 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2748 * lyxtext.h (init): remove reinit argument (act as if always true)
2749 * text2.C: adjust to that
2751 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2753 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2754 * text3.C: use it to delete selections in some cases
2755 (bugs 441, 673, 702, 954).
2757 2003-07-14 André Pönitz <poenitz@gmx.net>
2759 * rowpainter.[Ch]: reduce interface
2761 2003-07-14 André Pönitz <poenitz@gmx.net>
2763 * BufferView_pimpl.C:
2764 * text2.C: adjust after removing unused BufferView * argument
2766 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2768 * text2.C (init): fix a crash fired on resize
2770 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2772 * buffer.[Ch]: added new closing signal
2773 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2774 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2775 BufferView::Pimpl via the closing the signal
2777 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2779 * buffer.[Ch]: take out all bv-related from buffer
2781 * BufferView_pimpl.[Ch]: connect to new signals
2782 * CutAndPaste.C: removed useless asserts
2783 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2786 * lyxfunc.C: moved view-related funciontality from vc here
2787 * paragraph.C: removed outdated comments
2790 2003-07-10 André Pönitz <poenitz@gmx.net>
2792 * BufferView_pimpl.C:
2796 * text2.C: remove InsetText::InnerCache, clean up consequences
2798 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2800 * ispell.C: fix two typos in error messages
2802 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2804 * Extend Note inset to other forms of annotation like Comment
2805 and Greyedout. Right button click gives dialog.
2807 Files modified or added (+):
2811 * ControlNote.[Ch] +
2813 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2814 frontends/controllers
2818 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2820 * aspell.C: add missing namespace lyx::support
2822 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2824 * BufferView.[Ch] (newFile): Add
2825 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2826 * LaTeX.[Ch] (message): added this signal and use it
2827 * buffer.[Ch] (busy, message): added these signals and use them
2828 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2832 * importer.C: use buffer signals instead of direct bv calling
2833 * lyx_cb.[Ch] (ShowMessage): removed
2836 * paragraph_funcs.C:
2837 * text2.C: use buffer signals
2839 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2841 * introduce namespace lyx::graphics
2843 2003-07-02 André Pönitz <poenitz@gmx.net>
2845 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2847 2003-07-01 André Pönitz <poenitz@gmx.net>
2854 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2855 text*.C to text_func.C
2857 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * introduce namespace lyx::support
2861 2003-06-30 André Pönitz <poenitz@gmx.net>
2866 * text.C: re-enable --with-included-string
2868 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * textcursor.C: add <config.h>
2872 * text.C (getWord): remove const from word_location arg
2874 * lyxvc.C (getLogFile): fix const type order
2876 * lyxtext.h: remove const from word_location arg, add arg name
2878 * lyxlayout.h: currect type on labeltype.
2880 * importer.C: correct \file
2882 * converter.C (intToFormat): use std:: on ret val, ws changes
2884 * bufferlist.h: correct \file
2886 * buffer.C (makeLinuxDocFile): fix const type order
2887 (makeDocBookFile): ditto
2888 (fillWithBibKeys): use std:: on stdlib args.
2890 * CutAndPaste.C: fix authors.
2891 (availableSelections): use std:: on return vector
2893 2003-06-27 André Pönitz <poenitz@gmx.net>
2895 * BufferView_pimpl.C:
2896 * bufferview_funcs.C:
2904 * text3.C: remove LyXCursor::row_ member
2907 * text.C: rename fullRebreak() to partialRebreak() and implement
2908 a fullRebreak() that really bereks fully
2910 * textcursor.h: new struct for cursor-related data
2912 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2914 * lyx_main.C (LyX): get full path of document loaded on the
2917 2003-06-26 André Pönitz <poenitz@gmx.net>
2919 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2920 remove unused/broken operator>,<,>=.
2922 * text.C: remove only use of broken operator<= in an Assert().
2924 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2926 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2927 moved errorlist_.clear to showErrorList
2929 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2931 * converter.C (scanLog, runLaTeX):
2932 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2933 move the bv->showErrorList call to the callers
2934 * lyxfunc.C: i.e. here...
2936 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2937 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2938 namespace, the second to...
2939 * buffer_funcs (BufferFormat, parseErrors): added
2940 * errorlist.C (ErrorList(TeXErrors const &)): removed
2942 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2944 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2946 2003-06-24 "Garst R. Reese" <reese@isn.net>
2950 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2954 * version.C.in: change docversion to 1.4
2956 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2958 * buffer.C: fix a bug just introduced
2960 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2962 * buffer.[Ch]: added the parseError signal and use it, removed
2964 * BufferView.[Ch] (addError): moved to ...
2965 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2966 to the Buffer::parseError signal to catch (guess what) parse errors
2967 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2969 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2971 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2972 ability to create a buffer and to return an existing one from
2973 the list. Moved these functions to...
2974 * buffer_funcs.[Ch]: added
2975 * BufferView.[Ch] (loadLyXFile): added
2976 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2977 job removed from bufferlist::loadLyXFile.
2978 * buffer.C (setReadOnly): make it work without view
2979 (i.e added an if (users))
2981 2003-06-19 Angus Leeming <leeming@lyx.org>
2984 * LyXAction.C (init):
2985 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2986 with LFUN_DIALOG_SHOW <name> <data>.
2988 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2990 * CutAndPaste.C (availableSelections): small compilation fix for
2991 ancient (gcc 2.9x) compilers
2993 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * text3.C (cursorNext): add tmp var
2997 * text2.C (updateCounters): for function calling out of for clause
2998 (replaceSelectionWithString): ditto
2999 (insertStringAsParagraphs): ditto
3000 (getColumnNearX): add tmp var
3001 (setCursorFromCoordinates): add tmp var
3002 (cursorDownParagraph): add tmp var
3003 (deleteEmptyParagraphMechanism): add tmp var
3005 * text.C (insertChar): add tmp var
3007 * rowpainter.C (paintDepthBar): add tmp var
3009 * CutAndPaste.C (availableSelections): potentially check all
3010 paragraphs in a cut to fill the shown strings.
3012 2003-06-18 André Pönitz <poenitz@gmx.net>
3014 * kbmap.[Ch]: use vector<> instead of list<>
3016 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3018 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3019 pasteSelection with index
3021 * text2.C (pasteSelection): modify, call pasteSelection with index
3023 * paragraph.C (asString): reimplement version with no interval to
3024 call the one with interval.
3026 * lyxtext.h: add index arg to pasteSelection
3028 * MenuBackend.C (MenuItem): handle PasteRecent
3029 (Menu::read::Menutags): add md_pasterecent
3031 (expandPasteRecent): new function
3034 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3036 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3038 (availableSelections): new function
3040 2003-06-17 Angus Leeming <leeming@lyx.org>
3042 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3044 2003-06-17 Angus Leeming <leeming@lyx.org>
3047 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3049 * lyxfunc.C (dispatch): invoke it.
3051 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3053 * iterators.C (operator++, ParPosition): reintroduce some
3054 const_cast for the benefit of older compilers.
3056 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3058 * text3.C (dispatch): do not modify clipboard when doing
3059 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3060 LFUN_DELETE_SKIP on a selection selection
3062 2003-06-16 André Pönitz <poenitz@gmx.net>
3068 * tabular.[Ch]: IU of clone() and getLabelList();
3070 2003-06-13 André Pönitz <poenitz@gmx.net>
3072 * tabular.h: compactification
3074 2003-06-12 André Pönitz <poenitz@gmx.net>
3078 * tabular_funcs.h: some renaming plus whitespace
3080 2003-06-12 André Pönitz <poenitz@gmx.net>
3083 * BufferView_pimpl.C:
3089 * toc.C: Return a Paragraph & for ParIterator::operator*()
3091 2003-06-11 John Levon <levon@movementarian.org>
3095 * ToolbarBackend.C: add "Toolbars" section and
3098 2003-06-10 Angus Leeming <leeming@lyx.org>
3101 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3103 * lyxfunc.C (dispatch): invoke it.
3105 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * main.C: protect <ios> with HAVE_IOS
3108 (main): protect sync_with_stdio with HAVE_IOS
3110 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3112 * text2.C (cutSelection): adjust
3113 (pasteSelection): adjust
3115 * messages.C: handle get of empty string
3117 * main.C (main): use sync_with_stdio(false)
3119 * lyxfunc.C (dispatch): adjust
3121 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3122 (WriteAs): remove unneeded BufferView arg.
3124 * bufferparams.h: use correct types on papersize, papersize2 and
3127 * bufferparams.C (readToken): adjust for type
3128 (writeLaTeX): add missing cases to switch.
3130 * bufferlist.C (quitWriteBuffer): adjust
3133 * buffer.C (asciiParagraph): remove some commented code.
3135 * CutAndPaste.C: remove current_view extern variable.
3136 (cutSelection): add BufferParams arg.
3137 (eraseSelection): add BufferParams arg.
3138 (pasteSelection): add Buffer const & arg
3140 2003-06-07 John Levon <levon@movementarian.org>
3143 * paragraph_funcs.C:
3144 * paragraph_pimpl.C:
3148 * paragraph.C: allow InsetERT to freely space lines,
3149 and some consolidation of code
3151 2003-06-06 José Matos <jamatos@fep.up.pt>
3153 * buffer.C (makeDocBookFile): fix bug #821
3155 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3157 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3159 2003-06-04 Angus Leeming <leeming@lyx.org>
3161 * buffer.C: bump format to 224.
3163 2003-06-05 André Pönitz <poenitz@gmx.net>
3165 * text2.C (redoParagraphs): remove two const_cast<>
3167 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3169 * ParagraphList.h: remove last remnants of NO_STD_LIST
3171 2003-06-03 Angus Leeming <leeming@lyx.org>
3173 * factory.C (createInset): small change to the way InsetExternal's params
3176 2003-06-04 André Pönitz <poenitz@gmx.net>
3178 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3180 * paragraph_pimpl.h:
3181 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3183 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3185 * undo_funcs.C: make some simple cases of undo work again
3187 2003-06-03 John Levon <levon@movementarian.org>
3189 * ispell.C: HPUX doesn't have sys/select.h
3192 2003-06-03 John Levon <levon@movementarian.org>
3194 * CutAndPaste.C: update tabular and include inset
3199 * paragraph.C: remove owningBuffer(), don't pass Buffer
3202 * factory.C: insetGraphicsParams changed
3204 2003-06-02 John Levon <levon@movementarian.org>
3210 * text3.C: remove insetparent
3212 2003-06-02 John Levon <levon@movementarian.org>
3215 * buffer.C: fix inset_iterator.end(), move out of line
3218 2003-06-01 John Levon <levon@movementarian.org>
3220 * text3.C: use a proper cut/paste when doing inset
3221 insert (from Jürgen Spitzmüller)
3223 2003-06-01 John Levon <levon@movementarian.org>
3225 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3227 2003-05-30 André Pönitz <poenitz@gmx.net>
3229 * rowpainter.C: unify second drawing phase
3231 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * trans_mgr.C: remove one case of current_view
3235 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3237 * paragraph_funcs.h: remove paragraph.h include
3239 * paragraph.h: delete NO_STD_LIST stuff
3241 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3243 * buffer.h: remove paragraph.h include
3245 * ParagraphList.C: delete file
3247 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3249 * toc.C (getTocList): adjust
3251 * paragraph_pimpl.C (validate): adjust
3253 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3255 * paragraph.C (Paragraph): adjust
3256 (getPositionOfInset): use const_iterator, adjust
3257 (bibitem): use const_iterator, adjust
3258 (setInsetOwner): adjust
3260 * iterators.C (operator++): adjust
3262 * InsetList.[Ch]: Replace selfmade iterator with standard
3263 vector::iterator also introduce const_iterator. Remove getPos,
3264 getInset and setInset from InsetTable. Adjust accordingly.
3266 * BufferView.C (lockInset): adjust
3267 (ChangeInsets): adjust
3269 * tabular.[Ch]: delete commented same_id functions
3271 2003-05-28 John Levon <levon@movementarian.org>
3273 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3275 2003-05-28 André Pönitz <poenitz@gmx.net>
3277 * metricsinfo.[Ch]: remove 'fullredraw' member
3279 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3281 * lyxtextclass.C (operator): remove caching.
3283 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * text2.C (cursorBottom): adjust
3288 (setCounter): use ParagraphList::find, adjust
3290 * text.C (workWidth): use ParagraphList::find, adjust
3292 * lyxcursor.C (LyXCursor): adjust
3294 * buffer.C (inset_iterator): adjust
3296 * ParagraphList.h: make iterator(value_type) private, make
3297 ParagraphList a friend of iterator.
3299 * ParagraphList.C (find): new function
3301 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3303 2003-05-27 André Pönitz <poenitz@gmx.net>
3305 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3307 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3309 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3311 2003-05-26 John Levon <levon@movementarian.org>
3313 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3315 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * remove same_id from function signatures, adjust.
3319 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3323 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3325 * paragraph.C (Paragraph): get rid of same_ids parameter
3327 * ParagraphList.C (insert): adjust
3330 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3332 * paragraph_funcs.C (breakParagraph): adjust
3333 (breakParagraphConservative): adjust
3335 * buffer.C (readParagraph): adjust
3337 * ParagraphList.C (insert): take a reference instead of a pointer
3340 * paragraph.[Ch] (id): new function
3342 * bufferlist.C (newFile): adjust
3344 * ParagraphList.C (ParagraphList): adjust
3346 (push_back): take a reference instead of a pointer.
3348 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3350 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3353 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3354 set else use old code.
3356 * ParagraphList.C: remove all NO_NEXT code and only compile this
3357 code of NO_STD_LIST is set.
3359 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3361 * BufferView_pimpl.C:
3371 * graphics/GraphicsConverter.C:
3372 * graphics/PreviewLoader.C: header adjustment
3374 2003-05-23 Angus Leeming <leeming@lyx.org>
3376 * LaTeXFeatures.[Ch] (useBabel): new method.
3377 * bufferparams.C (writeLaTeX): use it.
3379 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * ParagraphList.h (set): remove unused function.
3383 2003-05-23 André Pönitz <poenitz@gmx.net>
3386 * BufferView_pimpl.C:
3390 * undo_funcs.C: setUndo reworked
3392 * iterators.[Ch]: add access to topmost ParagraphList
3394 * lyxtext.[Ch] (workWidth): add a const
3396 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3398 * texrow.[Ch] (increasePos): remove function
3399 * exporter.C (export): removed unused var and outdated comment
3401 2003-05-23 Angus Leeming <leeming@lyx.org>
3403 * latexrunparams.h: rename fragile as moving_arg.
3404 * paragraph.C (simpleTeXOnePar): ditto.
3405 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3407 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3409 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3411 (textUndoOrRedo): comment out a currently unused var.
3413 * paragraph.h (NO_NEXT): enable NO_NEXT
3415 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3417 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3419 * exporter.C (Export): adjust for removeAutoInsets removal.
3421 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3423 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3425 * BufferView.[Ch] (removeAutoInsets): delete function
3427 2003-05-22 Angus Leeming <leeming@lyx.org>
3429 * latexrunparams.h: add a free_spacing variable.
3431 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3432 to pass moving_arg, as the data is stored in runparams.fragile.
3434 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3435 to Inset::latexOptional or to simpleTeXOnePar.
3437 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3438 free_spacing arg to Inset::latexOptional.
3440 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3443 2003-05-22 Angus Leeming <leeming@lyx.org>
3445 * latexrunparams.h: add fragile and use_babel variables.
3447 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3448 * buffer.C (makeLaTeXFile): store this returned value in
3449 runparams.use_babel, thus passing it to the inset::latex methods.
3451 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3452 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3454 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3455 longer has a fragile arg, as it is stored in runparams.fragile.
3457 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3458 moving_arg parameter as the data is stored in runparams.fragile.
3460 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3461 a fragile parameter as the data is stored in runparams.fragile.
3463 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3467 2003-05-22 Angus Leeming <leeming@lyx.org>
3469 * latexrunparams.h: add a 'bool nice' which defaults to false.
3471 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3472 now encapsulated within runparams.
3474 * bufferlist.C (updateIncludedTeXfiles):
3475 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3477 2003-05-22 Angus Leeming <leeming@lyx.org>
3479 * latexrunparams.h: new file containing struct LatexRunParams.
3480 * Makefile.am: add new file.
3482 * LaTeX.[Ch] (c-tor, run):
3483 * buffer.[Ch] (makeLaTeXFile):
3484 * bufferlist.[Ch] (updateIncludedTeXfiles):
3485 * converter.C (convert, scanLog):
3486 * converter.[Ch] (runLaTeX):
3487 * exporter.C (Export):
3488 * paragraph.[Ch] (simpleTeXOnePar):
3489 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3490 * paragraph_funcs.[Ch] (latexParagraphs):
3491 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3492 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3493 pass around a LatexRunParams parameter.
3495 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * paragraph.[Ch]: remove unused constructor
3499 * ParagraphList.C (erase): new function, taking two iterators
3501 2003-05-22 André Pönitz <poenitz@gmx.net>
3503 * undo_funcs.C: remove duplicated code
3505 * iterator.[Ch]: operator=
3507 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * tabular.C (SetMultiColumn): ws changes
3511 * rowpainter.C (paintFirst): get rid of a ->previous
3513 * lyx_cb.C (getPossibleLabel): parlist simplification
3515 * BufferView.C (ChangeInsets): simplify slightly.
3517 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3519 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3520 * lfuns.h: new LFUN_SPACE
3521 * lyxfunc.C: protected space has a new lfun
3522 * paragraph_funcs.C: read new space insets
3524 * factory.C: handle new space insets
3526 2003-05-22 André Pönitz <poenitz@gmx.net>
3529 * BufferView_pimpl.C:
3532 * undo_funcs.C: return a ParIterator from getParFromID.
3534 * iterators.[Ch]: add two const's
3536 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * toc.C (getTocList): adjust
3540 * iterators.[Ch]: rework for parlist
3542 * buffer.C (par_iterator_begin): adjust
3543 (par_iterator_end): adjust
3545 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3547 * BufferView.C (removeAutoInsets): adjust
3548 (ChangeInsets): adjust
3550 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3552 * text.C (top_y): fix bug 1110
3554 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3556 * errorlist.[Ch]: added
3559 * BufferView_pimpl.C:
3560 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3563 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * Makefile.am: ensure that lyx is relinked upon changes to the
3566 various "convenience" libs.
3568 2003-05-20 Angus Leeming <leeming@lyx.org>
3570 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3571 files are compiled in alphabetical order again.
3573 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3575 2003-05-19 Angus Leeming <leeming@lyx.org>
3577 * gettext.[Ch]: remove "char const * _(char const *)".
3579 2003-05-19 André Pönitz <poenitz@gmx.net>
3581 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3590 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3592 2003-05-19 André Pönitz <poenitz@gmx.net>
3596 * lyxtextclass.[Ch]:
3598 * paragraph_funcs.[Ch]:
3600 * text3.C: more insetenv work
3602 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3604 * ParagraphParameters.C (params2string): small bug fixed
3606 2003-05-16 André Pönitz <poenitz@gmx.net>
3609 * bufferview_funcs.C: patch from Kornel Benko to prevent
3610 crash when _(...) is called twice in a statement
3612 2003-05-16 André Pönitz <poenitz@gmx.net>
3619 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3621 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3623 * lyx_main.C (init): remove spurious static_cast
3625 2003-05-14 André Pönitz <poenitz@gmx.net>
3627 * BufferView.C: fix format string
3629 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3631 * BufferView.[Ch] (insertErrors): removed
3632 * BufferView.[Ch] (showErrorList): added
3633 * buffer.C (runChkTeX):
3634 * converter.C (scanLog): call showErrorList instead of inserterrors
3636 2003-05-13 André Pönitz <poenitz@gmx.net>
3638 * BufferView_pimpl.C:
3640 * bufferview_func.C:
3647 * tabular_funcs.h: tostr() from its own header
3649 * ParagraphParameters.C:
3654 * text3.C: STRCONV()
3656 2003-05-12 André Pönitz <poenitz@gmx.net>
3659 * BufferView_pimpl.C:
3663 * ParagraphParameters.C:
3667 * bufferview_funcs.C:
3680 * paragraph_funcs.C:
3684 * text3.C: boost::format -> bformat all over the place
3687 2003-05-09 André Pönitz <poenitz@gmx.net>
3689 * LColor.[Ch]: Pimpl the #include <map> away
3691 2003-05-09 John Levon <levon@movementarian.org>
3693 * bufferlist.C: never remove emergency saves
3695 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * Makefile.am: better lib building
3699 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3703 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3704 (simpleTeXSpecialChars): adjust
3705 (simpleTeXSpecialChars): adjust
3706 * paragraph.C (simpleTeXOnePar): adjust
3707 * buffer.C (makeLaTeXFile): adjust
3709 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3711 * text2.C (changeDepth): parlist cleanup
3712 (getColumnNearX): ditto
3714 * rowpainter.C (getLabelFont): parlist cleanup
3716 * bufferlist.C (newFile): parlist cleanup
3718 * CutAndPaste.C (eraseSelection): parlist cleanup
3720 * BufferView_pimpl.C (trackChanges): parlist cleanup
3723 * BufferView.C (lockInset): parlist cleanup.
3724 (ChangeInsets): ditto
3726 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * CutAndPaste.h: Update file header.
3730 * CutAndPaste.C: Update file header.
3731 Store the parts cut out of the Document in a limited_stack.
3732 (copySelection): adjust
3733 (pasteSelection): new function, takes the index in the limited stack.
3734 (nrOfParagraphs): adjust
3735 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3736 simplify error inset insertion.
3737 (checkPastePossible): adjust
3739 2003-05-06 John Levon <levon@movementarian.org>
3741 * text2.C: don't cast wrap inset to float
3743 2003-05-05 André Pönitz <poenitz@gmx.net>
3746 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3748 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3749 few naked Paragraph *.
3751 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3753 * bufferparams.C: Output warning if a document with missing
3754 TeX document class is loaded
3755 * exporter.C: Disable TeX exports if the document class is missing
3758 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3759 isTeXClassAvailable()
3761 2003-05-03 John Levon <levon@movementarian.org>
3764 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3765 explicit cursor show/hide
3767 * BufferView_pimpl.h:
3768 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3769 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3771 * lyxfunc.C: hide cursor before dispatching.
3776 * text3.C: remove explicit cursor hides
3778 2003-05-02 André Pönitz <poenitz@gmx.net>
3780 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3783 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3786 * text2.C: tiny whitespace
3788 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3790 * undo_funcs.C: almost only ws changes.
3792 * ParagraphList.C (splice): just return if pl is empty.
3794 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * ParagraphList.C (splice): new function.
3798 * CutAndPaste.C (pasteSelection): use it
3800 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * CutAndPaste.C (pasteSelection): remove the last next and
3803 previous from this file.
3805 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3807 * CutAndPaste.C (pasteSelection): more clean up, user proper
3808 ParagraphList functions for pasteing.
3810 * ParagraphList.C (insert): new function, three arg insert
3812 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * ParagraphList.C (insert): new function, three arg insert
3816 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3819 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3823 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3827 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3830 (copySelection): clean up a bit.
3831 (pasteSelection): use make_pair
3833 * ParagraphList.C (ParagraphList): implement copy constructor
3834 (operator=): implement, base on copy constructor.
3837 * paragraph.C (erase): return a bool
3839 * paragraph_pimpl.C (erasePos): remove function, move contents...
3840 (erase): ... here. Return a bool.
3841 (erase): call erase instead of erasePos.
3843 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3845 * ParagraphList.h: define PitPosPair
3846 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3847 ParagraphList, fix a bug on pasting multiple pars
3848 * text2.C: change interface to C&P
3850 2003-04-30 André Pönitz <poenitz@gmx.net>
3852 * undo_func.C: revert part of yesterday's patch 2
3854 2003-04-30 John Levon <levon@movementarian.org>
3856 * LColor.C: s/tabular/table/
3858 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * text3.C (dispatch): do not convert iterator -> pointer
3861 * undo_funcs.C (setCursorParUndo): ditto
3862 * text_funcs.C (transposeChars): ditto
3864 * text2.C (setLayout): ws changes only
3866 * text.C (breakParagraph): do not convert iterator -> pointer
3868 (acceptChange): ditto
3869 (rejectChange): ditto
3874 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3877 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3879 * text3.C (gotoInset): YABG (yet another bad getChar)
3881 2003-04-29 André Pönitz <poenitz@gmx.net>
3883 * paragraph.h: make operator= private unimplemented as long as
3886 * ParagraphList.C: whitespace
3889 * paragraph_pimpl.[Ch]:
3890 * paragraph_funcs.C:
3892 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3895 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3897 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3899 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3900 * paragraph.[Ch] (erase):
3901 * paragraph_pimpl.[Ch] (erase): change return type and value
3902 * text2.C (cutSelection): some rework
3904 2003-04-28 John Levon <levon@movementarian.org>
3906 * bufferlist.C: changes for unsaved changes dialog
3908 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3910 * bufferlist.C (newFile): set language (messages_) for new
3913 * buffer.C (readFile): ws changes only.
3915 2003-04-28 André Pönitz <poenitz@gmx.net>
3920 * BufferView_pimpl.C:
3921 * BufferView.C: getParFromID related ParagraphList::iterator changes
3923 2003-04-28 André Pönitz <poenitz@gmx.net>
3925 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3928 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * messages.C: remove one more localedir class variable.
3932 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * messages.C (getLocaleDir): singleton generation function
3936 (Messages): add a default constructor.
3938 * main.C (main): do not setup localedir here, do not call
3941 * gettext.C (_): use it.
3942 (gettext_init): delete funciton
3944 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * gettext.C (getLyXMessages): new singleton generating function.
3948 * buffer.C (updateDocLang): adjust
3950 * Makefile.am (messages.o): add target
3951 (main.o): remove target
3953 2003-04-27 John Levon <levon@movementarian.org>
3958 * lyxvc.C: specify cancel button in Alert::prompt
3960 2003-04-26 John Levon <levon@movementarian.org>
3965 * LyXAction.C: add LFUN_INSET_SETTINGS
3967 * lyxfunc.C: don't enable tabular-feature when there's
3968 just any locking inset
3970 2003-04-26 John Levon <levon@movementarian.org>
3972 * bufferlist.C: re-add Cancel to buffer close question
3974 * lyxfunc.C: fix import UI a bit
3976 2003-04-25 John Levon <levon@movementarian.org>
3978 * gettext.C: remove the broken asserts for now
3980 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * messages.C: make case where setlocale cannot comply work better.
3984 * buffer.C (updateDocLang): new function
3985 (changeLanguage): use it
3988 * text2.C (setCounter): use B_ a bit.
3990 * lyxlayout.C (Read): be sure to trim the label strings.
3992 * messages.C (Messages): fix typo in comment
3994 * buffer.C (readFile): set message_ after file is loaded.
3995 (makeDocBookFile): remove double return
3996 (changeLanguage): reset message_ upon language change.
3997 (B_): new func, use this to get translated buffer strings.
3999 * main.C: add myself and Jean Marc as authors.
4001 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4003 * messages.[hC]: pimplify Messages, and three different pimpls to be
4004 used in different circumstances.
4006 * gettext.[Ch]: change for use with new message code.
4008 2003-04-24 André Pönitz <poenitz@gmx.net>
4010 * factory.C: support for eqref
4012 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4014 * messages.[Ch]: add missing char
4016 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4018 * messages.[Ch]: New files
4020 2003-04-18 John Levon <levon@movementarian.org>
4024 * BufferView_pimpl.C:
4028 * text2.C: remove layout-copy/paste (bug 778)
4030 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4032 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4034 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4036 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4037 if they succeed. Act accordingly.
4039 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * text2.C (setCharFont): adjust
4042 (setCounter): adjust
4043 (insertStringAsLines): adjust
4045 * text.C (leftMargin): adjust
4046 (setHeightOfRow): adjust
4048 * rowpainter.C (paintFirst): adjust
4051 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4053 (isFirstInSequence): ditto
4054 (getEndLabel): ditto
4057 * paragraph.C (getParLanguage): comment out some hard stuff.
4059 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4061 (simpleDocBookOnePar): ditto
4062 (makeDocBookFile): use ParagraphList::iterator
4064 * CutAndPaste.C (pasteSelection): adjust
4066 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * text2.C (getFont): adjust
4069 (getLayoutFont): adjust
4070 (getLabelFont): adjust
4072 * paragraph_funcs.C (TeXOnePar): adjust
4074 * buffer.C (simpleLinuxDocOnePar): adjust
4075 (simpleDocBookOnePar): adjust
4077 * CutAndPaste.C (pasteSelection): adjust
4079 * BufferView.C (getEncoding): adjust
4081 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4083 2003-04-16 John Levon <levon@movementarian.org>
4085 * lyxfind.C: use parlist stuff for search/changes
4087 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4091 * text2.C (deleteEmptyParagraphMechanism): adjust
4093 * text2.[Ch] (ownerParagraph): delete func (both of them
4095 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4099 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * ParagraphList.C: prepare for NO_NEXT
4103 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * text2.C (getFont): adjust
4106 (getLayoutFont): adjust
4107 (getLabelFont): adjust
4109 * paragraph.C (getFont): adjust
4110 (getLabelFont): adjust
4111 (getLayoutFont): adjust
4113 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4115 2003-04-15 John Levon <levon@movementarian.org>
4119 * lyx_main.C: handle Include in .ui files
4121 2003-04-15 John Levon <levon@movementarian.org>
4123 * MenuBackend.C: make the doc files length shorter
4126 * ToolbarBackend.C: handle toolbar placement flags,
4129 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4134 * paragraph_funcs.C (TeXOnePar): adjust
4136 * paragraph.C (getLabelFont): add outerfont arg, adjust
4137 (getLayoutFont): ditto
4138 (simpleTeXOnePar): adjust
4140 * paragraph_pimpl.C (realizeFont): delete func
4142 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4144 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4145 row argument, constify cur argument.
4147 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4149 * text2.C (getFont): adjust
4150 (getLayoutFont): adjust
4151 (getLabelFont): adjust
4153 * paragraph_funcs.C (TeXOnePar): adjust
4154 (outerFont): new func...
4155 (realizeFont): ...moved out from here, changed this to facilitate
4158 * paragraph.C (getFont): take outerfont as arg, adjust
4159 (simpleTeXOnePar): add outerfont arg, adjust
4161 * buffer.C (simpleLinuxDocOnePar): adjust
4162 (simpleDocBookOnePar): adjust
4164 * CutAndPaste.C (pasteSelection): adjust
4166 * BufferView.C (getEncoding): adjust
4168 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * text2.C (setCharFont): adjust
4171 (setCounter): adjust
4173 * text.C (leftMargin): adjust
4174 (setHeightOfRow): adjust
4176 * rowpainter.C (paintFirst): adjust
4179 * paragraph_pimpl.C (realizeFont): adjust
4181 * paragraph.C (isFirstInSequence): move from here...
4182 * paragraph_funcs.C (isFirstInSequence): ...to here
4184 * paragraph.C (outerHook): move from here...
4185 * paragraph_funcs.C (outerHook): ...to here
4187 * paragraph.C (depthHook): move from here...
4188 * paragraph_funcs.C (depthHook): ...to here
4190 * paragraph.C (getEndLabel): move from here...
4191 * paragraph_funcs.C (getEndLabel): ...to here
4193 * text2.C (realizeFont): move from here...
4194 * paragraph_funcs.C (realizeFont): ...to here
4196 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4198 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4200 2003-04-14 Angus Leeming <leeming@lyx.org>
4202 * LColor.[Ch]: scrap LColor mathcursor.
4204 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * lyxlex.[Ch] (text): delete function
4207 * trans.C (Load): adjust
4208 * paragraph_funcs.C (readParToken): adjust
4210 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4213 vector<char> instead of a char[].
4215 * lyxlex_pimpl.C (getString): adjust
4217 (lex): use getString
4221 * lyxlex.C (text): use pimpl_->getString()
4225 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4228 (makeFontEntriesLayoutSpecific): temp var for par.size()
4229 (setLayout): temp var for ownerParagraphs().end()
4230 (fullRebreak): temp var for rows().end()
4231 (selectionAsString): temp var for boost::next(startpit), realize
4232 that the while really is a regular for loop.
4233 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4234 setCursor in one place.
4235 (setParagraph): temp vr for ownerParagraphs().end()
4236 (updateCounters): make the while loop a for loop
4237 (cutSelection): temp var for ownerParagraphs().end()
4238 (updateInset): make the do {} while() a regular for loop
4239 (getCursorX): use temp vars
4240 (setCurrentFont): use temp vars
4241 (getColumnNearX): use temp vars
4243 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * text.C (transformChar): use temp var for getChar
4246 (computeBidiTables): use temp var for row->par()
4247 (fill): move temp vars for row->par() and pit->layout() earlier in
4249 (labelFill): use temp var for row->par()
4250 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4251 asc and desc, realize that pit never changes and that firstpit is
4252 just a duplicate and not needed. Exchange rit->par() with pit in a
4254 (breakAgain): use a temp var for boost::next(rit)
4255 (breakAgainOneRow): ditto
4256 (breakParagraph): use a temp var for rows().begin()
4257 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4258 (cursorRightOneWord): use temp var for cursor.par() and
4259 cursor.pos(), remove usage of tmpcursor.
4260 (cursorLeftOneWord): use temp var for cursor.par() and
4261 cursor.pos() only set cur at end of function.
4263 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * text.C, text2.C: exchange all usage of Paragraph::next with
4266 boost::next(ParagraphList::iterator)
4268 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4270 * text2.C (cursorTop): simplify implementation
4271 (cursorBottom): ditto
4272 (setParagraph): use ParagraphList::iterator
4273 (setCurrentFont): adjust
4274 (getColumnNearX): adjust
4275 (cursorRight): adjust
4276 (cursorLeft): remove usage of Paragraph::previous
4277 (cursorUpParagraph): ditto
4278 (deleteEmptyParagraphMechanism): slight cleanup
4280 * text.C (isBoundary): take a Paragraph const & instead of a
4282 (addressBreakPoint): ditto
4283 (leftMargin): remove usage of Paragraph::previous.
4284 (setHeightOfRow): ditto
4285 (cursorLeftOneWord): ditto
4286 (selectNextWordToSpellcheck): ditto
4289 (breakParagraph): remove one usage of Paragraph::next
4290 (redoParagraph): ditto
4291 (acceptChange): ditto
4292 (insertChar): adjust
4293 (rowBreakPoint): adjust
4295 * bufferview_funcs.C (toggleAndShow): adjust
4297 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4299 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4300 methods to access it.
4302 * text.C: Added updateRowPositions to compute all row positions.
4303 Make top_y and getRowNearY() to use the cached y position
4305 2003-04-11 John Levon <levon@movementarian.org>
4307 * text.C (rowBreakPoint): reintroduce the labelEnd
4308 checks, code copied from the row fill stuff. Deep voodoo.
4310 * text.C (fill): add a comment and debugging for the
4313 2003-04-11 John Levon <levon@movementarian.org>
4315 * text.C: make sure fullrow insets get wrapped to the next line,
4316 even when they're in a manual label
4318 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * text2.C (insertParagraph): make it take ParagraphList::iterator
4322 (setLayout): make it return ParagraphList::iterator
4323 (redoParagraphs): ditto
4325 (checkParagraph): ditto
4327 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4329 * text2.C: adjust several funcs.
4330 (realizeFont): take a ParagraphList::iterator as arg.
4331 (getLayoutFont): ditto
4332 (getLabelFont): ditto
4333 (setCharFont): ditto
4335 * text.C: adjust several funcs.
4337 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4339 * text.C (selectNextWordToSpellcheck): don't accidentally
4342 2003-04-10 John Levon <levon@movementarian.org>
4344 * ToolbarBackend.C (getIcon): special handling for
4347 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4349 * text2.C (cursorRight): a getChar assert fixed
4351 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * text2.C (getFont): change to take a ParagraphList::iterator
4354 instead of Paragraph*
4355 Adjust several functions.
4357 * text.C (transformChar): change to take a ParagraphList::iterator
4358 instead of Paragraph*
4359 (singleWidth): ditto
4360 Adjust several functions.
4362 * rowpainter.C: adjust several functions
4363 * rowpainter.h:store a ParagraphList::iterator and not a
4367 2003-04-09 John Levon <levon@movementarian.org>
4372 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4373 and the "help" bits as well
4375 2003-04-09 John Levon <levon@movementarian.org>
4378 * ToolbarBackend.C: allow multiple toolbars
4380 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * undo_funcs.C (setCursorParUndo): adjust
4384 * text_funcs.C (transposeChars): adjust
4386 * text3.C (gotoNextInset): adjust
4389 * text2.C (setLayout): adjust
4390 (changeDepth): adjust
4392 (redoParagraphs): adjust
4393 (selectionAsString): adjust
4394 (setParagraph): adjust
4395 (insertInset): adjust
4396 (cutSelection): adjust
4397 (copySelection): adjust
4398 (pasteSelection): adjust
4399 (insertStringAsLines): adjust
4400 (updateInset): adjust
4401 (setCursor): change to take a ParagraphList::iterator parameter
4402 (setCursorIntern): change to take a ParagraphList::iterator parameter
4403 (setCurrentFont): adjust
4404 (cursorLeft): adjust
4405 (cursorRight): adjust
4406 (deleteEmptyParagraphMechanism): adjust
4408 * text.C (breakParagraph): adjust
4409 (insertChar): adjust
4410 (acceptChange): adjust
4411 (rejectChange): adjust
4412 (selectNextWordToSpellcheck): adjust
4413 (changeCase): adjust
4417 * lyxfind.C (SearchForward): adjust
4418 (SearchBackward): adjust
4419 (nextChange): adjust
4421 * lyxcursor.C (par): adjust
4423 * lyxcursor.h: store a ParagraphList::iterator instead of a
4426 * lyx_cb.C (getPossibleLabel): adjust
4428 * bufferview_funcs.C (toggleAndShow): adjust
4430 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4433 * BufferView.C (removeAutoInsets): adjust
4434 (lockedInsetStoreUndo): adjust
4436 2003-04-09 John Levon <levon@movementarian.org>
4438 * ToolbarBackend.C: try icon without argument
4439 if with argument fails
4441 2003-04-08 John Levon <levon@movementarian.org>
4444 * ToolbarBackend.C: add getIcon(), handle tooltip,
4445 and change from "Icon" to "Item".
4447 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4449 * BufferView.C (lockInset): another bad getchar crunched
4451 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4453 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4456 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4458 * lyxfind.C (searchForward, searchBackwards): bug 782
4460 2003-04-07 John Levon <levon@movementarian.org>
4462 * paragraph.C: remove dead comment
4464 * text.C: remove troublesome depth-fiddling code
4465 in leftMargin() and rightMargin() (bug 1017)
4467 * text.C: fix breaking of rows in nested lists
4470 * text2.C (updateCounters): fix up depth values
4473 2003-04-07 John Levon <levon@movementarian.org>
4475 * BufferView_pimpl.C: clear message when doc finishes resizing,
4476 and after a mouse event
4478 * lyxfunc.C: clear message after exiting inset
4480 2003-04-07 John Levon <levon@movementarian.org>
4482 * bufferview_funcs.C: show math status not outside
4483 status in the statusbar
4485 2003-04-07 John Levon <levon@movementarian.org>
4487 * lyxfunc.C: note status changed after a depth change
4489 2003-04-04 Angus Leeming <leeming@lyx.org>
4491 * LaTeX.h: move AuxInfo operator==, != out of line.
4492 Remove LaTeX virtual destructor; nothing derives from it.
4493 Move operator()() out of public area and rename it startscript().
4494 Change protected for private.
4496 2003-04-04 Angus Leeming <leeming@lyx.org>
4499 * text2.C: remove unneeded #includes.
4501 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4503 * text2.C (dEPM): fix the heigth of the next row
4505 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4507 * text.C: squashed an invalid getChar requester + some ws changes
4509 2003-04-03 John Levon <levon@movementarian.org>
4511 * bufferview_funcs.h:
4512 * bufferview_funcs.C:
4515 * text2.C: make getStatus work for the env depth lfuns
4517 2003-04-03 John Levon <levon@movementarian.org>
4519 * bufferview_funcs.h:
4520 * bufferview_funcs.C:
4523 * text2.C: parlistize decDepth(), by merging it with incDepth()
4525 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * lyxrow.h: store a ParagraphList::iterator instead of a
4528 Paragraph* and adjust other class functions to suit.
4530 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4533 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4535 * text2.C (setCursor): do not anchor to cursor row for the time being
4537 2003-04-02 John Levon <levon@movementarian.org>
4544 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4546 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * paragraph.h: make ParagraphList and ParagraphList::iterator
4549 friends of Paragraph.
4551 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4553 * ParagraphList.C: Use the private next_ and previous_ from
4556 2003-04-01 John Levon <levon@movementarian.org>
4560 * Makefile.am: rename, remove defaults gunk
4563 * MenuBackend.C: remove defaults gunk
4566 * Languages.C: remove defaults gunk
4569 * lyx_main.C: error out if files couldn't be found.
4571 2003-04-02 John Levon <levon@movementarian.org>
4573 * text2.C: make incDepth() use parlist
4575 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * undo_funcs.C (firstUndoParagraph): adjust
4579 * text3.C (gotoInset): adjust
4580 (dispatch): adjust, and rewrite loop.
4582 * text2.C (init): adjust, and rewrite loop.
4583 (redoParagraphs): adjust
4584 (updateInset): adjust, and rewrite loop.
4585 (deleteEmptyParagraphMechanism): adjust
4587 * tabular.C (LyXTabular): adjust
4588 (SetMultiColumn): adjust
4591 * lyxtext.[Ch] (ownerParagraph): delete function
4592 (ownerParagraphs): new function returns a ParagraphList.
4594 * BufferView.C (removeAutoInsets): adjust
4595 (insertErrors): adjust
4596 (setCursorFromRow): adjust
4598 2003-04-01 Angus Leeming <leeming@lyx.org>
4600 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4603 2003-04-02 John Levon <levon@movementarian.org>
4609 * text_funcs.C: make transposeChars a free function
4611 * lyxrow_funcs.C: remove wrong comment
4613 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4616 * rowpainter.C: adjust
4621 * lyxrow_funcs. [Ch]: new files
4623 * lyxrow.[Ch]: remove next and previous pointers
4624 (next,previous): remove accessor functions
4625 (isParEnd): move to lyxrow_funcs
4626 (lastPos): move to lyxrow_funcs
4627 (nextRowIsAllInset): move to lyxrow_funcs
4628 (lastPrintablePos): move to lyxrow_funcs
4629 (numberOfSeparators): move to lyxrow_funcs
4630 (numberOfHfills): move to lyxrow_funcs
4631 (numberOfLabelHfills): move to lyxrow_funcs
4632 (hfillExpansion): move to lyxrow_funcs
4636 * bufferview_funcs.C (toggleAndShow): adjust
4638 * RowList.h: Remove class RowList from file leave just a
4641 * RowList.C: delete file
4643 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4646 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * text3.C (cursorPrevious): adjust
4649 (cursorNext): adjust
4652 * text2.C (redoHeightOfParagraph): adjust
4653 (redoDrawingOfParagraph): adjust
4656 * text.C (breakParagraph): adjust
4657 (insertChar): adjust
4660 * rowpainter.C (RowPainter): adjust
4661 (leftMargin): simplify and adjust
4662 (most rowpainter functions): adjust.
4664 * rowpainter.h: store the row as RowList::iterator not as Row*
4666 * lyxcursor.C (row): taka RowList::iterator as arg
4669 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4672 2003-04-01 Angus Leeming <leeming@lyx.org>
4674 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4675 stuff like bool Bool.
4677 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4679 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4682 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4687 * lyxtext.h (rows): drop one version and leve a const variant that
4688 returns a RowList::iterator.
4690 2003-03-31 Angus Leeming <leeming@lyx.org>
4692 * text.C (fill): ensure that the signature is the same as that in the
4695 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4697 * text2.C (redoParagraphs): adjust
4698 (updateCounters): adjust
4699 (checkParagraph): adjust
4700 (getColumnNearX): adjust and reformat a bit.
4702 * text.C (top_y): adjust
4704 (leftMargin): adjust
4705 (prepareToPrint): adjust
4707 (getRowNearY): adjust
4709 * lyxtext.h: make rowlist_ mutable.
4711 * RowList.h: add const_iterator
4712 * RowList.C: adjust for RowList::const_iterator.
4714 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4717 2003-03-31 John Levon <levon@movementarian.org>
4720 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4722 * lyx_main.C: set default fonts from using lyx_gui funcs
4724 * exporter.C: pdf_mode moved from lyxrc
4727 * lyxfunc.C: changes from above
4729 2003-03-31 John Levon <levon@movementarian.org>
4731 * lyx_main.C: fix to the last fix
4733 2003-03-31 John Levon <levon@movementarian.org>
4735 * bufferlist.C: "Load original" -> "Load Original"
4741 * format.C: more Alert cleanups
4743 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * text2.C (removeParagraph): make it take a RowList::iterator as
4747 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4748 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4750 * text.C (anchor_row): make it take a RowList::iterator as arg,
4752 (computeBidiTables): make it take a const reference to Row instead
4753 of Row pointer, adjust.
4754 (leftMargin): make it take a RowList::iterator as arg, adjust.
4755 (rowBreakPoint): adjust
4756 (breakAgainOneRow): make it take a RowList::iterator as arg,
4758 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4760 * bufferview_funcs.C (toggleAndShow): adjust
4762 2003-03-30 John Levon <levon@movementarian.org>
4766 * boost-inst.C: moved to support
4768 * several files: changes as a result
4770 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4772 * text2.C (LyXText): adjust.
4774 (removeRow): make it take a RowList::iterator as arg, adjust.
4775 (fullRebreak): adjust
4776 (deleteEmptyParagraphMechanism): adjust
4777 (clearPaint): adjust
4780 * text.C (top_y): adjust
4781 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4782 (breakAgain): make it take a RowList::iterator as arg, adjust.
4783 (breakParagraph): adjust
4784 (insertChar): adjust
4787 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4788 need_break_row, and refresh_row.
4790 * text3.C (dispatch): adjust
4792 * text2.C (checkParagraph): adjust
4794 (setCursorFromCoordinates): adjust
4796 * text.C (top_y): adjust
4798 (getRow): make it return a RowList::iterator, adjust
4799 (getRowNearY): make it return a RowList::iterator, adjust
4801 * text2.C (init): adjust
4802 (insertRow): remove function
4803 (insertParagraph): adjust
4804 (redoParagraphs): adjust
4805 (fullRebreak): adjust
4806 (updateCounters): adjust
4808 * text.C (top_y): rewrite to use RowList iterators.
4810 (setHeightOfRow): rewrite to sue RowList iterators.
4811 (appendParagraph): adjust
4812 (breakAgain): adjust
4813 (breakAgainOneRow): adjust
4814 (breakParagraph): adjust
4816 (getRowNearY): adjust, and remove commented code.
4818 * lyxtext.h (firstRow): delete function
4819 (lastRow): delete function
4820 (rows): new function (const and non-const versions.)
4821 (insertRow): delete function
4823 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4825 2003-03-29 John Levon <levon@movementarian.org>
4827 * BufferView_pimpl.C: always update scrollbar top
4828 because pasting text when we're anchored could mean we
4829 miss an update altogether
4831 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * text2.C (init): use rowlist_.end() and not 0.
4834 (insertRow): change to take a RowList::iterator as arg, adjust
4836 (insertParagraph): change to take a RowList::iterator as arg,
4838 (redoParagraphs): remove some debug msgs.
4840 * text.C (appendParagraph): change to take a RowList::iterator
4841 arg, adjust for this.
4842 (breakAgain): add an assert
4843 (breakAgainOneRow): ditto
4845 2003-03-29 John Levon <levon@movementarian.org>
4847 * text2.C: do not clear selection after inc/decDepth
4850 2003-03-29 John Levon <levon@movementarian.org>
4853 * buffer.C: fix broken strerrors according to Lars
4855 2003-03-29 John Levon <levon@movementarian.org>
4857 * converters.C: more Alert cleanups
4859 2003-03-29 John Levon <levon@movementarian.org>
4861 * bufferview_funcs.C: remove pointless Alert
4863 * buffer.C: fix confusing error message when
4864 a template is chmoded 000
4866 2003-03-29 John Levon <levon@movementarian.org>
4870 * BufferView_pimpl.C: Alert fixes
4874 * tabular-old.C: remove unused table compat reading
4876 2003-03-29 John Levon <levon@movementarian.org>
4881 * lyx_cb.C: more Alert cleanups
4883 * lyxfunc.C: don't allow chktex if not latex document
4885 2003-03-29 John Levon <levon@movementarian.org>
4889 * buffer.C: warnings pushed down from support/,
4892 2003-03-29 John Levon <levon@movementarian.org>
4894 * lyxfunc.C: safety check for C-r (revert)
4896 2003-03-29 John Levon <levon@movementarian.org>
4899 * bufferlist.C: several UI fixes using Alert::prompt.
4900 Fix the pointless looping quit code. Fix stupid revert
4905 * lyx_cb.C: use Alert::prompt
4907 * lyx_main.C: remove a silly question
4909 * lyxfunc.C: remove a couple of silly questions,
4912 2003-03-28 John Levon <levon@movementarian.org>
4914 * text2.C: fix bug 974 (End on empty par)
4916 2003-03-28 John Levon <levon@movementarian.org>
4918 * BufferView_pimpl.C:
4920 * lfuns.h: remove do-nothing math greek lfuns
4922 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * lyxgluelength.h (isValidGlueLength): add default arg on
4925 parameter 2. Remove default arg from friend in class.
4927 * lyxlength.h (isValidLength): add default arg on parameter 2.
4928 Remove default arg from friend in class.
4930 * text2.C (LyXText): adjust, initialize refresh_row.
4934 (insertParagraph): adjst
4935 (redoParagraphs): adjust
4936 (fullRebreak): adjust
4937 (updateCounters): adjust
4938 (deleteEmptyParagraphMechanism): first attempt at fixing a
4941 * text.C (top_y): adjust
4942 (setHeightOfRow): adjust
4944 (getRowNearY): adjust
4946 * lyxtext.h: include RowList.h
4947 (~LyXText): not needed anymore, deleted.
4948 (firstRow): modify for RowList
4949 (lastRow): new function
4950 Delete firstrow and lastrow class variables, add a Rowlist
4951 rowlist_ class variable.
4953 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4956 * RowList.C (insert): fix case where it == begin().
4958 2003-03-26 Angus Leeming <leeming@lyx.org>
4960 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4961 the thesaurus dialog.
4963 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4967 * RowList.[Ch]: new files
4969 * ParagraphList.C (erase): handle the case where it == begin
4972 2003-03-25 John Levon <levon@movementarian.org>
4976 * aspell.C: add new aspell support
4979 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4982 2003-03-25 Angus Leeming <leeming@lyx.org>
4985 * LyXAction.C (init): new LFUN_INSET_INSERT.
4987 * BufferView_pimpl.C (dispatch): split out part of the
4988 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4990 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4993 2003-03-25 Angus Leeming <leeming@lyx.org>
4995 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4997 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5000 * text3.C: remove useless row->height(0)
5002 2003-03-25 John Levon <levon@movementarian.org>
5006 * text3.C: rename the refreshing stuff to better names
5008 2003-03-24 John Levon <levon@movementarian.org>
5010 * BufferView_pimpl.h:
5011 * BufferView_pimpl.C: update layout choice on a mouse
5014 2003-03-23 John Levon <levon@movementarian.org>
5016 * Makefile.am: fix commandtags.h reference
5018 2003-03-22 John Levon <levon@movementarian.org>
5020 * BufferView_pimpl.C:
5025 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5027 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5030 * text.C: take the rtl methods out of line
5032 2003-03-21 André Pönitz <poenitz@gmx.net>
5034 * metricsinfo.[Ch]: new files containing structures to be passed around
5035 during the two-phase-drawing...
5037 2003-03-21 André Pönitz <poenitz@gmx.net>
5039 * lyxtextclass.C: read 'environment' tag.
5041 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5043 * text2.C (removeRow): fix bug 964
5045 2003-03-20 John Levon <levon@movementarian.org>
5049 * text2.C: paint cleanups. Inset::update() dropped font
5052 2003-03-19 John Levon <levon@movementarian.org>
5054 * lyxfunc.C: only fitcursor/markDirty if available()
5056 2003-03-19 John Levon <levon@movementarian.org>
5058 * commandtags.h: rename to ...
5060 * lfuns.h: ... this, and renumber / cleanup
5062 2003-03-19 John Levon <levon@movementarian.org>
5064 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5065 fit the cursor after an lfun
5069 * BufferView_pimpl.h:
5070 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5072 * LyXAction.C: layout-character should have ReadOnly
5074 * ParagraphParameters.C:
5076 * bufferview_funcs.C:
5083 * undo_funcs.C: changes from above
5085 2003-03-18 John Levon <levon@movementarian.org>
5087 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5088 remove it from update()
5090 * lyxfunc.C: update layout choice after an lfun
5092 * text3.C: remove extra updateLayoutChoice()s
5094 2003-03-18 John Levon <levon@movementarian.org>
5096 * text.C: top_y change means full repaint, fix
5097 a drawing bug with cursor movement
5099 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5103 * text2.C: anchor row on setCursor
5105 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5107 * lyxtext.h: remove almost all mutable keywords
5110 * text3.C: remove const keywords accordingly
5112 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5116 (TeXEnvironment): ditto
5119 2003-03-17 John Levon <levon@movementarian.org>
5121 * text.C (rowBreakPoint): remove attempt to fix displayed
5122 math insets inside a manual label
5124 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * lyxtext.h: remove BufferView* as first arg from almost all class
5128 * other files: adjust.
5130 2003-03-17 John Levon <levon@movementarian.org>
5134 * text2.C: more paint cleanups
5136 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5139 * rowpainter.C: remove "smart" background painting code
5141 2003-03-16 John Levon <levon@movementarian.org>
5146 * text3.C: add helper functions for setting refresh_row/y
5148 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5150 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5151 newline inset which *can* get inserted in the pass_thru layouts.
5152 This is primarily for literate documents.
5154 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5156 * buffer.C: increment LYX_FORMAT to 223
5158 2003-03-14 André Pönitz <poenitz@gmx.net>
5160 * textclass.h: prepare for environment handling, ws changes
5161 * lyxlayout.C: read latexheader and latexfooter tags
5163 2003-03-14 John Levon <levon@movementarian.org>
5165 * text2.C: rewrite ::status() a bit
5167 2003-03-13 John Levon <levon@movementarian.org>
5169 * lyxtext.h: add some docs
5171 2003-03-13 John Levon <levon@movementarian.org>
5176 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5178 2003-03-13 John Levon <levon@movementarian.org>
5180 * text3.C: fix appendix redrawing
5182 2003-03-13 John Levon <levon@movementarian.org>
5184 * text.C (setHeightOfRow):
5186 * rowpainter.C: make appendix mark have the text
5187 "Appendix" so the user knows what it is
5190 * LColor.C: s/appendixline/appendix/ from above
5192 2003-03-13 John Levon <levon@movementarian.org>
5194 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5196 * text.C: fix a getChar(pos) bug properly
5198 2003-03-13 Angus Leeming <leeming@lyx.org>
5201 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5202 Probably only temporary. Let's see how things pan out.
5204 * BufferView.C (unlockInset):
5205 * BufferView_pimpl.C (fitCursor):
5206 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5208 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5209 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5211 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5212 new functions that convert ParagraphParameters to and from a string.
5214 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5215 BufferView::Pimpl's dispatch.
5216 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5218 2003-03-13 André Pönitz <poenitz@gmx.net>
5222 * factory.C: make it aware of InsetEnv
5224 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * text2.C (setCursor): never ask for one past last
5227 (setCursor): add some debugging messages.
5229 * text.C (singleWidth): never ask for one past last
5230 (singleWidth): ditto
5232 (rightMargin): ditto
5233 (rowBreakPoint): ditto
5234 (setHeightOfRow): ditto
5235 (prepareToPrint): ditto
5237 * rowpainter.C (paintBackground): never ask for one past last
5238 (paintText): never ask for one past last
5240 * paragraph_pimpl.C (getChar): make the assert stricter, never
5241 allow the one past last pos to be taken
5243 * paragraph.C (getChar): ws changes only
5245 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5246 (numberOfSeparators): ditto
5247 (numberOfHfills): ditto
5249 2003-03-12 John Levon <levon@movementarian.org>
5255 * paragraph_funcs.C: fix per-buffer authorlists
5257 2003-03-12 John Levon <levon@movementarian.org>
5259 * text.C: fix newline in right address
5261 2003-03-12 Angus Leeming <leeming@lyx.org>
5263 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5264 duplicate those in LyXFunc::dispatch.
5268 * ToolbarDefaults.C:
5269 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5270 Add LFUN_FONTFREE_UPDATE.
5272 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5273 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5275 * bufferview_func.[Ch]: several new functions to facilliate
5276 transfer of data to and from the character dialog.
5278 2003-03-12 John Levon <levon@movementarian.org>
5283 * paragraph_funcs.C:
5284 * paragraph_pimpl.C:
5288 * text3.C: remove META_NEWLINE in favour of an inset
5291 * rowpainter.C: remove paintNewline (done by inset)
5293 2003-03-12 John Levon <levon@movementarian.org>
5295 * paragraph_pimpl.C: complain about bad getChar()s
5296 for a while at least
5298 2003-03-12 John Levon <levon@movementarian.org>
5301 * buffer.C: move paragraph read into a separate function,
5302 a little renaming to reflect that.
5305 * bufferparams.C: remove the author_ids map, not necessary now
5308 * factory.C: moved Buffer::readInset to here
5310 * paragraph_funcs.h:
5311 * paragraph_funcs.C: readParagraph free function moved from
5314 * tabular.C: name change
5316 2003-03-12 John Levon <levon@movementarian.org>
5319 * ParagraphParameters.C: move par params input to
5322 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5323 behave like a normal read from the stream wrt reading
5324 a line vs. a \\token
5326 2003-03-12 John Levon <levon@movementarian.org>
5329 * ParagraphParameters.h:
5330 * ParagraphParameters.C: move output code to a
5333 2003-03-12 John Levon <levon@movementarian.org>
5335 * BufferView.C (insertLyXFile):
5338 * tabular.C: use a parlist iterator for creating the
5341 2003-03-12 John Levon <levon@movementarian.org>
5343 * buffer.C: make current_change static local not
5346 2003-03-12 John Levon <levon@movementarian.org>
5348 * buffer.C: fix insertStringAsLines for change tracking
5350 2003-03-12 John Levon <levon@movementarian.org>
5357 * bufferparams.C: move author list into params. Rename some
5358 functions. Move the header reading into a separate token
5359 loop. Move the header token reading into BufferParams.
5361 2003-03-12 John Levon <levon@movementarian.org>
5363 * changes.C: put debug inside lyxerr.debugging() checks
5365 2003-03-11 André Pönitz <poenitz@gmx.net>
5367 * factory.C: make it aware of InsetHFill
5369 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5371 * buffer.C (latexParagraphs): move function from here...
5372 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5375 2003-03-10 Angus Leeming <leeming@lyx.org>
5377 * LyXAction.C (init): fix bug in poplating array with multiple entries
5378 with the same LFUN (spotted by JMarc).
5380 2003-03-10 John Levon <levon@movementarian.org>
5383 * text2.C: move getColumnNearX() near its
5386 2003-03-10 John Levon <levon@movementarian.org>
5388 * text.C: fix break before a minipage
5390 2003-03-10 John Levon <levon@movementarian.org>
5392 * text.C: fix the last commit
5394 2003-03-09 John Levon <levon@movementarian.org>
5398 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5399 bug 365 (don't break before insets unless needed). Don't
5400 return a value > last under any circumstances.
5402 2003-03-09 Angus Leeming <leeming@lyx.org>
5404 * BufferView_pimpl.C (trackChanges, dispatch): call
5405 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5407 2003-03-09 Angus Leeming <leeming@lyx.org>
5409 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5410 than Dialogs::showAboutlyx().
5412 2003-03-09 Angus Leeming <leeming@lyx.org>
5414 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5415 than Dialogs::showTabularCreate().
5417 2003-03-09 John Levon <levon@movementarian.org>
5421 * text2.C: 3rd arg to nextBreakPoint was always the same.
5424 2003-03-08 John Levon <levon@movementarian.org>
5431 * text2.C: Remove the "main" bit from the "main body"
5434 2003-03-08 John Levon <levon@movementarian.org>
5436 * text.C (leftMargin): The left margin of an empty
5437 manual label paragraph should not include the label width
5440 * text.C (prepareToPrint): don't attempt to measure hfills
5441 for empty manual label paragraphs - the answer should be 0
5443 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * CutAndPaste.C: remove commented code and reindent.
5447 2003-03-08 John Levon <levon@movementarian.org>
5450 * lyxfunc.C: move reloadBuffer()
5453 * BufferView.C: to here
5455 * lyxvc.C: add comment
5458 * vc-backend.C: call bv->reload() to avoid
5459 getStatus() check on MENURELOAD
5461 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5463 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5464 to an old format .dep file.
5466 2003-03-07 Angus Leeming <leeming@lyx.org>
5468 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5469 when the LFUN_MOUSE_RELEASE should have been handled by
5470 inset->localDispatch.
5472 2003-03-07 Angus Leeming <leeming@lyx.org>
5474 * BufferView_pimpl.C (dispatch):
5475 * LyXAction.C (init):
5476 * ToolbarDefaults.C (init):
5478 * lyxfunc.C (getStatus):
5479 remove LFUN_INSET_GRAPHICS.
5481 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5483 2003-03-07 Angus Leeming <leeming@lyx.org>
5486 * LyXAction.C (init):
5487 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5489 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5492 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5494 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5495 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5497 2003-03-07 Angus Leeming <leeming@lyx.org>
5499 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5502 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * ParagraphList.C (front): new function
5507 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5509 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5510 and top_row_offset_. removed var first_y.
5512 * text2.C (LyXText, removeRow):
5514 * BufferView_pimpl.C:
5515 use these methods instead of using first_y
5517 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * text2.C (pasteSelection): adjust for checkPastePossible
5521 * CutAndPaste.C: remove Paragraph * buf and replace with
5522 ParagraphList paragraphs.
5523 (DeleteBuffer): delete
5524 (cutSelection): change the tc type to textclass_type
5525 (copySelection): change the tc type to textclass_type
5526 (copySelection): adjust for ParagraphList
5527 (pasteSelection): change the tc type to textclass_type
5528 (pasteSelection): adjust for Paragraphlist
5529 (nrOfParagraphs): simplify for ParagraphList
5530 (checkPastePossible): simplify for ParagraphList
5531 (checkPastePossible): remove unused arg
5533 * ParagraphList.C (insert): handle the case where there are no
5536 * CutAndPaste.h: make CutAndPaste a namespace.
5538 * text3.C (dispatch): adjust
5540 * text.C (breakParagraph): add a ParagraphList as arg
5542 * paragraph_funcs.C (breakParagraph): change to take a
5543 BufferParams and a ParagraphList as args.
5544 (breakParagraphConservative): ditto
5545 (mergeParagraph): ditto
5546 (TeXDeeper): add a ParagraphList arg
5547 (TeXEnvironment): ditto
5550 * buffer.C (readLyXformat2): adjust
5551 (insertStringAsLines): adjust
5552 (latexParagraphs): adjust
5554 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5555 (cutSelection): adjust
5556 (pasteSelection): adjust
5558 * BufferView_pimpl.C (insertInset): adjust
5560 2003-03-05 Angus Leeming <leeming@lyx.org>
5563 * LyXAction.C (init):
5564 * BufferView_pimpl.C (dispatch):
5565 * lyxfunc.C (getStatus):
5566 remove LFUN_CHILD_INSERT.
5568 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5570 2003-03-05 Angus Leeming <leeming@lyx.org>
5573 * LyXAction.C (init):
5574 * src/factory.C (createInset):
5575 * lyxfunc.C (getStatus):
5576 * text3.C (dispatch):
5577 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5579 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5581 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * ParagraphList.C (insert): handle insert right before end()
5584 (erase): fix cases where it can be first or last paragraph.
5586 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5588 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5589 Paragraph::next and Paragraph::previous
5592 * text.C (breakParagraph): adjust
5594 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5595 BufferParams& as arg.
5596 (breakParagraph): use ParagraphList::insert
5597 (breakParagraphConservative): take a Buffer* instead of a
5598 BufferParams& as arg.
5599 (breakParagraphConservative): use ParagraphList::insert.
5601 * buffer.C (insertStringAsLines): un-const it
5602 (insertStringAsLines): adjust
5604 * ParagraphList.C (insert): new function
5606 * CutAndPaste.C (pasteSelection): adjust
5608 * text.C (backspace): adjust
5610 * tabular.C (SetMultiColumn): adjust
5612 * CutAndPaste.C (cutSelection): adjust
5613 (pasteSelection): adjust
5615 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5616 Buffer const * as arg
5618 * ParagraphList.C (erase): new function
5619 * paragraph_funcs.C (mergeParagraph): use it
5620 (mergeParagraph): make it take a Buffer* instead of a
5621 BufferParams* as arg
5623 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5625 (breakParagraphConservative): ditto
5627 * paragraph.h: remove the breakParagraph friend
5629 * paragraph.C (eraseIntern): new function
5630 (setChange): new function
5632 * paragraph_funcs.C (mergeParagraph): make it take a
5633 ParagraphList::iterator instead of a Paragraph *, adjust
5636 * paragraph.h: move an #endif so that the change tracking stuff
5637 also works in the NO_NEXT case.
5639 2003-03-04 Angus Leeming <leeming@lyx.org>
5642 * LyXAction.C: new LFUN_INSET_MODIFY.
5644 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5645 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5647 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * several files: ws changes only
5651 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5652 (TeXEnvironment): ditto
5655 * buffer.C (makeLaTeXFile): adjust
5656 (latexParagraphs): make it take ParagraphList::iterator as args
5658 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * buffer.C (latexParagraphs): adjust
5662 * paragraph.C (TeXOnePar): move function...
5663 (optArgInset): move function...
5664 (TeXEnvironment): move function...
5665 * paragraph_pimpl.C (TeXDeeper): move function...
5666 * paragraph_funcs.C: ...here
5668 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5670 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5672 * buffer.C (readInset): remove compability code for old Figure and
5675 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * buffer.C: ws changes
5680 * BufferView_pimpl.C: ditto
5683 * bufferlist.h: ditto
5687 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5689 * converter.[Ch]: split into itself +
5692 * Makefile.am: += graph.[Ch] + format.[Ch]
5699 * lyxrc.C: added #include "format.h"
5701 2003-02-27 Angus Leeming <leeming@lyx.org>
5703 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5706 * factory.C (createInset): add "label" to the factory.
5708 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5709 string and do no more.
5711 2003-02-27 Angus Leeming <leeming@lyx.org>
5714 * LyXAction.C (init):
5715 * factory.C (createInset):
5716 * BufferView_pimpl.C (dispatch):
5717 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5719 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5721 * lyxfunc.C (dispatch):
5722 * text3.C (dispatch): pass name to params2string.
5724 2003-02-26 Angus Leeming <leeming@lyx.org>
5726 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5728 Rearrange the ~includes. Strip out the unnecessary ones.
5730 * factory.C (createInset): reformat.
5731 create new insets for the various LFUN_XYZ_APPLY lfuns.
5733 2003-02-26 John Levon <levon@movementarian.org>
5736 * lyxrow.C: add isParStart,isParEnd helpers
5738 * paragraph.h: make isInserted/DeletedText take refs
5740 * paragraph_funcs.h:
5741 * paragraph_funcs.C: remove #if 0'd code
5746 * text.C: use lyxrow helpers above.
5747 Move draw and paint routines to RowPainter.
5748 Make several methods use refs not pointers.
5749 Make backgroundColor() const.
5750 Add markChangeInDraw(), isInInset().
5751 Merge changeRegionCase into changeCase.
5752 Make workWidth() shouldn't-happen code into an Assert.
5755 * rowpainter.C: new class for painting a row.
5758 * vspace.C: make inPixels take a ref
5760 2003-02-26 Angus Leeming <leeming@lyx.org>
5762 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5765 2003-02-25 John Levon <levon@movementarian.org>
5767 * ispell.C: give the forked command a more accurate name
5769 2003-02-22 John Levon <levon@movementarian.org>
5772 * toc.C: make TocItem store an id not a Paragraph *
5775 2003-02-21 Angus Leeming <leeming@lyx.org>
5777 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5778 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5779 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5780 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5781 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5782 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5784 * BufferView_pimpl.C (dispatch):
5785 * LyXAction.C (init):
5786 * factory.C (createInset):
5787 * lyxfunc.C (getStatus, dispatch):
5788 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5790 2003-02-21 Angus Leeming <leeming@lyx.org>
5792 * BufferView_pimpl.C (MenuInsertLyXFile):
5793 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5794 * lyxfunc.C (menuNew, open, doImport):
5795 no longer pass a LyXView & to fileDlg.
5797 2003-02-21 Angus Leeming <leeming@lyx.org>
5799 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5800 * LyXAction.C: change, BIBKEY to BIBITEM.
5801 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5802 Change InsetBibKey to InsetBibitem.
5803 Change BIBKEY_CODE to BIBITEM_CODE.
5804 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5805 * factory.C: replace insetbib.h with insetbibitem.h.
5806 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5807 * paragraph.C: replace insetbib.h with insetbibitem.h.
5808 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5809 Change bibkey() to bibitem().
5810 * text.C: remove insetbib.h.
5811 * text2.C: replace insetbib.h with insetbibitem.h.
5812 change bibkey() to bibitem().
5813 * text3.C: remove insetbib.h.
5814 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5816 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5818 * lyxrc.C (output): enclose user email in quotes (in case there are
5821 2003-02-18 John Levon <levon@movementarian.org>
5823 * buffer.h: add std::
5825 2003-02-17 John Levon <levon@movementarian.org>
5831 * pspell.C: reworking. Especially in ispell, a large
5832 number of clean ups and bug fixes.
5834 * lyxfunc.C: fix revert to behave sensibly
5836 2003-02-17 André Pönitz <poenitz@gmx.net>
5839 * commandtags.h: new LFUN_INSERT_BIBKEY
5849 * paragraph_func.C: remove special bibkey handling
5851 2003-02-17 John Levon <levon@movementarian.org>
5853 * text.C (Delete): fix case where delete at the end of
5854 the very first paragraph would not merge the pars
5856 2003-02-17 John Levon <levon@movementarian.org>
5858 * lyxrow.C: fix lastPrintablePos()
5860 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5862 * bufferparams.C (writeLaTeX): add a std:here
5864 * buffer.C: and remove a using directive there
5866 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5868 * buffer.C (makeLaTeXFile): move the code that generates the
5871 * bufferparams.C (writeLaTeX): ... in this new method
5873 * LaTeXFeatures.C (getEncodingSet): make const
5874 (getLanguages): make const
5876 * MenuBackend.C (binding): returns the binding associated to this
5878 (add): sets the status of each item by calling getStatus. Adds
5880 (read): add support for OptSubMenu
5881 (expand): remove extra separator at the end of expanded menu
5883 2003-02-15 John Levon <levon@movementarian.org>
5886 * BufferView_pimpl.C:
5888 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5889 inset code that had no actual effect. Remove unneeded status
5892 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5894 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5897 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5899 * text.C (drawLengthMarker): also draw an arrow marker for
5900 symbolic lengths (medskip...)
5902 2003-02-14 John Levon <levon@movementarian.org>
5905 * tabular.C: better method names
5907 2003-02-14 John Levon <levon@movementarian.org>
5909 * BufferView_pimpl.C:
5914 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5915 it's a more accurate name. Remove some pointless uses.
5917 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5919 * text2.C (LyXText): change order of initilizers to shut off
5922 2003-02-14 John Levon <levon@movementarian.org>
5924 * buffer.C: use ParIterator for getParFromID()
5928 * paragraph_pimpl.h:
5929 * paragraph_pimpl.C: remove unused getParFromID()
5931 2003-02-14 John Levon <levon@movementarian.org>
5933 * buffer.C: remove some very old #if 0'd parse code
5935 2003-02-13 John Levon <levon@movementarian.org>
5939 * text2.C: move hfillExpansion(), numberOfSeparators(),
5940 rowLast(), rowLastPrintable(), numberofHfills(),
5941 numberOfLabelHfills() ...
5944 * lyxrow.C: ... to member functions here.
5949 * text.C: remove LyXText::beginningOfMainBody(), and call
5950 p->beginningOfMainBody() directly. Move the check for
5951 LABEL_MANUAL into the latter.
5958 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5964 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5965 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5967 2003-02-13 John Levon <levon@movementarian.org>
5969 * CutAndPaste.C: remove debug
5971 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5973 * paragraph.C (asString): remove two unused variables
5975 * lyxtextclass.C (readTitleType):
5977 (LyXTextClass): handle new members titletype_ and titlename_
5979 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5981 2003-02-09 John Levon <levon@movementarian.org>
5984 * buffer.C: replace hand-coded list with a map for the dep clean
5986 2003-02-08 John Levon <levon@movementarian.org>
5988 * LaTeX.C: consolidate code into showRunMessage() helper
5990 2003-02-08 John Levon <levon@movementarian.org>
5995 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5996 and pass the size in explicitly
5998 * BufferView_pimpl.h:
5999 * BufferView_pimpl.C:
6001 * BufferView.C: add getCurrentChange()
6003 * BufferView_pimpl.h:
6004 * BufferView_pimpl.C: handle change lfuns
6006 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6007 for changes. Mark pasted paragraphs as new.
6009 * support/lyxtime.h:
6010 * support/lyxtime.C:
6011 * DepTable.C: abstract time_t as lyx::time_type
6014 * LColor.C: add colours for new text, deleted text, changebars
6016 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6017 package use "usenames" option.
6021 * LyXAction.C: add change lfuns
6025 * author.C: author handling
6028 * buffer.C: add a per-buffer author list, with first entry as
6029 current author. Handle new .lyx tokens for change tracking. Output
6030 author list to .lyx file. Output dvipost stuff to .tex preamble.
6031 Bump lyx format to 222.
6034 * bufferlist.C: add setCurrentAuthor() to reset current author details
6038 * bufferparams.C: add param for tracking
6040 * bufferview_funcs.C: output change info in minibuffer
6044 * changes.C: add change-tracking structure
6047 * debug.C: add CHANGES debug flag
6050 * lyxfind.C: add code for finding the next change piece
6053 * lyxrc.C: add user_name and user_email
6056 * lyxrow.C: add a metric for the top of the text line
6059 * text.C: implement accept/rejectChange()
6062 * text.C: paint changebars. Paint new/deleted text in the chosen
6063 colours. Strike through deleted text.
6067 * paragraph_pimpl.h:
6068 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6069 in the current change to the insert functions. Rework erase to
6070 mark text as deleted, adding an eraseIntern() and a range-based
6071 erase(). Implement per-paragraph change lookup and
6074 * paragraph_funcs.C: Fixup paste for change tracking.
6076 * tabular.C: mark added row/columns as new.
6078 * text.C: fix rowLast() to never return -1. Don't allow
6079 spellchecking of deleted text. Track transpose changes. Don't
6080 allow paragraph break or merge where appropriate.
6082 * text2.C: leave cursor at end of selection after a cut.
6084 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6086 * text.C (getLengthMarkerHeight):
6087 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6088 visible on screen too.
6090 2003-02-07 John Levon <levon@movementarian.org>
6092 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6094 2003-02-05 Angus Leeming <leeming@lyx.org>
6096 * lyxserver.C (read_ready): revert my patch of 11 September last year
6097 as it sends PC cpu through the roof. Presumably this means that
6098 the lyxserver will no longer run on an Alpha...
6100 2003-01-30 Angus Leeming <leeming@lyx.org>
6102 * factory.C (createInset): create an InsetCommandParam of type "index"
6103 and use it to 'do the right thing'.
6105 * text2.C (getStringToIndex): ensure that cursor position is always
6106 reset to the reset_cursor position.
6108 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6110 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6113 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6117 * lyxfunc.C: Output messages with identical spelling, punctuation,
6120 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6122 * MenuBackend.C (expandFormats): List only viewable export formats
6125 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6128 * lyxfunc.C (getStatus): Make sure that formats other than
6129 "fax" can also be disabled
6131 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6133 * text3.C (dispatch): put the lfuns that insert insets in 3
6134 groups, and call doInsertInset with appropriate arguments.
6135 (doInsertInset): new function, that creates an inset and inserts
6136 it according to some boolean parameters.
6138 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * buffer.C (readFile): remember to pass on 'par' when calling
6141 readFile recursively.
6143 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6145 * MenuBackend.C (expandFormats): add "..." to import formats.
6147 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6149 * paragraph.C (asString): Remove XForms RTL hacks.
6151 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6152 * buffer.C: fix typo
6154 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * Makefile.am (LIBS): delete var
6157 (lyx_LDADD): add @LIBS@ here instead.
6159 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6161 * Clarify the meaning of "wheel mouse jump"
6163 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6165 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6168 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6170 * importer.C (Loaders): do not preallocate 3 elements in the
6171 vector, since one ends up with 6 elements otherwise
6173 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6175 * DepTable.C (write): write the file name as last element of the
6176 .dep file (because it may contain spaces)
6177 (read): read info in the right order
6179 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6181 * paragraph_pimpl.C (simpleTeXBlanks):
6182 (simpleTeXSpecialChars):
6183 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6185 * tabular.C (latex): add some missing case statements. Reindent.
6187 * MenuBackend.C (expandToc): remove unused variable.
6189 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6198 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6201 2003-01-05 John Levon <levon@movementarian.org>
6204 * BufferView.C: add getEncoding()
6207 * kbsequence.C: do not store last keypress
6210 * lyxfunc.C: store last keypress here instead. Pass encoding
6213 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6215 * lyx_main.C (init): remove annoying error message when following
6216 symbolic links (bug #780)
6218 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6220 * text.C (insertChar):
6221 * lyxrc.C (getDescription): remove extra spaces
6223 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6225 * lyxrc.C (getDescription): remove extra spaces
6227 2002-12-20 John Levon <levon@movementarian.org>
6229 * text3.C: hack fix for page up/down across tall rows
6231 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6236 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6238 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6239 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6240 thesaurus is not compiled in
6242 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6244 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6246 2002-12-16 Angus Leeming <leeming@lyx.org>
6249 * lyx_main.C (init): remove override_x_deadkeys stuff.
6251 2002-12-12 John Levon <levon@movementarian.org>
6253 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6254 insert. Only remove shift modifier under strict
6257 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6259 * MenuBackend.C (expandToc): fix crash.
6261 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * MenuBackend.C (expandToc): gettext on float names.
6265 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6267 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6268 implement bool empty() [bug 490]
6270 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6274 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6276 * several files: ws changes
6278 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * text2.C (setCounter): clean up a bit, use boost.format.
6281 (updateCounters): initialize par upon declaration.
6283 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6284 if the layout exists. We do not just store the layout any more.
6285 (SwitchLayoutsBetweenClasses): use boost.format
6287 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6289 * converter.C (convert): if from and to files are the same, use a
6290 temporary files as intermediary
6292 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6295 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6297 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6299 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6301 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * tabular.C (asciiPrintCell): use string(size, char) instead of
6306 * sgml.C (openTag): fix order of arguments to string constructor
6309 * lyxfunc.C (dispatch): use boost.format
6311 * lots of files: change "c" -> 'c'
6313 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6315 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6317 2002-11-25 Angus Leeming <leeming@lyx.org>
6319 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6321 * lyx_main.C (init): compile fix.
6323 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * lyx_cb.C (start): boost.formatify
6326 do not include <iostream>
6328 * lengthcommon.C: ws only
6330 * boost-inst.C,BoostFormat.h: add more explict instantations
6332 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * lots of files: handle USE_BOOST_FORMAT
6336 2002-11-21 John Levon <levon@movementarian.org>
6338 * pspell.C: fix compile
6340 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6342 * lyxfunc.C (dispatch): use boost::format
6346 * lyxfont.C (stateText): use boost::format
6348 * lyx_main.C (LyX): use boost::format
6350 (queryUserLyXDir): ditto
6353 (typedef boost::function): use the recommened syntax.
6355 * importer.C (Import): use boost::format
6357 * debug.C (showLevel): use boost::format
6359 * converter.C (view): use boost::format
6364 * bufferview_funcs.C (currentState): use boost::format
6366 * bufferlist.C (emergencyWrite): use boost::format
6368 * buffer.C (readLyXformat2): use boost::format
6369 (parseSingleLyXformat2Token): ditto
6371 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6373 * LaTeX.C (run): use boost::format
6375 * Chktex.C (scanLogFile): use boost::format
6377 * BufferView_pimpl.C (savePosition): use boost::format
6378 (restorePosition): ditto
6379 (MenuInsertLyXFile): ditto
6381 * BoostFormat.h: help file for explicit instation.
6383 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6385 * tabular.C (latex): Support for block alignment in fixed width
6388 2002-11-17 John Levon <levon@movementarian.org>
6390 * BufferView_pimpl.C:
6392 * lyxfunc.C: split filedialog into open/save
6394 2002-11-08 Juergen Vigna <jug@sad.it>
6396 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6397 by my last patch (hopefully).
6399 2002-11-08 John Levon <levon@movementarian.org>
6408 * toc.C: ParConstIterator, and use it (from Lars)
6410 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6412 * lyxtextclass.[Ch]: revise and add doxygen comments
6414 2002-11-07 John Levon <levon@movementarian.org>
6416 * text.C: fix progress value for spellchecker
6418 * toc.C: fix navigate menu for insetwrap inside minipage
6420 * paragraph_funcs.C: added FIXME for suspect code
6422 2002-11-07 John Levon <levon@movementarian.org>
6424 * BufferView_pimpl.C: fix redrawing of insets
6427 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6429 * text2.C (updateCounters): fix bug 668
6431 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6433 * text3.C (dispatch): Do not make the buffer dirty when moving the
6436 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * vc-backend.C: STRCONV
6441 * text2.C (setCounter): STRCONV
6443 * paragraph.C (asString): STRCONV
6445 * lyxlength.C (asString): STRCONV
6446 (asLatexString): ditto
6448 * lyxgluelength.C (asString): STRCONV
6449 (asLatexString): ditto
6451 * lyxfunc.C (dispatch): STRCONV
6454 * lyxfont.C (stateText): STRCONV
6456 * importer.C (Import): STRCONV
6458 * counters.C (labelItem): STRCONV
6459 (numberLabel): ditto
6460 (numberLabel): remove unused ostringstream o
6465 * bufferview_funcs.C (currentState): STRCONV
6467 * buffer.C (readFile): STRCONV
6468 (asciiParagraph): ditto
6469 (makeLaTeXFile): ditto
6471 * Spacing.C (writeEnvirBegin): STRCONV
6473 * LaTeXFeatures.C (getLanguages): STRCONV
6474 (getPackages): ditto
6476 (getBabelOptions): ditto
6477 (getTClassPreamble): ditto
6478 (getLyXSGMLEntities): ditto
6479 (getIncludedFiles): ditto
6483 (scanAuxFile): ditto
6486 * LString.h: add the STRCONV macros
6488 * BufferView_pimpl.C (savePosition): STRCONV
6489 (restorePosition): ditto
6490 (MenuInsertLyXFile): ditto
6492 * vc-backend.C (scanMaster): change from submatch[...] to
6495 * funcrequest.C: include config.h
6497 * factory.C: include config.h
6499 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6501 * box.C: include config.h
6503 * LaTeX.C (scanAuxFile): change from submatch[...] to
6507 2002-10-25 Angus Leeming <leeming@lyx.org>
6509 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6511 * ispell.[Ch] (setError): new method.
6512 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6513 Use setError() insetead of goto END.
6515 * lyx_cb.C (AutoSave): move out child process into new class
6518 2002-10-30 John Levon <levon@movementarian.org>
6520 * text3.C: make start appendix undoable
6522 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6524 * lyxlength.C (inPixels): Fix returned value.
6526 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6529 2002-10-24 Angus Leeming <leeming@lyx.org>
6531 * lyxgluelength.h: no need to forward declare BufferParams
6532 or BufferView, so don't.
6534 2002-10-21 John Levon <levon@movementarian.org>
6536 * BufferView.C: menuUndo ->undo, redo
6538 * BufferView.h: document, remove dead, make some methods private
6540 * paragraph_funcs.h:
6541 * paragraph_funcs.C:
6542 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6547 * sgml.C: move sgml open/close tag into sgml.C
6549 * bufferview_funcs.h: unused prototype
6552 * lyxfunc.C: remove unused
6555 * text.C: remove unused
6557 2002-10-21 John Levon <levon@movementarian.org>
6561 * BufferView_pimpl.h:
6562 * BufferView_pimpl.C: fix mouse wheel handling based on
6563 patch from Darren Freeman
6565 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6567 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6569 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6571 * lyxlength.C (inPixels): Fix hanfling of negative length.
6572 Fix LyXLength::MU case.
6574 2002-10-16 John Levon <levon@movementarian.org>
6576 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6578 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6580 * converter.C (view): add support for $$i (file name) and $$p
6581 (file path) for the viewer command. If $$i is not specified, then
6582 it is appended to the command (for compatibility with old syntax)
6584 2002-10-14 Juergen Vigna <jug@sad.it>
6586 * undo_funcs.C (textHandleUndo): alter the order in which the
6587 new undopar is added to the LyXText, as we have to set first
6588 the right prev/next and then add it as otherwise the rebuild of
6589 LyXText is not correct. Also reset the cursor to the right paragraph,
6590 with this IMO we could remove the hack in "redoParagraphs()".
6592 2002-10-09 Angus Leeming <leeming@lyx.org>
6594 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6595 to turn off an optimisation if a new inset is to be inserted.
6597 2002-10-11 André Pönitz <poenitz@gmx.net>
6599 * lyxtext.h: make some functions public to allow access
6600 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6602 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6604 * text3.C (dispatch): when changing layout, avoid an infinite loop
6607 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6609 * lyxrc.C (read): treat a viewer or converter command of "none" as
6612 * MenuBackend.C (expandFormats): for an update, also allow the
6613 formats that are not viewable
6615 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6616 script if it is newer than the lyxrc.defaults in user directory
6618 2002-10-07 André Pönitz <poenitz@gmx.net>
6620 * text.C: Vitaly Lipatov's small i18n fix
6622 2002-09-25 Angus Leeming <leeming@lyx.org>
6624 * ispell.h: doxygen fix.
6626 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6628 * buffer.h (readFile): Add a new argument to the method, to allow
6629 reading of old-format templates.
6631 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6633 * toc.C (getTocList): Get TOC from InsetWrap.
6635 2002-09-16 John Levon <levon@movementarian.org>
6637 * lyxfunc.C: check tabular for cut/copy too
6639 2002-09-12 John Levon <levon@movementarian.org>
6644 * factory.C: add header
6646 * paragraph_funcs.h:
6647 * paragraph_funcs.C: cleanup
6649 2002-09-11 John Levon <levon@movementarian.org>
6651 * PrinterParams.h: odd/even default to true
6653 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6655 * PrinterParams.h: update printer parameters for new xforms dialog
6657 2002-09-11 Angus Leeming <leeming@lyx.org>
6659 * lyxserver.C (read_ready): re-write to make it more transparent
6660 and to make it work in coherent fashion under Tru64 Unix.
6662 2002-09-11 André Pönitz <poenitz@gmx.net>
6666 * text3.C: implement LFUN_WORDSEL
6668 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6670 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6671 make floatlist_ a boost::shared_ptr<FloatList>
6673 * lyxtextclass.C: include FloatList.h
6674 (LyXTextClass): initialize floatlist_
6675 (TextClassTags): add TC_NOFLOAT
6676 (Read): match "nofloat" to TC_NOFLOAT and use it.
6677 (readFloat): modify call to floatlist_
6681 * FloatList.[Ch] (FloatList): remove commented out float
6683 (erase): new function
6685 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6687 * MenuBackend.C (expandToc): fix crash when there is no document
6690 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6692 * many files: Add insetwrap.
6694 2002-09-09 John Levon <levon@movementarian.org>
6696 * text2.C: remove confusing and awkward depth wraparound
6698 2002-09-09 John Levon <levon@movementarian.org>
6700 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6703 * buffer.C: remove getIncludeonlyList()
6706 * lyxfunc.C: remove headers
6708 2002-09-09 Juergen Vigna <jug@sad.it>
6710 * text.C (getColumnNearX): fix form Michael this is most
6711 probably a cut&paste bug.
6713 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6715 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6717 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6718 references, ws changes.
6720 * text2.C (init): update counters after init
6721 (insertParagraph): no need to set counter on idividual paragraphs.
6722 (setCounter): access the counters object in the textclass object
6723 on in the buffer object.
6724 (updateCounters): ditto
6726 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6727 shared_ptr<Counters> to avoid loading counters.h in all
6729 (LyXTextClass): initialize ctrs_
6730 (TextClassTags): add TC_COUNTER, and ...
6731 (Read): use it here.
6732 (CounterTags): new tags
6733 (readCounter): new function
6734 (counters): new funtion
6735 (defaultLayoutName): return a const reference
6737 * counters.C (Counters): remove contructor
6738 (newCounter): remove a couple of unneeded statements.
6739 (newCounter): simplify a bit.
6740 (numberLabel): some small formatting changes.
6742 * buffer.[Ch]: remove all traces of counters, move the Counters
6743 object to the LyXTextClass.
6745 2002-09-06 Alain Castera <castera@in2p3.fr>
6747 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6748 package to set the horizontal alignment on fixed width columns.
6751 * lyx_sty.h: added tabularnewline macro def.
6753 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6755 2002-09-06 John Levon <levon@movementarian.org>
6757 * LyXAction.C: tooltips for sub/superscript
6759 * MenuBackend.C: a bit more verbose
6761 * lyxfunc.C: tiny clean
6763 * undo_funcs.C: document undo_frozen
6765 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * counters.C (Counters): add missing algorithm counter.
6769 * text2.C (setCounter): lookup the counter with layouts latexname
6770 instead of by section number.
6771 (setCounter): use a hackish way to lookup the correct enum
6773 a float name->type change
6774 reset enum couners with counter name directly instead of depth value.
6776 * counters.C (Counters): remove the push_backs, change to use the
6777 float type not the float name.
6778 (labelItem): remove unused string, float name->type change
6780 * counters.h: don't include vector, loose the enums and sects vectors
6782 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6785 (Read): add float->TC_FLOAT to textclassTags
6786 (Read): and handle it in the switch
6787 (readFloat): new function
6789 * FloatList.C (FloatList): comment out the hardcoded float
6792 * lyxlayout.h: ws change.
6794 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6796 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6798 2002-09-03 Angus Leeming <leeming@lyx.org>
6800 * BufferView_pimpl.h: qualified name is not allowed in member
6801 declaration: WorkArea & Pimpl::workarea() const;
6803 * factory.C: added using std::endl directive.
6805 * text3.C: added using std::find and std::vector directives.
6807 2002-08-29 André Pönitz <poenitz@gmx.net>
6810 * text2.C: remove unused member number_of_rows
6813 * BufferView2.C: remove file, move contents to...
6814 * BufferView.C: ... here
6816 * BufferView_pimpl.C:
6817 * factory.C: move more inset creation to factory
6819 * vspace.C: avoid direct usage of LyXText, ws changes
6822 don't provide direct access to WorkArea, use two simple
6823 acessors haveSelction() and workHeight() instead
6826 2002-08-29 John Levon <levon@movementarian.org>
6828 * BufferView_pimpl.C (dispatch): do not continue when
6831 2002-08-28 André Pönitz <poenitz@gmx.net>
6833 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6836 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6838 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6840 * buffer.C: increment LYX_FORMAT to 221
6842 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6843 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6845 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6847 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6849 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6851 * factory.C (createInset): use LyXTextClass::floats
6853 * MenuBackend.C (expandFloatListInsert):
6854 (expandFloatInsert):
6857 * text2.C (setCounter):
6859 * LaTeXFeatures.C (useFloat):
6860 (getFloatDefinitions):
6862 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6864 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6865 floatlist_, with accessor floats().
6867 * FloatList.h: remove global FloatList
6869 2002-08-26 André Pönitz <poenitz@gmx.net>
6871 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6875 * BufferView_pimpl.C:
6876 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6878 2002-08-25 John Levon <levon@movementarian.org>
6880 * LyXAction.C: fix margin note description
6882 2002-08-24 John Levon <levon@movementarian.org>
6886 * bufferview_funcs.C:
6888 * undo_funcs.C: cleanups
6890 * lyxfunc.C: disable CUT/COPY when no selection
6892 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6894 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6895 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6897 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6898 Add backward compatibility to "mono", "gray" and "no".
6900 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6902 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6903 (and file_format >= 200).
6905 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6907 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6909 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6911 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6913 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6915 * BufferView_pimpl.C:
6922 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6923 inset and code to make it work with the paragraph code. The inset
6924 can be anywhere in the paragraph, but will only do the expected
6925 thing in LaTeX if the layout file contains the parameter line
6927 (or more generally, a nonzero value) for that layout.
6929 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6931 * paragraph.h: remove the declaration of undefined counters class
6934 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6936 * text2.C (setCounter): fixed enumeration mis-count as reported by
6937 Dr. Richard Hawkins.
6939 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6941 * paragraph_funcs.h: remove some unneeded includes
6943 * text.C (backspace): pasteParagraph now in global scipe
6945 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6946 (pasteSelection): ditto
6948 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6949 * paragraph_funcs.C (pasteParagraph): ... here
6951 2002-08-20 André Pönitz <poenitz@gmx.net>
6953 * commandtags.h: new LFUNs for swapping/copying table row/colums
6956 * lyxfunc.C: support for new lfuns
6958 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6961 * buffer.[Ch]: remove NO_COMPABILITY stuff
6963 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * boost.C (throw_exception): new file, with helper function for
6966 boost compiled without exceptions.
6971 * ParameterStruct.h:
6972 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6974 * bufferlist.C (emergencyWriteAll): use boost bind
6976 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6978 * text.C: include paragraph_funcs.h
6979 (breakParagraph): breakParagraph is now in global scope
6981 * paragraph_funcs.[Ch]: new files
6983 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6986 * buffer.C: include paragraph_funcs.h
6987 (insertStringAsLines): breakParagraph is now in global scope
6989 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6992 * CutAndPaste.C: include paragraph_funcs.h
6993 (cutSelection): breakParagraphConservative is now in global scope
6994 (pasteSelection): ditto
6996 * buffer.h: declare oprator== and operator!= for
6997 Buffer::inset_iterator
6999 * bufferlist.C (emergencyWrite): don't use fmt(...)
7001 * text3.C: add using std::endl
7003 * BufferView.C (moveCursorUpdate): remove default arg
7005 2002-08-20 André Pönitz <poenitz@gmx.net>
7007 * buffer.[Ch]: move inline functions to .C
7010 * BufferView_pimpl.C:
7012 * buffer.[Ch]: use improved inset_iterator
7015 * paragraph.[Ch]: write one paragraph at a time
7017 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7019 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7020 style if style is not specified.
7022 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7024 * text2.C (setCounter): when searching for right label for a
7025 caption, make sure to recurse to parent insets (so that a caption
7026 in a minipage in a figure float works) (bug #568)
7028 2002-08-20 André Pönitz <poenitz@gmx.net>
7030 * text3.C: new file for LyXText::dispatch() and helpers
7032 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7034 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7036 2002-08-19 André Pönitz <poenitz@gmx.net>
7039 * text.C: new LyXText::dispatch()
7041 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7043 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7045 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7047 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7050 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7052 * Makefile.am: use $(variables) instead of @substitutions@
7054 2002-08-15 André Pönitz <poenitz@gmx.net>
7057 * BufferView_pimpl.C: streamlining mathed <-> outer world
7061 * LyXAction.C: remove unused LFUN_MATH
7063 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7065 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7067 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * paragraph.C (Paragraph): reformat a bit
7070 (cutIntoMinibuffer): use builtin InsetList function instad of
7074 * buffer.C: include boost/bind.hpp, add using std::for_each
7075 (writeFileAscii): use ParagraphList iterators
7076 (validate): use for_each for validate traversal of paragraphs
7077 (getBibkeyList): use ParagraphList iterators
7078 (resizeInsets): use for_each to resizeInsetsLyXText for all
7080 (getParFromID): use ParagraphList iterators
7082 * BufferView2.C (lockInset): use paragraph list and iterators
7084 2002-08-14 John Levon <levon@movementarian.org>
7086 * lyxserver.C: remove spurious xforms include
7088 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7090 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7092 2002-08-13 André Pönitz <poenitz@gmx.net>
7095 * lyxfunc.C: further cleaning
7097 2002-08-13 André Pönitz <poenitz@gmx.net>
7099 * funcrequest.h: new constructor
7101 * funcrequest.C: move stuff here from .h
7104 * BufferView_pimpl.C:
7107 * lyxfunc.C: subsequent changes
7109 * lyxfunc.h: new view() member function
7111 * lyxfunc.C: subsequent changes
7113 2002-08-13 Angus Leeming <leeming@lyx.org>
7116 * BufferView_pimpl.C:
7124 changes due to the changed LyXView interface that now returns references
7125 to member variables not pointers.
7127 2002-08-13 Angus Leeming <leeming@lyx.org>
7129 * WordLangTuple (word, lang_code): return references to strings,
7134 * lyxtext.h: forward-declare WordLangTuple.
7139 * text.C: #include "WordLangTuple.h".
7142 * text.C: (selectNextWordToSpellcheck): constify return type.
7144 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7150 * paragraph_pimpl.h:
7153 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7155 Made updateCounter always count from start of buffer, and removed
7156 second argument (par).
7157 Reverted floats number display to '#'. Perhaps I'll try again when the
7158 code base is sanitized a bit.
7160 2002-08-12 Angus Leeming <leeming@lyx.org>
7162 * buffer.[Ch] (getLabelList): constify.
7164 2002-08-07 André Pönitz <poenitz@gmx.net>
7166 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7168 * funcrequest.h: extension to keep mouse (x,y) position
7170 2002-08-12 Juergen Vigna <jug@sad.it>
7172 * BufferView2.C (insertErrors): forbid undo when inserting error
7175 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7177 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * ParagraphList.[Ch]: new files
7181 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7183 * BufferView2.C (lockInset): ParagraphList changes
7186 * bufferlist.C: ditto
7190 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7193 unused class variable counter_,
7195 * paragraph.[Ch] (getFirstCounter): delete unused function
7197 * counters.C: include LAssert.h
7198 (reset): add a new function with no arg, change other version to
7199 not have def. arg and to not allow empty arg.
7201 * text2.C (setCounter): remove empty arg from call to Counters::reset
7203 2002-08-11 John Levon <levon@movementarian.org>
7205 * Makefile.am: add WordLangTuple.h
7207 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7210 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7212 * insets/insettext.C: InsetList changes
7214 * graphics/GraphicsSupport.C (operator()): InsetList changes
7216 * toc.C (getTocList): InsetList changes
7218 * paragraph_pimpl.[Ch]: InsetList changes
7220 * paragraph.[Ch]: InsetList changes
7222 * buffer.C (inset_iterator): InsetList changes
7223 (setParagraph): ditto
7224 * buffer.h (inset_iterator): ditto
7225 * iterators.C (operator++): ditto
7226 * iterators.h: ditto
7228 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7230 * InsetList.[Ch]: new files, most InsetList handling moved out of
7233 * BufferView2.C (removeAutoInsets): InsetList changes
7235 (ChangeInsets): ditto
7237 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * paragraph_pimpl.h (empty): new function
7241 * paragraph.[Ch] (empty): new function
7243 * other files: use the new Paragraph::empty function
7245 2002-08-09 John Levon <levon@movementarian.org>
7247 * lyxtext.h: remove unused refresh_height
7249 2002-08-09 John Levon <levon@movementarian.org>
7256 * paragraph.C: move sgml char escaping out of paragraph
7259 * paragraph.C: remove id setter
7263 * paragraph_pimpl.C: remove dead tex_code_break_column
7265 * bufferview_funcs.C: small cleanup
7267 * lyxfunc.C: remove dead proto
7269 * lyxtext.h: make some stuff private. Remove some dead stuff.
7271 * lyxgluelength.C: make as[LyX]String() readable
7273 2002-08-08 John Levon <levon@movementarian.org>
7278 * ToolbarDefaults.C:
7281 * toc.C: lyxaction cleanup
7283 2002-08-08 John Levon <levon@movementarian.org>
7285 * BufferView2.C: small cleanup
7288 * lyxfind.C: move unnecessary header into the .C
7290 2002-08-08 John Levon <levon@movementarian.org>
7292 * funcrequest.h: just tedious nonsense
7295 * lyx_main.C: cleanups
7298 * vspace.C: remove dead header lyx_main.h
7300 2002-08-07 Angus Leeming <leeming@lyx.org>
7303 * paragraph_pimpl.h:
7304 Forward declare class Counters in paragraph.h by moving the ctrs member
7305 variable into Paragraph::Pimpl.
7306 (counters): new method, returning a reference to pimpl_->ctrs.
7308 * text2.C: ensuing changes.
7310 2002-08-07 John Levon <levon@movementarian.org>
7312 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7314 * BufferView_pimpl.C: announce X selection on double/triple
7317 * lyx_main.C: use correct bool in batch dispatch
7319 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7321 2002-08-07 André Pönitz <poenitz@gmx.net>
7323 * funcrequest.h: new class to wrap a kb_action and its argument
7326 * BufferView_pimpl[Ch]:
7330 * lyxrc.C: subsequent changes
7333 2002-08-07 John Levon <levon@movementarian.org>
7335 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7336 document options change.
7338 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7343 * makefile.am: move counters functionality over from
7344 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7346 2002-08-06 John Levon <levon@movementarian.org>
7348 * WordLangTuple.h: new file for word + language code tuple
7359 * BufferView2.C: use WordLangTuple
7362 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7364 2002-08-06 John Levon <levon@movementarian.org>
7366 * lyx_main.C: fix cmdline batch handling
7368 2002-08-06 André Pönitz <poenitz@gmx.net>
7370 * lyxrc.C: set default for show_banner to true
7372 2002-08-06 John Levon <levon@movementarian.org>
7374 * pspell.C: fix a crash, and allow new aspell to work
7376 2002-08-06 John Levon <levon@movementarian.org>
7379 * kbmap.C: small cleanup
7382 * vspace.C: add const
7384 2002-08-05 John Levon <levon@movementarian.org>
7386 * LyXAction.C: back to tabular-insert
7388 2002-08-04 John Levon <levon@movementarian.org>
7391 * BufferView.C: cosmetic change
7393 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7403 * BufferView2.C: purge all "Lyx" not "LyX" strings
7406 * lyxcursor.C: attempt to add some documentation
7411 * ToolbarDefaults.C:
7412 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7413 merge with LFUN_TABULAR_INSERT
7420 * pspell.C: split up i/pspell implementations into separate
7421 files, many cleanups
7423 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7425 * text2.C: some cleanup
7427 * lyxfunc.C: don't check for isp_command == "none" any more, it
7428 didn't make any sense
7430 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7435 * makefile.am: move counters functionality over
7436 from text2.C/paragraph.[Ch] to counters.[Ch], and
7438 2002-08-02 John Levon <levon@movementarian.org>
7440 * buffer.C: s/lyxconvert/lyx2lyx/
7442 2002-08-02 Angus Leeming <leeming@lyx.org>
7444 * lyxlex.C: revert John's change as it breaks reading of the user
7447 2002-08-02 Angus Leeming <leeming@lyx.org>
7449 * importer.C (Import):
7450 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7451 changes due to LyXView::view() now returning a boost::shared_ptr.
7453 2002-08-02 John Levon <levon@movementarian.org>
7455 * lyxlex.C: small cleanup
7457 2002-08-02 John Levon <levon@movementarian.org>
7459 * text2.C (status): small cleanup, no logic change
7461 2002-08-01 John Levon <levon@movementarian.org>
7464 * buffer.C (writeFile): don't output alerts, caller
7468 * lyx_cb.C: from above
7470 * lyxfunc.C: allow to open non-existent files
7472 2002-07-31 John Levon <levon@movementarian.org>
7474 * lyxserver.C: don't let incidental errors get
7477 2002-07-30 John Levon <levon@movementarian.org>
7479 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7481 2002-07-30 John Levon <levon@movementarian.org>
7484 * lyxserver.C: remove I/O callback too
7486 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7488 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7491 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7493 * many files: strip,frontStrip -> trim,ltrim,rtrim
7495 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * PrinterParams.h: remove extern containsOnly, and include
7498 support/lstrings.h instead.
7500 * LaTeX.C (scanAuxFile): modify because of strip changes
7502 * buffer.C (makeLaTeXFile): ditto
7503 * bufferparams.C (writeFile): ditt
7504 * lyxfont.C (stateText): ditto
7505 * lyxserver.C (read_ready): ditto
7506 * vc-backend.C (scanMaster): ditto
7508 * BufferView_pimpl.h: ws changes
7510 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7512 2002-07-26 André Pönitz <poenitz@gmx.net>
7514 * kb_sequence.C: remove unnedred usings
7516 2002-07-26 Juergen Vigna <jug@sad.it>
7518 * lyxfind.C (LyXReplace): we have to check better if the returned
7519 text is not of theLockingInset()->getLockingInset().
7521 2002-07-25 Juergen Vigna <jug@sad.it>
7523 * lyxfind.C (LyXReplace): don't replace if we don't get the
7526 * undo_funcs.C (createUndo): remove debugging code.
7528 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7530 * buffer.C (parseSingleLyXformat2Token): Use default placement
7531 when reading old floats.
7533 * FloatList.C (FloatList): Change the default placement of figure
7534 and tables to "tbp".
7536 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7538 * MenuBackend.C: using std::max
7540 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7542 * MenuBackend.C (expandToc):
7543 (expandToc2): code moved from xforms menu frontend. It is now
7544 generic and TOCs are transparent to menu frontends.
7546 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7548 * toc.C (getTocList): protect against buf=0
7550 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7551 Menu as first parameter. Now, this calls itself recursively to
7552 expand a whole tree (this will be useful for TOC handling)
7553 (expandFloatInsert): remove 'wide' version of floats
7555 * MenuBackend.h (submenuname): returns the name of the submenu.
7556 (submenu): returns the submenu itself, provided it has been
7557 created by MenuBackend::expand
7559 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7561 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7562 insets which have noFontChange == true. (bug #172)
7564 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7566 * BufferView_pimpl.C: add connection objects and use them...
7569 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7571 * MenuBackend.C (expandLastfiles):
7574 (expandFloatListInsert):
7575 (expandFloatInsert):
7576 (expand): split expand in parts
7578 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7580 * lyx_gui.C: use lyx_gui::exit()
7582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7584 * LyXAction.C: show the failing pseudo action
7586 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7588 * buffer.C (readFile): Run the lyxconvert script in order to read
7591 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7595 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7597 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7601 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7603 2002-07-22 Herbert Voss <voss@lyx.org>
7606 * lyxlength.[Ch]: add support for the vertical lengths
7608 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7610 * toc.[Ch]: std:: fixes
7612 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7614 * lyxrc.C: do not include lyx_main.h
7616 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7622 * BufferView2.C: include "lyxlex.h"
7625 * bufferparams.h: do not #include "lyxlex.h"
7627 * lyxtextclasslist.C (Add): remove method
7628 (classlist): renamed to classlist_
7630 * paragraph_pimpl.C:
7634 * bufferview_funcs.C:
7639 * toc.C (getTocList): use BufferParams::getLyXTextClass
7641 * toc.C (getTocList): use InsetFloat::addToToc
7643 * toc.[Ch]: new files, containing helper functions to handle table
7646 * lyxfunc.C (dispatch): no need to remove spaces around command
7648 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7649 first command of the sequence; it is not very clever, but I do not
7650 have a better idea, actually
7652 * LyXAction.C (LookupFunc): make sure to remove space at the
7653 beginning and end of the command
7655 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7657 * MenuBackend.C (getMenubar): new method: return the menubar of
7659 (read): treat differently reading of menu and menubar (in
7660 particular, the menubar has no name now)
7661 (Menu::menubar): remove
7663 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7666 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7668 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7669 a bibitem inset in a RTL paragraph.
7671 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7673 * paragraph_pimpl.C: constify
7675 * BufferView_pimpl.C:
7677 * lyxfunc.C: fix dispatch in a nicer way
7679 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7681 * lyxfunc.C (dispatch):
7682 * BufferView_pimpl.C:
7683 * BufferView_pimpl.h:
7685 * BufferView.h: rename Dispatch() to dispatch()
7687 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7689 * lyxlayout.C (Read): honor DependsOn tag
7691 * lyxlayout.[Ch] (depends_on): new method
7693 * version.C.in: update lyx_docversion
7695 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7697 * paragraph.C (validate): remove from here...
7698 * paragraph_pimpl.C (validate): ... and move here
7699 (isTextAt): make it const
7701 * buffer.C (getLists): ws cleanup
7703 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7705 * language.C (read): Use iso8859-1 encoding in latex_lang
7706 (this prevents LyX from crashing when using iso10646-1 encoding).
7708 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7710 * text2.C (toggleInset): if cursor is inside an inset, close the
7711 inset and leave cursor _after_ it
7713 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7715 * lyxfunc.C: move minibuffer completion handling out of here
7717 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7719 * BufferView_pimpl.C:
7720 * LaTeX.C: fix dispatch calls
7722 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7724 * text.C (drawChars): Fix Arabic text rendering.
7726 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7730 * lyxfunc.C: remove message-push/pop
7734 * lyxfunc.C: rationalise some code by removing verboseDispatch
7735 in favour of a bool argument to dispatch()
7737 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7739 * lyx_main.C (init): make sure to read symlinks as absolute paths
7741 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7744 * lyxfunc.C: no need for commandshortcut to be a member
7746 2002-07-15 André Pönitz <poenitz@gmx.net>
7748 * converter.C: add support for $$s (scripts from lib/scripts dir)
7749 * lyx_main.C: white space
7751 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7755 * lyxrc.C: remove second exit confirmation
7757 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7762 * BufferView_pimpl.h:
7763 * BufferView_pimpl.C:
7764 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7766 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7768 * MenuBackend.C (expand): add numeric shortcuts to document menu
7770 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7772 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7774 * lyxfont.C (setLyXFamily):
7781 * buffer.C (asciiParagraph): use ascii_lowercase
7783 2002-07-15 Mike Fabian <mfabian@suse.de>
7785 * lyxlex_pimpl.C (search_kw):
7786 * lyxlex.C (getLongString):
7787 * converter.h (operator<):
7788 * converter.C (operator<):
7789 * buffer.C (parseSingleLyXformat2Token):
7791 * ToolbarDefaults.C (read):
7792 * MenuBackend.C (checkShortcuts):
7794 * LColor.C (getFromGUIName):
7795 (getFromLyXName): use the compare_ascii_no_case instead of
7796 compare_no_case, because in turkish, 'i' is not the lowercase
7797 version of 'I', and thus turkish locale breaks parsing of tags.
7799 2002-07-16 Angus Leeming <leeming@lyx.org>
7801 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7802 now takes a Buffer const & argument.
7804 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7806 * BufferView.C (resize): check there's a buffer to resize
7808 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7810 * lyxfunc.C: remove dead code
7813 * lyxserver.C: use lyx_guii::set_read_callback
7815 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7817 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7818 an inset in a RTL paragraph.
7820 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7822 * lyxfunc.C: repaint after a font size update
7824 2002-07-15 André Pönitz <poenitz@gmx.net>
7826 * lyxlength.C: inBP should be able to return negative values
7828 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7830 * lyxfunc.C: use lyx_gui::update_fonts()
7832 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7834 * lyxfunc.C: use lyx_gui::update_color()
7836 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7842 * lyxrc.C: remove file->new asks for name option, and let
7843 buffer-new take an argument
7845 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7847 * BufferView_pimpl.C: remove unneeded extra repaint()
7849 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7851 * LyXAction.C: allow command-sequence with NoBuffer
7853 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7855 2002-07-10 Angus Leeming <leeming@lyx.org>
7857 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7859 2002-07-09 Angus Leeming <leeming@lyx.org>
7861 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7863 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7865 * lengthcommon.h: whitespace
7867 * lyxfunc.C: update scrollbar after goto paragraph
7869 * lyxtext.h: factor out page break drawing, and fix it so
7870 page break/added space paints as selected nicely
7872 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7874 * BufferView_pimpl.C: add FIXMEs, clean up a little
7876 2002-07-09 André Pönitz <poenitz@gmx.net>
7878 * lyxfont.[Ch]: support for wasy symbols
7880 2002-07-08 André Pönitz <poenitz@gmx.net>
7882 * BufferView_pimpl.C: apply John's patch for #93.
7884 2002-07-05 Angus Leeming <leeming@lyx.org>
7886 * BufferView_pimpl.C (buffer): generate previews if desired.
7888 * LColor.h: add "preview" to the color enum.
7890 * LColor.C (LColor): add a corresponding entry to the items array.
7892 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7895 2002-07-05 Angus Leeming <leeming@lyx.org>
7897 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7898 The body of the code is now in the method that is passed an ostream &
7899 rather than a file name.
7900 Pass an additional only_preamble parameter, useful for the forthcoming
7903 2002-07-03 André Pönitz <poenitz@gmx.net>
7905 * lyxfunc.C: simplify getStatus() a bit for math stuff
7907 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7909 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7911 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7913 * text.C (changeRegionCase): do not change case of all the
7914 document when region ends at paragraph end (bug #461)
7916 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7918 * paragraph.C (startTeXParParams):
7919 (endTeXParParams): add \protect when necessary
7921 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7923 * BufferView_pimpl.C (workAreaExpose): remove warning
7925 2002-06-27 Angus Leeming <leeming@lyx.org>
7927 * Makefile.am: add lyxlayout_ptr_fwd.h.
7929 2002-06-26 André Pönitz <poenitz@gmx.net>
7931 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7933 2002-06-25 Angus Leeming <leeming@lyx.org>
7935 * lyxfunc.C (dispatch): Comment out the call to
7936 grfx::GCache::changeDisplay. The method no longer exists now that the
7937 pixmap generation part of the graphics loader has been moved into
7940 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7942 * text2.C: layout as layout
7944 * text.C: layout as layout
7946 * tabular.C (OldFormatRead): layout as layout
7948 * paragraph_pimpl.C (TeXDeeper): layout as layout
7949 (realizeFont): layout as layout
7951 * paragraph.C (writeFile): layout as layout
7952 (validate): layout as layout
7953 (getFont): layout as layout
7954 (getLabelFont): layout as layout
7955 (getLayoutFont): layout as layout
7956 (breakParagraph): layout as layout
7957 (stripLeadingSpaces): layout as layout
7958 (getEndLabel): layout as layout
7959 (getMaxDepthAfter): layout as layout
7960 (applyLayout): layout as layout
7961 (TeXOnePar): layout as layout
7962 (simpleTeXOnePar): layout as layout
7963 (TeXEnvironment): layout as layout
7964 (layout): layout as layout
7965 (layout): layout as layout
7967 * lyxtextclass.C (compare_name): new functor to work with
7968 shared_ptr, layout as layout
7969 (Read): layout as layout
7970 (hasLayout): layout as layout
7971 (operator): layout as layout
7972 (delete_layout): layout as layout
7973 (defaultLayout): layout as layout
7975 * lyxlayout_ptr_fwd.h: new file
7977 * lyxlayout.C (Read): layout as layout
7979 * lyx_cb.C (MenuInsertLabel): layout as layout
7981 * bufferlist.C (newFile): layout as layout
7983 * buffer.C (readLyXformat2): layout as layout
7984 (parseSingleLyXformat2Token): layout as layout
7985 (insertStringAsLines): layout as layout
7986 (asciiParagraph): layout as layout
7987 (latexParagraphs): layout as layout
7988 (makeLinuxDocFile): layout as layout
7989 (simpleLinuxDocOnePar): layout as layout
7990 (makeDocBookFile): layout as layout
7991 (simpleDocBookOnePar): layout as layout
7992 (getLists): layout as layout
7994 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7996 * CutAndPaste.C (cutSelection): layout as layout
7997 (pasteSelection): layout as layout
7998 (SwitchLayoutsBetweenClasses): layout as layout
8000 * BufferView_pimpl.C (Dispatch): layout as layout
8001 (smartQuote): layout as layout
8003 * BufferView2.C (unlockInset): layout as layout
8005 2002-06-24 André Pönitz <poenitz@gmx.net>
8007 * lyxfunc.C: fix #487
8009 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8013 * lyxfunc.C: remove display_shortcuts, show_banner
8015 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8017 * Buffer_pimpl.C: oops, update on resize
8019 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8026 * BufferView.C: use repaint()
8028 * BufferView_pimpl.h:
8029 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8030 as it's a clearer description. Remove superfluous
8033 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8035 * text.C: fix bug 488. Not ideal, but getting
8036 getWord() to work properly for the insets that
8037 matter is more difficult ...
8039 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8041 * BufferView_pimpl.C:
8044 * lyxfunc.C: remove the six million index lyxfuncs to just
8045 one, and DTRT (bug 458)
8047 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8051 * BufferView_pimpl.h:
8052 * BufferView_pimpl.C: clean up resize() stuff,
8053 and unnecessary updateScreen()s
8055 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8059 * BufferView_pimpl.h:
8060 * BufferView_pimpl.C:
8063 * minibuffer.C: remove focus management of workarea,
8064 not needed. Use screen's greyOut()
8066 2002-06-17 Herbert Voss <voss@lyx.org>
8068 * converter.C: (convert) do not post a message, when converting
8069 fails, let the calling function decide what to do in this case
8071 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8073 * lyxfunc.C: tidy up a little
8075 2002-06-16 <alstrup@diku.dk>
8077 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8078 Got rid of FORMS_H_LOCATION include. Now we are
8081 2002-06-15 LyX Development team <lyx@rilke>
8083 * buffer.[Ch] (sgmlOpenTag):
8084 (sgmlCloseTag): Added support for avoiding pernicious mixed
8085 content. Return number of lines written.
8088 (makeDocBookFile): Fixed calls to sgml*Tag.
8089 Simple white space clean.
8091 (simpleDocBookOnePar): Simple white space clean.
8093 * tabular.[Ch] (docBook): Renamed to docbook and got another
8094 argument to related with the pernicious mixed content.
8096 (docbookRow): Fixed calls for docbook inset method.
8098 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8100 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8101 so it's X11 independent.
8105 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8107 2002-06-15 Lyx Development team <lyx@electronia>
8109 * intl.h: Renamed getTrans to getTransManager.
8111 2002-06-14 Angus Leeming <leeming@lyx.org>
8113 * Makefile.am: nuke forgotten stl_string_fwd.h.
8115 2002-06-12 Angus Leeming <leeming@lyx.org>
8117 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8119 2002-06-13 Angus Leeming <leeming@lyx.org>
8122 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8124 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8126 * kbmap.C (getiso): add support for cyrillic and greek
8128 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8132 * BufferView_pimpl.h:
8133 * BufferView_pimpl.C: move bogus scrolling logic
8136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8139 * BufferView_pimpl.C: view->resize() change
8141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8143 * BufferView_pimpl.C: topCursorVisible
8146 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8150 * lyx_gui.C: move to frontends/
8154 * lyx_main.C: changes from above
8156 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8163 * lyx_main.C: minor tidy
8165 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8167 * BufferView_pimpl.h:
8168 * BufferView_pimpl.C:
8170 * BufferView.C: make painter() const,
8173 * BufferView2.C: use screen() accessor
8176 * lyx_main.C: some minor cleanup
8178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8180 * BufferView_pimpl.h:
8181 * BufferView_pimpl.C: remove enter/leaveView,
8184 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8189 * BufferView_pimpl.h:
8190 * BufferView_pimpl.C: only construct screen once,
8193 * lyxrc.C: remove pointless comment
8195 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8198 * BufferView.C: remove active() and belowMouse()
8200 * BufferView_pimpl.h:
8201 * BufferView_pimpl.C: use workarea() not workarea_,
8202 and make it use a scoped_ptr instead
8204 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8206 * lyx_gui.C: add debug message on BadWindow
8208 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8210 * sp_spell.C: fdopen is not part of the C++ standard.
8212 * paragraph.C (InsetIterator): use >= instead of ==
8214 2002-06-07 Angus Leeming <leeming@lyx.org>
8216 Fixes needed to compile with Compaq cxx 6.5.
8217 * BufferView_pimpl.C:
8224 * lyxtextclasslist.C:
8229 all c-library variables have been moved into namespace std. Wrap
8230 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8235 Add a using std::abs declaration.
8237 * kbmap.h (modifier_pair):
8238 * paragraph.h (InsetTable, InsetList):
8239 * lyxfont.h (FontBits):
8240 type definition made public.
8242 * bufferlist.C (emergencyWriteAll): the compiler complains that
8243 there is more than one possible lyx::class_fun template to choose from.
8244 I re-named the void specialisation as lyx::void_class_fun.
8246 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8248 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8249 the compiler is is unable to find tostr in write_attribute.
8251 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8253 * buffer.C (sgmlError): hide #warning
8255 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8257 * xtl/*: get rid of xtl, which is not in use anyway
8259 * LyXAction.C (init):
8260 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8261 were unimplemented xtl experimentation
8263 2002-06-04 André Pönitz <poenitz@gmx.net>
8265 * lyxfunc.C: disable array operation on simple formulae
8267 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8269 * converter.C: constify a bit
8271 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8273 * lyx_gui.C: check xforms version correctly
8275 2002-04-30 Herbert Voss <voss@lyx.org>
8277 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8280 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8282 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8283 attempt to register it with a VCS)
8285 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8287 * lyx_main.C (init): honor variables LYX_DIR_13x and
8290 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8294 * lyx_main.C: fix a crash on bad command line,
8295 and give a useful exit status on error
8297 * lyxfunc.C (doImport): allow -i lyx to work
8299 2002-03-30 André Pönitz <poenitz@gmx.net>
8301 * lyxfunc.C: mathed font changes
8303 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8318 * trans_mgr.h: srcdocs, and some minor cleanups
8320 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8322 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8323 call getFont all the time)
8325 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8327 * switch from SigC signals to boost::signals
8329 2002-05-29 André Pönitz <poenitz@gmx.net>
8331 * paragraph_pimpl.C (getChar): don't call size() too often...
8333 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8335 * paragraph_pimpl.C (insertChar): do not try to update tables when
8336 appending (pos == size())
8338 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8339 in order to reduce drastically the number of comparisons needed to
8340 parse a large document
8342 2002-05-29 André Pönitz <poenitz@gmx.net>
8348 * textclasslist.[Ch]:
8349 * sp_ispell.h: whitespace change
8351 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8354 lyxaction directly now.
8356 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8360 * lyxvc.C: remove unused headers
8362 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8369 * undo_funcs.C: some cleanups. Use shared_ptr
8370 and a template for the undo stacks.
8372 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8374 * BufferView_pimpl.h:
8375 * BufferView_pimpl.C:
8382 * text2.C: use key_state/mouse_state
8384 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8386 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8389 * chset.C: change include order
8390 (loadFile): use boost regex and get rid of LRegex and LSubstring
8392 * Makefile.am (BOOST_LIBS): new variable
8395 * LaTeX.C: change include order.
8396 (scanAuxFile): use boost regex and get rid of LRegex and
8400 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8405 * FontInfo.C: moved to frontends/xforms/
8408 * FontLoader.C: moved into frontends for GUIIzation
8413 * lyxfunc.C: changes from above
8415 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8417 * LColor.C: remove spurious X include
8419 * BufferView_pimpl.C:
8424 * text2.C: move font metrics to frontends/
8426 2002-05-24 Juergen Vigna <jug@sad.it>
8428 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8429 setting the undo_cursor.
8431 * ParagraphParameters.h: include local includes first.
8433 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8435 * BufferView_pimpl.C:
8436 * BufferView_pimpl.h:
8440 * screen.C: move WorkArea into frontends/
8446 * BufferView2.C: move LyXScreen into frontends/
8450 * lyx_gui.C: move lyxlookup into frontends/xforms/
8452 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8455 * BufferView_pimpl.C:
8465 * bufferview_funcs.C:
8478 * vc-backend.C: move LyX/XFormsView into frontends/
8480 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8492 * text2.C: move Painter to frontends/
8494 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * buffer.C: comment out some some code that depend upon lyx_format
8499 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8500 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8502 * buffer.h (NO_COMPABILITY): turn off compability
8504 * ColorHandler.C: include scoped_array.hpp
8506 * font.C: Use more specific smart_ptr header.
8509 * ShareContainer.h: ditto
8513 * BufferView_pimpl.h: ditto
8514 * ColorHandler.h: ditto
8516 * kbmap.C (defkey): change call to shared_ptr::reset
8518 2002-05-21 Juergen Vigna <jug@sad.it>
8520 * buffer.C (insertErtContents): fix to insert ert asis if it is
8521 non empty. Skip it completely if it contains only whitespaces.
8523 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8525 * BufferView_pimpl.C:
8526 * BufferView2.C: clear selection on paste (bug 393)
8528 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8530 * DepTable.C: include ctime
8532 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8534 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8536 2002-05-14 Juergen Vigna <jug@sad.it>
8538 * text.C (breakParagraph): fixed function to honor the keepempty
8539 layout in the right maner and also to permit the right breaking
8540 algorithm on empty or non empyt keepempty paragraphs.
8542 * paragraph.C (breakParagraph): we have to check also if the par
8543 is really empty (!size()) for isempty otherwise we do the wrong
8546 2002-05-10 Juergen Vigna <jug@sad.it>
8548 * buffer.[Ch] : The following are only changes to the ert
8549 compatibility read reading old LaTeX layout and font stuff and
8550 convert it to ERTInsets.
8552 * buffer.h: added isErtInset().
8554 * buffer.C (struct ErtComp): add a fromlayout bool to check
8555 if we're inside a LaTeX layout.
8556 (isErtInset): new helper function.
8557 (insertErtContents): look for other ert insets before this one
8558 and insert the contents there, so that we don't have subsequent
8559 ERT insets with nothing between them. This way we create only one
8560 inset with multiple paragraphs. Also check if we don't insert only
8561 spaces ' ' as they are ignored anyway afterwards in the .tex file
8562 so if we have only spaces we will ignore this latex part in the
8564 (parseSingleLyXformat2Token \\layout): better compatibility when
8565 reading layout-latex stuff.
8566 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8568 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8569 stuff after reading the inset only get the information back from
8572 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8574 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8576 * LaTeXFeatures.C (getBabelOptions): New method.
8578 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8580 * BufferView_pimpl.C (Dispatch): work around missing argument for
8583 2002-05-08 Juergen Vigna <jug@sad.it>
8585 * text.C (leftMargin): handle paragraph leftindent.
8587 * paragraph.C (writeFile): write the new \\leftindent tag.
8588 (validate): handle leftindent code.
8589 (TeXEnvironment): handle paragraphleftindent code again.
8591 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8593 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8594 for paragrap_extra indent code and new token \\leftindent.
8595 (latexParagraphs): handle the leftindent as environment.
8597 * ParameterStruct.h: added leftindent support.
8599 * ParagraphParameters.C (leftIndent): added support functions for
8600 the paragraph left indent.
8602 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8605 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8607 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8610 * text.C (computeBidiTables): No bidi in insetERT.
8612 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8615 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8617 * version.C.in: pre 5
8619 2002-05-02 José Matos <jamatos@fep.up.pt>
8620 * buffer.C (makeDocBookFile): white space changes, add newline to
8622 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8624 * tabular.C (docBook): fix typo.
8626 2002-05-03 Juergen Vigna <jug@sad.it>
8628 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8629 change in LyXText as we can not be sure it was not freed.
8630 (drawOneRow): remove unused code.
8632 * text.C (drawInset): redo the calculation of the need_break_row as
8633 it could have a row which was already freed.
8634 (draw): look at the return value of drawInset and return false if
8635 it also returned false.
8636 (paintRowText): look at the return value of draw and return false if
8637 it also returned false.
8639 * lyxtext.h: added bool return type to drawInset() and draw() so that
8640 if we have a change in the row so that the rowbreak has to be redone
8641 we abort drawing as it will be called again.
8643 2002-05-02 Juergen Vigna <jug@sad.it>
8645 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8646 a change in the maintext also if we're inside an inset.
8647 (Dispatch): set the cursor again after a break line and after the
8648 screen has been updated as it could be we're in a different row.
8650 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8651 to set the cursor behind the pargraph with > size().
8652 (setCursor): check also for the same paragraph when checking where
8653 to put the cursor if we have a NFR inset.
8655 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8656 parts of layout read further up as it still was in the wrong
8659 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8661 * screen.C (drawFromTo): change sine fullRebreak always return
8664 * buffer.C (parseSingleLyXformat2Token): reindent some
8666 * BufferView_pimpl.C (update): change since fullRebreak always
8668 (Dispatch): git rid of the last hardcoded "Standard"s.
8670 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8672 * text2.[Ch] (fullRebreak): make it return void now that we always
8675 2002-04-30 Juergen Vigna <jug@sad.it>
8677 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8678 ert compatibility check for "latex" layout.
8680 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8682 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8683 minipages: use col% instead of p%, and also use the current font.
8684 (makeLaTeXFile): Fix use babel condition.
8685 (parseSingleLyXformat2Token): Correct font when reading old floats.
8687 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8689 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8690 inserting list of floats.
8692 2002-04-25 Herbert Voss <voss@lyx.org>
8694 * MenuBackend.C (expand): don't add the graphics extensions to the
8697 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8699 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8700 non-existing layout, do not complain if it was the default layout
8701 of the original class (bug #342)
8703 2002-04-24 Juergen Vigna <jug@sad.it>
8705 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8706 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8708 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8710 * buffer.C (getBibkeyList): If using \bibliography, return the
8711 option field with the reference itself. Enables us to provide natbib
8712 support when using \bibliography.
8714 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8716 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8718 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8719 natbib is provided by the LaTeX class.
8721 2002-04-23 Juergen Vigna <jug@sad.it>
8723 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8726 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8728 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8730 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8732 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8733 ensuremath around textordmasculine, textordfeminine and
8736 2002-04-19 Juergen Vigna <jug@sad.it>
8738 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8739 reinitializing the buffer otherwise row-dimensions may be wrong.
8740 (update): reset also the selection cursors if they do exits otherwise
8741 their x/y positions may be wrong.
8743 * text2.C (cursorDown): don't enter the inset if we came from a row
8744 above and are one row over the inset.
8746 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8747 really leaving an inset.
8749 2002-04-18 Juergen Vigna <jug@sad.it>
8751 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8752 of the selected paragraph does not have the selected layout also if
8755 * text2.C (setLayout): fixed bug which did not change last selected
8758 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8759 changed the read and substituted \\end_float with \\end_inset!
8761 * BufferView_pimpl.C (cursorPrevious):
8762 (cursorNext): fixed to make it work with rows heigher than the work
8763 area without moving the cursor only the draw of the row.
8764 (workAreaMotionNotify): fix jumping over high rows.
8766 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8768 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8771 2002-04-16 Juergen Vigna <jug@sad.it>
8773 * text2.C (setCursor): set also the irow().
8774 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8776 (cursorDown): support for locking an inset if the x_fix value goes
8777 inside it. That way I can transverse insets too with cursor up/down.
8779 * lyxrow.h: added irow helper function same as other (i) functions.
8781 * BufferView_pimpl.C (cursorPrevious):
8782 (cursorNext): fixed for insets!
8784 2002-04-15 Juergen Vigna <jug@sad.it>
8786 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8787 position otherwise it is wrong in some cases.
8789 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8790 inside the inset before the call.
8792 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8794 * buffer.[Ch] (getBibkeyList): make it const.
8796 2002-04-12 Juergen Vigna <jug@sad.it>
8798 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8800 * text2.C (getCursorX): new helper function
8801 (setCursor): compute also ix_
8802 (setCursorFromCoordinates): set also ix.
8804 * lyxcursor.h: added ix_ and helper functions.
8806 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8808 * buffer.C (insertStringAsLines): dont break paragraph if the this
8809 paragraph is inside an inset which does not permit it!
8811 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8812 also with no chars on this paragraph.
8813 (paintRowText): only paint stuff if it's inside the workarea!
8815 * paragraph.C (breakParagraph): honor keepempty flag and break the
8816 paragraph always below not above.
8818 * BufferView2.C (unlockInset): update the paragraph layout on inset
8819 unlock as we changed paragraph in such a case.
8821 * lyxfind.C (LyXFind): clear the former selection if not found!
8823 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8824 again called in insertChar().
8826 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8827 an inset which uses the whole row!
8828 (rightMargin): ditto.
8829 (insertChar): force a rebreak if we inserted an inset!
8831 2002-03-28 Herbert Voss <voss@lyx.org>
8833 * lyxlength.[Ch]: add inBP() to get the right PS-point
8834 units (BigPoint). With inPixels we have rounding errors
8836 2002-04-11 Juergen Vigna <jug@sad.it>
8838 * text2.C (setCursorFromCoordinates): set iy to the right value.
8839 (setCursor): add check if row->previous exists!
8841 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8842 an old float_type as this was the case in the old code!
8844 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8846 * BufferView2.C (showLockedInsetCursor): use iy
8847 (fitLockedInsetCursor): ditto
8849 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8850 locked insets as there we have the right value now.
8852 * lyxcursor.C: added iy_ variable and iy functions to set to the
8853 baseline of cursor-y of the locked inset.
8855 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8856 (setCursor): fixed for insets which need a full row.
8858 * text.C (rowLastPrintable): don't ignore the last space when before
8859 an inset which needs a full row.
8860 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8861 as last character of a row when before a inset which needs a full row.
8863 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8865 * version.C.in: update date
8867 * text2.C (fullRebreak): try to always return true and see what
8870 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8872 * MenuBackend.C (expand): use Floating::listName
8874 * FloatList.C (FloatList): add listName argument to the built-in
8877 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8878 text associated with the float.
8880 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8882 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8884 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8886 * ShareContainer.h: add a couple of missing typenames.
8888 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8890 * lyxrc.C (getDescription): use _() correctly rather than N_().
8892 2002-03-28 Herbert Voss <voss@lyx.org>
8894 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8895 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8897 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8899 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8900 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8902 2002-03-29 Juergen Vigna <jug@sad.it>
8904 * lyxfunc.C (dispatch): add a missing fitCursor call.
8906 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8907 it was scrolled by a cursor move, so return the bool status.
8909 * BufferView.C (fitCursor): return the bool flag also to the outside
8910 world as this is needed.
8912 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8914 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8915 call the edit() as it is not needed (and wrong) IMO.
8916 (workAreaButtonPress): set the screen_first variable before evt.
8917 unlock the inset as this may change screen_first and then we have
8918 a wrong y position for the click!
8920 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8922 * MenuBackend.C (expand): another translation that I missed
8924 2002-03-28 Juergen Vigna <jug@sad.it>
8926 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8928 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8930 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8932 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8934 * MenuBackend.C (expand): fix export/view/update when there is no
8937 2002-03-27 Herbert Voss <voss@lyx.org>
8939 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8942 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8944 * bufferview_funcs.C (currentState): only show paragraph number
8945 for is DEVEL_VERSION is set.
8947 * lyxfunc.C (dispatch): put warning in INFO channel
8949 * MenuBackend.C (expand): translate the name of floats
8951 * FloatList.C (FloatList): mark the float names for translation
8953 * converter.C (convert): use LibScriptSearch
8955 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8957 * MenuBackend.C (defaults): fix default menu (we might as well get
8960 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8962 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8965 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8967 * lyxvc.C: reorder includes.
8969 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8971 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8974 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8976 * CutAndPaste.C: change layouts earlier on paste
8977 to avoid crashing when calling getFont()
8979 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8981 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8984 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8986 * WorkArea.C: remove 'Pending' debug message.
8988 * most files: ws cleanup
8990 * buffer.[Ch]: ws changes
8992 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8994 2002-03-21 Juergen Vigna <jug@sad.it>
8996 * tabular.C (SetMultiColumn): collapse also the contents of the
8997 cells and set the last border right. Added a Buffer const * param.
8999 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9004 2002-03-19 Juergen Vigna <jug@sad.it>
9006 * text2.C (clearSelection): reset also xsel_cache.
9008 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9009 where it needs to be called (John tells us to do so too :)
9010 (selectionLost): reset sel_cache.
9012 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9014 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9016 * text2.C (setCursorIntern): put debuging code in INSETS channel
9018 2002-03-19 André Pönitz <poenitz@gmx.net>
9020 * lyxfunc.C: tiny whitespace change
9022 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9024 * ToolbarDefaults.C (init):
9025 * LyXAction.C (init):
9027 * BufferView_pimpl.C (Dispatch):
9028 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9030 2002-03-19 Allan Rae <rae@lyx.org>
9032 * exporter.C (Export): removeAutoInsets before doing anything else.
9033 While I've just introduced a dependency on BufferView this really is
9034 the best place to clean the buffer otherwise you need to cleanup in
9035 a dozen places before calling export or cleanup in a dozen functions
9038 * converter.C (runLaTeX):
9039 (scanLog): Better handling of removeAutoInsets and screen updates.
9041 * lyxfunc.C (dispatch): small whitespace changes
9043 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9045 * WorkArea.C (C_WorkAreaEvent): return a value.
9046 (event_cb): return 1 if we handled the event, 0 otherwise.
9048 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9050 2002-03-18 Juergen Vigna <jug@sad.it>
9052 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9053 (GetAdditionalWidth): ditto.
9057 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9058 inset if we're there actually (probably not used right now but this
9059 is the direction to go for unifying code).
9060 (paste): disable code to clear the selection.
9062 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9063 inside an InsetText and move the check further up as it is in the
9066 * text2.C (pasteSelection): set a selection over the pasted text.
9068 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9070 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9071 and libgraphics to build on Cygwin.
9073 2002-03-15 Juergen Vigna <jug@sad.it>
9075 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9076 inserting an Inset into the paragraph. I know this is not the best
9077 fix but we already use current_view in CutAndPaste so we will remove
9078 all of it's using at the same time.
9080 * buffer.C (sgmlError): deactivated function till it is rewritten in
9081 the right mode, now it can create problems.
9083 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9084 before accessing it.
9086 2002-03-14 Juergen Vigna <jug@sad.it>
9088 * undo_funcs.C (textHandleUndo): do the right thing when updating
9089 the inset after the undo/redo.
9091 * text2.C (setCursor): just some testcode for #44 not ready yet.
9093 * undo_funcs.C (textHandleUndo): set the next() and previous()
9094 pointers of the paragraph to 0 before deleting otherwise we have
9095 problems with the Paragraph::[destructor].
9097 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9098 on a paragraph insertion.
9100 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9102 * buffer.C (asciiParagraph): use += operator for char append to
9105 * paragraph.C (getFontSettings): compare >= not just >
9106 (highestFontInRange): ditto
9109 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * paragraph.C: change several algorithm to be more appripriate for
9112 the problem domain. This is lookip in FontList and in the InsetList.
9114 2002-03-13 André Pönitz <poenitz@gmx.net>
9117 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9119 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9124 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9126 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9128 * Painter.C (display): anon helper function, adjust code for this
9130 (pixmap): remove function.
9132 * Painter.h: remove private display variable.
9134 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9136 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9138 * WorkArea.[Ch]: remove figinset_canvas cruft.
9140 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9142 * lyxtextclass.C (operator): add one item cache optimization.
9144 * bufferlist.h: doxy changes
9146 * bufferlist.C: ws changes
9148 * DepTable.[Ch] (ext_exist): place const in the right spot.
9150 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9152 (workAreaExpose): call resizeInsets when the with BufferView changes.
9153 (Dispatch): adjust for protectedBlank removal
9154 (specialChar): call updateInset if the insert went ok.
9156 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9157 specialChar instead.
9159 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9161 * BufferView.h: doxy change
9163 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9165 * lyxtextclass.C (operator[]): remove non-const version
9166 (defaultLayout): remove non-const version
9168 2002-03-12 Juergen Vigna <jug@sad.it>
9170 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9171 did resize the LyXText too.
9173 * buffer.C (readLyXformat2): set layout information on newly allocated
9176 * tabular.C (OldFormatRead): set layout information on the paragraph.
9178 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9180 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9182 2002-03-11 Juergen Vigna <jug@sad.it>
9184 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9186 (resizeCurrentBuffer): force also the insets to resize themselfes.
9187 (moveCursorUpdate): fixed up for InsetText.
9189 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9192 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9193 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9194 value of Dialogs::tooltipsEnabled().
9195 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9197 2002-03-08 Juergen Vigna <jug@sad.it>
9199 * BufferView_pimpl.C (updateInset): update inset inside inset also
9200 if it isn't inside theLockingInset().
9202 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9204 * buffer.C (asciiParagraph): redo some of the word and line length
9206 (getLists): look for Caption instead of caption.
9208 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9210 * buffer.C (Buffer): initialize niceFile to true
9213 (makeDocBookFile): make sure niceFile is true on exit
9215 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9217 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9219 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9221 * LyXSendto.C: remove.
9222 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9223 * lyx_gui.C: remove now-redundant comment.
9224 * ColorHandler.h: remove forward declaration of class WorkArea.
9225 * lyxfunc.C: remove #include "WorkArea.h".
9227 2002-03-07 Juergen Vigna <jug@sad.it>
9229 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9230 got moved away with the DEPM and also set the inset_owner always
9231 right which before could have been omitted.
9233 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9235 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9236 wanted layout is not found.
9238 2002-03-07 Juergen Vigna <jug@sad.it>
9240 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9242 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9244 * paragraph.C (breakParagraph): use default layout not layout of
9246 (Paragraph): clear ParagraphParameters.
9248 2002-03-06 Juergen Vigna <jug@sad.it>
9250 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9251 otherwise it would not be a valid lenght. Fixed a special case in
9252 the minipage compatibility read where we end the document with a
9255 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9256 was set as it could be 0 for InsetTexts first entry.
9258 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9260 * paragraph.C (writeFile): if layout is empty write out
9261 defaultLayoutName().
9263 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9264 file without named layout we set layout to defaultLayoutName().
9266 2002-03-06 Juergen Vigna <jug@sad.it>
9268 * CutAndPaste.C (copySelection): set layout for new paragraph.
9270 * text.C (prepareToPrint): leave ERT inset left aligned
9271 (leftMargin): don't indent paragraphs inside ERT insets
9273 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * paragraph.C (breakParagraph): dont call clear do the work manually
9277 * paragraph.[Ch] (clear): remove function
9279 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9281 * paragraph.C (Paragraph): dont call clear, the work has already
9284 * lyxtextclass.C (operator): assert if n is empty
9286 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9287 work manually instead.
9289 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9291 * BufferView_pimpl.C: protect selectionLost against text == 0
9293 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9295 * text.C (breakParagraph): fix a setting layout to '0' problem.
9297 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9299 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9300 final location of file, for the included files, and graphics.
9302 2002-03-05 Juergen Vigna <jug@sad.it>
9304 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9306 2002-03-04 Juergen Vigna <jug@sad.it>
9308 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9310 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9311 last column of multicolumn cells.
9312 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9314 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9316 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9317 file if it doesn't go to a temporary file.
9319 * buffer.C (sgmlOpenTag):
9320 (sgmlCloseTag): remove extra newline insertion.
9322 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9324 * text.C (getRowNearY): comment out debug msg
9326 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9328 * text2.C: first -> first_y
9330 * text.C (getRowNearY): add some attemts at a possible
9331 optimization, not working.
9333 * tabular.[Ch]: add BufferParams to several function so that newly
9334 created paragraph can be initialized to he default layotu for the
9337 * tabular-old.C (ReadOld): add buf->params to call of Init
9339 * screen.C: rename text->first to text->first_y
9341 * paragraph.C (breakParagraph): always set layout in the broken
9344 * lyxtextclass.C (Read): remove lowercase
9347 (delete_layout): ditto
9349 * lyxtext.h: rename first -> first_y
9351 * lyxlayout.C (Read): remove lowercase
9354 (obsoleted_by): ditto
9356 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9358 * buffer.C (insertErtContents): add params are to InsetERT
9359 (parseSingleLyXformat2Token): add code to check if a paragraphs
9360 layout really exist.
9361 (parseSingleLyXformat2Token): add params to several inset
9363 (asciiParagraph): remove lowercase, do the layout comparisons with
9366 * BufferView_pimpl.C (cursorNext): first -> first_y
9367 (resizeCurrentBuffer): first -> first_y
9368 (updateScrollbar): first -> first_y
9369 (scrollCB): first -> first_y
9370 (workAreaMotionNotify): first -> first_y
9371 (workAreaButtonPress): first -> first_y
9372 (checkInsetHit): first -> first_y
9373 (cursorPrevious): first -> first_y
9374 (cursorNext): first -> first_y
9375 (Dispatch): add buffer_->params to severl inset contructors
9377 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9379 * lyxlayout.C (Read): remove some debug info that I forgot.
9381 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9382 clean up the code slightly.
9383 (makeLinuxDocFile): ditto
9384 (makeDocBookFile): ditto
9386 * text2.C: layout as string
9388 * text.C: layout as string
9390 * paragraph_pimpl.C: layout as string
9392 * paragraph.[Ch]: layout as string
9394 * lyxtextclasslist.[Ch]: layout as string
9396 * lyxtextclass.[Ch]: layout as string
9398 * lyxtext.h: layout as string
9400 * lyxlayout.[Ch]: layout as string
9402 * lyx_cb.C: layout as string
9404 * bufferview_funcs.C: layout as string
9406 * bufferparams.C: layout as string
9408 * buffer.C: layout as string
9410 * LyXView.[Ch]: layout as string
9412 * LaTeXFeatures.[Ch]: layout as string
9414 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9416 * BufferView_pimpl.C: change current_layout to string, remove
9421 (workAreaButtonRelease): layout as string
9423 * BufferView2.C (unlockInset): adjust
9425 * vspace.C (asLatexCommand): use an explict temp variable.
9427 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9429 * Makefile.am: use FRONTEND_*
9431 2002-03-01 Juergen Vigna <jug@sad.it>
9433 * tabular.C (SetWidthOfMulticolCell): changed to something better
9434 I hope but still work in progress.
9435 (recalculateMulticolumnsOfColumn): renamed function from
9436 recalculateMulticolCells as it is more appropriate now.
9437 (SetWidthOfCell): calculate multicols better.
9439 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9441 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9443 * lyxfunc.C (processKeySym): print sequence also if it is
9444 `deleted' (complete)
9446 * kbsequence.C (print): print sequence even if it is deleted
9447 (complete would be a better word, actually).
9449 * lyxfunc.C (dispatch): print complete options after a prefix key
9451 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9453 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9455 * text2.C (setCharFont): eliminate setCharFont code duplication.
9457 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9459 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9460 LFUN_TABULAR_FEATURE (bug #177)
9462 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9464 * Makefile.am: remove figure.h
9466 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9468 * Bufferview_pimpl.C:
9480 * text2.C: remove #include "lyx_gui_misc.h".
9482 * LaTeX.C: added #include <cstdio>
9484 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9486 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9487 that the paragraph following this one can have.
9489 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9491 * vspace.C (asLatexCommand): fix bogus gcc warning
9493 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9495 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9497 * text2.C (setLayout): get rid of redundant code
9499 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9501 * text2.C (incDepth): make sure depth cannot be increased beyond
9504 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9506 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9507 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9509 * PainterBase.h (image):
9510 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9513 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9517 * BufferView_pimpl.C:
9518 * BufferView_pimpl.h:
9538 * sp_spell.C: remove fig inset, and the crap house of
9539 cards that follows it
9541 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9547 * nt_defines.h: move .h into support/
9549 * vms_defines.h: remove
9551 * WorkArea.C: add space in debug output
9555 * buffer.C: add WITH_WARNINGS
9559 * bufferlist.C: s/retrive/retrieve/, add docs
9570 * lyxgui.C: add ID to X error handler
9572 * lyxtestclass.c: fix typo
9574 2002-02-26 Juergen Vigna <jug@sad.it>
9576 * tabular_funcs.C (write_attribute): changed so that some default
9577 attributes are not written at all.
9578 (getTokenValue): set default values before trying to read the
9579 value so we have the return value always set as default if we don't
9580 find the token we search for.
9582 * tabular.C (Write): write bools as bools not as strings!
9584 2002-02-22 Juergen Vigna <jug@sad.it>
9586 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9587 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9589 * text.C (leftMargin): don't add an indent for paragraphs inside
9590 tabular cells (fix #208).
9592 2002-02-21 José Matos <jamatos@fep.up.pt>
9594 * tabular.C (docBook): fixed support for long tables.
9596 2002-02-20 Juergen Vigna <jug@sad.it>
9598 * text2.C (getFont): get the drawing font of the Inset if this
9599 paragraph is inside an inset (only important for InsetERT for now).
9601 * buffer.C (insertErtContents): use new lanugage params in ERT
9604 * CutAndPaste.C: commenting out seemingly uneeded code.
9606 2002-02-19 Allan Rae <rae@lyx.org>
9608 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9609 Iterators might be simple to use but they also get invalidated.
9610 (removeAutoInsets): renamed saved cursor tracking variables and added
9611 some comments to clarify what everything does.
9613 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9620 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9621 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9624 * vc-backend.h: remove #include "support/syscall.h"
9628 * converter.C: rearrange #includes in Lars' approved fashion.
9630 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9631 forward declare class Timeout in the header file.
9633 * XFormsView.C: changes due to the above.
9635 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9638 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9639 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9641 2002-02-18 José Matos <jamatos@fep.up.pt>
9643 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9646 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9648 * a lot of small ws changes
9649 * add a lot of using std::XXX
9650 * use std construcs some places where approp.
9651 * use some exisint stuff from lyxfunctional where approp.
9652 * Make file changes to use partial linking (lets test this now...)
9654 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9658 remove #include "support/syscontr.h" as it's redundant. Always has been.
9666 change Systemcalls::System to Systemcalls::Wait and
9667 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9668 No change of functionality, just reflects the stripped down Systemcalls
9671 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9673 * debug.[Ch]: add a GRAPHICS type to the enum.
9675 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9677 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9679 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9682 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9684 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9685 match the changes below.
9687 * text2.C (toggleInset): if there is not editable inset at cursor
9688 position, try to see if cursor is _inside_ a collapsable inset
9691 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9693 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9694 document menu has a nice checkbox
9696 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9698 * lyxlength.C (asLatexString): change PW to output as percent of
9701 * lengthcommon.C: change '%' to 't%'
9703 * lyxfunc.C (dispatch): a few comments from Martin
9705 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9709 * BufferView_pimpl.h:
9710 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9713 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * vspace.C (inPixels): fix compiler warning
9717 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * lyxfunc.C (getStatus): fix status message for disabled commands.
9721 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9723 * BufferView_pimpl.C: fix crash on close buffer
9724 during selection (#227)
9726 2002-01-27 Herbert Voss <voss@lyx.org>
9728 * buffer.C: link old Figure to new graphic inset
9730 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9732 * FontLoader.C (getFontinfo): Change the latex font names in order
9733 to match the names of type1inst.
9735 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9737 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9739 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9742 (remove_files_with_extension): ditto
9743 (remove_file): ditto
9746 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9747 document is smaller than the work area height. Do not initialize
9748 static variables to 0.
9750 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9752 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9754 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9755 LFUN_LAYOUT_PARAGRAPHS.
9757 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9758 tabular. It is possible to provide a possible cell, which will
9759 typically be the actcell from the corresponding insettabular
9761 * lyxfunc.C (getStatus): small cleanup; disable
9762 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9765 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9767 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9769 * paragraph.C (startTeXParParams):
9770 (endTeXParParams): new methods. The LaTeX code to
9771 start/end paragraph formatting
9772 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9773 empty (fixes bug #200)
9775 * vspace.C (inPixels): adapt to the change below
9776 (inPixels): [later] more cleanups (remove unused variables)
9778 * lyxlength.C (inPixels): change to use a width and a height as
9781 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9784 Replaced with \paperwidth
9786 * DepTable.C (insert): add std:: qualifier
9788 2002-01-18 Allan Rae <rae@lyx.org>
9790 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9793 * text.C (drawInset): Turned out I didn't know enough about how
9794 rebreaking worked. This fixes most of the redraw problems. I see
9795 an occasional cursor trail when a line is broken now and the cursor
9796 placement can seem out by a few pixels also after a rebreak.
9798 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9800 * buffer.C (parseSingleLyXformat2Token): update because minipage
9801 width is now a LyXLength
9803 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9805 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9808 2002-01-17 Juergen Vigna <jug@sad.it>
9810 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9812 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9813 is set correctly and the inset is updated correctly.
9815 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9818 the beginning of the loop.
9820 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9822 * lyxrc.C: improve help for use_scalable_fonts
9824 2002-01-17 Allan Rae <rae@lyx.org>
9826 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9828 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9830 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9831 make sure to set their inset_owner to the right value (bug #171)
9833 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9836 * DepTable.C: Implement mtime checking to reduce time spent doing
9839 2002-01-16 Juergen Vigna <jug@sad.it>
9841 * tabular.C (GetAdditionalHeight): one of error fixed.
9843 * lyxrc.C (output): small fix in writing use_pspell.
9845 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9847 * sp_base.h: #include LString.h
9849 2002-01-16 Allan Rae <rae@lyx.org>
9851 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9852 Can someone check this please?
9854 * text.C (drawInset): It was possible that p.row would be removed by
9855 breakAgainOneRow upsetting a few other settings. There may be another
9856 small tweak possible by setting need_break_row = 0 when p.row has been
9857 removed but I don't know enough about the logic here.
9859 2002-01-15 Allan Rae <rae@lyx.org>
9861 * text.C (insertChar): removed conditional truism.
9863 * BufferView2.C (removeAutoInsets): More tweaks.
9864 cur_par_prev could be a stray pointer. Check for trailing empty line
9865 in case last line was cur_par and only had an error inset on it.
9867 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9869 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9872 * vc-backend.C (most methods):
9873 * exporter.C (Export):
9874 * converter.C (convert):
9876 * LyXSendto.C (SendtoApplyCB):
9877 * lyxfunc.C (dispatch):
9881 * lyx_cb.C (AutoSave):
9883 * BufferView_pimpl.C (MenuInsertLyXFile):
9884 * buffer.C (runChktex): use Buffer::filePath().
9886 * buffer.h: rename filename to filename_; rename filepath to
9887 filepath_ and make it private
9888 (filePath): new method
9890 * buffer.C (writeFile): use fileName()
9893 * lyx_main.C (init): fix starting of LyX when the binary is a
9894 link from so,ewhere else.
9896 * minibuffer.C: include <cctype> for isprint
9898 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9900 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9901 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9902 name clash with InsetCollapsable's width function.
9904 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9906 * lastfiles.C: include <iterator>
9908 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9910 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9913 * buffer.C (makeLaTeXFile): ditto.
9914 Also make loop operation more transparent.
9916 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9918 * ToolbarDefaults.C: remove trailing comma closing namespace.
9920 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9922 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9925 * trans.C (Load): comment out unused variable, allowed.
9927 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9929 * minibuffer.[Ch] (append_char): new method to recieve input from the
9930 drop-down completion browser. If a key was pressed, then recieve this
9931 char and append it to the existing string.
9932 (peek_event): modify the positioning data passed to the completion
9933 browser so that it can be placed above the minibuffer rather than below.
9934 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9936 * LyXAction.C (init): alloe error-next for readonly documents.
9938 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9941 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9943 * bufferlist.C (readFile): create the buffer _after_ checking that
9946 * lyxfunc.C (verboseDispatch): fix handling of arguments
9948 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9950 * lyxrc.C: use string::erase() instead of initializing to "".
9953 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9955 * BufferView_pimpl.h:
9956 * BufferView_pimpl.C:
9959 * text2.C: tell X when we have made a selection for copying
9961 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9963 * BufferView_pimpl.C (MenuInsertLyXFile):
9964 * lyxfunc.C (menuNew):
9966 (doImport): add shortcuts to directory buttons
9968 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9971 * lyxfunc.C (setStatusMessage):
9972 (getStatusMessage): new methods
9973 (getStatus):use setStatusMessage instead of setErrorMessage
9974 (dispatch): when function is disabled, set error message here
9975 [instead of in getStatus previously]
9977 * BufferView_pimpl.C (workAreaButtonRelease): update
9978 toolbar/menubar here too.
9980 2002-01-13 Allan Rae <rae@lyx.org>
9982 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9983 Now seems indestructible. Remaining task is to audit all other
9984 code affected by deleteEmptyParagraphMechanism. One small quirk
9985 left is that an empty document with an error in the preamble can
9986 be made to report an error but no error box appears. I don't know
9988 (removeAutoInsets): Improved comments.
9990 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9993 * Thesaurus.C: update for Aiksaurus 0.14
9995 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9997 * text2.C (firstParagraph): removed member function, all uses
9998 replaces with ownerParagraph
9999 (redoParagraphs): here
10000 (updateInset): here
10001 (toggleAppendix): here
10002 * BufferView2.C (insertErrors): here
10003 (setCursorFromRow): here
10005 2002-01-13 Allan Rae <rae@lyx.org>
10007 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10008 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10009 There is still a way to segfault this although you may have to do this
10010 multiple times: Have an InsetERT with an unknown command in it.
10011 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10012 <down-arrow>, <Enter> again, View->DVI, BANG!
10014 * text2.C (setCursor):
10015 (deleteEmptyParagraphMechanism):
10016 * lyxtext.h (setCursor):
10017 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10018 Making use of the return value may help fix other bugs.
10020 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10024 * LyXView.C (updateMenubar): call MenuBar::update here
10025 (updateToolbar): but not here
10026 (showState): do not update toolbar/menubar
10028 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10029 should need to care about that.
10031 * lyxfunc.C (verboseDispatch): simplify a bit
10032 (getStatus): have a version which takes a pseudoaction, and
10033 another which requires a (kb_action,string).
10035 * LyXAction.C (retrieveActionArg): make it work also when action
10036 is not a pseudo-action.
10037 (getActionName): simplify a bit
10040 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10042 * lyxfunc.C (verboseDispatch): new families of methods with
10043 several ways to specify a command and a bool to indicate whether
10044 the command name and shortcut should be displayed in minibuffer
10045 (eventually, we could extend that to a finer bitmask like
10046 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10047 (dispatch): the pristine dispatch command which just, well,
10048 dispatchs! Note it still sets its result to minibuffer; I'm not
10051 * lyxfunc.h: remove setHintMessage
10053 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10055 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10057 * BufferView_pimpl.C (specialChar): delete new inset if we have
10058 not been able to insert it.
10060 * kbmap.C: revert to using int instead of kb_action, since all we
10061 are dealing with is pseudo-actions.
10063 * LyXAction.C (searchActionArg): change to return int instead of
10064 kb_action, since the result is a pseudoaction.
10066 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10068 * buffer.C (insertErtContents): Fix (partially) the font bug.
10070 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10072 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10073 as the other one is broken on my machine!
10075 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10078 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10080 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10082 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10083 reflect their actual use. Provide compatibility code for older lyxrc
10086 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10088 change names of popup font variables in line with the changes to lyxrc.C
10090 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10092 * buffer.C (asciiParagraph): avoid outputing a word twice after
10095 * lyxrc.C (getDescription): document that document_path and
10096 template_path can be empty.
10098 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10100 * LaTeXFeatures.C (getMacros):
10101 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10103 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10105 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10107 (getPackages): rename feature "floats" to "float". Use an array to
10108 iterate over 'simple' features (i.e. just a \usepackage). Add
10109 handling of "amsmath" (renamed from "amsstyle").
10111 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10113 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10116 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10118 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10119 FuncStaus::FuncStatus & FuncStaus::some_method().
10121 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10123 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10124 of the func_satus stuff. Edited and massaged in various ways by
10127 * lyxfunc.C (getStatus): use FuncStatus
10129 2002-01-08 Juergen Vigna <jug@sad.it>
10131 * text.C (nextBreakPoint): use function Inset::isChar().
10133 * paragraph.C (TeXOnePar): use function
10134 Inset::forceDefaultParagraphs.
10136 * buffer.C (latexParagraphs): use function
10137 Inset::forceDefaultParagraphs.
10139 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10141 * lyx_gui.C (init): set the style of the menu popups to
10142 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10144 2002-01-07 Juergen Vigna <jug@sad.it>
10146 * text.C (setHeightOfRow): small fix
10147 (prepareToPrint): don't look at alignment if we don't have the place
10150 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10152 * box.C: New file. Move the Box methods and functions out of box.h,
10153 following Lars' suggestion.
10155 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10157 * box.h: #include "support/LOstream.h", needed for inlined function.
10160 * lyxtextclasslist.C: added some using std declarations.
10162 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10164 * box.h: make signed dimensions to allow insets wider than
10165 the screen (bug #162)
10167 * BufferView_pimpl.C: add some insetHit debug
10169 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10171 * vc-backend.C: add FIXME
10173 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * lyxfunc.C (getStatus): enable code for showing math font status
10178 2002-01-07 Juergen Vigna <jug@sad.it>
10180 * text.C (nextBreakPoint): removed debug output not needed anymore.
10182 2002-01-06 Juergen Vigna <jug@sad.it>
10184 * text.C (nextBreakPoint): fixed up this function we had this bug
10185 since ever but now hopefully we break row better.
10186 (insertChar): we have to check if an inset is the next char as it
10187 could now happen that a large inset is causing a break.
10189 2002-01-05 Juergen Vigna <jug@sad.it>
10191 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10192 if it doesn't like to be drawed.
10194 2002-01-04 Juergen Vigna <jug@sad.it>
10196 * BufferView2.C (lockInset): forgot to set a cursor.
10198 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10200 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10202 * FormMathsPanel.C:
10205 * form_maths_panel.C:
10206 * form_maths_panel.h:
10207 * form_maths_panel.fd: implemented sub- and super- buttons in math
10210 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10211 (or ^ space) to be used as in TeX (req'd by André).
10213 * lyxfunc.C: Allow ^ and _ again to be used both as
10214 super/subscript (mathed) and as themselves (in text).
10216 2002-01-03 Allan Rae <rae@lyx.org>
10218 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10219 "LyX" or the filename of the current buffer if it has one. This is a
10220 modified form of John Levon's patch.
10222 * XFormsView.C (setWindowTitle): also set icon title.
10224 * LyXView.h (setWindowTitle): signature changed.
10225 * XFormsView.h (setWindowTitle): ditto.
10227 2002-01-02 Juergen Vigna <jug@sad.it>
10229 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10231 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10233 * screen.C (topCursorVisible): introduce a temp var for
10234 text->cursor.row(), handle the case where this row is null. (kindo
10237 * text2.C (setCursor): add a couple of asserts.
10239 * paragraph.h (inset_iterator): add -> operator
10241 * paragraph.[Ch] (autoDeleteInsets): remove member function
10243 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10244 cursor pos correctly and handle inset deletion by itself.
10245 (insertErrors): move iterator declaration out of for expression
10247 * lyxtextclass.C: add <algorithm>
10249 * Makefile.am: added the new files to sources, removed layout.C
10251 * layout.C: removed file
10253 * layout.h: remove LYX_DUMMY_LAYOUT
10255 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10259 * lyxtextclass.[Ch]:
10260 * lyxtextclasslist.[Ch]: new files
10262 * include order changes to a lot of files, also changes because of
10265 2001-12-27 Juergen Vigna <jug@sad.it>
10267 * buffer.C (asciiParagraph): more fixes.
10269 * tabular.C (ascii): make ascii export support export of only the
10270 data separated by a column-delimiter.
10271 (ascii): better support for ascii export.
10273 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10275 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10277 * tabular_funcs.C: use a "using std::getline" instead of the
10278 previous fix from Angus (necessary for cxx + lyxstring)
10280 2001-12-24 Juergen Vigna <jug@sad.it>
10282 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10284 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10285 problems. First check a minipage also if we have some ert-contents
10286 (not only on par->size(), second set the right depth of the paragraph
10287 on the relink to the root-paragraph-list!
10289 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10290 which then did not anymore update the main paragraphs on undo/redo!
10292 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10294 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10295 code. Support all font-changing funcs (even those which are not in
10296 menu currently). Support for reporting font settings in
10297 mathed (disabled until Andre provides a function on mathed's side).
10299 * func_status.h (toggle): small helper function to set toggle
10302 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10304 * tabular_funcs.C: getline -> std::getline
10306 2001-12-21 Juergen Vigna <jug@sad.it>
10308 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10309 accessed and could be 0 (I couldn't generate this but it seems
10312 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10314 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10315 * tabular_funcs.h: here and include iosfwd
10317 2001-12-20 Juergen Vigna <jug@sad.it>
10319 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10320 inside inset but undo_par was.
10322 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * Thesaurus.C: always include <config.h> in sources.
10328 * box.h: do not include <config.h> in header files
10330 * text.C (paintLastRow): remove unused variable
10332 * text.C (transformChar):
10334 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10336 * Painter.C (text):
10337 * font.C (width): rewrite to use uppercase() instead of
10340 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10342 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10344 * lyxfind.C: clean up of find failure position change
10346 2001-12-20 Juergen Vigna <jug@sad.it>
10348 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10350 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10351 (TeXRow): added to LaTeX a single tabular row.
10352 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10353 (Latex): simplified and finally good LT-h/f support.
10354 (various_functions): just small adaptions for LT-h/f support.
10356 * tabular_funcs.[hC]: added and moved here all not classfunctions
10359 2001-12-19 Juergen Vigna <jug@sad.it>
10361 * tabular.[Ch]: better support for longtabular options (not finished
10364 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10366 * text.C (paintLastRow): use the label font instead of the font of
10367 the last character to compute the size of *_BOX. This makes more
10368 sense and avoids a crash with empty paragraphs.
10369 Use Painter::rectangle to draw EMPTY_BOX.
10371 2001-12-19 Juergen Vigna <jug@sad.it>
10373 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10374 the paragraphs if the replaced paragraph is not the first one!
10375 Tried to delete not used paragraphs but does not work yet so for
10376 now it's inside #ifdef's and by default off!
10378 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10380 * MenuBackend.C: include "lyx_main.h" instead of declaring
10381 lastfiles (actually was declared as LastFiles* instead of a
10384 2001-12-17 Juergen Vigna <jug@sad.it>
10386 * tabular.C (AppendColumn): applied John's fix
10388 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10392 * BufferView_pimpl.h:
10393 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10396 * box.h: new start of class for above
10398 * lyxfunc.C: ignore space-only minibuffer dispatches.
10399 Show the command name when it doesn't exist
10401 * minibuffer.C: don't add empty lines to the history
10403 * minibuffer.C: add a space on dropdown completion
10405 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10407 * text.C: fix line above/below drawing in insets
10409 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10411 * lyxlength.C (LyXLength): Initialize private variables.
10413 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10416 when inserting error insets.
10418 2001-12-13 Juergen Vigna <jug@sad.it>
10420 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10421 actually sometimes the before-paragraph.
10422 (setUndo): don't clear the redostack if we're not actually undoing!
10424 2001-12-06 Juergen Vigna <jug@sad.it>
10426 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10427 and fixed redoing of main paragraph, so we can use it now ;)
10429 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10431 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10433 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10436 2001-12-13 André Pönitz <poenitz@gmx.net>
10439 * undo_func.C: minor cleanup
10441 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10443 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10444 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10445 font in urw-fonts package which is marked as -urw-fontspecific and
10446 does not work (incidentally, changing the encoding in the
10447 fonts.dir of this package to -adobe-fontspecific fixes the
10450 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10451 is a crash when undoing first paragraph (Juergen, please take a
10452 look). THis does not mean the undo fix is wrong, just that it
10455 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10456 the (Paragraph*) version when needed instead of duplicating the
10459 * text.C (workWidth): use Inset::parOwner to find out where the
10460 inset has been inserted. This is a huge performance gain for large
10461 documents with lots of insets. If Inset::parOwner is not set, fall
10462 back on the brute force method
10464 * paragraph_pimpl.C (insertInset):
10465 * paragraph.C (Paragraph):
10466 (cutIntoMinibuffer): set parOwner of insets when
10467 inserting/removing them
10469 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10471 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10477 * mathed/formulabase.C:
10478 * mathed/math_cursor.[Ch]:
10479 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10482 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10484 * lyxlength.[Ch] (operator!=): new function
10486 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10488 * text.C (workWidth): use Inset::parOwner to find out where the
10489 inset has been inserted. This is a huge performance gain for large
10490 documents with lots of insets. If Inset::parOwner is not set, fall
10491 back on the brute force method
10493 * paragraph_pimpl.C (insertInset):
10494 * paragraph.C (Paragraph):
10495 (cutIntoMinibuffer): set parOwner of insets when
10496 inserting/removing them
10498 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10500 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10502 * tabular-old.C (getTokenValue):
10503 * tabular.C (getTokenValue):
10504 (write_attribute): new versions for LyXLength
10505 (everywhere): adjust the use of widths
10507 * tabular.h: change the type of widths from string to LyXLength
10509 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10511 * paragraph.C: fixed missing line number count when exporting
10512 Environments to LaTeX file
10514 * buffer.C: added informational message for checking line numbers.
10516 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10518 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10519 paragraph, do the 'double space' part, but not the 'empty
10522 * text.C (workWidth): small optimization
10523 (getLengthMarkerHeight): use minimal size for negative lengths.
10525 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10527 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10529 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10531 2001-12-11 André Pönitz <poenitz@gmx.net>
10534 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10536 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10538 * text2.C: keep selection on a setFont()
10540 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10542 * lyx_cb.C: another bv->text misuse, from insert label
10544 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10547 * kbsequence.C: re-instate nmodifier mask
10549 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10551 * lyx_main.h: make lyxGUI private.
10553 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10555 * lyxfind.C: place the cursor correctly on failed search
10557 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * text.C (getLengthMarkerHeight): for small heights, the arrows
10560 are not always on top/bottom of the text
10561 (drawLengthMarker): smaller arrows; take the left margin in
10562 account; draw also vfills.
10564 (paintLastRow): remove special code for vfill and standard spaces,
10565 since everything is handled in drawLengthMarker now.
10567 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10569 * buffer.C (insertErtContents): try to handle font and language
10570 interaction a bit better.g
10572 * ColorHandler.C (updateColor): change the hash to cover the whole
10573 LColor enum, ws cleanup
10574 (getGCLinepars): ditto
10575 (getGCLinepars): only lookup in the linecache once.
10577 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10579 * iterators.C (operator++): Make the iterator more robust
10581 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10583 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10585 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10588 * text.C: better added space drawing
10590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10593 * BufferView2.C: fix layout combo update on inset unlock
10595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10597 * Makefile.am: don't compile unused files
10599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10603 * LyXAction.C: remove old LFUN_LAYOUTNO
10605 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10607 * paragraph_pimpl.h:
10608 * paragraph_pimpl.C: isTextAt() doesn't need font param
10610 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10613 * lyxlex.C: little cleanup
10615 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10617 * BufferView_pimpl.C: fix insertAscii for insets
10619 2001-12-05 Juergen Vigna <jug@sad.it>
10621 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10622 set the right font on the "multi" paragraph paste!
10624 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10630 * lyxlength.C: remove out-commented code.
10632 * BufferView_pimpl:
10646 * vc-backend.C: change "while(" to "while ("
10648 * lyxlength.[Ch]: add zero function to check if length is zero or
10650 * lyxgluelength.C: use it
10652 2001-12-05 Allan Rae <rae@lyx.org>
10654 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10655 Works for 2.95.3, from what I understand of Garst's reports this should
10656 work for other g++ versions. We're screwed if the abs(int) definition
10657 changed between bugfix releases of gcc.
10659 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10661 * text.C: fix chapter label offset !
10663 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10666 * text.C: fix hfill at end of line, clean up
10668 2001-12-04 Juergen Vigna <jug@sad.it>
10670 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10671 that we force an update of the inset and it's owners if neccessary.
10673 2001-12-03 Juergen Vigna <jug@sad.it>
10675 * text.C (rowLast): simplified code
10677 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10679 * lyxfunc.C: fix show options on timeout
10681 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10683 * screen.C (topCursorVisible): scroll half a page when the cursor
10684 reached top of bottom of screen
10686 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10688 * minibuffer.C: deactivate on loss of focus
10690 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * vspace.[Ch] (operator!=): add operator.
10694 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10696 * BufferView_pimpl.C: refuse to open an inset when
10697 there's a selection.
10699 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10701 * BufferView_pimpl.C: allow to click on RHS of full row insets
10703 2001-11-30 Juergen Vigna <jug@sad.it>
10705 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10706 insets for undo reasons.
10708 2001-11-28 André Pönitz <poenitz@gmx.net>
10710 * vspace.[Ch]: cosmetical changes
10712 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10722 * kbsequence.C: part re-write of old kb code
10725 * WorkArea.C: remove Lgb_bug_find_hack
10727 2001-11-30 José Matos <jamatos@fep.up.pt>
10729 * buffer.C (makeDocBookFile): add a comment to point a hack.
10730 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10731 Fixed a double write of labels.
10733 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10736 * LaTeX.h Fixed bug in LaTeX class where it would not
10737 re-run latex if no depfiles were changed, but the .dvi was removed.
10739 2001-11-28 André Pönitz <poenitz@gmx.net>
10741 * all the files from the change on 2001/11/26:
10742 use lyx::layout_type instead of LyXTextClass::size_type
10743 use lyx::textclass_type instead of LyXTextClassList::size_type
10745 2001-11-29 Juergen Vigna <jug@sad.it>
10747 * text.C: added support for paragraph::isFreeSpacing()
10749 * buffer.C: same as above
10751 * paragraph.h: inserted isFreeSpacing() function to enable
10752 FreeSpacing inside InsetERT.
10754 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10755 of the paragraph's in the cut/copy buffer to 0!
10757 * text2.C (removeRow): remove the assert as it can!
10759 * lyxtext.h: added helper function firstRow returning firstrow and
10760 made firstrow private again.
10762 * BufferView2.C (lockInset): don't relock if we're already locked!
10764 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10765 the only paragraph.
10766 (removeRow): added Assert::(firstrow)
10768 * debug.C: forgot to add INSETTEXT here.
10770 2001-11-28 Juergen Vigna <jug@sad.it>
10772 * sp_spell.C (initialize): changed error text to more general
10773 spellchecker command use (not only ispell!)
10775 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10777 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10779 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10781 * vspace.C: initialise lyxgluelength on failure
10783 2001-11-28 Allan Rae <rae@lyx.org>
10785 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10786 declaration & definition that looks like a function declaration.
10788 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * BufferView2.C (copy):
10791 (copyEnvironment): do not clear the selection when doing a copy.
10793 * text.C (paintFirstRow): compilation fix
10795 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10797 * tabular.C (Latex): correct line count when writing latex.
10799 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10801 * paragraph_pimpl.h:
10802 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10805 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10809 * LColor.C: change vfillline->added_space
10811 * text.C: add markers and text for added space
10813 * vspace.C: fix comment
10815 2001-11-28 André Pönitz <poenitz@gmx.net>
10817 * paragraph.C: whitespace changes
10818 * all the other files from the change on 2001/11/26:
10819 change *::pos_type into lyx::pos_type
10821 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10823 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10824 language of the document when inserting error insets.
10826 2001-11-26 André Pönitz <poenitz@gmx.net>
10828 * BufferView_pimpl.[Ch]:
10836 * paragraph_pimpl.[Ch]:
10839 * text2.C: reduce header dependencies, introduce type for positions
10841 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10843 * <various>: change to use Alert.h
10845 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10847 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10848 when encountering an unknown token.
10849 (readLyXformat2): Show an error message if there were unknown tokens.
10851 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10854 * BufferView_pimpl.C:
10858 * text2.C: use par->isInset()
10860 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10862 * paragraph_pimpl.h:
10863 * paragraph_pimpl.C: cleanup
10865 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10867 * text2.C (removeRow):
10868 * text.C (setHeightOfRow): remove useless (and costly) call to
10871 2001-11-20 Allan Rae <rae@lyx.org>
10873 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10874 Now need Inset*::checkInsertChar() to return true for appropriate
10875 cases so that the characters in the minibuffer will actually be
10878 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * text.C: change the order of the includes.
10881 (workWidth): initialize it at once.
10882 (workWidth): make maxw unsigned
10883 (setHeightOfRow): remove unused variable (inset)
10884 (selectSelectedWord): remove unused variable (inset)
10885 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10887 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10890 server is not running.
10892 (closeConnection): add debug info when server is disabled.
10894 * ColorHandler.C (getGCForeground): send debug message to GUI
10897 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10899 * kbmap.C (bind): modify because return conventions of
10900 kb_sequence::parse have changed.
10902 * kbsequence.C (parse): only ignore spaces and not any stupid
10903 control character. This avoids tests like s[i] <= ' ', which are
10904 guaranteed to fail with 8bit characters and signed chars.
10905 Change return code to string::npos when there have been no error
10906 (0 was a bad idea when error is at first character)
10908 2001-11-14 José Matos <jamatos@fep.up.pt>
10911 * buffer.C (simpleDocBookOnePar): removed unused argument.
10913 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10915 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10916 insets which are part of a word. Paragraph::isLetter takes care of
10917 that now. Use Paragraph::isInset to identify insets.
10918 (selectSelectedWord): do not test for hyphenation break.
10920 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10921 that protected spaces are considered as spaces.
10923 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10926 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10929 * lyxserver.C: fix it. and small cleanup.
10931 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10933 * BufferView_pimpl.C: use inline helpers
10936 * LaTeXFeatures.C: fix typos
10939 * Spacing.C: move spacing_string into class
10941 * ToolbarDefaults.C: move stuff into namespace anon
10943 * layout.h: update enum
10945 * lyxfunc.C: use better debug
10947 * minibuffer.h: fix typo
10951 * WorkArea.C: add and use Debug::WORKAREA
10955 * text2.C: code re-organisation, inline helpers
10957 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10959 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10960 std::vector.empty().
10962 2001-11-09 Allan Rae <rae@lyx.org>
10964 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10965 '\n's after tables. Tabular and ERT inset work now makes this no
10968 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10971 * minibuffer.C: fix crash, improve drop-down completion
10973 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10976 * lyxserver.C: invalidate fd's when doing endPipe()
10978 2001-11-08 José Matos <jamatos@fep.up.pt>
10980 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10981 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10984 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10986 2001-11-07 José Matos <jamatos@fep.up.pt>
10989 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10992 * buffer.C (sgmlOpenTag):
10993 * buffer.C (sgmlCloseTag): removed debug info.
10995 * buffer.h (sgmlOpenTag):
10996 * buffer.h (sgmlCloseTag): made public.
10998 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11000 * buffer.C (saveParamsAsDefaults):
11001 * lyx_cb.C (MenuLayoutSave): remove
11003 * LyXAction.C (init):
11005 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11007 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11009 * buffer.C (setPaperStuff): removed from here...
11011 * bufferparams.C (setPaperStuff): ... and moved there.
11013 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11017 * XFormsView.C: add support for drop-down completion
11019 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11021 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11024 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11026 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11029 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11031 * lyx_main.C: change ref to known bugs
11033 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11035 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11036 to work around older babel problems.
11038 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11040 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11042 2001-10-24 Juergen Vigna <jug@sad.it>
11044 * tabular-old.C (ReadOld): below variable changes reflected.
11046 * tabular.[Ch]: added ltType struct for longtable header/footer
11047 defines and changed all instances where they are used. Added
11048 future support for double top/bottom rows.
11050 2001-10-24 José Matos <jamatos@fep.up.pt>
11052 * buffer.h (docbookHandleCaption):
11053 * buffer.C (docbookHandleCaption): removed unused function.
11054 (makeDocBookFile): moved docbook supported version to v4.1.
11056 2001-10-24 José Matos <jamatos@fep.up.pt>
11059 * tabular.C (docbookRow): new function to export docbook code of a row.
11060 (DocBook): now honors the longtable flags.
11062 2001-10-23 José Matos <jamatos@fep.up.pt>
11065 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11066 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11068 * buffer.C (makeLinuxDocFile):
11069 (makeDocBookFile): reworked the preamble, more clean, and with
11070 support for lyx defined entities. Changed the document declaration
11071 to be more XML friendly.
11073 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11074 if we need to output XML that should be done with a filter.
11076 2001-10-22 Juergen Vigna <jug@sad.it>
11078 * sp_pspell.h (class PSpell): add alive function needed in the
11079 controller to see if the spellchecker could be started.
11081 2001-10-22 Juergen Vigna <jug@sad.it>
11083 * buffer.C (insertStringAsLines): modify the font for inserting
11084 chars in certain conditions by calling checkInsertChar(font).
11086 2001-10-19 Juergen Vigna <jug@sad.it>
11088 * text.C (workWidth): use getRow instead of wrong algorithm.
11089 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11091 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11096 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11098 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11100 * text.C (workWidth): do not search for the exact row when
11101 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11102 optimization for big documents.
11104 2001-10-18 Juergen Vigna <jug@sad.it>
11106 * text.C (workWidth): new function with added Inset * parameter.
11108 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11110 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11112 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11113 change return type of getColumnNearX.
11116 * text.C (changeRegionCase): use uppercase/lowercase instead of
11119 (rightMargin): simplify code by factoring out the uses of
11124 (appendParagraph): use Paragraph::size_type
11126 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11128 * vspace.C (asLatexString): add a missing break
11130 2001-10-15 Herbert Voss <voss@perce.de>
11132 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11134 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11136 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11139 2001-10-10 André Pönitz <poenitz@gmx.net>
11141 * lyxfunc.C: removed greek_kb_flag.
11143 2001-10-10 Herbert Voss <voss@perce.de>
11145 * lyx_main.C: delete global string help_lyxdir.
11147 2001-10-09 Herbert Voss <voss@perce.de>
11149 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11151 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11153 * lyx_main.C: added global string help_lyxdir.
11155 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11157 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11159 * lyxrc.C (set_font_norm_type): support iso8859-4
11161 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11163 * LaTeX.C (deplog): add another regex for MikTeX
11165 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11167 * lyxrc.C (set_font_norm_type): support iso8859-3
11169 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11173 * LaTeXFeatures.C: remove special case of french and index
11175 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11176 before \begin{document}). This solves several incompatibilities.
11178 2001-10-03 Garst Reese <reese@isn.net>
11180 * lyx_cb.C: change CheckTex error msg.
11182 2001-10-03 José Matos <jamatos@fep.up.pt>
11184 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11186 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11188 * .cvsignore: update
11190 * lyx_main.C (commandLineVersionInfo): use new style version info.
11192 * buffer.C (writeFile):
11194 (makeLinuxDocFile):
11195 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11197 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11199 * version.h: update to use stuff in version.C
11201 * version.C.in: new file. Contains version information determined
11202 at compile time. This is a merging of version.h and
11205 2001-10-03 Juergen Vigna <jug@sad.it>
11207 * BufferView_pimpl.C (update): don't change "dirty" status in
11210 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11212 * WorkArea.C (c-tor): re-position version string slightly.
11214 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11216 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11217 revert to previous code.
11219 WorkArea.[Ch]: (show, destroySplash): methods removed.
11221 WorkArea.C: rework code so that it's an amalgam of the codes before and
11222 after the splash screen was moved to WorkArea.
11224 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * vspace.C (inPixels):
11230 * buffer.C (insertStringAsLines):
11231 (asciiParagraph): fix types to be large enough
11233 * lyxlex_pimpl.h: change member status from short to int
11235 * layout.h: fix type of endlabeltype
11238 * kbsequence.C (parse): change return type to string::size_type
11240 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11243 * Bullet.C (bulletSize):
11244 (bulletEntry): do not use short ints as parameters
11246 * BufferView2.C (insertLyXFile): change a char to an int.
11248 * WorkArea.C (WorkArea): remove unneeded floats in computation
11250 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11252 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11254 * paragraph.C (asString): Do not ignore newline/hfill chars when
11255 copying to the clipboard.
11257 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11259 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11260 after a multi-line inset.
11262 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11264 * paragraph.C (validate): Set NeedLyXFootnoteCode
11266 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11268 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11269 and decrease-error to decrease.
11271 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11273 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11274 it more readable (should be equivalent)
11276 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11278 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11280 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11282 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11283 of a cursor (row, etc.) after a character has been deleted
11284 (deleteEmptyParagraphMechanism): call the method above on _all_
11285 cursors held by the LyXText when a double space has been
11288 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11290 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11292 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11294 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11295 background. Use greyOut() and the new show() methods to toggle between
11296 the foreground and background. Add code to remove the splash after
11297 its initial showing.
11299 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11300 (create_forms): no longer call Dialogs::showSplash.
11302 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11304 * .cvsignore: add version_info.h
11306 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11308 * version_info.h.in: new file
11310 * Makefile.am: add version_info.h.in
11312 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11313 version_info.h instead of VERSION_INFO
11315 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11317 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11318 The ERT inset now returns string().
11320 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11322 * lyxtext.h, text.C (selectNextWord): renamed as
11323 selectNextWordToSpellcheck.
11325 * text.C (selectNextWordToSpellcheck): Modified to not select
11326 words inside an ERT inset.
11328 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11330 * lyx_cb.C (MenuLayoutSave): change a bit the question
11332 * sp_base.h: include <sys/types.h>
11334 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11336 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11338 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11340 * several files: fix typos in user-visible strings
11342 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11344 * text2.C (pasteSelection): do not set the selection, since it
11345 will be cleared later. Actually, the intent was to fix the way the
11346 selection was set, but I figured rmoving the code was just as good.
11348 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11350 * FontLoader.C (available): Check if font is available without
11353 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11355 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11357 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11359 * lyxrc.[Ch]: added display_graphics variable and associated code.
11361 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11363 * bufferparams.C (hasClassDefaults): new method. Returns true if
11364 the buffer parameters correspond to known class defaults
11366 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11368 * XFormsView.C (show): set minimum size to the main window.
11370 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11372 * text2.C (copySelection):
11374 * lyxfind.C (LyXReplace):
11375 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11376 LyXText::selectionAsString.
11378 * paragraph.C (asString): add "label" argument to the second form
11380 * text2.C (selectionAsString): add "label" argument and pass it to
11381 Paragraph::asString.
11383 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11385 * lyx_main.C (commandLineHelp): remove version information
11387 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11389 * lyx_main.C: add -version commandline option
11391 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11393 * paragraph.h: make the optional constructor arg required instead.
11394 some modifications to other files because of this.
11396 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11398 * lyxserver.C (C_LyXComm_callback): make it static
11400 * lyx_main.C (error_handler): make it static
11402 * lyx_gui.C (LyX_XErrHandler): make it static
11404 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11406 * WorkArea.C: make the extern "C" methods static.
11408 * Makefile.am (lyx_LDADD): simplify
11410 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11412 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11413 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11415 * LyXAction.C (init):
11416 * lyxfunc.C (dispatch): associated code removal.
11418 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11420 * lyxfont.h (isSymbolFont): shut off warning
11422 * text.C (setHeightOfRow):
11423 (getVisibleRow): fix crash with empty paragraphs which have a
11426 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11428 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11431 2001-09-04 José Matos <jamatos@fep.up.pt>
11434 * tabular.C (docbook): rename docBook method to docbook.
11436 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11438 * Makefile.am: add dependencies to main.o.
11440 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11442 * FontLoader.C (available): Return false if !lyxrc.use_gui
11444 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11446 * FontInfo.C (query):
11447 * converter.C (view):
11448 * importer.C (Import):
11449 * exporter.C (Export): Can not -> cannot.
11451 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11453 * BufferView_pimpl.C: allow to create index inset even if
11456 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11458 * buffer.C (getLists): replace boost::tie code with an explicit pair
11459 as boost::tie can break some compilers.
11461 * iterators.h: Added a std:: declaration to the return type of
11464 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11466 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11469 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11471 * iterators.[Ch]: New files. Provide paragraph iterators.
11473 * buffer.C (changeLanguage): Use paragraph iterators.
11474 (isMultiLingual): ditto
11476 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11478 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11480 * FontLoader.C: Support for cmr font.
11482 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11484 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11485 (available): New method.
11487 * FontInfo.C (getFontname): Use scalable fonts even when
11488 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11491 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11493 * converter.C (Formats::view): reverted! Incorrect fix.
11495 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11497 * converter.C (Formats::view): only output the -paper option
11498 if the dvi viewer is xdvi, thereby fixing bug #233429.
11500 2001-08-23 Herbert Voss <voss@perce>
11502 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11504 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11506 * Spacing.h (Spacing): Set space to Default on in the default
11509 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * vc-backend.h (RCS::versionString): add RCS to version
11512 (CVS::versionString): add CVS to version
11514 * vc-backend.C (scanMaster): do not add CVS to version.
11515 (scanMaster): do not add RCS to version
11517 * lyxvc.C (versionString): new method
11519 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11521 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11523 * Spacing.C (set): initialize fval
11525 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11527 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11530 2001-08-16 Juergen Vigna <jug@sad.it>
11532 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11534 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11536 * BufferView_pimpl.C:
11539 * text2.C: setParagraph takes linespacing now
11541 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11543 * LyxAction.C: add internal LFUN_CITATION_INSERT
11545 * LyXView.C: actually apply fix
11547 * bufferlist.C: fix open non-existent file
11549 * lyxfind.C: fix indentation
11551 * lyxfunc.C: remove unneeded assert, fix typo
11553 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11555 * MenuBackend.C: use "Floatname List"
11557 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11559 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11560 when converting LaTeX layout to insetERT.
11561 Generate a non-collapsed float when reading old float
11563 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11565 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11568 2001-08-13 Juergen Vigna <jug@sad.it>
11570 * text.C (fill): return 0 instead of 20 as this seems to be the more
11573 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11575 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11578 2001-08-13 Juergen Vigna <jug@sad.it>
11580 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11582 (SearchBackward): comment out the unlocking of the inset_owner this
11583 should not be needed!
11585 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11587 * Many files: Remove inherit_language, and add latex_language
11589 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11590 collapsible insets.
11592 2001-08-10 Juergen Vigna <jug@sad.it>
11594 * text.C (prepareToPrint): fixed hfill-width in draw!
11596 * BufferView2.C (selectLastWord): save the selection cursor as this
11597 now is cleared in the function LyXText::clearSelection!
11599 2001-08-08 Juergen Vigna <jug@sad.it>
11601 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11602 BACKSPACE type functions.
11604 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11605 is only cutted from the document but not put in the cut-buffer, where
11606 still the old stuff should be.
11608 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11610 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11612 * tabular.C (SetWidthOfCell): fixed special case where the width
11614 (LeftLine): handle '|' in align_special.
11616 (LeftAlreadyDrawed): ditto
11617 (SetWidthOfCell): ditto
11619 2001-08-07 Juergen Vigna <jug@sad.it>
11621 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11623 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11625 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11626 * lyxlex.[hC]: ditto
11628 2001-08-06 Juergen Vigna <jug@sad.it>
11630 * text.C (getVisibleRow): fix up row clearing a bit.
11632 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * minibuffer.C: make sure the X server sees the changes in the input.
11636 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * paragraph.C (getFont): split into...
11639 (getLabelFont): this
11640 (getLayoutFont): and this
11641 * paragraph_pimpl.C (realizeFont): calling this
11643 * text2.C (getFont): split into...
11644 (getLayoutFont): this
11645 (getLabelFont): and this
11646 (realizeFont): all three calling this
11648 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11651 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11653 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11655 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11657 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11658 layouts from the Quote inset insertion.
11660 2001-08-03 Juergen Vigna <jug@sad.it>
11662 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11664 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11665 only if status not is already CHANGED_IN_DRAW (second level).
11667 * text.C (draw): don't set the need_break_row when inside an
11670 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11672 * buffer.C (parseSingleLyXformat2Token): handle more latex
11675 * bufferview_funcs.[hC]: change function names to
11676 begin with small char, adjust other files.
11678 2001-08-02 André Pönitz <poenitz@gmx.net>
11681 BufferView_pimpl.C: remove broken special code for math-greek
11683 2001-08-02 Juergen Vigna <jug@sad.it>
11685 * BufferView_pimpl.C (update): redone this function so that we
11686 update the text again if there was a CHANGE_IN_DRAW.
11688 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11689 (drawFromTo): added a new internal bool which is used by draw() and
11691 (general): some cursor drawing problems fixed.
11693 2001-08-01 Juergen Vigna <jug@sad.it>
11695 * lyxfind.C (LyXFind): fixed
11696 (SearchForward): ditto
11697 (SearchBackward): ditto
11699 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11700 spurius drawing of the cursor in the main area.
11702 * text2.C (status): small fix which could lead to a segfault!
11703 (clearSelection): remove unneeded BufferView param.
11705 2001-08-01 André Pönitz <poenitz@gmx.net>
11707 * lyxfunc.C: small change due to changed mathed interface
11709 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11711 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11713 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11715 * lyxfunc.c: fail gracefully if file doesn't exist
11720 * BufferView_pimpl.C: IsDirWriteable() proto changed
11722 * LyXView.C: fix updateWindowTitle() to store the last title
11724 2001-07-31 Juergen Vigna <jug@sad.it>
11726 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11727 the font (wrong since using of Paragraph::highestFontInRange).
11729 * paragraph.C (highestFontInRange): added a default_size parameter.
11731 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11732 (setHeightOfRow): reformat
11734 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11736 * converter.[hC] + affected files: move to (inital-char)lowercase
11739 * ParagraphParameters.C (ParagraphParameters): remove commented code
11741 * PainterBase.[Ch]: remove commented code
11743 * LaTeXFeatures.h: add "bool floats" for float.sty
11745 * LaTeXFeatures.C (LaTeXFeatures): init floats
11746 (require): handle float
11747 (getPackages): do it with floats
11749 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * BufferView_pimpl.C (Dispatch): improve handling of
11752 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11754 * commandtags.h: #include lyxfont.h here temporarily to avoid
11757 * bufferlist.h: include LString.h here.
11759 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11761 * text2.C (getStringToIndex): new method.
11763 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11765 * *: Reduced header file dependencies all over.
11767 2001-07-30 Baruch Even <baruch@lyx.org>
11769 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11771 2001-07-29 Baruch Even <baruch@lyx.org>
11773 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11775 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * ParameterStruct.h (endif): add a default constructor to make
11778 sure that all variables is initialized.
11780 * ParagraphParameters.C (ParagraphParameters): adjust
11782 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11784 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11785 index; also, check that there is something to index, and that it
11786 does not span over several paragraphs.
11787 (doubleClick): use WHOLE_WORD_STRICT for double click.
11789 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11791 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11794 2001-07-26 Baruch Even <baruch@lyx.org>
11796 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11797 an InsetFig figure, backwards compatible reading of old figure code.
11799 2001-07-27 Juergen Vigna <jug@sad.it>
11801 * text2.C: font.realize function adaption.
11803 * text.C (draw): add a warnings lyxerr text if needed.
11805 * layout.C: font.realize function adaption.
11807 * language.C: add inherit_language and implement it's handlings
11809 * bufferview_funcs.C (StyleReset): remove language parameter from
11810 font creation (should be language_inherit now).
11812 * bufferparams.C (writeFile): handle ignore_language.
11814 * paragraph.C (getFontSettings): the language has to be resolved
11815 otherwise we have problems in LyXFont!
11817 * lyxfont.C (lyxWriteChanges): added document_language parameter
11818 (update): removed unneeded language parameter
11820 * paragraph.C (validate): fixed wrong output of color-package when
11821 using interface colors for certain fonts in certain environments,
11822 which should not seen as that on the final output.
11824 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11826 * BufferView_pimpl.C:
11831 * LyXAction.C: add thesaurus support
11834 * lyxfind.C: add "once" parameter, for thesaurus, to not
11835 move to the next match
11837 2001-07-26 Juergen Vigna <jug@sad.it>
11839 * lyxfont.C (realize): honor ignore_language too!
11842 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11844 * text.C (draw): one place more for ignore_language to not draw
11847 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11849 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11851 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11853 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11854 the minipage conversion problem.
11856 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11858 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11861 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11863 * BufferView.h: don't forward declare WorkArea
11865 * BufferView.C: don't include WorkArea.h
11867 2001-07-25 André Pönitz <poenitz@gmx.net>
11871 * lyxfunc.C: new LFUN 'math-space'
11873 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11875 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11877 * text2.C (toggleInset): call open/close
11879 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * lyxfunc.C (dispatch): add debug for the disabled case
11883 * font.C (buttonText): make similar to rectText
11885 * buffer.C (readInset): comment out parsing of insetlist and
11888 * PainterBase.C (rectText): small correction
11890 * BufferView_pimpl.C: comment out insettheorem and insetlist
11891 * LyXAction.C: ditto
11892 * commandtags.h: ditto
11894 2001-07-24 Juergen Vigna <jug@sad.it>
11896 * text.C (draw): honor the ignore_language.
11898 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11900 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11902 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11905 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11907 * lyxtext.h: remove unused (and unimplemented) methods
11909 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11911 * text.C (getVisibleRow): honor background color
11914 * Painter.h: remove default color argument for fillRectangle
11916 * text.C (backgroundColor): new method
11918 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * text.C (getVisibleRow): adjust
11922 * font.[Ch] (rectText): new method, metrics
11923 (buttonText): new method, metrics
11925 * PainterBase.[hC]: make rectText and buttonText always draw and take
11928 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11930 * ToolbarDefaults.C (read):
11931 * MenuBackend.C (read): allow escaping in all strings
11933 * BufferView_pimpl.C (insertAndEditInset): new method.
11934 (Dispatch): use insertAndEditInset whenever appropriate.
11936 * BufferView_pimpl.C (insertNote): removed
11938 * BufferView_pimpl.C (smartQuote): new method, moved from
11939 BufferView; if an insetquote cannot be inserted, insert a '"'
11942 * BufferView2.C: remove insertCorrectQuote();
11944 * lyxfunc.C (getStatus): Add support for all remaingin
11945 inset-insert lfuns.
11947 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11949 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11950 command (necessary to pass " as parameter of self-insert.
11952 * text.C (selectWordWhenUnderCursor):
11953 (selectWord): add word_location parameter
11954 (selectWordWhenUnderCursor): same + remove special code for word
11956 (selectNextWord): use kind() to guess type of insetspecialchar,
11959 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11960 (insertErtContents): create ert insets as collapsed.
11961 (readInset): better compatibility code for Info inset.
11963 2001-07-20 Juergen Vigna <jug@sad.it>
11965 * lyxfunc.C (dispatch): use always LyXFind now!
11967 * text2.C (init): add a reinit flag so that the LyXText can be
11968 reinited instead of deleted and reallocated (used in InsetText).
11970 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11976 2001-07-18 Juergen Vigna <jug@sad.it>
11978 * text.C (selectNextWord): handle insets inside inset by calling
11979 always the bv->text functions so that we can go up the_locking_inset!
11981 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11982 in strange locations when inside an inset!
11984 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11985 handling to include insets.
11987 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11989 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11991 * LyXAction.C (init):
11993 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11994 LIGATURE_BREAK, since the name is so stupid.
11996 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11998 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12001 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12003 * sp_form.[Ch]: remove.
12005 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12007 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12010 * src/buffer.C (readInset): ditto.
12012 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12014 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12015 menuSeparator(), endOfSentenceDot(), ldots() and
12016 hyphenationPoint(), which are therefore removed.
12017 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12019 * LyXAction.C (init):
12020 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12022 * paragraph.C (getWord): removed.
12024 * BufferView_pimpl.C (Dispatch): use last word or selection for
12025 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12027 * lyx_main.C (queryUserLyXDir): do not ask before creating
12028 user_dir, except if it has been named explicitely.
12030 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12032 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12033 a document of zero size.
12035 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12037 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12038 approriately in the c-tor and in require().
12039 (getPackages): output the appropriate LaTeX for natbib support.
12041 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12042 variables "use_natbib" and "use_numerical_citations" when reading the
12044 (readInset): read the various natbib cite commands.
12045 (validate): white-space change.
12047 * bufferparams.[Ch]: new variables "bool use_natbib" and
12048 "bool use_numerical_citations".
12049 (writeFile): output them in the LyX file.
12051 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12053 * lyxfunc.C (getStatus): add support for all the inset insertion
12056 * text2.C (insertInset):
12057 * paragraph.C (insetAllowed):
12058 * BufferView_pimpl.C (insertInset): update to take in account the
12059 renaming of insertInsetAllowed
12061 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12063 * text2.C (getInset): new method. returns inset at cursor position.
12065 * BufferView_pimpl.C (Dispatch): changes because of this.
12067 * LyXAction.C (init): rename open-stuff to inset-toggle.
12069 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12071 * text2.C (toggleInset): renamed from openStuff; use
12074 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12076 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12078 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12080 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12082 * buffer.C (readLyXformat2): Add filename to the error dialog
12084 2001-07-18 Juergen Vigna <jug@sad.it>
12086 * tabular.C (GetCellNumber): put an assert here instead of the check!
12088 2001-07-17 Juergen Vigna <jug@sad.it>
12090 * BufferView_pimpl.C (toggleSelection): adapted too.
12092 * text.C (selectNextWord): adapted for use with insets.
12093 (selectSelectedWord): ditto
12095 2001-07-17 Juergen Vigna <jug@sad.it>
12097 * sp_spell.C (PSpell): fix initialitation order.
12099 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * paragraph.C: spacing
12103 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12105 * sp_spell.C: repair language selection for pspell
12107 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * lyxfunc.h: change more methods to begin with lower char.
12111 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12113 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12114 for unknown layouts.
12116 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12118 * buffer.C (readLyXformat2): Generate an error dialog if there are
12121 2001-07-16 Juergen Vigna <jug@sad.it>
12123 * sp_spell.C: always compile ISpell part.
12125 * lyxrc.C: added use_pspell entry and it's handling.
12127 2001-07-13 Juergen Vigna <jug@sad.it>
12129 * sp_spell.C: removed double includes.
12131 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12133 Consistent use of Lsstream.h:
12134 * Lsstream.h: added using std::stringstream for consistencies sake.
12136 * buffer.C: removed using std::stringstream
12138 * lyxfont.C (stateText):
12139 * paragraph.C (asString):
12140 * text.C (selectNextWord, selectSelectedWord):
12141 * text2.C (setCounter):
12142 * vspace.C (asString, asLatexString):
12143 std::ostringstream -> ostringstream.
12145 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12147 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12148 * commandtags.h: add LFUN_HELP_ABOUTLYX
12149 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12151 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12153 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12155 * lyx_gui_misc.C: remove spellchecker
12156 * lyxfunc.C: showSpellchecker
12158 * sp_ispell.h: added
12159 * sp_pspell.h: added
12160 * sp_spell.C: added
12161 * sp_form.[Ch]: removed
12162 * spellchecker.[Ch]: removed
12164 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12166 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12168 (simpleTeXSpecialChars): Simply print the input character without
12169 any special translation if pass_thru is set.
12171 * layout.h: Added bool pass_thru to layout class for being able to
12172 implement pass through of a paragraph for Literate Programming.
12174 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12175 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12176 * layout.C (Read): add "passthru" to list of layout tags and add
12177 code to set the pass_thru boolean when it is read.
12179 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12181 * trans_decl.h: remove allowed from KmodInfo
12183 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12184 remove allowed code
12187 * paragraph_pimpl.C (erase): use boost::prior
12189 * Painter.C (text): use data() instead of c_str() when length is
12191 * WorkArea.C (putClipboard): ditto
12192 * font.h (width): ditto
12194 * BufferView2.C: use it-> instead of (*it). for iterators
12196 * paragraph_pimpl.C: ditto
12197 * paragraph.C: ditto
12198 * minibuffer.C: ditto
12199 * language.C: ditto
12201 * encoding.C: ditto
12202 * counters.C: ditto
12203 * converter.C: ditto
12205 * Variables.C: ditto
12206 * TextCache.C: ditto
12207 * MenuBackend.C: ditto
12208 * LyXAction.C: ditto
12210 * FloatList.C: ditto
12211 * DepTable.C: ditto
12212 * ColorHandler.C (LyXColorHandler): ditto
12214 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12216 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12218 * text2.C (openStuff): reintroduce this method (which had been
12219 nuked in NEW_INSETS frenzy).
12221 * lyxfunc.C (Dispatch): when an action has not been handled, use
12222 its name in the error message, not its number.
12224 * paragraph.C (inInset): change method name to begin with lowercase.
12227 * text2.C: updates because of this.
12229 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12231 * ToolbarDefaults.C (add): add spaces in error message
12233 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12236 (readLyXformat2): rename return_par to first_par, use lyxlex's
12237 pushToken and remove the manual push handling.
12238 (parseSingleLyXformat2Token): add another ert comp. variable:
12239 in_tabular, rename return_par to first_par. handle newlines better
12241 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12243 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12245 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * text2.C (getParFromID): removed
12249 * buffer.C (getParFromID): new method moved form lyxtext.
12250 * BufferView2.C (insertErrors): adjust
12251 (setCursorFromRow): adjust
12252 * BufferView_pimpl.C (restorePosition): adjust
12253 * lyxfunc.C (Dispatch): adjust
12254 * undo_funcs.C (textUndo): adjust
12256 (textHandleUndo): adjust
12257 (textHandleUndo): adjust
12259 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12261 * buffer.C: up' the LYX_FORMAT
12263 * lyxfont.h: turn NO_LATEX on as default
12265 * buffer.C (insertErtContents): new methods of tex style compability.
12266 (parseSingleLyXformat2Token): use it several places.
12267 * tabular.C (OldFormatRead): and here
12269 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12271 * text2.C: remove some commented code.
12274 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12275 * trans.C: changes because of the above.
12277 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12279 * text2.C (setCounter): Fix counters bug with bibliography layout.
12281 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12284 own member functions
12285 (simpleTeXSpecialChars): ditto
12287 2001-07-06 Juergen Vigna <jug@sad.it>
12289 * a lot of files: changed the access to LyXText::status and the
12290 call of undo-functions.
12292 * undo.[Ch]: added a inset_id to the undo informations.
12294 * undo_funcs.[Ch]: added and moved here all undo functions.
12296 * lyxtext.h: give the status enum a weight, made status_ a private
12297 variable and made accessor functions for it, removed the whole bunch
12298 of undo-functions as they are now in their own file, make some
12299 functions publically available. Added function ownerParagraph with
12302 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12303 made InInset() a const function, added getParFromID() function.
12305 * buffer.[Ch]: added const version for inset_iterator functions,
12306 added getInsetFromID() function.
12308 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12309 changed undo functions for new version.
12311 2001-07-05 Juergen Vigna <jug@sad.it>
12313 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12314 unknow mechanism does not call the proper constructor but only this
12315 one also if I request the other!?
12317 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12319 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12321 * text2.C (LyXText): use initialization lists.
12323 * lyxtext.h (Selection): initialize set_ and mark_
12324 (init): remove method
12326 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12328 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12330 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * screen.[Ch]: change method names to begin with lowercase
12334 * BufferView_pimpl.C (updateScrollbar): simplify further and
12335 hopefully make it a bit faster.
12337 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12339 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12340 calling directly xforms functions.
12342 * Painter.C (Painter):
12343 * lyx_cb.C (MenuWrite):
12344 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12347 * lyx_gui.C: remove bogus guiruntime extern declaration.
12349 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12351 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12353 (redoDrawingOfParagraph): ditto
12354 (redoParagraphs): ditto
12355 (cutSelection): don't create a object for CutAndPaste use the
12356 static method directly
12357 (pasteSelection): ditto
12359 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12362 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * modifications to some other files because of this.
12366 * Makefile.am (lyx_SOURCES): add XFormsView
12368 * XFormsView.[Ch]: new files
12370 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12371 the main window. Move the gui dependent stuff to XFormsView
12373 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12375 * tabular.C (GetCellInset): update cur_cell also in the row/col
12376 version of this function.
12378 * lyxfunc.C: no need to include figure_form.h here.
12384 * lyxvc.C: no need to include forms.h here.
12386 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12388 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12390 * lyxfunc.C (Dispatch):
12392 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12393 constructor argument.
12395 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * paragraph.C (Paragraph): dont't clear, and just set layout.
12398 (makeSameLayout): use params's copy contructor.
12400 * ParagraphParameters.[Ch] (makeSame): delete method
12402 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12404 * Variables.[Ch]: fix indentation, rename set to isSet
12406 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12408 * lyxfunc.C (Dispatch): fix typo
12410 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12412 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12415 * bufferlist.C: include assert.h for emergencyWrite().
12417 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12419 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12420 give up at last (bug #425202) !
12422 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12428 * spellchecker.C: strip spellchecker options and bring up
12429 preferences tab instead
12431 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12433 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12434 the istringstream constructor
12436 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12438 * paragraph.C (getLayout): fix return value
12440 * paragraph.h: do not declare getLayout as inline.
12442 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12444 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * lyxcursor.h (operator<): new func
12447 (operator>): new func
12448 (operator>=): new func
12449 (operator<=): new func
12451 * text.C (changeCase): use selection.start and selection.end
12452 (changeRegionCase): require from to be <= to. Require par to be a
12455 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12457 2001-06-27 Juergen Vigna <jug@sad.it>
12459 * text.C (cursorLeftOneWord): changed to return the cursor and added
12460 overlay with BufferView * parameter which calls this one.
12462 (selectWord): use new getWord function.
12463 (changeCase): renamed from changeWordCase as and extended to work
12464 also on selections.
12466 * lyxtext.h: added enum word_location
12468 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12469 changeCase as this operates now also on selections.
12471 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12473 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12475 * many files: send debug output to Debug::INFO instead of
12478 * converter.C (View):
12480 (Move): send debug output to Debug::FILES instead of console.
12482 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12484 * lyxfunc.C (getStatus): use func_status
12486 * func_status.h: new header, describing the results of
12487 LyXFunc::getStatus;
12489 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12492 2001-06-25 The LyX Project <jug@sad.it>
12494 * buffer.C (sgmlOpenTag):
12496 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12498 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * text2.C: remove some dead code
12502 * tabular.C (GetCellInset): store the last cell checked (gotten)
12504 * tabular.h: add the helper for the speedup
12506 * lyxtext.h: remove some dead code
12508 2001-06-26 The LyX Project <Asger>
12510 * paragraph.C: Change export to LaTeX of alignment to
12511 \begin{center} and family for better roundtrip work with reLyX.
12513 * Tune the math drawing a bit.
12515 2001-06-25 The LyX Project <Asger>
12517 * LColor.C (LColor): New color for math background. New color
12520 2001-06-25 The LyX Project <jug@sad.it>
12522 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12524 * lyxfunc.C (Open):
12525 * bufferlist.C (newFile): do not restrict to files ending with
12528 * BufferView_pimpl.C (MenuInsertLyXFile):
12530 2001-06-24 The LyX Project <jug@sad.it>
12532 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12535 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * lyxtext.h: rename most methods to begin with a small char.
12538 Lots of changes because of this.
12540 * paragraph.C (Paragraph): do not call fitToSize
12541 (erase): call Pimpl::erase
12542 (insertChar): call Pimpl::insertChar
12543 (insertInset): call Pipl::insertInset
12544 (breakParagraph): do not call fitToSize
12545 (breakParagraphConservative): do not call fitToSize
12546 (fitToSize): remove method
12548 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12550 2001-06-24 The LyX Project <Asger>
12552 * Fix Qt compilation^2
12554 2001-06-24 The LyX Project <jug@sad.it>
12556 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12557 depthHook(getDepth()-1).
12560 * ParagraphParameters.h:
12561 * ParameterStruct.h: change type of depth to unsigned int ==
12562 depth_type. Many adaptations to other files before of that.
12564 2001-06-24 The LyX Project <Asger>
12566 * Fix Qt compilation.
12568 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * paragraph.h: renamed several methods to begin with small letter.
12571 several changes to many parts of the code because of this.
12573 2001-06-23 The LyX Project <jug@sad.it>
12575 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12576 rewritten to discard all double spaces when KeepEmpty is off
12577 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12578 to only handle newlines but not fiddle with spaces and friends.
12580 * lyxfunc.C (MenuNew): when doing 'new from template', use
12581 template_path as default directory
12583 2001-06-23 The LyX Project <Asger>
12585 * Clean-up of header file includes all over
12586 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12588 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * paragraph.h: renamed from lyxparagraph.h
12592 2001-06-23 Asger <lyx@violet.home.sad.it>
12594 * Buffer.h: Removed Buffer::resize
12595 * BufferList.h: Removed BufferList::resize
12596 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12597 the document lazily when we change the width, or the font settings.
12599 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12601 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12603 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12605 * buffer.h: remove out of date comment
12607 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12610 * screen.C: fix "theoretical" GC leak
12612 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12614 * LaTeX.C (scanAuxFile):
12615 (deplog): remove trailing \r when reading stream (useful under
12618 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12620 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12621 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12622 and BufferView::theLockingInset(Inset*), so should use them and not
12623 access bv_->text->the_locking_inset directly.
12625 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12627 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12630 * tex-defs.h: remove old unused file
12632 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12634 * BufferView_pimpl.C: fix typo, remove minibuffer message
12635 when buffer has loaded
12637 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * lyxfunc.C (Dispatch): use stringstream
12640 (MenuNew): use stringstream
12641 (Open): use stringstream
12643 * importer.C (Import): use stringstream
12645 * bufferview_funcs.C (CurrentState): use stringstream
12647 * LaTeX.C (run): use stringstream
12649 * BufferView_pimpl.C (savePosition): use stringstream
12650 (restorePosition): use stringstream
12651 (MenuInsertLyXFile): use stringstream
12653 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12666 * vspace.C: removed // -*- C++ -*- as first line.
12669 * version.h: added // -*- C++ -*- as first line.
12671 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12673 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12675 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12678 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12683 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12685 * gettext.C: include LString.h even when --disable-nls is on.
12687 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12689 * converter.h (Get): changed argument type from int to
12690 FormatList::size_type to avoid unnecessary conversion.
12692 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12695 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12697 * gettext.h: include LString.h even when --disable-nls is on.
12699 2001-06-07 Juergen Vigna <jug@sad.it>
12701 * text.C (BreakAgain): subst spaces with tabs.
12703 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12704 (resizeInsetsLyXText): set force on resizeLyXText.
12706 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12708 * gettext.h (gettext_init):
12709 (locale_init): use a real definition instead of a macro
12711 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12713 * Bufferview_pimpl.C:
12715 * LColor.C: further lcolor tidies
12717 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12719 * BufferView_pimpl.C (updateScrollbar): simplify.
12721 * BufferView2.C: don't include insets/insetinfo.h, change
12722 prototype for insertInset and call the Pimpl version. let
12723 updateInset call Pimpl version.
12725 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12726 gotoInset to BufferView::Pimpl
12728 2001-06-01 Juergen Vigna <jug@sad.it>
12730 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12731 inside a LockingInset (is the update needed at all?).
12733 2001-05-31 Juergen Vigna <jug@sad.it>
12735 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12736 here not the old one otherwise how should we compare it afterwards
12739 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12744 * FontInfo.C: bring C functions into global namespace when
12747 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * LString.h: make sure config.h has been loaded before LString.h.
12751 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12752 (one for each char read by EatLine!).
12754 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12757 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12759 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12760 to the same as the par we break from
12762 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12766 * MenuBackend.C (expand): also create menu entries for wide
12767 versions of the floats.
12769 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12771 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12773 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12774 frontends/Makefile.am
12780 * tabular.C (getTokenValue): add std::
12782 * tabular-old.C (getTokenValue): add std::
12783 (getTokenValue): ditto
12784 (getTokenValue): ditto
12786 * screen.C (ToggleSelection): adjust
12788 * lyxtext.h: put selection cursors inside a Selection struct.
12790 * lyxfunc.C (moveCursorUpdate): adjust
12792 * lyxfont.C (latexWriteStartChanges): add std::
12794 * lyxfind.C: adjust
12796 * font.h: delete with(char const *, LyXFont const &)
12798 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12800 * FontInfo.C (getFontname): add std::
12802 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12803 (workAreaButtonPress): adjust
12804 (tripleClick): adjust
12806 (moveCursorUpdate): adjust
12809 * BufferView2.C (gotoInset): adjust
12811 2001-05-30 Juergen Vigna <jug@sad.it>
12813 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12814 to check pspell I add this as default as I now have new pspell
12815 libraries and they seem to use this.
12817 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * text2.C (CutSelection): make the cursor valid before the call to
12822 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12824 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12825 relied on 0 terminated strings and other horrors. Bug found due to
12826 the new assert in lyxstring!
12828 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12831 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12833 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12836 * lyxfunc.C (processKeySym): change method of getting to the
12839 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12840 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12841 * BufferView_pimpl.[Ch]: here as private methods.
12843 2001-05-28 Juergen Vigna <jug@sad.it>
12845 * text.C (SetHeightOfRow): added the update() call again as it is
12846 needed to initialize inset dimensions!
12848 2001-05-16 Juergen Vigna <jug@sad.it>
12850 * text2.C (SetCharFont): Add new function with BufferView * and
12851 bool toggleall parameters for setting insets internal fonts.
12852 (SetFont): Freeze the undo as we may change fonts in Insets and
12853 all this change should be inside only one Undo!
12855 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12856 setting font's in insets as for them we have the SetFont function!
12858 2001-05-15 Juergen Vigna <jug@sad.it>
12860 * text2.C (ClearSelection): to be sure we REALLY don't have any
12863 * tabular.C (TeXCellPreamble): fixed the left border problem for
12866 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12868 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12871 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12874 LFUN_BREAKPARAGRAPH.
12876 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12877 help test to "internal only", similar for LFUN_INSERT_URL
12879 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12880 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12881 auto_region_delete and deadkeys.
12883 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12886 * LColor.C: remove some dead entries, tidy a little
12888 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12892 (Dispatch): implement LFUN_ESCAPE
12894 * commandtags.h: add LFUN_ESCAPE
12896 * LyXAction.C (init): add entry for LFUN_ESCAPE
12898 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12899 Remove commented code.
12900 (insertNote): moved here
12901 (open_new_inset): moved here
12903 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12906 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12908 * kbmap.C (findbinding): clean it up and make it work correctly.
12910 * lyx_main.C (init): do not pass argc and argv as parameters
12912 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12914 * buffer.C: fix path for OS/2 & Win32
12918 * lyx_main.C: Added os:: class.
12920 * os2_defines.h: update
12922 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12925 better by trying again with reduced state.
12927 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12929 * lyxrc.C (read): print error about invalid key sequence only when
12930 debugging (because not all latinX keysyms are known to some X
12933 * kbsequence.C (getiso): add a few std:: qualifiers
12934 (getiso): comment out extra return statement.
12936 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12938 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12940 (Dispatch): enhance the accent inset a bit. (not perfect)
12942 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12944 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12946 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12948 * bufferlist.C (emergencyWrite): fix assert() call
12950 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12952 * text.C (InsertChar): Added trivial patch to only send the "you
12953 can not do multiple spaces this way" message once during a
12956 2001-05-08 Baruch Even <baruch@lyx.org>
12958 * Makefile.am: Changed order of libraries to get LyX to link properly
12959 with the gnome frontend.
12961 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12963 * LaTeXFeatures.h: add a std:: qualifier
12965 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * paragraph.C (String): use stringstream
12969 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * paragraph.C (writeFile): remove footflag arg
12973 * buffer.C (makeLaTeXFile): use stringstream
12974 (latexParagraphs): remove footnot gurba
12976 * LaTeXFeatures.C (getPackages): use stringstream
12977 (getMacros): likewise
12978 (getTClassPreamble): likewise
12979 (getFloatDefinitions): new method
12981 * paragraph.C (writeFile): reindent
12984 * WorkArea.h: revert the xpos + etc changes.
12986 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12988 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12990 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12991 (pasteSelection): likewise
12992 * text2.C (CreateUndo): likewise
12994 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12996 * minibuffer.C (peek_event): temporarily reduce the functionality
12997 of the minibuffer (to allow args on lfuns)
12999 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13000 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13002 * buffer.C (readInset): add compability reading of old float
13003 lists, add reading of new style float list.
13004 (readInset): avoid reevaluation of inscmd.getCmdName()
13005 (getLists): reindent
13007 * MenuBackend.C (MenuItem): implement parsing of
13008 md_floatlistinsert and md_floatinsert.
13009 (expand::LastFiles): move initalizaton of iterators out of loop,
13010 avoid reevaluation.
13011 (expand::Documents): introduce typdedef vector<string> Strings,
13013 (expand::ExportFormats): introduce typedef vector<Format const *>
13014 Formats, and use it.
13015 (expand): implement FloatListInsert and FloatInsert.
13017 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13018 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13019 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13021 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13023 (Dispatch::LFUN_FLOAT_LIST): implement
13025 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13027 * LaTeX.C (run): Fix problem with --export code.
13029 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13031 * BufferView.[Ch] (workarea): removed.
13032 (getClipboard) new method; wrapper for workarea()->getClipboard()
13034 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13037 * WorkArea.h (width, height, xpos, ypos): These methods all
13038 returned the dimensions of the work_area sub-area of WorkArea,
13039 resulting in a position error if the WorkArea were resized. Now
13040 return the dimensions of the entire WorkArea.
13042 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13044 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13046 * LaTeX.C (deplog): correct the syntax of regex reg1
13048 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13050 * undo.C: remove !NEW_INSETS cruft
13052 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13054 * text2.C: remove !NEW_INSETS cruft
13056 * text.C: remove !NEW_INSETS cruft
13058 * tabular.C: remove !NEW_INSETS cruft
13060 * spellchecker.C: remove !NEW_INSETS cruft
13062 * lyxtext.h: remove !NEW_INSETS cruft
13064 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13066 * lyxfunc.C: remove !NEW_INSETS cruft
13068 * lyxfind.C: remove !NEW_INSETS cruft
13070 * lyx_cb.C: remove !NEW_INSETS cruft
13072 * figureForm.C: remove !NEW_INSETS cruft
13074 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13076 * buffer.[Ch]: remove !NEW_INSETS cruft
13078 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13080 * CutAndPaste.C: remove !NEW_INSETS cruft
13082 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13084 * BufferView2.C: remove !NEW_INSETS cruft
13086 * BufferView.h: remove !NEW_INSETS cruft
13088 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * Lsstream.h: include LString.h before the sstream headers to
13091 fix problem with gcc 2.95.3 and lyxstring
13093 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13095 * lyx_main.C: add using directives when needed for C functions
13096 declared in std:: namespace.
13098 2001-04-27 Juergen Vigna <jug@sad.it>
13100 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13101 (SetHeightOfRow): comment out the update call should not be needed!
13103 2001-04-13 Juergen Vigna <jug@sad.it>
13105 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13106 (LyXTabular): tried to minimize operator= operations (and realized
13107 hopfully Lars wish).
13109 2001-04-27 Juergen Vigna <jug@sad.it>
13111 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13113 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13117 * buffer.C (readInset): hack to make listof algorithm work
13119 * BufferView_pimpl.C: hack to make listof algorithm work
13121 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * LyXAction.C: removed all !NEW_INSETS cruft
13124 (init): moved lfun_item in method
13126 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13128 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13130 * BufferView2.C (theLockingInset): white space.
13132 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13134 * minibuffer.C: include <iostream>
13136 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13138 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13140 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13142 * text.[Ch] (TransposeChars): new method
13144 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13146 * call message directly through LyXView instead of through LyXFunc
13147 * BufferView2.C: adjust
13148 * BufferView_pimpl.C: adjust
13149 * FontLoader.C: adjust
13151 * bufferview_funcs.C: adjust
13152 * converter.C: adjust
13153 * figureForm.C: adjust
13154 * importer.C: adjust
13156 * lyx_gui_misc.C: adjust
13157 * lyxfunc.C: adjust
13160 + more files in subdirs
13162 * lyxparagraph.h (size): move up int file
13165 * adjust all uses of Assert to lyx::Assert.
13167 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13168 lyxfunctional in namespace lyx
13169 * layout.C (hasLayout): ditto
13172 (delete_layout): ditto
13173 (NumberOfClass): ditto
13174 * converter.C (GetFormat): ditto
13179 * bufferlist.C (getFileNames): ditto
13180 (emergencyWriteAll): ditto
13183 * MenuBackend.C (hasSubmenu): ditto
13186 * BufferView_pimpl.C (getInsetByCode): ditto
13188 2001-04-18 Juergen Vigna <jug@sad.it>
13190 * vspace.C (asLatexString): fixed the 100% problem.
13192 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13194 * lyxfunc.C (Dispatch):
13196 * minibuffer.h: add a few std:: qualifiers
13198 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13200 * minibuffer.[Ch]: reimplement so that commands is initiated and
13201 run from lyxfunc, simplified som handling, and made the completion
13202 and history code for complete. wip.
13204 * lyxfunc.C (processKeySym): call message
13205 (miniDispatch): new temporary method
13206 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13207 (LFUN_MESSAGE): implement
13208 (LFUN_MESSAGE_PUSH): implement
13209 (LFUN_MESSAGE_POP): implement
13210 (initMiniBuffer): the initial/defualt minibuffer message.
13212 * lyxfont.[Ch]: inline some more getters
13214 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13216 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13218 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13219 (AutoSave): use LFUN_MESSAGE
13220 (Reconfigure): ditto
13222 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13224 * figureForm.C: use LFUN_MESSAGE
13226 * converter.C (runLaTeX): use LFUN_MESSAGE
13228 * bufferview_funcs.C: use LFUN_MESSAGE
13230 (changeDepth): ditto
13232 * bufferparams.h: use boost::
13234 * bufferlist.h: inherit privately from noncopyable
13236 * bufferlist.C (loadLyXFile): remove some commented code.
13238 * buffer.C (runChktex): use LFUN_MESSAGE
13240 * ShareContainer.h: inherit privately from noncopyable
13242 * ParagraphParameters.[hC] (depth): inline it.
13244 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13246 (message): new method
13247 (messagePush): ditto
13248 (messagePop): ditto
13249 (show): init minibuffer
13250 (showState): direct call
13252 * LaTeX.[Ch]: inherit privately from noncopyable
13253 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13254 instead of WriteStatus.
13256 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13258 * BufferView_pimpl.C (buffer): don't init minibuffer
13259 (workAreaButtonPress): use LFUN_MESSAGE
13260 (workAreaButtonRelease): ditto
13261 (savePosition): ditto
13262 (restorePosition): ditto
13263 (MenuInsertLyXFile): ditto
13264 (workAreaExpose): don't init minibuffer
13265 (update): remove commented code, simplify
13267 * BufferView2.C (openStuff): use LFUN_MESSAGE
13268 (toggleFloat): ditto
13271 (copyEnvironment): ditto
13272 (pasteEnvironment): ditto
13277 (updateInset): remove some commented code
13279 * lastfiles.h: inherit privately from noncopyable
13282 * lyx_main.h: ditto
13284 * lyxlex_pimpl.h: ditto
13286 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13287 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13288 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13290 * LyXAction.h: inherit privately from noncopyable, add methods
13291 func_begin, func_end, returning iterators to the func map.
13293 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13294 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13295 (func_begin): new method
13296 (func_end): new method
13298 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13300 (copySelection): ditto
13301 (pasteSelection): ditto
13303 * BufferView.C: whitespace change
13304 * BufferView.h: inherit privately from noncopyable
13306 2001-04-16 Allan Rae <rae@lyx.org>
13308 * tabular-old.C (l_getline):
13309 * spellchecker.C (sc_check_word):
13310 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13311 an unrecognised preprocessor directive. So ensure they're wrapped.
13313 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13315 * src/exporter.C (Export): Give an error message when path to file
13318 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13320 * LaTeX.C (deplog): Always check that foundfile exists.
13322 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13325 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13327 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * tabular.[Ch] (getLabelList): implement new method
13331 * minibuffer.h: comment ouf setTiimer
13333 * minibuffer.C (ExecutingCB): constify res
13334 (peek_event): constify s
13335 (Set): constify ntext
13336 (Init): constify nicename
13338 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13340 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13341 (savePosition): use two params to Minibuffer::Set
13342 (restorePosition): ditto
13344 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13346 * lyx_main.C: include language.h
13348 * Makefile.am (lyx_main.o): add language.h
13350 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13356 * CutAndPaste.C: include gettext.h
13358 * lyxfont.h: remove old hack with ON and OFF.
13361 * lyxfont.h: do not include language.h...
13366 * bufferview_funcs.C:
13372 * paragraph.C: ... but do it here instead
13374 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13376 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13378 * tabular.C: small reformat
13380 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13383 (BreakParagraph): ditto
13384 (SetOnlyLayout): ditto
13387 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13390 * lastfiles.C: removed most using decl, add std:: where needed
13392 * buffer.C: ws changes
13394 * MenuBackend.C (class compare_format): put into anon namespace
13395 (expand): constify label, names, action, action2
13398 * text.C (SingleWidth): constify font
13399 (IsBoundary): constify rtl2
13400 (GetVisibleRow): constify ww
13402 * LaTeX.C (deplog): constify logfile
13404 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13406 (workAreaExpose): constify widthChange, heightChange
13408 * lyxrow.C (par): moved
13411 * lyxrow.h: as inlines here
13413 * lyxfont.h (shape): moved from lyxfont.C
13414 (emph): moved from lyxfont.C
13416 * lyxfont.C (LyXFont): use initialization list for all
13418 (shape): move to lyxfont.h as inline
13419 (emph): move to lyxfont.h as inline
13422 2001-04-04 Juergen Vigna <jug@sad.it>
13424 * vspace.C: had to include stdio.h for use of sscanf
13426 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13429 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13430 independent of xforms.
13432 2001-04-02 Juergen Vigna <jug@sad.it>
13434 * spellchecker.C: fixed namespace placing!
13436 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13438 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13439 the LyXParagraph * is 0.
13441 2001-03-29 Juergen Vigna <jug@sad.it>
13443 * vspace.C: added support for %, c%, p%, l%.
13444 (stringFromUnit): added helper function.
13445 (asLatexString): changed to give right results for the %-values.
13447 * buffer.C: convert the widthp in a width%.
13449 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13451 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13454 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13455 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13457 * lyx_cb.[Ch]: see above.
13459 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13463 * lyx.[Ch]: replaced by figure_form.[Ch].
13467 * lyxfunc.C: changed headers associated with above changes.
13469 2001-03-27 Juergen Vigna <jug@sad.it>
13471 * BufferView_pimpl.C: set the temporary cursor right!
13473 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13475 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13477 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13479 * LString.h: removed "using std::getline"!
13481 * BufferView_pimpl.C (Dispatch): changes due to changes in
13482 InsetInclude::Params.
13484 * buffer.C (tag_name): removed redundant break statements as they were
13485 producing lots of warnings with my compiler.
13487 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13489 * LString.h: add "using std::getline" when using the real <string>.
13491 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13493 * buffer.C: removed bitset usage.
13494 PAR_TAG moved to an anonymous name space.
13495 (tag_name): new funtion, also in the anonymous namespace.
13496 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13497 (makeDocBookFile): clean code. Completed transition from string arrays
13499 (SimpleDocBookOnePar): code clean.
13501 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13503 * tabular.C: add some comments.
13505 2001-03-22 Juergen Vigna <jug@sad.it>
13507 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13508 compatibility read a bit and fixed bug with minipage in different
13511 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13513 * buffer.C (pop_tag): removed.
13514 (push_tag): removed.
13515 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13516 array replaced with vector. Added support for CDATA sections.
13517 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13519 (makeDocBookFile): XML conformant declaration of CDATA section,
13520 fixed bug related to <emphasis> in the first paragraph char.
13521 (sgmlOpenTag): exclude empty tags.
13522 (sgmlCloseTag): ditto.
13524 * buffer.h (pop_tag): removed.
13525 (push_tag): removed.
13527 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13529 * language.h (Languages): added size_type and size().
13531 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13533 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13534 response on compability reading of minipages. One probliem is that
13535 the old usage of minipages was «flertydig»
13537 * several files here and in subdirs: don't use static at file
13538 scope use anon namespaces instead.
13540 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13542 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13543 LaTeX output. This is necessary for Literate document
13546 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13548 * buffer.C: insert hfill when needed.
13550 * tabular.C (l_getline): use string::erase, small whitespace change.
13552 * BufferView_pimpl.C: try the anon namespace.
13553 * WorkArea.C: ditto
13555 2001-03-16 Juergen Vigna <jug@sad.it>
13557 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13558 otherwise it won't open options-dialogs.
13560 * buffer.C: honor pextraWidth(p) on converting minipages.
13562 * tabular.C (l_getline): changed the functions to strip trailing \r.
13564 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13566 * BufferView_pimpl.C:
13567 * minibuffer..C: added "using SigC::slot" declaration.
13569 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13571 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13577 * paragraph.C: ditto
13579 * lyxtext.h: NO_PEXTRA
13581 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13583 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13584 * ParameterStruct.h: ditto
13585 * ParagraphParameters.h: ditto
13586 * lyxparagraph.h: ditto
13588 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13590 * buffer.C: add compability for minipage alignment.
13591 (latexParagraphs): remove unwanted pextra check.
13593 * several files: remove CXX_WORKING_NAMESPACES
13595 * buffer.C (pop_tag): tie is in namespace boost
13597 * BufferView.h: noncopyable is in namespace boost
13599 * lyx_main.h: ditto
13602 * lastfiles.h: ditto
13603 * bufferlist.h: ditto
13604 * ShareContainer.h: ditto
13606 * LyXAction.h: ditto
13609 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13611 * Merging changes from BRANCH_MVC back into HEAD.
13613 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13615 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13617 * BufferView_pimpl.C: change from intl.C
13621 * Makefile.am: move combox.*
13627 * intl.C: remove dialog (covered by prefs)
13629 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13631 * lyxfunc.C (Dispatch): removed redundant break statement.
13633 2001-03-14 Juergen Vigna <jug@sad.it>
13635 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13637 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13639 * buffer.C: add hack to fix compability reading of minipages.
13641 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13643 * buffer.C (getLists): Cleanup.
13645 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * lyxfont.C (update): don't honor toggleall on font size.
13649 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13653 * Makefile.am: moved to frontends/xforms/
13657 * BufferView_pimpl.C: changes for moved mathpanel
13659 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13661 * gettext.h: fix gettext_init() in --disable-nls
13663 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13665 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13667 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13670 * lyx.h: strip external form
13672 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13674 * BufferView_pimpl.C: add comment, destroySplash()
13676 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13678 * BufferView_pimpl.C:
13682 * lyxfunc.C: use re-worked insetinclude
13684 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13686 * buffer.C: add using std::stringstream.
13688 * lyx_cb.C: readd using std::ios.
13690 * buffer.C: add using std::map.
13692 * BufferView_pimpl.C: add using std::vector.
13694 * ShareContainer.h: add std:: to swap.
13696 * buffer.h: add some typedefs
13697 * buffer.C (getLists): use them
13698 (getLists): renamed from getTocList.
13699 add a counter for the different float types and use it in the
13701 (getLists): use the same counter for the NEW_INSETS and the "non"
13704 * lyx_cb.h: remove unused items, includes, using etc.
13706 * ShareContainer.h: remove some commented code, add more comments
13707 and "documentation".
13709 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13711 * buffer.C (getTocList): make the list also when NEW_INSETS is
13714 * buffer.h: remove TocType
13716 * buffer.C (getTocList): change to return a map<string,
13717 vector<TocItem> >, implement for dynamic number of list.
13719 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13720 * text2.C (PasteSelection): adjust
13721 * CutAndPaste.C (pasteSelection): adjust
13723 * FloatList.C (FloatList): update from the new_insets branch.
13724 * Floating.[Ch]: ditto
13725 * LaTeXFeatures.C: ditto
13727 * lyxlex_pimpl.C: ditto
13729 * paragraph.C (Last): remove when NEW_INSETS is defined.
13731 * other file: changes because of the above.
13733 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13735 * lyxparagraph.h: rename next to next_, previous to previous_,
13736 make them private for NEW_INSETS. Rename Next() to next(),
13737 Previous() to previous().
13739 * other files: changes because of the above.
13741 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13744 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13747 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13749 * main.C (main): pass lyx_localedir to gettext_init().
13751 * gettext.h: remove locale_init and gettext_init macros
13753 * gettext.C (locale_init): new function
13754 (gettext_init): new function
13756 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13759 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13761 * Moved credits to frontends:
13762 * credits.[Ch]: removed
13763 * credits_form.[Ch]: removed
13764 * lyx_gui_misc.C: remove credits stuff
13767 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13769 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13771 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13772 unneeded destructor.
13774 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13775 a standalone pointer again.
13777 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13779 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13785 * ToolbarDefaults.C:
13794 * BufferView_pimpl.C: use new file dialog in GUII
13797 * lyx_cb.C: remove LayoutsCB to Toolbar
13799 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13801 * ShareContainer.h (get): add std:: qualifier
13803 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * ShareContainer.h: define a proper ShareContainer::value_type
13806 type (and use typename to please compaq cxx)
13808 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13810 * lyxparagraph.h: move serveral local vars to
13811 ParameterStruct/ParagraphParameters., use ShareContainer in
13812 FontTable., make vars in FontTable private and add getter and
13815 * paragraph.C: changes because of the above.
13817 * lyxfont.h: remove copy constructor and copy assignment. (the
13818 default ones is ok), move number inside FontBits. move inlines to
13821 * lyxfont.C: add number to initializaton of statics, move several
13822 inlines here. constify several local vars. some whitespace
13823 cleanup. Dont hide outerscope variables.
13825 * Spacing.h: add two new constructors to match the set methods.
13827 * ShareContainer.h: new file, will perhaps be moved to support
13829 * ParameterStruct.h: new file
13831 * ParagraphParameters.h: new file
13833 * ParagraphParameters.C: new file
13835 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13836 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13838 * BufferView_pimpl.C: ParagraphParameter changes.
13839 * buffer.C: Likewise.
13840 * bufferview_funcs.C: Likewise.
13841 * text.C: Likewise.
13842 * text2.C: Likewise.
13844 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13846 * lyxfind.C (LyXReplace): do not redefine default argument in
13848 (IsStringInText): ditto
13849 (SearchForward): ditto
13850 (SearchBackward): ditto
13852 2001-03-06 Juergen Vigna <jug@sad.it>
13854 * lyxfind.C (IsStringInText): put parentes around expressions.
13856 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13858 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13860 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13862 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13864 * stl_string_fwd.h: add comment
13866 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13869 * tabular.C: remove unused DocBook methods
13875 killed DO_USE_DEFAULT_LANGUAGE
13877 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13879 * lyx_gui.C: do not include language.h.
13881 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13882 arguments in function implementation.
13884 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13886 * BufferView_pimpl.C: add <ctime>
13888 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13890 * BufferView_pimpl.C: add using std::find_if
13892 2001-02-27 José Matos <jamatos@fep.up.pt>
13894 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13897 2001-02-11 José Matos <jamatos@fep.up.pt>
13899 * buffer.C (makeDocBookFile): command styles now have a parameter as
13900 "title" by default.
13902 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13904 * layout_forms.[Ch]: removed
13905 * lyx_cb.[Ch]: out character
13906 * lyx_gui.C: out character
13907 * lyx_gui_misc.C: out character
13908 * bufferview_funcs.C: : out character,
13909 added toggleall as parameter in ToggleAndShow
13911 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13913 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13915 * text2.C (SetCurrentFont): Disable number property at boundary.
13917 2001-02-26 Juergen Vigna <jug@sad.it>
13919 * lyxfunc.C (getStatus): added a string argument override function so
13920 that this is correctly called from LyXFunc::Dispatch if it contains a
13921 do_not_use_argument which is used!
13922 (Dispatch): added check for "custom" export and call appropriate func.
13924 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13926 * lyxrc.C: Add language_command_local, language_use_babel and
13927 language_global_options.
13929 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13931 * buffer.C (makeLaTeXFile): Use language_use_babel and
13932 language_global_options.
13934 2001-02-23 Juergen Vigna <jug@sad.it>
13936 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13937 which works with LyXText and putted it inside BufferView. Here now we
13938 only call for that part the BufferView::Dispatch() function.
13940 * BufferView.C (Dispatch): added.
13942 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13943 functions which needs to use a LyXText over from LyXFunc.
13944 (MenuInsertLyXFile): added
13945 (getInsetByCode): added
13946 (moveCursorUpdate): added
13947 (static TEXT): added
13949 2001-02-22 Juergen Vigna <jug@sad.it>
13951 * BufferView_pimpl.C (update): call a status update to see if LyXText
13954 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13956 * vc-backend.C (revert): implement for CVS
13957 (getLog): implement for CVS
13959 2001-02-20 Juergen Vigna <jug@sad.it>
13961 * text2.C (ClearSelection): added BufferView param for inset_owner call
13963 * lyxfunc.C (TEXT): added this function and use it instead of
13964 directly owner->view()-text of getLyXText().
13966 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13968 * src/layout_forms.C: out preamble
13969 * src/layout_forms.h: out preamble
13970 * src/lyx_cb.C: out preamble
13971 * src/lyx_cb.h: out preamble
13972 * src/lyx_gui.C: out preamble
13973 * src/lyx_gui_misc.C: out preamble
13974 * src/lyxfunc.C: connect with guii preamble
13976 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13978 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13980 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13982 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13983 whether to run bibtex.
13985 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13987 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13989 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13991 * Makefile.am (lyx_SOURCES): removed bibforms.h
13993 * vspace.h: doxygen
13995 * text.C (GetVisibleRow): make several local vars const
13997 * tabular.C: small cleanup.
13999 * lyxserver.C (callback): use compare instead of strncmp
14001 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14002 inlines to after class or to paragraph.C
14004 * lyxfont.h: remove friend operator!=
14006 * converter.h: move friend bool operator< to non friend and after
14009 * combox.h: small cleanup
14011 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14012 to inlines after class def.
14014 * buffer.C (pop_tag): use string operations instead of strcmp
14016 * bmtable.c: doxygen, small cleanup
14018 * LaTeX.h: remove friend operator==
14020 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14032 * BufferView_pimpl.C:
14033 * BufferView.[Ch]: remove cruft
14035 2001-02-14 Juergen Vigna <jug@sad.it>
14037 * lyxfunc.C: removed #if 0 unused code
14039 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14041 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14043 * text2.C (SetSelection): added a BufferView * parameter
14045 2001-02-13 Juergen Vigna <jug@sad.it>
14047 * lyxfunc.C (Dispatch): fixed protected blank problem.
14048 * BufferView2.C (protectedBlank): added LyxText * parameter.
14050 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14051 (AppendColumn): same as above for column_info.
14053 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14054 (moveCursorUpdate): use a LyXText param for support of InsetText.
14056 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14057 (tripleClick): ditto
14059 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14061 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14063 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14065 * text2.C (SetSelection): set correct update status if inset_owner
14066 (ToggleFree): ditto
14068 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14070 * tabular.C: remove some commented code.
14072 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14074 * BufferView_pimpl.C: call hideSplash()
14076 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14079 * bibforms.h: remove
14082 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14083 add LFUN_CHILD_CREATE
14085 * counters.h: fix tiny typo
14090 * lyx.C: move splash to frontends/xforms/
14092 * lyx_gui_misc.C: move Include and Bibform to frontends
14094 * lyxvc.h: clarify comment
14096 * vspace.C: tiny housekeeping
14098 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14100 * text.C (PrepareToPrint): RTL Fix.
14102 * paragraph.C (GetUChar): New method.
14103 (String): Use GetUChar.
14105 * buffer.C (asciiParagraph): Use GetUChar.
14107 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14109 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14111 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14114 * buffer.C: rename to getLogName(), handle
14115 build log / latex log nicely
14117 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14120 * MenuBackend.h: remove support for reference menuitem type.
14122 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14124 * BufferView_pimpl.C: housekeeping
14125 * BufferView_pimpl.h:
14130 * minibuffer.h: move Timeout GUI-I
14132 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14134 * lyxrc.C (read): Update converters data-structures.
14136 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14138 * LaTeX.h (operator!=): add operator != for Aux_Info
14140 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14142 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14144 * LaTeXLog.C: deleted, useful code moved to Buffer
14147 * buffer.C: new function getLatexLogName()
14153 * lyxfunc.C: use frontends for LaTeX and VC logs
14155 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14157 * LaTeX.h: yet another std:: that Allan forgot.
14159 * Variables.C (set): renamed from isset(), because this clashes
14160 with some HP-UX macros (grr).
14162 2001-02-06 Allan Rae <rae@lyx.org>
14164 * LaTeX.h: Another bug fix. Missing std:: this time.
14166 2001-02-04 Allan Rae <rae@lyx.org>
14168 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14169 floats problem. I've left it commented out because it's not quite
14170 correct. It should also test that the current object is a table or
14171 figure inset. But I haven't gotten around to figuring out how to do
14172 that. I *think* it'll be something like: "table" == inset.type()
14174 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14177 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14179 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14180 all the citation/databases/styles in the auxilary file.
14181 (run): Rerun latex if there was a babel language error.
14183 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14185 * text.C (Backspace): Preserve the font when changing newline char
14187 (BreakParagraph): If the cursor is before a space, delete the space.
14189 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14191 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14193 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14194 new argument (code).
14195 (ChangeCitationsIfUnique): New method.
14197 * paragraph.C (GetPositionOfInset): Handle bibkey.
14199 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14201 * BufferView_pimpl.h: change type of Position::par_pos to
14202 LyXParagraph::size_type.
14204 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14206 * BufferView_pimpl.C (savePosition, restorePosition): Write
14207 messages to minibuffer.
14209 2001-01-28 José Matos <jamatos@fep.up.pt>
14211 * buffer.C (makeDocBookFile): adds support for document language.
14212 A silly restriction on the name of LatexCommand types where removed.
14213 Added support for CDATA sections, allows to chars unescaped, used
14214 among others in code, to avoid escape < and >.
14216 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14218 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14219 saved positions instrad of a stack. Furthermore, a position is
14220 stored using paragraph id/paragraph position.
14222 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14223 Remove LFUN_REF_BACK.
14225 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14227 * converter.C (dvipdfm_options): New method.
14229 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14231 * vspace.C (isValidLength): Fix for empty input string.
14233 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14235 * LyXAction.C (init): change description of LFUN_FIGURE to
14238 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14240 * LaTeX.C: add using directive
14242 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14244 * MenuBackend.C (expand): Fix the sorting of the formats.
14246 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14248 * lyx_main.C: tiny error message fix
14250 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14253 calling fl_initialize(). This fixes the problem with ',' as
14254 decimal separator in text files.
14256 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14258 * trans.C (process): Fix the keymap bug.
14260 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14262 * LaTeX.C (scanAuxFiles): New method. Provides support for
14263 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14264 (scanLogFile) Scan for "run BibTeX" messages.
14266 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14267 OT1 font encoding. Also, load the aecompl package if the ae
14270 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14272 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14274 * texrow.C (increasePos): turn two error messages into debug
14277 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14279 * LaTeX.C (scanAux): Handle the \@input macro.
14280 (runBibTeX): Use scanAux().
14282 * language.C (latex_options_): New field.
14284 * LaTeXFeatures.C (getMacros): Add language macros.
14286 * buffer.C (makeLaTeXFile): Small fix.
14288 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14290 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14292 * text2.C: add a using directive.
14294 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14299 * lyxfunc.C: kill LyXBell.
14301 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14303 * text.C (IsBoundary): Remove the error message
14305 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14307 * lyxrc.C (setDefaults): Correct initialization value for
14310 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14312 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14315 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14316 and GotoNextNote().
14318 * src/LyXAction.C: Added reference-next.
14320 * text.C (InsertChar): Use contains instead of strchr.
14322 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14324 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14326 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14327 alignment commands (when needed).
14329 * text.C (InsertChar): Add ':' to number separator chars.