1 2003-12-02 Angus Leeming <leeming@lyx.org>
3 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4 type. Add a comment in the implementation that the function uses
5 the stream's bad() function rather than fail() as the std::streams
8 2003-12-02 André Pönitz <poenitz@gmx.net>
10 * lyxlex.[Ch]: make interface more similar to std::stream
12 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
14 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
16 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
18 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
20 * vspace.[Ch]: remove VSpace::NONE
22 2003-12-01 André Pönitz <poenitz@gmx.net>
25 * lyxtext.h: move ParagraphList member to LyXText
26 rename LyXText::ownerParagraphs to LyXText::paragraph
39 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
41 * undo.C: fix cursor positioning
43 2003-12-01 John Levon <levon@movementarian.org>
45 * BufferView_pimpl.C: fix a crash on exit with
48 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
50 * BranchList.C: fix setSelected() method.
52 2003-11-28 André Pönitz <poenitz@gmx.net>
54 * ParagraphParameters.[Ch]:
55 * ParameterStruct.h: remove space above/below from Paragraph to
70 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
72 * factory.C: Syntax change for CharStyles
74 2003-11-28 André Pönitz <poenitz@gmx.net>
79 * buffer.[Ch]: move LyXText member
81 2003-11-28 André Pönitz <poenitz@gmx.net>
83 * BufferView.[Ch]: make LyXText * text a private member
96 * output_plaintext.C: cleanup
98 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
101 * lyxtextclass.[Ch]: parametrize SGML document header
103 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
106 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
109 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
111 * text2.C (setFont): rework using PosIterator (no more recursive)
112 (setCharFont): no more needed
113 (setLayout): no more selection cursors fiddling (done by redoCursor)
114 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
115 destroy remaining ones)
117 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
119 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
121 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
124 * text3.C: adjust + re-allow multi par depth changes
125 * textcursor.C: simplify a bit
127 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
133 * src/output_docbook.C:
134 * src/output_latex.C:
139 * src/text2.C: Introducing a number of tags parametrizing various
140 XML formats that we may want to support
142 2003-11-25 André Pönitz <poenitz@gmx.net>
144 * InsetList.[Ch] (begein, end): inline as suggested by profiler
146 * lyxtext.h (leftMargin/rightMargin): simplify interface
153 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * lyxfunc.C (dispatch): propogate the bibtex databases from the
156 master file to any child files. Fixes bug 546.
158 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
160 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
162 2003-11-24 André Pönitz <poenitz@gmx.net>
164 * rowpainter.C: simplification
166 * text2.C (updateCounters): remove call to redoParagraph on
167 changed labels as this is far too expensive.
169 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
171 * converter.C (convert): fix a crash: this function gets
172 called with buffer == 0 from importer code.
174 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
176 * text3.C (cursorPrevious): make sure that we do not compare
177 iterators form different containers.
180 * rowpainter.C (paintSelection): make sure that we do not compare
181 iterators from different containers.
183 * text3.C (dispatch): [PRIOR] make sure that we do not compare
184 iterators from different ParagraphList containers.
187 * text2.C (LyXText): change order of initialization slightly
188 (operator=): new function. copy all variables except cache_par_
189 (moveUp): make sure that we do not compare iterators from
190 different ParagraphList constainers.
193 * text.C (firstPar): new function
194 (lastPar): new function
195 (endPar): new function
197 * lyxtext.h: move things around and group public functions, public
198 variables, private functions, private variables
200 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
202 * factory.C: change call to InsetERT constructor to avoid
203 additional invocation of method status
204 * text2.C (toggleInset): remove redundant update() call
205 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
206 instead of a Bufferview pointer
208 2003-11-21 André Pönitz <poenitz@gmx.net>
210 * rowpainter.C: simplification
212 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
214 * text3.C (dispatch): make possible to extend a word/row selection
217 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
219 * lyxtext.h: x0_,y0_ -> xo_,yo_
220 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
221 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
222 * rowpainter.C (paintRows): paint full paragraphs
224 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
226 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
229 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
231 * lyxtext.h: add x0_, y0_
232 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
233 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
235 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
237 * text2.C (setCursorIntern): move the x_target update here *
238 * text3.C: change some bv() to true/false in calls to
239 cursorUp/Down/Right/Left
240 * cursor.C: use helper function.
242 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
244 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
245 * paragraph_funcs.[Ch]: correct comment
246 * rowpainter.C: do not paint selections away from bv->cursor()
247 Fix a long standing selection painting bug.
248 * text3.C: generalize mouse-selection code to LyXTexts other that
250 * textcursor.C: do not use y coords if we can use par offsets
252 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
254 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
255 cursor position after e.g. inset insert)
257 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
259 * lyxfind.C (replace): adjust to locking removal + some
262 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
264 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
267 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
270 * output_docbook.C: XML sanitation: new layout
271 parameters InnerTag and CommandDepth
273 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
275 * BufferView_pimpl.C:
277 * text3.C: Fix the insertion and modification of button-style
280 2003-11-13 André Pönitz <poenitz@gmx.net>
282 * InsetList.[Ch]: remove deleteLyXText
284 * paragraph.[Ch]: cache beginOfBody position
289 * text3.C: remove superfluous update() calls
293 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
295 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
296 * BufferView.C (fitLockedInsetCursor): remove
297 * cursor.[Ch] (getDim): add
298 * text.C (getRowNearY): add faster version
299 * text3.C: remove some update calls
301 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
313 * text3.C: The Character Style /XML short element patch.
315 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
318 * factory.C: Small step to solving 'unable to insert some insets'
321 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
323 * cursor.[Ch] (updatePos): new function for updating the y
324 position of the tip inset
325 * bufferview_funcs.C (put_selection_at):
326 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
328 2003-11-11 André Pönitz <poenitz@gmx.net>
330 * text.C: remove big comment on invalid Paragraph pointers as it is
333 2003-11-11 André Pönitz <poenitz@gmx.net>
335 * text_funcs.[Ch]: merge with ...
343 * Makefile.am: remove text_funcs.[Ch]
345 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
347 * cursor.C (getPos): return absolute cached y coord
349 * BufferView_pimpl.C (fitCursor): new simplistic code
350 (workAreaDispatch): add a fitCursor call
352 2003-11-10 André Pönitz <poenitz@gmx.net>
355 * BufferView_pimpl.[Ch]: merge update() and updateInset()
357 2003-11-10 André Pönitz <poenitz@gmx.net>
359 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
360 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
361 indicate that the cursor needs to leave an inset
363 * lyxtext.h: remove inset locking
365 * cursor.[Ch]: re-implement functionality provided by inset locking
368 * BufferView_pimpl.[Ch]:
370 * bufferview_funcs.[Ch]:
382 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
384 * PosIterator.[Ch]: replace the stack with a vector, add inset
386 * iterators.[C]: adjust
388 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
390 * lyxfind.C (replaceAll): mark the buffer dirty if something was
392 * paragraph_funcs.C (readParToken): put the correct id in the
393 error item, not the id of the top paragraph
395 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
397 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
398 * bufferview_funcs.C (put_selection_at): use the above
400 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
402 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
404 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * output_plaintext.h:
409 * output_docbook.h: add #include statements
411 2003-11-05 José Matos <jamatos@lyx.org>
413 * output_docbook.[Ch]:
415 * output_linuxdoc.[Ch]:
416 * output_plaintext.[Ch]: New files for output formats.
417 * output.[Ch]: New file for helper functions.
420 * paragraph_funcs.[Ch]: output functions moved to new files.
422 * outputparams.h: rename of latexrunparams.h
430 * paragraph_funcs.[Ch]:
431 * paragraph_pimpl.[Ch]:
432 * tabular.[Ch]: rename ascii to plaintext
433 and LatexRunParams to OutputParams.
435 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
437 * iterators.[Ch] (text): require bv argument
438 * undo.C (recordUndo):
439 * lyxfunc.C (dispatch):
440 * bufferview_funcs.C (put_selection_at): adjust
442 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
444 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
446 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
448 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
451 2003-11-04 André Pönitz <poenitz@gmx.net>
453 * cursor.[Ch]: restructure
456 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
458 * iterators.[Ch] (asCursor): remove
460 * lfuns.h: remove LFUN_INSET_EDIT
466 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
468 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
470 * lyxfind.[Ch]: complete overhaul
471 * BufferView_pimpl.C:
473 * paragraph.[Ch] (insert): add
475 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
479 * text.C: remove dead spellcheck code
481 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
483 * dispatchresult.h: add a val setter
485 * cursor.C (dispatch): use a tempvar for data_[i]
487 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
489 * PosIterator.[Ch]: compile fix
491 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
493 * text.C (cursorPar): deactivate the cursor cache
495 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
497 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
499 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
501 * text3.C (dispatch): adjust for new DisptchResult semantics.
503 * lyxfunc.C (dispatch): handle update when return from
504 Cursor::dispatch, adjust for new DispatchResult semantics.
506 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
507 DispatchResult(true) mean to not update. Add class functions for
508 setting dispatched and update, as well as reading.
510 * cursor.C (dispatch): don't handle update here
512 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
514 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
515 * trans_mgr.C: adjust
517 * paragraph_funcs.C (readParToken): exception safety
519 * lyxvc.h: store the vcs pointer in a scoped_ptr
522 * lyxsocket.C (serverCallback): exception safety
524 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
526 * ispell.C (clone): make it return a auto_ptr
528 * factory.C (createInset): exception safety
529 (readInset): exception safety
531 * bufferlist.C (newBuffer): exception safety
533 * Thesaurus.C (Thesaurus): use initialization for aik_
535 * MenuBackend.C (expandToc): exception safety.
537 2003-11-03 André Pönitz <poenitz@gmx.net>
541 * bufferview_funcs.C: remove getInsetFromId()
544 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
550 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
552 * PosIterator.C (distance, advance): new
553 * bufferview_funcs.[Ch] (put_selection_at): new
554 * iterators.[Ch] (lockPath): new
556 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
558 * iterators.[Ch] (asPosIterator): added
559 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
560 * PosIterator.[Ch]: added
562 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
566 * cursor.C (dispatch):
567 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
569 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
570 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
571 contructor, add a class function dispatched. Remove operator>=
573 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
575 * debug.C: only use the default constructor for debugstream
578 * main.C (main): include debug.h and setup the lyxerr streambuf
581 2003-10-31 José Matos <jamatos@lyx.org>
583 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
585 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
586 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
587 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
588 * paragraph_pimpl.C (simpleTeXSpecialC):
589 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
590 add LatexRunParams argument.
592 * exporter.C (Export): change call accordingly.
594 * latexrunparams.h: add new member to take care of the other backends.
595 2003-10-30 José Matos <jamatos@lyx.org>
597 * buffer.C (makeLinuxDocFile, makeDocBookFile):
598 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
599 factorise code for paragraph output.
601 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
604 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * text3.C (dispatch):
607 * lyxfunc.C (dispatch):
608 * cursor.C (dispatch):
609 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
611 * dispatchresult.h: make the dispatch_result_t ctor explicit
613 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
616 * buffer.C: small refactoring of docbook stuff
618 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
620 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
623 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
625 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
626 operator dispatch_result_t, and operators for == != and >=
628 * cursor.C (dispatch): adjust for operator dispatch_result_t
629 removal. comment out call to update
631 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
633 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
641 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
644 * dispatchresult.h: new file, DispatchResult broken out of
647 * Makefile.am (lyx_SOURCES): add dispatchresult.h
649 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
651 * text.C (rowBreakPoint): put a hack inside #if 0
653 2003-10-28 André Pönitz <poenitz@gmx.net>
660 * text2.C: general cleanup (lots of small stuff)
662 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
664 * text2.C (cursorEnd): simple fix to the "end key goes to one
665 before the end on last row" bug
667 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
669 * text.C (backspace): fix the "zombie characters"
671 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
673 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
675 2003-10-27 André Pönitz <poenitz@gmx.net>
677 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
679 * factory.C: handle new InsetPagebreak, InsetLine
681 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
682 and move handling into new InsetPagebreak, InsetLine
684 * BufferView_pimpl.C:
686 * ParagraphParameters.C:
699 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
708 * text3.C: remove lastPos uses in favour of Row::endpos
710 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
712 * undo.C (performUndoOrRedo): fix two crashes by setting a
713 cursor by hand and reordering some calls. Use bv->lockInset instead
714 of inset->edit because the latter loses cursor information
716 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
718 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
720 (rowBreakPoint): fix width. change point to point + 1.
723 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
726 * lyxfunc.C: fix (at least partly) the problems
727 with the Nav menu and headers inside branch insets
730 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
732 * paragraph.C (getChar): add strong asserts
734 * lyxrow_funcs.C (lastPos): remove hideous hack
736 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
737 (fill): adjust to that (avoid an infinite loop)
739 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
741 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
743 2003-10-23 André Pönitz <poenitz@gmx.net>
745 * RowList_fwd.h: change list<> to vector<> to gain speed
746 after suggestion from Alfredo
748 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
750 * lyxtext.h: move the bidi stuff from here...
753 * Bidi.[Ch]: ... to here
755 2003-10-23 André Pönitz <poenitz@gmx.net>
758 * text.C (isLastRow, isFirstRow): new functions
760 * paragraph.h: new width cache member
762 * rowpainter.C: replace RowList::iterator with Row & where possible
764 * lyxfunc.C: replace several view()->text with a single call
766 * toc.C: fix 'unused' warning
768 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
770 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
771 when woring with stream::pos_type
772 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
774 2003-10-22 André Pönitz <poenitz@gmx.net>
777 * text.C: use Row & instead of RowList::iterator
779 * lyxrow.h: rename end() to endpos()
785 2003-10-22 Angus Leeming <leeming@lyx.org>
787 * buffer.[Ch] (fully_loaded): new member function, returning true
788 only when the file has been loaded fully.
789 Used to prevent the premature generation of previews and by the
790 citation inset to prevent computation of the natbib-style label.
792 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
793 templates are all set up.
795 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
797 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
799 * text.C: fixed an "oops" in the "is a bit silly"
802 2003-10-21 André Pönitz <poenitz@gmx.net>
804 * FuncStatus.[Ch]: small stuff, whitespace
806 * lyxfont.[Ch]: operator<<() for debug reasons
810 * lyxtext.h: whitespace, spelling
812 * paragraph.C: naming of variables
815 * text2.C: small stuff
818 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
820 * text.C: (1) finish off the inset display() work;
821 (2) fix the "is a bit silly" bug (accessing char
824 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
826 * text.C: re-introduce display() for insets, fixing the
827 various bugs (stretch of line above, math inset
830 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * text.C (rightMargin): remove spurious semicolon
834 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
837 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
839 * text3.C: fix one crash due to wrong cursor def
841 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * vc-backend.C (scanMaster): make the regex static
845 * LaTeX.C (scanAuxFile): make the regexs static
847 * text3.C (doInsertInset, dispatch, dispatch):
848 * text2.C (cursorUp, cursorDown):
849 * text.C (selectNextWordToSpellcheck):
850 * BufferView_pimpl.C (dispatch):
851 * lyxfunc.C (dispatch): localDispatch -> dispatch
853 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * lyxsocket.C: include <cerrno>
857 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
859 * lyxfunc.C (dispatch): remove textcache stuff
861 * bufferlist.C (release): remove textcache stuff
864 * TextCache.C: delete file
865 * TextCache.h: delete file
867 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
869 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
870 delete of the bv_->text.
871 (resizeCurrentBuffer): remove texcache stuff
872 (workAreaResize): ditto
874 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
876 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
879 2003-10-16 André Pönitz <poenitz@gmx.net>
886 * text3.C: speed up by storing y positions per paragraph plus per-row
887 offset instead of having a 'full' y position in the row.
889 2003-10-15 André Pönitz <poenitz@gmx.net>
893 * undo.[Ch]: make undo aware of inner insets
895 2003-10-14 Angus Leeming <leeming@lyx.org>
897 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
898 static member functions LyX::ref() and LyX::cref.
899 (lastfiles): new accessor functions for the new lastfiles_ member var.
900 (addLyXView, views_): add a new LyXView to the list of views_.
901 (updateInset): loop over all LyXViews to call their own updateInset
902 member function, returning a pointer to the Buffer owning the inset.
904 * BufferView_pimpl.C (loadLyXFile):
905 * MenuBackend.C (expandLastfiles):
906 * bufferlist.C (MenuWrite, QuitLyX):
907 lastfiles is no longer a global variable.
908 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
910 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
911 static function. Access through LyX::cref().emergencyCleanup().
913 2003-10-14 André Pönitz <poenitz@gmx.net>
915 * iterators.[Ch]: new direct access to innermost LyXText and Inset
917 * undo.[Ch]: restoring part of 'undo in insets'
920 * undo_funcs.[Ch]: merge with undo.[Ch]
922 * tabular.C: small cleansing stuff
924 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
926 * paragraph_funcs.C (readParToken): report unknown insets as error
927 boxes. Use the outer paragraph as location (also for unknown
930 * factory.C (readInset): do not abort on reading an unknown inset.
933 2003-10-13 Angus Leeming <leeming@lyx.org>
935 * lyx_main.C (LyX): remove call to setDisplayTranslator().
937 * lyxrc.C: displayTranslator is now a function,
938 declared in GraphicsTypes.h.
940 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
942 * format.C: new placeholder $$a to pass the socket address.
944 * bufferlist.[Ch]: new function getBufferFromTmp.
946 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
947 files in the temporary dir.
949 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
951 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
953 * Makefile.am: add lyxsocket.[Ch].
955 * lyx_main.C (error_handler): handle SIGPIPE.
957 2003-10-13 André Pönitz <poenitz@gmx.net>
959 * BufferView_pimpl.C:
964 * undo_funcs.[Ch]: use paroffset_type instead of
965 ParagraphList::iterators to prevent multiple conversion
966 (and get a more robust interface)
968 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
970 * lyxfunc.C (dispatch): RESULT -> dispatch_result
972 * text3.C (dispatch): ditto
974 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
976 * LaTeX.C (handleFoundFile): move the static to smaller scope,
977 move the onlyfile, use onlyfile instead of foundfile in a couple
980 * DepTable.C (update): flush the error stream a bit more
982 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * lyxserver.C (callback): adjust
986 * lyxfunc.C (getStatus): add a missing brace in commented code
987 (ensureBufferClean): reindent
988 (dispatch): delete version taking a string
990 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
992 * LaTeX.C (deplog): move found file handlig from here...
993 (handleFoundFile): .. to new function here.
994 (deplog): make sure to discover several files mentioned on the
997 2003-10-10 André Pönitz <poenitz@gmx.net>
1004 * text3.C: fix some of the tabular crashes
1006 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1008 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1010 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1012 2003-10-09 André Pönitz <poenitz@gmx.net>
1014 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1017 * BufferView_pimpl.C:
1018 * bufferview_funcs.C:
1029 * undo_funcs.C: adjust
1031 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1033 * text2.C (incrementItemDepth): new function, use a backtracking
1034 algorithm to discover the correct item depth.
1035 (resetEnumCounterIfNeeded): new function, use a backtracking
1036 algorithm to discover if counter reset is needed.
1037 (setCounter): use them. Simplify a bit. Add different labels for
1038 different item depths for itemize.
1040 * paragraph.C (Paragraph): remove initialization of enumdepth
1043 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1044 enumerate and itemize. Change the type of itemdepth to signed char.
1046 2003-10-08 André Pönitz <poenitz@gmx.net>
1048 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1053 * tabular.[Ch]: fix crash after 'row-insert'
1055 2003-10-08 Angus Leeming <leeming@lyx.org>
1057 Fix doxygen warnings.
1059 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1060 Remove CutAndPaste:: prefix from header file declaration.
1062 * LColor.h (fill): remove LColor:: prefix from declaration.
1064 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1065 use lyx::depth_type rather than Paragraph::depth_type so that
1066 header file and .C file match.
1068 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1070 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1071 * aspell.C: \file aspell_local.C -> \file aspell.C
1072 * gettext.C: \file gettext.C -> \file src/gettext.C
1073 * gettext.h: \file gettext.h -> \file src/gettext.h
1074 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1075 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1076 * text.C: \file text.C -> \file src/text.C
1078 * toc.C: move comment so that doxygen is not confused.
1080 2003-10-07 Angus Leeming <leeming@lyx.org>
1082 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1084 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1087 * aspell_local.h: add forgotten std::string's.
1089 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1096 * text3.C: The Box patch. Fancybox support, minipage, parbox
1098 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1104 * ParagraphParameters.h:
1114 * lyxtextclasslist.h:
1117 * paragraph_pimpl.C:
1118 * textcursor.h: add <string> and other small fixes to make Lars'
1119 std::string patch compile with STLport.
1121 2003-10-06 Angus Leeming <leeming@lyx.org>
1123 * LColor.h: Add missing #include <string>.
1125 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * All most all file in all subdirs: Make <string> be the prefered
1128 way of getting to std::string, add using declarations.
1130 2003-10-06 André Pönitz <poenitz@gmx.net>
1132 * metricsinfo.C: initialize LyXFont before changing attribute.
1133 (fixes the 'math in \emph is upright' bug)
1135 2003-10-06 André Pönitz <poenitz@gmx.net>
1137 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1139 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1142 * paragraph_pimpl.C: Small fixes to build using STLport
1144 2003-10-02 André Pönitz <poenitz@gmx.net>
1147 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1149 2003-10-01 André Pönitz <poenitz@gmx.net>
1151 * factory.C: assert early
1153 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * lyx_main.C: remove the global debug object
1157 * debug.h: adjust for new debugstream
1159 * debug.C: adjust for new debugstream and keep the global debug
1162 2003-09-22 Angus Leeming <leeming@lyx.org>
1164 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1165 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1166 an incomplete class LyXFont.
1168 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1170 * factory.C: bug fix in branches
1172 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * lyxfunc.C (processKeySym): adjust
1176 (dispatch): change arg name from ev to func, adjust
1177 (sendDispatchMessage): ditto
1179 * lyx_main.C (defaultKeyBindings): adjust keybindings
1180 (deadKeyBindings): ditto
1182 * kbsequence.C (addkey): return a FuncRequest
1184 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1186 * kbmap.C (bind): take a FuncRequest as arg, adjust
1189 (defkey): change to take a FuncRequest as arg, adjust
1190 (findbinding): take a FuncRequest as arg, adjust.
1192 * funcrequest.h (operator=): added
1194 * funcrequest.C (FuncRequest): default kb_action changed from
1195 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1197 * buffer.C (dispatch): simplify
1198 (dispatch): adjust to take a FuncRequest as arg, adjust
1200 * boost.C (assertion_failed): change assertion message slightly
1202 * ToolbarBackend.C (read): simplify
1204 * MenuBackend.C (binding): adjust call to findbinding, add a
1205 message if no binding is found.
1207 (expandToc): correct by adding a empty FuncRequest
1209 * LyXAction.C: include <boost/assert.hpp>
1210 (isPseudoAction): delete function
1211 (LookupFunc): change name to...
1212 (lookupFunc): this. change return type to FuncRequest.
1213 (getActionName): take kb_action as arg, simplify
1214 (funcHasFlag): add an assert, simplify.
1216 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * toc.C (action): return a FuncRequest, simplify
1220 * lyxfunc.C (processKeySym): adjust
1221 (getStatus): delete version that takes an int.
1223 (dispatch): delete version that takes action as int
1225 (sendDispatchMessage): simplify and adjust
1227 * funcrequest.C (getArg): take unsigned int as arg
1229 * ToolbarBackend.C (read): adjust
1230 (add): delete version that takes func as a string.
1231 (getIton): take a FuncRequest as arg
1233 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1236 * MenuBackend.C (MenuItem): add a new construct that only takes a
1237 Kind, simplify the constructor use for submenus.
1239 (expandLastfiles): adjust
1240 (expandDocuments): adjust
1241 (expandFormats): adjust
1242 (expandFloatListInsert): adjust
1243 (expandFloatInsert): adjust
1244 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1246 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1247 Remove class variables lyx_pseudo_map and lyx_arg_map
1249 * LyXAction.C (searchActionArg): delete function
1250 (getPseudoAction): delete function
1251 (retrieveActionArg): delete function
1252 (LookupFunc): make it return kb_action, simplify.
1253 (getActionName): simplify
1255 * factory.C (createInset): fix new bug
1257 2003-09-19 Angus Leeming <leeming@lyx.org>
1259 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1260 masterFilename_ parameter in the include inset.
1262 * factory.C (createInset): changes due to the changes to InsetInclude.
1264 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1266 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1268 2003-09-18 Angus Leeming <leeming@lyx.org>
1271 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1272 Inset::fillWithBibKeys.
1273 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1275 2003-09-18 Angus Leeming <leeming@lyx.org>
1277 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1279 (ctor): pass and store a 'Buffer const &'
1280 (buffer): new member function.
1282 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1283 '*this' to the LaTeXFeatures ctor.
1285 2003-09-18 Angus Leeming <leeming@lyx.org>
1291 * text.C: rename EnumLColor as LColor_color.
1293 2003-09-18 Angus Leeming <leeming@lyx.org>
1295 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1296 remove #include "insets/insetbase.h" from cursor.h.
1298 2003-09-18 Angus Leeming <leeming@lyx.org>
1300 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1301 InsetOld_code to remove #include "inset.h".
1303 * iterators.C: add #include "insets/inset.h"
1305 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1307 * BufferView.C: remove more locking stuff that apparently doesn't
1308 do anything sensible.
1310 2003-09-16 André Pönitz <poenitz@gmx.net>
1313 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1316 2003-09-16 Angus Leeming <leeming@lyx.org>
1318 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1320 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1323 * paragraph.h: remove #include "lyxfont.h". Forward declare
1326 2003-09-16 Angus Leeming <leeming@lyx.org>
1328 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1329 of support/textutils.h.
1330 (isWord): move the contents of support/textutils.h's IsWordChar here.
1336 * text2.C: add #include "paragraph.h".
1339 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1341 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * LaTeX.C: use namespace alias for lyx::support::os
1349 2003-09-16 Angus Leeming <leeming@lyx.org>
1352 * bufferview_funcs.C:
1355 * paragraph_pimpl.C:
1357 * text.C: add #include "LColor.h".
1359 2003-09-16 Angus Leeming <leeming@lyx.org>
1361 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1362 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1364 Store the FontBits::color variable as an int rather than as an
1365 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1368 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1369 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1370 string calls together.
1372 * lyxrc.C: add #include "LColor.h".
1374 2003-09-15 Angus Leeming <leeming@lyx.org>
1376 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1379 2003-09-15 Angus Leeming <leeming@lyx.org>
1381 * LColor.h: add an EnumLColor wrapper for LColor::color.
1383 * lyxfont.[Ch] (color, setColor, realColor):
1384 * lyxtext.h, text.C (backgroundColor):
1385 pass EnumLColor args to/from the functions, rather than LColor::color
1389 * lyxtext.h: forward declare EnumLColor.
1391 * lyx_main.C: add #include "LColor.h".
1393 2003-09-15 Angus Leeming <leeming@lyx.org>
1395 * .cvsignore: add lyx-gtk.
1397 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * ParagraphParameters.C
1406 * bufferview_funcs.C
1416 * vc-backend.C: remove usage of STRCONV
1418 2003-09-15 Angus Leeming <leeming@lyx.org>
1420 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1421 explicitly define the color passed to the painter.
1423 2003-09-15 Angus Leeming <leeming@lyx.org>
1425 * bufferparams.C (BufferParams): reorder member initializers to avoid
1428 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1430 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1431 * text.C (updateRowPositions): remove an unusual nop
1433 2003-09-12 André Pönitz <poenitz@gmx.net>
1435 * BufferView_pimpl.C:
1444 * Counters.[Ch]: finish the 'automatic counters' job
1446 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1448 * aspell.C: include <boost/assert.cpp> (compile fix)
1450 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1452 * boost.C (assertion_failed): use lyx::support::abort instead of
1455 2003-09-10 Angus Leeming <leeming@lyx.org>
1457 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1458 with their _fwd progeny.
1460 2003-09-09 Angus Leeming <leeming@lyx.org>
1462 134 files throughtout the source tree: replace 'using namespace abc;'
1463 directives with the appropriate 'using abc::xyz;' declarations.
1465 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1467 * boost.C (emergencyCleanup): moved here from LAssert.c
1468 (assertion_failed): new function, called by BOOST_ASSERT
1470 * several files: change Assert to BOOST_ASSERT
1472 2003-09-09 Angus Leeming <leeming@lyx.org>
1474 * buffer.[Ch]: Add an Impl class and move Buffer's member
1475 variables into it. As a result move several header files out of
1478 Add header files to lots of .C files all over the tree as a result.
1480 2003-09-09 Angus Leeming <leeming@lyx.org>
1482 * buffer.[Ch]: make Buffer's member variables private. Add
1485 Lots of changes all over the tree as a result.
1487 2003-09-08 Angus Leeming <leeming@lyx.org>
1489 * graph.C: #include <config.h>.
1491 2003-09-08 Angus Leeming <leeming@lyx.org>
1495 * BufferView_pimpl.C:
1524 * toc.C: remove redundant using directives.
1526 2003-09-07 Angus Leeming <leeming@lyx.org>
1528 * LaTeXFeatures.h: remove #include "support/types.h".
1529 * ToolbarBackend.h: remove #include <algorithm>.
1530 * changes.h: remove #include <ctime>.
1531 * debug.h: remove #include <iosfwd>.
1532 * graph.h: remove #include "support/std_string.h".
1533 * lyx_main.h: remove #include <csignal>.
1534 * lyxlex_pimpl.h: remove #include <fstream>.
1535 * sgml.h: remove #include <algorithm>, <utility>.
1536 * toc.h: remove #include "support/std_ostream.h".
1537 Add #include <iosfwd>.
1539 2003-09-07 Angus Leeming <leeming@lyx.org>
1541 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1543 * converter.h: forward declare LatexRunParams.
1544 * encoding.h: remove #include "lyxrc.h".
1545 * lyxtext.h: remove #include "LColor.h".
1546 * lyxtextclass.h: remove #include "support/types.h".
1547 * trans.h: remove #include "tex-accent.h".
1548 * trans_mgr.h: remove #include "tex-accent.h".
1549 * insets/inset.h: remove #include "support/types.h", <vector>.
1550 * insets/insetcollapsable.h: remove #include "LColor.h".
1551 * insets/insetinclude.h: remove #include "dimension.h".
1552 * insets/insetlatexaccent.h: remove #include "dimension.h".
1553 * insets/insetoptarg.h:: remove #include "insettext.h".
1554 * insets/insettext.h: remove #include "dimension.h",
1555 <boost/shared_ptr.hpp>
1557 * insets/renderers.h: add #include "dimension.h".
1558 * insets/updatableinset.h: add #include "support/types.h".
1560 * many .C files: Associated changes.
1562 2003-09-06 Angus Leeming <leeming@lyx.org>
1564 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1565 one, inside testInvariant.
1567 * PrinterParams.C: new file.
1568 * PrinterParams.[Ch]: move the function bodies out of line.
1570 2003-09-06 Angus Leeming <leeming@lyx.org>
1572 * ParagraphParameters.h: forward declare ParameterStruct rather than
1573 including its header file.
1574 (depth): moved out-of-line.
1576 2003-09-06 Angus Leeming <leeming@lyx.org>
1578 * BufferView_pimpl.h:
1581 * lyxfunc.h: forward declare LyXKeySym rather than
1582 #include "frontends/LyXKeySym.h".
1584 * BufferView_pimpl.C:
1587 * lyxfunc.C: associated changes.
1589 2003-09-06 Angus Leeming <leeming@lyx.org>
1591 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1592 As a result, can remove the #include "insets/inset.h" from BufferView.h
1594 2003-09-06 Angus Leeming <leeming@lyx.org>
1596 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1597 As a result, can remove the #include "insets/inset.h" from BufferView.h
1599 2003-09-06 Angus Leeming <leeming@lyx.org>
1605 * bufferview_funcs.C:
1606 * BufferView_pimpl.C:
1611 * ParagraphParameters.C:
1616 * frontends/controllers/ControlDocument.C:
1617 * insets/insetcaption.C: rearrange the #includes into some sort of
1620 * buffer.h: remove #includes ErrorList.h, undo.h
1622 2003-09-06 Angus Leeming <leeming@lyx.org>
1624 * support/types.h: add a 'depth_type' typedef, used to store the
1625 nesting depth of a paragraph.
1628 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1629 defining explicitly.
1632 * paragraph_funcs.h:
1633 * ParagraphParameters.h:
1634 * sgml.h: use lyx::depth_type rather than Paragraph or
1635 ParameterStruct's depth_type.
1638 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1641 * BufferView_pimpl.C:
1643 * ParagraphParameters.C:
1646 * bufferview_funcs.C:
1653 * frontends/LyXView.C:
1654 * frontends/controllers/ControlDocument.C:
1655 * frontends/controllers/ControlErrorList.C:
1656 * insets/insetbibitem.C:
1657 * insets/insetbranch.C:
1658 * insets/insetcaption.C:
1659 * insets/insetcollapsable.C:
1660 * insets/insetenv.C:
1661 * insets/insetert.C:
1662 * insets/insetfloat.C:
1663 * insets/insetfoot.C:
1664 * insets/insetfootlike.C:
1665 * insets/insetnewline.C:
1666 * insets/insetquotes.C:
1667 * insets/insettabular.C:
1668 * insets/insettext.C:
1669 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1671 * frontends/controllers/ControlChanges.C: #include "changes.h".
1673 2003-09-06 Angus Leeming <leeming@lyx.org>
1675 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1676 than #including paragraph.h.
1679 * RowList.h: deleted. Superfluous.
1689 * insets/insettext.h: use ParagraphList_fwd.h rather than
1692 * paragraph.h: don't forward declare ParagraphList.
1695 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1696 rather than ParagraphList.h. paragraph.h is still needed for the
1697 Paragraph::depth_type parameters.
1699 * textcursor.h: enable it to compile stand-alone in light of the
1702 * bufferview_funcs.C:
1714 * frontends/controllers/ControlParagraph.C:
1715 * frontends/controllers/ControlTabular.C:
1716 * insets/insetmarginal.C:
1717 * insets/insetminipage.C:
1718 * insets/insetnote.C:
1719 * insets/insetoptarg.C: add header files needed to compile again.
1721 2003-09-06 Angus Leeming <leeming@lyx.org>
1723 * RowList_fwd.h: new file, forward-declaring Row rather than
1724 #including lyxrow.h.
1729 * insets/insettext.h: use it instead of RowList.h
1731 * bufferview_funcs.C:
1738 * text3.C: #include "RowList.h".
1740 2003-09-05 Angus Leeming <leeming@lyx.org>
1742 * factory.C (createInset):
1743 * vspace.C (c-tor): replace sscanf call with an istringstream.
1744 * ispell.C: re-add missing HP/UX headers.
1745 * lyxserver.C: re-add missing os2 headers.
1747 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1756 * text3.C: re-add missing system headers, needed for 2.95.2.
1758 2003-09-05 Angus Leeming <leeming@lyx.org>
1760 Changes most place everywhere due to the removal of using directives
1761 from support/std_sstream.h.
1763 2003-09-05 Angus Leeming <leeming@lyx.org>
1765 Replace LString.h with support/std_string.h,
1766 Lsstream.h with support/std_sstream.h,
1767 support/LIstream.h with support/std_istream.h,
1768 support/LOstream.h with support/std_ostream.h.
1770 Changes resulting throughout the tree.
1772 2003-09-05 Angus Leeming <leeming@lyx.org>
1774 * sgml.h: ensure that the header file can be compiled stand-alone.
1775 * *.C: strip out redundant #includes. (320 in total.)
1777 2003-09-04 Angus Leeming <leeming@lyx.org>
1779 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1780 here (from getPackages).
1782 * debug.[Ch]: add a new EXTERNAL tag.
1784 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1786 * text2.C (cursorEnd): simplify
1788 (getColumnNearX): adjust
1790 * text.C (computeBidiTables): adjust
1793 * rowpainter.C (paintChars): adjust
1794 (paintSelection): adjust
1795 (paintChangeBar): adjust
1798 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1800 (numberOfSeparators): adjust
1802 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1808 * text3.C: Restricts the mouse click functionality
1809 of insets like bibtex, include, toc and floatlist to the visible
1810 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1811 up the dialogs. Cursor has to be in front of the inset (i.e.
1812 start of row) for this to function.
1814 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1816 * bufferview_funcs.C (currentState): output row information
1818 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1820 * bufferview_funcs.C (currentState): output paragraph position
1822 2003-09-04 Angus Leeming <leeming@lyx.org>
1824 * FloatList.h: move out #include "Floating.h".
1825 * LaTeX.h: move out #include "DepTable.h".
1826 * LyXAction.h: move out #include "funcrequest.h".
1827 * buffer.h: move out #include "author.h", "iterators.h".
1828 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1829 * lyx_main.h: move out #include "errorlist.h".
1830 * lyxfunc.h: move out #include "FuncStatus.h".
1831 * lyxtext: move out #include "lyxcursor.h".
1832 * paragraph_pimpl.h: move out #include "counters.h".
1834 2003-09-03 Angus Leeming <leeming@lyx.org>
1836 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1837 preamble_snippets list, enabling us to add snippets to the preamble
1838 only if the snippet was not there already.
1840 2003-09-04 Angus Leeming <leeming@lyx.org>
1842 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1844 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1849 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1851 * BranchList.C: point fix, earlier forgotten
1853 2003-09-02 Angus Leeming <leeming@lyx.org>
1855 * box.C (contains): renamed from 'contained' after a fantastic
1858 2003-09-02 John Levon <levon@movementarian.org>
1864 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1866 2003-09-02 John Levon <levon@movementarian.org>
1868 * text2.C: simplification of cursorEnd(), including partial
1871 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1873 * buffer.C (readFile): add a space
1875 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1877 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1879 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1881 * buffer.C (readFile): new function, take a filename and a
1882 ParagraphList::iterator
1884 (readFile): adjust, make it private. don't use setStream, make
1885 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1886 always contain the filename.
1888 * BufferView.C (insertLyXFile): simplify and make it work for
1891 2003-08-30 John Levon <levon@movementarian.org>
1893 * Makefile.am: fix dist (from Kayvan)
1895 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * most files: change to use const Buffer refs
1899 2003-08-27 André Pönitz <poenitz@gmx.net>
1901 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1902 on top of ownerPar().
1904 2003-08-27 John Levon <levon@movementarian.org>
1906 * funcrequest.C: properly initialise POD members
1908 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1910 * lyxtext.h (top_y): move top_y from here
1915 * BufferView_pimpl.[Ch]: to here
1916 * frontends/screen.C:
1917 * insets/insettabular.C:
1918 * insets/insettext.C: adjust
1919 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1921 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1924 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1926 2003-08-26 André Pönitz <poenitz@gmx.net>
1928 * paragraph_func.[Ch] (outerPar): new function
1931 * paragraph_funcs.C:
1932 * paragraph_funcs.h:
1933 * paragraph_pimpl.C:
1934 * text2.C: remove Inset::par_owner
1936 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1941 * text2.C: eliminates the needFullRow/display() stuff
1942 altogether, putting the logic in metrics/draw in the insets.
1944 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1946 * text2.C (redoParagraphInternal, redoParagraphs):
1947 * text.C (redoParagraph): add a call to updateRowPositions at the
1948 end of each 'metrics-like' call. Remove all others.
1949 (getRow): remove the 'y-computing' version.
1950 (getRowNearY): do not compute nor return the real y. Solve the
1951 'y < 0' problem and simplify.
1953 2003-08-22 Angus Leeming <leeming@lyx.org>
1955 * *.[Ch]: clean-up of licence and author blurbs.
1956 Also move config.h out of a few .h files and into a few .C files.
1958 2003-08-22 André Pönitz <poenitz@gmx.net>
1960 * lyxrow.[Ch]: add x_ and *fill_ members
1965 * text2.C: adjust/remove prepareToPrint() calls
1967 2003-08-22 André Pönitz <poenitz@gmx.net>
1969 * lyxrow.[Ch]: add end_ member
1971 * lyxrow_funcs.C: use LyXRow::end_
1973 * lyxtext.h (singleWidth): add LyXFont parameter
1976 * text2.C: adjust LyXText::singleWidth() calls
1978 * text.C (redoParagraph): simplify row breaking logic
1981 2003-08-19 André Pönitz <poenitz@gmx.net>
1983 * funcrequest.C: initialize button_ member
1986 * rowpainter.[Ch]: interface consolidation
1988 2003-08-18 André Pönitz <poenitz@gmx.net>
1991 * BufferView_pimpl.C:
1993 * paragraph_funcs.C:
1995 * text3.C: remove LyXScreen::draw() and fitCursor calls
1997 * BranchList.h: remove spurious semicolons
1999 * MenuBackend.C: fix branchlist related crash
2001 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2009 * bufferparams.[Ch]:
2013 * text3.C: implements the 'branch inset'
2014 idea. This allows the output of various versions of a document
2015 from a single source version, selectively outputing or suppressing
2016 output of parts of the text.
2017 This implementation contains a 'branch list editor' in a separate
2018 tab of the document settings dialog. Branches are user definable
2019 and have a "display colour" to distinguish them on-screen.
2021 ColorHandler was somewhat cleaned up.
2022 (1) make possible a dynamically growing LColor list by allowing
2023 the graphic context cache to grow along (vector);
2024 (2) eliminate an IMHO unnecessary step in colour allocation.
2026 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2028 * BufferView_pimpl.C: compile fix
2030 2003-08-15 André Pönitz <poenitz@gmx.net>
2032 * rowpainter.C: remove extra metrics calls
2034 * lyxtext.h: merge the two constructors into a single one,
2035 pass reference to owner's par list
2037 * BufferView_pimpl.C:
2041 2003-08-15 André Pönitz <poenitz@gmx.net>
2043 * lyxrow_funcs.[Ch]:
2046 * paragraph_funcs.C:
2051 * text_funcs.C: split LyXText::rowlist_ into individual
2052 Paragraph::rows_ chunks
2055 * BufferView_pimpl.[Ch]:
2058 * text3.C: remove toggleSelection()
2060 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2062 * bufferlist.C: beautify two alerts (shorter text of buttons)
2063 * buffer.C: Remove redundant ' ' from message
2065 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2066 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2067 rename VALIGN_CENTER to VALIGN_MIDDLE
2069 2003-08-11 André Pönitz <poenitz@gmx.net>
2071 * lyxtext.h (getPar):
2072 * text.C: new function
2074 2003-08-11 André Pönitz <poenitz@gmx.net>
2077 * tracer.[Ch]: remove unneeded files
2079 * InsetList.[Ch]: remove resizeInsetsLyXText()
2084 * text3.C: merge insertParagraphs() and appendParagraph()
2085 remove breakAgain(), update()
2087 * BufferView_pimpl.[Ch]:
2088 * bufferview_funcs.[Ch]:
2092 * tabular.C: adjust after text & InsetList changes.
2094 2003-08-08 André Pönitz <poenitz@gmx.net>
2096 * text.C (insertChar, backspace): replace rowlist fiddling
2097 with rebreak of full par
2100 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2101 checkParagraph, updateInset): removed
2103 2003-08-07 André Pönitz <poenitz@gmx.net>
2106 * text3.C: merge some LFUN handlers, remove dead code
2108 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2112 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2114 * text2.C (DEPM): fix part of bug 1255 and 1256
2116 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2118 * BufferView_pimpl.C (workAreaDispatch): change to use
2119 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2120 that are no mouse related.
2122 2003-08-05 André Pönitz <poenitz@gmx.net>
2125 * BufferView_pimpl.[Ch]:
2126 * bufferview_funcs.C:
2128 * text3.C: rip out "deep update"
2130 * textcursor.[Ch] (last_sel_cursor): remove unused member
2132 2003-08-04 André Pönitz <poenitz@gmx.net>
2135 * BufferView_pimpl.[Ch]:
2136 * ParagraphParameters.C:
2137 * bufferview_funcs.C:
2143 * text3.C: replace "complicated" BufferView::update(...) calls with
2146 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2148 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2150 * Makefile.am (lyx_SOURCES): add paper.h
2152 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2154 * Makefile.am: move things around so that both lyx-qt and
2155 lyx-xforms can be built (according to --with-frontend). Then lyx
2156 is a symbolic link to lyx-[firstfrontend]
2158 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2160 * Always use std::endl with lyxerr
2162 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2164 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2166 2003-08-01 André Pönitz <poenitz@gmx.net>
2169 * BufferView_pimpl.[Ch]:
2171 * text3.C: merge BufferView::repaint() and BufferView::update()
2173 2003-08-01 José Matos <jamatos@lyx.org>
2175 * buffer.[Ch]: file_format is no longer a buffer data element.
2177 2003-08-01 André Pönitz <poenitz@gmx.net>
2182 * text2.C: make redoParagraph more independent of current cursor
2184 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2186 * text2.C: remove unneeded members
2188 2003-07-30 André Pönitz <poenitz@gmx.net>
2190 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2192 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2193 create a single function...
2195 * paragraph_funcs.C (moveItem): ... here.
2198 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2200 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2202 * LColor.[Ch]: Add comment and greyedout logical colors.
2204 2003-07-30 André Pönitz <poenitz@gmx.net>
2206 * tabular.C: don't use Assert too heavily. This crashes where it
2209 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2211 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2212 is disabled (bug 1232)
2214 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2216 * factory.C: limited 'arg' scope
2218 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2220 * factory.C: fixed Note submenu issues
2222 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2224 * factory.C: submenu for Note/Comment/Greyedout
2226 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2229 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2231 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2234 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2235 greyedout. Patch provided by Jürgen Spitzmüller.
2237 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2239 * kbmap.C (read): fix error message when reading bind files
2241 2003-07-29 Angus Leeming <leeming@lyx.org>
2243 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2244 certainly does not do what it purports to do. I am doing it, and
2245 us, a favour by killing it.
2247 2003-07-28 José Matos <jamatos@lyx.org>
2249 * buffer.C (readBody, do_writeFile):
2250 * paragraph.C(readParagraph): \end_document replaces \the_end.
2252 2003-07-29 André Pönitz <poenitz@gmx.net>
2255 * BufferView_pimpl.[Ch]:
2259 * textcursor.[Ch]: remove toggleToggle & Co
2261 2003-07-28 José Matos <jamatos@fep.up.pt>
2263 * buffer.C (readParagraph):
2264 * params_func (readParToken, readParagraph):
2265 * paragraph.C (write): \layout -> \begin_layout.
2267 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * lyxlex_pimpl.C (setFile): clean up slightly.
2271 * bufferparams.h: add compressed var
2273 * buffer_funcs.C (readFile): adjust for LyXLex change
2274 (newFile): ditto + simplify
2276 * buffer.C (writeFile): handle writing of compressed files
2278 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2279 Check if the file is compressed and set a bufferparm if so.
2281 * Makefile.am (lyx_LDADD): remove explicit -lz
2283 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2285 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2286 makeDocBookFile): put the real LyX version in the first line of
2290 * version.C.in: remove lyx_docversion
2292 * tabular.C (write_attribute): add a template-based version to
2293 write enums properly
2295 2003-07-28 André Pönitz <poenitz@gmx.net>
2300 * text3.C: use doubles again for x-coordinates. They are needed.
2302 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * messages.C (getLocaleDir): use lyx_localedir()
2306 * lyxlex_pimpl.C (setFile): compress stuff
2308 * buffer.C (writeFile): add some compression stuff
2309 (do_writeFile): new func, dont call expliti close... will this
2312 * Makefile.am (lyx_LDADD): add -lz
2314 2003-07-28 José Matos <jamatos@fep.up.pt>
2316 * buffer.C: increment file format.
2317 * paragraph_funcs (readParagraph, readParToken):
2318 * paragraph.C (readParagraph): add \end_layout.
2320 2003-07-27 Angus Leeming <leeming@lyx.org>
2322 * Makefile.am: remove special casing for configure-time setting of
2323 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2325 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2326 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2328 2003-07-26 André Pönitz <poenitz@gmx.net>
2330 * paragraph_func.[Ch]:
2331 * paragraph.C (realizeFont): inline it whereever it is used
2336 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2339 2003-07-26 André Pönitz <poenitz@gmx.net>
2343 * text2.C: get rid of LyXText::need_break_row
2345 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * toc.[Ch]: put namespace toc inside namespace lyx
2349 * MenuBackend.C (expandToc2): adjust for lyx::toc
2352 * lyxfunc.C (dispatch): adjust for lyx::find
2354 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2355 lyx::find instead. Reorganize a bit.
2356 (LyXReplace): rename to replace
2357 (LyXFind): rename to find
2359 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2362 2003-07-26 André Pönitz <poenitz@gmx.net>
2364 * text.C (setHeightOfRow): restrict scope of temporary variable
2366 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2367 code (never has been used?)
2369 2003-07-27 Asger Alstrup <alstrup@local>
2371 * text.C (fill): Optimise algorithm to exploit that we can reuse
2372 the LyXFont for many characters.
2373 (setHeightOfRow): Same thing.
2374 (rowBreakPoint): Same thing.
2376 2003-07-26 Asger Alstrup <alstrup@local>
2378 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2380 * text.C (singleWidth): Spurious font copying in hot-spot
2381 singleWidth avoided. Reorder tests for arabic for efficiency.
2383 * text.C (fill): handle empty paragraphs better.
2385 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2388 * encoding.h: add includes
2390 * lyxrc.C: remove reading of bind files
2392 * lyx_main.C (init): setup bindings and menus only if we have a
2395 * kbmap.C (read): new method. Do the actual reading of bind
2398 * converter.C (dvipdfm_options):
2401 (output): adapt PAPER_* enums.
2403 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2405 * bufferparams.h: remove paper-related enums from there
2407 * paper.h: New file. A trivial header file to hold paper-related
2408 enums. It should later expand to contain many paper-related
2411 * lyxrc.C: declare extern displayTranslator
2413 2003-07-27 José Matos <jamatos@fep.up.pt>
2415 * tabular.[Ch] (linuxdoc): add support for tables and figures
2418 2003-07-27 José Matos <jamatos@fep.up.pt>
2420 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2421 consistency in both functions.
2422 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2424 2003-07-26 Asger Alstrup <alstrup@local>
2426 * rowpainter.C (paintRows): Change algorithm to work directly on
2427 the insets rather than asking every character in the document
2428 whether its an inset.
2430 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2432 * buffer.C (openFileWrite): factorize some code
2434 2003-07-26 Angus Leeming <leeming@lyx.org>
2437 * lyx_main.[Ch]: replace occurances of system_tempdir with
2440 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2442 * rename Inset to InsetOld
2444 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2446 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2447 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2448 which I think is a bit clearer. EDIT is gone, since it was
2449 premature optimisation, and broken for mathed anyway.
2450 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2451 with cursor positioning in insets as well (math insets still do not
2452 work, but that's a different story anyway.) It mysteriously
2453 crashes sometimes with undo in the first paragraph, but I'm fairly
2454 confident that this is a compiler bug.
2456 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2458 * paragraph.C (Paragraph): adjust for new clone return type
2460 (copyIntoMinibuffer): ditto
2462 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2464 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2465 by not having a special case, and always doing a full rebreak of
2466 the document after undo.
2468 2003-07-23 Angus Leeming <leeming@lyx.org>
2470 * factory.C (createInset): InsetExternal::setParams now takes a
2473 2003-07-23 Angus Leeming <leeming@lyx.org>
2475 * factory.C (createInset): changed interface to the external and
2476 graphics mailers' string2params functions.
2478 2003-07-23 Angus Leeming <leeming@lyx.org>
2480 * factory.C (createInset): pass a
2481 Buffer const * parameter to InsetExternalMailer's string2params.
2483 2003-07-22 John Levon <levon@movementarian.org>
2485 * Thesaurus.h: include the right aiksaurus header
2487 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2489 * MenuBackend.C (expand): check menu shortcuts unconditionally
2491 2003-07-21 Angus Leeming <leeming@lyx.org>
2493 * factory.C (createInset): pass a
2494 buffer_path parameter to InsetGraphicsMailer's string2params.
2496 2003-07-21 Angus Leeming <leeming@lyx.org>
2498 * BufferView_pimpl.C (buffer):
2501 * lyxfunc.C (dispatch):
2502 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2503 rather than the grfx shortcut.
2505 2003-07-21 André Pönitz <poenitz@gmx.net>
2507 * rowpainter.C: remove unused variables
2510 * tabular_funcs.h: move to tabular.C
2511 * Makefile.am: adjust
2513 * tabular.[Ch]: basic optical cleaning
2515 * author.h: pass references, not values
2517 2003-07-18 André Pönitz <poenitz@gmx.net>
2525 * text3.C: two-phase drawing for InsetText and InsetTabular
2526 some float -> int changes.
2528 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2530 * lyx_main.C: fix the fix
2532 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2534 * lyx_main.C: fix a crash in batch mode if no files specified
2537 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2539 * format.[Ch] (papersize): moved to BufferParams
2540 * converter.[Ch] (dvips_options): moved to BufferParams
2541 (dvipdfm_options): moved to anon namespace
2542 * bufferparams.[Ch]: added above functions.
2544 2003-07-17 André Pönitz <poenitz@gmx.net>
2548 * text2.C: don't call inset->update() anymore
2550 * metricsinfo.[Ch]: add convenience constructor
2552 2003-07-16 André Pönitz <poenitz@gmx.net>
2557 * text2.C: replace the LyXCursor::irow_ member with
2558 on-demand computation of the value
2560 2003-07-16 John Levon <levon@movementarian.org>
2562 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2564 2003-07-15 André Pönitz <poenitz@gmx.net>
2567 * text2.C: remove no more needed refresh_row
2569 2003-07-15 André Pönitz <poenitz@gmx.net>
2574 * text3.C: refresh_status tristate -> need_update bool
2576 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2578 * lyxtext.h (init): remove reinit argument (act as if always true)
2579 * text2.C: adjust to that
2581 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2583 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2584 * text3.C: use it to delete selections in some cases
2585 (bugs 441, 673, 702, 954).
2587 2003-07-14 André Pönitz <poenitz@gmx.net>
2589 * rowpainter.[Ch]: reduce interface
2591 2003-07-14 André Pönitz <poenitz@gmx.net>
2593 * BufferView_pimpl.C:
2594 * text2.C: adjust after removing unused BufferView * argument
2596 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2598 * text2.C (init): fix a crash fired on resize
2600 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2602 * buffer.[Ch]: added new closing signal
2603 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2604 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2605 BufferView::Pimpl via the closing the signal
2607 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2609 * buffer.[Ch]: take out all bv-related from buffer
2611 * BufferView_pimpl.[Ch]: connect to new signals
2612 * CutAndPaste.C: removed useless asserts
2613 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2616 * lyxfunc.C: moved view-related funciontality from vc here
2617 * paragraph.C: removed outdated comments
2620 2003-07-10 André Pönitz <poenitz@gmx.net>
2622 * BufferView_pimpl.C:
2626 * text2.C: remove InsetText::InnerCache, clean up consequences
2628 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2630 * ispell.C: fix two typos in error messages
2632 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2634 * Extend Note inset to other forms of annotation like Comment
2635 and Greyedout. Right button click gives dialog.
2637 Files modified or added (+):
2641 * ControlNote.[Ch] +
2643 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2644 frontends/controllers
2648 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2650 * aspell.C: add missing namespace lyx::support
2652 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2654 * BufferView.[Ch] (newFile): Add
2655 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2656 * LaTeX.[Ch] (message): added this signal and use it
2657 * buffer.[Ch] (busy, message): added these signals and use them
2658 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2662 * importer.C: use buffer signals instead of direct bv calling
2663 * lyx_cb.[Ch] (ShowMessage): removed
2666 * paragraph_funcs.C:
2667 * text2.C: use buffer signals
2669 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2671 * introduce namespace lyx::graphics
2673 2003-07-02 André Pönitz <poenitz@gmx.net>
2675 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2677 2003-07-01 André Pönitz <poenitz@gmx.net>
2684 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2685 text*.C to text_func.C
2687 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * introduce namespace lyx::support
2691 2003-06-30 André Pönitz <poenitz@gmx.net>
2696 * text.C: re-enable --with-included-string
2698 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2700 * textcursor.C: add <config.h>
2702 * text.C (getWord): remove const from word_location arg
2704 * lyxvc.C (getLogFile): fix const type order
2706 * lyxtext.h: remove const from word_location arg, add arg name
2708 * lyxlayout.h: currect type on labeltype.
2710 * importer.C: correct \file
2712 * converter.C (intToFormat): use std:: on ret val, ws changes
2714 * bufferlist.h: correct \file
2716 * buffer.C (makeLinuxDocFile): fix const type order
2717 (makeDocBookFile): ditto
2718 (fillWithBibKeys): use std:: on stdlib args.
2720 * CutAndPaste.C: fix authors.
2721 (availableSelections): use std:: on return vector
2723 2003-06-27 André Pönitz <poenitz@gmx.net>
2725 * BufferView_pimpl.C:
2726 * bufferview_funcs.C:
2734 * text3.C: remove LyXCursor::row_ member
2737 * text.C: rename fullRebreak() to partialRebreak() and implement
2738 a fullRebreak() that really bereks fully
2740 * textcursor.h: new struct for cursor-related data
2742 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2744 * lyx_main.C (LyX): get full path of document loaded on the
2747 2003-06-26 André Pönitz <poenitz@gmx.net>
2749 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2750 remove unused/broken operator>,<,>=.
2752 * text.C: remove only use of broken operator<= in an Assert().
2754 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2756 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2757 moved errorlist_.clear to showErrorList
2759 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2761 * converter.C (scanLog, runLaTeX):
2762 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2763 move the bv->showErrorList call to the callers
2764 * lyxfunc.C: i.e. here...
2766 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2767 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2768 namespace, the second to...
2769 * buffer_funcs (BufferFormat, parseErrors): added
2770 * errorlist.C (ErrorList(TeXErrors const &)): removed
2772 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2774 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2776 2003-06-24 "Garst R. Reese" <reese@isn.net>
2780 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2782 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2784 * version.C.in: change docversion to 1.4
2786 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2788 * buffer.C: fix a bug just introduced
2790 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2792 * buffer.[Ch]: added the parseError signal and use it, removed
2794 * BufferView.[Ch] (addError): moved to ...
2795 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2796 to the Buffer::parseError signal to catch (guess what) parse errors
2797 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2799 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2801 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2802 ability to create a buffer and to return an existing one from
2803 the list. Moved these functions to...
2804 * buffer_funcs.[Ch]: added
2805 * BufferView.[Ch] (loadLyXFile): added
2806 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2807 job removed from bufferlist::loadLyXFile.
2808 * buffer.C (setReadOnly): make it work without view
2809 (i.e added an if (users))
2811 2003-06-19 Angus Leeming <leeming@lyx.org>
2814 * LyXAction.C (init):
2815 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2816 with LFUN_DIALOG_SHOW <name> <data>.
2818 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2820 * CutAndPaste.C (availableSelections): small compilation fix for
2821 ancient (gcc 2.9x) compilers
2823 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2825 * text3.C (cursorNext): add tmp var
2827 * text2.C (updateCounters): for function calling out of for clause
2828 (replaceSelectionWithString): ditto
2829 (insertStringAsParagraphs): ditto
2830 (getColumnNearX): add tmp var
2831 (setCursorFromCoordinates): add tmp var
2832 (cursorDownParagraph): add tmp var
2833 (deleteEmptyParagraphMechanism): add tmp var
2835 * text.C (insertChar): add tmp var
2837 * rowpainter.C (paintDepthBar): add tmp var
2839 * CutAndPaste.C (availableSelections): potentially check all
2840 paragraphs in a cut to fill the shown strings.
2842 2003-06-18 André Pönitz <poenitz@gmx.net>
2844 * kbmap.[Ch]: use vector<> instead of list<>
2846 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2848 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2849 pasteSelection with index
2851 * text2.C (pasteSelection): modify, call pasteSelection with index
2853 * paragraph.C (asString): reimplement version with no interval to
2854 call the one with interval.
2856 * lyxtext.h: add index arg to pasteSelection
2858 * MenuBackend.C (MenuItem): handle PasteRecent
2859 (Menu::read::Menutags): add md_pasterecent
2861 (expandPasteRecent): new function
2864 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2866 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2868 (availableSelections): new function
2870 2003-06-17 Angus Leeming <leeming@lyx.org>
2872 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2874 2003-06-17 Angus Leeming <leeming@lyx.org>
2877 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2879 * lyxfunc.C (dispatch): invoke it.
2881 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2883 * iterators.C (operator++, ParPosition): reintroduce some
2884 const_cast for the benefit of older compilers.
2886 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2888 * text3.C (dispatch): do not modify clipboard when doing
2889 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2890 LFUN_DELETE_SKIP on a selection selection
2892 2003-06-16 André Pönitz <poenitz@gmx.net>
2898 * tabular.[Ch]: IU of clone() and getLabelList();
2900 2003-06-13 André Pönitz <poenitz@gmx.net>
2902 * tabular.h: compactification
2904 2003-06-12 André Pönitz <poenitz@gmx.net>
2908 * tabular_funcs.h: some renaming plus whitespace
2910 2003-06-12 André Pönitz <poenitz@gmx.net>
2913 * BufferView_pimpl.C:
2919 * toc.C: Return a Paragraph & for ParIterator::operator*()
2921 2003-06-11 John Levon <levon@movementarian.org>
2925 * ToolbarBackend.C: add "Toolbars" section and
2928 2003-06-10 Angus Leeming <leeming@lyx.org>
2931 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2933 * lyxfunc.C (dispatch): invoke it.
2935 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * main.C: protect <ios> with HAVE_IOS
2938 (main): protect sync_with_stdio with HAVE_IOS
2940 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2942 * text2.C (cutSelection): adjust
2943 (pasteSelection): adjust
2945 * messages.C: handle get of empty string
2947 * main.C (main): use sync_with_stdio(false)
2949 * lyxfunc.C (dispatch): adjust
2951 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2952 (WriteAs): remove unneeded BufferView arg.
2954 * bufferparams.h: use correct types on papersize, papersize2 and
2957 * bufferparams.C (readToken): adjust for type
2958 (writeLaTeX): add missing cases to switch.
2960 * bufferlist.C (quitWriteBuffer): adjust
2963 * buffer.C (asciiParagraph): remove some commented code.
2965 * CutAndPaste.C: remove current_view extern variable.
2966 (cutSelection): add BufferParams arg.
2967 (eraseSelection): add BufferParams arg.
2968 (pasteSelection): add Buffer const & arg
2970 2003-06-07 John Levon <levon@movementarian.org>
2973 * paragraph_funcs.C:
2974 * paragraph_pimpl.C:
2978 * paragraph.C: allow InsetERT to freely space lines,
2979 and some consolidation of code
2981 2003-06-06 José Matos <jamatos@fep.up.pt>
2983 * buffer.C (makeDocBookFile): fix bug #821
2985 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2987 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2989 2003-06-04 Angus Leeming <leeming@lyx.org>
2991 * buffer.C: bump format to 224.
2993 2003-06-05 André Pönitz <poenitz@gmx.net>
2995 * text2.C (redoParagraphs): remove two const_cast<>
2997 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2999 * ParagraphList.h: remove last remnants of NO_STD_LIST
3001 2003-06-03 Angus Leeming <leeming@lyx.org>
3003 * factory.C (createInset): small change to the way InsetExternal's params
3006 2003-06-04 André Pönitz <poenitz@gmx.net>
3008 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3010 * paragraph_pimpl.h:
3011 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3013 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3015 * undo_funcs.C: make some simple cases of undo work again
3017 2003-06-03 John Levon <levon@movementarian.org>
3019 * ispell.C: HPUX doesn't have sys/select.h
3022 2003-06-03 John Levon <levon@movementarian.org>
3024 * CutAndPaste.C: update tabular and include inset
3029 * paragraph.C: remove owningBuffer(), don't pass Buffer
3032 * factory.C: insetGraphicsParams changed
3034 2003-06-02 John Levon <levon@movementarian.org>
3040 * text3.C: remove insetparent
3042 2003-06-02 John Levon <levon@movementarian.org>
3045 * buffer.C: fix inset_iterator.end(), move out of line
3048 2003-06-01 John Levon <levon@movementarian.org>
3050 * text3.C: use a proper cut/paste when doing inset
3051 insert (from Jürgen Spitzmüller)
3053 2003-06-01 John Levon <levon@movementarian.org>
3055 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3057 2003-05-30 André Pönitz <poenitz@gmx.net>
3059 * rowpainter.C: unify second drawing phase
3061 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3063 * trans_mgr.C: remove one case of current_view
3065 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3067 * paragraph_funcs.h: remove paragraph.h include
3069 * paragraph.h: delete NO_STD_LIST stuff
3071 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3073 * buffer.h: remove paragraph.h include
3075 * ParagraphList.C: delete file
3077 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3079 * toc.C (getTocList): adjust
3081 * paragraph_pimpl.C (validate): adjust
3083 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3085 * paragraph.C (Paragraph): adjust
3086 (getPositionOfInset): use const_iterator, adjust
3087 (bibitem): use const_iterator, adjust
3088 (setInsetOwner): adjust
3090 * iterators.C (operator++): adjust
3092 * InsetList.[Ch]: Replace selfmade iterator with standard
3093 vector::iterator also introduce const_iterator. Remove getPos,
3094 getInset and setInset from InsetTable. Adjust accordingly.
3096 * BufferView.C (lockInset): adjust
3097 (ChangeInsets): adjust
3099 * tabular.[Ch]: delete commented same_id functions
3101 2003-05-28 John Levon <levon@movementarian.org>
3103 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3105 2003-05-28 André Pönitz <poenitz@gmx.net>
3107 * metricsinfo.[Ch]: remove 'fullredraw' member
3109 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3111 * lyxtextclass.C (operator): remove caching.
3113 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * text2.C (cursorBottom): adjust
3118 (setCounter): use ParagraphList::find, adjust
3120 * text.C (workWidth): use ParagraphList::find, adjust
3122 * lyxcursor.C (LyXCursor): adjust
3124 * buffer.C (inset_iterator): adjust
3126 * ParagraphList.h: make iterator(value_type) private, make
3127 ParagraphList a friend of iterator.
3129 * ParagraphList.C (find): new function
3131 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3133 2003-05-27 André Pönitz <poenitz@gmx.net>
3135 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3137 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3139 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3141 2003-05-26 John Levon <levon@movementarian.org>
3143 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3145 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * remove same_id from function signatures, adjust.
3149 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3153 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3155 * paragraph.C (Paragraph): get rid of same_ids parameter
3157 * ParagraphList.C (insert): adjust
3160 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * paragraph_funcs.C (breakParagraph): adjust
3163 (breakParagraphConservative): adjust
3165 * buffer.C (readParagraph): adjust
3167 * ParagraphList.C (insert): take a reference instead of a pointer
3170 * paragraph.[Ch] (id): new function
3172 * bufferlist.C (newFile): adjust
3174 * ParagraphList.C (ParagraphList): adjust
3176 (push_back): take a reference instead of a pointer.
3178 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3180 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3183 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3184 set else use old code.
3186 * ParagraphList.C: remove all NO_NEXT code and only compile this
3187 code of NO_STD_LIST is set.
3189 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3191 * BufferView_pimpl.C:
3201 * graphics/GraphicsConverter.C:
3202 * graphics/PreviewLoader.C: header adjustment
3204 2003-05-23 Angus Leeming <leeming@lyx.org>
3206 * LaTeXFeatures.[Ch] (useBabel): new method.
3207 * bufferparams.C (writeLaTeX): use it.
3209 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * ParagraphList.h (set): remove unused function.
3213 2003-05-23 André Pönitz <poenitz@gmx.net>
3216 * BufferView_pimpl.C:
3220 * undo_funcs.C: setUndo reworked
3222 * iterators.[Ch]: add access to topmost ParagraphList
3224 * lyxtext.[Ch] (workWidth): add a const
3226 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3228 * texrow.[Ch] (increasePos): remove function
3229 * exporter.C (export): removed unused var and outdated comment
3231 2003-05-23 Angus Leeming <leeming@lyx.org>
3233 * latexrunparams.h: rename fragile as moving_arg.
3234 * paragraph.C (simpleTeXOnePar): ditto.
3235 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3237 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3241 (textUndoOrRedo): comment out a currently unused var.
3243 * paragraph.h (NO_NEXT): enable NO_NEXT
3245 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3247 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3249 * exporter.C (Export): adjust for removeAutoInsets removal.
3251 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3253 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3255 * BufferView.[Ch] (removeAutoInsets): delete function
3257 2003-05-22 Angus Leeming <leeming@lyx.org>
3259 * latexrunparams.h: add a free_spacing variable.
3261 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3262 to pass moving_arg, as the data is stored in runparams.fragile.
3264 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3265 to Inset::latexOptional or to simpleTeXOnePar.
3267 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3268 free_spacing arg to Inset::latexOptional.
3270 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3273 2003-05-22 Angus Leeming <leeming@lyx.org>
3275 * latexrunparams.h: add fragile and use_babel variables.
3277 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3278 * buffer.C (makeLaTeXFile): store this returned value in
3279 runparams.use_babel, thus passing it to the inset::latex methods.
3281 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3282 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3284 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3285 longer has a fragile arg, as it is stored in runparams.fragile.
3287 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3288 moving_arg parameter as the data is stored in runparams.fragile.
3290 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3291 a fragile parameter as the data is stored in runparams.fragile.
3293 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3297 2003-05-22 Angus Leeming <leeming@lyx.org>
3299 * latexrunparams.h: add a 'bool nice' which defaults to false.
3301 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3302 now encapsulated within runparams.
3304 * bufferlist.C (updateIncludedTeXfiles):
3305 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3307 2003-05-22 Angus Leeming <leeming@lyx.org>
3309 * latexrunparams.h: new file containing struct LatexRunParams.
3310 * Makefile.am: add new file.
3312 * LaTeX.[Ch] (c-tor, run):
3313 * buffer.[Ch] (makeLaTeXFile):
3314 * bufferlist.[Ch] (updateIncludedTeXfiles):
3315 * converter.C (convert, scanLog):
3316 * converter.[Ch] (runLaTeX):
3317 * exporter.C (Export):
3318 * paragraph.[Ch] (simpleTeXOnePar):
3319 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3320 * paragraph_funcs.[Ch] (latexParagraphs):
3321 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3322 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3323 pass around a LatexRunParams parameter.
3325 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * paragraph.[Ch]: remove unused constructor
3329 * ParagraphList.C (erase): new function, taking two iterators
3331 2003-05-22 André Pönitz <poenitz@gmx.net>
3333 * undo_funcs.C: remove duplicated code
3335 * iterator.[Ch]: operator=
3337 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * tabular.C (SetMultiColumn): ws changes
3341 * rowpainter.C (paintFirst): get rid of a ->previous
3343 * lyx_cb.C (getPossibleLabel): parlist simplification
3345 * BufferView.C (ChangeInsets): simplify slightly.
3347 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3349 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3350 * lfuns.h: new LFUN_SPACE
3351 * lyxfunc.C: protected space has a new lfun
3352 * paragraph_funcs.C: read new space insets
3354 * factory.C: handle new space insets
3356 2003-05-22 André Pönitz <poenitz@gmx.net>
3359 * BufferView_pimpl.C:
3362 * undo_funcs.C: return a ParIterator from getParFromID.
3364 * iterators.[Ch]: add two const's
3366 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * toc.C (getTocList): adjust
3370 * iterators.[Ch]: rework for parlist
3372 * buffer.C (par_iterator_begin): adjust
3373 (par_iterator_end): adjust
3375 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3377 * BufferView.C (removeAutoInsets): adjust
3378 (ChangeInsets): adjust
3380 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3382 * text.C (top_y): fix bug 1110
3384 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3386 * errorlist.[Ch]: added
3389 * BufferView_pimpl.C:
3390 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3393 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3395 * Makefile.am: ensure that lyx is relinked upon changes to the
3396 various "convenience" libs.
3398 2003-05-20 Angus Leeming <leeming@lyx.org>
3400 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3401 files are compiled in alphabetical order again.
3403 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3405 2003-05-19 Angus Leeming <leeming@lyx.org>
3407 * gettext.[Ch]: remove "char const * _(char const *)".
3409 2003-05-19 André Pönitz <poenitz@gmx.net>
3411 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3420 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3422 2003-05-19 André Pönitz <poenitz@gmx.net>
3426 * lyxtextclass.[Ch]:
3428 * paragraph_funcs.[Ch]:
3430 * text3.C: more insetenv work
3432 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3434 * ParagraphParameters.C (params2string): small bug fixed
3436 2003-05-16 André Pönitz <poenitz@gmx.net>
3439 * bufferview_funcs.C: patch from Kornel Benko to prevent
3440 crash when _(...) is called twice in a statement
3442 2003-05-16 André Pönitz <poenitz@gmx.net>
3449 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3451 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3453 * lyx_main.C (init): remove spurious static_cast
3455 2003-05-14 André Pönitz <poenitz@gmx.net>
3457 * BufferView.C: fix format string
3459 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3461 * BufferView.[Ch] (insertErrors): removed
3462 * BufferView.[Ch] (showErrorList): added
3463 * buffer.C (runChkTeX):
3464 * converter.C (scanLog): call showErrorList instead of inserterrors
3466 2003-05-13 André Pönitz <poenitz@gmx.net>
3468 * BufferView_pimpl.C:
3470 * bufferview_func.C:
3477 * tabular_funcs.h: tostr() from its own header
3479 * ParagraphParameters.C:
3484 * text3.C: STRCONV()
3486 2003-05-12 André Pönitz <poenitz@gmx.net>
3489 * BufferView_pimpl.C:
3493 * ParagraphParameters.C:
3497 * bufferview_funcs.C:
3510 * paragraph_funcs.C:
3514 * text3.C: boost::format -> bformat all over the place
3517 2003-05-09 André Pönitz <poenitz@gmx.net>
3519 * LColor.[Ch]: Pimpl the #include <map> away
3521 2003-05-09 John Levon <levon@movementarian.org>
3523 * bufferlist.C: never remove emergency saves
3525 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * Makefile.am: better lib building
3529 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3533 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3534 (simpleTeXSpecialChars): adjust
3535 (simpleTeXSpecialChars): adjust
3536 * paragraph.C (simpleTeXOnePar): adjust
3537 * buffer.C (makeLaTeXFile): adjust
3539 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3541 * text2.C (changeDepth): parlist cleanup
3542 (getColumnNearX): ditto
3544 * rowpainter.C (getLabelFont): parlist cleanup
3546 * bufferlist.C (newFile): parlist cleanup
3548 * CutAndPaste.C (eraseSelection): parlist cleanup
3550 * BufferView_pimpl.C (trackChanges): parlist cleanup
3553 * BufferView.C (lockInset): parlist cleanup.
3554 (ChangeInsets): ditto
3556 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * CutAndPaste.h: Update file header.
3560 * CutAndPaste.C: Update file header.
3561 Store the parts cut out of the Document in a limited_stack.
3562 (copySelection): adjust
3563 (pasteSelection): new function, takes the index in the limited stack.
3564 (nrOfParagraphs): adjust
3565 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3566 simplify error inset insertion.
3567 (checkPastePossible): adjust
3569 2003-05-06 John Levon <levon@movementarian.org>
3571 * text2.C: don't cast wrap inset to float
3573 2003-05-05 André Pönitz <poenitz@gmx.net>
3576 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3578 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3579 few naked Paragraph *.
3581 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3583 * bufferparams.C: Output warning if a document with missing
3584 TeX document class is loaded
3585 * exporter.C: Disable TeX exports if the document class is missing
3588 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3589 isTeXClassAvailable()
3591 2003-05-03 John Levon <levon@movementarian.org>
3594 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3595 explicit cursor show/hide
3597 * BufferView_pimpl.h:
3598 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3599 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3601 * lyxfunc.C: hide cursor before dispatching.
3606 * text3.C: remove explicit cursor hides
3608 2003-05-02 André Pönitz <poenitz@gmx.net>
3610 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3613 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3616 * text2.C: tiny whitespace
3618 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * undo_funcs.C: almost only ws changes.
3622 * ParagraphList.C (splice): just return if pl is empty.
3624 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * ParagraphList.C (splice): new function.
3628 * CutAndPaste.C (pasteSelection): use it
3630 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * CutAndPaste.C (pasteSelection): remove the last next and
3633 previous from this file.
3635 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3637 * CutAndPaste.C (pasteSelection): more clean up, user proper
3638 ParagraphList functions for pasteing.
3640 * ParagraphList.C (insert): new function, three arg insert
3642 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * ParagraphList.C (insert): new function, three arg insert
3646 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3649 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3653 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3657 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3660 (copySelection): clean up a bit.
3661 (pasteSelection): use make_pair
3663 * ParagraphList.C (ParagraphList): implement copy constructor
3664 (operator=): implement, base on copy constructor.
3667 * paragraph.C (erase): return a bool
3669 * paragraph_pimpl.C (erasePos): remove function, move contents...
3670 (erase): ... here. Return a bool.
3671 (erase): call erase instead of erasePos.
3673 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3675 * ParagraphList.h: define PitPosPair
3676 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3677 ParagraphList, fix a bug on pasting multiple pars
3678 * text2.C: change interface to C&P
3680 2003-04-30 André Pönitz <poenitz@gmx.net>
3682 * undo_func.C: revert part of yesterday's patch 2
3684 2003-04-30 John Levon <levon@movementarian.org>
3686 * LColor.C: s/tabular/table/
3688 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * text3.C (dispatch): do not convert iterator -> pointer
3691 * undo_funcs.C (setCursorParUndo): ditto
3692 * text_funcs.C (transposeChars): ditto
3694 * text2.C (setLayout): ws changes only
3696 * text.C (breakParagraph): do not convert iterator -> pointer
3698 (acceptChange): ditto
3699 (rejectChange): ditto
3704 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3707 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3709 * text3.C (gotoInset): YABG (yet another bad getChar)
3711 2003-04-29 André Pönitz <poenitz@gmx.net>
3713 * paragraph.h: make operator= private unimplemented as long as
3716 * ParagraphList.C: whitespace
3719 * paragraph_pimpl.[Ch]:
3720 * paragraph_funcs.C:
3722 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3725 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3727 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3729 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3730 * paragraph.[Ch] (erase):
3731 * paragraph_pimpl.[Ch] (erase): change return type and value
3732 * text2.C (cutSelection): some rework
3734 2003-04-28 John Levon <levon@movementarian.org>
3736 * bufferlist.C: changes for unsaved changes dialog
3738 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * bufferlist.C (newFile): set language (messages_) for new
3743 * buffer.C (readFile): ws changes only.
3745 2003-04-28 André Pönitz <poenitz@gmx.net>
3750 * BufferView_pimpl.C:
3751 * BufferView.C: getParFromID related ParagraphList::iterator changes
3753 2003-04-28 André Pönitz <poenitz@gmx.net>
3755 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3758 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * messages.C: remove one more localedir class variable.
3762 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3764 * messages.C (getLocaleDir): singleton generation function
3766 (Messages): add a default constructor.
3768 * main.C (main): do not setup localedir here, do not call
3771 * gettext.C (_): use it.
3772 (gettext_init): delete funciton
3774 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3776 * gettext.C (getLyXMessages): new singleton generating function.
3778 * buffer.C (updateDocLang): adjust
3780 * Makefile.am (messages.o): add target
3781 (main.o): remove target
3783 2003-04-27 John Levon <levon@movementarian.org>
3788 * lyxvc.C: specify cancel button in Alert::prompt
3790 2003-04-26 John Levon <levon@movementarian.org>
3795 * LyXAction.C: add LFUN_INSET_SETTINGS
3797 * lyxfunc.C: don't enable tabular-feature when there's
3798 just any locking inset
3800 2003-04-26 John Levon <levon@movementarian.org>
3802 * bufferlist.C: re-add Cancel to buffer close question
3804 * lyxfunc.C: fix import UI a bit
3806 2003-04-25 John Levon <levon@movementarian.org>
3808 * gettext.C: remove the broken asserts for now
3810 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * messages.C: make case where setlocale cannot comply work better.
3814 * buffer.C (updateDocLang): new function
3815 (changeLanguage): use it
3818 * text2.C (setCounter): use B_ a bit.
3820 * lyxlayout.C (Read): be sure to trim the label strings.
3822 * messages.C (Messages): fix typo in comment
3824 * buffer.C (readFile): set message_ after file is loaded.
3825 (makeDocBookFile): remove double return
3826 (changeLanguage): reset message_ upon language change.
3827 (B_): new func, use this to get translated buffer strings.
3829 * main.C: add myself and Jean Marc as authors.
3831 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3833 * messages.[hC]: pimplify Messages, and three different pimpls to be
3834 used in different circumstances.
3836 * gettext.[Ch]: change for use with new message code.
3838 2003-04-24 André Pönitz <poenitz@gmx.net>
3840 * factory.C: support for eqref
3842 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * messages.[Ch]: add missing char
3846 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3848 * messages.[Ch]: New files
3850 2003-04-18 John Levon <levon@movementarian.org>
3854 * BufferView_pimpl.C:
3858 * text2.C: remove layout-copy/paste (bug 778)
3860 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3862 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3864 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3866 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3867 if they succeed. Act accordingly.
3869 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * text2.C (setCharFont): adjust
3872 (setCounter): adjust
3873 (insertStringAsLines): adjust
3875 * text.C (leftMargin): adjust
3876 (setHeightOfRow): adjust
3878 * rowpainter.C (paintFirst): adjust
3881 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3883 (isFirstInSequence): ditto
3884 (getEndLabel): ditto
3887 * paragraph.C (getParLanguage): comment out some hard stuff.
3889 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3891 (simpleDocBookOnePar): ditto
3892 (makeDocBookFile): use ParagraphList::iterator
3894 * CutAndPaste.C (pasteSelection): adjust
3896 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * text2.C (getFont): adjust
3899 (getLayoutFont): adjust
3900 (getLabelFont): adjust
3902 * paragraph_funcs.C (TeXOnePar): adjust
3904 * buffer.C (simpleLinuxDocOnePar): adjust
3905 (simpleDocBookOnePar): adjust
3907 * CutAndPaste.C (pasteSelection): adjust
3909 * BufferView.C (getEncoding): adjust
3911 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3913 2003-04-16 John Levon <levon@movementarian.org>
3915 * lyxfind.C: use parlist stuff for search/changes
3917 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3921 * text2.C (deleteEmptyParagraphMechanism): adjust
3923 * text2.[Ch] (ownerParagraph): delete func (both of them
3925 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3929 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * ParagraphList.C: prepare for NO_NEXT
3933 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * text2.C (getFont): adjust
3936 (getLayoutFont): adjust
3937 (getLabelFont): adjust
3939 * paragraph.C (getFont): adjust
3940 (getLabelFont): adjust
3941 (getLayoutFont): adjust
3943 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3945 2003-04-15 John Levon <levon@movementarian.org>
3949 * lyx_main.C: handle Include in .ui files
3951 2003-04-15 John Levon <levon@movementarian.org>
3953 * MenuBackend.C: make the doc files length shorter
3956 * ToolbarBackend.C: handle toolbar placement flags,
3959 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3964 * paragraph_funcs.C (TeXOnePar): adjust
3966 * paragraph.C (getLabelFont): add outerfont arg, adjust
3967 (getLayoutFont): ditto
3968 (simpleTeXOnePar): adjust
3970 * paragraph_pimpl.C (realizeFont): delete func
3972 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3974 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3975 row argument, constify cur argument.
3977 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * text2.C (getFont): adjust
3980 (getLayoutFont): adjust
3981 (getLabelFont): adjust
3983 * paragraph_funcs.C (TeXOnePar): adjust
3984 (outerFont): new func...
3985 (realizeFont): ...moved out from here, changed this to facilitate
3988 * paragraph.C (getFont): take outerfont as arg, adjust
3989 (simpleTeXOnePar): add outerfont arg, adjust
3991 * buffer.C (simpleLinuxDocOnePar): adjust
3992 (simpleDocBookOnePar): adjust
3994 * CutAndPaste.C (pasteSelection): adjust
3996 * BufferView.C (getEncoding): adjust
3998 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * text2.C (setCharFont): adjust
4001 (setCounter): adjust
4003 * text.C (leftMargin): adjust
4004 (setHeightOfRow): adjust
4006 * rowpainter.C (paintFirst): adjust
4009 * paragraph_pimpl.C (realizeFont): adjust
4011 * paragraph.C (isFirstInSequence): move from here...
4012 * paragraph_funcs.C (isFirstInSequence): ...to here
4014 * paragraph.C (outerHook): move from here...
4015 * paragraph_funcs.C (outerHook): ...to here
4017 * paragraph.C (depthHook): move from here...
4018 * paragraph_funcs.C (depthHook): ...to here
4020 * paragraph.C (getEndLabel): move from here...
4021 * paragraph_funcs.C (getEndLabel): ...to here
4023 * text2.C (realizeFont): move from here...
4024 * paragraph_funcs.C (realizeFont): ...to here
4026 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4030 2003-04-14 Angus Leeming <leeming@lyx.org>
4032 * LColor.[Ch]: scrap LColor mathcursor.
4034 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * lyxlex.[Ch] (text): delete function
4037 * trans.C (Load): adjust
4038 * paragraph_funcs.C (readParToken): adjust
4040 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4043 vector<char> instead of a char[].
4045 * lyxlex_pimpl.C (getString): adjust
4047 (lex): use getString
4051 * lyxlex.C (text): use pimpl_->getString()
4055 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4058 (makeFontEntriesLayoutSpecific): temp var for par.size()
4059 (setLayout): temp var for ownerParagraphs().end()
4060 (fullRebreak): temp var for rows().end()
4061 (selectionAsString): temp var for boost::next(startpit), realize
4062 that the while really is a regular for loop.
4063 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4064 setCursor in one place.
4065 (setParagraph): temp vr for ownerParagraphs().end()
4066 (updateCounters): make the while loop a for loop
4067 (cutSelection): temp var for ownerParagraphs().end()
4068 (updateInset): make the do {} while() a regular for loop
4069 (getCursorX): use temp vars
4070 (setCurrentFont): use temp vars
4071 (getColumnNearX): use temp vars
4073 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * text.C (transformChar): use temp var for getChar
4076 (computeBidiTables): use temp var for row->par()
4077 (fill): move temp vars for row->par() and pit->layout() earlier in
4079 (labelFill): use temp var for row->par()
4080 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4081 asc and desc, realize that pit never changes and that firstpit is
4082 just a duplicate and not needed. Exchange rit->par() with pit in a
4084 (breakAgain): use a temp var for boost::next(rit)
4085 (breakAgainOneRow): ditto
4086 (breakParagraph): use a temp var for rows().begin()
4087 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4088 (cursorRightOneWord): use temp var for cursor.par() and
4089 cursor.pos(), remove usage of tmpcursor.
4090 (cursorLeftOneWord): use temp var for cursor.par() and
4091 cursor.pos() only set cur at end of function.
4093 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4095 * text.C, text2.C: exchange all usage of Paragraph::next with
4096 boost::next(ParagraphList::iterator)
4098 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4100 * text2.C (cursorTop): simplify implementation
4101 (cursorBottom): ditto
4102 (setParagraph): use ParagraphList::iterator
4103 (setCurrentFont): adjust
4104 (getColumnNearX): adjust
4105 (cursorRight): adjust
4106 (cursorLeft): remove usage of Paragraph::previous
4107 (cursorUpParagraph): ditto
4108 (deleteEmptyParagraphMechanism): slight cleanup
4110 * text.C (isBoundary): take a Paragraph const & instead of a
4112 (addressBreakPoint): ditto
4113 (leftMargin): remove usage of Paragraph::previous.
4114 (setHeightOfRow): ditto
4115 (cursorLeftOneWord): ditto
4116 (selectNextWordToSpellcheck): ditto
4119 (breakParagraph): remove one usage of Paragraph::next
4120 (redoParagraph): ditto
4121 (acceptChange): ditto
4122 (insertChar): adjust
4123 (rowBreakPoint): adjust
4125 * bufferview_funcs.C (toggleAndShow): adjust
4127 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4129 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4130 methods to access it.
4132 * text.C: Added updateRowPositions to compute all row positions.
4133 Make top_y and getRowNearY() to use the cached y position
4135 2003-04-11 John Levon <levon@movementarian.org>
4137 * text.C (rowBreakPoint): reintroduce the labelEnd
4138 checks, code copied from the row fill stuff. Deep voodoo.
4140 * text.C (fill): add a comment and debugging for the
4143 2003-04-11 John Levon <levon@movementarian.org>
4145 * text.C: make sure fullrow insets get wrapped to the next line,
4146 even when they're in a manual label
4148 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * text2.C (insertParagraph): make it take ParagraphList::iterator
4152 (setLayout): make it return ParagraphList::iterator
4153 (redoParagraphs): ditto
4155 (checkParagraph): ditto
4157 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4159 * text2.C: adjust several funcs.
4160 (realizeFont): take a ParagraphList::iterator as arg.
4161 (getLayoutFont): ditto
4162 (getLabelFont): ditto
4163 (setCharFont): ditto
4165 * text.C: adjust several funcs.
4167 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4169 * text.C (selectNextWordToSpellcheck): don't accidentally
4172 2003-04-10 John Levon <levon@movementarian.org>
4174 * ToolbarBackend.C (getIcon): special handling for
4177 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4179 * text2.C (cursorRight): a getChar assert fixed
4181 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * text2.C (getFont): change to take a ParagraphList::iterator
4184 instead of Paragraph*
4185 Adjust several functions.
4187 * text.C (transformChar): change to take a ParagraphList::iterator
4188 instead of Paragraph*
4189 (singleWidth): ditto
4190 Adjust several functions.
4192 * rowpainter.C: adjust several functions
4193 * rowpainter.h:store a ParagraphList::iterator and not a
4197 2003-04-09 John Levon <levon@movementarian.org>
4202 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4203 and the "help" bits as well
4205 2003-04-09 John Levon <levon@movementarian.org>
4208 * ToolbarBackend.C: allow multiple toolbars
4210 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * undo_funcs.C (setCursorParUndo): adjust
4214 * text_funcs.C (transposeChars): adjust
4216 * text3.C (gotoNextInset): adjust
4219 * text2.C (setLayout): adjust
4220 (changeDepth): adjust
4222 (redoParagraphs): adjust
4223 (selectionAsString): adjust
4224 (setParagraph): adjust
4225 (insertInset): adjust
4226 (cutSelection): adjust
4227 (copySelection): adjust
4228 (pasteSelection): adjust
4229 (insertStringAsLines): adjust
4230 (updateInset): adjust
4231 (setCursor): change to take a ParagraphList::iterator parameter
4232 (setCursorIntern): change to take a ParagraphList::iterator parameter
4233 (setCurrentFont): adjust
4234 (cursorLeft): adjust
4235 (cursorRight): adjust
4236 (deleteEmptyParagraphMechanism): adjust
4238 * text.C (breakParagraph): adjust
4239 (insertChar): adjust
4240 (acceptChange): adjust
4241 (rejectChange): adjust
4242 (selectNextWordToSpellcheck): adjust
4243 (changeCase): adjust
4247 * lyxfind.C (SearchForward): adjust
4248 (SearchBackward): adjust
4249 (nextChange): adjust
4251 * lyxcursor.C (par): adjust
4253 * lyxcursor.h: store a ParagraphList::iterator instead of a
4256 * lyx_cb.C (getPossibleLabel): adjust
4258 * bufferview_funcs.C (toggleAndShow): adjust
4260 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4263 * BufferView.C (removeAutoInsets): adjust
4264 (lockedInsetStoreUndo): adjust
4266 2003-04-09 John Levon <levon@movementarian.org>
4268 * ToolbarBackend.C: try icon without argument
4269 if with argument fails
4271 2003-04-08 John Levon <levon@movementarian.org>
4274 * ToolbarBackend.C: add getIcon(), handle tooltip,
4275 and change from "Icon" to "Item".
4277 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4279 * BufferView.C (lockInset): another bad getchar crunched
4281 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4283 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4286 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4288 * lyxfind.C (searchForward, searchBackwards): bug 782
4290 2003-04-07 John Levon <levon@movementarian.org>
4292 * paragraph.C: remove dead comment
4294 * text.C: remove troublesome depth-fiddling code
4295 in leftMargin() and rightMargin() (bug 1017)
4297 * text.C: fix breaking of rows in nested lists
4300 * text2.C (updateCounters): fix up depth values
4303 2003-04-07 John Levon <levon@movementarian.org>
4305 * BufferView_pimpl.C: clear message when doc finishes resizing,
4306 and after a mouse event
4308 * lyxfunc.C: clear message after exiting inset
4310 2003-04-07 John Levon <levon@movementarian.org>
4312 * bufferview_funcs.C: show math status not outside
4313 status in the statusbar
4315 2003-04-07 John Levon <levon@movementarian.org>
4317 * lyxfunc.C: note status changed after a depth change
4319 2003-04-04 Angus Leeming <leeming@lyx.org>
4321 * LaTeX.h: move AuxInfo operator==, != out of line.
4322 Remove LaTeX virtual destructor; nothing derives from it.
4323 Move operator()() out of public area and rename it startscript().
4324 Change protected for private.
4326 2003-04-04 Angus Leeming <leeming@lyx.org>
4329 * text2.C: remove unneeded #includes.
4331 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4333 * text2.C (dEPM): fix the heigth of the next row
4335 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4337 * text.C: squashed an invalid getChar requester + some ws changes
4339 2003-04-03 John Levon <levon@movementarian.org>
4341 * bufferview_funcs.h:
4342 * bufferview_funcs.C:
4345 * text2.C: make getStatus work for the env depth lfuns
4347 2003-04-03 John Levon <levon@movementarian.org>
4349 * bufferview_funcs.h:
4350 * bufferview_funcs.C:
4353 * text2.C: parlistize decDepth(), by merging it with incDepth()
4355 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * lyxrow.h: store a ParagraphList::iterator instead of a
4358 Paragraph* and adjust other class functions to suit.
4360 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4363 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4365 * text2.C (setCursor): do not anchor to cursor row for the time being
4367 2003-04-02 John Levon <levon@movementarian.org>
4374 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4376 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * paragraph.h: make ParagraphList and ParagraphList::iterator
4379 friends of Paragraph.
4381 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4383 * ParagraphList.C: Use the private next_ and previous_ from
4386 2003-04-01 John Levon <levon@movementarian.org>
4390 * Makefile.am: rename, remove defaults gunk
4393 * MenuBackend.C: remove defaults gunk
4396 * Languages.C: remove defaults gunk
4399 * lyx_main.C: error out if files couldn't be found.
4401 2003-04-02 John Levon <levon@movementarian.org>
4403 * text2.C: make incDepth() use parlist
4405 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * undo_funcs.C (firstUndoParagraph): adjust
4409 * text3.C (gotoInset): adjust
4410 (dispatch): adjust, and rewrite loop.
4412 * text2.C (init): adjust, and rewrite loop.
4413 (redoParagraphs): adjust
4414 (updateInset): adjust, and rewrite loop.
4415 (deleteEmptyParagraphMechanism): adjust
4417 * tabular.C (LyXTabular): adjust
4418 (SetMultiColumn): adjust
4421 * lyxtext.[Ch] (ownerParagraph): delete function
4422 (ownerParagraphs): new function returns a ParagraphList.
4424 * BufferView.C (removeAutoInsets): adjust
4425 (insertErrors): adjust
4426 (setCursorFromRow): adjust
4428 2003-04-01 Angus Leeming <leeming@lyx.org>
4430 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4433 2003-04-02 John Levon <levon@movementarian.org>
4439 * text_funcs.C: make transposeChars a free function
4441 * lyxrow_funcs.C: remove wrong comment
4443 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4446 * rowpainter.C: adjust
4451 * lyxrow_funcs. [Ch]: new files
4453 * lyxrow.[Ch]: remove next and previous pointers
4454 (next,previous): remove accessor functions
4455 (isParEnd): move to lyxrow_funcs
4456 (lastPos): move to lyxrow_funcs
4457 (nextRowIsAllInset): move to lyxrow_funcs
4458 (lastPrintablePos): move to lyxrow_funcs
4459 (numberOfSeparators): move to lyxrow_funcs
4460 (numberOfHfills): move to lyxrow_funcs
4461 (numberOfLabelHfills): move to lyxrow_funcs
4462 (hfillExpansion): move to lyxrow_funcs
4466 * bufferview_funcs.C (toggleAndShow): adjust
4468 * RowList.h: Remove class RowList from file leave just a
4471 * RowList.C: delete file
4473 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4476 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * text3.C (cursorPrevious): adjust
4479 (cursorNext): adjust
4482 * text2.C (redoHeightOfParagraph): adjust
4483 (redoDrawingOfParagraph): adjust
4486 * text.C (breakParagraph): adjust
4487 (insertChar): adjust
4490 * rowpainter.C (RowPainter): adjust
4491 (leftMargin): simplify and adjust
4492 (most rowpainter functions): adjust.
4494 * rowpainter.h: store the row as RowList::iterator not as Row*
4496 * lyxcursor.C (row): taka RowList::iterator as arg
4499 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4502 2003-04-01 Angus Leeming <leeming@lyx.org>
4504 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4505 stuff like bool Bool.
4507 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4509 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4512 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4514 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4517 * lyxtext.h (rows): drop one version and leve a const variant that
4518 returns a RowList::iterator.
4520 2003-03-31 Angus Leeming <leeming@lyx.org>
4522 * text.C (fill): ensure that the signature is the same as that in the
4525 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * text2.C (redoParagraphs): adjust
4528 (updateCounters): adjust
4529 (checkParagraph): adjust
4530 (getColumnNearX): adjust and reformat a bit.
4532 * text.C (top_y): adjust
4534 (leftMargin): adjust
4535 (prepareToPrint): adjust
4537 (getRowNearY): adjust
4539 * lyxtext.h: make rowlist_ mutable.
4541 * RowList.h: add const_iterator
4542 * RowList.C: adjust for RowList::const_iterator.
4544 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4547 2003-03-31 John Levon <levon@movementarian.org>
4550 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4552 * lyx_main.C: set default fonts from using lyx_gui funcs
4554 * exporter.C: pdf_mode moved from lyxrc
4557 * lyxfunc.C: changes from above
4559 2003-03-31 John Levon <levon@movementarian.org>
4561 * lyx_main.C: fix to the last fix
4563 2003-03-31 John Levon <levon@movementarian.org>
4565 * bufferlist.C: "Load original" -> "Load Original"
4571 * format.C: more Alert cleanups
4573 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * text2.C (removeParagraph): make it take a RowList::iterator as
4577 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4578 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4580 * text.C (anchor_row): make it take a RowList::iterator as arg,
4582 (computeBidiTables): make it take a const reference to Row instead
4583 of Row pointer, adjust.
4584 (leftMargin): make it take a RowList::iterator as arg, adjust.
4585 (rowBreakPoint): adjust
4586 (breakAgainOneRow): make it take a RowList::iterator as arg,
4588 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4590 * bufferview_funcs.C (toggleAndShow): adjust
4592 2003-03-30 John Levon <levon@movementarian.org>
4596 * boost-inst.C: moved to support
4598 * several files: changes as a result
4600 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * text2.C (LyXText): adjust.
4604 (removeRow): make it take a RowList::iterator as arg, adjust.
4605 (fullRebreak): adjust
4606 (deleteEmptyParagraphMechanism): adjust
4607 (clearPaint): adjust
4610 * text.C (top_y): adjust
4611 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4612 (breakAgain): make it take a RowList::iterator as arg, adjust.
4613 (breakParagraph): adjust
4614 (insertChar): adjust
4617 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4618 need_break_row, and refresh_row.
4620 * text3.C (dispatch): adjust
4622 * text2.C (checkParagraph): adjust
4624 (setCursorFromCoordinates): adjust
4626 * text.C (top_y): adjust
4628 (getRow): make it return a RowList::iterator, adjust
4629 (getRowNearY): make it return a RowList::iterator, adjust
4631 * text2.C (init): adjust
4632 (insertRow): remove function
4633 (insertParagraph): adjust
4634 (redoParagraphs): adjust
4635 (fullRebreak): adjust
4636 (updateCounters): adjust
4638 * text.C (top_y): rewrite to use RowList iterators.
4640 (setHeightOfRow): rewrite to sue RowList iterators.
4641 (appendParagraph): adjust
4642 (breakAgain): adjust
4643 (breakAgainOneRow): adjust
4644 (breakParagraph): adjust
4646 (getRowNearY): adjust, and remove commented code.
4648 * lyxtext.h (firstRow): delete function
4649 (lastRow): delete function
4650 (rows): new function (const and non-const versions.)
4651 (insertRow): delete function
4653 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4655 2003-03-29 John Levon <levon@movementarian.org>
4657 * BufferView_pimpl.C: always update scrollbar top
4658 because pasting text when we're anchored could mean we
4659 miss an update altogether
4661 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * text2.C (init): use rowlist_.end() and not 0.
4664 (insertRow): change to take a RowList::iterator as arg, adjust
4666 (insertParagraph): change to take a RowList::iterator as arg,
4668 (redoParagraphs): remove some debug msgs.
4670 * text.C (appendParagraph): change to take a RowList::iterator
4671 arg, adjust for this.
4672 (breakAgain): add an assert
4673 (breakAgainOneRow): ditto
4675 2003-03-29 John Levon <levon@movementarian.org>
4677 * text2.C: do not clear selection after inc/decDepth
4680 2003-03-29 John Levon <levon@movementarian.org>
4683 * buffer.C: fix broken strerrors according to Lars
4685 2003-03-29 John Levon <levon@movementarian.org>
4687 * converters.C: more Alert cleanups
4689 2003-03-29 John Levon <levon@movementarian.org>
4691 * bufferview_funcs.C: remove pointless Alert
4693 * buffer.C: fix confusing error message when
4694 a template is chmoded 000
4696 2003-03-29 John Levon <levon@movementarian.org>
4700 * BufferView_pimpl.C: Alert fixes
4704 * tabular-old.C: remove unused table compat reading
4706 2003-03-29 John Levon <levon@movementarian.org>
4711 * lyx_cb.C: more Alert cleanups
4713 * lyxfunc.C: don't allow chktex if not latex document
4715 2003-03-29 John Levon <levon@movementarian.org>
4719 * buffer.C: warnings pushed down from support/,
4722 2003-03-29 John Levon <levon@movementarian.org>
4724 * lyxfunc.C: safety check for C-r (revert)
4726 2003-03-29 John Levon <levon@movementarian.org>
4729 * bufferlist.C: several UI fixes using Alert::prompt.
4730 Fix the pointless looping quit code. Fix stupid revert
4735 * lyx_cb.C: use Alert::prompt
4737 * lyx_main.C: remove a silly question
4739 * lyxfunc.C: remove a couple of silly questions,
4742 2003-03-28 John Levon <levon@movementarian.org>
4744 * text2.C: fix bug 974 (End on empty par)
4746 2003-03-28 John Levon <levon@movementarian.org>
4748 * BufferView_pimpl.C:
4750 * lfuns.h: remove do-nothing math greek lfuns
4752 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * lyxgluelength.h (isValidGlueLength): add default arg on
4755 parameter 2. Remove default arg from friend in class.
4757 * lyxlength.h (isValidLength): add default arg on parameter 2.
4758 Remove default arg from friend in class.
4760 * text2.C (LyXText): adjust, initialize refresh_row.
4764 (insertParagraph): adjst
4765 (redoParagraphs): adjust
4766 (fullRebreak): adjust
4767 (updateCounters): adjust
4768 (deleteEmptyParagraphMechanism): first attempt at fixing a
4771 * text.C (top_y): adjust
4772 (setHeightOfRow): adjust
4774 (getRowNearY): adjust
4776 * lyxtext.h: include RowList.h
4777 (~LyXText): not needed anymore, deleted.
4778 (firstRow): modify for RowList
4779 (lastRow): new function
4780 Delete firstrow and lastrow class variables, add a Rowlist
4781 rowlist_ class variable.
4783 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4786 * RowList.C (insert): fix case where it == begin().
4788 2003-03-26 Angus Leeming <leeming@lyx.org>
4790 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4791 the thesaurus dialog.
4793 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4797 * RowList.[Ch]: new files
4799 * ParagraphList.C (erase): handle the case where it == begin
4802 2003-03-25 John Levon <levon@movementarian.org>
4806 * aspell.C: add new aspell support
4809 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4812 2003-03-25 Angus Leeming <leeming@lyx.org>
4815 * LyXAction.C (init): new LFUN_INSET_INSERT.
4817 * BufferView_pimpl.C (dispatch): split out part of the
4818 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4820 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4823 2003-03-25 Angus Leeming <leeming@lyx.org>
4825 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4827 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4830 * text3.C: remove useless row->height(0)
4832 2003-03-25 John Levon <levon@movementarian.org>
4836 * text3.C: rename the refreshing stuff to better names
4838 2003-03-24 John Levon <levon@movementarian.org>
4840 * BufferView_pimpl.h:
4841 * BufferView_pimpl.C: update layout choice on a mouse
4844 2003-03-23 John Levon <levon@movementarian.org>
4846 * Makefile.am: fix commandtags.h reference
4848 2003-03-22 John Levon <levon@movementarian.org>
4850 * BufferView_pimpl.C:
4855 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4857 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4860 * text.C: take the rtl methods out of line
4862 2003-03-21 André Pönitz <poenitz@gmx.net>
4864 * metricsinfo.[Ch]: new files containing structures to be passed around
4865 during the two-phase-drawing...
4867 2003-03-21 André Pönitz <poenitz@gmx.net>
4869 * lyxtextclass.C: read 'environment' tag.
4871 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4873 * text2.C (removeRow): fix bug 964
4875 2003-03-20 John Levon <levon@movementarian.org>
4879 * text2.C: paint cleanups. Inset::update() dropped font
4882 2003-03-19 John Levon <levon@movementarian.org>
4884 * lyxfunc.C: only fitcursor/markDirty if available()
4886 2003-03-19 John Levon <levon@movementarian.org>
4888 * commandtags.h: rename to ...
4890 * lfuns.h: ... this, and renumber / cleanup
4892 2003-03-19 John Levon <levon@movementarian.org>
4894 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4895 fit the cursor after an lfun
4899 * BufferView_pimpl.h:
4900 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4902 * LyXAction.C: layout-character should have ReadOnly
4904 * ParagraphParameters.C:
4906 * bufferview_funcs.C:
4913 * undo_funcs.C: changes from above
4915 2003-03-18 John Levon <levon@movementarian.org>
4917 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4918 remove it from update()
4920 * lyxfunc.C: update layout choice after an lfun
4922 * text3.C: remove extra updateLayoutChoice()s
4924 2003-03-18 John Levon <levon@movementarian.org>
4926 * text.C: top_y change means full repaint, fix
4927 a drawing bug with cursor movement
4929 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4933 * text2.C: anchor row on setCursor
4935 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4937 * lyxtext.h: remove almost all mutable keywords
4940 * text3.C: remove const keywords accordingly
4942 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4946 (TeXEnvironment): ditto
4949 2003-03-17 John Levon <levon@movementarian.org>
4951 * text.C (rowBreakPoint): remove attempt to fix displayed
4952 math insets inside a manual label
4954 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * lyxtext.h: remove BufferView* as first arg from almost all class
4958 * other files: adjust.
4960 2003-03-17 John Levon <levon@movementarian.org>
4964 * text2.C: more paint cleanups
4966 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4969 * rowpainter.C: remove "smart" background painting code
4971 2003-03-16 John Levon <levon@movementarian.org>
4976 * text3.C: add helper functions for setting refresh_row/y
4978 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4980 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4981 newline inset which *can* get inserted in the pass_thru layouts.
4982 This is primarily for literate documents.
4984 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4986 * buffer.C: increment LYX_FORMAT to 223
4988 2003-03-14 André Pönitz <poenitz@gmx.net>
4990 * textclass.h: prepare for environment handling, ws changes
4991 * lyxlayout.C: read latexheader and latexfooter tags
4993 2003-03-14 John Levon <levon@movementarian.org>
4995 * text2.C: rewrite ::status() a bit
4997 2003-03-13 John Levon <levon@movementarian.org>
4999 * lyxtext.h: add some docs
5001 2003-03-13 John Levon <levon@movementarian.org>
5006 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5008 2003-03-13 John Levon <levon@movementarian.org>
5010 * text3.C: fix appendix redrawing
5012 2003-03-13 John Levon <levon@movementarian.org>
5014 * text.C (setHeightOfRow):
5016 * rowpainter.C: make appendix mark have the text
5017 "Appendix" so the user knows what it is
5020 * LColor.C: s/appendixline/appendix/ from above
5022 2003-03-13 John Levon <levon@movementarian.org>
5024 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5026 * text.C: fix a getChar(pos) bug properly
5028 2003-03-13 Angus Leeming <leeming@lyx.org>
5031 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5032 Probably only temporary. Let's see how things pan out.
5034 * BufferView.C (unlockInset):
5035 * BufferView_pimpl.C (fitCursor):
5036 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5038 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5039 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5041 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5042 new functions that convert ParagraphParameters to and from a string.
5044 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5045 BufferView::Pimpl's dispatch.
5046 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5048 2003-03-13 André Pönitz <poenitz@gmx.net>
5052 * factory.C: make it aware of InsetEnv
5054 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * text2.C (setCursor): never ask for one past last
5057 (setCursor): add some debugging messages.
5059 * text.C (singleWidth): never ask for one past last
5060 (singleWidth): ditto
5062 (rightMargin): ditto
5063 (rowBreakPoint): ditto
5064 (setHeightOfRow): ditto
5065 (prepareToPrint): ditto
5067 * rowpainter.C (paintBackground): never ask for one past last
5068 (paintText): never ask for one past last
5070 * paragraph_pimpl.C (getChar): make the assert stricter, never
5071 allow the one past last pos to be taken
5073 * paragraph.C (getChar): ws changes only
5075 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5076 (numberOfSeparators): ditto
5077 (numberOfHfills): ditto
5079 2003-03-12 John Levon <levon@movementarian.org>
5085 * paragraph_funcs.C: fix per-buffer authorlists
5087 2003-03-12 John Levon <levon@movementarian.org>
5089 * text.C: fix newline in right address
5091 2003-03-12 Angus Leeming <leeming@lyx.org>
5093 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5094 duplicate those in LyXFunc::dispatch.
5098 * ToolbarDefaults.C:
5099 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5100 Add LFUN_FONTFREE_UPDATE.
5102 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5103 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5105 * bufferview_func.[Ch]: several new functions to facilliate
5106 transfer of data to and from the character dialog.
5108 2003-03-12 John Levon <levon@movementarian.org>
5113 * paragraph_funcs.C:
5114 * paragraph_pimpl.C:
5118 * text3.C: remove META_NEWLINE in favour of an inset
5121 * rowpainter.C: remove paintNewline (done by inset)
5123 2003-03-12 John Levon <levon@movementarian.org>
5125 * paragraph_pimpl.C: complain about bad getChar()s
5126 for a while at least
5128 2003-03-12 John Levon <levon@movementarian.org>
5131 * buffer.C: move paragraph read into a separate function,
5132 a little renaming to reflect that.
5135 * bufferparams.C: remove the author_ids map, not necessary now
5138 * factory.C: moved Buffer::readInset to here
5140 * paragraph_funcs.h:
5141 * paragraph_funcs.C: readParagraph free function moved from
5144 * tabular.C: name change
5146 2003-03-12 John Levon <levon@movementarian.org>
5149 * ParagraphParameters.C: move par params input to
5152 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5153 behave like a normal read from the stream wrt reading
5154 a line vs. a \\token
5156 2003-03-12 John Levon <levon@movementarian.org>
5159 * ParagraphParameters.h:
5160 * ParagraphParameters.C: move output code to a
5163 2003-03-12 John Levon <levon@movementarian.org>
5165 * BufferView.C (insertLyXFile):
5168 * tabular.C: use a parlist iterator for creating the
5171 2003-03-12 John Levon <levon@movementarian.org>
5173 * buffer.C: make current_change static local not
5176 2003-03-12 John Levon <levon@movementarian.org>
5178 * buffer.C: fix insertStringAsLines for change tracking
5180 2003-03-12 John Levon <levon@movementarian.org>
5187 * bufferparams.C: move author list into params. Rename some
5188 functions. Move the header reading into a separate token
5189 loop. Move the header token reading into BufferParams.
5191 2003-03-12 John Levon <levon@movementarian.org>
5193 * changes.C: put debug inside lyxerr.debugging() checks
5195 2003-03-11 André Pönitz <poenitz@gmx.net>
5197 * factory.C: make it aware of InsetHFill
5199 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5201 * buffer.C (latexParagraphs): move function from here...
5202 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5205 2003-03-10 Angus Leeming <leeming@lyx.org>
5207 * LyXAction.C (init): fix bug in poplating array with multiple entries
5208 with the same LFUN (spotted by JMarc).
5210 2003-03-10 John Levon <levon@movementarian.org>
5213 * text2.C: move getColumnNearX() near its
5216 2003-03-10 John Levon <levon@movementarian.org>
5218 * text.C: fix break before a minipage
5220 2003-03-10 John Levon <levon@movementarian.org>
5222 * text.C: fix the last commit
5224 2003-03-09 John Levon <levon@movementarian.org>
5228 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5229 bug 365 (don't break before insets unless needed). Don't
5230 return a value > last under any circumstances.
5232 2003-03-09 Angus Leeming <leeming@lyx.org>
5234 * BufferView_pimpl.C (trackChanges, dispatch): call
5235 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5237 2003-03-09 Angus Leeming <leeming@lyx.org>
5239 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5240 than Dialogs::showAboutlyx().
5242 2003-03-09 Angus Leeming <leeming@lyx.org>
5244 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5245 than Dialogs::showTabularCreate().
5247 2003-03-09 John Levon <levon@movementarian.org>
5251 * text2.C: 3rd arg to nextBreakPoint was always the same.
5254 2003-03-08 John Levon <levon@movementarian.org>
5261 * text2.C: Remove the "main" bit from the "main body"
5264 2003-03-08 John Levon <levon@movementarian.org>
5266 * text.C (leftMargin): The left margin of an empty
5267 manual label paragraph should not include the label width
5270 * text.C (prepareToPrint): don't attempt to measure hfills
5271 for empty manual label paragraphs - the answer should be 0
5273 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * CutAndPaste.C: remove commented code and reindent.
5277 2003-03-08 John Levon <levon@movementarian.org>
5280 * lyxfunc.C: move reloadBuffer()
5283 * BufferView.C: to here
5285 * lyxvc.C: add comment
5288 * vc-backend.C: call bv->reload() to avoid
5289 getStatus() check on MENURELOAD
5291 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5293 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5294 to an old format .dep file.
5296 2003-03-07 Angus Leeming <leeming@lyx.org>
5298 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5299 when the LFUN_MOUSE_RELEASE should have been handled by
5300 inset->localDispatch.
5302 2003-03-07 Angus Leeming <leeming@lyx.org>
5304 * BufferView_pimpl.C (dispatch):
5305 * LyXAction.C (init):
5306 * ToolbarDefaults.C (init):
5308 * lyxfunc.C (getStatus):
5309 remove LFUN_INSET_GRAPHICS.
5311 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5313 2003-03-07 Angus Leeming <leeming@lyx.org>
5316 * LyXAction.C (init):
5317 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5319 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5322 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5324 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5325 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5327 2003-03-07 Angus Leeming <leeming@lyx.org>
5329 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5332 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * ParagraphList.C (front): new function
5337 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5339 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5340 and top_row_offset_. removed var first_y.
5342 * text2.C (LyXText, removeRow):
5344 * BufferView_pimpl.C:
5345 use these methods instead of using first_y
5347 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * text2.C (pasteSelection): adjust for checkPastePossible
5351 * CutAndPaste.C: remove Paragraph * buf and replace with
5352 ParagraphList paragraphs.
5353 (DeleteBuffer): delete
5354 (cutSelection): change the tc type to textclass_type
5355 (copySelection): change the tc type to textclass_type
5356 (copySelection): adjust for ParagraphList
5357 (pasteSelection): change the tc type to textclass_type
5358 (pasteSelection): adjust for Paragraphlist
5359 (nrOfParagraphs): simplify for ParagraphList
5360 (checkPastePossible): simplify for ParagraphList
5361 (checkPastePossible): remove unused arg
5363 * ParagraphList.C (insert): handle the case where there are no
5366 * CutAndPaste.h: make CutAndPaste a namespace.
5368 * text3.C (dispatch): adjust
5370 * text.C (breakParagraph): add a ParagraphList as arg
5372 * paragraph_funcs.C (breakParagraph): change to take a
5373 BufferParams and a ParagraphList as args.
5374 (breakParagraphConservative): ditto
5375 (mergeParagraph): ditto
5376 (TeXDeeper): add a ParagraphList arg
5377 (TeXEnvironment): ditto
5380 * buffer.C (readLyXformat2): adjust
5381 (insertStringAsLines): adjust
5382 (latexParagraphs): adjust
5384 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5385 (cutSelection): adjust
5386 (pasteSelection): adjust
5388 * BufferView_pimpl.C (insertInset): adjust
5390 2003-03-05 Angus Leeming <leeming@lyx.org>
5393 * LyXAction.C (init):
5394 * BufferView_pimpl.C (dispatch):
5395 * lyxfunc.C (getStatus):
5396 remove LFUN_CHILD_INSERT.
5398 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5400 2003-03-05 Angus Leeming <leeming@lyx.org>
5403 * LyXAction.C (init):
5404 * src/factory.C (createInset):
5405 * lyxfunc.C (getStatus):
5406 * text3.C (dispatch):
5407 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5409 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5411 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * ParagraphList.C (insert): handle insert right before end()
5414 (erase): fix cases where it can be first or last paragraph.
5416 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5418 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5419 Paragraph::next and Paragraph::previous
5422 * text.C (breakParagraph): adjust
5424 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5425 BufferParams& as arg.
5426 (breakParagraph): use ParagraphList::insert
5427 (breakParagraphConservative): take a Buffer* instead of a
5428 BufferParams& as arg.
5429 (breakParagraphConservative): use ParagraphList::insert.
5431 * buffer.C (insertStringAsLines): un-const it
5432 (insertStringAsLines): adjust
5434 * ParagraphList.C (insert): new function
5436 * CutAndPaste.C (pasteSelection): adjust
5438 * text.C (backspace): adjust
5440 * tabular.C (SetMultiColumn): adjust
5442 * CutAndPaste.C (cutSelection): adjust
5443 (pasteSelection): adjust
5445 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5446 Buffer const * as arg
5448 * ParagraphList.C (erase): new function
5449 * paragraph_funcs.C (mergeParagraph): use it
5450 (mergeParagraph): make it take a Buffer* instead of a
5451 BufferParams* as arg
5453 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5455 (breakParagraphConservative): ditto
5457 * paragraph.h: remove the breakParagraph friend
5459 * paragraph.C (eraseIntern): new function
5460 (setChange): new function
5462 * paragraph_funcs.C (mergeParagraph): make it take a
5463 ParagraphList::iterator instead of a Paragraph *, adjust
5466 * paragraph.h: move an #endif so that the change tracking stuff
5467 also works in the NO_NEXT case.
5469 2003-03-04 Angus Leeming <leeming@lyx.org>
5472 * LyXAction.C: new LFUN_INSET_MODIFY.
5474 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5475 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5477 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * several files: ws changes only
5481 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5482 (TeXEnvironment): ditto
5485 * buffer.C (makeLaTeXFile): adjust
5486 (latexParagraphs): make it take ParagraphList::iterator as args
5488 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * buffer.C (latexParagraphs): adjust
5492 * paragraph.C (TeXOnePar): move function...
5493 (optArgInset): move function...
5494 (TeXEnvironment): move function...
5495 * paragraph_pimpl.C (TeXDeeper): move function...
5496 * paragraph_funcs.C: ...here
5498 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5500 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5502 * buffer.C (readInset): remove compability code for old Figure and
5505 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * buffer.C: ws changes
5510 * BufferView_pimpl.C: ditto
5513 * bufferlist.h: ditto
5517 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5519 * converter.[Ch]: split into itself +
5522 * Makefile.am: += graph.[Ch] + format.[Ch]
5529 * lyxrc.C: added #include "format.h"
5531 2003-02-27 Angus Leeming <leeming@lyx.org>
5533 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5536 * factory.C (createInset): add "label" to the factory.
5538 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5539 string and do no more.
5541 2003-02-27 Angus Leeming <leeming@lyx.org>
5544 * LyXAction.C (init):
5545 * factory.C (createInset):
5546 * BufferView_pimpl.C (dispatch):
5547 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5549 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5551 * lyxfunc.C (dispatch):
5552 * text3.C (dispatch): pass name to params2string.
5554 2003-02-26 Angus Leeming <leeming@lyx.org>
5556 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5558 Rearrange the ~includes. Strip out the unnecessary ones.
5560 * factory.C (createInset): reformat.
5561 create new insets for the various LFUN_XYZ_APPLY lfuns.
5563 2003-02-26 John Levon <levon@movementarian.org>
5566 * lyxrow.C: add isParStart,isParEnd helpers
5568 * paragraph.h: make isInserted/DeletedText take refs
5570 * paragraph_funcs.h:
5571 * paragraph_funcs.C: remove #if 0'd code
5576 * text.C: use lyxrow helpers above.
5577 Move draw and paint routines to RowPainter.
5578 Make several methods use refs not pointers.
5579 Make backgroundColor() const.
5580 Add markChangeInDraw(), isInInset().
5581 Merge changeRegionCase into changeCase.
5582 Make workWidth() shouldn't-happen code into an Assert.
5585 * rowpainter.C: new class for painting a row.
5588 * vspace.C: make inPixels take a ref
5590 2003-02-26 Angus Leeming <leeming@lyx.org>
5592 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5595 2003-02-25 John Levon <levon@movementarian.org>
5597 * ispell.C: give the forked command a more accurate name
5599 2003-02-22 John Levon <levon@movementarian.org>
5602 * toc.C: make TocItem store an id not a Paragraph *
5605 2003-02-21 Angus Leeming <leeming@lyx.org>
5607 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5608 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5609 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5610 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5611 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5612 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5614 * BufferView_pimpl.C (dispatch):
5615 * LyXAction.C (init):
5616 * factory.C (createInset):
5617 * lyxfunc.C (getStatus, dispatch):
5618 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5620 2003-02-21 Angus Leeming <leeming@lyx.org>
5622 * BufferView_pimpl.C (MenuInsertLyXFile):
5623 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5624 * lyxfunc.C (menuNew, open, doImport):
5625 no longer pass a LyXView & to fileDlg.
5627 2003-02-21 Angus Leeming <leeming@lyx.org>
5629 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5630 * LyXAction.C: change, BIBKEY to BIBITEM.
5631 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5632 Change InsetBibKey to InsetBibitem.
5633 Change BIBKEY_CODE to BIBITEM_CODE.
5634 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5635 * factory.C: replace insetbib.h with insetbibitem.h.
5636 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5637 * paragraph.C: replace insetbib.h with insetbibitem.h.
5638 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5639 Change bibkey() to bibitem().
5640 * text.C: remove insetbib.h.
5641 * text2.C: replace insetbib.h with insetbibitem.h.
5642 change bibkey() to bibitem().
5643 * text3.C: remove insetbib.h.
5644 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5646 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5648 * lyxrc.C (output): enclose user email in quotes (in case there are
5651 2003-02-18 John Levon <levon@movementarian.org>
5653 * buffer.h: add std::
5655 2003-02-17 John Levon <levon@movementarian.org>
5661 * pspell.C: reworking. Especially in ispell, a large
5662 number of clean ups and bug fixes.
5664 * lyxfunc.C: fix revert to behave sensibly
5666 2003-02-17 André Pönitz <poenitz@gmx.net>
5669 * commandtags.h: new LFUN_INSERT_BIBKEY
5679 * paragraph_func.C: remove special bibkey handling
5681 2003-02-17 John Levon <levon@movementarian.org>
5683 * text.C (Delete): fix case where delete at the end of
5684 the very first paragraph would not merge the pars
5686 2003-02-17 John Levon <levon@movementarian.org>
5688 * lyxrow.C: fix lastPrintablePos()
5690 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5692 * bufferparams.C (writeLaTeX): add a std:here
5694 * buffer.C: and remove a using directive there
5696 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5698 * buffer.C (makeLaTeXFile): move the code that generates the
5701 * bufferparams.C (writeLaTeX): ... in this new method
5703 * LaTeXFeatures.C (getEncodingSet): make const
5704 (getLanguages): make const
5706 * MenuBackend.C (binding): returns the binding associated to this
5708 (add): sets the status of each item by calling getStatus. Adds
5710 (read): add support for OptSubMenu
5711 (expand): remove extra separator at the end of expanded menu
5713 2003-02-15 John Levon <levon@movementarian.org>
5716 * BufferView_pimpl.C:
5718 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5719 inset code that had no actual effect. Remove unneeded status
5722 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5724 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5727 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5729 * text.C (drawLengthMarker): also draw an arrow marker for
5730 symbolic lengths (medskip...)
5732 2003-02-14 John Levon <levon@movementarian.org>
5735 * tabular.C: better method names
5737 2003-02-14 John Levon <levon@movementarian.org>
5739 * BufferView_pimpl.C:
5744 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5745 it's a more accurate name. Remove some pointless uses.
5747 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5749 * text2.C (LyXText): change order of initilizers to shut off
5752 2003-02-14 John Levon <levon@movementarian.org>
5754 * buffer.C: use ParIterator for getParFromID()
5758 * paragraph_pimpl.h:
5759 * paragraph_pimpl.C: remove unused getParFromID()
5761 2003-02-14 John Levon <levon@movementarian.org>
5763 * buffer.C: remove some very old #if 0'd parse code
5765 2003-02-13 John Levon <levon@movementarian.org>
5769 * text2.C: move hfillExpansion(), numberOfSeparators(),
5770 rowLast(), rowLastPrintable(), numberofHfills(),
5771 numberOfLabelHfills() ...
5774 * lyxrow.C: ... to member functions here.
5779 * text.C: remove LyXText::beginningOfMainBody(), and call
5780 p->beginningOfMainBody() directly. Move the check for
5781 LABEL_MANUAL into the latter.
5788 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5794 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5795 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5797 2003-02-13 John Levon <levon@movementarian.org>
5799 * CutAndPaste.C: remove debug
5801 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5803 * paragraph.C (asString): remove two unused variables
5805 * lyxtextclass.C (readTitleType):
5807 (LyXTextClass): handle new members titletype_ and titlename_
5809 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5811 2003-02-09 John Levon <levon@movementarian.org>
5814 * buffer.C: replace hand-coded list with a map for the dep clean
5816 2003-02-08 John Levon <levon@movementarian.org>
5818 * LaTeX.C: consolidate code into showRunMessage() helper
5820 2003-02-08 John Levon <levon@movementarian.org>
5825 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5826 and pass the size in explicitly
5828 * BufferView_pimpl.h:
5829 * BufferView_pimpl.C:
5831 * BufferView.C: add getCurrentChange()
5833 * BufferView_pimpl.h:
5834 * BufferView_pimpl.C: handle change lfuns
5836 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5837 for changes. Mark pasted paragraphs as new.
5839 * support/lyxtime.h:
5840 * support/lyxtime.C:
5841 * DepTable.C: abstract time_t as lyx::time_type
5844 * LColor.C: add colours for new text, deleted text, changebars
5846 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5847 package use "usenames" option.
5851 * LyXAction.C: add change lfuns
5855 * author.C: author handling
5858 * buffer.C: add a per-buffer author list, with first entry as
5859 current author. Handle new .lyx tokens for change tracking. Output
5860 author list to .lyx file. Output dvipost stuff to .tex preamble.
5861 Bump lyx format to 222.
5864 * bufferlist.C: add setCurrentAuthor() to reset current author details
5868 * bufferparams.C: add param for tracking
5870 * bufferview_funcs.C: output change info in minibuffer
5874 * changes.C: add change-tracking structure
5877 * debug.C: add CHANGES debug flag
5880 * lyxfind.C: add code for finding the next change piece
5883 * lyxrc.C: add user_name and user_email
5886 * lyxrow.C: add a metric for the top of the text line
5889 * text.C: implement accept/rejectChange()
5892 * text.C: paint changebars. Paint new/deleted text in the chosen
5893 colours. Strike through deleted text.
5897 * paragraph_pimpl.h:
5898 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5899 in the current change to the insert functions. Rework erase to
5900 mark text as deleted, adding an eraseIntern() and a range-based
5901 erase(). Implement per-paragraph change lookup and
5904 * paragraph_funcs.C: Fixup paste for change tracking.
5906 * tabular.C: mark added row/columns as new.
5908 * text.C: fix rowLast() to never return -1. Don't allow
5909 spellchecking of deleted text. Track transpose changes. Don't
5910 allow paragraph break or merge where appropriate.
5912 * text2.C: leave cursor at end of selection after a cut.
5914 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5916 * text.C (getLengthMarkerHeight):
5917 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5918 visible on screen too.
5920 2003-02-07 John Levon <levon@movementarian.org>
5922 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5924 2003-02-05 Angus Leeming <leeming@lyx.org>
5926 * lyxserver.C (read_ready): revert my patch of 11 September last year
5927 as it sends PC cpu through the roof. Presumably this means that
5928 the lyxserver will no longer run on an Alpha...
5930 2003-01-30 Angus Leeming <leeming@lyx.org>
5932 * factory.C (createInset): create an InsetCommandParam of type "index"
5933 and use it to 'do the right thing'.
5935 * text2.C (getStringToIndex): ensure that cursor position is always
5936 reset to the reset_cursor position.
5938 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5940 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5943 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5947 * lyxfunc.C: Output messages with identical spelling, punctuation,
5950 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5952 * MenuBackend.C (expandFormats): List only viewable export formats
5955 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5958 * lyxfunc.C (getStatus): Make sure that formats other than
5959 "fax" can also be disabled
5961 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5963 * text3.C (dispatch): put the lfuns that insert insets in 3
5964 groups, and call doInsertInset with appropriate arguments.
5965 (doInsertInset): new function, that creates an inset and inserts
5966 it according to some boolean parameters.
5968 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5970 * buffer.C (readFile): remember to pass on 'par' when calling
5971 readFile recursively.
5973 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5975 * MenuBackend.C (expandFormats): add "..." to import formats.
5977 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5979 * paragraph.C (asString): Remove XForms RTL hacks.
5981 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5982 * buffer.C: fix typo
5984 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5986 * Makefile.am (LIBS): delete var
5987 (lyx_LDADD): add @LIBS@ here instead.
5989 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5991 * Clarify the meaning of "wheel mouse jump"
5993 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5995 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5998 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6000 * importer.C (Loaders): do not preallocate 3 elements in the
6001 vector, since one ends up with 6 elements otherwise
6003 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6005 * DepTable.C (write): write the file name as last element of the
6006 .dep file (because it may contain spaces)
6007 (read): read info in the right order
6009 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6011 * paragraph_pimpl.C (simpleTeXBlanks):
6012 (simpleTeXSpecialChars):
6013 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6015 * tabular.C (latex): add some missing case statements. Reindent.
6017 * MenuBackend.C (expandToc): remove unused variable.
6019 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6028 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6031 2003-01-05 John Levon <levon@movementarian.org>
6034 * BufferView.C: add getEncoding()
6037 * kbsequence.C: do not store last keypress
6040 * lyxfunc.C: store last keypress here instead. Pass encoding
6043 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6045 * lyx_main.C (init): remove annoying error message when following
6046 symbolic links (bug #780)
6048 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6050 * text.C (insertChar):
6051 * lyxrc.C (getDescription): remove extra spaces
6053 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6055 * lyxrc.C (getDescription): remove extra spaces
6057 2002-12-20 John Levon <levon@movementarian.org>
6059 * text3.C: hack fix for page up/down across tall rows
6061 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6063 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6066 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6068 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6069 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6070 thesaurus is not compiled in
6072 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6074 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6076 2002-12-16 Angus Leeming <leeming@lyx.org>
6079 * lyx_main.C (init): remove override_x_deadkeys stuff.
6081 2002-12-12 John Levon <levon@movementarian.org>
6083 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6084 insert. Only remove shift modifier under strict
6087 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * MenuBackend.C (expandToc): fix crash.
6091 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * MenuBackend.C (expandToc): gettext on float names.
6095 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6097 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6098 implement bool empty() [bug 490]
6100 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6104 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * several files: ws changes
6108 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * text2.C (setCounter): clean up a bit, use boost.format.
6111 (updateCounters): initialize par upon declaration.
6113 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6114 if the layout exists. We do not just store the layout any more.
6115 (SwitchLayoutsBetweenClasses): use boost.format
6117 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6119 * converter.C (convert): if from and to files are the same, use a
6120 temporary files as intermediary
6122 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6127 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6129 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6131 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6133 * tabular.C (asciiPrintCell): use string(size, char) instead of
6136 * sgml.C (openTag): fix order of arguments to string constructor
6139 * lyxfunc.C (dispatch): use boost.format
6141 * lots of files: change "c" -> 'c'
6143 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6145 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6147 2002-11-25 Angus Leeming <leeming@lyx.org>
6149 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6151 * lyx_main.C (init): compile fix.
6153 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * lyx_cb.C (start): boost.formatify
6156 do not include <iostream>
6158 * lengthcommon.C: ws only
6160 * boost-inst.C,BoostFormat.h: add more explict instantations
6162 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * lots of files: handle USE_BOOST_FORMAT
6166 2002-11-21 John Levon <levon@movementarian.org>
6168 * pspell.C: fix compile
6170 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6172 * lyxfunc.C (dispatch): use boost::format
6176 * lyxfont.C (stateText): use boost::format
6178 * lyx_main.C (LyX): use boost::format
6180 (queryUserLyXDir): ditto
6183 (typedef boost::function): use the recommened syntax.
6185 * importer.C (Import): use boost::format
6187 * debug.C (showLevel): use boost::format
6189 * converter.C (view): use boost::format
6194 * bufferview_funcs.C (currentState): use boost::format
6196 * bufferlist.C (emergencyWrite): use boost::format
6198 * buffer.C (readLyXformat2): use boost::format
6199 (parseSingleLyXformat2Token): ditto
6201 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6203 * LaTeX.C (run): use boost::format
6205 * Chktex.C (scanLogFile): use boost::format
6207 * BufferView_pimpl.C (savePosition): use boost::format
6208 (restorePosition): ditto
6209 (MenuInsertLyXFile): ditto
6211 * BoostFormat.h: help file for explicit instation.
6213 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6215 * tabular.C (latex): Support for block alignment in fixed width
6218 2002-11-17 John Levon <levon@movementarian.org>
6220 * BufferView_pimpl.C:
6222 * lyxfunc.C: split filedialog into open/save
6224 2002-11-08 Juergen Vigna <jug@sad.it>
6226 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6227 by my last patch (hopefully).
6229 2002-11-08 John Levon <levon@movementarian.org>
6238 * toc.C: ParConstIterator, and use it (from Lars)
6240 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6242 * lyxtextclass.[Ch]: revise and add doxygen comments
6244 2002-11-07 John Levon <levon@movementarian.org>
6246 * text.C: fix progress value for spellchecker
6248 * toc.C: fix navigate menu for insetwrap inside minipage
6250 * paragraph_funcs.C: added FIXME for suspect code
6252 2002-11-07 John Levon <levon@movementarian.org>
6254 * BufferView_pimpl.C: fix redrawing of insets
6257 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6259 * text2.C (updateCounters): fix bug 668
6261 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6263 * text3.C (dispatch): Do not make the buffer dirty when moving the
6266 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6268 * vc-backend.C: STRCONV
6271 * text2.C (setCounter): STRCONV
6273 * paragraph.C (asString): STRCONV
6275 * lyxlength.C (asString): STRCONV
6276 (asLatexString): ditto
6278 * lyxgluelength.C (asString): STRCONV
6279 (asLatexString): ditto
6281 * lyxfunc.C (dispatch): STRCONV
6284 * lyxfont.C (stateText): STRCONV
6286 * importer.C (Import): STRCONV
6288 * counters.C (labelItem): STRCONV
6289 (numberLabel): ditto
6290 (numberLabel): remove unused ostringstream o
6295 * bufferview_funcs.C (currentState): STRCONV
6297 * buffer.C (readFile): STRCONV
6298 (asciiParagraph): ditto
6299 (makeLaTeXFile): ditto
6301 * Spacing.C (writeEnvirBegin): STRCONV
6303 * LaTeXFeatures.C (getLanguages): STRCONV
6304 (getPackages): ditto
6306 (getBabelOptions): ditto
6307 (getTClassPreamble): ditto
6308 (getLyXSGMLEntities): ditto
6309 (getIncludedFiles): ditto
6313 (scanAuxFile): ditto
6316 * LString.h: add the STRCONV macros
6318 * BufferView_pimpl.C (savePosition): STRCONV
6319 (restorePosition): ditto
6320 (MenuInsertLyXFile): ditto
6322 * vc-backend.C (scanMaster): change from submatch[...] to
6325 * funcrequest.C: include config.h
6327 * factory.C: include config.h
6329 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6331 * box.C: include config.h
6333 * LaTeX.C (scanAuxFile): change from submatch[...] to
6337 2002-10-25 Angus Leeming <leeming@lyx.org>
6339 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6341 * ispell.[Ch] (setError): new method.
6342 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6343 Use setError() insetead of goto END.
6345 * lyx_cb.C (AutoSave): move out child process into new class
6348 2002-10-30 John Levon <levon@movementarian.org>
6350 * text3.C: make start appendix undoable
6352 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6354 * lyxlength.C (inPixels): Fix returned value.
6356 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6359 2002-10-24 Angus Leeming <leeming@lyx.org>
6361 * lyxgluelength.h: no need to forward declare BufferParams
6362 or BufferView, so don't.
6364 2002-10-21 John Levon <levon@movementarian.org>
6366 * BufferView.C: menuUndo ->undo, redo
6368 * BufferView.h: document, remove dead, make some methods private
6370 * paragraph_funcs.h:
6371 * paragraph_funcs.C:
6372 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6377 * sgml.C: move sgml open/close tag into sgml.C
6379 * bufferview_funcs.h: unused prototype
6382 * lyxfunc.C: remove unused
6385 * text.C: remove unused
6387 2002-10-21 John Levon <levon@movementarian.org>
6391 * BufferView_pimpl.h:
6392 * BufferView_pimpl.C: fix mouse wheel handling based on
6393 patch from Darren Freeman
6395 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6397 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6399 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6401 * lyxlength.C (inPixels): Fix hanfling of negative length.
6402 Fix LyXLength::MU case.
6404 2002-10-16 John Levon <levon@movementarian.org>
6406 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6408 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6410 * converter.C (view): add support for $$i (file name) and $$p
6411 (file path) for the viewer command. If $$i is not specified, then
6412 it is appended to the command (for compatibility with old syntax)
6414 2002-10-14 Juergen Vigna <jug@sad.it>
6416 * undo_funcs.C (textHandleUndo): alter the order in which the
6417 new undopar is added to the LyXText, as we have to set first
6418 the right prev/next and then add it as otherwise the rebuild of
6419 LyXText is not correct. Also reset the cursor to the right paragraph,
6420 with this IMO we could remove the hack in "redoParagraphs()".
6422 2002-10-09 Angus Leeming <leeming@lyx.org>
6424 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6425 to turn off an optimisation if a new inset is to be inserted.
6427 2002-10-11 André Pönitz <poenitz@gmx.net>
6429 * lyxtext.h: make some functions public to allow access
6430 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6432 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6434 * text3.C (dispatch): when changing layout, avoid an infinite loop
6437 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6439 * lyxrc.C (read): treat a viewer or converter command of "none" as
6442 * MenuBackend.C (expandFormats): for an update, also allow the
6443 formats that are not viewable
6445 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6446 script if it is newer than the lyxrc.defaults in user directory
6448 2002-10-07 André Pönitz <poenitz@gmx.net>
6450 * text.C: Vitaly Lipatov's small i18n fix
6452 2002-09-25 Angus Leeming <leeming@lyx.org>
6454 * ispell.h: doxygen fix.
6456 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6458 * buffer.h (readFile): Add a new argument to the method, to allow
6459 reading of old-format templates.
6461 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6463 * toc.C (getTocList): Get TOC from InsetWrap.
6465 2002-09-16 John Levon <levon@movementarian.org>
6467 * lyxfunc.C: check tabular for cut/copy too
6469 2002-09-12 John Levon <levon@movementarian.org>
6474 * factory.C: add header
6476 * paragraph_funcs.h:
6477 * paragraph_funcs.C: cleanup
6479 2002-09-11 John Levon <levon@movementarian.org>
6481 * PrinterParams.h: odd/even default to true
6483 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6485 * PrinterParams.h: update printer parameters for new xforms dialog
6487 2002-09-11 Angus Leeming <leeming@lyx.org>
6489 * lyxserver.C (read_ready): re-write to make it more transparent
6490 and to make it work in coherent fashion under Tru64 Unix.
6492 2002-09-11 André Pönitz <poenitz@gmx.net>
6496 * text3.C: implement LFUN_WORDSEL
6498 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6500 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6501 make floatlist_ a boost::shared_ptr<FloatList>
6503 * lyxtextclass.C: include FloatList.h
6504 (LyXTextClass): initialize floatlist_
6505 (TextClassTags): add TC_NOFLOAT
6506 (Read): match "nofloat" to TC_NOFLOAT and use it.
6507 (readFloat): modify call to floatlist_
6511 * FloatList.[Ch] (FloatList): remove commented out float
6513 (erase): new function
6515 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6517 * MenuBackend.C (expandToc): fix crash when there is no document
6520 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6522 * many files: Add insetwrap.
6524 2002-09-09 John Levon <levon@movementarian.org>
6526 * text2.C: remove confusing and awkward depth wraparound
6528 2002-09-09 John Levon <levon@movementarian.org>
6530 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6533 * buffer.C: remove getIncludeonlyList()
6536 * lyxfunc.C: remove headers
6538 2002-09-09 Juergen Vigna <jug@sad.it>
6540 * text.C (getColumnNearX): fix form Michael this is most
6541 probably a cut&paste bug.
6543 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6547 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6548 references, ws changes.
6550 * text2.C (init): update counters after init
6551 (insertParagraph): no need to set counter on idividual paragraphs.
6552 (setCounter): access the counters object in the textclass object
6553 on in the buffer object.
6554 (updateCounters): ditto
6556 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6557 shared_ptr<Counters> to avoid loading counters.h in all
6559 (LyXTextClass): initialize ctrs_
6560 (TextClassTags): add TC_COUNTER, and ...
6561 (Read): use it here.
6562 (CounterTags): new tags
6563 (readCounter): new function
6564 (counters): new funtion
6565 (defaultLayoutName): return a const reference
6567 * counters.C (Counters): remove contructor
6568 (newCounter): remove a couple of unneeded statements.
6569 (newCounter): simplify a bit.
6570 (numberLabel): some small formatting changes.
6572 * buffer.[Ch]: remove all traces of counters, move the Counters
6573 object to the LyXTextClass.
6575 2002-09-06 Alain Castera <castera@in2p3.fr>
6577 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6578 package to set the horizontal alignment on fixed width columns.
6581 * lyx_sty.h: added tabularnewline macro def.
6583 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6585 2002-09-06 John Levon <levon@movementarian.org>
6587 * LyXAction.C: tooltips for sub/superscript
6589 * MenuBackend.C: a bit more verbose
6591 * lyxfunc.C: tiny clean
6593 * undo_funcs.C: document undo_frozen
6595 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6597 * counters.C (Counters): add missing algorithm counter.
6599 * text2.C (setCounter): lookup the counter with layouts latexname
6600 instead of by section number.
6601 (setCounter): use a hackish way to lookup the correct enum
6603 a float name->type change
6604 reset enum couners with counter name directly instead of depth value.
6606 * counters.C (Counters): remove the push_backs, change to use the
6607 float type not the float name.
6608 (labelItem): remove unused string, float name->type change
6610 * counters.h: don't include vector, loose the enums and sects vectors
6612 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6615 (Read): add float->TC_FLOAT to textclassTags
6616 (Read): and handle it in the switch
6617 (readFloat): new function
6619 * FloatList.C (FloatList): comment out the hardcoded float
6622 * lyxlayout.h: ws change.
6624 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6626 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6628 2002-09-03 Angus Leeming <leeming@lyx.org>
6630 * BufferView_pimpl.h: qualified name is not allowed in member
6631 declaration: WorkArea & Pimpl::workarea() const;
6633 * factory.C: added using std::endl directive.
6635 * text3.C: added using std::find and std::vector directives.
6637 2002-08-29 André Pönitz <poenitz@gmx.net>
6640 * text2.C: remove unused member number_of_rows
6643 * BufferView2.C: remove file, move contents to...
6644 * BufferView.C: ... here
6646 * BufferView_pimpl.C:
6647 * factory.C: move more inset creation to factory
6649 * vspace.C: avoid direct usage of LyXText, ws changes
6652 don't provide direct access to WorkArea, use two simple
6653 acessors haveSelction() and workHeight() instead
6656 2002-08-29 John Levon <levon@movementarian.org>
6658 * BufferView_pimpl.C (dispatch): do not continue when
6661 2002-08-28 André Pönitz <poenitz@gmx.net>
6663 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6666 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6668 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6670 * buffer.C: increment LYX_FORMAT to 221
6672 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6673 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6675 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6677 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6679 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * factory.C (createInset): use LyXTextClass::floats
6683 * MenuBackend.C (expandFloatListInsert):
6684 (expandFloatInsert):
6687 * text2.C (setCounter):
6689 * LaTeXFeatures.C (useFloat):
6690 (getFloatDefinitions):
6692 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6694 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6695 floatlist_, with accessor floats().
6697 * FloatList.h: remove global FloatList
6699 2002-08-26 André Pönitz <poenitz@gmx.net>
6701 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6705 * BufferView_pimpl.C:
6706 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6708 2002-08-25 John Levon <levon@movementarian.org>
6710 * LyXAction.C: fix margin note description
6712 2002-08-24 John Levon <levon@movementarian.org>
6716 * bufferview_funcs.C:
6718 * undo_funcs.C: cleanups
6720 * lyxfunc.C: disable CUT/COPY when no selection
6722 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6724 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6725 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6727 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6728 Add backward compatibility to "mono", "gray" and "no".
6730 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6732 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6733 (and file_format >= 200).
6735 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6737 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6739 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6741 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6743 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6745 * BufferView_pimpl.C:
6752 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6753 inset and code to make it work with the paragraph code. The inset
6754 can be anywhere in the paragraph, but will only do the expected
6755 thing in LaTeX if the layout file contains the parameter line
6757 (or more generally, a nonzero value) for that layout.
6759 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * paragraph.h: remove the declaration of undefined counters class
6764 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6766 * text2.C (setCounter): fixed enumeration mis-count as reported by
6767 Dr. Richard Hawkins.
6769 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6771 * paragraph_funcs.h: remove some unneeded includes
6773 * text.C (backspace): pasteParagraph now in global scipe
6775 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6776 (pasteSelection): ditto
6778 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6779 * paragraph_funcs.C (pasteParagraph): ... here
6781 2002-08-20 André Pönitz <poenitz@gmx.net>
6783 * commandtags.h: new LFUNs for swapping/copying table row/colums
6786 * lyxfunc.C: support for new lfuns
6788 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6791 * buffer.[Ch]: remove NO_COMPABILITY stuff
6793 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6795 * boost.C (throw_exception): new file, with helper function for
6796 boost compiled without exceptions.
6801 * ParameterStruct.h:
6802 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6804 * bufferlist.C (emergencyWriteAll): use boost bind
6806 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6808 * text.C: include paragraph_funcs.h
6809 (breakParagraph): breakParagraph is now in global scope
6811 * paragraph_funcs.[Ch]: new files
6813 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6816 * buffer.C: include paragraph_funcs.h
6817 (insertStringAsLines): breakParagraph is now in global scope
6819 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6822 * CutAndPaste.C: include paragraph_funcs.h
6823 (cutSelection): breakParagraphConservative is now in global scope
6824 (pasteSelection): ditto
6826 * buffer.h: declare oprator== and operator!= for
6827 Buffer::inset_iterator
6829 * bufferlist.C (emergencyWrite): don't use fmt(...)
6831 * text3.C: add using std::endl
6833 * BufferView.C (moveCursorUpdate): remove default arg
6835 2002-08-20 André Pönitz <poenitz@gmx.net>
6837 * buffer.[Ch]: move inline functions to .C
6840 * BufferView_pimpl.C:
6842 * buffer.[Ch]: use improved inset_iterator
6845 * paragraph.[Ch]: write one paragraph at a time
6847 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6849 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6850 style if style is not specified.
6852 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6854 * text2.C (setCounter): when searching for right label for a
6855 caption, make sure to recurse to parent insets (so that a caption
6856 in a minipage in a figure float works) (bug #568)
6858 2002-08-20 André Pönitz <poenitz@gmx.net>
6860 * text3.C: new file for LyXText::dispatch() and helpers
6862 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6864 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6866 2002-08-19 André Pönitz <poenitz@gmx.net>
6869 * text.C: new LyXText::dispatch()
6871 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6873 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6875 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6877 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6880 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6882 * Makefile.am: use $(variables) instead of @substitutions@
6884 2002-08-15 André Pönitz <poenitz@gmx.net>
6887 * BufferView_pimpl.C: streamlining mathed <-> outer world
6891 * LyXAction.C: remove unused LFUN_MATH
6893 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6895 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6897 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6899 * paragraph.C (Paragraph): reformat a bit
6900 (cutIntoMinibuffer): use builtin InsetList function instad of
6904 * buffer.C: include boost/bind.hpp, add using std::for_each
6905 (writeFileAscii): use ParagraphList iterators
6906 (validate): use for_each for validate traversal of paragraphs
6907 (getBibkeyList): use ParagraphList iterators
6908 (resizeInsets): use for_each to resizeInsetsLyXText for all
6910 (getParFromID): use ParagraphList iterators
6912 * BufferView2.C (lockInset): use paragraph list and iterators
6914 2002-08-14 John Levon <levon@movementarian.org>
6916 * lyxserver.C: remove spurious xforms include
6918 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6920 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6922 2002-08-13 André Pönitz <poenitz@gmx.net>
6925 * lyxfunc.C: further cleaning
6927 2002-08-13 André Pönitz <poenitz@gmx.net>
6929 * funcrequest.h: new constructor
6931 * funcrequest.C: move stuff here from .h
6934 * BufferView_pimpl.C:
6937 * lyxfunc.C: subsequent changes
6939 * lyxfunc.h: new view() member function
6941 * lyxfunc.C: subsequent changes
6943 2002-08-13 Angus Leeming <leeming@lyx.org>
6946 * BufferView_pimpl.C:
6954 changes due to the changed LyXView interface that now returns references
6955 to member variables not pointers.
6957 2002-08-13 Angus Leeming <leeming@lyx.org>
6959 * WordLangTuple (word, lang_code): return references to strings,
6964 * lyxtext.h: forward-declare WordLangTuple.
6969 * text.C: #include "WordLangTuple.h".
6972 * text.C: (selectNextWordToSpellcheck): constify return type.
6974 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6980 * paragraph_pimpl.h:
6983 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6985 Made updateCounter always count from start of buffer, and removed
6986 second argument (par).
6987 Reverted floats number display to '#'. Perhaps I'll try again when the
6988 code base is sanitized a bit.
6990 2002-08-12 Angus Leeming <leeming@lyx.org>
6992 * buffer.[Ch] (getLabelList): constify.
6994 2002-08-07 André Pönitz <poenitz@gmx.net>
6996 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6998 * funcrequest.h: extension to keep mouse (x,y) position
7000 2002-08-12 Juergen Vigna <jug@sad.it>
7002 * BufferView2.C (insertErrors): forbid undo when inserting error
7005 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7007 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * ParagraphList.[Ch]: new files
7011 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7013 * BufferView2.C (lockInset): ParagraphList changes
7016 * bufferlist.C: ditto
7020 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7023 unused class variable counter_,
7025 * paragraph.[Ch] (getFirstCounter): delete unused function
7027 * counters.C: include LAssert.h
7028 (reset): add a new function with no arg, change other version to
7029 not have def. arg and to not allow empty arg.
7031 * text2.C (setCounter): remove empty arg from call to Counters::reset
7033 2002-08-11 John Levon <levon@movementarian.org>
7035 * Makefile.am: add WordLangTuple.h
7037 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7039 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7040 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7042 * insets/insettext.C: InsetList changes
7044 * graphics/GraphicsSupport.C (operator()): InsetList changes
7046 * toc.C (getTocList): InsetList changes
7048 * paragraph_pimpl.[Ch]: InsetList changes
7050 * paragraph.[Ch]: InsetList changes
7052 * buffer.C (inset_iterator): InsetList changes
7053 (setParagraph): ditto
7054 * buffer.h (inset_iterator): ditto
7055 * iterators.C (operator++): ditto
7056 * iterators.h: ditto
7058 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7060 * InsetList.[Ch]: new files, most InsetList handling moved out of
7063 * BufferView2.C (removeAutoInsets): InsetList changes
7065 (ChangeInsets): ditto
7067 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * paragraph_pimpl.h (empty): new function
7071 * paragraph.[Ch] (empty): new function
7073 * other files: use the new Paragraph::empty function
7075 2002-08-09 John Levon <levon@movementarian.org>
7077 * lyxtext.h: remove unused refresh_height
7079 2002-08-09 John Levon <levon@movementarian.org>
7086 * paragraph.C: move sgml char escaping out of paragraph
7089 * paragraph.C: remove id setter
7093 * paragraph_pimpl.C: remove dead tex_code_break_column
7095 * bufferview_funcs.C: small cleanup
7097 * lyxfunc.C: remove dead proto
7099 * lyxtext.h: make some stuff private. Remove some dead stuff.
7101 * lyxgluelength.C: make as[LyX]String() readable
7103 2002-08-08 John Levon <levon@movementarian.org>
7108 * ToolbarDefaults.C:
7111 * toc.C: lyxaction cleanup
7113 2002-08-08 John Levon <levon@movementarian.org>
7115 * BufferView2.C: small cleanup
7118 * lyxfind.C: move unnecessary header into the .C
7120 2002-08-08 John Levon <levon@movementarian.org>
7122 * funcrequest.h: just tedious nonsense
7125 * lyx_main.C: cleanups
7128 * vspace.C: remove dead header lyx_main.h
7130 2002-08-07 Angus Leeming <leeming@lyx.org>
7133 * paragraph_pimpl.h:
7134 Forward declare class Counters in paragraph.h by moving the ctrs member
7135 variable into Paragraph::Pimpl.
7136 (counters): new method, returning a reference to pimpl_->ctrs.
7138 * text2.C: ensuing changes.
7140 2002-08-07 John Levon <levon@movementarian.org>
7142 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7144 * BufferView_pimpl.C: announce X selection on double/triple
7147 * lyx_main.C: use correct bool in batch dispatch
7149 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7151 2002-08-07 André Pönitz <poenitz@gmx.net>
7153 * funcrequest.h: new class to wrap a kb_action and its argument
7156 * BufferView_pimpl[Ch]:
7160 * lyxrc.C: subsequent changes
7163 2002-08-07 John Levon <levon@movementarian.org>
7165 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7166 document options change.
7168 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7173 * makefile.am: move counters functionality over from
7174 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7176 2002-08-06 John Levon <levon@movementarian.org>
7178 * WordLangTuple.h: new file for word + language code tuple
7189 * BufferView2.C: use WordLangTuple
7192 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7194 2002-08-06 John Levon <levon@movementarian.org>
7196 * lyx_main.C: fix cmdline batch handling
7198 2002-08-06 André Pönitz <poenitz@gmx.net>
7200 * lyxrc.C: set default for show_banner to true
7202 2002-08-06 John Levon <levon@movementarian.org>
7204 * pspell.C: fix a crash, and allow new aspell to work
7206 2002-08-06 John Levon <levon@movementarian.org>
7209 * kbmap.C: small cleanup
7212 * vspace.C: add const
7214 2002-08-05 John Levon <levon@movementarian.org>
7216 * LyXAction.C: back to tabular-insert
7218 2002-08-04 John Levon <levon@movementarian.org>
7221 * BufferView.C: cosmetic change
7223 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7233 * BufferView2.C: purge all "Lyx" not "LyX" strings
7236 * lyxcursor.C: attempt to add some documentation
7241 * ToolbarDefaults.C:
7242 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7243 merge with LFUN_TABULAR_INSERT
7250 * pspell.C: split up i/pspell implementations into separate
7251 files, many cleanups
7253 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7255 * text2.C: some cleanup
7257 * lyxfunc.C: don't check for isp_command == "none" any more, it
7258 didn't make any sense
7260 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7265 * makefile.am: move counters functionality over
7266 from text2.C/paragraph.[Ch] to counters.[Ch], and
7268 2002-08-02 John Levon <levon@movementarian.org>
7270 * buffer.C: s/lyxconvert/lyx2lyx/
7272 2002-08-02 Angus Leeming <leeming@lyx.org>
7274 * lyxlex.C: revert John's change as it breaks reading of the user
7277 2002-08-02 Angus Leeming <leeming@lyx.org>
7279 * importer.C (Import):
7280 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7281 changes due to LyXView::view() now returning a boost::shared_ptr.
7283 2002-08-02 John Levon <levon@movementarian.org>
7285 * lyxlex.C: small cleanup
7287 2002-08-02 John Levon <levon@movementarian.org>
7289 * text2.C (status): small cleanup, no logic change
7291 2002-08-01 John Levon <levon@movementarian.org>
7294 * buffer.C (writeFile): don't output alerts, caller
7298 * lyx_cb.C: from above
7300 * lyxfunc.C: allow to open non-existent files
7302 2002-07-31 John Levon <levon@movementarian.org>
7304 * lyxserver.C: don't let incidental errors get
7307 2002-07-30 John Levon <levon@movementarian.org>
7309 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7311 2002-07-30 John Levon <levon@movementarian.org>
7314 * lyxserver.C: remove I/O callback too
7316 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7318 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7321 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7323 * many files: strip,frontStrip -> trim,ltrim,rtrim
7325 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * PrinterParams.h: remove extern containsOnly, and include
7328 support/lstrings.h instead.
7330 * LaTeX.C (scanAuxFile): modify because of strip changes
7332 * buffer.C (makeLaTeXFile): ditto
7333 * bufferparams.C (writeFile): ditt
7334 * lyxfont.C (stateText): ditto
7335 * lyxserver.C (read_ready): ditto
7336 * vc-backend.C (scanMaster): ditto
7338 * BufferView_pimpl.h: ws changes
7340 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7342 2002-07-26 André Pönitz <poenitz@gmx.net>
7344 * kb_sequence.C: remove unnedred usings
7346 2002-07-26 Juergen Vigna <jug@sad.it>
7348 * lyxfind.C (LyXReplace): we have to check better if the returned
7349 text is not of theLockingInset()->getLockingInset().
7351 2002-07-25 Juergen Vigna <jug@sad.it>
7353 * lyxfind.C (LyXReplace): don't replace if we don't get the
7356 * undo_funcs.C (createUndo): remove debugging code.
7358 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7360 * buffer.C (parseSingleLyXformat2Token): Use default placement
7361 when reading old floats.
7363 * FloatList.C (FloatList): Change the default placement of figure
7364 and tables to "tbp".
7366 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7368 * MenuBackend.C: using std::max
7370 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7372 * MenuBackend.C (expandToc):
7373 (expandToc2): code moved from xforms menu frontend. It is now
7374 generic and TOCs are transparent to menu frontends.
7376 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7378 * toc.C (getTocList): protect against buf=0
7380 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7381 Menu as first parameter. Now, this calls itself recursively to
7382 expand a whole tree (this will be useful for TOC handling)
7383 (expandFloatInsert): remove 'wide' version of floats
7385 * MenuBackend.h (submenuname): returns the name of the submenu.
7386 (submenu): returns the submenu itself, provided it has been
7387 created by MenuBackend::expand
7389 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7391 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7392 insets which have noFontChange == true. (bug #172)
7394 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * BufferView_pimpl.C: add connection objects and use them...
7399 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7401 * MenuBackend.C (expandLastfiles):
7404 (expandFloatListInsert):
7405 (expandFloatInsert):
7406 (expand): split expand in parts
7408 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7410 * lyx_gui.C: use lyx_gui::exit()
7412 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7414 * LyXAction.C: show the failing pseudo action
7416 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7418 * buffer.C (readFile): Run the lyxconvert script in order to read
7421 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7425 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7427 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7431 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7433 2002-07-22 Herbert Voss <voss@lyx.org>
7436 * lyxlength.[Ch]: add support for the vertical lengths
7438 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7440 * toc.[Ch]: std:: fixes
7442 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7444 * lyxrc.C: do not include lyx_main.h
7446 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7452 * BufferView2.C: include "lyxlex.h"
7455 * bufferparams.h: do not #include "lyxlex.h"
7457 * lyxtextclasslist.C (Add): remove method
7458 (classlist): renamed to classlist_
7460 * paragraph_pimpl.C:
7464 * bufferview_funcs.C:
7469 * toc.C (getTocList): use BufferParams::getLyXTextClass
7471 * toc.C (getTocList): use InsetFloat::addToToc
7473 * toc.[Ch]: new files, containing helper functions to handle table
7476 * lyxfunc.C (dispatch): no need to remove spaces around command
7478 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7479 first command of the sequence; it is not very clever, but I do not
7480 have a better idea, actually
7482 * LyXAction.C (LookupFunc): make sure to remove space at the
7483 beginning and end of the command
7485 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7487 * MenuBackend.C (getMenubar): new method: return the menubar of
7489 (read): treat differently reading of menu and menubar (in
7490 particular, the menubar has no name now)
7491 (Menu::menubar): remove
7493 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7496 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7498 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7499 a bibitem inset in a RTL paragraph.
7501 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7503 * paragraph_pimpl.C: constify
7505 * BufferView_pimpl.C:
7507 * lyxfunc.C: fix dispatch in a nicer way
7509 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7511 * lyxfunc.C (dispatch):
7512 * BufferView_pimpl.C:
7513 * BufferView_pimpl.h:
7515 * BufferView.h: rename Dispatch() to dispatch()
7517 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7519 * lyxlayout.C (Read): honor DependsOn tag
7521 * lyxlayout.[Ch] (depends_on): new method
7523 * version.C.in: update lyx_docversion
7525 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7527 * paragraph.C (validate): remove from here...
7528 * paragraph_pimpl.C (validate): ... and move here
7529 (isTextAt): make it const
7531 * buffer.C (getLists): ws cleanup
7533 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7535 * language.C (read): Use iso8859-1 encoding in latex_lang
7536 (this prevents LyX from crashing when using iso10646-1 encoding).
7538 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7540 * text2.C (toggleInset): if cursor is inside an inset, close the
7541 inset and leave cursor _after_ it
7543 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7545 * lyxfunc.C: move minibuffer completion handling out of here
7547 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7549 * BufferView_pimpl.C:
7550 * LaTeX.C: fix dispatch calls
7552 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7554 * text.C (drawChars): Fix Arabic text rendering.
7556 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7560 * lyxfunc.C: remove message-push/pop
7564 * lyxfunc.C: rationalise some code by removing verboseDispatch
7565 in favour of a bool argument to dispatch()
7567 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7569 * lyx_main.C (init): make sure to read symlinks as absolute paths
7571 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7574 * lyxfunc.C: no need for commandshortcut to be a member
7576 2002-07-15 André Pönitz <poenitz@gmx.net>
7578 * converter.C: add support for $$s (scripts from lib/scripts dir)
7579 * lyx_main.C: white space
7581 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7585 * lyxrc.C: remove second exit confirmation
7587 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7592 * BufferView_pimpl.h:
7593 * BufferView_pimpl.C:
7594 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7596 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7598 * MenuBackend.C (expand): add numeric shortcuts to document menu
7600 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7602 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7604 * lyxfont.C (setLyXFamily):
7611 * buffer.C (asciiParagraph): use ascii_lowercase
7613 2002-07-15 Mike Fabian <mfabian@suse.de>
7615 * lyxlex_pimpl.C (search_kw):
7616 * lyxlex.C (getLongString):
7617 * converter.h (operator<):
7618 * converter.C (operator<):
7619 * buffer.C (parseSingleLyXformat2Token):
7621 * ToolbarDefaults.C (read):
7622 * MenuBackend.C (checkShortcuts):
7624 * LColor.C (getFromGUIName):
7625 (getFromLyXName): use the compare_ascii_no_case instead of
7626 compare_no_case, because in turkish, 'i' is not the lowercase
7627 version of 'I', and thus turkish locale breaks parsing of tags.
7629 2002-07-16 Angus Leeming <leeming@lyx.org>
7631 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7632 now takes a Buffer const & argument.
7634 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7636 * BufferView.C (resize): check there's a buffer to resize
7638 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7640 * lyxfunc.C: remove dead code
7643 * lyxserver.C: use lyx_guii::set_read_callback
7645 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7647 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7648 an inset in a RTL paragraph.
7650 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7652 * lyxfunc.C: repaint after a font size update
7654 2002-07-15 André Pönitz <poenitz@gmx.net>
7656 * lyxlength.C: inBP should be able to return negative values
7658 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7660 * lyxfunc.C: use lyx_gui::update_fonts()
7662 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7664 * lyxfunc.C: use lyx_gui::update_color()
7666 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7672 * lyxrc.C: remove file->new asks for name option, and let
7673 buffer-new take an argument
7675 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7677 * BufferView_pimpl.C: remove unneeded extra repaint()
7679 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7681 * LyXAction.C: allow command-sequence with NoBuffer
7683 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7685 2002-07-10 Angus Leeming <leeming@lyx.org>
7687 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7689 2002-07-09 Angus Leeming <leeming@lyx.org>
7691 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7693 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7695 * lengthcommon.h: whitespace
7697 * lyxfunc.C: update scrollbar after goto paragraph
7699 * lyxtext.h: factor out page break drawing, and fix it so
7700 page break/added space paints as selected nicely
7702 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7704 * BufferView_pimpl.C: add FIXMEs, clean up a little
7706 2002-07-09 André Pönitz <poenitz@gmx.net>
7708 * lyxfont.[Ch]: support for wasy symbols
7710 2002-07-08 André Pönitz <poenitz@gmx.net>
7712 * BufferView_pimpl.C: apply John's patch for #93.
7714 2002-07-05 Angus Leeming <leeming@lyx.org>
7716 * BufferView_pimpl.C (buffer): generate previews if desired.
7718 * LColor.h: add "preview" to the color enum.
7720 * LColor.C (LColor): add a corresponding entry to the items array.
7722 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7725 2002-07-05 Angus Leeming <leeming@lyx.org>
7727 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7728 The body of the code is now in the method that is passed an ostream &
7729 rather than a file name.
7730 Pass an additional only_preamble parameter, useful for the forthcoming
7733 2002-07-03 André Pönitz <poenitz@gmx.net>
7735 * lyxfunc.C: simplify getStatus() a bit for math stuff
7737 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7739 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7741 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7743 * text.C (changeRegionCase): do not change case of all the
7744 document when region ends at paragraph end (bug #461)
7746 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7748 * paragraph.C (startTeXParParams):
7749 (endTeXParParams): add \protect when necessary
7751 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7753 * BufferView_pimpl.C (workAreaExpose): remove warning
7755 2002-06-27 Angus Leeming <leeming@lyx.org>
7757 * Makefile.am: add lyxlayout_ptr_fwd.h.
7759 2002-06-26 André Pönitz <poenitz@gmx.net>
7761 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7763 2002-06-25 Angus Leeming <leeming@lyx.org>
7765 * lyxfunc.C (dispatch): Comment out the call to
7766 grfx::GCache::changeDisplay. The method no longer exists now that the
7767 pixmap generation part of the graphics loader has been moved into
7770 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7772 * text2.C: layout as layout
7774 * text.C: layout as layout
7776 * tabular.C (OldFormatRead): layout as layout
7778 * paragraph_pimpl.C (TeXDeeper): layout as layout
7779 (realizeFont): layout as layout
7781 * paragraph.C (writeFile): layout as layout
7782 (validate): layout as layout
7783 (getFont): layout as layout
7784 (getLabelFont): layout as layout
7785 (getLayoutFont): layout as layout
7786 (breakParagraph): layout as layout
7787 (stripLeadingSpaces): layout as layout
7788 (getEndLabel): layout as layout
7789 (getMaxDepthAfter): layout as layout
7790 (applyLayout): layout as layout
7791 (TeXOnePar): layout as layout
7792 (simpleTeXOnePar): layout as layout
7793 (TeXEnvironment): layout as layout
7794 (layout): layout as layout
7795 (layout): layout as layout
7797 * lyxtextclass.C (compare_name): new functor to work with
7798 shared_ptr, layout as layout
7799 (Read): layout as layout
7800 (hasLayout): layout as layout
7801 (operator): layout as layout
7802 (delete_layout): layout as layout
7803 (defaultLayout): layout as layout
7805 * lyxlayout_ptr_fwd.h: new file
7807 * lyxlayout.C (Read): layout as layout
7809 * lyx_cb.C (MenuInsertLabel): layout as layout
7811 * bufferlist.C (newFile): layout as layout
7813 * buffer.C (readLyXformat2): layout as layout
7814 (parseSingleLyXformat2Token): layout as layout
7815 (insertStringAsLines): layout as layout
7816 (asciiParagraph): layout as layout
7817 (latexParagraphs): layout as layout
7818 (makeLinuxDocFile): layout as layout
7819 (simpleLinuxDocOnePar): layout as layout
7820 (makeDocBookFile): layout as layout
7821 (simpleDocBookOnePar): layout as layout
7822 (getLists): layout as layout
7824 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7826 * CutAndPaste.C (cutSelection): layout as layout
7827 (pasteSelection): layout as layout
7828 (SwitchLayoutsBetweenClasses): layout as layout
7830 * BufferView_pimpl.C (Dispatch): layout as layout
7831 (smartQuote): layout as layout
7833 * BufferView2.C (unlockInset): layout as layout
7835 2002-06-24 André Pönitz <poenitz@gmx.net>
7837 * lyxfunc.C: fix #487
7839 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7843 * lyxfunc.C: remove display_shortcuts, show_banner
7845 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7847 * Buffer_pimpl.C: oops, update on resize
7849 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7856 * BufferView.C: use repaint()
7858 * BufferView_pimpl.h:
7859 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7860 as it's a clearer description. Remove superfluous
7863 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7865 * text.C: fix bug 488. Not ideal, but getting
7866 getWord() to work properly for the insets that
7867 matter is more difficult ...
7869 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7871 * BufferView_pimpl.C:
7874 * lyxfunc.C: remove the six million index lyxfuncs to just
7875 one, and DTRT (bug 458)
7877 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7881 * BufferView_pimpl.h:
7882 * BufferView_pimpl.C: clean up resize() stuff,
7883 and unnecessary updateScreen()s
7885 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7889 * BufferView_pimpl.h:
7890 * BufferView_pimpl.C:
7893 * minibuffer.C: remove focus management of workarea,
7894 not needed. Use screen's greyOut()
7896 2002-06-17 Herbert Voss <voss@lyx.org>
7898 * converter.C: (convert) do not post a message, when converting
7899 fails, let the calling function decide what to do in this case
7901 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7903 * lyxfunc.C: tidy up a little
7905 2002-06-16 <alstrup@diku.dk>
7907 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7908 Got rid of FORMS_H_LOCATION include. Now we are
7911 2002-06-15 LyX Development team <lyx@rilke>
7913 * buffer.[Ch] (sgmlOpenTag):
7914 (sgmlCloseTag): Added support for avoiding pernicious mixed
7915 content. Return number of lines written.
7918 (makeDocBookFile): Fixed calls to sgml*Tag.
7919 Simple white space clean.
7921 (simpleDocBookOnePar): Simple white space clean.
7923 * tabular.[Ch] (docBook): Renamed to docbook and got another
7924 argument to related with the pernicious mixed content.
7926 (docbookRow): Fixed calls for docbook inset method.
7928 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7930 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7931 so it's X11 independent.
7935 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7937 2002-06-15 Lyx Development team <lyx@electronia>
7939 * intl.h: Renamed getTrans to getTransManager.
7941 2002-06-14 Angus Leeming <leeming@lyx.org>
7943 * Makefile.am: nuke forgotten stl_string_fwd.h.
7945 2002-06-12 Angus Leeming <leeming@lyx.org>
7947 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7949 2002-06-13 Angus Leeming <leeming@lyx.org>
7952 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7954 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7956 * kbmap.C (getiso): add support for cyrillic and greek
7958 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7962 * BufferView_pimpl.h:
7963 * BufferView_pimpl.C: move bogus scrolling logic
7966 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7969 * BufferView_pimpl.C: view->resize() change
7971 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7973 * BufferView_pimpl.C: topCursorVisible
7976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7980 * lyx_gui.C: move to frontends/
7984 * lyx_main.C: changes from above
7986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7993 * lyx_main.C: minor tidy
7995 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7997 * BufferView_pimpl.h:
7998 * BufferView_pimpl.C:
8000 * BufferView.C: make painter() const,
8003 * BufferView2.C: use screen() accessor
8006 * lyx_main.C: some minor cleanup
8008 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8010 * BufferView_pimpl.h:
8011 * BufferView_pimpl.C: remove enter/leaveView,
8014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8019 * BufferView_pimpl.h:
8020 * BufferView_pimpl.C: only construct screen once,
8023 * lyxrc.C: remove pointless comment
8025 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8028 * BufferView.C: remove active() and belowMouse()
8030 * BufferView_pimpl.h:
8031 * BufferView_pimpl.C: use workarea() not workarea_,
8032 and make it use a scoped_ptr instead
8034 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8036 * lyx_gui.C: add debug message on BadWindow
8038 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8040 * sp_spell.C: fdopen is not part of the C++ standard.
8042 * paragraph.C (InsetIterator): use >= instead of ==
8044 2002-06-07 Angus Leeming <leeming@lyx.org>
8046 Fixes needed to compile with Compaq cxx 6.5.
8047 * BufferView_pimpl.C:
8054 * lyxtextclasslist.C:
8059 all c-library variables have been moved into namespace std. Wrap
8060 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8065 Add a using std::abs declaration.
8067 * kbmap.h (modifier_pair):
8068 * paragraph.h (InsetTable, InsetList):
8069 * lyxfont.h (FontBits):
8070 type definition made public.
8072 * bufferlist.C (emergencyWriteAll): the compiler complains that
8073 there is more than one possible lyx::class_fun template to choose from.
8074 I re-named the void specialisation as lyx::void_class_fun.
8076 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8078 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8079 the compiler is is unable to find tostr in write_attribute.
8081 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8083 * buffer.C (sgmlError): hide #warning
8085 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * xtl/*: get rid of xtl, which is not in use anyway
8089 * LyXAction.C (init):
8090 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8091 were unimplemented xtl experimentation
8093 2002-06-04 André Pönitz <poenitz@gmx.net>
8095 * lyxfunc.C: disable array operation on simple formulae
8097 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8099 * converter.C: constify a bit
8101 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8103 * lyx_gui.C: check xforms version correctly
8105 2002-04-30 Herbert Voss <voss@lyx.org>
8107 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8110 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8112 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8113 attempt to register it with a VCS)
8115 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * lyx_main.C (init): honor variables LYX_DIR_13x and
8120 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8124 * lyx_main.C: fix a crash on bad command line,
8125 and give a useful exit status on error
8127 * lyxfunc.C (doImport): allow -i lyx to work
8129 2002-03-30 André Pönitz <poenitz@gmx.net>
8131 * lyxfunc.C: mathed font changes
8133 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8148 * trans_mgr.h: srcdocs, and some minor cleanups
8150 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8152 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8153 call getFont all the time)
8155 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8157 * switch from SigC signals to boost::signals
8159 2002-05-29 André Pönitz <poenitz@gmx.net>
8161 * paragraph_pimpl.C (getChar): don't call size() too often...
8163 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8165 * paragraph_pimpl.C (insertChar): do not try to update tables when
8166 appending (pos == size())
8168 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8169 in order to reduce drastically the number of comparisons needed to
8170 parse a large document
8172 2002-05-29 André Pönitz <poenitz@gmx.net>
8178 * textclasslist.[Ch]:
8179 * sp_ispell.h: whitespace change
8181 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8184 lyxaction directly now.
8186 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8190 * lyxvc.C: remove unused headers
8192 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8199 * undo_funcs.C: some cleanups. Use shared_ptr
8200 and a template for the undo stacks.
8202 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8204 * BufferView_pimpl.h:
8205 * BufferView_pimpl.C:
8212 * text2.C: use key_state/mouse_state
8214 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8216 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8219 * chset.C: change include order
8220 (loadFile): use boost regex and get rid of LRegex and LSubstring
8222 * Makefile.am (BOOST_LIBS): new variable
8225 * LaTeX.C: change include order.
8226 (scanAuxFile): use boost regex and get rid of LRegex and
8230 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8235 * FontInfo.C: moved to frontends/xforms/
8238 * FontLoader.C: moved into frontends for GUIIzation
8243 * lyxfunc.C: changes from above
8245 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8247 * LColor.C: remove spurious X include
8249 * BufferView_pimpl.C:
8254 * text2.C: move font metrics to frontends/
8256 2002-05-24 Juergen Vigna <jug@sad.it>
8258 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8259 setting the undo_cursor.
8261 * ParagraphParameters.h: include local includes first.
8263 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8265 * BufferView_pimpl.C:
8266 * BufferView_pimpl.h:
8270 * screen.C: move WorkArea into frontends/
8276 * BufferView2.C: move LyXScreen into frontends/
8280 * lyx_gui.C: move lyxlookup into frontends/xforms/
8282 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8285 * BufferView_pimpl.C:
8295 * bufferview_funcs.C:
8308 * vc-backend.C: move LyX/XFormsView into frontends/
8310 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8322 * text2.C: move Painter to frontends/
8324 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8326 * buffer.C: comment out some some code that depend upon lyx_format
8329 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8330 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8332 * buffer.h (NO_COMPABILITY): turn off compability
8334 * ColorHandler.C: include scoped_array.hpp
8336 * font.C: Use more specific smart_ptr header.
8339 * ShareContainer.h: ditto
8343 * BufferView_pimpl.h: ditto
8344 * ColorHandler.h: ditto
8346 * kbmap.C (defkey): change call to shared_ptr::reset
8348 2002-05-21 Juergen Vigna <jug@sad.it>
8350 * buffer.C (insertErtContents): fix to insert ert asis if it is
8351 non empty. Skip it completely if it contains only whitespaces.
8353 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8355 * BufferView_pimpl.C:
8356 * BufferView2.C: clear selection on paste (bug 393)
8358 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8360 * DepTable.C: include ctime
8362 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8364 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8366 2002-05-14 Juergen Vigna <jug@sad.it>
8368 * text.C (breakParagraph): fixed function to honor the keepempty
8369 layout in the right maner and also to permit the right breaking
8370 algorithm on empty or non empyt keepempty paragraphs.
8372 * paragraph.C (breakParagraph): we have to check also if the par
8373 is really empty (!size()) for isempty otherwise we do the wrong
8376 2002-05-10 Juergen Vigna <jug@sad.it>
8378 * buffer.[Ch] : The following are only changes to the ert
8379 compatibility read reading old LaTeX layout and font stuff and
8380 convert it to ERTInsets.
8382 * buffer.h: added isErtInset().
8384 * buffer.C (struct ErtComp): add a fromlayout bool to check
8385 if we're inside a LaTeX layout.
8386 (isErtInset): new helper function.
8387 (insertErtContents): look for other ert insets before this one
8388 and insert the contents there, so that we don't have subsequent
8389 ERT insets with nothing between them. This way we create only one
8390 inset with multiple paragraphs. Also check if we don't insert only
8391 spaces ' ' as they are ignored anyway afterwards in the .tex file
8392 so if we have only spaces we will ignore this latex part in the
8394 (parseSingleLyXformat2Token \\layout): better compatibility when
8395 reading layout-latex stuff.
8396 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8398 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8399 stuff after reading the inset only get the information back from
8402 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8404 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8406 * LaTeXFeatures.C (getBabelOptions): New method.
8408 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8410 * BufferView_pimpl.C (Dispatch): work around missing argument for
8413 2002-05-08 Juergen Vigna <jug@sad.it>
8415 * text.C (leftMargin): handle paragraph leftindent.
8417 * paragraph.C (writeFile): write the new \\leftindent tag.
8418 (validate): handle leftindent code.
8419 (TeXEnvironment): handle paragraphleftindent code again.
8421 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8423 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8424 for paragrap_extra indent code and new token \\leftindent.
8425 (latexParagraphs): handle the leftindent as environment.
8427 * ParameterStruct.h: added leftindent support.
8429 * ParagraphParameters.C (leftIndent): added support functions for
8430 the paragraph left indent.
8432 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8435 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8437 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8440 * text.C (computeBidiTables): No bidi in insetERT.
8442 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8445 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8447 * version.C.in: pre 5
8449 2002-05-02 José Matos <jamatos@fep.up.pt>
8450 * buffer.C (makeDocBookFile): white space changes, add newline to
8452 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8454 * tabular.C (docBook): fix typo.
8456 2002-05-03 Juergen Vigna <jug@sad.it>
8458 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8459 change in LyXText as we can not be sure it was not freed.
8460 (drawOneRow): remove unused code.
8462 * text.C (drawInset): redo the calculation of the need_break_row as
8463 it could have a row which was already freed.
8464 (draw): look at the return value of drawInset and return false if
8465 it also returned false.
8466 (paintRowText): look at the return value of draw and return false if
8467 it also returned false.
8469 * lyxtext.h: added bool return type to drawInset() and draw() so that
8470 if we have a change in the row so that the rowbreak has to be redone
8471 we abort drawing as it will be called again.
8473 2002-05-02 Juergen Vigna <jug@sad.it>
8475 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8476 a change in the maintext also if we're inside an inset.
8477 (Dispatch): set the cursor again after a break line and after the
8478 screen has been updated as it could be we're in a different row.
8480 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8481 to set the cursor behind the pargraph with > size().
8482 (setCursor): check also for the same paragraph when checking where
8483 to put the cursor if we have a NFR inset.
8485 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8486 parts of layout read further up as it still was in the wrong
8489 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8491 * screen.C (drawFromTo): change sine fullRebreak always return
8494 * buffer.C (parseSingleLyXformat2Token): reindent some
8496 * BufferView_pimpl.C (update): change since fullRebreak always
8498 (Dispatch): git rid of the last hardcoded "Standard"s.
8500 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8502 * text2.[Ch] (fullRebreak): make it return void now that we always
8505 2002-04-30 Juergen Vigna <jug@sad.it>
8507 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8508 ert compatibility check for "latex" layout.
8510 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8512 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8513 minipages: use col% instead of p%, and also use the current font.
8514 (makeLaTeXFile): Fix use babel condition.
8515 (parseSingleLyXformat2Token): Correct font when reading old floats.
8517 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8519 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8520 inserting list of floats.
8522 2002-04-25 Herbert Voss <voss@lyx.org>
8524 * MenuBackend.C (expand): don't add the graphics extensions to the
8527 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8529 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8530 non-existing layout, do not complain if it was the default layout
8531 of the original class (bug #342)
8533 2002-04-24 Juergen Vigna <jug@sad.it>
8535 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8536 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8538 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8540 * buffer.C (getBibkeyList): If using \bibliography, return the
8541 option field with the reference itself. Enables us to provide natbib
8542 support when using \bibliography.
8544 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8546 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8548 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8549 natbib is provided by the LaTeX class.
8551 2002-04-23 Juergen Vigna <jug@sad.it>
8553 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8556 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8558 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8560 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8562 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8563 ensuremath around textordmasculine, textordfeminine and
8566 2002-04-19 Juergen Vigna <jug@sad.it>
8568 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8569 reinitializing the buffer otherwise row-dimensions may be wrong.
8570 (update): reset also the selection cursors if they do exits otherwise
8571 their x/y positions may be wrong.
8573 * text2.C (cursorDown): don't enter the inset if we came from a row
8574 above and are one row over the inset.
8576 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8577 really leaving an inset.
8579 2002-04-18 Juergen Vigna <jug@sad.it>
8581 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8582 of the selected paragraph does not have the selected layout also if
8585 * text2.C (setLayout): fixed bug which did not change last selected
8588 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8589 changed the read and substituted \\end_float with \\end_inset!
8591 * BufferView_pimpl.C (cursorPrevious):
8592 (cursorNext): fixed to make it work with rows heigher than the work
8593 area without moving the cursor only the draw of the row.
8594 (workAreaMotionNotify): fix jumping over high rows.
8596 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8598 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8601 2002-04-16 Juergen Vigna <jug@sad.it>
8603 * text2.C (setCursor): set also the irow().
8604 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8606 (cursorDown): support for locking an inset if the x_fix value goes
8607 inside it. That way I can transverse insets too with cursor up/down.
8609 * lyxrow.h: added irow helper function same as other (i) functions.
8611 * BufferView_pimpl.C (cursorPrevious):
8612 (cursorNext): fixed for insets!
8614 2002-04-15 Juergen Vigna <jug@sad.it>
8616 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8617 position otherwise it is wrong in some cases.
8619 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8620 inside the inset before the call.
8622 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8624 * buffer.[Ch] (getBibkeyList): make it const.
8626 2002-04-12 Juergen Vigna <jug@sad.it>
8628 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8630 * text2.C (getCursorX): new helper function
8631 (setCursor): compute also ix_
8632 (setCursorFromCoordinates): set also ix.
8634 * lyxcursor.h: added ix_ and helper functions.
8636 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8638 * buffer.C (insertStringAsLines): dont break paragraph if the this
8639 paragraph is inside an inset which does not permit it!
8641 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8642 also with no chars on this paragraph.
8643 (paintRowText): only paint stuff if it's inside the workarea!
8645 * paragraph.C (breakParagraph): honor keepempty flag and break the
8646 paragraph always below not above.
8648 * BufferView2.C (unlockInset): update the paragraph layout on inset
8649 unlock as we changed paragraph in such a case.
8651 * lyxfind.C (LyXFind): clear the former selection if not found!
8653 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8654 again called in insertChar().
8656 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8657 an inset which uses the whole row!
8658 (rightMargin): ditto.
8659 (insertChar): force a rebreak if we inserted an inset!
8661 2002-03-28 Herbert Voss <voss@lyx.org>
8663 * lyxlength.[Ch]: add inBP() to get the right PS-point
8664 units (BigPoint). With inPixels we have rounding errors
8666 2002-04-11 Juergen Vigna <jug@sad.it>
8668 * text2.C (setCursorFromCoordinates): set iy to the right value.
8669 (setCursor): add check if row->previous exists!
8671 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8672 an old float_type as this was the case in the old code!
8674 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8676 * BufferView2.C (showLockedInsetCursor): use iy
8677 (fitLockedInsetCursor): ditto
8679 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8680 locked insets as there we have the right value now.
8682 * lyxcursor.C: added iy_ variable and iy functions to set to the
8683 baseline of cursor-y of the locked inset.
8685 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8686 (setCursor): fixed for insets which need a full row.
8688 * text.C (rowLastPrintable): don't ignore the last space when before
8689 an inset which needs a full row.
8690 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8691 as last character of a row when before a inset which needs a full row.
8693 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8695 * version.C.in: update date
8697 * text2.C (fullRebreak): try to always return true and see what
8700 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8702 * MenuBackend.C (expand): use Floating::listName
8704 * FloatList.C (FloatList): add listName argument to the built-in
8707 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8708 text associated with the float.
8710 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8712 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8714 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8716 * ShareContainer.h: add a couple of missing typenames.
8718 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8720 * lyxrc.C (getDescription): use _() correctly rather than N_().
8722 2002-03-28 Herbert Voss <voss@lyx.org>
8724 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8725 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8727 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8729 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8730 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8732 2002-03-29 Juergen Vigna <jug@sad.it>
8734 * lyxfunc.C (dispatch): add a missing fitCursor call.
8736 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8737 it was scrolled by a cursor move, so return the bool status.
8739 * BufferView.C (fitCursor): return the bool flag also to the outside
8740 world as this is needed.
8742 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8744 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8745 call the edit() as it is not needed (and wrong) IMO.
8746 (workAreaButtonPress): set the screen_first variable before evt.
8747 unlock the inset as this may change screen_first and then we have
8748 a wrong y position for the click!
8750 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8752 * MenuBackend.C (expand): another translation that I missed
8754 2002-03-28 Juergen Vigna <jug@sad.it>
8756 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8758 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8760 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8762 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8764 * MenuBackend.C (expand): fix export/view/update when there is no
8767 2002-03-27 Herbert Voss <voss@lyx.org>
8769 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8772 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8774 * bufferview_funcs.C (currentState): only show paragraph number
8775 for is DEVEL_VERSION is set.
8777 * lyxfunc.C (dispatch): put warning in INFO channel
8779 * MenuBackend.C (expand): translate the name of floats
8781 * FloatList.C (FloatList): mark the float names for translation
8783 * converter.C (convert): use LibScriptSearch
8785 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8787 * MenuBackend.C (defaults): fix default menu (we might as well get
8790 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8792 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8795 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8797 * lyxvc.C: reorder includes.
8799 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8801 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8804 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8806 * CutAndPaste.C: change layouts earlier on paste
8807 to avoid crashing when calling getFont()
8809 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8811 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8814 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8816 * WorkArea.C: remove 'Pending' debug message.
8818 * most files: ws cleanup
8820 * buffer.[Ch]: ws changes
8822 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8824 2002-03-21 Juergen Vigna <jug@sad.it>
8826 * tabular.C (SetMultiColumn): collapse also the contents of the
8827 cells and set the last border right. Added a Buffer const * param.
8829 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8831 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8834 2002-03-19 Juergen Vigna <jug@sad.it>
8836 * text2.C (clearSelection): reset also xsel_cache.
8838 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8839 where it needs to be called (John tells us to do so too :)
8840 (selectionLost): reset sel_cache.
8842 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8844 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8846 * text2.C (setCursorIntern): put debuging code in INSETS channel
8848 2002-03-19 André Pönitz <poenitz@gmx.net>
8850 * lyxfunc.C: tiny whitespace change
8852 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8854 * ToolbarDefaults.C (init):
8855 * LyXAction.C (init):
8857 * BufferView_pimpl.C (Dispatch):
8858 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8860 2002-03-19 Allan Rae <rae@lyx.org>
8862 * exporter.C (Export): removeAutoInsets before doing anything else.
8863 While I've just introduced a dependency on BufferView this really is
8864 the best place to clean the buffer otherwise you need to cleanup in
8865 a dozen places before calling export or cleanup in a dozen functions
8868 * converter.C (runLaTeX):
8869 (scanLog): Better handling of removeAutoInsets and screen updates.
8871 * lyxfunc.C (dispatch): small whitespace changes
8873 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8875 * WorkArea.C (C_WorkAreaEvent): return a value.
8876 (event_cb): return 1 if we handled the event, 0 otherwise.
8878 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8880 2002-03-18 Juergen Vigna <jug@sad.it>
8882 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8883 (GetAdditionalWidth): ditto.
8887 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8888 inset if we're there actually (probably not used right now but this
8889 is the direction to go for unifying code).
8890 (paste): disable code to clear the selection.
8892 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8893 inside an InsetText and move the check further up as it is in the
8896 * text2.C (pasteSelection): set a selection over the pasted text.
8898 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8900 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8901 and libgraphics to build on Cygwin.
8903 2002-03-15 Juergen Vigna <jug@sad.it>
8905 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8906 inserting an Inset into the paragraph. I know this is not the best
8907 fix but we already use current_view in CutAndPaste so we will remove
8908 all of it's using at the same time.
8910 * buffer.C (sgmlError): deactivated function till it is rewritten in
8911 the right mode, now it can create problems.
8913 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8914 before accessing it.
8916 2002-03-14 Juergen Vigna <jug@sad.it>
8918 * undo_funcs.C (textHandleUndo): do the right thing when updating
8919 the inset after the undo/redo.
8921 * text2.C (setCursor): just some testcode for #44 not ready yet.
8923 * undo_funcs.C (textHandleUndo): set the next() and previous()
8924 pointers of the paragraph to 0 before deleting otherwise we have
8925 problems with the Paragraph::[destructor].
8927 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8928 on a paragraph insertion.
8930 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * buffer.C (asciiParagraph): use += operator for char append to
8935 * paragraph.C (getFontSettings): compare >= not just >
8936 (highestFontInRange): ditto
8939 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8941 * paragraph.C: change several algorithm to be more appripriate for
8942 the problem domain. This is lookip in FontList and in the InsetList.
8944 2002-03-13 André Pönitz <poenitz@gmx.net>
8947 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8949 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8954 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8956 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8958 * Painter.C (display): anon helper function, adjust code for this
8960 (pixmap): remove function.
8962 * Painter.h: remove private display variable.
8964 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8966 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8968 * WorkArea.[Ch]: remove figinset_canvas cruft.
8970 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8972 * lyxtextclass.C (operator): add one item cache optimization.
8974 * bufferlist.h: doxy changes
8976 * bufferlist.C: ws changes
8978 * DepTable.[Ch] (ext_exist): place const in the right spot.
8980 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8982 (workAreaExpose): call resizeInsets when the with BufferView changes.
8983 (Dispatch): adjust for protectedBlank removal
8984 (specialChar): call updateInset if the insert went ok.
8986 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8987 specialChar instead.
8989 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8991 * BufferView.h: doxy change
8993 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8995 * lyxtextclass.C (operator[]): remove non-const version
8996 (defaultLayout): remove non-const version
8998 2002-03-12 Juergen Vigna <jug@sad.it>
9000 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9001 did resize the LyXText too.
9003 * buffer.C (readLyXformat2): set layout information on newly allocated
9006 * tabular.C (OldFormatRead): set layout information on the paragraph.
9008 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9010 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9012 2002-03-11 Juergen Vigna <jug@sad.it>
9014 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9016 (resizeCurrentBuffer): force also the insets to resize themselfes.
9017 (moveCursorUpdate): fixed up for InsetText.
9019 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9022 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9023 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9024 value of Dialogs::tooltipsEnabled().
9025 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9027 2002-03-08 Juergen Vigna <jug@sad.it>
9029 * BufferView_pimpl.C (updateInset): update inset inside inset also
9030 if it isn't inside theLockingInset().
9032 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9034 * buffer.C (asciiParagraph): redo some of the word and line length
9036 (getLists): look for Caption instead of caption.
9038 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9040 * buffer.C (Buffer): initialize niceFile to true
9043 (makeDocBookFile): make sure niceFile is true on exit
9045 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9047 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9049 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9051 * LyXSendto.C: remove.
9052 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9053 * lyx_gui.C: remove now-redundant comment.
9054 * ColorHandler.h: remove forward declaration of class WorkArea.
9055 * lyxfunc.C: remove #include "WorkArea.h".
9057 2002-03-07 Juergen Vigna <jug@sad.it>
9059 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9060 got moved away with the DEPM and also set the inset_owner always
9061 right which before could have been omitted.
9063 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9065 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9066 wanted layout is not found.
9068 2002-03-07 Juergen Vigna <jug@sad.it>
9070 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9072 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9074 * paragraph.C (breakParagraph): use default layout not layout of
9076 (Paragraph): clear ParagraphParameters.
9078 2002-03-06 Juergen Vigna <jug@sad.it>
9080 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9081 otherwise it would not be a valid lenght. Fixed a special case in
9082 the minipage compatibility read where we end the document with a
9085 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9086 was set as it could be 0 for InsetTexts first entry.
9088 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9090 * paragraph.C (writeFile): if layout is empty write out
9091 defaultLayoutName().
9093 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9094 file without named layout we set layout to defaultLayoutName().
9096 2002-03-06 Juergen Vigna <jug@sad.it>
9098 * CutAndPaste.C (copySelection): set layout for new paragraph.
9100 * text.C (prepareToPrint): leave ERT inset left aligned
9101 (leftMargin): don't indent paragraphs inside ERT insets
9103 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * paragraph.C (breakParagraph): dont call clear do the work manually
9107 * paragraph.[Ch] (clear): remove function
9109 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * paragraph.C (Paragraph): dont call clear, the work has already
9114 * lyxtextclass.C (operator): assert if n is empty
9116 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9117 work manually instead.
9119 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9121 * BufferView_pimpl.C: protect selectionLost against text == 0
9123 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9125 * text.C (breakParagraph): fix a setting layout to '0' problem.
9127 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9129 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9130 final location of file, for the included files, and graphics.
9132 2002-03-05 Juergen Vigna <jug@sad.it>
9134 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9136 2002-03-04 Juergen Vigna <jug@sad.it>
9138 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9140 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9141 last column of multicolumn cells.
9142 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9144 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9146 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9147 file if it doesn't go to a temporary file.
9149 * buffer.C (sgmlOpenTag):
9150 (sgmlCloseTag): remove extra newline insertion.
9152 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9154 * text.C (getRowNearY): comment out debug msg
9156 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9158 * text2.C: first -> first_y
9160 * text.C (getRowNearY): add some attemts at a possible
9161 optimization, not working.
9163 * tabular.[Ch]: add BufferParams to several function so that newly
9164 created paragraph can be initialized to he default layotu for the
9167 * tabular-old.C (ReadOld): add buf->params to call of Init
9169 * screen.C: rename text->first to text->first_y
9171 * paragraph.C (breakParagraph): always set layout in the broken
9174 * lyxtextclass.C (Read): remove lowercase
9177 (delete_layout): ditto
9179 * lyxtext.h: rename first -> first_y
9181 * lyxlayout.C (Read): remove lowercase
9184 (obsoleted_by): ditto
9186 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9188 * buffer.C (insertErtContents): add params are to InsetERT
9189 (parseSingleLyXformat2Token): add code to check if a paragraphs
9190 layout really exist.
9191 (parseSingleLyXformat2Token): add params to several inset
9193 (asciiParagraph): remove lowercase, do the layout comparisons with
9196 * BufferView_pimpl.C (cursorNext): first -> first_y
9197 (resizeCurrentBuffer): first -> first_y
9198 (updateScrollbar): first -> first_y
9199 (scrollCB): first -> first_y
9200 (workAreaMotionNotify): first -> first_y
9201 (workAreaButtonPress): first -> first_y
9202 (checkInsetHit): first -> first_y
9203 (cursorPrevious): first -> first_y
9204 (cursorNext): first -> first_y
9205 (Dispatch): add buffer_->params to severl inset contructors
9207 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9209 * lyxlayout.C (Read): remove some debug info that I forgot.
9211 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9212 clean up the code slightly.
9213 (makeLinuxDocFile): ditto
9214 (makeDocBookFile): ditto
9216 * text2.C: layout as string
9218 * text.C: layout as string
9220 * paragraph_pimpl.C: layout as string
9222 * paragraph.[Ch]: layout as string
9224 * lyxtextclasslist.[Ch]: layout as string
9226 * lyxtextclass.[Ch]: layout as string
9228 * lyxtext.h: layout as string
9230 * lyxlayout.[Ch]: layout as string
9232 * lyx_cb.C: layout as string
9234 * bufferview_funcs.C: layout as string
9236 * bufferparams.C: layout as string
9238 * buffer.C: layout as string
9240 * LyXView.[Ch]: layout as string
9242 * LaTeXFeatures.[Ch]: layout as string
9244 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9246 * BufferView_pimpl.C: change current_layout to string, remove
9251 (workAreaButtonRelease): layout as string
9253 * BufferView2.C (unlockInset): adjust
9255 * vspace.C (asLatexCommand): use an explict temp variable.
9257 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9259 * Makefile.am: use FRONTEND_*
9261 2002-03-01 Juergen Vigna <jug@sad.it>
9263 * tabular.C (SetWidthOfMulticolCell): changed to something better
9264 I hope but still work in progress.
9265 (recalculateMulticolumnsOfColumn): renamed function from
9266 recalculateMulticolCells as it is more appropriate now.
9267 (SetWidthOfCell): calculate multicols better.
9269 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9273 * lyxfunc.C (processKeySym): print sequence also if it is
9274 `deleted' (complete)
9276 * kbsequence.C (print): print sequence even if it is deleted
9277 (complete would be a better word, actually).
9279 * lyxfunc.C (dispatch): print complete options after a prefix key
9281 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9283 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9285 * text2.C (setCharFont): eliminate setCharFont code duplication.
9287 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9290 LFUN_TABULAR_FEATURE (bug #177)
9292 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9294 * Makefile.am: remove figure.h
9296 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9298 * Bufferview_pimpl.C:
9310 * text2.C: remove #include "lyx_gui_misc.h".
9312 * LaTeX.C: added #include <cstdio>
9314 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9316 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9317 that the paragraph following this one can have.
9319 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9321 * vspace.C (asLatexCommand): fix bogus gcc warning
9323 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9325 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9327 * text2.C (setLayout): get rid of redundant code
9329 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9331 * text2.C (incDepth): make sure depth cannot be increased beyond
9334 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9336 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9337 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9339 * PainterBase.h (image):
9340 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9343 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9347 * BufferView_pimpl.C:
9348 * BufferView_pimpl.h:
9368 * sp_spell.C: remove fig inset, and the crap house of
9369 cards that follows it
9371 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9377 * nt_defines.h: move .h into support/
9379 * vms_defines.h: remove
9381 * WorkArea.C: add space in debug output
9385 * buffer.C: add WITH_WARNINGS
9389 * bufferlist.C: s/retrive/retrieve/, add docs
9400 * lyxgui.C: add ID to X error handler
9402 * lyxtestclass.c: fix typo
9404 2002-02-26 Juergen Vigna <jug@sad.it>
9406 * tabular_funcs.C (write_attribute): changed so that some default
9407 attributes are not written at all.
9408 (getTokenValue): set default values before trying to read the
9409 value so we have the return value always set as default if we don't
9410 find the token we search for.
9412 * tabular.C (Write): write bools as bools not as strings!
9414 2002-02-22 Juergen Vigna <jug@sad.it>
9416 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9417 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9419 * text.C (leftMargin): don't add an indent for paragraphs inside
9420 tabular cells (fix #208).
9422 2002-02-21 José Matos <jamatos@fep.up.pt>
9424 * tabular.C (docBook): fixed support for long tables.
9426 2002-02-20 Juergen Vigna <jug@sad.it>
9428 * text2.C (getFont): get the drawing font of the Inset if this
9429 paragraph is inside an inset (only important for InsetERT for now).
9431 * buffer.C (insertErtContents): use new lanugage params in ERT
9434 * CutAndPaste.C: commenting out seemingly uneeded code.
9436 2002-02-19 Allan Rae <rae@lyx.org>
9438 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9439 Iterators might be simple to use but they also get invalidated.
9440 (removeAutoInsets): renamed saved cursor tracking variables and added
9441 some comments to clarify what everything does.
9443 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9450 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9451 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9454 * vc-backend.h: remove #include "support/syscall.h"
9458 * converter.C: rearrange #includes in Lars' approved fashion.
9460 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9461 forward declare class Timeout in the header file.
9463 * XFormsView.C: changes due to the above.
9465 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9468 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9469 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9471 2002-02-18 José Matos <jamatos@fep.up.pt>
9473 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9476 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9478 * a lot of small ws changes
9479 * add a lot of using std::XXX
9480 * use std construcs some places where approp.
9481 * use some exisint stuff from lyxfunctional where approp.
9482 * Make file changes to use partial linking (lets test this now...)
9484 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9488 remove #include "support/syscontr.h" as it's redundant. Always has been.
9496 change Systemcalls::System to Systemcalls::Wait and
9497 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9498 No change of functionality, just reflects the stripped down Systemcalls
9501 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9503 * debug.[Ch]: add a GRAPHICS type to the enum.
9505 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9507 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9509 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9512 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9515 match the changes below.
9517 * text2.C (toggleInset): if there is not editable inset at cursor
9518 position, try to see if cursor is _inside_ a collapsable inset
9521 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9523 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9524 document menu has a nice checkbox
9526 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9528 * lyxlength.C (asLatexString): change PW to output as percent of
9531 * lengthcommon.C: change '%' to 't%'
9533 * lyxfunc.C (dispatch): a few comments from Martin
9535 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9539 * BufferView_pimpl.h:
9540 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9543 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9545 * vspace.C (inPixels): fix compiler warning
9547 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9549 * lyxfunc.C (getStatus): fix status message for disabled commands.
9551 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9553 * BufferView_pimpl.C: fix crash on close buffer
9554 during selection (#227)
9556 2002-01-27 Herbert Voss <voss@lyx.org>
9558 * buffer.C: link old Figure to new graphic inset
9560 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9562 * FontLoader.C (getFontinfo): Change the latex font names in order
9563 to match the names of type1inst.
9565 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9569 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9572 (remove_files_with_extension): ditto
9573 (remove_file): ditto
9576 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9577 document is smaller than the work area height. Do not initialize
9578 static variables to 0.
9580 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9584 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9585 LFUN_LAYOUT_PARAGRAPHS.
9587 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9588 tabular. It is possible to provide a possible cell, which will
9589 typically be the actcell from the corresponding insettabular
9591 * lyxfunc.C (getStatus): small cleanup; disable
9592 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9595 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9599 * paragraph.C (startTeXParParams):
9600 (endTeXParParams): new methods. The LaTeX code to
9601 start/end paragraph formatting
9602 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9603 empty (fixes bug #200)
9605 * vspace.C (inPixels): adapt to the change below
9606 (inPixels): [later] more cleanups (remove unused variables)
9608 * lyxlength.C (inPixels): change to use a width and a height as
9611 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9613 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9614 Replaced with \paperwidth
9616 * DepTable.C (insert): add std:: qualifier
9618 2002-01-18 Allan Rae <rae@lyx.org>
9620 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9623 * text.C (drawInset): Turned out I didn't know enough about how
9624 rebreaking worked. This fixes most of the redraw problems. I see
9625 an occasional cursor trail when a line is broken now and the cursor
9626 placement can seem out by a few pixels also after a rebreak.
9628 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9630 * buffer.C (parseSingleLyXformat2Token): update because minipage
9631 width is now a LyXLength
9633 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9635 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9638 2002-01-17 Juergen Vigna <jug@sad.it>
9640 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9642 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9643 is set correctly and the inset is updated correctly.
9645 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9647 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9648 the beginning of the loop.
9650 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9652 * lyxrc.C: improve help for use_scalable_fonts
9654 2002-01-17 Allan Rae <rae@lyx.org>
9656 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9658 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9660 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9661 make sure to set their inset_owner to the right value (bug #171)
9663 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9666 * DepTable.C: Implement mtime checking to reduce time spent doing
9669 2002-01-16 Juergen Vigna <jug@sad.it>
9671 * tabular.C (GetAdditionalHeight): one of error fixed.
9673 * lyxrc.C (output): small fix in writing use_pspell.
9675 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9677 * sp_base.h: #include LString.h
9679 2002-01-16 Allan Rae <rae@lyx.org>
9681 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9682 Can someone check this please?
9684 * text.C (drawInset): It was possible that p.row would be removed by
9685 breakAgainOneRow upsetting a few other settings. There may be another
9686 small tweak possible by setting need_break_row = 0 when p.row has been
9687 removed but I don't know enough about the logic here.
9689 2002-01-15 Allan Rae <rae@lyx.org>
9691 * text.C (insertChar): removed conditional truism.
9693 * BufferView2.C (removeAutoInsets): More tweaks.
9694 cur_par_prev could be a stray pointer. Check for trailing empty line
9695 in case last line was cur_par and only had an error inset on it.
9697 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9699 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9702 * vc-backend.C (most methods):
9703 * exporter.C (Export):
9704 * converter.C (convert):
9706 * LyXSendto.C (SendtoApplyCB):
9707 * lyxfunc.C (dispatch):
9711 * lyx_cb.C (AutoSave):
9713 * BufferView_pimpl.C (MenuInsertLyXFile):
9714 * buffer.C (runChktex): use Buffer::filePath().
9716 * buffer.h: rename filename to filename_; rename filepath to
9717 filepath_ and make it private
9718 (filePath): new method
9720 * buffer.C (writeFile): use fileName()
9723 * lyx_main.C (init): fix starting of LyX when the binary is a
9724 link from so,ewhere else.
9726 * minibuffer.C: include <cctype> for isprint
9728 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9730 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9731 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9732 name clash with InsetCollapsable's width function.
9734 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9736 * lastfiles.C: include <iterator>
9738 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9740 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9743 * buffer.C (makeLaTeXFile): ditto.
9744 Also make loop operation more transparent.
9746 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9748 * ToolbarDefaults.C: remove trailing comma closing namespace.
9750 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9752 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9755 * trans.C (Load): comment out unused variable, allowed.
9757 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9759 * minibuffer.[Ch] (append_char): new method to recieve input from the
9760 drop-down completion browser. If a key was pressed, then recieve this
9761 char and append it to the existing string.
9762 (peek_event): modify the positioning data passed to the completion
9763 browser so that it can be placed above the minibuffer rather than below.
9764 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * LyXAction.C (init): alloe error-next for readonly documents.
9768 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9771 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * bufferlist.C (readFile): create the buffer _after_ checking that
9776 * lyxfunc.C (verboseDispatch): fix handling of arguments
9778 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9780 * lyxrc.C: use string::erase() instead of initializing to "".
9783 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9785 * BufferView_pimpl.h:
9786 * BufferView_pimpl.C:
9789 * text2.C: tell X when we have made a selection for copying
9791 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * BufferView_pimpl.C (MenuInsertLyXFile):
9794 * lyxfunc.C (menuNew):
9796 (doImport): add shortcuts to directory buttons
9798 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9801 * lyxfunc.C (setStatusMessage):
9802 (getStatusMessage): new methods
9803 (getStatus):use setStatusMessage instead of setErrorMessage
9804 (dispatch): when function is disabled, set error message here
9805 [instead of in getStatus previously]
9807 * BufferView_pimpl.C (workAreaButtonRelease): update
9808 toolbar/menubar here too.
9810 2002-01-13 Allan Rae <rae@lyx.org>
9812 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9813 Now seems indestructible. Remaining task is to audit all other
9814 code affected by deleteEmptyParagraphMechanism. One small quirk
9815 left is that an empty document with an error in the preamble can
9816 be made to report an error but no error box appears. I don't know
9818 (removeAutoInsets): Improved comments.
9820 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9823 * Thesaurus.C: update for Aiksaurus 0.14
9825 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9827 * text2.C (firstParagraph): removed member function, all uses
9828 replaces with ownerParagraph
9829 (redoParagraphs): here
9831 (toggleAppendix): here
9832 * BufferView2.C (insertErrors): here
9833 (setCursorFromRow): here
9835 2002-01-13 Allan Rae <rae@lyx.org>
9837 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9838 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9839 There is still a way to segfault this although you may have to do this
9840 multiple times: Have an InsetERT with an unknown command in it.
9841 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9842 <down-arrow>, <Enter> again, View->DVI, BANG!
9844 * text2.C (setCursor):
9845 (deleteEmptyParagraphMechanism):
9846 * lyxtext.h (setCursor):
9847 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9848 Making use of the return value may help fix other bugs.
9850 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9854 * LyXView.C (updateMenubar): call MenuBar::update here
9855 (updateToolbar): but not here
9856 (showState): do not update toolbar/menubar
9858 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9859 should need to care about that.
9861 * lyxfunc.C (verboseDispatch): simplify a bit
9862 (getStatus): have a version which takes a pseudoaction, and
9863 another which requires a (kb_action,string).
9865 * LyXAction.C (retrieveActionArg): make it work also when action
9866 is not a pseudo-action.
9867 (getActionName): simplify a bit
9870 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9872 * lyxfunc.C (verboseDispatch): new families of methods with
9873 several ways to specify a command and a bool to indicate whether
9874 the command name and shortcut should be displayed in minibuffer
9875 (eventually, we could extend that to a finer bitmask like
9876 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9877 (dispatch): the pristine dispatch command which just, well,
9878 dispatchs! Note it still sets its result to minibuffer; I'm not
9881 * lyxfunc.h: remove setHintMessage
9883 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9885 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * BufferView_pimpl.C (specialChar): delete new inset if we have
9888 not been able to insert it.
9890 * kbmap.C: revert to using int instead of kb_action, since all we
9891 are dealing with is pseudo-actions.
9893 * LyXAction.C (searchActionArg): change to return int instead of
9894 kb_action, since the result is a pseudoaction.
9896 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9898 * buffer.C (insertErtContents): Fix (partially) the font bug.
9900 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9902 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9903 as the other one is broken on my machine!
9905 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9908 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9910 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9912 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9913 reflect their actual use. Provide compatibility code for older lyxrc
9916 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9918 change names of popup font variables in line with the changes to lyxrc.C
9920 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * buffer.C (asciiParagraph): avoid outputing a word twice after
9925 * lyxrc.C (getDescription): document that document_path and
9926 template_path can be empty.
9928 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * LaTeXFeatures.C (getMacros):
9931 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9933 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9935 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9937 (getPackages): rename feature "floats" to "float". Use an array to
9938 iterate over 'simple' features (i.e. just a \usepackage). Add
9939 handling of "amsmath" (renamed from "amsstyle").
9941 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9943 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9946 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9948 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9949 FuncStaus::FuncStatus & FuncStaus::some_method().
9951 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9953 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9954 of the func_satus stuff. Edited and massaged in various ways by
9957 * lyxfunc.C (getStatus): use FuncStatus
9959 2002-01-08 Juergen Vigna <jug@sad.it>
9961 * text.C (nextBreakPoint): use function Inset::isChar().
9963 * paragraph.C (TeXOnePar): use function
9964 Inset::forceDefaultParagraphs.
9966 * buffer.C (latexParagraphs): use function
9967 Inset::forceDefaultParagraphs.
9969 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9971 * lyx_gui.C (init): set the style of the menu popups to
9972 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9974 2002-01-07 Juergen Vigna <jug@sad.it>
9976 * text.C (setHeightOfRow): small fix
9977 (prepareToPrint): don't look at alignment if we don't have the place
9980 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9982 * box.C: New file. Move the Box methods and functions out of box.h,
9983 following Lars' suggestion.
9985 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9987 * box.h: #include "support/LOstream.h", needed for inlined function.
9990 * lyxtextclasslist.C: added some using std declarations.
9992 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9994 * box.h: make signed dimensions to allow insets wider than
9995 the screen (bug #162)
9997 * BufferView_pimpl.C: add some insetHit debug
9999 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10001 * vc-backend.C: add FIXME
10003 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * lyxfunc.C (getStatus): enable code for showing math font status
10008 2002-01-07 Juergen Vigna <jug@sad.it>
10010 * text.C (nextBreakPoint): removed debug output not needed anymore.
10012 2002-01-06 Juergen Vigna <jug@sad.it>
10014 * text.C (nextBreakPoint): fixed up this function we had this bug
10015 since ever but now hopefully we break row better.
10016 (insertChar): we have to check if an inset is the next char as it
10017 could now happen that a large inset is causing a break.
10019 2002-01-05 Juergen Vigna <jug@sad.it>
10021 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10022 if it doesn't like to be drawed.
10024 2002-01-04 Juergen Vigna <jug@sad.it>
10026 * BufferView2.C (lockInset): forgot to set a cursor.
10028 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10030 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10032 * FormMathsPanel.C:
10035 * form_maths_panel.C:
10036 * form_maths_panel.h:
10037 * form_maths_panel.fd: implemented sub- and super- buttons in math
10040 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10041 (or ^ space) to be used as in TeX (req'd by André).
10043 * lyxfunc.C: Allow ^ and _ again to be used both as
10044 super/subscript (mathed) and as themselves (in text).
10046 2002-01-03 Allan Rae <rae@lyx.org>
10048 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10049 "LyX" or the filename of the current buffer if it has one. This is a
10050 modified form of John Levon's patch.
10052 * XFormsView.C (setWindowTitle): also set icon title.
10054 * LyXView.h (setWindowTitle): signature changed.
10055 * XFormsView.h (setWindowTitle): ditto.
10057 2002-01-02 Juergen Vigna <jug@sad.it>
10059 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10061 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10063 * screen.C (topCursorVisible): introduce a temp var for
10064 text->cursor.row(), handle the case where this row is null. (kindo
10067 * text2.C (setCursor): add a couple of asserts.
10069 * paragraph.h (inset_iterator): add -> operator
10071 * paragraph.[Ch] (autoDeleteInsets): remove member function
10073 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10074 cursor pos correctly and handle inset deletion by itself.
10075 (insertErrors): move iterator declaration out of for expression
10077 * lyxtextclass.C: add <algorithm>
10079 * Makefile.am: added the new files to sources, removed layout.C
10081 * layout.C: removed file
10083 * layout.h: remove LYX_DUMMY_LAYOUT
10085 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10089 * lyxtextclass.[Ch]:
10090 * lyxtextclasslist.[Ch]: new files
10092 * include order changes to a lot of files, also changes because of
10095 2001-12-27 Juergen Vigna <jug@sad.it>
10097 * buffer.C (asciiParagraph): more fixes.
10099 * tabular.C (ascii): make ascii export support export of only the
10100 data separated by a column-delimiter.
10101 (ascii): better support for ascii export.
10103 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10105 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10107 * tabular_funcs.C: use a "using std::getline" instead of the
10108 previous fix from Angus (necessary for cxx + lyxstring)
10110 2001-12-24 Juergen Vigna <jug@sad.it>
10112 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10114 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10115 problems. First check a minipage also if we have some ert-contents
10116 (not only on par->size(), second set the right depth of the paragraph
10117 on the relink to the root-paragraph-list!
10119 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10120 which then did not anymore update the main paragraphs on undo/redo!
10122 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10124 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10125 code. Support all font-changing funcs (even those which are not in
10126 menu currently). Support for reporting font settings in
10127 mathed (disabled until Andre provides a function on mathed's side).
10129 * func_status.h (toggle): small helper function to set toggle
10132 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10134 * tabular_funcs.C: getline -> std::getline
10136 2001-12-21 Juergen Vigna <jug@sad.it>
10138 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10139 accessed and could be 0 (I couldn't generate this but it seems
10142 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10144 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10145 * tabular_funcs.h: here and include iosfwd
10147 2001-12-20 Juergen Vigna <jug@sad.it>
10149 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10150 inside inset but undo_par was.
10152 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10154 * Thesaurus.C: always include <config.h> in sources.
10158 * box.h: do not include <config.h> in header files
10160 * text.C (paintLastRow): remove unused variable
10162 * text.C (transformChar):
10164 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10166 * Painter.C (text):
10167 * font.C (width): rewrite to use uppercase() instead of
10170 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10172 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10174 * lyxfind.C: clean up of find failure position change
10176 2001-12-20 Juergen Vigna <jug@sad.it>
10178 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10180 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10181 (TeXRow): added to LaTeX a single tabular row.
10182 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10183 (Latex): simplified and finally good LT-h/f support.
10184 (various_functions): just small adaptions for LT-h/f support.
10186 * tabular_funcs.[hC]: added and moved here all not classfunctions
10189 2001-12-19 Juergen Vigna <jug@sad.it>
10191 * tabular.[Ch]: better support for longtabular options (not finished
10194 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10196 * text.C (paintLastRow): use the label font instead of the font of
10197 the last character to compute the size of *_BOX. This makes more
10198 sense and avoids a crash with empty paragraphs.
10199 Use Painter::rectangle to draw EMPTY_BOX.
10201 2001-12-19 Juergen Vigna <jug@sad.it>
10203 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10204 the paragraphs if the replaced paragraph is not the first one!
10205 Tried to delete not used paragraphs but does not work yet so for
10206 now it's inside #ifdef's and by default off!
10208 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10210 * MenuBackend.C: include "lyx_main.h" instead of declaring
10211 lastfiles (actually was declared as LastFiles* instead of a
10214 2001-12-17 Juergen Vigna <jug@sad.it>
10216 * tabular.C (AppendColumn): applied John's fix
10218 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10222 * BufferView_pimpl.h:
10223 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10226 * box.h: new start of class for above
10228 * lyxfunc.C: ignore space-only minibuffer dispatches.
10229 Show the command name when it doesn't exist
10231 * minibuffer.C: don't add empty lines to the history
10233 * minibuffer.C: add a space on dropdown completion
10235 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10237 * text.C: fix line above/below drawing in insets
10239 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10241 * lyxlength.C (LyXLength): Initialize private variables.
10243 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10245 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10246 when inserting error insets.
10248 2001-12-13 Juergen Vigna <jug@sad.it>
10250 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10251 actually sometimes the before-paragraph.
10252 (setUndo): don't clear the redostack if we're not actually undoing!
10254 2001-12-06 Juergen Vigna <jug@sad.it>
10256 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10257 and fixed redoing of main paragraph, so we can use it now ;)
10259 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10261 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10266 2001-12-13 André Pönitz <poenitz@gmx.net>
10269 * undo_func.C: minor cleanup
10271 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10273 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10274 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10275 font in urw-fonts package which is marked as -urw-fontspecific and
10276 does not work (incidentally, changing the encoding in the
10277 fonts.dir of this package to -adobe-fontspecific fixes the
10280 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10281 is a crash when undoing first paragraph (Juergen, please take a
10282 look). THis does not mean the undo fix is wrong, just that it
10285 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10286 the (Paragraph*) version when needed instead of duplicating the
10289 * text.C (workWidth): use Inset::parOwner to find out where the
10290 inset has been inserted. This is a huge performance gain for large
10291 documents with lots of insets. If Inset::parOwner is not set, fall
10292 back on the brute force method
10294 * paragraph_pimpl.C (insertInset):
10295 * paragraph.C (Paragraph):
10296 (cutIntoMinibuffer): set parOwner of insets when
10297 inserting/removing them
10299 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10301 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10307 * mathed/formulabase.C:
10308 * mathed/math_cursor.[Ch]:
10309 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10312 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10314 * lyxlength.[Ch] (operator!=): new function
10316 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10318 * text.C (workWidth): use Inset::parOwner to find out where the
10319 inset has been inserted. This is a huge performance gain for large
10320 documents with lots of insets. If Inset::parOwner is not set, fall
10321 back on the brute force method
10323 * paragraph_pimpl.C (insertInset):
10324 * paragraph.C (Paragraph):
10325 (cutIntoMinibuffer): set parOwner of insets when
10326 inserting/removing them
10328 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10330 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * tabular-old.C (getTokenValue):
10333 * tabular.C (getTokenValue):
10334 (write_attribute): new versions for LyXLength
10335 (everywhere): adjust the use of widths
10337 * tabular.h: change the type of widths from string to LyXLength
10339 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10341 * paragraph.C: fixed missing line number count when exporting
10342 Environments to LaTeX file
10344 * buffer.C: added informational message for checking line numbers.
10346 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10349 paragraph, do the 'double space' part, but not the 'empty
10352 * text.C (workWidth): small optimization
10353 (getLengthMarkerHeight): use minimal size for negative lengths.
10355 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10357 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10359 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10361 2001-12-11 André Pönitz <poenitz@gmx.net>
10364 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10366 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10368 * text2.C: keep selection on a setFont()
10370 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10372 * lyx_cb.C: another bv->text misuse, from insert label
10374 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10377 * kbsequence.C: re-instate nmodifier mask
10379 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10381 * lyx_main.h: make lyxGUI private.
10383 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10385 * lyxfind.C: place the cursor correctly on failed search
10387 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * text.C (getLengthMarkerHeight): for small heights, the arrows
10390 are not always on top/bottom of the text
10391 (drawLengthMarker): smaller arrows; take the left margin in
10392 account; draw also vfills.
10394 (paintLastRow): remove special code for vfill and standard spaces,
10395 since everything is handled in drawLengthMarker now.
10397 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10399 * buffer.C (insertErtContents): try to handle font and language
10400 interaction a bit better.g
10402 * ColorHandler.C (updateColor): change the hash to cover the whole
10403 LColor enum, ws cleanup
10404 (getGCLinepars): ditto
10405 (getGCLinepars): only lookup in the linecache once.
10407 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10409 * iterators.C (operator++): Make the iterator more robust
10411 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10413 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10415 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10418 * text.C: better added space drawing
10420 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10423 * BufferView2.C: fix layout combo update on inset unlock
10425 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10427 * Makefile.am: don't compile unused files
10429 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10433 * LyXAction.C: remove old LFUN_LAYOUTNO
10435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10437 * paragraph_pimpl.h:
10438 * paragraph_pimpl.C: isTextAt() doesn't need font param
10440 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10443 * lyxlex.C: little cleanup
10445 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10447 * BufferView_pimpl.C: fix insertAscii for insets
10449 2001-12-05 Juergen Vigna <jug@sad.it>
10451 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10452 set the right font on the "multi" paragraph paste!
10454 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * lyxlength.C: remove out-commented code.
10462 * BufferView_pimpl:
10476 * vc-backend.C: change "while(" to "while ("
10478 * lyxlength.[Ch]: add zero function to check if length is zero or
10480 * lyxgluelength.C: use it
10482 2001-12-05 Allan Rae <rae@lyx.org>
10484 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10485 Works for 2.95.3, from what I understand of Garst's reports this should
10486 work for other g++ versions. We're screwed if the abs(int) definition
10487 changed between bugfix releases of gcc.
10489 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10491 * text.C: fix chapter label offset !
10493 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10496 * text.C: fix hfill at end of line, clean up
10498 2001-12-04 Juergen Vigna <jug@sad.it>
10500 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10501 that we force an update of the inset and it's owners if neccessary.
10503 2001-12-03 Juergen Vigna <jug@sad.it>
10505 * text.C (rowLast): simplified code
10507 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10509 * lyxfunc.C: fix show options on timeout
10511 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10513 * screen.C (topCursorVisible): scroll half a page when the cursor
10514 reached top of bottom of screen
10516 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10518 * minibuffer.C: deactivate on loss of focus
10520 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * vspace.[Ch] (operator!=): add operator.
10524 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10526 * BufferView_pimpl.C: refuse to open an inset when
10527 there's a selection.
10529 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10531 * BufferView_pimpl.C: allow to click on RHS of full row insets
10533 2001-11-30 Juergen Vigna <jug@sad.it>
10535 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10536 insets for undo reasons.
10538 2001-11-28 André Pönitz <poenitz@gmx.net>
10540 * vspace.[Ch]: cosmetical changes
10542 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10552 * kbsequence.C: part re-write of old kb code
10555 * WorkArea.C: remove Lgb_bug_find_hack
10557 2001-11-30 José Matos <jamatos@fep.up.pt>
10559 * buffer.C (makeDocBookFile): add a comment to point a hack.
10560 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10561 Fixed a double write of labels.
10563 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10566 * LaTeX.h Fixed bug in LaTeX class where it would not
10567 re-run latex if no depfiles were changed, but the .dvi was removed.
10569 2001-11-28 André Pönitz <poenitz@gmx.net>
10571 * all the files from the change on 2001/11/26:
10572 use lyx::layout_type instead of LyXTextClass::size_type
10573 use lyx::textclass_type instead of LyXTextClassList::size_type
10575 2001-11-29 Juergen Vigna <jug@sad.it>
10577 * text.C: added support for paragraph::isFreeSpacing()
10579 * buffer.C: same as above
10581 * paragraph.h: inserted isFreeSpacing() function to enable
10582 FreeSpacing inside InsetERT.
10584 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10585 of the paragraph's in the cut/copy buffer to 0!
10587 * text2.C (removeRow): remove the assert as it can!
10589 * lyxtext.h: added helper function firstRow returning firstrow and
10590 made firstrow private again.
10592 * BufferView2.C (lockInset): don't relock if we're already locked!
10594 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10595 the only paragraph.
10596 (removeRow): added Assert::(firstrow)
10598 * debug.C: forgot to add INSETTEXT here.
10600 2001-11-28 Juergen Vigna <jug@sad.it>
10602 * sp_spell.C (initialize): changed error text to more general
10603 spellchecker command use (not only ispell!)
10605 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10607 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10609 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10611 * vspace.C: initialise lyxgluelength on failure
10613 2001-11-28 Allan Rae <rae@lyx.org>
10615 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10616 declaration & definition that looks like a function declaration.
10618 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10620 * BufferView2.C (copy):
10621 (copyEnvironment): do not clear the selection when doing a copy.
10623 * text.C (paintFirstRow): compilation fix
10625 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10627 * tabular.C (Latex): correct line count when writing latex.
10629 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10631 * paragraph_pimpl.h:
10632 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10635 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10639 * LColor.C: change vfillline->added_space
10641 * text.C: add markers and text for added space
10643 * vspace.C: fix comment
10645 2001-11-28 André Pönitz <poenitz@gmx.net>
10647 * paragraph.C: whitespace changes
10648 * all the other files from the change on 2001/11/26:
10649 change *::pos_type into lyx::pos_type
10651 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10653 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10654 language of the document when inserting error insets.
10656 2001-11-26 André Pönitz <poenitz@gmx.net>
10658 * BufferView_pimpl.[Ch]:
10666 * paragraph_pimpl.[Ch]:
10669 * text2.C: reduce header dependencies, introduce type for positions
10671 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10673 * <various>: change to use Alert.h
10675 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10677 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10678 when encountering an unknown token.
10679 (readLyXformat2): Show an error message if there were unknown tokens.
10681 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10684 * BufferView_pimpl.C:
10688 * text2.C: use par->isInset()
10690 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10692 * paragraph_pimpl.h:
10693 * paragraph_pimpl.C: cleanup
10695 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10697 * text2.C (removeRow):
10698 * text.C (setHeightOfRow): remove useless (and costly) call to
10701 2001-11-20 Allan Rae <rae@lyx.org>
10703 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10704 Now need Inset*::checkInsertChar() to return true for appropriate
10705 cases so that the characters in the minibuffer will actually be
10708 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * text.C: change the order of the includes.
10711 (workWidth): initialize it at once.
10712 (workWidth): make maxw unsigned
10713 (setHeightOfRow): remove unused variable (inset)
10714 (selectSelectedWord): remove unused variable (inset)
10715 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10717 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10720 server is not running.
10722 (closeConnection): add debug info when server is disabled.
10724 * ColorHandler.C (getGCForeground): send debug message to GUI
10727 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10729 * kbmap.C (bind): modify because return conventions of
10730 kb_sequence::parse have changed.
10732 * kbsequence.C (parse): only ignore spaces and not any stupid
10733 control character. This avoids tests like s[i] <= ' ', which are
10734 guaranteed to fail with 8bit characters and signed chars.
10735 Change return code to string::npos when there have been no error
10736 (0 was a bad idea when error is at first character)
10738 2001-11-14 José Matos <jamatos@fep.up.pt>
10741 * buffer.C (simpleDocBookOnePar): removed unused argument.
10743 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10745 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10746 insets which are part of a word. Paragraph::isLetter takes care of
10747 that now. Use Paragraph::isInset to identify insets.
10748 (selectSelectedWord): do not test for hyphenation break.
10750 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10751 that protected spaces are considered as spaces.
10753 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10756 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10759 * lyxserver.C: fix it. and small cleanup.
10761 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10763 * BufferView_pimpl.C: use inline helpers
10766 * LaTeXFeatures.C: fix typos
10769 * Spacing.C: move spacing_string into class
10771 * ToolbarDefaults.C: move stuff into namespace anon
10773 * layout.h: update enum
10775 * lyxfunc.C: use better debug
10777 * minibuffer.h: fix typo
10781 * WorkArea.C: add and use Debug::WORKAREA
10785 * text2.C: code re-organisation, inline helpers
10787 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10789 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10790 std::vector.empty().
10792 2001-11-09 Allan Rae <rae@lyx.org>
10794 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10795 '\n's after tables. Tabular and ERT inset work now makes this no
10798 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10801 * minibuffer.C: fix crash, improve drop-down completion
10803 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10806 * lyxserver.C: invalidate fd's when doing endPipe()
10808 2001-11-08 José Matos <jamatos@fep.up.pt>
10810 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10811 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10814 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10816 2001-11-07 José Matos <jamatos@fep.up.pt>
10819 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10822 * buffer.C (sgmlOpenTag):
10823 * buffer.C (sgmlCloseTag): removed debug info.
10825 * buffer.h (sgmlOpenTag):
10826 * buffer.h (sgmlCloseTag): made public.
10828 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10830 * buffer.C (saveParamsAsDefaults):
10831 * lyx_cb.C (MenuLayoutSave): remove
10833 * LyXAction.C (init):
10835 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10837 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10839 * buffer.C (setPaperStuff): removed from here...
10841 * bufferparams.C (setPaperStuff): ... and moved there.
10843 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10847 * XFormsView.C: add support for drop-down completion
10849 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10851 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10854 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10856 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10859 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10861 * lyx_main.C: change ref to known bugs
10863 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10865 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10866 to work around older babel problems.
10868 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10870 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10872 2001-10-24 Juergen Vigna <jug@sad.it>
10874 * tabular-old.C (ReadOld): below variable changes reflected.
10876 * tabular.[Ch]: added ltType struct for longtable header/footer
10877 defines and changed all instances where they are used. Added
10878 future support for double top/bottom rows.
10880 2001-10-24 José Matos <jamatos@fep.up.pt>
10882 * buffer.h (docbookHandleCaption):
10883 * buffer.C (docbookHandleCaption): removed unused function.
10884 (makeDocBookFile): moved docbook supported version to v4.1.
10886 2001-10-24 José Matos <jamatos@fep.up.pt>
10889 * tabular.C (docbookRow): new function to export docbook code of a row.
10890 (DocBook): now honors the longtable flags.
10892 2001-10-23 José Matos <jamatos@fep.up.pt>
10895 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10896 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10898 * buffer.C (makeLinuxDocFile):
10899 (makeDocBookFile): reworked the preamble, more clean, and with
10900 support for lyx defined entities. Changed the document declaration
10901 to be more XML friendly.
10903 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10904 if we need to output XML that should be done with a filter.
10906 2001-10-22 Juergen Vigna <jug@sad.it>
10908 * sp_pspell.h (class PSpell): add alive function needed in the
10909 controller to see if the spellchecker could be started.
10911 2001-10-22 Juergen Vigna <jug@sad.it>
10913 * buffer.C (insertStringAsLines): modify the font for inserting
10914 chars in certain conditions by calling checkInsertChar(font).
10916 2001-10-19 Juergen Vigna <jug@sad.it>
10918 * text.C (workWidth): use getRow instead of wrong algorithm.
10919 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10921 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10926 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10928 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * text.C (workWidth): do not search for the exact row when
10931 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10932 optimization for big documents.
10934 2001-10-18 Juergen Vigna <jug@sad.it>
10936 * text.C (workWidth): new function with added Inset * parameter.
10938 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10940 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10942 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10943 change return type of getColumnNearX.
10946 * text.C (changeRegionCase): use uppercase/lowercase instead of
10949 (rightMargin): simplify code by factoring out the uses of
10954 (appendParagraph): use Paragraph::size_type
10956 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10958 * vspace.C (asLatexString): add a missing break
10960 2001-10-15 Herbert Voss <voss@perce.de>
10962 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10964 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10966 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10969 2001-10-10 André Pönitz <poenitz@gmx.net>
10971 * lyxfunc.C: removed greek_kb_flag.
10973 2001-10-10 Herbert Voss <voss@perce.de>
10975 * lyx_main.C: delete global string help_lyxdir.
10977 2001-10-09 Herbert Voss <voss@perce.de>
10979 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10981 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10983 * lyx_main.C: added global string help_lyxdir.
10985 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10987 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10989 * lyxrc.C (set_font_norm_type): support iso8859-4
10991 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10993 * LaTeX.C (deplog): add another regex for MikTeX
10995 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10997 * lyxrc.C (set_font_norm_type): support iso8859-3
10999 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11001 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11003 * LaTeXFeatures.C: remove special case of french and index
11005 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11006 before \begin{document}). This solves several incompatibilities.
11008 2001-10-03 Garst Reese <reese@isn.net>
11010 * lyx_cb.C: change CheckTex error msg.
11012 2001-10-03 José Matos <jamatos@fep.up.pt>
11014 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11016 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11018 * .cvsignore: update
11020 * lyx_main.C (commandLineVersionInfo): use new style version info.
11022 * buffer.C (writeFile):
11024 (makeLinuxDocFile):
11025 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11027 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11029 * version.h: update to use stuff in version.C
11031 * version.C.in: new file. Contains version information determined
11032 at compile time. This is a merging of version.h and
11035 2001-10-03 Juergen Vigna <jug@sad.it>
11037 * BufferView_pimpl.C (update): don't change "dirty" status in
11040 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11042 * WorkArea.C (c-tor): re-position version string slightly.
11044 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11046 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11047 revert to previous code.
11049 WorkArea.[Ch]: (show, destroySplash): methods removed.
11051 WorkArea.C: rework code so that it's an amalgam of the codes before and
11052 after the splash screen was moved to WorkArea.
11054 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11057 * vspace.C (inPixels):
11060 * buffer.C (insertStringAsLines):
11061 (asciiParagraph): fix types to be large enough
11063 * lyxlex_pimpl.h: change member status from short to int
11065 * layout.h: fix type of endlabeltype
11068 * kbsequence.C (parse): change return type to string::size_type
11070 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11073 * Bullet.C (bulletSize):
11074 (bulletEntry): do not use short ints as parameters
11076 * BufferView2.C (insertLyXFile): change a char to an int.
11078 * WorkArea.C (WorkArea): remove unneeded floats in computation
11080 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11082 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11084 * paragraph.C (asString): Do not ignore newline/hfill chars when
11085 copying to the clipboard.
11087 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11089 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11090 after a multi-line inset.
11092 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11094 * paragraph.C (validate): Set NeedLyXFootnoteCode
11096 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11098 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11099 and decrease-error to decrease.
11101 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11103 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11104 it more readable (should be equivalent)
11106 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11108 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11110 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11112 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11113 of a cursor (row, etc.) after a character has been deleted
11114 (deleteEmptyParagraphMechanism): call the method above on _all_
11115 cursors held by the LyXText when a double space has been
11118 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11120 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11122 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11124 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11125 background. Use greyOut() and the new show() methods to toggle between
11126 the foreground and background. Add code to remove the splash after
11127 its initial showing.
11129 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11130 (create_forms): no longer call Dialogs::showSplash.
11132 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11134 * .cvsignore: add version_info.h
11136 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11138 * version_info.h.in: new file
11140 * Makefile.am: add version_info.h.in
11142 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11143 version_info.h instead of VERSION_INFO
11145 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11147 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11148 The ERT inset now returns string().
11150 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11152 * lyxtext.h, text.C (selectNextWord): renamed as
11153 selectNextWordToSpellcheck.
11155 * text.C (selectNextWordToSpellcheck): Modified to not select
11156 words inside an ERT inset.
11158 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * lyx_cb.C (MenuLayoutSave): change a bit the question
11162 * sp_base.h: include <sys/types.h>
11164 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11166 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11168 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11170 * several files: fix typos in user-visible strings
11172 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11174 * text2.C (pasteSelection): do not set the selection, since it
11175 will be cleared later. Actually, the intent was to fix the way the
11176 selection was set, but I figured rmoving the code was just as good.
11178 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11180 * FontLoader.C (available): Check if font is available without
11183 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11185 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11187 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11189 * lyxrc.[Ch]: added display_graphics variable and associated code.
11191 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11193 * bufferparams.C (hasClassDefaults): new method. Returns true if
11194 the buffer parameters correspond to known class defaults
11196 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11198 * XFormsView.C (show): set minimum size to the main window.
11200 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * text2.C (copySelection):
11204 * lyxfind.C (LyXReplace):
11205 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11206 LyXText::selectionAsString.
11208 * paragraph.C (asString): add "label" argument to the second form
11210 * text2.C (selectionAsString): add "label" argument and pass it to
11211 Paragraph::asString.
11213 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11215 * lyx_main.C (commandLineHelp): remove version information
11217 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11219 * lyx_main.C: add -version commandline option
11221 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11223 * paragraph.h: make the optional constructor arg required instead.
11224 some modifications to other files because of this.
11226 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11228 * lyxserver.C (C_LyXComm_callback): make it static
11230 * lyx_main.C (error_handler): make it static
11232 * lyx_gui.C (LyX_XErrHandler): make it static
11234 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11236 * WorkArea.C: make the extern "C" methods static.
11238 * Makefile.am (lyx_LDADD): simplify
11240 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11242 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11243 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11245 * LyXAction.C (init):
11246 * lyxfunc.C (dispatch): associated code removal.
11248 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11250 * lyxfont.h (isSymbolFont): shut off warning
11252 * text.C (setHeightOfRow):
11253 (getVisibleRow): fix crash with empty paragraphs which have a
11256 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11258 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11261 2001-09-04 José Matos <jamatos@fep.up.pt>
11264 * tabular.C (docbook): rename docBook method to docbook.
11266 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11268 * Makefile.am: add dependencies to main.o.
11270 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11272 * FontLoader.C (available): Return false if !lyxrc.use_gui
11274 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11276 * FontInfo.C (query):
11277 * converter.C (view):
11278 * importer.C (Import):
11279 * exporter.C (Export): Can not -> cannot.
11281 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11283 * BufferView_pimpl.C: allow to create index inset even if
11286 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11288 * buffer.C (getLists): replace boost::tie code with an explicit pair
11289 as boost::tie can break some compilers.
11291 * iterators.h: Added a std:: declaration to the return type of
11294 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11296 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11299 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11301 * iterators.[Ch]: New files. Provide paragraph iterators.
11303 * buffer.C (changeLanguage): Use paragraph iterators.
11304 (isMultiLingual): ditto
11306 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11308 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11310 * FontLoader.C: Support for cmr font.
11312 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11314 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11315 (available): New method.
11317 * FontInfo.C (getFontname): Use scalable fonts even when
11318 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11321 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11323 * converter.C (Formats::view): reverted! Incorrect fix.
11325 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11327 * converter.C (Formats::view): only output the -paper option
11328 if the dvi viewer is xdvi, thereby fixing bug #233429.
11330 2001-08-23 Herbert Voss <voss@perce>
11332 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11334 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11336 * Spacing.h (Spacing): Set space to Default on in the default
11339 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11341 * vc-backend.h (RCS::versionString): add RCS to version
11342 (CVS::versionString): add CVS to version
11344 * vc-backend.C (scanMaster): do not add CVS to version.
11345 (scanMaster): do not add RCS to version
11347 * lyxvc.C (versionString): new method
11349 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11351 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11353 * Spacing.C (set): initialize fval
11355 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11357 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11360 2001-08-16 Juergen Vigna <jug@sad.it>
11362 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11364 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11366 * BufferView_pimpl.C:
11369 * text2.C: setParagraph takes linespacing now
11371 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11373 * LyxAction.C: add internal LFUN_CITATION_INSERT
11375 * LyXView.C: actually apply fix
11377 * bufferlist.C: fix open non-existent file
11379 * lyxfind.C: fix indentation
11381 * lyxfunc.C: remove unneeded assert, fix typo
11383 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11385 * MenuBackend.C: use "Floatname List"
11387 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11389 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11390 when converting LaTeX layout to insetERT.
11391 Generate a non-collapsed float when reading old float
11393 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11395 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11398 2001-08-13 Juergen Vigna <jug@sad.it>
11400 * text.C (fill): return 0 instead of 20 as this seems to be the more
11403 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11405 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11408 2001-08-13 Juergen Vigna <jug@sad.it>
11410 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11412 (SearchBackward): comment out the unlocking of the inset_owner this
11413 should not be needed!
11415 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11417 * Many files: Remove inherit_language, and add latex_language
11419 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11420 collapsible insets.
11422 2001-08-10 Juergen Vigna <jug@sad.it>
11424 * text.C (prepareToPrint): fixed hfill-width in draw!
11426 * BufferView2.C (selectLastWord): save the selection cursor as this
11427 now is cleared in the function LyXText::clearSelection!
11429 2001-08-08 Juergen Vigna <jug@sad.it>
11431 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11432 BACKSPACE type functions.
11434 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11435 is only cutted from the document but not put in the cut-buffer, where
11436 still the old stuff should be.
11438 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11440 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11442 * tabular.C (SetWidthOfCell): fixed special case where the width
11444 (LeftLine): handle '|' in align_special.
11446 (LeftAlreadyDrawed): ditto
11447 (SetWidthOfCell): ditto
11449 2001-08-07 Juergen Vigna <jug@sad.it>
11451 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11453 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11456 * lyxlex.[hC]: ditto
11458 2001-08-06 Juergen Vigna <jug@sad.it>
11460 * text.C (getVisibleRow): fix up row clearing a bit.
11462 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11464 * minibuffer.C: make sure the X server sees the changes in the input.
11466 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11468 * paragraph.C (getFont): split into...
11469 (getLabelFont): this
11470 (getLayoutFont): and this
11471 * paragraph_pimpl.C (realizeFont): calling this
11473 * text2.C (getFont): split into...
11474 (getLayoutFont): this
11475 (getLabelFont): and this
11476 (realizeFont): all three calling this
11478 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11481 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11483 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11485 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11487 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11488 layouts from the Quote inset insertion.
11490 2001-08-03 Juergen Vigna <jug@sad.it>
11492 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11494 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11495 only if status not is already CHANGED_IN_DRAW (second level).
11497 * text.C (draw): don't set the need_break_row when inside an
11500 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * buffer.C (parseSingleLyXformat2Token): handle more latex
11505 * bufferview_funcs.[hC]: change function names to
11506 begin with small char, adjust other files.
11508 2001-08-02 André Pönitz <poenitz@gmx.net>
11511 BufferView_pimpl.C: remove broken special code for math-greek
11513 2001-08-02 Juergen Vigna <jug@sad.it>
11515 * BufferView_pimpl.C (update): redone this function so that we
11516 update the text again if there was a CHANGE_IN_DRAW.
11518 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11519 (drawFromTo): added a new internal bool which is used by draw() and
11521 (general): some cursor drawing problems fixed.
11523 2001-08-01 Juergen Vigna <jug@sad.it>
11525 * lyxfind.C (LyXFind): fixed
11526 (SearchForward): ditto
11527 (SearchBackward): ditto
11529 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11530 spurius drawing of the cursor in the main area.
11532 * text2.C (status): small fix which could lead to a segfault!
11533 (clearSelection): remove unneeded BufferView param.
11535 2001-08-01 André Pönitz <poenitz@gmx.net>
11537 * lyxfunc.C: small change due to changed mathed interface
11539 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11541 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11543 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11545 * lyxfunc.c: fail gracefully if file doesn't exist
11550 * BufferView_pimpl.C: IsDirWriteable() proto changed
11552 * LyXView.C: fix updateWindowTitle() to store the last title
11554 2001-07-31 Juergen Vigna <jug@sad.it>
11556 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11557 the font (wrong since using of Paragraph::highestFontInRange).
11559 * paragraph.C (highestFontInRange): added a default_size parameter.
11561 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11562 (setHeightOfRow): reformat
11564 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11566 * converter.[hC] + affected files: move to (inital-char)lowercase
11569 * ParagraphParameters.C (ParagraphParameters): remove commented code
11571 * PainterBase.[Ch]: remove commented code
11573 * LaTeXFeatures.h: add "bool floats" for float.sty
11575 * LaTeXFeatures.C (LaTeXFeatures): init floats
11576 (require): handle float
11577 (getPackages): do it with floats
11579 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11581 * BufferView_pimpl.C (Dispatch): improve handling of
11582 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11584 * commandtags.h: #include lyxfont.h here temporarily to avoid
11587 * bufferlist.h: include LString.h here.
11589 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11591 * text2.C (getStringToIndex): new method.
11593 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11595 * *: Reduced header file dependencies all over.
11597 2001-07-30 Baruch Even <baruch@lyx.org>
11599 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11601 2001-07-29 Baruch Even <baruch@lyx.org>
11603 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11605 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11607 * ParameterStruct.h (endif): add a default constructor to make
11608 sure that all variables is initialized.
11610 * ParagraphParameters.C (ParagraphParameters): adjust
11612 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11614 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11615 index; also, check that there is something to index, and that it
11616 does not span over several paragraphs.
11617 (doubleClick): use WHOLE_WORD_STRICT for double click.
11619 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11621 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11624 2001-07-26 Baruch Even <baruch@lyx.org>
11626 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11627 an InsetFig figure, backwards compatible reading of old figure code.
11629 2001-07-27 Juergen Vigna <jug@sad.it>
11631 * text2.C: font.realize function adaption.
11633 * text.C (draw): add a warnings lyxerr text if needed.
11635 * layout.C: font.realize function adaption.
11637 * language.C: add inherit_language and implement it's handlings
11639 * bufferview_funcs.C (StyleReset): remove language parameter from
11640 font creation (should be language_inherit now).
11642 * bufferparams.C (writeFile): handle ignore_language.
11644 * paragraph.C (getFontSettings): the language has to be resolved
11645 otherwise we have problems in LyXFont!
11647 * lyxfont.C (lyxWriteChanges): added document_language parameter
11648 (update): removed unneeded language parameter
11650 * paragraph.C (validate): fixed wrong output of color-package when
11651 using interface colors for certain fonts in certain environments,
11652 which should not seen as that on the final output.
11654 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.C:
11661 * LyXAction.C: add thesaurus support
11664 * lyxfind.C: add "once" parameter, for thesaurus, to not
11665 move to the next match
11667 2001-07-26 Juergen Vigna <jug@sad.it>
11669 * lyxfont.C (realize): honor ignore_language too!
11672 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11674 * text.C (draw): one place more for ignore_language to not draw
11677 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11679 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11681 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11683 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11684 the minipage conversion problem.
11686 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11688 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11691 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * BufferView.h: don't forward declare WorkArea
11695 * BufferView.C: don't include WorkArea.h
11697 2001-07-25 André Pönitz <poenitz@gmx.net>
11701 * lyxfunc.C: new LFUN 'math-space'
11703 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11705 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11707 * text2.C (toggleInset): call open/close
11709 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * lyxfunc.C (dispatch): add debug for the disabled case
11713 * font.C (buttonText): make similar to rectText
11715 * buffer.C (readInset): comment out parsing of insetlist and
11718 * PainterBase.C (rectText): small correction
11720 * BufferView_pimpl.C: comment out insettheorem and insetlist
11721 * LyXAction.C: ditto
11722 * commandtags.h: ditto
11724 2001-07-24 Juergen Vigna <jug@sad.it>
11726 * text.C (draw): honor the ignore_language.
11728 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11730 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11732 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11735 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11737 * lyxtext.h: remove unused (and unimplemented) methods
11739 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11741 * text.C (getVisibleRow): honor background color
11744 * Painter.h: remove default color argument for fillRectangle
11746 * text.C (backgroundColor): new method
11748 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11750 * text.C (getVisibleRow): adjust
11752 * font.[Ch] (rectText): new method, metrics
11753 (buttonText): new method, metrics
11755 * PainterBase.[hC]: make rectText and buttonText always draw and take
11758 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11760 * ToolbarDefaults.C (read):
11761 * MenuBackend.C (read): allow escaping in all strings
11763 * BufferView_pimpl.C (insertAndEditInset): new method.
11764 (Dispatch): use insertAndEditInset whenever appropriate.
11766 * BufferView_pimpl.C (insertNote): removed
11768 * BufferView_pimpl.C (smartQuote): new method, moved from
11769 BufferView; if an insetquote cannot be inserted, insert a '"'
11772 * BufferView2.C: remove insertCorrectQuote();
11774 * lyxfunc.C (getStatus): Add support for all remaingin
11775 inset-insert lfuns.
11777 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11779 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11780 command (necessary to pass " as parameter of self-insert.
11782 * text.C (selectWordWhenUnderCursor):
11783 (selectWord): add word_location parameter
11784 (selectWordWhenUnderCursor): same + remove special code for word
11786 (selectNextWord): use kind() to guess type of insetspecialchar,
11789 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11790 (insertErtContents): create ert insets as collapsed.
11791 (readInset): better compatibility code for Info inset.
11793 2001-07-20 Juergen Vigna <jug@sad.it>
11795 * lyxfunc.C (dispatch): use always LyXFind now!
11797 * text2.C (init): add a reinit flag so that the LyXText can be
11798 reinited instead of deleted and reallocated (used in InsetText).
11800 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11806 2001-07-18 Juergen Vigna <jug@sad.it>
11808 * text.C (selectNextWord): handle insets inside inset by calling
11809 always the bv->text functions so that we can go up the_locking_inset!
11811 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11812 in strange locations when inside an inset!
11814 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11815 handling to include insets.
11817 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11819 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11821 * LyXAction.C (init):
11823 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11824 LIGATURE_BREAK, since the name is so stupid.
11826 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11828 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11831 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11833 * sp_form.[Ch]: remove.
11835 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11837 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11840 * src/buffer.C (readInset): ditto.
11842 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11844 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11845 menuSeparator(), endOfSentenceDot(), ldots() and
11846 hyphenationPoint(), which are therefore removed.
11847 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11849 * LyXAction.C (init):
11850 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11852 * paragraph.C (getWord): removed.
11854 * BufferView_pimpl.C (Dispatch): use last word or selection for
11855 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11857 * lyx_main.C (queryUserLyXDir): do not ask before creating
11858 user_dir, except if it has been named explicitely.
11860 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11862 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11863 a document of zero size.
11865 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11867 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11868 approriately in the c-tor and in require().
11869 (getPackages): output the appropriate LaTeX for natbib support.
11871 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11872 variables "use_natbib" and "use_numerical_citations" when reading the
11874 (readInset): read the various natbib cite commands.
11875 (validate): white-space change.
11877 * bufferparams.[Ch]: new variables "bool use_natbib" and
11878 "bool use_numerical_citations".
11879 (writeFile): output them in the LyX file.
11881 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11883 * lyxfunc.C (getStatus): add support for all the inset insertion
11886 * text2.C (insertInset):
11887 * paragraph.C (insetAllowed):
11888 * BufferView_pimpl.C (insertInset): update to take in account the
11889 renaming of insertInsetAllowed
11891 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11893 * text2.C (getInset): new method. returns inset at cursor position.
11895 * BufferView_pimpl.C (Dispatch): changes because of this.
11897 * LyXAction.C (init): rename open-stuff to inset-toggle.
11899 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11901 * text2.C (toggleInset): renamed from openStuff; use
11904 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11906 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11908 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11910 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11912 * buffer.C (readLyXformat2): Add filename to the error dialog
11914 2001-07-18 Juergen Vigna <jug@sad.it>
11916 * tabular.C (GetCellNumber): put an assert here instead of the check!
11918 2001-07-17 Juergen Vigna <jug@sad.it>
11920 * BufferView_pimpl.C (toggleSelection): adapted too.
11922 * text.C (selectNextWord): adapted for use with insets.
11923 (selectSelectedWord): ditto
11925 2001-07-17 Juergen Vigna <jug@sad.it>
11927 * sp_spell.C (PSpell): fix initialitation order.
11929 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * paragraph.C: spacing
11933 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11935 * sp_spell.C: repair language selection for pspell
11937 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11939 * lyxfunc.h: change more methods to begin with lower char.
11941 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11943 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11944 for unknown layouts.
11946 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11948 * buffer.C (readLyXformat2): Generate an error dialog if there are
11951 2001-07-16 Juergen Vigna <jug@sad.it>
11953 * sp_spell.C: always compile ISpell part.
11955 * lyxrc.C: added use_pspell entry and it's handling.
11957 2001-07-13 Juergen Vigna <jug@sad.it>
11959 * sp_spell.C: removed double includes.
11961 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11963 Consistent use of Lsstream.h:
11964 * Lsstream.h: added using std::stringstream for consistencies sake.
11966 * buffer.C: removed using std::stringstream
11968 * lyxfont.C (stateText):
11969 * paragraph.C (asString):
11970 * text.C (selectNextWord, selectSelectedWord):
11971 * text2.C (setCounter):
11972 * vspace.C (asString, asLatexString):
11973 std::ostringstream -> ostringstream.
11975 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11977 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11978 * commandtags.h: add LFUN_HELP_ABOUTLYX
11979 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11981 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11983 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11985 * lyx_gui_misc.C: remove spellchecker
11986 * lyxfunc.C: showSpellchecker
11988 * sp_ispell.h: added
11989 * sp_pspell.h: added
11990 * sp_spell.C: added
11991 * sp_form.[Ch]: removed
11992 * spellchecker.[Ch]: removed
11994 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11996 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11998 (simpleTeXSpecialChars): Simply print the input character without
11999 any special translation if pass_thru is set.
12001 * layout.h: Added bool pass_thru to layout class for being able to
12002 implement pass through of a paragraph for Literate Programming.
12004 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12005 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12006 * layout.C (Read): add "passthru" to list of layout tags and add
12007 code to set the pass_thru boolean when it is read.
12009 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12011 * trans_decl.h: remove allowed from KmodInfo
12013 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12014 remove allowed code
12017 * paragraph_pimpl.C (erase): use boost::prior
12019 * Painter.C (text): use data() instead of c_str() when length is
12021 * WorkArea.C (putClipboard): ditto
12022 * font.h (width): ditto
12024 * BufferView2.C: use it-> instead of (*it). for iterators
12026 * paragraph_pimpl.C: ditto
12027 * paragraph.C: ditto
12028 * minibuffer.C: ditto
12029 * language.C: ditto
12031 * encoding.C: ditto
12032 * counters.C: ditto
12033 * converter.C: ditto
12035 * Variables.C: ditto
12036 * TextCache.C: ditto
12037 * MenuBackend.C: ditto
12038 * LyXAction.C: ditto
12040 * FloatList.C: ditto
12041 * DepTable.C: ditto
12042 * ColorHandler.C (LyXColorHandler): ditto
12044 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12046 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12048 * text2.C (openStuff): reintroduce this method (which had been
12049 nuked in NEW_INSETS frenzy).
12051 * lyxfunc.C (Dispatch): when an action has not been handled, use
12052 its name in the error message, not its number.
12054 * paragraph.C (inInset): change method name to begin with lowercase.
12057 * text2.C: updates because of this.
12059 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12061 * ToolbarDefaults.C (add): add spaces in error message
12063 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12065 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12066 (readLyXformat2): rename return_par to first_par, use lyxlex's
12067 pushToken and remove the manual push handling.
12068 (parseSingleLyXformat2Token): add another ert comp. variable:
12069 in_tabular, rename return_par to first_par. handle newlines better
12071 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12073 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12075 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12077 * text2.C (getParFromID): removed
12079 * buffer.C (getParFromID): new method moved form lyxtext.
12080 * BufferView2.C (insertErrors): adjust
12081 (setCursorFromRow): adjust
12082 * BufferView_pimpl.C (restorePosition): adjust
12083 * lyxfunc.C (Dispatch): adjust
12084 * undo_funcs.C (textUndo): adjust
12086 (textHandleUndo): adjust
12087 (textHandleUndo): adjust
12089 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * buffer.C: up' the LYX_FORMAT
12093 * lyxfont.h: turn NO_LATEX on as default
12095 * buffer.C (insertErtContents): new methods of tex style compability.
12096 (parseSingleLyXformat2Token): use it several places.
12097 * tabular.C (OldFormatRead): and here
12099 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * text2.C: remove some commented code.
12104 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12105 * trans.C: changes because of the above.
12107 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12109 * text2.C (setCounter): Fix counters bug with bibliography layout.
12111 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12114 own member functions
12115 (simpleTeXSpecialChars): ditto
12117 2001-07-06 Juergen Vigna <jug@sad.it>
12119 * a lot of files: changed the access to LyXText::status and the
12120 call of undo-functions.
12122 * undo.[Ch]: added a inset_id to the undo informations.
12124 * undo_funcs.[Ch]: added and moved here all undo functions.
12126 * lyxtext.h: give the status enum a weight, made status_ a private
12127 variable and made accessor functions for it, removed the whole bunch
12128 of undo-functions as they are now in their own file, make some
12129 functions publically available. Added function ownerParagraph with
12132 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12133 made InInset() a const function, added getParFromID() function.
12135 * buffer.[Ch]: added const version for inset_iterator functions,
12136 added getInsetFromID() function.
12138 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12139 changed undo functions for new version.
12141 2001-07-05 Juergen Vigna <jug@sad.it>
12143 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12144 unknow mechanism does not call the proper constructor but only this
12145 one also if I request the other!?
12147 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12149 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12151 * text2.C (LyXText): use initialization lists.
12153 * lyxtext.h (Selection): initialize set_ and mark_
12154 (init): remove method
12156 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12158 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12160 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * screen.[Ch]: change method names to begin with lowercase
12164 * BufferView_pimpl.C (updateScrollbar): simplify further and
12165 hopefully make it a bit faster.
12167 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12169 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12170 calling directly xforms functions.
12172 * Painter.C (Painter):
12173 * lyx_cb.C (MenuWrite):
12174 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12177 * lyx_gui.C: remove bogus guiruntime extern declaration.
12179 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12181 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12183 (redoDrawingOfParagraph): ditto
12184 (redoParagraphs): ditto
12185 (cutSelection): don't create a object for CutAndPaste use the
12186 static method directly
12187 (pasteSelection): ditto
12189 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12192 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12194 * modifications to some other files because of this.
12196 * Makefile.am (lyx_SOURCES): add XFormsView
12198 * XFormsView.[Ch]: new files
12200 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12201 the main window. Move the gui dependent stuff to XFormsView
12203 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12205 * tabular.C (GetCellInset): update cur_cell also in the row/col
12206 version of this function.
12208 * lyxfunc.C: no need to include figure_form.h here.
12214 * lyxvc.C: no need to include forms.h here.
12216 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12218 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12220 * lyxfunc.C (Dispatch):
12222 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12223 constructor argument.
12225 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * paragraph.C (Paragraph): dont't clear, and just set layout.
12228 (makeSameLayout): use params's copy contructor.
12230 * ParagraphParameters.[Ch] (makeSame): delete method
12232 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12234 * Variables.[Ch]: fix indentation, rename set to isSet
12236 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12238 * lyxfunc.C (Dispatch): fix typo
12240 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12242 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12245 * bufferlist.C: include assert.h for emergencyWrite().
12247 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12249 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12250 give up at last (bug #425202) !
12252 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12258 * spellchecker.C: strip spellchecker options and bring up
12259 preferences tab instead
12261 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12264 the istringstream constructor
12266 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12268 * paragraph.C (getLayout): fix return value
12270 * paragraph.h: do not declare getLayout as inline.
12272 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12274 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * lyxcursor.h (operator<): new func
12277 (operator>): new func
12278 (operator>=): new func
12279 (operator<=): new func
12281 * text.C (changeCase): use selection.start and selection.end
12282 (changeRegionCase): require from to be <= to. Require par to be a
12285 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12287 2001-06-27 Juergen Vigna <jug@sad.it>
12289 * text.C (cursorLeftOneWord): changed to return the cursor and added
12290 overlay with BufferView * parameter which calls this one.
12292 (selectWord): use new getWord function.
12293 (changeCase): renamed from changeWordCase as and extended to work
12294 also on selections.
12296 * lyxtext.h: added enum word_location
12298 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12299 changeCase as this operates now also on selections.
12301 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12303 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12305 * many files: send debug output to Debug::INFO instead of
12308 * converter.C (View):
12310 (Move): send debug output to Debug::FILES instead of console.
12312 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12314 * lyxfunc.C (getStatus): use func_status
12316 * func_status.h: new header, describing the results of
12317 LyXFunc::getStatus;
12319 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12322 2001-06-25 The LyX Project <jug@sad.it>
12324 * buffer.C (sgmlOpenTag):
12326 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12328 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12330 * text2.C: remove some dead code
12332 * tabular.C (GetCellInset): store the last cell checked (gotten)
12334 * tabular.h: add the helper for the speedup
12336 * lyxtext.h: remove some dead code
12338 2001-06-26 The LyX Project <Asger>
12340 * paragraph.C: Change export to LaTeX of alignment to
12341 \begin{center} and family for better roundtrip work with reLyX.
12343 * Tune the math drawing a bit.
12345 2001-06-25 The LyX Project <Asger>
12347 * LColor.C (LColor): New color for math background. New color
12350 2001-06-25 The LyX Project <jug@sad.it>
12352 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12354 * lyxfunc.C (Open):
12355 * bufferlist.C (newFile): do not restrict to files ending with
12358 * BufferView_pimpl.C (MenuInsertLyXFile):
12360 2001-06-24 The LyX Project <jug@sad.it>
12362 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12365 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * lyxtext.h: rename most methods to begin with a small char.
12368 Lots of changes because of this.
12370 * paragraph.C (Paragraph): do not call fitToSize
12371 (erase): call Pimpl::erase
12372 (insertChar): call Pimpl::insertChar
12373 (insertInset): call Pipl::insertInset
12374 (breakParagraph): do not call fitToSize
12375 (breakParagraphConservative): do not call fitToSize
12376 (fitToSize): remove method
12378 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12380 2001-06-24 The LyX Project <Asger>
12382 * Fix Qt compilation^2
12384 2001-06-24 The LyX Project <jug@sad.it>
12386 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12387 depthHook(getDepth()-1).
12390 * ParagraphParameters.h:
12391 * ParameterStruct.h: change type of depth to unsigned int ==
12392 depth_type. Many adaptations to other files before of that.
12394 2001-06-24 The LyX Project <Asger>
12396 * Fix Qt compilation.
12398 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12400 * paragraph.h: renamed several methods to begin with small letter.
12401 several changes to many parts of the code because of this.
12403 2001-06-23 The LyX Project <jug@sad.it>
12405 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12406 rewritten to discard all double spaces when KeepEmpty is off
12407 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12408 to only handle newlines but not fiddle with spaces and friends.
12410 * lyxfunc.C (MenuNew): when doing 'new from template', use
12411 template_path as default directory
12413 2001-06-23 The LyX Project <Asger>
12415 * Clean-up of header file includes all over
12416 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12418 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12420 * paragraph.h: renamed from lyxparagraph.h
12422 2001-06-23 Asger <lyx@violet.home.sad.it>
12424 * Buffer.h: Removed Buffer::resize
12425 * BufferList.h: Removed BufferList::resize
12426 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12427 the document lazily when we change the width, or the font settings.
12429 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12431 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12433 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12435 * buffer.h: remove out of date comment
12437 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12440 * screen.C: fix "theoretical" GC leak
12442 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12444 * LaTeX.C (scanAuxFile):
12445 (deplog): remove trailing \r when reading stream (useful under
12448 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12450 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12451 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12452 and BufferView::theLockingInset(Inset*), so should use them and not
12453 access bv_->text->the_locking_inset directly.
12455 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12457 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12460 * tex-defs.h: remove old unused file
12462 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12464 * BufferView_pimpl.C: fix typo, remove minibuffer message
12465 when buffer has loaded
12467 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * lyxfunc.C (Dispatch): use stringstream
12470 (MenuNew): use stringstream
12471 (Open): use stringstream
12473 * importer.C (Import): use stringstream
12475 * bufferview_funcs.C (CurrentState): use stringstream
12477 * LaTeX.C (run): use stringstream
12479 * BufferView_pimpl.C (savePosition): use stringstream
12480 (restorePosition): use stringstream
12481 (MenuInsertLyXFile): use stringstream
12483 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12496 * vspace.C: removed // -*- C++ -*- as first line.
12499 * version.h: added // -*- C++ -*- as first line.
12501 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12503 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12505 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12508 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12510 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12513 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12515 * gettext.C: include LString.h even when --disable-nls is on.
12517 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12519 * converter.h (Get): changed argument type from int to
12520 FormatList::size_type to avoid unnecessary conversion.
12522 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12525 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12527 * gettext.h: include LString.h even when --disable-nls is on.
12529 2001-06-07 Juergen Vigna <jug@sad.it>
12531 * text.C (BreakAgain): subst spaces with tabs.
12533 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12534 (resizeInsetsLyXText): set force on resizeLyXText.
12536 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12538 * gettext.h (gettext_init):
12539 (locale_init): use a real definition instead of a macro
12541 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12543 * Bufferview_pimpl.C:
12545 * LColor.C: further lcolor tidies
12547 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * BufferView_pimpl.C (updateScrollbar): simplify.
12551 * BufferView2.C: don't include insets/insetinfo.h, change
12552 prototype for insertInset and call the Pimpl version. let
12553 updateInset call Pimpl version.
12555 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12556 gotoInset to BufferView::Pimpl
12558 2001-06-01 Juergen Vigna <jug@sad.it>
12560 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12561 inside a LockingInset (is the update needed at all?).
12563 2001-05-31 Juergen Vigna <jug@sad.it>
12565 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12566 here not the old one otherwise how should we compare it afterwards
12569 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12574 * FontInfo.C: bring C functions into global namespace when
12577 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12579 * LString.h: make sure config.h has been loaded before LString.h.
12581 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12582 (one for each char read by EatLine!).
12584 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12587 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12589 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12590 to the same as the par we break from
12592 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12596 * MenuBackend.C (expand): also create menu entries for wide
12597 versions of the floats.
12599 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12601 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12603 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12604 frontends/Makefile.am
12610 * tabular.C (getTokenValue): add std::
12612 * tabular-old.C (getTokenValue): add std::
12613 (getTokenValue): ditto
12614 (getTokenValue): ditto
12616 * screen.C (ToggleSelection): adjust
12618 * lyxtext.h: put selection cursors inside a Selection struct.
12620 * lyxfunc.C (moveCursorUpdate): adjust
12622 * lyxfont.C (latexWriteStartChanges): add std::
12624 * lyxfind.C: adjust
12626 * font.h: delete with(char const *, LyXFont const &)
12628 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12630 * FontInfo.C (getFontname): add std::
12632 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12633 (workAreaButtonPress): adjust
12634 (tripleClick): adjust
12636 (moveCursorUpdate): adjust
12639 * BufferView2.C (gotoInset): adjust
12641 2001-05-30 Juergen Vigna <jug@sad.it>
12643 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12644 to check pspell I add this as default as I now have new pspell
12645 libraries and they seem to use this.
12647 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12649 * text2.C (CutSelection): make the cursor valid before the call to
12652 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12654 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12655 relied on 0 terminated strings and other horrors. Bug found due to
12656 the new assert in lyxstring!
12658 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12661 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12666 * lyxfunc.C (processKeySym): change method of getting to the
12669 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12670 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12671 * BufferView_pimpl.[Ch]: here as private methods.
12673 2001-05-28 Juergen Vigna <jug@sad.it>
12675 * text.C (SetHeightOfRow): added the update() call again as it is
12676 needed to initialize inset dimensions!
12678 2001-05-16 Juergen Vigna <jug@sad.it>
12680 * text2.C (SetCharFont): Add new function with BufferView * and
12681 bool toggleall parameters for setting insets internal fonts.
12682 (SetFont): Freeze the undo as we may change fonts in Insets and
12683 all this change should be inside only one Undo!
12685 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12686 setting font's in insets as for them we have the SetFont function!
12688 2001-05-15 Juergen Vigna <jug@sad.it>
12690 * text2.C (ClearSelection): to be sure we REALLY don't have any
12693 * tabular.C (TeXCellPreamble): fixed the left border problem for
12696 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12698 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12701 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12704 LFUN_BREAKPARAGRAPH.
12706 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12707 help test to "internal only", similar for LFUN_INSERT_URL
12709 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12710 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12711 auto_region_delete and deadkeys.
12713 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12716 * LColor.C: remove some dead entries, tidy a little
12718 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12722 (Dispatch): implement LFUN_ESCAPE
12724 * commandtags.h: add LFUN_ESCAPE
12726 * LyXAction.C (init): add entry for LFUN_ESCAPE
12728 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12729 Remove commented code.
12730 (insertNote): moved here
12731 (open_new_inset): moved here
12733 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12736 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * kbmap.C (findbinding): clean it up and make it work correctly.
12740 * lyx_main.C (init): do not pass argc and argv as parameters
12742 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12744 * buffer.C: fix path for OS/2 & Win32
12748 * lyx_main.C: Added os:: class.
12750 * os2_defines.h: update
12752 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12755 better by trying again with reduced state.
12757 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12759 * lyxrc.C (read): print error about invalid key sequence only when
12760 debugging (because not all latinX keysyms are known to some X
12763 * kbsequence.C (getiso): add a few std:: qualifiers
12764 (getiso): comment out extra return statement.
12766 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12768 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12770 (Dispatch): enhance the accent inset a bit. (not perfect)
12772 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12776 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12778 * bufferlist.C (emergencyWrite): fix assert() call
12780 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12782 * text.C (InsertChar): Added trivial patch to only send the "you
12783 can not do multiple spaces this way" message once during a
12786 2001-05-08 Baruch Even <baruch@lyx.org>
12788 * Makefile.am: Changed order of libraries to get LyX to link properly
12789 with the gnome frontend.
12791 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12793 * LaTeXFeatures.h: add a std:: qualifier
12795 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * paragraph.C (String): use stringstream
12799 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * paragraph.C (writeFile): remove footflag arg
12803 * buffer.C (makeLaTeXFile): use stringstream
12804 (latexParagraphs): remove footnot gurba
12806 * LaTeXFeatures.C (getPackages): use stringstream
12807 (getMacros): likewise
12808 (getTClassPreamble): likewise
12809 (getFloatDefinitions): new method
12811 * paragraph.C (writeFile): reindent
12814 * WorkArea.h: revert the xpos + etc changes.
12816 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12818 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12820 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12821 (pasteSelection): likewise
12822 * text2.C (CreateUndo): likewise
12824 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * minibuffer.C (peek_event): temporarily reduce the functionality
12827 of the minibuffer (to allow args on lfuns)
12829 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12830 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12832 * buffer.C (readInset): add compability reading of old float
12833 lists, add reading of new style float list.
12834 (readInset): avoid reevaluation of inscmd.getCmdName()
12835 (getLists): reindent
12837 * MenuBackend.C (MenuItem): implement parsing of
12838 md_floatlistinsert and md_floatinsert.
12839 (expand::LastFiles): move initalizaton of iterators out of loop,
12840 avoid reevaluation.
12841 (expand::Documents): introduce typdedef vector<string> Strings,
12843 (expand::ExportFormats): introduce typedef vector<Format const *>
12844 Formats, and use it.
12845 (expand): implement FloatListInsert and FloatInsert.
12847 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12848 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12849 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12851 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12853 (Dispatch::LFUN_FLOAT_LIST): implement
12855 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12857 * LaTeX.C (run): Fix problem with --export code.
12859 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12861 * BufferView.[Ch] (workarea): removed.
12862 (getClipboard) new method; wrapper for workarea()->getClipboard()
12864 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12867 * WorkArea.h (width, height, xpos, ypos): These methods all
12868 returned the dimensions of the work_area sub-area of WorkArea,
12869 resulting in a position error if the WorkArea were resized. Now
12870 return the dimensions of the entire WorkArea.
12872 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12874 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12876 * LaTeX.C (deplog): correct the syntax of regex reg1
12878 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * undo.C: remove !NEW_INSETS cruft
12882 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12884 * text2.C: remove !NEW_INSETS cruft
12886 * text.C: remove !NEW_INSETS cruft
12888 * tabular.C: remove !NEW_INSETS cruft
12890 * spellchecker.C: remove !NEW_INSETS cruft
12892 * lyxtext.h: remove !NEW_INSETS cruft
12894 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12896 * lyxfunc.C: remove !NEW_INSETS cruft
12898 * lyxfind.C: remove !NEW_INSETS cruft
12900 * lyx_cb.C: remove !NEW_INSETS cruft
12902 * figureForm.C: remove !NEW_INSETS cruft
12904 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12906 * buffer.[Ch]: remove !NEW_INSETS cruft
12908 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12910 * CutAndPaste.C: remove !NEW_INSETS cruft
12912 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12914 * BufferView2.C: remove !NEW_INSETS cruft
12916 * BufferView.h: remove !NEW_INSETS cruft
12918 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12920 * Lsstream.h: include LString.h before the sstream headers to
12921 fix problem with gcc 2.95.3 and lyxstring
12923 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12925 * lyx_main.C: add using directives when needed for C functions
12926 declared in std:: namespace.
12928 2001-04-27 Juergen Vigna <jug@sad.it>
12930 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12931 (SetHeightOfRow): comment out the update call should not be needed!
12933 2001-04-13 Juergen Vigna <jug@sad.it>
12935 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12936 (LyXTabular): tried to minimize operator= operations (and realized
12937 hopfully Lars wish).
12939 2001-04-27 Juergen Vigna <jug@sad.it>
12941 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12943 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12947 * buffer.C (readInset): hack to make listof algorithm work
12949 * BufferView_pimpl.C: hack to make listof algorithm work
12951 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * LyXAction.C: removed all !NEW_INSETS cruft
12954 (init): moved lfun_item in method
12956 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12958 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12960 * BufferView2.C (theLockingInset): white space.
12962 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * minibuffer.C: include <iostream>
12966 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12968 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12970 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12972 * text.[Ch] (TransposeChars): new method
12974 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12976 * call message directly through LyXView instead of through LyXFunc
12977 * BufferView2.C: adjust
12978 * BufferView_pimpl.C: adjust
12979 * FontLoader.C: adjust
12981 * bufferview_funcs.C: adjust
12982 * converter.C: adjust
12983 * figureForm.C: adjust
12984 * importer.C: adjust
12986 * lyx_gui_misc.C: adjust
12987 * lyxfunc.C: adjust
12990 + more files in subdirs
12992 * lyxparagraph.h (size): move up int file
12995 * adjust all uses of Assert to lyx::Assert.
12997 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12998 lyxfunctional in namespace lyx
12999 * layout.C (hasLayout): ditto
13002 (delete_layout): ditto
13003 (NumberOfClass): ditto
13004 * converter.C (GetFormat): ditto
13009 * bufferlist.C (getFileNames): ditto
13010 (emergencyWriteAll): ditto
13013 * MenuBackend.C (hasSubmenu): ditto
13016 * BufferView_pimpl.C (getInsetByCode): ditto
13018 2001-04-18 Juergen Vigna <jug@sad.it>
13020 * vspace.C (asLatexString): fixed the 100% problem.
13022 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13024 * lyxfunc.C (Dispatch):
13026 * minibuffer.h: add a few std:: qualifiers
13028 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * minibuffer.[Ch]: reimplement so that commands is initiated and
13031 run from lyxfunc, simplified som handling, and made the completion
13032 and history code for complete. wip.
13034 * lyxfunc.C (processKeySym): call message
13035 (miniDispatch): new temporary method
13036 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13037 (LFUN_MESSAGE): implement
13038 (LFUN_MESSAGE_PUSH): implement
13039 (LFUN_MESSAGE_POP): implement
13040 (initMiniBuffer): the initial/defualt minibuffer message.
13042 * lyxfont.[Ch]: inline some more getters
13044 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13046 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13048 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13049 (AutoSave): use LFUN_MESSAGE
13050 (Reconfigure): ditto
13052 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13054 * figureForm.C: use LFUN_MESSAGE
13056 * converter.C (runLaTeX): use LFUN_MESSAGE
13058 * bufferview_funcs.C: use LFUN_MESSAGE
13060 (changeDepth): ditto
13062 * bufferparams.h: use boost::
13064 * bufferlist.h: inherit privately from noncopyable
13066 * bufferlist.C (loadLyXFile): remove some commented code.
13068 * buffer.C (runChktex): use LFUN_MESSAGE
13070 * ShareContainer.h: inherit privately from noncopyable
13072 * ParagraphParameters.[hC] (depth): inline it.
13074 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13076 (message): new method
13077 (messagePush): ditto
13078 (messagePop): ditto
13079 (show): init minibuffer
13080 (showState): direct call
13082 * LaTeX.[Ch]: inherit privately from noncopyable
13083 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13084 instead of WriteStatus.
13086 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13088 * BufferView_pimpl.C (buffer): don't init minibuffer
13089 (workAreaButtonPress): use LFUN_MESSAGE
13090 (workAreaButtonRelease): ditto
13091 (savePosition): ditto
13092 (restorePosition): ditto
13093 (MenuInsertLyXFile): ditto
13094 (workAreaExpose): don't init minibuffer
13095 (update): remove commented code, simplify
13097 * BufferView2.C (openStuff): use LFUN_MESSAGE
13098 (toggleFloat): ditto
13101 (copyEnvironment): ditto
13102 (pasteEnvironment): ditto
13107 (updateInset): remove some commented code
13109 * lastfiles.h: inherit privately from noncopyable
13112 * lyx_main.h: ditto
13114 * lyxlex_pimpl.h: ditto
13116 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13117 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13118 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13120 * LyXAction.h: inherit privately from noncopyable, add methods
13121 func_begin, func_end, returning iterators to the func map.
13123 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13124 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13125 (func_begin): new method
13126 (func_end): new method
13128 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13130 (copySelection): ditto
13131 (pasteSelection): ditto
13133 * BufferView.C: whitespace change
13134 * BufferView.h: inherit privately from noncopyable
13136 2001-04-16 Allan Rae <rae@lyx.org>
13138 * tabular-old.C (l_getline):
13139 * spellchecker.C (sc_check_word):
13140 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13141 an unrecognised preprocessor directive. So ensure they're wrapped.
13143 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13145 * src/exporter.C (Export): Give an error message when path to file
13148 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13150 * LaTeX.C (deplog): Always check that foundfile exists.
13152 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13155 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13157 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * tabular.[Ch] (getLabelList): implement new method
13161 * minibuffer.h: comment ouf setTiimer
13163 * minibuffer.C (ExecutingCB): constify res
13164 (peek_event): constify s
13165 (Set): constify ntext
13166 (Init): constify nicename
13168 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13170 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13171 (savePosition): use two params to Minibuffer::Set
13172 (restorePosition): ditto
13174 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13176 * lyx_main.C: include language.h
13178 * Makefile.am (lyx_main.o): add language.h
13180 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * CutAndPaste.C: include gettext.h
13188 * lyxfont.h: remove old hack with ON and OFF.
13191 * lyxfont.h: do not include language.h...
13196 * bufferview_funcs.C:
13202 * paragraph.C: ... but do it here instead
13204 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13208 * tabular.C: small reformat
13210 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13213 (BreakParagraph): ditto
13214 (SetOnlyLayout): ditto
13217 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13220 * lastfiles.C: removed most using decl, add std:: where needed
13222 * buffer.C: ws changes
13224 * MenuBackend.C (class compare_format): put into anon namespace
13225 (expand): constify label, names, action, action2
13228 * text.C (SingleWidth): constify font
13229 (IsBoundary): constify rtl2
13230 (GetVisibleRow): constify ww
13232 * LaTeX.C (deplog): constify logfile
13234 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13236 (workAreaExpose): constify widthChange, heightChange
13238 * lyxrow.C (par): moved
13241 * lyxrow.h: as inlines here
13243 * lyxfont.h (shape): moved from lyxfont.C
13244 (emph): moved from lyxfont.C
13246 * lyxfont.C (LyXFont): use initialization list for all
13248 (shape): move to lyxfont.h as inline
13249 (emph): move to lyxfont.h as inline
13252 2001-04-04 Juergen Vigna <jug@sad.it>
13254 * vspace.C: had to include stdio.h for use of sscanf
13256 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13259 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13260 independent of xforms.
13262 2001-04-02 Juergen Vigna <jug@sad.it>
13264 * spellchecker.C: fixed namespace placing!
13266 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13268 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13269 the LyXParagraph * is 0.
13271 2001-03-29 Juergen Vigna <jug@sad.it>
13273 * vspace.C: added support for %, c%, p%, l%.
13274 (stringFromUnit): added helper function.
13275 (asLatexString): changed to give right results for the %-values.
13277 * buffer.C: convert the widthp in a width%.
13279 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13281 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13284 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13285 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13287 * lyx_cb.[Ch]: see above.
13289 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13293 * lyx.[Ch]: replaced by figure_form.[Ch].
13297 * lyxfunc.C: changed headers associated with above changes.
13299 2001-03-27 Juergen Vigna <jug@sad.it>
13301 * BufferView_pimpl.C: set the temporary cursor right!
13303 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13305 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13307 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13309 * LString.h: removed "using std::getline"!
13311 * BufferView_pimpl.C (Dispatch): changes due to changes in
13312 InsetInclude::Params.
13314 * buffer.C (tag_name): removed redundant break statements as they were
13315 producing lots of warnings with my compiler.
13317 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13319 * LString.h: add "using std::getline" when using the real <string>.
13321 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13323 * buffer.C: removed bitset usage.
13324 PAR_TAG moved to an anonymous name space.
13325 (tag_name): new funtion, also in the anonymous namespace.
13326 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13327 (makeDocBookFile): clean code. Completed transition from string arrays
13329 (SimpleDocBookOnePar): code clean.
13331 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13333 * tabular.C: add some comments.
13335 2001-03-22 Juergen Vigna <jug@sad.it>
13337 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13338 compatibility read a bit and fixed bug with minipage in different
13341 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13343 * buffer.C (pop_tag): removed.
13344 (push_tag): removed.
13345 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13346 array replaced with vector. Added support for CDATA sections.
13347 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13349 (makeDocBookFile): XML conformant declaration of CDATA section,
13350 fixed bug related to <emphasis> in the first paragraph char.
13351 (sgmlOpenTag): exclude empty tags.
13352 (sgmlCloseTag): ditto.
13354 * buffer.h (pop_tag): removed.
13355 (push_tag): removed.
13357 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13359 * language.h (Languages): added size_type and size().
13361 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13363 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13364 response on compability reading of minipages. One probliem is that
13365 the old usage of minipages was «flertydig»
13367 * several files here and in subdirs: don't use static at file
13368 scope use anon namespaces instead.
13370 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13372 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13373 LaTeX output. This is necessary for Literate document
13376 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13378 * buffer.C: insert hfill when needed.
13380 * tabular.C (l_getline): use string::erase, small whitespace change.
13382 * BufferView_pimpl.C: try the anon namespace.
13383 * WorkArea.C: ditto
13385 2001-03-16 Juergen Vigna <jug@sad.it>
13387 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13388 otherwise it won't open options-dialogs.
13390 * buffer.C: honor pextraWidth(p) on converting minipages.
13392 * tabular.C (l_getline): changed the functions to strip trailing \r.
13394 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13396 * BufferView_pimpl.C:
13397 * minibuffer..C: added "using SigC::slot" declaration.
13399 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13401 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13407 * paragraph.C: ditto
13409 * lyxtext.h: NO_PEXTRA
13411 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13413 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13414 * ParameterStruct.h: ditto
13415 * ParagraphParameters.h: ditto
13416 * lyxparagraph.h: ditto
13418 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13420 * buffer.C: add compability for minipage alignment.
13421 (latexParagraphs): remove unwanted pextra check.
13423 * several files: remove CXX_WORKING_NAMESPACES
13425 * buffer.C (pop_tag): tie is in namespace boost
13427 * BufferView.h: noncopyable is in namespace boost
13429 * lyx_main.h: ditto
13432 * lastfiles.h: ditto
13433 * bufferlist.h: ditto
13434 * ShareContainer.h: ditto
13436 * LyXAction.h: ditto
13439 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13441 * Merging changes from BRANCH_MVC back into HEAD.
13443 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13445 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13447 * BufferView_pimpl.C: change from intl.C
13451 * Makefile.am: move combox.*
13457 * intl.C: remove dialog (covered by prefs)
13459 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13461 * lyxfunc.C (Dispatch): removed redundant break statement.
13463 2001-03-14 Juergen Vigna <jug@sad.it>
13465 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13467 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13469 * buffer.C: add hack to fix compability reading of minipages.
13471 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13473 * buffer.C (getLists): Cleanup.
13475 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13477 * lyxfont.C (update): don't honor toggleall on font size.
13479 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13483 * Makefile.am: moved to frontends/xforms/
13487 * BufferView_pimpl.C: changes for moved mathpanel
13489 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13491 * gettext.h: fix gettext_init() in --disable-nls
13493 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13497 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13500 * lyx.h: strip external form
13502 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13504 * BufferView_pimpl.C: add comment, destroySplash()
13506 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13508 * BufferView_pimpl.C:
13512 * lyxfunc.C: use re-worked insetinclude
13514 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13516 * buffer.C: add using std::stringstream.
13518 * lyx_cb.C: readd using std::ios.
13520 * buffer.C: add using std::map.
13522 * BufferView_pimpl.C: add using std::vector.
13524 * ShareContainer.h: add std:: to swap.
13526 * buffer.h: add some typedefs
13527 * buffer.C (getLists): use them
13528 (getLists): renamed from getTocList.
13529 add a counter for the different float types and use it in the
13531 (getLists): use the same counter for the NEW_INSETS and the "non"
13534 * lyx_cb.h: remove unused items, includes, using etc.
13536 * ShareContainer.h: remove some commented code, add more comments
13537 and "documentation".
13539 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13541 * buffer.C (getTocList): make the list also when NEW_INSETS is
13544 * buffer.h: remove TocType
13546 * buffer.C (getTocList): change to return a map<string,
13547 vector<TocItem> >, implement for dynamic number of list.
13549 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13550 * text2.C (PasteSelection): adjust
13551 * CutAndPaste.C (pasteSelection): adjust
13553 * FloatList.C (FloatList): update from the new_insets branch.
13554 * Floating.[Ch]: ditto
13555 * LaTeXFeatures.C: ditto
13557 * lyxlex_pimpl.C: ditto
13559 * paragraph.C (Last): remove when NEW_INSETS is defined.
13561 * other file: changes because of the above.
13563 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13565 * lyxparagraph.h: rename next to next_, previous to previous_,
13566 make them private for NEW_INSETS. Rename Next() to next(),
13567 Previous() to previous().
13569 * other files: changes because of the above.
13571 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13574 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13577 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13579 * main.C (main): pass lyx_localedir to gettext_init().
13581 * gettext.h: remove locale_init and gettext_init macros
13583 * gettext.C (locale_init): new function
13584 (gettext_init): new function
13586 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13589 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13591 * Moved credits to frontends:
13592 * credits.[Ch]: removed
13593 * credits_form.[Ch]: removed
13594 * lyx_gui_misc.C: remove credits stuff
13597 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13599 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13601 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13602 unneeded destructor.
13604 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13605 a standalone pointer again.
13607 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13609 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13615 * ToolbarDefaults.C:
13624 * BufferView_pimpl.C: use new file dialog in GUII
13627 * lyx_cb.C: remove LayoutsCB to Toolbar
13629 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * ShareContainer.h (get): add std:: qualifier
13633 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13635 * ShareContainer.h: define a proper ShareContainer::value_type
13636 type (and use typename to please compaq cxx)
13638 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13640 * lyxparagraph.h: move serveral local vars to
13641 ParameterStruct/ParagraphParameters., use ShareContainer in
13642 FontTable., make vars in FontTable private and add getter and
13645 * paragraph.C: changes because of the above.
13647 * lyxfont.h: remove copy constructor and copy assignment. (the
13648 default ones is ok), move number inside FontBits. move inlines to
13651 * lyxfont.C: add number to initializaton of statics, move several
13652 inlines here. constify several local vars. some whitespace
13653 cleanup. Dont hide outerscope variables.
13655 * Spacing.h: add two new constructors to match the set methods.
13657 * ShareContainer.h: new file, will perhaps be moved to support
13659 * ParameterStruct.h: new file
13661 * ParagraphParameters.h: new file
13663 * ParagraphParameters.C: new file
13665 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13666 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13668 * BufferView_pimpl.C: ParagraphParameter changes.
13669 * buffer.C: Likewise.
13670 * bufferview_funcs.C: Likewise.
13671 * text.C: Likewise.
13672 * text2.C: Likewise.
13674 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13676 * lyxfind.C (LyXReplace): do not redefine default argument in
13678 (IsStringInText): ditto
13679 (SearchForward): ditto
13680 (SearchBackward): ditto
13682 2001-03-06 Juergen Vigna <jug@sad.it>
13684 * lyxfind.C (IsStringInText): put parentes around expressions.
13686 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13688 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13690 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13692 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13694 * stl_string_fwd.h: add comment
13696 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13699 * tabular.C: remove unused DocBook methods
13705 killed DO_USE_DEFAULT_LANGUAGE
13707 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13709 * lyx_gui.C: do not include language.h.
13711 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13712 arguments in function implementation.
13714 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13716 * BufferView_pimpl.C: add <ctime>
13718 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13720 * BufferView_pimpl.C: add using std::find_if
13722 2001-02-27 José Matos <jamatos@fep.up.pt>
13724 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13727 2001-02-11 José Matos <jamatos@fep.up.pt>
13729 * buffer.C (makeDocBookFile): command styles now have a parameter as
13730 "title" by default.
13732 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13734 * layout_forms.[Ch]: removed
13735 * lyx_cb.[Ch]: out character
13736 * lyx_gui.C: out character
13737 * lyx_gui_misc.C: out character
13738 * bufferview_funcs.C: : out character,
13739 added toggleall as parameter in ToggleAndShow
13741 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13743 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13745 * text2.C (SetCurrentFont): Disable number property at boundary.
13747 2001-02-26 Juergen Vigna <jug@sad.it>
13749 * lyxfunc.C (getStatus): added a string argument override function so
13750 that this is correctly called from LyXFunc::Dispatch if it contains a
13751 do_not_use_argument which is used!
13752 (Dispatch): added check for "custom" export and call appropriate func.
13754 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13756 * lyxrc.C: Add language_command_local, language_use_babel and
13757 language_global_options.
13759 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13761 * buffer.C (makeLaTeXFile): Use language_use_babel and
13762 language_global_options.
13764 2001-02-23 Juergen Vigna <jug@sad.it>
13766 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13767 which works with LyXText and putted it inside BufferView. Here now we
13768 only call for that part the BufferView::Dispatch() function.
13770 * BufferView.C (Dispatch): added.
13772 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13773 functions which needs to use a LyXText over from LyXFunc.
13774 (MenuInsertLyXFile): added
13775 (getInsetByCode): added
13776 (moveCursorUpdate): added
13777 (static TEXT): added
13779 2001-02-22 Juergen Vigna <jug@sad.it>
13781 * BufferView_pimpl.C (update): call a status update to see if LyXText
13784 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13786 * vc-backend.C (revert): implement for CVS
13787 (getLog): implement for CVS
13789 2001-02-20 Juergen Vigna <jug@sad.it>
13791 * text2.C (ClearSelection): added BufferView param for inset_owner call
13793 * lyxfunc.C (TEXT): added this function and use it instead of
13794 directly owner->view()-text of getLyXText().
13796 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13798 * src/layout_forms.C: out preamble
13799 * src/layout_forms.h: out preamble
13800 * src/lyx_cb.C: out preamble
13801 * src/lyx_cb.h: out preamble
13802 * src/lyx_gui.C: out preamble
13803 * src/lyx_gui_misc.C: out preamble
13804 * src/lyxfunc.C: connect with guii preamble
13806 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13808 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13810 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13812 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13813 whether to run bibtex.
13815 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13817 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13819 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13821 * Makefile.am (lyx_SOURCES): removed bibforms.h
13823 * vspace.h: doxygen
13825 * text.C (GetVisibleRow): make several local vars const
13827 * tabular.C: small cleanup.
13829 * lyxserver.C (callback): use compare instead of strncmp
13831 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13832 inlines to after class or to paragraph.C
13834 * lyxfont.h: remove friend operator!=
13836 * converter.h: move friend bool operator< to non friend and after
13839 * combox.h: small cleanup
13841 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13842 to inlines after class def.
13844 * buffer.C (pop_tag): use string operations instead of strcmp
13846 * bmtable.c: doxygen, small cleanup
13848 * LaTeX.h: remove friend operator==
13850 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13862 * BufferView_pimpl.C:
13863 * BufferView.[Ch]: remove cruft
13865 2001-02-14 Juergen Vigna <jug@sad.it>
13867 * lyxfunc.C: removed #if 0 unused code
13869 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13871 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13873 * text2.C (SetSelection): added a BufferView * parameter
13875 2001-02-13 Juergen Vigna <jug@sad.it>
13877 * lyxfunc.C (Dispatch): fixed protected blank problem.
13878 * BufferView2.C (protectedBlank): added LyxText * parameter.
13880 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13881 (AppendColumn): same as above for column_info.
13883 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13884 (moveCursorUpdate): use a LyXText param for support of InsetText.
13886 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13887 (tripleClick): ditto
13889 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13891 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13893 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13895 * text2.C (SetSelection): set correct update status if inset_owner
13896 (ToggleFree): ditto
13898 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13900 * tabular.C: remove some commented code.
13902 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13904 * BufferView_pimpl.C: call hideSplash()
13906 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13909 * bibforms.h: remove
13912 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13913 add LFUN_CHILD_CREATE
13915 * counters.h: fix tiny typo
13920 * lyx.C: move splash to frontends/xforms/
13922 * lyx_gui_misc.C: move Include and Bibform to frontends
13924 * lyxvc.h: clarify comment
13926 * vspace.C: tiny housekeeping
13928 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13930 * text.C (PrepareToPrint): RTL Fix.
13932 * paragraph.C (GetUChar): New method.
13933 (String): Use GetUChar.
13935 * buffer.C (asciiParagraph): Use GetUChar.
13937 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13939 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13941 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13944 * buffer.C: rename to getLogName(), handle
13945 build log / latex log nicely
13947 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13950 * MenuBackend.h: remove support for reference menuitem type.
13952 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13954 * BufferView_pimpl.C: housekeeping
13955 * BufferView_pimpl.h:
13960 * minibuffer.h: move Timeout GUI-I
13962 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13964 * lyxrc.C (read): Update converters data-structures.
13966 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13968 * LaTeX.h (operator!=): add operator != for Aux_Info
13970 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13972 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13974 * LaTeXLog.C: deleted, useful code moved to Buffer
13977 * buffer.C: new function getLatexLogName()
13983 * lyxfunc.C: use frontends for LaTeX and VC logs
13985 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13987 * LaTeX.h: yet another std:: that Allan forgot.
13989 * Variables.C (set): renamed from isset(), because this clashes
13990 with some HP-UX macros (grr).
13992 2001-02-06 Allan Rae <rae@lyx.org>
13994 * LaTeX.h: Another bug fix. Missing std:: this time.
13996 2001-02-04 Allan Rae <rae@lyx.org>
13998 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13999 floats problem. I've left it commented out because it's not quite
14000 correct. It should also test that the current object is a table or
14001 figure inset. But I haven't gotten around to figuring out how to do
14002 that. I *think* it'll be something like: "table" == inset.type()
14004 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14007 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14009 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14010 all the citation/databases/styles in the auxilary file.
14011 (run): Rerun latex if there was a babel language error.
14013 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14015 * text.C (Backspace): Preserve the font when changing newline char
14017 (BreakParagraph): If the cursor is before a space, delete the space.
14019 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14021 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14023 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14024 new argument (code).
14025 (ChangeCitationsIfUnique): New method.
14027 * paragraph.C (GetPositionOfInset): Handle bibkey.
14029 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14031 * BufferView_pimpl.h: change type of Position::par_pos to
14032 LyXParagraph::size_type.
14034 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14036 * BufferView_pimpl.C (savePosition, restorePosition): Write
14037 messages to minibuffer.
14039 2001-01-28 José Matos <jamatos@fep.up.pt>
14041 * buffer.C (makeDocBookFile): adds support for document language.
14042 A silly restriction on the name of LatexCommand types where removed.
14043 Added support for CDATA sections, allows to chars unescaped, used
14044 among others in code, to avoid escape < and >.
14046 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14048 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14049 saved positions instrad of a stack. Furthermore, a position is
14050 stored using paragraph id/paragraph position.
14052 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14053 Remove LFUN_REF_BACK.
14055 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14057 * converter.C (dvipdfm_options): New method.
14059 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14061 * vspace.C (isValidLength): Fix for empty input string.
14063 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * LyXAction.C (init): change description of LFUN_FIGURE to
14068 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * LaTeX.C: add using directive
14072 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14074 * MenuBackend.C (expand): Fix the sorting of the formats.
14076 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14078 * lyx_main.C: tiny error message fix
14080 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14082 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14083 calling fl_initialize(). This fixes the problem with ',' as
14084 decimal separator in text files.
14086 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14088 * trans.C (process): Fix the keymap bug.
14090 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14092 * LaTeX.C (scanAuxFiles): New method. Provides support for
14093 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14094 (scanLogFile) Scan for "run BibTeX" messages.
14096 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14097 OT1 font encoding. Also, load the aecompl package if the ae
14100 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14102 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14104 * texrow.C (increasePos): turn two error messages into debug
14107 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14109 * LaTeX.C (scanAux): Handle the \@input macro.
14110 (runBibTeX): Use scanAux().
14112 * language.C (latex_options_): New field.
14114 * LaTeXFeatures.C (getMacros): Add language macros.
14116 * buffer.C (makeLaTeXFile): Small fix.
14118 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14120 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14122 * text2.C: add a using directive.
14124 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14129 * lyxfunc.C: kill LyXBell.
14131 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14133 * text.C (IsBoundary): Remove the error message
14135 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14137 * lyxrc.C (setDefaults): Correct initialization value for
14140 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14142 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14145 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14146 and GotoNextNote().
14148 * src/LyXAction.C: Added reference-next.
14150 * text.C (InsertChar): Use contains instead of strchr.
14152 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14154 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14156 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14157 alignment commands (when needed).
14159 * text.C (InsertChar): Add ':' to number separator chars.