1 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3 * vspace.[Ch]: remove VSpace::NONE
5 2003-12-01 André Pönitz <poenitz@gmx.net>
8 * lyxtext.h: move ParagraphList member to LyXText
9 rename LyXText::ownerParagraphs to LyXText::paragraph
22 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
24 * undo.C: fix cursor positioning
26 2003-12-01 John Levon <levon@movementarian.org>
28 * BufferView_pimpl.C: fix a crash on exit with
31 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
33 * BranchList.C: fix setSelected() method.
35 2003-11-28 André Pönitz <poenitz@gmx.net>
37 * ParagraphParameters.[Ch]:
38 * ParameterStruct.h: remove space above/below from Paragraph to
53 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
55 * factory.C: Syntax change for CharStyles
57 2003-11-28 André Pönitz <poenitz@gmx.net>
62 * buffer.[Ch]: move LyXText member
64 2003-11-28 André Pönitz <poenitz@gmx.net>
66 * BufferView.[Ch]: make LyXText * text a private member
79 * output_plaintext.C: cleanup
81 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
84 * lyxtextclass.[Ch]: parametrize SGML document header
86 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
89 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
92 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
94 * text2.C (setFont): rework using PosIterator (no more recursive)
95 (setCharFont): no more needed
96 (setLayout): no more selection cursors fiddling (done by redoCursor)
97 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
98 destroy remaining ones)
100 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
102 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
104 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
107 * text3.C: adjust + re-allow multi par depth changes
108 * textcursor.C: simplify a bit
110 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
116 * src/output_docbook.C:
117 * src/output_latex.C:
122 * src/text2.C: Introducing a number of tags parametrizing various
123 XML formats that we may want to support
125 2003-11-25 André Pönitz <poenitz@gmx.net>
127 * InsetList.[Ch] (begein, end): inline as suggested by profiler
129 * lyxtext.h (leftMargin/rightMargin): simplify interface
136 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * lyxfunc.C (dispatch): propogate the bibtex databases from the
139 master file to any child files. Fixes bug 546.
141 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
143 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
145 2003-11-24 André Pönitz <poenitz@gmx.net>
147 * rowpainter.C: simplification
149 * text2.C (updateCounters): remove call to redoParagraph on
150 changed labels as this is far too expensive.
152 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
154 * converter.C (convert): fix a crash: this function gets
155 called with buffer == 0 from importer code.
157 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
159 * text3.C (cursorPrevious): make sure that we do not compare
160 iterators form different containers.
163 * rowpainter.C (paintSelection): make sure that we do not compare
164 iterators from different containers.
166 * text3.C (dispatch): [PRIOR] make sure that we do not compare
167 iterators from different ParagraphList containers.
170 * text2.C (LyXText): change order of initialization slightly
171 (operator=): new function. copy all variables except cache_par_
172 (moveUp): make sure that we do not compare iterators from
173 different ParagraphList constainers.
176 * text.C (firstPar): new function
177 (lastPar): new function
178 (endPar): new function
180 * lyxtext.h: move things around and group public functions, public
181 variables, private functions, private variables
183 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
185 * factory.C: change call to InsetERT constructor to avoid
186 additional invocation of method status
187 * text2.C (toggleInset): remove redundant update() call
188 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
189 instead of a Bufferview pointer
191 2003-11-21 André Pönitz <poenitz@gmx.net>
193 * rowpainter.C: simplification
195 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
197 * text3.C (dispatch): make possible to extend a word/row selection
200 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
202 * lyxtext.h: x0_,y0_ -> xo_,yo_
203 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
204 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
205 * rowpainter.C (paintRows): paint full paragraphs
207 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
209 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
212 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
214 * lyxtext.h: add x0_, y0_
215 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
216 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
218 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
220 * text2.C (setCursorIntern): move the x_target update here *
221 * text3.C: change some bv() to true/false in calls to
222 cursorUp/Down/Right/Left
223 * cursor.C: use helper function.
225 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
227 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
228 * paragraph_funcs.[Ch]: correct comment
229 * rowpainter.C: do not paint selections away from bv->cursor()
230 Fix a long standing selection painting bug.
231 * text3.C: generalize mouse-selection code to LyXTexts other that
233 * textcursor.C: do not use y coords if we can use par offsets
235 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
237 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
238 cursor position after e.g. inset insert)
240 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
242 * lyxfind.C (replace): adjust to locking removal + some
245 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
247 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
250 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
253 * output_docbook.C: XML sanitation: new layout
254 parameters InnerTag and CommandDepth
256 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
258 * BufferView_pimpl.C:
260 * text3.C: Fix the insertion and modification of button-style
263 2003-11-13 André Pönitz <poenitz@gmx.net>
265 * InsetList.[Ch]: remove deleteLyXText
267 * paragraph.[Ch]: cache beginOfBody position
272 * text3.C: remove superfluous update() calls
276 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
278 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
279 * BufferView.C (fitLockedInsetCursor): remove
280 * cursor.[Ch] (getDim): add
281 * text.C (getRowNearY): add faster version
282 * text3.C: remove some update calls
284 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
296 * text3.C: The Character Style /XML short element patch.
298 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
301 * factory.C: Small step to solving 'unable to insert some insets'
304 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
306 * cursor.[Ch] (updatePos): new function for updating the y
307 position of the tip inset
308 * bufferview_funcs.C (put_selection_at):
309 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
311 2003-11-11 André Pönitz <poenitz@gmx.net>
313 * text.C: remove big comment on invalid Paragraph pointers as it is
316 2003-11-11 André Pönitz <poenitz@gmx.net>
318 * text_funcs.[Ch]: merge with ...
326 * Makefile.am: remove text_funcs.[Ch]
328 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
330 * cursor.C (getPos): return absolute cached y coord
332 * BufferView_pimpl.C (fitCursor): new simplistic code
333 (workAreaDispatch): add a fitCursor call
335 2003-11-10 André Pönitz <poenitz@gmx.net>
338 * BufferView_pimpl.[Ch]: merge update() and updateInset()
340 2003-11-10 André Pönitz <poenitz@gmx.net>
342 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
343 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
344 indicate that the cursor needs to leave an inset
346 * lyxtext.h: remove inset locking
348 * cursor.[Ch]: re-implement functionality provided by inset locking
351 * BufferView_pimpl.[Ch]:
353 * bufferview_funcs.[Ch]:
365 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
367 * PosIterator.[Ch]: replace the stack with a vector, add inset
369 * iterators.[C]: adjust
371 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
373 * lyxfind.C (replaceAll): mark the buffer dirty if something was
375 * paragraph_funcs.C (readParToken): put the correct id in the
376 error item, not the id of the top paragraph
378 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
380 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
381 * bufferview_funcs.C (put_selection_at): use the above
383 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
385 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
387 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
390 * output_plaintext.h:
392 * output_docbook.h: add #include statements
394 2003-11-05 José Matos <jamatos@lyx.org>
396 * output_docbook.[Ch]:
398 * output_linuxdoc.[Ch]:
399 * output_plaintext.[Ch]: New files for output formats.
400 * output.[Ch]: New file for helper functions.
403 * paragraph_funcs.[Ch]: output functions moved to new files.
405 * outputparams.h: rename of latexrunparams.h
413 * paragraph_funcs.[Ch]:
414 * paragraph_pimpl.[Ch]:
415 * tabular.[Ch]: rename ascii to plaintext
416 and LatexRunParams to OutputParams.
418 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
420 * iterators.[Ch] (text): require bv argument
421 * undo.C (recordUndo):
422 * lyxfunc.C (dispatch):
423 * bufferview_funcs.C (put_selection_at): adjust
425 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
427 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
429 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
431 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
434 2003-11-04 André Pönitz <poenitz@gmx.net>
436 * cursor.[Ch]: restructure
439 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
441 * iterators.[Ch] (asCursor): remove
443 * lfuns.h: remove LFUN_INSET_EDIT
449 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
451 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
453 * lyxfind.[Ch]: complete overhaul
454 * BufferView_pimpl.C:
456 * paragraph.[Ch] (insert): add
458 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
462 * text.C: remove dead spellcheck code
464 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
466 * dispatchresult.h: add a val setter
468 * cursor.C (dispatch): use a tempvar for data_[i]
470 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
472 * PosIterator.[Ch]: compile fix
474 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
476 * text.C (cursorPar): deactivate the cursor cache
478 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
480 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
482 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
484 * text3.C (dispatch): adjust for new DisptchResult semantics.
486 * lyxfunc.C (dispatch): handle update when return from
487 Cursor::dispatch, adjust for new DispatchResult semantics.
489 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
490 DispatchResult(true) mean to not update. Add class functions for
491 setting dispatched and update, as well as reading.
493 * cursor.C (dispatch): don't handle update here
495 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
497 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
498 * trans_mgr.C: adjust
500 * paragraph_funcs.C (readParToken): exception safety
502 * lyxvc.h: store the vcs pointer in a scoped_ptr
505 * lyxsocket.C (serverCallback): exception safety
507 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
509 * ispell.C (clone): make it return a auto_ptr
511 * factory.C (createInset): exception safety
512 (readInset): exception safety
514 * bufferlist.C (newBuffer): exception safety
516 * Thesaurus.C (Thesaurus): use initialization for aik_
518 * MenuBackend.C (expandToc): exception safety.
520 2003-11-03 André Pönitz <poenitz@gmx.net>
524 * bufferview_funcs.C: remove getInsetFromId()
527 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
533 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
535 * PosIterator.C (distance, advance): new
536 * bufferview_funcs.[Ch] (put_selection_at): new
537 * iterators.[Ch] (lockPath): new
539 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
541 * iterators.[Ch] (asPosIterator): added
542 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
543 * PosIterator.[Ch]: added
545 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
549 * cursor.C (dispatch):
550 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
552 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
553 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
554 contructor, add a class function dispatched. Remove operator>=
556 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
558 * debug.C: only use the default constructor for debugstream
561 * main.C (main): include debug.h and setup the lyxerr streambuf
564 2003-10-31 José Matos <jamatos@lyx.org>
566 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
568 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
569 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
570 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
571 * paragraph_pimpl.C (simpleTeXSpecialC):
572 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
573 add LatexRunParams argument.
575 * exporter.C (Export): change call accordingly.
577 * latexrunparams.h: add new member to take care of the other backends.
578 2003-10-30 José Matos <jamatos@lyx.org>
580 * buffer.C (makeLinuxDocFile, makeDocBookFile):
581 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
582 factorise code for paragraph output.
584 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
587 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * text3.C (dispatch):
590 * lyxfunc.C (dispatch):
591 * cursor.C (dispatch):
592 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
594 * dispatchresult.h: make the dispatch_result_t ctor explicit
596 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
599 * buffer.C: small refactoring of docbook stuff
601 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
606 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
609 operator dispatch_result_t, and operators for == != and >=
611 * cursor.C (dispatch): adjust for operator dispatch_result_t
612 removal. comment out call to update
614 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
616 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
627 * dispatchresult.h: new file, DispatchResult broken out of
630 * Makefile.am (lyx_SOURCES): add dispatchresult.h
632 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
634 * text.C (rowBreakPoint): put a hack inside #if 0
636 2003-10-28 André Pönitz <poenitz@gmx.net>
643 * text2.C: general cleanup (lots of small stuff)
645 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
647 * text2.C (cursorEnd): simple fix to the "end key goes to one
648 before the end on last row" bug
650 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
652 * text.C (backspace): fix the "zombie characters"
654 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
656 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
658 2003-10-27 André Pönitz <poenitz@gmx.net>
660 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
662 * factory.C: handle new InsetPagebreak, InsetLine
664 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
665 and move handling into new InsetPagebreak, InsetLine
667 * BufferView_pimpl.C:
669 * ParagraphParameters.C:
682 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
691 * text3.C: remove lastPos uses in favour of Row::endpos
693 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
695 * undo.C (performUndoOrRedo): fix two crashes by setting a
696 cursor by hand and reordering some calls. Use bv->lockInset instead
697 of inset->edit because the latter loses cursor information
699 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
701 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
703 (rowBreakPoint): fix width. change point to point + 1.
706 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
709 * lyxfunc.C: fix (at least partly) the problems
710 with the Nav menu and headers inside branch insets
713 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
715 * paragraph.C (getChar): add strong asserts
717 * lyxrow_funcs.C (lastPos): remove hideous hack
719 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
720 (fill): adjust to that (avoid an infinite loop)
722 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
724 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
726 2003-10-23 André Pönitz <poenitz@gmx.net>
728 * RowList_fwd.h: change list<> to vector<> to gain speed
729 after suggestion from Alfredo
731 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
733 * lyxtext.h: move the bidi stuff from here...
736 * Bidi.[Ch]: ... to here
738 2003-10-23 André Pönitz <poenitz@gmx.net>
741 * text.C (isLastRow, isFirstRow): new functions
743 * paragraph.h: new width cache member
745 * rowpainter.C: replace RowList::iterator with Row & where possible
747 * lyxfunc.C: replace several view()->text with a single call
749 * toc.C: fix 'unused' warning
751 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
754 when woring with stream::pos_type
755 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
757 2003-10-22 André Pönitz <poenitz@gmx.net>
760 * text.C: use Row & instead of RowList::iterator
762 * lyxrow.h: rename end() to endpos()
768 2003-10-22 Angus Leeming <leeming@lyx.org>
770 * buffer.[Ch] (fully_loaded): new member function, returning true
771 only when the file has been loaded fully.
772 Used to prevent the premature generation of previews and by the
773 citation inset to prevent computation of the natbib-style label.
775 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
776 templates are all set up.
778 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
780 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
782 * text.C: fixed an "oops" in the "is a bit silly"
785 2003-10-21 André Pönitz <poenitz@gmx.net>
787 * FuncStatus.[Ch]: small stuff, whitespace
789 * lyxfont.[Ch]: operator<<() for debug reasons
793 * lyxtext.h: whitespace, spelling
795 * paragraph.C: naming of variables
798 * text2.C: small stuff
801 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
803 * text.C: (1) finish off the inset display() work;
804 (2) fix the "is a bit silly" bug (accessing char
807 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
809 * text.C: re-introduce display() for insets, fixing the
810 various bugs (stretch of line above, math inset
813 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * text.C (rightMargin): remove spurious semicolon
817 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
820 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
822 * text3.C: fix one crash due to wrong cursor def
824 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
826 * vc-backend.C (scanMaster): make the regex static
828 * LaTeX.C (scanAuxFile): make the regexs static
830 * text3.C (doInsertInset, dispatch, dispatch):
831 * text2.C (cursorUp, cursorDown):
832 * text.C (selectNextWordToSpellcheck):
833 * BufferView_pimpl.C (dispatch):
834 * lyxfunc.C (dispatch): localDispatch -> dispatch
836 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
838 * lyxsocket.C: include <cerrno>
840 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
842 * lyxfunc.C (dispatch): remove textcache stuff
844 * bufferlist.C (release): remove textcache stuff
847 * TextCache.C: delete file
848 * TextCache.h: delete file
850 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
852 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
853 delete of the bv_->text.
854 (resizeCurrentBuffer): remove texcache stuff
855 (workAreaResize): ditto
857 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
859 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
862 2003-10-16 André Pönitz <poenitz@gmx.net>
869 * text3.C: speed up by storing y positions per paragraph plus per-row
870 offset instead of having a 'full' y position in the row.
872 2003-10-15 André Pönitz <poenitz@gmx.net>
876 * undo.[Ch]: make undo aware of inner insets
878 2003-10-14 Angus Leeming <leeming@lyx.org>
880 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
881 static member functions LyX::ref() and LyX::cref.
882 (lastfiles): new accessor functions for the new lastfiles_ member var.
883 (addLyXView, views_): add a new LyXView to the list of views_.
884 (updateInset): loop over all LyXViews to call their own updateInset
885 member function, returning a pointer to the Buffer owning the inset.
887 * BufferView_pimpl.C (loadLyXFile):
888 * MenuBackend.C (expandLastfiles):
889 * bufferlist.C (MenuWrite, QuitLyX):
890 lastfiles is no longer a global variable.
891 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
893 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
894 static function. Access through LyX::cref().emergencyCleanup().
896 2003-10-14 André Pönitz <poenitz@gmx.net>
898 * iterators.[Ch]: new direct access to innermost LyXText and Inset
900 * undo.[Ch]: restoring part of 'undo in insets'
903 * undo_funcs.[Ch]: merge with undo.[Ch]
905 * tabular.C: small cleansing stuff
907 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
909 * paragraph_funcs.C (readParToken): report unknown insets as error
910 boxes. Use the outer paragraph as location (also for unknown
913 * factory.C (readInset): do not abort on reading an unknown inset.
916 2003-10-13 Angus Leeming <leeming@lyx.org>
918 * lyx_main.C (LyX): remove call to setDisplayTranslator().
920 * lyxrc.C: displayTranslator is now a function,
921 declared in GraphicsTypes.h.
923 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
925 * format.C: new placeholder $$a to pass the socket address.
927 * bufferlist.[Ch]: new function getBufferFromTmp.
929 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
930 files in the temporary dir.
932 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
934 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
936 * Makefile.am: add lyxsocket.[Ch].
938 * lyx_main.C (error_handler): handle SIGPIPE.
940 2003-10-13 André Pönitz <poenitz@gmx.net>
942 * BufferView_pimpl.C:
947 * undo_funcs.[Ch]: use paroffset_type instead of
948 ParagraphList::iterators to prevent multiple conversion
949 (and get a more robust interface)
951 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * lyxfunc.C (dispatch): RESULT -> dispatch_result
955 * text3.C (dispatch): ditto
957 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * LaTeX.C (handleFoundFile): move the static to smaller scope,
960 move the onlyfile, use onlyfile instead of foundfile in a couple
963 * DepTable.C (update): flush the error stream a bit more
965 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
967 * lyxserver.C (callback): adjust
969 * lyxfunc.C (getStatus): add a missing brace in commented code
970 (ensureBufferClean): reindent
971 (dispatch): delete version taking a string
973 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * LaTeX.C (deplog): move found file handlig from here...
976 (handleFoundFile): .. to new function here.
977 (deplog): make sure to discover several files mentioned on the
980 2003-10-10 André Pönitz <poenitz@gmx.net>
987 * text3.C: fix some of the tabular crashes
989 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
991 * MenuBackend.C (binding): put debug message into Debug::KBMAP
993 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
995 2003-10-09 André Pönitz <poenitz@gmx.net>
997 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1000 * BufferView_pimpl.C:
1001 * bufferview_funcs.C:
1012 * undo_funcs.C: adjust
1014 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * text2.C (incrementItemDepth): new function, use a backtracking
1017 algorithm to discover the correct item depth.
1018 (resetEnumCounterIfNeeded): new function, use a backtracking
1019 algorithm to discover if counter reset is needed.
1020 (setCounter): use them. Simplify a bit. Add different labels for
1021 different item depths for itemize.
1023 * paragraph.C (Paragraph): remove initialization of enumdepth
1026 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1027 enumerate and itemize. Change the type of itemdepth to signed char.
1029 2003-10-08 André Pönitz <poenitz@gmx.net>
1031 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1036 * tabular.[Ch]: fix crash after 'row-insert'
1038 2003-10-08 Angus Leeming <leeming@lyx.org>
1040 Fix doxygen warnings.
1042 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1043 Remove CutAndPaste:: prefix from header file declaration.
1045 * LColor.h (fill): remove LColor:: prefix from declaration.
1047 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1048 use lyx::depth_type rather than Paragraph::depth_type so that
1049 header file and .C file match.
1051 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1053 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1054 * aspell.C: \file aspell_local.C -> \file aspell.C
1055 * gettext.C: \file gettext.C -> \file src/gettext.C
1056 * gettext.h: \file gettext.h -> \file src/gettext.h
1057 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1058 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1059 * text.C: \file text.C -> \file src/text.C
1061 * toc.C: move comment so that doxygen is not confused.
1063 2003-10-07 Angus Leeming <leeming@lyx.org>
1065 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1067 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1070 * aspell_local.h: add forgotten std::string's.
1072 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1079 * text3.C: The Box patch. Fancybox support, minipage, parbox
1081 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1087 * ParagraphParameters.h:
1097 * lyxtextclasslist.h:
1100 * paragraph_pimpl.C:
1101 * textcursor.h: add <string> and other small fixes to make Lars'
1102 std::string patch compile with STLport.
1104 2003-10-06 Angus Leeming <leeming@lyx.org>
1106 * LColor.h: Add missing #include <string>.
1108 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * All most all file in all subdirs: Make <string> be the prefered
1111 way of getting to std::string, add using declarations.
1113 2003-10-06 André Pönitz <poenitz@gmx.net>
1115 * metricsinfo.C: initialize LyXFont before changing attribute.
1116 (fixes the 'math in \emph is upright' bug)
1118 2003-10-06 André Pönitz <poenitz@gmx.net>
1120 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1122 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1125 * paragraph_pimpl.C: Small fixes to build using STLport
1127 2003-10-02 André Pönitz <poenitz@gmx.net>
1130 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1132 2003-10-01 André Pönitz <poenitz@gmx.net>
1134 * factory.C: assert early
1136 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * lyx_main.C: remove the global debug object
1140 * debug.h: adjust for new debugstream
1142 * debug.C: adjust for new debugstream and keep the global debug
1145 2003-09-22 Angus Leeming <leeming@lyx.org>
1147 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1148 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1149 an incomplete class LyXFont.
1151 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1153 * factory.C: bug fix in branches
1155 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1157 * lyxfunc.C (processKeySym): adjust
1159 (dispatch): change arg name from ev to func, adjust
1160 (sendDispatchMessage): ditto
1162 * lyx_main.C (defaultKeyBindings): adjust keybindings
1163 (deadKeyBindings): ditto
1165 * kbsequence.C (addkey): return a FuncRequest
1167 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1169 * kbmap.C (bind): take a FuncRequest as arg, adjust
1172 (defkey): change to take a FuncRequest as arg, adjust
1173 (findbinding): take a FuncRequest as arg, adjust.
1175 * funcrequest.h (operator=): added
1177 * funcrequest.C (FuncRequest): default kb_action changed from
1178 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1180 * buffer.C (dispatch): simplify
1181 (dispatch): adjust to take a FuncRequest as arg, adjust
1183 * boost.C (assertion_failed): change assertion message slightly
1185 * ToolbarBackend.C (read): simplify
1187 * MenuBackend.C (binding): adjust call to findbinding, add a
1188 message if no binding is found.
1190 (expandToc): correct by adding a empty FuncRequest
1192 * LyXAction.C: include <boost/assert.hpp>
1193 (isPseudoAction): delete function
1194 (LookupFunc): change name to...
1195 (lookupFunc): this. change return type to FuncRequest.
1196 (getActionName): take kb_action as arg, simplify
1197 (funcHasFlag): add an assert, simplify.
1199 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1201 * toc.C (action): return a FuncRequest, simplify
1203 * lyxfunc.C (processKeySym): adjust
1204 (getStatus): delete version that takes an int.
1206 (dispatch): delete version that takes action as int
1208 (sendDispatchMessage): simplify and adjust
1210 * funcrequest.C (getArg): take unsigned int as arg
1212 * ToolbarBackend.C (read): adjust
1213 (add): delete version that takes func as a string.
1214 (getIton): take a FuncRequest as arg
1216 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1219 * MenuBackend.C (MenuItem): add a new construct that only takes a
1220 Kind, simplify the constructor use for submenus.
1222 (expandLastfiles): adjust
1223 (expandDocuments): adjust
1224 (expandFormats): adjust
1225 (expandFloatListInsert): adjust
1226 (expandFloatInsert): adjust
1227 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1229 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1230 Remove class variables lyx_pseudo_map and lyx_arg_map
1232 * LyXAction.C (searchActionArg): delete function
1233 (getPseudoAction): delete function
1234 (retrieveActionArg): delete function
1235 (LookupFunc): make it return kb_action, simplify.
1236 (getActionName): simplify
1238 * factory.C (createInset): fix new bug
1240 2003-09-19 Angus Leeming <leeming@lyx.org>
1242 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1243 masterFilename_ parameter in the include inset.
1245 * factory.C (createInset): changes due to the changes to InsetInclude.
1247 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1249 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1251 2003-09-18 Angus Leeming <leeming@lyx.org>
1254 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1255 Inset::fillWithBibKeys.
1256 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1258 2003-09-18 Angus Leeming <leeming@lyx.org>
1260 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1262 (ctor): pass and store a 'Buffer const &'
1263 (buffer): new member function.
1265 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1266 '*this' to the LaTeXFeatures ctor.
1268 2003-09-18 Angus Leeming <leeming@lyx.org>
1274 * text.C: rename EnumLColor as LColor_color.
1276 2003-09-18 Angus Leeming <leeming@lyx.org>
1278 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1279 remove #include "insets/insetbase.h" from cursor.h.
1281 2003-09-18 Angus Leeming <leeming@lyx.org>
1283 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1284 InsetOld_code to remove #include "inset.h".
1286 * iterators.C: add #include "insets/inset.h"
1288 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1290 * BufferView.C: remove more locking stuff that apparently doesn't
1291 do anything sensible.
1293 2003-09-16 André Pönitz <poenitz@gmx.net>
1296 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1299 2003-09-16 Angus Leeming <leeming@lyx.org>
1301 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1303 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1306 * paragraph.h: remove #include "lyxfont.h". Forward declare
1309 2003-09-16 Angus Leeming <leeming@lyx.org>
1311 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1312 of support/textutils.h.
1313 (isWord): move the contents of support/textutils.h's IsWordChar here.
1319 * text2.C: add #include "paragraph.h".
1322 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1324 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1330 * LaTeX.C: use namespace alias for lyx::support::os
1332 2003-09-16 Angus Leeming <leeming@lyx.org>
1335 * bufferview_funcs.C:
1338 * paragraph_pimpl.C:
1340 * text.C: add #include "LColor.h".
1342 2003-09-16 Angus Leeming <leeming@lyx.org>
1344 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1345 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1347 Store the FontBits::color variable as an int rather than as an
1348 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1351 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1352 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1353 string calls together.
1355 * lyxrc.C: add #include "LColor.h".
1357 2003-09-15 Angus Leeming <leeming@lyx.org>
1359 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1362 2003-09-15 Angus Leeming <leeming@lyx.org>
1364 * LColor.h: add an EnumLColor wrapper for LColor::color.
1366 * lyxfont.[Ch] (color, setColor, realColor):
1367 * lyxtext.h, text.C (backgroundColor):
1368 pass EnumLColor args to/from the functions, rather than LColor::color
1372 * lyxtext.h: forward declare EnumLColor.
1374 * lyx_main.C: add #include "LColor.h".
1376 2003-09-15 Angus Leeming <leeming@lyx.org>
1378 * .cvsignore: add lyx-gtk.
1380 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * ParagraphParameters.C
1389 * bufferview_funcs.C
1399 * vc-backend.C: remove usage of STRCONV
1401 2003-09-15 Angus Leeming <leeming@lyx.org>
1403 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1404 explicitly define the color passed to the painter.
1406 2003-09-15 Angus Leeming <leeming@lyx.org>
1408 * bufferparams.C (BufferParams): reorder member initializers to avoid
1411 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1413 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1414 * text.C (updateRowPositions): remove an unusual nop
1416 2003-09-12 André Pönitz <poenitz@gmx.net>
1418 * BufferView_pimpl.C:
1427 * Counters.[Ch]: finish the 'automatic counters' job
1429 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1431 * aspell.C: include <boost/assert.cpp> (compile fix)
1433 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1435 * boost.C (assertion_failed): use lyx::support::abort instead of
1438 2003-09-10 Angus Leeming <leeming@lyx.org>
1440 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1441 with their _fwd progeny.
1443 2003-09-09 Angus Leeming <leeming@lyx.org>
1445 134 files throughtout the source tree: replace 'using namespace abc;'
1446 directives with the appropriate 'using abc::xyz;' declarations.
1448 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1450 * boost.C (emergencyCleanup): moved here from LAssert.c
1451 (assertion_failed): new function, called by BOOST_ASSERT
1453 * several files: change Assert to BOOST_ASSERT
1455 2003-09-09 Angus Leeming <leeming@lyx.org>
1457 * buffer.[Ch]: Add an Impl class and move Buffer's member
1458 variables into it. As a result move several header files out of
1461 Add header files to lots of .C files all over the tree as a result.
1463 2003-09-09 Angus Leeming <leeming@lyx.org>
1465 * buffer.[Ch]: make Buffer's member variables private. Add
1468 Lots of changes all over the tree as a result.
1470 2003-09-08 Angus Leeming <leeming@lyx.org>
1472 * graph.C: #include <config.h>.
1474 2003-09-08 Angus Leeming <leeming@lyx.org>
1478 * BufferView_pimpl.C:
1507 * toc.C: remove redundant using directives.
1509 2003-09-07 Angus Leeming <leeming@lyx.org>
1511 * LaTeXFeatures.h: remove #include "support/types.h".
1512 * ToolbarBackend.h: remove #include <algorithm>.
1513 * changes.h: remove #include <ctime>.
1514 * debug.h: remove #include <iosfwd>.
1515 * graph.h: remove #include "support/std_string.h".
1516 * lyx_main.h: remove #include <csignal>.
1517 * lyxlex_pimpl.h: remove #include <fstream>.
1518 * sgml.h: remove #include <algorithm>, <utility>.
1519 * toc.h: remove #include "support/std_ostream.h".
1520 Add #include <iosfwd>.
1522 2003-09-07 Angus Leeming <leeming@lyx.org>
1524 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1526 * converter.h: forward declare LatexRunParams.
1527 * encoding.h: remove #include "lyxrc.h".
1528 * lyxtext.h: remove #include "LColor.h".
1529 * lyxtextclass.h: remove #include "support/types.h".
1530 * trans.h: remove #include "tex-accent.h".
1531 * trans_mgr.h: remove #include "tex-accent.h".
1532 * insets/inset.h: remove #include "support/types.h", <vector>.
1533 * insets/insetcollapsable.h: remove #include "LColor.h".
1534 * insets/insetinclude.h: remove #include "dimension.h".
1535 * insets/insetlatexaccent.h: remove #include "dimension.h".
1536 * insets/insetoptarg.h:: remove #include "insettext.h".
1537 * insets/insettext.h: remove #include "dimension.h",
1538 <boost/shared_ptr.hpp>
1540 * insets/renderers.h: add #include "dimension.h".
1541 * insets/updatableinset.h: add #include "support/types.h".
1543 * many .C files: Associated changes.
1545 2003-09-06 Angus Leeming <leeming@lyx.org>
1547 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1548 one, inside testInvariant.
1550 * PrinterParams.C: new file.
1551 * PrinterParams.[Ch]: move the function bodies out of line.
1553 2003-09-06 Angus Leeming <leeming@lyx.org>
1555 * ParagraphParameters.h: forward declare ParameterStruct rather than
1556 including its header file.
1557 (depth): moved out-of-line.
1559 2003-09-06 Angus Leeming <leeming@lyx.org>
1561 * BufferView_pimpl.h:
1564 * lyxfunc.h: forward declare LyXKeySym rather than
1565 #include "frontends/LyXKeySym.h".
1567 * BufferView_pimpl.C:
1570 * lyxfunc.C: associated changes.
1572 2003-09-06 Angus Leeming <leeming@lyx.org>
1574 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1575 As a result, can remove the #include "insets/inset.h" from BufferView.h
1577 2003-09-06 Angus Leeming <leeming@lyx.org>
1579 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1580 As a result, can remove the #include "insets/inset.h" from BufferView.h
1582 2003-09-06 Angus Leeming <leeming@lyx.org>
1588 * bufferview_funcs.C:
1589 * BufferView_pimpl.C:
1594 * ParagraphParameters.C:
1599 * frontends/controllers/ControlDocument.C:
1600 * insets/insetcaption.C: rearrange the #includes into some sort of
1603 * buffer.h: remove #includes ErrorList.h, undo.h
1605 2003-09-06 Angus Leeming <leeming@lyx.org>
1607 * support/types.h: add a 'depth_type' typedef, used to store the
1608 nesting depth of a paragraph.
1611 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1612 defining explicitly.
1615 * paragraph_funcs.h:
1616 * ParagraphParameters.h:
1617 * sgml.h: use lyx::depth_type rather than Paragraph or
1618 ParameterStruct's depth_type.
1621 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1624 * BufferView_pimpl.C:
1626 * ParagraphParameters.C:
1629 * bufferview_funcs.C:
1636 * frontends/LyXView.C:
1637 * frontends/controllers/ControlDocument.C:
1638 * frontends/controllers/ControlErrorList.C:
1639 * insets/insetbibitem.C:
1640 * insets/insetbranch.C:
1641 * insets/insetcaption.C:
1642 * insets/insetcollapsable.C:
1643 * insets/insetenv.C:
1644 * insets/insetert.C:
1645 * insets/insetfloat.C:
1646 * insets/insetfoot.C:
1647 * insets/insetfootlike.C:
1648 * insets/insetnewline.C:
1649 * insets/insetquotes.C:
1650 * insets/insettabular.C:
1651 * insets/insettext.C:
1652 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1654 * frontends/controllers/ControlChanges.C: #include "changes.h".
1656 2003-09-06 Angus Leeming <leeming@lyx.org>
1658 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1659 than #including paragraph.h.
1662 * RowList.h: deleted. Superfluous.
1672 * insets/insettext.h: use ParagraphList_fwd.h rather than
1675 * paragraph.h: don't forward declare ParagraphList.
1678 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1679 rather than ParagraphList.h. paragraph.h is still needed for the
1680 Paragraph::depth_type parameters.
1682 * textcursor.h: enable it to compile stand-alone in light of the
1685 * bufferview_funcs.C:
1697 * frontends/controllers/ControlParagraph.C:
1698 * frontends/controllers/ControlTabular.C:
1699 * insets/insetmarginal.C:
1700 * insets/insetminipage.C:
1701 * insets/insetnote.C:
1702 * insets/insetoptarg.C: add header files needed to compile again.
1704 2003-09-06 Angus Leeming <leeming@lyx.org>
1706 * RowList_fwd.h: new file, forward-declaring Row rather than
1707 #including lyxrow.h.
1712 * insets/insettext.h: use it instead of RowList.h
1714 * bufferview_funcs.C:
1721 * text3.C: #include "RowList.h".
1723 2003-09-05 Angus Leeming <leeming@lyx.org>
1725 * factory.C (createInset):
1726 * vspace.C (c-tor): replace sscanf call with an istringstream.
1727 * ispell.C: re-add missing HP/UX headers.
1728 * lyxserver.C: re-add missing os2 headers.
1730 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1739 * text3.C: re-add missing system headers, needed for 2.95.2.
1741 2003-09-05 Angus Leeming <leeming@lyx.org>
1743 Changes most place everywhere due to the removal of using directives
1744 from support/std_sstream.h.
1746 2003-09-05 Angus Leeming <leeming@lyx.org>
1748 Replace LString.h with support/std_string.h,
1749 Lsstream.h with support/std_sstream.h,
1750 support/LIstream.h with support/std_istream.h,
1751 support/LOstream.h with support/std_ostream.h.
1753 Changes resulting throughout the tree.
1755 2003-09-05 Angus Leeming <leeming@lyx.org>
1757 * sgml.h: ensure that the header file can be compiled stand-alone.
1758 * *.C: strip out redundant #includes. (320 in total.)
1760 2003-09-04 Angus Leeming <leeming@lyx.org>
1762 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1763 here (from getPackages).
1765 * debug.[Ch]: add a new EXTERNAL tag.
1767 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1769 * text2.C (cursorEnd): simplify
1771 (getColumnNearX): adjust
1773 * text.C (computeBidiTables): adjust
1776 * rowpainter.C (paintChars): adjust
1777 (paintSelection): adjust
1778 (paintChangeBar): adjust
1781 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1783 (numberOfSeparators): adjust
1785 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1791 * text3.C: Restricts the mouse click functionality
1792 of insets like bibtex, include, toc and floatlist to the visible
1793 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1794 up the dialogs. Cursor has to be in front of the inset (i.e.
1795 start of row) for this to function.
1797 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1799 * bufferview_funcs.C (currentState): output row information
1801 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1803 * bufferview_funcs.C (currentState): output paragraph position
1805 2003-09-04 Angus Leeming <leeming@lyx.org>
1807 * FloatList.h: move out #include "Floating.h".
1808 * LaTeX.h: move out #include "DepTable.h".
1809 * LyXAction.h: move out #include "funcrequest.h".
1810 * buffer.h: move out #include "author.h", "iterators.h".
1811 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1812 * lyx_main.h: move out #include "errorlist.h".
1813 * lyxfunc.h: move out #include "FuncStatus.h".
1814 * lyxtext: move out #include "lyxcursor.h".
1815 * paragraph_pimpl.h: move out #include "counters.h".
1817 2003-09-03 Angus Leeming <leeming@lyx.org>
1819 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1820 preamble_snippets list, enabling us to add snippets to the preamble
1821 only if the snippet was not there already.
1823 2003-09-04 Angus Leeming <leeming@lyx.org>
1825 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1827 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1832 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1834 * BranchList.C: point fix, earlier forgotten
1836 2003-09-02 Angus Leeming <leeming@lyx.org>
1838 * box.C (contains): renamed from 'contained' after a fantastic
1841 2003-09-02 John Levon <levon@movementarian.org>
1847 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1849 2003-09-02 John Levon <levon@movementarian.org>
1851 * text2.C: simplification of cursorEnd(), including partial
1854 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1856 * buffer.C (readFile): add a space
1858 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1860 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1862 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * buffer.C (readFile): new function, take a filename and a
1865 ParagraphList::iterator
1867 (readFile): adjust, make it private. don't use setStream, make
1868 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1869 always contain the filename.
1871 * BufferView.C (insertLyXFile): simplify and make it work for
1874 2003-08-30 John Levon <levon@movementarian.org>
1876 * Makefile.am: fix dist (from Kayvan)
1878 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * most files: change to use const Buffer refs
1882 2003-08-27 André Pönitz <poenitz@gmx.net>
1884 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1885 on top of ownerPar().
1887 2003-08-27 John Levon <levon@movementarian.org>
1889 * funcrequest.C: properly initialise POD members
1891 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1893 * lyxtext.h (top_y): move top_y from here
1898 * BufferView_pimpl.[Ch]: to here
1899 * frontends/screen.C:
1900 * insets/insettabular.C:
1901 * insets/insettext.C: adjust
1902 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1904 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1907 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1909 2003-08-26 André Pönitz <poenitz@gmx.net>
1911 * paragraph_func.[Ch] (outerPar): new function
1914 * paragraph_funcs.C:
1915 * paragraph_funcs.h:
1916 * paragraph_pimpl.C:
1917 * text2.C: remove Inset::par_owner
1919 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1924 * text2.C: eliminates the needFullRow/display() stuff
1925 altogether, putting the logic in metrics/draw in the insets.
1927 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1929 * text2.C (redoParagraphInternal, redoParagraphs):
1930 * text.C (redoParagraph): add a call to updateRowPositions at the
1931 end of each 'metrics-like' call. Remove all others.
1932 (getRow): remove the 'y-computing' version.
1933 (getRowNearY): do not compute nor return the real y. Solve the
1934 'y < 0' problem and simplify.
1936 2003-08-22 Angus Leeming <leeming@lyx.org>
1938 * *.[Ch]: clean-up of licence and author blurbs.
1939 Also move config.h out of a few .h files and into a few .C files.
1941 2003-08-22 André Pönitz <poenitz@gmx.net>
1943 * lyxrow.[Ch]: add x_ and *fill_ members
1948 * text2.C: adjust/remove prepareToPrint() calls
1950 2003-08-22 André Pönitz <poenitz@gmx.net>
1952 * lyxrow.[Ch]: add end_ member
1954 * lyxrow_funcs.C: use LyXRow::end_
1956 * lyxtext.h (singleWidth): add LyXFont parameter
1959 * text2.C: adjust LyXText::singleWidth() calls
1961 * text.C (redoParagraph): simplify row breaking logic
1964 2003-08-19 André Pönitz <poenitz@gmx.net>
1966 * funcrequest.C: initialize button_ member
1969 * rowpainter.[Ch]: interface consolidation
1971 2003-08-18 André Pönitz <poenitz@gmx.net>
1974 * BufferView_pimpl.C:
1976 * paragraph_funcs.C:
1978 * text3.C: remove LyXScreen::draw() and fitCursor calls
1980 * BranchList.h: remove spurious semicolons
1982 * MenuBackend.C: fix branchlist related crash
1984 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1992 * bufferparams.[Ch]:
1996 * text3.C: implements the 'branch inset'
1997 idea. This allows the output of various versions of a document
1998 from a single source version, selectively outputing or suppressing
1999 output of parts of the text.
2000 This implementation contains a 'branch list editor' in a separate
2001 tab of the document settings dialog. Branches are user definable
2002 and have a "display colour" to distinguish them on-screen.
2004 ColorHandler was somewhat cleaned up.
2005 (1) make possible a dynamically growing LColor list by allowing
2006 the graphic context cache to grow along (vector);
2007 (2) eliminate an IMHO unnecessary step in colour allocation.
2009 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2011 * BufferView_pimpl.C: compile fix
2013 2003-08-15 André Pönitz <poenitz@gmx.net>
2015 * rowpainter.C: remove extra metrics calls
2017 * lyxtext.h: merge the two constructors into a single one,
2018 pass reference to owner's par list
2020 * BufferView_pimpl.C:
2024 2003-08-15 André Pönitz <poenitz@gmx.net>
2026 * lyxrow_funcs.[Ch]:
2029 * paragraph_funcs.C:
2034 * text_funcs.C: split LyXText::rowlist_ into individual
2035 Paragraph::rows_ chunks
2038 * BufferView_pimpl.[Ch]:
2041 * text3.C: remove toggleSelection()
2043 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2045 * bufferlist.C: beautify two alerts (shorter text of buttons)
2046 * buffer.C: Remove redundant ' ' from message
2048 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2049 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2050 rename VALIGN_CENTER to VALIGN_MIDDLE
2052 2003-08-11 André Pönitz <poenitz@gmx.net>
2054 * lyxtext.h (getPar):
2055 * text.C: new function
2057 2003-08-11 André Pönitz <poenitz@gmx.net>
2060 * tracer.[Ch]: remove unneeded files
2062 * InsetList.[Ch]: remove resizeInsetsLyXText()
2067 * text3.C: merge insertParagraphs() and appendParagraph()
2068 remove breakAgain(), update()
2070 * BufferView_pimpl.[Ch]:
2071 * bufferview_funcs.[Ch]:
2075 * tabular.C: adjust after text & InsetList changes.
2077 2003-08-08 André Pönitz <poenitz@gmx.net>
2079 * text.C (insertChar, backspace): replace rowlist fiddling
2080 with rebreak of full par
2083 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2084 checkParagraph, updateInset): removed
2086 2003-08-07 André Pönitz <poenitz@gmx.net>
2089 * text3.C: merge some LFUN handlers, remove dead code
2091 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2095 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2097 * text2.C (DEPM): fix part of bug 1255 and 1256
2099 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * BufferView_pimpl.C (workAreaDispatch): change to use
2102 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2103 that are no mouse related.
2105 2003-08-05 André Pönitz <poenitz@gmx.net>
2108 * BufferView_pimpl.[Ch]:
2109 * bufferview_funcs.C:
2111 * text3.C: rip out "deep update"
2113 * textcursor.[Ch] (last_sel_cursor): remove unused member
2115 2003-08-04 André Pönitz <poenitz@gmx.net>
2118 * BufferView_pimpl.[Ch]:
2119 * ParagraphParameters.C:
2120 * bufferview_funcs.C:
2126 * text3.C: replace "complicated" BufferView::update(...) calls with
2129 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2131 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2133 * Makefile.am (lyx_SOURCES): add paper.h
2135 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2137 * Makefile.am: move things around so that both lyx-qt and
2138 lyx-xforms can be built (according to --with-frontend). Then lyx
2139 is a symbolic link to lyx-[firstfrontend]
2141 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2143 * Always use std::endl with lyxerr
2145 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2147 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2149 2003-08-01 André Pönitz <poenitz@gmx.net>
2152 * BufferView_pimpl.[Ch]:
2154 * text3.C: merge BufferView::repaint() and BufferView::update()
2156 2003-08-01 José Matos <jamatos@lyx.org>
2158 * buffer.[Ch]: file_format is no longer a buffer data element.
2160 2003-08-01 André Pönitz <poenitz@gmx.net>
2165 * text2.C: make redoParagraph more independent of current cursor
2167 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2169 * text2.C: remove unneeded members
2171 2003-07-30 André Pönitz <poenitz@gmx.net>
2173 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2175 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2176 create a single function...
2178 * paragraph_funcs.C (moveItem): ... here.
2181 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2183 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2185 * LColor.[Ch]: Add comment and greyedout logical colors.
2187 2003-07-30 André Pönitz <poenitz@gmx.net>
2189 * tabular.C: don't use Assert too heavily. This crashes where it
2192 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2194 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2195 is disabled (bug 1232)
2197 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2199 * factory.C: limited 'arg' scope
2201 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2203 * factory.C: fixed Note submenu issues
2205 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2207 * factory.C: submenu for Note/Comment/Greyedout
2209 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2212 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2214 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2217 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2218 greyedout. Patch provided by Jürgen Spitzmüller.
2220 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2222 * kbmap.C (read): fix error message when reading bind files
2224 2003-07-29 Angus Leeming <leeming@lyx.org>
2226 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2227 certainly does not do what it purports to do. I am doing it, and
2228 us, a favour by killing it.
2230 2003-07-28 José Matos <jamatos@lyx.org>
2232 * buffer.C (readBody, do_writeFile):
2233 * paragraph.C(readParagraph): \end_document replaces \the_end.
2235 2003-07-29 André Pönitz <poenitz@gmx.net>
2238 * BufferView_pimpl.[Ch]:
2242 * textcursor.[Ch]: remove toggleToggle & Co
2244 2003-07-28 José Matos <jamatos@fep.up.pt>
2246 * buffer.C (readParagraph):
2247 * params_func (readParToken, readParagraph):
2248 * paragraph.C (write): \layout -> \begin_layout.
2250 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * lyxlex_pimpl.C (setFile): clean up slightly.
2254 * bufferparams.h: add compressed var
2256 * buffer_funcs.C (readFile): adjust for LyXLex change
2257 (newFile): ditto + simplify
2259 * buffer.C (writeFile): handle writing of compressed files
2261 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2262 Check if the file is compressed and set a bufferparm if so.
2264 * Makefile.am (lyx_LDADD): remove explicit -lz
2266 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2268 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2269 makeDocBookFile): put the real LyX version in the first line of
2273 * version.C.in: remove lyx_docversion
2275 * tabular.C (write_attribute): add a template-based version to
2276 write enums properly
2278 2003-07-28 André Pönitz <poenitz@gmx.net>
2283 * text3.C: use doubles again for x-coordinates. They are needed.
2285 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * messages.C (getLocaleDir): use lyx_localedir()
2289 * lyxlex_pimpl.C (setFile): compress stuff
2291 * buffer.C (writeFile): add some compression stuff
2292 (do_writeFile): new func, dont call expliti close... will this
2295 * Makefile.am (lyx_LDADD): add -lz
2297 2003-07-28 José Matos <jamatos@fep.up.pt>
2299 * buffer.C: increment file format.
2300 * paragraph_funcs (readParagraph, readParToken):
2301 * paragraph.C (readParagraph): add \end_layout.
2303 2003-07-27 Angus Leeming <leeming@lyx.org>
2305 * Makefile.am: remove special casing for configure-time setting of
2306 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2308 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2309 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2311 2003-07-26 André Pönitz <poenitz@gmx.net>
2313 * paragraph_func.[Ch]:
2314 * paragraph.C (realizeFont): inline it whereever it is used
2319 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2322 2003-07-26 André Pönitz <poenitz@gmx.net>
2326 * text2.C: get rid of LyXText::need_break_row
2328 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2330 * toc.[Ch]: put namespace toc inside namespace lyx
2332 * MenuBackend.C (expandToc2): adjust for lyx::toc
2335 * lyxfunc.C (dispatch): adjust for lyx::find
2337 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2338 lyx::find instead. Reorganize a bit.
2339 (LyXReplace): rename to replace
2340 (LyXFind): rename to find
2342 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2345 2003-07-26 André Pönitz <poenitz@gmx.net>
2347 * text.C (setHeightOfRow): restrict scope of temporary variable
2349 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2350 code (never has been used?)
2352 2003-07-27 Asger Alstrup <alstrup@local>
2354 * text.C (fill): Optimise algorithm to exploit that we can reuse
2355 the LyXFont for many characters.
2356 (setHeightOfRow): Same thing.
2357 (rowBreakPoint): Same thing.
2359 2003-07-26 Asger Alstrup <alstrup@local>
2361 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2363 * text.C (singleWidth): Spurious font copying in hot-spot
2364 singleWidth avoided. Reorder tests for arabic for efficiency.
2366 * text.C (fill): handle empty paragraphs better.
2368 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2371 * encoding.h: add includes
2373 * lyxrc.C: remove reading of bind files
2375 * lyx_main.C (init): setup bindings and menus only if we have a
2378 * kbmap.C (read): new method. Do the actual reading of bind
2381 * converter.C (dvipdfm_options):
2384 (output): adapt PAPER_* enums.
2386 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2388 * bufferparams.h: remove paper-related enums from there
2390 * paper.h: New file. A trivial header file to hold paper-related
2391 enums. It should later expand to contain many paper-related
2394 * lyxrc.C: declare extern displayTranslator
2396 2003-07-27 José Matos <jamatos@fep.up.pt>
2398 * tabular.[Ch] (linuxdoc): add support for tables and figures
2401 2003-07-27 José Matos <jamatos@fep.up.pt>
2403 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2404 consistency in both functions.
2405 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2407 2003-07-26 Asger Alstrup <alstrup@local>
2409 * rowpainter.C (paintRows): Change algorithm to work directly on
2410 the insets rather than asking every character in the document
2411 whether its an inset.
2413 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2415 * buffer.C (openFileWrite): factorize some code
2417 2003-07-26 Angus Leeming <leeming@lyx.org>
2420 * lyx_main.[Ch]: replace occurances of system_tempdir with
2423 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * rename Inset to InsetOld
2427 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2429 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2430 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2431 which I think is a bit clearer. EDIT is gone, since it was
2432 premature optimisation, and broken for mathed anyway.
2433 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2434 with cursor positioning in insets as well (math insets still do not
2435 work, but that's a different story anyway.) It mysteriously
2436 crashes sometimes with undo in the first paragraph, but I'm fairly
2437 confident that this is a compiler bug.
2439 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2441 * paragraph.C (Paragraph): adjust for new clone return type
2443 (copyIntoMinibuffer): ditto
2445 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2447 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2448 by not having a special case, and always doing a full rebreak of
2449 the document after undo.
2451 2003-07-23 Angus Leeming <leeming@lyx.org>
2453 * factory.C (createInset): InsetExternal::setParams now takes a
2456 2003-07-23 Angus Leeming <leeming@lyx.org>
2458 * factory.C (createInset): changed interface to the external and
2459 graphics mailers' string2params functions.
2461 2003-07-23 Angus Leeming <leeming@lyx.org>
2463 * factory.C (createInset): pass a
2464 Buffer const * parameter to InsetExternalMailer's string2params.
2466 2003-07-22 John Levon <levon@movementarian.org>
2468 * Thesaurus.h: include the right aiksaurus header
2470 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2472 * MenuBackend.C (expand): check menu shortcuts unconditionally
2474 2003-07-21 Angus Leeming <leeming@lyx.org>
2476 * factory.C (createInset): pass a
2477 buffer_path parameter to InsetGraphicsMailer's string2params.
2479 2003-07-21 Angus Leeming <leeming@lyx.org>
2481 * BufferView_pimpl.C (buffer):
2484 * lyxfunc.C (dispatch):
2485 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2486 rather than the grfx shortcut.
2488 2003-07-21 André Pönitz <poenitz@gmx.net>
2490 * rowpainter.C: remove unused variables
2493 * tabular_funcs.h: move to tabular.C
2494 * Makefile.am: adjust
2496 * tabular.[Ch]: basic optical cleaning
2498 * author.h: pass references, not values
2500 2003-07-18 André Pönitz <poenitz@gmx.net>
2508 * text3.C: two-phase drawing for InsetText and InsetTabular
2509 some float -> int changes.
2511 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2513 * lyx_main.C: fix the fix
2515 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2517 * lyx_main.C: fix a crash in batch mode if no files specified
2520 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2522 * format.[Ch] (papersize): moved to BufferParams
2523 * converter.[Ch] (dvips_options): moved to BufferParams
2524 (dvipdfm_options): moved to anon namespace
2525 * bufferparams.[Ch]: added above functions.
2527 2003-07-17 André Pönitz <poenitz@gmx.net>
2531 * text2.C: don't call inset->update() anymore
2533 * metricsinfo.[Ch]: add convenience constructor
2535 2003-07-16 André Pönitz <poenitz@gmx.net>
2540 * text2.C: replace the LyXCursor::irow_ member with
2541 on-demand computation of the value
2543 2003-07-16 John Levon <levon@movementarian.org>
2545 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2547 2003-07-15 André Pönitz <poenitz@gmx.net>
2550 * text2.C: remove no more needed refresh_row
2552 2003-07-15 André Pönitz <poenitz@gmx.net>
2557 * text3.C: refresh_status tristate -> need_update bool
2559 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2561 * lyxtext.h (init): remove reinit argument (act as if always true)
2562 * text2.C: adjust to that
2564 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2566 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2567 * text3.C: use it to delete selections in some cases
2568 (bugs 441, 673, 702, 954).
2570 2003-07-14 André Pönitz <poenitz@gmx.net>
2572 * rowpainter.[Ch]: reduce interface
2574 2003-07-14 André Pönitz <poenitz@gmx.net>
2576 * BufferView_pimpl.C:
2577 * text2.C: adjust after removing unused BufferView * argument
2579 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2581 * text2.C (init): fix a crash fired on resize
2583 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2585 * buffer.[Ch]: added new closing signal
2586 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2587 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2588 BufferView::Pimpl via the closing the signal
2590 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2592 * buffer.[Ch]: take out all bv-related from buffer
2594 * BufferView_pimpl.[Ch]: connect to new signals
2595 * CutAndPaste.C: removed useless asserts
2596 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2599 * lyxfunc.C: moved view-related funciontality from vc here
2600 * paragraph.C: removed outdated comments
2603 2003-07-10 André Pönitz <poenitz@gmx.net>
2605 * BufferView_pimpl.C:
2609 * text2.C: remove InsetText::InnerCache, clean up consequences
2611 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2613 * ispell.C: fix two typos in error messages
2615 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2617 * Extend Note inset to other forms of annotation like Comment
2618 and Greyedout. Right button click gives dialog.
2620 Files modified or added (+):
2624 * ControlNote.[Ch] +
2626 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2627 frontends/controllers
2631 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2633 * aspell.C: add missing namespace lyx::support
2635 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2637 * BufferView.[Ch] (newFile): Add
2638 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2639 * LaTeX.[Ch] (message): added this signal and use it
2640 * buffer.[Ch] (busy, message): added these signals and use them
2641 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2645 * importer.C: use buffer signals instead of direct bv calling
2646 * lyx_cb.[Ch] (ShowMessage): removed
2649 * paragraph_funcs.C:
2650 * text2.C: use buffer signals
2652 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * introduce namespace lyx::graphics
2656 2003-07-02 André Pönitz <poenitz@gmx.net>
2658 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2660 2003-07-01 André Pönitz <poenitz@gmx.net>
2667 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2668 text*.C to text_func.C
2670 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * introduce namespace lyx::support
2674 2003-06-30 André Pönitz <poenitz@gmx.net>
2679 * text.C: re-enable --with-included-string
2681 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * textcursor.C: add <config.h>
2685 * text.C (getWord): remove const from word_location arg
2687 * lyxvc.C (getLogFile): fix const type order
2689 * lyxtext.h: remove const from word_location arg, add arg name
2691 * lyxlayout.h: currect type on labeltype.
2693 * importer.C: correct \file
2695 * converter.C (intToFormat): use std:: on ret val, ws changes
2697 * bufferlist.h: correct \file
2699 * buffer.C (makeLinuxDocFile): fix const type order
2700 (makeDocBookFile): ditto
2701 (fillWithBibKeys): use std:: on stdlib args.
2703 * CutAndPaste.C: fix authors.
2704 (availableSelections): use std:: on return vector
2706 2003-06-27 André Pönitz <poenitz@gmx.net>
2708 * BufferView_pimpl.C:
2709 * bufferview_funcs.C:
2717 * text3.C: remove LyXCursor::row_ member
2720 * text.C: rename fullRebreak() to partialRebreak() and implement
2721 a fullRebreak() that really bereks fully
2723 * textcursor.h: new struct for cursor-related data
2725 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2727 * lyx_main.C (LyX): get full path of document loaded on the
2730 2003-06-26 André Pönitz <poenitz@gmx.net>
2732 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2733 remove unused/broken operator>,<,>=.
2735 * text.C: remove only use of broken operator<= in an Assert().
2737 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2739 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2740 moved errorlist_.clear to showErrorList
2742 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2744 * converter.C (scanLog, runLaTeX):
2745 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2746 move the bv->showErrorList call to the callers
2747 * lyxfunc.C: i.e. here...
2749 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2750 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2751 namespace, the second to...
2752 * buffer_funcs (BufferFormat, parseErrors): added
2753 * errorlist.C (ErrorList(TeXErrors const &)): removed
2755 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2757 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2759 2003-06-24 "Garst R. Reese" <reese@isn.net>
2763 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2765 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2767 * version.C.in: change docversion to 1.4
2769 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2771 * buffer.C: fix a bug just introduced
2773 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2775 * buffer.[Ch]: added the parseError signal and use it, removed
2777 * BufferView.[Ch] (addError): moved to ...
2778 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2779 to the Buffer::parseError signal to catch (guess what) parse errors
2780 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2782 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2784 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2785 ability to create a buffer and to return an existing one from
2786 the list. Moved these functions to...
2787 * buffer_funcs.[Ch]: added
2788 * BufferView.[Ch] (loadLyXFile): added
2789 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2790 job removed from bufferlist::loadLyXFile.
2791 * buffer.C (setReadOnly): make it work without view
2792 (i.e added an if (users))
2794 2003-06-19 Angus Leeming <leeming@lyx.org>
2797 * LyXAction.C (init):
2798 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2799 with LFUN_DIALOG_SHOW <name> <data>.
2801 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2803 * CutAndPaste.C (availableSelections): small compilation fix for
2804 ancient (gcc 2.9x) compilers
2806 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * text3.C (cursorNext): add tmp var
2810 * text2.C (updateCounters): for function calling out of for clause
2811 (replaceSelectionWithString): ditto
2812 (insertStringAsParagraphs): ditto
2813 (getColumnNearX): add tmp var
2814 (setCursorFromCoordinates): add tmp var
2815 (cursorDownParagraph): add tmp var
2816 (deleteEmptyParagraphMechanism): add tmp var
2818 * text.C (insertChar): add tmp var
2820 * rowpainter.C (paintDepthBar): add tmp var
2822 * CutAndPaste.C (availableSelections): potentially check all
2823 paragraphs in a cut to fill the shown strings.
2825 2003-06-18 André Pönitz <poenitz@gmx.net>
2827 * kbmap.[Ch]: use vector<> instead of list<>
2829 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2831 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2832 pasteSelection with index
2834 * text2.C (pasteSelection): modify, call pasteSelection with index
2836 * paragraph.C (asString): reimplement version with no interval to
2837 call the one with interval.
2839 * lyxtext.h: add index arg to pasteSelection
2841 * MenuBackend.C (MenuItem): handle PasteRecent
2842 (Menu::read::Menutags): add md_pasterecent
2844 (expandPasteRecent): new function
2847 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2849 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2851 (availableSelections): new function
2853 2003-06-17 Angus Leeming <leeming@lyx.org>
2855 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2857 2003-06-17 Angus Leeming <leeming@lyx.org>
2860 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2862 * lyxfunc.C (dispatch): invoke it.
2864 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2866 * iterators.C (operator++, ParPosition): reintroduce some
2867 const_cast for the benefit of older compilers.
2869 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2871 * text3.C (dispatch): do not modify clipboard when doing
2872 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2873 LFUN_DELETE_SKIP on a selection selection
2875 2003-06-16 André Pönitz <poenitz@gmx.net>
2881 * tabular.[Ch]: IU of clone() and getLabelList();
2883 2003-06-13 André Pönitz <poenitz@gmx.net>
2885 * tabular.h: compactification
2887 2003-06-12 André Pönitz <poenitz@gmx.net>
2891 * tabular_funcs.h: some renaming plus whitespace
2893 2003-06-12 André Pönitz <poenitz@gmx.net>
2896 * BufferView_pimpl.C:
2902 * toc.C: Return a Paragraph & for ParIterator::operator*()
2904 2003-06-11 John Levon <levon@movementarian.org>
2908 * ToolbarBackend.C: add "Toolbars" section and
2911 2003-06-10 Angus Leeming <leeming@lyx.org>
2914 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2916 * lyxfunc.C (dispatch): invoke it.
2918 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * main.C: protect <ios> with HAVE_IOS
2921 (main): protect sync_with_stdio with HAVE_IOS
2923 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2925 * text2.C (cutSelection): adjust
2926 (pasteSelection): adjust
2928 * messages.C: handle get of empty string
2930 * main.C (main): use sync_with_stdio(false)
2932 * lyxfunc.C (dispatch): adjust
2934 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2935 (WriteAs): remove unneeded BufferView arg.
2937 * bufferparams.h: use correct types on papersize, papersize2 and
2940 * bufferparams.C (readToken): adjust for type
2941 (writeLaTeX): add missing cases to switch.
2943 * bufferlist.C (quitWriteBuffer): adjust
2946 * buffer.C (asciiParagraph): remove some commented code.
2948 * CutAndPaste.C: remove current_view extern variable.
2949 (cutSelection): add BufferParams arg.
2950 (eraseSelection): add BufferParams arg.
2951 (pasteSelection): add Buffer const & arg
2953 2003-06-07 John Levon <levon@movementarian.org>
2956 * paragraph_funcs.C:
2957 * paragraph_pimpl.C:
2961 * paragraph.C: allow InsetERT to freely space lines,
2962 and some consolidation of code
2964 2003-06-06 José Matos <jamatos@fep.up.pt>
2966 * buffer.C (makeDocBookFile): fix bug #821
2968 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2970 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2972 2003-06-04 Angus Leeming <leeming@lyx.org>
2974 * buffer.C: bump format to 224.
2976 2003-06-05 André Pönitz <poenitz@gmx.net>
2978 * text2.C (redoParagraphs): remove two const_cast<>
2980 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2982 * ParagraphList.h: remove last remnants of NO_STD_LIST
2984 2003-06-03 Angus Leeming <leeming@lyx.org>
2986 * factory.C (createInset): small change to the way InsetExternal's params
2989 2003-06-04 André Pönitz <poenitz@gmx.net>
2991 * buffer.h: use Undo directly instead of shared_ptr<Undo>
2993 * paragraph_pimpl.h:
2994 * paragraph.[Ch]: some Inset -> UpdatableInset changes
2996 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2998 * undo_funcs.C: make some simple cases of undo work again
3000 2003-06-03 John Levon <levon@movementarian.org>
3002 * ispell.C: HPUX doesn't have sys/select.h
3005 2003-06-03 John Levon <levon@movementarian.org>
3007 * CutAndPaste.C: update tabular and include inset
3012 * paragraph.C: remove owningBuffer(), don't pass Buffer
3015 * factory.C: insetGraphicsParams changed
3017 2003-06-02 John Levon <levon@movementarian.org>
3023 * text3.C: remove insetparent
3025 2003-06-02 John Levon <levon@movementarian.org>
3028 * buffer.C: fix inset_iterator.end(), move out of line
3031 2003-06-01 John Levon <levon@movementarian.org>
3033 * text3.C: use a proper cut/paste when doing inset
3034 insert (from Jürgen Spitzmüller)
3036 2003-06-01 John Levon <levon@movementarian.org>
3038 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3040 2003-05-30 André Pönitz <poenitz@gmx.net>
3042 * rowpainter.C: unify second drawing phase
3044 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * trans_mgr.C: remove one case of current_view
3048 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3050 * paragraph_funcs.h: remove paragraph.h include
3052 * paragraph.h: delete NO_STD_LIST stuff
3054 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3056 * buffer.h: remove paragraph.h include
3058 * ParagraphList.C: delete file
3060 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3062 * toc.C (getTocList): adjust
3064 * paragraph_pimpl.C (validate): adjust
3066 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3068 * paragraph.C (Paragraph): adjust
3069 (getPositionOfInset): use const_iterator, adjust
3070 (bibitem): use const_iterator, adjust
3071 (setInsetOwner): adjust
3073 * iterators.C (operator++): adjust
3075 * InsetList.[Ch]: Replace selfmade iterator with standard
3076 vector::iterator also introduce const_iterator. Remove getPos,
3077 getInset and setInset from InsetTable. Adjust accordingly.
3079 * BufferView.C (lockInset): adjust
3080 (ChangeInsets): adjust
3082 * tabular.[Ch]: delete commented same_id functions
3084 2003-05-28 John Levon <levon@movementarian.org>
3086 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3088 2003-05-28 André Pönitz <poenitz@gmx.net>
3090 * metricsinfo.[Ch]: remove 'fullredraw' member
3092 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3094 * lyxtextclass.C (operator): remove caching.
3096 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * text2.C (cursorBottom): adjust
3101 (setCounter): use ParagraphList::find, adjust
3103 * text.C (workWidth): use ParagraphList::find, adjust
3105 * lyxcursor.C (LyXCursor): adjust
3107 * buffer.C (inset_iterator): adjust
3109 * ParagraphList.h: make iterator(value_type) private, make
3110 ParagraphList a friend of iterator.
3112 * ParagraphList.C (find): new function
3114 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3116 2003-05-27 André Pönitz <poenitz@gmx.net>
3118 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3120 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3122 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3124 2003-05-26 John Levon <levon@movementarian.org>
3126 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3128 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * remove same_id from function signatures, adjust.
3132 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3136 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3138 * paragraph.C (Paragraph): get rid of same_ids parameter
3140 * ParagraphList.C (insert): adjust
3143 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * paragraph_funcs.C (breakParagraph): adjust
3146 (breakParagraphConservative): adjust
3148 * buffer.C (readParagraph): adjust
3150 * ParagraphList.C (insert): take a reference instead of a pointer
3153 * paragraph.[Ch] (id): new function
3155 * bufferlist.C (newFile): adjust
3157 * ParagraphList.C (ParagraphList): adjust
3159 (push_back): take a reference instead of a pointer.
3161 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3163 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3166 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3167 set else use old code.
3169 * ParagraphList.C: remove all NO_NEXT code and only compile this
3170 code of NO_STD_LIST is set.
3172 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3174 * BufferView_pimpl.C:
3184 * graphics/GraphicsConverter.C:
3185 * graphics/PreviewLoader.C: header adjustment
3187 2003-05-23 Angus Leeming <leeming@lyx.org>
3189 * LaTeXFeatures.[Ch] (useBabel): new method.
3190 * bufferparams.C (writeLaTeX): use it.
3192 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * ParagraphList.h (set): remove unused function.
3196 2003-05-23 André Pönitz <poenitz@gmx.net>
3199 * BufferView_pimpl.C:
3203 * undo_funcs.C: setUndo reworked
3205 * iterators.[Ch]: add access to topmost ParagraphList
3207 * lyxtext.[Ch] (workWidth): add a const
3209 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3211 * texrow.[Ch] (increasePos): remove function
3212 * exporter.C (export): removed unused var and outdated comment
3214 2003-05-23 Angus Leeming <leeming@lyx.org>
3216 * latexrunparams.h: rename fragile as moving_arg.
3217 * paragraph.C (simpleTeXOnePar): ditto.
3218 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3220 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3224 (textUndoOrRedo): comment out a currently unused var.
3226 * paragraph.h (NO_NEXT): enable NO_NEXT
3228 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3230 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3232 * exporter.C (Export): adjust for removeAutoInsets removal.
3234 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3236 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3238 * BufferView.[Ch] (removeAutoInsets): delete function
3240 2003-05-22 Angus Leeming <leeming@lyx.org>
3242 * latexrunparams.h: add a free_spacing variable.
3244 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3245 to pass moving_arg, as the data is stored in runparams.fragile.
3247 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3248 to Inset::latexOptional or to simpleTeXOnePar.
3250 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3251 free_spacing arg to Inset::latexOptional.
3253 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3256 2003-05-22 Angus Leeming <leeming@lyx.org>
3258 * latexrunparams.h: add fragile and use_babel variables.
3260 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3261 * buffer.C (makeLaTeXFile): store this returned value in
3262 runparams.use_babel, thus passing it to the inset::latex methods.
3264 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3265 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3267 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3268 longer has a fragile arg, as it is stored in runparams.fragile.
3270 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3271 moving_arg parameter as the data is stored in runparams.fragile.
3273 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3274 a fragile parameter as the data is stored in runparams.fragile.
3276 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3278 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3280 2003-05-22 Angus Leeming <leeming@lyx.org>
3282 * latexrunparams.h: add a 'bool nice' which defaults to false.
3284 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3285 now encapsulated within runparams.
3287 * bufferlist.C (updateIncludedTeXfiles):
3288 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3290 2003-05-22 Angus Leeming <leeming@lyx.org>
3292 * latexrunparams.h: new file containing struct LatexRunParams.
3293 * Makefile.am: add new file.
3295 * LaTeX.[Ch] (c-tor, run):
3296 * buffer.[Ch] (makeLaTeXFile):
3297 * bufferlist.[Ch] (updateIncludedTeXfiles):
3298 * converter.C (convert, scanLog):
3299 * converter.[Ch] (runLaTeX):
3300 * exporter.C (Export):
3301 * paragraph.[Ch] (simpleTeXOnePar):
3302 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3303 * paragraph_funcs.[Ch] (latexParagraphs):
3304 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3305 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3306 pass around a LatexRunParams parameter.
3308 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * paragraph.[Ch]: remove unused constructor
3312 * ParagraphList.C (erase): new function, taking two iterators
3314 2003-05-22 André Pönitz <poenitz@gmx.net>
3316 * undo_funcs.C: remove duplicated code
3318 * iterator.[Ch]: operator=
3320 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * tabular.C (SetMultiColumn): ws changes
3324 * rowpainter.C (paintFirst): get rid of a ->previous
3326 * lyx_cb.C (getPossibleLabel): parlist simplification
3328 * BufferView.C (ChangeInsets): simplify slightly.
3330 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3332 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3333 * lfuns.h: new LFUN_SPACE
3334 * lyxfunc.C: protected space has a new lfun
3335 * paragraph_funcs.C: read new space insets
3337 * factory.C: handle new space insets
3339 2003-05-22 André Pönitz <poenitz@gmx.net>
3342 * BufferView_pimpl.C:
3345 * undo_funcs.C: return a ParIterator from getParFromID.
3347 * iterators.[Ch]: add two const's
3349 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3351 * toc.C (getTocList): adjust
3353 * iterators.[Ch]: rework for parlist
3355 * buffer.C (par_iterator_begin): adjust
3356 (par_iterator_end): adjust
3358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3360 * BufferView.C (removeAutoInsets): adjust
3361 (ChangeInsets): adjust
3363 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3365 * text.C (top_y): fix bug 1110
3367 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3369 * errorlist.[Ch]: added
3372 * BufferView_pimpl.C:
3373 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3376 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * Makefile.am: ensure that lyx is relinked upon changes to the
3379 various "convenience" libs.
3381 2003-05-20 Angus Leeming <leeming@lyx.org>
3383 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3384 files are compiled in alphabetical order again.
3386 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3388 2003-05-19 Angus Leeming <leeming@lyx.org>
3390 * gettext.[Ch]: remove "char const * _(char const *)".
3392 2003-05-19 André Pönitz <poenitz@gmx.net>
3394 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3403 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3405 2003-05-19 André Pönitz <poenitz@gmx.net>
3409 * lyxtextclass.[Ch]:
3411 * paragraph_funcs.[Ch]:
3413 * text3.C: more insetenv work
3415 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3417 * ParagraphParameters.C (params2string): small bug fixed
3419 2003-05-16 André Pönitz <poenitz@gmx.net>
3422 * bufferview_funcs.C: patch from Kornel Benko to prevent
3423 crash when _(...) is called twice in a statement
3425 2003-05-16 André Pönitz <poenitz@gmx.net>
3432 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3434 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3436 * lyx_main.C (init): remove spurious static_cast
3438 2003-05-14 André Pönitz <poenitz@gmx.net>
3440 * BufferView.C: fix format string
3442 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3444 * BufferView.[Ch] (insertErrors): removed
3445 * BufferView.[Ch] (showErrorList): added
3446 * buffer.C (runChkTeX):
3447 * converter.C (scanLog): call showErrorList instead of inserterrors
3449 2003-05-13 André Pönitz <poenitz@gmx.net>
3451 * BufferView_pimpl.C:
3453 * bufferview_func.C:
3460 * tabular_funcs.h: tostr() from its own header
3462 * ParagraphParameters.C:
3467 * text3.C: STRCONV()
3469 2003-05-12 André Pönitz <poenitz@gmx.net>
3472 * BufferView_pimpl.C:
3476 * ParagraphParameters.C:
3480 * bufferview_funcs.C:
3493 * paragraph_funcs.C:
3497 * text3.C: boost::format -> bformat all over the place
3500 2003-05-09 André Pönitz <poenitz@gmx.net>
3502 * LColor.[Ch]: Pimpl the #include <map> away
3504 2003-05-09 John Levon <levon@movementarian.org>
3506 * bufferlist.C: never remove emergency saves
3508 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * Makefile.am: better lib building
3512 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3516 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3517 (simpleTeXSpecialChars): adjust
3518 (simpleTeXSpecialChars): adjust
3519 * paragraph.C (simpleTeXOnePar): adjust
3520 * buffer.C (makeLaTeXFile): adjust
3522 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3524 * text2.C (changeDepth): parlist cleanup
3525 (getColumnNearX): ditto
3527 * rowpainter.C (getLabelFont): parlist cleanup
3529 * bufferlist.C (newFile): parlist cleanup
3531 * CutAndPaste.C (eraseSelection): parlist cleanup
3533 * BufferView_pimpl.C (trackChanges): parlist cleanup
3536 * BufferView.C (lockInset): parlist cleanup.
3537 (ChangeInsets): ditto
3539 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * CutAndPaste.h: Update file header.
3543 * CutAndPaste.C: Update file header.
3544 Store the parts cut out of the Document in a limited_stack.
3545 (copySelection): adjust
3546 (pasteSelection): new function, takes the index in the limited stack.
3547 (nrOfParagraphs): adjust
3548 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3549 simplify error inset insertion.
3550 (checkPastePossible): adjust
3552 2003-05-06 John Levon <levon@movementarian.org>
3554 * text2.C: don't cast wrap inset to float
3556 2003-05-05 André Pönitz <poenitz@gmx.net>
3559 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3561 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3562 few naked Paragraph *.
3564 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3566 * bufferparams.C: Output warning if a document with missing
3567 TeX document class is loaded
3568 * exporter.C: Disable TeX exports if the document class is missing
3571 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3572 isTeXClassAvailable()
3574 2003-05-03 John Levon <levon@movementarian.org>
3577 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3578 explicit cursor show/hide
3580 * BufferView_pimpl.h:
3581 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3582 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3584 * lyxfunc.C: hide cursor before dispatching.
3589 * text3.C: remove explicit cursor hides
3591 2003-05-02 André Pönitz <poenitz@gmx.net>
3593 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3596 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3599 * text2.C: tiny whitespace
3601 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * undo_funcs.C: almost only ws changes.
3605 * ParagraphList.C (splice): just return if pl is empty.
3607 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * ParagraphList.C (splice): new function.
3611 * CutAndPaste.C (pasteSelection): use it
3613 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * CutAndPaste.C (pasteSelection): remove the last next and
3616 previous from this file.
3618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * CutAndPaste.C (pasteSelection): more clean up, user proper
3621 ParagraphList functions for pasteing.
3623 * ParagraphList.C (insert): new function, three arg insert
3625 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3627 * ParagraphList.C (insert): new function, three arg insert
3629 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3632 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3636 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3640 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3642 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3643 (copySelection): clean up a bit.
3644 (pasteSelection): use make_pair
3646 * ParagraphList.C (ParagraphList): implement copy constructor
3647 (operator=): implement, base on copy constructor.
3650 * paragraph.C (erase): return a bool
3652 * paragraph_pimpl.C (erasePos): remove function, move contents...
3653 (erase): ... here. Return a bool.
3654 (erase): call erase instead of erasePos.
3656 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3658 * ParagraphList.h: define PitPosPair
3659 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3660 ParagraphList, fix a bug on pasting multiple pars
3661 * text2.C: change interface to C&P
3663 2003-04-30 André Pönitz <poenitz@gmx.net>
3665 * undo_func.C: revert part of yesterday's patch 2
3667 2003-04-30 John Levon <levon@movementarian.org>
3669 * LColor.C: s/tabular/table/
3671 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3673 * text3.C (dispatch): do not convert iterator -> pointer
3674 * undo_funcs.C (setCursorParUndo): ditto
3675 * text_funcs.C (transposeChars): ditto
3677 * text2.C (setLayout): ws changes only
3679 * text.C (breakParagraph): do not convert iterator -> pointer
3681 (acceptChange): ditto
3682 (rejectChange): ditto
3687 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3690 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3692 * text3.C (gotoInset): YABG (yet another bad getChar)
3694 2003-04-29 André Pönitz <poenitz@gmx.net>
3696 * paragraph.h: make operator= private unimplemented as long as
3699 * ParagraphList.C: whitespace
3702 * paragraph_pimpl.[Ch]:
3703 * paragraph_funcs.C:
3705 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3708 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3710 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3712 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3713 * paragraph.[Ch] (erase):
3714 * paragraph_pimpl.[Ch] (erase): change return type and value
3715 * text2.C (cutSelection): some rework
3717 2003-04-28 John Levon <levon@movementarian.org>
3719 * bufferlist.C: changes for unsaved changes dialog
3721 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * bufferlist.C (newFile): set language (messages_) for new
3726 * buffer.C (readFile): ws changes only.
3728 2003-04-28 André Pönitz <poenitz@gmx.net>
3733 * BufferView_pimpl.C:
3734 * BufferView.C: getParFromID related ParagraphList::iterator changes
3736 2003-04-28 André Pönitz <poenitz@gmx.net>
3738 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3741 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * messages.C: remove one more localedir class variable.
3745 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3747 * messages.C (getLocaleDir): singleton generation function
3749 (Messages): add a default constructor.
3751 * main.C (main): do not setup localedir here, do not call
3754 * gettext.C (_): use it.
3755 (gettext_init): delete funciton
3757 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3759 * gettext.C (getLyXMessages): new singleton generating function.
3761 * buffer.C (updateDocLang): adjust
3763 * Makefile.am (messages.o): add target
3764 (main.o): remove target
3766 2003-04-27 John Levon <levon@movementarian.org>
3771 * lyxvc.C: specify cancel button in Alert::prompt
3773 2003-04-26 John Levon <levon@movementarian.org>
3778 * LyXAction.C: add LFUN_INSET_SETTINGS
3780 * lyxfunc.C: don't enable tabular-feature when there's
3781 just any locking inset
3783 2003-04-26 John Levon <levon@movementarian.org>
3785 * bufferlist.C: re-add Cancel to buffer close question
3787 * lyxfunc.C: fix import UI a bit
3789 2003-04-25 John Levon <levon@movementarian.org>
3791 * gettext.C: remove the broken asserts for now
3793 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * messages.C: make case where setlocale cannot comply work better.
3797 * buffer.C (updateDocLang): new function
3798 (changeLanguage): use it
3801 * text2.C (setCounter): use B_ a bit.
3803 * lyxlayout.C (Read): be sure to trim the label strings.
3805 * messages.C (Messages): fix typo in comment
3807 * buffer.C (readFile): set message_ after file is loaded.
3808 (makeDocBookFile): remove double return
3809 (changeLanguage): reset message_ upon language change.
3810 (B_): new func, use this to get translated buffer strings.
3812 * main.C: add myself and Jean Marc as authors.
3814 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * messages.[hC]: pimplify Messages, and three different pimpls to be
3817 used in different circumstances.
3819 * gettext.[Ch]: change for use with new message code.
3821 2003-04-24 André Pönitz <poenitz@gmx.net>
3823 * factory.C: support for eqref
3825 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3827 * messages.[Ch]: add missing char
3829 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3831 * messages.[Ch]: New files
3833 2003-04-18 John Levon <levon@movementarian.org>
3837 * BufferView_pimpl.C:
3841 * text2.C: remove layout-copy/paste (bug 778)
3843 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3845 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3847 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3849 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3850 if they succeed. Act accordingly.
3852 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * text2.C (setCharFont): adjust
3855 (setCounter): adjust
3856 (insertStringAsLines): adjust
3858 * text.C (leftMargin): adjust
3859 (setHeightOfRow): adjust
3861 * rowpainter.C (paintFirst): adjust
3864 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3866 (isFirstInSequence): ditto
3867 (getEndLabel): ditto
3870 * paragraph.C (getParLanguage): comment out some hard stuff.
3872 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3874 (simpleDocBookOnePar): ditto
3875 (makeDocBookFile): use ParagraphList::iterator
3877 * CutAndPaste.C (pasteSelection): adjust
3879 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * text2.C (getFont): adjust
3882 (getLayoutFont): adjust
3883 (getLabelFont): adjust
3885 * paragraph_funcs.C (TeXOnePar): adjust
3887 * buffer.C (simpleLinuxDocOnePar): adjust
3888 (simpleDocBookOnePar): adjust
3890 * CutAndPaste.C (pasteSelection): adjust
3892 * BufferView.C (getEncoding): adjust
3894 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3896 2003-04-16 John Levon <levon@movementarian.org>
3898 * lyxfind.C: use parlist stuff for search/changes
3900 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3904 * text2.C (deleteEmptyParagraphMechanism): adjust
3906 * text2.[Ch] (ownerParagraph): delete func (both of them
3908 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3910 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3912 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * ParagraphList.C: prepare for NO_NEXT
3916 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3918 * text2.C (getFont): adjust
3919 (getLayoutFont): adjust
3920 (getLabelFont): adjust
3922 * paragraph.C (getFont): adjust
3923 (getLabelFont): adjust
3924 (getLayoutFont): adjust
3926 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3928 2003-04-15 John Levon <levon@movementarian.org>
3932 * lyx_main.C: handle Include in .ui files
3934 2003-04-15 John Levon <levon@movementarian.org>
3936 * MenuBackend.C: make the doc files length shorter
3939 * ToolbarBackend.C: handle toolbar placement flags,
3942 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3947 * paragraph_funcs.C (TeXOnePar): adjust
3949 * paragraph.C (getLabelFont): add outerfont arg, adjust
3950 (getLayoutFont): ditto
3951 (simpleTeXOnePar): adjust
3953 * paragraph_pimpl.C (realizeFont): delete func
3955 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3957 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3958 row argument, constify cur argument.
3960 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * text2.C (getFont): adjust
3963 (getLayoutFont): adjust
3964 (getLabelFont): adjust
3966 * paragraph_funcs.C (TeXOnePar): adjust
3967 (outerFont): new func...
3968 (realizeFont): ...moved out from here, changed this to facilitate
3971 * paragraph.C (getFont): take outerfont as arg, adjust
3972 (simpleTeXOnePar): add outerfont arg, adjust
3974 * buffer.C (simpleLinuxDocOnePar): adjust
3975 (simpleDocBookOnePar): adjust
3977 * CutAndPaste.C (pasteSelection): adjust
3979 * BufferView.C (getEncoding): adjust
3981 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3983 * text2.C (setCharFont): adjust
3984 (setCounter): adjust
3986 * text.C (leftMargin): adjust
3987 (setHeightOfRow): adjust
3989 * rowpainter.C (paintFirst): adjust
3992 * paragraph_pimpl.C (realizeFont): adjust
3994 * paragraph.C (isFirstInSequence): move from here...
3995 * paragraph_funcs.C (isFirstInSequence): ...to here
3997 * paragraph.C (outerHook): move from here...
3998 * paragraph_funcs.C (outerHook): ...to here
4000 * paragraph.C (depthHook): move from here...
4001 * paragraph_funcs.C (depthHook): ...to here
4003 * paragraph.C (getEndLabel): move from here...
4004 * paragraph_funcs.C (getEndLabel): ...to here
4006 * text2.C (realizeFont): move from here...
4007 * paragraph_funcs.C (realizeFont): ...to here
4009 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4011 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4013 2003-04-14 Angus Leeming <leeming@lyx.org>
4015 * LColor.[Ch]: scrap LColor mathcursor.
4017 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4019 * lyxlex.[Ch] (text): delete function
4020 * trans.C (Load): adjust
4021 * paragraph_funcs.C (readParToken): adjust
4023 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4025 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4026 vector<char> instead of a char[].
4028 * lyxlex_pimpl.C (getString): adjust
4030 (lex): use getString
4034 * lyxlex.C (text): use pimpl_->getString()
4038 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4041 (makeFontEntriesLayoutSpecific): temp var for par.size()
4042 (setLayout): temp var for ownerParagraphs().end()
4043 (fullRebreak): temp var for rows().end()
4044 (selectionAsString): temp var for boost::next(startpit), realize
4045 that the while really is a regular for loop.
4046 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4047 setCursor in one place.
4048 (setParagraph): temp vr for ownerParagraphs().end()
4049 (updateCounters): make the while loop a for loop
4050 (cutSelection): temp var for ownerParagraphs().end()
4051 (updateInset): make the do {} while() a regular for loop
4052 (getCursorX): use temp vars
4053 (setCurrentFont): use temp vars
4054 (getColumnNearX): use temp vars
4056 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * text.C (transformChar): use temp var for getChar
4059 (computeBidiTables): use temp var for row->par()
4060 (fill): move temp vars for row->par() and pit->layout() earlier in
4062 (labelFill): use temp var for row->par()
4063 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4064 asc and desc, realize that pit never changes and that firstpit is
4065 just a duplicate and not needed. Exchange rit->par() with pit in a
4067 (breakAgain): use a temp var for boost::next(rit)
4068 (breakAgainOneRow): ditto
4069 (breakParagraph): use a temp var for rows().begin()
4070 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4071 (cursorRightOneWord): use temp var for cursor.par() and
4072 cursor.pos(), remove usage of tmpcursor.
4073 (cursorLeftOneWord): use temp var for cursor.par() and
4074 cursor.pos() only set cur at end of function.
4076 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * text.C, text2.C: exchange all usage of Paragraph::next with
4079 boost::next(ParagraphList::iterator)
4081 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4083 * text2.C (cursorTop): simplify implementation
4084 (cursorBottom): ditto
4085 (setParagraph): use ParagraphList::iterator
4086 (setCurrentFont): adjust
4087 (getColumnNearX): adjust
4088 (cursorRight): adjust
4089 (cursorLeft): remove usage of Paragraph::previous
4090 (cursorUpParagraph): ditto
4091 (deleteEmptyParagraphMechanism): slight cleanup
4093 * text.C (isBoundary): take a Paragraph const & instead of a
4095 (addressBreakPoint): ditto
4096 (leftMargin): remove usage of Paragraph::previous.
4097 (setHeightOfRow): ditto
4098 (cursorLeftOneWord): ditto
4099 (selectNextWordToSpellcheck): ditto
4102 (breakParagraph): remove one usage of Paragraph::next
4103 (redoParagraph): ditto
4104 (acceptChange): ditto
4105 (insertChar): adjust
4106 (rowBreakPoint): adjust
4108 * bufferview_funcs.C (toggleAndShow): adjust
4110 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4112 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4113 methods to access it.
4115 * text.C: Added updateRowPositions to compute all row positions.
4116 Make top_y and getRowNearY() to use the cached y position
4118 2003-04-11 John Levon <levon@movementarian.org>
4120 * text.C (rowBreakPoint): reintroduce the labelEnd
4121 checks, code copied from the row fill stuff. Deep voodoo.
4123 * text.C (fill): add a comment and debugging for the
4126 2003-04-11 John Levon <levon@movementarian.org>
4128 * text.C: make sure fullrow insets get wrapped to the next line,
4129 even when they're in a manual label
4131 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * text2.C (insertParagraph): make it take ParagraphList::iterator
4135 (setLayout): make it return ParagraphList::iterator
4136 (redoParagraphs): ditto
4138 (checkParagraph): ditto
4140 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4142 * text2.C: adjust several funcs.
4143 (realizeFont): take a ParagraphList::iterator as arg.
4144 (getLayoutFont): ditto
4145 (getLabelFont): ditto
4146 (setCharFont): ditto
4148 * text.C: adjust several funcs.
4150 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4152 * text.C (selectNextWordToSpellcheck): don't accidentally
4155 2003-04-10 John Levon <levon@movementarian.org>
4157 * ToolbarBackend.C (getIcon): special handling for
4160 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4162 * text2.C (cursorRight): a getChar assert fixed
4164 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4166 * text2.C (getFont): change to take a ParagraphList::iterator
4167 instead of Paragraph*
4168 Adjust several functions.
4170 * text.C (transformChar): change to take a ParagraphList::iterator
4171 instead of Paragraph*
4172 (singleWidth): ditto
4173 Adjust several functions.
4175 * rowpainter.C: adjust several functions
4176 * rowpainter.h:store a ParagraphList::iterator and not a
4180 2003-04-09 John Levon <levon@movementarian.org>
4185 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4186 and the "help" bits as well
4188 2003-04-09 John Levon <levon@movementarian.org>
4191 * ToolbarBackend.C: allow multiple toolbars
4193 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * undo_funcs.C (setCursorParUndo): adjust
4197 * text_funcs.C (transposeChars): adjust
4199 * text3.C (gotoNextInset): adjust
4202 * text2.C (setLayout): adjust
4203 (changeDepth): adjust
4205 (redoParagraphs): adjust
4206 (selectionAsString): adjust
4207 (setParagraph): adjust
4208 (insertInset): adjust
4209 (cutSelection): adjust
4210 (copySelection): adjust
4211 (pasteSelection): adjust
4212 (insertStringAsLines): adjust
4213 (updateInset): adjust
4214 (setCursor): change to take a ParagraphList::iterator parameter
4215 (setCursorIntern): change to take a ParagraphList::iterator parameter
4216 (setCurrentFont): adjust
4217 (cursorLeft): adjust
4218 (cursorRight): adjust
4219 (deleteEmptyParagraphMechanism): adjust
4221 * text.C (breakParagraph): adjust
4222 (insertChar): adjust
4223 (acceptChange): adjust
4224 (rejectChange): adjust
4225 (selectNextWordToSpellcheck): adjust
4226 (changeCase): adjust
4230 * lyxfind.C (SearchForward): adjust
4231 (SearchBackward): adjust
4232 (nextChange): adjust
4234 * lyxcursor.C (par): adjust
4236 * lyxcursor.h: store a ParagraphList::iterator instead of a
4239 * lyx_cb.C (getPossibleLabel): adjust
4241 * bufferview_funcs.C (toggleAndShow): adjust
4243 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4246 * BufferView.C (removeAutoInsets): adjust
4247 (lockedInsetStoreUndo): adjust
4249 2003-04-09 John Levon <levon@movementarian.org>
4251 * ToolbarBackend.C: try icon without argument
4252 if with argument fails
4254 2003-04-08 John Levon <levon@movementarian.org>
4257 * ToolbarBackend.C: add getIcon(), handle tooltip,
4258 and change from "Icon" to "Item".
4260 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4262 * BufferView.C (lockInset): another bad getchar crunched
4264 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4266 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4269 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4271 * lyxfind.C (searchForward, searchBackwards): bug 782
4273 2003-04-07 John Levon <levon@movementarian.org>
4275 * paragraph.C: remove dead comment
4277 * text.C: remove troublesome depth-fiddling code
4278 in leftMargin() and rightMargin() (bug 1017)
4280 * text.C: fix breaking of rows in nested lists
4283 * text2.C (updateCounters): fix up depth values
4286 2003-04-07 John Levon <levon@movementarian.org>
4288 * BufferView_pimpl.C: clear message when doc finishes resizing,
4289 and after a mouse event
4291 * lyxfunc.C: clear message after exiting inset
4293 2003-04-07 John Levon <levon@movementarian.org>
4295 * bufferview_funcs.C: show math status not outside
4296 status in the statusbar
4298 2003-04-07 John Levon <levon@movementarian.org>
4300 * lyxfunc.C: note status changed after a depth change
4302 2003-04-04 Angus Leeming <leeming@lyx.org>
4304 * LaTeX.h: move AuxInfo operator==, != out of line.
4305 Remove LaTeX virtual destructor; nothing derives from it.
4306 Move operator()() out of public area and rename it startscript().
4307 Change protected for private.
4309 2003-04-04 Angus Leeming <leeming@lyx.org>
4312 * text2.C: remove unneeded #includes.
4314 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4316 * text2.C (dEPM): fix the heigth of the next row
4318 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4320 * text.C: squashed an invalid getChar requester + some ws changes
4322 2003-04-03 John Levon <levon@movementarian.org>
4324 * bufferview_funcs.h:
4325 * bufferview_funcs.C:
4328 * text2.C: make getStatus work for the env depth lfuns
4330 2003-04-03 John Levon <levon@movementarian.org>
4332 * bufferview_funcs.h:
4333 * bufferview_funcs.C:
4336 * text2.C: parlistize decDepth(), by merging it with incDepth()
4338 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * lyxrow.h: store a ParagraphList::iterator instead of a
4341 Paragraph* and adjust other class functions to suit.
4343 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4346 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4348 * text2.C (setCursor): do not anchor to cursor row for the time being
4350 2003-04-02 John Levon <levon@movementarian.org>
4357 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4359 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * paragraph.h: make ParagraphList and ParagraphList::iterator
4362 friends of Paragraph.
4364 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4366 * ParagraphList.C: Use the private next_ and previous_ from
4369 2003-04-01 John Levon <levon@movementarian.org>
4373 * Makefile.am: rename, remove defaults gunk
4376 * MenuBackend.C: remove defaults gunk
4379 * Languages.C: remove defaults gunk
4382 * lyx_main.C: error out if files couldn't be found.
4384 2003-04-02 John Levon <levon@movementarian.org>
4386 * text2.C: make incDepth() use parlist
4388 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * undo_funcs.C (firstUndoParagraph): adjust
4392 * text3.C (gotoInset): adjust
4393 (dispatch): adjust, and rewrite loop.
4395 * text2.C (init): adjust, and rewrite loop.
4396 (redoParagraphs): adjust
4397 (updateInset): adjust, and rewrite loop.
4398 (deleteEmptyParagraphMechanism): adjust
4400 * tabular.C (LyXTabular): adjust
4401 (SetMultiColumn): adjust
4404 * lyxtext.[Ch] (ownerParagraph): delete function
4405 (ownerParagraphs): new function returns a ParagraphList.
4407 * BufferView.C (removeAutoInsets): adjust
4408 (insertErrors): adjust
4409 (setCursorFromRow): adjust
4411 2003-04-01 Angus Leeming <leeming@lyx.org>
4413 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4416 2003-04-02 John Levon <levon@movementarian.org>
4422 * text_funcs.C: make transposeChars a free function
4424 * lyxrow_funcs.C: remove wrong comment
4426 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4429 * rowpainter.C: adjust
4434 * lyxrow_funcs. [Ch]: new files
4436 * lyxrow.[Ch]: remove next and previous pointers
4437 (next,previous): remove accessor functions
4438 (isParEnd): move to lyxrow_funcs
4439 (lastPos): move to lyxrow_funcs
4440 (nextRowIsAllInset): move to lyxrow_funcs
4441 (lastPrintablePos): move to lyxrow_funcs
4442 (numberOfSeparators): move to lyxrow_funcs
4443 (numberOfHfills): move to lyxrow_funcs
4444 (numberOfLabelHfills): move to lyxrow_funcs
4445 (hfillExpansion): move to lyxrow_funcs
4449 * bufferview_funcs.C (toggleAndShow): adjust
4451 * RowList.h: Remove class RowList from file leave just a
4454 * RowList.C: delete file
4456 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4459 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4461 * text3.C (cursorPrevious): adjust
4462 (cursorNext): adjust
4465 * text2.C (redoHeightOfParagraph): adjust
4466 (redoDrawingOfParagraph): adjust
4469 * text.C (breakParagraph): adjust
4470 (insertChar): adjust
4473 * rowpainter.C (RowPainter): adjust
4474 (leftMargin): simplify and adjust
4475 (most rowpainter functions): adjust.
4477 * rowpainter.h: store the row as RowList::iterator not as Row*
4479 * lyxcursor.C (row): taka RowList::iterator as arg
4482 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4485 2003-04-01 Angus Leeming <leeming@lyx.org>
4487 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4488 stuff like bool Bool.
4490 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4492 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4495 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4497 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4500 * lyxtext.h (rows): drop one version and leve a const variant that
4501 returns a RowList::iterator.
4503 2003-03-31 Angus Leeming <leeming@lyx.org>
4505 * text.C (fill): ensure that the signature is the same as that in the
4508 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4510 * text2.C (redoParagraphs): adjust
4511 (updateCounters): adjust
4512 (checkParagraph): adjust
4513 (getColumnNearX): adjust and reformat a bit.
4515 * text.C (top_y): adjust
4517 (leftMargin): adjust
4518 (prepareToPrint): adjust
4520 (getRowNearY): adjust
4522 * lyxtext.h: make rowlist_ mutable.
4524 * RowList.h: add const_iterator
4525 * RowList.C: adjust for RowList::const_iterator.
4527 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4530 2003-03-31 John Levon <levon@movementarian.org>
4533 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4535 * lyx_main.C: set default fonts from using lyx_gui funcs
4537 * exporter.C: pdf_mode moved from lyxrc
4540 * lyxfunc.C: changes from above
4542 2003-03-31 John Levon <levon@movementarian.org>
4544 * lyx_main.C: fix to the last fix
4546 2003-03-31 John Levon <levon@movementarian.org>
4548 * bufferlist.C: "Load original" -> "Load Original"
4554 * format.C: more Alert cleanups
4556 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4558 * text2.C (removeParagraph): make it take a RowList::iterator as
4560 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4561 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4563 * text.C (anchor_row): make it take a RowList::iterator as arg,
4565 (computeBidiTables): make it take a const reference to Row instead
4566 of Row pointer, adjust.
4567 (leftMargin): make it take a RowList::iterator as arg, adjust.
4568 (rowBreakPoint): adjust
4569 (breakAgainOneRow): make it take a RowList::iterator as arg,
4571 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4573 * bufferview_funcs.C (toggleAndShow): adjust
4575 2003-03-30 John Levon <levon@movementarian.org>
4579 * boost-inst.C: moved to support
4581 * several files: changes as a result
4583 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4585 * text2.C (LyXText): adjust.
4587 (removeRow): make it take a RowList::iterator as arg, adjust.
4588 (fullRebreak): adjust
4589 (deleteEmptyParagraphMechanism): adjust
4590 (clearPaint): adjust
4593 * text.C (top_y): adjust
4594 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4595 (breakAgain): make it take a RowList::iterator as arg, adjust.
4596 (breakParagraph): adjust
4597 (insertChar): adjust
4600 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4601 need_break_row, and refresh_row.
4603 * text3.C (dispatch): adjust
4605 * text2.C (checkParagraph): adjust
4607 (setCursorFromCoordinates): adjust
4609 * text.C (top_y): adjust
4611 (getRow): make it return a RowList::iterator, adjust
4612 (getRowNearY): make it return a RowList::iterator, adjust
4614 * text2.C (init): adjust
4615 (insertRow): remove function
4616 (insertParagraph): adjust
4617 (redoParagraphs): adjust
4618 (fullRebreak): adjust
4619 (updateCounters): adjust
4621 * text.C (top_y): rewrite to use RowList iterators.
4623 (setHeightOfRow): rewrite to sue RowList iterators.
4624 (appendParagraph): adjust
4625 (breakAgain): adjust
4626 (breakAgainOneRow): adjust
4627 (breakParagraph): adjust
4629 (getRowNearY): adjust, and remove commented code.
4631 * lyxtext.h (firstRow): delete function
4632 (lastRow): delete function
4633 (rows): new function (const and non-const versions.)
4634 (insertRow): delete function
4636 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4638 2003-03-29 John Levon <levon@movementarian.org>
4640 * BufferView_pimpl.C: always update scrollbar top
4641 because pasting text when we're anchored could mean we
4642 miss an update altogether
4644 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * text2.C (init): use rowlist_.end() and not 0.
4647 (insertRow): change to take a RowList::iterator as arg, adjust
4649 (insertParagraph): change to take a RowList::iterator as arg,
4651 (redoParagraphs): remove some debug msgs.
4653 * text.C (appendParagraph): change to take a RowList::iterator
4654 arg, adjust for this.
4655 (breakAgain): add an assert
4656 (breakAgainOneRow): ditto
4658 2003-03-29 John Levon <levon@movementarian.org>
4660 * text2.C: do not clear selection after inc/decDepth
4663 2003-03-29 John Levon <levon@movementarian.org>
4666 * buffer.C: fix broken strerrors according to Lars
4668 2003-03-29 John Levon <levon@movementarian.org>
4670 * converters.C: more Alert cleanups
4672 2003-03-29 John Levon <levon@movementarian.org>
4674 * bufferview_funcs.C: remove pointless Alert
4676 * buffer.C: fix confusing error message when
4677 a template is chmoded 000
4679 2003-03-29 John Levon <levon@movementarian.org>
4683 * BufferView_pimpl.C: Alert fixes
4687 * tabular-old.C: remove unused table compat reading
4689 2003-03-29 John Levon <levon@movementarian.org>
4694 * lyx_cb.C: more Alert cleanups
4696 * lyxfunc.C: don't allow chktex if not latex document
4698 2003-03-29 John Levon <levon@movementarian.org>
4702 * buffer.C: warnings pushed down from support/,
4705 2003-03-29 John Levon <levon@movementarian.org>
4707 * lyxfunc.C: safety check for C-r (revert)
4709 2003-03-29 John Levon <levon@movementarian.org>
4712 * bufferlist.C: several UI fixes using Alert::prompt.
4713 Fix the pointless looping quit code. Fix stupid revert
4718 * lyx_cb.C: use Alert::prompt
4720 * lyx_main.C: remove a silly question
4722 * lyxfunc.C: remove a couple of silly questions,
4725 2003-03-28 John Levon <levon@movementarian.org>
4727 * text2.C: fix bug 974 (End on empty par)
4729 2003-03-28 John Levon <levon@movementarian.org>
4731 * BufferView_pimpl.C:
4733 * lfuns.h: remove do-nothing math greek lfuns
4735 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4737 * lyxgluelength.h (isValidGlueLength): add default arg on
4738 parameter 2. Remove default arg from friend in class.
4740 * lyxlength.h (isValidLength): add default arg on parameter 2.
4741 Remove default arg from friend in class.
4743 * text2.C (LyXText): adjust, initialize refresh_row.
4747 (insertParagraph): adjst
4748 (redoParagraphs): adjust
4749 (fullRebreak): adjust
4750 (updateCounters): adjust
4751 (deleteEmptyParagraphMechanism): first attempt at fixing a
4754 * text.C (top_y): adjust
4755 (setHeightOfRow): adjust
4757 (getRowNearY): adjust
4759 * lyxtext.h: include RowList.h
4760 (~LyXText): not needed anymore, deleted.
4761 (firstRow): modify for RowList
4762 (lastRow): new function
4763 Delete firstrow and lastrow class variables, add a Rowlist
4764 rowlist_ class variable.
4766 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4769 * RowList.C (insert): fix case where it == begin().
4771 2003-03-26 Angus Leeming <leeming@lyx.org>
4773 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4774 the thesaurus dialog.
4776 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4780 * RowList.[Ch]: new files
4782 * ParagraphList.C (erase): handle the case where it == begin
4785 2003-03-25 John Levon <levon@movementarian.org>
4789 * aspell.C: add new aspell support
4792 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4795 2003-03-25 Angus Leeming <leeming@lyx.org>
4798 * LyXAction.C (init): new LFUN_INSET_INSERT.
4800 * BufferView_pimpl.C (dispatch): split out part of the
4801 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4803 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4806 2003-03-25 Angus Leeming <leeming@lyx.org>
4808 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4810 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4813 * text3.C: remove useless row->height(0)
4815 2003-03-25 John Levon <levon@movementarian.org>
4819 * text3.C: rename the refreshing stuff to better names
4821 2003-03-24 John Levon <levon@movementarian.org>
4823 * BufferView_pimpl.h:
4824 * BufferView_pimpl.C: update layout choice on a mouse
4827 2003-03-23 John Levon <levon@movementarian.org>
4829 * Makefile.am: fix commandtags.h reference
4831 2003-03-22 John Levon <levon@movementarian.org>
4833 * BufferView_pimpl.C:
4838 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4840 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4843 * text.C: take the rtl methods out of line
4845 2003-03-21 André Pönitz <poenitz@gmx.net>
4847 * metricsinfo.[Ch]: new files containing structures to be passed around
4848 during the two-phase-drawing...
4850 2003-03-21 André Pönitz <poenitz@gmx.net>
4852 * lyxtextclass.C: read 'environment' tag.
4854 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4856 * text2.C (removeRow): fix bug 964
4858 2003-03-20 John Levon <levon@movementarian.org>
4862 * text2.C: paint cleanups. Inset::update() dropped font
4865 2003-03-19 John Levon <levon@movementarian.org>
4867 * lyxfunc.C: only fitcursor/markDirty if available()
4869 2003-03-19 John Levon <levon@movementarian.org>
4871 * commandtags.h: rename to ...
4873 * lfuns.h: ... this, and renumber / cleanup
4875 2003-03-19 John Levon <levon@movementarian.org>
4877 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4878 fit the cursor after an lfun
4882 * BufferView_pimpl.h:
4883 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4885 * LyXAction.C: layout-character should have ReadOnly
4887 * ParagraphParameters.C:
4889 * bufferview_funcs.C:
4896 * undo_funcs.C: changes from above
4898 2003-03-18 John Levon <levon@movementarian.org>
4900 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4901 remove it from update()
4903 * lyxfunc.C: update layout choice after an lfun
4905 * text3.C: remove extra updateLayoutChoice()s
4907 2003-03-18 John Levon <levon@movementarian.org>
4909 * text.C: top_y change means full repaint, fix
4910 a drawing bug with cursor movement
4912 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4916 * text2.C: anchor row on setCursor
4918 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4920 * lyxtext.h: remove almost all mutable keywords
4923 * text3.C: remove const keywords accordingly
4925 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4929 (TeXEnvironment): ditto
4932 2003-03-17 John Levon <levon@movementarian.org>
4934 * text.C (rowBreakPoint): remove attempt to fix displayed
4935 math insets inside a manual label
4937 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * lyxtext.h: remove BufferView* as first arg from almost all class
4941 * other files: adjust.
4943 2003-03-17 John Levon <levon@movementarian.org>
4947 * text2.C: more paint cleanups
4949 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4952 * rowpainter.C: remove "smart" background painting code
4954 2003-03-16 John Levon <levon@movementarian.org>
4959 * text3.C: add helper functions for setting refresh_row/y
4961 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4963 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4964 newline inset which *can* get inserted in the pass_thru layouts.
4965 This is primarily for literate documents.
4967 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4969 * buffer.C: increment LYX_FORMAT to 223
4971 2003-03-14 André Pönitz <poenitz@gmx.net>
4973 * textclass.h: prepare for environment handling, ws changes
4974 * lyxlayout.C: read latexheader and latexfooter tags
4976 2003-03-14 John Levon <levon@movementarian.org>
4978 * text2.C: rewrite ::status() a bit
4980 2003-03-13 John Levon <levon@movementarian.org>
4982 * lyxtext.h: add some docs
4984 2003-03-13 John Levon <levon@movementarian.org>
4989 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4991 2003-03-13 John Levon <levon@movementarian.org>
4993 * text3.C: fix appendix redrawing
4995 2003-03-13 John Levon <levon@movementarian.org>
4997 * text.C (setHeightOfRow):
4999 * rowpainter.C: make appendix mark have the text
5000 "Appendix" so the user knows what it is
5003 * LColor.C: s/appendixline/appendix/ from above
5005 2003-03-13 John Levon <levon@movementarian.org>
5007 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5009 * text.C: fix a getChar(pos) bug properly
5011 2003-03-13 Angus Leeming <leeming@lyx.org>
5014 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5015 Probably only temporary. Let's see how things pan out.
5017 * BufferView.C (unlockInset):
5018 * BufferView_pimpl.C (fitCursor):
5019 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5021 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5022 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5024 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5025 new functions that convert ParagraphParameters to and from a string.
5027 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5028 BufferView::Pimpl's dispatch.
5029 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5031 2003-03-13 André Pönitz <poenitz@gmx.net>
5035 * factory.C: make it aware of InsetEnv
5037 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * text2.C (setCursor): never ask for one past last
5040 (setCursor): add some debugging messages.
5042 * text.C (singleWidth): never ask for one past last
5043 (singleWidth): ditto
5045 (rightMargin): ditto
5046 (rowBreakPoint): ditto
5047 (setHeightOfRow): ditto
5048 (prepareToPrint): ditto
5050 * rowpainter.C (paintBackground): never ask for one past last
5051 (paintText): never ask for one past last
5053 * paragraph_pimpl.C (getChar): make the assert stricter, never
5054 allow the one past last pos to be taken
5056 * paragraph.C (getChar): ws changes only
5058 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5059 (numberOfSeparators): ditto
5060 (numberOfHfills): ditto
5062 2003-03-12 John Levon <levon@movementarian.org>
5068 * paragraph_funcs.C: fix per-buffer authorlists
5070 2003-03-12 John Levon <levon@movementarian.org>
5072 * text.C: fix newline in right address
5074 2003-03-12 Angus Leeming <leeming@lyx.org>
5076 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5077 duplicate those in LyXFunc::dispatch.
5081 * ToolbarDefaults.C:
5082 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5083 Add LFUN_FONTFREE_UPDATE.
5085 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5086 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5088 * bufferview_func.[Ch]: several new functions to facilliate
5089 transfer of data to and from the character dialog.
5091 2003-03-12 John Levon <levon@movementarian.org>
5096 * paragraph_funcs.C:
5097 * paragraph_pimpl.C:
5101 * text3.C: remove META_NEWLINE in favour of an inset
5104 * rowpainter.C: remove paintNewline (done by inset)
5106 2003-03-12 John Levon <levon@movementarian.org>
5108 * paragraph_pimpl.C: complain about bad getChar()s
5109 for a while at least
5111 2003-03-12 John Levon <levon@movementarian.org>
5114 * buffer.C: move paragraph read into a separate function,
5115 a little renaming to reflect that.
5118 * bufferparams.C: remove the author_ids map, not necessary now
5121 * factory.C: moved Buffer::readInset to here
5123 * paragraph_funcs.h:
5124 * paragraph_funcs.C: readParagraph free function moved from
5127 * tabular.C: name change
5129 2003-03-12 John Levon <levon@movementarian.org>
5132 * ParagraphParameters.C: move par params input to
5135 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5136 behave like a normal read from the stream wrt reading
5137 a line vs. a \\token
5139 2003-03-12 John Levon <levon@movementarian.org>
5142 * ParagraphParameters.h:
5143 * ParagraphParameters.C: move output code to a
5146 2003-03-12 John Levon <levon@movementarian.org>
5148 * BufferView.C (insertLyXFile):
5151 * tabular.C: use a parlist iterator for creating the
5154 2003-03-12 John Levon <levon@movementarian.org>
5156 * buffer.C: make current_change static local not
5159 2003-03-12 John Levon <levon@movementarian.org>
5161 * buffer.C: fix insertStringAsLines for change tracking
5163 2003-03-12 John Levon <levon@movementarian.org>
5170 * bufferparams.C: move author list into params. Rename some
5171 functions. Move the header reading into a separate token
5172 loop. Move the header token reading into BufferParams.
5174 2003-03-12 John Levon <levon@movementarian.org>
5176 * changes.C: put debug inside lyxerr.debugging() checks
5178 2003-03-11 André Pönitz <poenitz@gmx.net>
5180 * factory.C: make it aware of InsetHFill
5182 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5184 * buffer.C (latexParagraphs): move function from here...
5185 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5188 2003-03-10 Angus Leeming <leeming@lyx.org>
5190 * LyXAction.C (init): fix bug in poplating array with multiple entries
5191 with the same LFUN (spotted by JMarc).
5193 2003-03-10 John Levon <levon@movementarian.org>
5196 * text2.C: move getColumnNearX() near its
5199 2003-03-10 John Levon <levon@movementarian.org>
5201 * text.C: fix break before a minipage
5203 2003-03-10 John Levon <levon@movementarian.org>
5205 * text.C: fix the last commit
5207 2003-03-09 John Levon <levon@movementarian.org>
5211 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5212 bug 365 (don't break before insets unless needed). Don't
5213 return a value > last under any circumstances.
5215 2003-03-09 Angus Leeming <leeming@lyx.org>
5217 * BufferView_pimpl.C (trackChanges, dispatch): call
5218 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5220 2003-03-09 Angus Leeming <leeming@lyx.org>
5222 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5223 than Dialogs::showAboutlyx().
5225 2003-03-09 Angus Leeming <leeming@lyx.org>
5227 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5228 than Dialogs::showTabularCreate().
5230 2003-03-09 John Levon <levon@movementarian.org>
5234 * text2.C: 3rd arg to nextBreakPoint was always the same.
5237 2003-03-08 John Levon <levon@movementarian.org>
5244 * text2.C: Remove the "main" bit from the "main body"
5247 2003-03-08 John Levon <levon@movementarian.org>
5249 * text.C (leftMargin): The left margin of an empty
5250 manual label paragraph should not include the label width
5253 * text.C (prepareToPrint): don't attempt to measure hfills
5254 for empty manual label paragraphs - the answer should be 0
5256 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * CutAndPaste.C: remove commented code and reindent.
5260 2003-03-08 John Levon <levon@movementarian.org>
5263 * lyxfunc.C: move reloadBuffer()
5266 * BufferView.C: to here
5268 * lyxvc.C: add comment
5271 * vc-backend.C: call bv->reload() to avoid
5272 getStatus() check on MENURELOAD
5274 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5276 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5277 to an old format .dep file.
5279 2003-03-07 Angus Leeming <leeming@lyx.org>
5281 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5282 when the LFUN_MOUSE_RELEASE should have been handled by
5283 inset->localDispatch.
5285 2003-03-07 Angus Leeming <leeming@lyx.org>
5287 * BufferView_pimpl.C (dispatch):
5288 * LyXAction.C (init):
5289 * ToolbarDefaults.C (init):
5291 * lyxfunc.C (getStatus):
5292 remove LFUN_INSET_GRAPHICS.
5294 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5296 2003-03-07 Angus Leeming <leeming@lyx.org>
5299 * LyXAction.C (init):
5300 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5302 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5305 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5307 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5308 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5310 2003-03-07 Angus Leeming <leeming@lyx.org>
5312 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5315 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5317 * ParagraphList.C (front): new function
5320 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5322 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5323 and top_row_offset_. removed var first_y.
5325 * text2.C (LyXText, removeRow):
5327 * BufferView_pimpl.C:
5328 use these methods instead of using first_y
5330 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5332 * text2.C (pasteSelection): adjust for checkPastePossible
5334 * CutAndPaste.C: remove Paragraph * buf and replace with
5335 ParagraphList paragraphs.
5336 (DeleteBuffer): delete
5337 (cutSelection): change the tc type to textclass_type
5338 (copySelection): change the tc type to textclass_type
5339 (copySelection): adjust for ParagraphList
5340 (pasteSelection): change the tc type to textclass_type
5341 (pasteSelection): adjust for Paragraphlist
5342 (nrOfParagraphs): simplify for ParagraphList
5343 (checkPastePossible): simplify for ParagraphList
5344 (checkPastePossible): remove unused arg
5346 * ParagraphList.C (insert): handle the case where there are no
5349 * CutAndPaste.h: make CutAndPaste a namespace.
5351 * text3.C (dispatch): adjust
5353 * text.C (breakParagraph): add a ParagraphList as arg
5355 * paragraph_funcs.C (breakParagraph): change to take a
5356 BufferParams and a ParagraphList as args.
5357 (breakParagraphConservative): ditto
5358 (mergeParagraph): ditto
5359 (TeXDeeper): add a ParagraphList arg
5360 (TeXEnvironment): ditto
5363 * buffer.C (readLyXformat2): adjust
5364 (insertStringAsLines): adjust
5365 (latexParagraphs): adjust
5367 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5368 (cutSelection): adjust
5369 (pasteSelection): adjust
5371 * BufferView_pimpl.C (insertInset): adjust
5373 2003-03-05 Angus Leeming <leeming@lyx.org>
5376 * LyXAction.C (init):
5377 * BufferView_pimpl.C (dispatch):
5378 * lyxfunc.C (getStatus):
5379 remove LFUN_CHILD_INSERT.
5381 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5383 2003-03-05 Angus Leeming <leeming@lyx.org>
5386 * LyXAction.C (init):
5387 * src/factory.C (createInset):
5388 * lyxfunc.C (getStatus):
5389 * text3.C (dispatch):
5390 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5392 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5394 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * ParagraphList.C (insert): handle insert right before end()
5397 (erase): fix cases where it can be first or last paragraph.
5399 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5402 Paragraph::next and Paragraph::previous
5405 * text.C (breakParagraph): adjust
5407 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5408 BufferParams& as arg.
5409 (breakParagraph): use ParagraphList::insert
5410 (breakParagraphConservative): take a Buffer* instead of a
5411 BufferParams& as arg.
5412 (breakParagraphConservative): use ParagraphList::insert.
5414 * buffer.C (insertStringAsLines): un-const it
5415 (insertStringAsLines): adjust
5417 * ParagraphList.C (insert): new function
5419 * CutAndPaste.C (pasteSelection): adjust
5421 * text.C (backspace): adjust
5423 * tabular.C (SetMultiColumn): adjust
5425 * CutAndPaste.C (cutSelection): adjust
5426 (pasteSelection): adjust
5428 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5429 Buffer const * as arg
5431 * ParagraphList.C (erase): new function
5432 * paragraph_funcs.C (mergeParagraph): use it
5433 (mergeParagraph): make it take a Buffer* instead of a
5434 BufferParams* as arg
5436 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5438 (breakParagraphConservative): ditto
5440 * paragraph.h: remove the breakParagraph friend
5442 * paragraph.C (eraseIntern): new function
5443 (setChange): new function
5445 * paragraph_funcs.C (mergeParagraph): make it take a
5446 ParagraphList::iterator instead of a Paragraph *, adjust
5449 * paragraph.h: move an #endif so that the change tracking stuff
5450 also works in the NO_NEXT case.
5452 2003-03-04 Angus Leeming <leeming@lyx.org>
5455 * LyXAction.C: new LFUN_INSET_MODIFY.
5457 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5458 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5460 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5462 * several files: ws changes only
5464 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5465 (TeXEnvironment): ditto
5468 * buffer.C (makeLaTeXFile): adjust
5469 (latexParagraphs): make it take ParagraphList::iterator as args
5471 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5473 * buffer.C (latexParagraphs): adjust
5475 * paragraph.C (TeXOnePar): move function...
5476 (optArgInset): move function...
5477 (TeXEnvironment): move function...
5478 * paragraph_pimpl.C (TeXDeeper): move function...
5479 * paragraph_funcs.C: ...here
5481 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5483 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5485 * buffer.C (readInset): remove compability code for old Figure and
5488 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * buffer.C: ws changes
5493 * BufferView_pimpl.C: ditto
5496 * bufferlist.h: ditto
5500 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5502 * converter.[Ch]: split into itself +
5505 * Makefile.am: += graph.[Ch] + format.[Ch]
5512 * lyxrc.C: added #include "format.h"
5514 2003-02-27 Angus Leeming <leeming@lyx.org>
5516 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5519 * factory.C (createInset): add "label" to the factory.
5521 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5522 string and do no more.
5524 2003-02-27 Angus Leeming <leeming@lyx.org>
5527 * LyXAction.C (init):
5528 * factory.C (createInset):
5529 * BufferView_pimpl.C (dispatch):
5530 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5532 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5534 * lyxfunc.C (dispatch):
5535 * text3.C (dispatch): pass name to params2string.
5537 2003-02-26 Angus Leeming <leeming@lyx.org>
5539 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5541 Rearrange the ~includes. Strip out the unnecessary ones.
5543 * factory.C (createInset): reformat.
5544 create new insets for the various LFUN_XYZ_APPLY lfuns.
5546 2003-02-26 John Levon <levon@movementarian.org>
5549 * lyxrow.C: add isParStart,isParEnd helpers
5551 * paragraph.h: make isInserted/DeletedText take refs
5553 * paragraph_funcs.h:
5554 * paragraph_funcs.C: remove #if 0'd code
5559 * text.C: use lyxrow helpers above.
5560 Move draw and paint routines to RowPainter.
5561 Make several methods use refs not pointers.
5562 Make backgroundColor() const.
5563 Add markChangeInDraw(), isInInset().
5564 Merge changeRegionCase into changeCase.
5565 Make workWidth() shouldn't-happen code into an Assert.
5568 * rowpainter.C: new class for painting a row.
5571 * vspace.C: make inPixels take a ref
5573 2003-02-26 Angus Leeming <leeming@lyx.org>
5575 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5578 2003-02-25 John Levon <levon@movementarian.org>
5580 * ispell.C: give the forked command a more accurate name
5582 2003-02-22 John Levon <levon@movementarian.org>
5585 * toc.C: make TocItem store an id not a Paragraph *
5588 2003-02-21 Angus Leeming <leeming@lyx.org>
5590 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5591 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5592 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5593 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5594 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5595 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5597 * BufferView_pimpl.C (dispatch):
5598 * LyXAction.C (init):
5599 * factory.C (createInset):
5600 * lyxfunc.C (getStatus, dispatch):
5601 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5603 2003-02-21 Angus Leeming <leeming@lyx.org>
5605 * BufferView_pimpl.C (MenuInsertLyXFile):
5606 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5607 * lyxfunc.C (menuNew, open, doImport):
5608 no longer pass a LyXView & to fileDlg.
5610 2003-02-21 Angus Leeming <leeming@lyx.org>
5612 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5613 * LyXAction.C: change, BIBKEY to BIBITEM.
5614 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5615 Change InsetBibKey to InsetBibitem.
5616 Change BIBKEY_CODE to BIBITEM_CODE.
5617 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5618 * factory.C: replace insetbib.h with insetbibitem.h.
5619 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5620 * paragraph.C: replace insetbib.h with insetbibitem.h.
5621 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5622 Change bibkey() to bibitem().
5623 * text.C: remove insetbib.h.
5624 * text2.C: replace insetbib.h with insetbibitem.h.
5625 change bibkey() to bibitem().
5626 * text3.C: remove insetbib.h.
5627 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5629 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5631 * lyxrc.C (output): enclose user email in quotes (in case there are
5634 2003-02-18 John Levon <levon@movementarian.org>
5636 * buffer.h: add std::
5638 2003-02-17 John Levon <levon@movementarian.org>
5644 * pspell.C: reworking. Especially in ispell, a large
5645 number of clean ups and bug fixes.
5647 * lyxfunc.C: fix revert to behave sensibly
5649 2003-02-17 André Pönitz <poenitz@gmx.net>
5652 * commandtags.h: new LFUN_INSERT_BIBKEY
5662 * paragraph_func.C: remove special bibkey handling
5664 2003-02-17 John Levon <levon@movementarian.org>
5666 * text.C (Delete): fix case where delete at the end of
5667 the very first paragraph would not merge the pars
5669 2003-02-17 John Levon <levon@movementarian.org>
5671 * lyxrow.C: fix lastPrintablePos()
5673 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5675 * bufferparams.C (writeLaTeX): add a std:here
5677 * buffer.C: and remove a using directive there
5679 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5681 * buffer.C (makeLaTeXFile): move the code that generates the
5684 * bufferparams.C (writeLaTeX): ... in this new method
5686 * LaTeXFeatures.C (getEncodingSet): make const
5687 (getLanguages): make const
5689 * MenuBackend.C (binding): returns the binding associated to this
5691 (add): sets the status of each item by calling getStatus. Adds
5693 (read): add support for OptSubMenu
5694 (expand): remove extra separator at the end of expanded menu
5696 2003-02-15 John Levon <levon@movementarian.org>
5699 * BufferView_pimpl.C:
5701 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5702 inset code that had no actual effect. Remove unneeded status
5705 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5707 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5710 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5712 * text.C (drawLengthMarker): also draw an arrow marker for
5713 symbolic lengths (medskip...)
5715 2003-02-14 John Levon <levon@movementarian.org>
5718 * tabular.C: better method names
5720 2003-02-14 John Levon <levon@movementarian.org>
5722 * BufferView_pimpl.C:
5727 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5728 it's a more accurate name. Remove some pointless uses.
5730 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5732 * text2.C (LyXText): change order of initilizers to shut off
5735 2003-02-14 John Levon <levon@movementarian.org>
5737 * buffer.C: use ParIterator for getParFromID()
5741 * paragraph_pimpl.h:
5742 * paragraph_pimpl.C: remove unused getParFromID()
5744 2003-02-14 John Levon <levon@movementarian.org>
5746 * buffer.C: remove some very old #if 0'd parse code
5748 2003-02-13 John Levon <levon@movementarian.org>
5752 * text2.C: move hfillExpansion(), numberOfSeparators(),
5753 rowLast(), rowLastPrintable(), numberofHfills(),
5754 numberOfLabelHfills() ...
5757 * lyxrow.C: ... to member functions here.
5762 * text.C: remove LyXText::beginningOfMainBody(), and call
5763 p->beginningOfMainBody() directly. Move the check for
5764 LABEL_MANUAL into the latter.
5771 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5777 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5778 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5780 2003-02-13 John Levon <levon@movementarian.org>
5782 * CutAndPaste.C: remove debug
5784 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5786 * paragraph.C (asString): remove two unused variables
5788 * lyxtextclass.C (readTitleType):
5790 (LyXTextClass): handle new members titletype_ and titlename_
5792 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5794 2003-02-09 John Levon <levon@movementarian.org>
5797 * buffer.C: replace hand-coded list with a map for the dep clean
5799 2003-02-08 John Levon <levon@movementarian.org>
5801 * LaTeX.C: consolidate code into showRunMessage() helper
5803 2003-02-08 John Levon <levon@movementarian.org>
5808 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5809 and pass the size in explicitly
5811 * BufferView_pimpl.h:
5812 * BufferView_pimpl.C:
5814 * BufferView.C: add getCurrentChange()
5816 * BufferView_pimpl.h:
5817 * BufferView_pimpl.C: handle change lfuns
5819 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5820 for changes. Mark pasted paragraphs as new.
5822 * support/lyxtime.h:
5823 * support/lyxtime.C:
5824 * DepTable.C: abstract time_t as lyx::time_type
5827 * LColor.C: add colours for new text, deleted text, changebars
5829 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5830 package use "usenames" option.
5834 * LyXAction.C: add change lfuns
5838 * author.C: author handling
5841 * buffer.C: add a per-buffer author list, with first entry as
5842 current author. Handle new .lyx tokens for change tracking. Output
5843 author list to .lyx file. Output dvipost stuff to .tex preamble.
5844 Bump lyx format to 222.
5847 * bufferlist.C: add setCurrentAuthor() to reset current author details
5851 * bufferparams.C: add param for tracking
5853 * bufferview_funcs.C: output change info in minibuffer
5857 * changes.C: add change-tracking structure
5860 * debug.C: add CHANGES debug flag
5863 * lyxfind.C: add code for finding the next change piece
5866 * lyxrc.C: add user_name and user_email
5869 * lyxrow.C: add a metric for the top of the text line
5872 * text.C: implement accept/rejectChange()
5875 * text.C: paint changebars. Paint new/deleted text in the chosen
5876 colours. Strike through deleted text.
5880 * paragraph_pimpl.h:
5881 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5882 in the current change to the insert functions. Rework erase to
5883 mark text as deleted, adding an eraseIntern() and a range-based
5884 erase(). Implement per-paragraph change lookup and
5887 * paragraph_funcs.C: Fixup paste for change tracking.
5889 * tabular.C: mark added row/columns as new.
5891 * text.C: fix rowLast() to never return -1. Don't allow
5892 spellchecking of deleted text. Track transpose changes. Don't
5893 allow paragraph break or merge where appropriate.
5895 * text2.C: leave cursor at end of selection after a cut.
5897 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5899 * text.C (getLengthMarkerHeight):
5900 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5901 visible on screen too.
5903 2003-02-07 John Levon <levon@movementarian.org>
5905 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5907 2003-02-05 Angus Leeming <leeming@lyx.org>
5909 * lyxserver.C (read_ready): revert my patch of 11 September last year
5910 as it sends PC cpu through the roof. Presumably this means that
5911 the lyxserver will no longer run on an Alpha...
5913 2003-01-30 Angus Leeming <leeming@lyx.org>
5915 * factory.C (createInset): create an InsetCommandParam of type "index"
5916 and use it to 'do the right thing'.
5918 * text2.C (getStringToIndex): ensure that cursor position is always
5919 reset to the reset_cursor position.
5921 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5923 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5926 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5930 * lyxfunc.C: Output messages with identical spelling, punctuation,
5933 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5935 * MenuBackend.C (expandFormats): List only viewable export formats
5938 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5941 * lyxfunc.C (getStatus): Make sure that formats other than
5942 "fax" can also be disabled
5944 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5946 * text3.C (dispatch): put the lfuns that insert insets in 3
5947 groups, and call doInsertInset with appropriate arguments.
5948 (doInsertInset): new function, that creates an inset and inserts
5949 it according to some boolean parameters.
5951 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * buffer.C (readFile): remember to pass on 'par' when calling
5954 readFile recursively.
5956 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5958 * MenuBackend.C (expandFormats): add "..." to import formats.
5960 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5962 * paragraph.C (asString): Remove XForms RTL hacks.
5964 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5965 * buffer.C: fix typo
5967 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * Makefile.am (LIBS): delete var
5970 (lyx_LDADD): add @LIBS@ here instead.
5972 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5974 * Clarify the meaning of "wheel mouse jump"
5976 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5978 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5981 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5983 * importer.C (Loaders): do not preallocate 3 elements in the
5984 vector, since one ends up with 6 elements otherwise
5986 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5988 * DepTable.C (write): write the file name as last element of the
5989 .dep file (because it may contain spaces)
5990 (read): read info in the right order
5992 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5994 * paragraph_pimpl.C (simpleTeXBlanks):
5995 (simpleTeXSpecialChars):
5996 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5998 * tabular.C (latex): add some missing case statements. Reindent.
6000 * MenuBackend.C (expandToc): remove unused variable.
6002 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6011 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6014 2003-01-05 John Levon <levon@movementarian.org>
6017 * BufferView.C: add getEncoding()
6020 * kbsequence.C: do not store last keypress
6023 * lyxfunc.C: store last keypress here instead. Pass encoding
6026 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6028 * lyx_main.C (init): remove annoying error message when following
6029 symbolic links (bug #780)
6031 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6033 * text.C (insertChar):
6034 * lyxrc.C (getDescription): remove extra spaces
6036 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6038 * lyxrc.C (getDescription): remove extra spaces
6040 2002-12-20 John Levon <levon@movementarian.org>
6042 * text3.C: hack fix for page up/down across tall rows
6044 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6046 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6049 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6051 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6052 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6053 thesaurus is not compiled in
6055 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6057 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6059 2002-12-16 Angus Leeming <leeming@lyx.org>
6062 * lyx_main.C (init): remove override_x_deadkeys stuff.
6064 2002-12-12 John Levon <levon@movementarian.org>
6066 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6067 insert. Only remove shift modifier under strict
6070 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6072 * MenuBackend.C (expandToc): fix crash.
6074 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6076 * MenuBackend.C (expandToc): gettext on float names.
6078 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6080 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6081 implement bool empty() [bug 490]
6083 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6087 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * several files: ws changes
6091 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * text2.C (setCounter): clean up a bit, use boost.format.
6094 (updateCounters): initialize par upon declaration.
6096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6097 if the layout exists. We do not just store the layout any more.
6098 (SwitchLayoutsBetweenClasses): use boost.format
6100 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6102 * converter.C (convert): if from and to files are the same, use a
6103 temporary files as intermediary
6105 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6108 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6110 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6112 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6114 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6116 * tabular.C (asciiPrintCell): use string(size, char) instead of
6119 * sgml.C (openTag): fix order of arguments to string constructor
6122 * lyxfunc.C (dispatch): use boost.format
6124 * lots of files: change "c" -> 'c'
6126 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6128 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6130 2002-11-25 Angus Leeming <leeming@lyx.org>
6132 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6134 * lyx_main.C (init): compile fix.
6136 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * lyx_cb.C (start): boost.formatify
6139 do not include <iostream>
6141 * lengthcommon.C: ws only
6143 * boost-inst.C,BoostFormat.h: add more explict instantations
6145 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * lots of files: handle USE_BOOST_FORMAT
6149 2002-11-21 John Levon <levon@movementarian.org>
6151 * pspell.C: fix compile
6153 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6155 * lyxfunc.C (dispatch): use boost::format
6159 * lyxfont.C (stateText): use boost::format
6161 * lyx_main.C (LyX): use boost::format
6163 (queryUserLyXDir): ditto
6166 (typedef boost::function): use the recommened syntax.
6168 * importer.C (Import): use boost::format
6170 * debug.C (showLevel): use boost::format
6172 * converter.C (view): use boost::format
6177 * bufferview_funcs.C (currentState): use boost::format
6179 * bufferlist.C (emergencyWrite): use boost::format
6181 * buffer.C (readLyXformat2): use boost::format
6182 (parseSingleLyXformat2Token): ditto
6184 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6186 * LaTeX.C (run): use boost::format
6188 * Chktex.C (scanLogFile): use boost::format
6190 * BufferView_pimpl.C (savePosition): use boost::format
6191 (restorePosition): ditto
6192 (MenuInsertLyXFile): ditto
6194 * BoostFormat.h: help file for explicit instation.
6196 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6198 * tabular.C (latex): Support for block alignment in fixed width
6201 2002-11-17 John Levon <levon@movementarian.org>
6203 * BufferView_pimpl.C:
6205 * lyxfunc.C: split filedialog into open/save
6207 2002-11-08 Juergen Vigna <jug@sad.it>
6209 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6210 by my last patch (hopefully).
6212 2002-11-08 John Levon <levon@movementarian.org>
6221 * toc.C: ParConstIterator, and use it (from Lars)
6223 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6225 * lyxtextclass.[Ch]: revise and add doxygen comments
6227 2002-11-07 John Levon <levon@movementarian.org>
6229 * text.C: fix progress value for spellchecker
6231 * toc.C: fix navigate menu for insetwrap inside minipage
6233 * paragraph_funcs.C: added FIXME for suspect code
6235 2002-11-07 John Levon <levon@movementarian.org>
6237 * BufferView_pimpl.C: fix redrawing of insets
6240 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6242 * text2.C (updateCounters): fix bug 668
6244 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6246 * text3.C (dispatch): Do not make the buffer dirty when moving the
6249 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * vc-backend.C: STRCONV
6254 * text2.C (setCounter): STRCONV
6256 * paragraph.C (asString): STRCONV
6258 * lyxlength.C (asString): STRCONV
6259 (asLatexString): ditto
6261 * lyxgluelength.C (asString): STRCONV
6262 (asLatexString): ditto
6264 * lyxfunc.C (dispatch): STRCONV
6267 * lyxfont.C (stateText): STRCONV
6269 * importer.C (Import): STRCONV
6271 * counters.C (labelItem): STRCONV
6272 (numberLabel): ditto
6273 (numberLabel): remove unused ostringstream o
6278 * bufferview_funcs.C (currentState): STRCONV
6280 * buffer.C (readFile): STRCONV
6281 (asciiParagraph): ditto
6282 (makeLaTeXFile): ditto
6284 * Spacing.C (writeEnvirBegin): STRCONV
6286 * LaTeXFeatures.C (getLanguages): STRCONV
6287 (getPackages): ditto
6289 (getBabelOptions): ditto
6290 (getTClassPreamble): ditto
6291 (getLyXSGMLEntities): ditto
6292 (getIncludedFiles): ditto
6296 (scanAuxFile): ditto
6299 * LString.h: add the STRCONV macros
6301 * BufferView_pimpl.C (savePosition): STRCONV
6302 (restorePosition): ditto
6303 (MenuInsertLyXFile): ditto
6305 * vc-backend.C (scanMaster): change from submatch[...] to
6308 * funcrequest.C: include config.h
6310 * factory.C: include config.h
6312 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6314 * box.C: include config.h
6316 * LaTeX.C (scanAuxFile): change from submatch[...] to
6320 2002-10-25 Angus Leeming <leeming@lyx.org>
6322 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6324 * ispell.[Ch] (setError): new method.
6325 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6326 Use setError() insetead of goto END.
6328 * lyx_cb.C (AutoSave): move out child process into new class
6331 2002-10-30 John Levon <levon@movementarian.org>
6333 * text3.C: make start appendix undoable
6335 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6337 * lyxlength.C (inPixels): Fix returned value.
6339 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6342 2002-10-24 Angus Leeming <leeming@lyx.org>
6344 * lyxgluelength.h: no need to forward declare BufferParams
6345 or BufferView, so don't.
6347 2002-10-21 John Levon <levon@movementarian.org>
6349 * BufferView.C: menuUndo ->undo, redo
6351 * BufferView.h: document, remove dead, make some methods private
6353 * paragraph_funcs.h:
6354 * paragraph_funcs.C:
6355 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6360 * sgml.C: move sgml open/close tag into sgml.C
6362 * bufferview_funcs.h: unused prototype
6365 * lyxfunc.C: remove unused
6368 * text.C: remove unused
6370 2002-10-21 John Levon <levon@movementarian.org>
6374 * BufferView_pimpl.h:
6375 * BufferView_pimpl.C: fix mouse wheel handling based on
6376 patch from Darren Freeman
6378 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6380 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6382 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6384 * lyxlength.C (inPixels): Fix hanfling of negative length.
6385 Fix LyXLength::MU case.
6387 2002-10-16 John Levon <levon@movementarian.org>
6389 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6391 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6393 * converter.C (view): add support for $$i (file name) and $$p
6394 (file path) for the viewer command. If $$i is not specified, then
6395 it is appended to the command (for compatibility with old syntax)
6397 2002-10-14 Juergen Vigna <jug@sad.it>
6399 * undo_funcs.C (textHandleUndo): alter the order in which the
6400 new undopar is added to the LyXText, as we have to set first
6401 the right prev/next and then add it as otherwise the rebuild of
6402 LyXText is not correct. Also reset the cursor to the right paragraph,
6403 with this IMO we could remove the hack in "redoParagraphs()".
6405 2002-10-09 Angus Leeming <leeming@lyx.org>
6407 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6408 to turn off an optimisation if a new inset is to be inserted.
6410 2002-10-11 André Pönitz <poenitz@gmx.net>
6412 * lyxtext.h: make some functions public to allow access
6413 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6415 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6417 * text3.C (dispatch): when changing layout, avoid an infinite loop
6420 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6422 * lyxrc.C (read): treat a viewer or converter command of "none" as
6425 * MenuBackend.C (expandFormats): for an update, also allow the
6426 formats that are not viewable
6428 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6429 script if it is newer than the lyxrc.defaults in user directory
6431 2002-10-07 André Pönitz <poenitz@gmx.net>
6433 * text.C: Vitaly Lipatov's small i18n fix
6435 2002-09-25 Angus Leeming <leeming@lyx.org>
6437 * ispell.h: doxygen fix.
6439 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6441 * buffer.h (readFile): Add a new argument to the method, to allow
6442 reading of old-format templates.
6444 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6446 * toc.C (getTocList): Get TOC from InsetWrap.
6448 2002-09-16 John Levon <levon@movementarian.org>
6450 * lyxfunc.C: check tabular for cut/copy too
6452 2002-09-12 John Levon <levon@movementarian.org>
6457 * factory.C: add header
6459 * paragraph_funcs.h:
6460 * paragraph_funcs.C: cleanup
6462 2002-09-11 John Levon <levon@movementarian.org>
6464 * PrinterParams.h: odd/even default to true
6466 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6468 * PrinterParams.h: update printer parameters for new xforms dialog
6470 2002-09-11 Angus Leeming <leeming@lyx.org>
6472 * lyxserver.C (read_ready): re-write to make it more transparent
6473 and to make it work in coherent fashion under Tru64 Unix.
6475 2002-09-11 André Pönitz <poenitz@gmx.net>
6479 * text3.C: implement LFUN_WORDSEL
6481 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6484 make floatlist_ a boost::shared_ptr<FloatList>
6486 * lyxtextclass.C: include FloatList.h
6487 (LyXTextClass): initialize floatlist_
6488 (TextClassTags): add TC_NOFLOAT
6489 (Read): match "nofloat" to TC_NOFLOAT and use it.
6490 (readFloat): modify call to floatlist_
6494 * FloatList.[Ch] (FloatList): remove commented out float
6496 (erase): new function
6498 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6500 * MenuBackend.C (expandToc): fix crash when there is no document
6503 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6505 * many files: Add insetwrap.
6507 2002-09-09 John Levon <levon@movementarian.org>
6509 * text2.C: remove confusing and awkward depth wraparound
6511 2002-09-09 John Levon <levon@movementarian.org>
6513 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6516 * buffer.C: remove getIncludeonlyList()
6519 * lyxfunc.C: remove headers
6521 2002-09-09 Juergen Vigna <jug@sad.it>
6523 * text.C (getColumnNearX): fix form Michael this is most
6524 probably a cut&paste bug.
6526 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6530 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6531 references, ws changes.
6533 * text2.C (init): update counters after init
6534 (insertParagraph): no need to set counter on idividual paragraphs.
6535 (setCounter): access the counters object in the textclass object
6536 on in the buffer object.
6537 (updateCounters): ditto
6539 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6540 shared_ptr<Counters> to avoid loading counters.h in all
6542 (LyXTextClass): initialize ctrs_
6543 (TextClassTags): add TC_COUNTER, and ...
6544 (Read): use it here.
6545 (CounterTags): new tags
6546 (readCounter): new function
6547 (counters): new funtion
6548 (defaultLayoutName): return a const reference
6550 * counters.C (Counters): remove contructor
6551 (newCounter): remove a couple of unneeded statements.
6552 (newCounter): simplify a bit.
6553 (numberLabel): some small formatting changes.
6555 * buffer.[Ch]: remove all traces of counters, move the Counters
6556 object to the LyXTextClass.
6558 2002-09-06 Alain Castera <castera@in2p3.fr>
6560 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6561 package to set the horizontal alignment on fixed width columns.
6564 * lyx_sty.h: added tabularnewline macro def.
6566 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6568 2002-09-06 John Levon <levon@movementarian.org>
6570 * LyXAction.C: tooltips for sub/superscript
6572 * MenuBackend.C: a bit more verbose
6574 * lyxfunc.C: tiny clean
6576 * undo_funcs.C: document undo_frozen
6578 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6580 * counters.C (Counters): add missing algorithm counter.
6582 * text2.C (setCounter): lookup the counter with layouts latexname
6583 instead of by section number.
6584 (setCounter): use a hackish way to lookup the correct enum
6586 a float name->type change
6587 reset enum couners with counter name directly instead of depth value.
6589 * counters.C (Counters): remove the push_backs, change to use the
6590 float type not the float name.
6591 (labelItem): remove unused string, float name->type change
6593 * counters.h: don't include vector, loose the enums and sects vectors
6595 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6597 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6598 (Read): add float->TC_FLOAT to textclassTags
6599 (Read): and handle it in the switch
6600 (readFloat): new function
6602 * FloatList.C (FloatList): comment out the hardcoded float
6605 * lyxlayout.h: ws change.
6607 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6609 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6611 2002-09-03 Angus Leeming <leeming@lyx.org>
6613 * BufferView_pimpl.h: qualified name is not allowed in member
6614 declaration: WorkArea & Pimpl::workarea() const;
6616 * factory.C: added using std::endl directive.
6618 * text3.C: added using std::find and std::vector directives.
6620 2002-08-29 André Pönitz <poenitz@gmx.net>
6623 * text2.C: remove unused member number_of_rows
6626 * BufferView2.C: remove file, move contents to...
6627 * BufferView.C: ... here
6629 * BufferView_pimpl.C:
6630 * factory.C: move more inset creation to factory
6632 * vspace.C: avoid direct usage of LyXText, ws changes
6635 don't provide direct access to WorkArea, use two simple
6636 acessors haveSelction() and workHeight() instead
6639 2002-08-29 John Levon <levon@movementarian.org>
6641 * BufferView_pimpl.C (dispatch): do not continue when
6644 2002-08-28 André Pönitz <poenitz@gmx.net>
6646 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6649 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6651 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6653 * buffer.C: increment LYX_FORMAT to 221
6655 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6656 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6658 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6660 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6662 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6664 * factory.C (createInset): use LyXTextClass::floats
6666 * MenuBackend.C (expandFloatListInsert):
6667 (expandFloatInsert):
6670 * text2.C (setCounter):
6672 * LaTeXFeatures.C (useFloat):
6673 (getFloatDefinitions):
6675 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6677 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6678 floatlist_, with accessor floats().
6680 * FloatList.h: remove global FloatList
6682 2002-08-26 André Pönitz <poenitz@gmx.net>
6684 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6688 * BufferView_pimpl.C:
6689 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6691 2002-08-25 John Levon <levon@movementarian.org>
6693 * LyXAction.C: fix margin note description
6695 2002-08-24 John Levon <levon@movementarian.org>
6699 * bufferview_funcs.C:
6701 * undo_funcs.C: cleanups
6703 * lyxfunc.C: disable CUT/COPY when no selection
6705 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6707 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6708 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6710 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6711 Add backward compatibility to "mono", "gray" and "no".
6713 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6715 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6716 (and file_format >= 200).
6718 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6720 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6722 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6726 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6728 * BufferView_pimpl.C:
6735 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6736 inset and code to make it work with the paragraph code. The inset
6737 can be anywhere in the paragraph, but will only do the expected
6738 thing in LaTeX if the layout file contains the parameter line
6740 (or more generally, a nonzero value) for that layout.
6742 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6744 * paragraph.h: remove the declaration of undefined counters class
6747 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6749 * text2.C (setCounter): fixed enumeration mis-count as reported by
6750 Dr. Richard Hawkins.
6752 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6754 * paragraph_funcs.h: remove some unneeded includes
6756 * text.C (backspace): pasteParagraph now in global scipe
6758 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6759 (pasteSelection): ditto
6761 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6762 * paragraph_funcs.C (pasteParagraph): ... here
6764 2002-08-20 André Pönitz <poenitz@gmx.net>
6766 * commandtags.h: new LFUNs for swapping/copying table row/colums
6769 * lyxfunc.C: support for new lfuns
6771 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6774 * buffer.[Ch]: remove NO_COMPABILITY stuff
6776 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * boost.C (throw_exception): new file, with helper function for
6779 boost compiled without exceptions.
6784 * ParameterStruct.h:
6785 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6787 * bufferlist.C (emergencyWriteAll): use boost bind
6789 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6791 * text.C: include paragraph_funcs.h
6792 (breakParagraph): breakParagraph is now in global scope
6794 * paragraph_funcs.[Ch]: new files
6796 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6799 * buffer.C: include paragraph_funcs.h
6800 (insertStringAsLines): breakParagraph is now in global scope
6802 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6805 * CutAndPaste.C: include paragraph_funcs.h
6806 (cutSelection): breakParagraphConservative is now in global scope
6807 (pasteSelection): ditto
6809 * buffer.h: declare oprator== and operator!= for
6810 Buffer::inset_iterator
6812 * bufferlist.C (emergencyWrite): don't use fmt(...)
6814 * text3.C: add using std::endl
6816 * BufferView.C (moveCursorUpdate): remove default arg
6818 2002-08-20 André Pönitz <poenitz@gmx.net>
6820 * buffer.[Ch]: move inline functions to .C
6823 * BufferView_pimpl.C:
6825 * buffer.[Ch]: use improved inset_iterator
6828 * paragraph.[Ch]: write one paragraph at a time
6830 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6832 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6833 style if style is not specified.
6835 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6837 * text2.C (setCounter): when searching for right label for a
6838 caption, make sure to recurse to parent insets (so that a caption
6839 in a minipage in a figure float works) (bug #568)
6841 2002-08-20 André Pönitz <poenitz@gmx.net>
6843 * text3.C: new file for LyXText::dispatch() and helpers
6845 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6847 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6849 2002-08-19 André Pönitz <poenitz@gmx.net>
6852 * text.C: new LyXText::dispatch()
6854 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6856 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6858 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6860 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6863 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6865 * Makefile.am: use $(variables) instead of @substitutions@
6867 2002-08-15 André Pönitz <poenitz@gmx.net>
6870 * BufferView_pimpl.C: streamlining mathed <-> outer world
6874 * LyXAction.C: remove unused LFUN_MATH
6876 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6878 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6880 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * paragraph.C (Paragraph): reformat a bit
6883 (cutIntoMinibuffer): use builtin InsetList function instad of
6887 * buffer.C: include boost/bind.hpp, add using std::for_each
6888 (writeFileAscii): use ParagraphList iterators
6889 (validate): use for_each for validate traversal of paragraphs
6890 (getBibkeyList): use ParagraphList iterators
6891 (resizeInsets): use for_each to resizeInsetsLyXText for all
6893 (getParFromID): use ParagraphList iterators
6895 * BufferView2.C (lockInset): use paragraph list and iterators
6897 2002-08-14 John Levon <levon@movementarian.org>
6899 * lyxserver.C: remove spurious xforms include
6901 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6903 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6905 2002-08-13 André Pönitz <poenitz@gmx.net>
6908 * lyxfunc.C: further cleaning
6910 2002-08-13 André Pönitz <poenitz@gmx.net>
6912 * funcrequest.h: new constructor
6914 * funcrequest.C: move stuff here from .h
6917 * BufferView_pimpl.C:
6920 * lyxfunc.C: subsequent changes
6922 * lyxfunc.h: new view() member function
6924 * lyxfunc.C: subsequent changes
6926 2002-08-13 Angus Leeming <leeming@lyx.org>
6929 * BufferView_pimpl.C:
6937 changes due to the changed LyXView interface that now returns references
6938 to member variables not pointers.
6940 2002-08-13 Angus Leeming <leeming@lyx.org>
6942 * WordLangTuple (word, lang_code): return references to strings,
6947 * lyxtext.h: forward-declare WordLangTuple.
6952 * text.C: #include "WordLangTuple.h".
6955 * text.C: (selectNextWordToSpellcheck): constify return type.
6957 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6963 * paragraph_pimpl.h:
6966 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6968 Made updateCounter always count from start of buffer, and removed
6969 second argument (par).
6970 Reverted floats number display to '#'. Perhaps I'll try again when the
6971 code base is sanitized a bit.
6973 2002-08-12 Angus Leeming <leeming@lyx.org>
6975 * buffer.[Ch] (getLabelList): constify.
6977 2002-08-07 André Pönitz <poenitz@gmx.net>
6979 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6981 * funcrequest.h: extension to keep mouse (x,y) position
6983 2002-08-12 Juergen Vigna <jug@sad.it>
6985 * BufferView2.C (insertErrors): forbid undo when inserting error
6988 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6990 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * ParagraphList.[Ch]: new files
6994 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6996 * BufferView2.C (lockInset): ParagraphList changes
6999 * bufferlist.C: ditto
7003 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7006 unused class variable counter_,
7008 * paragraph.[Ch] (getFirstCounter): delete unused function
7010 * counters.C: include LAssert.h
7011 (reset): add a new function with no arg, change other version to
7012 not have def. arg and to not allow empty arg.
7014 * text2.C (setCounter): remove empty arg from call to Counters::reset
7016 2002-08-11 John Levon <levon@movementarian.org>
7018 * Makefile.am: add WordLangTuple.h
7020 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7023 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7025 * insets/insettext.C: InsetList changes
7027 * graphics/GraphicsSupport.C (operator()): InsetList changes
7029 * toc.C (getTocList): InsetList changes
7031 * paragraph_pimpl.[Ch]: InsetList changes
7033 * paragraph.[Ch]: InsetList changes
7035 * buffer.C (inset_iterator): InsetList changes
7036 (setParagraph): ditto
7037 * buffer.h (inset_iterator): ditto
7038 * iterators.C (operator++): ditto
7039 * iterators.h: ditto
7041 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7043 * InsetList.[Ch]: new files, most InsetList handling moved out of
7046 * BufferView2.C (removeAutoInsets): InsetList changes
7048 (ChangeInsets): ditto
7050 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * paragraph_pimpl.h (empty): new function
7054 * paragraph.[Ch] (empty): new function
7056 * other files: use the new Paragraph::empty function
7058 2002-08-09 John Levon <levon@movementarian.org>
7060 * lyxtext.h: remove unused refresh_height
7062 2002-08-09 John Levon <levon@movementarian.org>
7069 * paragraph.C: move sgml char escaping out of paragraph
7072 * paragraph.C: remove id setter
7076 * paragraph_pimpl.C: remove dead tex_code_break_column
7078 * bufferview_funcs.C: small cleanup
7080 * lyxfunc.C: remove dead proto
7082 * lyxtext.h: make some stuff private. Remove some dead stuff.
7084 * lyxgluelength.C: make as[LyX]String() readable
7086 2002-08-08 John Levon <levon@movementarian.org>
7091 * ToolbarDefaults.C:
7094 * toc.C: lyxaction cleanup
7096 2002-08-08 John Levon <levon@movementarian.org>
7098 * BufferView2.C: small cleanup
7101 * lyxfind.C: move unnecessary header into the .C
7103 2002-08-08 John Levon <levon@movementarian.org>
7105 * funcrequest.h: just tedious nonsense
7108 * lyx_main.C: cleanups
7111 * vspace.C: remove dead header lyx_main.h
7113 2002-08-07 Angus Leeming <leeming@lyx.org>
7116 * paragraph_pimpl.h:
7117 Forward declare class Counters in paragraph.h by moving the ctrs member
7118 variable into Paragraph::Pimpl.
7119 (counters): new method, returning a reference to pimpl_->ctrs.
7121 * text2.C: ensuing changes.
7123 2002-08-07 John Levon <levon@movementarian.org>
7125 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7127 * BufferView_pimpl.C: announce X selection on double/triple
7130 * lyx_main.C: use correct bool in batch dispatch
7132 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7134 2002-08-07 André Pönitz <poenitz@gmx.net>
7136 * funcrequest.h: new class to wrap a kb_action and its argument
7139 * BufferView_pimpl[Ch]:
7143 * lyxrc.C: subsequent changes
7146 2002-08-07 John Levon <levon@movementarian.org>
7148 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7149 document options change.
7151 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7156 * makefile.am: move counters functionality over from
7157 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7159 2002-08-06 John Levon <levon@movementarian.org>
7161 * WordLangTuple.h: new file for word + language code tuple
7172 * BufferView2.C: use WordLangTuple
7175 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7177 2002-08-06 John Levon <levon@movementarian.org>
7179 * lyx_main.C: fix cmdline batch handling
7181 2002-08-06 André Pönitz <poenitz@gmx.net>
7183 * lyxrc.C: set default for show_banner to true
7185 2002-08-06 John Levon <levon@movementarian.org>
7187 * pspell.C: fix a crash, and allow new aspell to work
7189 2002-08-06 John Levon <levon@movementarian.org>
7192 * kbmap.C: small cleanup
7195 * vspace.C: add const
7197 2002-08-05 John Levon <levon@movementarian.org>
7199 * LyXAction.C: back to tabular-insert
7201 2002-08-04 John Levon <levon@movementarian.org>
7204 * BufferView.C: cosmetic change
7206 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7216 * BufferView2.C: purge all "Lyx" not "LyX" strings
7219 * lyxcursor.C: attempt to add some documentation
7224 * ToolbarDefaults.C:
7225 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7226 merge with LFUN_TABULAR_INSERT
7233 * pspell.C: split up i/pspell implementations into separate
7234 files, many cleanups
7236 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7238 * text2.C: some cleanup
7240 * lyxfunc.C: don't check for isp_command == "none" any more, it
7241 didn't make any sense
7243 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7248 * makefile.am: move counters functionality over
7249 from text2.C/paragraph.[Ch] to counters.[Ch], and
7251 2002-08-02 John Levon <levon@movementarian.org>
7253 * buffer.C: s/lyxconvert/lyx2lyx/
7255 2002-08-02 Angus Leeming <leeming@lyx.org>
7257 * lyxlex.C: revert John's change as it breaks reading of the user
7260 2002-08-02 Angus Leeming <leeming@lyx.org>
7262 * importer.C (Import):
7263 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7264 changes due to LyXView::view() now returning a boost::shared_ptr.
7266 2002-08-02 John Levon <levon@movementarian.org>
7268 * lyxlex.C: small cleanup
7270 2002-08-02 John Levon <levon@movementarian.org>
7272 * text2.C (status): small cleanup, no logic change
7274 2002-08-01 John Levon <levon@movementarian.org>
7277 * buffer.C (writeFile): don't output alerts, caller
7281 * lyx_cb.C: from above
7283 * lyxfunc.C: allow to open non-existent files
7285 2002-07-31 John Levon <levon@movementarian.org>
7287 * lyxserver.C: don't let incidental errors get
7290 2002-07-30 John Levon <levon@movementarian.org>
7292 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7294 2002-07-30 John Levon <levon@movementarian.org>
7297 * lyxserver.C: remove I/O callback too
7299 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7301 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7304 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * many files: strip,frontStrip -> trim,ltrim,rtrim
7308 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * PrinterParams.h: remove extern containsOnly, and include
7311 support/lstrings.h instead.
7313 * LaTeX.C (scanAuxFile): modify because of strip changes
7315 * buffer.C (makeLaTeXFile): ditto
7316 * bufferparams.C (writeFile): ditt
7317 * lyxfont.C (stateText): ditto
7318 * lyxserver.C (read_ready): ditto
7319 * vc-backend.C (scanMaster): ditto
7321 * BufferView_pimpl.h: ws changes
7323 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7325 2002-07-26 André Pönitz <poenitz@gmx.net>
7327 * kb_sequence.C: remove unnedred usings
7329 2002-07-26 Juergen Vigna <jug@sad.it>
7331 * lyxfind.C (LyXReplace): we have to check better if the returned
7332 text is not of theLockingInset()->getLockingInset().
7334 2002-07-25 Juergen Vigna <jug@sad.it>
7336 * lyxfind.C (LyXReplace): don't replace if we don't get the
7339 * undo_funcs.C (createUndo): remove debugging code.
7341 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7343 * buffer.C (parseSingleLyXformat2Token): Use default placement
7344 when reading old floats.
7346 * FloatList.C (FloatList): Change the default placement of figure
7347 and tables to "tbp".
7349 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7351 * MenuBackend.C: using std::max
7353 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7355 * MenuBackend.C (expandToc):
7356 (expandToc2): code moved from xforms menu frontend. It is now
7357 generic and TOCs are transparent to menu frontends.
7359 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7361 * toc.C (getTocList): protect against buf=0
7363 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7364 Menu as first parameter. Now, this calls itself recursively to
7365 expand a whole tree (this will be useful for TOC handling)
7366 (expandFloatInsert): remove 'wide' version of floats
7368 * MenuBackend.h (submenuname): returns the name of the submenu.
7369 (submenu): returns the submenu itself, provided it has been
7370 created by MenuBackend::expand
7372 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7374 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7375 insets which have noFontChange == true. (bug #172)
7377 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7379 * BufferView_pimpl.C: add connection objects and use them...
7382 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7384 * MenuBackend.C (expandLastfiles):
7387 (expandFloatListInsert):
7388 (expandFloatInsert):
7389 (expand): split expand in parts
7391 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7393 * lyx_gui.C: use lyx_gui::exit()
7395 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7397 * LyXAction.C: show the failing pseudo action
7399 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7401 * buffer.C (readFile): Run the lyxconvert script in order to read
7404 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7408 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7410 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7414 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7416 2002-07-22 Herbert Voss <voss@lyx.org>
7419 * lyxlength.[Ch]: add support for the vertical lengths
7421 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7423 * toc.[Ch]: std:: fixes
7425 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * lyxrc.C: do not include lyx_main.h
7429 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7435 * BufferView2.C: include "lyxlex.h"
7438 * bufferparams.h: do not #include "lyxlex.h"
7440 * lyxtextclasslist.C (Add): remove method
7441 (classlist): renamed to classlist_
7443 * paragraph_pimpl.C:
7447 * bufferview_funcs.C:
7452 * toc.C (getTocList): use BufferParams::getLyXTextClass
7454 * toc.C (getTocList): use InsetFloat::addToToc
7456 * toc.[Ch]: new files, containing helper functions to handle table
7459 * lyxfunc.C (dispatch): no need to remove spaces around command
7461 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7462 first command of the sequence; it is not very clever, but I do not
7463 have a better idea, actually
7465 * LyXAction.C (LookupFunc): make sure to remove space at the
7466 beginning and end of the command
7468 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7470 * MenuBackend.C (getMenubar): new method: return the menubar of
7472 (read): treat differently reading of menu and menubar (in
7473 particular, the menubar has no name now)
7474 (Menu::menubar): remove
7476 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7479 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7481 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7482 a bibitem inset in a RTL paragraph.
7484 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7486 * paragraph_pimpl.C: constify
7488 * BufferView_pimpl.C:
7490 * lyxfunc.C: fix dispatch in a nicer way
7492 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7494 * lyxfunc.C (dispatch):
7495 * BufferView_pimpl.C:
7496 * BufferView_pimpl.h:
7498 * BufferView.h: rename Dispatch() to dispatch()
7500 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7502 * lyxlayout.C (Read): honor DependsOn tag
7504 * lyxlayout.[Ch] (depends_on): new method
7506 * version.C.in: update lyx_docversion
7508 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7510 * paragraph.C (validate): remove from here...
7511 * paragraph_pimpl.C (validate): ... and move here
7512 (isTextAt): make it const
7514 * buffer.C (getLists): ws cleanup
7516 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7518 * language.C (read): Use iso8859-1 encoding in latex_lang
7519 (this prevents LyX from crashing when using iso10646-1 encoding).
7521 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7523 * text2.C (toggleInset): if cursor is inside an inset, close the
7524 inset and leave cursor _after_ it
7526 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7528 * lyxfunc.C: move minibuffer completion handling out of here
7530 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7532 * BufferView_pimpl.C:
7533 * LaTeX.C: fix dispatch calls
7535 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7537 * text.C (drawChars): Fix Arabic text rendering.
7539 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7543 * lyxfunc.C: remove message-push/pop
7547 * lyxfunc.C: rationalise some code by removing verboseDispatch
7548 in favour of a bool argument to dispatch()
7550 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7552 * lyx_main.C (init): make sure to read symlinks as absolute paths
7554 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7557 * lyxfunc.C: no need for commandshortcut to be a member
7559 2002-07-15 André Pönitz <poenitz@gmx.net>
7561 * converter.C: add support for $$s (scripts from lib/scripts dir)
7562 * lyx_main.C: white space
7564 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7568 * lyxrc.C: remove second exit confirmation
7570 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7575 * BufferView_pimpl.h:
7576 * BufferView_pimpl.C:
7577 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7579 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7581 * MenuBackend.C (expand): add numeric shortcuts to document menu
7583 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7585 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7587 * lyxfont.C (setLyXFamily):
7594 * buffer.C (asciiParagraph): use ascii_lowercase
7596 2002-07-15 Mike Fabian <mfabian@suse.de>
7598 * lyxlex_pimpl.C (search_kw):
7599 * lyxlex.C (getLongString):
7600 * converter.h (operator<):
7601 * converter.C (operator<):
7602 * buffer.C (parseSingleLyXformat2Token):
7604 * ToolbarDefaults.C (read):
7605 * MenuBackend.C (checkShortcuts):
7607 * LColor.C (getFromGUIName):
7608 (getFromLyXName): use the compare_ascii_no_case instead of
7609 compare_no_case, because in turkish, 'i' is not the lowercase
7610 version of 'I', and thus turkish locale breaks parsing of tags.
7612 2002-07-16 Angus Leeming <leeming@lyx.org>
7614 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7615 now takes a Buffer const & argument.
7617 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7619 * BufferView.C (resize): check there's a buffer to resize
7621 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7623 * lyxfunc.C: remove dead code
7626 * lyxserver.C: use lyx_guii::set_read_callback
7628 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7630 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7631 an inset in a RTL paragraph.
7633 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7635 * lyxfunc.C: repaint after a font size update
7637 2002-07-15 André Pönitz <poenitz@gmx.net>
7639 * lyxlength.C: inBP should be able to return negative values
7641 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7643 * lyxfunc.C: use lyx_gui::update_fonts()
7645 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7647 * lyxfunc.C: use lyx_gui::update_color()
7649 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7655 * lyxrc.C: remove file->new asks for name option, and let
7656 buffer-new take an argument
7658 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7660 * BufferView_pimpl.C: remove unneeded extra repaint()
7662 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7664 * LyXAction.C: allow command-sequence with NoBuffer
7666 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7668 2002-07-10 Angus Leeming <leeming@lyx.org>
7670 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7672 2002-07-09 Angus Leeming <leeming@lyx.org>
7674 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7676 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7678 * lengthcommon.h: whitespace
7680 * lyxfunc.C: update scrollbar after goto paragraph
7682 * lyxtext.h: factor out page break drawing, and fix it so
7683 page break/added space paints as selected nicely
7685 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7687 * BufferView_pimpl.C: add FIXMEs, clean up a little
7689 2002-07-09 André Pönitz <poenitz@gmx.net>
7691 * lyxfont.[Ch]: support for wasy symbols
7693 2002-07-08 André Pönitz <poenitz@gmx.net>
7695 * BufferView_pimpl.C: apply John's patch for #93.
7697 2002-07-05 Angus Leeming <leeming@lyx.org>
7699 * BufferView_pimpl.C (buffer): generate previews if desired.
7701 * LColor.h: add "preview" to the color enum.
7703 * LColor.C (LColor): add a corresponding entry to the items array.
7705 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7708 2002-07-05 Angus Leeming <leeming@lyx.org>
7710 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7711 The body of the code is now in the method that is passed an ostream &
7712 rather than a file name.
7713 Pass an additional only_preamble parameter, useful for the forthcoming
7716 2002-07-03 André Pönitz <poenitz@gmx.net>
7718 * lyxfunc.C: simplify getStatus() a bit for math stuff
7720 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7722 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7724 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7726 * text.C (changeRegionCase): do not change case of all the
7727 document when region ends at paragraph end (bug #461)
7729 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7731 * paragraph.C (startTeXParParams):
7732 (endTeXParParams): add \protect when necessary
7734 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7736 * BufferView_pimpl.C (workAreaExpose): remove warning
7738 2002-06-27 Angus Leeming <leeming@lyx.org>
7740 * Makefile.am: add lyxlayout_ptr_fwd.h.
7742 2002-06-26 André Pönitz <poenitz@gmx.net>
7744 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7746 2002-06-25 Angus Leeming <leeming@lyx.org>
7748 * lyxfunc.C (dispatch): Comment out the call to
7749 grfx::GCache::changeDisplay. The method no longer exists now that the
7750 pixmap generation part of the graphics loader has been moved into
7753 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7755 * text2.C: layout as layout
7757 * text.C: layout as layout
7759 * tabular.C (OldFormatRead): layout as layout
7761 * paragraph_pimpl.C (TeXDeeper): layout as layout
7762 (realizeFont): layout as layout
7764 * paragraph.C (writeFile): layout as layout
7765 (validate): layout as layout
7766 (getFont): layout as layout
7767 (getLabelFont): layout as layout
7768 (getLayoutFont): layout as layout
7769 (breakParagraph): layout as layout
7770 (stripLeadingSpaces): layout as layout
7771 (getEndLabel): layout as layout
7772 (getMaxDepthAfter): layout as layout
7773 (applyLayout): layout as layout
7774 (TeXOnePar): layout as layout
7775 (simpleTeXOnePar): layout as layout
7776 (TeXEnvironment): layout as layout
7777 (layout): layout as layout
7778 (layout): layout as layout
7780 * lyxtextclass.C (compare_name): new functor to work with
7781 shared_ptr, layout as layout
7782 (Read): layout as layout
7783 (hasLayout): layout as layout
7784 (operator): layout as layout
7785 (delete_layout): layout as layout
7786 (defaultLayout): layout as layout
7788 * lyxlayout_ptr_fwd.h: new file
7790 * lyxlayout.C (Read): layout as layout
7792 * lyx_cb.C (MenuInsertLabel): layout as layout
7794 * bufferlist.C (newFile): layout as layout
7796 * buffer.C (readLyXformat2): layout as layout
7797 (parseSingleLyXformat2Token): layout as layout
7798 (insertStringAsLines): layout as layout
7799 (asciiParagraph): layout as layout
7800 (latexParagraphs): layout as layout
7801 (makeLinuxDocFile): layout as layout
7802 (simpleLinuxDocOnePar): layout as layout
7803 (makeDocBookFile): layout as layout
7804 (simpleDocBookOnePar): layout as layout
7805 (getLists): layout as layout
7807 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7809 * CutAndPaste.C (cutSelection): layout as layout
7810 (pasteSelection): layout as layout
7811 (SwitchLayoutsBetweenClasses): layout as layout
7813 * BufferView_pimpl.C (Dispatch): layout as layout
7814 (smartQuote): layout as layout
7816 * BufferView2.C (unlockInset): layout as layout
7818 2002-06-24 André Pönitz <poenitz@gmx.net>
7820 * lyxfunc.C: fix #487
7822 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7826 * lyxfunc.C: remove display_shortcuts, show_banner
7828 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7830 * Buffer_pimpl.C: oops, update on resize
7832 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7839 * BufferView.C: use repaint()
7841 * BufferView_pimpl.h:
7842 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7843 as it's a clearer description. Remove superfluous
7846 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7848 * text.C: fix bug 488. Not ideal, but getting
7849 getWord() to work properly for the insets that
7850 matter is more difficult ...
7852 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7854 * BufferView_pimpl.C:
7857 * lyxfunc.C: remove the six million index lyxfuncs to just
7858 one, and DTRT (bug 458)
7860 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7864 * BufferView_pimpl.h:
7865 * BufferView_pimpl.C: clean up resize() stuff,
7866 and unnecessary updateScreen()s
7868 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7872 * BufferView_pimpl.h:
7873 * BufferView_pimpl.C:
7876 * minibuffer.C: remove focus management of workarea,
7877 not needed. Use screen's greyOut()
7879 2002-06-17 Herbert Voss <voss@lyx.org>
7881 * converter.C: (convert) do not post a message, when converting
7882 fails, let the calling function decide what to do in this case
7884 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7886 * lyxfunc.C: tidy up a little
7888 2002-06-16 <alstrup@diku.dk>
7890 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7891 Got rid of FORMS_H_LOCATION include. Now we are
7894 2002-06-15 LyX Development team <lyx@rilke>
7896 * buffer.[Ch] (sgmlOpenTag):
7897 (sgmlCloseTag): Added support for avoiding pernicious mixed
7898 content. Return number of lines written.
7901 (makeDocBookFile): Fixed calls to sgml*Tag.
7902 Simple white space clean.
7904 (simpleDocBookOnePar): Simple white space clean.
7906 * tabular.[Ch] (docBook): Renamed to docbook and got another
7907 argument to related with the pernicious mixed content.
7909 (docbookRow): Fixed calls for docbook inset method.
7911 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7913 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7914 so it's X11 independent.
7918 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7920 2002-06-15 Lyx Development team <lyx@electronia>
7922 * intl.h: Renamed getTrans to getTransManager.
7924 2002-06-14 Angus Leeming <leeming@lyx.org>
7926 * Makefile.am: nuke forgotten stl_string_fwd.h.
7928 2002-06-12 Angus Leeming <leeming@lyx.org>
7930 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7932 2002-06-13 Angus Leeming <leeming@lyx.org>
7935 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7937 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7939 * kbmap.C (getiso): add support for cyrillic and greek
7941 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7945 * BufferView_pimpl.h:
7946 * BufferView_pimpl.C: move bogus scrolling logic
7949 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7952 * BufferView_pimpl.C: view->resize() change
7954 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7956 * BufferView_pimpl.C: topCursorVisible
7959 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7963 * lyx_gui.C: move to frontends/
7967 * lyx_main.C: changes from above
7969 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7976 * lyx_main.C: minor tidy
7978 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7980 * BufferView_pimpl.h:
7981 * BufferView_pimpl.C:
7983 * BufferView.C: make painter() const,
7986 * BufferView2.C: use screen() accessor
7989 * lyx_main.C: some minor cleanup
7991 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7993 * BufferView_pimpl.h:
7994 * BufferView_pimpl.C: remove enter/leaveView,
7997 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8002 * BufferView_pimpl.h:
8003 * BufferView_pimpl.C: only construct screen once,
8006 * lyxrc.C: remove pointless comment
8008 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8011 * BufferView.C: remove active() and belowMouse()
8013 * BufferView_pimpl.h:
8014 * BufferView_pimpl.C: use workarea() not workarea_,
8015 and make it use a scoped_ptr instead
8017 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8019 * lyx_gui.C: add debug message on BadWindow
8021 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8023 * sp_spell.C: fdopen is not part of the C++ standard.
8025 * paragraph.C (InsetIterator): use >= instead of ==
8027 2002-06-07 Angus Leeming <leeming@lyx.org>
8029 Fixes needed to compile with Compaq cxx 6.5.
8030 * BufferView_pimpl.C:
8037 * lyxtextclasslist.C:
8042 all c-library variables have been moved into namespace std. Wrap
8043 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8048 Add a using std::abs declaration.
8050 * kbmap.h (modifier_pair):
8051 * paragraph.h (InsetTable, InsetList):
8052 * lyxfont.h (FontBits):
8053 type definition made public.
8055 * bufferlist.C (emergencyWriteAll): the compiler complains that
8056 there is more than one possible lyx::class_fun template to choose from.
8057 I re-named the void specialisation as lyx::void_class_fun.
8059 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8061 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8062 the compiler is is unable to find tostr in write_attribute.
8064 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8066 * buffer.C (sgmlError): hide #warning
8068 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * xtl/*: get rid of xtl, which is not in use anyway
8072 * LyXAction.C (init):
8073 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8074 were unimplemented xtl experimentation
8076 2002-06-04 André Pönitz <poenitz@gmx.net>
8078 * lyxfunc.C: disable array operation on simple formulae
8080 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8082 * converter.C: constify a bit
8084 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8086 * lyx_gui.C: check xforms version correctly
8088 2002-04-30 Herbert Voss <voss@lyx.org>
8090 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8093 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8095 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8096 attempt to register it with a VCS)
8098 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * lyx_main.C (init): honor variables LYX_DIR_13x and
8103 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8107 * lyx_main.C: fix a crash on bad command line,
8108 and give a useful exit status on error
8110 * lyxfunc.C (doImport): allow -i lyx to work
8112 2002-03-30 André Pönitz <poenitz@gmx.net>
8114 * lyxfunc.C: mathed font changes
8116 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8131 * trans_mgr.h: srcdocs, and some minor cleanups
8133 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8135 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8136 call getFont all the time)
8138 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8140 * switch from SigC signals to boost::signals
8142 2002-05-29 André Pönitz <poenitz@gmx.net>
8144 * paragraph_pimpl.C (getChar): don't call size() too often...
8146 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * paragraph_pimpl.C (insertChar): do not try to update tables when
8149 appending (pos == size())
8151 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8152 in order to reduce drastically the number of comparisons needed to
8153 parse a large document
8155 2002-05-29 André Pönitz <poenitz@gmx.net>
8161 * textclasslist.[Ch]:
8162 * sp_ispell.h: whitespace change
8164 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8166 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8167 lyxaction directly now.
8169 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8173 * lyxvc.C: remove unused headers
8175 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8182 * undo_funcs.C: some cleanups. Use shared_ptr
8183 and a template for the undo stacks.
8185 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8187 * BufferView_pimpl.h:
8188 * BufferView_pimpl.C:
8195 * text2.C: use key_state/mouse_state
8197 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8199 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8202 * chset.C: change include order
8203 (loadFile): use boost regex and get rid of LRegex and LSubstring
8205 * Makefile.am (BOOST_LIBS): new variable
8208 * LaTeX.C: change include order.
8209 (scanAuxFile): use boost regex and get rid of LRegex and
8213 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8218 * FontInfo.C: moved to frontends/xforms/
8221 * FontLoader.C: moved into frontends for GUIIzation
8226 * lyxfunc.C: changes from above
8228 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8230 * LColor.C: remove spurious X include
8232 * BufferView_pimpl.C:
8237 * text2.C: move font metrics to frontends/
8239 2002-05-24 Juergen Vigna <jug@sad.it>
8241 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8242 setting the undo_cursor.
8244 * ParagraphParameters.h: include local includes first.
8246 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8248 * BufferView_pimpl.C:
8249 * BufferView_pimpl.h:
8253 * screen.C: move WorkArea into frontends/
8259 * BufferView2.C: move LyXScreen into frontends/
8263 * lyx_gui.C: move lyxlookup into frontends/xforms/
8265 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8268 * BufferView_pimpl.C:
8278 * bufferview_funcs.C:
8291 * vc-backend.C: move LyX/XFormsView into frontends/
8293 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8305 * text2.C: move Painter to frontends/
8307 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8309 * buffer.C: comment out some some code that depend upon lyx_format
8312 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8313 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8315 * buffer.h (NO_COMPABILITY): turn off compability
8317 * ColorHandler.C: include scoped_array.hpp
8319 * font.C: Use more specific smart_ptr header.
8322 * ShareContainer.h: ditto
8326 * BufferView_pimpl.h: ditto
8327 * ColorHandler.h: ditto
8329 * kbmap.C (defkey): change call to shared_ptr::reset
8331 2002-05-21 Juergen Vigna <jug@sad.it>
8333 * buffer.C (insertErtContents): fix to insert ert asis if it is
8334 non empty. Skip it completely if it contains only whitespaces.
8336 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8338 * BufferView_pimpl.C:
8339 * BufferView2.C: clear selection on paste (bug 393)
8341 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8343 * DepTable.C: include ctime
8345 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8347 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8349 2002-05-14 Juergen Vigna <jug@sad.it>
8351 * text.C (breakParagraph): fixed function to honor the keepempty
8352 layout in the right maner and also to permit the right breaking
8353 algorithm on empty or non empyt keepempty paragraphs.
8355 * paragraph.C (breakParagraph): we have to check also if the par
8356 is really empty (!size()) for isempty otherwise we do the wrong
8359 2002-05-10 Juergen Vigna <jug@sad.it>
8361 * buffer.[Ch] : The following are only changes to the ert
8362 compatibility read reading old LaTeX layout and font stuff and
8363 convert it to ERTInsets.
8365 * buffer.h: added isErtInset().
8367 * buffer.C (struct ErtComp): add a fromlayout bool to check
8368 if we're inside a LaTeX layout.
8369 (isErtInset): new helper function.
8370 (insertErtContents): look for other ert insets before this one
8371 and insert the contents there, so that we don't have subsequent
8372 ERT insets with nothing between them. This way we create only one
8373 inset with multiple paragraphs. Also check if we don't insert only
8374 spaces ' ' as they are ignored anyway afterwards in the .tex file
8375 so if we have only spaces we will ignore this latex part in the
8377 (parseSingleLyXformat2Token \\layout): better compatibility when
8378 reading layout-latex stuff.
8379 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8381 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8382 stuff after reading the inset only get the information back from
8385 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8387 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8389 * LaTeXFeatures.C (getBabelOptions): New method.
8391 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8393 * BufferView_pimpl.C (Dispatch): work around missing argument for
8396 2002-05-08 Juergen Vigna <jug@sad.it>
8398 * text.C (leftMargin): handle paragraph leftindent.
8400 * paragraph.C (writeFile): write the new \\leftindent tag.
8401 (validate): handle leftindent code.
8402 (TeXEnvironment): handle paragraphleftindent code again.
8404 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8406 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8407 for paragrap_extra indent code and new token \\leftindent.
8408 (latexParagraphs): handle the leftindent as environment.
8410 * ParameterStruct.h: added leftindent support.
8412 * ParagraphParameters.C (leftIndent): added support functions for
8413 the paragraph left indent.
8415 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8418 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8420 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8423 * text.C (computeBidiTables): No bidi in insetERT.
8425 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8428 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8430 * version.C.in: pre 5
8432 2002-05-02 José Matos <jamatos@fep.up.pt>
8433 * buffer.C (makeDocBookFile): white space changes, add newline to
8435 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8437 * tabular.C (docBook): fix typo.
8439 2002-05-03 Juergen Vigna <jug@sad.it>
8441 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8442 change in LyXText as we can not be sure it was not freed.
8443 (drawOneRow): remove unused code.
8445 * text.C (drawInset): redo the calculation of the need_break_row as
8446 it could have a row which was already freed.
8447 (draw): look at the return value of drawInset and return false if
8448 it also returned false.
8449 (paintRowText): look at the return value of draw and return false if
8450 it also returned false.
8452 * lyxtext.h: added bool return type to drawInset() and draw() so that
8453 if we have a change in the row so that the rowbreak has to be redone
8454 we abort drawing as it will be called again.
8456 2002-05-02 Juergen Vigna <jug@sad.it>
8458 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8459 a change in the maintext also if we're inside an inset.
8460 (Dispatch): set the cursor again after a break line and after the
8461 screen has been updated as it could be we're in a different row.
8463 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8464 to set the cursor behind the pargraph with > size().
8465 (setCursor): check also for the same paragraph when checking where
8466 to put the cursor if we have a NFR inset.
8468 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8469 parts of layout read further up as it still was in the wrong
8472 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * screen.C (drawFromTo): change sine fullRebreak always return
8477 * buffer.C (parseSingleLyXformat2Token): reindent some
8479 * BufferView_pimpl.C (update): change since fullRebreak always
8481 (Dispatch): git rid of the last hardcoded "Standard"s.
8483 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8485 * text2.[Ch] (fullRebreak): make it return void now that we always
8488 2002-04-30 Juergen Vigna <jug@sad.it>
8490 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8491 ert compatibility check for "latex" layout.
8493 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8495 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8496 minipages: use col% instead of p%, and also use the current font.
8497 (makeLaTeXFile): Fix use babel condition.
8498 (parseSingleLyXformat2Token): Correct font when reading old floats.
8500 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8502 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8503 inserting list of floats.
8505 2002-04-25 Herbert Voss <voss@lyx.org>
8507 * MenuBackend.C (expand): don't add the graphics extensions to the
8510 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8513 non-existing layout, do not complain if it was the default layout
8514 of the original class (bug #342)
8516 2002-04-24 Juergen Vigna <jug@sad.it>
8518 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8519 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8521 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8523 * buffer.C (getBibkeyList): If using \bibliography, return the
8524 option field with the reference itself. Enables us to provide natbib
8525 support when using \bibliography.
8527 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8529 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8531 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8532 natbib is provided by the LaTeX class.
8534 2002-04-23 Juergen Vigna <jug@sad.it>
8536 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8539 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8541 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8543 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8545 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8546 ensuremath around textordmasculine, textordfeminine and
8549 2002-04-19 Juergen Vigna <jug@sad.it>
8551 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8552 reinitializing the buffer otherwise row-dimensions may be wrong.
8553 (update): reset also the selection cursors if they do exits otherwise
8554 their x/y positions may be wrong.
8556 * text2.C (cursorDown): don't enter the inset if we came from a row
8557 above and are one row over the inset.
8559 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8560 really leaving an inset.
8562 2002-04-18 Juergen Vigna <jug@sad.it>
8564 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8565 of the selected paragraph does not have the selected layout also if
8568 * text2.C (setLayout): fixed bug which did not change last selected
8571 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8572 changed the read and substituted \\end_float with \\end_inset!
8574 * BufferView_pimpl.C (cursorPrevious):
8575 (cursorNext): fixed to make it work with rows heigher than the work
8576 area without moving the cursor only the draw of the row.
8577 (workAreaMotionNotify): fix jumping over high rows.
8579 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8581 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8584 2002-04-16 Juergen Vigna <jug@sad.it>
8586 * text2.C (setCursor): set also the irow().
8587 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8589 (cursorDown): support for locking an inset if the x_fix value goes
8590 inside it. That way I can transverse insets too with cursor up/down.
8592 * lyxrow.h: added irow helper function same as other (i) functions.
8594 * BufferView_pimpl.C (cursorPrevious):
8595 (cursorNext): fixed for insets!
8597 2002-04-15 Juergen Vigna <jug@sad.it>
8599 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8600 position otherwise it is wrong in some cases.
8602 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8603 inside the inset before the call.
8605 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8607 * buffer.[Ch] (getBibkeyList): make it const.
8609 2002-04-12 Juergen Vigna <jug@sad.it>
8611 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8613 * text2.C (getCursorX): new helper function
8614 (setCursor): compute also ix_
8615 (setCursorFromCoordinates): set also ix.
8617 * lyxcursor.h: added ix_ and helper functions.
8619 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8621 * buffer.C (insertStringAsLines): dont break paragraph if the this
8622 paragraph is inside an inset which does not permit it!
8624 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8625 also with no chars on this paragraph.
8626 (paintRowText): only paint stuff if it's inside the workarea!
8628 * paragraph.C (breakParagraph): honor keepempty flag and break the
8629 paragraph always below not above.
8631 * BufferView2.C (unlockInset): update the paragraph layout on inset
8632 unlock as we changed paragraph in such a case.
8634 * lyxfind.C (LyXFind): clear the former selection if not found!
8636 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8637 again called in insertChar().
8639 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8640 an inset which uses the whole row!
8641 (rightMargin): ditto.
8642 (insertChar): force a rebreak if we inserted an inset!
8644 2002-03-28 Herbert Voss <voss@lyx.org>
8646 * lyxlength.[Ch]: add inBP() to get the right PS-point
8647 units (BigPoint). With inPixels we have rounding errors
8649 2002-04-11 Juergen Vigna <jug@sad.it>
8651 * text2.C (setCursorFromCoordinates): set iy to the right value.
8652 (setCursor): add check if row->previous exists!
8654 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8655 an old float_type as this was the case in the old code!
8657 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8659 * BufferView2.C (showLockedInsetCursor): use iy
8660 (fitLockedInsetCursor): ditto
8662 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8663 locked insets as there we have the right value now.
8665 * lyxcursor.C: added iy_ variable and iy functions to set to the
8666 baseline of cursor-y of the locked inset.
8668 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8669 (setCursor): fixed for insets which need a full row.
8671 * text.C (rowLastPrintable): don't ignore the last space when before
8672 an inset which needs a full row.
8673 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8674 as last character of a row when before a inset which needs a full row.
8676 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8678 * version.C.in: update date
8680 * text2.C (fullRebreak): try to always return true and see what
8683 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8685 * MenuBackend.C (expand): use Floating::listName
8687 * FloatList.C (FloatList): add listName argument to the built-in
8690 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8691 text associated with the float.
8693 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8695 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8697 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8699 * ShareContainer.h: add a couple of missing typenames.
8701 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8703 * lyxrc.C (getDescription): use _() correctly rather than N_().
8705 2002-03-28 Herbert Voss <voss@lyx.org>
8707 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8708 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8710 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8712 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8713 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8715 2002-03-29 Juergen Vigna <jug@sad.it>
8717 * lyxfunc.C (dispatch): add a missing fitCursor call.
8719 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8720 it was scrolled by a cursor move, so return the bool status.
8722 * BufferView.C (fitCursor): return the bool flag also to the outside
8723 world as this is needed.
8725 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8727 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8728 call the edit() as it is not needed (and wrong) IMO.
8729 (workAreaButtonPress): set the screen_first variable before evt.
8730 unlock the inset as this may change screen_first and then we have
8731 a wrong y position for the click!
8733 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8735 * MenuBackend.C (expand): another translation that I missed
8737 2002-03-28 Juergen Vigna <jug@sad.it>
8739 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8741 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8743 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8747 * MenuBackend.C (expand): fix export/view/update when there is no
8750 2002-03-27 Herbert Voss <voss@lyx.org>
8752 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8755 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8757 * bufferview_funcs.C (currentState): only show paragraph number
8758 for is DEVEL_VERSION is set.
8760 * lyxfunc.C (dispatch): put warning in INFO channel
8762 * MenuBackend.C (expand): translate the name of floats
8764 * FloatList.C (FloatList): mark the float names for translation
8766 * converter.C (convert): use LibScriptSearch
8768 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * MenuBackend.C (defaults): fix default menu (we might as well get
8773 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8775 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8778 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8780 * lyxvc.C: reorder includes.
8782 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8784 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8787 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8789 * CutAndPaste.C: change layouts earlier on paste
8790 to avoid crashing when calling getFont()
8792 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8794 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8797 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8799 * WorkArea.C: remove 'Pending' debug message.
8801 * most files: ws cleanup
8803 * buffer.[Ch]: ws changes
8805 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8807 2002-03-21 Juergen Vigna <jug@sad.it>
8809 * tabular.C (SetMultiColumn): collapse also the contents of the
8810 cells and set the last border right. Added a Buffer const * param.
8812 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8817 2002-03-19 Juergen Vigna <jug@sad.it>
8819 * text2.C (clearSelection): reset also xsel_cache.
8821 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8822 where it needs to be called (John tells us to do so too :)
8823 (selectionLost): reset sel_cache.
8825 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8827 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8829 * text2.C (setCursorIntern): put debuging code in INSETS channel
8831 2002-03-19 André Pönitz <poenitz@gmx.net>
8833 * lyxfunc.C: tiny whitespace change
8835 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8837 * ToolbarDefaults.C (init):
8838 * LyXAction.C (init):
8840 * BufferView_pimpl.C (Dispatch):
8841 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8843 2002-03-19 Allan Rae <rae@lyx.org>
8845 * exporter.C (Export): removeAutoInsets before doing anything else.
8846 While I've just introduced a dependency on BufferView this really is
8847 the best place to clean the buffer otherwise you need to cleanup in
8848 a dozen places before calling export or cleanup in a dozen functions
8851 * converter.C (runLaTeX):
8852 (scanLog): Better handling of removeAutoInsets and screen updates.
8854 * lyxfunc.C (dispatch): small whitespace changes
8856 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8858 * WorkArea.C (C_WorkAreaEvent): return a value.
8859 (event_cb): return 1 if we handled the event, 0 otherwise.
8861 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8863 2002-03-18 Juergen Vigna <jug@sad.it>
8865 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8866 (GetAdditionalWidth): ditto.
8870 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8871 inset if we're there actually (probably not used right now but this
8872 is the direction to go for unifying code).
8873 (paste): disable code to clear the selection.
8875 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8876 inside an InsetText and move the check further up as it is in the
8879 * text2.C (pasteSelection): set a selection over the pasted text.
8881 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8883 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8884 and libgraphics to build on Cygwin.
8886 2002-03-15 Juergen Vigna <jug@sad.it>
8888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8889 inserting an Inset into the paragraph. I know this is not the best
8890 fix but we already use current_view in CutAndPaste so we will remove
8891 all of it's using at the same time.
8893 * buffer.C (sgmlError): deactivated function till it is rewritten in
8894 the right mode, now it can create problems.
8896 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8897 before accessing it.
8899 2002-03-14 Juergen Vigna <jug@sad.it>
8901 * undo_funcs.C (textHandleUndo): do the right thing when updating
8902 the inset after the undo/redo.
8904 * text2.C (setCursor): just some testcode for #44 not ready yet.
8906 * undo_funcs.C (textHandleUndo): set the next() and previous()
8907 pointers of the paragraph to 0 before deleting otherwise we have
8908 problems with the Paragraph::[destructor].
8910 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8911 on a paragraph insertion.
8913 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8915 * buffer.C (asciiParagraph): use += operator for char append to
8918 * paragraph.C (getFontSettings): compare >= not just >
8919 (highestFontInRange): ditto
8922 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * paragraph.C: change several algorithm to be more appripriate for
8925 the problem domain. This is lookip in FontList and in the InsetList.
8927 2002-03-13 André Pönitz <poenitz@gmx.net>
8930 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8932 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8937 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8939 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8941 * Painter.C (display): anon helper function, adjust code for this
8943 (pixmap): remove function.
8945 * Painter.h: remove private display variable.
8947 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8949 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8951 * WorkArea.[Ch]: remove figinset_canvas cruft.
8953 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8955 * lyxtextclass.C (operator): add one item cache optimization.
8957 * bufferlist.h: doxy changes
8959 * bufferlist.C: ws changes
8961 * DepTable.[Ch] (ext_exist): place const in the right spot.
8963 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8965 (workAreaExpose): call resizeInsets when the with BufferView changes.
8966 (Dispatch): adjust for protectedBlank removal
8967 (specialChar): call updateInset if the insert went ok.
8969 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8970 specialChar instead.
8972 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8974 * BufferView.h: doxy change
8976 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8978 * lyxtextclass.C (operator[]): remove non-const version
8979 (defaultLayout): remove non-const version
8981 2002-03-12 Juergen Vigna <jug@sad.it>
8983 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8984 did resize the LyXText too.
8986 * buffer.C (readLyXformat2): set layout information on newly allocated
8989 * tabular.C (OldFormatRead): set layout information on the paragraph.
8991 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
8993 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8995 2002-03-11 Juergen Vigna <jug@sad.it>
8997 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8999 (resizeCurrentBuffer): force also the insets to resize themselfes.
9000 (moveCursorUpdate): fixed up for InsetText.
9002 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9005 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9006 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9007 value of Dialogs::tooltipsEnabled().
9008 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9010 2002-03-08 Juergen Vigna <jug@sad.it>
9012 * BufferView_pimpl.C (updateInset): update inset inside inset also
9013 if it isn't inside theLockingInset().
9015 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9017 * buffer.C (asciiParagraph): redo some of the word and line length
9019 (getLists): look for Caption instead of caption.
9021 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9023 * buffer.C (Buffer): initialize niceFile to true
9026 (makeDocBookFile): make sure niceFile is true on exit
9028 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9030 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9032 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9034 * LyXSendto.C: remove.
9035 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9036 * lyx_gui.C: remove now-redundant comment.
9037 * ColorHandler.h: remove forward declaration of class WorkArea.
9038 * lyxfunc.C: remove #include "WorkArea.h".
9040 2002-03-07 Juergen Vigna <jug@sad.it>
9042 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9043 got moved away with the DEPM and also set the inset_owner always
9044 right which before could have been omitted.
9046 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9048 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9049 wanted layout is not found.
9051 2002-03-07 Juergen Vigna <jug@sad.it>
9053 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9055 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9057 * paragraph.C (breakParagraph): use default layout not layout of
9059 (Paragraph): clear ParagraphParameters.
9061 2002-03-06 Juergen Vigna <jug@sad.it>
9063 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9064 otherwise it would not be a valid lenght. Fixed a special case in
9065 the minipage compatibility read where we end the document with a
9068 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9069 was set as it could be 0 for InsetTexts first entry.
9071 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * paragraph.C (writeFile): if layout is empty write out
9074 defaultLayoutName().
9076 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9077 file without named layout we set layout to defaultLayoutName().
9079 2002-03-06 Juergen Vigna <jug@sad.it>
9081 * CutAndPaste.C (copySelection): set layout for new paragraph.
9083 * text.C (prepareToPrint): leave ERT inset left aligned
9084 (leftMargin): don't indent paragraphs inside ERT insets
9086 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9088 * paragraph.C (breakParagraph): dont call clear do the work manually
9090 * paragraph.[Ch] (clear): remove function
9092 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9094 * paragraph.C (Paragraph): dont call clear, the work has already
9097 * lyxtextclass.C (operator): assert if n is empty
9099 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9100 work manually instead.
9102 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9104 * BufferView_pimpl.C: protect selectionLost against text == 0
9106 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * text.C (breakParagraph): fix a setting layout to '0' problem.
9110 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9112 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9113 final location of file, for the included files, and graphics.
9115 2002-03-05 Juergen Vigna <jug@sad.it>
9117 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9119 2002-03-04 Juergen Vigna <jug@sad.it>
9121 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9123 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9124 last column of multicolumn cells.
9125 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9127 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9129 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9130 file if it doesn't go to a temporary file.
9132 * buffer.C (sgmlOpenTag):
9133 (sgmlCloseTag): remove extra newline insertion.
9135 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * text.C (getRowNearY): comment out debug msg
9139 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9141 * text2.C: first -> first_y
9143 * text.C (getRowNearY): add some attemts at a possible
9144 optimization, not working.
9146 * tabular.[Ch]: add BufferParams to several function so that newly
9147 created paragraph can be initialized to he default layotu for the
9150 * tabular-old.C (ReadOld): add buf->params to call of Init
9152 * screen.C: rename text->first to text->first_y
9154 * paragraph.C (breakParagraph): always set layout in the broken
9157 * lyxtextclass.C (Read): remove lowercase
9160 (delete_layout): ditto
9162 * lyxtext.h: rename first -> first_y
9164 * lyxlayout.C (Read): remove lowercase
9167 (obsoleted_by): ditto
9169 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9171 * buffer.C (insertErtContents): add params are to InsetERT
9172 (parseSingleLyXformat2Token): add code to check if a paragraphs
9173 layout really exist.
9174 (parseSingleLyXformat2Token): add params to several inset
9176 (asciiParagraph): remove lowercase, do the layout comparisons with
9179 * BufferView_pimpl.C (cursorNext): first -> first_y
9180 (resizeCurrentBuffer): first -> first_y
9181 (updateScrollbar): first -> first_y
9182 (scrollCB): first -> first_y
9183 (workAreaMotionNotify): first -> first_y
9184 (workAreaButtonPress): first -> first_y
9185 (checkInsetHit): first -> first_y
9186 (cursorPrevious): first -> first_y
9187 (cursorNext): first -> first_y
9188 (Dispatch): add buffer_->params to severl inset contructors
9190 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * lyxlayout.C (Read): remove some debug info that I forgot.
9194 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9195 clean up the code slightly.
9196 (makeLinuxDocFile): ditto
9197 (makeDocBookFile): ditto
9199 * text2.C: layout as string
9201 * text.C: layout as string
9203 * paragraph_pimpl.C: layout as string
9205 * paragraph.[Ch]: layout as string
9207 * lyxtextclasslist.[Ch]: layout as string
9209 * lyxtextclass.[Ch]: layout as string
9211 * lyxtext.h: layout as string
9213 * lyxlayout.[Ch]: layout as string
9215 * lyx_cb.C: layout as string
9217 * bufferview_funcs.C: layout as string
9219 * bufferparams.C: layout as string
9221 * buffer.C: layout as string
9223 * LyXView.[Ch]: layout as string
9225 * LaTeXFeatures.[Ch]: layout as string
9227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9229 * BufferView_pimpl.C: change current_layout to string, remove
9234 (workAreaButtonRelease): layout as string
9236 * BufferView2.C (unlockInset): adjust
9238 * vspace.C (asLatexCommand): use an explict temp variable.
9240 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9242 * Makefile.am: use FRONTEND_*
9244 2002-03-01 Juergen Vigna <jug@sad.it>
9246 * tabular.C (SetWidthOfMulticolCell): changed to something better
9247 I hope but still work in progress.
9248 (recalculateMulticolumnsOfColumn): renamed function from
9249 recalculateMulticolCells as it is more appropriate now.
9250 (SetWidthOfCell): calculate multicols better.
9252 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9254 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9256 * lyxfunc.C (processKeySym): print sequence also if it is
9257 `deleted' (complete)
9259 * kbsequence.C (print): print sequence even if it is deleted
9260 (complete would be a better word, actually).
9262 * lyxfunc.C (dispatch): print complete options after a prefix key
9264 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9266 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9268 * text2.C (setCharFont): eliminate setCharFont code duplication.
9270 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9272 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9273 LFUN_TABULAR_FEATURE (bug #177)
9275 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9277 * Makefile.am: remove figure.h
9279 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9281 * Bufferview_pimpl.C:
9293 * text2.C: remove #include "lyx_gui_misc.h".
9295 * LaTeX.C: added #include <cstdio>
9297 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9299 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9300 that the paragraph following this one can have.
9302 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9304 * vspace.C (asLatexCommand): fix bogus gcc warning
9306 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9308 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9310 * text2.C (setLayout): get rid of redundant code
9312 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9314 * text2.C (incDepth): make sure depth cannot be increased beyond
9317 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9319 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9320 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9322 * PainterBase.h (image):
9323 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9326 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9330 * BufferView_pimpl.C:
9331 * BufferView_pimpl.h:
9351 * sp_spell.C: remove fig inset, and the crap house of
9352 cards that follows it
9354 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9360 * nt_defines.h: move .h into support/
9362 * vms_defines.h: remove
9364 * WorkArea.C: add space in debug output
9368 * buffer.C: add WITH_WARNINGS
9372 * bufferlist.C: s/retrive/retrieve/, add docs
9383 * lyxgui.C: add ID to X error handler
9385 * lyxtestclass.c: fix typo
9387 2002-02-26 Juergen Vigna <jug@sad.it>
9389 * tabular_funcs.C (write_attribute): changed so that some default
9390 attributes are not written at all.
9391 (getTokenValue): set default values before trying to read the
9392 value so we have the return value always set as default if we don't
9393 find the token we search for.
9395 * tabular.C (Write): write bools as bools not as strings!
9397 2002-02-22 Juergen Vigna <jug@sad.it>
9399 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9400 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9402 * text.C (leftMargin): don't add an indent for paragraphs inside
9403 tabular cells (fix #208).
9405 2002-02-21 José Matos <jamatos@fep.up.pt>
9407 * tabular.C (docBook): fixed support for long tables.
9409 2002-02-20 Juergen Vigna <jug@sad.it>
9411 * text2.C (getFont): get the drawing font of the Inset if this
9412 paragraph is inside an inset (only important for InsetERT for now).
9414 * buffer.C (insertErtContents): use new lanugage params in ERT
9417 * CutAndPaste.C: commenting out seemingly uneeded code.
9419 2002-02-19 Allan Rae <rae@lyx.org>
9421 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9422 Iterators might be simple to use but they also get invalidated.
9423 (removeAutoInsets): renamed saved cursor tracking variables and added
9424 some comments to clarify what everything does.
9426 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9433 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9434 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9437 * vc-backend.h: remove #include "support/syscall.h"
9441 * converter.C: rearrange #includes in Lars' approved fashion.
9443 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9444 forward declare class Timeout in the header file.
9446 * XFormsView.C: changes due to the above.
9448 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9451 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9452 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9454 2002-02-18 José Matos <jamatos@fep.up.pt>
9456 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9459 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9461 * a lot of small ws changes
9462 * add a lot of using std::XXX
9463 * use std construcs some places where approp.
9464 * use some exisint stuff from lyxfunctional where approp.
9465 * Make file changes to use partial linking (lets test this now...)
9467 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9471 remove #include "support/syscontr.h" as it's redundant. Always has been.
9479 change Systemcalls::System to Systemcalls::Wait and
9480 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9481 No change of functionality, just reflects the stripped down Systemcalls
9484 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9486 * debug.[Ch]: add a GRAPHICS type to the enum.
9488 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9490 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9492 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9495 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9497 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9498 match the changes below.
9500 * text2.C (toggleInset): if there is not editable inset at cursor
9501 position, try to see if cursor is _inside_ a collapsable inset
9504 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9506 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9507 document menu has a nice checkbox
9509 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9511 * lyxlength.C (asLatexString): change PW to output as percent of
9514 * lengthcommon.C: change '%' to 't%'
9516 * lyxfunc.C (dispatch): a few comments from Martin
9518 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9522 * BufferView_pimpl.h:
9523 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9526 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9528 * vspace.C (inPixels): fix compiler warning
9530 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * lyxfunc.C (getStatus): fix status message for disabled commands.
9534 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9536 * BufferView_pimpl.C: fix crash on close buffer
9537 during selection (#227)
9539 2002-01-27 Herbert Voss <voss@lyx.org>
9541 * buffer.C: link old Figure to new graphic inset
9543 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9545 * FontLoader.C (getFontinfo): Change the latex font names in order
9546 to match the names of type1inst.
9548 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9552 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9555 (remove_files_with_extension): ditto
9556 (remove_file): ditto
9559 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9560 document is smaller than the work area height. Do not initialize
9561 static variables to 0.
9563 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9567 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9568 LFUN_LAYOUT_PARAGRAPHS.
9570 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9571 tabular. It is possible to provide a possible cell, which will
9572 typically be the actcell from the corresponding insettabular
9574 * lyxfunc.C (getStatus): small cleanup; disable
9575 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9578 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9582 * paragraph.C (startTeXParParams):
9583 (endTeXParParams): new methods. The LaTeX code to
9584 start/end paragraph formatting
9585 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9586 empty (fixes bug #200)
9588 * vspace.C (inPixels): adapt to the change below
9589 (inPixels): [later] more cleanups (remove unused variables)
9591 * lyxlength.C (inPixels): change to use a width and a height as
9594 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9597 Replaced with \paperwidth
9599 * DepTable.C (insert): add std:: qualifier
9601 2002-01-18 Allan Rae <rae@lyx.org>
9603 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9606 * text.C (drawInset): Turned out I didn't know enough about how
9607 rebreaking worked. This fixes most of the redraw problems. I see
9608 an occasional cursor trail when a line is broken now and the cursor
9609 placement can seem out by a few pixels also after a rebreak.
9611 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9613 * buffer.C (parseSingleLyXformat2Token): update because minipage
9614 width is now a LyXLength
9616 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9618 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9621 2002-01-17 Juergen Vigna <jug@sad.it>
9623 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9625 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9626 is set correctly and the inset is updated correctly.
9628 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9630 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9631 the beginning of the loop.
9633 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9635 * lyxrc.C: improve help for use_scalable_fonts
9637 2002-01-17 Allan Rae <rae@lyx.org>
9639 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9641 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9643 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9644 make sure to set their inset_owner to the right value (bug #171)
9646 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9649 * DepTable.C: Implement mtime checking to reduce time spent doing
9652 2002-01-16 Juergen Vigna <jug@sad.it>
9654 * tabular.C (GetAdditionalHeight): one of error fixed.
9656 * lyxrc.C (output): small fix in writing use_pspell.
9658 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9660 * sp_base.h: #include LString.h
9662 2002-01-16 Allan Rae <rae@lyx.org>
9664 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9665 Can someone check this please?
9667 * text.C (drawInset): It was possible that p.row would be removed by
9668 breakAgainOneRow upsetting a few other settings. There may be another
9669 small tweak possible by setting need_break_row = 0 when p.row has been
9670 removed but I don't know enough about the logic here.
9672 2002-01-15 Allan Rae <rae@lyx.org>
9674 * text.C (insertChar): removed conditional truism.
9676 * BufferView2.C (removeAutoInsets): More tweaks.
9677 cur_par_prev could be a stray pointer. Check for trailing empty line
9678 in case last line was cur_par and only had an error inset on it.
9680 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9682 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9685 * vc-backend.C (most methods):
9686 * exporter.C (Export):
9687 * converter.C (convert):
9689 * LyXSendto.C (SendtoApplyCB):
9690 * lyxfunc.C (dispatch):
9694 * lyx_cb.C (AutoSave):
9696 * BufferView_pimpl.C (MenuInsertLyXFile):
9697 * buffer.C (runChktex): use Buffer::filePath().
9699 * buffer.h: rename filename to filename_; rename filepath to
9700 filepath_ and make it private
9701 (filePath): new method
9703 * buffer.C (writeFile): use fileName()
9706 * lyx_main.C (init): fix starting of LyX when the binary is a
9707 link from so,ewhere else.
9709 * minibuffer.C: include <cctype> for isprint
9711 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9713 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9714 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9715 name clash with InsetCollapsable's width function.
9717 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * lastfiles.C: include <iterator>
9721 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9723 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9726 * buffer.C (makeLaTeXFile): ditto.
9727 Also make loop operation more transparent.
9729 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9731 * ToolbarDefaults.C: remove trailing comma closing namespace.
9733 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9735 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9738 * trans.C (Load): comment out unused variable, allowed.
9740 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9742 * minibuffer.[Ch] (append_char): new method to recieve input from the
9743 drop-down completion browser. If a key was pressed, then recieve this
9744 char and append it to the existing string.
9745 (peek_event): modify the positioning data passed to the completion
9746 browser so that it can be placed above the minibuffer rather than below.
9747 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * LyXAction.C (init): alloe error-next for readonly documents.
9751 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9754 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * bufferlist.C (readFile): create the buffer _after_ checking that
9759 * lyxfunc.C (verboseDispatch): fix handling of arguments
9761 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9763 * lyxrc.C: use string::erase() instead of initializing to "".
9766 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9768 * BufferView_pimpl.h:
9769 * BufferView_pimpl.C:
9772 * text2.C: tell X when we have made a selection for copying
9774 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9776 * BufferView_pimpl.C (MenuInsertLyXFile):
9777 * lyxfunc.C (menuNew):
9779 (doImport): add shortcuts to directory buttons
9781 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9784 * lyxfunc.C (setStatusMessage):
9785 (getStatusMessage): new methods
9786 (getStatus):use setStatusMessage instead of setErrorMessage
9787 (dispatch): when function is disabled, set error message here
9788 [instead of in getStatus previously]
9790 * BufferView_pimpl.C (workAreaButtonRelease): update
9791 toolbar/menubar here too.
9793 2002-01-13 Allan Rae <rae@lyx.org>
9795 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9796 Now seems indestructible. Remaining task is to audit all other
9797 code affected by deleteEmptyParagraphMechanism. One small quirk
9798 left is that an empty document with an error in the preamble can
9799 be made to report an error but no error box appears. I don't know
9801 (removeAutoInsets): Improved comments.
9803 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9806 * Thesaurus.C: update for Aiksaurus 0.14
9808 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9810 * text2.C (firstParagraph): removed member function, all uses
9811 replaces with ownerParagraph
9812 (redoParagraphs): here
9814 (toggleAppendix): here
9815 * BufferView2.C (insertErrors): here
9816 (setCursorFromRow): here
9818 2002-01-13 Allan Rae <rae@lyx.org>
9820 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9821 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9822 There is still a way to segfault this although you may have to do this
9823 multiple times: Have an InsetERT with an unknown command in it.
9824 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9825 <down-arrow>, <Enter> again, View->DVI, BANG!
9827 * text2.C (setCursor):
9828 (deleteEmptyParagraphMechanism):
9829 * lyxtext.h (setCursor):
9830 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9831 Making use of the return value may help fix other bugs.
9833 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9835 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9837 * LyXView.C (updateMenubar): call MenuBar::update here
9838 (updateToolbar): but not here
9839 (showState): do not update toolbar/menubar
9841 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9842 should need to care about that.
9844 * lyxfunc.C (verboseDispatch): simplify a bit
9845 (getStatus): have a version which takes a pseudoaction, and
9846 another which requires a (kb_action,string).
9848 * LyXAction.C (retrieveActionArg): make it work also when action
9849 is not a pseudo-action.
9850 (getActionName): simplify a bit
9853 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * lyxfunc.C (verboseDispatch): new families of methods with
9856 several ways to specify a command and a bool to indicate whether
9857 the command name and shortcut should be displayed in minibuffer
9858 (eventually, we could extend that to a finer bitmask like
9859 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9860 (dispatch): the pristine dispatch command which just, well,
9861 dispatchs! Note it still sets its result to minibuffer; I'm not
9864 * lyxfunc.h: remove setHintMessage
9866 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9868 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * BufferView_pimpl.C (specialChar): delete new inset if we have
9871 not been able to insert it.
9873 * kbmap.C: revert to using int instead of kb_action, since all we
9874 are dealing with is pseudo-actions.
9876 * LyXAction.C (searchActionArg): change to return int instead of
9877 kb_action, since the result is a pseudoaction.
9879 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9881 * buffer.C (insertErtContents): Fix (partially) the font bug.
9883 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9885 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9886 as the other one is broken on my machine!
9888 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9891 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9893 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9895 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9896 reflect their actual use. Provide compatibility code for older lyxrc
9899 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9901 change names of popup font variables in line with the changes to lyxrc.C
9903 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9905 * buffer.C (asciiParagraph): avoid outputing a word twice after
9908 * lyxrc.C (getDescription): document that document_path and
9909 template_path can be empty.
9911 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9913 * LaTeXFeatures.C (getMacros):
9914 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9916 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9918 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9920 (getPackages): rename feature "floats" to "float". Use an array to
9921 iterate over 'simple' features (i.e. just a \usepackage). Add
9922 handling of "amsmath" (renamed from "amsstyle").
9924 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9926 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9929 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9931 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9932 FuncStaus::FuncStatus & FuncStaus::some_method().
9934 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9936 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9937 of the func_satus stuff. Edited and massaged in various ways by
9940 * lyxfunc.C (getStatus): use FuncStatus
9942 2002-01-08 Juergen Vigna <jug@sad.it>
9944 * text.C (nextBreakPoint): use function Inset::isChar().
9946 * paragraph.C (TeXOnePar): use function
9947 Inset::forceDefaultParagraphs.
9949 * buffer.C (latexParagraphs): use function
9950 Inset::forceDefaultParagraphs.
9952 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9954 * lyx_gui.C (init): set the style of the menu popups to
9955 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9957 2002-01-07 Juergen Vigna <jug@sad.it>
9959 * text.C (setHeightOfRow): small fix
9960 (prepareToPrint): don't look at alignment if we don't have the place
9963 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9965 * box.C: New file. Move the Box methods and functions out of box.h,
9966 following Lars' suggestion.
9968 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9970 * box.h: #include "support/LOstream.h", needed for inlined function.
9973 * lyxtextclasslist.C: added some using std declarations.
9975 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
9977 * box.h: make signed dimensions to allow insets wider than
9978 the screen (bug #162)
9980 * BufferView_pimpl.C: add some insetHit debug
9982 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
9984 * vc-backend.C: add FIXME
9986 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9988 * lyxfunc.C (getStatus): enable code for showing math font status
9991 2002-01-07 Juergen Vigna <jug@sad.it>
9993 * text.C (nextBreakPoint): removed debug output not needed anymore.
9995 2002-01-06 Juergen Vigna <jug@sad.it>
9997 * text.C (nextBreakPoint): fixed up this function we had this bug
9998 since ever but now hopefully we break row better.
9999 (insertChar): we have to check if an inset is the next char as it
10000 could now happen that a large inset is causing a break.
10002 2002-01-05 Juergen Vigna <jug@sad.it>
10004 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10005 if it doesn't like to be drawed.
10007 2002-01-04 Juergen Vigna <jug@sad.it>
10009 * BufferView2.C (lockInset): forgot to set a cursor.
10011 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10013 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10015 * FormMathsPanel.C:
10018 * form_maths_panel.C:
10019 * form_maths_panel.h:
10020 * form_maths_panel.fd: implemented sub- and super- buttons in math
10023 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10024 (or ^ space) to be used as in TeX (req'd by André).
10026 * lyxfunc.C: Allow ^ and _ again to be used both as
10027 super/subscript (mathed) and as themselves (in text).
10029 2002-01-03 Allan Rae <rae@lyx.org>
10031 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10032 "LyX" or the filename of the current buffer if it has one. This is a
10033 modified form of John Levon's patch.
10035 * XFormsView.C (setWindowTitle): also set icon title.
10037 * LyXView.h (setWindowTitle): signature changed.
10038 * XFormsView.h (setWindowTitle): ditto.
10040 2002-01-02 Juergen Vigna <jug@sad.it>
10042 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10044 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10046 * screen.C (topCursorVisible): introduce a temp var for
10047 text->cursor.row(), handle the case where this row is null. (kindo
10050 * text2.C (setCursor): add a couple of asserts.
10052 * paragraph.h (inset_iterator): add -> operator
10054 * paragraph.[Ch] (autoDeleteInsets): remove member function
10056 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10057 cursor pos correctly and handle inset deletion by itself.
10058 (insertErrors): move iterator declaration out of for expression
10060 * lyxtextclass.C: add <algorithm>
10062 * Makefile.am: added the new files to sources, removed layout.C
10064 * layout.C: removed file
10066 * layout.h: remove LYX_DUMMY_LAYOUT
10068 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10072 * lyxtextclass.[Ch]:
10073 * lyxtextclasslist.[Ch]: new files
10075 * include order changes to a lot of files, also changes because of
10078 2001-12-27 Juergen Vigna <jug@sad.it>
10080 * buffer.C (asciiParagraph): more fixes.
10082 * tabular.C (ascii): make ascii export support export of only the
10083 data separated by a column-delimiter.
10084 (ascii): better support for ascii export.
10086 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10088 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10090 * tabular_funcs.C: use a "using std::getline" instead of the
10091 previous fix from Angus (necessary for cxx + lyxstring)
10093 2001-12-24 Juergen Vigna <jug@sad.it>
10095 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10097 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10098 problems. First check a minipage also if we have some ert-contents
10099 (not only on par->size(), second set the right depth of the paragraph
10100 on the relink to the root-paragraph-list!
10102 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10103 which then did not anymore update the main paragraphs on undo/redo!
10105 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10107 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10108 code. Support all font-changing funcs (even those which are not in
10109 menu currently). Support for reporting font settings in
10110 mathed (disabled until Andre provides a function on mathed's side).
10112 * func_status.h (toggle): small helper function to set toggle
10115 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10117 * tabular_funcs.C: getline -> std::getline
10119 2001-12-21 Juergen Vigna <jug@sad.it>
10121 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10122 accessed and could be 0 (I couldn't generate this but it seems
10125 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10127 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10128 * tabular_funcs.h: here and include iosfwd
10130 2001-12-20 Juergen Vigna <jug@sad.it>
10132 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10133 inside inset but undo_par was.
10135 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10137 * Thesaurus.C: always include <config.h> in sources.
10141 * box.h: do not include <config.h> in header files
10143 * text.C (paintLastRow): remove unused variable
10145 * text.C (transformChar):
10147 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10149 * Painter.C (text):
10150 * font.C (width): rewrite to use uppercase() instead of
10153 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10155 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10157 * lyxfind.C: clean up of find failure position change
10159 2001-12-20 Juergen Vigna <jug@sad.it>
10161 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10163 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10164 (TeXRow): added to LaTeX a single tabular row.
10165 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10166 (Latex): simplified and finally good LT-h/f support.
10167 (various_functions): just small adaptions for LT-h/f support.
10169 * tabular_funcs.[hC]: added and moved here all not classfunctions
10172 2001-12-19 Juergen Vigna <jug@sad.it>
10174 * tabular.[Ch]: better support for longtabular options (not finished
10177 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10179 * text.C (paintLastRow): use the label font instead of the font of
10180 the last character to compute the size of *_BOX. This makes more
10181 sense and avoids a crash with empty paragraphs.
10182 Use Painter::rectangle to draw EMPTY_BOX.
10184 2001-12-19 Juergen Vigna <jug@sad.it>
10186 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10187 the paragraphs if the replaced paragraph is not the first one!
10188 Tried to delete not used paragraphs but does not work yet so for
10189 now it's inside #ifdef's and by default off!
10191 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10193 * MenuBackend.C: include "lyx_main.h" instead of declaring
10194 lastfiles (actually was declared as LastFiles* instead of a
10197 2001-12-17 Juergen Vigna <jug@sad.it>
10199 * tabular.C (AppendColumn): applied John's fix
10201 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10205 * BufferView_pimpl.h:
10206 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10209 * box.h: new start of class for above
10211 * lyxfunc.C: ignore space-only minibuffer dispatches.
10212 Show the command name when it doesn't exist
10214 * minibuffer.C: don't add empty lines to the history
10216 * minibuffer.C: add a space on dropdown completion
10218 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10220 * text.C: fix line above/below drawing in insets
10222 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * lyxlength.C (LyXLength): Initialize private variables.
10226 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10229 when inserting error insets.
10231 2001-12-13 Juergen Vigna <jug@sad.it>
10233 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10234 actually sometimes the before-paragraph.
10235 (setUndo): don't clear the redostack if we're not actually undoing!
10237 2001-12-06 Juergen Vigna <jug@sad.it>
10239 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10240 and fixed redoing of main paragraph, so we can use it now ;)
10242 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10244 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10246 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10249 2001-12-13 André Pönitz <poenitz@gmx.net>
10252 * undo_func.C: minor cleanup
10254 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10256 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10257 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10258 font in urw-fonts package which is marked as -urw-fontspecific and
10259 does not work (incidentally, changing the encoding in the
10260 fonts.dir of this package to -adobe-fontspecific fixes the
10263 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10264 is a crash when undoing first paragraph (Juergen, please take a
10265 look). THis does not mean the undo fix is wrong, just that it
10268 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10269 the (Paragraph*) version when needed instead of duplicating the
10272 * text.C (workWidth): use Inset::parOwner to find out where the
10273 inset has been inserted. This is a huge performance gain for large
10274 documents with lots of insets. If Inset::parOwner is not set, fall
10275 back on the brute force method
10277 * paragraph_pimpl.C (insertInset):
10278 * paragraph.C (Paragraph):
10279 (cutIntoMinibuffer): set parOwner of insets when
10280 inserting/removing them
10282 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10284 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10290 * mathed/formulabase.C:
10291 * mathed/math_cursor.[Ch]:
10292 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10295 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * lyxlength.[Ch] (operator!=): new function
10299 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * text.C (workWidth): use Inset::parOwner to find out where the
10302 inset has been inserted. This is a huge performance gain for large
10303 documents with lots of insets. If Inset::parOwner is not set, fall
10304 back on the brute force method
10306 * paragraph_pimpl.C (insertInset):
10307 * paragraph.C (Paragraph):
10308 (cutIntoMinibuffer): set parOwner of insets when
10309 inserting/removing them
10311 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10313 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10315 * tabular-old.C (getTokenValue):
10316 * tabular.C (getTokenValue):
10317 (write_attribute): new versions for LyXLength
10318 (everywhere): adjust the use of widths
10320 * tabular.h: change the type of widths from string to LyXLength
10322 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10324 * paragraph.C: fixed missing line number count when exporting
10325 Environments to LaTeX file
10327 * buffer.C: added informational message for checking line numbers.
10329 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10331 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10332 paragraph, do the 'double space' part, but not the 'empty
10335 * text.C (workWidth): small optimization
10336 (getLengthMarkerHeight): use minimal size for negative lengths.
10338 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10340 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10342 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10344 2001-12-11 André Pönitz <poenitz@gmx.net>
10347 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10349 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10351 * text2.C: keep selection on a setFont()
10353 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10355 * lyx_cb.C: another bv->text misuse, from insert label
10357 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10360 * kbsequence.C: re-instate nmodifier mask
10362 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10364 * lyx_main.h: make lyxGUI private.
10366 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10368 * lyxfind.C: place the cursor correctly on failed search
10370 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10372 * text.C (getLengthMarkerHeight): for small heights, the arrows
10373 are not always on top/bottom of the text
10374 (drawLengthMarker): smaller arrows; take the left margin in
10375 account; draw also vfills.
10377 (paintLastRow): remove special code for vfill and standard spaces,
10378 since everything is handled in drawLengthMarker now.
10380 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10382 * buffer.C (insertErtContents): try to handle font and language
10383 interaction a bit better.g
10385 * ColorHandler.C (updateColor): change the hash to cover the whole
10386 LColor enum, ws cleanup
10387 (getGCLinepars): ditto
10388 (getGCLinepars): only lookup in the linecache once.
10390 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10392 * iterators.C (operator++): Make the iterator more robust
10394 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10401 * text.C: better added space drawing
10403 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10406 * BufferView2.C: fix layout combo update on inset unlock
10408 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10410 * Makefile.am: don't compile unused files
10412 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10416 * LyXAction.C: remove old LFUN_LAYOUTNO
10418 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10420 * paragraph_pimpl.h:
10421 * paragraph_pimpl.C: isTextAt() doesn't need font param
10423 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10426 * lyxlex.C: little cleanup
10428 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10430 * BufferView_pimpl.C: fix insertAscii for insets
10432 2001-12-05 Juergen Vigna <jug@sad.it>
10434 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10435 set the right font on the "multi" paragraph paste!
10437 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10443 * lyxlength.C: remove out-commented code.
10445 * BufferView_pimpl:
10459 * vc-backend.C: change "while(" to "while ("
10461 * lyxlength.[Ch]: add zero function to check if length is zero or
10463 * lyxgluelength.C: use it
10465 2001-12-05 Allan Rae <rae@lyx.org>
10467 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10468 Works for 2.95.3, from what I understand of Garst's reports this should
10469 work for other g++ versions. We're screwed if the abs(int) definition
10470 changed between bugfix releases of gcc.
10472 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10474 * text.C: fix chapter label offset !
10476 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10479 * text.C: fix hfill at end of line, clean up
10481 2001-12-04 Juergen Vigna <jug@sad.it>
10483 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10484 that we force an update of the inset and it's owners if neccessary.
10486 2001-12-03 Juergen Vigna <jug@sad.it>
10488 * text.C (rowLast): simplified code
10490 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10492 * lyxfunc.C: fix show options on timeout
10494 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10496 * screen.C (topCursorVisible): scroll half a page when the cursor
10497 reached top of bottom of screen
10499 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10501 * minibuffer.C: deactivate on loss of focus
10503 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10505 * vspace.[Ch] (operator!=): add operator.
10507 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10509 * BufferView_pimpl.C: refuse to open an inset when
10510 there's a selection.
10512 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10514 * BufferView_pimpl.C: allow to click on RHS of full row insets
10516 2001-11-30 Juergen Vigna <jug@sad.it>
10518 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10519 insets for undo reasons.
10521 2001-11-28 André Pönitz <poenitz@gmx.net>
10523 * vspace.[Ch]: cosmetical changes
10525 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10535 * kbsequence.C: part re-write of old kb code
10538 * WorkArea.C: remove Lgb_bug_find_hack
10540 2001-11-30 José Matos <jamatos@fep.up.pt>
10542 * buffer.C (makeDocBookFile): add a comment to point a hack.
10543 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10544 Fixed a double write of labels.
10546 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10549 * LaTeX.h Fixed bug in LaTeX class where it would not
10550 re-run latex if no depfiles were changed, but the .dvi was removed.
10552 2001-11-28 André Pönitz <poenitz@gmx.net>
10554 * all the files from the change on 2001/11/26:
10555 use lyx::layout_type instead of LyXTextClass::size_type
10556 use lyx::textclass_type instead of LyXTextClassList::size_type
10558 2001-11-29 Juergen Vigna <jug@sad.it>
10560 * text.C: added support for paragraph::isFreeSpacing()
10562 * buffer.C: same as above
10564 * paragraph.h: inserted isFreeSpacing() function to enable
10565 FreeSpacing inside InsetERT.
10567 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10568 of the paragraph's in the cut/copy buffer to 0!
10570 * text2.C (removeRow): remove the assert as it can!
10572 * lyxtext.h: added helper function firstRow returning firstrow and
10573 made firstrow private again.
10575 * BufferView2.C (lockInset): don't relock if we're already locked!
10577 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10578 the only paragraph.
10579 (removeRow): added Assert::(firstrow)
10581 * debug.C: forgot to add INSETTEXT here.
10583 2001-11-28 Juergen Vigna <jug@sad.it>
10585 * sp_spell.C (initialize): changed error text to more general
10586 spellchecker command use (not only ispell!)
10588 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10590 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10592 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10594 * vspace.C: initialise lyxgluelength on failure
10596 2001-11-28 Allan Rae <rae@lyx.org>
10598 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10599 declaration & definition that looks like a function declaration.
10601 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10603 * BufferView2.C (copy):
10604 (copyEnvironment): do not clear the selection when doing a copy.
10606 * text.C (paintFirstRow): compilation fix
10608 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10610 * tabular.C (Latex): correct line count when writing latex.
10612 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10614 * paragraph_pimpl.h:
10615 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10618 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10622 * LColor.C: change vfillline->added_space
10624 * text.C: add markers and text for added space
10626 * vspace.C: fix comment
10628 2001-11-28 André Pönitz <poenitz@gmx.net>
10630 * paragraph.C: whitespace changes
10631 * all the other files from the change on 2001/11/26:
10632 change *::pos_type into lyx::pos_type
10634 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10636 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10637 language of the document when inserting error insets.
10639 2001-11-26 André Pönitz <poenitz@gmx.net>
10641 * BufferView_pimpl.[Ch]:
10649 * paragraph_pimpl.[Ch]:
10652 * text2.C: reduce header dependencies, introduce type for positions
10654 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10656 * <various>: change to use Alert.h
10658 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10660 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10661 when encountering an unknown token.
10662 (readLyXformat2): Show an error message if there were unknown tokens.
10664 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10667 * BufferView_pimpl.C:
10671 * text2.C: use par->isInset()
10673 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10675 * paragraph_pimpl.h:
10676 * paragraph_pimpl.C: cleanup
10678 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * text2.C (removeRow):
10681 * text.C (setHeightOfRow): remove useless (and costly) call to
10684 2001-11-20 Allan Rae <rae@lyx.org>
10686 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10687 Now need Inset*::checkInsertChar() to return true for appropriate
10688 cases so that the characters in the minibuffer will actually be
10691 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10693 * text.C: change the order of the includes.
10694 (workWidth): initialize it at once.
10695 (workWidth): make maxw unsigned
10696 (setHeightOfRow): remove unused variable (inset)
10697 (selectSelectedWord): remove unused variable (inset)
10698 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10700 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10702 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10703 server is not running.
10705 (closeConnection): add debug info when server is disabled.
10707 * ColorHandler.C (getGCForeground): send debug message to GUI
10710 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10712 * kbmap.C (bind): modify because return conventions of
10713 kb_sequence::parse have changed.
10715 * kbsequence.C (parse): only ignore spaces and not any stupid
10716 control character. This avoids tests like s[i] <= ' ', which are
10717 guaranteed to fail with 8bit characters and signed chars.
10718 Change return code to string::npos when there have been no error
10719 (0 was a bad idea when error is at first character)
10721 2001-11-14 José Matos <jamatos@fep.up.pt>
10724 * buffer.C (simpleDocBookOnePar): removed unused argument.
10726 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10728 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10729 insets which are part of a word. Paragraph::isLetter takes care of
10730 that now. Use Paragraph::isInset to identify insets.
10731 (selectSelectedWord): do not test for hyphenation break.
10733 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10734 that protected spaces are considered as spaces.
10736 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10739 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10742 * lyxserver.C: fix it. and small cleanup.
10744 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10746 * BufferView_pimpl.C: use inline helpers
10749 * LaTeXFeatures.C: fix typos
10752 * Spacing.C: move spacing_string into class
10754 * ToolbarDefaults.C: move stuff into namespace anon
10756 * layout.h: update enum
10758 * lyxfunc.C: use better debug
10760 * minibuffer.h: fix typo
10764 * WorkArea.C: add and use Debug::WORKAREA
10768 * text2.C: code re-organisation, inline helpers
10770 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10772 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10773 std::vector.empty().
10775 2001-11-09 Allan Rae <rae@lyx.org>
10777 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10778 '\n's after tables. Tabular and ERT inset work now makes this no
10781 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10784 * minibuffer.C: fix crash, improve drop-down completion
10786 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10789 * lyxserver.C: invalidate fd's when doing endPipe()
10791 2001-11-08 José Matos <jamatos@fep.up.pt>
10793 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10794 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10797 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10799 2001-11-07 José Matos <jamatos@fep.up.pt>
10802 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10805 * buffer.C (sgmlOpenTag):
10806 * buffer.C (sgmlCloseTag): removed debug info.
10808 * buffer.h (sgmlOpenTag):
10809 * buffer.h (sgmlCloseTag): made public.
10811 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10813 * buffer.C (saveParamsAsDefaults):
10814 * lyx_cb.C (MenuLayoutSave): remove
10816 * LyXAction.C (init):
10818 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10820 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10822 * buffer.C (setPaperStuff): removed from here...
10824 * bufferparams.C (setPaperStuff): ... and moved there.
10826 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10830 * XFormsView.C: add support for drop-down completion
10832 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10834 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10837 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10839 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10842 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10844 * lyx_main.C: change ref to known bugs
10846 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10848 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10849 to work around older babel problems.
10851 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10853 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10855 2001-10-24 Juergen Vigna <jug@sad.it>
10857 * tabular-old.C (ReadOld): below variable changes reflected.
10859 * tabular.[Ch]: added ltType struct for longtable header/footer
10860 defines and changed all instances where they are used. Added
10861 future support for double top/bottom rows.
10863 2001-10-24 José Matos <jamatos@fep.up.pt>
10865 * buffer.h (docbookHandleCaption):
10866 * buffer.C (docbookHandleCaption): removed unused function.
10867 (makeDocBookFile): moved docbook supported version to v4.1.
10869 2001-10-24 José Matos <jamatos@fep.up.pt>
10872 * tabular.C (docbookRow): new function to export docbook code of a row.
10873 (DocBook): now honors the longtable flags.
10875 2001-10-23 José Matos <jamatos@fep.up.pt>
10878 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10879 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10881 * buffer.C (makeLinuxDocFile):
10882 (makeDocBookFile): reworked the preamble, more clean, and with
10883 support for lyx defined entities. Changed the document declaration
10884 to be more XML friendly.
10886 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10887 if we need to output XML that should be done with a filter.
10889 2001-10-22 Juergen Vigna <jug@sad.it>
10891 * sp_pspell.h (class PSpell): add alive function needed in the
10892 controller to see if the spellchecker could be started.
10894 2001-10-22 Juergen Vigna <jug@sad.it>
10896 * buffer.C (insertStringAsLines): modify the font for inserting
10897 chars in certain conditions by calling checkInsertChar(font).
10899 2001-10-19 Juergen Vigna <jug@sad.it>
10901 * text.C (workWidth): use getRow instead of wrong algorithm.
10902 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10904 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10909 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10911 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10913 * text.C (workWidth): do not search for the exact row when
10914 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10915 optimization for big documents.
10917 2001-10-18 Juergen Vigna <jug@sad.it>
10919 * text.C (workWidth): new function with added Inset * parameter.
10921 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10923 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10925 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10926 change return type of getColumnNearX.
10929 * text.C (changeRegionCase): use uppercase/lowercase instead of
10932 (rightMargin): simplify code by factoring out the uses of
10937 (appendParagraph): use Paragraph::size_type
10939 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10941 * vspace.C (asLatexString): add a missing break
10943 2001-10-15 Herbert Voss <voss@perce.de>
10945 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10947 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10949 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10952 2001-10-10 André Pönitz <poenitz@gmx.net>
10954 * lyxfunc.C: removed greek_kb_flag.
10956 2001-10-10 Herbert Voss <voss@perce.de>
10958 * lyx_main.C: delete global string help_lyxdir.
10960 2001-10-09 Herbert Voss <voss@perce.de>
10962 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10964 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10966 * lyx_main.C: added global string help_lyxdir.
10968 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10970 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10972 * lyxrc.C (set_font_norm_type): support iso8859-4
10974 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
10976 * LaTeX.C (deplog): add another regex for MikTeX
10978 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
10980 * lyxrc.C (set_font_norm_type): support iso8859-3
10982 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10984 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10986 * LaTeXFeatures.C: remove special case of french and index
10988 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10989 before \begin{document}). This solves several incompatibilities.
10991 2001-10-03 Garst Reese <reese@isn.net>
10993 * lyx_cb.C: change CheckTex error msg.
10995 2001-10-03 José Matos <jamatos@fep.up.pt>
10997 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10999 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11001 * .cvsignore: update
11003 * lyx_main.C (commandLineVersionInfo): use new style version info.
11005 * buffer.C (writeFile):
11007 (makeLinuxDocFile):
11008 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11010 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11012 * version.h: update to use stuff in version.C
11014 * version.C.in: new file. Contains version information determined
11015 at compile time. This is a merging of version.h and
11018 2001-10-03 Juergen Vigna <jug@sad.it>
11020 * BufferView_pimpl.C (update): don't change "dirty" status in
11023 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11025 * WorkArea.C (c-tor): re-position version string slightly.
11027 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11029 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11030 revert to previous code.
11032 WorkArea.[Ch]: (show, destroySplash): methods removed.
11034 WorkArea.C: rework code so that it's an amalgam of the codes before and
11035 after the splash screen was moved to WorkArea.
11037 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11040 * vspace.C (inPixels):
11043 * buffer.C (insertStringAsLines):
11044 (asciiParagraph): fix types to be large enough
11046 * lyxlex_pimpl.h: change member status from short to int
11048 * layout.h: fix type of endlabeltype
11051 * kbsequence.C (parse): change return type to string::size_type
11053 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11056 * Bullet.C (bulletSize):
11057 (bulletEntry): do not use short ints as parameters
11059 * BufferView2.C (insertLyXFile): change a char to an int.
11061 * WorkArea.C (WorkArea): remove unneeded floats in computation
11063 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11065 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11067 * paragraph.C (asString): Do not ignore newline/hfill chars when
11068 copying to the clipboard.
11070 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11072 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11073 after a multi-line inset.
11075 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11077 * paragraph.C (validate): Set NeedLyXFootnoteCode
11079 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11081 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11082 and decrease-error to decrease.
11084 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11086 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11087 it more readable (should be equivalent)
11089 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11091 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11093 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11095 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11096 of a cursor (row, etc.) after a character has been deleted
11097 (deleteEmptyParagraphMechanism): call the method above on _all_
11098 cursors held by the LyXText when a double space has been
11101 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11103 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11105 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11107 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11108 background. Use greyOut() and the new show() methods to toggle between
11109 the foreground and background. Add code to remove the splash after
11110 its initial showing.
11112 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11113 (create_forms): no longer call Dialogs::showSplash.
11115 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11117 * .cvsignore: add version_info.h
11119 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11121 * version_info.h.in: new file
11123 * Makefile.am: add version_info.h.in
11125 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11126 version_info.h instead of VERSION_INFO
11128 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11130 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11131 The ERT inset now returns string().
11133 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11135 * lyxtext.h, text.C (selectNextWord): renamed as
11136 selectNextWordToSpellcheck.
11138 * text.C (selectNextWordToSpellcheck): Modified to not select
11139 words inside an ERT inset.
11141 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11143 * lyx_cb.C (MenuLayoutSave): change a bit the question
11145 * sp_base.h: include <sys/types.h>
11147 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11149 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11151 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11153 * several files: fix typos in user-visible strings
11155 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11157 * text2.C (pasteSelection): do not set the selection, since it
11158 will be cleared later. Actually, the intent was to fix the way the
11159 selection was set, but I figured rmoving the code was just as good.
11161 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11163 * FontLoader.C (available): Check if font is available without
11166 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11168 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11170 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11172 * lyxrc.[Ch]: added display_graphics variable and associated code.
11174 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11176 * bufferparams.C (hasClassDefaults): new method. Returns true if
11177 the buffer parameters correspond to known class defaults
11179 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11181 * XFormsView.C (show): set minimum size to the main window.
11183 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11185 * text2.C (copySelection):
11187 * lyxfind.C (LyXReplace):
11188 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11189 LyXText::selectionAsString.
11191 * paragraph.C (asString): add "label" argument to the second form
11193 * text2.C (selectionAsString): add "label" argument and pass it to
11194 Paragraph::asString.
11196 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11198 * lyx_main.C (commandLineHelp): remove version information
11200 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11202 * lyx_main.C: add -version commandline option
11204 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11206 * paragraph.h: make the optional constructor arg required instead.
11207 some modifications to other files because of this.
11209 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11211 * lyxserver.C (C_LyXComm_callback): make it static
11213 * lyx_main.C (error_handler): make it static
11215 * lyx_gui.C (LyX_XErrHandler): make it static
11217 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11219 * WorkArea.C: make the extern "C" methods static.
11221 * Makefile.am (lyx_LDADD): simplify
11223 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11225 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11226 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11228 * LyXAction.C (init):
11229 * lyxfunc.C (dispatch): associated code removal.
11231 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11233 * lyxfont.h (isSymbolFont): shut off warning
11235 * text.C (setHeightOfRow):
11236 (getVisibleRow): fix crash with empty paragraphs which have a
11239 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11241 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11244 2001-09-04 José Matos <jamatos@fep.up.pt>
11247 * tabular.C (docbook): rename docBook method to docbook.
11249 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11251 * Makefile.am: add dependencies to main.o.
11253 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11255 * FontLoader.C (available): Return false if !lyxrc.use_gui
11257 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11259 * FontInfo.C (query):
11260 * converter.C (view):
11261 * importer.C (Import):
11262 * exporter.C (Export): Can not -> cannot.
11264 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11266 * BufferView_pimpl.C: allow to create index inset even if
11269 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11271 * buffer.C (getLists): replace boost::tie code with an explicit pair
11272 as boost::tie can break some compilers.
11274 * iterators.h: Added a std:: declaration to the return type of
11277 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11279 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11282 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11284 * iterators.[Ch]: New files. Provide paragraph iterators.
11286 * buffer.C (changeLanguage): Use paragraph iterators.
11287 (isMultiLingual): ditto
11289 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11291 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11293 * FontLoader.C: Support for cmr font.
11295 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11297 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11298 (available): New method.
11300 * FontInfo.C (getFontname): Use scalable fonts even when
11301 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11304 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11306 * converter.C (Formats::view): reverted! Incorrect fix.
11308 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11310 * converter.C (Formats::view): only output the -paper option
11311 if the dvi viewer is xdvi, thereby fixing bug #233429.
11313 2001-08-23 Herbert Voss <voss@perce>
11315 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11317 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11319 * Spacing.h (Spacing): Set space to Default on in the default
11322 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11324 * vc-backend.h (RCS::versionString): add RCS to version
11325 (CVS::versionString): add CVS to version
11327 * vc-backend.C (scanMaster): do not add CVS to version.
11328 (scanMaster): do not add RCS to version
11330 * lyxvc.C (versionString): new method
11332 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11334 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11336 * Spacing.C (set): initialize fval
11338 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11340 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11343 2001-08-16 Juergen Vigna <jug@sad.it>
11345 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11347 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11349 * BufferView_pimpl.C:
11352 * text2.C: setParagraph takes linespacing now
11354 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11356 * LyxAction.C: add internal LFUN_CITATION_INSERT
11358 * LyXView.C: actually apply fix
11360 * bufferlist.C: fix open non-existent file
11362 * lyxfind.C: fix indentation
11364 * lyxfunc.C: remove unneeded assert, fix typo
11366 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11368 * MenuBackend.C: use "Floatname List"
11370 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11372 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11373 when converting LaTeX layout to insetERT.
11374 Generate a non-collapsed float when reading old float
11376 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11378 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11381 2001-08-13 Juergen Vigna <jug@sad.it>
11383 * text.C (fill): return 0 instead of 20 as this seems to be the more
11386 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11388 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11391 2001-08-13 Juergen Vigna <jug@sad.it>
11393 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11395 (SearchBackward): comment out the unlocking of the inset_owner this
11396 should not be needed!
11398 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11400 * Many files: Remove inherit_language, and add latex_language
11402 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11403 collapsible insets.
11405 2001-08-10 Juergen Vigna <jug@sad.it>
11407 * text.C (prepareToPrint): fixed hfill-width in draw!
11409 * BufferView2.C (selectLastWord): save the selection cursor as this
11410 now is cleared in the function LyXText::clearSelection!
11412 2001-08-08 Juergen Vigna <jug@sad.it>
11414 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11415 BACKSPACE type functions.
11417 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11418 is only cutted from the document but not put in the cut-buffer, where
11419 still the old stuff should be.
11421 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11423 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11425 * tabular.C (SetWidthOfCell): fixed special case where the width
11427 (LeftLine): handle '|' in align_special.
11429 (LeftAlreadyDrawed): ditto
11430 (SetWidthOfCell): ditto
11432 2001-08-07 Juergen Vigna <jug@sad.it>
11434 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11436 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11439 * lyxlex.[hC]: ditto
11441 2001-08-06 Juergen Vigna <jug@sad.it>
11443 * text.C (getVisibleRow): fix up row clearing a bit.
11445 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11447 * minibuffer.C: make sure the X server sees the changes in the input.
11449 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * paragraph.C (getFont): split into...
11452 (getLabelFont): this
11453 (getLayoutFont): and this
11454 * paragraph_pimpl.C (realizeFont): calling this
11456 * text2.C (getFont): split into...
11457 (getLayoutFont): this
11458 (getLabelFont): and this
11459 (realizeFont): all three calling this
11461 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11464 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11466 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11468 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11470 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11471 layouts from the Quote inset insertion.
11473 2001-08-03 Juergen Vigna <jug@sad.it>
11475 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11477 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11478 only if status not is already CHANGED_IN_DRAW (second level).
11480 * text.C (draw): don't set the need_break_row when inside an
11483 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * buffer.C (parseSingleLyXformat2Token): handle more latex
11488 * bufferview_funcs.[hC]: change function names to
11489 begin with small char, adjust other files.
11491 2001-08-02 André Pönitz <poenitz@gmx.net>
11494 BufferView_pimpl.C: remove broken special code for math-greek
11496 2001-08-02 Juergen Vigna <jug@sad.it>
11498 * BufferView_pimpl.C (update): redone this function so that we
11499 update the text again if there was a CHANGE_IN_DRAW.
11501 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11502 (drawFromTo): added a new internal bool which is used by draw() and
11504 (general): some cursor drawing problems fixed.
11506 2001-08-01 Juergen Vigna <jug@sad.it>
11508 * lyxfind.C (LyXFind): fixed
11509 (SearchForward): ditto
11510 (SearchBackward): ditto
11512 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11513 spurius drawing of the cursor in the main area.
11515 * text2.C (status): small fix which could lead to a segfault!
11516 (clearSelection): remove unneeded BufferView param.
11518 2001-08-01 André Pönitz <poenitz@gmx.net>
11520 * lyxfunc.C: small change due to changed mathed interface
11522 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11524 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11526 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11528 * lyxfunc.c: fail gracefully if file doesn't exist
11533 * BufferView_pimpl.C: IsDirWriteable() proto changed
11535 * LyXView.C: fix updateWindowTitle() to store the last title
11537 2001-07-31 Juergen Vigna <jug@sad.it>
11539 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11540 the font (wrong since using of Paragraph::highestFontInRange).
11542 * paragraph.C (highestFontInRange): added a default_size parameter.
11544 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11545 (setHeightOfRow): reformat
11547 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * converter.[hC] + affected files: move to (inital-char)lowercase
11552 * ParagraphParameters.C (ParagraphParameters): remove commented code
11554 * PainterBase.[Ch]: remove commented code
11556 * LaTeXFeatures.h: add "bool floats" for float.sty
11558 * LaTeXFeatures.C (LaTeXFeatures): init floats
11559 (require): handle float
11560 (getPackages): do it with floats
11562 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11564 * BufferView_pimpl.C (Dispatch): improve handling of
11565 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11567 * commandtags.h: #include lyxfont.h here temporarily to avoid
11570 * bufferlist.h: include LString.h here.
11572 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11574 * text2.C (getStringToIndex): new method.
11576 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11578 * *: Reduced header file dependencies all over.
11580 2001-07-30 Baruch Even <baruch@lyx.org>
11582 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11584 2001-07-29 Baruch Even <baruch@lyx.org>
11586 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11588 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11590 * ParameterStruct.h (endif): add a default constructor to make
11591 sure that all variables is initialized.
11593 * ParagraphParameters.C (ParagraphParameters): adjust
11595 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11597 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11598 index; also, check that there is something to index, and that it
11599 does not span over several paragraphs.
11600 (doubleClick): use WHOLE_WORD_STRICT for double click.
11602 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11604 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11607 2001-07-26 Baruch Even <baruch@lyx.org>
11609 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11610 an InsetFig figure, backwards compatible reading of old figure code.
11612 2001-07-27 Juergen Vigna <jug@sad.it>
11614 * text2.C: font.realize function adaption.
11616 * text.C (draw): add a warnings lyxerr text if needed.
11618 * layout.C: font.realize function adaption.
11620 * language.C: add inherit_language and implement it's handlings
11622 * bufferview_funcs.C (StyleReset): remove language parameter from
11623 font creation (should be language_inherit now).
11625 * bufferparams.C (writeFile): handle ignore_language.
11627 * paragraph.C (getFontSettings): the language has to be resolved
11628 otherwise we have problems in LyXFont!
11630 * lyxfont.C (lyxWriteChanges): added document_language parameter
11631 (update): removed unneeded language parameter
11633 * paragraph.C (validate): fixed wrong output of color-package when
11634 using interface colors for certain fonts in certain environments,
11635 which should not seen as that on the final output.
11637 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11639 * BufferView_pimpl.C:
11644 * LyXAction.C: add thesaurus support
11647 * lyxfind.C: add "once" parameter, for thesaurus, to not
11648 move to the next match
11650 2001-07-26 Juergen Vigna <jug@sad.it>
11652 * lyxfont.C (realize): honor ignore_language too!
11655 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11657 * text.C (draw): one place more for ignore_language to not draw
11660 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11662 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11664 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11667 the minipage conversion problem.
11669 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11671 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11674 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11676 * BufferView.h: don't forward declare WorkArea
11678 * BufferView.C: don't include WorkArea.h
11680 2001-07-25 André Pönitz <poenitz@gmx.net>
11684 * lyxfunc.C: new LFUN 'math-space'
11686 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11688 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * text2.C (toggleInset): call open/close
11692 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11694 * lyxfunc.C (dispatch): add debug for the disabled case
11696 * font.C (buttonText): make similar to rectText
11698 * buffer.C (readInset): comment out parsing of insetlist and
11701 * PainterBase.C (rectText): small correction
11703 * BufferView_pimpl.C: comment out insettheorem and insetlist
11704 * LyXAction.C: ditto
11705 * commandtags.h: ditto
11707 2001-07-24 Juergen Vigna <jug@sad.it>
11709 * text.C (draw): honor the ignore_language.
11711 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11713 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11718 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11720 * lyxtext.h: remove unused (and unimplemented) methods
11722 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11724 * text.C (getVisibleRow): honor background color
11727 * Painter.h: remove default color argument for fillRectangle
11729 * text.C (backgroundColor): new method
11731 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * text.C (getVisibleRow): adjust
11735 * font.[Ch] (rectText): new method, metrics
11736 (buttonText): new method, metrics
11738 * PainterBase.[hC]: make rectText and buttonText always draw and take
11741 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11743 * ToolbarDefaults.C (read):
11744 * MenuBackend.C (read): allow escaping in all strings
11746 * BufferView_pimpl.C (insertAndEditInset): new method.
11747 (Dispatch): use insertAndEditInset whenever appropriate.
11749 * BufferView_pimpl.C (insertNote): removed
11751 * BufferView_pimpl.C (smartQuote): new method, moved from
11752 BufferView; if an insetquote cannot be inserted, insert a '"'
11755 * BufferView2.C: remove insertCorrectQuote();
11757 * lyxfunc.C (getStatus): Add support for all remaingin
11758 inset-insert lfuns.
11760 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11762 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11763 command (necessary to pass " as parameter of self-insert.
11765 * text.C (selectWordWhenUnderCursor):
11766 (selectWord): add word_location parameter
11767 (selectWordWhenUnderCursor): same + remove special code for word
11769 (selectNextWord): use kind() to guess type of insetspecialchar,
11772 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11773 (insertErtContents): create ert insets as collapsed.
11774 (readInset): better compatibility code for Info inset.
11776 2001-07-20 Juergen Vigna <jug@sad.it>
11778 * lyxfunc.C (dispatch): use always LyXFind now!
11780 * text2.C (init): add a reinit flag so that the LyXText can be
11781 reinited instead of deleted and reallocated (used in InsetText).
11783 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11789 2001-07-18 Juergen Vigna <jug@sad.it>
11791 * text.C (selectNextWord): handle insets inside inset by calling
11792 always the bv->text functions so that we can go up the_locking_inset!
11794 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11795 in strange locations when inside an inset!
11797 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11798 handling to include insets.
11800 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11802 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11804 * LyXAction.C (init):
11806 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11807 LIGATURE_BREAK, since the name is so stupid.
11809 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11811 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11814 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11816 * sp_form.[Ch]: remove.
11818 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11820 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11823 * src/buffer.C (readInset): ditto.
11825 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11827 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11828 menuSeparator(), endOfSentenceDot(), ldots() and
11829 hyphenationPoint(), which are therefore removed.
11830 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11832 * LyXAction.C (init):
11833 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11835 * paragraph.C (getWord): removed.
11837 * BufferView_pimpl.C (Dispatch): use last word or selection for
11838 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11840 * lyx_main.C (queryUserLyXDir): do not ask before creating
11841 user_dir, except if it has been named explicitely.
11843 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11845 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11846 a document of zero size.
11848 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11850 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11851 approriately in the c-tor and in require().
11852 (getPackages): output the appropriate LaTeX for natbib support.
11854 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11855 variables "use_natbib" and "use_numerical_citations" when reading the
11857 (readInset): read the various natbib cite commands.
11858 (validate): white-space change.
11860 * bufferparams.[Ch]: new variables "bool use_natbib" and
11861 "bool use_numerical_citations".
11862 (writeFile): output them in the LyX file.
11864 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11866 * lyxfunc.C (getStatus): add support for all the inset insertion
11869 * text2.C (insertInset):
11870 * paragraph.C (insetAllowed):
11871 * BufferView_pimpl.C (insertInset): update to take in account the
11872 renaming of insertInsetAllowed
11874 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11876 * text2.C (getInset): new method. returns inset at cursor position.
11878 * BufferView_pimpl.C (Dispatch): changes because of this.
11880 * LyXAction.C (init): rename open-stuff to inset-toggle.
11882 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11884 * text2.C (toggleInset): renamed from openStuff; use
11887 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11889 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11891 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11893 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11895 * buffer.C (readLyXformat2): Add filename to the error dialog
11897 2001-07-18 Juergen Vigna <jug@sad.it>
11899 * tabular.C (GetCellNumber): put an assert here instead of the check!
11901 2001-07-17 Juergen Vigna <jug@sad.it>
11903 * BufferView_pimpl.C (toggleSelection): adapted too.
11905 * text.C (selectNextWord): adapted for use with insets.
11906 (selectSelectedWord): ditto
11908 2001-07-17 Juergen Vigna <jug@sad.it>
11910 * sp_spell.C (PSpell): fix initialitation order.
11912 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * paragraph.C: spacing
11916 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11918 * sp_spell.C: repair language selection for pspell
11920 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * lyxfunc.h: change more methods to begin with lower char.
11924 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11926 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11927 for unknown layouts.
11929 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11931 * buffer.C (readLyXformat2): Generate an error dialog if there are
11934 2001-07-16 Juergen Vigna <jug@sad.it>
11936 * sp_spell.C: always compile ISpell part.
11938 * lyxrc.C: added use_pspell entry and it's handling.
11940 2001-07-13 Juergen Vigna <jug@sad.it>
11942 * sp_spell.C: removed double includes.
11944 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11946 Consistent use of Lsstream.h:
11947 * Lsstream.h: added using std::stringstream for consistencies sake.
11949 * buffer.C: removed using std::stringstream
11951 * lyxfont.C (stateText):
11952 * paragraph.C (asString):
11953 * text.C (selectNextWord, selectSelectedWord):
11954 * text2.C (setCounter):
11955 * vspace.C (asString, asLatexString):
11956 std::ostringstream -> ostringstream.
11958 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11960 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11961 * commandtags.h: add LFUN_HELP_ABOUTLYX
11962 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11964 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11966 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11968 * lyx_gui_misc.C: remove spellchecker
11969 * lyxfunc.C: showSpellchecker
11971 * sp_ispell.h: added
11972 * sp_pspell.h: added
11973 * sp_spell.C: added
11974 * sp_form.[Ch]: removed
11975 * spellchecker.[Ch]: removed
11977 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
11979 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11981 (simpleTeXSpecialChars): Simply print the input character without
11982 any special translation if pass_thru is set.
11984 * layout.h: Added bool pass_thru to layout class for being able to
11985 implement pass through of a paragraph for Literate Programming.
11987 * layout.C: add LT_PASS_THRU to LayoutTags enum.
11988 * layout.C (LyXLayout): set pass_thru to flase in constructor.
11989 * layout.C (Read): add "passthru" to list of layout tags and add
11990 code to set the pass_thru boolean when it is read.
11992 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11994 * trans_decl.h: remove allowed from KmodInfo
11996 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11997 remove allowed code
12000 * paragraph_pimpl.C (erase): use boost::prior
12002 * Painter.C (text): use data() instead of c_str() when length is
12004 * WorkArea.C (putClipboard): ditto
12005 * font.h (width): ditto
12007 * BufferView2.C: use it-> instead of (*it). for iterators
12009 * paragraph_pimpl.C: ditto
12010 * paragraph.C: ditto
12011 * minibuffer.C: ditto
12012 * language.C: ditto
12014 * encoding.C: ditto
12015 * counters.C: ditto
12016 * converter.C: ditto
12018 * Variables.C: ditto
12019 * TextCache.C: ditto
12020 * MenuBackend.C: ditto
12021 * LyXAction.C: ditto
12023 * FloatList.C: ditto
12024 * DepTable.C: ditto
12025 * ColorHandler.C (LyXColorHandler): ditto
12027 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12031 * text2.C (openStuff): reintroduce this method (which had been
12032 nuked in NEW_INSETS frenzy).
12034 * lyxfunc.C (Dispatch): when an action has not been handled, use
12035 its name in the error message, not its number.
12037 * paragraph.C (inInset): change method name to begin with lowercase.
12040 * text2.C: updates because of this.
12042 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12044 * ToolbarDefaults.C (add): add spaces in error message
12046 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12048 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12049 (readLyXformat2): rename return_par to first_par, use lyxlex's
12050 pushToken and remove the manual push handling.
12051 (parseSingleLyXformat2Token): add another ert comp. variable:
12052 in_tabular, rename return_par to first_par. handle newlines better
12054 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12056 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12058 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12060 * text2.C (getParFromID): removed
12062 * buffer.C (getParFromID): new method moved form lyxtext.
12063 * BufferView2.C (insertErrors): adjust
12064 (setCursorFromRow): adjust
12065 * BufferView_pimpl.C (restorePosition): adjust
12066 * lyxfunc.C (Dispatch): adjust
12067 * undo_funcs.C (textUndo): adjust
12069 (textHandleUndo): adjust
12070 (textHandleUndo): adjust
12072 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12074 * buffer.C: up' the LYX_FORMAT
12076 * lyxfont.h: turn NO_LATEX on as default
12078 * buffer.C (insertErtContents): new methods of tex style compability.
12079 (parseSingleLyXformat2Token): use it several places.
12080 * tabular.C (OldFormatRead): and here
12082 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * text2.C: remove some commented code.
12087 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12088 * trans.C: changes because of the above.
12090 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12092 * text2.C (setCounter): Fix counters bug with bibliography layout.
12094 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12097 own member functions
12098 (simpleTeXSpecialChars): ditto
12100 2001-07-06 Juergen Vigna <jug@sad.it>
12102 * a lot of files: changed the access to LyXText::status and the
12103 call of undo-functions.
12105 * undo.[Ch]: added a inset_id to the undo informations.
12107 * undo_funcs.[Ch]: added and moved here all undo functions.
12109 * lyxtext.h: give the status enum a weight, made status_ a private
12110 variable and made accessor functions for it, removed the whole bunch
12111 of undo-functions as they are now in their own file, make some
12112 functions publically available. Added function ownerParagraph with
12115 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12116 made InInset() a const function, added getParFromID() function.
12118 * buffer.[Ch]: added const version for inset_iterator functions,
12119 added getInsetFromID() function.
12121 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12122 changed undo functions for new version.
12124 2001-07-05 Juergen Vigna <jug@sad.it>
12126 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12127 unknow mechanism does not call the proper constructor but only this
12128 one also if I request the other!?
12130 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12132 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12134 * text2.C (LyXText): use initialization lists.
12136 * lyxtext.h (Selection): initialize set_ and mark_
12137 (init): remove method
12139 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12141 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12143 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12145 * screen.[Ch]: change method names to begin with lowercase
12147 * BufferView_pimpl.C (updateScrollbar): simplify further and
12148 hopefully make it a bit faster.
12150 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12152 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12153 calling directly xforms functions.
12155 * Painter.C (Painter):
12156 * lyx_cb.C (MenuWrite):
12157 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12160 * lyx_gui.C: remove bogus guiruntime extern declaration.
12162 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12166 (redoDrawingOfParagraph): ditto
12167 (redoParagraphs): ditto
12168 (cutSelection): don't create a object for CutAndPaste use the
12169 static method directly
12170 (pasteSelection): ditto
12172 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12175 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * modifications to some other files because of this.
12179 * Makefile.am (lyx_SOURCES): add XFormsView
12181 * XFormsView.[Ch]: new files
12183 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12184 the main window. Move the gui dependent stuff to XFormsView
12186 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12188 * tabular.C (GetCellInset): update cur_cell also in the row/col
12189 version of this function.
12191 * lyxfunc.C: no need to include figure_form.h here.
12197 * lyxvc.C: no need to include forms.h here.
12199 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12201 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12203 * lyxfunc.C (Dispatch):
12205 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12206 constructor argument.
12208 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12210 * paragraph.C (Paragraph): dont't clear, and just set layout.
12211 (makeSameLayout): use params's copy contructor.
12213 * ParagraphParameters.[Ch] (makeSame): delete method
12215 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12217 * Variables.[Ch]: fix indentation, rename set to isSet
12219 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12221 * lyxfunc.C (Dispatch): fix typo
12223 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12228 * bufferlist.C: include assert.h for emergencyWrite().
12230 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12232 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12233 give up at last (bug #425202) !
12235 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12241 * spellchecker.C: strip spellchecker options and bring up
12242 preferences tab instead
12244 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12246 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12247 the istringstream constructor
12249 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12251 * paragraph.C (getLayout): fix return value
12253 * paragraph.h: do not declare getLayout as inline.
12255 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12257 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12259 * lyxcursor.h (operator<): new func
12260 (operator>): new func
12261 (operator>=): new func
12262 (operator<=): new func
12264 * text.C (changeCase): use selection.start and selection.end
12265 (changeRegionCase): require from to be <= to. Require par to be a
12268 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12270 2001-06-27 Juergen Vigna <jug@sad.it>
12272 * text.C (cursorLeftOneWord): changed to return the cursor and added
12273 overlay with BufferView * parameter which calls this one.
12275 (selectWord): use new getWord function.
12276 (changeCase): renamed from changeWordCase as and extended to work
12277 also on selections.
12279 * lyxtext.h: added enum word_location
12281 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12282 changeCase as this operates now also on selections.
12284 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12286 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12288 * many files: send debug output to Debug::INFO instead of
12291 * converter.C (View):
12293 (Move): send debug output to Debug::FILES instead of console.
12295 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12297 * lyxfunc.C (getStatus): use func_status
12299 * func_status.h: new header, describing the results of
12300 LyXFunc::getStatus;
12302 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12305 2001-06-25 The LyX Project <jug@sad.it>
12307 * buffer.C (sgmlOpenTag):
12309 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12311 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * text2.C: remove some dead code
12315 * tabular.C (GetCellInset): store the last cell checked (gotten)
12317 * tabular.h: add the helper for the speedup
12319 * lyxtext.h: remove some dead code
12321 2001-06-26 The LyX Project <Asger>
12323 * paragraph.C: Change export to LaTeX of alignment to
12324 \begin{center} and family for better roundtrip work with reLyX.
12326 * Tune the math drawing a bit.
12328 2001-06-25 The LyX Project <Asger>
12330 * LColor.C (LColor): New color for math background. New color
12333 2001-06-25 The LyX Project <jug@sad.it>
12335 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12337 * lyxfunc.C (Open):
12338 * bufferlist.C (newFile): do not restrict to files ending with
12341 * BufferView_pimpl.C (MenuInsertLyXFile):
12343 2001-06-24 The LyX Project <jug@sad.it>
12345 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12348 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * lyxtext.h: rename most methods to begin with a small char.
12351 Lots of changes because of this.
12353 * paragraph.C (Paragraph): do not call fitToSize
12354 (erase): call Pimpl::erase
12355 (insertChar): call Pimpl::insertChar
12356 (insertInset): call Pipl::insertInset
12357 (breakParagraph): do not call fitToSize
12358 (breakParagraphConservative): do not call fitToSize
12359 (fitToSize): remove method
12361 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12363 2001-06-24 The LyX Project <Asger>
12365 * Fix Qt compilation^2
12367 2001-06-24 The LyX Project <jug@sad.it>
12369 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12370 depthHook(getDepth()-1).
12373 * ParagraphParameters.h:
12374 * ParameterStruct.h: change type of depth to unsigned int ==
12375 depth_type. Many adaptations to other files before of that.
12377 2001-06-24 The LyX Project <Asger>
12379 * Fix Qt compilation.
12381 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * paragraph.h: renamed several methods to begin with small letter.
12384 several changes to many parts of the code because of this.
12386 2001-06-23 The LyX Project <jug@sad.it>
12388 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12389 rewritten to discard all double spaces when KeepEmpty is off
12390 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12391 to only handle newlines but not fiddle with spaces and friends.
12393 * lyxfunc.C (MenuNew): when doing 'new from template', use
12394 template_path as default directory
12396 2001-06-23 The LyX Project <Asger>
12398 * Clean-up of header file includes all over
12399 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12401 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12403 * paragraph.h: renamed from lyxparagraph.h
12405 2001-06-23 Asger <lyx@violet.home.sad.it>
12407 * Buffer.h: Removed Buffer::resize
12408 * BufferList.h: Removed BufferList::resize
12409 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12410 the document lazily when we change the width, or the font settings.
12412 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12414 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12416 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12418 * buffer.h: remove out of date comment
12420 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12423 * screen.C: fix "theoretical" GC leak
12425 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12427 * LaTeX.C (scanAuxFile):
12428 (deplog): remove trailing \r when reading stream (useful under
12431 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12433 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12434 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12435 and BufferView::theLockingInset(Inset*), so should use them and not
12436 access bv_->text->the_locking_inset directly.
12438 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12440 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12443 * tex-defs.h: remove old unused file
12445 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12447 * BufferView_pimpl.C: fix typo, remove minibuffer message
12448 when buffer has loaded
12450 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12452 * lyxfunc.C (Dispatch): use stringstream
12453 (MenuNew): use stringstream
12454 (Open): use stringstream
12456 * importer.C (Import): use stringstream
12458 * bufferview_funcs.C (CurrentState): use stringstream
12460 * LaTeX.C (run): use stringstream
12462 * BufferView_pimpl.C (savePosition): use stringstream
12463 (restorePosition): use stringstream
12464 (MenuInsertLyXFile): use stringstream
12466 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12479 * vspace.C: removed // -*- C++ -*- as first line.
12482 * version.h: added // -*- C++ -*- as first line.
12484 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12486 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12488 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12491 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12496 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12498 * gettext.C: include LString.h even when --disable-nls is on.
12500 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12502 * converter.h (Get): changed argument type from int to
12503 FormatList::size_type to avoid unnecessary conversion.
12505 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12508 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12510 * gettext.h: include LString.h even when --disable-nls is on.
12512 2001-06-07 Juergen Vigna <jug@sad.it>
12514 * text.C (BreakAgain): subst spaces with tabs.
12516 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12517 (resizeInsetsLyXText): set force on resizeLyXText.
12519 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12521 * gettext.h (gettext_init):
12522 (locale_init): use a real definition instead of a macro
12524 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12526 * Bufferview_pimpl.C:
12528 * LColor.C: further lcolor tidies
12530 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12532 * BufferView_pimpl.C (updateScrollbar): simplify.
12534 * BufferView2.C: don't include insets/insetinfo.h, change
12535 prototype for insertInset and call the Pimpl version. let
12536 updateInset call Pimpl version.
12538 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12539 gotoInset to BufferView::Pimpl
12541 2001-06-01 Juergen Vigna <jug@sad.it>
12543 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12544 inside a LockingInset (is the update needed at all?).
12546 2001-05-31 Juergen Vigna <jug@sad.it>
12548 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12549 here not the old one otherwise how should we compare it afterwards
12552 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12557 * FontInfo.C: bring C functions into global namespace when
12560 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12562 * LString.h: make sure config.h has been loaded before LString.h.
12564 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12565 (one for each char read by EatLine!).
12567 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12570 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12573 to the same as the par we break from
12575 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12577 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12579 * MenuBackend.C (expand): also create menu entries for wide
12580 versions of the floats.
12582 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12584 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12586 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12587 frontends/Makefile.am
12593 * tabular.C (getTokenValue): add std::
12595 * tabular-old.C (getTokenValue): add std::
12596 (getTokenValue): ditto
12597 (getTokenValue): ditto
12599 * screen.C (ToggleSelection): adjust
12601 * lyxtext.h: put selection cursors inside a Selection struct.
12603 * lyxfunc.C (moveCursorUpdate): adjust
12605 * lyxfont.C (latexWriteStartChanges): add std::
12607 * lyxfind.C: adjust
12609 * font.h: delete with(char const *, LyXFont const &)
12611 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12613 * FontInfo.C (getFontname): add std::
12615 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12616 (workAreaButtonPress): adjust
12617 (tripleClick): adjust
12619 (moveCursorUpdate): adjust
12622 * BufferView2.C (gotoInset): adjust
12624 2001-05-30 Juergen Vigna <jug@sad.it>
12626 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12627 to check pspell I add this as default as I now have new pspell
12628 libraries and they seem to use this.
12630 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12632 * text2.C (CutSelection): make the cursor valid before the call to
12635 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12637 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12638 relied on 0 terminated strings and other horrors. Bug found due to
12639 the new assert in lyxstring!
12641 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12644 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12646 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12649 * lyxfunc.C (processKeySym): change method of getting to the
12652 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12653 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12654 * BufferView_pimpl.[Ch]: here as private methods.
12656 2001-05-28 Juergen Vigna <jug@sad.it>
12658 * text.C (SetHeightOfRow): added the update() call again as it is
12659 needed to initialize inset dimensions!
12661 2001-05-16 Juergen Vigna <jug@sad.it>
12663 * text2.C (SetCharFont): Add new function with BufferView * and
12664 bool toggleall parameters for setting insets internal fonts.
12665 (SetFont): Freeze the undo as we may change fonts in Insets and
12666 all this change should be inside only one Undo!
12668 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12669 setting font's in insets as for them we have the SetFont function!
12671 2001-05-15 Juergen Vigna <jug@sad.it>
12673 * text2.C (ClearSelection): to be sure we REALLY don't have any
12676 * tabular.C (TeXCellPreamble): fixed the left border problem for
12679 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12681 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12684 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12686 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12687 LFUN_BREAKPARAGRAPH.
12689 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12690 help test to "internal only", similar for LFUN_INSERT_URL
12692 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12693 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12694 auto_region_delete and deadkeys.
12696 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12699 * LColor.C: remove some dead entries, tidy a little
12701 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12705 (Dispatch): implement LFUN_ESCAPE
12707 * commandtags.h: add LFUN_ESCAPE
12709 * LyXAction.C (init): add entry for LFUN_ESCAPE
12711 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12712 Remove commented code.
12713 (insertNote): moved here
12714 (open_new_inset): moved here
12716 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12719 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12721 * kbmap.C (findbinding): clean it up and make it work correctly.
12723 * lyx_main.C (init): do not pass argc and argv as parameters
12725 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12727 * buffer.C: fix path for OS/2 & Win32
12731 * lyx_main.C: Added os:: class.
12733 * os2_defines.h: update
12735 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12738 better by trying again with reduced state.
12740 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * lyxrc.C (read): print error about invalid key sequence only when
12743 debugging (because not all latinX keysyms are known to some X
12746 * kbsequence.C (getiso): add a few std:: qualifiers
12747 (getiso): comment out extra return statement.
12749 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12753 (Dispatch): enhance the accent inset a bit. (not perfect)
12755 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12759 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * bufferlist.C (emergencyWrite): fix assert() call
12763 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12765 * text.C (InsertChar): Added trivial patch to only send the "you
12766 can not do multiple spaces this way" message once during a
12769 2001-05-08 Baruch Even <baruch@lyx.org>
12771 * Makefile.am: Changed order of libraries to get LyX to link properly
12772 with the gnome frontend.
12774 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12776 * LaTeXFeatures.h: add a std:: qualifier
12778 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * paragraph.C (String): use stringstream
12782 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * paragraph.C (writeFile): remove footflag arg
12786 * buffer.C (makeLaTeXFile): use stringstream
12787 (latexParagraphs): remove footnot gurba
12789 * LaTeXFeatures.C (getPackages): use stringstream
12790 (getMacros): likewise
12791 (getTClassPreamble): likewise
12792 (getFloatDefinitions): new method
12794 * paragraph.C (writeFile): reindent
12797 * WorkArea.h: revert the xpos + etc changes.
12799 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12801 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12803 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12804 (pasteSelection): likewise
12805 * text2.C (CreateUndo): likewise
12807 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12809 * minibuffer.C (peek_event): temporarily reduce the functionality
12810 of the minibuffer (to allow args on lfuns)
12812 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12813 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12815 * buffer.C (readInset): add compability reading of old float
12816 lists, add reading of new style float list.
12817 (readInset): avoid reevaluation of inscmd.getCmdName()
12818 (getLists): reindent
12820 * MenuBackend.C (MenuItem): implement parsing of
12821 md_floatlistinsert and md_floatinsert.
12822 (expand::LastFiles): move initalizaton of iterators out of loop,
12823 avoid reevaluation.
12824 (expand::Documents): introduce typdedef vector<string> Strings,
12826 (expand::ExportFormats): introduce typedef vector<Format const *>
12827 Formats, and use it.
12828 (expand): implement FloatListInsert and FloatInsert.
12830 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12831 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12832 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12834 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12836 (Dispatch::LFUN_FLOAT_LIST): implement
12838 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12840 * LaTeX.C (run): Fix problem with --export code.
12842 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12844 * BufferView.[Ch] (workarea): removed.
12845 (getClipboard) new method; wrapper for workarea()->getClipboard()
12847 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12850 * WorkArea.h (width, height, xpos, ypos): These methods all
12851 returned the dimensions of the work_area sub-area of WorkArea,
12852 resulting in a position error if the WorkArea were resized. Now
12853 return the dimensions of the entire WorkArea.
12855 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12857 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12859 * LaTeX.C (deplog): correct the syntax of regex reg1
12861 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * undo.C: remove !NEW_INSETS cruft
12865 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12867 * text2.C: remove !NEW_INSETS cruft
12869 * text.C: remove !NEW_INSETS cruft
12871 * tabular.C: remove !NEW_INSETS cruft
12873 * spellchecker.C: remove !NEW_INSETS cruft
12875 * lyxtext.h: remove !NEW_INSETS cruft
12877 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12879 * lyxfunc.C: remove !NEW_INSETS cruft
12881 * lyxfind.C: remove !NEW_INSETS cruft
12883 * lyx_cb.C: remove !NEW_INSETS cruft
12885 * figureForm.C: remove !NEW_INSETS cruft
12887 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12889 * buffer.[Ch]: remove !NEW_INSETS cruft
12891 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12893 * CutAndPaste.C: remove !NEW_INSETS cruft
12895 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12897 * BufferView2.C: remove !NEW_INSETS cruft
12899 * BufferView.h: remove !NEW_INSETS cruft
12901 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12903 * Lsstream.h: include LString.h before the sstream headers to
12904 fix problem with gcc 2.95.3 and lyxstring
12906 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12908 * lyx_main.C: add using directives when needed for C functions
12909 declared in std:: namespace.
12911 2001-04-27 Juergen Vigna <jug@sad.it>
12913 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12914 (SetHeightOfRow): comment out the update call should not be needed!
12916 2001-04-13 Juergen Vigna <jug@sad.it>
12918 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12919 (LyXTabular): tried to minimize operator= operations (and realized
12920 hopfully Lars wish).
12922 2001-04-27 Juergen Vigna <jug@sad.it>
12924 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12926 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12928 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12930 * buffer.C (readInset): hack to make listof algorithm work
12932 * BufferView_pimpl.C: hack to make listof algorithm work
12934 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * LyXAction.C: removed all !NEW_INSETS cruft
12937 (init): moved lfun_item in method
12939 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12941 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12943 * BufferView2.C (theLockingInset): white space.
12945 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * minibuffer.C: include <iostream>
12949 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12951 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12953 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12955 * text.[Ch] (TransposeChars): new method
12957 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12959 * call message directly through LyXView instead of through LyXFunc
12960 * BufferView2.C: adjust
12961 * BufferView_pimpl.C: adjust
12962 * FontLoader.C: adjust
12964 * bufferview_funcs.C: adjust
12965 * converter.C: adjust
12966 * figureForm.C: adjust
12967 * importer.C: adjust
12969 * lyx_gui_misc.C: adjust
12970 * lyxfunc.C: adjust
12973 + more files in subdirs
12975 * lyxparagraph.h (size): move up int file
12978 * adjust all uses of Assert to lyx::Assert.
12980 * BufferView2.C (ChangeCitationsIfUnique): adjust for
12981 lyxfunctional in namespace lyx
12982 * layout.C (hasLayout): ditto
12985 (delete_layout): ditto
12986 (NumberOfClass): ditto
12987 * converter.C (GetFormat): ditto
12992 * bufferlist.C (getFileNames): ditto
12993 (emergencyWriteAll): ditto
12996 * MenuBackend.C (hasSubmenu): ditto
12999 * BufferView_pimpl.C (getInsetByCode): ditto
13001 2001-04-18 Juergen Vigna <jug@sad.it>
13003 * vspace.C (asLatexString): fixed the 100% problem.
13005 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13007 * lyxfunc.C (Dispatch):
13009 * minibuffer.h: add a few std:: qualifiers
13011 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13013 * minibuffer.[Ch]: reimplement so that commands is initiated and
13014 run from lyxfunc, simplified som handling, and made the completion
13015 and history code for complete. wip.
13017 * lyxfunc.C (processKeySym): call message
13018 (miniDispatch): new temporary method
13019 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13020 (LFUN_MESSAGE): implement
13021 (LFUN_MESSAGE_PUSH): implement
13022 (LFUN_MESSAGE_POP): implement
13023 (initMiniBuffer): the initial/defualt minibuffer message.
13025 * lyxfont.[Ch]: inline some more getters
13027 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13029 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13031 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13032 (AutoSave): use LFUN_MESSAGE
13033 (Reconfigure): ditto
13035 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13037 * figureForm.C: use LFUN_MESSAGE
13039 * converter.C (runLaTeX): use LFUN_MESSAGE
13041 * bufferview_funcs.C: use LFUN_MESSAGE
13043 (changeDepth): ditto
13045 * bufferparams.h: use boost::
13047 * bufferlist.h: inherit privately from noncopyable
13049 * bufferlist.C (loadLyXFile): remove some commented code.
13051 * buffer.C (runChktex): use LFUN_MESSAGE
13053 * ShareContainer.h: inherit privately from noncopyable
13055 * ParagraphParameters.[hC] (depth): inline it.
13057 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13059 (message): new method
13060 (messagePush): ditto
13061 (messagePop): ditto
13062 (show): init minibuffer
13063 (showState): direct call
13065 * LaTeX.[Ch]: inherit privately from noncopyable
13066 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13067 instead of WriteStatus.
13069 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13071 * BufferView_pimpl.C (buffer): don't init minibuffer
13072 (workAreaButtonPress): use LFUN_MESSAGE
13073 (workAreaButtonRelease): ditto
13074 (savePosition): ditto
13075 (restorePosition): ditto
13076 (MenuInsertLyXFile): ditto
13077 (workAreaExpose): don't init minibuffer
13078 (update): remove commented code, simplify
13080 * BufferView2.C (openStuff): use LFUN_MESSAGE
13081 (toggleFloat): ditto
13084 (copyEnvironment): ditto
13085 (pasteEnvironment): ditto
13090 (updateInset): remove some commented code
13092 * lastfiles.h: inherit privately from noncopyable
13095 * lyx_main.h: ditto
13097 * lyxlex_pimpl.h: ditto
13099 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13100 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13101 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13103 * LyXAction.h: inherit privately from noncopyable, add methods
13104 func_begin, func_end, returning iterators to the func map.
13106 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13107 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13108 (func_begin): new method
13109 (func_end): new method
13111 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13113 (copySelection): ditto
13114 (pasteSelection): ditto
13116 * BufferView.C: whitespace change
13117 * BufferView.h: inherit privately from noncopyable
13119 2001-04-16 Allan Rae <rae@lyx.org>
13121 * tabular-old.C (l_getline):
13122 * spellchecker.C (sc_check_word):
13123 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13124 an unrecognised preprocessor directive. So ensure they're wrapped.
13126 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13128 * src/exporter.C (Export): Give an error message when path to file
13131 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13133 * LaTeX.C (deplog): Always check that foundfile exists.
13135 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13138 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13140 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13142 * tabular.[Ch] (getLabelList): implement new method
13144 * minibuffer.h: comment ouf setTiimer
13146 * minibuffer.C (ExecutingCB): constify res
13147 (peek_event): constify s
13148 (Set): constify ntext
13149 (Init): constify nicename
13151 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13153 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13154 (savePosition): use two params to Minibuffer::Set
13155 (restorePosition): ditto
13157 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13159 * lyx_main.C: include language.h
13161 * Makefile.am (lyx_main.o): add language.h
13163 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13169 * CutAndPaste.C: include gettext.h
13171 * lyxfont.h: remove old hack with ON and OFF.
13174 * lyxfont.h: do not include language.h...
13179 * bufferview_funcs.C:
13185 * paragraph.C: ... but do it here instead
13187 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13191 * tabular.C: small reformat
13193 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13196 (BreakParagraph): ditto
13197 (SetOnlyLayout): ditto
13200 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13203 * lastfiles.C: removed most using decl, add std:: where needed
13205 * buffer.C: ws changes
13207 * MenuBackend.C (class compare_format): put into anon namespace
13208 (expand): constify label, names, action, action2
13211 * text.C (SingleWidth): constify font
13212 (IsBoundary): constify rtl2
13213 (GetVisibleRow): constify ww
13215 * LaTeX.C (deplog): constify logfile
13217 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13219 (workAreaExpose): constify widthChange, heightChange
13221 * lyxrow.C (par): moved
13224 * lyxrow.h: as inlines here
13226 * lyxfont.h (shape): moved from lyxfont.C
13227 (emph): moved from lyxfont.C
13229 * lyxfont.C (LyXFont): use initialization list for all
13231 (shape): move to lyxfont.h as inline
13232 (emph): move to lyxfont.h as inline
13235 2001-04-04 Juergen Vigna <jug@sad.it>
13237 * vspace.C: had to include stdio.h for use of sscanf
13239 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13242 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13243 independent of xforms.
13245 2001-04-02 Juergen Vigna <jug@sad.it>
13247 * spellchecker.C: fixed namespace placing!
13249 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13251 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13252 the LyXParagraph * is 0.
13254 2001-03-29 Juergen Vigna <jug@sad.it>
13256 * vspace.C: added support for %, c%, p%, l%.
13257 (stringFromUnit): added helper function.
13258 (asLatexString): changed to give right results for the %-values.
13260 * buffer.C: convert the widthp in a width%.
13262 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13264 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13267 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13268 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13270 * lyx_cb.[Ch]: see above.
13272 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13276 * lyx.[Ch]: replaced by figure_form.[Ch].
13280 * lyxfunc.C: changed headers associated with above changes.
13282 2001-03-27 Juergen Vigna <jug@sad.it>
13284 * BufferView_pimpl.C: set the temporary cursor right!
13286 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13288 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13290 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13292 * LString.h: removed "using std::getline"!
13294 * BufferView_pimpl.C (Dispatch): changes due to changes in
13295 InsetInclude::Params.
13297 * buffer.C (tag_name): removed redundant break statements as they were
13298 producing lots of warnings with my compiler.
13300 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13302 * LString.h: add "using std::getline" when using the real <string>.
13304 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13306 * buffer.C: removed bitset usage.
13307 PAR_TAG moved to an anonymous name space.
13308 (tag_name): new funtion, also in the anonymous namespace.
13309 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13310 (makeDocBookFile): clean code. Completed transition from string arrays
13312 (SimpleDocBookOnePar): code clean.
13314 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13316 * tabular.C: add some comments.
13318 2001-03-22 Juergen Vigna <jug@sad.it>
13320 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13321 compatibility read a bit and fixed bug with minipage in different
13324 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13326 * buffer.C (pop_tag): removed.
13327 (push_tag): removed.
13328 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13329 array replaced with vector. Added support for CDATA sections.
13330 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13332 (makeDocBookFile): XML conformant declaration of CDATA section,
13333 fixed bug related to <emphasis> in the first paragraph char.
13334 (sgmlOpenTag): exclude empty tags.
13335 (sgmlCloseTag): ditto.
13337 * buffer.h (pop_tag): removed.
13338 (push_tag): removed.
13340 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13342 * language.h (Languages): added size_type and size().
13344 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13346 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13347 response on compability reading of minipages. One probliem is that
13348 the old usage of minipages was «flertydig»
13350 * several files here and in subdirs: don't use static at file
13351 scope use anon namespaces instead.
13353 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13355 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13356 LaTeX output. This is necessary for Literate document
13359 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13361 * buffer.C: insert hfill when needed.
13363 * tabular.C (l_getline): use string::erase, small whitespace change.
13365 * BufferView_pimpl.C: try the anon namespace.
13366 * WorkArea.C: ditto
13368 2001-03-16 Juergen Vigna <jug@sad.it>
13370 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13371 otherwise it won't open options-dialogs.
13373 * buffer.C: honor pextraWidth(p) on converting minipages.
13375 * tabular.C (l_getline): changed the functions to strip trailing \r.
13377 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13379 * BufferView_pimpl.C:
13380 * minibuffer..C: added "using SigC::slot" declaration.
13382 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13384 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13390 * paragraph.C: ditto
13392 * lyxtext.h: NO_PEXTRA
13394 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13396 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13397 * ParameterStruct.h: ditto
13398 * ParagraphParameters.h: ditto
13399 * lyxparagraph.h: ditto
13401 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13403 * buffer.C: add compability for minipage alignment.
13404 (latexParagraphs): remove unwanted pextra check.
13406 * several files: remove CXX_WORKING_NAMESPACES
13408 * buffer.C (pop_tag): tie is in namespace boost
13410 * BufferView.h: noncopyable is in namespace boost
13412 * lyx_main.h: ditto
13415 * lastfiles.h: ditto
13416 * bufferlist.h: ditto
13417 * ShareContainer.h: ditto
13419 * LyXAction.h: ditto
13422 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13424 * Merging changes from BRANCH_MVC back into HEAD.
13426 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13428 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13430 * BufferView_pimpl.C: change from intl.C
13434 * Makefile.am: move combox.*
13440 * intl.C: remove dialog (covered by prefs)
13442 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13444 * lyxfunc.C (Dispatch): removed redundant break statement.
13446 2001-03-14 Juergen Vigna <jug@sad.it>
13448 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13450 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13452 * buffer.C: add hack to fix compability reading of minipages.
13454 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13456 * buffer.C (getLists): Cleanup.
13458 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13460 * lyxfont.C (update): don't honor toggleall on font size.
13462 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13466 * Makefile.am: moved to frontends/xforms/
13470 * BufferView_pimpl.C: changes for moved mathpanel
13472 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13474 * gettext.h: fix gettext_init() in --disable-nls
13476 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13478 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13480 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13483 * lyx.h: strip external form
13485 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13487 * BufferView_pimpl.C: add comment, destroySplash()
13489 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13491 * BufferView_pimpl.C:
13495 * lyxfunc.C: use re-worked insetinclude
13497 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13499 * buffer.C: add using std::stringstream.
13501 * lyx_cb.C: readd using std::ios.
13503 * buffer.C: add using std::map.
13505 * BufferView_pimpl.C: add using std::vector.
13507 * ShareContainer.h: add std:: to swap.
13509 * buffer.h: add some typedefs
13510 * buffer.C (getLists): use them
13511 (getLists): renamed from getTocList.
13512 add a counter for the different float types and use it in the
13514 (getLists): use the same counter for the NEW_INSETS and the "non"
13517 * lyx_cb.h: remove unused items, includes, using etc.
13519 * ShareContainer.h: remove some commented code, add more comments
13520 and "documentation".
13522 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13524 * buffer.C (getTocList): make the list also when NEW_INSETS is
13527 * buffer.h: remove TocType
13529 * buffer.C (getTocList): change to return a map<string,
13530 vector<TocItem> >, implement for dynamic number of list.
13532 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13533 * text2.C (PasteSelection): adjust
13534 * CutAndPaste.C (pasteSelection): adjust
13536 * FloatList.C (FloatList): update from the new_insets branch.
13537 * Floating.[Ch]: ditto
13538 * LaTeXFeatures.C: ditto
13540 * lyxlex_pimpl.C: ditto
13542 * paragraph.C (Last): remove when NEW_INSETS is defined.
13544 * other file: changes because of the above.
13546 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13548 * lyxparagraph.h: rename next to next_, previous to previous_,
13549 make them private for NEW_INSETS. Rename Next() to next(),
13550 Previous() to previous().
13552 * other files: changes because of the above.
13554 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13557 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13560 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * main.C (main): pass lyx_localedir to gettext_init().
13564 * gettext.h: remove locale_init and gettext_init macros
13566 * gettext.C (locale_init): new function
13567 (gettext_init): new function
13569 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13572 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13574 * Moved credits to frontends:
13575 * credits.[Ch]: removed
13576 * credits_form.[Ch]: removed
13577 * lyx_gui_misc.C: remove credits stuff
13580 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13582 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13584 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13585 unneeded destructor.
13587 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13588 a standalone pointer again.
13590 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13592 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13598 * ToolbarDefaults.C:
13607 * BufferView_pimpl.C: use new file dialog in GUII
13610 * lyx_cb.C: remove LayoutsCB to Toolbar
13612 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13614 * ShareContainer.h (get): add std:: qualifier
13616 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13618 * ShareContainer.h: define a proper ShareContainer::value_type
13619 type (and use typename to please compaq cxx)
13621 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13623 * lyxparagraph.h: move serveral local vars to
13624 ParameterStruct/ParagraphParameters., use ShareContainer in
13625 FontTable., make vars in FontTable private and add getter and
13628 * paragraph.C: changes because of the above.
13630 * lyxfont.h: remove copy constructor and copy assignment. (the
13631 default ones is ok), move number inside FontBits. move inlines to
13634 * lyxfont.C: add number to initializaton of statics, move several
13635 inlines here. constify several local vars. some whitespace
13636 cleanup. Dont hide outerscope variables.
13638 * Spacing.h: add two new constructors to match the set methods.
13640 * ShareContainer.h: new file, will perhaps be moved to support
13642 * ParameterStruct.h: new file
13644 * ParagraphParameters.h: new file
13646 * ParagraphParameters.C: new file
13648 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13649 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13651 * BufferView_pimpl.C: ParagraphParameter changes.
13652 * buffer.C: Likewise.
13653 * bufferview_funcs.C: Likewise.
13654 * text.C: Likewise.
13655 * text2.C: Likewise.
13657 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * lyxfind.C (LyXReplace): do not redefine default argument in
13661 (IsStringInText): ditto
13662 (SearchForward): ditto
13663 (SearchBackward): ditto
13665 2001-03-06 Juergen Vigna <jug@sad.it>
13667 * lyxfind.C (IsStringInText): put parentes around expressions.
13669 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13671 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13673 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13675 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13677 * stl_string_fwd.h: add comment
13679 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13682 * tabular.C: remove unused DocBook methods
13688 killed DO_USE_DEFAULT_LANGUAGE
13690 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * lyx_gui.C: do not include language.h.
13694 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13695 arguments in function implementation.
13697 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13699 * BufferView_pimpl.C: add <ctime>
13701 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13703 * BufferView_pimpl.C: add using std::find_if
13705 2001-02-27 José Matos <jamatos@fep.up.pt>
13707 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13710 2001-02-11 José Matos <jamatos@fep.up.pt>
13712 * buffer.C (makeDocBookFile): command styles now have a parameter as
13713 "title" by default.
13715 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13717 * layout_forms.[Ch]: removed
13718 * lyx_cb.[Ch]: out character
13719 * lyx_gui.C: out character
13720 * lyx_gui_misc.C: out character
13721 * bufferview_funcs.C: : out character,
13722 added toggleall as parameter in ToggleAndShow
13724 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13726 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13728 * text2.C (SetCurrentFont): Disable number property at boundary.
13730 2001-02-26 Juergen Vigna <jug@sad.it>
13732 * lyxfunc.C (getStatus): added a string argument override function so
13733 that this is correctly called from LyXFunc::Dispatch if it contains a
13734 do_not_use_argument which is used!
13735 (Dispatch): added check for "custom" export and call appropriate func.
13737 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13739 * lyxrc.C: Add language_command_local, language_use_babel and
13740 language_global_options.
13742 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13744 * buffer.C (makeLaTeXFile): Use language_use_babel and
13745 language_global_options.
13747 2001-02-23 Juergen Vigna <jug@sad.it>
13749 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13750 which works with LyXText and putted it inside BufferView. Here now we
13751 only call for that part the BufferView::Dispatch() function.
13753 * BufferView.C (Dispatch): added.
13755 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13756 functions which needs to use a LyXText over from LyXFunc.
13757 (MenuInsertLyXFile): added
13758 (getInsetByCode): added
13759 (moveCursorUpdate): added
13760 (static TEXT): added
13762 2001-02-22 Juergen Vigna <jug@sad.it>
13764 * BufferView_pimpl.C (update): call a status update to see if LyXText
13767 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13769 * vc-backend.C (revert): implement for CVS
13770 (getLog): implement for CVS
13772 2001-02-20 Juergen Vigna <jug@sad.it>
13774 * text2.C (ClearSelection): added BufferView param for inset_owner call
13776 * lyxfunc.C (TEXT): added this function and use it instead of
13777 directly owner->view()-text of getLyXText().
13779 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13781 * src/layout_forms.C: out preamble
13782 * src/layout_forms.h: out preamble
13783 * src/lyx_cb.C: out preamble
13784 * src/lyx_cb.h: out preamble
13785 * src/lyx_gui.C: out preamble
13786 * src/lyx_gui_misc.C: out preamble
13787 * src/lyxfunc.C: connect with guii preamble
13789 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13791 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13793 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13795 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13796 whether to run bibtex.
13798 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13800 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13802 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13804 * Makefile.am (lyx_SOURCES): removed bibforms.h
13806 * vspace.h: doxygen
13808 * text.C (GetVisibleRow): make several local vars const
13810 * tabular.C: small cleanup.
13812 * lyxserver.C (callback): use compare instead of strncmp
13814 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13815 inlines to after class or to paragraph.C
13817 * lyxfont.h: remove friend operator!=
13819 * converter.h: move friend bool operator< to non friend and after
13822 * combox.h: small cleanup
13824 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13825 to inlines after class def.
13827 * buffer.C (pop_tag): use string operations instead of strcmp
13829 * bmtable.c: doxygen, small cleanup
13831 * LaTeX.h: remove friend operator==
13833 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13845 * BufferView_pimpl.C:
13846 * BufferView.[Ch]: remove cruft
13848 2001-02-14 Juergen Vigna <jug@sad.it>
13850 * lyxfunc.C: removed #if 0 unused code
13852 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13854 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13856 * text2.C (SetSelection): added a BufferView * parameter
13858 2001-02-13 Juergen Vigna <jug@sad.it>
13860 * lyxfunc.C (Dispatch): fixed protected blank problem.
13861 * BufferView2.C (protectedBlank): added LyxText * parameter.
13863 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13864 (AppendColumn): same as above for column_info.
13866 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13867 (moveCursorUpdate): use a LyXText param for support of InsetText.
13869 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13870 (tripleClick): ditto
13872 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13874 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13876 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13878 * text2.C (SetSelection): set correct update status if inset_owner
13879 (ToggleFree): ditto
13881 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13883 * tabular.C: remove some commented code.
13885 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13887 * BufferView_pimpl.C: call hideSplash()
13889 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13892 * bibforms.h: remove
13895 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13896 add LFUN_CHILD_CREATE
13898 * counters.h: fix tiny typo
13903 * lyx.C: move splash to frontends/xforms/
13905 * lyx_gui_misc.C: move Include and Bibform to frontends
13907 * lyxvc.h: clarify comment
13909 * vspace.C: tiny housekeeping
13911 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13913 * text.C (PrepareToPrint): RTL Fix.
13915 * paragraph.C (GetUChar): New method.
13916 (String): Use GetUChar.
13918 * buffer.C (asciiParagraph): Use GetUChar.
13920 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13922 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13924 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13927 * buffer.C: rename to getLogName(), handle
13928 build log / latex log nicely
13930 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13933 * MenuBackend.h: remove support for reference menuitem type.
13935 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13937 * BufferView_pimpl.C: housekeeping
13938 * BufferView_pimpl.h:
13943 * minibuffer.h: move Timeout GUI-I
13945 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13947 * lyxrc.C (read): Update converters data-structures.
13949 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13951 * LaTeX.h (operator!=): add operator != for Aux_Info
13953 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13955 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13957 * LaTeXLog.C: deleted, useful code moved to Buffer
13960 * buffer.C: new function getLatexLogName()
13966 * lyxfunc.C: use frontends for LaTeX and VC logs
13968 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13970 * LaTeX.h: yet another std:: that Allan forgot.
13972 * Variables.C (set): renamed from isset(), because this clashes
13973 with some HP-UX macros (grr).
13975 2001-02-06 Allan Rae <rae@lyx.org>
13977 * LaTeX.h: Another bug fix. Missing std:: this time.
13979 2001-02-04 Allan Rae <rae@lyx.org>
13981 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13982 floats problem. I've left it commented out because it's not quite
13983 correct. It should also test that the current object is a table or
13984 figure inset. But I haven't gotten around to figuring out how to do
13985 that. I *think* it'll be something like: "table" == inset.type()
13987 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13990 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
13992 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13993 all the citation/databases/styles in the auxilary file.
13994 (run): Rerun latex if there was a babel language error.
13996 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
13998 * text.C (Backspace): Preserve the font when changing newline char
14000 (BreakParagraph): If the cursor is before a space, delete the space.
14002 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14004 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14006 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14007 new argument (code).
14008 (ChangeCitationsIfUnique): New method.
14010 * paragraph.C (GetPositionOfInset): Handle bibkey.
14012 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14014 * BufferView_pimpl.h: change type of Position::par_pos to
14015 LyXParagraph::size_type.
14017 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14019 * BufferView_pimpl.C (savePosition, restorePosition): Write
14020 messages to minibuffer.
14022 2001-01-28 José Matos <jamatos@fep.up.pt>
14024 * buffer.C (makeDocBookFile): adds support for document language.
14025 A silly restriction on the name of LatexCommand types where removed.
14026 Added support for CDATA sections, allows to chars unescaped, used
14027 among others in code, to avoid escape < and >.
14029 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14031 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14032 saved positions instrad of a stack. Furthermore, a position is
14033 stored using paragraph id/paragraph position.
14035 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14036 Remove LFUN_REF_BACK.
14038 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14040 * converter.C (dvipdfm_options): New method.
14042 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14044 * vspace.C (isValidLength): Fix for empty input string.
14046 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * LyXAction.C (init): change description of LFUN_FIGURE to
14051 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14053 * LaTeX.C: add using directive
14055 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14057 * MenuBackend.C (expand): Fix the sorting of the formats.
14059 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14061 * lyx_main.C: tiny error message fix
14063 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14066 calling fl_initialize(). This fixes the problem with ',' as
14067 decimal separator in text files.
14069 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14071 * trans.C (process): Fix the keymap bug.
14073 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14075 * LaTeX.C (scanAuxFiles): New method. Provides support for
14076 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14077 (scanLogFile) Scan for "run BibTeX" messages.
14079 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14080 OT1 font encoding. Also, load the aecompl package if the ae
14083 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14085 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14087 * texrow.C (increasePos): turn two error messages into debug
14090 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14092 * LaTeX.C (scanAux): Handle the \@input macro.
14093 (runBibTeX): Use scanAux().
14095 * language.C (latex_options_): New field.
14097 * LaTeXFeatures.C (getMacros): Add language macros.
14099 * buffer.C (makeLaTeXFile): Small fix.
14101 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14103 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14105 * text2.C: add a using directive.
14107 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14112 * lyxfunc.C: kill LyXBell.
14114 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14116 * text.C (IsBoundary): Remove the error message
14118 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14120 * lyxrc.C (setDefaults): Correct initialization value for
14123 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14125 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14128 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14129 and GotoNextNote().
14131 * src/LyXAction.C: Added reference-next.
14133 * text.C (InsertChar): Use contains instead of strchr.
14135 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14137 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14139 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14140 alignment commands (when needed).
14142 * text.C (InsertChar): Add ':' to number separator chars.