2 2003-12-03 André Pönitz <poenitz@gmx.net>
6 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
7 InsetText::read() as LyXText::read()
9 2003-12-02 Angus Leeming <leeming@lyx.org>
11 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
12 type. Add a comment in the implementation that the function uses
13 the stream's bad() function rather than fail() as the std::streams
16 2003-12-02 André Pönitz <poenitz@gmx.net>
18 * lyxlex.[Ch]: make interface more similar to std::stream
20 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
22 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
24 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
26 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
28 * vspace.[Ch]: remove VSpace::NONE
30 2003-12-01 André Pönitz <poenitz@gmx.net>
33 * lyxtext.h: move ParagraphList member to LyXText
34 rename LyXText::ownerParagraphs to LyXText::paragraph
47 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
49 * undo.C: fix cursor positioning
51 2003-12-01 John Levon <levon@movementarian.org>
53 * BufferView_pimpl.C: fix a crash on exit with
56 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
58 * BranchList.C: fix setSelected() method.
60 2003-11-28 André Pönitz <poenitz@gmx.net>
62 * ParagraphParameters.[Ch]:
63 * ParameterStruct.h: remove space above/below from Paragraph to
78 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
80 * factory.C: Syntax change for CharStyles
82 2003-11-28 André Pönitz <poenitz@gmx.net>
87 * buffer.[Ch]: move LyXText member
89 2003-11-28 André Pönitz <poenitz@gmx.net>
91 * BufferView.[Ch]: make LyXText * text a private member
104 * output_plaintext.C: cleanup
106 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
109 * lyxtextclass.[Ch]: parametrize SGML document header
111 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
114 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
117 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
119 * text2.C (setFont): rework using PosIterator (no more recursive)
120 (setCharFont): no more needed
121 (setLayout): no more selection cursors fiddling (done by redoCursor)
122 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
123 destroy remaining ones)
125 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
127 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
129 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
132 * text3.C: adjust + re-allow multi par depth changes
133 * textcursor.C: simplify a bit
135 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
141 * src/output_docbook.C:
142 * src/output_latex.C:
147 * src/text2.C: Introducing a number of tags parametrizing various
148 XML formats that we may want to support
150 2003-11-25 André Pönitz <poenitz@gmx.net>
152 * InsetList.[Ch] (begein, end): inline as suggested by profiler
154 * lyxtext.h (leftMargin/rightMargin): simplify interface
161 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
163 * lyxfunc.C (dispatch): propogate the bibtex databases from the
164 master file to any child files. Fixes bug 546.
166 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
168 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
170 2003-11-24 André Pönitz <poenitz@gmx.net>
172 * rowpainter.C: simplification
174 * text2.C (updateCounters): remove call to redoParagraph on
175 changed labels as this is far too expensive.
177 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
179 * converter.C (convert): fix a crash: this function gets
180 called with buffer == 0 from importer code.
182 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * text3.C (cursorPrevious): make sure that we do not compare
185 iterators form different containers.
188 * rowpainter.C (paintSelection): make sure that we do not compare
189 iterators from different containers.
191 * text3.C (dispatch): [PRIOR] make sure that we do not compare
192 iterators from different ParagraphList containers.
195 * text2.C (LyXText): change order of initialization slightly
196 (operator=): new function. copy all variables except cache_par_
197 (moveUp): make sure that we do not compare iterators from
198 different ParagraphList constainers.
201 * text.C (firstPar): new function
202 (lastPar): new function
203 (endPar): new function
205 * lyxtext.h: move things around and group public functions, public
206 variables, private functions, private variables
208 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
210 * factory.C: change call to InsetERT constructor to avoid
211 additional invocation of method status
212 * text2.C (toggleInset): remove redundant update() call
213 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
214 instead of a Bufferview pointer
216 2003-11-21 André Pönitz <poenitz@gmx.net>
218 * rowpainter.C: simplification
220 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
222 * text3.C (dispatch): make possible to extend a word/row selection
225 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
227 * lyxtext.h: x0_,y0_ -> xo_,yo_
228 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
229 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
230 * rowpainter.C (paintRows): paint full paragraphs
232 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
234 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
237 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
239 * lyxtext.h: add x0_, y0_
240 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
241 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
243 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
245 * text2.C (setCursorIntern): move the x_target update here *
246 * text3.C: change some bv() to true/false in calls to
247 cursorUp/Down/Right/Left
248 * cursor.C: use helper function.
250 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
252 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
253 * paragraph_funcs.[Ch]: correct comment
254 * rowpainter.C: do not paint selections away from bv->cursor()
255 Fix a long standing selection painting bug.
256 * text3.C: generalize mouse-selection code to LyXTexts other that
258 * textcursor.C: do not use y coords if we can use par offsets
260 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
262 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
263 cursor position after e.g. inset insert)
265 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
267 * lyxfind.C (replace): adjust to locking removal + some
270 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
272 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
275 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
278 * output_docbook.C: XML sanitation: new layout
279 parameters InnerTag and CommandDepth
281 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
283 * BufferView_pimpl.C:
285 * text3.C: Fix the insertion and modification of button-style
288 2003-11-13 André Pönitz <poenitz@gmx.net>
290 * InsetList.[Ch]: remove deleteLyXText
292 * paragraph.[Ch]: cache beginOfBody position
297 * text3.C: remove superfluous update() calls
301 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
303 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
304 * BufferView.C (fitLockedInsetCursor): remove
305 * cursor.[Ch] (getDim): add
306 * text.C (getRowNearY): add faster version
307 * text3.C: remove some update calls
309 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
321 * text3.C: The Character Style /XML short element patch.
323 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
326 * factory.C: Small step to solving 'unable to insert some insets'
329 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
331 * cursor.[Ch] (updatePos): new function for updating the y
332 position of the tip inset
333 * bufferview_funcs.C (put_selection_at):
334 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
336 2003-11-11 André Pönitz <poenitz@gmx.net>
338 * text.C: remove big comment on invalid Paragraph pointers as it is
341 2003-11-11 André Pönitz <poenitz@gmx.net>
343 * text_funcs.[Ch]: merge with ...
351 * Makefile.am: remove text_funcs.[Ch]
353 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
355 * cursor.C (getPos): return absolute cached y coord
357 * BufferView_pimpl.C (fitCursor): new simplistic code
358 (workAreaDispatch): add a fitCursor call
360 2003-11-10 André Pönitz <poenitz@gmx.net>
363 * BufferView_pimpl.[Ch]: merge update() and updateInset()
365 2003-11-10 André Pönitz <poenitz@gmx.net>
367 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
368 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
369 indicate that the cursor needs to leave an inset
371 * lyxtext.h: remove inset locking
373 * cursor.[Ch]: re-implement functionality provided by inset locking
376 * BufferView_pimpl.[Ch]:
378 * bufferview_funcs.[Ch]:
390 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
392 * PosIterator.[Ch]: replace the stack with a vector, add inset
394 * iterators.[C]: adjust
396 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
398 * lyxfind.C (replaceAll): mark the buffer dirty if something was
400 * paragraph_funcs.C (readParToken): put the correct id in the
401 error item, not the id of the top paragraph
403 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
405 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
406 * bufferview_funcs.C (put_selection_at): use the above
408 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
410 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
412 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * output_plaintext.h:
417 * output_docbook.h: add #include statements
419 2003-11-05 José Matos <jamatos@lyx.org>
421 * output_docbook.[Ch]:
423 * output_linuxdoc.[Ch]:
424 * output_plaintext.[Ch]: New files for output formats.
425 * output.[Ch]: New file for helper functions.
428 * paragraph_funcs.[Ch]: output functions moved to new files.
430 * outputparams.h: rename of latexrunparams.h
438 * paragraph_funcs.[Ch]:
439 * paragraph_pimpl.[Ch]:
440 * tabular.[Ch]: rename ascii to plaintext
441 and LatexRunParams to OutputParams.
443 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
445 * iterators.[Ch] (text): require bv argument
446 * undo.C (recordUndo):
447 * lyxfunc.C (dispatch):
448 * bufferview_funcs.C (put_selection_at): adjust
450 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
452 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
454 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
456 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
459 2003-11-04 André Pönitz <poenitz@gmx.net>
461 * cursor.[Ch]: restructure
464 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
466 * iterators.[Ch] (asCursor): remove
468 * lfuns.h: remove LFUN_INSET_EDIT
474 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
476 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
478 * lyxfind.[Ch]: complete overhaul
479 * BufferView_pimpl.C:
481 * paragraph.[Ch] (insert): add
483 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
487 * text.C: remove dead spellcheck code
489 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * dispatchresult.h: add a val setter
493 * cursor.C (dispatch): use a tempvar for data_[i]
495 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
497 * PosIterator.[Ch]: compile fix
499 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
501 * text.C (cursorPar): deactivate the cursor cache
503 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
505 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
507 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
509 * text3.C (dispatch): adjust for new DisptchResult semantics.
511 * lyxfunc.C (dispatch): handle update when return from
512 Cursor::dispatch, adjust for new DispatchResult semantics.
514 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
515 DispatchResult(true) mean to not update. Add class functions for
516 setting dispatched and update, as well as reading.
518 * cursor.C (dispatch): don't handle update here
520 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
522 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
523 * trans_mgr.C: adjust
525 * paragraph_funcs.C (readParToken): exception safety
527 * lyxvc.h: store the vcs pointer in a scoped_ptr
530 * lyxsocket.C (serverCallback): exception safety
532 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
534 * ispell.C (clone): make it return a auto_ptr
536 * factory.C (createInset): exception safety
537 (readInset): exception safety
539 * bufferlist.C (newBuffer): exception safety
541 * Thesaurus.C (Thesaurus): use initialization for aik_
543 * MenuBackend.C (expandToc): exception safety.
545 2003-11-03 André Pönitz <poenitz@gmx.net>
549 * bufferview_funcs.C: remove getInsetFromId()
552 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
558 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
560 * PosIterator.C (distance, advance): new
561 * bufferview_funcs.[Ch] (put_selection_at): new
562 * iterators.[Ch] (lockPath): new
564 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
566 * iterators.[Ch] (asPosIterator): added
567 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
568 * PosIterator.[Ch]: added
570 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * cursor.C (dispatch):
575 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
577 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
578 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
579 contructor, add a class function dispatched. Remove operator>=
581 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * debug.C: only use the default constructor for debugstream
586 * main.C (main): include debug.h and setup the lyxerr streambuf
589 2003-10-31 José Matos <jamatos@lyx.org>
591 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
593 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
594 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
595 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
596 * paragraph_pimpl.C (simpleTeXSpecialC):
597 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
598 add LatexRunParams argument.
600 * exporter.C (Export): change call accordingly.
602 * latexrunparams.h: add new member to take care of the other backends.
603 2003-10-30 José Matos <jamatos@lyx.org>
605 * buffer.C (makeLinuxDocFile, makeDocBookFile):
606 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
607 factorise code for paragraph output.
609 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
612 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
614 * text3.C (dispatch):
615 * lyxfunc.C (dispatch):
616 * cursor.C (dispatch):
617 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
619 * dispatchresult.h: make the dispatch_result_t ctor explicit
621 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
624 * buffer.C: small refactoring of docbook stuff
626 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
628 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
631 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
633 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
634 operator dispatch_result_t, and operators for == != and >=
636 * cursor.C (dispatch): adjust for operator dispatch_result_t
637 removal. comment out call to update
639 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
641 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
652 * dispatchresult.h: new file, DispatchResult broken out of
655 * Makefile.am (lyx_SOURCES): add dispatchresult.h
657 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
659 * text.C (rowBreakPoint): put a hack inside #if 0
661 2003-10-28 André Pönitz <poenitz@gmx.net>
668 * text2.C: general cleanup (lots of small stuff)
670 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
672 * text2.C (cursorEnd): simple fix to the "end key goes to one
673 before the end on last row" bug
675 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
677 * text.C (backspace): fix the "zombie characters"
679 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
681 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
683 2003-10-27 André Pönitz <poenitz@gmx.net>
685 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
687 * factory.C: handle new InsetPagebreak, InsetLine
689 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
690 and move handling into new InsetPagebreak, InsetLine
692 * BufferView_pimpl.C:
694 * ParagraphParameters.C:
707 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
716 * text3.C: remove lastPos uses in favour of Row::endpos
718 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
720 * undo.C (performUndoOrRedo): fix two crashes by setting a
721 cursor by hand and reordering some calls. Use bv->lockInset instead
722 of inset->edit because the latter loses cursor information
724 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
726 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
728 (rowBreakPoint): fix width. change point to point + 1.
731 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
734 * lyxfunc.C: fix (at least partly) the problems
735 with the Nav menu and headers inside branch insets
738 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
740 * paragraph.C (getChar): add strong asserts
742 * lyxrow_funcs.C (lastPos): remove hideous hack
744 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
745 (fill): adjust to that (avoid an infinite loop)
747 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
749 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
751 2003-10-23 André Pönitz <poenitz@gmx.net>
753 * RowList_fwd.h: change list<> to vector<> to gain speed
754 after suggestion from Alfredo
756 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
758 * lyxtext.h: move the bidi stuff from here...
761 * Bidi.[Ch]: ... to here
763 2003-10-23 André Pönitz <poenitz@gmx.net>
766 * text.C (isLastRow, isFirstRow): new functions
768 * paragraph.h: new width cache member
770 * rowpainter.C: replace RowList::iterator with Row & where possible
772 * lyxfunc.C: replace several view()->text with a single call
774 * toc.C: fix 'unused' warning
776 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
778 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
779 when woring with stream::pos_type
780 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
782 2003-10-22 André Pönitz <poenitz@gmx.net>
785 * text.C: use Row & instead of RowList::iterator
787 * lyxrow.h: rename end() to endpos()
793 2003-10-22 Angus Leeming <leeming@lyx.org>
795 * buffer.[Ch] (fully_loaded): new member function, returning true
796 only when the file has been loaded fully.
797 Used to prevent the premature generation of previews and by the
798 citation inset to prevent computation of the natbib-style label.
800 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
801 templates are all set up.
803 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
805 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
807 * text.C: fixed an "oops" in the "is a bit silly"
810 2003-10-21 André Pönitz <poenitz@gmx.net>
812 * FuncStatus.[Ch]: small stuff, whitespace
814 * lyxfont.[Ch]: operator<<() for debug reasons
818 * lyxtext.h: whitespace, spelling
820 * paragraph.C: naming of variables
823 * text2.C: small stuff
826 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
828 * text.C: (1) finish off the inset display() work;
829 (2) fix the "is a bit silly" bug (accessing char
832 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
834 * text.C: re-introduce display() for insets, fixing the
835 various bugs (stretch of line above, math inset
838 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
840 * text.C (rightMargin): remove spurious semicolon
842 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
845 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
847 * text3.C: fix one crash due to wrong cursor def
849 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
851 * vc-backend.C (scanMaster): make the regex static
853 * LaTeX.C (scanAuxFile): make the regexs static
855 * text3.C (doInsertInset, dispatch, dispatch):
856 * text2.C (cursorUp, cursorDown):
857 * text.C (selectNextWordToSpellcheck):
858 * BufferView_pimpl.C (dispatch):
859 * lyxfunc.C (dispatch): localDispatch -> dispatch
861 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * lyxsocket.C: include <cerrno>
865 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
867 * lyxfunc.C (dispatch): remove textcache stuff
869 * bufferlist.C (release): remove textcache stuff
872 * TextCache.C: delete file
873 * TextCache.h: delete file
875 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
877 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
878 delete of the bv_->text.
879 (resizeCurrentBuffer): remove texcache stuff
880 (workAreaResize): ditto
882 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
887 2003-10-16 André Pönitz <poenitz@gmx.net>
894 * text3.C: speed up by storing y positions per paragraph plus per-row
895 offset instead of having a 'full' y position in the row.
897 2003-10-15 André Pönitz <poenitz@gmx.net>
901 * undo.[Ch]: make undo aware of inner insets
903 2003-10-14 Angus Leeming <leeming@lyx.org>
905 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
906 static member functions LyX::ref() and LyX::cref.
907 (lastfiles): new accessor functions for the new lastfiles_ member var.
908 (addLyXView, views_): add a new LyXView to the list of views_.
909 (updateInset): loop over all LyXViews to call their own updateInset
910 member function, returning a pointer to the Buffer owning the inset.
912 * BufferView_pimpl.C (loadLyXFile):
913 * MenuBackend.C (expandLastfiles):
914 * bufferlist.C (MenuWrite, QuitLyX):
915 lastfiles is no longer a global variable.
916 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
918 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
919 static function. Access through LyX::cref().emergencyCleanup().
921 2003-10-14 André Pönitz <poenitz@gmx.net>
923 * iterators.[Ch]: new direct access to innermost LyXText and Inset
925 * undo.[Ch]: restoring part of 'undo in insets'
928 * undo_funcs.[Ch]: merge with undo.[Ch]
930 * tabular.C: small cleansing stuff
932 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
934 * paragraph_funcs.C (readParToken): report unknown insets as error
935 boxes. Use the outer paragraph as location (also for unknown
938 * factory.C (readInset): do not abort on reading an unknown inset.
941 2003-10-13 Angus Leeming <leeming@lyx.org>
943 * lyx_main.C (LyX): remove call to setDisplayTranslator().
945 * lyxrc.C: displayTranslator is now a function,
946 declared in GraphicsTypes.h.
948 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
950 * format.C: new placeholder $$a to pass the socket address.
952 * bufferlist.[Ch]: new function getBufferFromTmp.
954 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
955 files in the temporary dir.
957 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
959 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
961 * Makefile.am: add lyxsocket.[Ch].
963 * lyx_main.C (error_handler): handle SIGPIPE.
965 2003-10-13 André Pönitz <poenitz@gmx.net>
967 * BufferView_pimpl.C:
972 * undo_funcs.[Ch]: use paroffset_type instead of
973 ParagraphList::iterators to prevent multiple conversion
974 (and get a more robust interface)
976 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
978 * lyxfunc.C (dispatch): RESULT -> dispatch_result
980 * text3.C (dispatch): ditto
982 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * LaTeX.C (handleFoundFile): move the static to smaller scope,
985 move the onlyfile, use onlyfile instead of foundfile in a couple
988 * DepTable.C (update): flush the error stream a bit more
990 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
992 * lyxserver.C (callback): adjust
994 * lyxfunc.C (getStatus): add a missing brace in commented code
995 (ensureBufferClean): reindent
996 (dispatch): delete version taking a string
998 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1000 * LaTeX.C (deplog): move found file handlig from here...
1001 (handleFoundFile): .. to new function here.
1002 (deplog): make sure to discover several files mentioned on the
1005 2003-10-10 André Pönitz <poenitz@gmx.net>
1012 * text3.C: fix some of the tabular crashes
1014 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1016 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1018 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1020 2003-10-09 André Pönitz <poenitz@gmx.net>
1022 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1025 * BufferView_pimpl.C:
1026 * bufferview_funcs.C:
1037 * undo_funcs.C: adjust
1039 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * text2.C (incrementItemDepth): new function, use a backtracking
1042 algorithm to discover the correct item depth.
1043 (resetEnumCounterIfNeeded): new function, use a backtracking
1044 algorithm to discover if counter reset is needed.
1045 (setCounter): use them. Simplify a bit. Add different labels for
1046 different item depths for itemize.
1048 * paragraph.C (Paragraph): remove initialization of enumdepth
1051 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1052 enumerate and itemize. Change the type of itemdepth to signed char.
1054 2003-10-08 André Pönitz <poenitz@gmx.net>
1056 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1061 * tabular.[Ch]: fix crash after 'row-insert'
1063 2003-10-08 Angus Leeming <leeming@lyx.org>
1065 Fix doxygen warnings.
1067 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1068 Remove CutAndPaste:: prefix from header file declaration.
1070 * LColor.h (fill): remove LColor:: prefix from declaration.
1072 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1073 use lyx::depth_type rather than Paragraph::depth_type so that
1074 header file and .C file match.
1076 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1078 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1079 * aspell.C: \file aspell_local.C -> \file aspell.C
1080 * gettext.C: \file gettext.C -> \file src/gettext.C
1081 * gettext.h: \file gettext.h -> \file src/gettext.h
1082 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1083 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1084 * text.C: \file text.C -> \file src/text.C
1086 * toc.C: move comment so that doxygen is not confused.
1088 2003-10-07 Angus Leeming <leeming@lyx.org>
1090 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1092 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1095 * aspell_local.h: add forgotten std::string's.
1097 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1104 * text3.C: The Box patch. Fancybox support, minipage, parbox
1106 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1112 * ParagraphParameters.h:
1122 * lyxtextclasslist.h:
1125 * paragraph_pimpl.C:
1126 * textcursor.h: add <string> and other small fixes to make Lars'
1127 std::string patch compile with STLport.
1129 2003-10-06 Angus Leeming <leeming@lyx.org>
1131 * LColor.h: Add missing #include <string>.
1133 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1135 * All most all file in all subdirs: Make <string> be the prefered
1136 way of getting to std::string, add using declarations.
1138 2003-10-06 André Pönitz <poenitz@gmx.net>
1140 * metricsinfo.C: initialize LyXFont before changing attribute.
1141 (fixes the 'math in \emph is upright' bug)
1143 2003-10-06 André Pönitz <poenitz@gmx.net>
1145 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1147 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1150 * paragraph_pimpl.C: Small fixes to build using STLport
1152 2003-10-02 André Pönitz <poenitz@gmx.net>
1155 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1157 2003-10-01 André Pönitz <poenitz@gmx.net>
1159 * factory.C: assert early
1161 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1163 * lyx_main.C: remove the global debug object
1165 * debug.h: adjust for new debugstream
1167 * debug.C: adjust for new debugstream and keep the global debug
1170 2003-09-22 Angus Leeming <leeming@lyx.org>
1172 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1173 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1174 an incomplete class LyXFont.
1176 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1178 * factory.C: bug fix in branches
1180 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * lyxfunc.C (processKeySym): adjust
1184 (dispatch): change arg name from ev to func, adjust
1185 (sendDispatchMessage): ditto
1187 * lyx_main.C (defaultKeyBindings): adjust keybindings
1188 (deadKeyBindings): ditto
1190 * kbsequence.C (addkey): return a FuncRequest
1192 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1194 * kbmap.C (bind): take a FuncRequest as arg, adjust
1197 (defkey): change to take a FuncRequest as arg, adjust
1198 (findbinding): take a FuncRequest as arg, adjust.
1200 * funcrequest.h (operator=): added
1202 * funcrequest.C (FuncRequest): default kb_action changed from
1203 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1205 * buffer.C (dispatch): simplify
1206 (dispatch): adjust to take a FuncRequest as arg, adjust
1208 * boost.C (assertion_failed): change assertion message slightly
1210 * ToolbarBackend.C (read): simplify
1212 * MenuBackend.C (binding): adjust call to findbinding, add a
1213 message if no binding is found.
1215 (expandToc): correct by adding a empty FuncRequest
1217 * LyXAction.C: include <boost/assert.hpp>
1218 (isPseudoAction): delete function
1219 (LookupFunc): change name to...
1220 (lookupFunc): this. change return type to FuncRequest.
1221 (getActionName): take kb_action as arg, simplify
1222 (funcHasFlag): add an assert, simplify.
1224 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * toc.C (action): return a FuncRequest, simplify
1228 * lyxfunc.C (processKeySym): adjust
1229 (getStatus): delete version that takes an int.
1231 (dispatch): delete version that takes action as int
1233 (sendDispatchMessage): simplify and adjust
1235 * funcrequest.C (getArg): take unsigned int as arg
1237 * ToolbarBackend.C (read): adjust
1238 (add): delete version that takes func as a string.
1239 (getIton): take a FuncRequest as arg
1241 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1244 * MenuBackend.C (MenuItem): add a new construct that only takes a
1245 Kind, simplify the constructor use for submenus.
1247 (expandLastfiles): adjust
1248 (expandDocuments): adjust
1249 (expandFormats): adjust
1250 (expandFloatListInsert): adjust
1251 (expandFloatInsert): adjust
1252 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1254 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1255 Remove class variables lyx_pseudo_map and lyx_arg_map
1257 * LyXAction.C (searchActionArg): delete function
1258 (getPseudoAction): delete function
1259 (retrieveActionArg): delete function
1260 (LookupFunc): make it return kb_action, simplify.
1261 (getActionName): simplify
1263 * factory.C (createInset): fix new bug
1265 2003-09-19 Angus Leeming <leeming@lyx.org>
1267 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1268 masterFilename_ parameter in the include inset.
1270 * factory.C (createInset): changes due to the changes to InsetInclude.
1272 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1274 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1276 2003-09-18 Angus Leeming <leeming@lyx.org>
1279 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1280 Inset::fillWithBibKeys.
1281 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1283 2003-09-18 Angus Leeming <leeming@lyx.org>
1285 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1287 (ctor): pass and store a 'Buffer const &'
1288 (buffer): new member function.
1290 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1291 '*this' to the LaTeXFeatures ctor.
1293 2003-09-18 Angus Leeming <leeming@lyx.org>
1299 * text.C: rename EnumLColor as LColor_color.
1301 2003-09-18 Angus Leeming <leeming@lyx.org>
1303 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1304 remove #include "insets/insetbase.h" from cursor.h.
1306 2003-09-18 Angus Leeming <leeming@lyx.org>
1308 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1309 InsetOld_code to remove #include "inset.h".
1311 * iterators.C: add #include "insets/inset.h"
1313 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1315 * BufferView.C: remove more locking stuff that apparently doesn't
1316 do anything sensible.
1318 2003-09-16 André Pönitz <poenitz@gmx.net>
1321 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1324 2003-09-16 Angus Leeming <leeming@lyx.org>
1326 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1328 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1331 * paragraph.h: remove #include "lyxfont.h". Forward declare
1334 2003-09-16 Angus Leeming <leeming@lyx.org>
1336 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1337 of support/textutils.h.
1338 (isWord): move the contents of support/textutils.h's IsWordChar here.
1344 * text2.C: add #include "paragraph.h".
1347 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1349 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * LaTeX.C: use namespace alias for lyx::support::os
1357 2003-09-16 Angus Leeming <leeming@lyx.org>
1360 * bufferview_funcs.C:
1363 * paragraph_pimpl.C:
1365 * text.C: add #include "LColor.h".
1367 2003-09-16 Angus Leeming <leeming@lyx.org>
1369 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1370 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1372 Store the FontBits::color variable as an int rather than as an
1373 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1376 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1377 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1378 string calls together.
1380 * lyxrc.C: add #include "LColor.h".
1382 2003-09-15 Angus Leeming <leeming@lyx.org>
1384 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1387 2003-09-15 Angus Leeming <leeming@lyx.org>
1389 * LColor.h: add an EnumLColor wrapper for LColor::color.
1391 * lyxfont.[Ch] (color, setColor, realColor):
1392 * lyxtext.h, text.C (backgroundColor):
1393 pass EnumLColor args to/from the functions, rather than LColor::color
1397 * lyxtext.h: forward declare EnumLColor.
1399 * lyx_main.C: add #include "LColor.h".
1401 2003-09-15 Angus Leeming <leeming@lyx.org>
1403 * .cvsignore: add lyx-gtk.
1405 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * ParagraphParameters.C
1414 * bufferview_funcs.C
1424 * vc-backend.C: remove usage of STRCONV
1426 2003-09-15 Angus Leeming <leeming@lyx.org>
1428 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1429 explicitly define the color passed to the painter.
1431 2003-09-15 Angus Leeming <leeming@lyx.org>
1433 * bufferparams.C (BufferParams): reorder member initializers to avoid
1436 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1438 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1439 * text.C (updateRowPositions): remove an unusual nop
1441 2003-09-12 André Pönitz <poenitz@gmx.net>
1443 * BufferView_pimpl.C:
1452 * Counters.[Ch]: finish the 'automatic counters' job
1454 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1456 * aspell.C: include <boost/assert.cpp> (compile fix)
1458 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1460 * boost.C (assertion_failed): use lyx::support::abort instead of
1463 2003-09-10 Angus Leeming <leeming@lyx.org>
1465 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1466 with their _fwd progeny.
1468 2003-09-09 Angus Leeming <leeming@lyx.org>
1470 134 files throughtout the source tree: replace 'using namespace abc;'
1471 directives with the appropriate 'using abc::xyz;' declarations.
1473 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1475 * boost.C (emergencyCleanup): moved here from LAssert.c
1476 (assertion_failed): new function, called by BOOST_ASSERT
1478 * several files: change Assert to BOOST_ASSERT
1480 2003-09-09 Angus Leeming <leeming@lyx.org>
1482 * buffer.[Ch]: Add an Impl class and move Buffer's member
1483 variables into it. As a result move several header files out of
1486 Add header files to lots of .C files all over the tree as a result.
1488 2003-09-09 Angus Leeming <leeming@lyx.org>
1490 * buffer.[Ch]: make Buffer's member variables private. Add
1493 Lots of changes all over the tree as a result.
1495 2003-09-08 Angus Leeming <leeming@lyx.org>
1497 * graph.C: #include <config.h>.
1499 2003-09-08 Angus Leeming <leeming@lyx.org>
1503 * BufferView_pimpl.C:
1532 * toc.C: remove redundant using directives.
1534 2003-09-07 Angus Leeming <leeming@lyx.org>
1536 * LaTeXFeatures.h: remove #include "support/types.h".
1537 * ToolbarBackend.h: remove #include <algorithm>.
1538 * changes.h: remove #include <ctime>.
1539 * debug.h: remove #include <iosfwd>.
1540 * graph.h: remove #include "support/std_string.h".
1541 * lyx_main.h: remove #include <csignal>.
1542 * lyxlex_pimpl.h: remove #include <fstream>.
1543 * sgml.h: remove #include <algorithm>, <utility>.
1544 * toc.h: remove #include "support/std_ostream.h".
1545 Add #include <iosfwd>.
1547 2003-09-07 Angus Leeming <leeming@lyx.org>
1549 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1551 * converter.h: forward declare LatexRunParams.
1552 * encoding.h: remove #include "lyxrc.h".
1553 * lyxtext.h: remove #include "LColor.h".
1554 * lyxtextclass.h: remove #include "support/types.h".
1555 * trans.h: remove #include "tex-accent.h".
1556 * trans_mgr.h: remove #include "tex-accent.h".
1557 * insets/inset.h: remove #include "support/types.h", <vector>.
1558 * insets/insetcollapsable.h: remove #include "LColor.h".
1559 * insets/insetinclude.h: remove #include "dimension.h".
1560 * insets/insetlatexaccent.h: remove #include "dimension.h".
1561 * insets/insetoptarg.h:: remove #include "insettext.h".
1562 * insets/insettext.h: remove #include "dimension.h",
1563 <boost/shared_ptr.hpp>
1565 * insets/renderers.h: add #include "dimension.h".
1566 * insets/updatableinset.h: add #include "support/types.h".
1568 * many .C files: Associated changes.
1570 2003-09-06 Angus Leeming <leeming@lyx.org>
1572 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1573 one, inside testInvariant.
1575 * PrinterParams.C: new file.
1576 * PrinterParams.[Ch]: move the function bodies out of line.
1578 2003-09-06 Angus Leeming <leeming@lyx.org>
1580 * ParagraphParameters.h: forward declare ParameterStruct rather than
1581 including its header file.
1582 (depth): moved out-of-line.
1584 2003-09-06 Angus Leeming <leeming@lyx.org>
1586 * BufferView_pimpl.h:
1589 * lyxfunc.h: forward declare LyXKeySym rather than
1590 #include "frontends/LyXKeySym.h".
1592 * BufferView_pimpl.C:
1595 * lyxfunc.C: associated changes.
1597 2003-09-06 Angus Leeming <leeming@lyx.org>
1599 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1600 As a result, can remove the #include "insets/inset.h" from BufferView.h
1602 2003-09-06 Angus Leeming <leeming@lyx.org>
1604 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1605 As a result, can remove the #include "insets/inset.h" from BufferView.h
1607 2003-09-06 Angus Leeming <leeming@lyx.org>
1613 * bufferview_funcs.C:
1614 * BufferView_pimpl.C:
1619 * ParagraphParameters.C:
1624 * frontends/controllers/ControlDocument.C:
1625 * insets/insetcaption.C: rearrange the #includes into some sort of
1628 * buffer.h: remove #includes ErrorList.h, undo.h
1630 2003-09-06 Angus Leeming <leeming@lyx.org>
1632 * support/types.h: add a 'depth_type' typedef, used to store the
1633 nesting depth of a paragraph.
1636 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1637 defining explicitly.
1640 * paragraph_funcs.h:
1641 * ParagraphParameters.h:
1642 * sgml.h: use lyx::depth_type rather than Paragraph or
1643 ParameterStruct's depth_type.
1646 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1649 * BufferView_pimpl.C:
1651 * ParagraphParameters.C:
1654 * bufferview_funcs.C:
1661 * frontends/LyXView.C:
1662 * frontends/controllers/ControlDocument.C:
1663 * frontends/controllers/ControlErrorList.C:
1664 * insets/insetbibitem.C:
1665 * insets/insetbranch.C:
1666 * insets/insetcaption.C:
1667 * insets/insetcollapsable.C:
1668 * insets/insetenv.C:
1669 * insets/insetert.C:
1670 * insets/insetfloat.C:
1671 * insets/insetfoot.C:
1672 * insets/insetfootlike.C:
1673 * insets/insetnewline.C:
1674 * insets/insetquotes.C:
1675 * insets/insettabular.C:
1676 * insets/insettext.C:
1677 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1679 * frontends/controllers/ControlChanges.C: #include "changes.h".
1681 2003-09-06 Angus Leeming <leeming@lyx.org>
1683 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1684 than #including paragraph.h.
1687 * RowList.h: deleted. Superfluous.
1697 * insets/insettext.h: use ParagraphList_fwd.h rather than
1700 * paragraph.h: don't forward declare ParagraphList.
1703 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1704 rather than ParagraphList.h. paragraph.h is still needed for the
1705 Paragraph::depth_type parameters.
1707 * textcursor.h: enable it to compile stand-alone in light of the
1710 * bufferview_funcs.C:
1722 * frontends/controllers/ControlParagraph.C:
1723 * frontends/controllers/ControlTabular.C:
1724 * insets/insetmarginal.C:
1725 * insets/insetminipage.C:
1726 * insets/insetnote.C:
1727 * insets/insetoptarg.C: add header files needed to compile again.
1729 2003-09-06 Angus Leeming <leeming@lyx.org>
1731 * RowList_fwd.h: new file, forward-declaring Row rather than
1732 #including lyxrow.h.
1737 * insets/insettext.h: use it instead of RowList.h
1739 * bufferview_funcs.C:
1746 * text3.C: #include "RowList.h".
1748 2003-09-05 Angus Leeming <leeming@lyx.org>
1750 * factory.C (createInset):
1751 * vspace.C (c-tor): replace sscanf call with an istringstream.
1752 * ispell.C: re-add missing HP/UX headers.
1753 * lyxserver.C: re-add missing os2 headers.
1755 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1764 * text3.C: re-add missing system headers, needed for 2.95.2.
1766 2003-09-05 Angus Leeming <leeming@lyx.org>
1768 Changes most place everywhere due to the removal of using directives
1769 from support/std_sstream.h.
1771 2003-09-05 Angus Leeming <leeming@lyx.org>
1773 Replace LString.h with support/std_string.h,
1774 Lsstream.h with support/std_sstream.h,
1775 support/LIstream.h with support/std_istream.h,
1776 support/LOstream.h with support/std_ostream.h.
1778 Changes resulting throughout the tree.
1780 2003-09-05 Angus Leeming <leeming@lyx.org>
1782 * sgml.h: ensure that the header file can be compiled stand-alone.
1783 * *.C: strip out redundant #includes. (320 in total.)
1785 2003-09-04 Angus Leeming <leeming@lyx.org>
1787 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1788 here (from getPackages).
1790 * debug.[Ch]: add a new EXTERNAL tag.
1792 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1794 * text2.C (cursorEnd): simplify
1796 (getColumnNearX): adjust
1798 * text.C (computeBidiTables): adjust
1801 * rowpainter.C (paintChars): adjust
1802 (paintSelection): adjust
1803 (paintChangeBar): adjust
1806 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1808 (numberOfSeparators): adjust
1810 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1816 * text3.C: Restricts the mouse click functionality
1817 of insets like bibtex, include, toc and floatlist to the visible
1818 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1819 up the dialogs. Cursor has to be in front of the inset (i.e.
1820 start of row) for this to function.
1822 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1824 * bufferview_funcs.C (currentState): output row information
1826 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1828 * bufferview_funcs.C (currentState): output paragraph position
1830 2003-09-04 Angus Leeming <leeming@lyx.org>
1832 * FloatList.h: move out #include "Floating.h".
1833 * LaTeX.h: move out #include "DepTable.h".
1834 * LyXAction.h: move out #include "funcrequest.h".
1835 * buffer.h: move out #include "author.h", "iterators.h".
1836 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1837 * lyx_main.h: move out #include "errorlist.h".
1838 * lyxfunc.h: move out #include "FuncStatus.h".
1839 * lyxtext: move out #include "lyxcursor.h".
1840 * paragraph_pimpl.h: move out #include "counters.h".
1842 2003-09-03 Angus Leeming <leeming@lyx.org>
1844 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1845 preamble_snippets list, enabling us to add snippets to the preamble
1846 only if the snippet was not there already.
1848 2003-09-04 Angus Leeming <leeming@lyx.org>
1850 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1852 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1854 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1857 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1859 * BranchList.C: point fix, earlier forgotten
1861 2003-09-02 Angus Leeming <leeming@lyx.org>
1863 * box.C (contains): renamed from 'contained' after a fantastic
1866 2003-09-02 John Levon <levon@movementarian.org>
1872 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1874 2003-09-02 John Levon <levon@movementarian.org>
1876 * text2.C: simplification of cursorEnd(), including partial
1879 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1881 * buffer.C (readFile): add a space
1883 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1885 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1887 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1889 * buffer.C (readFile): new function, take a filename and a
1890 ParagraphList::iterator
1892 (readFile): adjust, make it private. don't use setStream, make
1893 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1894 always contain the filename.
1896 * BufferView.C (insertLyXFile): simplify and make it work for
1899 2003-08-30 John Levon <levon@movementarian.org>
1901 * Makefile.am: fix dist (from Kayvan)
1903 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * most files: change to use const Buffer refs
1907 2003-08-27 André Pönitz <poenitz@gmx.net>
1909 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1910 on top of ownerPar().
1912 2003-08-27 John Levon <levon@movementarian.org>
1914 * funcrequest.C: properly initialise POD members
1916 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1918 * lyxtext.h (top_y): move top_y from here
1923 * BufferView_pimpl.[Ch]: to here
1924 * frontends/screen.C:
1925 * insets/insettabular.C:
1926 * insets/insettext.C: adjust
1927 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1929 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1932 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1934 2003-08-26 André Pönitz <poenitz@gmx.net>
1936 * paragraph_func.[Ch] (outerPar): new function
1939 * paragraph_funcs.C:
1940 * paragraph_funcs.h:
1941 * paragraph_pimpl.C:
1942 * text2.C: remove Inset::par_owner
1944 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1949 * text2.C: eliminates the needFullRow/display() stuff
1950 altogether, putting the logic in metrics/draw in the insets.
1952 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1954 * text2.C (redoParagraphInternal, redoParagraphs):
1955 * text.C (redoParagraph): add a call to updateRowPositions at the
1956 end of each 'metrics-like' call. Remove all others.
1957 (getRow): remove the 'y-computing' version.
1958 (getRowNearY): do not compute nor return the real y. Solve the
1959 'y < 0' problem and simplify.
1961 2003-08-22 Angus Leeming <leeming@lyx.org>
1963 * *.[Ch]: clean-up of licence and author blurbs.
1964 Also move config.h out of a few .h files and into a few .C files.
1966 2003-08-22 André Pönitz <poenitz@gmx.net>
1968 * lyxrow.[Ch]: add x_ and *fill_ members
1973 * text2.C: adjust/remove prepareToPrint() calls
1975 2003-08-22 André Pönitz <poenitz@gmx.net>
1977 * lyxrow.[Ch]: add end_ member
1979 * lyxrow_funcs.C: use LyXRow::end_
1981 * lyxtext.h (singleWidth): add LyXFont parameter
1984 * text2.C: adjust LyXText::singleWidth() calls
1986 * text.C (redoParagraph): simplify row breaking logic
1989 2003-08-19 André Pönitz <poenitz@gmx.net>
1991 * funcrequest.C: initialize button_ member
1994 * rowpainter.[Ch]: interface consolidation
1996 2003-08-18 André Pönitz <poenitz@gmx.net>
1999 * BufferView_pimpl.C:
2001 * paragraph_funcs.C:
2003 * text3.C: remove LyXScreen::draw() and fitCursor calls
2005 * BranchList.h: remove spurious semicolons
2007 * MenuBackend.C: fix branchlist related crash
2009 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2017 * bufferparams.[Ch]:
2021 * text3.C: implements the 'branch inset'
2022 idea. This allows the output of various versions of a document
2023 from a single source version, selectively outputing or suppressing
2024 output of parts of the text.
2025 This implementation contains a 'branch list editor' in a separate
2026 tab of the document settings dialog. Branches are user definable
2027 and have a "display colour" to distinguish them on-screen.
2029 ColorHandler was somewhat cleaned up.
2030 (1) make possible a dynamically growing LColor list by allowing
2031 the graphic context cache to grow along (vector);
2032 (2) eliminate an IMHO unnecessary step in colour allocation.
2034 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2036 * BufferView_pimpl.C: compile fix
2038 2003-08-15 André Pönitz <poenitz@gmx.net>
2040 * rowpainter.C: remove extra metrics calls
2042 * lyxtext.h: merge the two constructors into a single one,
2043 pass reference to owner's par list
2045 * BufferView_pimpl.C:
2049 2003-08-15 André Pönitz <poenitz@gmx.net>
2051 * lyxrow_funcs.[Ch]:
2054 * paragraph_funcs.C:
2059 * text_funcs.C: split LyXText::rowlist_ into individual
2060 Paragraph::rows_ chunks
2063 * BufferView_pimpl.[Ch]:
2066 * text3.C: remove toggleSelection()
2068 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2070 * bufferlist.C: beautify two alerts (shorter text of buttons)
2071 * buffer.C: Remove redundant ' ' from message
2073 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2074 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2075 rename VALIGN_CENTER to VALIGN_MIDDLE
2077 2003-08-11 André Pönitz <poenitz@gmx.net>
2079 * lyxtext.h (getPar):
2080 * text.C: new function
2082 2003-08-11 André Pönitz <poenitz@gmx.net>
2085 * tracer.[Ch]: remove unneeded files
2087 * InsetList.[Ch]: remove resizeInsetsLyXText()
2092 * text3.C: merge insertParagraphs() and appendParagraph()
2093 remove breakAgain(), update()
2095 * BufferView_pimpl.[Ch]:
2096 * bufferview_funcs.[Ch]:
2100 * tabular.C: adjust after text & InsetList changes.
2102 2003-08-08 André Pönitz <poenitz@gmx.net>
2104 * text.C (insertChar, backspace): replace rowlist fiddling
2105 with rebreak of full par
2108 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2109 checkParagraph, updateInset): removed
2111 2003-08-07 André Pönitz <poenitz@gmx.net>
2114 * text3.C: merge some LFUN handlers, remove dead code
2116 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2118 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2120 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2122 * text2.C (DEPM): fix part of bug 1255 and 1256
2124 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2126 * BufferView_pimpl.C (workAreaDispatch): change to use
2127 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2128 that are no mouse related.
2130 2003-08-05 André Pönitz <poenitz@gmx.net>
2133 * BufferView_pimpl.[Ch]:
2134 * bufferview_funcs.C:
2136 * text3.C: rip out "deep update"
2138 * textcursor.[Ch] (last_sel_cursor): remove unused member
2140 2003-08-04 André Pönitz <poenitz@gmx.net>
2143 * BufferView_pimpl.[Ch]:
2144 * ParagraphParameters.C:
2145 * bufferview_funcs.C:
2151 * text3.C: replace "complicated" BufferView::update(...) calls with
2154 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2156 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2158 * Makefile.am (lyx_SOURCES): add paper.h
2160 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2162 * Makefile.am: move things around so that both lyx-qt and
2163 lyx-xforms can be built (according to --with-frontend). Then lyx
2164 is a symbolic link to lyx-[firstfrontend]
2166 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2168 * Always use std::endl with lyxerr
2170 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2172 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2174 2003-08-01 André Pönitz <poenitz@gmx.net>
2177 * BufferView_pimpl.[Ch]:
2179 * text3.C: merge BufferView::repaint() and BufferView::update()
2181 2003-08-01 José Matos <jamatos@lyx.org>
2183 * buffer.[Ch]: file_format is no longer a buffer data element.
2185 2003-08-01 André Pönitz <poenitz@gmx.net>
2190 * text2.C: make redoParagraph more independent of current cursor
2192 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2194 * text2.C: remove unneeded members
2196 2003-07-30 André Pönitz <poenitz@gmx.net>
2198 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2200 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2201 create a single function...
2203 * paragraph_funcs.C (moveItem): ... here.
2206 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2208 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2210 * LColor.[Ch]: Add comment and greyedout logical colors.
2212 2003-07-30 André Pönitz <poenitz@gmx.net>
2214 * tabular.C: don't use Assert too heavily. This crashes where it
2217 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2219 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2220 is disabled (bug 1232)
2222 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2224 * factory.C: limited 'arg' scope
2226 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2228 * factory.C: fixed Note submenu issues
2230 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2232 * factory.C: submenu for Note/Comment/Greyedout
2234 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2237 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2239 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2242 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2243 greyedout. Patch provided by Jürgen Spitzmüller.
2245 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2247 * kbmap.C (read): fix error message when reading bind files
2249 2003-07-29 Angus Leeming <leeming@lyx.org>
2251 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2252 certainly does not do what it purports to do. I am doing it, and
2253 us, a favour by killing it.
2255 2003-07-28 José Matos <jamatos@lyx.org>
2257 * buffer.C (readBody, do_writeFile):
2258 * paragraph.C(readParagraph): \end_document replaces \the_end.
2260 2003-07-29 André Pönitz <poenitz@gmx.net>
2263 * BufferView_pimpl.[Ch]:
2267 * textcursor.[Ch]: remove toggleToggle & Co
2269 2003-07-28 José Matos <jamatos@fep.up.pt>
2271 * buffer.C (readParagraph):
2272 * params_func (readParToken, readParagraph):
2273 * paragraph.C (write): \layout -> \begin_layout.
2275 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * lyxlex_pimpl.C (setFile): clean up slightly.
2279 * bufferparams.h: add compressed var
2281 * buffer_funcs.C (readFile): adjust for LyXLex change
2282 (newFile): ditto + simplify
2284 * buffer.C (writeFile): handle writing of compressed files
2286 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2287 Check if the file is compressed and set a bufferparm if so.
2289 * Makefile.am (lyx_LDADD): remove explicit -lz
2291 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2293 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2294 makeDocBookFile): put the real LyX version in the first line of
2298 * version.C.in: remove lyx_docversion
2300 * tabular.C (write_attribute): add a template-based version to
2301 write enums properly
2303 2003-07-28 André Pönitz <poenitz@gmx.net>
2308 * text3.C: use doubles again for x-coordinates. They are needed.
2310 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * messages.C (getLocaleDir): use lyx_localedir()
2314 * lyxlex_pimpl.C (setFile): compress stuff
2316 * buffer.C (writeFile): add some compression stuff
2317 (do_writeFile): new func, dont call expliti close... will this
2320 * Makefile.am (lyx_LDADD): add -lz
2322 2003-07-28 José Matos <jamatos@fep.up.pt>
2324 * buffer.C: increment file format.
2325 * paragraph_funcs (readParagraph, readParToken):
2326 * paragraph.C (readParagraph): add \end_layout.
2328 2003-07-27 Angus Leeming <leeming@lyx.org>
2330 * Makefile.am: remove special casing for configure-time setting of
2331 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2333 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2334 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2336 2003-07-26 André Pönitz <poenitz@gmx.net>
2338 * paragraph_func.[Ch]:
2339 * paragraph.C (realizeFont): inline it whereever it is used
2344 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2347 2003-07-26 André Pönitz <poenitz@gmx.net>
2351 * text2.C: get rid of LyXText::need_break_row
2353 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * toc.[Ch]: put namespace toc inside namespace lyx
2357 * MenuBackend.C (expandToc2): adjust for lyx::toc
2360 * lyxfunc.C (dispatch): adjust for lyx::find
2362 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2363 lyx::find instead. Reorganize a bit.
2364 (LyXReplace): rename to replace
2365 (LyXFind): rename to find
2367 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2370 2003-07-26 André Pönitz <poenitz@gmx.net>
2372 * text.C (setHeightOfRow): restrict scope of temporary variable
2374 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2375 code (never has been used?)
2377 2003-07-27 Asger Alstrup <alstrup@local>
2379 * text.C (fill): Optimise algorithm to exploit that we can reuse
2380 the LyXFont for many characters.
2381 (setHeightOfRow): Same thing.
2382 (rowBreakPoint): Same thing.
2384 2003-07-26 Asger Alstrup <alstrup@local>
2386 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2388 * text.C (singleWidth): Spurious font copying in hot-spot
2389 singleWidth avoided. Reorder tests for arabic for efficiency.
2391 * text.C (fill): handle empty paragraphs better.
2393 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2396 * encoding.h: add includes
2398 * lyxrc.C: remove reading of bind files
2400 * lyx_main.C (init): setup bindings and menus only if we have a
2403 * kbmap.C (read): new method. Do the actual reading of bind
2406 * converter.C (dvipdfm_options):
2409 (output): adapt PAPER_* enums.
2411 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2413 * bufferparams.h: remove paper-related enums from there
2415 * paper.h: New file. A trivial header file to hold paper-related
2416 enums. It should later expand to contain many paper-related
2419 * lyxrc.C: declare extern displayTranslator
2421 2003-07-27 José Matos <jamatos@fep.up.pt>
2423 * tabular.[Ch] (linuxdoc): add support for tables and figures
2426 2003-07-27 José Matos <jamatos@fep.up.pt>
2428 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2429 consistency in both functions.
2430 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2432 2003-07-26 Asger Alstrup <alstrup@local>
2434 * rowpainter.C (paintRows): Change algorithm to work directly on
2435 the insets rather than asking every character in the document
2436 whether its an inset.
2438 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2440 * buffer.C (openFileWrite): factorize some code
2442 2003-07-26 Angus Leeming <leeming@lyx.org>
2445 * lyx_main.[Ch]: replace occurances of system_tempdir with
2448 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * rename Inset to InsetOld
2452 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2454 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2455 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2456 which I think is a bit clearer. EDIT is gone, since it was
2457 premature optimisation, and broken for mathed anyway.
2458 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2459 with cursor positioning in insets as well (math insets still do not
2460 work, but that's a different story anyway.) It mysteriously
2461 crashes sometimes with undo in the first paragraph, but I'm fairly
2462 confident that this is a compiler bug.
2464 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2466 * paragraph.C (Paragraph): adjust for new clone return type
2468 (copyIntoMinibuffer): ditto
2470 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2472 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2473 by not having a special case, and always doing a full rebreak of
2474 the document after undo.
2476 2003-07-23 Angus Leeming <leeming@lyx.org>
2478 * factory.C (createInset): InsetExternal::setParams now takes a
2481 2003-07-23 Angus Leeming <leeming@lyx.org>
2483 * factory.C (createInset): changed interface to the external and
2484 graphics mailers' string2params functions.
2486 2003-07-23 Angus Leeming <leeming@lyx.org>
2488 * factory.C (createInset): pass a
2489 Buffer const * parameter to InsetExternalMailer's string2params.
2491 2003-07-22 John Levon <levon@movementarian.org>
2493 * Thesaurus.h: include the right aiksaurus header
2495 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * MenuBackend.C (expand): check menu shortcuts unconditionally
2499 2003-07-21 Angus Leeming <leeming@lyx.org>
2501 * factory.C (createInset): pass a
2502 buffer_path parameter to InsetGraphicsMailer's string2params.
2504 2003-07-21 Angus Leeming <leeming@lyx.org>
2506 * BufferView_pimpl.C (buffer):
2509 * lyxfunc.C (dispatch):
2510 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2511 rather than the grfx shortcut.
2513 2003-07-21 André Pönitz <poenitz@gmx.net>
2515 * rowpainter.C: remove unused variables
2518 * tabular_funcs.h: move to tabular.C
2519 * Makefile.am: adjust
2521 * tabular.[Ch]: basic optical cleaning
2523 * author.h: pass references, not values
2525 2003-07-18 André Pönitz <poenitz@gmx.net>
2533 * text3.C: two-phase drawing for InsetText and InsetTabular
2534 some float -> int changes.
2536 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2538 * lyx_main.C: fix the fix
2540 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2542 * lyx_main.C: fix a crash in batch mode if no files specified
2545 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2547 * format.[Ch] (papersize): moved to BufferParams
2548 * converter.[Ch] (dvips_options): moved to BufferParams
2549 (dvipdfm_options): moved to anon namespace
2550 * bufferparams.[Ch]: added above functions.
2552 2003-07-17 André Pönitz <poenitz@gmx.net>
2556 * text2.C: don't call inset->update() anymore
2558 * metricsinfo.[Ch]: add convenience constructor
2560 2003-07-16 André Pönitz <poenitz@gmx.net>
2565 * text2.C: replace the LyXCursor::irow_ member with
2566 on-demand computation of the value
2568 2003-07-16 John Levon <levon@movementarian.org>
2570 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2572 2003-07-15 André Pönitz <poenitz@gmx.net>
2575 * text2.C: remove no more needed refresh_row
2577 2003-07-15 André Pönitz <poenitz@gmx.net>
2582 * text3.C: refresh_status tristate -> need_update bool
2584 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2586 * lyxtext.h (init): remove reinit argument (act as if always true)
2587 * text2.C: adjust to that
2589 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2591 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2592 * text3.C: use it to delete selections in some cases
2593 (bugs 441, 673, 702, 954).
2595 2003-07-14 André Pönitz <poenitz@gmx.net>
2597 * rowpainter.[Ch]: reduce interface
2599 2003-07-14 André Pönitz <poenitz@gmx.net>
2601 * BufferView_pimpl.C:
2602 * text2.C: adjust after removing unused BufferView * argument
2604 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2606 * text2.C (init): fix a crash fired on resize
2608 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2610 * buffer.[Ch]: added new closing signal
2611 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2612 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2613 BufferView::Pimpl via the closing the signal
2615 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2617 * buffer.[Ch]: take out all bv-related from buffer
2619 * BufferView_pimpl.[Ch]: connect to new signals
2620 * CutAndPaste.C: removed useless asserts
2621 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2624 * lyxfunc.C: moved view-related funciontality from vc here
2625 * paragraph.C: removed outdated comments
2628 2003-07-10 André Pönitz <poenitz@gmx.net>
2630 * BufferView_pimpl.C:
2634 * text2.C: remove InsetText::InnerCache, clean up consequences
2636 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2638 * ispell.C: fix two typos in error messages
2640 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2642 * Extend Note inset to other forms of annotation like Comment
2643 and Greyedout. Right button click gives dialog.
2645 Files modified or added (+):
2649 * ControlNote.[Ch] +
2651 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2652 frontends/controllers
2656 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2658 * aspell.C: add missing namespace lyx::support
2660 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2662 * BufferView.[Ch] (newFile): Add
2663 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2664 * LaTeX.[Ch] (message): added this signal and use it
2665 * buffer.[Ch] (busy, message): added these signals and use them
2666 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2670 * importer.C: use buffer signals instead of direct bv calling
2671 * lyx_cb.[Ch] (ShowMessage): removed
2674 * paragraph_funcs.C:
2675 * text2.C: use buffer signals
2677 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * introduce namespace lyx::graphics
2681 2003-07-02 André Pönitz <poenitz@gmx.net>
2683 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2685 2003-07-01 André Pönitz <poenitz@gmx.net>
2692 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2693 text*.C to text_func.C
2695 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * introduce namespace lyx::support
2699 2003-06-30 André Pönitz <poenitz@gmx.net>
2704 * text.C: re-enable --with-included-string
2706 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2708 * textcursor.C: add <config.h>
2710 * text.C (getWord): remove const from word_location arg
2712 * lyxvc.C (getLogFile): fix const type order
2714 * lyxtext.h: remove const from word_location arg, add arg name
2716 * lyxlayout.h: currect type on labeltype.
2718 * importer.C: correct \file
2720 * converter.C (intToFormat): use std:: on ret val, ws changes
2722 * bufferlist.h: correct \file
2724 * buffer.C (makeLinuxDocFile): fix const type order
2725 (makeDocBookFile): ditto
2726 (fillWithBibKeys): use std:: on stdlib args.
2728 * CutAndPaste.C: fix authors.
2729 (availableSelections): use std:: on return vector
2731 2003-06-27 André Pönitz <poenitz@gmx.net>
2733 * BufferView_pimpl.C:
2734 * bufferview_funcs.C:
2742 * text3.C: remove LyXCursor::row_ member
2745 * text.C: rename fullRebreak() to partialRebreak() and implement
2746 a fullRebreak() that really bereks fully
2748 * textcursor.h: new struct for cursor-related data
2750 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2752 * lyx_main.C (LyX): get full path of document loaded on the
2755 2003-06-26 André Pönitz <poenitz@gmx.net>
2757 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2758 remove unused/broken operator>,<,>=.
2760 * text.C: remove only use of broken operator<= in an Assert().
2762 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2764 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2765 moved errorlist_.clear to showErrorList
2767 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2769 * converter.C (scanLog, runLaTeX):
2770 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2771 move the bv->showErrorList call to the callers
2772 * lyxfunc.C: i.e. here...
2774 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2775 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2776 namespace, the second to...
2777 * buffer_funcs (BufferFormat, parseErrors): added
2778 * errorlist.C (ErrorList(TeXErrors const &)): removed
2780 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2782 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2784 2003-06-24 "Garst R. Reese" <reese@isn.net>
2788 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2790 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2792 * version.C.in: change docversion to 1.4
2794 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2796 * buffer.C: fix a bug just introduced
2798 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2800 * buffer.[Ch]: added the parseError signal and use it, removed
2802 * BufferView.[Ch] (addError): moved to ...
2803 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2804 to the Buffer::parseError signal to catch (guess what) parse errors
2805 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2807 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2809 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2810 ability to create a buffer and to return an existing one from
2811 the list. Moved these functions to...
2812 * buffer_funcs.[Ch]: added
2813 * BufferView.[Ch] (loadLyXFile): added
2814 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2815 job removed from bufferlist::loadLyXFile.
2816 * buffer.C (setReadOnly): make it work without view
2817 (i.e added an if (users))
2819 2003-06-19 Angus Leeming <leeming@lyx.org>
2822 * LyXAction.C (init):
2823 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2824 with LFUN_DIALOG_SHOW <name> <data>.
2826 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2828 * CutAndPaste.C (availableSelections): small compilation fix for
2829 ancient (gcc 2.9x) compilers
2831 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * text3.C (cursorNext): add tmp var
2835 * text2.C (updateCounters): for function calling out of for clause
2836 (replaceSelectionWithString): ditto
2837 (insertStringAsParagraphs): ditto
2838 (getColumnNearX): add tmp var
2839 (setCursorFromCoordinates): add tmp var
2840 (cursorDownParagraph): add tmp var
2841 (deleteEmptyParagraphMechanism): add tmp var
2843 * text.C (insertChar): add tmp var
2845 * rowpainter.C (paintDepthBar): add tmp var
2847 * CutAndPaste.C (availableSelections): potentially check all
2848 paragraphs in a cut to fill the shown strings.
2850 2003-06-18 André Pönitz <poenitz@gmx.net>
2852 * kbmap.[Ch]: use vector<> instead of list<>
2854 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2856 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2857 pasteSelection with index
2859 * text2.C (pasteSelection): modify, call pasteSelection with index
2861 * paragraph.C (asString): reimplement version with no interval to
2862 call the one with interval.
2864 * lyxtext.h: add index arg to pasteSelection
2866 * MenuBackend.C (MenuItem): handle PasteRecent
2867 (Menu::read::Menutags): add md_pasterecent
2869 (expandPasteRecent): new function
2872 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2874 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2876 (availableSelections): new function
2878 2003-06-17 Angus Leeming <leeming@lyx.org>
2880 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2882 2003-06-17 Angus Leeming <leeming@lyx.org>
2885 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2887 * lyxfunc.C (dispatch): invoke it.
2889 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2891 * iterators.C (operator++, ParPosition): reintroduce some
2892 const_cast for the benefit of older compilers.
2894 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2896 * text3.C (dispatch): do not modify clipboard when doing
2897 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2898 LFUN_DELETE_SKIP on a selection selection
2900 2003-06-16 André Pönitz <poenitz@gmx.net>
2906 * tabular.[Ch]: IU of clone() and getLabelList();
2908 2003-06-13 André Pönitz <poenitz@gmx.net>
2910 * tabular.h: compactification
2912 2003-06-12 André Pönitz <poenitz@gmx.net>
2916 * tabular_funcs.h: some renaming plus whitespace
2918 2003-06-12 André Pönitz <poenitz@gmx.net>
2921 * BufferView_pimpl.C:
2927 * toc.C: Return a Paragraph & for ParIterator::operator*()
2929 2003-06-11 John Levon <levon@movementarian.org>
2933 * ToolbarBackend.C: add "Toolbars" section and
2936 2003-06-10 Angus Leeming <leeming@lyx.org>
2939 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2941 * lyxfunc.C (dispatch): invoke it.
2943 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * main.C: protect <ios> with HAVE_IOS
2946 (main): protect sync_with_stdio with HAVE_IOS
2948 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2950 * text2.C (cutSelection): adjust
2951 (pasteSelection): adjust
2953 * messages.C: handle get of empty string
2955 * main.C (main): use sync_with_stdio(false)
2957 * lyxfunc.C (dispatch): adjust
2959 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2960 (WriteAs): remove unneeded BufferView arg.
2962 * bufferparams.h: use correct types on papersize, papersize2 and
2965 * bufferparams.C (readToken): adjust for type
2966 (writeLaTeX): add missing cases to switch.
2968 * bufferlist.C (quitWriteBuffer): adjust
2971 * buffer.C (asciiParagraph): remove some commented code.
2973 * CutAndPaste.C: remove current_view extern variable.
2974 (cutSelection): add BufferParams arg.
2975 (eraseSelection): add BufferParams arg.
2976 (pasteSelection): add Buffer const & arg
2978 2003-06-07 John Levon <levon@movementarian.org>
2981 * paragraph_funcs.C:
2982 * paragraph_pimpl.C:
2986 * paragraph.C: allow InsetERT to freely space lines,
2987 and some consolidation of code
2989 2003-06-06 José Matos <jamatos@fep.up.pt>
2991 * buffer.C (makeDocBookFile): fix bug #821
2993 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2995 * BufferView_pimpl.C (dispatch): use Dialogs::visible
2997 2003-06-04 Angus Leeming <leeming@lyx.org>
2999 * buffer.C: bump format to 224.
3001 2003-06-05 André Pönitz <poenitz@gmx.net>
3003 * text2.C (redoParagraphs): remove two const_cast<>
3005 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3007 * ParagraphList.h: remove last remnants of NO_STD_LIST
3009 2003-06-03 Angus Leeming <leeming@lyx.org>
3011 * factory.C (createInset): small change to the way InsetExternal's params
3014 2003-06-04 André Pönitz <poenitz@gmx.net>
3016 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3018 * paragraph_pimpl.h:
3019 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3021 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3023 * undo_funcs.C: make some simple cases of undo work again
3025 2003-06-03 John Levon <levon@movementarian.org>
3027 * ispell.C: HPUX doesn't have sys/select.h
3030 2003-06-03 John Levon <levon@movementarian.org>
3032 * CutAndPaste.C: update tabular and include inset
3037 * paragraph.C: remove owningBuffer(), don't pass Buffer
3040 * factory.C: insetGraphicsParams changed
3042 2003-06-02 John Levon <levon@movementarian.org>
3048 * text3.C: remove insetparent
3050 2003-06-02 John Levon <levon@movementarian.org>
3053 * buffer.C: fix inset_iterator.end(), move out of line
3056 2003-06-01 John Levon <levon@movementarian.org>
3058 * text3.C: use a proper cut/paste when doing inset
3059 insert (from Jürgen Spitzmüller)
3061 2003-06-01 John Levon <levon@movementarian.org>
3063 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3065 2003-05-30 André Pönitz <poenitz@gmx.net>
3067 * rowpainter.C: unify second drawing phase
3069 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * trans_mgr.C: remove one case of current_view
3073 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3075 * paragraph_funcs.h: remove paragraph.h include
3077 * paragraph.h: delete NO_STD_LIST stuff
3079 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3081 * buffer.h: remove paragraph.h include
3083 * ParagraphList.C: delete file
3085 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3087 * toc.C (getTocList): adjust
3089 * paragraph_pimpl.C (validate): adjust
3091 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3093 * paragraph.C (Paragraph): adjust
3094 (getPositionOfInset): use const_iterator, adjust
3095 (bibitem): use const_iterator, adjust
3096 (setInsetOwner): adjust
3098 * iterators.C (operator++): adjust
3100 * InsetList.[Ch]: Replace selfmade iterator with standard
3101 vector::iterator also introduce const_iterator. Remove getPos,
3102 getInset and setInset from InsetTable. Adjust accordingly.
3104 * BufferView.C (lockInset): adjust
3105 (ChangeInsets): adjust
3107 * tabular.[Ch]: delete commented same_id functions
3109 2003-05-28 John Levon <levon@movementarian.org>
3111 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3113 2003-05-28 André Pönitz <poenitz@gmx.net>
3115 * metricsinfo.[Ch]: remove 'fullredraw' member
3117 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3119 * lyxtextclass.C (operator): remove caching.
3121 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * text2.C (cursorBottom): adjust
3126 (setCounter): use ParagraphList::find, adjust
3128 * text.C (workWidth): use ParagraphList::find, adjust
3130 * lyxcursor.C (LyXCursor): adjust
3132 * buffer.C (inset_iterator): adjust
3134 * ParagraphList.h: make iterator(value_type) private, make
3135 ParagraphList a friend of iterator.
3137 * ParagraphList.C (find): new function
3139 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3141 2003-05-27 André Pönitz <poenitz@gmx.net>
3143 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3145 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3147 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3149 2003-05-26 John Levon <levon@movementarian.org>
3151 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3153 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * remove same_id from function signatures, adjust.
3157 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3159 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3161 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3163 * paragraph.C (Paragraph): get rid of same_ids parameter
3165 * ParagraphList.C (insert): adjust
3168 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * paragraph_funcs.C (breakParagraph): adjust
3171 (breakParagraphConservative): adjust
3173 * buffer.C (readParagraph): adjust
3175 * ParagraphList.C (insert): take a reference instead of a pointer
3178 * paragraph.[Ch] (id): new function
3180 * bufferlist.C (newFile): adjust
3182 * ParagraphList.C (ParagraphList): adjust
3184 (push_back): take a reference instead of a pointer.
3186 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3188 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3191 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3192 set else use old code.
3194 * ParagraphList.C: remove all NO_NEXT code and only compile this
3195 code of NO_STD_LIST is set.
3197 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3199 * BufferView_pimpl.C:
3209 * graphics/GraphicsConverter.C:
3210 * graphics/PreviewLoader.C: header adjustment
3212 2003-05-23 Angus Leeming <leeming@lyx.org>
3214 * LaTeXFeatures.[Ch] (useBabel): new method.
3215 * bufferparams.C (writeLaTeX): use it.
3217 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * ParagraphList.h (set): remove unused function.
3221 2003-05-23 André Pönitz <poenitz@gmx.net>
3224 * BufferView_pimpl.C:
3228 * undo_funcs.C: setUndo reworked
3230 * iterators.[Ch]: add access to topmost ParagraphList
3232 * lyxtext.[Ch] (workWidth): add a const
3234 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3236 * texrow.[Ch] (increasePos): remove function
3237 * exporter.C (export): removed unused var and outdated comment
3239 2003-05-23 Angus Leeming <leeming@lyx.org>
3241 * latexrunparams.h: rename fragile as moving_arg.
3242 * paragraph.C (simpleTeXOnePar): ditto.
3243 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3245 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3249 (textUndoOrRedo): comment out a currently unused var.
3251 * paragraph.h (NO_NEXT): enable NO_NEXT
3253 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3255 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3257 * exporter.C (Export): adjust for removeAutoInsets removal.
3259 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3261 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3263 * BufferView.[Ch] (removeAutoInsets): delete function
3265 2003-05-22 Angus Leeming <leeming@lyx.org>
3267 * latexrunparams.h: add a free_spacing variable.
3269 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3270 to pass moving_arg, as the data is stored in runparams.fragile.
3272 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3273 to Inset::latexOptional or to simpleTeXOnePar.
3275 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3276 free_spacing arg to Inset::latexOptional.
3278 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3281 2003-05-22 Angus Leeming <leeming@lyx.org>
3283 * latexrunparams.h: add fragile and use_babel variables.
3285 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3286 * buffer.C (makeLaTeXFile): store this returned value in
3287 runparams.use_babel, thus passing it to the inset::latex methods.
3289 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3290 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3292 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3293 longer has a fragile arg, as it is stored in runparams.fragile.
3295 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3296 moving_arg parameter as the data is stored in runparams.fragile.
3298 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3299 a fragile parameter as the data is stored in runparams.fragile.
3301 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3303 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3305 2003-05-22 Angus Leeming <leeming@lyx.org>
3307 * latexrunparams.h: add a 'bool nice' which defaults to false.
3309 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3310 now encapsulated within runparams.
3312 * bufferlist.C (updateIncludedTeXfiles):
3313 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3315 2003-05-22 Angus Leeming <leeming@lyx.org>
3317 * latexrunparams.h: new file containing struct LatexRunParams.
3318 * Makefile.am: add new file.
3320 * LaTeX.[Ch] (c-tor, run):
3321 * buffer.[Ch] (makeLaTeXFile):
3322 * bufferlist.[Ch] (updateIncludedTeXfiles):
3323 * converter.C (convert, scanLog):
3324 * converter.[Ch] (runLaTeX):
3325 * exporter.C (Export):
3326 * paragraph.[Ch] (simpleTeXOnePar):
3327 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3328 * paragraph_funcs.[Ch] (latexParagraphs):
3329 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3330 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3331 pass around a LatexRunParams parameter.
3333 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * paragraph.[Ch]: remove unused constructor
3337 * ParagraphList.C (erase): new function, taking two iterators
3339 2003-05-22 André Pönitz <poenitz@gmx.net>
3341 * undo_funcs.C: remove duplicated code
3343 * iterator.[Ch]: operator=
3345 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * tabular.C (SetMultiColumn): ws changes
3349 * rowpainter.C (paintFirst): get rid of a ->previous
3351 * lyx_cb.C (getPossibleLabel): parlist simplification
3353 * BufferView.C (ChangeInsets): simplify slightly.
3355 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3357 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3358 * lfuns.h: new LFUN_SPACE
3359 * lyxfunc.C: protected space has a new lfun
3360 * paragraph_funcs.C: read new space insets
3362 * factory.C: handle new space insets
3364 2003-05-22 André Pönitz <poenitz@gmx.net>
3367 * BufferView_pimpl.C:
3370 * undo_funcs.C: return a ParIterator from getParFromID.
3372 * iterators.[Ch]: add two const's
3374 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3376 * toc.C (getTocList): adjust
3378 * iterators.[Ch]: rework for parlist
3380 * buffer.C (par_iterator_begin): adjust
3381 (par_iterator_end): adjust
3383 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3385 * BufferView.C (removeAutoInsets): adjust
3386 (ChangeInsets): adjust
3388 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3390 * text.C (top_y): fix bug 1110
3392 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3394 * errorlist.[Ch]: added
3397 * BufferView_pimpl.C:
3398 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3401 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * Makefile.am: ensure that lyx is relinked upon changes to the
3404 various "convenience" libs.
3406 2003-05-20 Angus Leeming <leeming@lyx.org>
3408 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3409 files are compiled in alphabetical order again.
3411 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3413 2003-05-19 Angus Leeming <leeming@lyx.org>
3415 * gettext.[Ch]: remove "char const * _(char const *)".
3417 2003-05-19 André Pönitz <poenitz@gmx.net>
3419 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3428 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3430 2003-05-19 André Pönitz <poenitz@gmx.net>
3434 * lyxtextclass.[Ch]:
3436 * paragraph_funcs.[Ch]:
3438 * text3.C: more insetenv work
3440 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3442 * ParagraphParameters.C (params2string): small bug fixed
3444 2003-05-16 André Pönitz <poenitz@gmx.net>
3447 * bufferview_funcs.C: patch from Kornel Benko to prevent
3448 crash when _(...) is called twice in a statement
3450 2003-05-16 André Pönitz <poenitz@gmx.net>
3457 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3459 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3461 * lyx_main.C (init): remove spurious static_cast
3463 2003-05-14 André Pönitz <poenitz@gmx.net>
3465 * BufferView.C: fix format string
3467 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3469 * BufferView.[Ch] (insertErrors): removed
3470 * BufferView.[Ch] (showErrorList): added
3471 * buffer.C (runChkTeX):
3472 * converter.C (scanLog): call showErrorList instead of inserterrors
3474 2003-05-13 André Pönitz <poenitz@gmx.net>
3476 * BufferView_pimpl.C:
3478 * bufferview_func.C:
3485 * tabular_funcs.h: tostr() from its own header
3487 * ParagraphParameters.C:
3492 * text3.C: STRCONV()
3494 2003-05-12 André Pönitz <poenitz@gmx.net>
3497 * BufferView_pimpl.C:
3501 * ParagraphParameters.C:
3505 * bufferview_funcs.C:
3518 * paragraph_funcs.C:
3522 * text3.C: boost::format -> bformat all over the place
3525 2003-05-09 André Pönitz <poenitz@gmx.net>
3527 * LColor.[Ch]: Pimpl the #include <map> away
3529 2003-05-09 John Levon <levon@movementarian.org>
3531 * bufferlist.C: never remove emergency saves
3533 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * Makefile.am: better lib building
3537 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3541 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3542 (simpleTeXSpecialChars): adjust
3543 (simpleTeXSpecialChars): adjust
3544 * paragraph.C (simpleTeXOnePar): adjust
3545 * buffer.C (makeLaTeXFile): adjust
3547 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3549 * text2.C (changeDepth): parlist cleanup
3550 (getColumnNearX): ditto
3552 * rowpainter.C (getLabelFont): parlist cleanup
3554 * bufferlist.C (newFile): parlist cleanup
3556 * CutAndPaste.C (eraseSelection): parlist cleanup
3558 * BufferView_pimpl.C (trackChanges): parlist cleanup
3561 * BufferView.C (lockInset): parlist cleanup.
3562 (ChangeInsets): ditto
3564 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3566 * CutAndPaste.h: Update file header.
3568 * CutAndPaste.C: Update file header.
3569 Store the parts cut out of the Document in a limited_stack.
3570 (copySelection): adjust
3571 (pasteSelection): new function, takes the index in the limited stack.
3572 (nrOfParagraphs): adjust
3573 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3574 simplify error inset insertion.
3575 (checkPastePossible): adjust
3577 2003-05-06 John Levon <levon@movementarian.org>
3579 * text2.C: don't cast wrap inset to float
3581 2003-05-05 André Pönitz <poenitz@gmx.net>
3584 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3586 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3587 few naked Paragraph *.
3589 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3591 * bufferparams.C: Output warning if a document with missing
3592 TeX document class is loaded
3593 * exporter.C: Disable TeX exports if the document class is missing
3596 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3597 isTeXClassAvailable()
3599 2003-05-03 John Levon <levon@movementarian.org>
3602 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3603 explicit cursor show/hide
3605 * BufferView_pimpl.h:
3606 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3607 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3609 * lyxfunc.C: hide cursor before dispatching.
3614 * text3.C: remove explicit cursor hides
3616 2003-05-02 André Pönitz <poenitz@gmx.net>
3618 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3621 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3624 * text2.C: tiny whitespace
3626 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * undo_funcs.C: almost only ws changes.
3630 * ParagraphList.C (splice): just return if pl is empty.
3632 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * ParagraphList.C (splice): new function.
3636 * CutAndPaste.C (pasteSelection): use it
3638 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * CutAndPaste.C (pasteSelection): remove the last next and
3641 previous from this file.
3643 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3645 * CutAndPaste.C (pasteSelection): more clean up, user proper
3646 ParagraphList functions for pasteing.
3648 * ParagraphList.C (insert): new function, three arg insert
3650 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3652 * ParagraphList.C (insert): new function, three arg insert
3654 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3657 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3661 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3663 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3665 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3667 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3668 (copySelection): clean up a bit.
3669 (pasteSelection): use make_pair
3671 * ParagraphList.C (ParagraphList): implement copy constructor
3672 (operator=): implement, base on copy constructor.
3675 * paragraph.C (erase): return a bool
3677 * paragraph_pimpl.C (erasePos): remove function, move contents...
3678 (erase): ... here. Return a bool.
3679 (erase): call erase instead of erasePos.
3681 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3683 * ParagraphList.h: define PitPosPair
3684 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3685 ParagraphList, fix a bug on pasting multiple pars
3686 * text2.C: change interface to C&P
3688 2003-04-30 André Pönitz <poenitz@gmx.net>
3690 * undo_func.C: revert part of yesterday's patch 2
3692 2003-04-30 John Levon <levon@movementarian.org>
3694 * LColor.C: s/tabular/table/
3696 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * text3.C (dispatch): do not convert iterator -> pointer
3699 * undo_funcs.C (setCursorParUndo): ditto
3700 * text_funcs.C (transposeChars): ditto
3702 * text2.C (setLayout): ws changes only
3704 * text.C (breakParagraph): do not convert iterator -> pointer
3706 (acceptChange): ditto
3707 (rejectChange): ditto
3712 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3715 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3717 * text3.C (gotoInset): YABG (yet another bad getChar)
3719 2003-04-29 André Pönitz <poenitz@gmx.net>
3721 * paragraph.h: make operator= private unimplemented as long as
3724 * ParagraphList.C: whitespace
3727 * paragraph_pimpl.[Ch]:
3728 * paragraph_funcs.C:
3730 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3733 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3735 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3737 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3738 * paragraph.[Ch] (erase):
3739 * paragraph_pimpl.[Ch] (erase): change return type and value
3740 * text2.C (cutSelection): some rework
3742 2003-04-28 John Levon <levon@movementarian.org>
3744 * bufferlist.C: changes for unsaved changes dialog
3746 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3748 * bufferlist.C (newFile): set language (messages_) for new
3751 * buffer.C (readFile): ws changes only.
3753 2003-04-28 André Pönitz <poenitz@gmx.net>
3758 * BufferView_pimpl.C:
3759 * BufferView.C: getParFromID related ParagraphList::iterator changes
3761 2003-04-28 André Pönitz <poenitz@gmx.net>
3763 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3766 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3768 * messages.C: remove one more localedir class variable.
3770 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3772 * messages.C (getLocaleDir): singleton generation function
3774 (Messages): add a default constructor.
3776 * main.C (main): do not setup localedir here, do not call
3779 * gettext.C (_): use it.
3780 (gettext_init): delete funciton
3782 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * gettext.C (getLyXMessages): new singleton generating function.
3786 * buffer.C (updateDocLang): adjust
3788 * Makefile.am (messages.o): add target
3789 (main.o): remove target
3791 2003-04-27 John Levon <levon@movementarian.org>
3796 * lyxvc.C: specify cancel button in Alert::prompt
3798 2003-04-26 John Levon <levon@movementarian.org>
3803 * LyXAction.C: add LFUN_INSET_SETTINGS
3805 * lyxfunc.C: don't enable tabular-feature when there's
3806 just any locking inset
3808 2003-04-26 John Levon <levon@movementarian.org>
3810 * bufferlist.C: re-add Cancel to buffer close question
3812 * lyxfunc.C: fix import UI a bit
3814 2003-04-25 John Levon <levon@movementarian.org>
3816 * gettext.C: remove the broken asserts for now
3818 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * messages.C: make case where setlocale cannot comply work better.
3822 * buffer.C (updateDocLang): new function
3823 (changeLanguage): use it
3826 * text2.C (setCounter): use B_ a bit.
3828 * lyxlayout.C (Read): be sure to trim the label strings.
3830 * messages.C (Messages): fix typo in comment
3832 * buffer.C (readFile): set message_ after file is loaded.
3833 (makeDocBookFile): remove double return
3834 (changeLanguage): reset message_ upon language change.
3835 (B_): new func, use this to get translated buffer strings.
3837 * main.C: add myself and Jean Marc as authors.
3839 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * messages.[hC]: pimplify Messages, and three different pimpls to be
3842 used in different circumstances.
3844 * gettext.[Ch]: change for use with new message code.
3846 2003-04-24 André Pönitz <poenitz@gmx.net>
3848 * factory.C: support for eqref
3850 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * messages.[Ch]: add missing char
3854 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3856 * messages.[Ch]: New files
3858 2003-04-18 John Levon <levon@movementarian.org>
3862 * BufferView_pimpl.C:
3866 * text2.C: remove layout-copy/paste (bug 778)
3868 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3870 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3872 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3874 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3875 if they succeed. Act accordingly.
3877 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * text2.C (setCharFont): adjust
3880 (setCounter): adjust
3881 (insertStringAsLines): adjust
3883 * text.C (leftMargin): adjust
3884 (setHeightOfRow): adjust
3886 * rowpainter.C (paintFirst): adjust
3889 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3891 (isFirstInSequence): ditto
3892 (getEndLabel): ditto
3895 * paragraph.C (getParLanguage): comment out some hard stuff.
3897 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3899 (simpleDocBookOnePar): ditto
3900 (makeDocBookFile): use ParagraphList::iterator
3902 * CutAndPaste.C (pasteSelection): adjust
3904 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * text2.C (getFont): adjust
3907 (getLayoutFont): adjust
3908 (getLabelFont): adjust
3910 * paragraph_funcs.C (TeXOnePar): adjust
3912 * buffer.C (simpleLinuxDocOnePar): adjust
3913 (simpleDocBookOnePar): adjust
3915 * CutAndPaste.C (pasteSelection): adjust
3917 * BufferView.C (getEncoding): adjust
3919 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3921 2003-04-16 John Levon <levon@movementarian.org>
3923 * lyxfind.C: use parlist stuff for search/changes
3925 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3927 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3929 * text2.C (deleteEmptyParagraphMechanism): adjust
3931 * text2.[Ch] (ownerParagraph): delete func (both of them
3933 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3937 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * ParagraphList.C: prepare for NO_NEXT
3941 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * text2.C (getFont): adjust
3944 (getLayoutFont): adjust
3945 (getLabelFont): adjust
3947 * paragraph.C (getFont): adjust
3948 (getLabelFont): adjust
3949 (getLayoutFont): adjust
3951 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3953 2003-04-15 John Levon <levon@movementarian.org>
3957 * lyx_main.C: handle Include in .ui files
3959 2003-04-15 John Levon <levon@movementarian.org>
3961 * MenuBackend.C: make the doc files length shorter
3964 * ToolbarBackend.C: handle toolbar placement flags,
3967 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3972 * paragraph_funcs.C (TeXOnePar): adjust
3974 * paragraph.C (getLabelFont): add outerfont arg, adjust
3975 (getLayoutFont): ditto
3976 (simpleTeXOnePar): adjust
3978 * paragraph_pimpl.C (realizeFont): delete func
3980 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3982 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3983 row argument, constify cur argument.
3985 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * text2.C (getFont): adjust
3988 (getLayoutFont): adjust
3989 (getLabelFont): adjust
3991 * paragraph_funcs.C (TeXOnePar): adjust
3992 (outerFont): new func...
3993 (realizeFont): ...moved out from here, changed this to facilitate
3996 * paragraph.C (getFont): take outerfont as arg, adjust
3997 (simpleTeXOnePar): add outerfont arg, adjust
3999 * buffer.C (simpleLinuxDocOnePar): adjust
4000 (simpleDocBookOnePar): adjust
4002 * CutAndPaste.C (pasteSelection): adjust
4004 * BufferView.C (getEncoding): adjust
4006 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * text2.C (setCharFont): adjust
4009 (setCounter): adjust
4011 * text.C (leftMargin): adjust
4012 (setHeightOfRow): adjust
4014 * rowpainter.C (paintFirst): adjust
4017 * paragraph_pimpl.C (realizeFont): adjust
4019 * paragraph.C (isFirstInSequence): move from here...
4020 * paragraph_funcs.C (isFirstInSequence): ...to here
4022 * paragraph.C (outerHook): move from here...
4023 * paragraph_funcs.C (outerHook): ...to here
4025 * paragraph.C (depthHook): move from here...
4026 * paragraph_funcs.C (depthHook): ...to here
4028 * paragraph.C (getEndLabel): move from here...
4029 * paragraph_funcs.C (getEndLabel): ...to here
4031 * text2.C (realizeFont): move from here...
4032 * paragraph_funcs.C (realizeFont): ...to here
4034 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4038 2003-04-14 Angus Leeming <leeming@lyx.org>
4040 * LColor.[Ch]: scrap LColor mathcursor.
4042 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * lyxlex.[Ch] (text): delete function
4045 * trans.C (Load): adjust
4046 * paragraph_funcs.C (readParToken): adjust
4048 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4051 vector<char> instead of a char[].
4053 * lyxlex_pimpl.C (getString): adjust
4055 (lex): use getString
4059 * lyxlex.C (text): use pimpl_->getString()
4063 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4066 (makeFontEntriesLayoutSpecific): temp var for par.size()
4067 (setLayout): temp var for ownerParagraphs().end()
4068 (fullRebreak): temp var for rows().end()
4069 (selectionAsString): temp var for boost::next(startpit), realize
4070 that the while really is a regular for loop.
4071 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4072 setCursor in one place.
4073 (setParagraph): temp vr for ownerParagraphs().end()
4074 (updateCounters): make the while loop a for loop
4075 (cutSelection): temp var for ownerParagraphs().end()
4076 (updateInset): make the do {} while() a regular for loop
4077 (getCursorX): use temp vars
4078 (setCurrentFont): use temp vars
4079 (getColumnNearX): use temp vars
4081 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * text.C (transformChar): use temp var for getChar
4084 (computeBidiTables): use temp var for row->par()
4085 (fill): move temp vars for row->par() and pit->layout() earlier in
4087 (labelFill): use temp var for row->par()
4088 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4089 asc and desc, realize that pit never changes and that firstpit is
4090 just a duplicate and not needed. Exchange rit->par() with pit in a
4092 (breakAgain): use a temp var for boost::next(rit)
4093 (breakAgainOneRow): ditto
4094 (breakParagraph): use a temp var for rows().begin()
4095 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4096 (cursorRightOneWord): use temp var for cursor.par() and
4097 cursor.pos(), remove usage of tmpcursor.
4098 (cursorLeftOneWord): use temp var for cursor.par() and
4099 cursor.pos() only set cur at end of function.
4101 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * text.C, text2.C: exchange all usage of Paragraph::next with
4104 boost::next(ParagraphList::iterator)
4106 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4108 * text2.C (cursorTop): simplify implementation
4109 (cursorBottom): ditto
4110 (setParagraph): use ParagraphList::iterator
4111 (setCurrentFont): adjust
4112 (getColumnNearX): adjust
4113 (cursorRight): adjust
4114 (cursorLeft): remove usage of Paragraph::previous
4115 (cursorUpParagraph): ditto
4116 (deleteEmptyParagraphMechanism): slight cleanup
4118 * text.C (isBoundary): take a Paragraph const & instead of a
4120 (addressBreakPoint): ditto
4121 (leftMargin): remove usage of Paragraph::previous.
4122 (setHeightOfRow): ditto
4123 (cursorLeftOneWord): ditto
4124 (selectNextWordToSpellcheck): ditto
4127 (breakParagraph): remove one usage of Paragraph::next
4128 (redoParagraph): ditto
4129 (acceptChange): ditto
4130 (insertChar): adjust
4131 (rowBreakPoint): adjust
4133 * bufferview_funcs.C (toggleAndShow): adjust
4135 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4137 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4138 methods to access it.
4140 * text.C: Added updateRowPositions to compute all row positions.
4141 Make top_y and getRowNearY() to use the cached y position
4143 2003-04-11 John Levon <levon@movementarian.org>
4145 * text.C (rowBreakPoint): reintroduce the labelEnd
4146 checks, code copied from the row fill stuff. Deep voodoo.
4148 * text.C (fill): add a comment and debugging for the
4151 2003-04-11 John Levon <levon@movementarian.org>
4153 * text.C: make sure fullrow insets get wrapped to the next line,
4154 even when they're in a manual label
4156 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4158 * text2.C (insertParagraph): make it take ParagraphList::iterator
4160 (setLayout): make it return ParagraphList::iterator
4161 (redoParagraphs): ditto
4163 (checkParagraph): ditto
4165 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4167 * text2.C: adjust several funcs.
4168 (realizeFont): take a ParagraphList::iterator as arg.
4169 (getLayoutFont): ditto
4170 (getLabelFont): ditto
4171 (setCharFont): ditto
4173 * text.C: adjust several funcs.
4175 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4177 * text.C (selectNextWordToSpellcheck): don't accidentally
4180 2003-04-10 John Levon <levon@movementarian.org>
4182 * ToolbarBackend.C (getIcon): special handling for
4185 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4187 * text2.C (cursorRight): a getChar assert fixed
4189 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * text2.C (getFont): change to take a ParagraphList::iterator
4192 instead of Paragraph*
4193 Adjust several functions.
4195 * text.C (transformChar): change to take a ParagraphList::iterator
4196 instead of Paragraph*
4197 (singleWidth): ditto
4198 Adjust several functions.
4200 * rowpainter.C: adjust several functions
4201 * rowpainter.h:store a ParagraphList::iterator and not a
4205 2003-04-09 John Levon <levon@movementarian.org>
4210 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4211 and the "help" bits as well
4213 2003-04-09 John Levon <levon@movementarian.org>
4216 * ToolbarBackend.C: allow multiple toolbars
4218 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * undo_funcs.C (setCursorParUndo): adjust
4222 * text_funcs.C (transposeChars): adjust
4224 * text3.C (gotoNextInset): adjust
4227 * text2.C (setLayout): adjust
4228 (changeDepth): adjust
4230 (redoParagraphs): adjust
4231 (selectionAsString): adjust
4232 (setParagraph): adjust
4233 (insertInset): adjust
4234 (cutSelection): adjust
4235 (copySelection): adjust
4236 (pasteSelection): adjust
4237 (insertStringAsLines): adjust
4238 (updateInset): adjust
4239 (setCursor): change to take a ParagraphList::iterator parameter
4240 (setCursorIntern): change to take a ParagraphList::iterator parameter
4241 (setCurrentFont): adjust
4242 (cursorLeft): adjust
4243 (cursorRight): adjust
4244 (deleteEmptyParagraphMechanism): adjust
4246 * text.C (breakParagraph): adjust
4247 (insertChar): adjust
4248 (acceptChange): adjust
4249 (rejectChange): adjust
4250 (selectNextWordToSpellcheck): adjust
4251 (changeCase): adjust
4255 * lyxfind.C (SearchForward): adjust
4256 (SearchBackward): adjust
4257 (nextChange): adjust
4259 * lyxcursor.C (par): adjust
4261 * lyxcursor.h: store a ParagraphList::iterator instead of a
4264 * lyx_cb.C (getPossibleLabel): adjust
4266 * bufferview_funcs.C (toggleAndShow): adjust
4268 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4271 * BufferView.C (removeAutoInsets): adjust
4272 (lockedInsetStoreUndo): adjust
4274 2003-04-09 John Levon <levon@movementarian.org>
4276 * ToolbarBackend.C: try icon without argument
4277 if with argument fails
4279 2003-04-08 John Levon <levon@movementarian.org>
4282 * ToolbarBackend.C: add getIcon(), handle tooltip,
4283 and change from "Icon" to "Item".
4285 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4287 * BufferView.C (lockInset): another bad getchar crunched
4289 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4291 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4294 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4296 * lyxfind.C (searchForward, searchBackwards): bug 782
4298 2003-04-07 John Levon <levon@movementarian.org>
4300 * paragraph.C: remove dead comment
4302 * text.C: remove troublesome depth-fiddling code
4303 in leftMargin() and rightMargin() (bug 1017)
4305 * text.C: fix breaking of rows in nested lists
4308 * text2.C (updateCounters): fix up depth values
4311 2003-04-07 John Levon <levon@movementarian.org>
4313 * BufferView_pimpl.C: clear message when doc finishes resizing,
4314 and after a mouse event
4316 * lyxfunc.C: clear message after exiting inset
4318 2003-04-07 John Levon <levon@movementarian.org>
4320 * bufferview_funcs.C: show math status not outside
4321 status in the statusbar
4323 2003-04-07 John Levon <levon@movementarian.org>
4325 * lyxfunc.C: note status changed after a depth change
4327 2003-04-04 Angus Leeming <leeming@lyx.org>
4329 * LaTeX.h: move AuxInfo operator==, != out of line.
4330 Remove LaTeX virtual destructor; nothing derives from it.
4331 Move operator()() out of public area and rename it startscript().
4332 Change protected for private.
4334 2003-04-04 Angus Leeming <leeming@lyx.org>
4337 * text2.C: remove unneeded #includes.
4339 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4341 * text2.C (dEPM): fix the heigth of the next row
4343 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4345 * text.C: squashed an invalid getChar requester + some ws changes
4347 2003-04-03 John Levon <levon@movementarian.org>
4349 * bufferview_funcs.h:
4350 * bufferview_funcs.C:
4353 * text2.C: make getStatus work for the env depth lfuns
4355 2003-04-03 John Levon <levon@movementarian.org>
4357 * bufferview_funcs.h:
4358 * bufferview_funcs.C:
4361 * text2.C: parlistize decDepth(), by merging it with incDepth()
4363 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4365 * lyxrow.h: store a ParagraphList::iterator instead of a
4366 Paragraph* and adjust other class functions to suit.
4368 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4371 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4373 * text2.C (setCursor): do not anchor to cursor row for the time being
4375 2003-04-02 John Levon <levon@movementarian.org>
4382 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4384 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * paragraph.h: make ParagraphList and ParagraphList::iterator
4387 friends of Paragraph.
4389 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4391 * ParagraphList.C: Use the private next_ and previous_ from
4394 2003-04-01 John Levon <levon@movementarian.org>
4398 * Makefile.am: rename, remove defaults gunk
4401 * MenuBackend.C: remove defaults gunk
4404 * Languages.C: remove defaults gunk
4407 * lyx_main.C: error out if files couldn't be found.
4409 2003-04-02 John Levon <levon@movementarian.org>
4411 * text2.C: make incDepth() use parlist
4413 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4415 * undo_funcs.C (firstUndoParagraph): adjust
4417 * text3.C (gotoInset): adjust
4418 (dispatch): adjust, and rewrite loop.
4420 * text2.C (init): adjust, and rewrite loop.
4421 (redoParagraphs): adjust
4422 (updateInset): adjust, and rewrite loop.
4423 (deleteEmptyParagraphMechanism): adjust
4425 * tabular.C (LyXTabular): adjust
4426 (SetMultiColumn): adjust
4429 * lyxtext.[Ch] (ownerParagraph): delete function
4430 (ownerParagraphs): new function returns a ParagraphList.
4432 * BufferView.C (removeAutoInsets): adjust
4433 (insertErrors): adjust
4434 (setCursorFromRow): adjust
4436 2003-04-01 Angus Leeming <leeming@lyx.org>
4438 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4441 2003-04-02 John Levon <levon@movementarian.org>
4447 * text_funcs.C: make transposeChars a free function
4449 * lyxrow_funcs.C: remove wrong comment
4451 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * rowpainter.C: adjust
4459 * lyxrow_funcs. [Ch]: new files
4461 * lyxrow.[Ch]: remove next and previous pointers
4462 (next,previous): remove accessor functions
4463 (isParEnd): move to lyxrow_funcs
4464 (lastPos): move to lyxrow_funcs
4465 (nextRowIsAllInset): move to lyxrow_funcs
4466 (lastPrintablePos): move to lyxrow_funcs
4467 (numberOfSeparators): move to lyxrow_funcs
4468 (numberOfHfills): move to lyxrow_funcs
4469 (numberOfLabelHfills): move to lyxrow_funcs
4470 (hfillExpansion): move to lyxrow_funcs
4474 * bufferview_funcs.C (toggleAndShow): adjust
4476 * RowList.h: Remove class RowList from file leave just a
4479 * RowList.C: delete file
4481 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4484 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * text3.C (cursorPrevious): adjust
4487 (cursorNext): adjust
4490 * text2.C (redoHeightOfParagraph): adjust
4491 (redoDrawingOfParagraph): adjust
4494 * text.C (breakParagraph): adjust
4495 (insertChar): adjust
4498 * rowpainter.C (RowPainter): adjust
4499 (leftMargin): simplify and adjust
4500 (most rowpainter functions): adjust.
4502 * rowpainter.h: store the row as RowList::iterator not as Row*
4504 * lyxcursor.C (row): taka RowList::iterator as arg
4507 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4510 2003-04-01 Angus Leeming <leeming@lyx.org>
4512 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4513 stuff like bool Bool.
4515 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4517 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4520 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4522 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4525 * lyxtext.h (rows): drop one version and leve a const variant that
4526 returns a RowList::iterator.
4528 2003-03-31 Angus Leeming <leeming@lyx.org>
4530 * text.C (fill): ensure that the signature is the same as that in the
4533 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4535 * text2.C (redoParagraphs): adjust
4536 (updateCounters): adjust
4537 (checkParagraph): adjust
4538 (getColumnNearX): adjust and reformat a bit.
4540 * text.C (top_y): adjust
4542 (leftMargin): adjust
4543 (prepareToPrint): adjust
4545 (getRowNearY): adjust
4547 * lyxtext.h: make rowlist_ mutable.
4549 * RowList.h: add const_iterator
4550 * RowList.C: adjust for RowList::const_iterator.
4552 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4555 2003-03-31 John Levon <levon@movementarian.org>
4558 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4560 * lyx_main.C: set default fonts from using lyx_gui funcs
4562 * exporter.C: pdf_mode moved from lyxrc
4565 * lyxfunc.C: changes from above
4567 2003-03-31 John Levon <levon@movementarian.org>
4569 * lyx_main.C: fix to the last fix
4571 2003-03-31 John Levon <levon@movementarian.org>
4573 * bufferlist.C: "Load original" -> "Load Original"
4579 * format.C: more Alert cleanups
4581 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * text2.C (removeParagraph): make it take a RowList::iterator as
4585 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4586 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4588 * text.C (anchor_row): make it take a RowList::iterator as arg,
4590 (computeBidiTables): make it take a const reference to Row instead
4591 of Row pointer, adjust.
4592 (leftMargin): make it take a RowList::iterator as arg, adjust.
4593 (rowBreakPoint): adjust
4594 (breakAgainOneRow): make it take a RowList::iterator as arg,
4596 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4598 * bufferview_funcs.C (toggleAndShow): adjust
4600 2003-03-30 John Levon <levon@movementarian.org>
4604 * boost-inst.C: moved to support
4606 * several files: changes as a result
4608 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * text2.C (LyXText): adjust.
4612 (removeRow): make it take a RowList::iterator as arg, adjust.
4613 (fullRebreak): adjust
4614 (deleteEmptyParagraphMechanism): adjust
4615 (clearPaint): adjust
4618 * text.C (top_y): adjust
4619 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4620 (breakAgain): make it take a RowList::iterator as arg, adjust.
4621 (breakParagraph): adjust
4622 (insertChar): adjust
4625 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4626 need_break_row, and refresh_row.
4628 * text3.C (dispatch): adjust
4630 * text2.C (checkParagraph): adjust
4632 (setCursorFromCoordinates): adjust
4634 * text.C (top_y): adjust
4636 (getRow): make it return a RowList::iterator, adjust
4637 (getRowNearY): make it return a RowList::iterator, adjust
4639 * text2.C (init): adjust
4640 (insertRow): remove function
4641 (insertParagraph): adjust
4642 (redoParagraphs): adjust
4643 (fullRebreak): adjust
4644 (updateCounters): adjust
4646 * text.C (top_y): rewrite to use RowList iterators.
4648 (setHeightOfRow): rewrite to sue RowList iterators.
4649 (appendParagraph): adjust
4650 (breakAgain): adjust
4651 (breakAgainOneRow): adjust
4652 (breakParagraph): adjust
4654 (getRowNearY): adjust, and remove commented code.
4656 * lyxtext.h (firstRow): delete function
4657 (lastRow): delete function
4658 (rows): new function (const and non-const versions.)
4659 (insertRow): delete function
4661 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4663 2003-03-29 John Levon <levon@movementarian.org>
4665 * BufferView_pimpl.C: always update scrollbar top
4666 because pasting text when we're anchored could mean we
4667 miss an update altogether
4669 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * text2.C (init): use rowlist_.end() and not 0.
4672 (insertRow): change to take a RowList::iterator as arg, adjust
4674 (insertParagraph): change to take a RowList::iterator as arg,
4676 (redoParagraphs): remove some debug msgs.
4678 * text.C (appendParagraph): change to take a RowList::iterator
4679 arg, adjust for this.
4680 (breakAgain): add an assert
4681 (breakAgainOneRow): ditto
4683 2003-03-29 John Levon <levon@movementarian.org>
4685 * text2.C: do not clear selection after inc/decDepth
4688 2003-03-29 John Levon <levon@movementarian.org>
4691 * buffer.C: fix broken strerrors according to Lars
4693 2003-03-29 John Levon <levon@movementarian.org>
4695 * converters.C: more Alert cleanups
4697 2003-03-29 John Levon <levon@movementarian.org>
4699 * bufferview_funcs.C: remove pointless Alert
4701 * buffer.C: fix confusing error message when
4702 a template is chmoded 000
4704 2003-03-29 John Levon <levon@movementarian.org>
4708 * BufferView_pimpl.C: Alert fixes
4712 * tabular-old.C: remove unused table compat reading
4714 2003-03-29 John Levon <levon@movementarian.org>
4719 * lyx_cb.C: more Alert cleanups
4721 * lyxfunc.C: don't allow chktex if not latex document
4723 2003-03-29 John Levon <levon@movementarian.org>
4727 * buffer.C: warnings pushed down from support/,
4730 2003-03-29 John Levon <levon@movementarian.org>
4732 * lyxfunc.C: safety check for C-r (revert)
4734 2003-03-29 John Levon <levon@movementarian.org>
4737 * bufferlist.C: several UI fixes using Alert::prompt.
4738 Fix the pointless looping quit code. Fix stupid revert
4743 * lyx_cb.C: use Alert::prompt
4745 * lyx_main.C: remove a silly question
4747 * lyxfunc.C: remove a couple of silly questions,
4750 2003-03-28 John Levon <levon@movementarian.org>
4752 * text2.C: fix bug 974 (End on empty par)
4754 2003-03-28 John Levon <levon@movementarian.org>
4756 * BufferView_pimpl.C:
4758 * lfuns.h: remove do-nothing math greek lfuns
4760 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * lyxgluelength.h (isValidGlueLength): add default arg on
4763 parameter 2. Remove default arg from friend in class.
4765 * lyxlength.h (isValidLength): add default arg on parameter 2.
4766 Remove default arg from friend in class.
4768 * text2.C (LyXText): adjust, initialize refresh_row.
4772 (insertParagraph): adjst
4773 (redoParagraphs): adjust
4774 (fullRebreak): adjust
4775 (updateCounters): adjust
4776 (deleteEmptyParagraphMechanism): first attempt at fixing a
4779 * text.C (top_y): adjust
4780 (setHeightOfRow): adjust
4782 (getRowNearY): adjust
4784 * lyxtext.h: include RowList.h
4785 (~LyXText): not needed anymore, deleted.
4786 (firstRow): modify for RowList
4787 (lastRow): new function
4788 Delete firstrow and lastrow class variables, add a Rowlist
4789 rowlist_ class variable.
4791 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4794 * RowList.C (insert): fix case where it == begin().
4796 2003-03-26 Angus Leeming <leeming@lyx.org>
4798 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4799 the thesaurus dialog.
4801 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4805 * RowList.[Ch]: new files
4807 * ParagraphList.C (erase): handle the case where it == begin
4810 2003-03-25 John Levon <levon@movementarian.org>
4814 * aspell.C: add new aspell support
4817 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4820 2003-03-25 Angus Leeming <leeming@lyx.org>
4823 * LyXAction.C (init): new LFUN_INSET_INSERT.
4825 * BufferView_pimpl.C (dispatch): split out part of the
4826 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4828 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4831 2003-03-25 Angus Leeming <leeming@lyx.org>
4833 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4835 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4838 * text3.C: remove useless row->height(0)
4840 2003-03-25 John Levon <levon@movementarian.org>
4844 * text3.C: rename the refreshing stuff to better names
4846 2003-03-24 John Levon <levon@movementarian.org>
4848 * BufferView_pimpl.h:
4849 * BufferView_pimpl.C: update layout choice on a mouse
4852 2003-03-23 John Levon <levon@movementarian.org>
4854 * Makefile.am: fix commandtags.h reference
4856 2003-03-22 John Levon <levon@movementarian.org>
4858 * BufferView_pimpl.C:
4863 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4865 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4868 * text.C: take the rtl methods out of line
4870 2003-03-21 André Pönitz <poenitz@gmx.net>
4872 * metricsinfo.[Ch]: new files containing structures to be passed around
4873 during the two-phase-drawing...
4875 2003-03-21 André Pönitz <poenitz@gmx.net>
4877 * lyxtextclass.C: read 'environment' tag.
4879 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4881 * text2.C (removeRow): fix bug 964
4883 2003-03-20 John Levon <levon@movementarian.org>
4887 * text2.C: paint cleanups. Inset::update() dropped font
4890 2003-03-19 John Levon <levon@movementarian.org>
4892 * lyxfunc.C: only fitcursor/markDirty if available()
4894 2003-03-19 John Levon <levon@movementarian.org>
4896 * commandtags.h: rename to ...
4898 * lfuns.h: ... this, and renumber / cleanup
4900 2003-03-19 John Levon <levon@movementarian.org>
4902 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4903 fit the cursor after an lfun
4907 * BufferView_pimpl.h:
4908 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4910 * LyXAction.C: layout-character should have ReadOnly
4912 * ParagraphParameters.C:
4914 * bufferview_funcs.C:
4921 * undo_funcs.C: changes from above
4923 2003-03-18 John Levon <levon@movementarian.org>
4925 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4926 remove it from update()
4928 * lyxfunc.C: update layout choice after an lfun
4930 * text3.C: remove extra updateLayoutChoice()s
4932 2003-03-18 John Levon <levon@movementarian.org>
4934 * text.C: top_y change means full repaint, fix
4935 a drawing bug with cursor movement
4937 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4941 * text2.C: anchor row on setCursor
4943 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4945 * lyxtext.h: remove almost all mutable keywords
4948 * text3.C: remove const keywords accordingly
4950 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4952 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4954 (TeXEnvironment): ditto
4957 2003-03-17 John Levon <levon@movementarian.org>
4959 * text.C (rowBreakPoint): remove attempt to fix displayed
4960 math insets inside a manual label
4962 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4964 * lyxtext.h: remove BufferView* as first arg from almost all class
4966 * other files: adjust.
4968 2003-03-17 John Levon <levon@movementarian.org>
4972 * text2.C: more paint cleanups
4974 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4977 * rowpainter.C: remove "smart" background painting code
4979 2003-03-16 John Levon <levon@movementarian.org>
4984 * text3.C: add helper functions for setting refresh_row/y
4986 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4988 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4989 newline inset which *can* get inserted in the pass_thru layouts.
4990 This is primarily for literate documents.
4992 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
4994 * buffer.C: increment LYX_FORMAT to 223
4996 2003-03-14 André Pönitz <poenitz@gmx.net>
4998 * textclass.h: prepare for environment handling, ws changes
4999 * lyxlayout.C: read latexheader and latexfooter tags
5001 2003-03-14 John Levon <levon@movementarian.org>
5003 * text2.C: rewrite ::status() a bit
5005 2003-03-13 John Levon <levon@movementarian.org>
5007 * lyxtext.h: add some docs
5009 2003-03-13 John Levon <levon@movementarian.org>
5014 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5016 2003-03-13 John Levon <levon@movementarian.org>
5018 * text3.C: fix appendix redrawing
5020 2003-03-13 John Levon <levon@movementarian.org>
5022 * text.C (setHeightOfRow):
5024 * rowpainter.C: make appendix mark have the text
5025 "Appendix" so the user knows what it is
5028 * LColor.C: s/appendixline/appendix/ from above
5030 2003-03-13 John Levon <levon@movementarian.org>
5032 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5034 * text.C: fix a getChar(pos) bug properly
5036 2003-03-13 Angus Leeming <leeming@lyx.org>
5039 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5040 Probably only temporary. Let's see how things pan out.
5042 * BufferView.C (unlockInset):
5043 * BufferView_pimpl.C (fitCursor):
5044 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5046 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5047 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5049 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5050 new functions that convert ParagraphParameters to and from a string.
5052 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5053 BufferView::Pimpl's dispatch.
5054 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5056 2003-03-13 André Pönitz <poenitz@gmx.net>
5060 * factory.C: make it aware of InsetEnv
5062 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * text2.C (setCursor): never ask for one past last
5065 (setCursor): add some debugging messages.
5067 * text.C (singleWidth): never ask for one past last
5068 (singleWidth): ditto
5070 (rightMargin): ditto
5071 (rowBreakPoint): ditto
5072 (setHeightOfRow): ditto
5073 (prepareToPrint): ditto
5075 * rowpainter.C (paintBackground): never ask for one past last
5076 (paintText): never ask for one past last
5078 * paragraph_pimpl.C (getChar): make the assert stricter, never
5079 allow the one past last pos to be taken
5081 * paragraph.C (getChar): ws changes only
5083 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5084 (numberOfSeparators): ditto
5085 (numberOfHfills): ditto
5087 2003-03-12 John Levon <levon@movementarian.org>
5093 * paragraph_funcs.C: fix per-buffer authorlists
5095 2003-03-12 John Levon <levon@movementarian.org>
5097 * text.C: fix newline in right address
5099 2003-03-12 Angus Leeming <leeming@lyx.org>
5101 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5102 duplicate those in LyXFunc::dispatch.
5106 * ToolbarDefaults.C:
5107 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5108 Add LFUN_FONTFREE_UPDATE.
5110 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5111 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5113 * bufferview_func.[Ch]: several new functions to facilliate
5114 transfer of data to and from the character dialog.
5116 2003-03-12 John Levon <levon@movementarian.org>
5121 * paragraph_funcs.C:
5122 * paragraph_pimpl.C:
5126 * text3.C: remove META_NEWLINE in favour of an inset
5129 * rowpainter.C: remove paintNewline (done by inset)
5131 2003-03-12 John Levon <levon@movementarian.org>
5133 * paragraph_pimpl.C: complain about bad getChar()s
5134 for a while at least
5136 2003-03-12 John Levon <levon@movementarian.org>
5139 * buffer.C: move paragraph read into a separate function,
5140 a little renaming to reflect that.
5143 * bufferparams.C: remove the author_ids map, not necessary now
5146 * factory.C: moved Buffer::readInset to here
5148 * paragraph_funcs.h:
5149 * paragraph_funcs.C: readParagraph free function moved from
5152 * tabular.C: name change
5154 2003-03-12 John Levon <levon@movementarian.org>
5157 * ParagraphParameters.C: move par params input to
5160 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5161 behave like a normal read from the stream wrt reading
5162 a line vs. a \\token
5164 2003-03-12 John Levon <levon@movementarian.org>
5167 * ParagraphParameters.h:
5168 * ParagraphParameters.C: move output code to a
5171 2003-03-12 John Levon <levon@movementarian.org>
5173 * BufferView.C (insertLyXFile):
5176 * tabular.C: use a parlist iterator for creating the
5179 2003-03-12 John Levon <levon@movementarian.org>
5181 * buffer.C: make current_change static local not
5184 2003-03-12 John Levon <levon@movementarian.org>
5186 * buffer.C: fix insertStringAsLines for change tracking
5188 2003-03-12 John Levon <levon@movementarian.org>
5195 * bufferparams.C: move author list into params. Rename some
5196 functions. Move the header reading into a separate token
5197 loop. Move the header token reading into BufferParams.
5199 2003-03-12 John Levon <levon@movementarian.org>
5201 * changes.C: put debug inside lyxerr.debugging() checks
5203 2003-03-11 André Pönitz <poenitz@gmx.net>
5205 * factory.C: make it aware of InsetHFill
5207 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5209 * buffer.C (latexParagraphs): move function from here...
5210 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5213 2003-03-10 Angus Leeming <leeming@lyx.org>
5215 * LyXAction.C (init): fix bug in poplating array with multiple entries
5216 with the same LFUN (spotted by JMarc).
5218 2003-03-10 John Levon <levon@movementarian.org>
5221 * text2.C: move getColumnNearX() near its
5224 2003-03-10 John Levon <levon@movementarian.org>
5226 * text.C: fix break before a minipage
5228 2003-03-10 John Levon <levon@movementarian.org>
5230 * text.C: fix the last commit
5232 2003-03-09 John Levon <levon@movementarian.org>
5236 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5237 bug 365 (don't break before insets unless needed). Don't
5238 return a value > last under any circumstances.
5240 2003-03-09 Angus Leeming <leeming@lyx.org>
5242 * BufferView_pimpl.C (trackChanges, dispatch): call
5243 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5245 2003-03-09 Angus Leeming <leeming@lyx.org>
5247 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5248 than Dialogs::showAboutlyx().
5250 2003-03-09 Angus Leeming <leeming@lyx.org>
5252 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5253 than Dialogs::showTabularCreate().
5255 2003-03-09 John Levon <levon@movementarian.org>
5259 * text2.C: 3rd arg to nextBreakPoint was always the same.
5262 2003-03-08 John Levon <levon@movementarian.org>
5269 * text2.C: Remove the "main" bit from the "main body"
5272 2003-03-08 John Levon <levon@movementarian.org>
5274 * text.C (leftMargin): The left margin of an empty
5275 manual label paragraph should not include the label width
5278 * text.C (prepareToPrint): don't attempt to measure hfills
5279 for empty manual label paragraphs - the answer should be 0
5281 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * CutAndPaste.C: remove commented code and reindent.
5285 2003-03-08 John Levon <levon@movementarian.org>
5288 * lyxfunc.C: move reloadBuffer()
5291 * BufferView.C: to here
5293 * lyxvc.C: add comment
5296 * vc-backend.C: call bv->reload() to avoid
5297 getStatus() check on MENURELOAD
5299 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5301 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5302 to an old format .dep file.
5304 2003-03-07 Angus Leeming <leeming@lyx.org>
5306 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5307 when the LFUN_MOUSE_RELEASE should have been handled by
5308 inset->localDispatch.
5310 2003-03-07 Angus Leeming <leeming@lyx.org>
5312 * BufferView_pimpl.C (dispatch):
5313 * LyXAction.C (init):
5314 * ToolbarDefaults.C (init):
5316 * lyxfunc.C (getStatus):
5317 remove LFUN_INSET_GRAPHICS.
5319 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5321 2003-03-07 Angus Leeming <leeming@lyx.org>
5324 * LyXAction.C (init):
5325 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5327 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5330 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5332 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5333 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5335 2003-03-07 Angus Leeming <leeming@lyx.org>
5337 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5340 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * ParagraphList.C (front): new function
5345 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5347 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5348 and top_row_offset_. removed var first_y.
5350 * text2.C (LyXText, removeRow):
5352 * BufferView_pimpl.C:
5353 use these methods instead of using first_y
5355 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5357 * text2.C (pasteSelection): adjust for checkPastePossible
5359 * CutAndPaste.C: remove Paragraph * buf and replace with
5360 ParagraphList paragraphs.
5361 (DeleteBuffer): delete
5362 (cutSelection): change the tc type to textclass_type
5363 (copySelection): change the tc type to textclass_type
5364 (copySelection): adjust for ParagraphList
5365 (pasteSelection): change the tc type to textclass_type
5366 (pasteSelection): adjust for Paragraphlist
5367 (nrOfParagraphs): simplify for ParagraphList
5368 (checkPastePossible): simplify for ParagraphList
5369 (checkPastePossible): remove unused arg
5371 * ParagraphList.C (insert): handle the case where there are no
5374 * CutAndPaste.h: make CutAndPaste a namespace.
5376 * text3.C (dispatch): adjust
5378 * text.C (breakParagraph): add a ParagraphList as arg
5380 * paragraph_funcs.C (breakParagraph): change to take a
5381 BufferParams and a ParagraphList as args.
5382 (breakParagraphConservative): ditto
5383 (mergeParagraph): ditto
5384 (TeXDeeper): add a ParagraphList arg
5385 (TeXEnvironment): ditto
5388 * buffer.C (readLyXformat2): adjust
5389 (insertStringAsLines): adjust
5390 (latexParagraphs): adjust
5392 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5393 (cutSelection): adjust
5394 (pasteSelection): adjust
5396 * BufferView_pimpl.C (insertInset): adjust
5398 2003-03-05 Angus Leeming <leeming@lyx.org>
5401 * LyXAction.C (init):
5402 * BufferView_pimpl.C (dispatch):
5403 * lyxfunc.C (getStatus):
5404 remove LFUN_CHILD_INSERT.
5406 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5408 2003-03-05 Angus Leeming <leeming@lyx.org>
5411 * LyXAction.C (init):
5412 * src/factory.C (createInset):
5413 * lyxfunc.C (getStatus):
5414 * text3.C (dispatch):
5415 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5417 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5419 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * ParagraphList.C (insert): handle insert right before end()
5422 (erase): fix cases where it can be first or last paragraph.
5424 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5426 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5427 Paragraph::next and Paragraph::previous
5430 * text.C (breakParagraph): adjust
5432 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5433 BufferParams& as arg.
5434 (breakParagraph): use ParagraphList::insert
5435 (breakParagraphConservative): take a Buffer* instead of a
5436 BufferParams& as arg.
5437 (breakParagraphConservative): use ParagraphList::insert.
5439 * buffer.C (insertStringAsLines): un-const it
5440 (insertStringAsLines): adjust
5442 * ParagraphList.C (insert): new function
5444 * CutAndPaste.C (pasteSelection): adjust
5446 * text.C (backspace): adjust
5448 * tabular.C (SetMultiColumn): adjust
5450 * CutAndPaste.C (cutSelection): adjust
5451 (pasteSelection): adjust
5453 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5454 Buffer const * as arg
5456 * ParagraphList.C (erase): new function
5457 * paragraph_funcs.C (mergeParagraph): use it
5458 (mergeParagraph): make it take a Buffer* instead of a
5459 BufferParams* as arg
5461 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5463 (breakParagraphConservative): ditto
5465 * paragraph.h: remove the breakParagraph friend
5467 * paragraph.C (eraseIntern): new function
5468 (setChange): new function
5470 * paragraph_funcs.C (mergeParagraph): make it take a
5471 ParagraphList::iterator instead of a Paragraph *, adjust
5474 * paragraph.h: move an #endif so that the change tracking stuff
5475 also works in the NO_NEXT case.
5477 2003-03-04 Angus Leeming <leeming@lyx.org>
5480 * LyXAction.C: new LFUN_INSET_MODIFY.
5482 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5483 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5485 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5487 * several files: ws changes only
5489 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5490 (TeXEnvironment): ditto
5493 * buffer.C (makeLaTeXFile): adjust
5494 (latexParagraphs): make it take ParagraphList::iterator as args
5496 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * buffer.C (latexParagraphs): adjust
5500 * paragraph.C (TeXOnePar): move function...
5501 (optArgInset): move function...
5502 (TeXEnvironment): move function...
5503 * paragraph_pimpl.C (TeXDeeper): move function...
5504 * paragraph_funcs.C: ...here
5506 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5508 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * buffer.C (readInset): remove compability code for old Figure and
5513 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5515 * buffer.C: ws changes
5518 * BufferView_pimpl.C: ditto
5521 * bufferlist.h: ditto
5525 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5527 * converter.[Ch]: split into itself +
5530 * Makefile.am: += graph.[Ch] + format.[Ch]
5537 * lyxrc.C: added #include "format.h"
5539 2003-02-27 Angus Leeming <leeming@lyx.org>
5541 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5544 * factory.C (createInset): add "label" to the factory.
5546 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5547 string and do no more.
5549 2003-02-27 Angus Leeming <leeming@lyx.org>
5552 * LyXAction.C (init):
5553 * factory.C (createInset):
5554 * BufferView_pimpl.C (dispatch):
5555 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5557 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5559 * lyxfunc.C (dispatch):
5560 * text3.C (dispatch): pass name to params2string.
5562 2003-02-26 Angus Leeming <leeming@lyx.org>
5564 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5566 Rearrange the ~includes. Strip out the unnecessary ones.
5568 * factory.C (createInset): reformat.
5569 create new insets for the various LFUN_XYZ_APPLY lfuns.
5571 2003-02-26 John Levon <levon@movementarian.org>
5574 * lyxrow.C: add isParStart,isParEnd helpers
5576 * paragraph.h: make isInserted/DeletedText take refs
5578 * paragraph_funcs.h:
5579 * paragraph_funcs.C: remove #if 0'd code
5584 * text.C: use lyxrow helpers above.
5585 Move draw and paint routines to RowPainter.
5586 Make several methods use refs not pointers.
5587 Make backgroundColor() const.
5588 Add markChangeInDraw(), isInInset().
5589 Merge changeRegionCase into changeCase.
5590 Make workWidth() shouldn't-happen code into an Assert.
5593 * rowpainter.C: new class for painting a row.
5596 * vspace.C: make inPixels take a ref
5598 2003-02-26 Angus Leeming <leeming@lyx.org>
5600 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5603 2003-02-25 John Levon <levon@movementarian.org>
5605 * ispell.C: give the forked command a more accurate name
5607 2003-02-22 John Levon <levon@movementarian.org>
5610 * toc.C: make TocItem store an id not a Paragraph *
5613 2003-02-21 Angus Leeming <leeming@lyx.org>
5615 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5616 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5617 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5618 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5619 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5620 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5622 * BufferView_pimpl.C (dispatch):
5623 * LyXAction.C (init):
5624 * factory.C (createInset):
5625 * lyxfunc.C (getStatus, dispatch):
5626 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5628 2003-02-21 Angus Leeming <leeming@lyx.org>
5630 * BufferView_pimpl.C (MenuInsertLyXFile):
5631 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5632 * lyxfunc.C (menuNew, open, doImport):
5633 no longer pass a LyXView & to fileDlg.
5635 2003-02-21 Angus Leeming <leeming@lyx.org>
5637 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5638 * LyXAction.C: change, BIBKEY to BIBITEM.
5639 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5640 Change InsetBibKey to InsetBibitem.
5641 Change BIBKEY_CODE to BIBITEM_CODE.
5642 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5643 * factory.C: replace insetbib.h with insetbibitem.h.
5644 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5645 * paragraph.C: replace insetbib.h with insetbibitem.h.
5646 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5647 Change bibkey() to bibitem().
5648 * text.C: remove insetbib.h.
5649 * text2.C: replace insetbib.h with insetbibitem.h.
5650 change bibkey() to bibitem().
5651 * text3.C: remove insetbib.h.
5652 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5654 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5656 * lyxrc.C (output): enclose user email in quotes (in case there are
5659 2003-02-18 John Levon <levon@movementarian.org>
5661 * buffer.h: add std::
5663 2003-02-17 John Levon <levon@movementarian.org>
5669 * pspell.C: reworking. Especially in ispell, a large
5670 number of clean ups and bug fixes.
5672 * lyxfunc.C: fix revert to behave sensibly
5674 2003-02-17 André Pönitz <poenitz@gmx.net>
5677 * commandtags.h: new LFUN_INSERT_BIBKEY
5687 * paragraph_func.C: remove special bibkey handling
5689 2003-02-17 John Levon <levon@movementarian.org>
5691 * text.C (Delete): fix case where delete at the end of
5692 the very first paragraph would not merge the pars
5694 2003-02-17 John Levon <levon@movementarian.org>
5696 * lyxrow.C: fix lastPrintablePos()
5698 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5700 * bufferparams.C (writeLaTeX): add a std:here
5702 * buffer.C: and remove a using directive there
5704 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5706 * buffer.C (makeLaTeXFile): move the code that generates the
5709 * bufferparams.C (writeLaTeX): ... in this new method
5711 * LaTeXFeatures.C (getEncodingSet): make const
5712 (getLanguages): make const
5714 * MenuBackend.C (binding): returns the binding associated to this
5716 (add): sets the status of each item by calling getStatus. Adds
5718 (read): add support for OptSubMenu
5719 (expand): remove extra separator at the end of expanded menu
5721 2003-02-15 John Levon <levon@movementarian.org>
5724 * BufferView_pimpl.C:
5726 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5727 inset code that had no actual effect. Remove unneeded status
5730 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5732 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5735 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5737 * text.C (drawLengthMarker): also draw an arrow marker for
5738 symbolic lengths (medskip...)
5740 2003-02-14 John Levon <levon@movementarian.org>
5743 * tabular.C: better method names
5745 2003-02-14 John Levon <levon@movementarian.org>
5747 * BufferView_pimpl.C:
5752 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5753 it's a more accurate name. Remove some pointless uses.
5755 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5757 * text2.C (LyXText): change order of initilizers to shut off
5760 2003-02-14 John Levon <levon@movementarian.org>
5762 * buffer.C: use ParIterator for getParFromID()
5766 * paragraph_pimpl.h:
5767 * paragraph_pimpl.C: remove unused getParFromID()
5769 2003-02-14 John Levon <levon@movementarian.org>
5771 * buffer.C: remove some very old #if 0'd parse code
5773 2003-02-13 John Levon <levon@movementarian.org>
5777 * text2.C: move hfillExpansion(), numberOfSeparators(),
5778 rowLast(), rowLastPrintable(), numberofHfills(),
5779 numberOfLabelHfills() ...
5782 * lyxrow.C: ... to member functions here.
5787 * text.C: remove LyXText::beginningOfMainBody(), and call
5788 p->beginningOfMainBody() directly. Move the check for
5789 LABEL_MANUAL into the latter.
5796 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5802 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5803 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5805 2003-02-13 John Levon <levon@movementarian.org>
5807 * CutAndPaste.C: remove debug
5809 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5811 * paragraph.C (asString): remove two unused variables
5813 * lyxtextclass.C (readTitleType):
5815 (LyXTextClass): handle new members titletype_ and titlename_
5817 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5819 2003-02-09 John Levon <levon@movementarian.org>
5822 * buffer.C: replace hand-coded list with a map for the dep clean
5824 2003-02-08 John Levon <levon@movementarian.org>
5826 * LaTeX.C: consolidate code into showRunMessage() helper
5828 2003-02-08 John Levon <levon@movementarian.org>
5833 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5834 and pass the size in explicitly
5836 * BufferView_pimpl.h:
5837 * BufferView_pimpl.C:
5839 * BufferView.C: add getCurrentChange()
5841 * BufferView_pimpl.h:
5842 * BufferView_pimpl.C: handle change lfuns
5844 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5845 for changes. Mark pasted paragraphs as new.
5847 * support/lyxtime.h:
5848 * support/lyxtime.C:
5849 * DepTable.C: abstract time_t as lyx::time_type
5852 * LColor.C: add colours for new text, deleted text, changebars
5854 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5855 package use "usenames" option.
5859 * LyXAction.C: add change lfuns
5863 * author.C: author handling
5866 * buffer.C: add a per-buffer author list, with first entry as
5867 current author. Handle new .lyx tokens for change tracking. Output
5868 author list to .lyx file. Output dvipost stuff to .tex preamble.
5869 Bump lyx format to 222.
5872 * bufferlist.C: add setCurrentAuthor() to reset current author details
5876 * bufferparams.C: add param for tracking
5878 * bufferview_funcs.C: output change info in minibuffer
5882 * changes.C: add change-tracking structure
5885 * debug.C: add CHANGES debug flag
5888 * lyxfind.C: add code for finding the next change piece
5891 * lyxrc.C: add user_name and user_email
5894 * lyxrow.C: add a metric for the top of the text line
5897 * text.C: implement accept/rejectChange()
5900 * text.C: paint changebars. Paint new/deleted text in the chosen
5901 colours. Strike through deleted text.
5905 * paragraph_pimpl.h:
5906 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5907 in the current change to the insert functions. Rework erase to
5908 mark text as deleted, adding an eraseIntern() and a range-based
5909 erase(). Implement per-paragraph change lookup and
5912 * paragraph_funcs.C: Fixup paste for change tracking.
5914 * tabular.C: mark added row/columns as new.
5916 * text.C: fix rowLast() to never return -1. Don't allow
5917 spellchecking of deleted text. Track transpose changes. Don't
5918 allow paragraph break or merge where appropriate.
5920 * text2.C: leave cursor at end of selection after a cut.
5922 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5924 * text.C (getLengthMarkerHeight):
5925 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5926 visible on screen too.
5928 2003-02-07 John Levon <levon@movementarian.org>
5930 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5932 2003-02-05 Angus Leeming <leeming@lyx.org>
5934 * lyxserver.C (read_ready): revert my patch of 11 September last year
5935 as it sends PC cpu through the roof. Presumably this means that
5936 the lyxserver will no longer run on an Alpha...
5938 2003-01-30 Angus Leeming <leeming@lyx.org>
5940 * factory.C (createInset): create an InsetCommandParam of type "index"
5941 and use it to 'do the right thing'.
5943 * text2.C (getStringToIndex): ensure that cursor position is always
5944 reset to the reset_cursor position.
5946 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5948 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5951 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5955 * lyxfunc.C: Output messages with identical spelling, punctuation,
5958 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5960 * MenuBackend.C (expandFormats): List only viewable export formats
5963 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5966 * lyxfunc.C (getStatus): Make sure that formats other than
5967 "fax" can also be disabled
5969 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5971 * text3.C (dispatch): put the lfuns that insert insets in 3
5972 groups, and call doInsertInset with appropriate arguments.
5973 (doInsertInset): new function, that creates an inset and inserts
5974 it according to some boolean parameters.
5976 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * buffer.C (readFile): remember to pass on 'par' when calling
5979 readFile recursively.
5981 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5983 * MenuBackend.C (expandFormats): add "..." to import formats.
5985 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5987 * paragraph.C (asString): Remove XForms RTL hacks.
5989 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
5990 * buffer.C: fix typo
5992 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5994 * Makefile.am (LIBS): delete var
5995 (lyx_LDADD): add @LIBS@ here instead.
5997 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
5999 * Clarify the meaning of "wheel mouse jump"
6001 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6006 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6008 * importer.C (Loaders): do not preallocate 3 elements in the
6009 vector, since one ends up with 6 elements otherwise
6011 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6013 * DepTable.C (write): write the file name as last element of the
6014 .dep file (because it may contain spaces)
6015 (read): read info in the right order
6017 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6019 * paragraph_pimpl.C (simpleTeXBlanks):
6020 (simpleTeXSpecialChars):
6021 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6023 * tabular.C (latex): add some missing case statements. Reindent.
6025 * MenuBackend.C (expandToc): remove unused variable.
6027 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6036 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6039 2003-01-05 John Levon <levon@movementarian.org>
6042 * BufferView.C: add getEncoding()
6045 * kbsequence.C: do not store last keypress
6048 * lyxfunc.C: store last keypress here instead. Pass encoding
6051 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6053 * lyx_main.C (init): remove annoying error message when following
6054 symbolic links (bug #780)
6056 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6058 * text.C (insertChar):
6059 * lyxrc.C (getDescription): remove extra spaces
6061 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6063 * lyxrc.C (getDescription): remove extra spaces
6065 2002-12-20 John Levon <levon@movementarian.org>
6067 * text3.C: hack fix for page up/down across tall rows
6069 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6071 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6074 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6076 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6077 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6078 thesaurus is not compiled in
6080 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6082 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6084 2002-12-16 Angus Leeming <leeming@lyx.org>
6087 * lyx_main.C (init): remove override_x_deadkeys stuff.
6089 2002-12-12 John Levon <levon@movementarian.org>
6091 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6092 insert. Only remove shift modifier under strict
6095 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * MenuBackend.C (expandToc): fix crash.
6099 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * MenuBackend.C (expandToc): gettext on float names.
6103 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6105 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6106 implement bool empty() [bug 490]
6108 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6110 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6112 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6114 * several files: ws changes
6116 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * text2.C (setCounter): clean up a bit, use boost.format.
6119 (updateCounters): initialize par upon declaration.
6121 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6122 if the layout exists. We do not just store the layout any more.
6123 (SwitchLayoutsBetweenClasses): use boost.format
6125 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6127 * converter.C (convert): if from and to files are the same, use a
6128 temporary files as intermediary
6130 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6133 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6135 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6137 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6139 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * tabular.C (asciiPrintCell): use string(size, char) instead of
6144 * sgml.C (openTag): fix order of arguments to string constructor
6147 * lyxfunc.C (dispatch): use boost.format
6149 * lots of files: change "c" -> 'c'
6151 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6153 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6155 2002-11-25 Angus Leeming <leeming@lyx.org>
6157 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6159 * lyx_main.C (init): compile fix.
6161 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6163 * lyx_cb.C (start): boost.formatify
6164 do not include <iostream>
6166 * lengthcommon.C: ws only
6168 * boost-inst.C,BoostFormat.h: add more explict instantations
6170 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * lots of files: handle USE_BOOST_FORMAT
6174 2002-11-21 John Levon <levon@movementarian.org>
6176 * pspell.C: fix compile
6178 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6180 * lyxfunc.C (dispatch): use boost::format
6184 * lyxfont.C (stateText): use boost::format
6186 * lyx_main.C (LyX): use boost::format
6188 (queryUserLyXDir): ditto
6191 (typedef boost::function): use the recommened syntax.
6193 * importer.C (Import): use boost::format
6195 * debug.C (showLevel): use boost::format
6197 * converter.C (view): use boost::format
6202 * bufferview_funcs.C (currentState): use boost::format
6204 * bufferlist.C (emergencyWrite): use boost::format
6206 * buffer.C (readLyXformat2): use boost::format
6207 (parseSingleLyXformat2Token): ditto
6209 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6211 * LaTeX.C (run): use boost::format
6213 * Chktex.C (scanLogFile): use boost::format
6215 * BufferView_pimpl.C (savePosition): use boost::format
6216 (restorePosition): ditto
6217 (MenuInsertLyXFile): ditto
6219 * BoostFormat.h: help file for explicit instation.
6221 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6223 * tabular.C (latex): Support for block alignment in fixed width
6226 2002-11-17 John Levon <levon@movementarian.org>
6228 * BufferView_pimpl.C:
6230 * lyxfunc.C: split filedialog into open/save
6232 2002-11-08 Juergen Vigna <jug@sad.it>
6234 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6235 by my last patch (hopefully).
6237 2002-11-08 John Levon <levon@movementarian.org>
6246 * toc.C: ParConstIterator, and use it (from Lars)
6248 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6250 * lyxtextclass.[Ch]: revise and add doxygen comments
6252 2002-11-07 John Levon <levon@movementarian.org>
6254 * text.C: fix progress value for spellchecker
6256 * toc.C: fix navigate menu for insetwrap inside minipage
6258 * paragraph_funcs.C: added FIXME for suspect code
6260 2002-11-07 John Levon <levon@movementarian.org>
6262 * BufferView_pimpl.C: fix redrawing of insets
6265 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6267 * text2.C (updateCounters): fix bug 668
6269 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6271 * text3.C (dispatch): Do not make the buffer dirty when moving the
6274 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6276 * vc-backend.C: STRCONV
6279 * text2.C (setCounter): STRCONV
6281 * paragraph.C (asString): STRCONV
6283 * lyxlength.C (asString): STRCONV
6284 (asLatexString): ditto
6286 * lyxgluelength.C (asString): STRCONV
6287 (asLatexString): ditto
6289 * lyxfunc.C (dispatch): STRCONV
6292 * lyxfont.C (stateText): STRCONV
6294 * importer.C (Import): STRCONV
6296 * counters.C (labelItem): STRCONV
6297 (numberLabel): ditto
6298 (numberLabel): remove unused ostringstream o
6303 * bufferview_funcs.C (currentState): STRCONV
6305 * buffer.C (readFile): STRCONV
6306 (asciiParagraph): ditto
6307 (makeLaTeXFile): ditto
6309 * Spacing.C (writeEnvirBegin): STRCONV
6311 * LaTeXFeatures.C (getLanguages): STRCONV
6312 (getPackages): ditto
6314 (getBabelOptions): ditto
6315 (getTClassPreamble): ditto
6316 (getLyXSGMLEntities): ditto
6317 (getIncludedFiles): ditto
6321 (scanAuxFile): ditto
6324 * LString.h: add the STRCONV macros
6326 * BufferView_pimpl.C (savePosition): STRCONV
6327 (restorePosition): ditto
6328 (MenuInsertLyXFile): ditto
6330 * vc-backend.C (scanMaster): change from submatch[...] to
6333 * funcrequest.C: include config.h
6335 * factory.C: include config.h
6337 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6339 * box.C: include config.h
6341 * LaTeX.C (scanAuxFile): change from submatch[...] to
6345 2002-10-25 Angus Leeming <leeming@lyx.org>
6347 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6349 * ispell.[Ch] (setError): new method.
6350 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6351 Use setError() insetead of goto END.
6353 * lyx_cb.C (AutoSave): move out child process into new class
6356 2002-10-30 John Levon <levon@movementarian.org>
6358 * text3.C: make start appendix undoable
6360 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6362 * lyxlength.C (inPixels): Fix returned value.
6364 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6367 2002-10-24 Angus Leeming <leeming@lyx.org>
6369 * lyxgluelength.h: no need to forward declare BufferParams
6370 or BufferView, so don't.
6372 2002-10-21 John Levon <levon@movementarian.org>
6374 * BufferView.C: menuUndo ->undo, redo
6376 * BufferView.h: document, remove dead, make some methods private
6378 * paragraph_funcs.h:
6379 * paragraph_funcs.C:
6380 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6385 * sgml.C: move sgml open/close tag into sgml.C
6387 * bufferview_funcs.h: unused prototype
6390 * lyxfunc.C: remove unused
6393 * text.C: remove unused
6395 2002-10-21 John Levon <levon@movementarian.org>
6399 * BufferView_pimpl.h:
6400 * BufferView_pimpl.C: fix mouse wheel handling based on
6401 patch from Darren Freeman
6403 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6405 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6407 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6409 * lyxlength.C (inPixels): Fix hanfling of negative length.
6410 Fix LyXLength::MU case.
6412 2002-10-16 John Levon <levon@movementarian.org>
6414 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6416 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * converter.C (view): add support for $$i (file name) and $$p
6419 (file path) for the viewer command. If $$i is not specified, then
6420 it is appended to the command (for compatibility with old syntax)
6422 2002-10-14 Juergen Vigna <jug@sad.it>
6424 * undo_funcs.C (textHandleUndo): alter the order in which the
6425 new undopar is added to the LyXText, as we have to set first
6426 the right prev/next and then add it as otherwise the rebuild of
6427 LyXText is not correct. Also reset the cursor to the right paragraph,
6428 with this IMO we could remove the hack in "redoParagraphs()".
6430 2002-10-09 Angus Leeming <leeming@lyx.org>
6432 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6433 to turn off an optimisation if a new inset is to be inserted.
6435 2002-10-11 André Pönitz <poenitz@gmx.net>
6437 * lyxtext.h: make some functions public to allow access
6438 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6440 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6442 * text3.C (dispatch): when changing layout, avoid an infinite loop
6445 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6447 * lyxrc.C (read): treat a viewer or converter command of "none" as
6450 * MenuBackend.C (expandFormats): for an update, also allow the
6451 formats that are not viewable
6453 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6454 script if it is newer than the lyxrc.defaults in user directory
6456 2002-10-07 André Pönitz <poenitz@gmx.net>
6458 * text.C: Vitaly Lipatov's small i18n fix
6460 2002-09-25 Angus Leeming <leeming@lyx.org>
6462 * ispell.h: doxygen fix.
6464 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6466 * buffer.h (readFile): Add a new argument to the method, to allow
6467 reading of old-format templates.
6469 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6471 * toc.C (getTocList): Get TOC from InsetWrap.
6473 2002-09-16 John Levon <levon@movementarian.org>
6475 * lyxfunc.C: check tabular for cut/copy too
6477 2002-09-12 John Levon <levon@movementarian.org>
6482 * factory.C: add header
6484 * paragraph_funcs.h:
6485 * paragraph_funcs.C: cleanup
6487 2002-09-11 John Levon <levon@movementarian.org>
6489 * PrinterParams.h: odd/even default to true
6491 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6493 * PrinterParams.h: update printer parameters for new xforms dialog
6495 2002-09-11 Angus Leeming <leeming@lyx.org>
6497 * lyxserver.C (read_ready): re-write to make it more transparent
6498 and to make it work in coherent fashion under Tru64 Unix.
6500 2002-09-11 André Pönitz <poenitz@gmx.net>
6504 * text3.C: implement LFUN_WORDSEL
6506 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6509 make floatlist_ a boost::shared_ptr<FloatList>
6511 * lyxtextclass.C: include FloatList.h
6512 (LyXTextClass): initialize floatlist_
6513 (TextClassTags): add TC_NOFLOAT
6514 (Read): match "nofloat" to TC_NOFLOAT and use it.
6515 (readFloat): modify call to floatlist_
6519 * FloatList.[Ch] (FloatList): remove commented out float
6521 (erase): new function
6523 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6525 * MenuBackend.C (expandToc): fix crash when there is no document
6528 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6530 * many files: Add insetwrap.
6532 2002-09-09 John Levon <levon@movementarian.org>
6534 * text2.C: remove confusing and awkward depth wraparound
6536 2002-09-09 John Levon <levon@movementarian.org>
6538 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6541 * buffer.C: remove getIncludeonlyList()
6544 * lyxfunc.C: remove headers
6546 2002-09-09 Juergen Vigna <jug@sad.it>
6548 * text.C (getColumnNearX): fix form Michael this is most
6549 probably a cut&paste bug.
6551 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6553 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6555 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6556 references, ws changes.
6558 * text2.C (init): update counters after init
6559 (insertParagraph): no need to set counter on idividual paragraphs.
6560 (setCounter): access the counters object in the textclass object
6561 on in the buffer object.
6562 (updateCounters): ditto
6564 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6565 shared_ptr<Counters> to avoid loading counters.h in all
6567 (LyXTextClass): initialize ctrs_
6568 (TextClassTags): add TC_COUNTER, and ...
6569 (Read): use it here.
6570 (CounterTags): new tags
6571 (readCounter): new function
6572 (counters): new funtion
6573 (defaultLayoutName): return a const reference
6575 * counters.C (Counters): remove contructor
6576 (newCounter): remove a couple of unneeded statements.
6577 (newCounter): simplify a bit.
6578 (numberLabel): some small formatting changes.
6580 * buffer.[Ch]: remove all traces of counters, move the Counters
6581 object to the LyXTextClass.
6583 2002-09-06 Alain Castera <castera@in2p3.fr>
6585 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6586 package to set the horizontal alignment on fixed width columns.
6589 * lyx_sty.h: added tabularnewline macro def.
6591 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6593 2002-09-06 John Levon <levon@movementarian.org>
6595 * LyXAction.C: tooltips for sub/superscript
6597 * MenuBackend.C: a bit more verbose
6599 * lyxfunc.C: tiny clean
6601 * undo_funcs.C: document undo_frozen
6603 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6605 * counters.C (Counters): add missing algorithm counter.
6607 * text2.C (setCounter): lookup the counter with layouts latexname
6608 instead of by section number.
6609 (setCounter): use a hackish way to lookup the correct enum
6611 a float name->type change
6612 reset enum couners with counter name directly instead of depth value.
6614 * counters.C (Counters): remove the push_backs, change to use the
6615 float type not the float name.
6616 (labelItem): remove unused string, float name->type change
6618 * counters.h: don't include vector, loose the enums and sects vectors
6620 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6623 (Read): add float->TC_FLOAT to textclassTags
6624 (Read): and handle it in the switch
6625 (readFloat): new function
6627 * FloatList.C (FloatList): comment out the hardcoded float
6630 * lyxlayout.h: ws change.
6632 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6634 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6636 2002-09-03 Angus Leeming <leeming@lyx.org>
6638 * BufferView_pimpl.h: qualified name is not allowed in member
6639 declaration: WorkArea & Pimpl::workarea() const;
6641 * factory.C: added using std::endl directive.
6643 * text3.C: added using std::find and std::vector directives.
6645 2002-08-29 André Pönitz <poenitz@gmx.net>
6648 * text2.C: remove unused member number_of_rows
6651 * BufferView2.C: remove file, move contents to...
6652 * BufferView.C: ... here
6654 * BufferView_pimpl.C:
6655 * factory.C: move more inset creation to factory
6657 * vspace.C: avoid direct usage of LyXText, ws changes
6660 don't provide direct access to WorkArea, use two simple
6661 acessors haveSelction() and workHeight() instead
6664 2002-08-29 John Levon <levon@movementarian.org>
6666 * BufferView_pimpl.C (dispatch): do not continue when
6669 2002-08-28 André Pönitz <poenitz@gmx.net>
6671 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6674 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6676 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6678 * buffer.C: increment LYX_FORMAT to 221
6680 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6681 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6683 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6685 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6687 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6689 * factory.C (createInset): use LyXTextClass::floats
6691 * MenuBackend.C (expandFloatListInsert):
6692 (expandFloatInsert):
6695 * text2.C (setCounter):
6697 * LaTeXFeatures.C (useFloat):
6698 (getFloatDefinitions):
6700 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6702 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6703 floatlist_, with accessor floats().
6705 * FloatList.h: remove global FloatList
6707 2002-08-26 André Pönitz <poenitz@gmx.net>
6709 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6713 * BufferView_pimpl.C:
6714 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6716 2002-08-25 John Levon <levon@movementarian.org>
6718 * LyXAction.C: fix margin note description
6720 2002-08-24 John Levon <levon@movementarian.org>
6724 * bufferview_funcs.C:
6726 * undo_funcs.C: cleanups
6728 * lyxfunc.C: disable CUT/COPY when no selection
6730 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6732 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6733 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6735 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6736 Add backward compatibility to "mono", "gray" and "no".
6738 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6740 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6741 (and file_format >= 200).
6743 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6745 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6747 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6749 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6751 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6753 * BufferView_pimpl.C:
6760 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6761 inset and code to make it work with the paragraph code. The inset
6762 can be anywhere in the paragraph, but will only do the expected
6763 thing in LaTeX if the layout file contains the parameter line
6765 (or more generally, a nonzero value) for that layout.
6767 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * paragraph.h: remove the declaration of undefined counters class
6772 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6774 * text2.C (setCounter): fixed enumeration mis-count as reported by
6775 Dr. Richard Hawkins.
6777 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6779 * paragraph_funcs.h: remove some unneeded includes
6781 * text.C (backspace): pasteParagraph now in global scipe
6783 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6784 (pasteSelection): ditto
6786 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6787 * paragraph_funcs.C (pasteParagraph): ... here
6789 2002-08-20 André Pönitz <poenitz@gmx.net>
6791 * commandtags.h: new LFUNs for swapping/copying table row/colums
6794 * lyxfunc.C: support for new lfuns
6796 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * buffer.[Ch]: remove NO_COMPABILITY stuff
6801 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * boost.C (throw_exception): new file, with helper function for
6804 boost compiled without exceptions.
6809 * ParameterStruct.h:
6810 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6812 * bufferlist.C (emergencyWriteAll): use boost bind
6814 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6816 * text.C: include paragraph_funcs.h
6817 (breakParagraph): breakParagraph is now in global scope
6819 * paragraph_funcs.[Ch]: new files
6821 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6824 * buffer.C: include paragraph_funcs.h
6825 (insertStringAsLines): breakParagraph is now in global scope
6827 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6830 * CutAndPaste.C: include paragraph_funcs.h
6831 (cutSelection): breakParagraphConservative is now in global scope
6832 (pasteSelection): ditto
6834 * buffer.h: declare oprator== and operator!= for
6835 Buffer::inset_iterator
6837 * bufferlist.C (emergencyWrite): don't use fmt(...)
6839 * text3.C: add using std::endl
6841 * BufferView.C (moveCursorUpdate): remove default arg
6843 2002-08-20 André Pönitz <poenitz@gmx.net>
6845 * buffer.[Ch]: move inline functions to .C
6848 * BufferView_pimpl.C:
6850 * buffer.[Ch]: use improved inset_iterator
6853 * paragraph.[Ch]: write one paragraph at a time
6855 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6857 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6858 style if style is not specified.
6860 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6862 * text2.C (setCounter): when searching for right label for a
6863 caption, make sure to recurse to parent insets (so that a caption
6864 in a minipage in a figure float works) (bug #568)
6866 2002-08-20 André Pönitz <poenitz@gmx.net>
6868 * text3.C: new file for LyXText::dispatch() and helpers
6870 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6872 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6874 2002-08-19 André Pönitz <poenitz@gmx.net>
6877 * text.C: new LyXText::dispatch()
6879 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6881 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6883 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6885 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6888 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6890 * Makefile.am: use $(variables) instead of @substitutions@
6892 2002-08-15 André Pönitz <poenitz@gmx.net>
6895 * BufferView_pimpl.C: streamlining mathed <-> outer world
6899 * LyXAction.C: remove unused LFUN_MATH
6901 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6903 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6905 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * paragraph.C (Paragraph): reformat a bit
6908 (cutIntoMinibuffer): use builtin InsetList function instad of
6912 * buffer.C: include boost/bind.hpp, add using std::for_each
6913 (writeFileAscii): use ParagraphList iterators
6914 (validate): use for_each for validate traversal of paragraphs
6915 (getBibkeyList): use ParagraphList iterators
6916 (resizeInsets): use for_each to resizeInsetsLyXText for all
6918 (getParFromID): use ParagraphList iterators
6920 * BufferView2.C (lockInset): use paragraph list and iterators
6922 2002-08-14 John Levon <levon@movementarian.org>
6924 * lyxserver.C: remove spurious xforms include
6926 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6928 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6930 2002-08-13 André Pönitz <poenitz@gmx.net>
6933 * lyxfunc.C: further cleaning
6935 2002-08-13 André Pönitz <poenitz@gmx.net>
6937 * funcrequest.h: new constructor
6939 * funcrequest.C: move stuff here from .h
6942 * BufferView_pimpl.C:
6945 * lyxfunc.C: subsequent changes
6947 * lyxfunc.h: new view() member function
6949 * lyxfunc.C: subsequent changes
6951 2002-08-13 Angus Leeming <leeming@lyx.org>
6954 * BufferView_pimpl.C:
6962 changes due to the changed LyXView interface that now returns references
6963 to member variables not pointers.
6965 2002-08-13 Angus Leeming <leeming@lyx.org>
6967 * WordLangTuple (word, lang_code): return references to strings,
6972 * lyxtext.h: forward-declare WordLangTuple.
6977 * text.C: #include "WordLangTuple.h".
6980 * text.C: (selectNextWordToSpellcheck): constify return type.
6982 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6988 * paragraph_pimpl.h:
6991 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6993 Made updateCounter always count from start of buffer, and removed
6994 second argument (par).
6995 Reverted floats number display to '#'. Perhaps I'll try again when the
6996 code base is sanitized a bit.
6998 2002-08-12 Angus Leeming <leeming@lyx.org>
7000 * buffer.[Ch] (getLabelList): constify.
7002 2002-08-07 André Pönitz <poenitz@gmx.net>
7004 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7006 * funcrequest.h: extension to keep mouse (x,y) position
7008 2002-08-12 Juergen Vigna <jug@sad.it>
7010 * BufferView2.C (insertErrors): forbid undo when inserting error
7013 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7015 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7017 * ParagraphList.[Ch]: new files
7019 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7021 * BufferView2.C (lockInset): ParagraphList changes
7024 * bufferlist.C: ditto
7028 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7030 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7031 unused class variable counter_,
7033 * paragraph.[Ch] (getFirstCounter): delete unused function
7035 * counters.C: include LAssert.h
7036 (reset): add a new function with no arg, change other version to
7037 not have def. arg and to not allow empty arg.
7039 * text2.C (setCounter): remove empty arg from call to Counters::reset
7041 2002-08-11 John Levon <levon@movementarian.org>
7043 * Makefile.am: add WordLangTuple.h
7045 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7047 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7048 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7050 * insets/insettext.C: InsetList changes
7052 * graphics/GraphicsSupport.C (operator()): InsetList changes
7054 * toc.C (getTocList): InsetList changes
7056 * paragraph_pimpl.[Ch]: InsetList changes
7058 * paragraph.[Ch]: InsetList changes
7060 * buffer.C (inset_iterator): InsetList changes
7061 (setParagraph): ditto
7062 * buffer.h (inset_iterator): ditto
7063 * iterators.C (operator++): ditto
7064 * iterators.h: ditto
7066 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7068 * InsetList.[Ch]: new files, most InsetList handling moved out of
7071 * BufferView2.C (removeAutoInsets): InsetList changes
7073 (ChangeInsets): ditto
7075 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * paragraph_pimpl.h (empty): new function
7079 * paragraph.[Ch] (empty): new function
7081 * other files: use the new Paragraph::empty function
7083 2002-08-09 John Levon <levon@movementarian.org>
7085 * lyxtext.h: remove unused refresh_height
7087 2002-08-09 John Levon <levon@movementarian.org>
7094 * paragraph.C: move sgml char escaping out of paragraph
7097 * paragraph.C: remove id setter
7101 * paragraph_pimpl.C: remove dead tex_code_break_column
7103 * bufferview_funcs.C: small cleanup
7105 * lyxfunc.C: remove dead proto
7107 * lyxtext.h: make some stuff private. Remove some dead stuff.
7109 * lyxgluelength.C: make as[LyX]String() readable
7111 2002-08-08 John Levon <levon@movementarian.org>
7116 * ToolbarDefaults.C:
7119 * toc.C: lyxaction cleanup
7121 2002-08-08 John Levon <levon@movementarian.org>
7123 * BufferView2.C: small cleanup
7126 * lyxfind.C: move unnecessary header into the .C
7128 2002-08-08 John Levon <levon@movementarian.org>
7130 * funcrequest.h: just tedious nonsense
7133 * lyx_main.C: cleanups
7136 * vspace.C: remove dead header lyx_main.h
7138 2002-08-07 Angus Leeming <leeming@lyx.org>
7141 * paragraph_pimpl.h:
7142 Forward declare class Counters in paragraph.h by moving the ctrs member
7143 variable into Paragraph::Pimpl.
7144 (counters): new method, returning a reference to pimpl_->ctrs.
7146 * text2.C: ensuing changes.
7148 2002-08-07 John Levon <levon@movementarian.org>
7150 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7152 * BufferView_pimpl.C: announce X selection on double/triple
7155 * lyx_main.C: use correct bool in batch dispatch
7157 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7159 2002-08-07 André Pönitz <poenitz@gmx.net>
7161 * funcrequest.h: new class to wrap a kb_action and its argument
7164 * BufferView_pimpl[Ch]:
7168 * lyxrc.C: subsequent changes
7171 2002-08-07 John Levon <levon@movementarian.org>
7173 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7174 document options change.
7176 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7181 * makefile.am: move counters functionality over from
7182 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7184 2002-08-06 John Levon <levon@movementarian.org>
7186 * WordLangTuple.h: new file for word + language code tuple
7197 * BufferView2.C: use WordLangTuple
7200 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7202 2002-08-06 John Levon <levon@movementarian.org>
7204 * lyx_main.C: fix cmdline batch handling
7206 2002-08-06 André Pönitz <poenitz@gmx.net>
7208 * lyxrc.C: set default for show_banner to true
7210 2002-08-06 John Levon <levon@movementarian.org>
7212 * pspell.C: fix a crash, and allow new aspell to work
7214 2002-08-06 John Levon <levon@movementarian.org>
7217 * kbmap.C: small cleanup
7220 * vspace.C: add const
7222 2002-08-05 John Levon <levon@movementarian.org>
7224 * LyXAction.C: back to tabular-insert
7226 2002-08-04 John Levon <levon@movementarian.org>
7229 * BufferView.C: cosmetic change
7231 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7241 * BufferView2.C: purge all "Lyx" not "LyX" strings
7244 * lyxcursor.C: attempt to add some documentation
7249 * ToolbarDefaults.C:
7250 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7251 merge with LFUN_TABULAR_INSERT
7258 * pspell.C: split up i/pspell implementations into separate
7259 files, many cleanups
7261 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7263 * text2.C: some cleanup
7265 * lyxfunc.C: don't check for isp_command == "none" any more, it
7266 didn't make any sense
7268 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7273 * makefile.am: move counters functionality over
7274 from text2.C/paragraph.[Ch] to counters.[Ch], and
7276 2002-08-02 John Levon <levon@movementarian.org>
7278 * buffer.C: s/lyxconvert/lyx2lyx/
7280 2002-08-02 Angus Leeming <leeming@lyx.org>
7282 * lyxlex.C: revert John's change as it breaks reading of the user
7285 2002-08-02 Angus Leeming <leeming@lyx.org>
7287 * importer.C (Import):
7288 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7289 changes due to LyXView::view() now returning a boost::shared_ptr.
7291 2002-08-02 John Levon <levon@movementarian.org>
7293 * lyxlex.C: small cleanup
7295 2002-08-02 John Levon <levon@movementarian.org>
7297 * text2.C (status): small cleanup, no logic change
7299 2002-08-01 John Levon <levon@movementarian.org>
7302 * buffer.C (writeFile): don't output alerts, caller
7306 * lyx_cb.C: from above
7308 * lyxfunc.C: allow to open non-existent files
7310 2002-07-31 John Levon <levon@movementarian.org>
7312 * lyxserver.C: don't let incidental errors get
7315 2002-07-30 John Levon <levon@movementarian.org>
7317 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7319 2002-07-30 John Levon <levon@movementarian.org>
7322 * lyxserver.C: remove I/O callback too
7324 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7326 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7329 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7331 * many files: strip,frontStrip -> trim,ltrim,rtrim
7333 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7335 * PrinterParams.h: remove extern containsOnly, and include
7336 support/lstrings.h instead.
7338 * LaTeX.C (scanAuxFile): modify because of strip changes
7340 * buffer.C (makeLaTeXFile): ditto
7341 * bufferparams.C (writeFile): ditt
7342 * lyxfont.C (stateText): ditto
7343 * lyxserver.C (read_ready): ditto
7344 * vc-backend.C (scanMaster): ditto
7346 * BufferView_pimpl.h: ws changes
7348 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7350 2002-07-26 André Pönitz <poenitz@gmx.net>
7352 * kb_sequence.C: remove unnedred usings
7354 2002-07-26 Juergen Vigna <jug@sad.it>
7356 * lyxfind.C (LyXReplace): we have to check better if the returned
7357 text is not of theLockingInset()->getLockingInset().
7359 2002-07-25 Juergen Vigna <jug@sad.it>
7361 * lyxfind.C (LyXReplace): don't replace if we don't get the
7364 * undo_funcs.C (createUndo): remove debugging code.
7366 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7368 * buffer.C (parseSingleLyXformat2Token): Use default placement
7369 when reading old floats.
7371 * FloatList.C (FloatList): Change the default placement of figure
7372 and tables to "tbp".
7374 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7376 * MenuBackend.C: using std::max
7378 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * MenuBackend.C (expandToc):
7381 (expandToc2): code moved from xforms menu frontend. It is now
7382 generic and TOCs are transparent to menu frontends.
7384 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7386 * toc.C (getTocList): protect against buf=0
7388 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7389 Menu as first parameter. Now, this calls itself recursively to
7390 expand a whole tree (this will be useful for TOC handling)
7391 (expandFloatInsert): remove 'wide' version of floats
7393 * MenuBackend.h (submenuname): returns the name of the submenu.
7394 (submenu): returns the submenu itself, provided it has been
7395 created by MenuBackend::expand
7397 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7400 insets which have noFontChange == true. (bug #172)
7402 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * BufferView_pimpl.C: add connection objects and use them...
7407 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7409 * MenuBackend.C (expandLastfiles):
7412 (expandFloatListInsert):
7413 (expandFloatInsert):
7414 (expand): split expand in parts
7416 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7418 * lyx_gui.C: use lyx_gui::exit()
7420 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7422 * LyXAction.C: show the failing pseudo action
7424 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7426 * buffer.C (readFile): Run the lyxconvert script in order to read
7429 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7433 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7435 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7439 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7441 2002-07-22 Herbert Voss <voss@lyx.org>
7444 * lyxlength.[Ch]: add support for the vertical lengths
7446 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7448 * toc.[Ch]: std:: fixes
7450 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7452 * lyxrc.C: do not include lyx_main.h
7454 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7460 * BufferView2.C: include "lyxlex.h"
7463 * bufferparams.h: do not #include "lyxlex.h"
7465 * lyxtextclasslist.C (Add): remove method
7466 (classlist): renamed to classlist_
7468 * paragraph_pimpl.C:
7472 * bufferview_funcs.C:
7477 * toc.C (getTocList): use BufferParams::getLyXTextClass
7479 * toc.C (getTocList): use InsetFloat::addToToc
7481 * toc.[Ch]: new files, containing helper functions to handle table
7484 * lyxfunc.C (dispatch): no need to remove spaces around command
7486 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7487 first command of the sequence; it is not very clever, but I do not
7488 have a better idea, actually
7490 * LyXAction.C (LookupFunc): make sure to remove space at the
7491 beginning and end of the command
7493 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7495 * MenuBackend.C (getMenubar): new method: return the menubar of
7497 (read): treat differently reading of menu and menubar (in
7498 particular, the menubar has no name now)
7499 (Menu::menubar): remove
7501 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7504 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7506 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7507 a bibitem inset in a RTL paragraph.
7509 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7511 * paragraph_pimpl.C: constify
7513 * BufferView_pimpl.C:
7515 * lyxfunc.C: fix dispatch in a nicer way
7517 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7519 * lyxfunc.C (dispatch):
7520 * BufferView_pimpl.C:
7521 * BufferView_pimpl.h:
7523 * BufferView.h: rename Dispatch() to dispatch()
7525 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7527 * lyxlayout.C (Read): honor DependsOn tag
7529 * lyxlayout.[Ch] (depends_on): new method
7531 * version.C.in: update lyx_docversion
7533 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7535 * paragraph.C (validate): remove from here...
7536 * paragraph_pimpl.C (validate): ... and move here
7537 (isTextAt): make it const
7539 * buffer.C (getLists): ws cleanup
7541 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7543 * language.C (read): Use iso8859-1 encoding in latex_lang
7544 (this prevents LyX from crashing when using iso10646-1 encoding).
7546 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7548 * text2.C (toggleInset): if cursor is inside an inset, close the
7549 inset and leave cursor _after_ it
7551 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7553 * lyxfunc.C: move minibuffer completion handling out of here
7555 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7557 * BufferView_pimpl.C:
7558 * LaTeX.C: fix dispatch calls
7560 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7562 * text.C (drawChars): Fix Arabic text rendering.
7564 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7568 * lyxfunc.C: remove message-push/pop
7572 * lyxfunc.C: rationalise some code by removing verboseDispatch
7573 in favour of a bool argument to dispatch()
7575 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7577 * lyx_main.C (init): make sure to read symlinks as absolute paths
7579 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7582 * lyxfunc.C: no need for commandshortcut to be a member
7584 2002-07-15 André Pönitz <poenitz@gmx.net>
7586 * converter.C: add support for $$s (scripts from lib/scripts dir)
7587 * lyx_main.C: white space
7589 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7593 * lyxrc.C: remove second exit confirmation
7595 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7600 * BufferView_pimpl.h:
7601 * BufferView_pimpl.C:
7602 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7604 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7606 * MenuBackend.C (expand): add numeric shortcuts to document menu
7608 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7610 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7612 * lyxfont.C (setLyXFamily):
7619 * buffer.C (asciiParagraph): use ascii_lowercase
7621 2002-07-15 Mike Fabian <mfabian@suse.de>
7623 * lyxlex_pimpl.C (search_kw):
7624 * lyxlex.C (getLongString):
7625 * converter.h (operator<):
7626 * converter.C (operator<):
7627 * buffer.C (parseSingleLyXformat2Token):
7629 * ToolbarDefaults.C (read):
7630 * MenuBackend.C (checkShortcuts):
7632 * LColor.C (getFromGUIName):
7633 (getFromLyXName): use the compare_ascii_no_case instead of
7634 compare_no_case, because in turkish, 'i' is not the lowercase
7635 version of 'I', and thus turkish locale breaks parsing of tags.
7637 2002-07-16 Angus Leeming <leeming@lyx.org>
7639 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7640 now takes a Buffer const & argument.
7642 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7644 * BufferView.C (resize): check there's a buffer to resize
7646 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7648 * lyxfunc.C: remove dead code
7651 * lyxserver.C: use lyx_guii::set_read_callback
7653 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7655 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7656 an inset in a RTL paragraph.
7658 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7660 * lyxfunc.C: repaint after a font size update
7662 2002-07-15 André Pönitz <poenitz@gmx.net>
7664 * lyxlength.C: inBP should be able to return negative values
7666 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7668 * lyxfunc.C: use lyx_gui::update_fonts()
7670 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7672 * lyxfunc.C: use lyx_gui::update_color()
7674 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7680 * lyxrc.C: remove file->new asks for name option, and let
7681 buffer-new take an argument
7683 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7685 * BufferView_pimpl.C: remove unneeded extra repaint()
7687 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7689 * LyXAction.C: allow command-sequence with NoBuffer
7691 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7693 2002-07-10 Angus Leeming <leeming@lyx.org>
7695 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7697 2002-07-09 Angus Leeming <leeming@lyx.org>
7699 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7701 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7703 * lengthcommon.h: whitespace
7705 * lyxfunc.C: update scrollbar after goto paragraph
7707 * lyxtext.h: factor out page break drawing, and fix it so
7708 page break/added space paints as selected nicely
7710 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7712 * BufferView_pimpl.C: add FIXMEs, clean up a little
7714 2002-07-09 André Pönitz <poenitz@gmx.net>
7716 * lyxfont.[Ch]: support for wasy symbols
7718 2002-07-08 André Pönitz <poenitz@gmx.net>
7720 * BufferView_pimpl.C: apply John's patch for #93.
7722 2002-07-05 Angus Leeming <leeming@lyx.org>
7724 * BufferView_pimpl.C (buffer): generate previews if desired.
7726 * LColor.h: add "preview" to the color enum.
7728 * LColor.C (LColor): add a corresponding entry to the items array.
7730 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7733 2002-07-05 Angus Leeming <leeming@lyx.org>
7735 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7736 The body of the code is now in the method that is passed an ostream &
7737 rather than a file name.
7738 Pass an additional only_preamble parameter, useful for the forthcoming
7741 2002-07-03 André Pönitz <poenitz@gmx.net>
7743 * lyxfunc.C: simplify getStatus() a bit for math stuff
7745 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7747 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7749 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7751 * text.C (changeRegionCase): do not change case of all the
7752 document when region ends at paragraph end (bug #461)
7754 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7756 * paragraph.C (startTeXParParams):
7757 (endTeXParParams): add \protect when necessary
7759 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * BufferView_pimpl.C (workAreaExpose): remove warning
7763 2002-06-27 Angus Leeming <leeming@lyx.org>
7765 * Makefile.am: add lyxlayout_ptr_fwd.h.
7767 2002-06-26 André Pönitz <poenitz@gmx.net>
7769 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7771 2002-06-25 Angus Leeming <leeming@lyx.org>
7773 * lyxfunc.C (dispatch): Comment out the call to
7774 grfx::GCache::changeDisplay. The method no longer exists now that the
7775 pixmap generation part of the graphics loader has been moved into
7778 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7780 * text2.C: layout as layout
7782 * text.C: layout as layout
7784 * tabular.C (OldFormatRead): layout as layout
7786 * paragraph_pimpl.C (TeXDeeper): layout as layout
7787 (realizeFont): layout as layout
7789 * paragraph.C (writeFile): layout as layout
7790 (validate): layout as layout
7791 (getFont): layout as layout
7792 (getLabelFont): layout as layout
7793 (getLayoutFont): layout as layout
7794 (breakParagraph): layout as layout
7795 (stripLeadingSpaces): layout as layout
7796 (getEndLabel): layout as layout
7797 (getMaxDepthAfter): layout as layout
7798 (applyLayout): layout as layout
7799 (TeXOnePar): layout as layout
7800 (simpleTeXOnePar): layout as layout
7801 (TeXEnvironment): layout as layout
7802 (layout): layout as layout
7803 (layout): layout as layout
7805 * lyxtextclass.C (compare_name): new functor to work with
7806 shared_ptr, layout as layout
7807 (Read): layout as layout
7808 (hasLayout): layout as layout
7809 (operator): layout as layout
7810 (delete_layout): layout as layout
7811 (defaultLayout): layout as layout
7813 * lyxlayout_ptr_fwd.h: new file
7815 * lyxlayout.C (Read): layout as layout
7817 * lyx_cb.C (MenuInsertLabel): layout as layout
7819 * bufferlist.C (newFile): layout as layout
7821 * buffer.C (readLyXformat2): layout as layout
7822 (parseSingleLyXformat2Token): layout as layout
7823 (insertStringAsLines): layout as layout
7824 (asciiParagraph): layout as layout
7825 (latexParagraphs): layout as layout
7826 (makeLinuxDocFile): layout as layout
7827 (simpleLinuxDocOnePar): layout as layout
7828 (makeDocBookFile): layout as layout
7829 (simpleDocBookOnePar): layout as layout
7830 (getLists): layout as layout
7832 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7834 * CutAndPaste.C (cutSelection): layout as layout
7835 (pasteSelection): layout as layout
7836 (SwitchLayoutsBetweenClasses): layout as layout
7838 * BufferView_pimpl.C (Dispatch): layout as layout
7839 (smartQuote): layout as layout
7841 * BufferView2.C (unlockInset): layout as layout
7843 2002-06-24 André Pönitz <poenitz@gmx.net>
7845 * lyxfunc.C: fix #487
7847 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7851 * lyxfunc.C: remove display_shortcuts, show_banner
7853 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7855 * Buffer_pimpl.C: oops, update on resize
7857 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7864 * BufferView.C: use repaint()
7866 * BufferView_pimpl.h:
7867 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7868 as it's a clearer description. Remove superfluous
7871 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7873 * text.C: fix bug 488. Not ideal, but getting
7874 getWord() to work properly for the insets that
7875 matter is more difficult ...
7877 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7879 * BufferView_pimpl.C:
7882 * lyxfunc.C: remove the six million index lyxfuncs to just
7883 one, and DTRT (bug 458)
7885 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7889 * BufferView_pimpl.h:
7890 * BufferView_pimpl.C: clean up resize() stuff,
7891 and unnecessary updateScreen()s
7893 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7897 * BufferView_pimpl.h:
7898 * BufferView_pimpl.C:
7901 * minibuffer.C: remove focus management of workarea,
7902 not needed. Use screen's greyOut()
7904 2002-06-17 Herbert Voss <voss@lyx.org>
7906 * converter.C: (convert) do not post a message, when converting
7907 fails, let the calling function decide what to do in this case
7909 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7911 * lyxfunc.C: tidy up a little
7913 2002-06-16 <alstrup@diku.dk>
7915 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7916 Got rid of FORMS_H_LOCATION include. Now we are
7919 2002-06-15 LyX Development team <lyx@rilke>
7921 * buffer.[Ch] (sgmlOpenTag):
7922 (sgmlCloseTag): Added support for avoiding pernicious mixed
7923 content. Return number of lines written.
7926 (makeDocBookFile): Fixed calls to sgml*Tag.
7927 Simple white space clean.
7929 (simpleDocBookOnePar): Simple white space clean.
7931 * tabular.[Ch] (docBook): Renamed to docbook and got another
7932 argument to related with the pernicious mixed content.
7934 (docbookRow): Fixed calls for docbook inset method.
7936 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7938 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7939 so it's X11 independent.
7943 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7945 2002-06-15 Lyx Development team <lyx@electronia>
7947 * intl.h: Renamed getTrans to getTransManager.
7949 2002-06-14 Angus Leeming <leeming@lyx.org>
7951 * Makefile.am: nuke forgotten stl_string_fwd.h.
7953 2002-06-12 Angus Leeming <leeming@lyx.org>
7955 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7957 2002-06-13 Angus Leeming <leeming@lyx.org>
7960 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7962 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7964 * kbmap.C (getiso): add support for cyrillic and greek
7966 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7970 * BufferView_pimpl.h:
7971 * BufferView_pimpl.C: move bogus scrolling logic
7974 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7977 * BufferView_pimpl.C: view->resize() change
7979 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7981 * BufferView_pimpl.C: topCursorVisible
7984 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7988 * lyx_gui.C: move to frontends/
7992 * lyx_main.C: changes from above
7994 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8001 * lyx_main.C: minor tidy
8003 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8005 * BufferView_pimpl.h:
8006 * BufferView_pimpl.C:
8008 * BufferView.C: make painter() const,
8011 * BufferView2.C: use screen() accessor
8014 * lyx_main.C: some minor cleanup
8016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8018 * BufferView_pimpl.h:
8019 * BufferView_pimpl.C: remove enter/leaveView,
8022 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8027 * BufferView_pimpl.h:
8028 * BufferView_pimpl.C: only construct screen once,
8031 * lyxrc.C: remove pointless comment
8033 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8036 * BufferView.C: remove active() and belowMouse()
8038 * BufferView_pimpl.h:
8039 * BufferView_pimpl.C: use workarea() not workarea_,
8040 and make it use a scoped_ptr instead
8042 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8044 * lyx_gui.C: add debug message on BadWindow
8046 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8048 * sp_spell.C: fdopen is not part of the C++ standard.
8050 * paragraph.C (InsetIterator): use >= instead of ==
8052 2002-06-07 Angus Leeming <leeming@lyx.org>
8054 Fixes needed to compile with Compaq cxx 6.5.
8055 * BufferView_pimpl.C:
8062 * lyxtextclasslist.C:
8067 all c-library variables have been moved into namespace std. Wrap
8068 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8073 Add a using std::abs declaration.
8075 * kbmap.h (modifier_pair):
8076 * paragraph.h (InsetTable, InsetList):
8077 * lyxfont.h (FontBits):
8078 type definition made public.
8080 * bufferlist.C (emergencyWriteAll): the compiler complains that
8081 there is more than one possible lyx::class_fun template to choose from.
8082 I re-named the void specialisation as lyx::void_class_fun.
8084 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8086 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8087 the compiler is is unable to find tostr in write_attribute.
8089 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8091 * buffer.C (sgmlError): hide #warning
8093 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * xtl/*: get rid of xtl, which is not in use anyway
8097 * LyXAction.C (init):
8098 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8099 were unimplemented xtl experimentation
8101 2002-06-04 André Pönitz <poenitz@gmx.net>
8103 * lyxfunc.C: disable array operation on simple formulae
8105 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8107 * converter.C: constify a bit
8109 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8111 * lyx_gui.C: check xforms version correctly
8113 2002-04-30 Herbert Voss <voss@lyx.org>
8115 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8118 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8120 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8121 attempt to register it with a VCS)
8123 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8125 * lyx_main.C (init): honor variables LYX_DIR_13x and
8128 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8132 * lyx_main.C: fix a crash on bad command line,
8133 and give a useful exit status on error
8135 * lyxfunc.C (doImport): allow -i lyx to work
8137 2002-03-30 André Pönitz <poenitz@gmx.net>
8139 * lyxfunc.C: mathed font changes
8141 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8156 * trans_mgr.h: srcdocs, and some minor cleanups
8158 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8160 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8161 call getFont all the time)
8163 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8165 * switch from SigC signals to boost::signals
8167 2002-05-29 André Pönitz <poenitz@gmx.net>
8169 * paragraph_pimpl.C (getChar): don't call size() too often...
8171 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8173 * paragraph_pimpl.C (insertChar): do not try to update tables when
8174 appending (pos == size())
8176 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8177 in order to reduce drastically the number of comparisons needed to
8178 parse a large document
8180 2002-05-29 André Pönitz <poenitz@gmx.net>
8186 * textclasslist.[Ch]:
8187 * sp_ispell.h: whitespace change
8189 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8192 lyxaction directly now.
8194 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8198 * lyxvc.C: remove unused headers
8200 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8207 * undo_funcs.C: some cleanups. Use shared_ptr
8208 and a template for the undo stacks.
8210 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8212 * BufferView_pimpl.h:
8213 * BufferView_pimpl.C:
8220 * text2.C: use key_state/mouse_state
8222 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8224 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8227 * chset.C: change include order
8228 (loadFile): use boost regex and get rid of LRegex and LSubstring
8230 * Makefile.am (BOOST_LIBS): new variable
8233 * LaTeX.C: change include order.
8234 (scanAuxFile): use boost regex and get rid of LRegex and
8238 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8243 * FontInfo.C: moved to frontends/xforms/
8246 * FontLoader.C: moved into frontends for GUIIzation
8251 * lyxfunc.C: changes from above
8253 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8255 * LColor.C: remove spurious X include
8257 * BufferView_pimpl.C:
8262 * text2.C: move font metrics to frontends/
8264 2002-05-24 Juergen Vigna <jug@sad.it>
8266 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8267 setting the undo_cursor.
8269 * ParagraphParameters.h: include local includes first.
8271 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8273 * BufferView_pimpl.C:
8274 * BufferView_pimpl.h:
8278 * screen.C: move WorkArea into frontends/
8284 * BufferView2.C: move LyXScreen into frontends/
8288 * lyx_gui.C: move lyxlookup into frontends/xforms/
8290 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8293 * BufferView_pimpl.C:
8303 * bufferview_funcs.C:
8316 * vc-backend.C: move LyX/XFormsView into frontends/
8318 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8330 * text2.C: move Painter to frontends/
8332 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8334 * buffer.C: comment out some some code that depend upon lyx_format
8337 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8338 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8340 * buffer.h (NO_COMPABILITY): turn off compability
8342 * ColorHandler.C: include scoped_array.hpp
8344 * font.C: Use more specific smart_ptr header.
8347 * ShareContainer.h: ditto
8351 * BufferView_pimpl.h: ditto
8352 * ColorHandler.h: ditto
8354 * kbmap.C (defkey): change call to shared_ptr::reset
8356 2002-05-21 Juergen Vigna <jug@sad.it>
8358 * buffer.C (insertErtContents): fix to insert ert asis if it is
8359 non empty. Skip it completely if it contains only whitespaces.
8361 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8363 * BufferView_pimpl.C:
8364 * BufferView2.C: clear selection on paste (bug 393)
8366 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8368 * DepTable.C: include ctime
8370 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8372 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8374 2002-05-14 Juergen Vigna <jug@sad.it>
8376 * text.C (breakParagraph): fixed function to honor the keepempty
8377 layout in the right maner and also to permit the right breaking
8378 algorithm on empty or non empyt keepempty paragraphs.
8380 * paragraph.C (breakParagraph): we have to check also if the par
8381 is really empty (!size()) for isempty otherwise we do the wrong
8384 2002-05-10 Juergen Vigna <jug@sad.it>
8386 * buffer.[Ch] : The following are only changes to the ert
8387 compatibility read reading old LaTeX layout and font stuff and
8388 convert it to ERTInsets.
8390 * buffer.h: added isErtInset().
8392 * buffer.C (struct ErtComp): add a fromlayout bool to check
8393 if we're inside a LaTeX layout.
8394 (isErtInset): new helper function.
8395 (insertErtContents): look for other ert insets before this one
8396 and insert the contents there, so that we don't have subsequent
8397 ERT insets with nothing between them. This way we create only one
8398 inset with multiple paragraphs. Also check if we don't insert only
8399 spaces ' ' as they are ignored anyway afterwards in the .tex file
8400 so if we have only spaces we will ignore this latex part in the
8402 (parseSingleLyXformat2Token \\layout): better compatibility when
8403 reading layout-latex stuff.
8404 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8406 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8407 stuff after reading the inset only get the information back from
8410 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8412 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8414 * LaTeXFeatures.C (getBabelOptions): New method.
8416 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8418 * BufferView_pimpl.C (Dispatch): work around missing argument for
8421 2002-05-08 Juergen Vigna <jug@sad.it>
8423 * text.C (leftMargin): handle paragraph leftindent.
8425 * paragraph.C (writeFile): write the new \\leftindent tag.
8426 (validate): handle leftindent code.
8427 (TeXEnvironment): handle paragraphleftindent code again.
8429 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8431 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8432 for paragrap_extra indent code and new token \\leftindent.
8433 (latexParagraphs): handle the leftindent as environment.
8435 * ParameterStruct.h: added leftindent support.
8437 * ParagraphParameters.C (leftIndent): added support functions for
8438 the paragraph left indent.
8440 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8443 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8445 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8448 * text.C (computeBidiTables): No bidi in insetERT.
8450 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8453 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8455 * version.C.in: pre 5
8457 2002-05-02 José Matos <jamatos@fep.up.pt>
8458 * buffer.C (makeDocBookFile): white space changes, add newline to
8460 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8462 * tabular.C (docBook): fix typo.
8464 2002-05-03 Juergen Vigna <jug@sad.it>
8466 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8467 change in LyXText as we can not be sure it was not freed.
8468 (drawOneRow): remove unused code.
8470 * text.C (drawInset): redo the calculation of the need_break_row as
8471 it could have a row which was already freed.
8472 (draw): look at the return value of drawInset and return false if
8473 it also returned false.
8474 (paintRowText): look at the return value of draw and return false if
8475 it also returned false.
8477 * lyxtext.h: added bool return type to drawInset() and draw() so that
8478 if we have a change in the row so that the rowbreak has to be redone
8479 we abort drawing as it will be called again.
8481 2002-05-02 Juergen Vigna <jug@sad.it>
8483 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8484 a change in the maintext also if we're inside an inset.
8485 (Dispatch): set the cursor again after a break line and after the
8486 screen has been updated as it could be we're in a different row.
8488 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8489 to set the cursor behind the pargraph with > size().
8490 (setCursor): check also for the same paragraph when checking where
8491 to put the cursor if we have a NFR inset.
8493 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8494 parts of layout read further up as it still was in the wrong
8497 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8499 * screen.C (drawFromTo): change sine fullRebreak always return
8502 * buffer.C (parseSingleLyXformat2Token): reindent some
8504 * BufferView_pimpl.C (update): change since fullRebreak always
8506 (Dispatch): git rid of the last hardcoded "Standard"s.
8508 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8510 * text2.[Ch] (fullRebreak): make it return void now that we always
8513 2002-04-30 Juergen Vigna <jug@sad.it>
8515 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8516 ert compatibility check for "latex" layout.
8518 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8520 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8521 minipages: use col% instead of p%, and also use the current font.
8522 (makeLaTeXFile): Fix use babel condition.
8523 (parseSingleLyXformat2Token): Correct font when reading old floats.
8525 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8527 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8528 inserting list of floats.
8530 2002-04-25 Herbert Voss <voss@lyx.org>
8532 * MenuBackend.C (expand): don't add the graphics extensions to the
8535 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8537 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8538 non-existing layout, do not complain if it was the default layout
8539 of the original class (bug #342)
8541 2002-04-24 Juergen Vigna <jug@sad.it>
8543 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8544 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8546 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8548 * buffer.C (getBibkeyList): If using \bibliography, return the
8549 option field with the reference itself. Enables us to provide natbib
8550 support when using \bibliography.
8552 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8554 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8556 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8557 natbib is provided by the LaTeX class.
8559 2002-04-23 Juergen Vigna <jug@sad.it>
8561 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8564 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8566 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8568 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8570 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8571 ensuremath around textordmasculine, textordfeminine and
8574 2002-04-19 Juergen Vigna <jug@sad.it>
8576 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8577 reinitializing the buffer otherwise row-dimensions may be wrong.
8578 (update): reset also the selection cursors if they do exits otherwise
8579 their x/y positions may be wrong.
8581 * text2.C (cursorDown): don't enter the inset if we came from a row
8582 above and are one row over the inset.
8584 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8585 really leaving an inset.
8587 2002-04-18 Juergen Vigna <jug@sad.it>
8589 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8590 of the selected paragraph does not have the selected layout also if
8593 * text2.C (setLayout): fixed bug which did not change last selected
8596 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8597 changed the read and substituted \\end_float with \\end_inset!
8599 * BufferView_pimpl.C (cursorPrevious):
8600 (cursorNext): fixed to make it work with rows heigher than the work
8601 area without moving the cursor only the draw of the row.
8602 (workAreaMotionNotify): fix jumping over high rows.
8604 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8606 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8609 2002-04-16 Juergen Vigna <jug@sad.it>
8611 * text2.C (setCursor): set also the irow().
8612 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8614 (cursorDown): support for locking an inset if the x_fix value goes
8615 inside it. That way I can transverse insets too with cursor up/down.
8617 * lyxrow.h: added irow helper function same as other (i) functions.
8619 * BufferView_pimpl.C (cursorPrevious):
8620 (cursorNext): fixed for insets!
8622 2002-04-15 Juergen Vigna <jug@sad.it>
8624 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8625 position otherwise it is wrong in some cases.
8627 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8628 inside the inset before the call.
8630 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8632 * buffer.[Ch] (getBibkeyList): make it const.
8634 2002-04-12 Juergen Vigna <jug@sad.it>
8636 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8638 * text2.C (getCursorX): new helper function
8639 (setCursor): compute also ix_
8640 (setCursorFromCoordinates): set also ix.
8642 * lyxcursor.h: added ix_ and helper functions.
8644 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8646 * buffer.C (insertStringAsLines): dont break paragraph if the this
8647 paragraph is inside an inset which does not permit it!
8649 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8650 also with no chars on this paragraph.
8651 (paintRowText): only paint stuff if it's inside the workarea!
8653 * paragraph.C (breakParagraph): honor keepempty flag and break the
8654 paragraph always below not above.
8656 * BufferView2.C (unlockInset): update the paragraph layout on inset
8657 unlock as we changed paragraph in such a case.
8659 * lyxfind.C (LyXFind): clear the former selection if not found!
8661 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8662 again called in insertChar().
8664 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8665 an inset which uses the whole row!
8666 (rightMargin): ditto.
8667 (insertChar): force a rebreak if we inserted an inset!
8669 2002-03-28 Herbert Voss <voss@lyx.org>
8671 * lyxlength.[Ch]: add inBP() to get the right PS-point
8672 units (BigPoint). With inPixels we have rounding errors
8674 2002-04-11 Juergen Vigna <jug@sad.it>
8676 * text2.C (setCursorFromCoordinates): set iy to the right value.
8677 (setCursor): add check if row->previous exists!
8679 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8680 an old float_type as this was the case in the old code!
8682 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8684 * BufferView2.C (showLockedInsetCursor): use iy
8685 (fitLockedInsetCursor): ditto
8687 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8688 locked insets as there we have the right value now.
8690 * lyxcursor.C: added iy_ variable and iy functions to set to the
8691 baseline of cursor-y of the locked inset.
8693 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8694 (setCursor): fixed for insets which need a full row.
8696 * text.C (rowLastPrintable): don't ignore the last space when before
8697 an inset which needs a full row.
8698 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8699 as last character of a row when before a inset which needs a full row.
8701 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * version.C.in: update date
8705 * text2.C (fullRebreak): try to always return true and see what
8708 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8710 * MenuBackend.C (expand): use Floating::listName
8712 * FloatList.C (FloatList): add listName argument to the built-in
8715 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8716 text associated with the float.
8718 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8722 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * ShareContainer.h: add a couple of missing typenames.
8726 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8728 * lyxrc.C (getDescription): use _() correctly rather than N_().
8730 2002-03-28 Herbert Voss <voss@lyx.org>
8732 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8733 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8735 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8737 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8738 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8740 2002-03-29 Juergen Vigna <jug@sad.it>
8742 * lyxfunc.C (dispatch): add a missing fitCursor call.
8744 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8745 it was scrolled by a cursor move, so return the bool status.
8747 * BufferView.C (fitCursor): return the bool flag also to the outside
8748 world as this is needed.
8750 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8752 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8753 call the edit() as it is not needed (and wrong) IMO.
8754 (workAreaButtonPress): set the screen_first variable before evt.
8755 unlock the inset as this may change screen_first and then we have
8756 a wrong y position for the click!
8758 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8760 * MenuBackend.C (expand): another translation that I missed
8762 2002-03-28 Juergen Vigna <jug@sad.it>
8764 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8766 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8768 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8772 * MenuBackend.C (expand): fix export/view/update when there is no
8775 2002-03-27 Herbert Voss <voss@lyx.org>
8777 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8780 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8782 * bufferview_funcs.C (currentState): only show paragraph number
8783 for is DEVEL_VERSION is set.
8785 * lyxfunc.C (dispatch): put warning in INFO channel
8787 * MenuBackend.C (expand): translate the name of floats
8789 * FloatList.C (FloatList): mark the float names for translation
8791 * converter.C (convert): use LibScriptSearch
8793 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8795 * MenuBackend.C (defaults): fix default menu (we might as well get
8798 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8800 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8803 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8805 * lyxvc.C: reorder includes.
8807 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8809 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8812 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8814 * CutAndPaste.C: change layouts earlier on paste
8815 to avoid crashing when calling getFont()
8817 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8819 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8822 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8824 * WorkArea.C: remove 'Pending' debug message.
8826 * most files: ws cleanup
8828 * buffer.[Ch]: ws changes
8830 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8832 2002-03-21 Juergen Vigna <jug@sad.it>
8834 * tabular.C (SetMultiColumn): collapse also the contents of the
8835 cells and set the last border right. Added a Buffer const * param.
8837 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8839 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8842 2002-03-19 Juergen Vigna <jug@sad.it>
8844 * text2.C (clearSelection): reset also xsel_cache.
8846 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8847 where it needs to be called (John tells us to do so too :)
8848 (selectionLost): reset sel_cache.
8850 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8852 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8854 * text2.C (setCursorIntern): put debuging code in INSETS channel
8856 2002-03-19 André Pönitz <poenitz@gmx.net>
8858 * lyxfunc.C: tiny whitespace change
8860 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8862 * ToolbarDefaults.C (init):
8863 * LyXAction.C (init):
8865 * BufferView_pimpl.C (Dispatch):
8866 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8868 2002-03-19 Allan Rae <rae@lyx.org>
8870 * exporter.C (Export): removeAutoInsets before doing anything else.
8871 While I've just introduced a dependency on BufferView this really is
8872 the best place to clean the buffer otherwise you need to cleanup in
8873 a dozen places before calling export or cleanup in a dozen functions
8876 * converter.C (runLaTeX):
8877 (scanLog): Better handling of removeAutoInsets and screen updates.
8879 * lyxfunc.C (dispatch): small whitespace changes
8881 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8883 * WorkArea.C (C_WorkAreaEvent): return a value.
8884 (event_cb): return 1 if we handled the event, 0 otherwise.
8886 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8888 2002-03-18 Juergen Vigna <jug@sad.it>
8890 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8891 (GetAdditionalWidth): ditto.
8895 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8896 inset if we're there actually (probably not used right now but this
8897 is the direction to go for unifying code).
8898 (paste): disable code to clear the selection.
8900 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8901 inside an InsetText and move the check further up as it is in the
8904 * text2.C (pasteSelection): set a selection over the pasted text.
8906 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8908 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8909 and libgraphics to build on Cygwin.
8911 2002-03-15 Juergen Vigna <jug@sad.it>
8913 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8914 inserting an Inset into the paragraph. I know this is not the best
8915 fix but we already use current_view in CutAndPaste so we will remove
8916 all of it's using at the same time.
8918 * buffer.C (sgmlError): deactivated function till it is rewritten in
8919 the right mode, now it can create problems.
8921 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8922 before accessing it.
8924 2002-03-14 Juergen Vigna <jug@sad.it>
8926 * undo_funcs.C (textHandleUndo): do the right thing when updating
8927 the inset after the undo/redo.
8929 * text2.C (setCursor): just some testcode for #44 not ready yet.
8931 * undo_funcs.C (textHandleUndo): set the next() and previous()
8932 pointers of the paragraph to 0 before deleting otherwise we have
8933 problems with the Paragraph::[destructor].
8935 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8936 on a paragraph insertion.
8938 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * buffer.C (asciiParagraph): use += operator for char append to
8943 * paragraph.C (getFontSettings): compare >= not just >
8944 (highestFontInRange): ditto
8947 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * paragraph.C: change several algorithm to be more appripriate for
8950 the problem domain. This is lookip in FontList and in the InsetList.
8952 2002-03-13 André Pönitz <poenitz@gmx.net>
8955 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8957 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8962 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8964 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8966 * Painter.C (display): anon helper function, adjust code for this
8968 (pixmap): remove function.
8970 * Painter.h: remove private display variable.
8972 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8974 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8976 * WorkArea.[Ch]: remove figinset_canvas cruft.
8978 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8980 * lyxtextclass.C (operator): add one item cache optimization.
8982 * bufferlist.h: doxy changes
8984 * bufferlist.C: ws changes
8986 * DepTable.[Ch] (ext_exist): place const in the right spot.
8988 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8990 (workAreaExpose): call resizeInsets when the with BufferView changes.
8991 (Dispatch): adjust for protectedBlank removal
8992 (specialChar): call updateInset if the insert went ok.
8994 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8995 specialChar instead.
8997 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8999 * BufferView.h: doxy change
9001 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9003 * lyxtextclass.C (operator[]): remove non-const version
9004 (defaultLayout): remove non-const version
9006 2002-03-12 Juergen Vigna <jug@sad.it>
9008 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9009 did resize the LyXText too.
9011 * buffer.C (readLyXformat2): set layout information on newly allocated
9014 * tabular.C (OldFormatRead): set layout information on the paragraph.
9016 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9018 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9020 2002-03-11 Juergen Vigna <jug@sad.it>
9022 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9024 (resizeCurrentBuffer): force also the insets to resize themselfes.
9025 (moveCursorUpdate): fixed up for InsetText.
9027 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9030 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9031 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9032 value of Dialogs::tooltipsEnabled().
9033 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9035 2002-03-08 Juergen Vigna <jug@sad.it>
9037 * BufferView_pimpl.C (updateInset): update inset inside inset also
9038 if it isn't inside theLockingInset().
9040 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * buffer.C (asciiParagraph): redo some of the word and line length
9044 (getLists): look for Caption instead of caption.
9046 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * buffer.C (Buffer): initialize niceFile to true
9051 (makeDocBookFile): make sure niceFile is true on exit
9053 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9057 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9059 * LyXSendto.C: remove.
9060 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9061 * lyx_gui.C: remove now-redundant comment.
9062 * ColorHandler.h: remove forward declaration of class WorkArea.
9063 * lyxfunc.C: remove #include "WorkArea.h".
9065 2002-03-07 Juergen Vigna <jug@sad.it>
9067 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9068 got moved away with the DEPM and also set the inset_owner always
9069 right which before could have been omitted.
9071 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9074 wanted layout is not found.
9076 2002-03-07 Juergen Vigna <jug@sad.it>
9078 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9080 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9082 * paragraph.C (breakParagraph): use default layout not layout of
9084 (Paragraph): clear ParagraphParameters.
9086 2002-03-06 Juergen Vigna <jug@sad.it>
9088 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9089 otherwise it would not be a valid lenght. Fixed a special case in
9090 the minipage compatibility read where we end the document with a
9093 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9094 was set as it could be 0 for InsetTexts first entry.
9096 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9098 * paragraph.C (writeFile): if layout is empty write out
9099 defaultLayoutName().
9101 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9102 file without named layout we set layout to defaultLayoutName().
9104 2002-03-06 Juergen Vigna <jug@sad.it>
9106 * CutAndPaste.C (copySelection): set layout for new paragraph.
9108 * text.C (prepareToPrint): leave ERT inset left aligned
9109 (leftMargin): don't indent paragraphs inside ERT insets
9111 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * paragraph.C (breakParagraph): dont call clear do the work manually
9115 * paragraph.[Ch] (clear): remove function
9117 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9119 * paragraph.C (Paragraph): dont call clear, the work has already
9122 * lyxtextclass.C (operator): assert if n is empty
9124 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9125 work manually instead.
9127 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9129 * BufferView_pimpl.C: protect selectionLost against text == 0
9131 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * text.C (breakParagraph): fix a setting layout to '0' problem.
9135 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9137 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9138 final location of file, for the included files, and graphics.
9140 2002-03-05 Juergen Vigna <jug@sad.it>
9142 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9144 2002-03-04 Juergen Vigna <jug@sad.it>
9146 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9148 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9149 last column of multicolumn cells.
9150 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9152 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9154 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9155 file if it doesn't go to a temporary file.
9157 * buffer.C (sgmlOpenTag):
9158 (sgmlCloseTag): remove extra newline insertion.
9160 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9162 * text.C (getRowNearY): comment out debug msg
9164 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9166 * text2.C: first -> first_y
9168 * text.C (getRowNearY): add some attemts at a possible
9169 optimization, not working.
9171 * tabular.[Ch]: add BufferParams to several function so that newly
9172 created paragraph can be initialized to he default layotu for the
9175 * tabular-old.C (ReadOld): add buf->params to call of Init
9177 * screen.C: rename text->first to text->first_y
9179 * paragraph.C (breakParagraph): always set layout in the broken
9182 * lyxtextclass.C (Read): remove lowercase
9185 (delete_layout): ditto
9187 * lyxtext.h: rename first -> first_y
9189 * lyxlayout.C (Read): remove lowercase
9192 (obsoleted_by): ditto
9194 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9196 * buffer.C (insertErtContents): add params are to InsetERT
9197 (parseSingleLyXformat2Token): add code to check if a paragraphs
9198 layout really exist.
9199 (parseSingleLyXformat2Token): add params to several inset
9201 (asciiParagraph): remove lowercase, do the layout comparisons with
9204 * BufferView_pimpl.C (cursorNext): first -> first_y
9205 (resizeCurrentBuffer): first -> first_y
9206 (updateScrollbar): first -> first_y
9207 (scrollCB): first -> first_y
9208 (workAreaMotionNotify): first -> first_y
9209 (workAreaButtonPress): first -> first_y
9210 (checkInsetHit): first -> first_y
9211 (cursorPrevious): first -> first_y
9212 (cursorNext): first -> first_y
9213 (Dispatch): add buffer_->params to severl inset contructors
9215 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9217 * lyxlayout.C (Read): remove some debug info that I forgot.
9219 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9220 clean up the code slightly.
9221 (makeLinuxDocFile): ditto
9222 (makeDocBookFile): ditto
9224 * text2.C: layout as string
9226 * text.C: layout as string
9228 * paragraph_pimpl.C: layout as string
9230 * paragraph.[Ch]: layout as string
9232 * lyxtextclasslist.[Ch]: layout as string
9234 * lyxtextclass.[Ch]: layout as string
9236 * lyxtext.h: layout as string
9238 * lyxlayout.[Ch]: layout as string
9240 * lyx_cb.C: layout as string
9242 * bufferview_funcs.C: layout as string
9244 * bufferparams.C: layout as string
9246 * buffer.C: layout as string
9248 * LyXView.[Ch]: layout as string
9250 * LaTeXFeatures.[Ch]: layout as string
9252 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9254 * BufferView_pimpl.C: change current_layout to string, remove
9259 (workAreaButtonRelease): layout as string
9261 * BufferView2.C (unlockInset): adjust
9263 * vspace.C (asLatexCommand): use an explict temp variable.
9265 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9267 * Makefile.am: use FRONTEND_*
9269 2002-03-01 Juergen Vigna <jug@sad.it>
9271 * tabular.C (SetWidthOfMulticolCell): changed to something better
9272 I hope but still work in progress.
9273 (recalculateMulticolumnsOfColumn): renamed function from
9274 recalculateMulticolCells as it is more appropriate now.
9275 (SetWidthOfCell): calculate multicols better.
9277 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9279 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9281 * lyxfunc.C (processKeySym): print sequence also if it is
9282 `deleted' (complete)
9284 * kbsequence.C (print): print sequence even if it is deleted
9285 (complete would be a better word, actually).
9287 * lyxfunc.C (dispatch): print complete options after a prefix key
9289 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9291 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9293 * text2.C (setCharFont): eliminate setCharFont code duplication.
9295 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9297 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9298 LFUN_TABULAR_FEATURE (bug #177)
9300 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9302 * Makefile.am: remove figure.h
9304 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9306 * Bufferview_pimpl.C:
9318 * text2.C: remove #include "lyx_gui_misc.h".
9320 * LaTeX.C: added #include <cstdio>
9322 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9324 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9325 that the paragraph following this one can have.
9327 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9329 * vspace.C (asLatexCommand): fix bogus gcc warning
9331 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9333 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9335 * text2.C (setLayout): get rid of redundant code
9337 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9339 * text2.C (incDepth): make sure depth cannot be increased beyond
9342 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9344 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9345 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9347 * PainterBase.h (image):
9348 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9351 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9355 * BufferView_pimpl.C:
9356 * BufferView_pimpl.h:
9376 * sp_spell.C: remove fig inset, and the crap house of
9377 cards that follows it
9379 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9385 * nt_defines.h: move .h into support/
9387 * vms_defines.h: remove
9389 * WorkArea.C: add space in debug output
9393 * buffer.C: add WITH_WARNINGS
9397 * bufferlist.C: s/retrive/retrieve/, add docs
9408 * lyxgui.C: add ID to X error handler
9410 * lyxtestclass.c: fix typo
9412 2002-02-26 Juergen Vigna <jug@sad.it>
9414 * tabular_funcs.C (write_attribute): changed so that some default
9415 attributes are not written at all.
9416 (getTokenValue): set default values before trying to read the
9417 value so we have the return value always set as default if we don't
9418 find the token we search for.
9420 * tabular.C (Write): write bools as bools not as strings!
9422 2002-02-22 Juergen Vigna <jug@sad.it>
9424 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9425 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9427 * text.C (leftMargin): don't add an indent for paragraphs inside
9428 tabular cells (fix #208).
9430 2002-02-21 José Matos <jamatos@fep.up.pt>
9432 * tabular.C (docBook): fixed support for long tables.
9434 2002-02-20 Juergen Vigna <jug@sad.it>
9436 * text2.C (getFont): get the drawing font of the Inset if this
9437 paragraph is inside an inset (only important for InsetERT for now).
9439 * buffer.C (insertErtContents): use new lanugage params in ERT
9442 * CutAndPaste.C: commenting out seemingly uneeded code.
9444 2002-02-19 Allan Rae <rae@lyx.org>
9446 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9447 Iterators might be simple to use but they also get invalidated.
9448 (removeAutoInsets): renamed saved cursor tracking variables and added
9449 some comments to clarify what everything does.
9451 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9458 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9459 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9462 * vc-backend.h: remove #include "support/syscall.h"
9466 * converter.C: rearrange #includes in Lars' approved fashion.
9468 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9469 forward declare class Timeout in the header file.
9471 * XFormsView.C: changes due to the above.
9473 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9476 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9477 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9479 2002-02-18 José Matos <jamatos@fep.up.pt>
9481 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9484 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9486 * a lot of small ws changes
9487 * add a lot of using std::XXX
9488 * use std construcs some places where approp.
9489 * use some exisint stuff from lyxfunctional where approp.
9490 * Make file changes to use partial linking (lets test this now...)
9492 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9496 remove #include "support/syscontr.h" as it's redundant. Always has been.
9504 change Systemcalls::System to Systemcalls::Wait and
9505 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9506 No change of functionality, just reflects the stripped down Systemcalls
9509 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9511 * debug.[Ch]: add a GRAPHICS type to the enum.
9513 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9515 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9517 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9520 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9523 match the changes below.
9525 * text2.C (toggleInset): if there is not editable inset at cursor
9526 position, try to see if cursor is _inside_ a collapsable inset
9529 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9531 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9532 document menu has a nice checkbox
9534 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9536 * lyxlength.C (asLatexString): change PW to output as percent of
9539 * lengthcommon.C: change '%' to 't%'
9541 * lyxfunc.C (dispatch): a few comments from Martin
9543 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9547 * BufferView_pimpl.h:
9548 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9551 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * vspace.C (inPixels): fix compiler warning
9555 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9557 * lyxfunc.C (getStatus): fix status message for disabled commands.
9559 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9561 * BufferView_pimpl.C: fix crash on close buffer
9562 during selection (#227)
9564 2002-01-27 Herbert Voss <voss@lyx.org>
9566 * buffer.C: link old Figure to new graphic inset
9568 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9570 * FontLoader.C (getFontinfo): Change the latex font names in order
9571 to match the names of type1inst.
9573 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9577 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9580 (remove_files_with_extension): ditto
9581 (remove_file): ditto
9584 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9585 document is smaller than the work area height. Do not initialize
9586 static variables to 0.
9588 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9592 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9593 LFUN_LAYOUT_PARAGRAPHS.
9595 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9596 tabular. It is possible to provide a possible cell, which will
9597 typically be the actcell from the corresponding insettabular
9599 * lyxfunc.C (getStatus): small cleanup; disable
9600 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9603 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9605 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9607 * paragraph.C (startTeXParParams):
9608 (endTeXParParams): new methods. The LaTeX code to
9609 start/end paragraph formatting
9610 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9611 empty (fixes bug #200)
9613 * vspace.C (inPixels): adapt to the change below
9614 (inPixels): [later] more cleanups (remove unused variables)
9616 * lyxlength.C (inPixels): change to use a width and a height as
9619 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9622 Replaced with \paperwidth
9624 * DepTable.C (insert): add std:: qualifier
9626 2002-01-18 Allan Rae <rae@lyx.org>
9628 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9631 * text.C (drawInset): Turned out I didn't know enough about how
9632 rebreaking worked. This fixes most of the redraw problems. I see
9633 an occasional cursor trail when a line is broken now and the cursor
9634 placement can seem out by a few pixels also after a rebreak.
9636 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9638 * buffer.C (parseSingleLyXformat2Token): update because minipage
9639 width is now a LyXLength
9641 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9643 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9646 2002-01-17 Juergen Vigna <jug@sad.it>
9648 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9650 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9651 is set correctly and the inset is updated correctly.
9653 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9655 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9656 the beginning of the loop.
9658 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9660 * lyxrc.C: improve help for use_scalable_fonts
9662 2002-01-17 Allan Rae <rae@lyx.org>
9664 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9666 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9668 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9669 make sure to set their inset_owner to the right value (bug #171)
9671 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9674 * DepTable.C: Implement mtime checking to reduce time spent doing
9677 2002-01-16 Juergen Vigna <jug@sad.it>
9679 * tabular.C (GetAdditionalHeight): one of error fixed.
9681 * lyxrc.C (output): small fix in writing use_pspell.
9683 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9685 * sp_base.h: #include LString.h
9687 2002-01-16 Allan Rae <rae@lyx.org>
9689 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9690 Can someone check this please?
9692 * text.C (drawInset): It was possible that p.row would be removed by
9693 breakAgainOneRow upsetting a few other settings. There may be another
9694 small tweak possible by setting need_break_row = 0 when p.row has been
9695 removed but I don't know enough about the logic here.
9697 2002-01-15 Allan Rae <rae@lyx.org>
9699 * text.C (insertChar): removed conditional truism.
9701 * BufferView2.C (removeAutoInsets): More tweaks.
9702 cur_par_prev could be a stray pointer. Check for trailing empty line
9703 in case last line was cur_par and only had an error inset on it.
9705 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9707 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9710 * vc-backend.C (most methods):
9711 * exporter.C (Export):
9712 * converter.C (convert):
9714 * LyXSendto.C (SendtoApplyCB):
9715 * lyxfunc.C (dispatch):
9719 * lyx_cb.C (AutoSave):
9721 * BufferView_pimpl.C (MenuInsertLyXFile):
9722 * buffer.C (runChktex): use Buffer::filePath().
9724 * buffer.h: rename filename to filename_; rename filepath to
9725 filepath_ and make it private
9726 (filePath): new method
9728 * buffer.C (writeFile): use fileName()
9731 * lyx_main.C (init): fix starting of LyX when the binary is a
9732 link from so,ewhere else.
9734 * minibuffer.C: include <cctype> for isprint
9736 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9738 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9739 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9740 name clash with InsetCollapsable's width function.
9742 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9744 * lastfiles.C: include <iterator>
9746 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9748 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9751 * buffer.C (makeLaTeXFile): ditto.
9752 Also make loop operation more transparent.
9754 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9756 * ToolbarDefaults.C: remove trailing comma closing namespace.
9758 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9760 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9763 * trans.C (Load): comment out unused variable, allowed.
9765 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9767 * minibuffer.[Ch] (append_char): new method to recieve input from the
9768 drop-down completion browser. If a key was pressed, then recieve this
9769 char and append it to the existing string.
9770 (peek_event): modify the positioning data passed to the completion
9771 browser so that it can be placed above the minibuffer rather than below.
9772 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9774 * LyXAction.C (init): alloe error-next for readonly documents.
9776 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9779 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9781 * bufferlist.C (readFile): create the buffer _after_ checking that
9784 * lyxfunc.C (verboseDispatch): fix handling of arguments
9786 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9788 * lyxrc.C: use string::erase() instead of initializing to "".
9791 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9793 * BufferView_pimpl.h:
9794 * BufferView_pimpl.C:
9797 * text2.C: tell X when we have made a selection for copying
9799 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9801 * BufferView_pimpl.C (MenuInsertLyXFile):
9802 * lyxfunc.C (menuNew):
9804 (doImport): add shortcuts to directory buttons
9806 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9809 * lyxfunc.C (setStatusMessage):
9810 (getStatusMessage): new methods
9811 (getStatus):use setStatusMessage instead of setErrorMessage
9812 (dispatch): when function is disabled, set error message here
9813 [instead of in getStatus previously]
9815 * BufferView_pimpl.C (workAreaButtonRelease): update
9816 toolbar/menubar here too.
9818 2002-01-13 Allan Rae <rae@lyx.org>
9820 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9821 Now seems indestructible. Remaining task is to audit all other
9822 code affected by deleteEmptyParagraphMechanism. One small quirk
9823 left is that an empty document with an error in the preamble can
9824 be made to report an error but no error box appears. I don't know
9826 (removeAutoInsets): Improved comments.
9828 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9831 * Thesaurus.C: update for Aiksaurus 0.14
9833 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * text2.C (firstParagraph): removed member function, all uses
9836 replaces with ownerParagraph
9837 (redoParagraphs): here
9839 (toggleAppendix): here
9840 * BufferView2.C (insertErrors): here
9841 (setCursorFromRow): here
9843 2002-01-13 Allan Rae <rae@lyx.org>
9845 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9846 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9847 There is still a way to segfault this although you may have to do this
9848 multiple times: Have an InsetERT with an unknown command in it.
9849 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9850 <down-arrow>, <Enter> again, View->DVI, BANG!
9852 * text2.C (setCursor):
9853 (deleteEmptyParagraphMechanism):
9854 * lyxtext.h (setCursor):
9855 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9856 Making use of the return value may help fix other bugs.
9858 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9860 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9862 * LyXView.C (updateMenubar): call MenuBar::update here
9863 (updateToolbar): but not here
9864 (showState): do not update toolbar/menubar
9866 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9867 should need to care about that.
9869 * lyxfunc.C (verboseDispatch): simplify a bit
9870 (getStatus): have a version which takes a pseudoaction, and
9871 another which requires a (kb_action,string).
9873 * LyXAction.C (retrieveActionArg): make it work also when action
9874 is not a pseudo-action.
9875 (getActionName): simplify a bit
9878 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * lyxfunc.C (verboseDispatch): new families of methods with
9881 several ways to specify a command and a bool to indicate whether
9882 the command name and shortcut should be displayed in minibuffer
9883 (eventually, we could extend that to a finer bitmask like
9884 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9885 (dispatch): the pristine dispatch command which just, well,
9886 dispatchs! Note it still sets its result to minibuffer; I'm not
9889 * lyxfunc.h: remove setHintMessage
9891 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9893 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9895 * BufferView_pimpl.C (specialChar): delete new inset if we have
9896 not been able to insert it.
9898 * kbmap.C: revert to using int instead of kb_action, since all we
9899 are dealing with is pseudo-actions.
9901 * LyXAction.C (searchActionArg): change to return int instead of
9902 kb_action, since the result is a pseudoaction.
9904 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9906 * buffer.C (insertErtContents): Fix (partially) the font bug.
9908 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9910 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9911 as the other one is broken on my machine!
9913 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9916 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9918 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9920 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9921 reflect their actual use. Provide compatibility code for older lyxrc
9924 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9926 change names of popup font variables in line with the changes to lyxrc.C
9928 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * buffer.C (asciiParagraph): avoid outputing a word twice after
9933 * lyxrc.C (getDescription): document that document_path and
9934 template_path can be empty.
9936 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9938 * LaTeXFeatures.C (getMacros):
9939 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9941 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9943 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9945 (getPackages): rename feature "floats" to "float". Use an array to
9946 iterate over 'simple' features (i.e. just a \usepackage). Add
9947 handling of "amsmath" (renamed from "amsstyle").
9949 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9951 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9954 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9956 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9957 FuncStaus::FuncStatus & FuncStaus::some_method().
9959 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9961 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9962 of the func_satus stuff. Edited and massaged in various ways by
9965 * lyxfunc.C (getStatus): use FuncStatus
9967 2002-01-08 Juergen Vigna <jug@sad.it>
9969 * text.C (nextBreakPoint): use function Inset::isChar().
9971 * paragraph.C (TeXOnePar): use function
9972 Inset::forceDefaultParagraphs.
9974 * buffer.C (latexParagraphs): use function
9975 Inset::forceDefaultParagraphs.
9977 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9979 * lyx_gui.C (init): set the style of the menu popups to
9980 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9982 2002-01-07 Juergen Vigna <jug@sad.it>
9984 * text.C (setHeightOfRow): small fix
9985 (prepareToPrint): don't look at alignment if we don't have the place
9988 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9990 * box.C: New file. Move the Box methods and functions out of box.h,
9991 following Lars' suggestion.
9993 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9995 * box.h: #include "support/LOstream.h", needed for inlined function.
9998 * lyxtextclasslist.C: added some using std declarations.
10000 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10002 * box.h: make signed dimensions to allow insets wider than
10003 the screen (bug #162)
10005 * BufferView_pimpl.C: add some insetHit debug
10007 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10009 * vc-backend.C: add FIXME
10011 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10013 * lyxfunc.C (getStatus): enable code for showing math font status
10016 2002-01-07 Juergen Vigna <jug@sad.it>
10018 * text.C (nextBreakPoint): removed debug output not needed anymore.
10020 2002-01-06 Juergen Vigna <jug@sad.it>
10022 * text.C (nextBreakPoint): fixed up this function we had this bug
10023 since ever but now hopefully we break row better.
10024 (insertChar): we have to check if an inset is the next char as it
10025 could now happen that a large inset is causing a break.
10027 2002-01-05 Juergen Vigna <jug@sad.it>
10029 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10030 if it doesn't like to be drawed.
10032 2002-01-04 Juergen Vigna <jug@sad.it>
10034 * BufferView2.C (lockInset): forgot to set a cursor.
10036 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10038 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10040 * FormMathsPanel.C:
10043 * form_maths_panel.C:
10044 * form_maths_panel.h:
10045 * form_maths_panel.fd: implemented sub- and super- buttons in math
10048 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10049 (or ^ space) to be used as in TeX (req'd by André).
10051 * lyxfunc.C: Allow ^ and _ again to be used both as
10052 super/subscript (mathed) and as themselves (in text).
10054 2002-01-03 Allan Rae <rae@lyx.org>
10056 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10057 "LyX" or the filename of the current buffer if it has one. This is a
10058 modified form of John Levon's patch.
10060 * XFormsView.C (setWindowTitle): also set icon title.
10062 * LyXView.h (setWindowTitle): signature changed.
10063 * XFormsView.h (setWindowTitle): ditto.
10065 2002-01-02 Juergen Vigna <jug@sad.it>
10067 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10069 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10071 * screen.C (topCursorVisible): introduce a temp var for
10072 text->cursor.row(), handle the case where this row is null. (kindo
10075 * text2.C (setCursor): add a couple of asserts.
10077 * paragraph.h (inset_iterator): add -> operator
10079 * paragraph.[Ch] (autoDeleteInsets): remove member function
10081 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10082 cursor pos correctly and handle inset deletion by itself.
10083 (insertErrors): move iterator declaration out of for expression
10085 * lyxtextclass.C: add <algorithm>
10087 * Makefile.am: added the new files to sources, removed layout.C
10089 * layout.C: removed file
10091 * layout.h: remove LYX_DUMMY_LAYOUT
10093 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10097 * lyxtextclass.[Ch]:
10098 * lyxtextclasslist.[Ch]: new files
10100 * include order changes to a lot of files, also changes because of
10103 2001-12-27 Juergen Vigna <jug@sad.it>
10105 * buffer.C (asciiParagraph): more fixes.
10107 * tabular.C (ascii): make ascii export support export of only the
10108 data separated by a column-delimiter.
10109 (ascii): better support for ascii export.
10111 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10113 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10115 * tabular_funcs.C: use a "using std::getline" instead of the
10116 previous fix from Angus (necessary for cxx + lyxstring)
10118 2001-12-24 Juergen Vigna <jug@sad.it>
10120 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10122 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10123 problems. First check a minipage also if we have some ert-contents
10124 (not only on par->size(), second set the right depth of the paragraph
10125 on the relink to the root-paragraph-list!
10127 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10128 which then did not anymore update the main paragraphs on undo/redo!
10130 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10132 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10133 code. Support all font-changing funcs (even those which are not in
10134 menu currently). Support for reporting font settings in
10135 mathed (disabled until Andre provides a function on mathed's side).
10137 * func_status.h (toggle): small helper function to set toggle
10140 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10142 * tabular_funcs.C: getline -> std::getline
10144 2001-12-21 Juergen Vigna <jug@sad.it>
10146 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10147 accessed and could be 0 (I couldn't generate this but it seems
10150 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10152 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10153 * tabular_funcs.h: here and include iosfwd
10155 2001-12-20 Juergen Vigna <jug@sad.it>
10157 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10158 inside inset but undo_par was.
10160 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * Thesaurus.C: always include <config.h> in sources.
10166 * box.h: do not include <config.h> in header files
10168 * text.C (paintLastRow): remove unused variable
10170 * text.C (transformChar):
10172 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10174 * Painter.C (text):
10175 * font.C (width): rewrite to use uppercase() instead of
10178 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10180 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10182 * lyxfind.C: clean up of find failure position change
10184 2001-12-20 Juergen Vigna <jug@sad.it>
10186 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10188 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10189 (TeXRow): added to LaTeX a single tabular row.
10190 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10191 (Latex): simplified and finally good LT-h/f support.
10192 (various_functions): just small adaptions for LT-h/f support.
10194 * tabular_funcs.[hC]: added and moved here all not classfunctions
10197 2001-12-19 Juergen Vigna <jug@sad.it>
10199 * tabular.[Ch]: better support for longtabular options (not finished
10202 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10204 * text.C (paintLastRow): use the label font instead of the font of
10205 the last character to compute the size of *_BOX. This makes more
10206 sense and avoids a crash with empty paragraphs.
10207 Use Painter::rectangle to draw EMPTY_BOX.
10209 2001-12-19 Juergen Vigna <jug@sad.it>
10211 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10212 the paragraphs if the replaced paragraph is not the first one!
10213 Tried to delete not used paragraphs but does not work yet so for
10214 now it's inside #ifdef's and by default off!
10216 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10218 * MenuBackend.C: include "lyx_main.h" instead of declaring
10219 lastfiles (actually was declared as LastFiles* instead of a
10222 2001-12-17 Juergen Vigna <jug@sad.it>
10224 * tabular.C (AppendColumn): applied John's fix
10226 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10230 * BufferView_pimpl.h:
10231 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10234 * box.h: new start of class for above
10236 * lyxfunc.C: ignore space-only minibuffer dispatches.
10237 Show the command name when it doesn't exist
10239 * minibuffer.C: don't add empty lines to the history
10241 * minibuffer.C: add a space on dropdown completion
10243 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10245 * text.C: fix line above/below drawing in insets
10247 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * lyxlength.C (LyXLength): Initialize private variables.
10251 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10253 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10254 when inserting error insets.
10256 2001-12-13 Juergen Vigna <jug@sad.it>
10258 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10259 actually sometimes the before-paragraph.
10260 (setUndo): don't clear the redostack if we're not actually undoing!
10262 2001-12-06 Juergen Vigna <jug@sad.it>
10264 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10265 and fixed redoing of main paragraph, so we can use it now ;)
10267 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10269 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10274 2001-12-13 André Pönitz <poenitz@gmx.net>
10277 * undo_func.C: minor cleanup
10279 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10281 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10282 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10283 font in urw-fonts package which is marked as -urw-fontspecific and
10284 does not work (incidentally, changing the encoding in the
10285 fonts.dir of this package to -adobe-fontspecific fixes the
10288 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10289 is a crash when undoing first paragraph (Juergen, please take a
10290 look). THis does not mean the undo fix is wrong, just that it
10293 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10294 the (Paragraph*) version when needed instead of duplicating the
10297 * text.C (workWidth): use Inset::parOwner to find out where the
10298 inset has been inserted. This is a huge performance gain for large
10299 documents with lots of insets. If Inset::parOwner is not set, fall
10300 back on the brute force method
10302 * paragraph_pimpl.C (insertInset):
10303 * paragraph.C (Paragraph):
10304 (cutIntoMinibuffer): set parOwner of insets when
10305 inserting/removing them
10307 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10309 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10315 * mathed/formulabase.C:
10316 * mathed/math_cursor.[Ch]:
10317 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10320 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * lyxlength.[Ch] (operator!=): new function
10324 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * text.C (workWidth): use Inset::parOwner to find out where the
10327 inset has been inserted. This is a huge performance gain for large
10328 documents with lots of insets. If Inset::parOwner is not set, fall
10329 back on the brute force method
10331 * paragraph_pimpl.C (insertInset):
10332 * paragraph.C (Paragraph):
10333 (cutIntoMinibuffer): set parOwner of insets when
10334 inserting/removing them
10336 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10338 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * tabular-old.C (getTokenValue):
10341 * tabular.C (getTokenValue):
10342 (write_attribute): new versions for LyXLength
10343 (everywhere): adjust the use of widths
10345 * tabular.h: change the type of widths from string to LyXLength
10347 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10349 * paragraph.C: fixed missing line number count when exporting
10350 Environments to LaTeX file
10352 * buffer.C: added informational message for checking line numbers.
10354 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10357 paragraph, do the 'double space' part, but not the 'empty
10360 * text.C (workWidth): small optimization
10361 (getLengthMarkerHeight): use minimal size for negative lengths.
10363 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10365 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10367 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10369 2001-12-11 André Pönitz <poenitz@gmx.net>
10372 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10374 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10376 * text2.C: keep selection on a setFont()
10378 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10380 * lyx_cb.C: another bv->text misuse, from insert label
10382 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10385 * kbsequence.C: re-instate nmodifier mask
10387 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10389 * lyx_main.h: make lyxGUI private.
10391 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10393 * lyxfind.C: place the cursor correctly on failed search
10395 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10397 * text.C (getLengthMarkerHeight): for small heights, the arrows
10398 are not always on top/bottom of the text
10399 (drawLengthMarker): smaller arrows; take the left margin in
10400 account; draw also vfills.
10402 (paintLastRow): remove special code for vfill and standard spaces,
10403 since everything is handled in drawLengthMarker now.
10405 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10407 * buffer.C (insertErtContents): try to handle font and language
10408 interaction a bit better.g
10410 * ColorHandler.C (updateColor): change the hash to cover the whole
10411 LColor enum, ws cleanup
10412 (getGCLinepars): ditto
10413 (getGCLinepars): only lookup in the linecache once.
10415 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10417 * iterators.C (operator++): Make the iterator more robust
10419 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10421 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10423 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10426 * text.C: better added space drawing
10428 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10431 * BufferView2.C: fix layout combo update on inset unlock
10433 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10435 * Makefile.am: don't compile unused files
10437 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10441 * LyXAction.C: remove old LFUN_LAYOUTNO
10443 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10445 * paragraph_pimpl.h:
10446 * paragraph_pimpl.C: isTextAt() doesn't need font param
10448 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10451 * lyxlex.C: little cleanup
10453 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10455 * BufferView_pimpl.C: fix insertAscii for insets
10457 2001-12-05 Juergen Vigna <jug@sad.it>
10459 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10460 set the right font on the "multi" paragraph paste!
10462 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10468 * lyxlength.C: remove out-commented code.
10470 * BufferView_pimpl:
10484 * vc-backend.C: change "while(" to "while ("
10486 * lyxlength.[Ch]: add zero function to check if length is zero or
10488 * lyxgluelength.C: use it
10490 2001-12-05 Allan Rae <rae@lyx.org>
10492 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10493 Works for 2.95.3, from what I understand of Garst's reports this should
10494 work for other g++ versions. We're screwed if the abs(int) definition
10495 changed between bugfix releases of gcc.
10497 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10499 * text.C: fix chapter label offset !
10501 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10504 * text.C: fix hfill at end of line, clean up
10506 2001-12-04 Juergen Vigna <jug@sad.it>
10508 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10509 that we force an update of the inset and it's owners if neccessary.
10511 2001-12-03 Juergen Vigna <jug@sad.it>
10513 * text.C (rowLast): simplified code
10515 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10517 * lyxfunc.C: fix show options on timeout
10519 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10521 * screen.C (topCursorVisible): scroll half a page when the cursor
10522 reached top of bottom of screen
10524 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10526 * minibuffer.C: deactivate on loss of focus
10528 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * vspace.[Ch] (operator!=): add operator.
10532 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10534 * BufferView_pimpl.C: refuse to open an inset when
10535 there's a selection.
10537 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10539 * BufferView_pimpl.C: allow to click on RHS of full row insets
10541 2001-11-30 Juergen Vigna <jug@sad.it>
10543 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10544 insets for undo reasons.
10546 2001-11-28 André Pönitz <poenitz@gmx.net>
10548 * vspace.[Ch]: cosmetical changes
10550 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10560 * kbsequence.C: part re-write of old kb code
10563 * WorkArea.C: remove Lgb_bug_find_hack
10565 2001-11-30 José Matos <jamatos@fep.up.pt>
10567 * buffer.C (makeDocBookFile): add a comment to point a hack.
10568 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10569 Fixed a double write of labels.
10571 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10574 * LaTeX.h Fixed bug in LaTeX class where it would not
10575 re-run latex if no depfiles were changed, but the .dvi was removed.
10577 2001-11-28 André Pönitz <poenitz@gmx.net>
10579 * all the files from the change on 2001/11/26:
10580 use lyx::layout_type instead of LyXTextClass::size_type
10581 use lyx::textclass_type instead of LyXTextClassList::size_type
10583 2001-11-29 Juergen Vigna <jug@sad.it>
10585 * text.C: added support for paragraph::isFreeSpacing()
10587 * buffer.C: same as above
10589 * paragraph.h: inserted isFreeSpacing() function to enable
10590 FreeSpacing inside InsetERT.
10592 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10593 of the paragraph's in the cut/copy buffer to 0!
10595 * text2.C (removeRow): remove the assert as it can!
10597 * lyxtext.h: added helper function firstRow returning firstrow and
10598 made firstrow private again.
10600 * BufferView2.C (lockInset): don't relock if we're already locked!
10602 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10603 the only paragraph.
10604 (removeRow): added Assert::(firstrow)
10606 * debug.C: forgot to add INSETTEXT here.
10608 2001-11-28 Juergen Vigna <jug@sad.it>
10610 * sp_spell.C (initialize): changed error text to more general
10611 spellchecker command use (not only ispell!)
10613 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10615 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10617 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10619 * vspace.C: initialise lyxgluelength on failure
10621 2001-11-28 Allan Rae <rae@lyx.org>
10623 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10624 declaration & definition that looks like a function declaration.
10626 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10628 * BufferView2.C (copy):
10629 (copyEnvironment): do not clear the selection when doing a copy.
10631 * text.C (paintFirstRow): compilation fix
10633 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10635 * tabular.C (Latex): correct line count when writing latex.
10637 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10639 * paragraph_pimpl.h:
10640 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10643 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10647 * LColor.C: change vfillline->added_space
10649 * text.C: add markers and text for added space
10651 * vspace.C: fix comment
10653 2001-11-28 André Pönitz <poenitz@gmx.net>
10655 * paragraph.C: whitespace changes
10656 * all the other files from the change on 2001/11/26:
10657 change *::pos_type into lyx::pos_type
10659 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10661 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10662 language of the document when inserting error insets.
10664 2001-11-26 André Pönitz <poenitz@gmx.net>
10666 * BufferView_pimpl.[Ch]:
10674 * paragraph_pimpl.[Ch]:
10677 * text2.C: reduce header dependencies, introduce type for positions
10679 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10681 * <various>: change to use Alert.h
10683 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10685 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10686 when encountering an unknown token.
10687 (readLyXformat2): Show an error message if there were unknown tokens.
10689 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10692 * BufferView_pimpl.C:
10696 * text2.C: use par->isInset()
10698 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10700 * paragraph_pimpl.h:
10701 * paragraph_pimpl.C: cleanup
10703 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * text2.C (removeRow):
10706 * text.C (setHeightOfRow): remove useless (and costly) call to
10709 2001-11-20 Allan Rae <rae@lyx.org>
10711 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10712 Now need Inset*::checkInsertChar() to return true for appropriate
10713 cases so that the characters in the minibuffer will actually be
10716 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * text.C: change the order of the includes.
10719 (workWidth): initialize it at once.
10720 (workWidth): make maxw unsigned
10721 (setHeightOfRow): remove unused variable (inset)
10722 (selectSelectedWord): remove unused variable (inset)
10723 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10725 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10728 server is not running.
10730 (closeConnection): add debug info when server is disabled.
10732 * ColorHandler.C (getGCForeground): send debug message to GUI
10735 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10737 * kbmap.C (bind): modify because return conventions of
10738 kb_sequence::parse have changed.
10740 * kbsequence.C (parse): only ignore spaces and not any stupid
10741 control character. This avoids tests like s[i] <= ' ', which are
10742 guaranteed to fail with 8bit characters and signed chars.
10743 Change return code to string::npos when there have been no error
10744 (0 was a bad idea when error is at first character)
10746 2001-11-14 José Matos <jamatos@fep.up.pt>
10749 * buffer.C (simpleDocBookOnePar): removed unused argument.
10751 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10754 insets which are part of a word. Paragraph::isLetter takes care of
10755 that now. Use Paragraph::isInset to identify insets.
10756 (selectSelectedWord): do not test for hyphenation break.
10758 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10759 that protected spaces are considered as spaces.
10761 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10764 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10767 * lyxserver.C: fix it. and small cleanup.
10769 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10771 * BufferView_pimpl.C: use inline helpers
10774 * LaTeXFeatures.C: fix typos
10777 * Spacing.C: move spacing_string into class
10779 * ToolbarDefaults.C: move stuff into namespace anon
10781 * layout.h: update enum
10783 * lyxfunc.C: use better debug
10785 * minibuffer.h: fix typo
10789 * WorkArea.C: add and use Debug::WORKAREA
10793 * text2.C: code re-organisation, inline helpers
10795 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10797 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10798 std::vector.empty().
10800 2001-11-09 Allan Rae <rae@lyx.org>
10802 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10803 '\n's after tables. Tabular and ERT inset work now makes this no
10806 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10809 * minibuffer.C: fix crash, improve drop-down completion
10811 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10814 * lyxserver.C: invalidate fd's when doing endPipe()
10816 2001-11-08 José Matos <jamatos@fep.up.pt>
10818 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10819 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10822 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10824 2001-11-07 José Matos <jamatos@fep.up.pt>
10827 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10830 * buffer.C (sgmlOpenTag):
10831 * buffer.C (sgmlCloseTag): removed debug info.
10833 * buffer.h (sgmlOpenTag):
10834 * buffer.h (sgmlCloseTag): made public.
10836 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10838 * buffer.C (saveParamsAsDefaults):
10839 * lyx_cb.C (MenuLayoutSave): remove
10841 * LyXAction.C (init):
10843 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10845 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10847 * buffer.C (setPaperStuff): removed from here...
10849 * bufferparams.C (setPaperStuff): ... and moved there.
10851 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10855 * XFormsView.C: add support for drop-down completion
10857 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10859 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10862 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10864 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10867 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10869 * lyx_main.C: change ref to known bugs
10871 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10873 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10874 to work around older babel problems.
10876 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10878 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10880 2001-10-24 Juergen Vigna <jug@sad.it>
10882 * tabular-old.C (ReadOld): below variable changes reflected.
10884 * tabular.[Ch]: added ltType struct for longtable header/footer
10885 defines and changed all instances where they are used. Added
10886 future support for double top/bottom rows.
10888 2001-10-24 José Matos <jamatos@fep.up.pt>
10890 * buffer.h (docbookHandleCaption):
10891 * buffer.C (docbookHandleCaption): removed unused function.
10892 (makeDocBookFile): moved docbook supported version to v4.1.
10894 2001-10-24 José Matos <jamatos@fep.up.pt>
10897 * tabular.C (docbookRow): new function to export docbook code of a row.
10898 (DocBook): now honors the longtable flags.
10900 2001-10-23 José Matos <jamatos@fep.up.pt>
10903 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10904 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10906 * buffer.C (makeLinuxDocFile):
10907 (makeDocBookFile): reworked the preamble, more clean, and with
10908 support for lyx defined entities. Changed the document declaration
10909 to be more XML friendly.
10911 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10912 if we need to output XML that should be done with a filter.
10914 2001-10-22 Juergen Vigna <jug@sad.it>
10916 * sp_pspell.h (class PSpell): add alive function needed in the
10917 controller to see if the spellchecker could be started.
10919 2001-10-22 Juergen Vigna <jug@sad.it>
10921 * buffer.C (insertStringAsLines): modify the font for inserting
10922 chars in certain conditions by calling checkInsertChar(font).
10924 2001-10-19 Juergen Vigna <jug@sad.it>
10926 * text.C (workWidth): use getRow instead of wrong algorithm.
10927 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10929 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10934 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10936 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10938 * text.C (workWidth): do not search for the exact row when
10939 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10940 optimization for big documents.
10942 2001-10-18 Juergen Vigna <jug@sad.it>
10944 * text.C (workWidth): new function with added Inset * parameter.
10946 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10948 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10950 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10951 change return type of getColumnNearX.
10954 * text.C (changeRegionCase): use uppercase/lowercase instead of
10957 (rightMargin): simplify code by factoring out the uses of
10962 (appendParagraph): use Paragraph::size_type
10964 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10966 * vspace.C (asLatexString): add a missing break
10968 2001-10-15 Herbert Voss <voss@perce.de>
10970 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10972 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10974 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10977 2001-10-10 André Pönitz <poenitz@gmx.net>
10979 * lyxfunc.C: removed greek_kb_flag.
10981 2001-10-10 Herbert Voss <voss@perce.de>
10983 * lyx_main.C: delete global string help_lyxdir.
10985 2001-10-09 Herbert Voss <voss@perce.de>
10987 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10989 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10991 * lyx_main.C: added global string help_lyxdir.
10993 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10995 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
10997 * lyxrc.C (set_font_norm_type): support iso8859-4
10999 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11001 * LaTeX.C (deplog): add another regex for MikTeX
11003 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11005 * lyxrc.C (set_font_norm_type): support iso8859-3
11007 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11009 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11011 * LaTeXFeatures.C: remove special case of french and index
11013 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11014 before \begin{document}). This solves several incompatibilities.
11016 2001-10-03 Garst Reese <reese@isn.net>
11018 * lyx_cb.C: change CheckTex error msg.
11020 2001-10-03 José Matos <jamatos@fep.up.pt>
11022 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11024 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11026 * .cvsignore: update
11028 * lyx_main.C (commandLineVersionInfo): use new style version info.
11030 * buffer.C (writeFile):
11032 (makeLinuxDocFile):
11033 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11035 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11037 * version.h: update to use stuff in version.C
11039 * version.C.in: new file. Contains version information determined
11040 at compile time. This is a merging of version.h and
11043 2001-10-03 Juergen Vigna <jug@sad.it>
11045 * BufferView_pimpl.C (update): don't change "dirty" status in
11048 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11050 * WorkArea.C (c-tor): re-position version string slightly.
11052 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11054 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11055 revert to previous code.
11057 WorkArea.[Ch]: (show, destroySplash): methods removed.
11059 WorkArea.C: rework code so that it's an amalgam of the codes before and
11060 after the splash screen was moved to WorkArea.
11062 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11065 * vspace.C (inPixels):
11068 * buffer.C (insertStringAsLines):
11069 (asciiParagraph): fix types to be large enough
11071 * lyxlex_pimpl.h: change member status from short to int
11073 * layout.h: fix type of endlabeltype
11076 * kbsequence.C (parse): change return type to string::size_type
11078 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11081 * Bullet.C (bulletSize):
11082 (bulletEntry): do not use short ints as parameters
11084 * BufferView2.C (insertLyXFile): change a char to an int.
11086 * WorkArea.C (WorkArea): remove unneeded floats in computation
11088 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11090 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11092 * paragraph.C (asString): Do not ignore newline/hfill chars when
11093 copying to the clipboard.
11095 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11097 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11098 after a multi-line inset.
11100 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11102 * paragraph.C (validate): Set NeedLyXFootnoteCode
11104 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11106 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11107 and decrease-error to decrease.
11109 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11111 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11112 it more readable (should be equivalent)
11114 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11116 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11118 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11120 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11121 of a cursor (row, etc.) after a character has been deleted
11122 (deleteEmptyParagraphMechanism): call the method above on _all_
11123 cursors held by the LyXText when a double space has been
11126 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11128 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11130 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11132 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11133 background. Use greyOut() and the new show() methods to toggle between
11134 the foreground and background. Add code to remove the splash after
11135 its initial showing.
11137 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11138 (create_forms): no longer call Dialogs::showSplash.
11140 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11142 * .cvsignore: add version_info.h
11144 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11146 * version_info.h.in: new file
11148 * Makefile.am: add version_info.h.in
11150 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11151 version_info.h instead of VERSION_INFO
11153 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11155 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11156 The ERT inset now returns string().
11158 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11160 * lyxtext.h, text.C (selectNextWord): renamed as
11161 selectNextWordToSpellcheck.
11163 * text.C (selectNextWordToSpellcheck): Modified to not select
11164 words inside an ERT inset.
11166 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * lyx_cb.C (MenuLayoutSave): change a bit the question
11170 * sp_base.h: include <sys/types.h>
11172 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11174 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11176 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11178 * several files: fix typos in user-visible strings
11180 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11182 * text2.C (pasteSelection): do not set the selection, since it
11183 will be cleared later. Actually, the intent was to fix the way the
11184 selection was set, but I figured rmoving the code was just as good.
11186 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11188 * FontLoader.C (available): Check if font is available without
11191 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11193 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11195 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11197 * lyxrc.[Ch]: added display_graphics variable and associated code.
11199 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11201 * bufferparams.C (hasClassDefaults): new method. Returns true if
11202 the buffer parameters correspond to known class defaults
11204 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11206 * XFormsView.C (show): set minimum size to the main window.
11208 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11210 * text2.C (copySelection):
11212 * lyxfind.C (LyXReplace):
11213 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11214 LyXText::selectionAsString.
11216 * paragraph.C (asString): add "label" argument to the second form
11218 * text2.C (selectionAsString): add "label" argument and pass it to
11219 Paragraph::asString.
11221 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11223 * lyx_main.C (commandLineHelp): remove version information
11225 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11227 * lyx_main.C: add -version commandline option
11229 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * paragraph.h: make the optional constructor arg required instead.
11232 some modifications to other files because of this.
11234 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11236 * lyxserver.C (C_LyXComm_callback): make it static
11238 * lyx_main.C (error_handler): make it static
11240 * lyx_gui.C (LyX_XErrHandler): make it static
11242 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11244 * WorkArea.C: make the extern "C" methods static.
11246 * Makefile.am (lyx_LDADD): simplify
11248 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11250 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11251 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11253 * LyXAction.C (init):
11254 * lyxfunc.C (dispatch): associated code removal.
11256 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11258 * lyxfont.h (isSymbolFont): shut off warning
11260 * text.C (setHeightOfRow):
11261 (getVisibleRow): fix crash with empty paragraphs which have a
11264 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11266 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11269 2001-09-04 José Matos <jamatos@fep.up.pt>
11272 * tabular.C (docbook): rename docBook method to docbook.
11274 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11276 * Makefile.am: add dependencies to main.o.
11278 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11280 * FontLoader.C (available): Return false if !lyxrc.use_gui
11282 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11284 * FontInfo.C (query):
11285 * converter.C (view):
11286 * importer.C (Import):
11287 * exporter.C (Export): Can not -> cannot.
11289 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11291 * BufferView_pimpl.C: allow to create index inset even if
11294 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11296 * buffer.C (getLists): replace boost::tie code with an explicit pair
11297 as boost::tie can break some compilers.
11299 * iterators.h: Added a std:: declaration to the return type of
11302 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11304 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11307 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11309 * iterators.[Ch]: New files. Provide paragraph iterators.
11311 * buffer.C (changeLanguage): Use paragraph iterators.
11312 (isMultiLingual): ditto
11314 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11316 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11318 * FontLoader.C: Support for cmr font.
11320 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11322 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11323 (available): New method.
11325 * FontInfo.C (getFontname): Use scalable fonts even when
11326 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11329 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11331 * converter.C (Formats::view): reverted! Incorrect fix.
11333 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11335 * converter.C (Formats::view): only output the -paper option
11336 if the dvi viewer is xdvi, thereby fixing bug #233429.
11338 2001-08-23 Herbert Voss <voss@perce>
11340 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11342 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11344 * Spacing.h (Spacing): Set space to Default on in the default
11347 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * vc-backend.h (RCS::versionString): add RCS to version
11350 (CVS::versionString): add CVS to version
11352 * vc-backend.C (scanMaster): do not add CVS to version.
11353 (scanMaster): do not add RCS to version
11355 * lyxvc.C (versionString): new method
11357 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11359 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11361 * Spacing.C (set): initialize fval
11363 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11365 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11368 2001-08-16 Juergen Vigna <jug@sad.it>
11370 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11372 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11374 * BufferView_pimpl.C:
11377 * text2.C: setParagraph takes linespacing now
11379 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11381 * LyxAction.C: add internal LFUN_CITATION_INSERT
11383 * LyXView.C: actually apply fix
11385 * bufferlist.C: fix open non-existent file
11387 * lyxfind.C: fix indentation
11389 * lyxfunc.C: remove unneeded assert, fix typo
11391 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11393 * MenuBackend.C: use "Floatname List"
11395 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11397 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11398 when converting LaTeX layout to insetERT.
11399 Generate a non-collapsed float when reading old float
11401 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11403 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11406 2001-08-13 Juergen Vigna <jug@sad.it>
11408 * text.C (fill): return 0 instead of 20 as this seems to be the more
11411 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11413 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11416 2001-08-13 Juergen Vigna <jug@sad.it>
11418 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11420 (SearchBackward): comment out the unlocking of the inset_owner this
11421 should not be needed!
11423 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11425 * Many files: Remove inherit_language, and add latex_language
11427 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11428 collapsible insets.
11430 2001-08-10 Juergen Vigna <jug@sad.it>
11432 * text.C (prepareToPrint): fixed hfill-width in draw!
11434 * BufferView2.C (selectLastWord): save the selection cursor as this
11435 now is cleared in the function LyXText::clearSelection!
11437 2001-08-08 Juergen Vigna <jug@sad.it>
11439 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11440 BACKSPACE type functions.
11442 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11443 is only cutted from the document but not put in the cut-buffer, where
11444 still the old stuff should be.
11446 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11448 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11450 * tabular.C (SetWidthOfCell): fixed special case where the width
11452 (LeftLine): handle '|' in align_special.
11454 (LeftAlreadyDrawed): ditto
11455 (SetWidthOfCell): ditto
11457 2001-08-07 Juergen Vigna <jug@sad.it>
11459 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11461 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11464 * lyxlex.[hC]: ditto
11466 2001-08-06 Juergen Vigna <jug@sad.it>
11468 * text.C (getVisibleRow): fix up row clearing a bit.
11470 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11472 * minibuffer.C: make sure the X server sees the changes in the input.
11474 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * paragraph.C (getFont): split into...
11477 (getLabelFont): this
11478 (getLayoutFont): and this
11479 * paragraph_pimpl.C (realizeFont): calling this
11481 * text2.C (getFont): split into...
11482 (getLayoutFont): this
11483 (getLabelFont): and this
11484 (realizeFont): all three calling this
11486 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11489 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11491 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11493 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11495 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11496 layouts from the Quote inset insertion.
11498 2001-08-03 Juergen Vigna <jug@sad.it>
11500 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11502 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11503 only if status not is already CHANGED_IN_DRAW (second level).
11505 * text.C (draw): don't set the need_break_row when inside an
11508 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11510 * buffer.C (parseSingleLyXformat2Token): handle more latex
11513 * bufferview_funcs.[hC]: change function names to
11514 begin with small char, adjust other files.
11516 2001-08-02 André Pönitz <poenitz@gmx.net>
11519 BufferView_pimpl.C: remove broken special code for math-greek
11521 2001-08-02 Juergen Vigna <jug@sad.it>
11523 * BufferView_pimpl.C (update): redone this function so that we
11524 update the text again if there was a CHANGE_IN_DRAW.
11526 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11527 (drawFromTo): added a new internal bool which is used by draw() and
11529 (general): some cursor drawing problems fixed.
11531 2001-08-01 Juergen Vigna <jug@sad.it>
11533 * lyxfind.C (LyXFind): fixed
11534 (SearchForward): ditto
11535 (SearchBackward): ditto
11537 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11538 spurius drawing of the cursor in the main area.
11540 * text2.C (status): small fix which could lead to a segfault!
11541 (clearSelection): remove unneeded BufferView param.
11543 2001-08-01 André Pönitz <poenitz@gmx.net>
11545 * lyxfunc.C: small change due to changed mathed interface
11547 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11549 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11551 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11553 * lyxfunc.c: fail gracefully if file doesn't exist
11558 * BufferView_pimpl.C: IsDirWriteable() proto changed
11560 * LyXView.C: fix updateWindowTitle() to store the last title
11562 2001-07-31 Juergen Vigna <jug@sad.it>
11564 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11565 the font (wrong since using of Paragraph::highestFontInRange).
11567 * paragraph.C (highestFontInRange): added a default_size parameter.
11569 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11570 (setHeightOfRow): reformat
11572 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11574 * converter.[hC] + affected files: move to (inital-char)lowercase
11577 * ParagraphParameters.C (ParagraphParameters): remove commented code
11579 * PainterBase.[Ch]: remove commented code
11581 * LaTeXFeatures.h: add "bool floats" for float.sty
11583 * LaTeXFeatures.C (LaTeXFeatures): init floats
11584 (require): handle float
11585 (getPackages): do it with floats
11587 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11589 * BufferView_pimpl.C (Dispatch): improve handling of
11590 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11592 * commandtags.h: #include lyxfont.h here temporarily to avoid
11595 * bufferlist.h: include LString.h here.
11597 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11599 * text2.C (getStringToIndex): new method.
11601 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11603 * *: Reduced header file dependencies all over.
11605 2001-07-30 Baruch Even <baruch@lyx.org>
11607 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11609 2001-07-29 Baruch Even <baruch@lyx.org>
11611 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11613 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11615 * ParameterStruct.h (endif): add a default constructor to make
11616 sure that all variables is initialized.
11618 * ParagraphParameters.C (ParagraphParameters): adjust
11620 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11622 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11623 index; also, check that there is something to index, and that it
11624 does not span over several paragraphs.
11625 (doubleClick): use WHOLE_WORD_STRICT for double click.
11627 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11629 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11632 2001-07-26 Baruch Even <baruch@lyx.org>
11634 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11635 an InsetFig figure, backwards compatible reading of old figure code.
11637 2001-07-27 Juergen Vigna <jug@sad.it>
11639 * text2.C: font.realize function adaption.
11641 * text.C (draw): add a warnings lyxerr text if needed.
11643 * layout.C: font.realize function adaption.
11645 * language.C: add inherit_language and implement it's handlings
11647 * bufferview_funcs.C (StyleReset): remove language parameter from
11648 font creation (should be language_inherit now).
11650 * bufferparams.C (writeFile): handle ignore_language.
11652 * paragraph.C (getFontSettings): the language has to be resolved
11653 otherwise we have problems in LyXFont!
11655 * lyxfont.C (lyxWriteChanges): added document_language parameter
11656 (update): removed unneeded language parameter
11658 * paragraph.C (validate): fixed wrong output of color-package when
11659 using interface colors for certain fonts in certain environments,
11660 which should not seen as that on the final output.
11662 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11664 * BufferView_pimpl.C:
11669 * LyXAction.C: add thesaurus support
11672 * lyxfind.C: add "once" parameter, for thesaurus, to not
11673 move to the next match
11675 2001-07-26 Juergen Vigna <jug@sad.it>
11677 * lyxfont.C (realize): honor ignore_language too!
11680 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11682 * text.C (draw): one place more for ignore_language to not draw
11685 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11687 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11689 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11691 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11692 the minipage conversion problem.
11694 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11696 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11699 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11701 * BufferView.h: don't forward declare WorkArea
11703 * BufferView.C: don't include WorkArea.h
11705 2001-07-25 André Pönitz <poenitz@gmx.net>
11709 * lyxfunc.C: new LFUN 'math-space'
11711 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11713 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11715 * text2.C (toggleInset): call open/close
11717 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11719 * lyxfunc.C (dispatch): add debug for the disabled case
11721 * font.C (buttonText): make similar to rectText
11723 * buffer.C (readInset): comment out parsing of insetlist and
11726 * PainterBase.C (rectText): small correction
11728 * BufferView_pimpl.C: comment out insettheorem and insetlist
11729 * LyXAction.C: ditto
11730 * commandtags.h: ditto
11732 2001-07-24 Juergen Vigna <jug@sad.it>
11734 * text.C (draw): honor the ignore_language.
11736 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11738 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11740 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11743 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11745 * lyxtext.h: remove unused (and unimplemented) methods
11747 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11749 * text.C (getVisibleRow): honor background color
11752 * Painter.h: remove default color argument for fillRectangle
11754 * text.C (backgroundColor): new method
11756 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11758 * text.C (getVisibleRow): adjust
11760 * font.[Ch] (rectText): new method, metrics
11761 (buttonText): new method, metrics
11763 * PainterBase.[hC]: make rectText and buttonText always draw and take
11766 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11768 * ToolbarDefaults.C (read):
11769 * MenuBackend.C (read): allow escaping in all strings
11771 * BufferView_pimpl.C (insertAndEditInset): new method.
11772 (Dispatch): use insertAndEditInset whenever appropriate.
11774 * BufferView_pimpl.C (insertNote): removed
11776 * BufferView_pimpl.C (smartQuote): new method, moved from
11777 BufferView; if an insetquote cannot be inserted, insert a '"'
11780 * BufferView2.C: remove insertCorrectQuote();
11782 * lyxfunc.C (getStatus): Add support for all remaingin
11783 inset-insert lfuns.
11785 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11787 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11788 command (necessary to pass " as parameter of self-insert.
11790 * text.C (selectWordWhenUnderCursor):
11791 (selectWord): add word_location parameter
11792 (selectWordWhenUnderCursor): same + remove special code for word
11794 (selectNextWord): use kind() to guess type of insetspecialchar,
11797 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11798 (insertErtContents): create ert insets as collapsed.
11799 (readInset): better compatibility code for Info inset.
11801 2001-07-20 Juergen Vigna <jug@sad.it>
11803 * lyxfunc.C (dispatch): use always LyXFind now!
11805 * text2.C (init): add a reinit flag so that the LyXText can be
11806 reinited instead of deleted and reallocated (used in InsetText).
11808 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11814 2001-07-18 Juergen Vigna <jug@sad.it>
11816 * text.C (selectNextWord): handle insets inside inset by calling
11817 always the bv->text functions so that we can go up the_locking_inset!
11819 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11820 in strange locations when inside an inset!
11822 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11823 handling to include insets.
11825 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11827 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11829 * LyXAction.C (init):
11831 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11832 LIGATURE_BREAK, since the name is so stupid.
11834 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11836 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11839 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11841 * sp_form.[Ch]: remove.
11843 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11845 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11848 * src/buffer.C (readInset): ditto.
11850 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11852 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11853 menuSeparator(), endOfSentenceDot(), ldots() and
11854 hyphenationPoint(), which are therefore removed.
11855 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11857 * LyXAction.C (init):
11858 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11860 * paragraph.C (getWord): removed.
11862 * BufferView_pimpl.C (Dispatch): use last word or selection for
11863 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11865 * lyx_main.C (queryUserLyXDir): do not ask before creating
11866 user_dir, except if it has been named explicitely.
11868 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11870 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11871 a document of zero size.
11873 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11875 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11876 approriately in the c-tor and in require().
11877 (getPackages): output the appropriate LaTeX for natbib support.
11879 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11880 variables "use_natbib" and "use_numerical_citations" when reading the
11882 (readInset): read the various natbib cite commands.
11883 (validate): white-space change.
11885 * bufferparams.[Ch]: new variables "bool use_natbib" and
11886 "bool use_numerical_citations".
11887 (writeFile): output them in the LyX file.
11889 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11891 * lyxfunc.C (getStatus): add support for all the inset insertion
11894 * text2.C (insertInset):
11895 * paragraph.C (insetAllowed):
11896 * BufferView_pimpl.C (insertInset): update to take in account the
11897 renaming of insertInsetAllowed
11899 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11901 * text2.C (getInset): new method. returns inset at cursor position.
11903 * BufferView_pimpl.C (Dispatch): changes because of this.
11905 * LyXAction.C (init): rename open-stuff to inset-toggle.
11907 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11909 * text2.C (toggleInset): renamed from openStuff; use
11912 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11914 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11916 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11918 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11920 * buffer.C (readLyXformat2): Add filename to the error dialog
11922 2001-07-18 Juergen Vigna <jug@sad.it>
11924 * tabular.C (GetCellNumber): put an assert here instead of the check!
11926 2001-07-17 Juergen Vigna <jug@sad.it>
11928 * BufferView_pimpl.C (toggleSelection): adapted too.
11930 * text.C (selectNextWord): adapted for use with insets.
11931 (selectSelectedWord): ditto
11933 2001-07-17 Juergen Vigna <jug@sad.it>
11935 * sp_spell.C (PSpell): fix initialitation order.
11937 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11939 * paragraph.C: spacing
11941 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11943 * sp_spell.C: repair language selection for pspell
11945 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * lyxfunc.h: change more methods to begin with lower char.
11949 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11951 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11952 for unknown layouts.
11954 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11956 * buffer.C (readLyXformat2): Generate an error dialog if there are
11959 2001-07-16 Juergen Vigna <jug@sad.it>
11961 * sp_spell.C: always compile ISpell part.
11963 * lyxrc.C: added use_pspell entry and it's handling.
11965 2001-07-13 Juergen Vigna <jug@sad.it>
11967 * sp_spell.C: removed double includes.
11969 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11971 Consistent use of Lsstream.h:
11972 * Lsstream.h: added using std::stringstream for consistencies sake.
11974 * buffer.C: removed using std::stringstream
11976 * lyxfont.C (stateText):
11977 * paragraph.C (asString):
11978 * text.C (selectNextWord, selectSelectedWord):
11979 * text2.C (setCounter):
11980 * vspace.C (asString, asLatexString):
11981 std::ostringstream -> ostringstream.
11983 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11985 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11986 * commandtags.h: add LFUN_HELP_ABOUTLYX
11987 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11989 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11991 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11993 * lyx_gui_misc.C: remove spellchecker
11994 * lyxfunc.C: showSpellchecker
11996 * sp_ispell.h: added
11997 * sp_pspell.h: added
11998 * sp_spell.C: added
11999 * sp_form.[Ch]: removed
12000 * spellchecker.[Ch]: removed
12002 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12004 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12006 (simpleTeXSpecialChars): Simply print the input character without
12007 any special translation if pass_thru is set.
12009 * layout.h: Added bool pass_thru to layout class for being able to
12010 implement pass through of a paragraph for Literate Programming.
12012 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12013 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12014 * layout.C (Read): add "passthru" to list of layout tags and add
12015 code to set the pass_thru boolean when it is read.
12017 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12019 * trans_decl.h: remove allowed from KmodInfo
12021 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12022 remove allowed code
12025 * paragraph_pimpl.C (erase): use boost::prior
12027 * Painter.C (text): use data() instead of c_str() when length is
12029 * WorkArea.C (putClipboard): ditto
12030 * font.h (width): ditto
12032 * BufferView2.C: use it-> instead of (*it). for iterators
12034 * paragraph_pimpl.C: ditto
12035 * paragraph.C: ditto
12036 * minibuffer.C: ditto
12037 * language.C: ditto
12039 * encoding.C: ditto
12040 * counters.C: ditto
12041 * converter.C: ditto
12043 * Variables.C: ditto
12044 * TextCache.C: ditto
12045 * MenuBackend.C: ditto
12046 * LyXAction.C: ditto
12048 * FloatList.C: ditto
12049 * DepTable.C: ditto
12050 * ColorHandler.C (LyXColorHandler): ditto
12052 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12054 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12056 * text2.C (openStuff): reintroduce this method (which had been
12057 nuked in NEW_INSETS frenzy).
12059 * lyxfunc.C (Dispatch): when an action has not been handled, use
12060 its name in the error message, not its number.
12062 * paragraph.C (inInset): change method name to begin with lowercase.
12065 * text2.C: updates because of this.
12067 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * ToolbarDefaults.C (add): add spaces in error message
12071 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12073 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12074 (readLyXformat2): rename return_par to first_par, use lyxlex's
12075 pushToken and remove the manual push handling.
12076 (parseSingleLyXformat2Token): add another ert comp. variable:
12077 in_tabular, rename return_par to first_par. handle newlines better
12079 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12081 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12083 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12085 * text2.C (getParFromID): removed
12087 * buffer.C (getParFromID): new method moved form lyxtext.
12088 * BufferView2.C (insertErrors): adjust
12089 (setCursorFromRow): adjust
12090 * BufferView_pimpl.C (restorePosition): adjust
12091 * lyxfunc.C (Dispatch): adjust
12092 * undo_funcs.C (textUndo): adjust
12094 (textHandleUndo): adjust
12095 (textHandleUndo): adjust
12097 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * buffer.C: up' the LYX_FORMAT
12101 * lyxfont.h: turn NO_LATEX on as default
12103 * buffer.C (insertErtContents): new methods of tex style compability.
12104 (parseSingleLyXformat2Token): use it several places.
12105 * tabular.C (OldFormatRead): and here
12107 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * text2.C: remove some commented code.
12112 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12113 * trans.C: changes because of the above.
12115 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12117 * text2.C (setCounter): Fix counters bug with bibliography layout.
12119 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12121 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12122 own member functions
12123 (simpleTeXSpecialChars): ditto
12125 2001-07-06 Juergen Vigna <jug@sad.it>
12127 * a lot of files: changed the access to LyXText::status and the
12128 call of undo-functions.
12130 * undo.[Ch]: added a inset_id to the undo informations.
12132 * undo_funcs.[Ch]: added and moved here all undo functions.
12134 * lyxtext.h: give the status enum a weight, made status_ a private
12135 variable and made accessor functions for it, removed the whole bunch
12136 of undo-functions as they are now in their own file, make some
12137 functions publically available. Added function ownerParagraph with
12140 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12141 made InInset() a const function, added getParFromID() function.
12143 * buffer.[Ch]: added const version for inset_iterator functions,
12144 added getInsetFromID() function.
12146 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12147 changed undo functions for new version.
12149 2001-07-05 Juergen Vigna <jug@sad.it>
12151 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12152 unknow mechanism does not call the proper constructor but only this
12153 one also if I request the other!?
12155 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12159 * text2.C (LyXText): use initialization lists.
12161 * lyxtext.h (Selection): initialize set_ and mark_
12162 (init): remove method
12164 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12166 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12168 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12170 * screen.[Ch]: change method names to begin with lowercase
12172 * BufferView_pimpl.C (updateScrollbar): simplify further and
12173 hopefully make it a bit faster.
12175 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12177 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12178 calling directly xforms functions.
12180 * Painter.C (Painter):
12181 * lyx_cb.C (MenuWrite):
12182 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12185 * lyx_gui.C: remove bogus guiruntime extern declaration.
12187 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12191 (redoDrawingOfParagraph): ditto
12192 (redoParagraphs): ditto
12193 (cutSelection): don't create a object for CutAndPaste use the
12194 static method directly
12195 (pasteSelection): ditto
12197 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12200 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12202 * modifications to some other files because of this.
12204 * Makefile.am (lyx_SOURCES): add XFormsView
12206 * XFormsView.[Ch]: new files
12208 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12209 the main window. Move the gui dependent stuff to XFormsView
12211 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12213 * tabular.C (GetCellInset): update cur_cell also in the row/col
12214 version of this function.
12216 * lyxfunc.C: no need to include figure_form.h here.
12222 * lyxvc.C: no need to include forms.h here.
12224 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12228 * lyxfunc.C (Dispatch):
12230 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12231 constructor argument.
12233 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * paragraph.C (Paragraph): dont't clear, and just set layout.
12236 (makeSameLayout): use params's copy contructor.
12238 * ParagraphParameters.[Ch] (makeSame): delete method
12240 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12242 * Variables.[Ch]: fix indentation, rename set to isSet
12244 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * lyxfunc.C (Dispatch): fix typo
12248 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12250 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12253 * bufferlist.C: include assert.h for emergencyWrite().
12255 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12257 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12258 give up at last (bug #425202) !
12260 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12266 * spellchecker.C: strip spellchecker options and bring up
12267 preferences tab instead
12269 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12271 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12272 the istringstream constructor
12274 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12276 * paragraph.C (getLayout): fix return value
12278 * paragraph.h: do not declare getLayout as inline.
12280 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12282 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12284 * lyxcursor.h (operator<): new func
12285 (operator>): new func
12286 (operator>=): new func
12287 (operator<=): new func
12289 * text.C (changeCase): use selection.start and selection.end
12290 (changeRegionCase): require from to be <= to. Require par to be a
12293 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12295 2001-06-27 Juergen Vigna <jug@sad.it>
12297 * text.C (cursorLeftOneWord): changed to return the cursor and added
12298 overlay with BufferView * parameter which calls this one.
12300 (selectWord): use new getWord function.
12301 (changeCase): renamed from changeWordCase as and extended to work
12302 also on selections.
12304 * lyxtext.h: added enum word_location
12306 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12307 changeCase as this operates now also on selections.
12309 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12311 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12313 * many files: send debug output to Debug::INFO instead of
12316 * converter.C (View):
12318 (Move): send debug output to Debug::FILES instead of console.
12320 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12322 * lyxfunc.C (getStatus): use func_status
12324 * func_status.h: new header, describing the results of
12325 LyXFunc::getStatus;
12327 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12330 2001-06-25 The LyX Project <jug@sad.it>
12332 * buffer.C (sgmlOpenTag):
12334 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12336 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * text2.C: remove some dead code
12340 * tabular.C (GetCellInset): store the last cell checked (gotten)
12342 * tabular.h: add the helper for the speedup
12344 * lyxtext.h: remove some dead code
12346 2001-06-26 The LyX Project <Asger>
12348 * paragraph.C: Change export to LaTeX of alignment to
12349 \begin{center} and family for better roundtrip work with reLyX.
12351 * Tune the math drawing a bit.
12353 2001-06-25 The LyX Project <Asger>
12355 * LColor.C (LColor): New color for math background. New color
12358 2001-06-25 The LyX Project <jug@sad.it>
12360 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12362 * lyxfunc.C (Open):
12363 * bufferlist.C (newFile): do not restrict to files ending with
12366 * BufferView_pimpl.C (MenuInsertLyXFile):
12368 2001-06-24 The LyX Project <jug@sad.it>
12370 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12373 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12375 * lyxtext.h: rename most methods to begin with a small char.
12376 Lots of changes because of this.
12378 * paragraph.C (Paragraph): do not call fitToSize
12379 (erase): call Pimpl::erase
12380 (insertChar): call Pimpl::insertChar
12381 (insertInset): call Pipl::insertInset
12382 (breakParagraph): do not call fitToSize
12383 (breakParagraphConservative): do not call fitToSize
12384 (fitToSize): remove method
12386 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12388 2001-06-24 The LyX Project <Asger>
12390 * Fix Qt compilation^2
12392 2001-06-24 The LyX Project <jug@sad.it>
12394 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12395 depthHook(getDepth()-1).
12398 * ParagraphParameters.h:
12399 * ParameterStruct.h: change type of depth to unsigned int ==
12400 depth_type. Many adaptations to other files before of that.
12402 2001-06-24 The LyX Project <Asger>
12404 * Fix Qt compilation.
12406 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12408 * paragraph.h: renamed several methods to begin with small letter.
12409 several changes to many parts of the code because of this.
12411 2001-06-23 The LyX Project <jug@sad.it>
12413 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12414 rewritten to discard all double spaces when KeepEmpty is off
12415 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12416 to only handle newlines but not fiddle with spaces and friends.
12418 * lyxfunc.C (MenuNew): when doing 'new from template', use
12419 template_path as default directory
12421 2001-06-23 The LyX Project <Asger>
12423 * Clean-up of header file includes all over
12424 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12426 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * paragraph.h: renamed from lyxparagraph.h
12430 2001-06-23 Asger <lyx@violet.home.sad.it>
12432 * Buffer.h: Removed Buffer::resize
12433 * BufferList.h: Removed BufferList::resize
12434 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12435 the document lazily when we change the width, or the font settings.
12437 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12439 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12441 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12443 * buffer.h: remove out of date comment
12445 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12448 * screen.C: fix "theoretical" GC leak
12450 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12452 * LaTeX.C (scanAuxFile):
12453 (deplog): remove trailing \r when reading stream (useful under
12456 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12458 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12459 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12460 and BufferView::theLockingInset(Inset*), so should use them and not
12461 access bv_->text->the_locking_inset directly.
12463 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12465 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12468 * tex-defs.h: remove old unused file
12470 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12472 * BufferView_pimpl.C: fix typo, remove minibuffer message
12473 when buffer has loaded
12475 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * lyxfunc.C (Dispatch): use stringstream
12478 (MenuNew): use stringstream
12479 (Open): use stringstream
12481 * importer.C (Import): use stringstream
12483 * bufferview_funcs.C (CurrentState): use stringstream
12485 * LaTeX.C (run): use stringstream
12487 * BufferView_pimpl.C (savePosition): use stringstream
12488 (restorePosition): use stringstream
12489 (MenuInsertLyXFile): use stringstream
12491 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12504 * vspace.C: removed // -*- C++ -*- as first line.
12507 * version.h: added // -*- C++ -*- as first line.
12509 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12511 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12513 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12516 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12518 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12521 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12523 * gettext.C: include LString.h even when --disable-nls is on.
12525 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12527 * converter.h (Get): changed argument type from int to
12528 FormatList::size_type to avoid unnecessary conversion.
12530 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12533 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * gettext.h: include LString.h even when --disable-nls is on.
12537 2001-06-07 Juergen Vigna <jug@sad.it>
12539 * text.C (BreakAgain): subst spaces with tabs.
12541 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12542 (resizeInsetsLyXText): set force on resizeLyXText.
12544 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12546 * gettext.h (gettext_init):
12547 (locale_init): use a real definition instead of a macro
12549 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12551 * Bufferview_pimpl.C:
12553 * LColor.C: further lcolor tidies
12555 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12557 * BufferView_pimpl.C (updateScrollbar): simplify.
12559 * BufferView2.C: don't include insets/insetinfo.h, change
12560 prototype for insertInset and call the Pimpl version. let
12561 updateInset call Pimpl version.
12563 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12564 gotoInset to BufferView::Pimpl
12566 2001-06-01 Juergen Vigna <jug@sad.it>
12568 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12569 inside a LockingInset (is the update needed at all?).
12571 2001-05-31 Juergen Vigna <jug@sad.it>
12573 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12574 here not the old one otherwise how should we compare it afterwards
12577 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12582 * FontInfo.C: bring C functions into global namespace when
12585 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12587 * LString.h: make sure config.h has been loaded before LString.h.
12589 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12590 (one for each char read by EatLine!).
12592 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12595 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12597 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12598 to the same as the par we break from
12600 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12602 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12604 * MenuBackend.C (expand): also create menu entries for wide
12605 versions of the floats.
12607 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12609 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12611 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12612 frontends/Makefile.am
12618 * tabular.C (getTokenValue): add std::
12620 * tabular-old.C (getTokenValue): add std::
12621 (getTokenValue): ditto
12622 (getTokenValue): ditto
12624 * screen.C (ToggleSelection): adjust
12626 * lyxtext.h: put selection cursors inside a Selection struct.
12628 * lyxfunc.C (moveCursorUpdate): adjust
12630 * lyxfont.C (latexWriteStartChanges): add std::
12632 * lyxfind.C: adjust
12634 * font.h: delete with(char const *, LyXFont const &)
12636 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12638 * FontInfo.C (getFontname): add std::
12640 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12641 (workAreaButtonPress): adjust
12642 (tripleClick): adjust
12644 (moveCursorUpdate): adjust
12647 * BufferView2.C (gotoInset): adjust
12649 2001-05-30 Juergen Vigna <jug@sad.it>
12651 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12652 to check pspell I add this as default as I now have new pspell
12653 libraries and they seem to use this.
12655 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * text2.C (CutSelection): make the cursor valid before the call to
12660 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12662 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12663 relied on 0 terminated strings and other horrors. Bug found due to
12664 the new assert in lyxstring!
12666 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12669 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12671 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12674 * lyxfunc.C (processKeySym): change method of getting to the
12677 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12678 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12679 * BufferView_pimpl.[Ch]: here as private methods.
12681 2001-05-28 Juergen Vigna <jug@sad.it>
12683 * text.C (SetHeightOfRow): added the update() call again as it is
12684 needed to initialize inset dimensions!
12686 2001-05-16 Juergen Vigna <jug@sad.it>
12688 * text2.C (SetCharFont): Add new function with BufferView * and
12689 bool toggleall parameters for setting insets internal fonts.
12690 (SetFont): Freeze the undo as we may change fonts in Insets and
12691 all this change should be inside only one Undo!
12693 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12694 setting font's in insets as for them we have the SetFont function!
12696 2001-05-15 Juergen Vigna <jug@sad.it>
12698 * text2.C (ClearSelection): to be sure we REALLY don't have any
12701 * tabular.C (TeXCellPreamble): fixed the left border problem for
12704 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12706 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12709 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12712 LFUN_BREAKPARAGRAPH.
12714 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12715 help test to "internal only", similar for LFUN_INSERT_URL
12717 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12718 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12719 auto_region_delete and deadkeys.
12721 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12724 * LColor.C: remove some dead entries, tidy a little
12726 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12728 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12730 (Dispatch): implement LFUN_ESCAPE
12732 * commandtags.h: add LFUN_ESCAPE
12734 * LyXAction.C (init): add entry for LFUN_ESCAPE
12736 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12737 Remove commented code.
12738 (insertNote): moved here
12739 (open_new_inset): moved here
12741 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12744 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * kbmap.C (findbinding): clean it up and make it work correctly.
12748 * lyx_main.C (init): do not pass argc and argv as parameters
12750 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12752 * buffer.C: fix path for OS/2 & Win32
12756 * lyx_main.C: Added os:: class.
12758 * os2_defines.h: update
12760 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12762 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12763 better by trying again with reduced state.
12765 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12767 * lyxrc.C (read): print error about invalid key sequence only when
12768 debugging (because not all latinX keysyms are known to some X
12771 * kbsequence.C (getiso): add a few std:: qualifiers
12772 (getiso): comment out extra return statement.
12774 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12778 (Dispatch): enhance the accent inset a bit. (not perfect)
12780 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12784 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12786 * bufferlist.C (emergencyWrite): fix assert() call
12788 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12790 * text.C (InsertChar): Added trivial patch to only send the "you
12791 can not do multiple spaces this way" message once during a
12794 2001-05-08 Baruch Even <baruch@lyx.org>
12796 * Makefile.am: Changed order of libraries to get LyX to link properly
12797 with the gnome frontend.
12799 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12801 * LaTeXFeatures.h: add a std:: qualifier
12803 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * paragraph.C (String): use stringstream
12807 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12809 * paragraph.C (writeFile): remove footflag arg
12811 * buffer.C (makeLaTeXFile): use stringstream
12812 (latexParagraphs): remove footnot gurba
12814 * LaTeXFeatures.C (getPackages): use stringstream
12815 (getMacros): likewise
12816 (getTClassPreamble): likewise
12817 (getFloatDefinitions): new method
12819 * paragraph.C (writeFile): reindent
12822 * WorkArea.h: revert the xpos + etc changes.
12824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12826 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12828 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12829 (pasteSelection): likewise
12830 * text2.C (CreateUndo): likewise
12832 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * minibuffer.C (peek_event): temporarily reduce the functionality
12835 of the minibuffer (to allow args on lfuns)
12837 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12838 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12840 * buffer.C (readInset): add compability reading of old float
12841 lists, add reading of new style float list.
12842 (readInset): avoid reevaluation of inscmd.getCmdName()
12843 (getLists): reindent
12845 * MenuBackend.C (MenuItem): implement parsing of
12846 md_floatlistinsert and md_floatinsert.
12847 (expand::LastFiles): move initalizaton of iterators out of loop,
12848 avoid reevaluation.
12849 (expand::Documents): introduce typdedef vector<string> Strings,
12851 (expand::ExportFormats): introduce typedef vector<Format const *>
12852 Formats, and use it.
12853 (expand): implement FloatListInsert and FloatInsert.
12855 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12856 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12857 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12859 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12861 (Dispatch::LFUN_FLOAT_LIST): implement
12863 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12865 * LaTeX.C (run): Fix problem with --export code.
12867 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12869 * BufferView.[Ch] (workarea): removed.
12870 (getClipboard) new method; wrapper for workarea()->getClipboard()
12872 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12875 * WorkArea.h (width, height, xpos, ypos): These methods all
12876 returned the dimensions of the work_area sub-area of WorkArea,
12877 resulting in a position error if the WorkArea were resized. Now
12878 return the dimensions of the entire WorkArea.
12880 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12882 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12884 * LaTeX.C (deplog): correct the syntax of regex reg1
12886 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * undo.C: remove !NEW_INSETS cruft
12890 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * text2.C: remove !NEW_INSETS cruft
12894 * text.C: remove !NEW_INSETS cruft
12896 * tabular.C: remove !NEW_INSETS cruft
12898 * spellchecker.C: remove !NEW_INSETS cruft
12900 * lyxtext.h: remove !NEW_INSETS cruft
12902 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12904 * lyxfunc.C: remove !NEW_INSETS cruft
12906 * lyxfind.C: remove !NEW_INSETS cruft
12908 * lyx_cb.C: remove !NEW_INSETS cruft
12910 * figureForm.C: remove !NEW_INSETS cruft
12912 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12914 * buffer.[Ch]: remove !NEW_INSETS cruft
12916 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12918 * CutAndPaste.C: remove !NEW_INSETS cruft
12920 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12922 * BufferView2.C: remove !NEW_INSETS cruft
12924 * BufferView.h: remove !NEW_INSETS cruft
12926 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12928 * Lsstream.h: include LString.h before the sstream headers to
12929 fix problem with gcc 2.95.3 and lyxstring
12931 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12933 * lyx_main.C: add using directives when needed for C functions
12934 declared in std:: namespace.
12936 2001-04-27 Juergen Vigna <jug@sad.it>
12938 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12939 (SetHeightOfRow): comment out the update call should not be needed!
12941 2001-04-13 Juergen Vigna <jug@sad.it>
12943 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12944 (LyXTabular): tried to minimize operator= operations (and realized
12945 hopfully Lars wish).
12947 2001-04-27 Juergen Vigna <jug@sad.it>
12949 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12951 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12955 * buffer.C (readInset): hack to make listof algorithm work
12957 * BufferView_pimpl.C: hack to make listof algorithm work
12959 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12961 * LyXAction.C: removed all !NEW_INSETS cruft
12962 (init): moved lfun_item in method
12964 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12966 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12968 * BufferView2.C (theLockingInset): white space.
12970 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12972 * minibuffer.C: include <iostream>
12974 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12976 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12978 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12980 * text.[Ch] (TransposeChars): new method
12982 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * call message directly through LyXView instead of through LyXFunc
12985 * BufferView2.C: adjust
12986 * BufferView_pimpl.C: adjust
12987 * FontLoader.C: adjust
12989 * bufferview_funcs.C: adjust
12990 * converter.C: adjust
12991 * figureForm.C: adjust
12992 * importer.C: adjust
12994 * lyx_gui_misc.C: adjust
12995 * lyxfunc.C: adjust
12998 + more files in subdirs
13000 * lyxparagraph.h (size): move up int file
13003 * adjust all uses of Assert to lyx::Assert.
13005 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13006 lyxfunctional in namespace lyx
13007 * layout.C (hasLayout): ditto
13010 (delete_layout): ditto
13011 (NumberOfClass): ditto
13012 * converter.C (GetFormat): ditto
13017 * bufferlist.C (getFileNames): ditto
13018 (emergencyWriteAll): ditto
13021 * MenuBackend.C (hasSubmenu): ditto
13024 * BufferView_pimpl.C (getInsetByCode): ditto
13026 2001-04-18 Juergen Vigna <jug@sad.it>
13028 * vspace.C (asLatexString): fixed the 100% problem.
13030 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13032 * lyxfunc.C (Dispatch):
13034 * minibuffer.h: add a few std:: qualifiers
13036 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13038 * minibuffer.[Ch]: reimplement so that commands is initiated and
13039 run from lyxfunc, simplified som handling, and made the completion
13040 and history code for complete. wip.
13042 * lyxfunc.C (processKeySym): call message
13043 (miniDispatch): new temporary method
13044 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13045 (LFUN_MESSAGE): implement
13046 (LFUN_MESSAGE_PUSH): implement
13047 (LFUN_MESSAGE_POP): implement
13048 (initMiniBuffer): the initial/defualt minibuffer message.
13050 * lyxfont.[Ch]: inline some more getters
13052 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13054 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13056 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13057 (AutoSave): use LFUN_MESSAGE
13058 (Reconfigure): ditto
13060 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13062 * figureForm.C: use LFUN_MESSAGE
13064 * converter.C (runLaTeX): use LFUN_MESSAGE
13066 * bufferview_funcs.C: use LFUN_MESSAGE
13068 (changeDepth): ditto
13070 * bufferparams.h: use boost::
13072 * bufferlist.h: inherit privately from noncopyable
13074 * bufferlist.C (loadLyXFile): remove some commented code.
13076 * buffer.C (runChktex): use LFUN_MESSAGE
13078 * ShareContainer.h: inherit privately from noncopyable
13080 * ParagraphParameters.[hC] (depth): inline it.
13082 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13084 (message): new method
13085 (messagePush): ditto
13086 (messagePop): ditto
13087 (show): init minibuffer
13088 (showState): direct call
13090 * LaTeX.[Ch]: inherit privately from noncopyable
13091 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13092 instead of WriteStatus.
13094 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13096 * BufferView_pimpl.C (buffer): don't init minibuffer
13097 (workAreaButtonPress): use LFUN_MESSAGE
13098 (workAreaButtonRelease): ditto
13099 (savePosition): ditto
13100 (restorePosition): ditto
13101 (MenuInsertLyXFile): ditto
13102 (workAreaExpose): don't init minibuffer
13103 (update): remove commented code, simplify
13105 * BufferView2.C (openStuff): use LFUN_MESSAGE
13106 (toggleFloat): ditto
13109 (copyEnvironment): ditto
13110 (pasteEnvironment): ditto
13115 (updateInset): remove some commented code
13117 * lastfiles.h: inherit privately from noncopyable
13120 * lyx_main.h: ditto
13122 * lyxlex_pimpl.h: ditto
13124 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13125 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13126 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13128 * LyXAction.h: inherit privately from noncopyable, add methods
13129 func_begin, func_end, returning iterators to the func map.
13131 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13132 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13133 (func_begin): new method
13134 (func_end): new method
13136 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13138 (copySelection): ditto
13139 (pasteSelection): ditto
13141 * BufferView.C: whitespace change
13142 * BufferView.h: inherit privately from noncopyable
13144 2001-04-16 Allan Rae <rae@lyx.org>
13146 * tabular-old.C (l_getline):
13147 * spellchecker.C (sc_check_word):
13148 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13149 an unrecognised preprocessor directive. So ensure they're wrapped.
13151 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13153 * src/exporter.C (Export): Give an error message when path to file
13156 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13158 * LaTeX.C (deplog): Always check that foundfile exists.
13160 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13163 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13165 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13167 * tabular.[Ch] (getLabelList): implement new method
13169 * minibuffer.h: comment ouf setTiimer
13171 * minibuffer.C (ExecutingCB): constify res
13172 (peek_event): constify s
13173 (Set): constify ntext
13174 (Init): constify nicename
13176 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13178 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13179 (savePosition): use two params to Minibuffer::Set
13180 (restorePosition): ditto
13182 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * lyx_main.C: include language.h
13186 * Makefile.am (lyx_main.o): add language.h
13188 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13194 * CutAndPaste.C: include gettext.h
13196 * lyxfont.h: remove old hack with ON and OFF.
13199 * lyxfont.h: do not include language.h...
13204 * bufferview_funcs.C:
13210 * paragraph.C: ... but do it here instead
13212 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13216 * tabular.C: small reformat
13218 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13221 (BreakParagraph): ditto
13222 (SetOnlyLayout): ditto
13225 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13228 * lastfiles.C: removed most using decl, add std:: where needed
13230 * buffer.C: ws changes
13232 * MenuBackend.C (class compare_format): put into anon namespace
13233 (expand): constify label, names, action, action2
13236 * text.C (SingleWidth): constify font
13237 (IsBoundary): constify rtl2
13238 (GetVisibleRow): constify ww
13240 * LaTeX.C (deplog): constify logfile
13242 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13244 (workAreaExpose): constify widthChange, heightChange
13246 * lyxrow.C (par): moved
13249 * lyxrow.h: as inlines here
13251 * lyxfont.h (shape): moved from lyxfont.C
13252 (emph): moved from lyxfont.C
13254 * lyxfont.C (LyXFont): use initialization list for all
13256 (shape): move to lyxfont.h as inline
13257 (emph): move to lyxfont.h as inline
13260 2001-04-04 Juergen Vigna <jug@sad.it>
13262 * vspace.C: had to include stdio.h for use of sscanf
13264 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13267 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13268 independent of xforms.
13270 2001-04-02 Juergen Vigna <jug@sad.it>
13272 * spellchecker.C: fixed namespace placing!
13274 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13276 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13277 the LyXParagraph * is 0.
13279 2001-03-29 Juergen Vigna <jug@sad.it>
13281 * vspace.C: added support for %, c%, p%, l%.
13282 (stringFromUnit): added helper function.
13283 (asLatexString): changed to give right results for the %-values.
13285 * buffer.C: convert the widthp in a width%.
13287 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13289 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13292 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13293 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13295 * lyx_cb.[Ch]: see above.
13297 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13301 * lyx.[Ch]: replaced by figure_form.[Ch].
13305 * lyxfunc.C: changed headers associated with above changes.
13307 2001-03-27 Juergen Vigna <jug@sad.it>
13309 * BufferView_pimpl.C: set the temporary cursor right!
13311 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13313 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13315 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13317 * LString.h: removed "using std::getline"!
13319 * BufferView_pimpl.C (Dispatch): changes due to changes in
13320 InsetInclude::Params.
13322 * buffer.C (tag_name): removed redundant break statements as they were
13323 producing lots of warnings with my compiler.
13325 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13327 * LString.h: add "using std::getline" when using the real <string>.
13329 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13331 * buffer.C: removed bitset usage.
13332 PAR_TAG moved to an anonymous name space.
13333 (tag_name): new funtion, also in the anonymous namespace.
13334 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13335 (makeDocBookFile): clean code. Completed transition from string arrays
13337 (SimpleDocBookOnePar): code clean.
13339 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13341 * tabular.C: add some comments.
13343 2001-03-22 Juergen Vigna <jug@sad.it>
13345 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13346 compatibility read a bit and fixed bug with minipage in different
13349 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13351 * buffer.C (pop_tag): removed.
13352 (push_tag): removed.
13353 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13354 array replaced with vector. Added support for CDATA sections.
13355 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13357 (makeDocBookFile): XML conformant declaration of CDATA section,
13358 fixed bug related to <emphasis> in the first paragraph char.
13359 (sgmlOpenTag): exclude empty tags.
13360 (sgmlCloseTag): ditto.
13362 * buffer.h (pop_tag): removed.
13363 (push_tag): removed.
13365 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13367 * language.h (Languages): added size_type and size().
13369 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13371 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13372 response on compability reading of minipages. One probliem is that
13373 the old usage of minipages was «flertydig»
13375 * several files here and in subdirs: don't use static at file
13376 scope use anon namespaces instead.
13378 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13380 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13381 LaTeX output. This is necessary for Literate document
13384 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13386 * buffer.C: insert hfill when needed.
13388 * tabular.C (l_getline): use string::erase, small whitespace change.
13390 * BufferView_pimpl.C: try the anon namespace.
13391 * WorkArea.C: ditto
13393 2001-03-16 Juergen Vigna <jug@sad.it>
13395 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13396 otherwise it won't open options-dialogs.
13398 * buffer.C: honor pextraWidth(p) on converting minipages.
13400 * tabular.C (l_getline): changed the functions to strip trailing \r.
13402 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13404 * BufferView_pimpl.C:
13405 * minibuffer..C: added "using SigC::slot" declaration.
13407 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13409 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13415 * paragraph.C: ditto
13417 * lyxtext.h: NO_PEXTRA
13419 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13421 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13422 * ParameterStruct.h: ditto
13423 * ParagraphParameters.h: ditto
13424 * lyxparagraph.h: ditto
13426 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13428 * buffer.C: add compability for minipage alignment.
13429 (latexParagraphs): remove unwanted pextra check.
13431 * several files: remove CXX_WORKING_NAMESPACES
13433 * buffer.C (pop_tag): tie is in namespace boost
13435 * BufferView.h: noncopyable is in namespace boost
13437 * lyx_main.h: ditto
13440 * lastfiles.h: ditto
13441 * bufferlist.h: ditto
13442 * ShareContainer.h: ditto
13444 * LyXAction.h: ditto
13447 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13449 * Merging changes from BRANCH_MVC back into HEAD.
13451 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13453 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13455 * BufferView_pimpl.C: change from intl.C
13459 * Makefile.am: move combox.*
13465 * intl.C: remove dialog (covered by prefs)
13467 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13469 * lyxfunc.C (Dispatch): removed redundant break statement.
13471 2001-03-14 Juergen Vigna <jug@sad.it>
13473 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13475 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13477 * buffer.C: add hack to fix compability reading of minipages.
13479 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13481 * buffer.C (getLists): Cleanup.
13483 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13485 * lyxfont.C (update): don't honor toggleall on font size.
13487 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13491 * Makefile.am: moved to frontends/xforms/
13495 * BufferView_pimpl.C: changes for moved mathpanel
13497 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13499 * gettext.h: fix gettext_init() in --disable-nls
13501 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13503 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13505 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13508 * lyx.h: strip external form
13510 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13512 * BufferView_pimpl.C: add comment, destroySplash()
13514 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13516 * BufferView_pimpl.C:
13520 * lyxfunc.C: use re-worked insetinclude
13522 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13524 * buffer.C: add using std::stringstream.
13526 * lyx_cb.C: readd using std::ios.
13528 * buffer.C: add using std::map.
13530 * BufferView_pimpl.C: add using std::vector.
13532 * ShareContainer.h: add std:: to swap.
13534 * buffer.h: add some typedefs
13535 * buffer.C (getLists): use them
13536 (getLists): renamed from getTocList.
13537 add a counter for the different float types and use it in the
13539 (getLists): use the same counter for the NEW_INSETS and the "non"
13542 * lyx_cb.h: remove unused items, includes, using etc.
13544 * ShareContainer.h: remove some commented code, add more comments
13545 and "documentation".
13547 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13549 * buffer.C (getTocList): make the list also when NEW_INSETS is
13552 * buffer.h: remove TocType
13554 * buffer.C (getTocList): change to return a map<string,
13555 vector<TocItem> >, implement for dynamic number of list.
13557 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13558 * text2.C (PasteSelection): adjust
13559 * CutAndPaste.C (pasteSelection): adjust
13561 * FloatList.C (FloatList): update from the new_insets branch.
13562 * Floating.[Ch]: ditto
13563 * LaTeXFeatures.C: ditto
13565 * lyxlex_pimpl.C: ditto
13567 * paragraph.C (Last): remove when NEW_INSETS is defined.
13569 * other file: changes because of the above.
13571 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13573 * lyxparagraph.h: rename next to next_, previous to previous_,
13574 make them private for NEW_INSETS. Rename Next() to next(),
13575 Previous() to previous().
13577 * other files: changes because of the above.
13579 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13582 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13585 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13587 * main.C (main): pass lyx_localedir to gettext_init().
13589 * gettext.h: remove locale_init and gettext_init macros
13591 * gettext.C (locale_init): new function
13592 (gettext_init): new function
13594 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13597 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13599 * Moved credits to frontends:
13600 * credits.[Ch]: removed
13601 * credits_form.[Ch]: removed
13602 * lyx_gui_misc.C: remove credits stuff
13605 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13607 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13609 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13610 unneeded destructor.
13612 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13613 a standalone pointer again.
13615 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13617 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13623 * ToolbarDefaults.C:
13632 * BufferView_pimpl.C: use new file dialog in GUII
13635 * lyx_cb.C: remove LayoutsCB to Toolbar
13637 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13639 * ShareContainer.h (get): add std:: qualifier
13641 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13643 * ShareContainer.h: define a proper ShareContainer::value_type
13644 type (and use typename to please compaq cxx)
13646 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13648 * lyxparagraph.h: move serveral local vars to
13649 ParameterStruct/ParagraphParameters., use ShareContainer in
13650 FontTable., make vars in FontTable private and add getter and
13653 * paragraph.C: changes because of the above.
13655 * lyxfont.h: remove copy constructor and copy assignment. (the
13656 default ones is ok), move number inside FontBits. move inlines to
13659 * lyxfont.C: add number to initializaton of statics, move several
13660 inlines here. constify several local vars. some whitespace
13661 cleanup. Dont hide outerscope variables.
13663 * Spacing.h: add two new constructors to match the set methods.
13665 * ShareContainer.h: new file, will perhaps be moved to support
13667 * ParameterStruct.h: new file
13669 * ParagraphParameters.h: new file
13671 * ParagraphParameters.C: new file
13673 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13674 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13676 * BufferView_pimpl.C: ParagraphParameter changes.
13677 * buffer.C: Likewise.
13678 * bufferview_funcs.C: Likewise.
13679 * text.C: Likewise.
13680 * text2.C: Likewise.
13682 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * lyxfind.C (LyXReplace): do not redefine default argument in
13686 (IsStringInText): ditto
13687 (SearchForward): ditto
13688 (SearchBackward): ditto
13690 2001-03-06 Juergen Vigna <jug@sad.it>
13692 * lyxfind.C (IsStringInText): put parentes around expressions.
13694 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13696 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13698 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13700 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13702 * stl_string_fwd.h: add comment
13704 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13707 * tabular.C: remove unused DocBook methods
13713 killed DO_USE_DEFAULT_LANGUAGE
13715 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13717 * lyx_gui.C: do not include language.h.
13719 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13720 arguments in function implementation.
13722 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13724 * BufferView_pimpl.C: add <ctime>
13726 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13728 * BufferView_pimpl.C: add using std::find_if
13730 2001-02-27 José Matos <jamatos@fep.up.pt>
13732 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13735 2001-02-11 José Matos <jamatos@fep.up.pt>
13737 * buffer.C (makeDocBookFile): command styles now have a parameter as
13738 "title" by default.
13740 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13742 * layout_forms.[Ch]: removed
13743 * lyx_cb.[Ch]: out character
13744 * lyx_gui.C: out character
13745 * lyx_gui_misc.C: out character
13746 * bufferview_funcs.C: : out character,
13747 added toggleall as parameter in ToggleAndShow
13749 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13751 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13753 * text2.C (SetCurrentFont): Disable number property at boundary.
13755 2001-02-26 Juergen Vigna <jug@sad.it>
13757 * lyxfunc.C (getStatus): added a string argument override function so
13758 that this is correctly called from LyXFunc::Dispatch if it contains a
13759 do_not_use_argument which is used!
13760 (Dispatch): added check for "custom" export and call appropriate func.
13762 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13764 * lyxrc.C: Add language_command_local, language_use_babel and
13765 language_global_options.
13767 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13769 * buffer.C (makeLaTeXFile): Use language_use_babel and
13770 language_global_options.
13772 2001-02-23 Juergen Vigna <jug@sad.it>
13774 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13775 which works with LyXText and putted it inside BufferView. Here now we
13776 only call for that part the BufferView::Dispatch() function.
13778 * BufferView.C (Dispatch): added.
13780 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13781 functions which needs to use a LyXText over from LyXFunc.
13782 (MenuInsertLyXFile): added
13783 (getInsetByCode): added
13784 (moveCursorUpdate): added
13785 (static TEXT): added
13787 2001-02-22 Juergen Vigna <jug@sad.it>
13789 * BufferView_pimpl.C (update): call a status update to see if LyXText
13792 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13794 * vc-backend.C (revert): implement for CVS
13795 (getLog): implement for CVS
13797 2001-02-20 Juergen Vigna <jug@sad.it>
13799 * text2.C (ClearSelection): added BufferView param for inset_owner call
13801 * lyxfunc.C (TEXT): added this function and use it instead of
13802 directly owner->view()-text of getLyXText().
13804 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13806 * src/layout_forms.C: out preamble
13807 * src/layout_forms.h: out preamble
13808 * src/lyx_cb.C: out preamble
13809 * src/lyx_cb.h: out preamble
13810 * src/lyx_gui.C: out preamble
13811 * src/lyx_gui_misc.C: out preamble
13812 * src/lyxfunc.C: connect with guii preamble
13814 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13816 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13818 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13820 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13821 whether to run bibtex.
13823 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13825 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13827 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13829 * Makefile.am (lyx_SOURCES): removed bibforms.h
13831 * vspace.h: doxygen
13833 * text.C (GetVisibleRow): make several local vars const
13835 * tabular.C: small cleanup.
13837 * lyxserver.C (callback): use compare instead of strncmp
13839 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13840 inlines to after class or to paragraph.C
13842 * lyxfont.h: remove friend operator!=
13844 * converter.h: move friend bool operator< to non friend and after
13847 * combox.h: small cleanup
13849 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13850 to inlines after class def.
13852 * buffer.C (pop_tag): use string operations instead of strcmp
13854 * bmtable.c: doxygen, small cleanup
13856 * LaTeX.h: remove friend operator==
13858 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13870 * BufferView_pimpl.C:
13871 * BufferView.[Ch]: remove cruft
13873 2001-02-14 Juergen Vigna <jug@sad.it>
13875 * lyxfunc.C: removed #if 0 unused code
13877 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13879 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13881 * text2.C (SetSelection): added a BufferView * parameter
13883 2001-02-13 Juergen Vigna <jug@sad.it>
13885 * lyxfunc.C (Dispatch): fixed protected blank problem.
13886 * BufferView2.C (protectedBlank): added LyxText * parameter.
13888 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13889 (AppendColumn): same as above for column_info.
13891 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13892 (moveCursorUpdate): use a LyXText param for support of InsetText.
13894 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13895 (tripleClick): ditto
13897 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13899 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13901 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13903 * text2.C (SetSelection): set correct update status if inset_owner
13904 (ToggleFree): ditto
13906 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13908 * tabular.C: remove some commented code.
13910 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13912 * BufferView_pimpl.C: call hideSplash()
13914 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13917 * bibforms.h: remove
13920 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13921 add LFUN_CHILD_CREATE
13923 * counters.h: fix tiny typo
13928 * lyx.C: move splash to frontends/xforms/
13930 * lyx_gui_misc.C: move Include and Bibform to frontends
13932 * lyxvc.h: clarify comment
13934 * vspace.C: tiny housekeeping
13936 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13938 * text.C (PrepareToPrint): RTL Fix.
13940 * paragraph.C (GetUChar): New method.
13941 (String): Use GetUChar.
13943 * buffer.C (asciiParagraph): Use GetUChar.
13945 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13947 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13949 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13952 * buffer.C: rename to getLogName(), handle
13953 build log / latex log nicely
13955 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13958 * MenuBackend.h: remove support for reference menuitem type.
13960 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13962 * BufferView_pimpl.C: housekeeping
13963 * BufferView_pimpl.h:
13968 * minibuffer.h: move Timeout GUI-I
13970 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13972 * lyxrc.C (read): Update converters data-structures.
13974 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13976 * LaTeX.h (operator!=): add operator != for Aux_Info
13978 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13980 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13982 * LaTeXLog.C: deleted, useful code moved to Buffer
13985 * buffer.C: new function getLatexLogName()
13991 * lyxfunc.C: use frontends for LaTeX and VC logs
13993 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13995 * LaTeX.h: yet another std:: that Allan forgot.
13997 * Variables.C (set): renamed from isset(), because this clashes
13998 with some HP-UX macros (grr).
14000 2001-02-06 Allan Rae <rae@lyx.org>
14002 * LaTeX.h: Another bug fix. Missing std:: this time.
14004 2001-02-04 Allan Rae <rae@lyx.org>
14006 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14007 floats problem. I've left it commented out because it's not quite
14008 correct. It should also test that the current object is a table or
14009 figure inset. But I haven't gotten around to figuring out how to do
14010 that. I *think* it'll be something like: "table" == inset.type()
14012 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14015 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14017 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14018 all the citation/databases/styles in the auxilary file.
14019 (run): Rerun latex if there was a babel language error.
14021 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14023 * text.C (Backspace): Preserve the font when changing newline char
14025 (BreakParagraph): If the cursor is before a space, delete the space.
14027 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14029 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14031 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14032 new argument (code).
14033 (ChangeCitationsIfUnique): New method.
14035 * paragraph.C (GetPositionOfInset): Handle bibkey.
14037 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14039 * BufferView_pimpl.h: change type of Position::par_pos to
14040 LyXParagraph::size_type.
14042 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14044 * BufferView_pimpl.C (savePosition, restorePosition): Write
14045 messages to minibuffer.
14047 2001-01-28 José Matos <jamatos@fep.up.pt>
14049 * buffer.C (makeDocBookFile): adds support for document language.
14050 A silly restriction on the name of LatexCommand types where removed.
14051 Added support for CDATA sections, allows to chars unescaped, used
14052 among others in code, to avoid escape < and >.
14054 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14056 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14057 saved positions instrad of a stack. Furthermore, a position is
14058 stored using paragraph id/paragraph position.
14060 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14061 Remove LFUN_REF_BACK.
14063 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14065 * converter.C (dvipdfm_options): New method.
14067 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14069 * vspace.C (isValidLength): Fix for empty input string.
14071 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * LyXAction.C (init): change description of LFUN_FIGURE to
14076 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14078 * LaTeX.C: add using directive
14080 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14082 * MenuBackend.C (expand): Fix the sorting of the formats.
14084 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14086 * lyx_main.C: tiny error message fix
14088 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14090 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14091 calling fl_initialize(). This fixes the problem with ',' as
14092 decimal separator in text files.
14094 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14096 * trans.C (process): Fix the keymap bug.
14098 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14100 * LaTeX.C (scanAuxFiles): New method. Provides support for
14101 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14102 (scanLogFile) Scan for "run BibTeX" messages.
14104 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14105 OT1 font encoding. Also, load the aecompl package if the ae
14108 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14110 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14112 * texrow.C (increasePos): turn two error messages into debug
14115 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14117 * LaTeX.C (scanAux): Handle the \@input macro.
14118 (runBibTeX): Use scanAux().
14120 * language.C (latex_options_): New field.
14122 * LaTeXFeatures.C (getMacros): Add language macros.
14124 * buffer.C (makeLaTeXFile): Small fix.
14126 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14128 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14130 * text2.C: add a using directive.
14132 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14137 * lyxfunc.C: kill LyXBell.
14139 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14141 * text.C (IsBoundary): Remove the error message
14143 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14145 * lyxrc.C (setDefaults): Correct initialization value for
14148 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14150 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14153 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14154 and GotoNextNote().
14156 * src/LyXAction.C: Added reference-next.
14158 * text.C (InsertChar): Use contains instead of strchr.
14160 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14162 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14164 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14165 alignment commands (when needed).
14167 * text.C (InsertChar): Add ':' to number separator chars.