2 2003-12-01 André Pönitz <poenitz@gmx.net>
5 * lyxtext.h: move ParagraphList member to LyXText
6 rename LyXText::ownerParagraphs to LyXText::paragraph
19 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
21 * undo.C: fix cursor positioning
23 2003-12-01 John Levon <levon@movementarian.org>
25 * BufferView_pimpl.C: fix a crash on exit with
28 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
30 * BranchList.C: fix setSelected() method.
32 2003-11-28 André Pönitz <poenitz@gmx.net>
34 * ParagraphParameters.[Ch]:
35 * ParameterStruct.h: remove space above/below from Paragraph to
50 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
52 * factory.C: Syntax change for CharStyles
54 2003-11-28 André Pönitz <poenitz@gmx.net>
59 * buffer.[Ch]: move LyXText member
61 2003-11-28 André Pönitz <poenitz@gmx.net>
63 * BufferView.[Ch]: make LyXText * text a private member
76 * output_plaintext.C: cleanup
78 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
81 * lyxtextclass.[Ch]: parametrize SGML document header
83 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
86 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
89 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
91 * text2.C (setFont): rework using PosIterator (no more recursive)
92 (setCharFont): no more needed
93 (setLayout): no more selection cursors fiddling (done by redoCursor)
94 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
95 destroy remaining ones)
97 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
99 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
101 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
104 * text3.C: adjust + re-allow multi par depth changes
105 * textcursor.C: simplify a bit
107 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
113 * src/output_docbook.C:
114 * src/output_latex.C:
119 * src/text2.C: Introducing a number of tags parametrizing various
120 XML formats that we may want to support
122 2003-11-25 André Pönitz <poenitz@gmx.net>
124 * InsetList.[Ch] (begein, end): inline as suggested by profiler
126 * lyxtext.h (leftMargin/rightMargin): simplify interface
133 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
135 * lyxfunc.C (dispatch): propogate the bibtex databases from the
136 master file to any child files. Fixes bug 546.
138 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
140 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
142 2003-11-24 André Pönitz <poenitz@gmx.net>
144 * rowpainter.C: simplification
146 * text2.C (updateCounters): remove call to redoParagraph on
147 changed labels as this is far too expensive.
149 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
151 * converter.C (convert): fix a crash: this function gets
152 called with buffer == 0 from importer code.
154 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
156 * text3.C (cursorPrevious): make sure that we do not compare
157 iterators form different containers.
160 * rowpainter.C (paintSelection): make sure that we do not compare
161 iterators from different containers.
163 * text3.C (dispatch): [PRIOR] make sure that we do not compare
164 iterators from different ParagraphList containers.
167 * text2.C (LyXText): change order of initialization slightly
168 (operator=): new function. copy all variables except cache_par_
169 (moveUp): make sure that we do not compare iterators from
170 different ParagraphList constainers.
173 * text.C (firstPar): new function
174 (lastPar): new function
175 (endPar): new function
177 * lyxtext.h: move things around and group public functions, public
178 variables, private functions, private variables
180 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
182 * factory.C: change call to InsetERT constructor to avoid
183 additional invocation of method status
184 * text2.C (toggleInset): remove redundant update() call
185 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
186 instead of a Bufferview pointer
188 2003-11-21 André Pönitz <poenitz@gmx.net>
190 * rowpainter.C: simplification
192 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
194 * text3.C (dispatch): make possible to extend a word/row selection
197 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
199 * lyxtext.h: x0_,y0_ -> xo_,yo_
200 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
201 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
202 * rowpainter.C (paintRows): paint full paragraphs
204 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
206 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
209 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
211 * lyxtext.h: add x0_, y0_
212 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
213 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
215 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
217 * text2.C (setCursorIntern): move the x_target update here *
218 * text3.C: change some bv() to true/false in calls to
219 cursorUp/Down/Right/Left
220 * cursor.C: use helper function.
222 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
224 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
225 * paragraph_funcs.[Ch]: correct comment
226 * rowpainter.C: do not paint selections away from bv->cursor()
227 Fix a long standing selection painting bug.
228 * text3.C: generalize mouse-selection code to LyXTexts other that
230 * textcursor.C: do not use y coords if we can use par offsets
232 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
234 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
235 cursor position after e.g. inset insert)
237 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
239 * lyxfind.C (replace): adjust to locking removal + some
242 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
244 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
247 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
250 * output_docbook.C: XML sanitation: new layout
251 parameters InnerTag and CommandDepth
253 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
255 * BufferView_pimpl.C:
257 * text3.C: Fix the insertion and modification of button-style
260 2003-11-13 André Pönitz <poenitz@gmx.net>
262 * InsetList.[Ch]: remove deleteLyXText
264 * paragraph.[Ch]: cache beginOfBody position
269 * text3.C: remove superfluous update() calls
273 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
275 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
276 * BufferView.C (fitLockedInsetCursor): remove
277 * cursor.[Ch] (getDim): add
278 * text.C (getRowNearY): add faster version
279 * text3.C: remove some update calls
281 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
293 * text3.C: The Character Style /XML short element patch.
295 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
298 * factory.C: Small step to solving 'unable to insert some insets'
301 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
303 * cursor.[Ch] (updatePos): new function for updating the y
304 position of the tip inset
305 * bufferview_funcs.C (put_selection_at):
306 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
308 2003-11-11 André Pönitz <poenitz@gmx.net>
310 * text.C: remove big comment on invalid Paragraph pointers as it is
313 2003-11-11 André Pönitz <poenitz@gmx.net>
315 * text_funcs.[Ch]: merge with ...
323 * Makefile.am: remove text_funcs.[Ch]
325 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
327 * cursor.C (getPos): return absolute cached y coord
329 * BufferView_pimpl.C (fitCursor): new simplistic code
330 (workAreaDispatch): add a fitCursor call
332 2003-11-10 André Pönitz <poenitz@gmx.net>
335 * BufferView_pimpl.[Ch]: merge update() and updateInset()
337 2003-11-10 André Pönitz <poenitz@gmx.net>
339 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
340 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
341 indicate that the cursor needs to leave an inset
343 * lyxtext.h: remove inset locking
345 * cursor.[Ch]: re-implement functionality provided by inset locking
348 * BufferView_pimpl.[Ch]:
350 * bufferview_funcs.[Ch]:
362 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
364 * PosIterator.[Ch]: replace the stack with a vector, add inset
366 * iterators.[C]: adjust
368 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
370 * lyxfind.C (replaceAll): mark the buffer dirty if something was
372 * paragraph_funcs.C (readParToken): put the correct id in the
373 error item, not the id of the top paragraph
375 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
377 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
378 * bufferview_funcs.C (put_selection_at): use the above
380 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
382 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
384 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * output_plaintext.h:
389 * output_docbook.h: add #include statements
391 2003-11-05 José Matos <jamatos@lyx.org>
393 * output_docbook.[Ch]:
395 * output_linuxdoc.[Ch]:
396 * output_plaintext.[Ch]: New files for output formats.
397 * output.[Ch]: New file for helper functions.
400 * paragraph_funcs.[Ch]: output functions moved to new files.
402 * outputparams.h: rename of latexrunparams.h
410 * paragraph_funcs.[Ch]:
411 * paragraph_pimpl.[Ch]:
412 * tabular.[Ch]: rename ascii to plaintext
413 and LatexRunParams to OutputParams.
415 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
417 * iterators.[Ch] (text): require bv argument
418 * undo.C (recordUndo):
419 * lyxfunc.C (dispatch):
420 * bufferview_funcs.C (put_selection_at): adjust
422 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
424 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
426 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
428 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
431 2003-11-04 André Pönitz <poenitz@gmx.net>
433 * cursor.[Ch]: restructure
436 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
438 * iterators.[Ch] (asCursor): remove
440 * lfuns.h: remove LFUN_INSET_EDIT
446 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
448 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
450 * lyxfind.[Ch]: complete overhaul
451 * BufferView_pimpl.C:
453 * paragraph.[Ch] (insert): add
455 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
459 * text.C: remove dead spellcheck code
461 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
463 * dispatchresult.h: add a val setter
465 * cursor.C (dispatch): use a tempvar for data_[i]
467 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
469 * PosIterator.[Ch]: compile fix
471 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
473 * text.C (cursorPar): deactivate the cursor cache
475 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
477 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
479 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
481 * text3.C (dispatch): adjust for new DisptchResult semantics.
483 * lyxfunc.C (dispatch): handle update when return from
484 Cursor::dispatch, adjust for new DispatchResult semantics.
486 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
487 DispatchResult(true) mean to not update. Add class functions for
488 setting dispatched and update, as well as reading.
490 * cursor.C (dispatch): don't handle update here
492 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
494 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
495 * trans_mgr.C: adjust
497 * paragraph_funcs.C (readParToken): exception safety
499 * lyxvc.h: store the vcs pointer in a scoped_ptr
502 * lyxsocket.C (serverCallback): exception safety
504 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
506 * ispell.C (clone): make it return a auto_ptr
508 * factory.C (createInset): exception safety
509 (readInset): exception safety
511 * bufferlist.C (newBuffer): exception safety
513 * Thesaurus.C (Thesaurus): use initialization for aik_
515 * MenuBackend.C (expandToc): exception safety.
517 2003-11-03 André Pönitz <poenitz@gmx.net>
521 * bufferview_funcs.C: remove getInsetFromId()
524 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
530 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
532 * PosIterator.C (distance, advance): new
533 * bufferview_funcs.[Ch] (put_selection_at): new
534 * iterators.[Ch] (lockPath): new
536 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
538 * iterators.[Ch] (asPosIterator): added
539 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
540 * PosIterator.[Ch]: added
542 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
546 * cursor.C (dispatch):
547 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
549 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
550 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
551 contructor, add a class function dispatched. Remove operator>=
553 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
555 * debug.C: only use the default constructor for debugstream
558 * main.C (main): include debug.h and setup the lyxerr streambuf
561 2003-10-31 José Matos <jamatos@lyx.org>
563 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
565 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
566 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
567 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
568 * paragraph_pimpl.C (simpleTeXSpecialC):
569 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
570 add LatexRunParams argument.
572 * exporter.C (Export): change call accordingly.
574 * latexrunparams.h: add new member to take care of the other backends.
575 2003-10-30 José Matos <jamatos@lyx.org>
577 * buffer.C (makeLinuxDocFile, makeDocBookFile):
578 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
579 factorise code for paragraph output.
581 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
584 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
586 * text3.C (dispatch):
587 * lyxfunc.C (dispatch):
588 * cursor.C (dispatch):
589 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
591 * dispatchresult.h: make the dispatch_result_t ctor explicit
593 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
596 * buffer.C: small refactoring of docbook stuff
598 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
603 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
606 operator dispatch_result_t, and operators for == != and >=
608 * cursor.C (dispatch): adjust for operator dispatch_result_t
609 removal. comment out call to update
611 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
613 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
621 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
624 * dispatchresult.h: new file, DispatchResult broken out of
627 * Makefile.am (lyx_SOURCES): add dispatchresult.h
629 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
631 * text.C (rowBreakPoint): put a hack inside #if 0
633 2003-10-28 André Pönitz <poenitz@gmx.net>
640 * text2.C: general cleanup (lots of small stuff)
642 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
644 * text2.C (cursorEnd): simple fix to the "end key goes to one
645 before the end on last row" bug
647 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
649 * text.C (backspace): fix the "zombie characters"
651 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
653 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
655 2003-10-27 André Pönitz <poenitz@gmx.net>
657 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
659 * factory.C: handle new InsetPagebreak, InsetLine
661 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
662 and move handling into new InsetPagebreak, InsetLine
664 * BufferView_pimpl.C:
666 * ParagraphParameters.C:
679 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
688 * text3.C: remove lastPos uses in favour of Row::endpos
690 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
692 * undo.C (performUndoOrRedo): fix two crashes by setting a
693 cursor by hand and reordering some calls. Use bv->lockInset instead
694 of inset->edit because the latter loses cursor information
696 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
698 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
700 (rowBreakPoint): fix width. change point to point + 1.
703 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
706 * lyxfunc.C: fix (at least partly) the problems
707 with the Nav menu and headers inside branch insets
710 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
712 * paragraph.C (getChar): add strong asserts
714 * lyxrow_funcs.C (lastPos): remove hideous hack
716 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
717 (fill): adjust to that (avoid an infinite loop)
719 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
721 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
723 2003-10-23 André Pönitz <poenitz@gmx.net>
725 * RowList_fwd.h: change list<> to vector<> to gain speed
726 after suggestion from Alfredo
728 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
730 * lyxtext.h: move the bidi stuff from here...
733 * Bidi.[Ch]: ... to here
735 2003-10-23 André Pönitz <poenitz@gmx.net>
738 * text.C (isLastRow, isFirstRow): new functions
740 * paragraph.h: new width cache member
742 * rowpainter.C: replace RowList::iterator with Row & where possible
744 * lyxfunc.C: replace several view()->text with a single call
746 * toc.C: fix 'unused' warning
748 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
750 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
751 when woring with stream::pos_type
752 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
754 2003-10-22 André Pönitz <poenitz@gmx.net>
757 * text.C: use Row & instead of RowList::iterator
759 * lyxrow.h: rename end() to endpos()
765 2003-10-22 Angus Leeming <leeming@lyx.org>
767 * buffer.[Ch] (fully_loaded): new member function, returning true
768 only when the file has been loaded fully.
769 Used to prevent the premature generation of previews and by the
770 citation inset to prevent computation of the natbib-style label.
772 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
773 templates are all set up.
775 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
777 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
779 * text.C: fixed an "oops" in the "is a bit silly"
782 2003-10-21 André Pönitz <poenitz@gmx.net>
784 * FuncStatus.[Ch]: small stuff, whitespace
786 * lyxfont.[Ch]: operator<<() for debug reasons
790 * lyxtext.h: whitespace, spelling
792 * paragraph.C: naming of variables
795 * text2.C: small stuff
798 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
800 * text.C: (1) finish off the inset display() work;
801 (2) fix the "is a bit silly" bug (accessing char
804 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
806 * text.C: re-introduce display() for insets, fixing the
807 various bugs (stretch of line above, math inset
810 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
812 * text.C (rightMargin): remove spurious semicolon
814 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
817 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
819 * text3.C: fix one crash due to wrong cursor def
821 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
823 * vc-backend.C (scanMaster): make the regex static
825 * LaTeX.C (scanAuxFile): make the regexs static
827 * text3.C (doInsertInset, dispatch, dispatch):
828 * text2.C (cursorUp, cursorDown):
829 * text.C (selectNextWordToSpellcheck):
830 * BufferView_pimpl.C (dispatch):
831 * lyxfunc.C (dispatch): localDispatch -> dispatch
833 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * lyxsocket.C: include <cerrno>
837 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
839 * lyxfunc.C (dispatch): remove textcache stuff
841 * bufferlist.C (release): remove textcache stuff
844 * TextCache.C: delete file
845 * TextCache.h: delete file
847 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
849 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
850 delete of the bv_->text.
851 (resizeCurrentBuffer): remove texcache stuff
852 (workAreaResize): ditto
854 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
856 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
859 2003-10-16 André Pönitz <poenitz@gmx.net>
866 * text3.C: speed up by storing y positions per paragraph plus per-row
867 offset instead of having a 'full' y position in the row.
869 2003-10-15 André Pönitz <poenitz@gmx.net>
873 * undo.[Ch]: make undo aware of inner insets
875 2003-10-14 Angus Leeming <leeming@lyx.org>
877 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
878 static member functions LyX::ref() and LyX::cref.
879 (lastfiles): new accessor functions for the new lastfiles_ member var.
880 (addLyXView, views_): add a new LyXView to the list of views_.
881 (updateInset): loop over all LyXViews to call their own updateInset
882 member function, returning a pointer to the Buffer owning the inset.
884 * BufferView_pimpl.C (loadLyXFile):
885 * MenuBackend.C (expandLastfiles):
886 * bufferlist.C (MenuWrite, QuitLyX):
887 lastfiles is no longer a global variable.
888 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
890 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
891 static function. Access through LyX::cref().emergencyCleanup().
893 2003-10-14 André Pönitz <poenitz@gmx.net>
895 * iterators.[Ch]: new direct access to innermost LyXText and Inset
897 * undo.[Ch]: restoring part of 'undo in insets'
900 * undo_funcs.[Ch]: merge with undo.[Ch]
902 * tabular.C: small cleansing stuff
904 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
906 * paragraph_funcs.C (readParToken): report unknown insets as error
907 boxes. Use the outer paragraph as location (also for unknown
910 * factory.C (readInset): do not abort on reading an unknown inset.
913 2003-10-13 Angus Leeming <leeming@lyx.org>
915 * lyx_main.C (LyX): remove call to setDisplayTranslator().
917 * lyxrc.C: displayTranslator is now a function,
918 declared in GraphicsTypes.h.
920 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
922 * format.C: new placeholder $$a to pass the socket address.
924 * bufferlist.[Ch]: new function getBufferFromTmp.
926 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
927 files in the temporary dir.
929 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
931 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
933 * Makefile.am: add lyxsocket.[Ch].
935 * lyx_main.C (error_handler): handle SIGPIPE.
937 2003-10-13 André Pönitz <poenitz@gmx.net>
939 * BufferView_pimpl.C:
944 * undo_funcs.[Ch]: use paroffset_type instead of
945 ParagraphList::iterators to prevent multiple conversion
946 (and get a more robust interface)
948 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * lyxfunc.C (dispatch): RESULT -> dispatch_result
952 * text3.C (dispatch): ditto
954 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
956 * LaTeX.C (handleFoundFile): move the static to smaller scope,
957 move the onlyfile, use onlyfile instead of foundfile in a couple
960 * DepTable.C (update): flush the error stream a bit more
962 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
964 * lyxserver.C (callback): adjust
966 * lyxfunc.C (getStatus): add a missing brace in commented code
967 (ensureBufferClean): reindent
968 (dispatch): delete version taking a string
970 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * LaTeX.C (deplog): move found file handlig from here...
973 (handleFoundFile): .. to new function here.
974 (deplog): make sure to discover several files mentioned on the
977 2003-10-10 André Pönitz <poenitz@gmx.net>
984 * text3.C: fix some of the tabular crashes
986 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
988 * MenuBackend.C (binding): put debug message into Debug::KBMAP
990 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
992 2003-10-09 André Pönitz <poenitz@gmx.net>
994 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
997 * BufferView_pimpl.C:
998 * bufferview_funcs.C:
1009 * undo_funcs.C: adjust
1011 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1013 * text2.C (incrementItemDepth): new function, use a backtracking
1014 algorithm to discover the correct item depth.
1015 (resetEnumCounterIfNeeded): new function, use a backtracking
1016 algorithm to discover if counter reset is needed.
1017 (setCounter): use them. Simplify a bit. Add different labels for
1018 different item depths for itemize.
1020 * paragraph.C (Paragraph): remove initialization of enumdepth
1023 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1024 enumerate and itemize. Change the type of itemdepth to signed char.
1026 2003-10-08 André Pönitz <poenitz@gmx.net>
1028 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1033 * tabular.[Ch]: fix crash after 'row-insert'
1035 2003-10-08 Angus Leeming <leeming@lyx.org>
1037 Fix doxygen warnings.
1039 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1040 Remove CutAndPaste:: prefix from header file declaration.
1042 * LColor.h (fill): remove LColor:: prefix from declaration.
1044 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1045 use lyx::depth_type rather than Paragraph::depth_type so that
1046 header file and .C file match.
1048 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1050 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1051 * aspell.C: \file aspell_local.C -> \file aspell.C
1052 * gettext.C: \file gettext.C -> \file src/gettext.C
1053 * gettext.h: \file gettext.h -> \file src/gettext.h
1054 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1055 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1056 * text.C: \file text.C -> \file src/text.C
1058 * toc.C: move comment so that doxygen is not confused.
1060 2003-10-07 Angus Leeming <leeming@lyx.org>
1062 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1064 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1067 * aspell_local.h: add forgotten std::string's.
1069 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1076 * text3.C: The Box patch. Fancybox support, minipage, parbox
1078 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1084 * ParagraphParameters.h:
1094 * lyxtextclasslist.h:
1097 * paragraph_pimpl.C:
1098 * textcursor.h: add <string> and other small fixes to make Lars'
1099 std::string patch compile with STLport.
1101 2003-10-06 Angus Leeming <leeming@lyx.org>
1103 * LColor.h: Add missing #include <string>.
1105 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * All most all file in all subdirs: Make <string> be the prefered
1108 way of getting to std::string, add using declarations.
1110 2003-10-06 André Pönitz <poenitz@gmx.net>
1112 * metricsinfo.C: initialize LyXFont before changing attribute.
1113 (fixes the 'math in \emph is upright' bug)
1115 2003-10-06 André Pönitz <poenitz@gmx.net>
1117 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1119 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1122 * paragraph_pimpl.C: Small fixes to build using STLport
1124 2003-10-02 André Pönitz <poenitz@gmx.net>
1127 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1129 2003-10-01 André Pönitz <poenitz@gmx.net>
1131 * factory.C: assert early
1133 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1135 * lyx_main.C: remove the global debug object
1137 * debug.h: adjust for new debugstream
1139 * debug.C: adjust for new debugstream and keep the global debug
1142 2003-09-22 Angus Leeming <leeming@lyx.org>
1144 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1145 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1146 an incomplete class LyXFont.
1148 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1150 * factory.C: bug fix in branches
1152 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * lyxfunc.C (processKeySym): adjust
1156 (dispatch): change arg name from ev to func, adjust
1157 (sendDispatchMessage): ditto
1159 * lyx_main.C (defaultKeyBindings): adjust keybindings
1160 (deadKeyBindings): ditto
1162 * kbsequence.C (addkey): return a FuncRequest
1164 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1166 * kbmap.C (bind): take a FuncRequest as arg, adjust
1169 (defkey): change to take a FuncRequest as arg, adjust
1170 (findbinding): take a FuncRequest as arg, adjust.
1172 * funcrequest.h (operator=): added
1174 * funcrequest.C (FuncRequest): default kb_action changed from
1175 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1177 * buffer.C (dispatch): simplify
1178 (dispatch): adjust to take a FuncRequest as arg, adjust
1180 * boost.C (assertion_failed): change assertion message slightly
1182 * ToolbarBackend.C (read): simplify
1184 * MenuBackend.C (binding): adjust call to findbinding, add a
1185 message if no binding is found.
1187 (expandToc): correct by adding a empty FuncRequest
1189 * LyXAction.C: include <boost/assert.hpp>
1190 (isPseudoAction): delete function
1191 (LookupFunc): change name to...
1192 (lookupFunc): this. change return type to FuncRequest.
1193 (getActionName): take kb_action as arg, simplify
1194 (funcHasFlag): add an assert, simplify.
1196 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1198 * toc.C (action): return a FuncRequest, simplify
1200 * lyxfunc.C (processKeySym): adjust
1201 (getStatus): delete version that takes an int.
1203 (dispatch): delete version that takes action as int
1205 (sendDispatchMessage): simplify and adjust
1207 * funcrequest.C (getArg): take unsigned int as arg
1209 * ToolbarBackend.C (read): adjust
1210 (add): delete version that takes func as a string.
1211 (getIton): take a FuncRequest as arg
1213 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1216 * MenuBackend.C (MenuItem): add a new construct that only takes a
1217 Kind, simplify the constructor use for submenus.
1219 (expandLastfiles): adjust
1220 (expandDocuments): adjust
1221 (expandFormats): adjust
1222 (expandFloatListInsert): adjust
1223 (expandFloatInsert): adjust
1224 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1226 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1227 Remove class variables lyx_pseudo_map and lyx_arg_map
1229 * LyXAction.C (searchActionArg): delete function
1230 (getPseudoAction): delete function
1231 (retrieveActionArg): delete function
1232 (LookupFunc): make it return kb_action, simplify.
1233 (getActionName): simplify
1235 * factory.C (createInset): fix new bug
1237 2003-09-19 Angus Leeming <leeming@lyx.org>
1239 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1240 masterFilename_ parameter in the include inset.
1242 * factory.C (createInset): changes due to the changes to InsetInclude.
1244 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1246 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1248 2003-09-18 Angus Leeming <leeming@lyx.org>
1251 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1252 Inset::fillWithBibKeys.
1253 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1255 2003-09-18 Angus Leeming <leeming@lyx.org>
1257 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1259 (ctor): pass and store a 'Buffer const &'
1260 (buffer): new member function.
1262 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1263 '*this' to the LaTeXFeatures ctor.
1265 2003-09-18 Angus Leeming <leeming@lyx.org>
1271 * text.C: rename EnumLColor as LColor_color.
1273 2003-09-18 Angus Leeming <leeming@lyx.org>
1275 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1276 remove #include "insets/insetbase.h" from cursor.h.
1278 2003-09-18 Angus Leeming <leeming@lyx.org>
1280 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1281 InsetOld_code to remove #include "inset.h".
1283 * iterators.C: add #include "insets/inset.h"
1285 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1287 * BufferView.C: remove more locking stuff that apparently doesn't
1288 do anything sensible.
1290 2003-09-16 André Pönitz <poenitz@gmx.net>
1293 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1296 2003-09-16 Angus Leeming <leeming@lyx.org>
1298 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1300 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1303 * paragraph.h: remove #include "lyxfont.h". Forward declare
1306 2003-09-16 Angus Leeming <leeming@lyx.org>
1308 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1309 of support/textutils.h.
1310 (isWord): move the contents of support/textutils.h's IsWordChar here.
1316 * text2.C: add #include "paragraph.h".
1319 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1321 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * LaTeX.C: use namespace alias for lyx::support::os
1329 2003-09-16 Angus Leeming <leeming@lyx.org>
1332 * bufferview_funcs.C:
1335 * paragraph_pimpl.C:
1337 * text.C: add #include "LColor.h".
1339 2003-09-16 Angus Leeming <leeming@lyx.org>
1341 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1342 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1344 Store the FontBits::color variable as an int rather than as an
1345 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1348 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1349 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1350 string calls together.
1352 * lyxrc.C: add #include "LColor.h".
1354 2003-09-15 Angus Leeming <leeming@lyx.org>
1356 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1359 2003-09-15 Angus Leeming <leeming@lyx.org>
1361 * LColor.h: add an EnumLColor wrapper for LColor::color.
1363 * lyxfont.[Ch] (color, setColor, realColor):
1364 * lyxtext.h, text.C (backgroundColor):
1365 pass EnumLColor args to/from the functions, rather than LColor::color
1369 * lyxtext.h: forward declare EnumLColor.
1371 * lyx_main.C: add #include "LColor.h".
1373 2003-09-15 Angus Leeming <leeming@lyx.org>
1375 * .cvsignore: add lyx-gtk.
1377 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1382 * ParagraphParameters.C
1386 * bufferview_funcs.C
1396 * vc-backend.C: remove usage of STRCONV
1398 2003-09-15 Angus Leeming <leeming@lyx.org>
1400 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1401 explicitly define the color passed to the painter.
1403 2003-09-15 Angus Leeming <leeming@lyx.org>
1405 * bufferparams.C (BufferParams): reorder member initializers to avoid
1408 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1410 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1411 * text.C (updateRowPositions): remove an unusual nop
1413 2003-09-12 André Pönitz <poenitz@gmx.net>
1415 * BufferView_pimpl.C:
1424 * Counters.[Ch]: finish the 'automatic counters' job
1426 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1428 * aspell.C: include <boost/assert.cpp> (compile fix)
1430 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1432 * boost.C (assertion_failed): use lyx::support::abort instead of
1435 2003-09-10 Angus Leeming <leeming@lyx.org>
1437 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1438 with their _fwd progeny.
1440 2003-09-09 Angus Leeming <leeming@lyx.org>
1442 134 files throughtout the source tree: replace 'using namespace abc;'
1443 directives with the appropriate 'using abc::xyz;' declarations.
1445 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1447 * boost.C (emergencyCleanup): moved here from LAssert.c
1448 (assertion_failed): new function, called by BOOST_ASSERT
1450 * several files: change Assert to BOOST_ASSERT
1452 2003-09-09 Angus Leeming <leeming@lyx.org>
1454 * buffer.[Ch]: Add an Impl class and move Buffer's member
1455 variables into it. As a result move several header files out of
1458 Add header files to lots of .C files all over the tree as a result.
1460 2003-09-09 Angus Leeming <leeming@lyx.org>
1462 * buffer.[Ch]: make Buffer's member variables private. Add
1465 Lots of changes all over the tree as a result.
1467 2003-09-08 Angus Leeming <leeming@lyx.org>
1469 * graph.C: #include <config.h>.
1471 2003-09-08 Angus Leeming <leeming@lyx.org>
1475 * BufferView_pimpl.C:
1504 * toc.C: remove redundant using directives.
1506 2003-09-07 Angus Leeming <leeming@lyx.org>
1508 * LaTeXFeatures.h: remove #include "support/types.h".
1509 * ToolbarBackend.h: remove #include <algorithm>.
1510 * changes.h: remove #include <ctime>.
1511 * debug.h: remove #include <iosfwd>.
1512 * graph.h: remove #include "support/std_string.h".
1513 * lyx_main.h: remove #include <csignal>.
1514 * lyxlex_pimpl.h: remove #include <fstream>.
1515 * sgml.h: remove #include <algorithm>, <utility>.
1516 * toc.h: remove #include "support/std_ostream.h".
1517 Add #include <iosfwd>.
1519 2003-09-07 Angus Leeming <leeming@lyx.org>
1521 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1523 * converter.h: forward declare LatexRunParams.
1524 * encoding.h: remove #include "lyxrc.h".
1525 * lyxtext.h: remove #include "LColor.h".
1526 * lyxtextclass.h: remove #include "support/types.h".
1527 * trans.h: remove #include "tex-accent.h".
1528 * trans_mgr.h: remove #include "tex-accent.h".
1529 * insets/inset.h: remove #include "support/types.h", <vector>.
1530 * insets/insetcollapsable.h: remove #include "LColor.h".
1531 * insets/insetinclude.h: remove #include "dimension.h".
1532 * insets/insetlatexaccent.h: remove #include "dimension.h".
1533 * insets/insetoptarg.h:: remove #include "insettext.h".
1534 * insets/insettext.h: remove #include "dimension.h",
1535 <boost/shared_ptr.hpp>
1537 * insets/renderers.h: add #include "dimension.h".
1538 * insets/updatableinset.h: add #include "support/types.h".
1540 * many .C files: Associated changes.
1542 2003-09-06 Angus Leeming <leeming@lyx.org>
1544 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1545 one, inside testInvariant.
1547 * PrinterParams.C: new file.
1548 * PrinterParams.[Ch]: move the function bodies out of line.
1550 2003-09-06 Angus Leeming <leeming@lyx.org>
1552 * ParagraphParameters.h: forward declare ParameterStruct rather than
1553 including its header file.
1554 (depth): moved out-of-line.
1556 2003-09-06 Angus Leeming <leeming@lyx.org>
1558 * BufferView_pimpl.h:
1561 * lyxfunc.h: forward declare LyXKeySym rather than
1562 #include "frontends/LyXKeySym.h".
1564 * BufferView_pimpl.C:
1567 * lyxfunc.C: associated changes.
1569 2003-09-06 Angus Leeming <leeming@lyx.org>
1571 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1572 As a result, can remove the #include "insets/inset.h" from BufferView.h
1574 2003-09-06 Angus Leeming <leeming@lyx.org>
1576 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1577 As a result, can remove the #include "insets/inset.h" from BufferView.h
1579 2003-09-06 Angus Leeming <leeming@lyx.org>
1585 * bufferview_funcs.C:
1586 * BufferView_pimpl.C:
1591 * ParagraphParameters.C:
1596 * frontends/controllers/ControlDocument.C:
1597 * insets/insetcaption.C: rearrange the #includes into some sort of
1600 * buffer.h: remove #includes ErrorList.h, undo.h
1602 2003-09-06 Angus Leeming <leeming@lyx.org>
1604 * support/types.h: add a 'depth_type' typedef, used to store the
1605 nesting depth of a paragraph.
1608 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1609 defining explicitly.
1612 * paragraph_funcs.h:
1613 * ParagraphParameters.h:
1614 * sgml.h: use lyx::depth_type rather than Paragraph or
1615 ParameterStruct's depth_type.
1618 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1621 * BufferView_pimpl.C:
1623 * ParagraphParameters.C:
1626 * bufferview_funcs.C:
1633 * frontends/LyXView.C:
1634 * frontends/controllers/ControlDocument.C:
1635 * frontends/controllers/ControlErrorList.C:
1636 * insets/insetbibitem.C:
1637 * insets/insetbranch.C:
1638 * insets/insetcaption.C:
1639 * insets/insetcollapsable.C:
1640 * insets/insetenv.C:
1641 * insets/insetert.C:
1642 * insets/insetfloat.C:
1643 * insets/insetfoot.C:
1644 * insets/insetfootlike.C:
1645 * insets/insetnewline.C:
1646 * insets/insetquotes.C:
1647 * insets/insettabular.C:
1648 * insets/insettext.C:
1649 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1651 * frontends/controllers/ControlChanges.C: #include "changes.h".
1653 2003-09-06 Angus Leeming <leeming@lyx.org>
1655 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1656 than #including paragraph.h.
1659 * RowList.h: deleted. Superfluous.
1669 * insets/insettext.h: use ParagraphList_fwd.h rather than
1672 * paragraph.h: don't forward declare ParagraphList.
1675 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1676 rather than ParagraphList.h. paragraph.h is still needed for the
1677 Paragraph::depth_type parameters.
1679 * textcursor.h: enable it to compile stand-alone in light of the
1682 * bufferview_funcs.C:
1694 * frontends/controllers/ControlParagraph.C:
1695 * frontends/controllers/ControlTabular.C:
1696 * insets/insetmarginal.C:
1697 * insets/insetminipage.C:
1698 * insets/insetnote.C:
1699 * insets/insetoptarg.C: add header files needed to compile again.
1701 2003-09-06 Angus Leeming <leeming@lyx.org>
1703 * RowList_fwd.h: new file, forward-declaring Row rather than
1704 #including lyxrow.h.
1709 * insets/insettext.h: use it instead of RowList.h
1711 * bufferview_funcs.C:
1718 * text3.C: #include "RowList.h".
1720 2003-09-05 Angus Leeming <leeming@lyx.org>
1722 * factory.C (createInset):
1723 * vspace.C (c-tor): replace sscanf call with an istringstream.
1724 * ispell.C: re-add missing HP/UX headers.
1725 * lyxserver.C: re-add missing os2 headers.
1727 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1736 * text3.C: re-add missing system headers, needed for 2.95.2.
1738 2003-09-05 Angus Leeming <leeming@lyx.org>
1740 Changes most place everywhere due to the removal of using directives
1741 from support/std_sstream.h.
1743 2003-09-05 Angus Leeming <leeming@lyx.org>
1745 Replace LString.h with support/std_string.h,
1746 Lsstream.h with support/std_sstream.h,
1747 support/LIstream.h with support/std_istream.h,
1748 support/LOstream.h with support/std_ostream.h.
1750 Changes resulting throughout the tree.
1752 2003-09-05 Angus Leeming <leeming@lyx.org>
1754 * sgml.h: ensure that the header file can be compiled stand-alone.
1755 * *.C: strip out redundant #includes. (320 in total.)
1757 2003-09-04 Angus Leeming <leeming@lyx.org>
1759 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1760 here (from getPackages).
1762 * debug.[Ch]: add a new EXTERNAL tag.
1764 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1766 * text2.C (cursorEnd): simplify
1768 (getColumnNearX): adjust
1770 * text.C (computeBidiTables): adjust
1773 * rowpainter.C (paintChars): adjust
1774 (paintSelection): adjust
1775 (paintChangeBar): adjust
1778 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1780 (numberOfSeparators): adjust
1782 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1788 * text3.C: Restricts the mouse click functionality
1789 of insets like bibtex, include, toc and floatlist to the visible
1790 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1791 up the dialogs. Cursor has to be in front of the inset (i.e.
1792 start of row) for this to function.
1794 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1796 * bufferview_funcs.C (currentState): output row information
1798 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1800 * bufferview_funcs.C (currentState): output paragraph position
1802 2003-09-04 Angus Leeming <leeming@lyx.org>
1804 * FloatList.h: move out #include "Floating.h".
1805 * LaTeX.h: move out #include "DepTable.h".
1806 * LyXAction.h: move out #include "funcrequest.h".
1807 * buffer.h: move out #include "author.h", "iterators.h".
1808 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1809 * lyx_main.h: move out #include "errorlist.h".
1810 * lyxfunc.h: move out #include "FuncStatus.h".
1811 * lyxtext: move out #include "lyxcursor.h".
1812 * paragraph_pimpl.h: move out #include "counters.h".
1814 2003-09-03 Angus Leeming <leeming@lyx.org>
1816 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1817 preamble_snippets list, enabling us to add snippets to the preamble
1818 only if the snippet was not there already.
1820 2003-09-04 Angus Leeming <leeming@lyx.org>
1822 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1824 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1829 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1831 * BranchList.C: point fix, earlier forgotten
1833 2003-09-02 Angus Leeming <leeming@lyx.org>
1835 * box.C (contains): renamed from 'contained' after a fantastic
1838 2003-09-02 John Levon <levon@movementarian.org>
1844 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1846 2003-09-02 John Levon <levon@movementarian.org>
1848 * text2.C: simplification of cursorEnd(), including partial
1851 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1853 * buffer.C (readFile): add a space
1855 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1857 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1859 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * buffer.C (readFile): new function, take a filename and a
1862 ParagraphList::iterator
1864 (readFile): adjust, make it private. don't use setStream, make
1865 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1866 always contain the filename.
1868 * BufferView.C (insertLyXFile): simplify and make it work for
1871 2003-08-30 John Levon <levon@movementarian.org>
1873 * Makefile.am: fix dist (from Kayvan)
1875 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1877 * most files: change to use const Buffer refs
1879 2003-08-27 André Pönitz <poenitz@gmx.net>
1881 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1882 on top of ownerPar().
1884 2003-08-27 John Levon <levon@movementarian.org>
1886 * funcrequest.C: properly initialise POD members
1888 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1890 * lyxtext.h (top_y): move top_y from here
1895 * BufferView_pimpl.[Ch]: to here
1896 * frontends/screen.C:
1897 * insets/insettabular.C:
1898 * insets/insettext.C: adjust
1899 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1901 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1904 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1906 2003-08-26 André Pönitz <poenitz@gmx.net>
1908 * paragraph_func.[Ch] (outerPar): new function
1911 * paragraph_funcs.C:
1912 * paragraph_funcs.h:
1913 * paragraph_pimpl.C:
1914 * text2.C: remove Inset::par_owner
1916 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1921 * text2.C: eliminates the needFullRow/display() stuff
1922 altogether, putting the logic in metrics/draw in the insets.
1924 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1926 * text2.C (redoParagraphInternal, redoParagraphs):
1927 * text.C (redoParagraph): add a call to updateRowPositions at the
1928 end of each 'metrics-like' call. Remove all others.
1929 (getRow): remove the 'y-computing' version.
1930 (getRowNearY): do not compute nor return the real y. Solve the
1931 'y < 0' problem and simplify.
1933 2003-08-22 Angus Leeming <leeming@lyx.org>
1935 * *.[Ch]: clean-up of licence and author blurbs.
1936 Also move config.h out of a few .h files and into a few .C files.
1938 2003-08-22 André Pönitz <poenitz@gmx.net>
1940 * lyxrow.[Ch]: add x_ and *fill_ members
1945 * text2.C: adjust/remove prepareToPrint() calls
1947 2003-08-22 André Pönitz <poenitz@gmx.net>
1949 * lyxrow.[Ch]: add end_ member
1951 * lyxrow_funcs.C: use LyXRow::end_
1953 * lyxtext.h (singleWidth): add LyXFont parameter
1956 * text2.C: adjust LyXText::singleWidth() calls
1958 * text.C (redoParagraph): simplify row breaking logic
1961 2003-08-19 André Pönitz <poenitz@gmx.net>
1963 * funcrequest.C: initialize button_ member
1966 * rowpainter.[Ch]: interface consolidation
1968 2003-08-18 André Pönitz <poenitz@gmx.net>
1971 * BufferView_pimpl.C:
1973 * paragraph_funcs.C:
1975 * text3.C: remove LyXScreen::draw() and fitCursor calls
1977 * BranchList.h: remove spurious semicolons
1979 * MenuBackend.C: fix branchlist related crash
1981 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1989 * bufferparams.[Ch]:
1993 * text3.C: implements the 'branch inset'
1994 idea. This allows the output of various versions of a document
1995 from a single source version, selectively outputing or suppressing
1996 output of parts of the text.
1997 This implementation contains a 'branch list editor' in a separate
1998 tab of the document settings dialog. Branches are user definable
1999 and have a "display colour" to distinguish them on-screen.
2001 ColorHandler was somewhat cleaned up.
2002 (1) make possible a dynamically growing LColor list by allowing
2003 the graphic context cache to grow along (vector);
2004 (2) eliminate an IMHO unnecessary step in colour allocation.
2006 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2008 * BufferView_pimpl.C: compile fix
2010 2003-08-15 André Pönitz <poenitz@gmx.net>
2012 * rowpainter.C: remove extra metrics calls
2014 * lyxtext.h: merge the two constructors into a single one,
2015 pass reference to owner's par list
2017 * BufferView_pimpl.C:
2021 2003-08-15 André Pönitz <poenitz@gmx.net>
2023 * lyxrow_funcs.[Ch]:
2026 * paragraph_funcs.C:
2031 * text_funcs.C: split LyXText::rowlist_ into individual
2032 Paragraph::rows_ chunks
2035 * BufferView_pimpl.[Ch]:
2038 * text3.C: remove toggleSelection()
2040 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2042 * bufferlist.C: beautify two alerts (shorter text of buttons)
2043 * buffer.C: Remove redundant ' ' from message
2045 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2046 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2047 rename VALIGN_CENTER to VALIGN_MIDDLE
2049 2003-08-11 André Pönitz <poenitz@gmx.net>
2051 * lyxtext.h (getPar):
2052 * text.C: new function
2054 2003-08-11 André Pönitz <poenitz@gmx.net>
2057 * tracer.[Ch]: remove unneeded files
2059 * InsetList.[Ch]: remove resizeInsetsLyXText()
2064 * text3.C: merge insertParagraphs() and appendParagraph()
2065 remove breakAgain(), update()
2067 * BufferView_pimpl.[Ch]:
2068 * bufferview_funcs.[Ch]:
2072 * tabular.C: adjust after text & InsetList changes.
2074 2003-08-08 André Pönitz <poenitz@gmx.net>
2076 * text.C (insertChar, backspace): replace rowlist fiddling
2077 with rebreak of full par
2080 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2081 checkParagraph, updateInset): removed
2083 2003-08-07 André Pönitz <poenitz@gmx.net>
2086 * text3.C: merge some LFUN handlers, remove dead code
2088 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2090 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2092 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2094 * text2.C (DEPM): fix part of bug 1255 and 1256
2096 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * BufferView_pimpl.C (workAreaDispatch): change to use
2099 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2100 that are no mouse related.
2102 2003-08-05 André Pönitz <poenitz@gmx.net>
2105 * BufferView_pimpl.[Ch]:
2106 * bufferview_funcs.C:
2108 * text3.C: rip out "deep update"
2110 * textcursor.[Ch] (last_sel_cursor): remove unused member
2112 2003-08-04 André Pönitz <poenitz@gmx.net>
2115 * BufferView_pimpl.[Ch]:
2116 * ParagraphParameters.C:
2117 * bufferview_funcs.C:
2123 * text3.C: replace "complicated" BufferView::update(...) calls with
2126 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2128 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2130 * Makefile.am (lyx_SOURCES): add paper.h
2132 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2134 * Makefile.am: move things around so that both lyx-qt and
2135 lyx-xforms can be built (according to --with-frontend). Then lyx
2136 is a symbolic link to lyx-[firstfrontend]
2138 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2140 * Always use std::endl with lyxerr
2142 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2144 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2146 2003-08-01 André Pönitz <poenitz@gmx.net>
2149 * BufferView_pimpl.[Ch]:
2151 * text3.C: merge BufferView::repaint() and BufferView::update()
2153 2003-08-01 José Matos <jamatos@lyx.org>
2155 * buffer.[Ch]: file_format is no longer a buffer data element.
2157 2003-08-01 André Pönitz <poenitz@gmx.net>
2162 * text2.C: make redoParagraph more independent of current cursor
2164 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2166 * text2.C: remove unneeded members
2168 2003-07-30 André Pönitz <poenitz@gmx.net>
2170 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2172 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2173 create a single function...
2175 * paragraph_funcs.C (moveItem): ... here.
2178 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2180 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2182 * LColor.[Ch]: Add comment and greyedout logical colors.
2184 2003-07-30 André Pönitz <poenitz@gmx.net>
2186 * tabular.C: don't use Assert too heavily. This crashes where it
2189 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2191 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2192 is disabled (bug 1232)
2194 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2196 * factory.C: limited 'arg' scope
2198 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2200 * factory.C: fixed Note submenu issues
2202 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2204 * factory.C: submenu for Note/Comment/Greyedout
2206 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2209 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2211 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2214 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2215 greyedout. Patch provided by Jürgen Spitzmüller.
2217 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2219 * kbmap.C (read): fix error message when reading bind files
2221 2003-07-29 Angus Leeming <leeming@lyx.org>
2223 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2224 certainly does not do what it purports to do. I am doing it, and
2225 us, a favour by killing it.
2227 2003-07-28 José Matos <jamatos@lyx.org>
2229 * buffer.C (readBody, do_writeFile):
2230 * paragraph.C(readParagraph): \end_document replaces \the_end.
2232 2003-07-29 André Pönitz <poenitz@gmx.net>
2235 * BufferView_pimpl.[Ch]:
2239 * textcursor.[Ch]: remove toggleToggle & Co
2241 2003-07-28 José Matos <jamatos@fep.up.pt>
2243 * buffer.C (readParagraph):
2244 * params_func (readParToken, readParagraph):
2245 * paragraph.C (write): \layout -> \begin_layout.
2247 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2249 * lyxlex_pimpl.C (setFile): clean up slightly.
2251 * bufferparams.h: add compressed var
2253 * buffer_funcs.C (readFile): adjust for LyXLex change
2254 (newFile): ditto + simplify
2256 * buffer.C (writeFile): handle writing of compressed files
2258 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2259 Check if the file is compressed and set a bufferparm if so.
2261 * Makefile.am (lyx_LDADD): remove explicit -lz
2263 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2266 makeDocBookFile): put the real LyX version in the first line of
2270 * version.C.in: remove lyx_docversion
2272 * tabular.C (write_attribute): add a template-based version to
2273 write enums properly
2275 2003-07-28 André Pönitz <poenitz@gmx.net>
2280 * text3.C: use doubles again for x-coordinates. They are needed.
2282 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2284 * messages.C (getLocaleDir): use lyx_localedir()
2286 * lyxlex_pimpl.C (setFile): compress stuff
2288 * buffer.C (writeFile): add some compression stuff
2289 (do_writeFile): new func, dont call expliti close... will this
2292 * Makefile.am (lyx_LDADD): add -lz
2294 2003-07-28 José Matos <jamatos@fep.up.pt>
2296 * buffer.C: increment file format.
2297 * paragraph_funcs (readParagraph, readParToken):
2298 * paragraph.C (readParagraph): add \end_layout.
2300 2003-07-27 Angus Leeming <leeming@lyx.org>
2302 * Makefile.am: remove special casing for configure-time setting of
2303 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2305 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2306 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2308 2003-07-26 André Pönitz <poenitz@gmx.net>
2310 * paragraph_func.[Ch]:
2311 * paragraph.C (realizeFont): inline it whereever it is used
2316 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2319 2003-07-26 André Pönitz <poenitz@gmx.net>
2323 * text2.C: get rid of LyXText::need_break_row
2325 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2327 * toc.[Ch]: put namespace toc inside namespace lyx
2329 * MenuBackend.C (expandToc2): adjust for lyx::toc
2332 * lyxfunc.C (dispatch): adjust for lyx::find
2334 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2335 lyx::find instead. Reorganize a bit.
2336 (LyXReplace): rename to replace
2337 (LyXFind): rename to find
2339 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2342 2003-07-26 André Pönitz <poenitz@gmx.net>
2344 * text.C (setHeightOfRow): restrict scope of temporary variable
2346 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2347 code (never has been used?)
2349 2003-07-27 Asger Alstrup <alstrup@local>
2351 * text.C (fill): Optimise algorithm to exploit that we can reuse
2352 the LyXFont for many characters.
2353 (setHeightOfRow): Same thing.
2354 (rowBreakPoint): Same thing.
2356 2003-07-26 Asger Alstrup <alstrup@local>
2358 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2360 * text.C (singleWidth): Spurious font copying in hot-spot
2361 singleWidth avoided. Reorder tests for arabic for efficiency.
2363 * text.C (fill): handle empty paragraphs better.
2365 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2368 * encoding.h: add includes
2370 * lyxrc.C: remove reading of bind files
2372 * lyx_main.C (init): setup bindings and menus only if we have a
2375 * kbmap.C (read): new method. Do the actual reading of bind
2378 * converter.C (dvipdfm_options):
2381 (output): adapt PAPER_* enums.
2383 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2385 * bufferparams.h: remove paper-related enums from there
2387 * paper.h: New file. A trivial header file to hold paper-related
2388 enums. It should later expand to contain many paper-related
2391 * lyxrc.C: declare extern displayTranslator
2393 2003-07-27 José Matos <jamatos@fep.up.pt>
2395 * tabular.[Ch] (linuxdoc): add support for tables and figures
2398 2003-07-27 José Matos <jamatos@fep.up.pt>
2400 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2401 consistency in both functions.
2402 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2404 2003-07-26 Asger Alstrup <alstrup@local>
2406 * rowpainter.C (paintRows): Change algorithm to work directly on
2407 the insets rather than asking every character in the document
2408 whether its an inset.
2410 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2412 * buffer.C (openFileWrite): factorize some code
2414 2003-07-26 Angus Leeming <leeming@lyx.org>
2417 * lyx_main.[Ch]: replace occurances of system_tempdir with
2420 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2422 * rename Inset to InsetOld
2424 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2426 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2427 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2428 which I think is a bit clearer. EDIT is gone, since it was
2429 premature optimisation, and broken for mathed anyway.
2430 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2431 with cursor positioning in insets as well (math insets still do not
2432 work, but that's a different story anyway.) It mysteriously
2433 crashes sometimes with undo in the first paragraph, but I'm fairly
2434 confident that this is a compiler bug.
2436 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * paragraph.C (Paragraph): adjust for new clone return type
2440 (copyIntoMinibuffer): ditto
2442 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2444 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2445 by not having a special case, and always doing a full rebreak of
2446 the document after undo.
2448 2003-07-23 Angus Leeming <leeming@lyx.org>
2450 * factory.C (createInset): InsetExternal::setParams now takes a
2453 2003-07-23 Angus Leeming <leeming@lyx.org>
2455 * factory.C (createInset): changed interface to the external and
2456 graphics mailers' string2params functions.
2458 2003-07-23 Angus Leeming <leeming@lyx.org>
2460 * factory.C (createInset): pass a
2461 Buffer const * parameter to InsetExternalMailer's string2params.
2463 2003-07-22 John Levon <levon@movementarian.org>
2465 * Thesaurus.h: include the right aiksaurus header
2467 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2469 * MenuBackend.C (expand): check menu shortcuts unconditionally
2471 2003-07-21 Angus Leeming <leeming@lyx.org>
2473 * factory.C (createInset): pass a
2474 buffer_path parameter to InsetGraphicsMailer's string2params.
2476 2003-07-21 Angus Leeming <leeming@lyx.org>
2478 * BufferView_pimpl.C (buffer):
2481 * lyxfunc.C (dispatch):
2482 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2483 rather than the grfx shortcut.
2485 2003-07-21 André Pönitz <poenitz@gmx.net>
2487 * rowpainter.C: remove unused variables
2490 * tabular_funcs.h: move to tabular.C
2491 * Makefile.am: adjust
2493 * tabular.[Ch]: basic optical cleaning
2495 * author.h: pass references, not values
2497 2003-07-18 André Pönitz <poenitz@gmx.net>
2505 * text3.C: two-phase drawing for InsetText and InsetTabular
2506 some float -> int changes.
2508 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2510 * lyx_main.C: fix the fix
2512 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2514 * lyx_main.C: fix a crash in batch mode if no files specified
2517 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2519 * format.[Ch] (papersize): moved to BufferParams
2520 * converter.[Ch] (dvips_options): moved to BufferParams
2521 (dvipdfm_options): moved to anon namespace
2522 * bufferparams.[Ch]: added above functions.
2524 2003-07-17 André Pönitz <poenitz@gmx.net>
2528 * text2.C: don't call inset->update() anymore
2530 * metricsinfo.[Ch]: add convenience constructor
2532 2003-07-16 André Pönitz <poenitz@gmx.net>
2537 * text2.C: replace the LyXCursor::irow_ member with
2538 on-demand computation of the value
2540 2003-07-16 John Levon <levon@movementarian.org>
2542 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2544 2003-07-15 André Pönitz <poenitz@gmx.net>
2547 * text2.C: remove no more needed refresh_row
2549 2003-07-15 André Pönitz <poenitz@gmx.net>
2554 * text3.C: refresh_status tristate -> need_update bool
2556 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2558 * lyxtext.h (init): remove reinit argument (act as if always true)
2559 * text2.C: adjust to that
2561 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2563 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2564 * text3.C: use it to delete selections in some cases
2565 (bugs 441, 673, 702, 954).
2567 2003-07-14 André Pönitz <poenitz@gmx.net>
2569 * rowpainter.[Ch]: reduce interface
2571 2003-07-14 André Pönitz <poenitz@gmx.net>
2573 * BufferView_pimpl.C:
2574 * text2.C: adjust after removing unused BufferView * argument
2576 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2578 * text2.C (init): fix a crash fired on resize
2580 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2582 * buffer.[Ch]: added new closing signal
2583 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2584 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2585 BufferView::Pimpl via the closing the signal
2587 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2589 * buffer.[Ch]: take out all bv-related from buffer
2591 * BufferView_pimpl.[Ch]: connect to new signals
2592 * CutAndPaste.C: removed useless asserts
2593 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2596 * lyxfunc.C: moved view-related funciontality from vc here
2597 * paragraph.C: removed outdated comments
2600 2003-07-10 André Pönitz <poenitz@gmx.net>
2602 * BufferView_pimpl.C:
2606 * text2.C: remove InsetText::InnerCache, clean up consequences
2608 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2610 * ispell.C: fix two typos in error messages
2612 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2614 * Extend Note inset to other forms of annotation like Comment
2615 and Greyedout. Right button click gives dialog.
2617 Files modified or added (+):
2621 * ControlNote.[Ch] +
2623 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2624 frontends/controllers
2628 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2630 * aspell.C: add missing namespace lyx::support
2632 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2634 * BufferView.[Ch] (newFile): Add
2635 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2636 * LaTeX.[Ch] (message): added this signal and use it
2637 * buffer.[Ch] (busy, message): added these signals and use them
2638 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2642 * importer.C: use buffer signals instead of direct bv calling
2643 * lyx_cb.[Ch] (ShowMessage): removed
2646 * paragraph_funcs.C:
2647 * text2.C: use buffer signals
2649 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * introduce namespace lyx::graphics
2653 2003-07-02 André Pönitz <poenitz@gmx.net>
2655 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2657 2003-07-01 André Pönitz <poenitz@gmx.net>
2664 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2665 text*.C to text_func.C
2667 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2669 * introduce namespace lyx::support
2671 2003-06-30 André Pönitz <poenitz@gmx.net>
2676 * text.C: re-enable --with-included-string
2678 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * textcursor.C: add <config.h>
2682 * text.C (getWord): remove const from word_location arg
2684 * lyxvc.C (getLogFile): fix const type order
2686 * lyxtext.h: remove const from word_location arg, add arg name
2688 * lyxlayout.h: currect type on labeltype.
2690 * importer.C: correct \file
2692 * converter.C (intToFormat): use std:: on ret val, ws changes
2694 * bufferlist.h: correct \file
2696 * buffer.C (makeLinuxDocFile): fix const type order
2697 (makeDocBookFile): ditto
2698 (fillWithBibKeys): use std:: on stdlib args.
2700 * CutAndPaste.C: fix authors.
2701 (availableSelections): use std:: on return vector
2703 2003-06-27 André Pönitz <poenitz@gmx.net>
2705 * BufferView_pimpl.C:
2706 * bufferview_funcs.C:
2714 * text3.C: remove LyXCursor::row_ member
2717 * text.C: rename fullRebreak() to partialRebreak() and implement
2718 a fullRebreak() that really bereks fully
2720 * textcursor.h: new struct for cursor-related data
2722 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2724 * lyx_main.C (LyX): get full path of document loaded on the
2727 2003-06-26 André Pönitz <poenitz@gmx.net>
2729 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2730 remove unused/broken operator>,<,>=.
2732 * text.C: remove only use of broken operator<= in an Assert().
2734 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2736 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2737 moved errorlist_.clear to showErrorList
2739 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2741 * converter.C (scanLog, runLaTeX):
2742 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2743 move the bv->showErrorList call to the callers
2744 * lyxfunc.C: i.e. here...
2746 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2747 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2748 namespace, the second to...
2749 * buffer_funcs (BufferFormat, parseErrors): added
2750 * errorlist.C (ErrorList(TeXErrors const &)): removed
2752 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2754 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2756 2003-06-24 "Garst R. Reese" <reese@isn.net>
2760 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2762 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2764 * version.C.in: change docversion to 1.4
2766 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2768 * buffer.C: fix a bug just introduced
2770 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2772 * buffer.[Ch]: added the parseError signal and use it, removed
2774 * BufferView.[Ch] (addError): moved to ...
2775 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2776 to the Buffer::parseError signal to catch (guess what) parse errors
2777 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2779 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2781 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2782 ability to create a buffer and to return an existing one from
2783 the list. Moved these functions to...
2784 * buffer_funcs.[Ch]: added
2785 * BufferView.[Ch] (loadLyXFile): added
2786 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2787 job removed from bufferlist::loadLyXFile.
2788 * buffer.C (setReadOnly): make it work without view
2789 (i.e added an if (users))
2791 2003-06-19 Angus Leeming <leeming@lyx.org>
2794 * LyXAction.C (init):
2795 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2796 with LFUN_DIALOG_SHOW <name> <data>.
2798 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2800 * CutAndPaste.C (availableSelections): small compilation fix for
2801 ancient (gcc 2.9x) compilers
2803 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * text3.C (cursorNext): add tmp var
2807 * text2.C (updateCounters): for function calling out of for clause
2808 (replaceSelectionWithString): ditto
2809 (insertStringAsParagraphs): ditto
2810 (getColumnNearX): add tmp var
2811 (setCursorFromCoordinates): add tmp var
2812 (cursorDownParagraph): add tmp var
2813 (deleteEmptyParagraphMechanism): add tmp var
2815 * text.C (insertChar): add tmp var
2817 * rowpainter.C (paintDepthBar): add tmp var
2819 * CutAndPaste.C (availableSelections): potentially check all
2820 paragraphs in a cut to fill the shown strings.
2822 2003-06-18 André Pönitz <poenitz@gmx.net>
2824 * kbmap.[Ch]: use vector<> instead of list<>
2826 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2828 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2829 pasteSelection with index
2831 * text2.C (pasteSelection): modify, call pasteSelection with index
2833 * paragraph.C (asString): reimplement version with no interval to
2834 call the one with interval.
2836 * lyxtext.h: add index arg to pasteSelection
2838 * MenuBackend.C (MenuItem): handle PasteRecent
2839 (Menu::read::Menutags): add md_pasterecent
2841 (expandPasteRecent): new function
2844 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2846 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2848 (availableSelections): new function
2850 2003-06-17 Angus Leeming <leeming@lyx.org>
2852 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2854 2003-06-17 Angus Leeming <leeming@lyx.org>
2857 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2859 * lyxfunc.C (dispatch): invoke it.
2861 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2863 * iterators.C (operator++, ParPosition): reintroduce some
2864 const_cast for the benefit of older compilers.
2866 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2868 * text3.C (dispatch): do not modify clipboard when doing
2869 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2870 LFUN_DELETE_SKIP on a selection selection
2872 2003-06-16 André Pönitz <poenitz@gmx.net>
2878 * tabular.[Ch]: IU of clone() and getLabelList();
2880 2003-06-13 André Pönitz <poenitz@gmx.net>
2882 * tabular.h: compactification
2884 2003-06-12 André Pönitz <poenitz@gmx.net>
2888 * tabular_funcs.h: some renaming plus whitespace
2890 2003-06-12 André Pönitz <poenitz@gmx.net>
2893 * BufferView_pimpl.C:
2899 * toc.C: Return a Paragraph & for ParIterator::operator*()
2901 2003-06-11 John Levon <levon@movementarian.org>
2905 * ToolbarBackend.C: add "Toolbars" section and
2908 2003-06-10 Angus Leeming <leeming@lyx.org>
2911 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2913 * lyxfunc.C (dispatch): invoke it.
2915 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * main.C: protect <ios> with HAVE_IOS
2918 (main): protect sync_with_stdio with HAVE_IOS
2920 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2922 * text2.C (cutSelection): adjust
2923 (pasteSelection): adjust
2925 * messages.C: handle get of empty string
2927 * main.C (main): use sync_with_stdio(false)
2929 * lyxfunc.C (dispatch): adjust
2931 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2932 (WriteAs): remove unneeded BufferView arg.
2934 * bufferparams.h: use correct types on papersize, papersize2 and
2937 * bufferparams.C (readToken): adjust for type
2938 (writeLaTeX): add missing cases to switch.
2940 * bufferlist.C (quitWriteBuffer): adjust
2943 * buffer.C (asciiParagraph): remove some commented code.
2945 * CutAndPaste.C: remove current_view extern variable.
2946 (cutSelection): add BufferParams arg.
2947 (eraseSelection): add BufferParams arg.
2948 (pasteSelection): add Buffer const & arg
2950 2003-06-07 John Levon <levon@movementarian.org>
2953 * paragraph_funcs.C:
2954 * paragraph_pimpl.C:
2958 * paragraph.C: allow InsetERT to freely space lines,
2959 and some consolidation of code
2961 2003-06-06 José Matos <jamatos@fep.up.pt>
2963 * buffer.C (makeDocBookFile): fix bug #821
2965 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2967 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2969 2003-06-04 Angus Leeming <leeming@lyx.org>
2971 * buffer.C: bump format to 224.
2973 2003-06-05 André Pönitz <poenitz@gmx.net>
2975 * text2.C (redoParagraphs): remove two const_cast<>
2977 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2979 * ParagraphList.h: remove last remnants of NO_STD_LIST
2981 2003-06-03 Angus Leeming <leeming@lyx.org>
2983 * factory.C (createInset): small change to the way InsetExternal's params
2986 2003-06-04 André Pönitz <poenitz@gmx.net>
2988 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2990 * paragraph_pimpl.h:
2991 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2993 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2995 * undo_funcs.C: make some simple cases of undo work again
2997 2003-06-03 John Levon <levon@movementarian.org>
2999 * ispell.C: HPUX doesn't have sys/select.h
3002 2003-06-03 John Levon <levon@movementarian.org>
3004 * CutAndPaste.C: update tabular and include inset
3009 * paragraph.C: remove owningBuffer(), don't pass Buffer
3012 * factory.C: insetGraphicsParams changed
3014 2003-06-02 John Levon <levon@movementarian.org>
3020 * text3.C: remove insetparent
3022 2003-06-02 John Levon <levon@movementarian.org>
3025 * buffer.C: fix inset_iterator.end(), move out of line
3028 2003-06-01 John Levon <levon@movementarian.org>
3030 * text3.C: use a proper cut/paste when doing inset
3031 insert (from Jürgen Spitzmüller)
3033 2003-06-01 John Levon <levon@movementarian.org>
3035 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3037 2003-05-30 André Pönitz <poenitz@gmx.net>
3039 * rowpainter.C: unify second drawing phase
3041 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3043 * trans_mgr.C: remove one case of current_view
3045 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3047 * paragraph_funcs.h: remove paragraph.h include
3049 * paragraph.h: delete NO_STD_LIST stuff
3051 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3053 * buffer.h: remove paragraph.h include
3055 * ParagraphList.C: delete file
3057 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3059 * toc.C (getTocList): adjust
3061 * paragraph_pimpl.C (validate): adjust
3063 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3065 * paragraph.C (Paragraph): adjust
3066 (getPositionOfInset): use const_iterator, adjust
3067 (bibitem): use const_iterator, adjust
3068 (setInsetOwner): adjust
3070 * iterators.C (operator++): adjust
3072 * InsetList.[Ch]: Replace selfmade iterator with standard
3073 vector::iterator also introduce const_iterator. Remove getPos,
3074 getInset and setInset from InsetTable. Adjust accordingly.
3076 * BufferView.C (lockInset): adjust
3077 (ChangeInsets): adjust
3079 * tabular.[Ch]: delete commented same_id functions
3081 2003-05-28 John Levon <levon@movementarian.org>
3083 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3085 2003-05-28 André Pönitz <poenitz@gmx.net>
3087 * metricsinfo.[Ch]: remove 'fullredraw' member
3089 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3091 * lyxtextclass.C (operator): remove caching.
3093 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * text2.C (cursorBottom): adjust
3098 (setCounter): use ParagraphList::find, adjust
3100 * text.C (workWidth): use ParagraphList::find, adjust
3102 * lyxcursor.C (LyXCursor): adjust
3104 * buffer.C (inset_iterator): adjust
3106 * ParagraphList.h: make iterator(value_type) private, make
3107 ParagraphList a friend of iterator.
3109 * ParagraphList.C (find): new function
3111 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3113 2003-05-27 André Pönitz <poenitz@gmx.net>
3115 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3117 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3119 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3121 2003-05-26 John Levon <levon@movementarian.org>
3123 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3125 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3127 * remove same_id from function signatures, adjust.
3129 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3133 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3135 * paragraph.C (Paragraph): get rid of same_ids parameter
3137 * ParagraphList.C (insert): adjust
3140 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * paragraph_funcs.C (breakParagraph): adjust
3143 (breakParagraphConservative): adjust
3145 * buffer.C (readParagraph): adjust
3147 * ParagraphList.C (insert): take a reference instead of a pointer
3150 * paragraph.[Ch] (id): new function
3152 * bufferlist.C (newFile): adjust
3154 * ParagraphList.C (ParagraphList): adjust
3156 (push_back): take a reference instead of a pointer.
3158 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3160 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3163 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3164 set else use old code.
3166 * ParagraphList.C: remove all NO_NEXT code and only compile this
3167 code of NO_STD_LIST is set.
3169 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3171 * BufferView_pimpl.C:
3181 * graphics/GraphicsConverter.C:
3182 * graphics/PreviewLoader.C: header adjustment
3184 2003-05-23 Angus Leeming <leeming@lyx.org>
3186 * LaTeXFeatures.[Ch] (useBabel): new method.
3187 * bufferparams.C (writeLaTeX): use it.
3189 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3191 * ParagraphList.h (set): remove unused function.
3193 2003-05-23 André Pönitz <poenitz@gmx.net>
3196 * BufferView_pimpl.C:
3200 * undo_funcs.C: setUndo reworked
3202 * iterators.[Ch]: add access to topmost ParagraphList
3204 * lyxtext.[Ch] (workWidth): add a const
3206 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3208 * texrow.[Ch] (increasePos): remove function
3209 * exporter.C (export): removed unused var and outdated comment
3211 2003-05-23 Angus Leeming <leeming@lyx.org>
3213 * latexrunparams.h: rename fragile as moving_arg.
3214 * paragraph.C (simpleTeXOnePar): ditto.
3215 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3217 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3221 (textUndoOrRedo): comment out a currently unused var.
3223 * paragraph.h (NO_NEXT): enable NO_NEXT
3225 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3227 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3229 * exporter.C (Export): adjust for removeAutoInsets removal.
3231 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3233 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3235 * BufferView.[Ch] (removeAutoInsets): delete function
3237 2003-05-22 Angus Leeming <leeming@lyx.org>
3239 * latexrunparams.h: add a free_spacing variable.
3241 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3242 to pass moving_arg, as the data is stored in runparams.fragile.
3244 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3245 to Inset::latexOptional or to simpleTeXOnePar.
3247 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3248 free_spacing arg to Inset::latexOptional.
3250 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3253 2003-05-22 Angus Leeming <leeming@lyx.org>
3255 * latexrunparams.h: add fragile and use_babel variables.
3257 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3258 * buffer.C (makeLaTeXFile): store this returned value in
3259 runparams.use_babel, thus passing it to the inset::latex methods.
3261 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3262 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3264 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3265 longer has a fragile arg, as it is stored in runparams.fragile.
3267 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3268 moving_arg parameter as the data is stored in runparams.fragile.
3270 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3271 a fragile parameter as the data is stored in runparams.fragile.
3273 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3277 2003-05-22 Angus Leeming <leeming@lyx.org>
3279 * latexrunparams.h: add a 'bool nice' which defaults to false.
3281 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3282 now encapsulated within runparams.
3284 * bufferlist.C (updateIncludedTeXfiles):
3285 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3287 2003-05-22 Angus Leeming <leeming@lyx.org>
3289 * latexrunparams.h: new file containing struct LatexRunParams.
3290 * Makefile.am: add new file.
3292 * LaTeX.[Ch] (c-tor, run):
3293 * buffer.[Ch] (makeLaTeXFile):
3294 * bufferlist.[Ch] (updateIncludedTeXfiles):
3295 * converter.C (convert, scanLog):
3296 * converter.[Ch] (runLaTeX):
3297 * exporter.C (Export):
3298 * paragraph.[Ch] (simpleTeXOnePar):
3299 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3300 * paragraph_funcs.[Ch] (latexParagraphs):
3301 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3302 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3303 pass around a LatexRunParams parameter.
3305 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * paragraph.[Ch]: remove unused constructor
3309 * ParagraphList.C (erase): new function, taking two iterators
3311 2003-05-22 André Pönitz <poenitz@gmx.net>
3313 * undo_funcs.C: remove duplicated code
3315 * iterator.[Ch]: operator=
3317 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * tabular.C (SetMultiColumn): ws changes
3321 * rowpainter.C (paintFirst): get rid of a ->previous
3323 * lyx_cb.C (getPossibleLabel): parlist simplification
3325 * BufferView.C (ChangeInsets): simplify slightly.
3327 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3329 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3330 * lfuns.h: new LFUN_SPACE
3331 * lyxfunc.C: protected space has a new lfun
3332 * paragraph_funcs.C: read new space insets
3334 * factory.C: handle new space insets
3336 2003-05-22 André Pönitz <poenitz@gmx.net>
3339 * BufferView_pimpl.C:
3342 * undo_funcs.C: return a ParIterator from getParFromID.
3344 * iterators.[Ch]: add two const's
3346 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * toc.C (getTocList): adjust
3350 * iterators.[Ch]: rework for parlist
3352 * buffer.C (par_iterator_begin): adjust
3353 (par_iterator_end): adjust
3355 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3357 * BufferView.C (removeAutoInsets): adjust
3358 (ChangeInsets): adjust
3360 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3362 * text.C (top_y): fix bug 1110
3364 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3366 * errorlist.[Ch]: added
3369 * BufferView_pimpl.C:
3370 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3373 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * Makefile.am: ensure that lyx is relinked upon changes to the
3376 various "convenience" libs.
3378 2003-05-20 Angus Leeming <leeming@lyx.org>
3380 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3381 files are compiled in alphabetical order again.
3383 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3385 2003-05-19 Angus Leeming <leeming@lyx.org>
3387 * gettext.[Ch]: remove "char const * _(char const *)".
3389 2003-05-19 André Pönitz <poenitz@gmx.net>
3391 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3400 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3402 2003-05-19 André Pönitz <poenitz@gmx.net>
3406 * lyxtextclass.[Ch]:
3408 * paragraph_funcs.[Ch]:
3410 * text3.C: more insetenv work
3412 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3414 * ParagraphParameters.C (params2string): small bug fixed
3416 2003-05-16 André Pönitz <poenitz@gmx.net>
3419 * bufferview_funcs.C: patch from Kornel Benko to prevent
3420 crash when _(...) is called twice in a statement
3422 2003-05-16 André Pönitz <poenitz@gmx.net>
3429 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3431 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3433 * lyx_main.C (init): remove spurious static_cast
3435 2003-05-14 André Pönitz <poenitz@gmx.net>
3437 * BufferView.C: fix format string
3439 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3441 * BufferView.[Ch] (insertErrors): removed
3442 * BufferView.[Ch] (showErrorList): added
3443 * buffer.C (runChkTeX):
3444 * converter.C (scanLog): call showErrorList instead of inserterrors
3446 2003-05-13 André Pönitz <poenitz@gmx.net>
3448 * BufferView_pimpl.C:
3450 * bufferview_func.C:
3457 * tabular_funcs.h: tostr() from its own header
3459 * ParagraphParameters.C:
3464 * text3.C: STRCONV()
3466 2003-05-12 André Pönitz <poenitz@gmx.net>
3469 * BufferView_pimpl.C:
3473 * ParagraphParameters.C:
3477 * bufferview_funcs.C:
3490 * paragraph_funcs.C:
3494 * text3.C: boost::format -> bformat all over the place
3497 2003-05-09 André Pönitz <poenitz@gmx.net>
3499 * LColor.[Ch]: Pimpl the #include <map> away
3501 2003-05-09 John Levon <levon@movementarian.org>
3503 * bufferlist.C: never remove emergency saves
3505 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * Makefile.am: better lib building
3509 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3513 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3514 (simpleTeXSpecialChars): adjust
3515 (simpleTeXSpecialChars): adjust
3516 * paragraph.C (simpleTeXOnePar): adjust
3517 * buffer.C (makeLaTeXFile): adjust
3519 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3521 * text2.C (changeDepth): parlist cleanup
3522 (getColumnNearX): ditto
3524 * rowpainter.C (getLabelFont): parlist cleanup
3526 * bufferlist.C (newFile): parlist cleanup
3528 * CutAndPaste.C (eraseSelection): parlist cleanup
3530 * BufferView_pimpl.C (trackChanges): parlist cleanup
3533 * BufferView.C (lockInset): parlist cleanup.
3534 (ChangeInsets): ditto
3536 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * CutAndPaste.h: Update file header.
3540 * CutAndPaste.C: Update file header.
3541 Store the parts cut out of the Document in a limited_stack.
3542 (copySelection): adjust
3543 (pasteSelection): new function, takes the index in the limited stack.
3544 (nrOfParagraphs): adjust
3545 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3546 simplify error inset insertion.
3547 (checkPastePossible): adjust
3549 2003-05-06 John Levon <levon@movementarian.org>
3551 * text2.C: don't cast wrap inset to float
3553 2003-05-05 André Pönitz <poenitz@gmx.net>
3556 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3558 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3559 few naked Paragraph *.
3561 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3563 * bufferparams.C: Output warning if a document with missing
3564 TeX document class is loaded
3565 * exporter.C: Disable TeX exports if the document class is missing
3568 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3569 isTeXClassAvailable()
3571 2003-05-03 John Levon <levon@movementarian.org>
3574 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3575 explicit cursor show/hide
3577 * BufferView_pimpl.h:
3578 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3579 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3581 * lyxfunc.C: hide cursor before dispatching.
3586 * text3.C: remove explicit cursor hides
3588 2003-05-02 André Pönitz <poenitz@gmx.net>
3590 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3593 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3596 * text2.C: tiny whitespace
3598 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * undo_funcs.C: almost only ws changes.
3602 * ParagraphList.C (splice): just return if pl is empty.
3604 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * ParagraphList.C (splice): new function.
3608 * CutAndPaste.C (pasteSelection): use it
3610 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * CutAndPaste.C (pasteSelection): remove the last next and
3613 previous from this file.
3615 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * CutAndPaste.C (pasteSelection): more clean up, user proper
3618 ParagraphList functions for pasteing.
3620 * ParagraphList.C (insert): new function, three arg insert
3622 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * ParagraphList.C (insert): new function, three arg insert
3626 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3629 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3631 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3633 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3637 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3639 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3640 (copySelection): clean up a bit.
3641 (pasteSelection): use make_pair
3643 * ParagraphList.C (ParagraphList): implement copy constructor
3644 (operator=): implement, base on copy constructor.
3647 * paragraph.C (erase): return a bool
3649 * paragraph_pimpl.C (erasePos): remove function, move contents...
3650 (erase): ... here. Return a bool.
3651 (erase): call erase instead of erasePos.
3653 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3655 * ParagraphList.h: define PitPosPair
3656 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3657 ParagraphList, fix a bug on pasting multiple pars
3658 * text2.C: change interface to C&P
3660 2003-04-30 André Pönitz <poenitz@gmx.net>
3662 * undo_func.C: revert part of yesterday's patch 2
3664 2003-04-30 John Levon <levon@movementarian.org>
3666 * LColor.C: s/tabular/table/
3668 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3670 * text3.C (dispatch): do not convert iterator -> pointer
3671 * undo_funcs.C (setCursorParUndo): ditto
3672 * text_funcs.C (transposeChars): ditto
3674 * text2.C (setLayout): ws changes only
3676 * text.C (breakParagraph): do not convert iterator -> pointer
3678 (acceptChange): ditto
3679 (rejectChange): ditto
3684 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3687 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3689 * text3.C (gotoInset): YABG (yet another bad getChar)
3691 2003-04-29 André Pönitz <poenitz@gmx.net>
3693 * paragraph.h: make operator= private unimplemented as long as
3696 * ParagraphList.C: whitespace
3699 * paragraph_pimpl.[Ch]:
3700 * paragraph_funcs.C:
3702 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3705 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3707 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3709 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3710 * paragraph.[Ch] (erase):
3711 * paragraph_pimpl.[Ch] (erase): change return type and value
3712 * text2.C (cutSelection): some rework
3714 2003-04-28 John Levon <levon@movementarian.org>
3716 * bufferlist.C: changes for unsaved changes dialog
3718 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3720 * bufferlist.C (newFile): set language (messages_) for new
3723 * buffer.C (readFile): ws changes only.
3725 2003-04-28 André Pönitz <poenitz@gmx.net>
3730 * BufferView_pimpl.C:
3731 * BufferView.C: getParFromID related ParagraphList::iterator changes
3733 2003-04-28 André Pönitz <poenitz@gmx.net>
3735 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3738 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * messages.C: remove one more localedir class variable.
3742 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * messages.C (getLocaleDir): singleton generation function
3746 (Messages): add a default constructor.
3748 * main.C (main): do not setup localedir here, do not call
3751 * gettext.C (_): use it.
3752 (gettext_init): delete funciton
3754 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * gettext.C (getLyXMessages): new singleton generating function.
3758 * buffer.C (updateDocLang): adjust
3760 * Makefile.am (messages.o): add target
3761 (main.o): remove target
3763 2003-04-27 John Levon <levon@movementarian.org>
3768 * lyxvc.C: specify cancel button in Alert::prompt
3770 2003-04-26 John Levon <levon@movementarian.org>
3775 * LyXAction.C: add LFUN_INSET_SETTINGS
3777 * lyxfunc.C: don't enable tabular-feature when there's
3778 just any locking inset
3780 2003-04-26 John Levon <levon@movementarian.org>
3782 * bufferlist.C: re-add Cancel to buffer close question
3784 * lyxfunc.C: fix import UI a bit
3786 2003-04-25 John Levon <levon@movementarian.org>
3788 * gettext.C: remove the broken asserts for now
3790 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * messages.C: make case where setlocale cannot comply work better.
3794 * buffer.C (updateDocLang): new function
3795 (changeLanguage): use it
3798 * text2.C (setCounter): use B_ a bit.
3800 * lyxlayout.C (Read): be sure to trim the label strings.
3802 * messages.C (Messages): fix typo in comment
3804 * buffer.C (readFile): set message_ after file is loaded.
3805 (makeDocBookFile): remove double return
3806 (changeLanguage): reset message_ upon language change.
3807 (B_): new func, use this to get translated buffer strings.
3809 * main.C: add myself and Jean Marc as authors.
3811 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * messages.[hC]: pimplify Messages, and three different pimpls to be
3814 used in different circumstances.
3816 * gettext.[Ch]: change for use with new message code.
3818 2003-04-24 André Pönitz <poenitz@gmx.net>
3820 * factory.C: support for eqref
3822 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * messages.[Ch]: add missing char
3826 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3828 * messages.[Ch]: New files
3830 2003-04-18 John Levon <levon@movementarian.org>
3834 * BufferView_pimpl.C:
3838 * text2.C: remove layout-copy/paste (bug 778)
3840 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3842 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3844 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3846 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3847 if they succeed. Act accordingly.
3849 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * text2.C (setCharFont): adjust
3852 (setCounter): adjust
3853 (insertStringAsLines): adjust
3855 * text.C (leftMargin): adjust
3856 (setHeightOfRow): adjust
3858 * rowpainter.C (paintFirst): adjust
3861 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3863 (isFirstInSequence): ditto
3864 (getEndLabel): ditto
3867 * paragraph.C (getParLanguage): comment out some hard stuff.
3869 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3871 (simpleDocBookOnePar): ditto
3872 (makeDocBookFile): use ParagraphList::iterator
3874 * CutAndPaste.C (pasteSelection): adjust
3876 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * text2.C (getFont): adjust
3879 (getLayoutFont): adjust
3880 (getLabelFont): adjust
3882 * paragraph_funcs.C (TeXOnePar): adjust
3884 * buffer.C (simpleLinuxDocOnePar): adjust
3885 (simpleDocBookOnePar): adjust
3887 * CutAndPaste.C (pasteSelection): adjust
3889 * BufferView.C (getEncoding): adjust
3891 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3893 2003-04-16 John Levon <levon@movementarian.org>
3895 * lyxfind.C: use parlist stuff for search/changes
3897 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3901 * text2.C (deleteEmptyParagraphMechanism): adjust
3903 * text2.[Ch] (ownerParagraph): delete func (both of them
3905 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3909 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * ParagraphList.C: prepare for NO_NEXT
3913 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * text2.C (getFont): adjust
3916 (getLayoutFont): adjust
3917 (getLabelFont): adjust
3919 * paragraph.C (getFont): adjust
3920 (getLabelFont): adjust
3921 (getLayoutFont): adjust
3923 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3925 2003-04-15 John Levon <levon@movementarian.org>
3929 * lyx_main.C: handle Include in .ui files
3931 2003-04-15 John Levon <levon@movementarian.org>
3933 * MenuBackend.C: make the doc files length shorter
3936 * ToolbarBackend.C: handle toolbar placement flags,
3939 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3941 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3944 * paragraph_funcs.C (TeXOnePar): adjust
3946 * paragraph.C (getLabelFont): add outerfont arg, adjust
3947 (getLayoutFont): ditto
3948 (simpleTeXOnePar): adjust
3950 * paragraph_pimpl.C (realizeFont): delete func
3952 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3954 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3955 row argument, constify cur argument.
3957 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3959 * text2.C (getFont): adjust
3960 (getLayoutFont): adjust
3961 (getLabelFont): adjust
3963 * paragraph_funcs.C (TeXOnePar): adjust
3964 (outerFont): new func...
3965 (realizeFont): ...moved out from here, changed this to facilitate
3968 * paragraph.C (getFont): take outerfont as arg, adjust
3969 (simpleTeXOnePar): add outerfont arg, adjust
3971 * buffer.C (simpleLinuxDocOnePar): adjust
3972 (simpleDocBookOnePar): adjust
3974 * CutAndPaste.C (pasteSelection): adjust
3976 * BufferView.C (getEncoding): adjust
3978 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3980 * text2.C (setCharFont): adjust
3981 (setCounter): adjust
3983 * text.C (leftMargin): adjust
3984 (setHeightOfRow): adjust
3986 * rowpainter.C (paintFirst): adjust
3989 * paragraph_pimpl.C (realizeFont): adjust
3991 * paragraph.C (isFirstInSequence): move from here...
3992 * paragraph_funcs.C (isFirstInSequence): ...to here
3994 * paragraph.C (outerHook): move from here...
3995 * paragraph_funcs.C (outerHook): ...to here
3997 * paragraph.C (depthHook): move from here...
3998 * paragraph_funcs.C (depthHook): ...to here
4000 * paragraph.C (getEndLabel): move from here...
4001 * paragraph_funcs.C (getEndLabel): ...to here
4003 * text2.C (realizeFont): move from here...
4004 * paragraph_funcs.C (realizeFont): ...to here
4006 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4010 2003-04-14 Angus Leeming <leeming@lyx.org>
4012 * LColor.[Ch]: scrap LColor mathcursor.
4014 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * lyxlex.[Ch] (text): delete function
4017 * trans.C (Load): adjust
4018 * paragraph_funcs.C (readParToken): adjust
4020 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4022 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4023 vector<char> instead of a char[].
4025 * lyxlex_pimpl.C (getString): adjust
4027 (lex): use getString
4031 * lyxlex.C (text): use pimpl_->getString()
4035 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4037 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4038 (makeFontEntriesLayoutSpecific): temp var for par.size()
4039 (setLayout): temp var for ownerParagraphs().end()
4040 (fullRebreak): temp var for rows().end()
4041 (selectionAsString): temp var for boost::next(startpit), realize
4042 that the while really is a regular for loop.
4043 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4044 setCursor in one place.
4045 (setParagraph): temp vr for ownerParagraphs().end()
4046 (updateCounters): make the while loop a for loop
4047 (cutSelection): temp var for ownerParagraphs().end()
4048 (updateInset): make the do {} while() a regular for loop
4049 (getCursorX): use temp vars
4050 (setCurrentFont): use temp vars
4051 (getColumnNearX): use temp vars
4053 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * text.C (transformChar): use temp var for getChar
4056 (computeBidiTables): use temp var for row->par()
4057 (fill): move temp vars for row->par() and pit->layout() earlier in
4059 (labelFill): use temp var for row->par()
4060 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4061 asc and desc, realize that pit never changes and that firstpit is
4062 just a duplicate and not needed. Exchange rit->par() with pit in a
4064 (breakAgain): use a temp var for boost::next(rit)
4065 (breakAgainOneRow): ditto
4066 (breakParagraph): use a temp var for rows().begin()
4067 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4068 (cursorRightOneWord): use temp var for cursor.par() and
4069 cursor.pos(), remove usage of tmpcursor.
4070 (cursorLeftOneWord): use temp var for cursor.par() and
4071 cursor.pos() only set cur at end of function.
4073 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * text.C, text2.C: exchange all usage of Paragraph::next with
4076 boost::next(ParagraphList::iterator)
4078 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4080 * text2.C (cursorTop): simplify implementation
4081 (cursorBottom): ditto
4082 (setParagraph): use ParagraphList::iterator
4083 (setCurrentFont): adjust
4084 (getColumnNearX): adjust
4085 (cursorRight): adjust
4086 (cursorLeft): remove usage of Paragraph::previous
4087 (cursorUpParagraph): ditto
4088 (deleteEmptyParagraphMechanism): slight cleanup
4090 * text.C (isBoundary): take a Paragraph const & instead of a
4092 (addressBreakPoint): ditto
4093 (leftMargin): remove usage of Paragraph::previous.
4094 (setHeightOfRow): ditto
4095 (cursorLeftOneWord): ditto
4096 (selectNextWordToSpellcheck): ditto
4099 (breakParagraph): remove one usage of Paragraph::next
4100 (redoParagraph): ditto
4101 (acceptChange): ditto
4102 (insertChar): adjust
4103 (rowBreakPoint): adjust
4105 * bufferview_funcs.C (toggleAndShow): adjust
4107 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4109 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4110 methods to access it.
4112 * text.C: Added updateRowPositions to compute all row positions.
4113 Make top_y and getRowNearY() to use the cached y position
4115 2003-04-11 John Levon <levon@movementarian.org>
4117 * text.C (rowBreakPoint): reintroduce the labelEnd
4118 checks, code copied from the row fill stuff. Deep voodoo.
4120 * text.C (fill): add a comment and debugging for the
4123 2003-04-11 John Levon <levon@movementarian.org>
4125 * text.C: make sure fullrow insets get wrapped to the next line,
4126 even when they're in a manual label
4128 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * text2.C (insertParagraph): make it take ParagraphList::iterator
4132 (setLayout): make it return ParagraphList::iterator
4133 (redoParagraphs): ditto
4135 (checkParagraph): ditto
4137 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4139 * text2.C: adjust several funcs.
4140 (realizeFont): take a ParagraphList::iterator as arg.
4141 (getLayoutFont): ditto
4142 (getLabelFont): ditto
4143 (setCharFont): ditto
4145 * text.C: adjust several funcs.
4147 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4149 * text.C (selectNextWordToSpellcheck): don't accidentally
4152 2003-04-10 John Levon <levon@movementarian.org>
4154 * ToolbarBackend.C (getIcon): special handling for
4157 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4159 * text2.C (cursorRight): a getChar assert fixed
4161 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * text2.C (getFont): change to take a ParagraphList::iterator
4164 instead of Paragraph*
4165 Adjust several functions.
4167 * text.C (transformChar): change to take a ParagraphList::iterator
4168 instead of Paragraph*
4169 (singleWidth): ditto
4170 Adjust several functions.
4172 * rowpainter.C: adjust several functions
4173 * rowpainter.h:store a ParagraphList::iterator and not a
4177 2003-04-09 John Levon <levon@movementarian.org>
4182 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4183 and the "help" bits as well
4185 2003-04-09 John Levon <levon@movementarian.org>
4188 * ToolbarBackend.C: allow multiple toolbars
4190 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * undo_funcs.C (setCursorParUndo): adjust
4194 * text_funcs.C (transposeChars): adjust
4196 * text3.C (gotoNextInset): adjust
4199 * text2.C (setLayout): adjust
4200 (changeDepth): adjust
4202 (redoParagraphs): adjust
4203 (selectionAsString): adjust
4204 (setParagraph): adjust
4205 (insertInset): adjust
4206 (cutSelection): adjust
4207 (copySelection): adjust
4208 (pasteSelection): adjust
4209 (insertStringAsLines): adjust
4210 (updateInset): adjust
4211 (setCursor): change to take a ParagraphList::iterator parameter
4212 (setCursorIntern): change to take a ParagraphList::iterator parameter
4213 (setCurrentFont): adjust
4214 (cursorLeft): adjust
4215 (cursorRight): adjust
4216 (deleteEmptyParagraphMechanism): adjust
4218 * text.C (breakParagraph): adjust
4219 (insertChar): adjust
4220 (acceptChange): adjust
4221 (rejectChange): adjust
4222 (selectNextWordToSpellcheck): adjust
4223 (changeCase): adjust
4227 * lyxfind.C (SearchForward): adjust
4228 (SearchBackward): adjust
4229 (nextChange): adjust
4231 * lyxcursor.C (par): adjust
4233 * lyxcursor.h: store a ParagraphList::iterator instead of a
4236 * lyx_cb.C (getPossibleLabel): adjust
4238 * bufferview_funcs.C (toggleAndShow): adjust
4240 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4243 * BufferView.C (removeAutoInsets): adjust
4244 (lockedInsetStoreUndo): adjust
4246 2003-04-09 John Levon <levon@movementarian.org>
4248 * ToolbarBackend.C: try icon without argument
4249 if with argument fails
4251 2003-04-08 John Levon <levon@movementarian.org>
4254 * ToolbarBackend.C: add getIcon(), handle tooltip,
4255 and change from "Icon" to "Item".
4257 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4259 * BufferView.C (lockInset): another bad getchar crunched
4261 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4263 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4266 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4268 * lyxfind.C (searchForward, searchBackwards): bug 782
4270 2003-04-07 John Levon <levon@movementarian.org>
4272 * paragraph.C: remove dead comment
4274 * text.C: remove troublesome depth-fiddling code
4275 in leftMargin() and rightMargin() (bug 1017)
4277 * text.C: fix breaking of rows in nested lists
4280 * text2.C (updateCounters): fix up depth values
4283 2003-04-07 John Levon <levon@movementarian.org>
4285 * BufferView_pimpl.C: clear message when doc finishes resizing,
4286 and after a mouse event
4288 * lyxfunc.C: clear message after exiting inset
4290 2003-04-07 John Levon <levon@movementarian.org>
4292 * bufferview_funcs.C: show math status not outside
4293 status in the statusbar
4295 2003-04-07 John Levon <levon@movementarian.org>
4297 * lyxfunc.C: note status changed after a depth change
4299 2003-04-04 Angus Leeming <leeming@lyx.org>
4301 * LaTeX.h: move AuxInfo operator==, != out of line.
4302 Remove LaTeX virtual destructor; nothing derives from it.
4303 Move operator()() out of public area and rename it startscript().
4304 Change protected for private.
4306 2003-04-04 Angus Leeming <leeming@lyx.org>
4309 * text2.C: remove unneeded #includes.
4311 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4313 * text2.C (dEPM): fix the heigth of the next row
4315 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4317 * text.C: squashed an invalid getChar requester + some ws changes
4319 2003-04-03 John Levon <levon@movementarian.org>
4321 * bufferview_funcs.h:
4322 * bufferview_funcs.C:
4325 * text2.C: make getStatus work for the env depth lfuns
4327 2003-04-03 John Levon <levon@movementarian.org>
4329 * bufferview_funcs.h:
4330 * bufferview_funcs.C:
4333 * text2.C: parlistize decDepth(), by merging it with incDepth()
4335 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * lyxrow.h: store a ParagraphList::iterator instead of a
4338 Paragraph* and adjust other class functions to suit.
4340 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4343 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4345 * text2.C (setCursor): do not anchor to cursor row for the time being
4347 2003-04-02 John Levon <levon@movementarian.org>
4354 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4356 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * paragraph.h: make ParagraphList and ParagraphList::iterator
4359 friends of Paragraph.
4361 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4363 * ParagraphList.C: Use the private next_ and previous_ from
4366 2003-04-01 John Levon <levon@movementarian.org>
4370 * Makefile.am: rename, remove defaults gunk
4373 * MenuBackend.C: remove defaults gunk
4376 * Languages.C: remove defaults gunk
4379 * lyx_main.C: error out if files couldn't be found.
4381 2003-04-02 John Levon <levon@movementarian.org>
4383 * text2.C: make incDepth() use parlist
4385 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * undo_funcs.C (firstUndoParagraph): adjust
4389 * text3.C (gotoInset): adjust
4390 (dispatch): adjust, and rewrite loop.
4392 * text2.C (init): adjust, and rewrite loop.
4393 (redoParagraphs): adjust
4394 (updateInset): adjust, and rewrite loop.
4395 (deleteEmptyParagraphMechanism): adjust
4397 * tabular.C (LyXTabular): adjust
4398 (SetMultiColumn): adjust
4401 * lyxtext.[Ch] (ownerParagraph): delete function
4402 (ownerParagraphs): new function returns a ParagraphList.
4404 * BufferView.C (removeAutoInsets): adjust
4405 (insertErrors): adjust
4406 (setCursorFromRow): adjust
4408 2003-04-01 Angus Leeming <leeming@lyx.org>
4410 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4413 2003-04-02 John Levon <levon@movementarian.org>
4419 * text_funcs.C: make transposeChars a free function
4421 * lyxrow_funcs.C: remove wrong comment
4423 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * rowpainter.C: adjust
4431 * lyxrow_funcs. [Ch]: new files
4433 * lyxrow.[Ch]: remove next and previous pointers
4434 (next,previous): remove accessor functions
4435 (isParEnd): move to lyxrow_funcs
4436 (lastPos): move to lyxrow_funcs
4437 (nextRowIsAllInset): move to lyxrow_funcs
4438 (lastPrintablePos): move to lyxrow_funcs
4439 (numberOfSeparators): move to lyxrow_funcs
4440 (numberOfHfills): move to lyxrow_funcs
4441 (numberOfLabelHfills): move to lyxrow_funcs
4442 (hfillExpansion): move to lyxrow_funcs
4446 * bufferview_funcs.C (toggleAndShow): adjust
4448 * RowList.h: Remove class RowList from file leave just a
4451 * RowList.C: delete file
4453 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4456 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * text3.C (cursorPrevious): adjust
4459 (cursorNext): adjust
4462 * text2.C (redoHeightOfParagraph): adjust
4463 (redoDrawingOfParagraph): adjust
4466 * text.C (breakParagraph): adjust
4467 (insertChar): adjust
4470 * rowpainter.C (RowPainter): adjust
4471 (leftMargin): simplify and adjust
4472 (most rowpainter functions): adjust.
4474 * rowpainter.h: store the row as RowList::iterator not as Row*
4476 * lyxcursor.C (row): taka RowList::iterator as arg
4479 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4482 2003-04-01 Angus Leeming <leeming@lyx.org>
4484 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4485 stuff like bool Bool.
4487 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4489 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4492 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4497 * lyxtext.h (rows): drop one version and leve a const variant that
4498 returns a RowList::iterator.
4500 2003-03-31 Angus Leeming <leeming@lyx.org>
4502 * text.C (fill): ensure that the signature is the same as that in the
4505 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * text2.C (redoParagraphs): adjust
4508 (updateCounters): adjust
4509 (checkParagraph): adjust
4510 (getColumnNearX): adjust and reformat a bit.
4512 * text.C (top_y): adjust
4514 (leftMargin): adjust
4515 (prepareToPrint): adjust
4517 (getRowNearY): adjust
4519 * lyxtext.h: make rowlist_ mutable.
4521 * RowList.h: add const_iterator
4522 * RowList.C: adjust for RowList::const_iterator.
4524 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4527 2003-03-31 John Levon <levon@movementarian.org>
4530 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4532 * lyx_main.C: set default fonts from using lyx_gui funcs
4534 * exporter.C: pdf_mode moved from lyxrc
4537 * lyxfunc.C: changes from above
4539 2003-03-31 John Levon <levon@movementarian.org>
4541 * lyx_main.C: fix to the last fix
4543 2003-03-31 John Levon <levon@movementarian.org>
4545 * bufferlist.C: "Load original" -> "Load Original"
4551 * format.C: more Alert cleanups
4553 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * text2.C (removeParagraph): make it take a RowList::iterator as
4557 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4558 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4560 * text.C (anchor_row): make it take a RowList::iterator as arg,
4562 (computeBidiTables): make it take a const reference to Row instead
4563 of Row pointer, adjust.
4564 (leftMargin): make it take a RowList::iterator as arg, adjust.
4565 (rowBreakPoint): adjust
4566 (breakAgainOneRow): make it take a RowList::iterator as arg,
4568 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4570 * bufferview_funcs.C (toggleAndShow): adjust
4572 2003-03-30 John Levon <levon@movementarian.org>
4576 * boost-inst.C: moved to support
4578 * several files: changes as a result
4580 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * text2.C (LyXText): adjust.
4584 (removeRow): make it take a RowList::iterator as arg, adjust.
4585 (fullRebreak): adjust
4586 (deleteEmptyParagraphMechanism): adjust
4587 (clearPaint): adjust
4590 * text.C (top_y): adjust
4591 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4592 (breakAgain): make it take a RowList::iterator as arg, adjust.
4593 (breakParagraph): adjust
4594 (insertChar): adjust
4597 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4598 need_break_row, and refresh_row.
4600 * text3.C (dispatch): adjust
4602 * text2.C (checkParagraph): adjust
4604 (setCursorFromCoordinates): adjust
4606 * text.C (top_y): adjust
4608 (getRow): make it return a RowList::iterator, adjust
4609 (getRowNearY): make it return a RowList::iterator, adjust
4611 * text2.C (init): adjust
4612 (insertRow): remove function
4613 (insertParagraph): adjust
4614 (redoParagraphs): adjust
4615 (fullRebreak): adjust
4616 (updateCounters): adjust
4618 * text.C (top_y): rewrite to use RowList iterators.
4620 (setHeightOfRow): rewrite to sue RowList iterators.
4621 (appendParagraph): adjust
4622 (breakAgain): adjust
4623 (breakAgainOneRow): adjust
4624 (breakParagraph): adjust
4626 (getRowNearY): adjust, and remove commented code.
4628 * lyxtext.h (firstRow): delete function
4629 (lastRow): delete function
4630 (rows): new function (const and non-const versions.)
4631 (insertRow): delete function
4633 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4635 2003-03-29 John Levon <levon@movementarian.org>
4637 * BufferView_pimpl.C: always update scrollbar top
4638 because pasting text when we're anchored could mean we
4639 miss an update altogether
4641 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4643 * text2.C (init): use rowlist_.end() and not 0.
4644 (insertRow): change to take a RowList::iterator as arg, adjust
4646 (insertParagraph): change to take a RowList::iterator as arg,
4648 (redoParagraphs): remove some debug msgs.
4650 * text.C (appendParagraph): change to take a RowList::iterator
4651 arg, adjust for this.
4652 (breakAgain): add an assert
4653 (breakAgainOneRow): ditto
4655 2003-03-29 John Levon <levon@movementarian.org>
4657 * text2.C: do not clear selection after inc/decDepth
4660 2003-03-29 John Levon <levon@movementarian.org>
4663 * buffer.C: fix broken strerrors according to Lars
4665 2003-03-29 John Levon <levon@movementarian.org>
4667 * converters.C: more Alert cleanups
4669 2003-03-29 John Levon <levon@movementarian.org>
4671 * bufferview_funcs.C: remove pointless Alert
4673 * buffer.C: fix confusing error message when
4674 a template is chmoded 000
4676 2003-03-29 John Levon <levon@movementarian.org>
4680 * BufferView_pimpl.C: Alert fixes
4684 * tabular-old.C: remove unused table compat reading
4686 2003-03-29 John Levon <levon@movementarian.org>
4691 * lyx_cb.C: more Alert cleanups
4693 * lyxfunc.C: don't allow chktex if not latex document
4695 2003-03-29 John Levon <levon@movementarian.org>
4699 * buffer.C: warnings pushed down from support/,
4702 2003-03-29 John Levon <levon@movementarian.org>
4704 * lyxfunc.C: safety check for C-r (revert)
4706 2003-03-29 John Levon <levon@movementarian.org>
4709 * bufferlist.C: several UI fixes using Alert::prompt.
4710 Fix the pointless looping quit code. Fix stupid revert
4715 * lyx_cb.C: use Alert::prompt
4717 * lyx_main.C: remove a silly question
4719 * lyxfunc.C: remove a couple of silly questions,
4722 2003-03-28 John Levon <levon@movementarian.org>
4724 * text2.C: fix bug 974 (End on empty par)
4726 2003-03-28 John Levon <levon@movementarian.org>
4728 * BufferView_pimpl.C:
4730 * lfuns.h: remove do-nothing math greek lfuns
4732 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * lyxgluelength.h (isValidGlueLength): add default arg on
4735 parameter 2. Remove default arg from friend in class.
4737 * lyxlength.h (isValidLength): add default arg on parameter 2.
4738 Remove default arg from friend in class.
4740 * text2.C (LyXText): adjust, initialize refresh_row.
4744 (insertParagraph): adjst
4745 (redoParagraphs): adjust
4746 (fullRebreak): adjust
4747 (updateCounters): adjust
4748 (deleteEmptyParagraphMechanism): first attempt at fixing a
4751 * text.C (top_y): adjust
4752 (setHeightOfRow): adjust
4754 (getRowNearY): adjust
4756 * lyxtext.h: include RowList.h
4757 (~LyXText): not needed anymore, deleted.
4758 (firstRow): modify for RowList
4759 (lastRow): new function
4760 Delete firstrow and lastrow class variables, add a Rowlist
4761 rowlist_ class variable.
4763 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4766 * RowList.C (insert): fix case where it == begin().
4768 2003-03-26 Angus Leeming <leeming@lyx.org>
4770 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4771 the thesaurus dialog.
4773 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4777 * RowList.[Ch]: new files
4779 * ParagraphList.C (erase): handle the case where it == begin
4782 2003-03-25 John Levon <levon@movementarian.org>
4786 * aspell.C: add new aspell support
4789 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4792 2003-03-25 Angus Leeming <leeming@lyx.org>
4795 * LyXAction.C (init): new LFUN_INSET_INSERT.
4797 * BufferView_pimpl.C (dispatch): split out part of the
4798 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4800 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4803 2003-03-25 Angus Leeming <leeming@lyx.org>
4805 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4807 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4810 * text3.C: remove useless row->height(0)
4812 2003-03-25 John Levon <levon@movementarian.org>
4816 * text3.C: rename the refreshing stuff to better names
4818 2003-03-24 John Levon <levon@movementarian.org>
4820 * BufferView_pimpl.h:
4821 * BufferView_pimpl.C: update layout choice on a mouse
4824 2003-03-23 John Levon <levon@movementarian.org>
4826 * Makefile.am: fix commandtags.h reference
4828 2003-03-22 John Levon <levon@movementarian.org>
4830 * BufferView_pimpl.C:
4835 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4837 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4840 * text.C: take the rtl methods out of line
4842 2003-03-21 André Pönitz <poenitz@gmx.net>
4844 * metricsinfo.[Ch]: new files containing structures to be passed around
4845 during the two-phase-drawing...
4847 2003-03-21 André Pönitz <poenitz@gmx.net>
4849 * lyxtextclass.C: read 'environment' tag.
4851 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4853 * text2.C (removeRow): fix bug 964
4855 2003-03-20 John Levon <levon@movementarian.org>
4859 * text2.C: paint cleanups. Inset::update() dropped font
4862 2003-03-19 John Levon <levon@movementarian.org>
4864 * lyxfunc.C: only fitcursor/markDirty if available()
4866 2003-03-19 John Levon <levon@movementarian.org>
4868 * commandtags.h: rename to ...
4870 * lfuns.h: ... this, and renumber / cleanup
4872 2003-03-19 John Levon <levon@movementarian.org>
4874 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4875 fit the cursor after an lfun
4879 * BufferView_pimpl.h:
4880 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4882 * LyXAction.C: layout-character should have ReadOnly
4884 * ParagraphParameters.C:
4886 * bufferview_funcs.C:
4893 * undo_funcs.C: changes from above
4895 2003-03-18 John Levon <levon@movementarian.org>
4897 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4898 remove it from update()
4900 * lyxfunc.C: update layout choice after an lfun
4902 * text3.C: remove extra updateLayoutChoice()s
4904 2003-03-18 John Levon <levon@movementarian.org>
4906 * text.C: top_y change means full repaint, fix
4907 a drawing bug with cursor movement
4909 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4913 * text2.C: anchor row on setCursor
4915 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4917 * lyxtext.h: remove almost all mutable keywords
4920 * text3.C: remove const keywords accordingly
4922 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4926 (TeXEnvironment): ditto
4929 2003-03-17 John Levon <levon@movementarian.org>
4931 * text.C (rowBreakPoint): remove attempt to fix displayed
4932 math insets inside a manual label
4934 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4936 * lyxtext.h: remove BufferView* as first arg from almost all class
4938 * other files: adjust.
4940 2003-03-17 John Levon <levon@movementarian.org>
4944 * text2.C: more paint cleanups
4946 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4949 * rowpainter.C: remove "smart" background painting code
4951 2003-03-16 John Levon <levon@movementarian.org>
4956 * text3.C: add helper functions for setting refresh_row/y
4958 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4960 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4961 newline inset which *can* get inserted in the pass_thru layouts.
4962 This is primarily for literate documents.
4964 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4966 * buffer.C: increment LYX_FORMAT to 223
4968 2003-03-14 André Pönitz <poenitz@gmx.net>
4970 * textclass.h: prepare for environment handling, ws changes
4971 * lyxlayout.C: read latexheader and latexfooter tags
4973 2003-03-14 John Levon <levon@movementarian.org>
4975 * text2.C: rewrite ::status() a bit
4977 2003-03-13 John Levon <levon@movementarian.org>
4979 * lyxtext.h: add some docs
4981 2003-03-13 John Levon <levon@movementarian.org>
4986 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4988 2003-03-13 John Levon <levon@movementarian.org>
4990 * text3.C: fix appendix redrawing
4992 2003-03-13 John Levon <levon@movementarian.org>
4994 * text.C (setHeightOfRow):
4996 * rowpainter.C: make appendix mark have the text
4997 "Appendix" so the user knows what it is
5000 * LColor.C: s/appendixline/appendix/ from above
5002 2003-03-13 John Levon <levon@movementarian.org>
5004 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5006 * text.C: fix a getChar(pos) bug properly
5008 2003-03-13 Angus Leeming <leeming@lyx.org>
5011 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5012 Probably only temporary. Let's see how things pan out.
5014 * BufferView.C (unlockInset):
5015 * BufferView_pimpl.C (fitCursor):
5016 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5018 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5019 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5021 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5022 new functions that convert ParagraphParameters to and from a string.
5024 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5025 BufferView::Pimpl's dispatch.
5026 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5028 2003-03-13 André Pönitz <poenitz@gmx.net>
5032 * factory.C: make it aware of InsetEnv
5034 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5036 * text2.C (setCursor): never ask for one past last
5037 (setCursor): add some debugging messages.
5039 * text.C (singleWidth): never ask for one past last
5040 (singleWidth): ditto
5042 (rightMargin): ditto
5043 (rowBreakPoint): ditto
5044 (setHeightOfRow): ditto
5045 (prepareToPrint): ditto
5047 * rowpainter.C (paintBackground): never ask for one past last
5048 (paintText): never ask for one past last
5050 * paragraph_pimpl.C (getChar): make the assert stricter, never
5051 allow the one past last pos to be taken
5053 * paragraph.C (getChar): ws changes only
5055 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5056 (numberOfSeparators): ditto
5057 (numberOfHfills): ditto
5059 2003-03-12 John Levon <levon@movementarian.org>
5065 * paragraph_funcs.C: fix per-buffer authorlists
5067 2003-03-12 John Levon <levon@movementarian.org>
5069 * text.C: fix newline in right address
5071 2003-03-12 Angus Leeming <leeming@lyx.org>
5073 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5074 duplicate those in LyXFunc::dispatch.
5078 * ToolbarDefaults.C:
5079 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5080 Add LFUN_FONTFREE_UPDATE.
5082 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5083 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5085 * bufferview_func.[Ch]: several new functions to facilliate
5086 transfer of data to and from the character dialog.
5088 2003-03-12 John Levon <levon@movementarian.org>
5093 * paragraph_funcs.C:
5094 * paragraph_pimpl.C:
5098 * text3.C: remove META_NEWLINE in favour of an inset
5101 * rowpainter.C: remove paintNewline (done by inset)
5103 2003-03-12 John Levon <levon@movementarian.org>
5105 * paragraph_pimpl.C: complain about bad getChar()s
5106 for a while at least
5108 2003-03-12 John Levon <levon@movementarian.org>
5111 * buffer.C: move paragraph read into a separate function,
5112 a little renaming to reflect that.
5115 * bufferparams.C: remove the author_ids map, not necessary now
5118 * factory.C: moved Buffer::readInset to here
5120 * paragraph_funcs.h:
5121 * paragraph_funcs.C: readParagraph free function moved from
5124 * tabular.C: name change
5126 2003-03-12 John Levon <levon@movementarian.org>
5129 * ParagraphParameters.C: move par params input to
5132 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5133 behave like a normal read from the stream wrt reading
5134 a line vs. a \\token
5136 2003-03-12 John Levon <levon@movementarian.org>
5139 * ParagraphParameters.h:
5140 * ParagraphParameters.C: move output code to a
5143 2003-03-12 John Levon <levon@movementarian.org>
5145 * BufferView.C (insertLyXFile):
5148 * tabular.C: use a parlist iterator for creating the
5151 2003-03-12 John Levon <levon@movementarian.org>
5153 * buffer.C: make current_change static local not
5156 2003-03-12 John Levon <levon@movementarian.org>
5158 * buffer.C: fix insertStringAsLines for change tracking
5160 2003-03-12 John Levon <levon@movementarian.org>
5167 * bufferparams.C: move author list into params. Rename some
5168 functions. Move the header reading into a separate token
5169 loop. Move the header token reading into BufferParams.
5171 2003-03-12 John Levon <levon@movementarian.org>
5173 * changes.C: put debug inside lyxerr.debugging() checks
5175 2003-03-11 André Pönitz <poenitz@gmx.net>
5177 * factory.C: make it aware of InsetHFill
5179 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5181 * buffer.C (latexParagraphs): move function from here...
5182 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5185 2003-03-10 Angus Leeming <leeming@lyx.org>
5187 * LyXAction.C (init): fix bug in poplating array with multiple entries
5188 with the same LFUN (spotted by JMarc).
5190 2003-03-10 John Levon <levon@movementarian.org>
5193 * text2.C: move getColumnNearX() near its
5196 2003-03-10 John Levon <levon@movementarian.org>
5198 * text.C: fix break before a minipage
5200 2003-03-10 John Levon <levon@movementarian.org>
5202 * text.C: fix the last commit
5204 2003-03-09 John Levon <levon@movementarian.org>
5208 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5209 bug 365 (don't break before insets unless needed). Don't
5210 return a value > last under any circumstances.
5212 2003-03-09 Angus Leeming <leeming@lyx.org>
5214 * BufferView_pimpl.C (trackChanges, dispatch): call
5215 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5217 2003-03-09 Angus Leeming <leeming@lyx.org>
5219 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5220 than Dialogs::showAboutlyx().
5222 2003-03-09 Angus Leeming <leeming@lyx.org>
5224 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5225 than Dialogs::showTabularCreate().
5227 2003-03-09 John Levon <levon@movementarian.org>
5231 * text2.C: 3rd arg to nextBreakPoint was always the same.
5234 2003-03-08 John Levon <levon@movementarian.org>
5241 * text2.C: Remove the "main" bit from the "main body"
5244 2003-03-08 John Levon <levon@movementarian.org>
5246 * text.C (leftMargin): The left margin of an empty
5247 manual label paragraph should not include the label width
5250 * text.C (prepareToPrint): don't attempt to measure hfills
5251 for empty manual label paragraphs - the answer should be 0
5253 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5255 * CutAndPaste.C: remove commented code and reindent.
5257 2003-03-08 John Levon <levon@movementarian.org>
5260 * lyxfunc.C: move reloadBuffer()
5263 * BufferView.C: to here
5265 * lyxvc.C: add comment
5268 * vc-backend.C: call bv->reload() to avoid
5269 getStatus() check on MENURELOAD
5271 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5273 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5274 to an old format .dep file.
5276 2003-03-07 Angus Leeming <leeming@lyx.org>
5278 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5279 when the LFUN_MOUSE_RELEASE should have been handled by
5280 inset->localDispatch.
5282 2003-03-07 Angus Leeming <leeming@lyx.org>
5284 * BufferView_pimpl.C (dispatch):
5285 * LyXAction.C (init):
5286 * ToolbarDefaults.C (init):
5288 * lyxfunc.C (getStatus):
5289 remove LFUN_INSET_GRAPHICS.
5291 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5293 2003-03-07 Angus Leeming <leeming@lyx.org>
5296 * LyXAction.C (init):
5297 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5299 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5302 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5304 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5305 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5307 2003-03-07 Angus Leeming <leeming@lyx.org>
5309 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5312 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5314 * ParagraphList.C (front): new function
5317 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5319 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5320 and top_row_offset_. removed var first_y.
5322 * text2.C (LyXText, removeRow):
5324 * BufferView_pimpl.C:
5325 use these methods instead of using first_y
5327 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * text2.C (pasteSelection): adjust for checkPastePossible
5331 * CutAndPaste.C: remove Paragraph * buf and replace with
5332 ParagraphList paragraphs.
5333 (DeleteBuffer): delete
5334 (cutSelection): change the tc type to textclass_type
5335 (copySelection): change the tc type to textclass_type
5336 (copySelection): adjust for ParagraphList
5337 (pasteSelection): change the tc type to textclass_type
5338 (pasteSelection): adjust for Paragraphlist
5339 (nrOfParagraphs): simplify for ParagraphList
5340 (checkPastePossible): simplify for ParagraphList
5341 (checkPastePossible): remove unused arg
5343 * ParagraphList.C (insert): handle the case where there are no
5346 * CutAndPaste.h: make CutAndPaste a namespace.
5348 * text3.C (dispatch): adjust
5350 * text.C (breakParagraph): add a ParagraphList as arg
5352 * paragraph_funcs.C (breakParagraph): change to take a
5353 BufferParams and a ParagraphList as args.
5354 (breakParagraphConservative): ditto
5355 (mergeParagraph): ditto
5356 (TeXDeeper): add a ParagraphList arg
5357 (TeXEnvironment): ditto
5360 * buffer.C (readLyXformat2): adjust
5361 (insertStringAsLines): adjust
5362 (latexParagraphs): adjust
5364 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5365 (cutSelection): adjust
5366 (pasteSelection): adjust
5368 * BufferView_pimpl.C (insertInset): adjust
5370 2003-03-05 Angus Leeming <leeming@lyx.org>
5373 * LyXAction.C (init):
5374 * BufferView_pimpl.C (dispatch):
5375 * lyxfunc.C (getStatus):
5376 remove LFUN_CHILD_INSERT.
5378 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5380 2003-03-05 Angus Leeming <leeming@lyx.org>
5383 * LyXAction.C (init):
5384 * src/factory.C (createInset):
5385 * lyxfunc.C (getStatus):
5386 * text3.C (dispatch):
5387 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5389 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5391 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * ParagraphList.C (insert): handle insert right before end()
5394 (erase): fix cases where it can be first or last paragraph.
5396 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5399 Paragraph::next and Paragraph::previous
5402 * text.C (breakParagraph): adjust
5404 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5405 BufferParams& as arg.
5406 (breakParagraph): use ParagraphList::insert
5407 (breakParagraphConservative): take a Buffer* instead of a
5408 BufferParams& as arg.
5409 (breakParagraphConservative): use ParagraphList::insert.
5411 * buffer.C (insertStringAsLines): un-const it
5412 (insertStringAsLines): adjust
5414 * ParagraphList.C (insert): new function
5416 * CutAndPaste.C (pasteSelection): adjust
5418 * text.C (backspace): adjust
5420 * tabular.C (SetMultiColumn): adjust
5422 * CutAndPaste.C (cutSelection): adjust
5423 (pasteSelection): adjust
5425 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5426 Buffer const * as arg
5428 * ParagraphList.C (erase): new function
5429 * paragraph_funcs.C (mergeParagraph): use it
5430 (mergeParagraph): make it take a Buffer* instead of a
5431 BufferParams* as arg
5433 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5435 (breakParagraphConservative): ditto
5437 * paragraph.h: remove the breakParagraph friend
5439 * paragraph.C (eraseIntern): new function
5440 (setChange): new function
5442 * paragraph_funcs.C (mergeParagraph): make it take a
5443 ParagraphList::iterator instead of a Paragraph *, adjust
5446 * paragraph.h: move an #endif so that the change tracking stuff
5447 also works in the NO_NEXT case.
5449 2003-03-04 Angus Leeming <leeming@lyx.org>
5452 * LyXAction.C: new LFUN_INSET_MODIFY.
5454 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5455 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5457 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * several files: ws changes only
5461 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5462 (TeXEnvironment): ditto
5465 * buffer.C (makeLaTeXFile): adjust
5466 (latexParagraphs): make it take ParagraphList::iterator as args
5468 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5470 * buffer.C (latexParagraphs): adjust
5472 * paragraph.C (TeXOnePar): move function...
5473 (optArgInset): move function...
5474 (TeXEnvironment): move function...
5475 * paragraph_pimpl.C (TeXDeeper): move function...
5476 * paragraph_funcs.C: ...here
5478 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5480 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5482 * buffer.C (readInset): remove compability code for old Figure and
5485 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5487 * buffer.C: ws changes
5490 * BufferView_pimpl.C: ditto
5493 * bufferlist.h: ditto
5497 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5499 * converter.[Ch]: split into itself +
5502 * Makefile.am: += graph.[Ch] + format.[Ch]
5509 * lyxrc.C: added #include "format.h"
5511 2003-02-27 Angus Leeming <leeming@lyx.org>
5513 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5516 * factory.C (createInset): add "label" to the factory.
5518 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5519 string and do no more.
5521 2003-02-27 Angus Leeming <leeming@lyx.org>
5524 * LyXAction.C (init):
5525 * factory.C (createInset):
5526 * BufferView_pimpl.C (dispatch):
5527 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5529 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5531 * lyxfunc.C (dispatch):
5532 * text3.C (dispatch): pass name to params2string.
5534 2003-02-26 Angus Leeming <leeming@lyx.org>
5536 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5538 Rearrange the ~includes. Strip out the unnecessary ones.
5540 * factory.C (createInset): reformat.
5541 create new insets for the various LFUN_XYZ_APPLY lfuns.
5543 2003-02-26 John Levon <levon@movementarian.org>
5546 * lyxrow.C: add isParStart,isParEnd helpers
5548 * paragraph.h: make isInserted/DeletedText take refs
5550 * paragraph_funcs.h:
5551 * paragraph_funcs.C: remove #if 0'd code
5556 * text.C: use lyxrow helpers above.
5557 Move draw and paint routines to RowPainter.
5558 Make several methods use refs not pointers.
5559 Make backgroundColor() const.
5560 Add markChangeInDraw(), isInInset().
5561 Merge changeRegionCase into changeCase.
5562 Make workWidth() shouldn't-happen code into an Assert.
5565 * rowpainter.C: new class for painting a row.
5568 * vspace.C: make inPixels take a ref
5570 2003-02-26 Angus Leeming <leeming@lyx.org>
5572 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5575 2003-02-25 John Levon <levon@movementarian.org>
5577 * ispell.C: give the forked command a more accurate name
5579 2003-02-22 John Levon <levon@movementarian.org>
5582 * toc.C: make TocItem store an id not a Paragraph *
5585 2003-02-21 Angus Leeming <leeming@lyx.org>
5587 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5588 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5589 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5590 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5591 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5592 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5594 * BufferView_pimpl.C (dispatch):
5595 * LyXAction.C (init):
5596 * factory.C (createInset):
5597 * lyxfunc.C (getStatus, dispatch):
5598 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5600 2003-02-21 Angus Leeming <leeming@lyx.org>
5602 * BufferView_pimpl.C (MenuInsertLyXFile):
5603 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5604 * lyxfunc.C (menuNew, open, doImport):
5605 no longer pass a LyXView & to fileDlg.
5607 2003-02-21 Angus Leeming <leeming@lyx.org>
5609 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5610 * LyXAction.C: change, BIBKEY to BIBITEM.
5611 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5612 Change InsetBibKey to InsetBibitem.
5613 Change BIBKEY_CODE to BIBITEM_CODE.
5614 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5615 * factory.C: replace insetbib.h with insetbibitem.h.
5616 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5617 * paragraph.C: replace insetbib.h with insetbibitem.h.
5618 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5619 Change bibkey() to bibitem().
5620 * text.C: remove insetbib.h.
5621 * text2.C: replace insetbib.h with insetbibitem.h.
5622 change bibkey() to bibitem().
5623 * text3.C: remove insetbib.h.
5624 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5626 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5628 * lyxrc.C (output): enclose user email in quotes (in case there are
5631 2003-02-18 John Levon <levon@movementarian.org>
5633 * buffer.h: add std::
5635 2003-02-17 John Levon <levon@movementarian.org>
5641 * pspell.C: reworking. Especially in ispell, a large
5642 number of clean ups and bug fixes.
5644 * lyxfunc.C: fix revert to behave sensibly
5646 2003-02-17 André Pönitz <poenitz@gmx.net>
5649 * commandtags.h: new LFUN_INSERT_BIBKEY
5659 * paragraph_func.C: remove special bibkey handling
5661 2003-02-17 John Levon <levon@movementarian.org>
5663 * text.C (Delete): fix case where delete at the end of
5664 the very first paragraph would not merge the pars
5666 2003-02-17 John Levon <levon@movementarian.org>
5668 * lyxrow.C: fix lastPrintablePos()
5670 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5672 * bufferparams.C (writeLaTeX): add a std:here
5674 * buffer.C: and remove a using directive there
5676 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5678 * buffer.C (makeLaTeXFile): move the code that generates the
5681 * bufferparams.C (writeLaTeX): ... in this new method
5683 * LaTeXFeatures.C (getEncodingSet): make const
5684 (getLanguages): make const
5686 * MenuBackend.C (binding): returns the binding associated to this
5688 (add): sets the status of each item by calling getStatus. Adds
5690 (read): add support for OptSubMenu
5691 (expand): remove extra separator at the end of expanded menu
5693 2003-02-15 John Levon <levon@movementarian.org>
5696 * BufferView_pimpl.C:
5698 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5699 inset code that had no actual effect. Remove unneeded status
5702 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5704 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5707 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5709 * text.C (drawLengthMarker): also draw an arrow marker for
5710 symbolic lengths (medskip...)
5712 2003-02-14 John Levon <levon@movementarian.org>
5715 * tabular.C: better method names
5717 2003-02-14 John Levon <levon@movementarian.org>
5719 * BufferView_pimpl.C:
5724 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5725 it's a more accurate name. Remove some pointless uses.
5727 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5729 * text2.C (LyXText): change order of initilizers to shut off
5732 2003-02-14 John Levon <levon@movementarian.org>
5734 * buffer.C: use ParIterator for getParFromID()
5738 * paragraph_pimpl.h:
5739 * paragraph_pimpl.C: remove unused getParFromID()
5741 2003-02-14 John Levon <levon@movementarian.org>
5743 * buffer.C: remove some very old #if 0'd parse code
5745 2003-02-13 John Levon <levon@movementarian.org>
5749 * text2.C: move hfillExpansion(), numberOfSeparators(),
5750 rowLast(), rowLastPrintable(), numberofHfills(),
5751 numberOfLabelHfills() ...
5754 * lyxrow.C: ... to member functions here.
5759 * text.C: remove LyXText::beginningOfMainBody(), and call
5760 p->beginningOfMainBody() directly. Move the check for
5761 LABEL_MANUAL into the latter.
5768 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5774 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5775 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5777 2003-02-13 John Levon <levon@movementarian.org>
5779 * CutAndPaste.C: remove debug
5781 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5783 * paragraph.C (asString): remove two unused variables
5785 * lyxtextclass.C (readTitleType):
5787 (LyXTextClass): handle new members titletype_ and titlename_
5789 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5791 2003-02-09 John Levon <levon@movementarian.org>
5794 * buffer.C: replace hand-coded list with a map for the dep clean
5796 2003-02-08 John Levon <levon@movementarian.org>
5798 * LaTeX.C: consolidate code into showRunMessage() helper
5800 2003-02-08 John Levon <levon@movementarian.org>
5805 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5806 and pass the size in explicitly
5808 * BufferView_pimpl.h:
5809 * BufferView_pimpl.C:
5811 * BufferView.C: add getCurrentChange()
5813 * BufferView_pimpl.h:
5814 * BufferView_pimpl.C: handle change lfuns
5816 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5817 for changes. Mark pasted paragraphs as new.
5819 * support/lyxtime.h:
5820 * support/lyxtime.C:
5821 * DepTable.C: abstract time_t as lyx::time_type
5824 * LColor.C: add colours for new text, deleted text, changebars
5826 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5827 package use "usenames" option.
5831 * LyXAction.C: add change lfuns
5835 * author.C: author handling
5838 * buffer.C: add a per-buffer author list, with first entry as
5839 current author. Handle new .lyx tokens for change tracking. Output
5840 author list to .lyx file. Output dvipost stuff to .tex preamble.
5841 Bump lyx format to 222.
5844 * bufferlist.C: add setCurrentAuthor() to reset current author details
5848 * bufferparams.C: add param for tracking
5850 * bufferview_funcs.C: output change info in minibuffer
5854 * changes.C: add change-tracking structure
5857 * debug.C: add CHANGES debug flag
5860 * lyxfind.C: add code for finding the next change piece
5863 * lyxrc.C: add user_name and user_email
5866 * lyxrow.C: add a metric for the top of the text line
5869 * text.C: implement accept/rejectChange()
5872 * text.C: paint changebars. Paint new/deleted text in the chosen
5873 colours. Strike through deleted text.
5877 * paragraph_pimpl.h:
5878 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5879 in the current change to the insert functions. Rework erase to
5880 mark text as deleted, adding an eraseIntern() and a range-based
5881 erase(). Implement per-paragraph change lookup and
5884 * paragraph_funcs.C: Fixup paste for change tracking.
5886 * tabular.C: mark added row/columns as new.
5888 * text.C: fix rowLast() to never return -1. Don't allow
5889 spellchecking of deleted text. Track transpose changes. Don't
5890 allow paragraph break or merge where appropriate.
5892 * text2.C: leave cursor at end of selection after a cut.
5894 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5896 * text.C (getLengthMarkerHeight):
5897 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5898 visible on screen too.
5900 2003-02-07 John Levon <levon@movementarian.org>
5902 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5904 2003-02-05 Angus Leeming <leeming@lyx.org>
5906 * lyxserver.C (read_ready): revert my patch of 11 September last year
5907 as it sends PC cpu through the roof. Presumably this means that
5908 the lyxserver will no longer run on an Alpha...
5910 2003-01-30 Angus Leeming <leeming@lyx.org>
5912 * factory.C (createInset): create an InsetCommandParam of type "index"
5913 and use it to 'do the right thing'.
5915 * text2.C (getStringToIndex): ensure that cursor position is always
5916 reset to the reset_cursor position.
5918 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5920 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5923 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5927 * lyxfunc.C: Output messages with identical spelling, punctuation,
5930 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5932 * MenuBackend.C (expandFormats): List only viewable export formats
5935 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5938 * lyxfunc.C (getStatus): Make sure that formats other than
5939 "fax" can also be disabled
5941 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5943 * text3.C (dispatch): put the lfuns that insert insets in 3
5944 groups, and call doInsertInset with appropriate arguments.
5945 (doInsertInset): new function, that creates an inset and inserts
5946 it according to some boolean parameters.
5948 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * buffer.C (readFile): remember to pass on 'par' when calling
5951 readFile recursively.
5953 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5955 * MenuBackend.C (expandFormats): add "..." to import formats.
5957 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5959 * paragraph.C (asString): Remove XForms RTL hacks.
5961 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5962 * buffer.C: fix typo
5964 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5966 * Makefile.am (LIBS): delete var
5967 (lyx_LDADD): add @LIBS@ here instead.
5969 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5971 * Clarify the meaning of "wheel mouse jump"
5973 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5975 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5978 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5980 * importer.C (Loaders): do not preallocate 3 elements in the
5981 vector, since one ends up with 6 elements otherwise
5983 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5985 * DepTable.C (write): write the file name as last element of the
5986 .dep file (because it may contain spaces)
5987 (read): read info in the right order
5989 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5991 * paragraph_pimpl.C (simpleTeXBlanks):
5992 (simpleTeXSpecialChars):
5993 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5995 * tabular.C (latex): add some missing case statements. Reindent.
5997 * MenuBackend.C (expandToc): remove unused variable.
5999 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6008 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6011 2003-01-05 John Levon <levon@movementarian.org>
6014 * BufferView.C: add getEncoding()
6017 * kbsequence.C: do not store last keypress
6020 * lyxfunc.C: store last keypress here instead. Pass encoding
6023 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6025 * lyx_main.C (init): remove annoying error message when following
6026 symbolic links (bug #780)
6028 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6030 * text.C (insertChar):
6031 * lyxrc.C (getDescription): remove extra spaces
6033 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6035 * lyxrc.C (getDescription): remove extra spaces
6037 2002-12-20 John Levon <levon@movementarian.org>
6039 * text3.C: hack fix for page up/down across tall rows
6041 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6043 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6046 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6048 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6049 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6050 thesaurus is not compiled in
6052 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6054 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6056 2002-12-16 Angus Leeming <leeming@lyx.org>
6059 * lyx_main.C (init): remove override_x_deadkeys stuff.
6061 2002-12-12 John Levon <levon@movementarian.org>
6063 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6064 insert. Only remove shift modifier under strict
6067 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * MenuBackend.C (expandToc): fix crash.
6071 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6073 * MenuBackend.C (expandToc): gettext on float names.
6075 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6077 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6078 implement bool empty() [bug 490]
6080 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6084 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * several files: ws changes
6088 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * text2.C (setCounter): clean up a bit, use boost.format.
6091 (updateCounters): initialize par upon declaration.
6093 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6094 if the layout exists. We do not just store the layout any more.
6095 (SwitchLayoutsBetweenClasses): use boost.format
6097 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6099 * converter.C (convert): if from and to files are the same, use a
6100 temporary files as intermediary
6102 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6105 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6107 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6109 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6111 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * tabular.C (asciiPrintCell): use string(size, char) instead of
6116 * sgml.C (openTag): fix order of arguments to string constructor
6119 * lyxfunc.C (dispatch): use boost.format
6121 * lots of files: change "c" -> 'c'
6123 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6125 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6127 2002-11-25 Angus Leeming <leeming@lyx.org>
6129 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6131 * lyx_main.C (init): compile fix.
6133 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * lyx_cb.C (start): boost.formatify
6136 do not include <iostream>
6138 * lengthcommon.C: ws only
6140 * boost-inst.C,BoostFormat.h: add more explict instantations
6142 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * lots of files: handle USE_BOOST_FORMAT
6146 2002-11-21 John Levon <levon@movementarian.org>
6148 * pspell.C: fix compile
6150 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6152 * lyxfunc.C (dispatch): use boost::format
6156 * lyxfont.C (stateText): use boost::format
6158 * lyx_main.C (LyX): use boost::format
6160 (queryUserLyXDir): ditto
6163 (typedef boost::function): use the recommened syntax.
6165 * importer.C (Import): use boost::format
6167 * debug.C (showLevel): use boost::format
6169 * converter.C (view): use boost::format
6174 * bufferview_funcs.C (currentState): use boost::format
6176 * bufferlist.C (emergencyWrite): use boost::format
6178 * buffer.C (readLyXformat2): use boost::format
6179 (parseSingleLyXformat2Token): ditto
6181 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6183 * LaTeX.C (run): use boost::format
6185 * Chktex.C (scanLogFile): use boost::format
6187 * BufferView_pimpl.C (savePosition): use boost::format
6188 (restorePosition): ditto
6189 (MenuInsertLyXFile): ditto
6191 * BoostFormat.h: help file for explicit instation.
6193 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6195 * tabular.C (latex): Support for block alignment in fixed width
6198 2002-11-17 John Levon <levon@movementarian.org>
6200 * BufferView_pimpl.C:
6202 * lyxfunc.C: split filedialog into open/save
6204 2002-11-08 Juergen Vigna <jug@sad.it>
6206 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6207 by my last patch (hopefully).
6209 2002-11-08 John Levon <levon@movementarian.org>
6218 * toc.C: ParConstIterator, and use it (from Lars)
6220 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6222 * lyxtextclass.[Ch]: revise and add doxygen comments
6224 2002-11-07 John Levon <levon@movementarian.org>
6226 * text.C: fix progress value for spellchecker
6228 * toc.C: fix navigate menu for insetwrap inside minipage
6230 * paragraph_funcs.C: added FIXME for suspect code
6232 2002-11-07 John Levon <levon@movementarian.org>
6234 * BufferView_pimpl.C: fix redrawing of insets
6237 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6239 * text2.C (updateCounters): fix bug 668
6241 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6243 * text3.C (dispatch): Do not make the buffer dirty when moving the
6246 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * vc-backend.C: STRCONV
6251 * text2.C (setCounter): STRCONV
6253 * paragraph.C (asString): STRCONV
6255 * lyxlength.C (asString): STRCONV
6256 (asLatexString): ditto
6258 * lyxgluelength.C (asString): STRCONV
6259 (asLatexString): ditto
6261 * lyxfunc.C (dispatch): STRCONV
6264 * lyxfont.C (stateText): STRCONV
6266 * importer.C (Import): STRCONV
6268 * counters.C (labelItem): STRCONV
6269 (numberLabel): ditto
6270 (numberLabel): remove unused ostringstream o
6275 * bufferview_funcs.C (currentState): STRCONV
6277 * buffer.C (readFile): STRCONV
6278 (asciiParagraph): ditto
6279 (makeLaTeXFile): ditto
6281 * Spacing.C (writeEnvirBegin): STRCONV
6283 * LaTeXFeatures.C (getLanguages): STRCONV
6284 (getPackages): ditto
6286 (getBabelOptions): ditto
6287 (getTClassPreamble): ditto
6288 (getLyXSGMLEntities): ditto
6289 (getIncludedFiles): ditto
6293 (scanAuxFile): ditto
6296 * LString.h: add the STRCONV macros
6298 * BufferView_pimpl.C (savePosition): STRCONV
6299 (restorePosition): ditto
6300 (MenuInsertLyXFile): ditto
6302 * vc-backend.C (scanMaster): change from submatch[...] to
6305 * funcrequest.C: include config.h
6307 * factory.C: include config.h
6309 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6311 * box.C: include config.h
6313 * LaTeX.C (scanAuxFile): change from submatch[...] to
6317 2002-10-25 Angus Leeming <leeming@lyx.org>
6319 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6321 * ispell.[Ch] (setError): new method.
6322 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6323 Use setError() insetead of goto END.
6325 * lyx_cb.C (AutoSave): move out child process into new class
6328 2002-10-30 John Levon <levon@movementarian.org>
6330 * text3.C: make start appendix undoable
6332 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6334 * lyxlength.C (inPixels): Fix returned value.
6336 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6339 2002-10-24 Angus Leeming <leeming@lyx.org>
6341 * lyxgluelength.h: no need to forward declare BufferParams
6342 or BufferView, so don't.
6344 2002-10-21 John Levon <levon@movementarian.org>
6346 * BufferView.C: menuUndo ->undo, redo
6348 * BufferView.h: document, remove dead, make some methods private
6350 * paragraph_funcs.h:
6351 * paragraph_funcs.C:
6352 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6357 * sgml.C: move sgml open/close tag into sgml.C
6359 * bufferview_funcs.h: unused prototype
6362 * lyxfunc.C: remove unused
6365 * text.C: remove unused
6367 2002-10-21 John Levon <levon@movementarian.org>
6371 * BufferView_pimpl.h:
6372 * BufferView_pimpl.C: fix mouse wheel handling based on
6373 patch from Darren Freeman
6375 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6377 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6379 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6381 * lyxlength.C (inPixels): Fix hanfling of negative length.
6382 Fix LyXLength::MU case.
6384 2002-10-16 John Levon <levon@movementarian.org>
6386 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6388 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6390 * converter.C (view): add support for $$i (file name) and $$p
6391 (file path) for the viewer command. If $$i is not specified, then
6392 it is appended to the command (for compatibility with old syntax)
6394 2002-10-14 Juergen Vigna <jug@sad.it>
6396 * undo_funcs.C (textHandleUndo): alter the order in which the
6397 new undopar is added to the LyXText, as we have to set first
6398 the right prev/next and then add it as otherwise the rebuild of
6399 LyXText is not correct. Also reset the cursor to the right paragraph,
6400 with this IMO we could remove the hack in "redoParagraphs()".
6402 2002-10-09 Angus Leeming <leeming@lyx.org>
6404 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6405 to turn off an optimisation if a new inset is to be inserted.
6407 2002-10-11 André Pönitz <poenitz@gmx.net>
6409 * lyxtext.h: make some functions public to allow access
6410 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6412 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6414 * text3.C (dispatch): when changing layout, avoid an infinite loop
6417 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6419 * lyxrc.C (read): treat a viewer or converter command of "none" as
6422 * MenuBackend.C (expandFormats): for an update, also allow the
6423 formats that are not viewable
6425 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6426 script if it is newer than the lyxrc.defaults in user directory
6428 2002-10-07 André Pönitz <poenitz@gmx.net>
6430 * text.C: Vitaly Lipatov's small i18n fix
6432 2002-09-25 Angus Leeming <leeming@lyx.org>
6434 * ispell.h: doxygen fix.
6436 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6438 * buffer.h (readFile): Add a new argument to the method, to allow
6439 reading of old-format templates.
6441 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6443 * toc.C (getTocList): Get TOC from InsetWrap.
6445 2002-09-16 John Levon <levon@movementarian.org>
6447 * lyxfunc.C: check tabular for cut/copy too
6449 2002-09-12 John Levon <levon@movementarian.org>
6454 * factory.C: add header
6456 * paragraph_funcs.h:
6457 * paragraph_funcs.C: cleanup
6459 2002-09-11 John Levon <levon@movementarian.org>
6461 * PrinterParams.h: odd/even default to true
6463 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6465 * PrinterParams.h: update printer parameters for new xforms dialog
6467 2002-09-11 Angus Leeming <leeming@lyx.org>
6469 * lyxserver.C (read_ready): re-write to make it more transparent
6470 and to make it work in coherent fashion under Tru64 Unix.
6472 2002-09-11 André Pönitz <poenitz@gmx.net>
6476 * text3.C: implement LFUN_WORDSEL
6478 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6481 make floatlist_ a boost::shared_ptr<FloatList>
6483 * lyxtextclass.C: include FloatList.h
6484 (LyXTextClass): initialize floatlist_
6485 (TextClassTags): add TC_NOFLOAT
6486 (Read): match "nofloat" to TC_NOFLOAT and use it.
6487 (readFloat): modify call to floatlist_
6491 * FloatList.[Ch] (FloatList): remove commented out float
6493 (erase): new function
6495 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6497 * MenuBackend.C (expandToc): fix crash when there is no document
6500 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6502 * many files: Add insetwrap.
6504 2002-09-09 John Levon <levon@movementarian.org>
6506 * text2.C: remove confusing and awkward depth wraparound
6508 2002-09-09 John Levon <levon@movementarian.org>
6510 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6513 * buffer.C: remove getIncludeonlyList()
6516 * lyxfunc.C: remove headers
6518 2002-09-09 Juergen Vigna <jug@sad.it>
6520 * text.C (getColumnNearX): fix form Michael this is most
6521 probably a cut&paste bug.
6523 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6525 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6527 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6528 references, ws changes.
6530 * text2.C (init): update counters after init
6531 (insertParagraph): no need to set counter on idividual paragraphs.
6532 (setCounter): access the counters object in the textclass object
6533 on in the buffer object.
6534 (updateCounters): ditto
6536 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6537 shared_ptr<Counters> to avoid loading counters.h in all
6539 (LyXTextClass): initialize ctrs_
6540 (TextClassTags): add TC_COUNTER, and ...
6541 (Read): use it here.
6542 (CounterTags): new tags
6543 (readCounter): new function
6544 (counters): new funtion
6545 (defaultLayoutName): return a const reference
6547 * counters.C (Counters): remove contructor
6548 (newCounter): remove a couple of unneeded statements.
6549 (newCounter): simplify a bit.
6550 (numberLabel): some small formatting changes.
6552 * buffer.[Ch]: remove all traces of counters, move the Counters
6553 object to the LyXTextClass.
6555 2002-09-06 Alain Castera <castera@in2p3.fr>
6557 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6558 package to set the horizontal alignment on fixed width columns.
6561 * lyx_sty.h: added tabularnewline macro def.
6563 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6565 2002-09-06 John Levon <levon@movementarian.org>
6567 * LyXAction.C: tooltips for sub/superscript
6569 * MenuBackend.C: a bit more verbose
6571 * lyxfunc.C: tiny clean
6573 * undo_funcs.C: document undo_frozen
6575 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * counters.C (Counters): add missing algorithm counter.
6579 * text2.C (setCounter): lookup the counter with layouts latexname
6580 instead of by section number.
6581 (setCounter): use a hackish way to lookup the correct enum
6583 a float name->type change
6584 reset enum couners with counter name directly instead of depth value.
6586 * counters.C (Counters): remove the push_backs, change to use the
6587 float type not the float name.
6588 (labelItem): remove unused string, float name->type change
6590 * counters.h: don't include vector, loose the enums and sects vectors
6592 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6595 (Read): add float->TC_FLOAT to textclassTags
6596 (Read): and handle it in the switch
6597 (readFloat): new function
6599 * FloatList.C (FloatList): comment out the hardcoded float
6602 * lyxlayout.h: ws change.
6604 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6606 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6608 2002-09-03 Angus Leeming <leeming@lyx.org>
6610 * BufferView_pimpl.h: qualified name is not allowed in member
6611 declaration: WorkArea & Pimpl::workarea() const;
6613 * factory.C: added using std::endl directive.
6615 * text3.C: added using std::find and std::vector directives.
6617 2002-08-29 André Pönitz <poenitz@gmx.net>
6620 * text2.C: remove unused member number_of_rows
6623 * BufferView2.C: remove file, move contents to...
6624 * BufferView.C: ... here
6626 * BufferView_pimpl.C:
6627 * factory.C: move more inset creation to factory
6629 * vspace.C: avoid direct usage of LyXText, ws changes
6632 don't provide direct access to WorkArea, use two simple
6633 acessors haveSelction() and workHeight() instead
6636 2002-08-29 John Levon <levon@movementarian.org>
6638 * BufferView_pimpl.C (dispatch): do not continue when
6641 2002-08-28 André Pönitz <poenitz@gmx.net>
6643 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6646 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6648 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6650 * buffer.C: increment LYX_FORMAT to 221
6652 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6653 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6655 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6657 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6659 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6661 * factory.C (createInset): use LyXTextClass::floats
6663 * MenuBackend.C (expandFloatListInsert):
6664 (expandFloatInsert):
6667 * text2.C (setCounter):
6669 * LaTeXFeatures.C (useFloat):
6670 (getFloatDefinitions):
6672 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6674 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6675 floatlist_, with accessor floats().
6677 * FloatList.h: remove global FloatList
6679 2002-08-26 André Pönitz <poenitz@gmx.net>
6681 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6685 * BufferView_pimpl.C:
6686 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6688 2002-08-25 John Levon <levon@movementarian.org>
6690 * LyXAction.C: fix margin note description
6692 2002-08-24 John Levon <levon@movementarian.org>
6696 * bufferview_funcs.C:
6698 * undo_funcs.C: cleanups
6700 * lyxfunc.C: disable CUT/COPY when no selection
6702 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6704 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6705 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6707 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6708 Add backward compatibility to "mono", "gray" and "no".
6710 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6712 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6713 (and file_format >= 200).
6715 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6717 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6719 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6721 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6723 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6725 * BufferView_pimpl.C:
6732 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6733 inset and code to make it work with the paragraph code. The inset
6734 can be anywhere in the paragraph, but will only do the expected
6735 thing in LaTeX if the layout file contains the parameter line
6737 (or more generally, a nonzero value) for that layout.
6739 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * paragraph.h: remove the declaration of undefined counters class
6744 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6746 * text2.C (setCounter): fixed enumeration mis-count as reported by
6747 Dr. Richard Hawkins.
6749 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6751 * paragraph_funcs.h: remove some unneeded includes
6753 * text.C (backspace): pasteParagraph now in global scipe
6755 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6756 (pasteSelection): ditto
6758 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6759 * paragraph_funcs.C (pasteParagraph): ... here
6761 2002-08-20 André Pönitz <poenitz@gmx.net>
6763 * commandtags.h: new LFUNs for swapping/copying table row/colums
6766 * lyxfunc.C: support for new lfuns
6768 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6771 * buffer.[Ch]: remove NO_COMPABILITY stuff
6773 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6775 * boost.C (throw_exception): new file, with helper function for
6776 boost compiled without exceptions.
6781 * ParameterStruct.h:
6782 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6784 * bufferlist.C (emergencyWriteAll): use boost bind
6786 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6788 * text.C: include paragraph_funcs.h
6789 (breakParagraph): breakParagraph is now in global scope
6791 * paragraph_funcs.[Ch]: new files
6793 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6796 * buffer.C: include paragraph_funcs.h
6797 (insertStringAsLines): breakParagraph is now in global scope
6799 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6802 * CutAndPaste.C: include paragraph_funcs.h
6803 (cutSelection): breakParagraphConservative is now in global scope
6804 (pasteSelection): ditto
6806 * buffer.h: declare oprator== and operator!= for
6807 Buffer::inset_iterator
6809 * bufferlist.C (emergencyWrite): don't use fmt(...)
6811 * text3.C: add using std::endl
6813 * BufferView.C (moveCursorUpdate): remove default arg
6815 2002-08-20 André Pönitz <poenitz@gmx.net>
6817 * buffer.[Ch]: move inline functions to .C
6820 * BufferView_pimpl.C:
6822 * buffer.[Ch]: use improved inset_iterator
6825 * paragraph.[Ch]: write one paragraph at a time
6827 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6829 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6830 style if style is not specified.
6832 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6834 * text2.C (setCounter): when searching for right label for a
6835 caption, make sure to recurse to parent insets (so that a caption
6836 in a minipage in a figure float works) (bug #568)
6838 2002-08-20 André Pönitz <poenitz@gmx.net>
6840 * text3.C: new file for LyXText::dispatch() and helpers
6842 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6844 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6846 2002-08-19 André Pönitz <poenitz@gmx.net>
6849 * text.C: new LyXText::dispatch()
6851 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6853 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6855 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6857 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6860 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6862 * Makefile.am: use $(variables) instead of @substitutions@
6864 2002-08-15 André Pönitz <poenitz@gmx.net>
6867 * BufferView_pimpl.C: streamlining mathed <-> outer world
6871 * LyXAction.C: remove unused LFUN_MATH
6873 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6877 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6879 * paragraph.C (Paragraph): reformat a bit
6880 (cutIntoMinibuffer): use builtin InsetList function instad of
6884 * buffer.C: include boost/bind.hpp, add using std::for_each
6885 (writeFileAscii): use ParagraphList iterators
6886 (validate): use for_each for validate traversal of paragraphs
6887 (getBibkeyList): use ParagraphList iterators
6888 (resizeInsets): use for_each to resizeInsetsLyXText for all
6890 (getParFromID): use ParagraphList iterators
6892 * BufferView2.C (lockInset): use paragraph list and iterators
6894 2002-08-14 John Levon <levon@movementarian.org>
6896 * lyxserver.C: remove spurious xforms include
6898 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6900 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6902 2002-08-13 André Pönitz <poenitz@gmx.net>
6905 * lyxfunc.C: further cleaning
6907 2002-08-13 André Pönitz <poenitz@gmx.net>
6909 * funcrequest.h: new constructor
6911 * funcrequest.C: move stuff here from .h
6914 * BufferView_pimpl.C:
6917 * lyxfunc.C: subsequent changes
6919 * lyxfunc.h: new view() member function
6921 * lyxfunc.C: subsequent changes
6923 2002-08-13 Angus Leeming <leeming@lyx.org>
6926 * BufferView_pimpl.C:
6934 changes due to the changed LyXView interface that now returns references
6935 to member variables not pointers.
6937 2002-08-13 Angus Leeming <leeming@lyx.org>
6939 * WordLangTuple (word, lang_code): return references to strings,
6944 * lyxtext.h: forward-declare WordLangTuple.
6949 * text.C: #include "WordLangTuple.h".
6952 * text.C: (selectNextWordToSpellcheck): constify return type.
6954 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6960 * paragraph_pimpl.h:
6963 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6965 Made updateCounter always count from start of buffer, and removed
6966 second argument (par).
6967 Reverted floats number display to '#'. Perhaps I'll try again when the
6968 code base is sanitized a bit.
6970 2002-08-12 Angus Leeming <leeming@lyx.org>
6972 * buffer.[Ch] (getLabelList): constify.
6974 2002-08-07 André Pönitz <poenitz@gmx.net>
6976 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6978 * funcrequest.h: extension to keep mouse (x,y) position
6980 2002-08-12 Juergen Vigna <jug@sad.it>
6982 * BufferView2.C (insertErrors): forbid undo when inserting error
6985 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6987 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * ParagraphList.[Ch]: new files
6991 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6993 * BufferView2.C (lockInset): ParagraphList changes
6996 * bufferlist.C: ditto
7000 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7003 unused class variable counter_,
7005 * paragraph.[Ch] (getFirstCounter): delete unused function
7007 * counters.C: include LAssert.h
7008 (reset): add a new function with no arg, change other version to
7009 not have def. arg and to not allow empty arg.
7011 * text2.C (setCounter): remove empty arg from call to Counters::reset
7013 2002-08-11 John Levon <levon@movementarian.org>
7015 * Makefile.am: add WordLangTuple.h
7017 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7020 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7022 * insets/insettext.C: InsetList changes
7024 * graphics/GraphicsSupport.C (operator()): InsetList changes
7026 * toc.C (getTocList): InsetList changes
7028 * paragraph_pimpl.[Ch]: InsetList changes
7030 * paragraph.[Ch]: InsetList changes
7032 * buffer.C (inset_iterator): InsetList changes
7033 (setParagraph): ditto
7034 * buffer.h (inset_iterator): ditto
7035 * iterators.C (operator++): ditto
7036 * iterators.h: ditto
7038 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7040 * InsetList.[Ch]: new files, most InsetList handling moved out of
7043 * BufferView2.C (removeAutoInsets): InsetList changes
7045 (ChangeInsets): ditto
7047 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * paragraph_pimpl.h (empty): new function
7051 * paragraph.[Ch] (empty): new function
7053 * other files: use the new Paragraph::empty function
7055 2002-08-09 John Levon <levon@movementarian.org>
7057 * lyxtext.h: remove unused refresh_height
7059 2002-08-09 John Levon <levon@movementarian.org>
7066 * paragraph.C: move sgml char escaping out of paragraph
7069 * paragraph.C: remove id setter
7073 * paragraph_pimpl.C: remove dead tex_code_break_column
7075 * bufferview_funcs.C: small cleanup
7077 * lyxfunc.C: remove dead proto
7079 * lyxtext.h: make some stuff private. Remove some dead stuff.
7081 * lyxgluelength.C: make as[LyX]String() readable
7083 2002-08-08 John Levon <levon@movementarian.org>
7088 * ToolbarDefaults.C:
7091 * toc.C: lyxaction cleanup
7093 2002-08-08 John Levon <levon@movementarian.org>
7095 * BufferView2.C: small cleanup
7098 * lyxfind.C: move unnecessary header into the .C
7100 2002-08-08 John Levon <levon@movementarian.org>
7102 * funcrequest.h: just tedious nonsense
7105 * lyx_main.C: cleanups
7108 * vspace.C: remove dead header lyx_main.h
7110 2002-08-07 Angus Leeming <leeming@lyx.org>
7113 * paragraph_pimpl.h:
7114 Forward declare class Counters in paragraph.h by moving the ctrs member
7115 variable into Paragraph::Pimpl.
7116 (counters): new method, returning a reference to pimpl_->ctrs.
7118 * text2.C: ensuing changes.
7120 2002-08-07 John Levon <levon@movementarian.org>
7122 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7124 * BufferView_pimpl.C: announce X selection on double/triple
7127 * lyx_main.C: use correct bool in batch dispatch
7129 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7131 2002-08-07 André Pönitz <poenitz@gmx.net>
7133 * funcrequest.h: new class to wrap a kb_action and its argument
7136 * BufferView_pimpl[Ch]:
7140 * lyxrc.C: subsequent changes
7143 2002-08-07 John Levon <levon@movementarian.org>
7145 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7146 document options change.
7148 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7153 * makefile.am: move counters functionality over from
7154 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7156 2002-08-06 John Levon <levon@movementarian.org>
7158 * WordLangTuple.h: new file for word + language code tuple
7169 * BufferView2.C: use WordLangTuple
7172 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7174 2002-08-06 John Levon <levon@movementarian.org>
7176 * lyx_main.C: fix cmdline batch handling
7178 2002-08-06 André Pönitz <poenitz@gmx.net>
7180 * lyxrc.C: set default for show_banner to true
7182 2002-08-06 John Levon <levon@movementarian.org>
7184 * pspell.C: fix a crash, and allow new aspell to work
7186 2002-08-06 John Levon <levon@movementarian.org>
7189 * kbmap.C: small cleanup
7192 * vspace.C: add const
7194 2002-08-05 John Levon <levon@movementarian.org>
7196 * LyXAction.C: back to tabular-insert
7198 2002-08-04 John Levon <levon@movementarian.org>
7201 * BufferView.C: cosmetic change
7203 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7213 * BufferView2.C: purge all "Lyx" not "LyX" strings
7216 * lyxcursor.C: attempt to add some documentation
7221 * ToolbarDefaults.C:
7222 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7223 merge with LFUN_TABULAR_INSERT
7230 * pspell.C: split up i/pspell implementations into separate
7231 files, many cleanups
7233 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7235 * text2.C: some cleanup
7237 * lyxfunc.C: don't check for isp_command == "none" any more, it
7238 didn't make any sense
7240 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7245 * makefile.am: move counters functionality over
7246 from text2.C/paragraph.[Ch] to counters.[Ch], and
7248 2002-08-02 John Levon <levon@movementarian.org>
7250 * buffer.C: s/lyxconvert/lyx2lyx/
7252 2002-08-02 Angus Leeming <leeming@lyx.org>
7254 * lyxlex.C: revert John's change as it breaks reading of the user
7257 2002-08-02 Angus Leeming <leeming@lyx.org>
7259 * importer.C (Import):
7260 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7261 changes due to LyXView::view() now returning a boost::shared_ptr.
7263 2002-08-02 John Levon <levon@movementarian.org>
7265 * lyxlex.C: small cleanup
7267 2002-08-02 John Levon <levon@movementarian.org>
7269 * text2.C (status): small cleanup, no logic change
7271 2002-08-01 John Levon <levon@movementarian.org>
7274 * buffer.C (writeFile): don't output alerts, caller
7278 * lyx_cb.C: from above
7280 * lyxfunc.C: allow to open non-existent files
7282 2002-07-31 John Levon <levon@movementarian.org>
7284 * lyxserver.C: don't let incidental errors get
7287 2002-07-30 John Levon <levon@movementarian.org>
7289 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7291 2002-07-30 John Levon <levon@movementarian.org>
7294 * lyxserver.C: remove I/O callback too
7296 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7298 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7301 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * many files: strip,frontStrip -> trim,ltrim,rtrim
7305 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7307 * PrinterParams.h: remove extern containsOnly, and include
7308 support/lstrings.h instead.
7310 * LaTeX.C (scanAuxFile): modify because of strip changes
7312 * buffer.C (makeLaTeXFile): ditto
7313 * bufferparams.C (writeFile): ditt
7314 * lyxfont.C (stateText): ditto
7315 * lyxserver.C (read_ready): ditto
7316 * vc-backend.C (scanMaster): ditto
7318 * BufferView_pimpl.h: ws changes
7320 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7322 2002-07-26 André Pönitz <poenitz@gmx.net>
7324 * kb_sequence.C: remove unnedred usings
7326 2002-07-26 Juergen Vigna <jug@sad.it>
7328 * lyxfind.C (LyXReplace): we have to check better if the returned
7329 text is not of theLockingInset()->getLockingInset().
7331 2002-07-25 Juergen Vigna <jug@sad.it>
7333 * lyxfind.C (LyXReplace): don't replace if we don't get the
7336 * undo_funcs.C (createUndo): remove debugging code.
7338 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7340 * buffer.C (parseSingleLyXformat2Token): Use default placement
7341 when reading old floats.
7343 * FloatList.C (FloatList): Change the default placement of figure
7344 and tables to "tbp".
7346 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7348 * MenuBackend.C: using std::max
7350 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7352 * MenuBackend.C (expandToc):
7353 (expandToc2): code moved from xforms menu frontend. It is now
7354 generic and TOCs are transparent to menu frontends.
7356 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7358 * toc.C (getTocList): protect against buf=0
7360 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7361 Menu as first parameter. Now, this calls itself recursively to
7362 expand a whole tree (this will be useful for TOC handling)
7363 (expandFloatInsert): remove 'wide' version of floats
7365 * MenuBackend.h (submenuname): returns the name of the submenu.
7366 (submenu): returns the submenu itself, provided it has been
7367 created by MenuBackend::expand
7369 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7372 insets which have noFontChange == true. (bug #172)
7374 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7376 * BufferView_pimpl.C: add connection objects and use them...
7379 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7381 * MenuBackend.C (expandLastfiles):
7384 (expandFloatListInsert):
7385 (expandFloatInsert):
7386 (expand): split expand in parts
7388 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7390 * lyx_gui.C: use lyx_gui::exit()
7392 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7394 * LyXAction.C: show the failing pseudo action
7396 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7398 * buffer.C (readFile): Run the lyxconvert script in order to read
7401 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7405 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7407 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7411 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7413 2002-07-22 Herbert Voss <voss@lyx.org>
7416 * lyxlength.[Ch]: add support for the vertical lengths
7418 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7420 * toc.[Ch]: std:: fixes
7422 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7424 * lyxrc.C: do not include lyx_main.h
7426 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7432 * BufferView2.C: include "lyxlex.h"
7435 * bufferparams.h: do not #include "lyxlex.h"
7437 * lyxtextclasslist.C (Add): remove method
7438 (classlist): renamed to classlist_
7440 * paragraph_pimpl.C:
7444 * bufferview_funcs.C:
7449 * toc.C (getTocList): use BufferParams::getLyXTextClass
7451 * toc.C (getTocList): use InsetFloat::addToToc
7453 * toc.[Ch]: new files, containing helper functions to handle table
7456 * lyxfunc.C (dispatch): no need to remove spaces around command
7458 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7459 first command of the sequence; it is not very clever, but I do not
7460 have a better idea, actually
7462 * LyXAction.C (LookupFunc): make sure to remove space at the
7463 beginning and end of the command
7465 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7467 * MenuBackend.C (getMenubar): new method: return the menubar of
7469 (read): treat differently reading of menu and menubar (in
7470 particular, the menubar has no name now)
7471 (Menu::menubar): remove
7473 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7476 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7478 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7479 a bibitem inset in a RTL paragraph.
7481 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7483 * paragraph_pimpl.C: constify
7485 * BufferView_pimpl.C:
7487 * lyxfunc.C: fix dispatch in a nicer way
7489 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7491 * lyxfunc.C (dispatch):
7492 * BufferView_pimpl.C:
7493 * BufferView_pimpl.h:
7495 * BufferView.h: rename Dispatch() to dispatch()
7497 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7499 * lyxlayout.C (Read): honor DependsOn tag
7501 * lyxlayout.[Ch] (depends_on): new method
7503 * version.C.in: update lyx_docversion
7505 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7507 * paragraph.C (validate): remove from here...
7508 * paragraph_pimpl.C (validate): ... and move here
7509 (isTextAt): make it const
7511 * buffer.C (getLists): ws cleanup
7513 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7515 * language.C (read): Use iso8859-1 encoding in latex_lang
7516 (this prevents LyX from crashing when using iso10646-1 encoding).
7518 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7520 * text2.C (toggleInset): if cursor is inside an inset, close the
7521 inset and leave cursor _after_ it
7523 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7525 * lyxfunc.C: move minibuffer completion handling out of here
7527 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7529 * BufferView_pimpl.C:
7530 * LaTeX.C: fix dispatch calls
7532 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7534 * text.C (drawChars): Fix Arabic text rendering.
7536 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7540 * lyxfunc.C: remove message-push/pop
7544 * lyxfunc.C: rationalise some code by removing verboseDispatch
7545 in favour of a bool argument to dispatch()
7547 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7549 * lyx_main.C (init): make sure to read symlinks as absolute paths
7551 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7554 * lyxfunc.C: no need for commandshortcut to be a member
7556 2002-07-15 André Pönitz <poenitz@gmx.net>
7558 * converter.C: add support for $$s (scripts from lib/scripts dir)
7559 * lyx_main.C: white space
7561 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7565 * lyxrc.C: remove second exit confirmation
7567 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7572 * BufferView_pimpl.h:
7573 * BufferView_pimpl.C:
7574 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7576 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7578 * MenuBackend.C (expand): add numeric shortcuts to document menu
7580 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7582 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7584 * lyxfont.C (setLyXFamily):
7591 * buffer.C (asciiParagraph): use ascii_lowercase
7593 2002-07-15 Mike Fabian <mfabian@suse.de>
7595 * lyxlex_pimpl.C (search_kw):
7596 * lyxlex.C (getLongString):
7597 * converter.h (operator<):
7598 * converter.C (operator<):
7599 * buffer.C (parseSingleLyXformat2Token):
7601 * ToolbarDefaults.C (read):
7602 * MenuBackend.C (checkShortcuts):
7604 * LColor.C (getFromGUIName):
7605 (getFromLyXName): use the compare_ascii_no_case instead of
7606 compare_no_case, because in turkish, 'i' is not the lowercase
7607 version of 'I', and thus turkish locale breaks parsing of tags.
7609 2002-07-16 Angus Leeming <leeming@lyx.org>
7611 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7612 now takes a Buffer const & argument.
7614 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7616 * BufferView.C (resize): check there's a buffer to resize
7618 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7620 * lyxfunc.C: remove dead code
7623 * lyxserver.C: use lyx_guii::set_read_callback
7625 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7627 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7628 an inset in a RTL paragraph.
7630 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7632 * lyxfunc.C: repaint after a font size update
7634 2002-07-15 André Pönitz <poenitz@gmx.net>
7636 * lyxlength.C: inBP should be able to return negative values
7638 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7640 * lyxfunc.C: use lyx_gui::update_fonts()
7642 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7644 * lyxfunc.C: use lyx_gui::update_color()
7646 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7652 * lyxrc.C: remove file->new asks for name option, and let
7653 buffer-new take an argument
7655 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7657 * BufferView_pimpl.C: remove unneeded extra repaint()
7659 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7661 * LyXAction.C: allow command-sequence with NoBuffer
7663 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7665 2002-07-10 Angus Leeming <leeming@lyx.org>
7667 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7669 2002-07-09 Angus Leeming <leeming@lyx.org>
7671 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7673 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7675 * lengthcommon.h: whitespace
7677 * lyxfunc.C: update scrollbar after goto paragraph
7679 * lyxtext.h: factor out page break drawing, and fix it so
7680 page break/added space paints as selected nicely
7682 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7684 * BufferView_pimpl.C: add FIXMEs, clean up a little
7686 2002-07-09 André Pönitz <poenitz@gmx.net>
7688 * lyxfont.[Ch]: support for wasy symbols
7690 2002-07-08 André Pönitz <poenitz@gmx.net>
7692 * BufferView_pimpl.C: apply John's patch for #93.
7694 2002-07-05 Angus Leeming <leeming@lyx.org>
7696 * BufferView_pimpl.C (buffer): generate previews if desired.
7698 * LColor.h: add "preview" to the color enum.
7700 * LColor.C (LColor): add a corresponding entry to the items array.
7702 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7705 2002-07-05 Angus Leeming <leeming@lyx.org>
7707 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7708 The body of the code is now in the method that is passed an ostream &
7709 rather than a file name.
7710 Pass an additional only_preamble parameter, useful for the forthcoming
7713 2002-07-03 André Pönitz <poenitz@gmx.net>
7715 * lyxfunc.C: simplify getStatus() a bit for math stuff
7717 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7719 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7721 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7723 * text.C (changeRegionCase): do not change case of all the
7724 document when region ends at paragraph end (bug #461)
7726 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7728 * paragraph.C (startTeXParParams):
7729 (endTeXParParams): add \protect when necessary
7731 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7733 * BufferView_pimpl.C (workAreaExpose): remove warning
7735 2002-06-27 Angus Leeming <leeming@lyx.org>
7737 * Makefile.am: add lyxlayout_ptr_fwd.h.
7739 2002-06-26 André Pönitz <poenitz@gmx.net>
7741 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7743 2002-06-25 Angus Leeming <leeming@lyx.org>
7745 * lyxfunc.C (dispatch): Comment out the call to
7746 grfx::GCache::changeDisplay. The method no longer exists now that the
7747 pixmap generation part of the graphics loader has been moved into
7750 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7752 * text2.C: layout as layout
7754 * text.C: layout as layout
7756 * tabular.C (OldFormatRead): layout as layout
7758 * paragraph_pimpl.C (TeXDeeper): layout as layout
7759 (realizeFont): layout as layout
7761 * paragraph.C (writeFile): layout as layout
7762 (validate): layout as layout
7763 (getFont): layout as layout
7764 (getLabelFont): layout as layout
7765 (getLayoutFont): layout as layout
7766 (breakParagraph): layout as layout
7767 (stripLeadingSpaces): layout as layout
7768 (getEndLabel): layout as layout
7769 (getMaxDepthAfter): layout as layout
7770 (applyLayout): layout as layout
7771 (TeXOnePar): layout as layout
7772 (simpleTeXOnePar): layout as layout
7773 (TeXEnvironment): layout as layout
7774 (layout): layout as layout
7775 (layout): layout as layout
7777 * lyxtextclass.C (compare_name): new functor to work with
7778 shared_ptr, layout as layout
7779 (Read): layout as layout
7780 (hasLayout): layout as layout
7781 (operator): layout as layout
7782 (delete_layout): layout as layout
7783 (defaultLayout): layout as layout
7785 * lyxlayout_ptr_fwd.h: new file
7787 * lyxlayout.C (Read): layout as layout
7789 * lyx_cb.C (MenuInsertLabel): layout as layout
7791 * bufferlist.C (newFile): layout as layout
7793 * buffer.C (readLyXformat2): layout as layout
7794 (parseSingleLyXformat2Token): layout as layout
7795 (insertStringAsLines): layout as layout
7796 (asciiParagraph): layout as layout
7797 (latexParagraphs): layout as layout
7798 (makeLinuxDocFile): layout as layout
7799 (simpleLinuxDocOnePar): layout as layout
7800 (makeDocBookFile): layout as layout
7801 (simpleDocBookOnePar): layout as layout
7802 (getLists): layout as layout
7804 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7806 * CutAndPaste.C (cutSelection): layout as layout
7807 (pasteSelection): layout as layout
7808 (SwitchLayoutsBetweenClasses): layout as layout
7810 * BufferView_pimpl.C (Dispatch): layout as layout
7811 (smartQuote): layout as layout
7813 * BufferView2.C (unlockInset): layout as layout
7815 2002-06-24 André Pönitz <poenitz@gmx.net>
7817 * lyxfunc.C: fix #487
7819 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7823 * lyxfunc.C: remove display_shortcuts, show_banner
7825 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7827 * Buffer_pimpl.C: oops, update on resize
7829 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7836 * BufferView.C: use repaint()
7838 * BufferView_pimpl.h:
7839 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7840 as it's a clearer description. Remove superfluous
7843 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7845 * text.C: fix bug 488. Not ideal, but getting
7846 getWord() to work properly for the insets that
7847 matter is more difficult ...
7849 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7851 * BufferView_pimpl.C:
7854 * lyxfunc.C: remove the six million index lyxfuncs to just
7855 one, and DTRT (bug 458)
7857 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7861 * BufferView_pimpl.h:
7862 * BufferView_pimpl.C: clean up resize() stuff,
7863 and unnecessary updateScreen()s
7865 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7869 * BufferView_pimpl.h:
7870 * BufferView_pimpl.C:
7873 * minibuffer.C: remove focus management of workarea,
7874 not needed. Use screen's greyOut()
7876 2002-06-17 Herbert Voss <voss@lyx.org>
7878 * converter.C: (convert) do not post a message, when converting
7879 fails, let the calling function decide what to do in this case
7881 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7883 * lyxfunc.C: tidy up a little
7885 2002-06-16 <alstrup@diku.dk>
7887 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7888 Got rid of FORMS_H_LOCATION include. Now we are
7891 2002-06-15 LyX Development team <lyx@rilke>
7893 * buffer.[Ch] (sgmlOpenTag):
7894 (sgmlCloseTag): Added support for avoiding pernicious mixed
7895 content. Return number of lines written.
7898 (makeDocBookFile): Fixed calls to sgml*Tag.
7899 Simple white space clean.
7901 (simpleDocBookOnePar): Simple white space clean.
7903 * tabular.[Ch] (docBook): Renamed to docbook and got another
7904 argument to related with the pernicious mixed content.
7906 (docbookRow): Fixed calls for docbook inset method.
7908 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7910 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7911 so it's X11 independent.
7915 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7917 2002-06-15 Lyx Development team <lyx@electronia>
7919 * intl.h: Renamed getTrans to getTransManager.
7921 2002-06-14 Angus Leeming <leeming@lyx.org>
7923 * Makefile.am: nuke forgotten stl_string_fwd.h.
7925 2002-06-12 Angus Leeming <leeming@lyx.org>
7927 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7929 2002-06-13 Angus Leeming <leeming@lyx.org>
7932 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7934 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7936 * kbmap.C (getiso): add support for cyrillic and greek
7938 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7942 * BufferView_pimpl.h:
7943 * BufferView_pimpl.C: move bogus scrolling logic
7946 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7949 * BufferView_pimpl.C: view->resize() change
7951 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7953 * BufferView_pimpl.C: topCursorVisible
7956 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7960 * lyx_gui.C: move to frontends/
7964 * lyx_main.C: changes from above
7966 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7973 * lyx_main.C: minor tidy
7975 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7977 * BufferView_pimpl.h:
7978 * BufferView_pimpl.C:
7980 * BufferView.C: make painter() const,
7983 * BufferView2.C: use screen() accessor
7986 * lyx_main.C: some minor cleanup
7988 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7990 * BufferView_pimpl.h:
7991 * BufferView_pimpl.C: remove enter/leaveView,
7994 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7999 * BufferView_pimpl.h:
8000 * BufferView_pimpl.C: only construct screen once,
8003 * lyxrc.C: remove pointless comment
8005 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8008 * BufferView.C: remove active() and belowMouse()
8010 * BufferView_pimpl.h:
8011 * BufferView_pimpl.C: use workarea() not workarea_,
8012 and make it use a scoped_ptr instead
8014 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8016 * lyx_gui.C: add debug message on BadWindow
8018 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8020 * sp_spell.C: fdopen is not part of the C++ standard.
8022 * paragraph.C (InsetIterator): use >= instead of ==
8024 2002-06-07 Angus Leeming <leeming@lyx.org>
8026 Fixes needed to compile with Compaq cxx 6.5.
8027 * BufferView_pimpl.C:
8034 * lyxtextclasslist.C:
8039 all c-library variables have been moved into namespace std. Wrap
8040 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8045 Add a using std::abs declaration.
8047 * kbmap.h (modifier_pair):
8048 * paragraph.h (InsetTable, InsetList):
8049 * lyxfont.h (FontBits):
8050 type definition made public.
8052 * bufferlist.C (emergencyWriteAll): the compiler complains that
8053 there is more than one possible lyx::class_fun template to choose from.
8054 I re-named the void specialisation as lyx::void_class_fun.
8056 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8058 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8059 the compiler is is unable to find tostr in write_attribute.
8061 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8063 * buffer.C (sgmlError): hide #warning
8065 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8067 * xtl/*: get rid of xtl, which is not in use anyway
8069 * LyXAction.C (init):
8070 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8071 were unimplemented xtl experimentation
8073 2002-06-04 André Pönitz <poenitz@gmx.net>
8075 * lyxfunc.C: disable array operation on simple formulae
8077 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8079 * converter.C: constify a bit
8081 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8083 * lyx_gui.C: check xforms version correctly
8085 2002-04-30 Herbert Voss <voss@lyx.org>
8087 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8090 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8092 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8093 attempt to register it with a VCS)
8095 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8097 * lyx_main.C (init): honor variables LYX_DIR_13x and
8100 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8104 * lyx_main.C: fix a crash on bad command line,
8105 and give a useful exit status on error
8107 * lyxfunc.C (doImport): allow -i lyx to work
8109 2002-03-30 André Pönitz <poenitz@gmx.net>
8111 * lyxfunc.C: mathed font changes
8113 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8128 * trans_mgr.h: srcdocs, and some minor cleanups
8130 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8132 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8133 call getFont all the time)
8135 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8137 * switch from SigC signals to boost::signals
8139 2002-05-29 André Pönitz <poenitz@gmx.net>
8141 * paragraph_pimpl.C (getChar): don't call size() too often...
8143 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8145 * paragraph_pimpl.C (insertChar): do not try to update tables when
8146 appending (pos == size())
8148 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8149 in order to reduce drastically the number of comparisons needed to
8150 parse a large document
8152 2002-05-29 André Pönitz <poenitz@gmx.net>
8158 * textclasslist.[Ch]:
8159 * sp_ispell.h: whitespace change
8161 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8163 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8164 lyxaction directly now.
8166 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8170 * lyxvc.C: remove unused headers
8172 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8179 * undo_funcs.C: some cleanups. Use shared_ptr
8180 and a template for the undo stacks.
8182 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8184 * BufferView_pimpl.h:
8185 * BufferView_pimpl.C:
8192 * text2.C: use key_state/mouse_state
8194 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8196 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8199 * chset.C: change include order
8200 (loadFile): use boost regex and get rid of LRegex and LSubstring
8202 * Makefile.am (BOOST_LIBS): new variable
8205 * LaTeX.C: change include order.
8206 (scanAuxFile): use boost regex and get rid of LRegex and
8210 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8215 * FontInfo.C: moved to frontends/xforms/
8218 * FontLoader.C: moved into frontends for GUIIzation
8223 * lyxfunc.C: changes from above
8225 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8227 * LColor.C: remove spurious X include
8229 * BufferView_pimpl.C:
8234 * text2.C: move font metrics to frontends/
8236 2002-05-24 Juergen Vigna <jug@sad.it>
8238 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8239 setting the undo_cursor.
8241 * ParagraphParameters.h: include local includes first.
8243 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8245 * BufferView_pimpl.C:
8246 * BufferView_pimpl.h:
8250 * screen.C: move WorkArea into frontends/
8256 * BufferView2.C: move LyXScreen into frontends/
8260 * lyx_gui.C: move lyxlookup into frontends/xforms/
8262 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8265 * BufferView_pimpl.C:
8275 * bufferview_funcs.C:
8288 * vc-backend.C: move LyX/XFormsView into frontends/
8290 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8302 * text2.C: move Painter to frontends/
8304 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8306 * buffer.C: comment out some some code that depend upon lyx_format
8309 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8310 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8312 * buffer.h (NO_COMPABILITY): turn off compability
8314 * ColorHandler.C: include scoped_array.hpp
8316 * font.C: Use more specific smart_ptr header.
8319 * ShareContainer.h: ditto
8323 * BufferView_pimpl.h: ditto
8324 * ColorHandler.h: ditto
8326 * kbmap.C (defkey): change call to shared_ptr::reset
8328 2002-05-21 Juergen Vigna <jug@sad.it>
8330 * buffer.C (insertErtContents): fix to insert ert asis if it is
8331 non empty. Skip it completely if it contains only whitespaces.
8333 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8335 * BufferView_pimpl.C:
8336 * BufferView2.C: clear selection on paste (bug 393)
8338 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8340 * DepTable.C: include ctime
8342 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8344 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8346 2002-05-14 Juergen Vigna <jug@sad.it>
8348 * text.C (breakParagraph): fixed function to honor the keepempty
8349 layout in the right maner and also to permit the right breaking
8350 algorithm on empty or non empyt keepempty paragraphs.
8352 * paragraph.C (breakParagraph): we have to check also if the par
8353 is really empty (!size()) for isempty otherwise we do the wrong
8356 2002-05-10 Juergen Vigna <jug@sad.it>
8358 * buffer.[Ch] : The following are only changes to the ert
8359 compatibility read reading old LaTeX layout and font stuff and
8360 convert it to ERTInsets.
8362 * buffer.h: added isErtInset().
8364 * buffer.C (struct ErtComp): add a fromlayout bool to check
8365 if we're inside a LaTeX layout.
8366 (isErtInset): new helper function.
8367 (insertErtContents): look for other ert insets before this one
8368 and insert the contents there, so that we don't have subsequent
8369 ERT insets with nothing between them. This way we create only one
8370 inset with multiple paragraphs. Also check if we don't insert only
8371 spaces ' ' as they are ignored anyway afterwards in the .tex file
8372 so if we have only spaces we will ignore this latex part in the
8374 (parseSingleLyXformat2Token \\layout): better compatibility when
8375 reading layout-latex stuff.
8376 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8378 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8379 stuff after reading the inset only get the information back from
8382 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8384 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8386 * LaTeXFeatures.C (getBabelOptions): New method.
8388 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8390 * BufferView_pimpl.C (Dispatch): work around missing argument for
8393 2002-05-08 Juergen Vigna <jug@sad.it>
8395 * text.C (leftMargin): handle paragraph leftindent.
8397 * paragraph.C (writeFile): write the new \\leftindent tag.
8398 (validate): handle leftindent code.
8399 (TeXEnvironment): handle paragraphleftindent code again.
8401 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8403 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8404 for paragrap_extra indent code and new token \\leftindent.
8405 (latexParagraphs): handle the leftindent as environment.
8407 * ParameterStruct.h: added leftindent support.
8409 * ParagraphParameters.C (leftIndent): added support functions for
8410 the paragraph left indent.
8412 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8415 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8417 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8420 * text.C (computeBidiTables): No bidi in insetERT.
8422 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8425 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8427 * version.C.in: pre 5
8429 2002-05-02 José Matos <jamatos@fep.up.pt>
8430 * buffer.C (makeDocBookFile): white space changes, add newline to
8432 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8434 * tabular.C (docBook): fix typo.
8436 2002-05-03 Juergen Vigna <jug@sad.it>
8438 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8439 change in LyXText as we can not be sure it was not freed.
8440 (drawOneRow): remove unused code.
8442 * text.C (drawInset): redo the calculation of the need_break_row as
8443 it could have a row which was already freed.
8444 (draw): look at the return value of drawInset and return false if
8445 it also returned false.
8446 (paintRowText): look at the return value of draw and return false if
8447 it also returned false.
8449 * lyxtext.h: added bool return type to drawInset() and draw() so that
8450 if we have a change in the row so that the rowbreak has to be redone
8451 we abort drawing as it will be called again.
8453 2002-05-02 Juergen Vigna <jug@sad.it>
8455 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8456 a change in the maintext also if we're inside an inset.
8457 (Dispatch): set the cursor again after a break line and after the
8458 screen has been updated as it could be we're in a different row.
8460 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8461 to set the cursor behind the pargraph with > size().
8462 (setCursor): check also for the same paragraph when checking where
8463 to put the cursor if we have a NFR inset.
8465 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8466 parts of layout read further up as it still was in the wrong
8469 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8471 * screen.C (drawFromTo): change sine fullRebreak always return
8474 * buffer.C (parseSingleLyXformat2Token): reindent some
8476 * BufferView_pimpl.C (update): change since fullRebreak always
8478 (Dispatch): git rid of the last hardcoded "Standard"s.
8480 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8482 * text2.[Ch] (fullRebreak): make it return void now that we always
8485 2002-04-30 Juergen Vigna <jug@sad.it>
8487 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8488 ert compatibility check for "latex" layout.
8490 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8492 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8493 minipages: use col% instead of p%, and also use the current font.
8494 (makeLaTeXFile): Fix use babel condition.
8495 (parseSingleLyXformat2Token): Correct font when reading old floats.
8497 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8499 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8500 inserting list of floats.
8502 2002-04-25 Herbert Voss <voss@lyx.org>
8504 * MenuBackend.C (expand): don't add the graphics extensions to the
8507 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8510 non-existing layout, do not complain if it was the default layout
8511 of the original class (bug #342)
8513 2002-04-24 Juergen Vigna <jug@sad.it>
8515 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8516 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8518 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8520 * buffer.C (getBibkeyList): If using \bibliography, return the
8521 option field with the reference itself. Enables us to provide natbib
8522 support when using \bibliography.
8524 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8526 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8528 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8529 natbib is provided by the LaTeX class.
8531 2002-04-23 Juergen Vigna <jug@sad.it>
8533 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8536 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8538 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8542 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8543 ensuremath around textordmasculine, textordfeminine and
8546 2002-04-19 Juergen Vigna <jug@sad.it>
8548 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8549 reinitializing the buffer otherwise row-dimensions may be wrong.
8550 (update): reset also the selection cursors if they do exits otherwise
8551 their x/y positions may be wrong.
8553 * text2.C (cursorDown): don't enter the inset if we came from a row
8554 above and are one row over the inset.
8556 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8557 really leaving an inset.
8559 2002-04-18 Juergen Vigna <jug@sad.it>
8561 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8562 of the selected paragraph does not have the selected layout also if
8565 * text2.C (setLayout): fixed bug which did not change last selected
8568 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8569 changed the read and substituted \\end_float with \\end_inset!
8571 * BufferView_pimpl.C (cursorPrevious):
8572 (cursorNext): fixed to make it work with rows heigher than the work
8573 area without moving the cursor only the draw of the row.
8574 (workAreaMotionNotify): fix jumping over high rows.
8576 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8578 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8581 2002-04-16 Juergen Vigna <jug@sad.it>
8583 * text2.C (setCursor): set also the irow().
8584 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8586 (cursorDown): support for locking an inset if the x_fix value goes
8587 inside it. That way I can transverse insets too with cursor up/down.
8589 * lyxrow.h: added irow helper function same as other (i) functions.
8591 * BufferView_pimpl.C (cursorPrevious):
8592 (cursorNext): fixed for insets!
8594 2002-04-15 Juergen Vigna <jug@sad.it>
8596 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8597 position otherwise it is wrong in some cases.
8599 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8600 inside the inset before the call.
8602 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8604 * buffer.[Ch] (getBibkeyList): make it const.
8606 2002-04-12 Juergen Vigna <jug@sad.it>
8608 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8610 * text2.C (getCursorX): new helper function
8611 (setCursor): compute also ix_
8612 (setCursorFromCoordinates): set also ix.
8614 * lyxcursor.h: added ix_ and helper functions.
8616 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8618 * buffer.C (insertStringAsLines): dont break paragraph if the this
8619 paragraph is inside an inset which does not permit it!
8621 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8622 also with no chars on this paragraph.
8623 (paintRowText): only paint stuff if it's inside the workarea!
8625 * paragraph.C (breakParagraph): honor keepempty flag and break the
8626 paragraph always below not above.
8628 * BufferView2.C (unlockInset): update the paragraph layout on inset
8629 unlock as we changed paragraph in such a case.
8631 * lyxfind.C (LyXFind): clear the former selection if not found!
8633 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8634 again called in insertChar().
8636 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8637 an inset which uses the whole row!
8638 (rightMargin): ditto.
8639 (insertChar): force a rebreak if we inserted an inset!
8641 2002-03-28 Herbert Voss <voss@lyx.org>
8643 * lyxlength.[Ch]: add inBP() to get the right PS-point
8644 units (BigPoint). With inPixels we have rounding errors
8646 2002-04-11 Juergen Vigna <jug@sad.it>
8648 * text2.C (setCursorFromCoordinates): set iy to the right value.
8649 (setCursor): add check if row->previous exists!
8651 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8652 an old float_type as this was the case in the old code!
8654 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8656 * BufferView2.C (showLockedInsetCursor): use iy
8657 (fitLockedInsetCursor): ditto
8659 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8660 locked insets as there we have the right value now.
8662 * lyxcursor.C: added iy_ variable and iy functions to set to the
8663 baseline of cursor-y of the locked inset.
8665 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8666 (setCursor): fixed for insets which need a full row.
8668 * text.C (rowLastPrintable): don't ignore the last space when before
8669 an inset which needs a full row.
8670 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8671 as last character of a row when before a inset which needs a full row.
8673 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8675 * version.C.in: update date
8677 * text2.C (fullRebreak): try to always return true and see what
8680 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8682 * MenuBackend.C (expand): use Floating::listName
8684 * FloatList.C (FloatList): add listName argument to the built-in
8687 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8688 text associated with the float.
8690 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8692 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8694 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8696 * ShareContainer.h: add a couple of missing typenames.
8698 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8700 * lyxrc.C (getDescription): use _() correctly rather than N_().
8702 2002-03-28 Herbert Voss <voss@lyx.org>
8704 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8705 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8707 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8709 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8710 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8712 2002-03-29 Juergen Vigna <jug@sad.it>
8714 * lyxfunc.C (dispatch): add a missing fitCursor call.
8716 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8717 it was scrolled by a cursor move, so return the bool status.
8719 * BufferView.C (fitCursor): return the bool flag also to the outside
8720 world as this is needed.
8722 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8724 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8725 call the edit() as it is not needed (and wrong) IMO.
8726 (workAreaButtonPress): set the screen_first variable before evt.
8727 unlock the inset as this may change screen_first and then we have
8728 a wrong y position for the click!
8730 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8732 * MenuBackend.C (expand): another translation that I missed
8734 2002-03-28 Juergen Vigna <jug@sad.it>
8736 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8738 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8740 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8742 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8744 * MenuBackend.C (expand): fix export/view/update when there is no
8747 2002-03-27 Herbert Voss <voss@lyx.org>
8749 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8752 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8754 * bufferview_funcs.C (currentState): only show paragraph number
8755 for is DEVEL_VERSION is set.
8757 * lyxfunc.C (dispatch): put warning in INFO channel
8759 * MenuBackend.C (expand): translate the name of floats
8761 * FloatList.C (FloatList): mark the float names for translation
8763 * converter.C (convert): use LibScriptSearch
8765 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8767 * MenuBackend.C (defaults): fix default menu (we might as well get
8770 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8772 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8775 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8777 * lyxvc.C: reorder includes.
8779 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8781 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8784 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8786 * CutAndPaste.C: change layouts earlier on paste
8787 to avoid crashing when calling getFont()
8789 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8791 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8794 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8796 * WorkArea.C: remove 'Pending' debug message.
8798 * most files: ws cleanup
8800 * buffer.[Ch]: ws changes
8802 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8804 2002-03-21 Juergen Vigna <jug@sad.it>
8806 * tabular.C (SetMultiColumn): collapse also the contents of the
8807 cells and set the last border right. Added a Buffer const * param.
8809 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8811 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8814 2002-03-19 Juergen Vigna <jug@sad.it>
8816 * text2.C (clearSelection): reset also xsel_cache.
8818 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8819 where it needs to be called (John tells us to do so too :)
8820 (selectionLost): reset sel_cache.
8822 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8824 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8826 * text2.C (setCursorIntern): put debuging code in INSETS channel
8828 2002-03-19 André Pönitz <poenitz@gmx.net>
8830 * lyxfunc.C: tiny whitespace change
8832 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8834 * ToolbarDefaults.C (init):
8835 * LyXAction.C (init):
8837 * BufferView_pimpl.C (Dispatch):
8838 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8840 2002-03-19 Allan Rae <rae@lyx.org>
8842 * exporter.C (Export): removeAutoInsets before doing anything else.
8843 While I've just introduced a dependency on BufferView this really is
8844 the best place to clean the buffer otherwise you need to cleanup in
8845 a dozen places before calling export or cleanup in a dozen functions
8848 * converter.C (runLaTeX):
8849 (scanLog): Better handling of removeAutoInsets and screen updates.
8851 * lyxfunc.C (dispatch): small whitespace changes
8853 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8855 * WorkArea.C (C_WorkAreaEvent): return a value.
8856 (event_cb): return 1 if we handled the event, 0 otherwise.
8858 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8860 2002-03-18 Juergen Vigna <jug@sad.it>
8862 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8863 (GetAdditionalWidth): ditto.
8867 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8868 inset if we're there actually (probably not used right now but this
8869 is the direction to go for unifying code).
8870 (paste): disable code to clear the selection.
8872 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8873 inside an InsetText and move the check further up as it is in the
8876 * text2.C (pasteSelection): set a selection over the pasted text.
8878 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8880 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8881 and libgraphics to build on Cygwin.
8883 2002-03-15 Juergen Vigna <jug@sad.it>
8885 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8886 inserting an Inset into the paragraph. I know this is not the best
8887 fix but we already use current_view in CutAndPaste so we will remove
8888 all of it's using at the same time.
8890 * buffer.C (sgmlError): deactivated function till it is rewritten in
8891 the right mode, now it can create problems.
8893 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8894 before accessing it.
8896 2002-03-14 Juergen Vigna <jug@sad.it>
8898 * undo_funcs.C (textHandleUndo): do the right thing when updating
8899 the inset after the undo/redo.
8901 * text2.C (setCursor): just some testcode for #44 not ready yet.
8903 * undo_funcs.C (textHandleUndo): set the next() and previous()
8904 pointers of the paragraph to 0 before deleting otherwise we have
8905 problems with the Paragraph::[destructor].
8907 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8908 on a paragraph insertion.
8910 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8912 * buffer.C (asciiParagraph): use += operator for char append to
8915 * paragraph.C (getFontSettings): compare >= not just >
8916 (highestFontInRange): ditto
8919 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8921 * paragraph.C: change several algorithm to be more appripriate for
8922 the problem domain. This is lookip in FontList and in the InsetList.
8924 2002-03-13 André Pönitz <poenitz@gmx.net>
8927 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8929 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8934 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8936 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8938 * Painter.C (display): anon helper function, adjust code for this
8940 (pixmap): remove function.
8942 * Painter.h: remove private display variable.
8944 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8946 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8948 * WorkArea.[Ch]: remove figinset_canvas cruft.
8950 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8952 * lyxtextclass.C (operator): add one item cache optimization.
8954 * bufferlist.h: doxy changes
8956 * bufferlist.C: ws changes
8958 * DepTable.[Ch] (ext_exist): place const in the right spot.
8960 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8962 (workAreaExpose): call resizeInsets when the with BufferView changes.
8963 (Dispatch): adjust for protectedBlank removal
8964 (specialChar): call updateInset if the insert went ok.
8966 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8967 specialChar instead.
8969 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8971 * BufferView.h: doxy change
8973 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8975 * lyxtextclass.C (operator[]): remove non-const version
8976 (defaultLayout): remove non-const version
8978 2002-03-12 Juergen Vigna <jug@sad.it>
8980 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8981 did resize the LyXText too.
8983 * buffer.C (readLyXformat2): set layout information on newly allocated
8986 * tabular.C (OldFormatRead): set layout information on the paragraph.
8988 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8990 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8992 2002-03-11 Juergen Vigna <jug@sad.it>
8994 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8996 (resizeCurrentBuffer): force also the insets to resize themselfes.
8997 (moveCursorUpdate): fixed up for InsetText.
8999 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9002 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9003 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9004 value of Dialogs::tooltipsEnabled().
9005 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9007 2002-03-08 Juergen Vigna <jug@sad.it>
9009 * BufferView_pimpl.C (updateInset): update inset inside inset also
9010 if it isn't inside theLockingInset().
9012 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9014 * buffer.C (asciiParagraph): redo some of the word and line length
9016 (getLists): look for Caption instead of caption.
9018 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9020 * buffer.C (Buffer): initialize niceFile to true
9023 (makeDocBookFile): make sure niceFile is true on exit
9025 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9027 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9029 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9031 * LyXSendto.C: remove.
9032 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9033 * lyx_gui.C: remove now-redundant comment.
9034 * ColorHandler.h: remove forward declaration of class WorkArea.
9035 * lyxfunc.C: remove #include "WorkArea.h".
9037 2002-03-07 Juergen Vigna <jug@sad.it>
9039 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9040 got moved away with the DEPM and also set the inset_owner always
9041 right which before could have been omitted.
9043 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9045 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9046 wanted layout is not found.
9048 2002-03-07 Juergen Vigna <jug@sad.it>
9050 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9052 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9054 * paragraph.C (breakParagraph): use default layout not layout of
9056 (Paragraph): clear ParagraphParameters.
9058 2002-03-06 Juergen Vigna <jug@sad.it>
9060 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9061 otherwise it would not be a valid lenght. Fixed a special case in
9062 the minipage compatibility read where we end the document with a
9065 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9066 was set as it could be 0 for InsetTexts first entry.
9068 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9070 * paragraph.C (writeFile): if layout is empty write out
9071 defaultLayoutName().
9073 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9074 file without named layout we set layout to defaultLayoutName().
9076 2002-03-06 Juergen Vigna <jug@sad.it>
9078 * CutAndPaste.C (copySelection): set layout for new paragraph.
9080 * text.C (prepareToPrint): leave ERT inset left aligned
9081 (leftMargin): don't indent paragraphs inside ERT insets
9083 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9085 * paragraph.C (breakParagraph): dont call clear do the work manually
9087 * paragraph.[Ch] (clear): remove function
9089 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9091 * paragraph.C (Paragraph): dont call clear, the work has already
9094 * lyxtextclass.C (operator): assert if n is empty
9096 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9097 work manually instead.
9099 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9101 * BufferView_pimpl.C: protect selectionLost against text == 0
9103 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * text.C (breakParagraph): fix a setting layout to '0' problem.
9107 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9109 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9110 final location of file, for the included files, and graphics.
9112 2002-03-05 Juergen Vigna <jug@sad.it>
9114 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9116 2002-03-04 Juergen Vigna <jug@sad.it>
9118 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9120 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9121 last column of multicolumn cells.
9122 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9124 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9126 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9127 file if it doesn't go to a temporary file.
9129 * buffer.C (sgmlOpenTag):
9130 (sgmlCloseTag): remove extra newline insertion.
9132 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9134 * text.C (getRowNearY): comment out debug msg
9136 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9138 * text2.C: first -> first_y
9140 * text.C (getRowNearY): add some attemts at a possible
9141 optimization, not working.
9143 * tabular.[Ch]: add BufferParams to several function so that newly
9144 created paragraph can be initialized to he default layotu for the
9147 * tabular-old.C (ReadOld): add buf->params to call of Init
9149 * screen.C: rename text->first to text->first_y
9151 * paragraph.C (breakParagraph): always set layout in the broken
9154 * lyxtextclass.C (Read): remove lowercase
9157 (delete_layout): ditto
9159 * lyxtext.h: rename first -> first_y
9161 * lyxlayout.C (Read): remove lowercase
9164 (obsoleted_by): ditto
9166 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9168 * buffer.C (insertErtContents): add params are to InsetERT
9169 (parseSingleLyXformat2Token): add code to check if a paragraphs
9170 layout really exist.
9171 (parseSingleLyXformat2Token): add params to several inset
9173 (asciiParagraph): remove lowercase, do the layout comparisons with
9176 * BufferView_pimpl.C (cursorNext): first -> first_y
9177 (resizeCurrentBuffer): first -> first_y
9178 (updateScrollbar): first -> first_y
9179 (scrollCB): first -> first_y
9180 (workAreaMotionNotify): first -> first_y
9181 (workAreaButtonPress): first -> first_y
9182 (checkInsetHit): first -> first_y
9183 (cursorPrevious): first -> first_y
9184 (cursorNext): first -> first_y
9185 (Dispatch): add buffer_->params to severl inset contructors
9187 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9189 * lyxlayout.C (Read): remove some debug info that I forgot.
9191 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9192 clean up the code slightly.
9193 (makeLinuxDocFile): ditto
9194 (makeDocBookFile): ditto
9196 * text2.C: layout as string
9198 * text.C: layout as string
9200 * paragraph_pimpl.C: layout as string
9202 * paragraph.[Ch]: layout as string
9204 * lyxtextclasslist.[Ch]: layout as string
9206 * lyxtextclass.[Ch]: layout as string
9208 * lyxtext.h: layout as string
9210 * lyxlayout.[Ch]: layout as string
9212 * lyx_cb.C: layout as string
9214 * bufferview_funcs.C: layout as string
9216 * bufferparams.C: layout as string
9218 * buffer.C: layout as string
9220 * LyXView.[Ch]: layout as string
9222 * LaTeXFeatures.[Ch]: layout as string
9224 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9226 * BufferView_pimpl.C: change current_layout to string, remove
9231 (workAreaButtonRelease): layout as string
9233 * BufferView2.C (unlockInset): adjust
9235 * vspace.C (asLatexCommand): use an explict temp variable.
9237 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9239 * Makefile.am: use FRONTEND_*
9241 2002-03-01 Juergen Vigna <jug@sad.it>
9243 * tabular.C (SetWidthOfMulticolCell): changed to something better
9244 I hope but still work in progress.
9245 (recalculateMulticolumnsOfColumn): renamed function from
9246 recalculateMulticolCells as it is more appropriate now.
9247 (SetWidthOfCell): calculate multicols better.
9249 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9251 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9253 * lyxfunc.C (processKeySym): print sequence also if it is
9254 `deleted' (complete)
9256 * kbsequence.C (print): print sequence even if it is deleted
9257 (complete would be a better word, actually).
9259 * lyxfunc.C (dispatch): print complete options after a prefix key
9261 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9263 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9265 * text2.C (setCharFont): eliminate setCharFont code duplication.
9267 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9270 LFUN_TABULAR_FEATURE (bug #177)
9272 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9274 * Makefile.am: remove figure.h
9276 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9278 * Bufferview_pimpl.C:
9290 * text2.C: remove #include "lyx_gui_misc.h".
9292 * LaTeX.C: added #include <cstdio>
9294 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9297 that the paragraph following this one can have.
9299 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9301 * vspace.C (asLatexCommand): fix bogus gcc warning
9303 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9305 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9307 * text2.C (setLayout): get rid of redundant code
9309 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9311 * text2.C (incDepth): make sure depth cannot be increased beyond
9314 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9316 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9317 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9319 * PainterBase.h (image):
9320 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9323 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9327 * BufferView_pimpl.C:
9328 * BufferView_pimpl.h:
9348 * sp_spell.C: remove fig inset, and the crap house of
9349 cards that follows it
9351 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9357 * nt_defines.h: move .h into support/
9359 * vms_defines.h: remove
9361 * WorkArea.C: add space in debug output
9365 * buffer.C: add WITH_WARNINGS
9369 * bufferlist.C: s/retrive/retrieve/, add docs
9380 * lyxgui.C: add ID to X error handler
9382 * lyxtestclass.c: fix typo
9384 2002-02-26 Juergen Vigna <jug@sad.it>
9386 * tabular_funcs.C (write_attribute): changed so that some default
9387 attributes are not written at all.
9388 (getTokenValue): set default values before trying to read the
9389 value so we have the return value always set as default if we don't
9390 find the token we search for.
9392 * tabular.C (Write): write bools as bools not as strings!
9394 2002-02-22 Juergen Vigna <jug@sad.it>
9396 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9397 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9399 * text.C (leftMargin): don't add an indent for paragraphs inside
9400 tabular cells (fix #208).
9402 2002-02-21 José Matos <jamatos@fep.up.pt>
9404 * tabular.C (docBook): fixed support for long tables.
9406 2002-02-20 Juergen Vigna <jug@sad.it>
9408 * text2.C (getFont): get the drawing font of the Inset if this
9409 paragraph is inside an inset (only important for InsetERT for now).
9411 * buffer.C (insertErtContents): use new lanugage params in ERT
9414 * CutAndPaste.C: commenting out seemingly uneeded code.
9416 2002-02-19 Allan Rae <rae@lyx.org>
9418 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9419 Iterators might be simple to use but they also get invalidated.
9420 (removeAutoInsets): renamed saved cursor tracking variables and added
9421 some comments to clarify what everything does.
9423 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9430 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9431 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9434 * vc-backend.h: remove #include "support/syscall.h"
9438 * converter.C: rearrange #includes in Lars' approved fashion.
9440 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9441 forward declare class Timeout in the header file.
9443 * XFormsView.C: changes due to the above.
9445 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9448 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9449 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9451 2002-02-18 José Matos <jamatos@fep.up.pt>
9453 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9456 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9458 * a lot of small ws changes
9459 * add a lot of using std::XXX
9460 * use std construcs some places where approp.
9461 * use some exisint stuff from lyxfunctional where approp.
9462 * Make file changes to use partial linking (lets test this now...)
9464 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9468 remove #include "support/syscontr.h" as it's redundant. Always has been.
9476 change Systemcalls::System to Systemcalls::Wait and
9477 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9478 No change of functionality, just reflects the stripped down Systemcalls
9481 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9483 * debug.[Ch]: add a GRAPHICS type to the enum.
9485 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9489 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9492 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9495 match the changes below.
9497 * text2.C (toggleInset): if there is not editable inset at cursor
9498 position, try to see if cursor is _inside_ a collapsable inset
9501 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9504 document menu has a nice checkbox
9506 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9508 * lyxlength.C (asLatexString): change PW to output as percent of
9511 * lengthcommon.C: change '%' to 't%'
9513 * lyxfunc.C (dispatch): a few comments from Martin
9515 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9519 * BufferView_pimpl.h:
9520 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9523 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9525 * vspace.C (inPixels): fix compiler warning
9527 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9529 * lyxfunc.C (getStatus): fix status message for disabled commands.
9531 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9533 * BufferView_pimpl.C: fix crash on close buffer
9534 during selection (#227)
9536 2002-01-27 Herbert Voss <voss@lyx.org>
9538 * buffer.C: link old Figure to new graphic inset
9540 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9542 * FontLoader.C (getFontinfo): Change the latex font names in order
9543 to match the names of type1inst.
9545 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9549 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9552 (remove_files_with_extension): ditto
9553 (remove_file): ditto
9556 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9557 document is smaller than the work area height. Do not initialize
9558 static variables to 0.
9560 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9562 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9564 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9565 LFUN_LAYOUT_PARAGRAPHS.
9567 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9568 tabular. It is possible to provide a possible cell, which will
9569 typically be the actcell from the corresponding insettabular
9571 * lyxfunc.C (getStatus): small cleanup; disable
9572 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9575 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9577 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9579 * paragraph.C (startTeXParParams):
9580 (endTeXParParams): new methods. The LaTeX code to
9581 start/end paragraph formatting
9582 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9583 empty (fixes bug #200)
9585 * vspace.C (inPixels): adapt to the change below
9586 (inPixels): [later] more cleanups (remove unused variables)
9588 * lyxlength.C (inPixels): change to use a width and a height as
9591 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9593 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9594 Replaced with \paperwidth
9596 * DepTable.C (insert): add std:: qualifier
9598 2002-01-18 Allan Rae <rae@lyx.org>
9600 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9603 * text.C (drawInset): Turned out I didn't know enough about how
9604 rebreaking worked. This fixes most of the redraw problems. I see
9605 an occasional cursor trail when a line is broken now and the cursor
9606 placement can seem out by a few pixels also after a rebreak.
9608 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * buffer.C (parseSingleLyXformat2Token): update because minipage
9611 width is now a LyXLength
9613 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9615 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9618 2002-01-17 Juergen Vigna <jug@sad.it>
9620 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9622 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9623 is set correctly and the inset is updated correctly.
9625 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9627 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9628 the beginning of the loop.
9630 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9632 * lyxrc.C: improve help for use_scalable_fonts
9634 2002-01-17 Allan Rae <rae@lyx.org>
9636 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9638 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9640 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9641 make sure to set their inset_owner to the right value (bug #171)
9643 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9646 * DepTable.C: Implement mtime checking to reduce time spent doing
9649 2002-01-16 Juergen Vigna <jug@sad.it>
9651 * tabular.C (GetAdditionalHeight): one of error fixed.
9653 * lyxrc.C (output): small fix in writing use_pspell.
9655 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9657 * sp_base.h: #include LString.h
9659 2002-01-16 Allan Rae <rae@lyx.org>
9661 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9662 Can someone check this please?
9664 * text.C (drawInset): It was possible that p.row would be removed by
9665 breakAgainOneRow upsetting a few other settings. There may be another
9666 small tweak possible by setting need_break_row = 0 when p.row has been
9667 removed but I don't know enough about the logic here.
9669 2002-01-15 Allan Rae <rae@lyx.org>
9671 * text.C (insertChar): removed conditional truism.
9673 * BufferView2.C (removeAutoInsets): More tweaks.
9674 cur_par_prev could be a stray pointer. Check for trailing empty line
9675 in case last line was cur_par and only had an error inset on it.
9677 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9682 * vc-backend.C (most methods):
9683 * exporter.C (Export):
9684 * converter.C (convert):
9686 * LyXSendto.C (SendtoApplyCB):
9687 * lyxfunc.C (dispatch):
9691 * lyx_cb.C (AutoSave):
9693 * BufferView_pimpl.C (MenuInsertLyXFile):
9694 * buffer.C (runChktex): use Buffer::filePath().
9696 * buffer.h: rename filename to filename_; rename filepath to
9697 filepath_ and make it private
9698 (filePath): new method
9700 * buffer.C (writeFile): use fileName()
9703 * lyx_main.C (init): fix starting of LyX when the binary is a
9704 link from so,ewhere else.
9706 * minibuffer.C: include <cctype> for isprint
9708 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9710 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9711 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9712 name clash with InsetCollapsable's width function.
9714 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9716 * lastfiles.C: include <iterator>
9718 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9720 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9723 * buffer.C (makeLaTeXFile): ditto.
9724 Also make loop operation more transparent.
9726 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9728 * ToolbarDefaults.C: remove trailing comma closing namespace.
9730 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9732 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9735 * trans.C (Load): comment out unused variable, allowed.
9737 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9739 * minibuffer.[Ch] (append_char): new method to recieve input from the
9740 drop-down completion browser. If a key was pressed, then recieve this
9741 char and append it to the existing string.
9742 (peek_event): modify the positioning data passed to the completion
9743 browser so that it can be placed above the minibuffer rather than below.
9744 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * LyXAction.C (init): alloe error-next for readonly documents.
9748 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9751 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9753 * bufferlist.C (readFile): create the buffer _after_ checking that
9756 * lyxfunc.C (verboseDispatch): fix handling of arguments
9758 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9760 * lyxrc.C: use string::erase() instead of initializing to "".
9763 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9765 * BufferView_pimpl.h:
9766 * BufferView_pimpl.C:
9769 * text2.C: tell X when we have made a selection for copying
9771 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * BufferView_pimpl.C (MenuInsertLyXFile):
9774 * lyxfunc.C (menuNew):
9776 (doImport): add shortcuts to directory buttons
9778 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9781 * lyxfunc.C (setStatusMessage):
9782 (getStatusMessage): new methods
9783 (getStatus):use setStatusMessage instead of setErrorMessage
9784 (dispatch): when function is disabled, set error message here
9785 [instead of in getStatus previously]
9787 * BufferView_pimpl.C (workAreaButtonRelease): update
9788 toolbar/menubar here too.
9790 2002-01-13 Allan Rae <rae@lyx.org>
9792 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9793 Now seems indestructible. Remaining task is to audit all other
9794 code affected by deleteEmptyParagraphMechanism. One small quirk
9795 left is that an empty document with an error in the preamble can
9796 be made to report an error but no error box appears. I don't know
9798 (removeAutoInsets): Improved comments.
9800 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9803 * Thesaurus.C: update for Aiksaurus 0.14
9805 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * text2.C (firstParagraph): removed member function, all uses
9808 replaces with ownerParagraph
9809 (redoParagraphs): here
9811 (toggleAppendix): here
9812 * BufferView2.C (insertErrors): here
9813 (setCursorFromRow): here
9815 2002-01-13 Allan Rae <rae@lyx.org>
9817 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9818 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9819 There is still a way to segfault this although you may have to do this
9820 multiple times: Have an InsetERT with an unknown command in it.
9821 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9822 <down-arrow>, <Enter> again, View->DVI, BANG!
9824 * text2.C (setCursor):
9825 (deleteEmptyParagraphMechanism):
9826 * lyxtext.h (setCursor):
9827 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9828 Making use of the return value may help fix other bugs.
9830 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9832 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9834 * LyXView.C (updateMenubar): call MenuBar::update here
9835 (updateToolbar): but not here
9836 (showState): do not update toolbar/menubar
9838 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9839 should need to care about that.
9841 * lyxfunc.C (verboseDispatch): simplify a bit
9842 (getStatus): have a version which takes a pseudoaction, and
9843 another which requires a (kb_action,string).
9845 * LyXAction.C (retrieveActionArg): make it work also when action
9846 is not a pseudo-action.
9847 (getActionName): simplify a bit
9850 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * lyxfunc.C (verboseDispatch): new families of methods with
9853 several ways to specify a command and a bool to indicate whether
9854 the command name and shortcut should be displayed in minibuffer
9855 (eventually, we could extend that to a finer bitmask like
9856 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9857 (dispatch): the pristine dispatch command which just, well,
9858 dispatchs! Note it still sets its result to minibuffer; I'm not
9861 * lyxfunc.h: remove setHintMessage
9863 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9865 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9867 * BufferView_pimpl.C (specialChar): delete new inset if we have
9868 not been able to insert it.
9870 * kbmap.C: revert to using int instead of kb_action, since all we
9871 are dealing with is pseudo-actions.
9873 * LyXAction.C (searchActionArg): change to return int instead of
9874 kb_action, since the result is a pseudoaction.
9876 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9878 * buffer.C (insertErtContents): Fix (partially) the font bug.
9880 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9882 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9883 as the other one is broken on my machine!
9885 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9888 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9890 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9892 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9893 reflect their actual use. Provide compatibility code for older lyxrc
9896 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9898 change names of popup font variables in line with the changes to lyxrc.C
9900 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9902 * buffer.C (asciiParagraph): avoid outputing a word twice after
9905 * lyxrc.C (getDescription): document that document_path and
9906 template_path can be empty.
9908 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9910 * LaTeXFeatures.C (getMacros):
9911 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9913 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9915 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9917 (getPackages): rename feature "floats" to "float". Use an array to
9918 iterate over 'simple' features (i.e. just a \usepackage). Add
9919 handling of "amsmath" (renamed from "amsstyle").
9921 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9923 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9926 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9928 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9929 FuncStaus::FuncStatus & FuncStaus::some_method().
9931 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9933 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9934 of the func_satus stuff. Edited and massaged in various ways by
9937 * lyxfunc.C (getStatus): use FuncStatus
9939 2002-01-08 Juergen Vigna <jug@sad.it>
9941 * text.C (nextBreakPoint): use function Inset::isChar().
9943 * paragraph.C (TeXOnePar): use function
9944 Inset::forceDefaultParagraphs.
9946 * buffer.C (latexParagraphs): use function
9947 Inset::forceDefaultParagraphs.
9949 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9951 * lyx_gui.C (init): set the style of the menu popups to
9952 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9954 2002-01-07 Juergen Vigna <jug@sad.it>
9956 * text.C (setHeightOfRow): small fix
9957 (prepareToPrint): don't look at alignment if we don't have the place
9960 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9962 * box.C: New file. Move the Box methods and functions out of box.h,
9963 following Lars' suggestion.
9965 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9967 * box.h: #include "support/LOstream.h", needed for inlined function.
9970 * lyxtextclasslist.C: added some using std declarations.
9972 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9974 * box.h: make signed dimensions to allow insets wider than
9975 the screen (bug #162)
9977 * BufferView_pimpl.C: add some insetHit debug
9979 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9981 * vc-backend.C: add FIXME
9983 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * lyxfunc.C (getStatus): enable code for showing math font status
9988 2002-01-07 Juergen Vigna <jug@sad.it>
9990 * text.C (nextBreakPoint): removed debug output not needed anymore.
9992 2002-01-06 Juergen Vigna <jug@sad.it>
9994 * text.C (nextBreakPoint): fixed up this function we had this bug
9995 since ever but now hopefully we break row better.
9996 (insertChar): we have to check if an inset is the next char as it
9997 could now happen that a large inset is causing a break.
9999 2002-01-05 Juergen Vigna <jug@sad.it>
10001 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10002 if it doesn't like to be drawed.
10004 2002-01-04 Juergen Vigna <jug@sad.it>
10006 * BufferView2.C (lockInset): forgot to set a cursor.
10008 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10010 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10012 * FormMathsPanel.C:
10015 * form_maths_panel.C:
10016 * form_maths_panel.h:
10017 * form_maths_panel.fd: implemented sub- and super- buttons in math
10020 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10021 (or ^ space) to be used as in TeX (req'd by André).
10023 * lyxfunc.C: Allow ^ and _ again to be used both as
10024 super/subscript (mathed) and as themselves (in text).
10026 2002-01-03 Allan Rae <rae@lyx.org>
10028 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10029 "LyX" or the filename of the current buffer if it has one. This is a
10030 modified form of John Levon's patch.
10032 * XFormsView.C (setWindowTitle): also set icon title.
10034 * LyXView.h (setWindowTitle): signature changed.
10035 * XFormsView.h (setWindowTitle): ditto.
10037 2002-01-02 Juergen Vigna <jug@sad.it>
10039 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10041 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * screen.C (topCursorVisible): introduce a temp var for
10044 text->cursor.row(), handle the case where this row is null. (kindo
10047 * text2.C (setCursor): add a couple of asserts.
10049 * paragraph.h (inset_iterator): add -> operator
10051 * paragraph.[Ch] (autoDeleteInsets): remove member function
10053 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10054 cursor pos correctly and handle inset deletion by itself.
10055 (insertErrors): move iterator declaration out of for expression
10057 * lyxtextclass.C: add <algorithm>
10059 * Makefile.am: added the new files to sources, removed layout.C
10061 * layout.C: removed file
10063 * layout.h: remove LYX_DUMMY_LAYOUT
10065 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10069 * lyxtextclass.[Ch]:
10070 * lyxtextclasslist.[Ch]: new files
10072 * include order changes to a lot of files, also changes because of
10075 2001-12-27 Juergen Vigna <jug@sad.it>
10077 * buffer.C (asciiParagraph): more fixes.
10079 * tabular.C (ascii): make ascii export support export of only the
10080 data separated by a column-delimiter.
10081 (ascii): better support for ascii export.
10083 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10085 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10087 * tabular_funcs.C: use a "using std::getline" instead of the
10088 previous fix from Angus (necessary for cxx + lyxstring)
10090 2001-12-24 Juergen Vigna <jug@sad.it>
10092 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10094 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10095 problems. First check a minipage also if we have some ert-contents
10096 (not only on par->size(), second set the right depth of the paragraph
10097 on the relink to the root-paragraph-list!
10099 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10100 which then did not anymore update the main paragraphs on undo/redo!
10102 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10104 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10105 code. Support all font-changing funcs (even those which are not in
10106 menu currently). Support for reporting font settings in
10107 mathed (disabled until Andre provides a function on mathed's side).
10109 * func_status.h (toggle): small helper function to set toggle
10112 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10114 * tabular_funcs.C: getline -> std::getline
10116 2001-12-21 Juergen Vigna <jug@sad.it>
10118 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10119 accessed and could be 0 (I couldn't generate this but it seems
10122 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10124 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10125 * tabular_funcs.h: here and include iosfwd
10127 2001-12-20 Juergen Vigna <jug@sad.it>
10129 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10130 inside inset but undo_par was.
10132 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10134 * Thesaurus.C: always include <config.h> in sources.
10138 * box.h: do not include <config.h> in header files
10140 * text.C (paintLastRow): remove unused variable
10142 * text.C (transformChar):
10144 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10146 * Painter.C (text):
10147 * font.C (width): rewrite to use uppercase() instead of
10150 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10152 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10154 * lyxfind.C: clean up of find failure position change
10156 2001-12-20 Juergen Vigna <jug@sad.it>
10158 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10160 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10161 (TeXRow): added to LaTeX a single tabular row.
10162 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10163 (Latex): simplified and finally good LT-h/f support.
10164 (various_functions): just small adaptions for LT-h/f support.
10166 * tabular_funcs.[hC]: added and moved here all not classfunctions
10169 2001-12-19 Juergen Vigna <jug@sad.it>
10171 * tabular.[Ch]: better support for longtabular options (not finished
10174 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10176 * text.C (paintLastRow): use the label font instead of the font of
10177 the last character to compute the size of *_BOX. This makes more
10178 sense and avoids a crash with empty paragraphs.
10179 Use Painter::rectangle to draw EMPTY_BOX.
10181 2001-12-19 Juergen Vigna <jug@sad.it>
10183 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10184 the paragraphs if the replaced paragraph is not the first one!
10185 Tried to delete not used paragraphs but does not work yet so for
10186 now it's inside #ifdef's and by default off!
10188 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10190 * MenuBackend.C: include "lyx_main.h" instead of declaring
10191 lastfiles (actually was declared as LastFiles* instead of a
10194 2001-12-17 Juergen Vigna <jug@sad.it>
10196 * tabular.C (AppendColumn): applied John's fix
10198 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10202 * BufferView_pimpl.h:
10203 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10206 * box.h: new start of class for above
10208 * lyxfunc.C: ignore space-only minibuffer dispatches.
10209 Show the command name when it doesn't exist
10211 * minibuffer.C: don't add empty lines to the history
10213 * minibuffer.C: add a space on dropdown completion
10215 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10217 * text.C: fix line above/below drawing in insets
10219 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10221 * lyxlength.C (LyXLength): Initialize private variables.
10223 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10225 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10226 when inserting error insets.
10228 2001-12-13 Juergen Vigna <jug@sad.it>
10230 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10231 actually sometimes the before-paragraph.
10232 (setUndo): don't clear the redostack if we're not actually undoing!
10234 2001-12-06 Juergen Vigna <jug@sad.it>
10236 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10237 and fixed redoing of main paragraph, so we can use it now ;)
10239 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10241 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10243 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10246 2001-12-13 André Pönitz <poenitz@gmx.net>
10249 * undo_func.C: minor cleanup
10251 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10253 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10254 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10255 font in urw-fonts package which is marked as -urw-fontspecific and
10256 does not work (incidentally, changing the encoding in the
10257 fonts.dir of this package to -adobe-fontspecific fixes the
10260 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10261 is a crash when undoing first paragraph (Juergen, please take a
10262 look). THis does not mean the undo fix is wrong, just that it
10265 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10266 the (Paragraph*) version when needed instead of duplicating the
10269 * text.C (workWidth): use Inset::parOwner to find out where the
10270 inset has been inserted. This is a huge performance gain for large
10271 documents with lots of insets. If Inset::parOwner is not set, fall
10272 back on the brute force method
10274 * paragraph_pimpl.C (insertInset):
10275 * paragraph.C (Paragraph):
10276 (cutIntoMinibuffer): set parOwner of insets when
10277 inserting/removing them
10279 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10281 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10287 * mathed/formulabase.C:
10288 * mathed/math_cursor.[Ch]:
10289 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10292 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10294 * lyxlength.[Ch] (operator!=): new function
10296 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * text.C (workWidth): use Inset::parOwner to find out where the
10299 inset has been inserted. This is a huge performance gain for large
10300 documents with lots of insets. If Inset::parOwner is not set, fall
10301 back on the brute force method
10303 * paragraph_pimpl.C (insertInset):
10304 * paragraph.C (Paragraph):
10305 (cutIntoMinibuffer): set parOwner of insets when
10306 inserting/removing them
10308 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10310 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * tabular-old.C (getTokenValue):
10313 * tabular.C (getTokenValue):
10314 (write_attribute): new versions for LyXLength
10315 (everywhere): adjust the use of widths
10317 * tabular.h: change the type of widths from string to LyXLength
10319 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10321 * paragraph.C: fixed missing line number count when exporting
10322 Environments to LaTeX file
10324 * buffer.C: added informational message for checking line numbers.
10326 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10328 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10329 paragraph, do the 'double space' part, but not the 'empty
10332 * text.C (workWidth): small optimization
10333 (getLengthMarkerHeight): use minimal size for negative lengths.
10335 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10337 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10339 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10341 2001-12-11 André Pönitz <poenitz@gmx.net>
10344 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10346 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10348 * text2.C: keep selection on a setFont()
10350 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10352 * lyx_cb.C: another bv->text misuse, from insert label
10354 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10357 * kbsequence.C: re-instate nmodifier mask
10359 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10361 * lyx_main.h: make lyxGUI private.
10363 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10365 * lyxfind.C: place the cursor correctly on failed search
10367 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10369 * text.C (getLengthMarkerHeight): for small heights, the arrows
10370 are not always on top/bottom of the text
10371 (drawLengthMarker): smaller arrows; take the left margin in
10372 account; draw also vfills.
10374 (paintLastRow): remove special code for vfill and standard spaces,
10375 since everything is handled in drawLengthMarker now.
10377 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * buffer.C (insertErtContents): try to handle font and language
10380 interaction a bit better.g
10382 * ColorHandler.C (updateColor): change the hash to cover the whole
10383 LColor enum, ws cleanup
10384 (getGCLinepars): ditto
10385 (getGCLinepars): only lookup in the linecache once.
10387 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10389 * iterators.C (operator++): Make the iterator more robust
10391 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10393 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10395 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10398 * text.C: better added space drawing
10400 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10403 * BufferView2.C: fix layout combo update on inset unlock
10405 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10407 * Makefile.am: don't compile unused files
10409 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10413 * LyXAction.C: remove old LFUN_LAYOUTNO
10415 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10417 * paragraph_pimpl.h:
10418 * paragraph_pimpl.C: isTextAt() doesn't need font param
10420 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10423 * lyxlex.C: little cleanup
10425 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10427 * BufferView_pimpl.C: fix insertAscii for insets
10429 2001-12-05 Juergen Vigna <jug@sad.it>
10431 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10432 set the right font on the "multi" paragraph paste!
10434 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * lyxlength.C: remove out-commented code.
10442 * BufferView_pimpl:
10456 * vc-backend.C: change "while(" to "while ("
10458 * lyxlength.[Ch]: add zero function to check if length is zero or
10460 * lyxgluelength.C: use it
10462 2001-12-05 Allan Rae <rae@lyx.org>
10464 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10465 Works for 2.95.3, from what I understand of Garst's reports this should
10466 work for other g++ versions. We're screwed if the abs(int) definition
10467 changed between bugfix releases of gcc.
10469 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10471 * text.C: fix chapter label offset !
10473 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10476 * text.C: fix hfill at end of line, clean up
10478 2001-12-04 Juergen Vigna <jug@sad.it>
10480 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10481 that we force an update of the inset and it's owners if neccessary.
10483 2001-12-03 Juergen Vigna <jug@sad.it>
10485 * text.C (rowLast): simplified code
10487 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10489 * lyxfunc.C: fix show options on timeout
10491 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10493 * screen.C (topCursorVisible): scroll half a page when the cursor
10494 reached top of bottom of screen
10496 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10498 * minibuffer.C: deactivate on loss of focus
10500 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * vspace.[Ch] (operator!=): add operator.
10504 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10506 * BufferView_pimpl.C: refuse to open an inset when
10507 there's a selection.
10509 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10511 * BufferView_pimpl.C: allow to click on RHS of full row insets
10513 2001-11-30 Juergen Vigna <jug@sad.it>
10515 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10516 insets for undo reasons.
10518 2001-11-28 André Pönitz <poenitz@gmx.net>
10520 * vspace.[Ch]: cosmetical changes
10522 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10532 * kbsequence.C: part re-write of old kb code
10535 * WorkArea.C: remove Lgb_bug_find_hack
10537 2001-11-30 José Matos <jamatos@fep.up.pt>
10539 * buffer.C (makeDocBookFile): add a comment to point a hack.
10540 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10541 Fixed a double write of labels.
10543 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10546 * LaTeX.h Fixed bug in LaTeX class where it would not
10547 re-run latex if no depfiles were changed, but the .dvi was removed.
10549 2001-11-28 André Pönitz <poenitz@gmx.net>
10551 * all the files from the change on 2001/11/26:
10552 use lyx::layout_type instead of LyXTextClass::size_type
10553 use lyx::textclass_type instead of LyXTextClassList::size_type
10555 2001-11-29 Juergen Vigna <jug@sad.it>
10557 * text.C: added support for paragraph::isFreeSpacing()
10559 * buffer.C: same as above
10561 * paragraph.h: inserted isFreeSpacing() function to enable
10562 FreeSpacing inside InsetERT.
10564 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10565 of the paragraph's in the cut/copy buffer to 0!
10567 * text2.C (removeRow): remove the assert as it can!
10569 * lyxtext.h: added helper function firstRow returning firstrow and
10570 made firstrow private again.
10572 * BufferView2.C (lockInset): don't relock if we're already locked!
10574 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10575 the only paragraph.
10576 (removeRow): added Assert::(firstrow)
10578 * debug.C: forgot to add INSETTEXT here.
10580 2001-11-28 Juergen Vigna <jug@sad.it>
10582 * sp_spell.C (initialize): changed error text to more general
10583 spellchecker command use (not only ispell!)
10585 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10587 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10589 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10591 * vspace.C: initialise lyxgluelength on failure
10593 2001-11-28 Allan Rae <rae@lyx.org>
10595 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10596 declaration & definition that looks like a function declaration.
10598 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * BufferView2.C (copy):
10601 (copyEnvironment): do not clear the selection when doing a copy.
10603 * text.C (paintFirstRow): compilation fix
10605 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10607 * tabular.C (Latex): correct line count when writing latex.
10609 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10611 * paragraph_pimpl.h:
10612 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10615 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10619 * LColor.C: change vfillline->added_space
10621 * text.C: add markers and text for added space
10623 * vspace.C: fix comment
10625 2001-11-28 André Pönitz <poenitz@gmx.net>
10627 * paragraph.C: whitespace changes
10628 * all the other files from the change on 2001/11/26:
10629 change *::pos_type into lyx::pos_type
10631 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10633 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10634 language of the document when inserting error insets.
10636 2001-11-26 André Pönitz <poenitz@gmx.net>
10638 * BufferView_pimpl.[Ch]:
10646 * paragraph_pimpl.[Ch]:
10649 * text2.C: reduce header dependencies, introduce type for positions
10651 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10653 * <various>: change to use Alert.h
10655 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10657 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10658 when encountering an unknown token.
10659 (readLyXformat2): Show an error message if there were unknown tokens.
10661 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10664 * BufferView_pimpl.C:
10668 * text2.C: use par->isInset()
10670 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10672 * paragraph_pimpl.h:
10673 * paragraph_pimpl.C: cleanup
10675 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10677 * text2.C (removeRow):
10678 * text.C (setHeightOfRow): remove useless (and costly) call to
10681 2001-11-20 Allan Rae <rae@lyx.org>
10683 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10684 Now need Inset*::checkInsertChar() to return true for appropriate
10685 cases so that the characters in the minibuffer will actually be
10688 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10690 * text.C: change the order of the includes.
10691 (workWidth): initialize it at once.
10692 (workWidth): make maxw unsigned
10693 (setHeightOfRow): remove unused variable (inset)
10694 (selectSelectedWord): remove unused variable (inset)
10695 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10697 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10700 server is not running.
10702 (closeConnection): add debug info when server is disabled.
10704 * ColorHandler.C (getGCForeground): send debug message to GUI
10707 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10709 * kbmap.C (bind): modify because return conventions of
10710 kb_sequence::parse have changed.
10712 * kbsequence.C (parse): only ignore spaces and not any stupid
10713 control character. This avoids tests like s[i] <= ' ', which are
10714 guaranteed to fail with 8bit characters and signed chars.
10715 Change return code to string::npos when there have been no error
10716 (0 was a bad idea when error is at first character)
10718 2001-11-14 José Matos <jamatos@fep.up.pt>
10721 * buffer.C (simpleDocBookOnePar): removed unused argument.
10723 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10726 insets which are part of a word. Paragraph::isLetter takes care of
10727 that now. Use Paragraph::isInset to identify insets.
10728 (selectSelectedWord): do not test for hyphenation break.
10730 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10731 that protected spaces are considered as spaces.
10733 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10736 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10739 * lyxserver.C: fix it. and small cleanup.
10741 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10743 * BufferView_pimpl.C: use inline helpers
10746 * LaTeXFeatures.C: fix typos
10749 * Spacing.C: move spacing_string into class
10751 * ToolbarDefaults.C: move stuff into namespace anon
10753 * layout.h: update enum
10755 * lyxfunc.C: use better debug
10757 * minibuffer.h: fix typo
10761 * WorkArea.C: add and use Debug::WORKAREA
10765 * text2.C: code re-organisation, inline helpers
10767 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10769 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10770 std::vector.empty().
10772 2001-11-09 Allan Rae <rae@lyx.org>
10774 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10775 '\n's after tables. Tabular and ERT inset work now makes this no
10778 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10781 * minibuffer.C: fix crash, improve drop-down completion
10783 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10786 * lyxserver.C: invalidate fd's when doing endPipe()
10788 2001-11-08 José Matos <jamatos@fep.up.pt>
10790 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10791 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10794 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10796 2001-11-07 José Matos <jamatos@fep.up.pt>
10799 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10802 * buffer.C (sgmlOpenTag):
10803 * buffer.C (sgmlCloseTag): removed debug info.
10805 * buffer.h (sgmlOpenTag):
10806 * buffer.h (sgmlCloseTag): made public.
10808 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * buffer.C (saveParamsAsDefaults):
10811 * lyx_cb.C (MenuLayoutSave): remove
10813 * LyXAction.C (init):
10815 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10817 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10819 * buffer.C (setPaperStuff): removed from here...
10821 * bufferparams.C (setPaperStuff): ... and moved there.
10823 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10827 * XFormsView.C: add support for drop-down completion
10829 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10831 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10834 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10836 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10839 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10841 * lyx_main.C: change ref to known bugs
10843 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10845 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10846 to work around older babel problems.
10848 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10850 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10852 2001-10-24 Juergen Vigna <jug@sad.it>
10854 * tabular-old.C (ReadOld): below variable changes reflected.
10856 * tabular.[Ch]: added ltType struct for longtable header/footer
10857 defines and changed all instances where they are used. Added
10858 future support for double top/bottom rows.
10860 2001-10-24 José Matos <jamatos@fep.up.pt>
10862 * buffer.h (docbookHandleCaption):
10863 * buffer.C (docbookHandleCaption): removed unused function.
10864 (makeDocBookFile): moved docbook supported version to v4.1.
10866 2001-10-24 José Matos <jamatos@fep.up.pt>
10869 * tabular.C (docbookRow): new function to export docbook code of a row.
10870 (DocBook): now honors the longtable flags.
10872 2001-10-23 José Matos <jamatos@fep.up.pt>
10875 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10876 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10878 * buffer.C (makeLinuxDocFile):
10879 (makeDocBookFile): reworked the preamble, more clean, and with
10880 support for lyx defined entities. Changed the document declaration
10881 to be more XML friendly.
10883 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10884 if we need to output XML that should be done with a filter.
10886 2001-10-22 Juergen Vigna <jug@sad.it>
10888 * sp_pspell.h (class PSpell): add alive function needed in the
10889 controller to see if the spellchecker could be started.
10891 2001-10-22 Juergen Vigna <jug@sad.it>
10893 * buffer.C (insertStringAsLines): modify the font for inserting
10894 chars in certain conditions by calling checkInsertChar(font).
10896 2001-10-19 Juergen Vigna <jug@sad.it>
10898 * text.C (workWidth): use getRow instead of wrong algorithm.
10899 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10901 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10906 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10908 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10910 * text.C (workWidth): do not search for the exact row when
10911 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10912 optimization for big documents.
10914 2001-10-18 Juergen Vigna <jug@sad.it>
10916 * text.C (workWidth): new function with added Inset * parameter.
10918 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10920 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10922 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10923 change return type of getColumnNearX.
10926 * text.C (changeRegionCase): use uppercase/lowercase instead of
10929 (rightMargin): simplify code by factoring out the uses of
10934 (appendParagraph): use Paragraph::size_type
10936 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10938 * vspace.C (asLatexString): add a missing break
10940 2001-10-15 Herbert Voss <voss@perce.de>
10942 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10944 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10946 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10949 2001-10-10 André Pönitz <poenitz@gmx.net>
10951 * lyxfunc.C: removed greek_kb_flag.
10953 2001-10-10 Herbert Voss <voss@perce.de>
10955 * lyx_main.C: delete global string help_lyxdir.
10957 2001-10-09 Herbert Voss <voss@perce.de>
10959 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10961 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10963 * lyx_main.C: added global string help_lyxdir.
10965 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10967 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10969 * lyxrc.C (set_font_norm_type): support iso8859-4
10971 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10973 * LaTeX.C (deplog): add another regex for MikTeX
10975 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10977 * lyxrc.C (set_font_norm_type): support iso8859-3
10979 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10981 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10983 * LaTeXFeatures.C: remove special case of french and index
10985 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10986 before \begin{document}). This solves several incompatibilities.
10988 2001-10-03 Garst Reese <reese@isn.net>
10990 * lyx_cb.C: change CheckTex error msg.
10992 2001-10-03 José Matos <jamatos@fep.up.pt>
10994 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10996 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10998 * .cvsignore: update
11000 * lyx_main.C (commandLineVersionInfo): use new style version info.
11002 * buffer.C (writeFile):
11004 (makeLinuxDocFile):
11005 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11007 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11009 * version.h: update to use stuff in version.C
11011 * version.C.in: new file. Contains version information determined
11012 at compile time. This is a merging of version.h and
11015 2001-10-03 Juergen Vigna <jug@sad.it>
11017 * BufferView_pimpl.C (update): don't change "dirty" status in
11020 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11022 * WorkArea.C (c-tor): re-position version string slightly.
11024 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11026 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11027 revert to previous code.
11029 WorkArea.[Ch]: (show, destroySplash): methods removed.
11031 WorkArea.C: rework code so that it's an amalgam of the codes before and
11032 after the splash screen was moved to WorkArea.
11034 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11037 * vspace.C (inPixels):
11040 * buffer.C (insertStringAsLines):
11041 (asciiParagraph): fix types to be large enough
11043 * lyxlex_pimpl.h: change member status from short to int
11045 * layout.h: fix type of endlabeltype
11048 * kbsequence.C (parse): change return type to string::size_type
11050 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11053 * Bullet.C (bulletSize):
11054 (bulletEntry): do not use short ints as parameters
11056 * BufferView2.C (insertLyXFile): change a char to an int.
11058 * WorkArea.C (WorkArea): remove unneeded floats in computation
11060 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11062 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11064 * paragraph.C (asString): Do not ignore newline/hfill chars when
11065 copying to the clipboard.
11067 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11069 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11070 after a multi-line inset.
11072 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11074 * paragraph.C (validate): Set NeedLyXFootnoteCode
11076 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11078 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11079 and decrease-error to decrease.
11081 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11083 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11084 it more readable (should be equivalent)
11086 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11088 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11090 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11092 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11093 of a cursor (row, etc.) after a character has been deleted
11094 (deleteEmptyParagraphMechanism): call the method above on _all_
11095 cursors held by the LyXText when a double space has been
11098 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11100 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11102 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11104 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11105 background. Use greyOut() and the new show() methods to toggle between
11106 the foreground and background. Add code to remove the splash after
11107 its initial showing.
11109 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11110 (create_forms): no longer call Dialogs::showSplash.
11112 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11114 * .cvsignore: add version_info.h
11116 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * version_info.h.in: new file
11120 * Makefile.am: add version_info.h.in
11122 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11123 version_info.h instead of VERSION_INFO
11125 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11127 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11128 The ERT inset now returns string().
11130 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11132 * lyxtext.h, text.C (selectNextWord): renamed as
11133 selectNextWordToSpellcheck.
11135 * text.C (selectNextWordToSpellcheck): Modified to not select
11136 words inside an ERT inset.
11138 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11140 * lyx_cb.C (MenuLayoutSave): change a bit the question
11142 * sp_base.h: include <sys/types.h>
11144 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11146 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11148 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11150 * several files: fix typos in user-visible strings
11152 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * text2.C (pasteSelection): do not set the selection, since it
11155 will be cleared later. Actually, the intent was to fix the way the
11156 selection was set, but I figured rmoving the code was just as good.
11158 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11160 * FontLoader.C (available): Check if font is available without
11163 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11165 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11167 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11169 * lyxrc.[Ch]: added display_graphics variable and associated code.
11171 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11173 * bufferparams.C (hasClassDefaults): new method. Returns true if
11174 the buffer parameters correspond to known class defaults
11176 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11178 * XFormsView.C (show): set minimum size to the main window.
11180 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11182 * text2.C (copySelection):
11184 * lyxfind.C (LyXReplace):
11185 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11186 LyXText::selectionAsString.
11188 * paragraph.C (asString): add "label" argument to the second form
11190 * text2.C (selectionAsString): add "label" argument and pass it to
11191 Paragraph::asString.
11193 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11195 * lyx_main.C (commandLineHelp): remove version information
11197 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11199 * lyx_main.C: add -version commandline option
11201 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * paragraph.h: make the optional constructor arg required instead.
11204 some modifications to other files because of this.
11206 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11208 * lyxserver.C (C_LyXComm_callback): make it static
11210 * lyx_main.C (error_handler): make it static
11212 * lyx_gui.C (LyX_XErrHandler): make it static
11214 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11216 * WorkArea.C: make the extern "C" methods static.
11218 * Makefile.am (lyx_LDADD): simplify
11220 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11222 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11223 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11225 * LyXAction.C (init):
11226 * lyxfunc.C (dispatch): associated code removal.
11228 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11230 * lyxfont.h (isSymbolFont): shut off warning
11232 * text.C (setHeightOfRow):
11233 (getVisibleRow): fix crash with empty paragraphs which have a
11236 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11238 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11241 2001-09-04 José Matos <jamatos@fep.up.pt>
11244 * tabular.C (docbook): rename docBook method to docbook.
11246 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11248 * Makefile.am: add dependencies to main.o.
11250 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11252 * FontLoader.C (available): Return false if !lyxrc.use_gui
11254 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11256 * FontInfo.C (query):
11257 * converter.C (view):
11258 * importer.C (Import):
11259 * exporter.C (Export): Can not -> cannot.
11261 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11263 * BufferView_pimpl.C: allow to create index inset even if
11266 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11268 * buffer.C (getLists): replace boost::tie code with an explicit pair
11269 as boost::tie can break some compilers.
11271 * iterators.h: Added a std:: declaration to the return type of
11274 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11276 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11279 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11281 * iterators.[Ch]: New files. Provide paragraph iterators.
11283 * buffer.C (changeLanguage): Use paragraph iterators.
11284 (isMultiLingual): ditto
11286 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11288 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11290 * FontLoader.C: Support for cmr font.
11292 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11294 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11295 (available): New method.
11297 * FontInfo.C (getFontname): Use scalable fonts even when
11298 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11301 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11303 * converter.C (Formats::view): reverted! Incorrect fix.
11305 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11307 * converter.C (Formats::view): only output the -paper option
11308 if the dvi viewer is xdvi, thereby fixing bug #233429.
11310 2001-08-23 Herbert Voss <voss@perce>
11312 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11314 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11316 * Spacing.h (Spacing): Set space to Default on in the default
11319 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11321 * vc-backend.h (RCS::versionString): add RCS to version
11322 (CVS::versionString): add CVS to version
11324 * vc-backend.C (scanMaster): do not add CVS to version.
11325 (scanMaster): do not add RCS to version
11327 * lyxvc.C (versionString): new method
11329 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11331 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11333 * Spacing.C (set): initialize fval
11335 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11337 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11340 2001-08-16 Juergen Vigna <jug@sad.it>
11342 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11344 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11346 * BufferView_pimpl.C:
11349 * text2.C: setParagraph takes linespacing now
11351 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11353 * LyxAction.C: add internal LFUN_CITATION_INSERT
11355 * LyXView.C: actually apply fix
11357 * bufferlist.C: fix open non-existent file
11359 * lyxfind.C: fix indentation
11361 * lyxfunc.C: remove unneeded assert, fix typo
11363 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11365 * MenuBackend.C: use "Floatname List"
11367 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11369 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11370 when converting LaTeX layout to insetERT.
11371 Generate a non-collapsed float when reading old float
11373 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11375 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11378 2001-08-13 Juergen Vigna <jug@sad.it>
11380 * text.C (fill): return 0 instead of 20 as this seems to be the more
11383 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11385 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11388 2001-08-13 Juergen Vigna <jug@sad.it>
11390 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11392 (SearchBackward): comment out the unlocking of the inset_owner this
11393 should not be needed!
11395 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11397 * Many files: Remove inherit_language, and add latex_language
11399 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11400 collapsible insets.
11402 2001-08-10 Juergen Vigna <jug@sad.it>
11404 * text.C (prepareToPrint): fixed hfill-width in draw!
11406 * BufferView2.C (selectLastWord): save the selection cursor as this
11407 now is cleared in the function LyXText::clearSelection!
11409 2001-08-08 Juergen Vigna <jug@sad.it>
11411 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11412 BACKSPACE type functions.
11414 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11415 is only cutted from the document but not put in the cut-buffer, where
11416 still the old stuff should be.
11418 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11420 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11422 * tabular.C (SetWidthOfCell): fixed special case where the width
11424 (LeftLine): handle '|' in align_special.
11426 (LeftAlreadyDrawed): ditto
11427 (SetWidthOfCell): ditto
11429 2001-08-07 Juergen Vigna <jug@sad.it>
11431 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11433 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11435 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11436 * lyxlex.[hC]: ditto
11438 2001-08-06 Juergen Vigna <jug@sad.it>
11440 * text.C (getVisibleRow): fix up row clearing a bit.
11442 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * minibuffer.C: make sure the X server sees the changes in the input.
11446 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11448 * paragraph.C (getFont): split into...
11449 (getLabelFont): this
11450 (getLayoutFont): and this
11451 * paragraph_pimpl.C (realizeFont): calling this
11453 * text2.C (getFont): split into...
11454 (getLayoutFont): this
11455 (getLabelFont): and this
11456 (realizeFont): all three calling this
11458 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11461 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11463 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11465 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11467 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11468 layouts from the Quote inset insertion.
11470 2001-08-03 Juergen Vigna <jug@sad.it>
11472 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11474 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11475 only if status not is already CHANGED_IN_DRAW (second level).
11477 * text.C (draw): don't set the need_break_row when inside an
11480 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11482 * buffer.C (parseSingleLyXformat2Token): handle more latex
11485 * bufferview_funcs.[hC]: change function names to
11486 begin with small char, adjust other files.
11488 2001-08-02 André Pönitz <poenitz@gmx.net>
11491 BufferView_pimpl.C: remove broken special code for math-greek
11493 2001-08-02 Juergen Vigna <jug@sad.it>
11495 * BufferView_pimpl.C (update): redone this function so that we
11496 update the text again if there was a CHANGE_IN_DRAW.
11498 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11499 (drawFromTo): added a new internal bool which is used by draw() and
11501 (general): some cursor drawing problems fixed.
11503 2001-08-01 Juergen Vigna <jug@sad.it>
11505 * lyxfind.C (LyXFind): fixed
11506 (SearchForward): ditto
11507 (SearchBackward): ditto
11509 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11510 spurius drawing of the cursor in the main area.
11512 * text2.C (status): small fix which could lead to a segfault!
11513 (clearSelection): remove unneeded BufferView param.
11515 2001-08-01 André Pönitz <poenitz@gmx.net>
11517 * lyxfunc.C: small change due to changed mathed interface
11519 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11521 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11523 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11525 * lyxfunc.c: fail gracefully if file doesn't exist
11530 * BufferView_pimpl.C: IsDirWriteable() proto changed
11532 * LyXView.C: fix updateWindowTitle() to store the last title
11534 2001-07-31 Juergen Vigna <jug@sad.it>
11536 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11537 the font (wrong since using of Paragraph::highestFontInRange).
11539 * paragraph.C (highestFontInRange): added a default_size parameter.
11541 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11542 (setHeightOfRow): reformat
11544 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11546 * converter.[hC] + affected files: move to (inital-char)lowercase
11549 * ParagraphParameters.C (ParagraphParameters): remove commented code
11551 * PainterBase.[Ch]: remove commented code
11553 * LaTeXFeatures.h: add "bool floats" for float.sty
11555 * LaTeXFeatures.C (LaTeXFeatures): init floats
11556 (require): handle float
11557 (getPackages): do it with floats
11559 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11561 * BufferView_pimpl.C (Dispatch): improve handling of
11562 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11564 * commandtags.h: #include lyxfont.h here temporarily to avoid
11567 * bufferlist.h: include LString.h here.
11569 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11571 * text2.C (getStringToIndex): new method.
11573 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11575 * *: Reduced header file dependencies all over.
11577 2001-07-30 Baruch Even <baruch@lyx.org>
11579 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11581 2001-07-29 Baruch Even <baruch@lyx.org>
11583 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11585 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * ParameterStruct.h (endif): add a default constructor to make
11588 sure that all variables is initialized.
11590 * ParagraphParameters.C (ParagraphParameters): adjust
11592 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11594 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11595 index; also, check that there is something to index, and that it
11596 does not span over several paragraphs.
11597 (doubleClick): use WHOLE_WORD_STRICT for double click.
11599 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11601 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11604 2001-07-26 Baruch Even <baruch@lyx.org>
11606 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11607 an InsetFig figure, backwards compatible reading of old figure code.
11609 2001-07-27 Juergen Vigna <jug@sad.it>
11611 * text2.C: font.realize function adaption.
11613 * text.C (draw): add a warnings lyxerr text if needed.
11615 * layout.C: font.realize function adaption.
11617 * language.C: add inherit_language and implement it's handlings
11619 * bufferview_funcs.C (StyleReset): remove language parameter from
11620 font creation (should be language_inherit now).
11622 * bufferparams.C (writeFile): handle ignore_language.
11624 * paragraph.C (getFontSettings): the language has to be resolved
11625 otherwise we have problems in LyXFont!
11627 * lyxfont.C (lyxWriteChanges): added document_language parameter
11628 (update): removed unneeded language parameter
11630 * paragraph.C (validate): fixed wrong output of color-package when
11631 using interface colors for certain fonts in certain environments,
11632 which should not seen as that on the final output.
11634 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11636 * BufferView_pimpl.C:
11641 * LyXAction.C: add thesaurus support
11644 * lyxfind.C: add "once" parameter, for thesaurus, to not
11645 move to the next match
11647 2001-07-26 Juergen Vigna <jug@sad.it>
11649 * lyxfont.C (realize): honor ignore_language too!
11652 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11654 * text.C (draw): one place more for ignore_language to not draw
11657 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11659 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11661 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11663 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11664 the minipage conversion problem.
11666 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11668 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11671 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * BufferView.h: don't forward declare WorkArea
11675 * BufferView.C: don't include WorkArea.h
11677 2001-07-25 André Pönitz <poenitz@gmx.net>
11681 * lyxfunc.C: new LFUN 'math-space'
11683 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11685 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11687 * text2.C (toggleInset): call open/close
11689 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * lyxfunc.C (dispatch): add debug for the disabled case
11693 * font.C (buttonText): make similar to rectText
11695 * buffer.C (readInset): comment out parsing of insetlist and
11698 * PainterBase.C (rectText): small correction
11700 * BufferView_pimpl.C: comment out insettheorem and insetlist
11701 * LyXAction.C: ditto
11702 * commandtags.h: ditto
11704 2001-07-24 Juergen Vigna <jug@sad.it>
11706 * text.C (draw): honor the ignore_language.
11708 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11710 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11712 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11715 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11717 * lyxtext.h: remove unused (and unimplemented) methods
11719 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11721 * text.C (getVisibleRow): honor background color
11724 * Painter.h: remove default color argument for fillRectangle
11726 * text.C (backgroundColor): new method
11728 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11730 * text.C (getVisibleRow): adjust
11732 * font.[Ch] (rectText): new method, metrics
11733 (buttonText): new method, metrics
11735 * PainterBase.[hC]: make rectText and buttonText always draw and take
11738 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11740 * ToolbarDefaults.C (read):
11741 * MenuBackend.C (read): allow escaping in all strings
11743 * BufferView_pimpl.C (insertAndEditInset): new method.
11744 (Dispatch): use insertAndEditInset whenever appropriate.
11746 * BufferView_pimpl.C (insertNote): removed
11748 * BufferView_pimpl.C (smartQuote): new method, moved from
11749 BufferView; if an insetquote cannot be inserted, insert a '"'
11752 * BufferView2.C: remove insertCorrectQuote();
11754 * lyxfunc.C (getStatus): Add support for all remaingin
11755 inset-insert lfuns.
11757 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11759 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11760 command (necessary to pass " as parameter of self-insert.
11762 * text.C (selectWordWhenUnderCursor):
11763 (selectWord): add word_location parameter
11764 (selectWordWhenUnderCursor): same + remove special code for word
11766 (selectNextWord): use kind() to guess type of insetspecialchar,
11769 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11770 (insertErtContents): create ert insets as collapsed.
11771 (readInset): better compatibility code for Info inset.
11773 2001-07-20 Juergen Vigna <jug@sad.it>
11775 * lyxfunc.C (dispatch): use always LyXFind now!
11777 * text2.C (init): add a reinit flag so that the LyXText can be
11778 reinited instead of deleted and reallocated (used in InsetText).
11780 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11786 2001-07-18 Juergen Vigna <jug@sad.it>
11788 * text.C (selectNextWord): handle insets inside inset by calling
11789 always the bv->text functions so that we can go up the_locking_inset!
11791 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11792 in strange locations when inside an inset!
11794 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11795 handling to include insets.
11797 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11799 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11801 * LyXAction.C (init):
11803 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11804 LIGATURE_BREAK, since the name is so stupid.
11806 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11808 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11811 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11813 * sp_form.[Ch]: remove.
11815 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11817 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11820 * src/buffer.C (readInset): ditto.
11822 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11824 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11825 menuSeparator(), endOfSentenceDot(), ldots() and
11826 hyphenationPoint(), which are therefore removed.
11827 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11829 * LyXAction.C (init):
11830 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11832 * paragraph.C (getWord): removed.
11834 * BufferView_pimpl.C (Dispatch): use last word or selection for
11835 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11837 * lyx_main.C (queryUserLyXDir): do not ask before creating
11838 user_dir, except if it has been named explicitely.
11840 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11842 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11843 a document of zero size.
11845 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11847 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11848 approriately in the c-tor and in require().
11849 (getPackages): output the appropriate LaTeX for natbib support.
11851 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11852 variables "use_natbib" and "use_numerical_citations" when reading the
11854 (readInset): read the various natbib cite commands.
11855 (validate): white-space change.
11857 * bufferparams.[Ch]: new variables "bool use_natbib" and
11858 "bool use_numerical_citations".
11859 (writeFile): output them in the LyX file.
11861 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11863 * lyxfunc.C (getStatus): add support for all the inset insertion
11866 * text2.C (insertInset):
11867 * paragraph.C (insetAllowed):
11868 * BufferView_pimpl.C (insertInset): update to take in account the
11869 renaming of insertInsetAllowed
11871 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11873 * text2.C (getInset): new method. returns inset at cursor position.
11875 * BufferView_pimpl.C (Dispatch): changes because of this.
11877 * LyXAction.C (init): rename open-stuff to inset-toggle.
11879 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11881 * text2.C (toggleInset): renamed from openStuff; use
11884 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11886 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11888 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11890 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11892 * buffer.C (readLyXformat2): Add filename to the error dialog
11894 2001-07-18 Juergen Vigna <jug@sad.it>
11896 * tabular.C (GetCellNumber): put an assert here instead of the check!
11898 2001-07-17 Juergen Vigna <jug@sad.it>
11900 * BufferView_pimpl.C (toggleSelection): adapted too.
11902 * text.C (selectNextWord): adapted for use with insets.
11903 (selectSelectedWord): ditto
11905 2001-07-17 Juergen Vigna <jug@sad.it>
11907 * sp_spell.C (PSpell): fix initialitation order.
11909 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11911 * paragraph.C: spacing
11913 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11915 * sp_spell.C: repair language selection for pspell
11917 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * lyxfunc.h: change more methods to begin with lower char.
11921 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11923 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11924 for unknown layouts.
11926 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11928 * buffer.C (readLyXformat2): Generate an error dialog if there are
11931 2001-07-16 Juergen Vigna <jug@sad.it>
11933 * sp_spell.C: always compile ISpell part.
11935 * lyxrc.C: added use_pspell entry and it's handling.
11937 2001-07-13 Juergen Vigna <jug@sad.it>
11939 * sp_spell.C: removed double includes.
11941 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11943 Consistent use of Lsstream.h:
11944 * Lsstream.h: added using std::stringstream for consistencies sake.
11946 * buffer.C: removed using std::stringstream
11948 * lyxfont.C (stateText):
11949 * paragraph.C (asString):
11950 * text.C (selectNextWord, selectSelectedWord):
11951 * text2.C (setCounter):
11952 * vspace.C (asString, asLatexString):
11953 std::ostringstream -> ostringstream.
11955 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11957 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11958 * commandtags.h: add LFUN_HELP_ABOUTLYX
11959 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11961 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11963 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11965 * lyx_gui_misc.C: remove spellchecker
11966 * lyxfunc.C: showSpellchecker
11968 * sp_ispell.h: added
11969 * sp_pspell.h: added
11970 * sp_spell.C: added
11971 * sp_form.[Ch]: removed
11972 * spellchecker.[Ch]: removed
11974 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11976 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11978 (simpleTeXSpecialChars): Simply print the input character without
11979 any special translation if pass_thru is set.
11981 * layout.h: Added bool pass_thru to layout class for being able to
11982 implement pass through of a paragraph for Literate Programming.
11984 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11985 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11986 * layout.C (Read): add "passthru" to list of layout tags and add
11987 code to set the pass_thru boolean when it is read.
11989 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11991 * trans_decl.h: remove allowed from KmodInfo
11993 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11994 remove allowed code
11997 * paragraph_pimpl.C (erase): use boost::prior
11999 * Painter.C (text): use data() instead of c_str() when length is
12001 * WorkArea.C (putClipboard): ditto
12002 * font.h (width): ditto
12004 * BufferView2.C: use it-> instead of (*it). for iterators
12006 * paragraph_pimpl.C: ditto
12007 * paragraph.C: ditto
12008 * minibuffer.C: ditto
12009 * language.C: ditto
12011 * encoding.C: ditto
12012 * counters.C: ditto
12013 * converter.C: ditto
12015 * Variables.C: ditto
12016 * TextCache.C: ditto
12017 * MenuBackend.C: ditto
12018 * LyXAction.C: ditto
12020 * FloatList.C: ditto
12021 * DepTable.C: ditto
12022 * ColorHandler.C (LyXColorHandler): ditto
12024 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12026 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12028 * text2.C (openStuff): reintroduce this method (which had been
12029 nuked in NEW_INSETS frenzy).
12031 * lyxfunc.C (Dispatch): when an action has not been handled, use
12032 its name in the error message, not its number.
12034 * paragraph.C (inInset): change method name to begin with lowercase.
12037 * text2.C: updates because of this.
12039 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12041 * ToolbarDefaults.C (add): add spaces in error message
12043 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12046 (readLyXformat2): rename return_par to first_par, use lyxlex's
12047 pushToken and remove the manual push handling.
12048 (parseSingleLyXformat2Token): add another ert comp. variable:
12049 in_tabular, rename return_par to first_par. handle newlines better
12051 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12053 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12055 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12057 * text2.C (getParFromID): removed
12059 * buffer.C (getParFromID): new method moved form lyxtext.
12060 * BufferView2.C (insertErrors): adjust
12061 (setCursorFromRow): adjust
12062 * BufferView_pimpl.C (restorePosition): adjust
12063 * lyxfunc.C (Dispatch): adjust
12064 * undo_funcs.C (textUndo): adjust
12066 (textHandleUndo): adjust
12067 (textHandleUndo): adjust
12069 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12071 * buffer.C: up' the LYX_FORMAT
12073 * lyxfont.h: turn NO_LATEX on as default
12075 * buffer.C (insertErtContents): new methods of tex style compability.
12076 (parseSingleLyXformat2Token): use it several places.
12077 * tabular.C (OldFormatRead): and here
12079 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12081 * text2.C: remove some commented code.
12084 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12085 * trans.C: changes because of the above.
12087 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12089 * text2.C (setCounter): Fix counters bug with bibliography layout.
12091 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12094 own member functions
12095 (simpleTeXSpecialChars): ditto
12097 2001-07-06 Juergen Vigna <jug@sad.it>
12099 * a lot of files: changed the access to LyXText::status and the
12100 call of undo-functions.
12102 * undo.[Ch]: added a inset_id to the undo informations.
12104 * undo_funcs.[Ch]: added and moved here all undo functions.
12106 * lyxtext.h: give the status enum a weight, made status_ a private
12107 variable and made accessor functions for it, removed the whole bunch
12108 of undo-functions as they are now in their own file, make some
12109 functions publically available. Added function ownerParagraph with
12112 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12113 made InInset() a const function, added getParFromID() function.
12115 * buffer.[Ch]: added const version for inset_iterator functions,
12116 added getInsetFromID() function.
12118 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12119 changed undo functions for new version.
12121 2001-07-05 Juergen Vigna <jug@sad.it>
12123 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12124 unknow mechanism does not call the proper constructor but only this
12125 one also if I request the other!?
12127 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12129 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12131 * text2.C (LyXText): use initialization lists.
12133 * lyxtext.h (Selection): initialize set_ and mark_
12134 (init): remove method
12136 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12138 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12140 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12142 * screen.[Ch]: change method names to begin with lowercase
12144 * BufferView_pimpl.C (updateScrollbar): simplify further and
12145 hopefully make it a bit faster.
12147 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12149 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12150 calling directly xforms functions.
12152 * Painter.C (Painter):
12153 * lyx_cb.C (MenuWrite):
12154 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12157 * lyx_gui.C: remove bogus guiruntime extern declaration.
12159 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12161 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12163 (redoDrawingOfParagraph): ditto
12164 (redoParagraphs): ditto
12165 (cutSelection): don't create a object for CutAndPaste use the
12166 static method directly
12167 (pasteSelection): ditto
12169 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12172 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12174 * modifications to some other files because of this.
12176 * Makefile.am (lyx_SOURCES): add XFormsView
12178 * XFormsView.[Ch]: new files
12180 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12181 the main window. Move the gui dependent stuff to XFormsView
12183 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12185 * tabular.C (GetCellInset): update cur_cell also in the row/col
12186 version of this function.
12188 * lyxfunc.C: no need to include figure_form.h here.
12194 * lyxvc.C: no need to include forms.h here.
12196 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12198 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12200 * lyxfunc.C (Dispatch):
12202 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12203 constructor argument.
12205 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * paragraph.C (Paragraph): dont't clear, and just set layout.
12208 (makeSameLayout): use params's copy contructor.
12210 * ParagraphParameters.[Ch] (makeSame): delete method
12212 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12214 * Variables.[Ch]: fix indentation, rename set to isSet
12216 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12218 * lyxfunc.C (Dispatch): fix typo
12220 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12222 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12225 * bufferlist.C: include assert.h for emergencyWrite().
12227 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12229 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12230 give up at last (bug #425202) !
12232 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12238 * spellchecker.C: strip spellchecker options and bring up
12239 preferences tab instead
12241 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12243 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12244 the istringstream constructor
12246 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12248 * paragraph.C (getLayout): fix return value
12250 * paragraph.h: do not declare getLayout as inline.
12252 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12254 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * lyxcursor.h (operator<): new func
12257 (operator>): new func
12258 (operator>=): new func
12259 (operator<=): new func
12261 * text.C (changeCase): use selection.start and selection.end
12262 (changeRegionCase): require from to be <= to. Require par to be a
12265 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12267 2001-06-27 Juergen Vigna <jug@sad.it>
12269 * text.C (cursorLeftOneWord): changed to return the cursor and added
12270 overlay with BufferView * parameter which calls this one.
12272 (selectWord): use new getWord function.
12273 (changeCase): renamed from changeWordCase as and extended to work
12274 also on selections.
12276 * lyxtext.h: added enum word_location
12278 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12279 changeCase as this operates now also on selections.
12281 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12283 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12285 * many files: send debug output to Debug::INFO instead of
12288 * converter.C (View):
12290 (Move): send debug output to Debug::FILES instead of console.
12292 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12294 * lyxfunc.C (getStatus): use func_status
12296 * func_status.h: new header, describing the results of
12297 LyXFunc::getStatus;
12299 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12302 2001-06-25 The LyX Project <jug@sad.it>
12304 * buffer.C (sgmlOpenTag):
12306 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12308 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * text2.C: remove some dead code
12312 * tabular.C (GetCellInset): store the last cell checked (gotten)
12314 * tabular.h: add the helper for the speedup
12316 * lyxtext.h: remove some dead code
12318 2001-06-26 The LyX Project <Asger>
12320 * paragraph.C: Change export to LaTeX of alignment to
12321 \begin{center} and family for better roundtrip work with reLyX.
12323 * Tune the math drawing a bit.
12325 2001-06-25 The LyX Project <Asger>
12327 * LColor.C (LColor): New color for math background. New color
12330 2001-06-25 The LyX Project <jug@sad.it>
12332 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12334 * lyxfunc.C (Open):
12335 * bufferlist.C (newFile): do not restrict to files ending with
12338 * BufferView_pimpl.C (MenuInsertLyXFile):
12340 2001-06-24 The LyX Project <jug@sad.it>
12342 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12345 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * lyxtext.h: rename most methods to begin with a small char.
12348 Lots of changes because of this.
12350 * paragraph.C (Paragraph): do not call fitToSize
12351 (erase): call Pimpl::erase
12352 (insertChar): call Pimpl::insertChar
12353 (insertInset): call Pipl::insertInset
12354 (breakParagraph): do not call fitToSize
12355 (breakParagraphConservative): do not call fitToSize
12356 (fitToSize): remove method
12358 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12360 2001-06-24 The LyX Project <Asger>
12362 * Fix Qt compilation^2
12364 2001-06-24 The LyX Project <jug@sad.it>
12366 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12367 depthHook(getDepth()-1).
12370 * ParagraphParameters.h:
12371 * ParameterStruct.h: change type of depth to unsigned int ==
12372 depth_type. Many adaptations to other files before of that.
12374 2001-06-24 The LyX Project <Asger>
12376 * Fix Qt compilation.
12378 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12380 * paragraph.h: renamed several methods to begin with small letter.
12381 several changes to many parts of the code because of this.
12383 2001-06-23 The LyX Project <jug@sad.it>
12385 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12386 rewritten to discard all double spaces when KeepEmpty is off
12387 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12388 to only handle newlines but not fiddle with spaces and friends.
12390 * lyxfunc.C (MenuNew): when doing 'new from template', use
12391 template_path as default directory
12393 2001-06-23 The LyX Project <Asger>
12395 * Clean-up of header file includes all over
12396 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12398 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12400 * paragraph.h: renamed from lyxparagraph.h
12402 2001-06-23 Asger <lyx@violet.home.sad.it>
12404 * Buffer.h: Removed Buffer::resize
12405 * BufferList.h: Removed BufferList::resize
12406 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12407 the document lazily when we change the width, or the font settings.
12409 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12411 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12413 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12415 * buffer.h: remove out of date comment
12417 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12420 * screen.C: fix "theoretical" GC leak
12422 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12424 * LaTeX.C (scanAuxFile):
12425 (deplog): remove trailing \r when reading stream (useful under
12428 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12430 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12431 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12432 and BufferView::theLockingInset(Inset*), so should use them and not
12433 access bv_->text->the_locking_inset directly.
12435 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12437 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12440 * tex-defs.h: remove old unused file
12442 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12444 * BufferView_pimpl.C: fix typo, remove minibuffer message
12445 when buffer has loaded
12447 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12449 * lyxfunc.C (Dispatch): use stringstream
12450 (MenuNew): use stringstream
12451 (Open): use stringstream
12453 * importer.C (Import): use stringstream
12455 * bufferview_funcs.C (CurrentState): use stringstream
12457 * LaTeX.C (run): use stringstream
12459 * BufferView_pimpl.C (savePosition): use stringstream
12460 (restorePosition): use stringstream
12461 (MenuInsertLyXFile): use stringstream
12463 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12476 * vspace.C: removed // -*- C++ -*- as first line.
12479 * version.h: added // -*- C++ -*- as first line.
12481 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12483 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12485 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12488 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12493 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12495 * gettext.C: include LString.h even when --disable-nls is on.
12497 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12499 * converter.h (Get): changed argument type from int to
12500 FormatList::size_type to avoid unnecessary conversion.
12502 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12505 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12507 * gettext.h: include LString.h even when --disable-nls is on.
12509 2001-06-07 Juergen Vigna <jug@sad.it>
12511 * text.C (BreakAgain): subst spaces with tabs.
12513 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12514 (resizeInsetsLyXText): set force on resizeLyXText.
12516 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12518 * gettext.h (gettext_init):
12519 (locale_init): use a real definition instead of a macro
12521 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12523 * Bufferview_pimpl.C:
12525 * LColor.C: further lcolor tidies
12527 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12529 * BufferView_pimpl.C (updateScrollbar): simplify.
12531 * BufferView2.C: don't include insets/insetinfo.h, change
12532 prototype for insertInset and call the Pimpl version. let
12533 updateInset call Pimpl version.
12535 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12536 gotoInset to BufferView::Pimpl
12538 2001-06-01 Juergen Vigna <jug@sad.it>
12540 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12541 inside a LockingInset (is the update needed at all?).
12543 2001-05-31 Juergen Vigna <jug@sad.it>
12545 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12546 here not the old one otherwise how should we compare it afterwards
12549 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12554 * FontInfo.C: bring C functions into global namespace when
12557 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12559 * LString.h: make sure config.h has been loaded before LString.h.
12561 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12562 (one for each char read by EatLine!).
12564 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12567 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12570 to the same as the par we break from
12572 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12576 * MenuBackend.C (expand): also create menu entries for wide
12577 versions of the floats.
12579 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12581 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12583 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12584 frontends/Makefile.am
12590 * tabular.C (getTokenValue): add std::
12592 * tabular-old.C (getTokenValue): add std::
12593 (getTokenValue): ditto
12594 (getTokenValue): ditto
12596 * screen.C (ToggleSelection): adjust
12598 * lyxtext.h: put selection cursors inside a Selection struct.
12600 * lyxfunc.C (moveCursorUpdate): adjust
12602 * lyxfont.C (latexWriteStartChanges): add std::
12604 * lyxfind.C: adjust
12606 * font.h: delete with(char const *, LyXFont const &)
12608 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12610 * FontInfo.C (getFontname): add std::
12612 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12613 (workAreaButtonPress): adjust
12614 (tripleClick): adjust
12616 (moveCursorUpdate): adjust
12619 * BufferView2.C (gotoInset): adjust
12621 2001-05-30 Juergen Vigna <jug@sad.it>
12623 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12624 to check pspell I add this as default as I now have new pspell
12625 libraries and they seem to use this.
12627 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12629 * text2.C (CutSelection): make the cursor valid before the call to
12632 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12634 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12635 relied on 0 terminated strings and other horrors. Bug found due to
12636 the new assert in lyxstring!
12638 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12641 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12646 * lyxfunc.C (processKeySym): change method of getting to the
12649 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12650 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12651 * BufferView_pimpl.[Ch]: here as private methods.
12653 2001-05-28 Juergen Vigna <jug@sad.it>
12655 * text.C (SetHeightOfRow): added the update() call again as it is
12656 needed to initialize inset dimensions!
12658 2001-05-16 Juergen Vigna <jug@sad.it>
12660 * text2.C (SetCharFont): Add new function with BufferView * and
12661 bool toggleall parameters for setting insets internal fonts.
12662 (SetFont): Freeze the undo as we may change fonts in Insets and
12663 all this change should be inside only one Undo!
12665 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12666 setting font's in insets as for them we have the SetFont function!
12668 2001-05-15 Juergen Vigna <jug@sad.it>
12670 * text2.C (ClearSelection): to be sure we REALLY don't have any
12673 * tabular.C (TeXCellPreamble): fixed the left border problem for
12676 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12678 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12681 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12684 LFUN_BREAKPARAGRAPH.
12686 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12687 help test to "internal only", similar for LFUN_INSERT_URL
12689 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12690 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12691 auto_region_delete and deadkeys.
12693 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12696 * LColor.C: remove some dead entries, tidy a little
12698 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12700 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12702 (Dispatch): implement LFUN_ESCAPE
12704 * commandtags.h: add LFUN_ESCAPE
12706 * LyXAction.C (init): add entry for LFUN_ESCAPE
12708 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12709 Remove commented code.
12710 (insertNote): moved here
12711 (open_new_inset): moved here
12713 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12716 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12718 * kbmap.C (findbinding): clean it up and make it work correctly.
12720 * lyx_main.C (init): do not pass argc and argv as parameters
12722 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12724 * buffer.C: fix path for OS/2 & Win32
12728 * lyx_main.C: Added os:: class.
12730 * os2_defines.h: update
12732 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12735 better by trying again with reduced state.
12737 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12739 * lyxrc.C (read): print error about invalid key sequence only when
12740 debugging (because not all latinX keysyms are known to some X
12743 * kbsequence.C (getiso): add a few std:: qualifiers
12744 (getiso): comment out extra return statement.
12746 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12750 (Dispatch): enhance the accent inset a bit. (not perfect)
12752 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12756 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12758 * bufferlist.C (emergencyWrite): fix assert() call
12760 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12762 * text.C (InsertChar): Added trivial patch to only send the "you
12763 can not do multiple spaces this way" message once during a
12766 2001-05-08 Baruch Even <baruch@lyx.org>
12768 * Makefile.am: Changed order of libraries to get LyX to link properly
12769 with the gnome frontend.
12771 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12773 * LaTeXFeatures.h: add a std:: qualifier
12775 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * paragraph.C (String): use stringstream
12779 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12781 * paragraph.C (writeFile): remove footflag arg
12783 * buffer.C (makeLaTeXFile): use stringstream
12784 (latexParagraphs): remove footnot gurba
12786 * LaTeXFeatures.C (getPackages): use stringstream
12787 (getMacros): likewise
12788 (getTClassPreamble): likewise
12789 (getFloatDefinitions): new method
12791 * paragraph.C (writeFile): reindent
12794 * WorkArea.h: revert the xpos + etc changes.
12796 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12798 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12800 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12801 (pasteSelection): likewise
12802 * text2.C (CreateUndo): likewise
12804 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * minibuffer.C (peek_event): temporarily reduce the functionality
12807 of the minibuffer (to allow args on lfuns)
12809 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12810 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12812 * buffer.C (readInset): add compability reading of old float
12813 lists, add reading of new style float list.
12814 (readInset): avoid reevaluation of inscmd.getCmdName()
12815 (getLists): reindent
12817 * MenuBackend.C (MenuItem): implement parsing of
12818 md_floatlistinsert and md_floatinsert.
12819 (expand::LastFiles): move initalizaton of iterators out of loop,
12820 avoid reevaluation.
12821 (expand::Documents): introduce typdedef vector<string> Strings,
12823 (expand::ExportFormats): introduce typedef vector<Format const *>
12824 Formats, and use it.
12825 (expand): implement FloatListInsert and FloatInsert.
12827 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12828 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12829 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12831 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12833 (Dispatch::LFUN_FLOAT_LIST): implement
12835 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12837 * LaTeX.C (run): Fix problem with --export code.
12839 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12841 * BufferView.[Ch] (workarea): removed.
12842 (getClipboard) new method; wrapper for workarea()->getClipboard()
12844 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12847 * WorkArea.h (width, height, xpos, ypos): These methods all
12848 returned the dimensions of the work_area sub-area of WorkArea,
12849 resulting in a position error if the WorkArea were resized. Now
12850 return the dimensions of the entire WorkArea.
12852 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12854 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12856 * LaTeX.C (deplog): correct the syntax of regex reg1
12858 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * undo.C: remove !NEW_INSETS cruft
12862 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * text2.C: remove !NEW_INSETS cruft
12866 * text.C: remove !NEW_INSETS cruft
12868 * tabular.C: remove !NEW_INSETS cruft
12870 * spellchecker.C: remove !NEW_INSETS cruft
12872 * lyxtext.h: remove !NEW_INSETS cruft
12874 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12876 * lyxfunc.C: remove !NEW_INSETS cruft
12878 * lyxfind.C: remove !NEW_INSETS cruft
12880 * lyx_cb.C: remove !NEW_INSETS cruft
12882 * figureForm.C: remove !NEW_INSETS cruft
12884 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12886 * buffer.[Ch]: remove !NEW_INSETS cruft
12888 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12890 * CutAndPaste.C: remove !NEW_INSETS cruft
12892 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12894 * BufferView2.C: remove !NEW_INSETS cruft
12896 * BufferView.h: remove !NEW_INSETS cruft
12898 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12900 * Lsstream.h: include LString.h before the sstream headers to
12901 fix problem with gcc 2.95.3 and lyxstring
12903 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12905 * lyx_main.C: add using directives when needed for C functions
12906 declared in std:: namespace.
12908 2001-04-27 Juergen Vigna <jug@sad.it>
12910 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12911 (SetHeightOfRow): comment out the update call should not be needed!
12913 2001-04-13 Juergen Vigna <jug@sad.it>
12915 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12916 (LyXTabular): tried to minimize operator= operations (and realized
12917 hopfully Lars wish).
12919 2001-04-27 Juergen Vigna <jug@sad.it>
12921 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12923 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12927 * buffer.C (readInset): hack to make listof algorithm work
12929 * BufferView_pimpl.C: hack to make listof algorithm work
12931 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * LyXAction.C: removed all !NEW_INSETS cruft
12934 (init): moved lfun_item in method
12936 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12938 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12940 * BufferView2.C (theLockingInset): white space.
12942 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12944 * minibuffer.C: include <iostream>
12946 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12948 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12950 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12952 * text.[Ch] (TransposeChars): new method
12954 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * call message directly through LyXView instead of through LyXFunc
12957 * BufferView2.C: adjust
12958 * BufferView_pimpl.C: adjust
12959 * FontLoader.C: adjust
12961 * bufferview_funcs.C: adjust
12962 * converter.C: adjust
12963 * figureForm.C: adjust
12964 * importer.C: adjust
12966 * lyx_gui_misc.C: adjust
12967 * lyxfunc.C: adjust
12970 + more files in subdirs
12972 * lyxparagraph.h (size): move up int file
12975 * adjust all uses of Assert to lyx::Assert.
12977 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12978 lyxfunctional in namespace lyx
12979 * layout.C (hasLayout): ditto
12982 (delete_layout): ditto
12983 (NumberOfClass): ditto
12984 * converter.C (GetFormat): ditto
12989 * bufferlist.C (getFileNames): ditto
12990 (emergencyWriteAll): ditto
12993 * MenuBackend.C (hasSubmenu): ditto
12996 * BufferView_pimpl.C (getInsetByCode): ditto
12998 2001-04-18 Juergen Vigna <jug@sad.it>
13000 * vspace.C (asLatexString): fixed the 100% problem.
13002 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13004 * lyxfunc.C (Dispatch):
13006 * minibuffer.h: add a few std:: qualifiers
13008 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * minibuffer.[Ch]: reimplement so that commands is initiated and
13011 run from lyxfunc, simplified som handling, and made the completion
13012 and history code for complete. wip.
13014 * lyxfunc.C (processKeySym): call message
13015 (miniDispatch): new temporary method
13016 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13017 (LFUN_MESSAGE): implement
13018 (LFUN_MESSAGE_PUSH): implement
13019 (LFUN_MESSAGE_POP): implement
13020 (initMiniBuffer): the initial/defualt minibuffer message.
13022 * lyxfont.[Ch]: inline some more getters
13024 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13026 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13028 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13029 (AutoSave): use LFUN_MESSAGE
13030 (Reconfigure): ditto
13032 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13034 * figureForm.C: use LFUN_MESSAGE
13036 * converter.C (runLaTeX): use LFUN_MESSAGE
13038 * bufferview_funcs.C: use LFUN_MESSAGE
13040 (changeDepth): ditto
13042 * bufferparams.h: use boost::
13044 * bufferlist.h: inherit privately from noncopyable
13046 * bufferlist.C (loadLyXFile): remove some commented code.
13048 * buffer.C (runChktex): use LFUN_MESSAGE
13050 * ShareContainer.h: inherit privately from noncopyable
13052 * ParagraphParameters.[hC] (depth): inline it.
13054 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13056 (message): new method
13057 (messagePush): ditto
13058 (messagePop): ditto
13059 (show): init minibuffer
13060 (showState): direct call
13062 * LaTeX.[Ch]: inherit privately from noncopyable
13063 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13064 instead of WriteStatus.
13066 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13068 * BufferView_pimpl.C (buffer): don't init minibuffer
13069 (workAreaButtonPress): use LFUN_MESSAGE
13070 (workAreaButtonRelease): ditto
13071 (savePosition): ditto
13072 (restorePosition): ditto
13073 (MenuInsertLyXFile): ditto
13074 (workAreaExpose): don't init minibuffer
13075 (update): remove commented code, simplify
13077 * BufferView2.C (openStuff): use LFUN_MESSAGE
13078 (toggleFloat): ditto
13081 (copyEnvironment): ditto
13082 (pasteEnvironment): ditto
13087 (updateInset): remove some commented code
13089 * lastfiles.h: inherit privately from noncopyable
13092 * lyx_main.h: ditto
13094 * lyxlex_pimpl.h: ditto
13096 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13097 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13098 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13100 * LyXAction.h: inherit privately from noncopyable, add methods
13101 func_begin, func_end, returning iterators to the func map.
13103 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13104 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13105 (func_begin): new method
13106 (func_end): new method
13108 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13110 (copySelection): ditto
13111 (pasteSelection): ditto
13113 * BufferView.C: whitespace change
13114 * BufferView.h: inherit privately from noncopyable
13116 2001-04-16 Allan Rae <rae@lyx.org>
13118 * tabular-old.C (l_getline):
13119 * spellchecker.C (sc_check_word):
13120 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13121 an unrecognised preprocessor directive. So ensure they're wrapped.
13123 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13125 * src/exporter.C (Export): Give an error message when path to file
13128 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13130 * LaTeX.C (deplog): Always check that foundfile exists.
13132 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13135 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13137 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * tabular.[Ch] (getLabelList): implement new method
13141 * minibuffer.h: comment ouf setTiimer
13143 * minibuffer.C (ExecutingCB): constify res
13144 (peek_event): constify s
13145 (Set): constify ntext
13146 (Init): constify nicename
13148 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13150 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13151 (savePosition): use two params to Minibuffer::Set
13152 (restorePosition): ditto
13154 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13156 * lyx_main.C: include language.h
13158 * Makefile.am (lyx_main.o): add language.h
13160 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * CutAndPaste.C: include gettext.h
13168 * lyxfont.h: remove old hack with ON and OFF.
13171 * lyxfont.h: do not include language.h...
13176 * bufferview_funcs.C:
13182 * paragraph.C: ... but do it here instead
13184 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13186 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13188 * tabular.C: small reformat
13190 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13193 (BreakParagraph): ditto
13194 (SetOnlyLayout): ditto
13197 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13200 * lastfiles.C: removed most using decl, add std:: where needed
13202 * buffer.C: ws changes
13204 * MenuBackend.C (class compare_format): put into anon namespace
13205 (expand): constify label, names, action, action2
13208 * text.C (SingleWidth): constify font
13209 (IsBoundary): constify rtl2
13210 (GetVisibleRow): constify ww
13212 * LaTeX.C (deplog): constify logfile
13214 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13216 (workAreaExpose): constify widthChange, heightChange
13218 * lyxrow.C (par): moved
13221 * lyxrow.h: as inlines here
13223 * lyxfont.h (shape): moved from lyxfont.C
13224 (emph): moved from lyxfont.C
13226 * lyxfont.C (LyXFont): use initialization list for all
13228 (shape): move to lyxfont.h as inline
13229 (emph): move to lyxfont.h as inline
13232 2001-04-04 Juergen Vigna <jug@sad.it>
13234 * vspace.C: had to include stdio.h for use of sscanf
13236 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13239 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13240 independent of xforms.
13242 2001-04-02 Juergen Vigna <jug@sad.it>
13244 * spellchecker.C: fixed namespace placing!
13246 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13248 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13249 the LyXParagraph * is 0.
13251 2001-03-29 Juergen Vigna <jug@sad.it>
13253 * vspace.C: added support for %, c%, p%, l%.
13254 (stringFromUnit): added helper function.
13255 (asLatexString): changed to give right results for the %-values.
13257 * buffer.C: convert the widthp in a width%.
13259 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13261 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13264 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13265 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13267 * lyx_cb.[Ch]: see above.
13269 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13273 * lyx.[Ch]: replaced by figure_form.[Ch].
13277 * lyxfunc.C: changed headers associated with above changes.
13279 2001-03-27 Juergen Vigna <jug@sad.it>
13281 * BufferView_pimpl.C: set the temporary cursor right!
13283 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13285 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13287 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13289 * LString.h: removed "using std::getline"!
13291 * BufferView_pimpl.C (Dispatch): changes due to changes in
13292 InsetInclude::Params.
13294 * buffer.C (tag_name): removed redundant break statements as they were
13295 producing lots of warnings with my compiler.
13297 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13299 * LString.h: add "using std::getline" when using the real <string>.
13301 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13303 * buffer.C: removed bitset usage.
13304 PAR_TAG moved to an anonymous name space.
13305 (tag_name): new funtion, also in the anonymous namespace.
13306 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13307 (makeDocBookFile): clean code. Completed transition from string arrays
13309 (SimpleDocBookOnePar): code clean.
13311 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13313 * tabular.C: add some comments.
13315 2001-03-22 Juergen Vigna <jug@sad.it>
13317 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13318 compatibility read a bit and fixed bug with minipage in different
13321 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13323 * buffer.C (pop_tag): removed.
13324 (push_tag): removed.
13325 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13326 array replaced with vector. Added support for CDATA sections.
13327 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13329 (makeDocBookFile): XML conformant declaration of CDATA section,
13330 fixed bug related to <emphasis> in the first paragraph char.
13331 (sgmlOpenTag): exclude empty tags.
13332 (sgmlCloseTag): ditto.
13334 * buffer.h (pop_tag): removed.
13335 (push_tag): removed.
13337 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13339 * language.h (Languages): added size_type and size().
13341 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13343 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13344 response on compability reading of minipages. One probliem is that
13345 the old usage of minipages was «flertydig»
13347 * several files here and in subdirs: don't use static at file
13348 scope use anon namespaces instead.
13350 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13352 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13353 LaTeX output. This is necessary for Literate document
13356 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13358 * buffer.C: insert hfill when needed.
13360 * tabular.C (l_getline): use string::erase, small whitespace change.
13362 * BufferView_pimpl.C: try the anon namespace.
13363 * WorkArea.C: ditto
13365 2001-03-16 Juergen Vigna <jug@sad.it>
13367 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13368 otherwise it won't open options-dialogs.
13370 * buffer.C: honor pextraWidth(p) on converting minipages.
13372 * tabular.C (l_getline): changed the functions to strip trailing \r.
13374 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13376 * BufferView_pimpl.C:
13377 * minibuffer..C: added "using SigC::slot" declaration.
13379 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13381 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13387 * paragraph.C: ditto
13389 * lyxtext.h: NO_PEXTRA
13391 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13393 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13394 * ParameterStruct.h: ditto
13395 * ParagraphParameters.h: ditto
13396 * lyxparagraph.h: ditto
13398 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13400 * buffer.C: add compability for minipage alignment.
13401 (latexParagraphs): remove unwanted pextra check.
13403 * several files: remove CXX_WORKING_NAMESPACES
13405 * buffer.C (pop_tag): tie is in namespace boost
13407 * BufferView.h: noncopyable is in namespace boost
13409 * lyx_main.h: ditto
13412 * lastfiles.h: ditto
13413 * bufferlist.h: ditto
13414 * ShareContainer.h: ditto
13416 * LyXAction.h: ditto
13419 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13421 * Merging changes from BRANCH_MVC back into HEAD.
13423 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13425 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13427 * BufferView_pimpl.C: change from intl.C
13431 * Makefile.am: move combox.*
13437 * intl.C: remove dialog (covered by prefs)
13439 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13441 * lyxfunc.C (Dispatch): removed redundant break statement.
13443 2001-03-14 Juergen Vigna <jug@sad.it>
13445 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13447 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13449 * buffer.C: add hack to fix compability reading of minipages.
13451 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13453 * buffer.C (getLists): Cleanup.
13455 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13457 * lyxfont.C (update): don't honor toggleall on font size.
13459 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13463 * Makefile.am: moved to frontends/xforms/
13467 * BufferView_pimpl.C: changes for moved mathpanel
13469 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13471 * gettext.h: fix gettext_init() in --disable-nls
13473 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13475 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13477 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13480 * lyx.h: strip external form
13482 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13484 * BufferView_pimpl.C: add comment, destroySplash()
13486 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13488 * BufferView_pimpl.C:
13492 * lyxfunc.C: use re-worked insetinclude
13494 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13496 * buffer.C: add using std::stringstream.
13498 * lyx_cb.C: readd using std::ios.
13500 * buffer.C: add using std::map.
13502 * BufferView_pimpl.C: add using std::vector.
13504 * ShareContainer.h: add std:: to swap.
13506 * buffer.h: add some typedefs
13507 * buffer.C (getLists): use them
13508 (getLists): renamed from getTocList.
13509 add a counter for the different float types and use it in the
13511 (getLists): use the same counter for the NEW_INSETS and the "non"
13514 * lyx_cb.h: remove unused items, includes, using etc.
13516 * ShareContainer.h: remove some commented code, add more comments
13517 and "documentation".
13519 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13521 * buffer.C (getTocList): make the list also when NEW_INSETS is
13524 * buffer.h: remove TocType
13526 * buffer.C (getTocList): change to return a map<string,
13527 vector<TocItem> >, implement for dynamic number of list.
13529 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13530 * text2.C (PasteSelection): adjust
13531 * CutAndPaste.C (pasteSelection): adjust
13533 * FloatList.C (FloatList): update from the new_insets branch.
13534 * Floating.[Ch]: ditto
13535 * LaTeXFeatures.C: ditto
13537 * lyxlex_pimpl.C: ditto
13539 * paragraph.C (Last): remove when NEW_INSETS is defined.
13541 * other file: changes because of the above.
13543 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13545 * lyxparagraph.h: rename next to next_, previous to previous_,
13546 make them private for NEW_INSETS. Rename Next() to next(),
13547 Previous() to previous().
13549 * other files: changes because of the above.
13551 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13554 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13557 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13559 * main.C (main): pass lyx_localedir to gettext_init().
13561 * gettext.h: remove locale_init and gettext_init macros
13563 * gettext.C (locale_init): new function
13564 (gettext_init): new function
13566 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13569 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13571 * Moved credits to frontends:
13572 * credits.[Ch]: removed
13573 * credits_form.[Ch]: removed
13574 * lyx_gui_misc.C: remove credits stuff
13577 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13579 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13581 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13582 unneeded destructor.
13584 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13585 a standalone pointer again.
13587 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13589 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13595 * ToolbarDefaults.C:
13604 * BufferView_pimpl.C: use new file dialog in GUII
13607 * lyx_cb.C: remove LayoutsCB to Toolbar
13609 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * ShareContainer.h (get): add std:: qualifier
13613 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13615 * ShareContainer.h: define a proper ShareContainer::value_type
13616 type (and use typename to please compaq cxx)
13618 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13620 * lyxparagraph.h: move serveral local vars to
13621 ParameterStruct/ParagraphParameters., use ShareContainer in
13622 FontTable., make vars in FontTable private and add getter and
13625 * paragraph.C: changes because of the above.
13627 * lyxfont.h: remove copy constructor and copy assignment. (the
13628 default ones is ok), move number inside FontBits. move inlines to
13631 * lyxfont.C: add number to initializaton of statics, move several
13632 inlines here. constify several local vars. some whitespace
13633 cleanup. Dont hide outerscope variables.
13635 * Spacing.h: add two new constructors to match the set methods.
13637 * ShareContainer.h: new file, will perhaps be moved to support
13639 * ParameterStruct.h: new file
13641 * ParagraphParameters.h: new file
13643 * ParagraphParameters.C: new file
13645 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13646 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13648 * BufferView_pimpl.C: ParagraphParameter changes.
13649 * buffer.C: Likewise.
13650 * bufferview_funcs.C: Likewise.
13651 * text.C: Likewise.
13652 * text2.C: Likewise.
13654 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13656 * lyxfind.C (LyXReplace): do not redefine default argument in
13658 (IsStringInText): ditto
13659 (SearchForward): ditto
13660 (SearchBackward): ditto
13662 2001-03-06 Juergen Vigna <jug@sad.it>
13664 * lyxfind.C (IsStringInText): put parentes around expressions.
13666 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13668 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13670 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13672 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13674 * stl_string_fwd.h: add comment
13676 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13679 * tabular.C: remove unused DocBook methods
13685 killed DO_USE_DEFAULT_LANGUAGE
13687 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13689 * lyx_gui.C: do not include language.h.
13691 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13692 arguments in function implementation.
13694 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13696 * BufferView_pimpl.C: add <ctime>
13698 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13700 * BufferView_pimpl.C: add using std::find_if
13702 2001-02-27 José Matos <jamatos@fep.up.pt>
13704 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13707 2001-02-11 José Matos <jamatos@fep.up.pt>
13709 * buffer.C (makeDocBookFile): command styles now have a parameter as
13710 "title" by default.
13712 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13714 * layout_forms.[Ch]: removed
13715 * lyx_cb.[Ch]: out character
13716 * lyx_gui.C: out character
13717 * lyx_gui_misc.C: out character
13718 * bufferview_funcs.C: : out character,
13719 added toggleall as parameter in ToggleAndShow
13721 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13723 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13725 * text2.C (SetCurrentFont): Disable number property at boundary.
13727 2001-02-26 Juergen Vigna <jug@sad.it>
13729 * lyxfunc.C (getStatus): added a string argument override function so
13730 that this is correctly called from LyXFunc::Dispatch if it contains a
13731 do_not_use_argument which is used!
13732 (Dispatch): added check for "custom" export and call appropriate func.
13734 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13736 * lyxrc.C: Add language_command_local, language_use_babel and
13737 language_global_options.
13739 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13741 * buffer.C (makeLaTeXFile): Use language_use_babel and
13742 language_global_options.
13744 2001-02-23 Juergen Vigna <jug@sad.it>
13746 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13747 which works with LyXText and putted it inside BufferView. Here now we
13748 only call for that part the BufferView::Dispatch() function.
13750 * BufferView.C (Dispatch): added.
13752 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13753 functions which needs to use a LyXText over from LyXFunc.
13754 (MenuInsertLyXFile): added
13755 (getInsetByCode): added
13756 (moveCursorUpdate): added
13757 (static TEXT): added
13759 2001-02-22 Juergen Vigna <jug@sad.it>
13761 * BufferView_pimpl.C (update): call a status update to see if LyXText
13764 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13766 * vc-backend.C (revert): implement for CVS
13767 (getLog): implement for CVS
13769 2001-02-20 Juergen Vigna <jug@sad.it>
13771 * text2.C (ClearSelection): added BufferView param for inset_owner call
13773 * lyxfunc.C (TEXT): added this function and use it instead of
13774 directly owner->view()-text of getLyXText().
13776 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13778 * src/layout_forms.C: out preamble
13779 * src/layout_forms.h: out preamble
13780 * src/lyx_cb.C: out preamble
13781 * src/lyx_cb.h: out preamble
13782 * src/lyx_gui.C: out preamble
13783 * src/lyx_gui_misc.C: out preamble
13784 * src/lyxfunc.C: connect with guii preamble
13786 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13788 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13790 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13792 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13793 whether to run bibtex.
13795 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13797 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13799 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13801 * Makefile.am (lyx_SOURCES): removed bibforms.h
13803 * vspace.h: doxygen
13805 * text.C (GetVisibleRow): make several local vars const
13807 * tabular.C: small cleanup.
13809 * lyxserver.C (callback): use compare instead of strncmp
13811 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13812 inlines to after class or to paragraph.C
13814 * lyxfont.h: remove friend operator!=
13816 * converter.h: move friend bool operator< to non friend and after
13819 * combox.h: small cleanup
13821 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13822 to inlines after class def.
13824 * buffer.C (pop_tag): use string operations instead of strcmp
13826 * bmtable.c: doxygen, small cleanup
13828 * LaTeX.h: remove friend operator==
13830 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13842 * BufferView_pimpl.C:
13843 * BufferView.[Ch]: remove cruft
13845 2001-02-14 Juergen Vigna <jug@sad.it>
13847 * lyxfunc.C: removed #if 0 unused code
13849 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13851 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13853 * text2.C (SetSelection): added a BufferView * parameter
13855 2001-02-13 Juergen Vigna <jug@sad.it>
13857 * lyxfunc.C (Dispatch): fixed protected blank problem.
13858 * BufferView2.C (protectedBlank): added LyxText * parameter.
13860 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13861 (AppendColumn): same as above for column_info.
13863 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13864 (moveCursorUpdate): use a LyXText param for support of InsetText.
13866 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13867 (tripleClick): ditto
13869 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13871 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13873 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13875 * text2.C (SetSelection): set correct update status if inset_owner
13876 (ToggleFree): ditto
13878 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13880 * tabular.C: remove some commented code.
13882 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13884 * BufferView_pimpl.C: call hideSplash()
13886 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13889 * bibforms.h: remove
13892 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13893 add LFUN_CHILD_CREATE
13895 * counters.h: fix tiny typo
13900 * lyx.C: move splash to frontends/xforms/
13902 * lyx_gui_misc.C: move Include and Bibform to frontends
13904 * lyxvc.h: clarify comment
13906 * vspace.C: tiny housekeeping
13908 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13910 * text.C (PrepareToPrint): RTL Fix.
13912 * paragraph.C (GetUChar): New method.
13913 (String): Use GetUChar.
13915 * buffer.C (asciiParagraph): Use GetUChar.
13917 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13919 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13921 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13924 * buffer.C: rename to getLogName(), handle
13925 build log / latex log nicely
13927 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * MenuBackend.h: remove support for reference menuitem type.
13932 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13934 * BufferView_pimpl.C: housekeeping
13935 * BufferView_pimpl.h:
13940 * minibuffer.h: move Timeout GUI-I
13942 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13944 * lyxrc.C (read): Update converters data-structures.
13946 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13948 * LaTeX.h (operator!=): add operator != for Aux_Info
13950 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13952 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13954 * LaTeXLog.C: deleted, useful code moved to Buffer
13957 * buffer.C: new function getLatexLogName()
13963 * lyxfunc.C: use frontends for LaTeX and VC logs
13965 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * LaTeX.h: yet another std:: that Allan forgot.
13969 * Variables.C (set): renamed from isset(), because this clashes
13970 with some HP-UX macros (grr).
13972 2001-02-06 Allan Rae <rae@lyx.org>
13974 * LaTeX.h: Another bug fix. Missing std:: this time.
13976 2001-02-04 Allan Rae <rae@lyx.org>
13978 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13979 floats problem. I've left it commented out because it's not quite
13980 correct. It should also test that the current object is a table or
13981 figure inset. But I haven't gotten around to figuring out how to do
13982 that. I *think* it'll be something like: "table" == inset.type()
13984 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13987 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13989 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13990 all the citation/databases/styles in the auxilary file.
13991 (run): Rerun latex if there was a babel language error.
13993 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13995 * text.C (Backspace): Preserve the font when changing newline char
13997 (BreakParagraph): If the cursor is before a space, delete the space.
13999 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14001 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14003 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14004 new argument (code).
14005 (ChangeCitationsIfUnique): New method.
14007 * paragraph.C (GetPositionOfInset): Handle bibkey.
14009 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * BufferView_pimpl.h: change type of Position::par_pos to
14012 LyXParagraph::size_type.
14014 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14016 * BufferView_pimpl.C (savePosition, restorePosition): Write
14017 messages to minibuffer.
14019 2001-01-28 José Matos <jamatos@fep.up.pt>
14021 * buffer.C (makeDocBookFile): adds support for document language.
14022 A silly restriction on the name of LatexCommand types where removed.
14023 Added support for CDATA sections, allows to chars unescaped, used
14024 among others in code, to avoid escape < and >.
14026 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14028 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14029 saved positions instrad of a stack. Furthermore, a position is
14030 stored using paragraph id/paragraph position.
14032 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14033 Remove LFUN_REF_BACK.
14035 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14037 * converter.C (dvipdfm_options): New method.
14039 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14041 * vspace.C (isValidLength): Fix for empty input string.
14043 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14045 * LyXAction.C (init): change description of LFUN_FIGURE to
14048 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14050 * LaTeX.C: add using directive
14052 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14054 * MenuBackend.C (expand): Fix the sorting of the formats.
14056 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14058 * lyx_main.C: tiny error message fix
14060 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14063 calling fl_initialize(). This fixes the problem with ',' as
14064 decimal separator in text files.
14066 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14068 * trans.C (process): Fix the keymap bug.
14070 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14072 * LaTeX.C (scanAuxFiles): New method. Provides support for
14073 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14074 (scanLogFile) Scan for "run BibTeX" messages.
14076 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14077 OT1 font encoding. Also, load the aecompl package if the ae
14080 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14082 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14084 * texrow.C (increasePos): turn two error messages into debug
14087 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14089 * LaTeX.C (scanAux): Handle the \@input macro.
14090 (runBibTeX): Use scanAux().
14092 * language.C (latex_options_): New field.
14094 * LaTeXFeatures.C (getMacros): Add language macros.
14096 * buffer.C (makeLaTeXFile): Small fix.
14098 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14100 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14102 * text2.C: add a using directive.
14104 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14109 * lyxfunc.C: kill LyXBell.
14111 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14113 * text.C (IsBoundary): Remove the error message
14115 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14117 * lyxrc.C (setDefaults): Correct initialization value for
14120 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14122 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14125 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14126 and GotoNextNote().
14128 * src/LyXAction.C: Added reference-next.
14130 * text.C (InsertChar): Use contains instead of strchr.
14132 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14134 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14136 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14137 alignment commands (when needed).
14139 * text.C (InsertChar): Add ':' to number separator chars.