2 2003-12-03 André Pönitz <poenitz@gmx.net>
10 * text2.C: use Inset::getText instead of Inset::getParagraph
12 2003-12-03 André Pönitz <poenitz@gmx.net>
16 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
17 InsetText::read() as LyXText::read()
19 2003-12-02 Angus Leeming <leeming@lyx.org>
21 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
22 type. Add a comment in the implementation that the function uses
23 the stream's bad() function rather than fail() as the std::streams
26 2003-12-02 André Pönitz <poenitz@gmx.net>
28 * lyxlex.[Ch]: make interface more similar to std::stream
30 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
32 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
34 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
36 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
38 * vspace.[Ch]: remove VSpace::NONE
40 2003-12-01 André Pönitz <poenitz@gmx.net>
43 * lyxtext.h: move ParagraphList member to LyXText
44 rename LyXText::ownerParagraphs to LyXText::paragraph
57 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
59 * undo.C: fix cursor positioning
61 2003-12-01 John Levon <levon@movementarian.org>
63 * BufferView_pimpl.C: fix a crash on exit with
66 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
68 * BranchList.C: fix setSelected() method.
70 2003-11-28 André Pönitz <poenitz@gmx.net>
72 * ParagraphParameters.[Ch]:
73 * ParameterStruct.h: remove space above/below from Paragraph to
88 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
90 * factory.C: Syntax change for CharStyles
92 2003-11-28 André Pönitz <poenitz@gmx.net>
97 * buffer.[Ch]: move LyXText member
99 2003-11-28 André Pönitz <poenitz@gmx.net>
101 * BufferView.[Ch]: make LyXText * text a private member
103 * BufferView_pimpl.C:
114 * output_plaintext.C: cleanup
116 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
119 * lyxtextclass.[Ch]: parametrize SGML document header
121 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
124 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
127 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
129 * text2.C (setFont): rework using PosIterator (no more recursive)
130 (setCharFont): no more needed
131 (setLayout): no more selection cursors fiddling (done by redoCursor)
132 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
133 destroy remaining ones)
135 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
137 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
139 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
142 * text3.C: adjust + re-allow multi par depth changes
143 * textcursor.C: simplify a bit
145 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
151 * src/output_docbook.C:
152 * src/output_latex.C:
157 * src/text2.C: Introducing a number of tags parametrizing various
158 XML formats that we may want to support
160 2003-11-25 André Pönitz <poenitz@gmx.net>
162 * InsetList.[Ch] (begein, end): inline as suggested by profiler
164 * lyxtext.h (leftMargin/rightMargin): simplify interface
171 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
173 * lyxfunc.C (dispatch): propogate the bibtex databases from the
174 master file to any child files. Fixes bug 546.
176 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
178 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
180 2003-11-24 André Pönitz <poenitz@gmx.net>
182 * rowpainter.C: simplification
184 * text2.C (updateCounters): remove call to redoParagraph on
185 changed labels as this is far too expensive.
187 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
189 * converter.C (convert): fix a crash: this function gets
190 called with buffer == 0 from importer code.
192 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
194 * text3.C (cursorPrevious): make sure that we do not compare
195 iterators form different containers.
198 * rowpainter.C (paintSelection): make sure that we do not compare
199 iterators from different containers.
201 * text3.C (dispatch): [PRIOR] make sure that we do not compare
202 iterators from different ParagraphList containers.
205 * text2.C (LyXText): change order of initialization slightly
206 (operator=): new function. copy all variables except cache_par_
207 (moveUp): make sure that we do not compare iterators from
208 different ParagraphList constainers.
211 * text.C (firstPar): new function
212 (lastPar): new function
213 (endPar): new function
215 * lyxtext.h: move things around and group public functions, public
216 variables, private functions, private variables
218 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
220 * factory.C: change call to InsetERT constructor to avoid
221 additional invocation of method status
222 * text2.C (toggleInset): remove redundant update() call
223 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
224 instead of a Bufferview pointer
226 2003-11-21 André Pönitz <poenitz@gmx.net>
228 * rowpainter.C: simplification
230 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
232 * text3.C (dispatch): make possible to extend a word/row selection
235 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
237 * lyxtext.h: x0_,y0_ -> xo_,yo_
238 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
239 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
240 * rowpainter.C (paintRows): paint full paragraphs
242 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
244 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
247 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
249 * lyxtext.h: add x0_, y0_
250 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
251 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
253 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
255 * text2.C (setCursorIntern): move the x_target update here *
256 * text3.C: change some bv() to true/false in calls to
257 cursorUp/Down/Right/Left
258 * cursor.C: use helper function.
260 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
262 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
263 * paragraph_funcs.[Ch]: correct comment
264 * rowpainter.C: do not paint selections away from bv->cursor()
265 Fix a long standing selection painting bug.
266 * text3.C: generalize mouse-selection code to LyXTexts other that
268 * textcursor.C: do not use y coords if we can use par offsets
270 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
272 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
273 cursor position after e.g. inset insert)
275 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
277 * lyxfind.C (replace): adjust to locking removal + some
280 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
282 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
285 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
288 * output_docbook.C: XML sanitation: new layout
289 parameters InnerTag and CommandDepth
291 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
293 * BufferView_pimpl.C:
295 * text3.C: Fix the insertion and modification of button-style
298 2003-11-13 André Pönitz <poenitz@gmx.net>
300 * InsetList.[Ch]: remove deleteLyXText
302 * paragraph.[Ch]: cache beginOfBody position
307 * text3.C: remove superfluous update() calls
311 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
313 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
314 * BufferView.C (fitLockedInsetCursor): remove
315 * cursor.[Ch] (getDim): add
316 * text.C (getRowNearY): add faster version
317 * text3.C: remove some update calls
319 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
331 * text3.C: The Character Style /XML short element patch.
333 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
336 * factory.C: Small step to solving 'unable to insert some insets'
339 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
341 * cursor.[Ch] (updatePos): new function for updating the y
342 position of the tip inset
343 * bufferview_funcs.C (put_selection_at):
344 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
346 2003-11-11 André Pönitz <poenitz@gmx.net>
348 * text.C: remove big comment on invalid Paragraph pointers as it is
351 2003-11-11 André Pönitz <poenitz@gmx.net>
353 * text_funcs.[Ch]: merge with ...
361 * Makefile.am: remove text_funcs.[Ch]
363 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
365 * cursor.C (getPos): return absolute cached y coord
367 * BufferView_pimpl.C (fitCursor): new simplistic code
368 (workAreaDispatch): add a fitCursor call
370 2003-11-10 André Pönitz <poenitz@gmx.net>
373 * BufferView_pimpl.[Ch]: merge update() and updateInset()
375 2003-11-10 André Pönitz <poenitz@gmx.net>
377 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
378 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
379 indicate that the cursor needs to leave an inset
381 * lyxtext.h: remove inset locking
383 * cursor.[Ch]: re-implement functionality provided by inset locking
386 * BufferView_pimpl.[Ch]:
388 * bufferview_funcs.[Ch]:
400 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
402 * PosIterator.[Ch]: replace the stack with a vector, add inset
404 * iterators.[C]: adjust
406 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
408 * lyxfind.C (replaceAll): mark the buffer dirty if something was
410 * paragraph_funcs.C (readParToken): put the correct id in the
411 error item, not the id of the top paragraph
413 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
415 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
416 * bufferview_funcs.C (put_selection_at): use the above
418 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
420 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
422 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * output_plaintext.h:
427 * output_docbook.h: add #include statements
429 2003-11-05 José Matos <jamatos@lyx.org>
431 * output_docbook.[Ch]:
433 * output_linuxdoc.[Ch]:
434 * output_plaintext.[Ch]: New files for output formats.
435 * output.[Ch]: New file for helper functions.
438 * paragraph_funcs.[Ch]: output functions moved to new files.
440 * outputparams.h: rename of latexrunparams.h
448 * paragraph_funcs.[Ch]:
449 * paragraph_pimpl.[Ch]:
450 * tabular.[Ch]: rename ascii to plaintext
451 and LatexRunParams to OutputParams.
453 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
455 * iterators.[Ch] (text): require bv argument
456 * undo.C (recordUndo):
457 * lyxfunc.C (dispatch):
458 * bufferview_funcs.C (put_selection_at): adjust
460 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
462 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
464 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
466 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
469 2003-11-04 André Pönitz <poenitz@gmx.net>
471 * cursor.[Ch]: restructure
474 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
476 * iterators.[Ch] (asCursor): remove
478 * lfuns.h: remove LFUN_INSET_EDIT
484 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
486 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
488 * lyxfind.[Ch]: complete overhaul
489 * BufferView_pimpl.C:
491 * paragraph.[Ch] (insert): add
493 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
497 * text.C: remove dead spellcheck code
499 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
501 * dispatchresult.h: add a val setter
503 * cursor.C (dispatch): use a tempvar for data_[i]
505 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
507 * PosIterator.[Ch]: compile fix
509 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
511 * text.C (cursorPar): deactivate the cursor cache
513 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
515 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
517 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
519 * text3.C (dispatch): adjust for new DisptchResult semantics.
521 * lyxfunc.C (dispatch): handle update when return from
522 Cursor::dispatch, adjust for new DispatchResult semantics.
524 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
525 DispatchResult(true) mean to not update. Add class functions for
526 setting dispatched and update, as well as reading.
528 * cursor.C (dispatch): don't handle update here
530 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
532 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
533 * trans_mgr.C: adjust
535 * paragraph_funcs.C (readParToken): exception safety
537 * lyxvc.h: store the vcs pointer in a scoped_ptr
540 * lyxsocket.C (serverCallback): exception safety
542 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
544 * ispell.C (clone): make it return a auto_ptr
546 * factory.C (createInset): exception safety
547 (readInset): exception safety
549 * bufferlist.C (newBuffer): exception safety
551 * Thesaurus.C (Thesaurus): use initialization for aik_
553 * MenuBackend.C (expandToc): exception safety.
555 2003-11-03 André Pönitz <poenitz@gmx.net>
559 * bufferview_funcs.C: remove getInsetFromId()
562 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
568 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
570 * PosIterator.C (distance, advance): new
571 * bufferview_funcs.[Ch] (put_selection_at): new
572 * iterators.[Ch] (lockPath): new
574 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
576 * iterators.[Ch] (asPosIterator): added
577 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
578 * PosIterator.[Ch]: added
580 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
584 * cursor.C (dispatch):
585 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
587 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
588 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
589 contructor, add a class function dispatched. Remove operator>=
591 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
593 * debug.C: only use the default constructor for debugstream
596 * main.C (main): include debug.h and setup the lyxerr streambuf
599 2003-10-31 José Matos <jamatos@lyx.org>
601 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
603 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
604 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
605 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
606 * paragraph_pimpl.C (simpleTeXSpecialC):
607 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
608 add LatexRunParams argument.
610 * exporter.C (Export): change call accordingly.
612 * latexrunparams.h: add new member to take care of the other backends.
613 2003-10-30 José Matos <jamatos@lyx.org>
615 * buffer.C (makeLinuxDocFile, makeDocBookFile):
616 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
617 factorise code for paragraph output.
619 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
622 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * text3.C (dispatch):
625 * lyxfunc.C (dispatch):
626 * cursor.C (dispatch):
627 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
629 * dispatchresult.h: make the dispatch_result_t ctor explicit
631 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
634 * buffer.C: small refactoring of docbook stuff
636 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
641 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
643 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
644 operator dispatch_result_t, and operators for == != and >=
646 * cursor.C (dispatch): adjust for operator dispatch_result_t
647 removal. comment out call to update
649 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
651 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
659 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
662 * dispatchresult.h: new file, DispatchResult broken out of
665 * Makefile.am (lyx_SOURCES): add dispatchresult.h
667 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
669 * text.C (rowBreakPoint): put a hack inside #if 0
671 2003-10-28 André Pönitz <poenitz@gmx.net>
678 * text2.C: general cleanup (lots of small stuff)
680 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
682 * text2.C (cursorEnd): simple fix to the "end key goes to one
683 before the end on last row" bug
685 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
687 * text.C (backspace): fix the "zombie characters"
689 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
691 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
693 2003-10-27 André Pönitz <poenitz@gmx.net>
695 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
697 * factory.C: handle new InsetPagebreak, InsetLine
699 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
700 and move handling into new InsetPagebreak, InsetLine
702 * BufferView_pimpl.C:
704 * ParagraphParameters.C:
717 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
726 * text3.C: remove lastPos uses in favour of Row::endpos
728 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
730 * undo.C (performUndoOrRedo): fix two crashes by setting a
731 cursor by hand and reordering some calls. Use bv->lockInset instead
732 of inset->edit because the latter loses cursor information
734 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
736 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
738 (rowBreakPoint): fix width. change point to point + 1.
741 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
744 * lyxfunc.C: fix (at least partly) the problems
745 with the Nav menu and headers inside branch insets
748 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
750 * paragraph.C (getChar): add strong asserts
752 * lyxrow_funcs.C (lastPos): remove hideous hack
754 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
755 (fill): adjust to that (avoid an infinite loop)
757 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
759 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
761 2003-10-23 André Pönitz <poenitz@gmx.net>
763 * RowList_fwd.h: change list<> to vector<> to gain speed
764 after suggestion from Alfredo
766 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
768 * lyxtext.h: move the bidi stuff from here...
771 * Bidi.[Ch]: ... to here
773 2003-10-23 André Pönitz <poenitz@gmx.net>
776 * text.C (isLastRow, isFirstRow): new functions
778 * paragraph.h: new width cache member
780 * rowpainter.C: replace RowList::iterator with Row & where possible
782 * lyxfunc.C: replace several view()->text with a single call
784 * toc.C: fix 'unused' warning
786 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
788 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
789 when woring with stream::pos_type
790 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
792 2003-10-22 André Pönitz <poenitz@gmx.net>
795 * text.C: use Row & instead of RowList::iterator
797 * lyxrow.h: rename end() to endpos()
803 2003-10-22 Angus Leeming <leeming@lyx.org>
805 * buffer.[Ch] (fully_loaded): new member function, returning true
806 only when the file has been loaded fully.
807 Used to prevent the premature generation of previews and by the
808 citation inset to prevent computation of the natbib-style label.
810 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
811 templates are all set up.
813 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
815 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
817 * text.C: fixed an "oops" in the "is a bit silly"
820 2003-10-21 André Pönitz <poenitz@gmx.net>
822 * FuncStatus.[Ch]: small stuff, whitespace
824 * lyxfont.[Ch]: operator<<() for debug reasons
828 * lyxtext.h: whitespace, spelling
830 * paragraph.C: naming of variables
833 * text2.C: small stuff
836 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
838 * text.C: (1) finish off the inset display() work;
839 (2) fix the "is a bit silly" bug (accessing char
842 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
844 * text.C: re-introduce display() for insets, fixing the
845 various bugs (stretch of line above, math inset
848 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
850 * text.C (rightMargin): remove spurious semicolon
852 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
855 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
857 * text3.C: fix one crash due to wrong cursor def
859 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
861 * vc-backend.C (scanMaster): make the regex static
863 * LaTeX.C (scanAuxFile): make the regexs static
865 * text3.C (doInsertInset, dispatch, dispatch):
866 * text2.C (cursorUp, cursorDown):
867 * text.C (selectNextWordToSpellcheck):
868 * BufferView_pimpl.C (dispatch):
869 * lyxfunc.C (dispatch): localDispatch -> dispatch
871 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * lyxsocket.C: include <cerrno>
875 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
877 * lyxfunc.C (dispatch): remove textcache stuff
879 * bufferlist.C (release): remove textcache stuff
882 * TextCache.C: delete file
883 * TextCache.h: delete file
885 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
887 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
888 delete of the bv_->text.
889 (resizeCurrentBuffer): remove texcache stuff
890 (workAreaResize): ditto
892 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
894 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
897 2003-10-16 André Pönitz <poenitz@gmx.net>
904 * text3.C: speed up by storing y positions per paragraph plus per-row
905 offset instead of having a 'full' y position in the row.
907 2003-10-15 André Pönitz <poenitz@gmx.net>
911 * undo.[Ch]: make undo aware of inner insets
913 2003-10-14 Angus Leeming <leeming@lyx.org>
915 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
916 static member functions LyX::ref() and LyX::cref.
917 (lastfiles): new accessor functions for the new lastfiles_ member var.
918 (addLyXView, views_): add a new LyXView to the list of views_.
919 (updateInset): loop over all LyXViews to call their own updateInset
920 member function, returning a pointer to the Buffer owning the inset.
922 * BufferView_pimpl.C (loadLyXFile):
923 * MenuBackend.C (expandLastfiles):
924 * bufferlist.C (MenuWrite, QuitLyX):
925 lastfiles is no longer a global variable.
926 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
928 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
929 static function. Access through LyX::cref().emergencyCleanup().
931 2003-10-14 André Pönitz <poenitz@gmx.net>
933 * iterators.[Ch]: new direct access to innermost LyXText and Inset
935 * undo.[Ch]: restoring part of 'undo in insets'
938 * undo_funcs.[Ch]: merge with undo.[Ch]
940 * tabular.C: small cleansing stuff
942 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
944 * paragraph_funcs.C (readParToken): report unknown insets as error
945 boxes. Use the outer paragraph as location (also for unknown
948 * factory.C (readInset): do not abort on reading an unknown inset.
951 2003-10-13 Angus Leeming <leeming@lyx.org>
953 * lyx_main.C (LyX): remove call to setDisplayTranslator().
955 * lyxrc.C: displayTranslator is now a function,
956 declared in GraphicsTypes.h.
958 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
960 * format.C: new placeholder $$a to pass the socket address.
962 * bufferlist.[Ch]: new function getBufferFromTmp.
964 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
965 files in the temporary dir.
967 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
969 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
971 * Makefile.am: add lyxsocket.[Ch].
973 * lyx_main.C (error_handler): handle SIGPIPE.
975 2003-10-13 André Pönitz <poenitz@gmx.net>
977 * BufferView_pimpl.C:
982 * undo_funcs.[Ch]: use paroffset_type instead of
983 ParagraphList::iterators to prevent multiple conversion
984 (and get a more robust interface)
986 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * lyxfunc.C (dispatch): RESULT -> dispatch_result
990 * text3.C (dispatch): ditto
992 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * LaTeX.C (handleFoundFile): move the static to smaller scope,
995 move the onlyfile, use onlyfile instead of foundfile in a couple
998 * DepTable.C (update): flush the error stream a bit more
1000 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * lyxserver.C (callback): adjust
1004 * lyxfunc.C (getStatus): add a missing brace in commented code
1005 (ensureBufferClean): reindent
1006 (dispatch): delete version taking a string
1008 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1010 * LaTeX.C (deplog): move found file handlig from here...
1011 (handleFoundFile): .. to new function here.
1012 (deplog): make sure to discover several files mentioned on the
1015 2003-10-10 André Pönitz <poenitz@gmx.net>
1022 * text3.C: fix some of the tabular crashes
1024 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1026 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1028 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1030 2003-10-09 André Pönitz <poenitz@gmx.net>
1032 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1035 * BufferView_pimpl.C:
1036 * bufferview_funcs.C:
1047 * undo_funcs.C: adjust
1049 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * text2.C (incrementItemDepth): new function, use a backtracking
1052 algorithm to discover the correct item depth.
1053 (resetEnumCounterIfNeeded): new function, use a backtracking
1054 algorithm to discover if counter reset is needed.
1055 (setCounter): use them. Simplify a bit. Add different labels for
1056 different item depths for itemize.
1058 * paragraph.C (Paragraph): remove initialization of enumdepth
1061 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1062 enumerate and itemize. Change the type of itemdepth to signed char.
1064 2003-10-08 André Pönitz <poenitz@gmx.net>
1066 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1071 * tabular.[Ch]: fix crash after 'row-insert'
1073 2003-10-08 Angus Leeming <leeming@lyx.org>
1075 Fix doxygen warnings.
1077 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1078 Remove CutAndPaste:: prefix from header file declaration.
1080 * LColor.h (fill): remove LColor:: prefix from declaration.
1082 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1083 use lyx::depth_type rather than Paragraph::depth_type so that
1084 header file and .C file match.
1086 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1088 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1089 * aspell.C: \file aspell_local.C -> \file aspell.C
1090 * gettext.C: \file gettext.C -> \file src/gettext.C
1091 * gettext.h: \file gettext.h -> \file src/gettext.h
1092 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1093 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1094 * text.C: \file text.C -> \file src/text.C
1096 * toc.C: move comment so that doxygen is not confused.
1098 2003-10-07 Angus Leeming <leeming@lyx.org>
1100 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1102 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1105 * aspell_local.h: add forgotten std::string's.
1107 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1114 * text3.C: The Box patch. Fancybox support, minipage, parbox
1116 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1122 * ParagraphParameters.h:
1132 * lyxtextclasslist.h:
1135 * paragraph_pimpl.C:
1136 * textcursor.h: add <string> and other small fixes to make Lars'
1137 std::string patch compile with STLport.
1139 2003-10-06 Angus Leeming <leeming@lyx.org>
1141 * LColor.h: Add missing #include <string>.
1143 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * All most all file in all subdirs: Make <string> be the prefered
1146 way of getting to std::string, add using declarations.
1148 2003-10-06 André Pönitz <poenitz@gmx.net>
1150 * metricsinfo.C: initialize LyXFont before changing attribute.
1151 (fixes the 'math in \emph is upright' bug)
1153 2003-10-06 André Pönitz <poenitz@gmx.net>
1155 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1157 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1160 * paragraph_pimpl.C: Small fixes to build using STLport
1162 2003-10-02 André Pönitz <poenitz@gmx.net>
1165 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1167 2003-10-01 André Pönitz <poenitz@gmx.net>
1169 * factory.C: assert early
1171 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1173 * lyx_main.C: remove the global debug object
1175 * debug.h: adjust for new debugstream
1177 * debug.C: adjust for new debugstream and keep the global debug
1180 2003-09-22 Angus Leeming <leeming@lyx.org>
1182 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1183 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1184 an incomplete class LyXFont.
1186 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1188 * factory.C: bug fix in branches
1190 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * lyxfunc.C (processKeySym): adjust
1194 (dispatch): change arg name from ev to func, adjust
1195 (sendDispatchMessage): ditto
1197 * lyx_main.C (defaultKeyBindings): adjust keybindings
1198 (deadKeyBindings): ditto
1200 * kbsequence.C (addkey): return a FuncRequest
1202 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1204 * kbmap.C (bind): take a FuncRequest as arg, adjust
1207 (defkey): change to take a FuncRequest as arg, adjust
1208 (findbinding): take a FuncRequest as arg, adjust.
1210 * funcrequest.h (operator=): added
1212 * funcrequest.C (FuncRequest): default kb_action changed from
1213 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1215 * buffer.C (dispatch): simplify
1216 (dispatch): adjust to take a FuncRequest as arg, adjust
1218 * boost.C (assertion_failed): change assertion message slightly
1220 * ToolbarBackend.C (read): simplify
1222 * MenuBackend.C (binding): adjust call to findbinding, add a
1223 message if no binding is found.
1225 (expandToc): correct by adding a empty FuncRequest
1227 * LyXAction.C: include <boost/assert.hpp>
1228 (isPseudoAction): delete function
1229 (LookupFunc): change name to...
1230 (lookupFunc): this. change return type to FuncRequest.
1231 (getActionName): take kb_action as arg, simplify
1232 (funcHasFlag): add an assert, simplify.
1234 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1236 * toc.C (action): return a FuncRequest, simplify
1238 * lyxfunc.C (processKeySym): adjust
1239 (getStatus): delete version that takes an int.
1241 (dispatch): delete version that takes action as int
1243 (sendDispatchMessage): simplify and adjust
1245 * funcrequest.C (getArg): take unsigned int as arg
1247 * ToolbarBackend.C (read): adjust
1248 (add): delete version that takes func as a string.
1249 (getIton): take a FuncRequest as arg
1251 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1254 * MenuBackend.C (MenuItem): add a new construct that only takes a
1255 Kind, simplify the constructor use for submenus.
1257 (expandLastfiles): adjust
1258 (expandDocuments): adjust
1259 (expandFormats): adjust
1260 (expandFloatListInsert): adjust
1261 (expandFloatInsert): adjust
1262 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1264 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1265 Remove class variables lyx_pseudo_map and lyx_arg_map
1267 * LyXAction.C (searchActionArg): delete function
1268 (getPseudoAction): delete function
1269 (retrieveActionArg): delete function
1270 (LookupFunc): make it return kb_action, simplify.
1271 (getActionName): simplify
1273 * factory.C (createInset): fix new bug
1275 2003-09-19 Angus Leeming <leeming@lyx.org>
1277 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1278 masterFilename_ parameter in the include inset.
1280 * factory.C (createInset): changes due to the changes to InsetInclude.
1282 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1284 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1286 2003-09-18 Angus Leeming <leeming@lyx.org>
1289 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1290 Inset::fillWithBibKeys.
1291 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1293 2003-09-18 Angus Leeming <leeming@lyx.org>
1295 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1297 (ctor): pass and store a 'Buffer const &'
1298 (buffer): new member function.
1300 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1301 '*this' to the LaTeXFeatures ctor.
1303 2003-09-18 Angus Leeming <leeming@lyx.org>
1309 * text.C: rename EnumLColor as LColor_color.
1311 2003-09-18 Angus Leeming <leeming@lyx.org>
1313 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1314 remove #include "insets/insetbase.h" from cursor.h.
1316 2003-09-18 Angus Leeming <leeming@lyx.org>
1318 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1319 InsetOld_code to remove #include "inset.h".
1321 * iterators.C: add #include "insets/inset.h"
1323 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1325 * BufferView.C: remove more locking stuff that apparently doesn't
1326 do anything sensible.
1328 2003-09-16 André Pönitz <poenitz@gmx.net>
1331 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1334 2003-09-16 Angus Leeming <leeming@lyx.org>
1336 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1338 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1341 * paragraph.h: remove #include "lyxfont.h". Forward declare
1344 2003-09-16 Angus Leeming <leeming@lyx.org>
1346 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1347 of support/textutils.h.
1348 (isWord): move the contents of support/textutils.h's IsWordChar here.
1354 * text2.C: add #include "paragraph.h".
1357 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1359 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1365 * LaTeX.C: use namespace alias for lyx::support::os
1367 2003-09-16 Angus Leeming <leeming@lyx.org>
1370 * bufferview_funcs.C:
1373 * paragraph_pimpl.C:
1375 * text.C: add #include "LColor.h".
1377 2003-09-16 Angus Leeming <leeming@lyx.org>
1379 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1380 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1382 Store the FontBits::color variable as an int rather than as an
1383 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1386 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1387 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1388 string calls together.
1390 * lyxrc.C: add #include "LColor.h".
1392 2003-09-15 Angus Leeming <leeming@lyx.org>
1394 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1397 2003-09-15 Angus Leeming <leeming@lyx.org>
1399 * LColor.h: add an EnumLColor wrapper for LColor::color.
1401 * lyxfont.[Ch] (color, setColor, realColor):
1402 * lyxtext.h, text.C (backgroundColor):
1403 pass EnumLColor args to/from the functions, rather than LColor::color
1407 * lyxtext.h: forward declare EnumLColor.
1409 * lyx_main.C: add #include "LColor.h".
1411 2003-09-15 Angus Leeming <leeming@lyx.org>
1413 * .cvsignore: add lyx-gtk.
1415 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * ParagraphParameters.C
1424 * bufferview_funcs.C
1434 * vc-backend.C: remove usage of STRCONV
1436 2003-09-15 Angus Leeming <leeming@lyx.org>
1438 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1439 explicitly define the color passed to the painter.
1441 2003-09-15 Angus Leeming <leeming@lyx.org>
1443 * bufferparams.C (BufferParams): reorder member initializers to avoid
1446 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1448 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1449 * text.C (updateRowPositions): remove an unusual nop
1451 2003-09-12 André Pönitz <poenitz@gmx.net>
1453 * BufferView_pimpl.C:
1462 * Counters.[Ch]: finish the 'automatic counters' job
1464 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1466 * aspell.C: include <boost/assert.cpp> (compile fix)
1468 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1470 * boost.C (assertion_failed): use lyx::support::abort instead of
1473 2003-09-10 Angus Leeming <leeming@lyx.org>
1475 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1476 with their _fwd progeny.
1478 2003-09-09 Angus Leeming <leeming@lyx.org>
1480 134 files throughtout the source tree: replace 'using namespace abc;'
1481 directives with the appropriate 'using abc::xyz;' declarations.
1483 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1485 * boost.C (emergencyCleanup): moved here from LAssert.c
1486 (assertion_failed): new function, called by BOOST_ASSERT
1488 * several files: change Assert to BOOST_ASSERT
1490 2003-09-09 Angus Leeming <leeming@lyx.org>
1492 * buffer.[Ch]: Add an Impl class and move Buffer's member
1493 variables into it. As a result move several header files out of
1496 Add header files to lots of .C files all over the tree as a result.
1498 2003-09-09 Angus Leeming <leeming@lyx.org>
1500 * buffer.[Ch]: make Buffer's member variables private. Add
1503 Lots of changes all over the tree as a result.
1505 2003-09-08 Angus Leeming <leeming@lyx.org>
1507 * graph.C: #include <config.h>.
1509 2003-09-08 Angus Leeming <leeming@lyx.org>
1513 * BufferView_pimpl.C:
1542 * toc.C: remove redundant using directives.
1544 2003-09-07 Angus Leeming <leeming@lyx.org>
1546 * LaTeXFeatures.h: remove #include "support/types.h".
1547 * ToolbarBackend.h: remove #include <algorithm>.
1548 * changes.h: remove #include <ctime>.
1549 * debug.h: remove #include <iosfwd>.
1550 * graph.h: remove #include "support/std_string.h".
1551 * lyx_main.h: remove #include <csignal>.
1552 * lyxlex_pimpl.h: remove #include <fstream>.
1553 * sgml.h: remove #include <algorithm>, <utility>.
1554 * toc.h: remove #include "support/std_ostream.h".
1555 Add #include <iosfwd>.
1557 2003-09-07 Angus Leeming <leeming@lyx.org>
1559 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1561 * converter.h: forward declare LatexRunParams.
1562 * encoding.h: remove #include "lyxrc.h".
1563 * lyxtext.h: remove #include "LColor.h".
1564 * lyxtextclass.h: remove #include "support/types.h".
1565 * trans.h: remove #include "tex-accent.h".
1566 * trans_mgr.h: remove #include "tex-accent.h".
1567 * insets/inset.h: remove #include "support/types.h", <vector>.
1568 * insets/insetcollapsable.h: remove #include "LColor.h".
1569 * insets/insetinclude.h: remove #include "dimension.h".
1570 * insets/insetlatexaccent.h: remove #include "dimension.h".
1571 * insets/insetoptarg.h:: remove #include "insettext.h".
1572 * insets/insettext.h: remove #include "dimension.h",
1573 <boost/shared_ptr.hpp>
1575 * insets/renderers.h: add #include "dimension.h".
1576 * insets/updatableinset.h: add #include "support/types.h".
1578 * many .C files: Associated changes.
1580 2003-09-06 Angus Leeming <leeming@lyx.org>
1582 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1583 one, inside testInvariant.
1585 * PrinterParams.C: new file.
1586 * PrinterParams.[Ch]: move the function bodies out of line.
1588 2003-09-06 Angus Leeming <leeming@lyx.org>
1590 * ParagraphParameters.h: forward declare ParameterStruct rather than
1591 including its header file.
1592 (depth): moved out-of-line.
1594 2003-09-06 Angus Leeming <leeming@lyx.org>
1596 * BufferView_pimpl.h:
1599 * lyxfunc.h: forward declare LyXKeySym rather than
1600 #include "frontends/LyXKeySym.h".
1602 * BufferView_pimpl.C:
1605 * lyxfunc.C: associated changes.
1607 2003-09-06 Angus Leeming <leeming@lyx.org>
1609 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1610 As a result, can remove the #include "insets/inset.h" from BufferView.h
1612 2003-09-06 Angus Leeming <leeming@lyx.org>
1614 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1615 As a result, can remove the #include "insets/inset.h" from BufferView.h
1617 2003-09-06 Angus Leeming <leeming@lyx.org>
1623 * bufferview_funcs.C:
1624 * BufferView_pimpl.C:
1629 * ParagraphParameters.C:
1634 * frontends/controllers/ControlDocument.C:
1635 * insets/insetcaption.C: rearrange the #includes into some sort of
1638 * buffer.h: remove #includes ErrorList.h, undo.h
1640 2003-09-06 Angus Leeming <leeming@lyx.org>
1642 * support/types.h: add a 'depth_type' typedef, used to store the
1643 nesting depth of a paragraph.
1646 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1647 defining explicitly.
1650 * paragraph_funcs.h:
1651 * ParagraphParameters.h:
1652 * sgml.h: use lyx::depth_type rather than Paragraph or
1653 ParameterStruct's depth_type.
1656 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1659 * BufferView_pimpl.C:
1661 * ParagraphParameters.C:
1664 * bufferview_funcs.C:
1671 * frontends/LyXView.C:
1672 * frontends/controllers/ControlDocument.C:
1673 * frontends/controllers/ControlErrorList.C:
1674 * insets/insetbibitem.C:
1675 * insets/insetbranch.C:
1676 * insets/insetcaption.C:
1677 * insets/insetcollapsable.C:
1678 * insets/insetenv.C:
1679 * insets/insetert.C:
1680 * insets/insetfloat.C:
1681 * insets/insetfoot.C:
1682 * insets/insetfootlike.C:
1683 * insets/insetnewline.C:
1684 * insets/insetquotes.C:
1685 * insets/insettabular.C:
1686 * insets/insettext.C:
1687 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1689 * frontends/controllers/ControlChanges.C: #include "changes.h".
1691 2003-09-06 Angus Leeming <leeming@lyx.org>
1693 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1694 than #including paragraph.h.
1697 * RowList.h: deleted. Superfluous.
1707 * insets/insettext.h: use ParagraphList_fwd.h rather than
1710 * paragraph.h: don't forward declare ParagraphList.
1713 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1714 rather than ParagraphList.h. paragraph.h is still needed for the
1715 Paragraph::depth_type parameters.
1717 * textcursor.h: enable it to compile stand-alone in light of the
1720 * bufferview_funcs.C:
1732 * frontends/controllers/ControlParagraph.C:
1733 * frontends/controllers/ControlTabular.C:
1734 * insets/insetmarginal.C:
1735 * insets/insetminipage.C:
1736 * insets/insetnote.C:
1737 * insets/insetoptarg.C: add header files needed to compile again.
1739 2003-09-06 Angus Leeming <leeming@lyx.org>
1741 * RowList_fwd.h: new file, forward-declaring Row rather than
1742 #including lyxrow.h.
1747 * insets/insettext.h: use it instead of RowList.h
1749 * bufferview_funcs.C:
1756 * text3.C: #include "RowList.h".
1758 2003-09-05 Angus Leeming <leeming@lyx.org>
1760 * factory.C (createInset):
1761 * vspace.C (c-tor): replace sscanf call with an istringstream.
1762 * ispell.C: re-add missing HP/UX headers.
1763 * lyxserver.C: re-add missing os2 headers.
1765 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1774 * text3.C: re-add missing system headers, needed for 2.95.2.
1776 2003-09-05 Angus Leeming <leeming@lyx.org>
1778 Changes most place everywhere due to the removal of using directives
1779 from support/std_sstream.h.
1781 2003-09-05 Angus Leeming <leeming@lyx.org>
1783 Replace LString.h with support/std_string.h,
1784 Lsstream.h with support/std_sstream.h,
1785 support/LIstream.h with support/std_istream.h,
1786 support/LOstream.h with support/std_ostream.h.
1788 Changes resulting throughout the tree.
1790 2003-09-05 Angus Leeming <leeming@lyx.org>
1792 * sgml.h: ensure that the header file can be compiled stand-alone.
1793 * *.C: strip out redundant #includes. (320 in total.)
1795 2003-09-04 Angus Leeming <leeming@lyx.org>
1797 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1798 here (from getPackages).
1800 * debug.[Ch]: add a new EXTERNAL tag.
1802 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1804 * text2.C (cursorEnd): simplify
1806 (getColumnNearX): adjust
1808 * text.C (computeBidiTables): adjust
1811 * rowpainter.C (paintChars): adjust
1812 (paintSelection): adjust
1813 (paintChangeBar): adjust
1816 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1818 (numberOfSeparators): adjust
1820 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1826 * text3.C: Restricts the mouse click functionality
1827 of insets like bibtex, include, toc and floatlist to the visible
1828 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1829 up the dialogs. Cursor has to be in front of the inset (i.e.
1830 start of row) for this to function.
1832 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1834 * bufferview_funcs.C (currentState): output row information
1836 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1838 * bufferview_funcs.C (currentState): output paragraph position
1840 2003-09-04 Angus Leeming <leeming@lyx.org>
1842 * FloatList.h: move out #include "Floating.h".
1843 * LaTeX.h: move out #include "DepTable.h".
1844 * LyXAction.h: move out #include "funcrequest.h".
1845 * buffer.h: move out #include "author.h", "iterators.h".
1846 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1847 * lyx_main.h: move out #include "errorlist.h".
1848 * lyxfunc.h: move out #include "FuncStatus.h".
1849 * lyxtext: move out #include "lyxcursor.h".
1850 * paragraph_pimpl.h: move out #include "counters.h".
1852 2003-09-03 Angus Leeming <leeming@lyx.org>
1854 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1855 preamble_snippets list, enabling us to add snippets to the preamble
1856 only if the snippet was not there already.
1858 2003-09-04 Angus Leeming <leeming@lyx.org>
1860 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1862 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1867 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1869 * BranchList.C: point fix, earlier forgotten
1871 2003-09-02 Angus Leeming <leeming@lyx.org>
1873 * box.C (contains): renamed from 'contained' after a fantastic
1876 2003-09-02 John Levon <levon@movementarian.org>
1882 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1884 2003-09-02 John Levon <levon@movementarian.org>
1886 * text2.C: simplification of cursorEnd(), including partial
1889 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * buffer.C (readFile): add a space
1893 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1895 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1897 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * buffer.C (readFile): new function, take a filename and a
1900 ParagraphList::iterator
1902 (readFile): adjust, make it private. don't use setStream, make
1903 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1904 always contain the filename.
1906 * BufferView.C (insertLyXFile): simplify and make it work for
1909 2003-08-30 John Levon <levon@movementarian.org>
1911 * Makefile.am: fix dist (from Kayvan)
1913 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * most files: change to use const Buffer refs
1917 2003-08-27 André Pönitz <poenitz@gmx.net>
1919 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1920 on top of ownerPar().
1922 2003-08-27 John Levon <levon@movementarian.org>
1924 * funcrequest.C: properly initialise POD members
1926 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1928 * lyxtext.h (top_y): move top_y from here
1933 * BufferView_pimpl.[Ch]: to here
1934 * frontends/screen.C:
1935 * insets/insettabular.C:
1936 * insets/insettext.C: adjust
1937 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1939 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1942 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1944 2003-08-26 André Pönitz <poenitz@gmx.net>
1946 * paragraph_func.[Ch] (outerPar): new function
1949 * paragraph_funcs.C:
1950 * paragraph_funcs.h:
1951 * paragraph_pimpl.C:
1952 * text2.C: remove Inset::par_owner
1954 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1959 * text2.C: eliminates the needFullRow/display() stuff
1960 altogether, putting the logic in metrics/draw in the insets.
1962 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1964 * text2.C (redoParagraphInternal, redoParagraphs):
1965 * text.C (redoParagraph): add a call to updateRowPositions at the
1966 end of each 'metrics-like' call. Remove all others.
1967 (getRow): remove the 'y-computing' version.
1968 (getRowNearY): do not compute nor return the real y. Solve the
1969 'y < 0' problem and simplify.
1971 2003-08-22 Angus Leeming <leeming@lyx.org>
1973 * *.[Ch]: clean-up of licence and author blurbs.
1974 Also move config.h out of a few .h files and into a few .C files.
1976 2003-08-22 André Pönitz <poenitz@gmx.net>
1978 * lyxrow.[Ch]: add x_ and *fill_ members
1983 * text2.C: adjust/remove prepareToPrint() calls
1985 2003-08-22 André Pönitz <poenitz@gmx.net>
1987 * lyxrow.[Ch]: add end_ member
1989 * lyxrow_funcs.C: use LyXRow::end_
1991 * lyxtext.h (singleWidth): add LyXFont parameter
1994 * text2.C: adjust LyXText::singleWidth() calls
1996 * text.C (redoParagraph): simplify row breaking logic
1999 2003-08-19 André Pönitz <poenitz@gmx.net>
2001 * funcrequest.C: initialize button_ member
2004 * rowpainter.[Ch]: interface consolidation
2006 2003-08-18 André Pönitz <poenitz@gmx.net>
2009 * BufferView_pimpl.C:
2011 * paragraph_funcs.C:
2013 * text3.C: remove LyXScreen::draw() and fitCursor calls
2015 * BranchList.h: remove spurious semicolons
2017 * MenuBackend.C: fix branchlist related crash
2019 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2027 * bufferparams.[Ch]:
2031 * text3.C: implements the 'branch inset'
2032 idea. This allows the output of various versions of a document
2033 from a single source version, selectively outputing or suppressing
2034 output of parts of the text.
2035 This implementation contains a 'branch list editor' in a separate
2036 tab of the document settings dialog. Branches are user definable
2037 and have a "display colour" to distinguish them on-screen.
2039 ColorHandler was somewhat cleaned up.
2040 (1) make possible a dynamically growing LColor list by allowing
2041 the graphic context cache to grow along (vector);
2042 (2) eliminate an IMHO unnecessary step in colour allocation.
2044 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2046 * BufferView_pimpl.C: compile fix
2048 2003-08-15 André Pönitz <poenitz@gmx.net>
2050 * rowpainter.C: remove extra metrics calls
2052 * lyxtext.h: merge the two constructors into a single one,
2053 pass reference to owner's par list
2055 * BufferView_pimpl.C:
2059 2003-08-15 André Pönitz <poenitz@gmx.net>
2061 * lyxrow_funcs.[Ch]:
2064 * paragraph_funcs.C:
2069 * text_funcs.C: split LyXText::rowlist_ into individual
2070 Paragraph::rows_ chunks
2073 * BufferView_pimpl.[Ch]:
2076 * text3.C: remove toggleSelection()
2078 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2080 * bufferlist.C: beautify two alerts (shorter text of buttons)
2081 * buffer.C: Remove redundant ' ' from message
2083 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2084 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2085 rename VALIGN_CENTER to VALIGN_MIDDLE
2087 2003-08-11 André Pönitz <poenitz@gmx.net>
2089 * lyxtext.h (getPar):
2090 * text.C: new function
2092 2003-08-11 André Pönitz <poenitz@gmx.net>
2095 * tracer.[Ch]: remove unneeded files
2097 * InsetList.[Ch]: remove resizeInsetsLyXText()
2102 * text3.C: merge insertParagraphs() and appendParagraph()
2103 remove breakAgain(), update()
2105 * BufferView_pimpl.[Ch]:
2106 * bufferview_funcs.[Ch]:
2110 * tabular.C: adjust after text & InsetList changes.
2112 2003-08-08 André Pönitz <poenitz@gmx.net>
2114 * text.C (insertChar, backspace): replace rowlist fiddling
2115 with rebreak of full par
2118 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2119 checkParagraph, updateInset): removed
2121 2003-08-07 André Pönitz <poenitz@gmx.net>
2124 * text3.C: merge some LFUN handlers, remove dead code
2126 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2128 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2130 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2132 * text2.C (DEPM): fix part of bug 1255 and 1256
2134 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2136 * BufferView_pimpl.C (workAreaDispatch): change to use
2137 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2138 that are no mouse related.
2140 2003-08-05 André Pönitz <poenitz@gmx.net>
2143 * BufferView_pimpl.[Ch]:
2144 * bufferview_funcs.C:
2146 * text3.C: rip out "deep update"
2148 * textcursor.[Ch] (last_sel_cursor): remove unused member
2150 2003-08-04 André Pönitz <poenitz@gmx.net>
2153 * BufferView_pimpl.[Ch]:
2154 * ParagraphParameters.C:
2155 * bufferview_funcs.C:
2161 * text3.C: replace "complicated" BufferView::update(...) calls with
2164 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2166 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2168 * Makefile.am (lyx_SOURCES): add paper.h
2170 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2172 * Makefile.am: move things around so that both lyx-qt and
2173 lyx-xforms can be built (according to --with-frontend). Then lyx
2174 is a symbolic link to lyx-[firstfrontend]
2176 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2178 * Always use std::endl with lyxerr
2180 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2182 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2184 2003-08-01 André Pönitz <poenitz@gmx.net>
2187 * BufferView_pimpl.[Ch]:
2189 * text3.C: merge BufferView::repaint() and BufferView::update()
2191 2003-08-01 José Matos <jamatos@lyx.org>
2193 * buffer.[Ch]: file_format is no longer a buffer data element.
2195 2003-08-01 André Pönitz <poenitz@gmx.net>
2200 * text2.C: make redoParagraph more independent of current cursor
2202 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2204 * text2.C: remove unneeded members
2206 2003-07-30 André Pönitz <poenitz@gmx.net>
2208 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2210 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2211 create a single function...
2213 * paragraph_funcs.C (moveItem): ... here.
2216 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2218 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2220 * LColor.[Ch]: Add comment and greyedout logical colors.
2222 2003-07-30 André Pönitz <poenitz@gmx.net>
2224 * tabular.C: don't use Assert too heavily. This crashes where it
2227 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2229 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2230 is disabled (bug 1232)
2232 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2234 * factory.C: limited 'arg' scope
2236 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2238 * factory.C: fixed Note submenu issues
2240 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2242 * factory.C: submenu for Note/Comment/Greyedout
2244 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2247 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2249 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2252 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2253 greyedout. Patch provided by Jürgen Spitzmüller.
2255 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2257 * kbmap.C (read): fix error message when reading bind files
2259 2003-07-29 Angus Leeming <leeming@lyx.org>
2261 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2262 certainly does not do what it purports to do. I am doing it, and
2263 us, a favour by killing it.
2265 2003-07-28 José Matos <jamatos@lyx.org>
2267 * buffer.C (readBody, do_writeFile):
2268 * paragraph.C(readParagraph): \end_document replaces \the_end.
2270 2003-07-29 André Pönitz <poenitz@gmx.net>
2273 * BufferView_pimpl.[Ch]:
2277 * textcursor.[Ch]: remove toggleToggle & Co
2279 2003-07-28 José Matos <jamatos@fep.up.pt>
2281 * buffer.C (readParagraph):
2282 * params_func (readParToken, readParagraph):
2283 * paragraph.C (write): \layout -> \begin_layout.
2285 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * lyxlex_pimpl.C (setFile): clean up slightly.
2289 * bufferparams.h: add compressed var
2291 * buffer_funcs.C (readFile): adjust for LyXLex change
2292 (newFile): ditto + simplify
2294 * buffer.C (writeFile): handle writing of compressed files
2296 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2297 Check if the file is compressed and set a bufferparm if so.
2299 * Makefile.am (lyx_LDADD): remove explicit -lz
2301 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2303 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2304 makeDocBookFile): put the real LyX version in the first line of
2308 * version.C.in: remove lyx_docversion
2310 * tabular.C (write_attribute): add a template-based version to
2311 write enums properly
2313 2003-07-28 André Pönitz <poenitz@gmx.net>
2318 * text3.C: use doubles again for x-coordinates. They are needed.
2320 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * messages.C (getLocaleDir): use lyx_localedir()
2324 * lyxlex_pimpl.C (setFile): compress stuff
2326 * buffer.C (writeFile): add some compression stuff
2327 (do_writeFile): new func, dont call expliti close... will this
2330 * Makefile.am (lyx_LDADD): add -lz
2332 2003-07-28 José Matos <jamatos@fep.up.pt>
2334 * buffer.C: increment file format.
2335 * paragraph_funcs (readParagraph, readParToken):
2336 * paragraph.C (readParagraph): add \end_layout.
2338 2003-07-27 Angus Leeming <leeming@lyx.org>
2340 * Makefile.am: remove special casing for configure-time setting of
2341 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2343 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2344 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2346 2003-07-26 André Pönitz <poenitz@gmx.net>
2348 * paragraph_func.[Ch]:
2349 * paragraph.C (realizeFont): inline it whereever it is used
2354 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2357 2003-07-26 André Pönitz <poenitz@gmx.net>
2361 * text2.C: get rid of LyXText::need_break_row
2363 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * toc.[Ch]: put namespace toc inside namespace lyx
2367 * MenuBackend.C (expandToc2): adjust for lyx::toc
2370 * lyxfunc.C (dispatch): adjust for lyx::find
2372 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2373 lyx::find instead. Reorganize a bit.
2374 (LyXReplace): rename to replace
2375 (LyXFind): rename to find
2377 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2380 2003-07-26 André Pönitz <poenitz@gmx.net>
2382 * text.C (setHeightOfRow): restrict scope of temporary variable
2384 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2385 code (never has been used?)
2387 2003-07-27 Asger Alstrup <alstrup@local>
2389 * text.C (fill): Optimise algorithm to exploit that we can reuse
2390 the LyXFont for many characters.
2391 (setHeightOfRow): Same thing.
2392 (rowBreakPoint): Same thing.
2394 2003-07-26 Asger Alstrup <alstrup@local>
2396 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2398 * text.C (singleWidth): Spurious font copying in hot-spot
2399 singleWidth avoided. Reorder tests for arabic for efficiency.
2401 * text.C (fill): handle empty paragraphs better.
2403 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2406 * encoding.h: add includes
2408 * lyxrc.C: remove reading of bind files
2410 * lyx_main.C (init): setup bindings and menus only if we have a
2413 * kbmap.C (read): new method. Do the actual reading of bind
2416 * converter.C (dvipdfm_options):
2419 (output): adapt PAPER_* enums.
2421 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2423 * bufferparams.h: remove paper-related enums from there
2425 * paper.h: New file. A trivial header file to hold paper-related
2426 enums. It should later expand to contain many paper-related
2429 * lyxrc.C: declare extern displayTranslator
2431 2003-07-27 José Matos <jamatos@fep.up.pt>
2433 * tabular.[Ch] (linuxdoc): add support for tables and figures
2436 2003-07-27 José Matos <jamatos@fep.up.pt>
2438 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2439 consistency in both functions.
2440 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2442 2003-07-26 Asger Alstrup <alstrup@local>
2444 * rowpainter.C (paintRows): Change algorithm to work directly on
2445 the insets rather than asking every character in the document
2446 whether its an inset.
2448 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2450 * buffer.C (openFileWrite): factorize some code
2452 2003-07-26 Angus Leeming <leeming@lyx.org>
2455 * lyx_main.[Ch]: replace occurances of system_tempdir with
2458 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * rename Inset to InsetOld
2462 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2464 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2465 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2466 which I think is a bit clearer. EDIT is gone, since it was
2467 premature optimisation, and broken for mathed anyway.
2468 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2469 with cursor positioning in insets as well (math insets still do not
2470 work, but that's a different story anyway.) It mysteriously
2471 crashes sometimes with undo in the first paragraph, but I'm fairly
2472 confident that this is a compiler bug.
2474 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2476 * paragraph.C (Paragraph): adjust for new clone return type
2478 (copyIntoMinibuffer): ditto
2480 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2482 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2483 by not having a special case, and always doing a full rebreak of
2484 the document after undo.
2486 2003-07-23 Angus Leeming <leeming@lyx.org>
2488 * factory.C (createInset): InsetExternal::setParams now takes a
2491 2003-07-23 Angus Leeming <leeming@lyx.org>
2493 * factory.C (createInset): changed interface to the external and
2494 graphics mailers' string2params functions.
2496 2003-07-23 Angus Leeming <leeming@lyx.org>
2498 * factory.C (createInset): pass a
2499 Buffer const * parameter to InsetExternalMailer's string2params.
2501 2003-07-22 John Levon <levon@movementarian.org>
2503 * Thesaurus.h: include the right aiksaurus header
2505 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2507 * MenuBackend.C (expand): check menu shortcuts unconditionally
2509 2003-07-21 Angus Leeming <leeming@lyx.org>
2511 * factory.C (createInset): pass a
2512 buffer_path parameter to InsetGraphicsMailer's string2params.
2514 2003-07-21 Angus Leeming <leeming@lyx.org>
2516 * BufferView_pimpl.C (buffer):
2519 * lyxfunc.C (dispatch):
2520 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2521 rather than the grfx shortcut.
2523 2003-07-21 André Pönitz <poenitz@gmx.net>
2525 * rowpainter.C: remove unused variables
2528 * tabular_funcs.h: move to tabular.C
2529 * Makefile.am: adjust
2531 * tabular.[Ch]: basic optical cleaning
2533 * author.h: pass references, not values
2535 2003-07-18 André Pönitz <poenitz@gmx.net>
2543 * text3.C: two-phase drawing for InsetText and InsetTabular
2544 some float -> int changes.
2546 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2548 * lyx_main.C: fix the fix
2550 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2552 * lyx_main.C: fix a crash in batch mode if no files specified
2555 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2557 * format.[Ch] (papersize): moved to BufferParams
2558 * converter.[Ch] (dvips_options): moved to BufferParams
2559 (dvipdfm_options): moved to anon namespace
2560 * bufferparams.[Ch]: added above functions.
2562 2003-07-17 André Pönitz <poenitz@gmx.net>
2566 * text2.C: don't call inset->update() anymore
2568 * metricsinfo.[Ch]: add convenience constructor
2570 2003-07-16 André Pönitz <poenitz@gmx.net>
2575 * text2.C: replace the LyXCursor::irow_ member with
2576 on-demand computation of the value
2578 2003-07-16 John Levon <levon@movementarian.org>
2580 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2582 2003-07-15 André Pönitz <poenitz@gmx.net>
2585 * text2.C: remove no more needed refresh_row
2587 2003-07-15 André Pönitz <poenitz@gmx.net>
2592 * text3.C: refresh_status tristate -> need_update bool
2594 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2596 * lyxtext.h (init): remove reinit argument (act as if always true)
2597 * text2.C: adjust to that
2599 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2601 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2602 * text3.C: use it to delete selections in some cases
2603 (bugs 441, 673, 702, 954).
2605 2003-07-14 André Pönitz <poenitz@gmx.net>
2607 * rowpainter.[Ch]: reduce interface
2609 2003-07-14 André Pönitz <poenitz@gmx.net>
2611 * BufferView_pimpl.C:
2612 * text2.C: adjust after removing unused BufferView * argument
2614 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2616 * text2.C (init): fix a crash fired on resize
2618 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2620 * buffer.[Ch]: added new closing signal
2621 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2622 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2623 BufferView::Pimpl via the closing the signal
2625 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2627 * buffer.[Ch]: take out all bv-related from buffer
2629 * BufferView_pimpl.[Ch]: connect to new signals
2630 * CutAndPaste.C: removed useless asserts
2631 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2634 * lyxfunc.C: moved view-related funciontality from vc here
2635 * paragraph.C: removed outdated comments
2638 2003-07-10 André Pönitz <poenitz@gmx.net>
2640 * BufferView_pimpl.C:
2644 * text2.C: remove InsetText::InnerCache, clean up consequences
2646 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2648 * ispell.C: fix two typos in error messages
2650 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2652 * Extend Note inset to other forms of annotation like Comment
2653 and Greyedout. Right button click gives dialog.
2655 Files modified or added (+):
2659 * ControlNote.[Ch] +
2661 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2662 frontends/controllers
2666 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2668 * aspell.C: add missing namespace lyx::support
2670 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2672 * BufferView.[Ch] (newFile): Add
2673 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2674 * LaTeX.[Ch] (message): added this signal and use it
2675 * buffer.[Ch] (busy, message): added these signals and use them
2676 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2680 * importer.C: use buffer signals instead of direct bv calling
2681 * lyx_cb.[Ch] (ShowMessage): removed
2684 * paragraph_funcs.C:
2685 * text2.C: use buffer signals
2687 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * introduce namespace lyx::graphics
2691 2003-07-02 André Pönitz <poenitz@gmx.net>
2693 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2695 2003-07-01 André Pönitz <poenitz@gmx.net>
2702 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2703 text*.C to text_func.C
2705 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2707 * introduce namespace lyx::support
2709 2003-06-30 André Pönitz <poenitz@gmx.net>
2714 * text.C: re-enable --with-included-string
2716 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * textcursor.C: add <config.h>
2720 * text.C (getWord): remove const from word_location arg
2722 * lyxvc.C (getLogFile): fix const type order
2724 * lyxtext.h: remove const from word_location arg, add arg name
2726 * lyxlayout.h: currect type on labeltype.
2728 * importer.C: correct \file
2730 * converter.C (intToFormat): use std:: on ret val, ws changes
2732 * bufferlist.h: correct \file
2734 * buffer.C (makeLinuxDocFile): fix const type order
2735 (makeDocBookFile): ditto
2736 (fillWithBibKeys): use std:: on stdlib args.
2738 * CutAndPaste.C: fix authors.
2739 (availableSelections): use std:: on return vector
2741 2003-06-27 André Pönitz <poenitz@gmx.net>
2743 * BufferView_pimpl.C:
2744 * bufferview_funcs.C:
2752 * text3.C: remove LyXCursor::row_ member
2755 * text.C: rename fullRebreak() to partialRebreak() and implement
2756 a fullRebreak() that really bereks fully
2758 * textcursor.h: new struct for cursor-related data
2760 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2762 * lyx_main.C (LyX): get full path of document loaded on the
2765 2003-06-26 André Pönitz <poenitz@gmx.net>
2767 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2768 remove unused/broken operator>,<,>=.
2770 * text.C: remove only use of broken operator<= in an Assert().
2772 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2774 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2775 moved errorlist_.clear to showErrorList
2777 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2779 * converter.C (scanLog, runLaTeX):
2780 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2781 move the bv->showErrorList call to the callers
2782 * lyxfunc.C: i.e. here...
2784 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2785 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2786 namespace, the second to...
2787 * buffer_funcs (BufferFormat, parseErrors): added
2788 * errorlist.C (ErrorList(TeXErrors const &)): removed
2790 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2792 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2794 2003-06-24 "Garst R. Reese" <reese@isn.net>
2798 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2800 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2802 * version.C.in: change docversion to 1.4
2804 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2806 * buffer.C: fix a bug just introduced
2808 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2810 * buffer.[Ch]: added the parseError signal and use it, removed
2812 * BufferView.[Ch] (addError): moved to ...
2813 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2814 to the Buffer::parseError signal to catch (guess what) parse errors
2815 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2817 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2819 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2820 ability to create a buffer and to return an existing one from
2821 the list. Moved these functions to...
2822 * buffer_funcs.[Ch]: added
2823 * BufferView.[Ch] (loadLyXFile): added
2824 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2825 job removed from bufferlist::loadLyXFile.
2826 * buffer.C (setReadOnly): make it work without view
2827 (i.e added an if (users))
2829 2003-06-19 Angus Leeming <leeming@lyx.org>
2832 * LyXAction.C (init):
2833 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2834 with LFUN_DIALOG_SHOW <name> <data>.
2836 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * CutAndPaste.C (availableSelections): small compilation fix for
2839 ancient (gcc 2.9x) compilers
2841 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * text3.C (cursorNext): add tmp var
2845 * text2.C (updateCounters): for function calling out of for clause
2846 (replaceSelectionWithString): ditto
2847 (insertStringAsParagraphs): ditto
2848 (getColumnNearX): add tmp var
2849 (setCursorFromCoordinates): add tmp var
2850 (cursorDownParagraph): add tmp var
2851 (deleteEmptyParagraphMechanism): add tmp var
2853 * text.C (insertChar): add tmp var
2855 * rowpainter.C (paintDepthBar): add tmp var
2857 * CutAndPaste.C (availableSelections): potentially check all
2858 paragraphs in a cut to fill the shown strings.
2860 2003-06-18 André Pönitz <poenitz@gmx.net>
2862 * kbmap.[Ch]: use vector<> instead of list<>
2864 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2866 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2867 pasteSelection with index
2869 * text2.C (pasteSelection): modify, call pasteSelection with index
2871 * paragraph.C (asString): reimplement version with no interval to
2872 call the one with interval.
2874 * lyxtext.h: add index arg to pasteSelection
2876 * MenuBackend.C (MenuItem): handle PasteRecent
2877 (Menu::read::Menutags): add md_pasterecent
2879 (expandPasteRecent): new function
2882 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2884 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2886 (availableSelections): new function
2888 2003-06-17 Angus Leeming <leeming@lyx.org>
2890 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2892 2003-06-17 Angus Leeming <leeming@lyx.org>
2895 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2897 * lyxfunc.C (dispatch): invoke it.
2899 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2901 * iterators.C (operator++, ParPosition): reintroduce some
2902 const_cast for the benefit of older compilers.
2904 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2906 * text3.C (dispatch): do not modify clipboard when doing
2907 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2908 LFUN_DELETE_SKIP on a selection selection
2910 2003-06-16 André Pönitz <poenitz@gmx.net>
2916 * tabular.[Ch]: IU of clone() and getLabelList();
2918 2003-06-13 André Pönitz <poenitz@gmx.net>
2920 * tabular.h: compactification
2922 2003-06-12 André Pönitz <poenitz@gmx.net>
2926 * tabular_funcs.h: some renaming plus whitespace
2928 2003-06-12 André Pönitz <poenitz@gmx.net>
2931 * BufferView_pimpl.C:
2937 * toc.C: Return a Paragraph & for ParIterator::operator*()
2939 2003-06-11 John Levon <levon@movementarian.org>
2943 * ToolbarBackend.C: add "Toolbars" section and
2946 2003-06-10 Angus Leeming <leeming@lyx.org>
2949 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2951 * lyxfunc.C (dispatch): invoke it.
2953 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2955 * main.C: protect <ios> with HAVE_IOS
2956 (main): protect sync_with_stdio with HAVE_IOS
2958 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2960 * text2.C (cutSelection): adjust
2961 (pasteSelection): adjust
2963 * messages.C: handle get of empty string
2965 * main.C (main): use sync_with_stdio(false)
2967 * lyxfunc.C (dispatch): adjust
2969 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2970 (WriteAs): remove unneeded BufferView arg.
2972 * bufferparams.h: use correct types on papersize, papersize2 and
2975 * bufferparams.C (readToken): adjust for type
2976 (writeLaTeX): add missing cases to switch.
2978 * bufferlist.C (quitWriteBuffer): adjust
2981 * buffer.C (asciiParagraph): remove some commented code.
2983 * CutAndPaste.C: remove current_view extern variable.
2984 (cutSelection): add BufferParams arg.
2985 (eraseSelection): add BufferParams arg.
2986 (pasteSelection): add Buffer const & arg
2988 2003-06-07 John Levon <levon@movementarian.org>
2991 * paragraph_funcs.C:
2992 * paragraph_pimpl.C:
2996 * paragraph.C: allow InsetERT to freely space lines,
2997 and some consolidation of code
2999 2003-06-06 José Matos <jamatos@fep.up.pt>
3001 * buffer.C (makeDocBookFile): fix bug #821
3003 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3005 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3007 2003-06-04 Angus Leeming <leeming@lyx.org>
3009 * buffer.C: bump format to 224.
3011 2003-06-05 André Pönitz <poenitz@gmx.net>
3013 * text2.C (redoParagraphs): remove two const_cast<>
3015 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3017 * ParagraphList.h: remove last remnants of NO_STD_LIST
3019 2003-06-03 Angus Leeming <leeming@lyx.org>
3021 * factory.C (createInset): small change to the way InsetExternal's params
3024 2003-06-04 André Pönitz <poenitz@gmx.net>
3026 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3028 * paragraph_pimpl.h:
3029 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3031 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3033 * undo_funcs.C: make some simple cases of undo work again
3035 2003-06-03 John Levon <levon@movementarian.org>
3037 * ispell.C: HPUX doesn't have sys/select.h
3040 2003-06-03 John Levon <levon@movementarian.org>
3042 * CutAndPaste.C: update tabular and include inset
3047 * paragraph.C: remove owningBuffer(), don't pass Buffer
3050 * factory.C: insetGraphicsParams changed
3052 2003-06-02 John Levon <levon@movementarian.org>
3058 * text3.C: remove insetparent
3060 2003-06-02 John Levon <levon@movementarian.org>
3063 * buffer.C: fix inset_iterator.end(), move out of line
3066 2003-06-01 John Levon <levon@movementarian.org>
3068 * text3.C: use a proper cut/paste when doing inset
3069 insert (from Jürgen Spitzmüller)
3071 2003-06-01 John Levon <levon@movementarian.org>
3073 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3075 2003-05-30 André Pönitz <poenitz@gmx.net>
3077 * rowpainter.C: unify second drawing phase
3079 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * trans_mgr.C: remove one case of current_view
3083 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3085 * paragraph_funcs.h: remove paragraph.h include
3087 * paragraph.h: delete NO_STD_LIST stuff
3089 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3091 * buffer.h: remove paragraph.h include
3093 * ParagraphList.C: delete file
3095 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3097 * toc.C (getTocList): adjust
3099 * paragraph_pimpl.C (validate): adjust
3101 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3103 * paragraph.C (Paragraph): adjust
3104 (getPositionOfInset): use const_iterator, adjust
3105 (bibitem): use const_iterator, adjust
3106 (setInsetOwner): adjust
3108 * iterators.C (operator++): adjust
3110 * InsetList.[Ch]: Replace selfmade iterator with standard
3111 vector::iterator also introduce const_iterator. Remove getPos,
3112 getInset and setInset from InsetTable. Adjust accordingly.
3114 * BufferView.C (lockInset): adjust
3115 (ChangeInsets): adjust
3117 * tabular.[Ch]: delete commented same_id functions
3119 2003-05-28 John Levon <levon@movementarian.org>
3121 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3123 2003-05-28 André Pönitz <poenitz@gmx.net>
3125 * metricsinfo.[Ch]: remove 'fullredraw' member
3127 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3129 * lyxtextclass.C (operator): remove caching.
3131 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * text2.C (cursorBottom): adjust
3136 (setCounter): use ParagraphList::find, adjust
3138 * text.C (workWidth): use ParagraphList::find, adjust
3140 * lyxcursor.C (LyXCursor): adjust
3142 * buffer.C (inset_iterator): adjust
3144 * ParagraphList.h: make iterator(value_type) private, make
3145 ParagraphList a friend of iterator.
3147 * ParagraphList.C (find): new function
3149 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3151 2003-05-27 André Pönitz <poenitz@gmx.net>
3153 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3155 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3157 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3159 2003-05-26 John Levon <levon@movementarian.org>
3161 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3163 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * remove same_id from function signatures, adjust.
3167 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3171 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3173 * paragraph.C (Paragraph): get rid of same_ids parameter
3175 * ParagraphList.C (insert): adjust
3178 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * paragraph_funcs.C (breakParagraph): adjust
3181 (breakParagraphConservative): adjust
3183 * buffer.C (readParagraph): adjust
3185 * ParagraphList.C (insert): take a reference instead of a pointer
3188 * paragraph.[Ch] (id): new function
3190 * bufferlist.C (newFile): adjust
3192 * ParagraphList.C (ParagraphList): adjust
3194 (push_back): take a reference instead of a pointer.
3196 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3198 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3201 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3202 set else use old code.
3204 * ParagraphList.C: remove all NO_NEXT code and only compile this
3205 code of NO_STD_LIST is set.
3207 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3209 * BufferView_pimpl.C:
3219 * graphics/GraphicsConverter.C:
3220 * graphics/PreviewLoader.C: header adjustment
3222 2003-05-23 Angus Leeming <leeming@lyx.org>
3224 * LaTeXFeatures.[Ch] (useBabel): new method.
3225 * bufferparams.C (writeLaTeX): use it.
3227 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3229 * ParagraphList.h (set): remove unused function.
3231 2003-05-23 André Pönitz <poenitz@gmx.net>
3234 * BufferView_pimpl.C:
3238 * undo_funcs.C: setUndo reworked
3240 * iterators.[Ch]: add access to topmost ParagraphList
3242 * lyxtext.[Ch] (workWidth): add a const
3244 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3246 * texrow.[Ch] (increasePos): remove function
3247 * exporter.C (export): removed unused var and outdated comment
3249 2003-05-23 Angus Leeming <leeming@lyx.org>
3251 * latexrunparams.h: rename fragile as moving_arg.
3252 * paragraph.C (simpleTeXOnePar): ditto.
3253 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3255 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3259 (textUndoOrRedo): comment out a currently unused var.
3261 * paragraph.h (NO_NEXT): enable NO_NEXT
3263 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3265 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3267 * exporter.C (Export): adjust for removeAutoInsets removal.
3269 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3271 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3273 * BufferView.[Ch] (removeAutoInsets): delete function
3275 2003-05-22 Angus Leeming <leeming@lyx.org>
3277 * latexrunparams.h: add a free_spacing variable.
3279 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3280 to pass moving_arg, as the data is stored in runparams.fragile.
3282 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3283 to Inset::latexOptional or to simpleTeXOnePar.
3285 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3286 free_spacing arg to Inset::latexOptional.
3288 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3291 2003-05-22 Angus Leeming <leeming@lyx.org>
3293 * latexrunparams.h: add fragile and use_babel variables.
3295 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3296 * buffer.C (makeLaTeXFile): store this returned value in
3297 runparams.use_babel, thus passing it to the inset::latex methods.
3299 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3300 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3302 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3303 longer has a fragile arg, as it is stored in runparams.fragile.
3305 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3306 moving_arg parameter as the data is stored in runparams.fragile.
3308 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3309 a fragile parameter as the data is stored in runparams.fragile.
3311 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3315 2003-05-22 Angus Leeming <leeming@lyx.org>
3317 * latexrunparams.h: add a 'bool nice' which defaults to false.
3319 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3320 now encapsulated within runparams.
3322 * bufferlist.C (updateIncludedTeXfiles):
3323 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3325 2003-05-22 Angus Leeming <leeming@lyx.org>
3327 * latexrunparams.h: new file containing struct LatexRunParams.
3328 * Makefile.am: add new file.
3330 * LaTeX.[Ch] (c-tor, run):
3331 * buffer.[Ch] (makeLaTeXFile):
3332 * bufferlist.[Ch] (updateIncludedTeXfiles):
3333 * converter.C (convert, scanLog):
3334 * converter.[Ch] (runLaTeX):
3335 * exporter.C (Export):
3336 * paragraph.[Ch] (simpleTeXOnePar):
3337 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3338 * paragraph_funcs.[Ch] (latexParagraphs):
3339 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3340 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3341 pass around a LatexRunParams parameter.
3343 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * paragraph.[Ch]: remove unused constructor
3347 * ParagraphList.C (erase): new function, taking two iterators
3349 2003-05-22 André Pönitz <poenitz@gmx.net>
3351 * undo_funcs.C: remove duplicated code
3353 * iterator.[Ch]: operator=
3355 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3357 * tabular.C (SetMultiColumn): ws changes
3359 * rowpainter.C (paintFirst): get rid of a ->previous
3361 * lyx_cb.C (getPossibleLabel): parlist simplification
3363 * BufferView.C (ChangeInsets): simplify slightly.
3365 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3367 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3368 * lfuns.h: new LFUN_SPACE
3369 * lyxfunc.C: protected space has a new lfun
3370 * paragraph_funcs.C: read new space insets
3372 * factory.C: handle new space insets
3374 2003-05-22 André Pönitz <poenitz@gmx.net>
3377 * BufferView_pimpl.C:
3380 * undo_funcs.C: return a ParIterator from getParFromID.
3382 * iterators.[Ch]: add two const's
3384 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * toc.C (getTocList): adjust
3388 * iterators.[Ch]: rework for parlist
3390 * buffer.C (par_iterator_begin): adjust
3391 (par_iterator_end): adjust
3393 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3395 * BufferView.C (removeAutoInsets): adjust
3396 (ChangeInsets): adjust
3398 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3400 * text.C (top_y): fix bug 1110
3402 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3404 * errorlist.[Ch]: added
3407 * BufferView_pimpl.C:
3408 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3411 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * Makefile.am: ensure that lyx is relinked upon changes to the
3414 various "convenience" libs.
3416 2003-05-20 Angus Leeming <leeming@lyx.org>
3418 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3419 files are compiled in alphabetical order again.
3421 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3423 2003-05-19 Angus Leeming <leeming@lyx.org>
3425 * gettext.[Ch]: remove "char const * _(char const *)".
3427 2003-05-19 André Pönitz <poenitz@gmx.net>
3429 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3438 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3440 2003-05-19 André Pönitz <poenitz@gmx.net>
3444 * lyxtextclass.[Ch]:
3446 * paragraph_funcs.[Ch]:
3448 * text3.C: more insetenv work
3450 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3452 * ParagraphParameters.C (params2string): small bug fixed
3454 2003-05-16 André Pönitz <poenitz@gmx.net>
3457 * bufferview_funcs.C: patch from Kornel Benko to prevent
3458 crash when _(...) is called twice in a statement
3460 2003-05-16 André Pönitz <poenitz@gmx.net>
3467 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3469 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3471 * lyx_main.C (init): remove spurious static_cast
3473 2003-05-14 André Pönitz <poenitz@gmx.net>
3475 * BufferView.C: fix format string
3477 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3479 * BufferView.[Ch] (insertErrors): removed
3480 * BufferView.[Ch] (showErrorList): added
3481 * buffer.C (runChkTeX):
3482 * converter.C (scanLog): call showErrorList instead of inserterrors
3484 2003-05-13 André Pönitz <poenitz@gmx.net>
3486 * BufferView_pimpl.C:
3488 * bufferview_func.C:
3495 * tabular_funcs.h: tostr() from its own header
3497 * ParagraphParameters.C:
3502 * text3.C: STRCONV()
3504 2003-05-12 André Pönitz <poenitz@gmx.net>
3507 * BufferView_pimpl.C:
3511 * ParagraphParameters.C:
3515 * bufferview_funcs.C:
3528 * paragraph_funcs.C:
3532 * text3.C: boost::format -> bformat all over the place
3535 2003-05-09 André Pönitz <poenitz@gmx.net>
3537 * LColor.[Ch]: Pimpl the #include <map> away
3539 2003-05-09 John Levon <levon@movementarian.org>
3541 * bufferlist.C: never remove emergency saves
3543 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3545 * Makefile.am: better lib building
3547 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3551 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3552 (simpleTeXSpecialChars): adjust
3553 (simpleTeXSpecialChars): adjust
3554 * paragraph.C (simpleTeXOnePar): adjust
3555 * buffer.C (makeLaTeXFile): adjust
3557 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3559 * text2.C (changeDepth): parlist cleanup
3560 (getColumnNearX): ditto
3562 * rowpainter.C (getLabelFont): parlist cleanup
3564 * bufferlist.C (newFile): parlist cleanup
3566 * CutAndPaste.C (eraseSelection): parlist cleanup
3568 * BufferView_pimpl.C (trackChanges): parlist cleanup
3571 * BufferView.C (lockInset): parlist cleanup.
3572 (ChangeInsets): ditto
3574 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * CutAndPaste.h: Update file header.
3578 * CutAndPaste.C: Update file header.
3579 Store the parts cut out of the Document in a limited_stack.
3580 (copySelection): adjust
3581 (pasteSelection): new function, takes the index in the limited stack.
3582 (nrOfParagraphs): adjust
3583 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3584 simplify error inset insertion.
3585 (checkPastePossible): adjust
3587 2003-05-06 John Levon <levon@movementarian.org>
3589 * text2.C: don't cast wrap inset to float
3591 2003-05-05 André Pönitz <poenitz@gmx.net>
3594 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3596 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3597 few naked Paragraph *.
3599 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3601 * bufferparams.C: Output warning if a document with missing
3602 TeX document class is loaded
3603 * exporter.C: Disable TeX exports if the document class is missing
3606 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3607 isTeXClassAvailable()
3609 2003-05-03 John Levon <levon@movementarian.org>
3612 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3613 explicit cursor show/hide
3615 * BufferView_pimpl.h:
3616 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3617 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3619 * lyxfunc.C: hide cursor before dispatching.
3624 * text3.C: remove explicit cursor hides
3626 2003-05-02 André Pönitz <poenitz@gmx.net>
3628 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3631 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3634 * text2.C: tiny whitespace
3636 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * undo_funcs.C: almost only ws changes.
3640 * ParagraphList.C (splice): just return if pl is empty.
3642 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * ParagraphList.C (splice): new function.
3646 * CutAndPaste.C (pasteSelection): use it
3648 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * CutAndPaste.C (pasteSelection): remove the last next and
3651 previous from this file.
3653 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * CutAndPaste.C (pasteSelection): more clean up, user proper
3656 ParagraphList functions for pasteing.
3658 * ParagraphList.C (insert): new function, three arg insert
3660 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * ParagraphList.C (insert): new function, three arg insert
3664 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3667 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3671 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3673 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3675 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3678 (copySelection): clean up a bit.
3679 (pasteSelection): use make_pair
3681 * ParagraphList.C (ParagraphList): implement copy constructor
3682 (operator=): implement, base on copy constructor.
3685 * paragraph.C (erase): return a bool
3687 * paragraph_pimpl.C (erasePos): remove function, move contents...
3688 (erase): ... here. Return a bool.
3689 (erase): call erase instead of erasePos.
3691 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3693 * ParagraphList.h: define PitPosPair
3694 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3695 ParagraphList, fix a bug on pasting multiple pars
3696 * text2.C: change interface to C&P
3698 2003-04-30 André Pönitz <poenitz@gmx.net>
3700 * undo_func.C: revert part of yesterday's patch 2
3702 2003-04-30 John Levon <levon@movementarian.org>
3704 * LColor.C: s/tabular/table/
3706 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3708 * text3.C (dispatch): do not convert iterator -> pointer
3709 * undo_funcs.C (setCursorParUndo): ditto
3710 * text_funcs.C (transposeChars): ditto
3712 * text2.C (setLayout): ws changes only
3714 * text.C (breakParagraph): do not convert iterator -> pointer
3716 (acceptChange): ditto
3717 (rejectChange): ditto
3722 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3725 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3727 * text3.C (gotoInset): YABG (yet another bad getChar)
3729 2003-04-29 André Pönitz <poenitz@gmx.net>
3731 * paragraph.h: make operator= private unimplemented as long as
3734 * ParagraphList.C: whitespace
3737 * paragraph_pimpl.[Ch]:
3738 * paragraph_funcs.C:
3740 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3743 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3745 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3747 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3748 * paragraph.[Ch] (erase):
3749 * paragraph_pimpl.[Ch] (erase): change return type and value
3750 * text2.C (cutSelection): some rework
3752 2003-04-28 John Levon <levon@movementarian.org>
3754 * bufferlist.C: changes for unsaved changes dialog
3756 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * bufferlist.C (newFile): set language (messages_) for new
3761 * buffer.C (readFile): ws changes only.
3763 2003-04-28 André Pönitz <poenitz@gmx.net>
3768 * BufferView_pimpl.C:
3769 * BufferView.C: getParFromID related ParagraphList::iterator changes
3771 2003-04-28 André Pönitz <poenitz@gmx.net>
3773 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3776 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3778 * messages.C: remove one more localedir class variable.
3780 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3782 * messages.C (getLocaleDir): singleton generation function
3784 (Messages): add a default constructor.
3786 * main.C (main): do not setup localedir here, do not call
3789 * gettext.C (_): use it.
3790 (gettext_init): delete funciton
3792 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * gettext.C (getLyXMessages): new singleton generating function.
3796 * buffer.C (updateDocLang): adjust
3798 * Makefile.am (messages.o): add target
3799 (main.o): remove target
3801 2003-04-27 John Levon <levon@movementarian.org>
3806 * lyxvc.C: specify cancel button in Alert::prompt
3808 2003-04-26 John Levon <levon@movementarian.org>
3813 * LyXAction.C: add LFUN_INSET_SETTINGS
3815 * lyxfunc.C: don't enable tabular-feature when there's
3816 just any locking inset
3818 2003-04-26 John Levon <levon@movementarian.org>
3820 * bufferlist.C: re-add Cancel to buffer close question
3822 * lyxfunc.C: fix import UI a bit
3824 2003-04-25 John Levon <levon@movementarian.org>
3826 * gettext.C: remove the broken asserts for now
3828 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * messages.C: make case where setlocale cannot comply work better.
3832 * buffer.C (updateDocLang): new function
3833 (changeLanguage): use it
3836 * text2.C (setCounter): use B_ a bit.
3838 * lyxlayout.C (Read): be sure to trim the label strings.
3840 * messages.C (Messages): fix typo in comment
3842 * buffer.C (readFile): set message_ after file is loaded.
3843 (makeDocBookFile): remove double return
3844 (changeLanguage): reset message_ upon language change.
3845 (B_): new func, use this to get translated buffer strings.
3847 * main.C: add myself and Jean Marc as authors.
3849 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * messages.[hC]: pimplify Messages, and three different pimpls to be
3852 used in different circumstances.
3854 * gettext.[Ch]: change for use with new message code.
3856 2003-04-24 André Pönitz <poenitz@gmx.net>
3858 * factory.C: support for eqref
3860 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * messages.[Ch]: add missing char
3864 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3866 * messages.[Ch]: New files
3868 2003-04-18 John Levon <levon@movementarian.org>
3872 * BufferView_pimpl.C:
3876 * text2.C: remove layout-copy/paste (bug 778)
3878 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3880 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3882 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3884 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3885 if they succeed. Act accordingly.
3887 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * text2.C (setCharFont): adjust
3890 (setCounter): adjust
3891 (insertStringAsLines): adjust
3893 * text.C (leftMargin): adjust
3894 (setHeightOfRow): adjust
3896 * rowpainter.C (paintFirst): adjust
3899 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3901 (isFirstInSequence): ditto
3902 (getEndLabel): ditto
3905 * paragraph.C (getParLanguage): comment out some hard stuff.
3907 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3909 (simpleDocBookOnePar): ditto
3910 (makeDocBookFile): use ParagraphList::iterator
3912 * CutAndPaste.C (pasteSelection): adjust
3914 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * text2.C (getFont): adjust
3917 (getLayoutFont): adjust
3918 (getLabelFont): adjust
3920 * paragraph_funcs.C (TeXOnePar): adjust
3922 * buffer.C (simpleLinuxDocOnePar): adjust
3923 (simpleDocBookOnePar): adjust
3925 * CutAndPaste.C (pasteSelection): adjust
3927 * BufferView.C (getEncoding): adjust
3929 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3931 2003-04-16 John Levon <levon@movementarian.org>
3933 * lyxfind.C: use parlist stuff for search/changes
3935 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3939 * text2.C (deleteEmptyParagraphMechanism): adjust
3941 * text2.[Ch] (ownerParagraph): delete func (both of them
3943 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3947 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3949 * ParagraphList.C: prepare for NO_NEXT
3951 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * text2.C (getFont): adjust
3954 (getLayoutFont): adjust
3955 (getLabelFont): adjust
3957 * paragraph.C (getFont): adjust
3958 (getLabelFont): adjust
3959 (getLayoutFont): adjust
3961 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3963 2003-04-15 John Levon <levon@movementarian.org>
3967 * lyx_main.C: handle Include in .ui files
3969 2003-04-15 John Levon <levon@movementarian.org>
3971 * MenuBackend.C: make the doc files length shorter
3974 * ToolbarBackend.C: handle toolbar placement flags,
3977 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3982 * paragraph_funcs.C (TeXOnePar): adjust
3984 * paragraph.C (getLabelFont): add outerfont arg, adjust
3985 (getLayoutFont): ditto
3986 (simpleTeXOnePar): adjust
3988 * paragraph_pimpl.C (realizeFont): delete func
3990 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
3992 * text2.C (beforeFullRowInset): added a bad getchar check, removed
3993 row argument, constify cur argument.
3995 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * text2.C (getFont): adjust
3998 (getLayoutFont): adjust
3999 (getLabelFont): adjust
4001 * paragraph_funcs.C (TeXOnePar): adjust
4002 (outerFont): new func...
4003 (realizeFont): ...moved out from here, changed this to facilitate
4006 * paragraph.C (getFont): take outerfont as arg, adjust
4007 (simpleTeXOnePar): add outerfont arg, adjust
4009 * buffer.C (simpleLinuxDocOnePar): adjust
4010 (simpleDocBookOnePar): adjust
4012 * CutAndPaste.C (pasteSelection): adjust
4014 * BufferView.C (getEncoding): adjust
4016 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * text2.C (setCharFont): adjust
4019 (setCounter): adjust
4021 * text.C (leftMargin): adjust
4022 (setHeightOfRow): adjust
4024 * rowpainter.C (paintFirst): adjust
4027 * paragraph_pimpl.C (realizeFont): adjust
4029 * paragraph.C (isFirstInSequence): move from here...
4030 * paragraph_funcs.C (isFirstInSequence): ...to here
4032 * paragraph.C (outerHook): move from here...
4033 * paragraph_funcs.C (outerHook): ...to here
4035 * paragraph.C (depthHook): move from here...
4036 * paragraph_funcs.C (depthHook): ...to here
4038 * paragraph.C (getEndLabel): move from here...
4039 * paragraph_funcs.C (getEndLabel): ...to here
4041 * text2.C (realizeFont): move from here...
4042 * paragraph_funcs.C (realizeFont): ...to here
4044 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4048 2003-04-14 Angus Leeming <leeming@lyx.org>
4050 * LColor.[Ch]: scrap LColor mathcursor.
4052 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * lyxlex.[Ch] (text): delete function
4055 * trans.C (Load): adjust
4056 * paragraph_funcs.C (readParToken): adjust
4058 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4061 vector<char> instead of a char[].
4063 * lyxlex_pimpl.C (getString): adjust
4065 (lex): use getString
4069 * lyxlex.C (text): use pimpl_->getString()
4073 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4076 (makeFontEntriesLayoutSpecific): temp var for par.size()
4077 (setLayout): temp var for ownerParagraphs().end()
4078 (fullRebreak): temp var for rows().end()
4079 (selectionAsString): temp var for boost::next(startpit), realize
4080 that the while really is a regular for loop.
4081 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4082 setCursor in one place.
4083 (setParagraph): temp vr for ownerParagraphs().end()
4084 (updateCounters): make the while loop a for loop
4085 (cutSelection): temp var for ownerParagraphs().end()
4086 (updateInset): make the do {} while() a regular for loop
4087 (getCursorX): use temp vars
4088 (setCurrentFont): use temp vars
4089 (getColumnNearX): use temp vars
4091 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * text.C (transformChar): use temp var for getChar
4094 (computeBidiTables): use temp var for row->par()
4095 (fill): move temp vars for row->par() and pit->layout() earlier in
4097 (labelFill): use temp var for row->par()
4098 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4099 asc and desc, realize that pit never changes and that firstpit is
4100 just a duplicate and not needed. Exchange rit->par() with pit in a
4102 (breakAgain): use a temp var for boost::next(rit)
4103 (breakAgainOneRow): ditto
4104 (breakParagraph): use a temp var for rows().begin()
4105 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4106 (cursorRightOneWord): use temp var for cursor.par() and
4107 cursor.pos(), remove usage of tmpcursor.
4108 (cursorLeftOneWord): use temp var for cursor.par() and
4109 cursor.pos() only set cur at end of function.
4111 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * text.C, text2.C: exchange all usage of Paragraph::next with
4114 boost::next(ParagraphList::iterator)
4116 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4118 * text2.C (cursorTop): simplify implementation
4119 (cursorBottom): ditto
4120 (setParagraph): use ParagraphList::iterator
4121 (setCurrentFont): adjust
4122 (getColumnNearX): adjust
4123 (cursorRight): adjust
4124 (cursorLeft): remove usage of Paragraph::previous
4125 (cursorUpParagraph): ditto
4126 (deleteEmptyParagraphMechanism): slight cleanup
4128 * text.C (isBoundary): take a Paragraph const & instead of a
4130 (addressBreakPoint): ditto
4131 (leftMargin): remove usage of Paragraph::previous.
4132 (setHeightOfRow): ditto
4133 (cursorLeftOneWord): ditto
4134 (selectNextWordToSpellcheck): ditto
4137 (breakParagraph): remove one usage of Paragraph::next
4138 (redoParagraph): ditto
4139 (acceptChange): ditto
4140 (insertChar): adjust
4141 (rowBreakPoint): adjust
4143 * bufferview_funcs.C (toggleAndShow): adjust
4145 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4147 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4148 methods to access it.
4150 * text.C: Added updateRowPositions to compute all row positions.
4151 Make top_y and getRowNearY() to use the cached y position
4153 2003-04-11 John Levon <levon@movementarian.org>
4155 * text.C (rowBreakPoint): reintroduce the labelEnd
4156 checks, code copied from the row fill stuff. Deep voodoo.
4158 * text.C (fill): add a comment and debugging for the
4161 2003-04-11 John Levon <levon@movementarian.org>
4163 * text.C: make sure fullrow insets get wrapped to the next line,
4164 even when they're in a manual label
4166 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4168 * text2.C (insertParagraph): make it take ParagraphList::iterator
4170 (setLayout): make it return ParagraphList::iterator
4171 (redoParagraphs): ditto
4173 (checkParagraph): ditto
4175 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4177 * text2.C: adjust several funcs.
4178 (realizeFont): take a ParagraphList::iterator as arg.
4179 (getLayoutFont): ditto
4180 (getLabelFont): ditto
4181 (setCharFont): ditto
4183 * text.C: adjust several funcs.
4185 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4187 * text.C (selectNextWordToSpellcheck): don't accidentally
4190 2003-04-10 John Levon <levon@movementarian.org>
4192 * ToolbarBackend.C (getIcon): special handling for
4195 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4197 * text2.C (cursorRight): a getChar assert fixed
4199 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * text2.C (getFont): change to take a ParagraphList::iterator
4202 instead of Paragraph*
4203 Adjust several functions.
4205 * text.C (transformChar): change to take a ParagraphList::iterator
4206 instead of Paragraph*
4207 (singleWidth): ditto
4208 Adjust several functions.
4210 * rowpainter.C: adjust several functions
4211 * rowpainter.h:store a ParagraphList::iterator and not a
4215 2003-04-09 John Levon <levon@movementarian.org>
4220 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4221 and the "help" bits as well
4223 2003-04-09 John Levon <levon@movementarian.org>
4226 * ToolbarBackend.C: allow multiple toolbars
4228 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * undo_funcs.C (setCursorParUndo): adjust
4232 * text_funcs.C (transposeChars): adjust
4234 * text3.C (gotoNextInset): adjust
4237 * text2.C (setLayout): adjust
4238 (changeDepth): adjust
4240 (redoParagraphs): adjust
4241 (selectionAsString): adjust
4242 (setParagraph): adjust
4243 (insertInset): adjust
4244 (cutSelection): adjust
4245 (copySelection): adjust
4246 (pasteSelection): adjust
4247 (insertStringAsLines): adjust
4248 (updateInset): adjust
4249 (setCursor): change to take a ParagraphList::iterator parameter
4250 (setCursorIntern): change to take a ParagraphList::iterator parameter
4251 (setCurrentFont): adjust
4252 (cursorLeft): adjust
4253 (cursorRight): adjust
4254 (deleteEmptyParagraphMechanism): adjust
4256 * text.C (breakParagraph): adjust
4257 (insertChar): adjust
4258 (acceptChange): adjust
4259 (rejectChange): adjust
4260 (selectNextWordToSpellcheck): adjust
4261 (changeCase): adjust
4265 * lyxfind.C (SearchForward): adjust
4266 (SearchBackward): adjust
4267 (nextChange): adjust
4269 * lyxcursor.C (par): adjust
4271 * lyxcursor.h: store a ParagraphList::iterator instead of a
4274 * lyx_cb.C (getPossibleLabel): adjust
4276 * bufferview_funcs.C (toggleAndShow): adjust
4278 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4281 * BufferView.C (removeAutoInsets): adjust
4282 (lockedInsetStoreUndo): adjust
4284 2003-04-09 John Levon <levon@movementarian.org>
4286 * ToolbarBackend.C: try icon without argument
4287 if with argument fails
4289 2003-04-08 John Levon <levon@movementarian.org>
4292 * ToolbarBackend.C: add getIcon(), handle tooltip,
4293 and change from "Icon" to "Item".
4295 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4297 * BufferView.C (lockInset): another bad getchar crunched
4299 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4301 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4304 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4306 * lyxfind.C (searchForward, searchBackwards): bug 782
4308 2003-04-07 John Levon <levon@movementarian.org>
4310 * paragraph.C: remove dead comment
4312 * text.C: remove troublesome depth-fiddling code
4313 in leftMargin() and rightMargin() (bug 1017)
4315 * text.C: fix breaking of rows in nested lists
4318 * text2.C (updateCounters): fix up depth values
4321 2003-04-07 John Levon <levon@movementarian.org>
4323 * BufferView_pimpl.C: clear message when doc finishes resizing,
4324 and after a mouse event
4326 * lyxfunc.C: clear message after exiting inset
4328 2003-04-07 John Levon <levon@movementarian.org>
4330 * bufferview_funcs.C: show math status not outside
4331 status in the statusbar
4333 2003-04-07 John Levon <levon@movementarian.org>
4335 * lyxfunc.C: note status changed after a depth change
4337 2003-04-04 Angus Leeming <leeming@lyx.org>
4339 * LaTeX.h: move AuxInfo operator==, != out of line.
4340 Remove LaTeX virtual destructor; nothing derives from it.
4341 Move operator()() out of public area and rename it startscript().
4342 Change protected for private.
4344 2003-04-04 Angus Leeming <leeming@lyx.org>
4347 * text2.C: remove unneeded #includes.
4349 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4351 * text2.C (dEPM): fix the heigth of the next row
4353 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4355 * text.C: squashed an invalid getChar requester + some ws changes
4357 2003-04-03 John Levon <levon@movementarian.org>
4359 * bufferview_funcs.h:
4360 * bufferview_funcs.C:
4363 * text2.C: make getStatus work for the env depth lfuns
4365 2003-04-03 John Levon <levon@movementarian.org>
4367 * bufferview_funcs.h:
4368 * bufferview_funcs.C:
4371 * text2.C: parlistize decDepth(), by merging it with incDepth()
4373 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * lyxrow.h: store a ParagraphList::iterator instead of a
4376 Paragraph* and adjust other class functions to suit.
4378 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4381 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4383 * text2.C (setCursor): do not anchor to cursor row for the time being
4385 2003-04-02 John Levon <levon@movementarian.org>
4392 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4394 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * paragraph.h: make ParagraphList and ParagraphList::iterator
4397 friends of Paragraph.
4399 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4401 * ParagraphList.C: Use the private next_ and previous_ from
4404 2003-04-01 John Levon <levon@movementarian.org>
4408 * Makefile.am: rename, remove defaults gunk
4411 * MenuBackend.C: remove defaults gunk
4414 * Languages.C: remove defaults gunk
4417 * lyx_main.C: error out if files couldn't be found.
4419 2003-04-02 John Levon <levon@movementarian.org>
4421 * text2.C: make incDepth() use parlist
4423 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * undo_funcs.C (firstUndoParagraph): adjust
4427 * text3.C (gotoInset): adjust
4428 (dispatch): adjust, and rewrite loop.
4430 * text2.C (init): adjust, and rewrite loop.
4431 (redoParagraphs): adjust
4432 (updateInset): adjust, and rewrite loop.
4433 (deleteEmptyParagraphMechanism): adjust
4435 * tabular.C (LyXTabular): adjust
4436 (SetMultiColumn): adjust
4439 * lyxtext.[Ch] (ownerParagraph): delete function
4440 (ownerParagraphs): new function returns a ParagraphList.
4442 * BufferView.C (removeAutoInsets): adjust
4443 (insertErrors): adjust
4444 (setCursorFromRow): adjust
4446 2003-04-01 Angus Leeming <leeming@lyx.org>
4448 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4451 2003-04-02 John Levon <levon@movementarian.org>
4457 * text_funcs.C: make transposeChars a free function
4459 * lyxrow_funcs.C: remove wrong comment
4461 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * rowpainter.C: adjust
4469 * lyxrow_funcs. [Ch]: new files
4471 * lyxrow.[Ch]: remove next and previous pointers
4472 (next,previous): remove accessor functions
4473 (isParEnd): move to lyxrow_funcs
4474 (lastPos): move to lyxrow_funcs
4475 (nextRowIsAllInset): move to lyxrow_funcs
4476 (lastPrintablePos): move to lyxrow_funcs
4477 (numberOfSeparators): move to lyxrow_funcs
4478 (numberOfHfills): move to lyxrow_funcs
4479 (numberOfLabelHfills): move to lyxrow_funcs
4480 (hfillExpansion): move to lyxrow_funcs
4484 * bufferview_funcs.C (toggleAndShow): adjust
4486 * RowList.h: Remove class RowList from file leave just a
4489 * RowList.C: delete file
4491 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4494 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * text3.C (cursorPrevious): adjust
4497 (cursorNext): adjust
4500 * text2.C (redoHeightOfParagraph): adjust
4501 (redoDrawingOfParagraph): adjust
4504 * text.C (breakParagraph): adjust
4505 (insertChar): adjust
4508 * rowpainter.C (RowPainter): adjust
4509 (leftMargin): simplify and adjust
4510 (most rowpainter functions): adjust.
4512 * rowpainter.h: store the row as RowList::iterator not as Row*
4514 * lyxcursor.C (row): taka RowList::iterator as arg
4517 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4520 2003-04-01 Angus Leeming <leeming@lyx.org>
4522 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4523 stuff like bool Bool.
4525 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4527 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4530 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4535 * lyxtext.h (rows): drop one version and leve a const variant that
4536 returns a RowList::iterator.
4538 2003-03-31 Angus Leeming <leeming@lyx.org>
4540 * text.C (fill): ensure that the signature is the same as that in the
4543 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * text2.C (redoParagraphs): adjust
4546 (updateCounters): adjust
4547 (checkParagraph): adjust
4548 (getColumnNearX): adjust and reformat a bit.
4550 * text.C (top_y): adjust
4552 (leftMargin): adjust
4553 (prepareToPrint): adjust
4555 (getRowNearY): adjust
4557 * lyxtext.h: make rowlist_ mutable.
4559 * RowList.h: add const_iterator
4560 * RowList.C: adjust for RowList::const_iterator.
4562 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4565 2003-03-31 John Levon <levon@movementarian.org>
4568 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4570 * lyx_main.C: set default fonts from using lyx_gui funcs
4572 * exporter.C: pdf_mode moved from lyxrc
4575 * lyxfunc.C: changes from above
4577 2003-03-31 John Levon <levon@movementarian.org>
4579 * lyx_main.C: fix to the last fix
4581 2003-03-31 John Levon <levon@movementarian.org>
4583 * bufferlist.C: "Load original" -> "Load Original"
4589 * format.C: more Alert cleanups
4591 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * text2.C (removeParagraph): make it take a RowList::iterator as
4595 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4596 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4598 * text.C (anchor_row): make it take a RowList::iterator as arg,
4600 (computeBidiTables): make it take a const reference to Row instead
4601 of Row pointer, adjust.
4602 (leftMargin): make it take a RowList::iterator as arg, adjust.
4603 (rowBreakPoint): adjust
4604 (breakAgainOneRow): make it take a RowList::iterator as arg,
4606 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4608 * bufferview_funcs.C (toggleAndShow): adjust
4610 2003-03-30 John Levon <levon@movementarian.org>
4614 * boost-inst.C: moved to support
4616 * several files: changes as a result
4618 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * text2.C (LyXText): adjust.
4622 (removeRow): make it take a RowList::iterator as arg, adjust.
4623 (fullRebreak): adjust
4624 (deleteEmptyParagraphMechanism): adjust
4625 (clearPaint): adjust
4628 * text.C (top_y): adjust
4629 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4630 (breakAgain): make it take a RowList::iterator as arg, adjust.
4631 (breakParagraph): adjust
4632 (insertChar): adjust
4635 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4636 need_break_row, and refresh_row.
4638 * text3.C (dispatch): adjust
4640 * text2.C (checkParagraph): adjust
4642 (setCursorFromCoordinates): adjust
4644 * text.C (top_y): adjust
4646 (getRow): make it return a RowList::iterator, adjust
4647 (getRowNearY): make it return a RowList::iterator, adjust
4649 * text2.C (init): adjust
4650 (insertRow): remove function
4651 (insertParagraph): adjust
4652 (redoParagraphs): adjust
4653 (fullRebreak): adjust
4654 (updateCounters): adjust
4656 * text.C (top_y): rewrite to use RowList iterators.
4658 (setHeightOfRow): rewrite to sue RowList iterators.
4659 (appendParagraph): adjust
4660 (breakAgain): adjust
4661 (breakAgainOneRow): adjust
4662 (breakParagraph): adjust
4664 (getRowNearY): adjust, and remove commented code.
4666 * lyxtext.h (firstRow): delete function
4667 (lastRow): delete function
4668 (rows): new function (const and non-const versions.)
4669 (insertRow): delete function
4671 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4673 2003-03-29 John Levon <levon@movementarian.org>
4675 * BufferView_pimpl.C: always update scrollbar top
4676 because pasting text when we're anchored could mean we
4677 miss an update altogether
4679 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * text2.C (init): use rowlist_.end() and not 0.
4682 (insertRow): change to take a RowList::iterator as arg, adjust
4684 (insertParagraph): change to take a RowList::iterator as arg,
4686 (redoParagraphs): remove some debug msgs.
4688 * text.C (appendParagraph): change to take a RowList::iterator
4689 arg, adjust for this.
4690 (breakAgain): add an assert
4691 (breakAgainOneRow): ditto
4693 2003-03-29 John Levon <levon@movementarian.org>
4695 * text2.C: do not clear selection after inc/decDepth
4698 2003-03-29 John Levon <levon@movementarian.org>
4701 * buffer.C: fix broken strerrors according to Lars
4703 2003-03-29 John Levon <levon@movementarian.org>
4705 * converters.C: more Alert cleanups
4707 2003-03-29 John Levon <levon@movementarian.org>
4709 * bufferview_funcs.C: remove pointless Alert
4711 * buffer.C: fix confusing error message when
4712 a template is chmoded 000
4714 2003-03-29 John Levon <levon@movementarian.org>
4718 * BufferView_pimpl.C: Alert fixes
4722 * tabular-old.C: remove unused table compat reading
4724 2003-03-29 John Levon <levon@movementarian.org>
4729 * lyx_cb.C: more Alert cleanups
4731 * lyxfunc.C: don't allow chktex if not latex document
4733 2003-03-29 John Levon <levon@movementarian.org>
4737 * buffer.C: warnings pushed down from support/,
4740 2003-03-29 John Levon <levon@movementarian.org>
4742 * lyxfunc.C: safety check for C-r (revert)
4744 2003-03-29 John Levon <levon@movementarian.org>
4747 * bufferlist.C: several UI fixes using Alert::prompt.
4748 Fix the pointless looping quit code. Fix stupid revert
4753 * lyx_cb.C: use Alert::prompt
4755 * lyx_main.C: remove a silly question
4757 * lyxfunc.C: remove a couple of silly questions,
4760 2003-03-28 John Levon <levon@movementarian.org>
4762 * text2.C: fix bug 974 (End on empty par)
4764 2003-03-28 John Levon <levon@movementarian.org>
4766 * BufferView_pimpl.C:
4768 * lfuns.h: remove do-nothing math greek lfuns
4770 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4772 * lyxgluelength.h (isValidGlueLength): add default arg on
4773 parameter 2. Remove default arg from friend in class.
4775 * lyxlength.h (isValidLength): add default arg on parameter 2.
4776 Remove default arg from friend in class.
4778 * text2.C (LyXText): adjust, initialize refresh_row.
4782 (insertParagraph): adjst
4783 (redoParagraphs): adjust
4784 (fullRebreak): adjust
4785 (updateCounters): adjust
4786 (deleteEmptyParagraphMechanism): first attempt at fixing a
4789 * text.C (top_y): adjust
4790 (setHeightOfRow): adjust
4792 (getRowNearY): adjust
4794 * lyxtext.h: include RowList.h
4795 (~LyXText): not needed anymore, deleted.
4796 (firstRow): modify for RowList
4797 (lastRow): new function
4798 Delete firstrow and lastrow class variables, add a Rowlist
4799 rowlist_ class variable.
4801 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4804 * RowList.C (insert): fix case where it == begin().
4806 2003-03-26 Angus Leeming <leeming@lyx.org>
4808 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4809 the thesaurus dialog.
4811 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4815 * RowList.[Ch]: new files
4817 * ParagraphList.C (erase): handle the case where it == begin
4820 2003-03-25 John Levon <levon@movementarian.org>
4824 * aspell.C: add new aspell support
4827 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4830 2003-03-25 Angus Leeming <leeming@lyx.org>
4833 * LyXAction.C (init): new LFUN_INSET_INSERT.
4835 * BufferView_pimpl.C (dispatch): split out part of the
4836 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4838 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4841 2003-03-25 Angus Leeming <leeming@lyx.org>
4843 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4845 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4848 * text3.C: remove useless row->height(0)
4850 2003-03-25 John Levon <levon@movementarian.org>
4854 * text3.C: rename the refreshing stuff to better names
4856 2003-03-24 John Levon <levon@movementarian.org>
4858 * BufferView_pimpl.h:
4859 * BufferView_pimpl.C: update layout choice on a mouse
4862 2003-03-23 John Levon <levon@movementarian.org>
4864 * Makefile.am: fix commandtags.h reference
4866 2003-03-22 John Levon <levon@movementarian.org>
4868 * BufferView_pimpl.C:
4873 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4875 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4878 * text.C: take the rtl methods out of line
4880 2003-03-21 André Pönitz <poenitz@gmx.net>
4882 * metricsinfo.[Ch]: new files containing structures to be passed around
4883 during the two-phase-drawing...
4885 2003-03-21 André Pönitz <poenitz@gmx.net>
4887 * lyxtextclass.C: read 'environment' tag.
4889 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4891 * text2.C (removeRow): fix bug 964
4893 2003-03-20 John Levon <levon@movementarian.org>
4897 * text2.C: paint cleanups. Inset::update() dropped font
4900 2003-03-19 John Levon <levon@movementarian.org>
4902 * lyxfunc.C: only fitcursor/markDirty if available()
4904 2003-03-19 John Levon <levon@movementarian.org>
4906 * commandtags.h: rename to ...
4908 * lfuns.h: ... this, and renumber / cleanup
4910 2003-03-19 John Levon <levon@movementarian.org>
4912 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4913 fit the cursor after an lfun
4917 * BufferView_pimpl.h:
4918 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4920 * LyXAction.C: layout-character should have ReadOnly
4922 * ParagraphParameters.C:
4924 * bufferview_funcs.C:
4931 * undo_funcs.C: changes from above
4933 2003-03-18 John Levon <levon@movementarian.org>
4935 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4936 remove it from update()
4938 * lyxfunc.C: update layout choice after an lfun
4940 * text3.C: remove extra updateLayoutChoice()s
4942 2003-03-18 John Levon <levon@movementarian.org>
4944 * text.C: top_y change means full repaint, fix
4945 a drawing bug with cursor movement
4947 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4951 * text2.C: anchor row on setCursor
4953 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4955 * lyxtext.h: remove almost all mutable keywords
4958 * text3.C: remove const keywords accordingly
4960 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4962 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4964 (TeXEnvironment): ditto
4967 2003-03-17 John Levon <levon@movementarian.org>
4969 * text.C (rowBreakPoint): remove attempt to fix displayed
4970 math insets inside a manual label
4972 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4974 * lyxtext.h: remove BufferView* as first arg from almost all class
4976 * other files: adjust.
4978 2003-03-17 John Levon <levon@movementarian.org>
4982 * text2.C: more paint cleanups
4984 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4987 * rowpainter.C: remove "smart" background painting code
4989 2003-03-16 John Levon <levon@movementarian.org>
4994 * text3.C: add helper functions for setting refresh_row/y
4996 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
4998 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4999 newline inset which *can* get inserted in the pass_thru layouts.
5000 This is primarily for literate documents.
5002 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5004 * buffer.C: increment LYX_FORMAT to 223
5006 2003-03-14 André Pönitz <poenitz@gmx.net>
5008 * textclass.h: prepare for environment handling, ws changes
5009 * lyxlayout.C: read latexheader and latexfooter tags
5011 2003-03-14 John Levon <levon@movementarian.org>
5013 * text2.C: rewrite ::status() a bit
5015 2003-03-13 John Levon <levon@movementarian.org>
5017 * lyxtext.h: add some docs
5019 2003-03-13 John Levon <levon@movementarian.org>
5024 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5026 2003-03-13 John Levon <levon@movementarian.org>
5028 * text3.C: fix appendix redrawing
5030 2003-03-13 John Levon <levon@movementarian.org>
5032 * text.C (setHeightOfRow):
5034 * rowpainter.C: make appendix mark have the text
5035 "Appendix" so the user knows what it is
5038 * LColor.C: s/appendixline/appendix/ from above
5040 2003-03-13 John Levon <levon@movementarian.org>
5042 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5044 * text.C: fix a getChar(pos) bug properly
5046 2003-03-13 Angus Leeming <leeming@lyx.org>
5049 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5050 Probably only temporary. Let's see how things pan out.
5052 * BufferView.C (unlockInset):
5053 * BufferView_pimpl.C (fitCursor):
5054 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5056 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5057 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5059 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5060 new functions that convert ParagraphParameters to and from a string.
5062 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5063 BufferView::Pimpl's dispatch.
5064 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5066 2003-03-13 André Pönitz <poenitz@gmx.net>
5070 * factory.C: make it aware of InsetEnv
5072 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * text2.C (setCursor): never ask for one past last
5075 (setCursor): add some debugging messages.
5077 * text.C (singleWidth): never ask for one past last
5078 (singleWidth): ditto
5080 (rightMargin): ditto
5081 (rowBreakPoint): ditto
5082 (setHeightOfRow): ditto
5083 (prepareToPrint): ditto
5085 * rowpainter.C (paintBackground): never ask for one past last
5086 (paintText): never ask for one past last
5088 * paragraph_pimpl.C (getChar): make the assert stricter, never
5089 allow the one past last pos to be taken
5091 * paragraph.C (getChar): ws changes only
5093 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5094 (numberOfSeparators): ditto
5095 (numberOfHfills): ditto
5097 2003-03-12 John Levon <levon@movementarian.org>
5103 * paragraph_funcs.C: fix per-buffer authorlists
5105 2003-03-12 John Levon <levon@movementarian.org>
5107 * text.C: fix newline in right address
5109 2003-03-12 Angus Leeming <leeming@lyx.org>
5111 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5112 duplicate those in LyXFunc::dispatch.
5116 * ToolbarDefaults.C:
5117 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5118 Add LFUN_FONTFREE_UPDATE.
5120 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5121 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5123 * bufferview_func.[Ch]: several new functions to facilliate
5124 transfer of data to and from the character dialog.
5126 2003-03-12 John Levon <levon@movementarian.org>
5131 * paragraph_funcs.C:
5132 * paragraph_pimpl.C:
5136 * text3.C: remove META_NEWLINE in favour of an inset
5139 * rowpainter.C: remove paintNewline (done by inset)
5141 2003-03-12 John Levon <levon@movementarian.org>
5143 * paragraph_pimpl.C: complain about bad getChar()s
5144 for a while at least
5146 2003-03-12 John Levon <levon@movementarian.org>
5149 * buffer.C: move paragraph read into a separate function,
5150 a little renaming to reflect that.
5153 * bufferparams.C: remove the author_ids map, not necessary now
5156 * factory.C: moved Buffer::readInset to here
5158 * paragraph_funcs.h:
5159 * paragraph_funcs.C: readParagraph free function moved from
5162 * tabular.C: name change
5164 2003-03-12 John Levon <levon@movementarian.org>
5167 * ParagraphParameters.C: move par params input to
5170 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5171 behave like a normal read from the stream wrt reading
5172 a line vs. a \\token
5174 2003-03-12 John Levon <levon@movementarian.org>
5177 * ParagraphParameters.h:
5178 * ParagraphParameters.C: move output code to a
5181 2003-03-12 John Levon <levon@movementarian.org>
5183 * BufferView.C (insertLyXFile):
5186 * tabular.C: use a parlist iterator for creating the
5189 2003-03-12 John Levon <levon@movementarian.org>
5191 * buffer.C: make current_change static local not
5194 2003-03-12 John Levon <levon@movementarian.org>
5196 * buffer.C: fix insertStringAsLines for change tracking
5198 2003-03-12 John Levon <levon@movementarian.org>
5205 * bufferparams.C: move author list into params. Rename some
5206 functions. Move the header reading into a separate token
5207 loop. Move the header token reading into BufferParams.
5209 2003-03-12 John Levon <levon@movementarian.org>
5211 * changes.C: put debug inside lyxerr.debugging() checks
5213 2003-03-11 André Pönitz <poenitz@gmx.net>
5215 * factory.C: make it aware of InsetHFill
5217 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5219 * buffer.C (latexParagraphs): move function from here...
5220 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5223 2003-03-10 Angus Leeming <leeming@lyx.org>
5225 * LyXAction.C (init): fix bug in poplating array with multiple entries
5226 with the same LFUN (spotted by JMarc).
5228 2003-03-10 John Levon <levon@movementarian.org>
5231 * text2.C: move getColumnNearX() near its
5234 2003-03-10 John Levon <levon@movementarian.org>
5236 * text.C: fix break before a minipage
5238 2003-03-10 John Levon <levon@movementarian.org>
5240 * text.C: fix the last commit
5242 2003-03-09 John Levon <levon@movementarian.org>
5246 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5247 bug 365 (don't break before insets unless needed). Don't
5248 return a value > last under any circumstances.
5250 2003-03-09 Angus Leeming <leeming@lyx.org>
5252 * BufferView_pimpl.C (trackChanges, dispatch): call
5253 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5255 2003-03-09 Angus Leeming <leeming@lyx.org>
5257 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5258 than Dialogs::showAboutlyx().
5260 2003-03-09 Angus Leeming <leeming@lyx.org>
5262 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5263 than Dialogs::showTabularCreate().
5265 2003-03-09 John Levon <levon@movementarian.org>
5269 * text2.C: 3rd arg to nextBreakPoint was always the same.
5272 2003-03-08 John Levon <levon@movementarian.org>
5279 * text2.C: Remove the "main" bit from the "main body"
5282 2003-03-08 John Levon <levon@movementarian.org>
5284 * text.C (leftMargin): The left margin of an empty
5285 manual label paragraph should not include the label width
5288 * text.C (prepareToPrint): don't attempt to measure hfills
5289 for empty manual label paragraphs - the answer should be 0
5291 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * CutAndPaste.C: remove commented code and reindent.
5295 2003-03-08 John Levon <levon@movementarian.org>
5298 * lyxfunc.C: move reloadBuffer()
5301 * BufferView.C: to here
5303 * lyxvc.C: add comment
5306 * vc-backend.C: call bv->reload() to avoid
5307 getStatus() check on MENURELOAD
5309 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5311 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5312 to an old format .dep file.
5314 2003-03-07 Angus Leeming <leeming@lyx.org>
5316 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5317 when the LFUN_MOUSE_RELEASE should have been handled by
5318 inset->localDispatch.
5320 2003-03-07 Angus Leeming <leeming@lyx.org>
5322 * BufferView_pimpl.C (dispatch):
5323 * LyXAction.C (init):
5324 * ToolbarDefaults.C (init):
5326 * lyxfunc.C (getStatus):
5327 remove LFUN_INSET_GRAPHICS.
5329 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5331 2003-03-07 Angus Leeming <leeming@lyx.org>
5334 * LyXAction.C (init):
5335 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5337 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5340 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5342 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5343 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5345 2003-03-07 Angus Leeming <leeming@lyx.org>
5347 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5350 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * ParagraphList.C (front): new function
5355 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5357 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5358 and top_row_offset_. removed var first_y.
5360 * text2.C (LyXText, removeRow):
5362 * BufferView_pimpl.C:
5363 use these methods instead of using first_y
5365 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * text2.C (pasteSelection): adjust for checkPastePossible
5369 * CutAndPaste.C: remove Paragraph * buf and replace with
5370 ParagraphList paragraphs.
5371 (DeleteBuffer): delete
5372 (cutSelection): change the tc type to textclass_type
5373 (copySelection): change the tc type to textclass_type
5374 (copySelection): adjust for ParagraphList
5375 (pasteSelection): change the tc type to textclass_type
5376 (pasteSelection): adjust for Paragraphlist
5377 (nrOfParagraphs): simplify for ParagraphList
5378 (checkPastePossible): simplify for ParagraphList
5379 (checkPastePossible): remove unused arg
5381 * ParagraphList.C (insert): handle the case where there are no
5384 * CutAndPaste.h: make CutAndPaste a namespace.
5386 * text3.C (dispatch): adjust
5388 * text.C (breakParagraph): add a ParagraphList as arg
5390 * paragraph_funcs.C (breakParagraph): change to take a
5391 BufferParams and a ParagraphList as args.
5392 (breakParagraphConservative): ditto
5393 (mergeParagraph): ditto
5394 (TeXDeeper): add a ParagraphList arg
5395 (TeXEnvironment): ditto
5398 * buffer.C (readLyXformat2): adjust
5399 (insertStringAsLines): adjust
5400 (latexParagraphs): adjust
5402 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5403 (cutSelection): adjust
5404 (pasteSelection): adjust
5406 * BufferView_pimpl.C (insertInset): adjust
5408 2003-03-05 Angus Leeming <leeming@lyx.org>
5411 * LyXAction.C (init):
5412 * BufferView_pimpl.C (dispatch):
5413 * lyxfunc.C (getStatus):
5414 remove LFUN_CHILD_INSERT.
5416 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5418 2003-03-05 Angus Leeming <leeming@lyx.org>
5421 * LyXAction.C (init):
5422 * src/factory.C (createInset):
5423 * lyxfunc.C (getStatus):
5424 * text3.C (dispatch):
5425 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5427 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5429 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5431 * ParagraphList.C (insert): handle insert right before end()
5432 (erase): fix cases where it can be first or last paragraph.
5434 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5437 Paragraph::next and Paragraph::previous
5440 * text.C (breakParagraph): adjust
5442 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5443 BufferParams& as arg.
5444 (breakParagraph): use ParagraphList::insert
5445 (breakParagraphConservative): take a Buffer* instead of a
5446 BufferParams& as arg.
5447 (breakParagraphConservative): use ParagraphList::insert.
5449 * buffer.C (insertStringAsLines): un-const it
5450 (insertStringAsLines): adjust
5452 * ParagraphList.C (insert): new function
5454 * CutAndPaste.C (pasteSelection): adjust
5456 * text.C (backspace): adjust
5458 * tabular.C (SetMultiColumn): adjust
5460 * CutAndPaste.C (cutSelection): adjust
5461 (pasteSelection): adjust
5463 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5464 Buffer const * as arg
5466 * ParagraphList.C (erase): new function
5467 * paragraph_funcs.C (mergeParagraph): use it
5468 (mergeParagraph): make it take a Buffer* instead of a
5469 BufferParams* as arg
5471 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5473 (breakParagraphConservative): ditto
5475 * paragraph.h: remove the breakParagraph friend
5477 * paragraph.C (eraseIntern): new function
5478 (setChange): new function
5480 * paragraph_funcs.C (mergeParagraph): make it take a
5481 ParagraphList::iterator instead of a Paragraph *, adjust
5484 * paragraph.h: move an #endif so that the change tracking stuff
5485 also works in the NO_NEXT case.
5487 2003-03-04 Angus Leeming <leeming@lyx.org>
5490 * LyXAction.C: new LFUN_INSET_MODIFY.
5492 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5493 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5495 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * several files: ws changes only
5499 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5500 (TeXEnvironment): ditto
5503 * buffer.C (makeLaTeXFile): adjust
5504 (latexParagraphs): make it take ParagraphList::iterator as args
5506 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * buffer.C (latexParagraphs): adjust
5510 * paragraph.C (TeXOnePar): move function...
5511 (optArgInset): move function...
5512 (TeXEnvironment): move function...
5513 * paragraph_pimpl.C (TeXDeeper): move function...
5514 * paragraph_funcs.C: ...here
5516 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5518 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * buffer.C (readInset): remove compability code for old Figure and
5523 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * buffer.C: ws changes
5528 * BufferView_pimpl.C: ditto
5531 * bufferlist.h: ditto
5535 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5537 * converter.[Ch]: split into itself +
5540 * Makefile.am: += graph.[Ch] + format.[Ch]
5547 * lyxrc.C: added #include "format.h"
5549 2003-02-27 Angus Leeming <leeming@lyx.org>
5551 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5554 * factory.C (createInset): add "label" to the factory.
5556 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5557 string and do no more.
5559 2003-02-27 Angus Leeming <leeming@lyx.org>
5562 * LyXAction.C (init):
5563 * factory.C (createInset):
5564 * BufferView_pimpl.C (dispatch):
5565 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5567 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5569 * lyxfunc.C (dispatch):
5570 * text3.C (dispatch): pass name to params2string.
5572 2003-02-26 Angus Leeming <leeming@lyx.org>
5574 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5576 Rearrange the ~includes. Strip out the unnecessary ones.
5578 * factory.C (createInset): reformat.
5579 create new insets for the various LFUN_XYZ_APPLY lfuns.
5581 2003-02-26 John Levon <levon@movementarian.org>
5584 * lyxrow.C: add isParStart,isParEnd helpers
5586 * paragraph.h: make isInserted/DeletedText take refs
5588 * paragraph_funcs.h:
5589 * paragraph_funcs.C: remove #if 0'd code
5594 * text.C: use lyxrow helpers above.
5595 Move draw and paint routines to RowPainter.
5596 Make several methods use refs not pointers.
5597 Make backgroundColor() const.
5598 Add markChangeInDraw(), isInInset().
5599 Merge changeRegionCase into changeCase.
5600 Make workWidth() shouldn't-happen code into an Assert.
5603 * rowpainter.C: new class for painting a row.
5606 * vspace.C: make inPixels take a ref
5608 2003-02-26 Angus Leeming <leeming@lyx.org>
5610 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5613 2003-02-25 John Levon <levon@movementarian.org>
5615 * ispell.C: give the forked command a more accurate name
5617 2003-02-22 John Levon <levon@movementarian.org>
5620 * toc.C: make TocItem store an id not a Paragraph *
5623 2003-02-21 Angus Leeming <leeming@lyx.org>
5625 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5626 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5627 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5628 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5629 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5630 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5632 * BufferView_pimpl.C (dispatch):
5633 * LyXAction.C (init):
5634 * factory.C (createInset):
5635 * lyxfunc.C (getStatus, dispatch):
5636 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5638 2003-02-21 Angus Leeming <leeming@lyx.org>
5640 * BufferView_pimpl.C (MenuInsertLyXFile):
5641 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5642 * lyxfunc.C (menuNew, open, doImport):
5643 no longer pass a LyXView & to fileDlg.
5645 2003-02-21 Angus Leeming <leeming@lyx.org>
5647 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5648 * LyXAction.C: change, BIBKEY to BIBITEM.
5649 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5650 Change InsetBibKey to InsetBibitem.
5651 Change BIBKEY_CODE to BIBITEM_CODE.
5652 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5653 * factory.C: replace insetbib.h with insetbibitem.h.
5654 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5655 * paragraph.C: replace insetbib.h with insetbibitem.h.
5656 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5657 Change bibkey() to bibitem().
5658 * text.C: remove insetbib.h.
5659 * text2.C: replace insetbib.h with insetbibitem.h.
5660 change bibkey() to bibitem().
5661 * text3.C: remove insetbib.h.
5662 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5664 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5666 * lyxrc.C (output): enclose user email in quotes (in case there are
5669 2003-02-18 John Levon <levon@movementarian.org>
5671 * buffer.h: add std::
5673 2003-02-17 John Levon <levon@movementarian.org>
5679 * pspell.C: reworking. Especially in ispell, a large
5680 number of clean ups and bug fixes.
5682 * lyxfunc.C: fix revert to behave sensibly
5684 2003-02-17 André Pönitz <poenitz@gmx.net>
5687 * commandtags.h: new LFUN_INSERT_BIBKEY
5697 * paragraph_func.C: remove special bibkey handling
5699 2003-02-17 John Levon <levon@movementarian.org>
5701 * text.C (Delete): fix case where delete at the end of
5702 the very first paragraph would not merge the pars
5704 2003-02-17 John Levon <levon@movementarian.org>
5706 * lyxrow.C: fix lastPrintablePos()
5708 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5710 * bufferparams.C (writeLaTeX): add a std:here
5712 * buffer.C: and remove a using directive there
5714 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5716 * buffer.C (makeLaTeXFile): move the code that generates the
5719 * bufferparams.C (writeLaTeX): ... in this new method
5721 * LaTeXFeatures.C (getEncodingSet): make const
5722 (getLanguages): make const
5724 * MenuBackend.C (binding): returns the binding associated to this
5726 (add): sets the status of each item by calling getStatus. Adds
5728 (read): add support for OptSubMenu
5729 (expand): remove extra separator at the end of expanded menu
5731 2003-02-15 John Levon <levon@movementarian.org>
5734 * BufferView_pimpl.C:
5736 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5737 inset code that had no actual effect. Remove unneeded status
5740 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5742 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5745 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5747 * text.C (drawLengthMarker): also draw an arrow marker for
5748 symbolic lengths (medskip...)
5750 2003-02-14 John Levon <levon@movementarian.org>
5753 * tabular.C: better method names
5755 2003-02-14 John Levon <levon@movementarian.org>
5757 * BufferView_pimpl.C:
5762 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5763 it's a more accurate name. Remove some pointless uses.
5765 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5767 * text2.C (LyXText): change order of initilizers to shut off
5770 2003-02-14 John Levon <levon@movementarian.org>
5772 * buffer.C: use ParIterator for getParFromID()
5776 * paragraph_pimpl.h:
5777 * paragraph_pimpl.C: remove unused getParFromID()
5779 2003-02-14 John Levon <levon@movementarian.org>
5781 * buffer.C: remove some very old #if 0'd parse code
5783 2003-02-13 John Levon <levon@movementarian.org>
5787 * text2.C: move hfillExpansion(), numberOfSeparators(),
5788 rowLast(), rowLastPrintable(), numberofHfills(),
5789 numberOfLabelHfills() ...
5792 * lyxrow.C: ... to member functions here.
5797 * text.C: remove LyXText::beginningOfMainBody(), and call
5798 p->beginningOfMainBody() directly. Move the check for
5799 LABEL_MANUAL into the latter.
5806 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5812 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5813 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5815 2003-02-13 John Levon <levon@movementarian.org>
5817 * CutAndPaste.C: remove debug
5819 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5821 * paragraph.C (asString): remove two unused variables
5823 * lyxtextclass.C (readTitleType):
5825 (LyXTextClass): handle new members titletype_ and titlename_
5827 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5829 2003-02-09 John Levon <levon@movementarian.org>
5832 * buffer.C: replace hand-coded list with a map for the dep clean
5834 2003-02-08 John Levon <levon@movementarian.org>
5836 * LaTeX.C: consolidate code into showRunMessage() helper
5838 2003-02-08 John Levon <levon@movementarian.org>
5843 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5844 and pass the size in explicitly
5846 * BufferView_pimpl.h:
5847 * BufferView_pimpl.C:
5849 * BufferView.C: add getCurrentChange()
5851 * BufferView_pimpl.h:
5852 * BufferView_pimpl.C: handle change lfuns
5854 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5855 for changes. Mark pasted paragraphs as new.
5857 * support/lyxtime.h:
5858 * support/lyxtime.C:
5859 * DepTable.C: abstract time_t as lyx::time_type
5862 * LColor.C: add colours for new text, deleted text, changebars
5864 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5865 package use "usenames" option.
5869 * LyXAction.C: add change lfuns
5873 * author.C: author handling
5876 * buffer.C: add a per-buffer author list, with first entry as
5877 current author. Handle new .lyx tokens for change tracking. Output
5878 author list to .lyx file. Output dvipost stuff to .tex preamble.
5879 Bump lyx format to 222.
5882 * bufferlist.C: add setCurrentAuthor() to reset current author details
5886 * bufferparams.C: add param for tracking
5888 * bufferview_funcs.C: output change info in minibuffer
5892 * changes.C: add change-tracking structure
5895 * debug.C: add CHANGES debug flag
5898 * lyxfind.C: add code for finding the next change piece
5901 * lyxrc.C: add user_name and user_email
5904 * lyxrow.C: add a metric for the top of the text line
5907 * text.C: implement accept/rejectChange()
5910 * text.C: paint changebars. Paint new/deleted text in the chosen
5911 colours. Strike through deleted text.
5915 * paragraph_pimpl.h:
5916 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5917 in the current change to the insert functions. Rework erase to
5918 mark text as deleted, adding an eraseIntern() and a range-based
5919 erase(). Implement per-paragraph change lookup and
5922 * paragraph_funcs.C: Fixup paste for change tracking.
5924 * tabular.C: mark added row/columns as new.
5926 * text.C: fix rowLast() to never return -1. Don't allow
5927 spellchecking of deleted text. Track transpose changes. Don't
5928 allow paragraph break or merge where appropriate.
5930 * text2.C: leave cursor at end of selection after a cut.
5932 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5934 * text.C (getLengthMarkerHeight):
5935 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5936 visible on screen too.
5938 2003-02-07 John Levon <levon@movementarian.org>
5940 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5942 2003-02-05 Angus Leeming <leeming@lyx.org>
5944 * lyxserver.C (read_ready): revert my patch of 11 September last year
5945 as it sends PC cpu through the roof. Presumably this means that
5946 the lyxserver will no longer run on an Alpha...
5948 2003-01-30 Angus Leeming <leeming@lyx.org>
5950 * factory.C (createInset): create an InsetCommandParam of type "index"
5951 and use it to 'do the right thing'.
5953 * text2.C (getStringToIndex): ensure that cursor position is always
5954 reset to the reset_cursor position.
5956 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5958 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5961 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5965 * lyxfunc.C: Output messages with identical spelling, punctuation,
5968 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5970 * MenuBackend.C (expandFormats): List only viewable export formats
5973 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5976 * lyxfunc.C (getStatus): Make sure that formats other than
5977 "fax" can also be disabled
5979 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5981 * text3.C (dispatch): put the lfuns that insert insets in 3
5982 groups, and call doInsertInset with appropriate arguments.
5983 (doInsertInset): new function, that creates an inset and inserts
5984 it according to some boolean parameters.
5986 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5988 * buffer.C (readFile): remember to pass on 'par' when calling
5989 readFile recursively.
5991 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5993 * MenuBackend.C (expandFormats): add "..." to import formats.
5995 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
5997 * paragraph.C (asString): Remove XForms RTL hacks.
5999 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6000 * buffer.C: fix typo
6002 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * Makefile.am (LIBS): delete var
6005 (lyx_LDADD): add @LIBS@ here instead.
6007 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6009 * Clarify the meaning of "wheel mouse jump"
6011 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6013 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6016 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6018 * importer.C (Loaders): do not preallocate 3 elements in the
6019 vector, since one ends up with 6 elements otherwise
6021 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6023 * DepTable.C (write): write the file name as last element of the
6024 .dep file (because it may contain spaces)
6025 (read): read info in the right order
6027 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * paragraph_pimpl.C (simpleTeXBlanks):
6030 (simpleTeXSpecialChars):
6031 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6033 * tabular.C (latex): add some missing case statements. Reindent.
6035 * MenuBackend.C (expandToc): remove unused variable.
6037 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6046 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6049 2003-01-05 John Levon <levon@movementarian.org>
6052 * BufferView.C: add getEncoding()
6055 * kbsequence.C: do not store last keypress
6058 * lyxfunc.C: store last keypress here instead. Pass encoding
6061 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6063 * lyx_main.C (init): remove annoying error message when following
6064 symbolic links (bug #780)
6066 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6068 * text.C (insertChar):
6069 * lyxrc.C (getDescription): remove extra spaces
6071 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6073 * lyxrc.C (getDescription): remove extra spaces
6075 2002-12-20 John Levon <levon@movementarian.org>
6077 * text3.C: hack fix for page up/down across tall rows
6079 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6081 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6084 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6086 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6087 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6088 thesaurus is not compiled in
6090 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6092 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6094 2002-12-16 Angus Leeming <leeming@lyx.org>
6097 * lyx_main.C (init): remove override_x_deadkeys stuff.
6099 2002-12-12 John Levon <levon@movementarian.org>
6101 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6102 insert. Only remove shift modifier under strict
6105 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * MenuBackend.C (expandToc): fix crash.
6109 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * MenuBackend.C (expandToc): gettext on float names.
6113 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6115 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6116 implement bool empty() [bug 490]
6118 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6120 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6122 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * several files: ws changes
6126 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * text2.C (setCounter): clean up a bit, use boost.format.
6129 (updateCounters): initialize par upon declaration.
6131 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6132 if the layout exists. We do not just store the layout any more.
6133 (SwitchLayoutsBetweenClasses): use boost.format
6135 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6137 * converter.C (convert): if from and to files are the same, use a
6138 temporary files as intermediary
6140 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6143 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6145 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6147 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6149 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * tabular.C (asciiPrintCell): use string(size, char) instead of
6154 * sgml.C (openTag): fix order of arguments to string constructor
6157 * lyxfunc.C (dispatch): use boost.format
6159 * lots of files: change "c" -> 'c'
6161 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6163 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6165 2002-11-25 Angus Leeming <leeming@lyx.org>
6167 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6169 * lyx_main.C (init): compile fix.
6171 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * lyx_cb.C (start): boost.formatify
6174 do not include <iostream>
6176 * lengthcommon.C: ws only
6178 * boost-inst.C,BoostFormat.h: add more explict instantations
6180 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * lots of files: handle USE_BOOST_FORMAT
6184 2002-11-21 John Levon <levon@movementarian.org>
6186 * pspell.C: fix compile
6188 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6190 * lyxfunc.C (dispatch): use boost::format
6194 * lyxfont.C (stateText): use boost::format
6196 * lyx_main.C (LyX): use boost::format
6198 (queryUserLyXDir): ditto
6201 (typedef boost::function): use the recommened syntax.
6203 * importer.C (Import): use boost::format
6205 * debug.C (showLevel): use boost::format
6207 * converter.C (view): use boost::format
6212 * bufferview_funcs.C (currentState): use boost::format
6214 * bufferlist.C (emergencyWrite): use boost::format
6216 * buffer.C (readLyXformat2): use boost::format
6217 (parseSingleLyXformat2Token): ditto
6219 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6221 * LaTeX.C (run): use boost::format
6223 * Chktex.C (scanLogFile): use boost::format
6225 * BufferView_pimpl.C (savePosition): use boost::format
6226 (restorePosition): ditto
6227 (MenuInsertLyXFile): ditto
6229 * BoostFormat.h: help file for explicit instation.
6231 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6233 * tabular.C (latex): Support for block alignment in fixed width
6236 2002-11-17 John Levon <levon@movementarian.org>
6238 * BufferView_pimpl.C:
6240 * lyxfunc.C: split filedialog into open/save
6242 2002-11-08 Juergen Vigna <jug@sad.it>
6244 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6245 by my last patch (hopefully).
6247 2002-11-08 John Levon <levon@movementarian.org>
6256 * toc.C: ParConstIterator, and use it (from Lars)
6258 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6260 * lyxtextclass.[Ch]: revise and add doxygen comments
6262 2002-11-07 John Levon <levon@movementarian.org>
6264 * text.C: fix progress value for spellchecker
6266 * toc.C: fix navigate menu for insetwrap inside minipage
6268 * paragraph_funcs.C: added FIXME for suspect code
6270 2002-11-07 John Levon <levon@movementarian.org>
6272 * BufferView_pimpl.C: fix redrawing of insets
6275 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6277 * text2.C (updateCounters): fix bug 668
6279 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6281 * text3.C (dispatch): Do not make the buffer dirty when moving the
6284 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6286 * vc-backend.C: STRCONV
6289 * text2.C (setCounter): STRCONV
6291 * paragraph.C (asString): STRCONV
6293 * lyxlength.C (asString): STRCONV
6294 (asLatexString): ditto
6296 * lyxgluelength.C (asString): STRCONV
6297 (asLatexString): ditto
6299 * lyxfunc.C (dispatch): STRCONV
6302 * lyxfont.C (stateText): STRCONV
6304 * importer.C (Import): STRCONV
6306 * counters.C (labelItem): STRCONV
6307 (numberLabel): ditto
6308 (numberLabel): remove unused ostringstream o
6313 * bufferview_funcs.C (currentState): STRCONV
6315 * buffer.C (readFile): STRCONV
6316 (asciiParagraph): ditto
6317 (makeLaTeXFile): ditto
6319 * Spacing.C (writeEnvirBegin): STRCONV
6321 * LaTeXFeatures.C (getLanguages): STRCONV
6322 (getPackages): ditto
6324 (getBabelOptions): ditto
6325 (getTClassPreamble): ditto
6326 (getLyXSGMLEntities): ditto
6327 (getIncludedFiles): ditto
6331 (scanAuxFile): ditto
6334 * LString.h: add the STRCONV macros
6336 * BufferView_pimpl.C (savePosition): STRCONV
6337 (restorePosition): ditto
6338 (MenuInsertLyXFile): ditto
6340 * vc-backend.C (scanMaster): change from submatch[...] to
6343 * funcrequest.C: include config.h
6345 * factory.C: include config.h
6347 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6349 * box.C: include config.h
6351 * LaTeX.C (scanAuxFile): change from submatch[...] to
6355 2002-10-25 Angus Leeming <leeming@lyx.org>
6357 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6359 * ispell.[Ch] (setError): new method.
6360 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6361 Use setError() insetead of goto END.
6363 * lyx_cb.C (AutoSave): move out child process into new class
6366 2002-10-30 John Levon <levon@movementarian.org>
6368 * text3.C: make start appendix undoable
6370 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6372 * lyxlength.C (inPixels): Fix returned value.
6374 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6377 2002-10-24 Angus Leeming <leeming@lyx.org>
6379 * lyxgluelength.h: no need to forward declare BufferParams
6380 or BufferView, so don't.
6382 2002-10-21 John Levon <levon@movementarian.org>
6384 * BufferView.C: menuUndo ->undo, redo
6386 * BufferView.h: document, remove dead, make some methods private
6388 * paragraph_funcs.h:
6389 * paragraph_funcs.C:
6390 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6395 * sgml.C: move sgml open/close tag into sgml.C
6397 * bufferview_funcs.h: unused prototype
6400 * lyxfunc.C: remove unused
6403 * text.C: remove unused
6405 2002-10-21 John Levon <levon@movementarian.org>
6409 * BufferView_pimpl.h:
6410 * BufferView_pimpl.C: fix mouse wheel handling based on
6411 patch from Darren Freeman
6413 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6415 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6417 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6419 * lyxlength.C (inPixels): Fix hanfling of negative length.
6420 Fix LyXLength::MU case.
6422 2002-10-16 John Levon <levon@movementarian.org>
6424 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6426 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6428 * converter.C (view): add support for $$i (file name) and $$p
6429 (file path) for the viewer command. If $$i is not specified, then
6430 it is appended to the command (for compatibility with old syntax)
6432 2002-10-14 Juergen Vigna <jug@sad.it>
6434 * undo_funcs.C (textHandleUndo): alter the order in which the
6435 new undopar is added to the LyXText, as we have to set first
6436 the right prev/next and then add it as otherwise the rebuild of
6437 LyXText is not correct. Also reset the cursor to the right paragraph,
6438 with this IMO we could remove the hack in "redoParagraphs()".
6440 2002-10-09 Angus Leeming <leeming@lyx.org>
6442 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6443 to turn off an optimisation if a new inset is to be inserted.
6445 2002-10-11 André Pönitz <poenitz@gmx.net>
6447 * lyxtext.h: make some functions public to allow access
6448 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6450 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6452 * text3.C (dispatch): when changing layout, avoid an infinite loop
6455 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6457 * lyxrc.C (read): treat a viewer or converter command of "none" as
6460 * MenuBackend.C (expandFormats): for an update, also allow the
6461 formats that are not viewable
6463 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6464 script if it is newer than the lyxrc.defaults in user directory
6466 2002-10-07 André Pönitz <poenitz@gmx.net>
6468 * text.C: Vitaly Lipatov's small i18n fix
6470 2002-09-25 Angus Leeming <leeming@lyx.org>
6472 * ispell.h: doxygen fix.
6474 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6476 * buffer.h (readFile): Add a new argument to the method, to allow
6477 reading of old-format templates.
6479 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6481 * toc.C (getTocList): Get TOC from InsetWrap.
6483 2002-09-16 John Levon <levon@movementarian.org>
6485 * lyxfunc.C: check tabular for cut/copy too
6487 2002-09-12 John Levon <levon@movementarian.org>
6492 * factory.C: add header
6494 * paragraph_funcs.h:
6495 * paragraph_funcs.C: cleanup
6497 2002-09-11 John Levon <levon@movementarian.org>
6499 * PrinterParams.h: odd/even default to true
6501 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6503 * PrinterParams.h: update printer parameters for new xforms dialog
6505 2002-09-11 Angus Leeming <leeming@lyx.org>
6507 * lyxserver.C (read_ready): re-write to make it more transparent
6508 and to make it work in coherent fashion under Tru64 Unix.
6510 2002-09-11 André Pönitz <poenitz@gmx.net>
6514 * text3.C: implement LFUN_WORDSEL
6516 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6519 make floatlist_ a boost::shared_ptr<FloatList>
6521 * lyxtextclass.C: include FloatList.h
6522 (LyXTextClass): initialize floatlist_
6523 (TextClassTags): add TC_NOFLOAT
6524 (Read): match "nofloat" to TC_NOFLOAT and use it.
6525 (readFloat): modify call to floatlist_
6529 * FloatList.[Ch] (FloatList): remove commented out float
6531 (erase): new function
6533 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6535 * MenuBackend.C (expandToc): fix crash when there is no document
6538 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6540 * many files: Add insetwrap.
6542 2002-09-09 John Levon <levon@movementarian.org>
6544 * text2.C: remove confusing and awkward depth wraparound
6546 2002-09-09 John Levon <levon@movementarian.org>
6548 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6551 * buffer.C: remove getIncludeonlyList()
6554 * lyxfunc.C: remove headers
6556 2002-09-09 Juergen Vigna <jug@sad.it>
6558 * text.C (getColumnNearX): fix form Michael this is most
6559 probably a cut&paste bug.
6561 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6565 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6566 references, ws changes.
6568 * text2.C (init): update counters after init
6569 (insertParagraph): no need to set counter on idividual paragraphs.
6570 (setCounter): access the counters object in the textclass object
6571 on in the buffer object.
6572 (updateCounters): ditto
6574 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6575 shared_ptr<Counters> to avoid loading counters.h in all
6577 (LyXTextClass): initialize ctrs_
6578 (TextClassTags): add TC_COUNTER, and ...
6579 (Read): use it here.
6580 (CounterTags): new tags
6581 (readCounter): new function
6582 (counters): new funtion
6583 (defaultLayoutName): return a const reference
6585 * counters.C (Counters): remove contructor
6586 (newCounter): remove a couple of unneeded statements.
6587 (newCounter): simplify a bit.
6588 (numberLabel): some small formatting changes.
6590 * buffer.[Ch]: remove all traces of counters, move the Counters
6591 object to the LyXTextClass.
6593 2002-09-06 Alain Castera <castera@in2p3.fr>
6595 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6596 package to set the horizontal alignment on fixed width columns.
6599 * lyx_sty.h: added tabularnewline macro def.
6601 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6603 2002-09-06 John Levon <levon@movementarian.org>
6605 * LyXAction.C: tooltips for sub/superscript
6607 * MenuBackend.C: a bit more verbose
6609 * lyxfunc.C: tiny clean
6611 * undo_funcs.C: document undo_frozen
6613 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * counters.C (Counters): add missing algorithm counter.
6617 * text2.C (setCounter): lookup the counter with layouts latexname
6618 instead of by section number.
6619 (setCounter): use a hackish way to lookup the correct enum
6621 a float name->type change
6622 reset enum couners with counter name directly instead of depth value.
6624 * counters.C (Counters): remove the push_backs, change to use the
6625 float type not the float name.
6626 (labelItem): remove unused string, float name->type change
6628 * counters.h: don't include vector, loose the enums and sects vectors
6630 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6633 (Read): add float->TC_FLOAT to textclassTags
6634 (Read): and handle it in the switch
6635 (readFloat): new function
6637 * FloatList.C (FloatList): comment out the hardcoded float
6640 * lyxlayout.h: ws change.
6642 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6644 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6646 2002-09-03 Angus Leeming <leeming@lyx.org>
6648 * BufferView_pimpl.h: qualified name is not allowed in member
6649 declaration: WorkArea & Pimpl::workarea() const;
6651 * factory.C: added using std::endl directive.
6653 * text3.C: added using std::find and std::vector directives.
6655 2002-08-29 André Pönitz <poenitz@gmx.net>
6658 * text2.C: remove unused member number_of_rows
6661 * BufferView2.C: remove file, move contents to...
6662 * BufferView.C: ... here
6664 * BufferView_pimpl.C:
6665 * factory.C: move more inset creation to factory
6667 * vspace.C: avoid direct usage of LyXText, ws changes
6670 don't provide direct access to WorkArea, use two simple
6671 acessors haveSelction() and workHeight() instead
6674 2002-08-29 John Levon <levon@movementarian.org>
6676 * BufferView_pimpl.C (dispatch): do not continue when
6679 2002-08-28 André Pönitz <poenitz@gmx.net>
6681 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6684 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6686 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6688 * buffer.C: increment LYX_FORMAT to 221
6690 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6691 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6693 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6695 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6697 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6699 * factory.C (createInset): use LyXTextClass::floats
6701 * MenuBackend.C (expandFloatListInsert):
6702 (expandFloatInsert):
6705 * text2.C (setCounter):
6707 * LaTeXFeatures.C (useFloat):
6708 (getFloatDefinitions):
6710 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6712 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6713 floatlist_, with accessor floats().
6715 * FloatList.h: remove global FloatList
6717 2002-08-26 André Pönitz <poenitz@gmx.net>
6719 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6723 * BufferView_pimpl.C:
6724 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6726 2002-08-25 John Levon <levon@movementarian.org>
6728 * LyXAction.C: fix margin note description
6730 2002-08-24 John Levon <levon@movementarian.org>
6734 * bufferview_funcs.C:
6736 * undo_funcs.C: cleanups
6738 * lyxfunc.C: disable CUT/COPY when no selection
6740 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6742 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6743 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6745 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6746 Add backward compatibility to "mono", "gray" and "no".
6748 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6750 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6751 (and file_format >= 200).
6753 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6755 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6757 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6759 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6761 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6763 * BufferView_pimpl.C:
6770 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6771 inset and code to make it work with the paragraph code. The inset
6772 can be anywhere in the paragraph, but will only do the expected
6773 thing in LaTeX if the layout file contains the parameter line
6775 (or more generally, a nonzero value) for that layout.
6777 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * paragraph.h: remove the declaration of undefined counters class
6782 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6784 * text2.C (setCounter): fixed enumeration mis-count as reported by
6785 Dr. Richard Hawkins.
6787 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6789 * paragraph_funcs.h: remove some unneeded includes
6791 * text.C (backspace): pasteParagraph now in global scipe
6793 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6794 (pasteSelection): ditto
6796 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6797 * paragraph_funcs.C (pasteParagraph): ... here
6799 2002-08-20 André Pönitz <poenitz@gmx.net>
6801 * commandtags.h: new LFUNs for swapping/copying table row/colums
6804 * lyxfunc.C: support for new lfuns
6806 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * buffer.[Ch]: remove NO_COMPABILITY stuff
6811 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6813 * boost.C (throw_exception): new file, with helper function for
6814 boost compiled without exceptions.
6819 * ParameterStruct.h:
6820 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6822 * bufferlist.C (emergencyWriteAll): use boost bind
6824 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6826 * text.C: include paragraph_funcs.h
6827 (breakParagraph): breakParagraph is now in global scope
6829 * paragraph_funcs.[Ch]: new files
6831 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6834 * buffer.C: include paragraph_funcs.h
6835 (insertStringAsLines): breakParagraph is now in global scope
6837 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6840 * CutAndPaste.C: include paragraph_funcs.h
6841 (cutSelection): breakParagraphConservative is now in global scope
6842 (pasteSelection): ditto
6844 * buffer.h: declare oprator== and operator!= for
6845 Buffer::inset_iterator
6847 * bufferlist.C (emergencyWrite): don't use fmt(...)
6849 * text3.C: add using std::endl
6851 * BufferView.C (moveCursorUpdate): remove default arg
6853 2002-08-20 André Pönitz <poenitz@gmx.net>
6855 * buffer.[Ch]: move inline functions to .C
6858 * BufferView_pimpl.C:
6860 * buffer.[Ch]: use improved inset_iterator
6863 * paragraph.[Ch]: write one paragraph at a time
6865 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6867 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6868 style if style is not specified.
6870 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6872 * text2.C (setCounter): when searching for right label for a
6873 caption, make sure to recurse to parent insets (so that a caption
6874 in a minipage in a figure float works) (bug #568)
6876 2002-08-20 André Pönitz <poenitz@gmx.net>
6878 * text3.C: new file for LyXText::dispatch() and helpers
6880 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6882 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6884 2002-08-19 André Pönitz <poenitz@gmx.net>
6887 * text.C: new LyXText::dispatch()
6889 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6891 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6893 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6895 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6898 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6900 * Makefile.am: use $(variables) instead of @substitutions@
6902 2002-08-15 André Pönitz <poenitz@gmx.net>
6905 * BufferView_pimpl.C: streamlining mathed <-> outer world
6909 * LyXAction.C: remove unused LFUN_MATH
6911 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6915 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * paragraph.C (Paragraph): reformat a bit
6918 (cutIntoMinibuffer): use builtin InsetList function instad of
6922 * buffer.C: include boost/bind.hpp, add using std::for_each
6923 (writeFileAscii): use ParagraphList iterators
6924 (validate): use for_each for validate traversal of paragraphs
6925 (getBibkeyList): use ParagraphList iterators
6926 (resizeInsets): use for_each to resizeInsetsLyXText for all
6928 (getParFromID): use ParagraphList iterators
6930 * BufferView2.C (lockInset): use paragraph list and iterators
6932 2002-08-14 John Levon <levon@movementarian.org>
6934 * lyxserver.C: remove spurious xforms include
6936 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6938 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6940 2002-08-13 André Pönitz <poenitz@gmx.net>
6943 * lyxfunc.C: further cleaning
6945 2002-08-13 André Pönitz <poenitz@gmx.net>
6947 * funcrequest.h: new constructor
6949 * funcrequest.C: move stuff here from .h
6952 * BufferView_pimpl.C:
6955 * lyxfunc.C: subsequent changes
6957 * lyxfunc.h: new view() member function
6959 * lyxfunc.C: subsequent changes
6961 2002-08-13 Angus Leeming <leeming@lyx.org>
6964 * BufferView_pimpl.C:
6972 changes due to the changed LyXView interface that now returns references
6973 to member variables not pointers.
6975 2002-08-13 Angus Leeming <leeming@lyx.org>
6977 * WordLangTuple (word, lang_code): return references to strings,
6982 * lyxtext.h: forward-declare WordLangTuple.
6987 * text.C: #include "WordLangTuple.h".
6990 * text.C: (selectNextWordToSpellcheck): constify return type.
6992 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
6998 * paragraph_pimpl.h:
7001 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7003 Made updateCounter always count from start of buffer, and removed
7004 second argument (par).
7005 Reverted floats number display to '#'. Perhaps I'll try again when the
7006 code base is sanitized a bit.
7008 2002-08-12 Angus Leeming <leeming@lyx.org>
7010 * buffer.[Ch] (getLabelList): constify.
7012 2002-08-07 André Pönitz <poenitz@gmx.net>
7014 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7016 * funcrequest.h: extension to keep mouse (x,y) position
7018 2002-08-12 Juergen Vigna <jug@sad.it>
7020 * BufferView2.C (insertErrors): forbid undo when inserting error
7023 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7025 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * ParagraphList.[Ch]: new files
7029 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7031 * BufferView2.C (lockInset): ParagraphList changes
7034 * bufferlist.C: ditto
7038 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7041 unused class variable counter_,
7043 * paragraph.[Ch] (getFirstCounter): delete unused function
7045 * counters.C: include LAssert.h
7046 (reset): add a new function with no arg, change other version to
7047 not have def. arg and to not allow empty arg.
7049 * text2.C (setCounter): remove empty arg from call to Counters::reset
7051 2002-08-11 John Levon <levon@movementarian.org>
7053 * Makefile.am: add WordLangTuple.h
7055 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7058 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7060 * insets/insettext.C: InsetList changes
7062 * graphics/GraphicsSupport.C (operator()): InsetList changes
7064 * toc.C (getTocList): InsetList changes
7066 * paragraph_pimpl.[Ch]: InsetList changes
7068 * paragraph.[Ch]: InsetList changes
7070 * buffer.C (inset_iterator): InsetList changes
7071 (setParagraph): ditto
7072 * buffer.h (inset_iterator): ditto
7073 * iterators.C (operator++): ditto
7074 * iterators.h: ditto
7076 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7078 * InsetList.[Ch]: new files, most InsetList handling moved out of
7081 * BufferView2.C (removeAutoInsets): InsetList changes
7083 (ChangeInsets): ditto
7085 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * paragraph_pimpl.h (empty): new function
7089 * paragraph.[Ch] (empty): new function
7091 * other files: use the new Paragraph::empty function
7093 2002-08-09 John Levon <levon@movementarian.org>
7095 * lyxtext.h: remove unused refresh_height
7097 2002-08-09 John Levon <levon@movementarian.org>
7104 * paragraph.C: move sgml char escaping out of paragraph
7107 * paragraph.C: remove id setter
7111 * paragraph_pimpl.C: remove dead tex_code_break_column
7113 * bufferview_funcs.C: small cleanup
7115 * lyxfunc.C: remove dead proto
7117 * lyxtext.h: make some stuff private. Remove some dead stuff.
7119 * lyxgluelength.C: make as[LyX]String() readable
7121 2002-08-08 John Levon <levon@movementarian.org>
7126 * ToolbarDefaults.C:
7129 * toc.C: lyxaction cleanup
7131 2002-08-08 John Levon <levon@movementarian.org>
7133 * BufferView2.C: small cleanup
7136 * lyxfind.C: move unnecessary header into the .C
7138 2002-08-08 John Levon <levon@movementarian.org>
7140 * funcrequest.h: just tedious nonsense
7143 * lyx_main.C: cleanups
7146 * vspace.C: remove dead header lyx_main.h
7148 2002-08-07 Angus Leeming <leeming@lyx.org>
7151 * paragraph_pimpl.h:
7152 Forward declare class Counters in paragraph.h by moving the ctrs member
7153 variable into Paragraph::Pimpl.
7154 (counters): new method, returning a reference to pimpl_->ctrs.
7156 * text2.C: ensuing changes.
7158 2002-08-07 John Levon <levon@movementarian.org>
7160 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7162 * BufferView_pimpl.C: announce X selection on double/triple
7165 * lyx_main.C: use correct bool in batch dispatch
7167 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7169 2002-08-07 André Pönitz <poenitz@gmx.net>
7171 * funcrequest.h: new class to wrap a kb_action and its argument
7174 * BufferView_pimpl[Ch]:
7178 * lyxrc.C: subsequent changes
7181 2002-08-07 John Levon <levon@movementarian.org>
7183 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7184 document options change.
7186 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7191 * makefile.am: move counters functionality over from
7192 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7194 2002-08-06 John Levon <levon@movementarian.org>
7196 * WordLangTuple.h: new file for word + language code tuple
7207 * BufferView2.C: use WordLangTuple
7210 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7212 2002-08-06 John Levon <levon@movementarian.org>
7214 * lyx_main.C: fix cmdline batch handling
7216 2002-08-06 André Pönitz <poenitz@gmx.net>
7218 * lyxrc.C: set default for show_banner to true
7220 2002-08-06 John Levon <levon@movementarian.org>
7222 * pspell.C: fix a crash, and allow new aspell to work
7224 2002-08-06 John Levon <levon@movementarian.org>
7227 * kbmap.C: small cleanup
7230 * vspace.C: add const
7232 2002-08-05 John Levon <levon@movementarian.org>
7234 * LyXAction.C: back to tabular-insert
7236 2002-08-04 John Levon <levon@movementarian.org>
7239 * BufferView.C: cosmetic change
7241 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7251 * BufferView2.C: purge all "Lyx" not "LyX" strings
7254 * lyxcursor.C: attempt to add some documentation
7259 * ToolbarDefaults.C:
7260 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7261 merge with LFUN_TABULAR_INSERT
7268 * pspell.C: split up i/pspell implementations into separate
7269 files, many cleanups
7271 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7273 * text2.C: some cleanup
7275 * lyxfunc.C: don't check for isp_command == "none" any more, it
7276 didn't make any sense
7278 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7283 * makefile.am: move counters functionality over
7284 from text2.C/paragraph.[Ch] to counters.[Ch], and
7286 2002-08-02 John Levon <levon@movementarian.org>
7288 * buffer.C: s/lyxconvert/lyx2lyx/
7290 2002-08-02 Angus Leeming <leeming@lyx.org>
7292 * lyxlex.C: revert John's change as it breaks reading of the user
7295 2002-08-02 Angus Leeming <leeming@lyx.org>
7297 * importer.C (Import):
7298 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7299 changes due to LyXView::view() now returning a boost::shared_ptr.
7301 2002-08-02 John Levon <levon@movementarian.org>
7303 * lyxlex.C: small cleanup
7305 2002-08-02 John Levon <levon@movementarian.org>
7307 * text2.C (status): small cleanup, no logic change
7309 2002-08-01 John Levon <levon@movementarian.org>
7312 * buffer.C (writeFile): don't output alerts, caller
7316 * lyx_cb.C: from above
7318 * lyxfunc.C: allow to open non-existent files
7320 2002-07-31 John Levon <levon@movementarian.org>
7322 * lyxserver.C: don't let incidental errors get
7325 2002-07-30 John Levon <levon@movementarian.org>
7327 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7329 2002-07-30 John Levon <levon@movementarian.org>
7332 * lyxserver.C: remove I/O callback too
7334 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7336 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7339 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * many files: strip,frontStrip -> trim,ltrim,rtrim
7343 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7345 * PrinterParams.h: remove extern containsOnly, and include
7346 support/lstrings.h instead.
7348 * LaTeX.C (scanAuxFile): modify because of strip changes
7350 * buffer.C (makeLaTeXFile): ditto
7351 * bufferparams.C (writeFile): ditt
7352 * lyxfont.C (stateText): ditto
7353 * lyxserver.C (read_ready): ditto
7354 * vc-backend.C (scanMaster): ditto
7356 * BufferView_pimpl.h: ws changes
7358 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7360 2002-07-26 André Pönitz <poenitz@gmx.net>
7362 * kb_sequence.C: remove unnedred usings
7364 2002-07-26 Juergen Vigna <jug@sad.it>
7366 * lyxfind.C (LyXReplace): we have to check better if the returned
7367 text is not of theLockingInset()->getLockingInset().
7369 2002-07-25 Juergen Vigna <jug@sad.it>
7371 * lyxfind.C (LyXReplace): don't replace if we don't get the
7374 * undo_funcs.C (createUndo): remove debugging code.
7376 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7378 * buffer.C (parseSingleLyXformat2Token): Use default placement
7379 when reading old floats.
7381 * FloatList.C (FloatList): Change the default placement of figure
7382 and tables to "tbp".
7384 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7386 * MenuBackend.C: using std::max
7388 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7390 * MenuBackend.C (expandToc):
7391 (expandToc2): code moved from xforms menu frontend. It is now
7392 generic and TOCs are transparent to menu frontends.
7394 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7396 * toc.C (getTocList): protect against buf=0
7398 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7399 Menu as first parameter. Now, this calls itself recursively to
7400 expand a whole tree (this will be useful for TOC handling)
7401 (expandFloatInsert): remove 'wide' version of floats
7403 * MenuBackend.h (submenuname): returns the name of the submenu.
7404 (submenu): returns the submenu itself, provided it has been
7405 created by MenuBackend::expand
7407 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7409 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7410 insets which have noFontChange == true. (bug #172)
7412 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * BufferView_pimpl.C: add connection objects and use them...
7417 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7419 * MenuBackend.C (expandLastfiles):
7422 (expandFloatListInsert):
7423 (expandFloatInsert):
7424 (expand): split expand in parts
7426 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7428 * lyx_gui.C: use lyx_gui::exit()
7430 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7432 * LyXAction.C: show the failing pseudo action
7434 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7436 * buffer.C (readFile): Run the lyxconvert script in order to read
7439 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7443 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7445 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7449 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7451 2002-07-22 Herbert Voss <voss@lyx.org>
7454 * lyxlength.[Ch]: add support for the vertical lengths
7456 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7458 * toc.[Ch]: std:: fixes
7460 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7462 * lyxrc.C: do not include lyx_main.h
7464 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7470 * BufferView2.C: include "lyxlex.h"
7473 * bufferparams.h: do not #include "lyxlex.h"
7475 * lyxtextclasslist.C (Add): remove method
7476 (classlist): renamed to classlist_
7478 * paragraph_pimpl.C:
7482 * bufferview_funcs.C:
7487 * toc.C (getTocList): use BufferParams::getLyXTextClass
7489 * toc.C (getTocList): use InsetFloat::addToToc
7491 * toc.[Ch]: new files, containing helper functions to handle table
7494 * lyxfunc.C (dispatch): no need to remove spaces around command
7496 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7497 first command of the sequence; it is not very clever, but I do not
7498 have a better idea, actually
7500 * LyXAction.C (LookupFunc): make sure to remove space at the
7501 beginning and end of the command
7503 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7505 * MenuBackend.C (getMenubar): new method: return the menubar of
7507 (read): treat differently reading of menu and menubar (in
7508 particular, the menubar has no name now)
7509 (Menu::menubar): remove
7511 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7514 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7516 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7517 a bibitem inset in a RTL paragraph.
7519 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7521 * paragraph_pimpl.C: constify
7523 * BufferView_pimpl.C:
7525 * lyxfunc.C: fix dispatch in a nicer way
7527 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7529 * lyxfunc.C (dispatch):
7530 * BufferView_pimpl.C:
7531 * BufferView_pimpl.h:
7533 * BufferView.h: rename Dispatch() to dispatch()
7535 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7537 * lyxlayout.C (Read): honor DependsOn tag
7539 * lyxlayout.[Ch] (depends_on): new method
7541 * version.C.in: update lyx_docversion
7543 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7545 * paragraph.C (validate): remove from here...
7546 * paragraph_pimpl.C (validate): ... and move here
7547 (isTextAt): make it const
7549 * buffer.C (getLists): ws cleanup
7551 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7553 * language.C (read): Use iso8859-1 encoding in latex_lang
7554 (this prevents LyX from crashing when using iso10646-1 encoding).
7556 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7558 * text2.C (toggleInset): if cursor is inside an inset, close the
7559 inset and leave cursor _after_ it
7561 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7563 * lyxfunc.C: move minibuffer completion handling out of here
7565 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7567 * BufferView_pimpl.C:
7568 * LaTeX.C: fix dispatch calls
7570 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7572 * text.C (drawChars): Fix Arabic text rendering.
7574 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7578 * lyxfunc.C: remove message-push/pop
7582 * lyxfunc.C: rationalise some code by removing verboseDispatch
7583 in favour of a bool argument to dispatch()
7585 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7587 * lyx_main.C (init): make sure to read symlinks as absolute paths
7589 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7592 * lyxfunc.C: no need for commandshortcut to be a member
7594 2002-07-15 André Pönitz <poenitz@gmx.net>
7596 * converter.C: add support for $$s (scripts from lib/scripts dir)
7597 * lyx_main.C: white space
7599 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7603 * lyxrc.C: remove second exit confirmation
7605 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7610 * BufferView_pimpl.h:
7611 * BufferView_pimpl.C:
7612 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7614 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * MenuBackend.C (expand): add numeric shortcuts to document menu
7618 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7620 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7622 * lyxfont.C (setLyXFamily):
7629 * buffer.C (asciiParagraph): use ascii_lowercase
7631 2002-07-15 Mike Fabian <mfabian@suse.de>
7633 * lyxlex_pimpl.C (search_kw):
7634 * lyxlex.C (getLongString):
7635 * converter.h (operator<):
7636 * converter.C (operator<):
7637 * buffer.C (parseSingleLyXformat2Token):
7639 * ToolbarDefaults.C (read):
7640 * MenuBackend.C (checkShortcuts):
7642 * LColor.C (getFromGUIName):
7643 (getFromLyXName): use the compare_ascii_no_case instead of
7644 compare_no_case, because in turkish, 'i' is not the lowercase
7645 version of 'I', and thus turkish locale breaks parsing of tags.
7647 2002-07-16 Angus Leeming <leeming@lyx.org>
7649 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7650 now takes a Buffer const & argument.
7652 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7654 * BufferView.C (resize): check there's a buffer to resize
7656 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7658 * lyxfunc.C: remove dead code
7661 * lyxserver.C: use lyx_guii::set_read_callback
7663 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7665 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7666 an inset in a RTL paragraph.
7668 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7670 * lyxfunc.C: repaint after a font size update
7672 2002-07-15 André Pönitz <poenitz@gmx.net>
7674 * lyxlength.C: inBP should be able to return negative values
7676 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7678 * lyxfunc.C: use lyx_gui::update_fonts()
7680 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7682 * lyxfunc.C: use lyx_gui::update_color()
7684 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7690 * lyxrc.C: remove file->new asks for name option, and let
7691 buffer-new take an argument
7693 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7695 * BufferView_pimpl.C: remove unneeded extra repaint()
7697 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7699 * LyXAction.C: allow command-sequence with NoBuffer
7701 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7703 2002-07-10 Angus Leeming <leeming@lyx.org>
7705 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7707 2002-07-09 Angus Leeming <leeming@lyx.org>
7709 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7711 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7713 * lengthcommon.h: whitespace
7715 * lyxfunc.C: update scrollbar after goto paragraph
7717 * lyxtext.h: factor out page break drawing, and fix it so
7718 page break/added space paints as selected nicely
7720 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7722 * BufferView_pimpl.C: add FIXMEs, clean up a little
7724 2002-07-09 André Pönitz <poenitz@gmx.net>
7726 * lyxfont.[Ch]: support for wasy symbols
7728 2002-07-08 André Pönitz <poenitz@gmx.net>
7730 * BufferView_pimpl.C: apply John's patch for #93.
7732 2002-07-05 Angus Leeming <leeming@lyx.org>
7734 * BufferView_pimpl.C (buffer): generate previews if desired.
7736 * LColor.h: add "preview" to the color enum.
7738 * LColor.C (LColor): add a corresponding entry to the items array.
7740 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7743 2002-07-05 Angus Leeming <leeming@lyx.org>
7745 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7746 The body of the code is now in the method that is passed an ostream &
7747 rather than a file name.
7748 Pass an additional only_preamble parameter, useful for the forthcoming
7751 2002-07-03 André Pönitz <poenitz@gmx.net>
7753 * lyxfunc.C: simplify getStatus() a bit for math stuff
7755 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7757 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7759 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * text.C (changeRegionCase): do not change case of all the
7762 document when region ends at paragraph end (bug #461)
7764 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7766 * paragraph.C (startTeXParParams):
7767 (endTeXParParams): add \protect when necessary
7769 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7771 * BufferView_pimpl.C (workAreaExpose): remove warning
7773 2002-06-27 Angus Leeming <leeming@lyx.org>
7775 * Makefile.am: add lyxlayout_ptr_fwd.h.
7777 2002-06-26 André Pönitz <poenitz@gmx.net>
7779 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7781 2002-06-25 Angus Leeming <leeming@lyx.org>
7783 * lyxfunc.C (dispatch): Comment out the call to
7784 grfx::GCache::changeDisplay. The method no longer exists now that the
7785 pixmap generation part of the graphics loader has been moved into
7788 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7790 * text2.C: layout as layout
7792 * text.C: layout as layout
7794 * tabular.C (OldFormatRead): layout as layout
7796 * paragraph_pimpl.C (TeXDeeper): layout as layout
7797 (realizeFont): layout as layout
7799 * paragraph.C (writeFile): layout as layout
7800 (validate): layout as layout
7801 (getFont): layout as layout
7802 (getLabelFont): layout as layout
7803 (getLayoutFont): layout as layout
7804 (breakParagraph): layout as layout
7805 (stripLeadingSpaces): layout as layout
7806 (getEndLabel): layout as layout
7807 (getMaxDepthAfter): layout as layout
7808 (applyLayout): layout as layout
7809 (TeXOnePar): layout as layout
7810 (simpleTeXOnePar): layout as layout
7811 (TeXEnvironment): layout as layout
7812 (layout): layout as layout
7813 (layout): layout as layout
7815 * lyxtextclass.C (compare_name): new functor to work with
7816 shared_ptr, layout as layout
7817 (Read): layout as layout
7818 (hasLayout): layout as layout
7819 (operator): layout as layout
7820 (delete_layout): layout as layout
7821 (defaultLayout): layout as layout
7823 * lyxlayout_ptr_fwd.h: new file
7825 * lyxlayout.C (Read): layout as layout
7827 * lyx_cb.C (MenuInsertLabel): layout as layout
7829 * bufferlist.C (newFile): layout as layout
7831 * buffer.C (readLyXformat2): layout as layout
7832 (parseSingleLyXformat2Token): layout as layout
7833 (insertStringAsLines): layout as layout
7834 (asciiParagraph): layout as layout
7835 (latexParagraphs): layout as layout
7836 (makeLinuxDocFile): layout as layout
7837 (simpleLinuxDocOnePar): layout as layout
7838 (makeDocBookFile): layout as layout
7839 (simpleDocBookOnePar): layout as layout
7840 (getLists): layout as layout
7842 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7844 * CutAndPaste.C (cutSelection): layout as layout
7845 (pasteSelection): layout as layout
7846 (SwitchLayoutsBetweenClasses): layout as layout
7848 * BufferView_pimpl.C (Dispatch): layout as layout
7849 (smartQuote): layout as layout
7851 * BufferView2.C (unlockInset): layout as layout
7853 2002-06-24 André Pönitz <poenitz@gmx.net>
7855 * lyxfunc.C: fix #487
7857 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7861 * lyxfunc.C: remove display_shortcuts, show_banner
7863 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7865 * Buffer_pimpl.C: oops, update on resize
7867 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7874 * BufferView.C: use repaint()
7876 * BufferView_pimpl.h:
7877 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7878 as it's a clearer description. Remove superfluous
7881 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7883 * text.C: fix bug 488. Not ideal, but getting
7884 getWord() to work properly for the insets that
7885 matter is more difficult ...
7887 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7889 * BufferView_pimpl.C:
7892 * lyxfunc.C: remove the six million index lyxfuncs to just
7893 one, and DTRT (bug 458)
7895 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7899 * BufferView_pimpl.h:
7900 * BufferView_pimpl.C: clean up resize() stuff,
7901 and unnecessary updateScreen()s
7903 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7907 * BufferView_pimpl.h:
7908 * BufferView_pimpl.C:
7911 * minibuffer.C: remove focus management of workarea,
7912 not needed. Use screen's greyOut()
7914 2002-06-17 Herbert Voss <voss@lyx.org>
7916 * converter.C: (convert) do not post a message, when converting
7917 fails, let the calling function decide what to do in this case
7919 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7921 * lyxfunc.C: tidy up a little
7923 2002-06-16 <alstrup@diku.dk>
7925 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7926 Got rid of FORMS_H_LOCATION include. Now we are
7929 2002-06-15 LyX Development team <lyx@rilke>
7931 * buffer.[Ch] (sgmlOpenTag):
7932 (sgmlCloseTag): Added support for avoiding pernicious mixed
7933 content. Return number of lines written.
7936 (makeDocBookFile): Fixed calls to sgml*Tag.
7937 Simple white space clean.
7939 (simpleDocBookOnePar): Simple white space clean.
7941 * tabular.[Ch] (docBook): Renamed to docbook and got another
7942 argument to related with the pernicious mixed content.
7944 (docbookRow): Fixed calls for docbook inset method.
7946 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7948 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7949 so it's X11 independent.
7953 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7955 2002-06-15 Lyx Development team <lyx@electronia>
7957 * intl.h: Renamed getTrans to getTransManager.
7959 2002-06-14 Angus Leeming <leeming@lyx.org>
7961 * Makefile.am: nuke forgotten stl_string_fwd.h.
7963 2002-06-12 Angus Leeming <leeming@lyx.org>
7965 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7967 2002-06-13 Angus Leeming <leeming@lyx.org>
7970 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7972 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7974 * kbmap.C (getiso): add support for cyrillic and greek
7976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7980 * BufferView_pimpl.h:
7981 * BufferView_pimpl.C: move bogus scrolling logic
7984 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7987 * BufferView_pimpl.C: view->resize() change
7989 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7991 * BufferView_pimpl.C: topCursorVisible
7994 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7998 * lyx_gui.C: move to frontends/
8002 * lyx_main.C: changes from above
8004 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8011 * lyx_main.C: minor tidy
8013 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8015 * BufferView_pimpl.h:
8016 * BufferView_pimpl.C:
8018 * BufferView.C: make painter() const,
8021 * BufferView2.C: use screen() accessor
8024 * lyx_main.C: some minor cleanup
8026 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8028 * BufferView_pimpl.h:
8029 * BufferView_pimpl.C: remove enter/leaveView,
8032 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8037 * BufferView_pimpl.h:
8038 * BufferView_pimpl.C: only construct screen once,
8041 * lyxrc.C: remove pointless comment
8043 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8046 * BufferView.C: remove active() and belowMouse()
8048 * BufferView_pimpl.h:
8049 * BufferView_pimpl.C: use workarea() not workarea_,
8050 and make it use a scoped_ptr instead
8052 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8054 * lyx_gui.C: add debug message on BadWindow
8056 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8058 * sp_spell.C: fdopen is not part of the C++ standard.
8060 * paragraph.C (InsetIterator): use >= instead of ==
8062 2002-06-07 Angus Leeming <leeming@lyx.org>
8064 Fixes needed to compile with Compaq cxx 6.5.
8065 * BufferView_pimpl.C:
8072 * lyxtextclasslist.C:
8077 all c-library variables have been moved into namespace std. Wrap
8078 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8083 Add a using std::abs declaration.
8085 * kbmap.h (modifier_pair):
8086 * paragraph.h (InsetTable, InsetList):
8087 * lyxfont.h (FontBits):
8088 type definition made public.
8090 * bufferlist.C (emergencyWriteAll): the compiler complains that
8091 there is more than one possible lyx::class_fun template to choose from.
8092 I re-named the void specialisation as lyx::void_class_fun.
8094 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8096 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8097 the compiler is is unable to find tostr in write_attribute.
8099 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8101 * buffer.C (sgmlError): hide #warning
8103 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8105 * xtl/*: get rid of xtl, which is not in use anyway
8107 * LyXAction.C (init):
8108 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8109 were unimplemented xtl experimentation
8111 2002-06-04 André Pönitz <poenitz@gmx.net>
8113 * lyxfunc.C: disable array operation on simple formulae
8115 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8117 * converter.C: constify a bit
8119 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8121 * lyx_gui.C: check xforms version correctly
8123 2002-04-30 Herbert Voss <voss@lyx.org>
8125 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8128 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8130 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8131 attempt to register it with a VCS)
8133 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8135 * lyx_main.C (init): honor variables LYX_DIR_13x and
8138 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8142 * lyx_main.C: fix a crash on bad command line,
8143 and give a useful exit status on error
8145 * lyxfunc.C (doImport): allow -i lyx to work
8147 2002-03-30 André Pönitz <poenitz@gmx.net>
8149 * lyxfunc.C: mathed font changes
8151 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8166 * trans_mgr.h: srcdocs, and some minor cleanups
8168 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8170 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8171 call getFont all the time)
8173 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8175 * switch from SigC signals to boost::signals
8177 2002-05-29 André Pönitz <poenitz@gmx.net>
8179 * paragraph_pimpl.C (getChar): don't call size() too often...
8181 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * paragraph_pimpl.C (insertChar): do not try to update tables when
8184 appending (pos == size())
8186 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8187 in order to reduce drastically the number of comparisons needed to
8188 parse a large document
8190 2002-05-29 André Pönitz <poenitz@gmx.net>
8196 * textclasslist.[Ch]:
8197 * sp_ispell.h: whitespace change
8199 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8201 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8202 lyxaction directly now.
8204 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8208 * lyxvc.C: remove unused headers
8210 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8217 * undo_funcs.C: some cleanups. Use shared_ptr
8218 and a template for the undo stacks.
8220 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8222 * BufferView_pimpl.h:
8223 * BufferView_pimpl.C:
8230 * text2.C: use key_state/mouse_state
8232 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8234 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8237 * chset.C: change include order
8238 (loadFile): use boost regex and get rid of LRegex and LSubstring
8240 * Makefile.am (BOOST_LIBS): new variable
8243 * LaTeX.C: change include order.
8244 (scanAuxFile): use boost regex and get rid of LRegex and
8248 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8253 * FontInfo.C: moved to frontends/xforms/
8256 * FontLoader.C: moved into frontends for GUIIzation
8261 * lyxfunc.C: changes from above
8263 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8265 * LColor.C: remove spurious X include
8267 * BufferView_pimpl.C:
8272 * text2.C: move font metrics to frontends/
8274 2002-05-24 Juergen Vigna <jug@sad.it>
8276 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8277 setting the undo_cursor.
8279 * ParagraphParameters.h: include local includes first.
8281 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8283 * BufferView_pimpl.C:
8284 * BufferView_pimpl.h:
8288 * screen.C: move WorkArea into frontends/
8294 * BufferView2.C: move LyXScreen into frontends/
8298 * lyx_gui.C: move lyxlookup into frontends/xforms/
8300 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8303 * BufferView_pimpl.C:
8313 * bufferview_funcs.C:
8326 * vc-backend.C: move LyX/XFormsView into frontends/
8328 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8340 * text2.C: move Painter to frontends/
8342 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8344 * buffer.C: comment out some some code that depend upon lyx_format
8347 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8348 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8350 * buffer.h (NO_COMPABILITY): turn off compability
8352 * ColorHandler.C: include scoped_array.hpp
8354 * font.C: Use more specific smart_ptr header.
8357 * ShareContainer.h: ditto
8361 * BufferView_pimpl.h: ditto
8362 * ColorHandler.h: ditto
8364 * kbmap.C (defkey): change call to shared_ptr::reset
8366 2002-05-21 Juergen Vigna <jug@sad.it>
8368 * buffer.C (insertErtContents): fix to insert ert asis if it is
8369 non empty. Skip it completely if it contains only whitespaces.
8371 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8373 * BufferView_pimpl.C:
8374 * BufferView2.C: clear selection on paste (bug 393)
8376 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8378 * DepTable.C: include ctime
8380 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8382 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8384 2002-05-14 Juergen Vigna <jug@sad.it>
8386 * text.C (breakParagraph): fixed function to honor the keepempty
8387 layout in the right maner and also to permit the right breaking
8388 algorithm on empty or non empyt keepempty paragraphs.
8390 * paragraph.C (breakParagraph): we have to check also if the par
8391 is really empty (!size()) for isempty otherwise we do the wrong
8394 2002-05-10 Juergen Vigna <jug@sad.it>
8396 * buffer.[Ch] : The following are only changes to the ert
8397 compatibility read reading old LaTeX layout and font stuff and
8398 convert it to ERTInsets.
8400 * buffer.h: added isErtInset().
8402 * buffer.C (struct ErtComp): add a fromlayout bool to check
8403 if we're inside a LaTeX layout.
8404 (isErtInset): new helper function.
8405 (insertErtContents): look for other ert insets before this one
8406 and insert the contents there, so that we don't have subsequent
8407 ERT insets with nothing between them. This way we create only one
8408 inset with multiple paragraphs. Also check if we don't insert only
8409 spaces ' ' as they are ignored anyway afterwards in the .tex file
8410 so if we have only spaces we will ignore this latex part in the
8412 (parseSingleLyXformat2Token \\layout): better compatibility when
8413 reading layout-latex stuff.
8414 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8416 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8417 stuff after reading the inset only get the information back from
8420 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8422 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8424 * LaTeXFeatures.C (getBabelOptions): New method.
8426 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8428 * BufferView_pimpl.C (Dispatch): work around missing argument for
8431 2002-05-08 Juergen Vigna <jug@sad.it>
8433 * text.C (leftMargin): handle paragraph leftindent.
8435 * paragraph.C (writeFile): write the new \\leftindent tag.
8436 (validate): handle leftindent code.
8437 (TeXEnvironment): handle paragraphleftindent code again.
8439 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8441 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8442 for paragrap_extra indent code and new token \\leftindent.
8443 (latexParagraphs): handle the leftindent as environment.
8445 * ParameterStruct.h: added leftindent support.
8447 * ParagraphParameters.C (leftIndent): added support functions for
8448 the paragraph left indent.
8450 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8453 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8455 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8458 * text.C (computeBidiTables): No bidi in insetERT.
8460 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8463 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8465 * version.C.in: pre 5
8467 2002-05-02 José Matos <jamatos@fep.up.pt>
8468 * buffer.C (makeDocBookFile): white space changes, add newline to
8470 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8472 * tabular.C (docBook): fix typo.
8474 2002-05-03 Juergen Vigna <jug@sad.it>
8476 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8477 change in LyXText as we can not be sure it was not freed.
8478 (drawOneRow): remove unused code.
8480 * text.C (drawInset): redo the calculation of the need_break_row as
8481 it could have a row which was already freed.
8482 (draw): look at the return value of drawInset and return false if
8483 it also returned false.
8484 (paintRowText): look at the return value of draw and return false if
8485 it also returned false.
8487 * lyxtext.h: added bool return type to drawInset() and draw() so that
8488 if we have a change in the row so that the rowbreak has to be redone
8489 we abort drawing as it will be called again.
8491 2002-05-02 Juergen Vigna <jug@sad.it>
8493 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8494 a change in the maintext also if we're inside an inset.
8495 (Dispatch): set the cursor again after a break line and after the
8496 screen has been updated as it could be we're in a different row.
8498 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8499 to set the cursor behind the pargraph with > size().
8500 (setCursor): check also for the same paragraph when checking where
8501 to put the cursor if we have a NFR inset.
8503 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8504 parts of layout read further up as it still was in the wrong
8507 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * screen.C (drawFromTo): change sine fullRebreak always return
8512 * buffer.C (parseSingleLyXformat2Token): reindent some
8514 * BufferView_pimpl.C (update): change since fullRebreak always
8516 (Dispatch): git rid of the last hardcoded "Standard"s.
8518 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8520 * text2.[Ch] (fullRebreak): make it return void now that we always
8523 2002-04-30 Juergen Vigna <jug@sad.it>
8525 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8526 ert compatibility check for "latex" layout.
8528 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8530 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8531 minipages: use col% instead of p%, and also use the current font.
8532 (makeLaTeXFile): Fix use babel condition.
8533 (parseSingleLyXformat2Token): Correct font when reading old floats.
8535 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8537 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8538 inserting list of floats.
8540 2002-04-25 Herbert Voss <voss@lyx.org>
8542 * MenuBackend.C (expand): don't add the graphics extensions to the
8545 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8547 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8548 non-existing layout, do not complain if it was the default layout
8549 of the original class (bug #342)
8551 2002-04-24 Juergen Vigna <jug@sad.it>
8553 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8554 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8556 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8558 * buffer.C (getBibkeyList): If using \bibliography, return the
8559 option field with the reference itself. Enables us to provide natbib
8560 support when using \bibliography.
8562 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8564 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8566 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8567 natbib is provided by the LaTeX class.
8569 2002-04-23 Juergen Vigna <jug@sad.it>
8571 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8574 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8576 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8578 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8580 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8581 ensuremath around textordmasculine, textordfeminine and
8584 2002-04-19 Juergen Vigna <jug@sad.it>
8586 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8587 reinitializing the buffer otherwise row-dimensions may be wrong.
8588 (update): reset also the selection cursors if they do exits otherwise
8589 their x/y positions may be wrong.
8591 * text2.C (cursorDown): don't enter the inset if we came from a row
8592 above and are one row over the inset.
8594 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8595 really leaving an inset.
8597 2002-04-18 Juergen Vigna <jug@sad.it>
8599 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8600 of the selected paragraph does not have the selected layout also if
8603 * text2.C (setLayout): fixed bug which did not change last selected
8606 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8607 changed the read and substituted \\end_float with \\end_inset!
8609 * BufferView_pimpl.C (cursorPrevious):
8610 (cursorNext): fixed to make it work with rows heigher than the work
8611 area without moving the cursor only the draw of the row.
8612 (workAreaMotionNotify): fix jumping over high rows.
8614 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8616 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8619 2002-04-16 Juergen Vigna <jug@sad.it>
8621 * text2.C (setCursor): set also the irow().
8622 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8624 (cursorDown): support for locking an inset if the x_fix value goes
8625 inside it. That way I can transverse insets too with cursor up/down.
8627 * lyxrow.h: added irow helper function same as other (i) functions.
8629 * BufferView_pimpl.C (cursorPrevious):
8630 (cursorNext): fixed for insets!
8632 2002-04-15 Juergen Vigna <jug@sad.it>
8634 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8635 position otherwise it is wrong in some cases.
8637 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8638 inside the inset before the call.
8640 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8642 * buffer.[Ch] (getBibkeyList): make it const.
8644 2002-04-12 Juergen Vigna <jug@sad.it>
8646 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8648 * text2.C (getCursorX): new helper function
8649 (setCursor): compute also ix_
8650 (setCursorFromCoordinates): set also ix.
8652 * lyxcursor.h: added ix_ and helper functions.
8654 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8656 * buffer.C (insertStringAsLines): dont break paragraph if the this
8657 paragraph is inside an inset which does not permit it!
8659 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8660 also with no chars on this paragraph.
8661 (paintRowText): only paint stuff if it's inside the workarea!
8663 * paragraph.C (breakParagraph): honor keepempty flag and break the
8664 paragraph always below not above.
8666 * BufferView2.C (unlockInset): update the paragraph layout on inset
8667 unlock as we changed paragraph in such a case.
8669 * lyxfind.C (LyXFind): clear the former selection if not found!
8671 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8672 again called in insertChar().
8674 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8675 an inset which uses the whole row!
8676 (rightMargin): ditto.
8677 (insertChar): force a rebreak if we inserted an inset!
8679 2002-03-28 Herbert Voss <voss@lyx.org>
8681 * lyxlength.[Ch]: add inBP() to get the right PS-point
8682 units (BigPoint). With inPixels we have rounding errors
8684 2002-04-11 Juergen Vigna <jug@sad.it>
8686 * text2.C (setCursorFromCoordinates): set iy to the right value.
8687 (setCursor): add check if row->previous exists!
8689 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8690 an old float_type as this was the case in the old code!
8692 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8694 * BufferView2.C (showLockedInsetCursor): use iy
8695 (fitLockedInsetCursor): ditto
8697 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8698 locked insets as there we have the right value now.
8700 * lyxcursor.C: added iy_ variable and iy functions to set to the
8701 baseline of cursor-y of the locked inset.
8703 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8704 (setCursor): fixed for insets which need a full row.
8706 * text.C (rowLastPrintable): don't ignore the last space when before
8707 an inset which needs a full row.
8708 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8709 as last character of a row when before a inset which needs a full row.
8711 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8713 * version.C.in: update date
8715 * text2.C (fullRebreak): try to always return true and see what
8718 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * MenuBackend.C (expand): use Floating::listName
8722 * FloatList.C (FloatList): add listName argument to the built-in
8725 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8726 text associated with the float.
8728 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8730 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8732 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8734 * ShareContainer.h: add a couple of missing typenames.
8736 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8738 * lyxrc.C (getDescription): use _() correctly rather than N_().
8740 2002-03-28 Herbert Voss <voss@lyx.org>
8742 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8743 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8745 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8747 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8748 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8750 2002-03-29 Juergen Vigna <jug@sad.it>
8752 * lyxfunc.C (dispatch): add a missing fitCursor call.
8754 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8755 it was scrolled by a cursor move, so return the bool status.
8757 * BufferView.C (fitCursor): return the bool flag also to the outside
8758 world as this is needed.
8760 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8762 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8763 call the edit() as it is not needed (and wrong) IMO.
8764 (workAreaButtonPress): set the screen_first variable before evt.
8765 unlock the inset as this may change screen_first and then we have
8766 a wrong y position for the click!
8768 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * MenuBackend.C (expand): another translation that I missed
8772 2002-03-28 Juergen Vigna <jug@sad.it>
8774 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8776 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8778 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8780 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8782 * MenuBackend.C (expand): fix export/view/update when there is no
8785 2002-03-27 Herbert Voss <voss@lyx.org>
8787 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8790 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8792 * bufferview_funcs.C (currentState): only show paragraph number
8793 for is DEVEL_VERSION is set.
8795 * lyxfunc.C (dispatch): put warning in INFO channel
8797 * MenuBackend.C (expand): translate the name of floats
8799 * FloatList.C (FloatList): mark the float names for translation
8801 * converter.C (convert): use LibScriptSearch
8803 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8805 * MenuBackend.C (defaults): fix default menu (we might as well get
8808 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8810 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8813 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8815 * lyxvc.C: reorder includes.
8817 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8819 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8822 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8824 * CutAndPaste.C: change layouts earlier on paste
8825 to avoid crashing when calling getFont()
8827 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8829 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8832 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8834 * WorkArea.C: remove 'Pending' debug message.
8836 * most files: ws cleanup
8838 * buffer.[Ch]: ws changes
8840 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8842 2002-03-21 Juergen Vigna <jug@sad.it>
8844 * tabular.C (SetMultiColumn): collapse also the contents of the
8845 cells and set the last border right. Added a Buffer const * param.
8847 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8849 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8852 2002-03-19 Juergen Vigna <jug@sad.it>
8854 * text2.C (clearSelection): reset also xsel_cache.
8856 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8857 where it needs to be called (John tells us to do so too :)
8858 (selectionLost): reset sel_cache.
8860 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8862 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8864 * text2.C (setCursorIntern): put debuging code in INSETS channel
8866 2002-03-19 André Pönitz <poenitz@gmx.net>
8868 * lyxfunc.C: tiny whitespace change
8870 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8872 * ToolbarDefaults.C (init):
8873 * LyXAction.C (init):
8875 * BufferView_pimpl.C (Dispatch):
8876 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8878 2002-03-19 Allan Rae <rae@lyx.org>
8880 * exporter.C (Export): removeAutoInsets before doing anything else.
8881 While I've just introduced a dependency on BufferView this really is
8882 the best place to clean the buffer otherwise you need to cleanup in
8883 a dozen places before calling export or cleanup in a dozen functions
8886 * converter.C (runLaTeX):
8887 (scanLog): Better handling of removeAutoInsets and screen updates.
8889 * lyxfunc.C (dispatch): small whitespace changes
8891 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8893 * WorkArea.C (C_WorkAreaEvent): return a value.
8894 (event_cb): return 1 if we handled the event, 0 otherwise.
8896 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8898 2002-03-18 Juergen Vigna <jug@sad.it>
8900 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8901 (GetAdditionalWidth): ditto.
8905 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8906 inset if we're there actually (probably not used right now but this
8907 is the direction to go for unifying code).
8908 (paste): disable code to clear the selection.
8910 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8911 inside an InsetText and move the check further up as it is in the
8914 * text2.C (pasteSelection): set a selection over the pasted text.
8916 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8918 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8919 and libgraphics to build on Cygwin.
8921 2002-03-15 Juergen Vigna <jug@sad.it>
8923 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8924 inserting an Inset into the paragraph. I know this is not the best
8925 fix but we already use current_view in CutAndPaste so we will remove
8926 all of it's using at the same time.
8928 * buffer.C (sgmlError): deactivated function till it is rewritten in
8929 the right mode, now it can create problems.
8931 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8932 before accessing it.
8934 2002-03-14 Juergen Vigna <jug@sad.it>
8936 * undo_funcs.C (textHandleUndo): do the right thing when updating
8937 the inset after the undo/redo.
8939 * text2.C (setCursor): just some testcode for #44 not ready yet.
8941 * undo_funcs.C (textHandleUndo): set the next() and previous()
8942 pointers of the paragraph to 0 before deleting otherwise we have
8943 problems with the Paragraph::[destructor].
8945 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8946 on a paragraph insertion.
8948 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8950 * buffer.C (asciiParagraph): use += operator for char append to
8953 * paragraph.C (getFontSettings): compare >= not just >
8954 (highestFontInRange): ditto
8957 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * paragraph.C: change several algorithm to be more appripriate for
8960 the problem domain. This is lookip in FontList and in the InsetList.
8962 2002-03-13 André Pönitz <poenitz@gmx.net>
8965 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8967 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8972 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8974 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8976 * Painter.C (display): anon helper function, adjust code for this
8978 (pixmap): remove function.
8980 * Painter.h: remove private display variable.
8982 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8984 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8986 * WorkArea.[Ch]: remove figinset_canvas cruft.
8988 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8990 * lyxtextclass.C (operator): add one item cache optimization.
8992 * bufferlist.h: doxy changes
8994 * bufferlist.C: ws changes
8996 * DepTable.[Ch] (ext_exist): place const in the right spot.
8998 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9000 (workAreaExpose): call resizeInsets when the with BufferView changes.
9001 (Dispatch): adjust for protectedBlank removal
9002 (specialChar): call updateInset if the insert went ok.
9004 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9005 specialChar instead.
9007 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9009 * BufferView.h: doxy change
9011 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9013 * lyxtextclass.C (operator[]): remove non-const version
9014 (defaultLayout): remove non-const version
9016 2002-03-12 Juergen Vigna <jug@sad.it>
9018 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9019 did resize the LyXText too.
9021 * buffer.C (readLyXformat2): set layout information on newly allocated
9024 * tabular.C (OldFormatRead): set layout information on the paragraph.
9026 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9028 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9030 2002-03-11 Juergen Vigna <jug@sad.it>
9032 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9034 (resizeCurrentBuffer): force also the insets to resize themselfes.
9035 (moveCursorUpdate): fixed up for InsetText.
9037 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9040 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9041 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9042 value of Dialogs::tooltipsEnabled().
9043 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9045 2002-03-08 Juergen Vigna <jug@sad.it>
9047 * BufferView_pimpl.C (updateInset): update inset inside inset also
9048 if it isn't inside theLockingInset().
9050 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9052 * buffer.C (asciiParagraph): redo some of the word and line length
9054 (getLists): look for Caption instead of caption.
9056 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9058 * buffer.C (Buffer): initialize niceFile to true
9061 (makeDocBookFile): make sure niceFile is true on exit
9063 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9067 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9069 * LyXSendto.C: remove.
9070 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9071 * lyx_gui.C: remove now-redundant comment.
9072 * ColorHandler.h: remove forward declaration of class WorkArea.
9073 * lyxfunc.C: remove #include "WorkArea.h".
9075 2002-03-07 Juergen Vigna <jug@sad.it>
9077 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9078 got moved away with the DEPM and also set the inset_owner always
9079 right which before could have been omitted.
9081 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9083 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9084 wanted layout is not found.
9086 2002-03-07 Juergen Vigna <jug@sad.it>
9088 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9090 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9092 * paragraph.C (breakParagraph): use default layout not layout of
9094 (Paragraph): clear ParagraphParameters.
9096 2002-03-06 Juergen Vigna <jug@sad.it>
9098 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9099 otherwise it would not be a valid lenght. Fixed a special case in
9100 the minipage compatibility read where we end the document with a
9103 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9104 was set as it could be 0 for InsetTexts first entry.
9106 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * paragraph.C (writeFile): if layout is empty write out
9109 defaultLayoutName().
9111 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9112 file without named layout we set layout to defaultLayoutName().
9114 2002-03-06 Juergen Vigna <jug@sad.it>
9116 * CutAndPaste.C (copySelection): set layout for new paragraph.
9118 * text.C (prepareToPrint): leave ERT inset left aligned
9119 (leftMargin): don't indent paragraphs inside ERT insets
9121 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9123 * paragraph.C (breakParagraph): dont call clear do the work manually
9125 * paragraph.[Ch] (clear): remove function
9127 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9129 * paragraph.C (Paragraph): dont call clear, the work has already
9132 * lyxtextclass.C (operator): assert if n is empty
9134 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9135 work manually instead.
9137 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9139 * BufferView_pimpl.C: protect selectionLost against text == 0
9141 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * text.C (breakParagraph): fix a setting layout to '0' problem.
9145 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9147 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9148 final location of file, for the included files, and graphics.
9150 2002-03-05 Juergen Vigna <jug@sad.it>
9152 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9154 2002-03-04 Juergen Vigna <jug@sad.it>
9156 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9158 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9159 last column of multicolumn cells.
9160 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9162 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9164 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9165 file if it doesn't go to a temporary file.
9167 * buffer.C (sgmlOpenTag):
9168 (sgmlCloseTag): remove extra newline insertion.
9170 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9172 * text.C (getRowNearY): comment out debug msg
9174 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9176 * text2.C: first -> first_y
9178 * text.C (getRowNearY): add some attemts at a possible
9179 optimization, not working.
9181 * tabular.[Ch]: add BufferParams to several function so that newly
9182 created paragraph can be initialized to he default layotu for the
9185 * tabular-old.C (ReadOld): add buf->params to call of Init
9187 * screen.C: rename text->first to text->first_y
9189 * paragraph.C (breakParagraph): always set layout in the broken
9192 * lyxtextclass.C (Read): remove lowercase
9195 (delete_layout): ditto
9197 * lyxtext.h: rename first -> first_y
9199 * lyxlayout.C (Read): remove lowercase
9202 (obsoleted_by): ditto
9204 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9206 * buffer.C (insertErtContents): add params are to InsetERT
9207 (parseSingleLyXformat2Token): add code to check if a paragraphs
9208 layout really exist.
9209 (parseSingleLyXformat2Token): add params to several inset
9211 (asciiParagraph): remove lowercase, do the layout comparisons with
9214 * BufferView_pimpl.C (cursorNext): first -> first_y
9215 (resizeCurrentBuffer): first -> first_y
9216 (updateScrollbar): first -> first_y
9217 (scrollCB): first -> first_y
9218 (workAreaMotionNotify): first -> first_y
9219 (workAreaButtonPress): first -> first_y
9220 (checkInsetHit): first -> first_y
9221 (cursorPrevious): first -> first_y
9222 (cursorNext): first -> first_y
9223 (Dispatch): add buffer_->params to severl inset contructors
9225 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9227 * lyxlayout.C (Read): remove some debug info that I forgot.
9229 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9230 clean up the code slightly.
9231 (makeLinuxDocFile): ditto
9232 (makeDocBookFile): ditto
9234 * text2.C: layout as string
9236 * text.C: layout as string
9238 * paragraph_pimpl.C: layout as string
9240 * paragraph.[Ch]: layout as string
9242 * lyxtextclasslist.[Ch]: layout as string
9244 * lyxtextclass.[Ch]: layout as string
9246 * lyxtext.h: layout as string
9248 * lyxlayout.[Ch]: layout as string
9250 * lyx_cb.C: layout as string
9252 * bufferview_funcs.C: layout as string
9254 * bufferparams.C: layout as string
9256 * buffer.C: layout as string
9258 * LyXView.[Ch]: layout as string
9260 * LaTeXFeatures.[Ch]: layout as string
9262 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9264 * BufferView_pimpl.C: change current_layout to string, remove
9269 (workAreaButtonRelease): layout as string
9271 * BufferView2.C (unlockInset): adjust
9273 * vspace.C (asLatexCommand): use an explict temp variable.
9275 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9277 * Makefile.am: use FRONTEND_*
9279 2002-03-01 Juergen Vigna <jug@sad.it>
9281 * tabular.C (SetWidthOfMulticolCell): changed to something better
9282 I hope but still work in progress.
9283 (recalculateMulticolumnsOfColumn): renamed function from
9284 recalculateMulticolCells as it is more appropriate now.
9285 (SetWidthOfCell): calculate multicols better.
9287 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9291 * lyxfunc.C (processKeySym): print sequence also if it is
9292 `deleted' (complete)
9294 * kbsequence.C (print): print sequence even if it is deleted
9295 (complete would be a better word, actually).
9297 * lyxfunc.C (dispatch): print complete options after a prefix key
9299 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9301 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9303 * text2.C (setCharFont): eliminate setCharFont code duplication.
9305 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9307 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9308 LFUN_TABULAR_FEATURE (bug #177)
9310 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9312 * Makefile.am: remove figure.h
9314 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9316 * Bufferview_pimpl.C:
9328 * text2.C: remove #include "lyx_gui_misc.h".
9330 * LaTeX.C: added #include <cstdio>
9332 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9334 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9335 that the paragraph following this one can have.
9337 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9339 * vspace.C (asLatexCommand): fix bogus gcc warning
9341 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9343 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9345 * text2.C (setLayout): get rid of redundant code
9347 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9349 * text2.C (incDepth): make sure depth cannot be increased beyond
9352 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9354 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9355 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9357 * PainterBase.h (image):
9358 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9361 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9365 * BufferView_pimpl.C:
9366 * BufferView_pimpl.h:
9386 * sp_spell.C: remove fig inset, and the crap house of
9387 cards that follows it
9389 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9395 * nt_defines.h: move .h into support/
9397 * vms_defines.h: remove
9399 * WorkArea.C: add space in debug output
9403 * buffer.C: add WITH_WARNINGS
9407 * bufferlist.C: s/retrive/retrieve/, add docs
9418 * lyxgui.C: add ID to X error handler
9420 * lyxtestclass.c: fix typo
9422 2002-02-26 Juergen Vigna <jug@sad.it>
9424 * tabular_funcs.C (write_attribute): changed so that some default
9425 attributes are not written at all.
9426 (getTokenValue): set default values before trying to read the
9427 value so we have the return value always set as default if we don't
9428 find the token we search for.
9430 * tabular.C (Write): write bools as bools not as strings!
9432 2002-02-22 Juergen Vigna <jug@sad.it>
9434 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9435 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9437 * text.C (leftMargin): don't add an indent for paragraphs inside
9438 tabular cells (fix #208).
9440 2002-02-21 José Matos <jamatos@fep.up.pt>
9442 * tabular.C (docBook): fixed support for long tables.
9444 2002-02-20 Juergen Vigna <jug@sad.it>
9446 * text2.C (getFont): get the drawing font of the Inset if this
9447 paragraph is inside an inset (only important for InsetERT for now).
9449 * buffer.C (insertErtContents): use new lanugage params in ERT
9452 * CutAndPaste.C: commenting out seemingly uneeded code.
9454 2002-02-19 Allan Rae <rae@lyx.org>
9456 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9457 Iterators might be simple to use but they also get invalidated.
9458 (removeAutoInsets): renamed saved cursor tracking variables and added
9459 some comments to clarify what everything does.
9461 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9468 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9469 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9472 * vc-backend.h: remove #include "support/syscall.h"
9476 * converter.C: rearrange #includes in Lars' approved fashion.
9478 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9479 forward declare class Timeout in the header file.
9481 * XFormsView.C: changes due to the above.
9483 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9486 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9487 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9489 2002-02-18 José Matos <jamatos@fep.up.pt>
9491 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9494 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9496 * a lot of small ws changes
9497 * add a lot of using std::XXX
9498 * use std construcs some places where approp.
9499 * use some exisint stuff from lyxfunctional where approp.
9500 * Make file changes to use partial linking (lets test this now...)
9502 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9506 remove #include "support/syscontr.h" as it's redundant. Always has been.
9514 change Systemcalls::System to Systemcalls::Wait and
9515 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9516 No change of functionality, just reflects the stripped down Systemcalls
9519 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9521 * debug.[Ch]: add a GRAPHICS type to the enum.
9523 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9525 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9527 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9530 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9533 match the changes below.
9535 * text2.C (toggleInset): if there is not editable inset at cursor
9536 position, try to see if cursor is _inside_ a collapsable inset
9539 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9541 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9542 document menu has a nice checkbox
9544 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9546 * lyxlength.C (asLatexString): change PW to output as percent of
9549 * lengthcommon.C: change '%' to 't%'
9551 * lyxfunc.C (dispatch): a few comments from Martin
9553 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9557 * BufferView_pimpl.h:
9558 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9561 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9563 * vspace.C (inPixels): fix compiler warning
9565 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9567 * lyxfunc.C (getStatus): fix status message for disabled commands.
9569 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9571 * BufferView_pimpl.C: fix crash on close buffer
9572 during selection (#227)
9574 2002-01-27 Herbert Voss <voss@lyx.org>
9576 * buffer.C: link old Figure to new graphic inset
9578 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9580 * FontLoader.C (getFontinfo): Change the latex font names in order
9581 to match the names of type1inst.
9583 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9585 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9587 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9590 (remove_files_with_extension): ditto
9591 (remove_file): ditto
9594 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9595 document is smaller than the work area height. Do not initialize
9596 static variables to 0.
9598 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9600 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9602 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9603 LFUN_LAYOUT_PARAGRAPHS.
9605 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9606 tabular. It is possible to provide a possible cell, which will
9607 typically be the actcell from the corresponding insettabular
9609 * lyxfunc.C (getStatus): small cleanup; disable
9610 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9613 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9615 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9617 * paragraph.C (startTeXParParams):
9618 (endTeXParParams): new methods. The LaTeX code to
9619 start/end paragraph formatting
9620 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9621 empty (fixes bug #200)
9623 * vspace.C (inPixels): adapt to the change below
9624 (inPixels): [later] more cleanups (remove unused variables)
9626 * lyxlength.C (inPixels): change to use a width and a height as
9629 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9631 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9632 Replaced with \paperwidth
9634 * DepTable.C (insert): add std:: qualifier
9636 2002-01-18 Allan Rae <rae@lyx.org>
9638 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9641 * text.C (drawInset): Turned out I didn't know enough about how
9642 rebreaking worked. This fixes most of the redraw problems. I see
9643 an occasional cursor trail when a line is broken now and the cursor
9644 placement can seem out by a few pixels also after a rebreak.
9646 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9648 * buffer.C (parseSingleLyXformat2Token): update because minipage
9649 width is now a LyXLength
9651 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9653 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9656 2002-01-17 Juergen Vigna <jug@sad.it>
9658 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9660 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9661 is set correctly and the inset is updated correctly.
9663 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9665 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9666 the beginning of the loop.
9668 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9670 * lyxrc.C: improve help for use_scalable_fonts
9672 2002-01-17 Allan Rae <rae@lyx.org>
9674 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9676 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9678 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9679 make sure to set their inset_owner to the right value (bug #171)
9681 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9684 * DepTable.C: Implement mtime checking to reduce time spent doing
9687 2002-01-16 Juergen Vigna <jug@sad.it>
9689 * tabular.C (GetAdditionalHeight): one of error fixed.
9691 * lyxrc.C (output): small fix in writing use_pspell.
9693 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9695 * sp_base.h: #include LString.h
9697 2002-01-16 Allan Rae <rae@lyx.org>
9699 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9700 Can someone check this please?
9702 * text.C (drawInset): It was possible that p.row would be removed by
9703 breakAgainOneRow upsetting a few other settings. There may be another
9704 small tweak possible by setting need_break_row = 0 when p.row has been
9705 removed but I don't know enough about the logic here.
9707 2002-01-15 Allan Rae <rae@lyx.org>
9709 * text.C (insertChar): removed conditional truism.
9711 * BufferView2.C (removeAutoInsets): More tweaks.
9712 cur_par_prev could be a stray pointer. Check for trailing empty line
9713 in case last line was cur_par and only had an error inset on it.
9715 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9717 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9720 * vc-backend.C (most methods):
9721 * exporter.C (Export):
9722 * converter.C (convert):
9724 * LyXSendto.C (SendtoApplyCB):
9725 * lyxfunc.C (dispatch):
9729 * lyx_cb.C (AutoSave):
9731 * BufferView_pimpl.C (MenuInsertLyXFile):
9732 * buffer.C (runChktex): use Buffer::filePath().
9734 * buffer.h: rename filename to filename_; rename filepath to
9735 filepath_ and make it private
9736 (filePath): new method
9738 * buffer.C (writeFile): use fileName()
9741 * lyx_main.C (init): fix starting of LyX when the binary is a
9742 link from so,ewhere else.
9744 * minibuffer.C: include <cctype> for isprint
9746 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9748 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9749 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9750 name clash with InsetCollapsable's width function.
9752 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * lastfiles.C: include <iterator>
9756 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9758 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9761 * buffer.C (makeLaTeXFile): ditto.
9762 Also make loop operation more transparent.
9764 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9766 * ToolbarDefaults.C: remove trailing comma closing namespace.
9768 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9770 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9773 * trans.C (Load): comment out unused variable, allowed.
9775 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9777 * minibuffer.[Ch] (append_char): new method to recieve input from the
9778 drop-down completion browser. If a key was pressed, then recieve this
9779 char and append it to the existing string.
9780 (peek_event): modify the positioning data passed to the completion
9781 browser so that it can be placed above the minibuffer rather than below.
9782 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * LyXAction.C (init): alloe error-next for readonly documents.
9786 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9789 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9791 * bufferlist.C (readFile): create the buffer _after_ checking that
9794 * lyxfunc.C (verboseDispatch): fix handling of arguments
9796 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9798 * lyxrc.C: use string::erase() instead of initializing to "".
9801 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9803 * BufferView_pimpl.h:
9804 * BufferView_pimpl.C:
9807 * text2.C: tell X when we have made a selection for copying
9809 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9811 * BufferView_pimpl.C (MenuInsertLyXFile):
9812 * lyxfunc.C (menuNew):
9814 (doImport): add shortcuts to directory buttons
9816 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9819 * lyxfunc.C (setStatusMessage):
9820 (getStatusMessage): new methods
9821 (getStatus):use setStatusMessage instead of setErrorMessage
9822 (dispatch): when function is disabled, set error message here
9823 [instead of in getStatus previously]
9825 * BufferView_pimpl.C (workAreaButtonRelease): update
9826 toolbar/menubar here too.
9828 2002-01-13 Allan Rae <rae@lyx.org>
9830 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9831 Now seems indestructible. Remaining task is to audit all other
9832 code affected by deleteEmptyParagraphMechanism. One small quirk
9833 left is that an empty document with an error in the preamble can
9834 be made to report an error but no error box appears. I don't know
9836 (removeAutoInsets): Improved comments.
9838 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9841 * Thesaurus.C: update for Aiksaurus 0.14
9843 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * text2.C (firstParagraph): removed member function, all uses
9846 replaces with ownerParagraph
9847 (redoParagraphs): here
9849 (toggleAppendix): here
9850 * BufferView2.C (insertErrors): here
9851 (setCursorFromRow): here
9853 2002-01-13 Allan Rae <rae@lyx.org>
9855 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9856 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9857 There is still a way to segfault this although you may have to do this
9858 multiple times: Have an InsetERT with an unknown command in it.
9859 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9860 <down-arrow>, <Enter> again, View->DVI, BANG!
9862 * text2.C (setCursor):
9863 (deleteEmptyParagraphMechanism):
9864 * lyxtext.h (setCursor):
9865 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9866 Making use of the return value may help fix other bugs.
9868 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9872 * LyXView.C (updateMenubar): call MenuBar::update here
9873 (updateToolbar): but not here
9874 (showState): do not update toolbar/menubar
9876 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9877 should need to care about that.
9879 * lyxfunc.C (verboseDispatch): simplify a bit
9880 (getStatus): have a version which takes a pseudoaction, and
9881 another which requires a (kb_action,string).
9883 * LyXAction.C (retrieveActionArg): make it work also when action
9884 is not a pseudo-action.
9885 (getActionName): simplify a bit
9888 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9890 * lyxfunc.C (verboseDispatch): new families of methods with
9891 several ways to specify a command and a bool to indicate whether
9892 the command name and shortcut should be displayed in minibuffer
9893 (eventually, we could extend that to a finer bitmask like
9894 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9895 (dispatch): the pristine dispatch command which just, well,
9896 dispatchs! Note it still sets its result to minibuffer; I'm not
9899 * lyxfunc.h: remove setHintMessage
9901 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9903 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9905 * BufferView_pimpl.C (specialChar): delete new inset if we have
9906 not been able to insert it.
9908 * kbmap.C: revert to using int instead of kb_action, since all we
9909 are dealing with is pseudo-actions.
9911 * LyXAction.C (searchActionArg): change to return int instead of
9912 kb_action, since the result is a pseudoaction.
9914 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9916 * buffer.C (insertErtContents): Fix (partially) the font bug.
9918 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9920 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9921 as the other one is broken on my machine!
9923 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9926 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9928 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9930 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9931 reflect their actual use. Provide compatibility code for older lyxrc
9934 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9936 change names of popup font variables in line with the changes to lyxrc.C
9938 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * buffer.C (asciiParagraph): avoid outputing a word twice after
9943 * lyxrc.C (getDescription): document that document_path and
9944 template_path can be empty.
9946 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9948 * LaTeXFeatures.C (getMacros):
9949 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9951 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9953 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9955 (getPackages): rename feature "floats" to "float". Use an array to
9956 iterate over 'simple' features (i.e. just a \usepackage). Add
9957 handling of "amsmath" (renamed from "amsstyle").
9959 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9961 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9964 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9966 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9967 FuncStaus::FuncStatus & FuncStaus::some_method().
9969 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9971 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9972 of the func_satus stuff. Edited and massaged in various ways by
9975 * lyxfunc.C (getStatus): use FuncStatus
9977 2002-01-08 Juergen Vigna <jug@sad.it>
9979 * text.C (nextBreakPoint): use function Inset::isChar().
9981 * paragraph.C (TeXOnePar): use function
9982 Inset::forceDefaultParagraphs.
9984 * buffer.C (latexParagraphs): use function
9985 Inset::forceDefaultParagraphs.
9987 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9989 * lyx_gui.C (init): set the style of the menu popups to
9990 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9992 2002-01-07 Juergen Vigna <jug@sad.it>
9994 * text.C (setHeightOfRow): small fix
9995 (prepareToPrint): don't look at alignment if we don't have the place
9998 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10000 * box.C: New file. Move the Box methods and functions out of box.h,
10001 following Lars' suggestion.
10003 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10005 * box.h: #include "support/LOstream.h", needed for inlined function.
10008 * lyxtextclasslist.C: added some using std declarations.
10010 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10012 * box.h: make signed dimensions to allow insets wider than
10013 the screen (bug #162)
10015 * BufferView_pimpl.C: add some insetHit debug
10017 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10019 * vc-backend.C: add FIXME
10021 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * lyxfunc.C (getStatus): enable code for showing math font status
10026 2002-01-07 Juergen Vigna <jug@sad.it>
10028 * text.C (nextBreakPoint): removed debug output not needed anymore.
10030 2002-01-06 Juergen Vigna <jug@sad.it>
10032 * text.C (nextBreakPoint): fixed up this function we had this bug
10033 since ever but now hopefully we break row better.
10034 (insertChar): we have to check if an inset is the next char as it
10035 could now happen that a large inset is causing a break.
10037 2002-01-05 Juergen Vigna <jug@sad.it>
10039 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10040 if it doesn't like to be drawed.
10042 2002-01-04 Juergen Vigna <jug@sad.it>
10044 * BufferView2.C (lockInset): forgot to set a cursor.
10046 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10048 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10050 * FormMathsPanel.C:
10053 * form_maths_panel.C:
10054 * form_maths_panel.h:
10055 * form_maths_panel.fd: implemented sub- and super- buttons in math
10058 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10059 (or ^ space) to be used as in TeX (req'd by André).
10061 * lyxfunc.C: Allow ^ and _ again to be used both as
10062 super/subscript (mathed) and as themselves (in text).
10064 2002-01-03 Allan Rae <rae@lyx.org>
10066 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10067 "LyX" or the filename of the current buffer if it has one. This is a
10068 modified form of John Levon's patch.
10070 * XFormsView.C (setWindowTitle): also set icon title.
10072 * LyXView.h (setWindowTitle): signature changed.
10073 * XFormsView.h (setWindowTitle): ditto.
10075 2002-01-02 Juergen Vigna <jug@sad.it>
10077 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10079 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10081 * screen.C (topCursorVisible): introduce a temp var for
10082 text->cursor.row(), handle the case where this row is null. (kindo
10085 * text2.C (setCursor): add a couple of asserts.
10087 * paragraph.h (inset_iterator): add -> operator
10089 * paragraph.[Ch] (autoDeleteInsets): remove member function
10091 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10092 cursor pos correctly and handle inset deletion by itself.
10093 (insertErrors): move iterator declaration out of for expression
10095 * lyxtextclass.C: add <algorithm>
10097 * Makefile.am: added the new files to sources, removed layout.C
10099 * layout.C: removed file
10101 * layout.h: remove LYX_DUMMY_LAYOUT
10103 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10107 * lyxtextclass.[Ch]:
10108 * lyxtextclasslist.[Ch]: new files
10110 * include order changes to a lot of files, also changes because of
10113 2001-12-27 Juergen Vigna <jug@sad.it>
10115 * buffer.C (asciiParagraph): more fixes.
10117 * tabular.C (ascii): make ascii export support export of only the
10118 data separated by a column-delimiter.
10119 (ascii): better support for ascii export.
10121 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10123 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10125 * tabular_funcs.C: use a "using std::getline" instead of the
10126 previous fix from Angus (necessary for cxx + lyxstring)
10128 2001-12-24 Juergen Vigna <jug@sad.it>
10130 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10132 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10133 problems. First check a minipage also if we have some ert-contents
10134 (not only on par->size(), second set the right depth of the paragraph
10135 on the relink to the root-paragraph-list!
10137 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10138 which then did not anymore update the main paragraphs on undo/redo!
10140 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10142 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10143 code. Support all font-changing funcs (even those which are not in
10144 menu currently). Support for reporting font settings in
10145 mathed (disabled until Andre provides a function on mathed's side).
10147 * func_status.h (toggle): small helper function to set toggle
10150 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10152 * tabular_funcs.C: getline -> std::getline
10154 2001-12-21 Juergen Vigna <jug@sad.it>
10156 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10157 accessed and could be 0 (I couldn't generate this but it seems
10160 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10162 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10163 * tabular_funcs.h: here and include iosfwd
10165 2001-12-20 Juergen Vigna <jug@sad.it>
10167 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10168 inside inset but undo_par was.
10170 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10172 * Thesaurus.C: always include <config.h> in sources.
10176 * box.h: do not include <config.h> in header files
10178 * text.C (paintLastRow): remove unused variable
10180 * text.C (transformChar):
10182 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10184 * Painter.C (text):
10185 * font.C (width): rewrite to use uppercase() instead of
10188 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10190 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10192 * lyxfind.C: clean up of find failure position change
10194 2001-12-20 Juergen Vigna <jug@sad.it>
10196 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10198 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10199 (TeXRow): added to LaTeX a single tabular row.
10200 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10201 (Latex): simplified and finally good LT-h/f support.
10202 (various_functions): just small adaptions for LT-h/f support.
10204 * tabular_funcs.[hC]: added and moved here all not classfunctions
10207 2001-12-19 Juergen Vigna <jug@sad.it>
10209 * tabular.[Ch]: better support for longtabular options (not finished
10212 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10214 * text.C (paintLastRow): use the label font instead of the font of
10215 the last character to compute the size of *_BOX. This makes more
10216 sense and avoids a crash with empty paragraphs.
10217 Use Painter::rectangle to draw EMPTY_BOX.
10219 2001-12-19 Juergen Vigna <jug@sad.it>
10221 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10222 the paragraphs if the replaced paragraph is not the first one!
10223 Tried to delete not used paragraphs but does not work yet so for
10224 now it's inside #ifdef's and by default off!
10226 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * MenuBackend.C: include "lyx_main.h" instead of declaring
10229 lastfiles (actually was declared as LastFiles* instead of a
10232 2001-12-17 Juergen Vigna <jug@sad.it>
10234 * tabular.C (AppendColumn): applied John's fix
10236 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10240 * BufferView_pimpl.h:
10241 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10244 * box.h: new start of class for above
10246 * lyxfunc.C: ignore space-only minibuffer dispatches.
10247 Show the command name when it doesn't exist
10249 * minibuffer.C: don't add empty lines to the history
10251 * minibuffer.C: add a space on dropdown completion
10253 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10255 * text.C: fix line above/below drawing in insets
10257 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * lyxlength.C (LyXLength): Initialize private variables.
10261 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10264 when inserting error insets.
10266 2001-12-13 Juergen Vigna <jug@sad.it>
10268 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10269 actually sometimes the before-paragraph.
10270 (setUndo): don't clear the redostack if we're not actually undoing!
10272 2001-12-06 Juergen Vigna <jug@sad.it>
10274 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10275 and fixed redoing of main paragraph, so we can use it now ;)
10277 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10279 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10281 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10284 2001-12-13 André Pönitz <poenitz@gmx.net>
10287 * undo_func.C: minor cleanup
10289 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10292 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10293 font in urw-fonts package which is marked as -urw-fontspecific and
10294 does not work (incidentally, changing the encoding in the
10295 fonts.dir of this package to -adobe-fontspecific fixes the
10298 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10299 is a crash when undoing first paragraph (Juergen, please take a
10300 look). THis does not mean the undo fix is wrong, just that it
10303 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10304 the (Paragraph*) version when needed instead of duplicating the
10307 * text.C (workWidth): use Inset::parOwner to find out where the
10308 inset has been inserted. This is a huge performance gain for large
10309 documents with lots of insets. If Inset::parOwner is not set, fall
10310 back on the brute force method
10312 * paragraph_pimpl.C (insertInset):
10313 * paragraph.C (Paragraph):
10314 (cutIntoMinibuffer): set parOwner of insets when
10315 inserting/removing them
10317 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10319 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10325 * mathed/formulabase.C:
10326 * mathed/math_cursor.[Ch]:
10327 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10330 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10332 * lyxlength.[Ch] (operator!=): new function
10334 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10336 * text.C (workWidth): use Inset::parOwner to find out where the
10337 inset has been inserted. This is a huge performance gain for large
10338 documents with lots of insets. If Inset::parOwner is not set, fall
10339 back on the brute force method
10341 * paragraph_pimpl.C (insertInset):
10342 * paragraph.C (Paragraph):
10343 (cutIntoMinibuffer): set parOwner of insets when
10344 inserting/removing them
10346 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10348 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10350 * tabular-old.C (getTokenValue):
10351 * tabular.C (getTokenValue):
10352 (write_attribute): new versions for LyXLength
10353 (everywhere): adjust the use of widths
10355 * tabular.h: change the type of widths from string to LyXLength
10357 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10359 * paragraph.C: fixed missing line number count when exporting
10360 Environments to LaTeX file
10362 * buffer.C: added informational message for checking line numbers.
10364 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10366 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10367 paragraph, do the 'double space' part, but not the 'empty
10370 * text.C (workWidth): small optimization
10371 (getLengthMarkerHeight): use minimal size for negative lengths.
10373 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10375 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10377 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10379 2001-12-11 André Pönitz <poenitz@gmx.net>
10382 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10384 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10386 * text2.C: keep selection on a setFont()
10388 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10390 * lyx_cb.C: another bv->text misuse, from insert label
10392 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10395 * kbsequence.C: re-instate nmodifier mask
10397 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10399 * lyx_main.h: make lyxGUI private.
10401 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10403 * lyxfind.C: place the cursor correctly on failed search
10405 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * text.C (getLengthMarkerHeight): for small heights, the arrows
10408 are not always on top/bottom of the text
10409 (drawLengthMarker): smaller arrows; take the left margin in
10410 account; draw also vfills.
10412 (paintLastRow): remove special code for vfill and standard spaces,
10413 since everything is handled in drawLengthMarker now.
10415 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10417 * buffer.C (insertErtContents): try to handle font and language
10418 interaction a bit better.g
10420 * ColorHandler.C (updateColor): change the hash to cover the whole
10421 LColor enum, ws cleanup
10422 (getGCLinepars): ditto
10423 (getGCLinepars): only lookup in the linecache once.
10425 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10427 * iterators.C (operator++): Make the iterator more robust
10429 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10431 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10433 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10436 * text.C: better added space drawing
10438 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10441 * BufferView2.C: fix layout combo update on inset unlock
10443 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10445 * Makefile.am: don't compile unused files
10447 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10451 * LyXAction.C: remove old LFUN_LAYOUTNO
10453 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10455 * paragraph_pimpl.h:
10456 * paragraph_pimpl.C: isTextAt() doesn't need font param
10458 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10461 * lyxlex.C: little cleanup
10463 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C: fix insertAscii for insets
10467 2001-12-05 Juergen Vigna <jug@sad.it>
10469 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10470 set the right font on the "multi" paragraph paste!
10472 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10478 * lyxlength.C: remove out-commented code.
10480 * BufferView_pimpl:
10494 * vc-backend.C: change "while(" to "while ("
10496 * lyxlength.[Ch]: add zero function to check if length is zero or
10498 * lyxgluelength.C: use it
10500 2001-12-05 Allan Rae <rae@lyx.org>
10502 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10503 Works for 2.95.3, from what I understand of Garst's reports this should
10504 work for other g++ versions. We're screwed if the abs(int) definition
10505 changed between bugfix releases of gcc.
10507 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10509 * text.C: fix chapter label offset !
10511 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10514 * text.C: fix hfill at end of line, clean up
10516 2001-12-04 Juergen Vigna <jug@sad.it>
10518 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10519 that we force an update of the inset and it's owners if neccessary.
10521 2001-12-03 Juergen Vigna <jug@sad.it>
10523 * text.C (rowLast): simplified code
10525 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10527 * lyxfunc.C: fix show options on timeout
10529 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10531 * screen.C (topCursorVisible): scroll half a page when the cursor
10532 reached top of bottom of screen
10534 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10536 * minibuffer.C: deactivate on loss of focus
10538 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10540 * vspace.[Ch] (operator!=): add operator.
10542 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10544 * BufferView_pimpl.C: refuse to open an inset when
10545 there's a selection.
10547 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10549 * BufferView_pimpl.C: allow to click on RHS of full row insets
10551 2001-11-30 Juergen Vigna <jug@sad.it>
10553 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10554 insets for undo reasons.
10556 2001-11-28 André Pönitz <poenitz@gmx.net>
10558 * vspace.[Ch]: cosmetical changes
10560 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10570 * kbsequence.C: part re-write of old kb code
10573 * WorkArea.C: remove Lgb_bug_find_hack
10575 2001-11-30 José Matos <jamatos@fep.up.pt>
10577 * buffer.C (makeDocBookFile): add a comment to point a hack.
10578 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10579 Fixed a double write of labels.
10581 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10584 * LaTeX.h Fixed bug in LaTeX class where it would not
10585 re-run latex if no depfiles were changed, but the .dvi was removed.
10587 2001-11-28 André Pönitz <poenitz@gmx.net>
10589 * all the files from the change on 2001/11/26:
10590 use lyx::layout_type instead of LyXTextClass::size_type
10591 use lyx::textclass_type instead of LyXTextClassList::size_type
10593 2001-11-29 Juergen Vigna <jug@sad.it>
10595 * text.C: added support for paragraph::isFreeSpacing()
10597 * buffer.C: same as above
10599 * paragraph.h: inserted isFreeSpacing() function to enable
10600 FreeSpacing inside InsetERT.
10602 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10603 of the paragraph's in the cut/copy buffer to 0!
10605 * text2.C (removeRow): remove the assert as it can!
10607 * lyxtext.h: added helper function firstRow returning firstrow and
10608 made firstrow private again.
10610 * BufferView2.C (lockInset): don't relock if we're already locked!
10612 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10613 the only paragraph.
10614 (removeRow): added Assert::(firstrow)
10616 * debug.C: forgot to add INSETTEXT here.
10618 2001-11-28 Juergen Vigna <jug@sad.it>
10620 * sp_spell.C (initialize): changed error text to more general
10621 spellchecker command use (not only ispell!)
10623 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10625 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10627 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10629 * vspace.C: initialise lyxgluelength on failure
10631 2001-11-28 Allan Rae <rae@lyx.org>
10633 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10634 declaration & definition that looks like a function declaration.
10636 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10638 * BufferView2.C (copy):
10639 (copyEnvironment): do not clear the selection when doing a copy.
10641 * text.C (paintFirstRow): compilation fix
10643 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10645 * tabular.C (Latex): correct line count when writing latex.
10647 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10649 * paragraph_pimpl.h:
10650 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10653 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10657 * LColor.C: change vfillline->added_space
10659 * text.C: add markers and text for added space
10661 * vspace.C: fix comment
10663 2001-11-28 André Pönitz <poenitz@gmx.net>
10665 * paragraph.C: whitespace changes
10666 * all the other files from the change on 2001/11/26:
10667 change *::pos_type into lyx::pos_type
10669 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10671 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10672 language of the document when inserting error insets.
10674 2001-11-26 André Pönitz <poenitz@gmx.net>
10676 * BufferView_pimpl.[Ch]:
10684 * paragraph_pimpl.[Ch]:
10687 * text2.C: reduce header dependencies, introduce type for positions
10689 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10691 * <various>: change to use Alert.h
10693 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10695 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10696 when encountering an unknown token.
10697 (readLyXformat2): Show an error message if there were unknown tokens.
10699 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10702 * BufferView_pimpl.C:
10706 * text2.C: use par->isInset()
10708 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10710 * paragraph_pimpl.h:
10711 * paragraph_pimpl.C: cleanup
10713 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10715 * text2.C (removeRow):
10716 * text.C (setHeightOfRow): remove useless (and costly) call to
10719 2001-11-20 Allan Rae <rae@lyx.org>
10721 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10722 Now need Inset*::checkInsertChar() to return true for appropriate
10723 cases so that the characters in the minibuffer will actually be
10726 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * text.C: change the order of the includes.
10729 (workWidth): initialize it at once.
10730 (workWidth): make maxw unsigned
10731 (setHeightOfRow): remove unused variable (inset)
10732 (selectSelectedWord): remove unused variable (inset)
10733 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10735 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10738 server is not running.
10740 (closeConnection): add debug info when server is disabled.
10742 * ColorHandler.C (getGCForeground): send debug message to GUI
10745 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10747 * kbmap.C (bind): modify because return conventions of
10748 kb_sequence::parse have changed.
10750 * kbsequence.C (parse): only ignore spaces and not any stupid
10751 control character. This avoids tests like s[i] <= ' ', which are
10752 guaranteed to fail with 8bit characters and signed chars.
10753 Change return code to string::npos when there have been no error
10754 (0 was a bad idea when error is at first character)
10756 2001-11-14 José Matos <jamatos@fep.up.pt>
10759 * buffer.C (simpleDocBookOnePar): removed unused argument.
10761 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10763 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10764 insets which are part of a word. Paragraph::isLetter takes care of
10765 that now. Use Paragraph::isInset to identify insets.
10766 (selectSelectedWord): do not test for hyphenation break.
10768 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10769 that protected spaces are considered as spaces.
10771 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10774 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10777 * lyxserver.C: fix it. and small cleanup.
10779 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10781 * BufferView_pimpl.C: use inline helpers
10784 * LaTeXFeatures.C: fix typos
10787 * Spacing.C: move spacing_string into class
10789 * ToolbarDefaults.C: move stuff into namespace anon
10791 * layout.h: update enum
10793 * lyxfunc.C: use better debug
10795 * minibuffer.h: fix typo
10799 * WorkArea.C: add and use Debug::WORKAREA
10803 * text2.C: code re-organisation, inline helpers
10805 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10807 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10808 std::vector.empty().
10810 2001-11-09 Allan Rae <rae@lyx.org>
10812 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10813 '\n's after tables. Tabular and ERT inset work now makes this no
10816 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10819 * minibuffer.C: fix crash, improve drop-down completion
10821 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10824 * lyxserver.C: invalidate fd's when doing endPipe()
10826 2001-11-08 José Matos <jamatos@fep.up.pt>
10828 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10829 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10832 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10834 2001-11-07 José Matos <jamatos@fep.up.pt>
10837 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10840 * buffer.C (sgmlOpenTag):
10841 * buffer.C (sgmlCloseTag): removed debug info.
10843 * buffer.h (sgmlOpenTag):
10844 * buffer.h (sgmlCloseTag): made public.
10846 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10848 * buffer.C (saveParamsAsDefaults):
10849 * lyx_cb.C (MenuLayoutSave): remove
10851 * LyXAction.C (init):
10853 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10855 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10857 * buffer.C (setPaperStuff): removed from here...
10859 * bufferparams.C (setPaperStuff): ... and moved there.
10861 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10865 * XFormsView.C: add support for drop-down completion
10867 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10869 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10872 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10874 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10877 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10879 * lyx_main.C: change ref to known bugs
10881 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10883 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10884 to work around older babel problems.
10886 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10888 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10890 2001-10-24 Juergen Vigna <jug@sad.it>
10892 * tabular-old.C (ReadOld): below variable changes reflected.
10894 * tabular.[Ch]: added ltType struct for longtable header/footer
10895 defines and changed all instances where they are used. Added
10896 future support for double top/bottom rows.
10898 2001-10-24 José Matos <jamatos@fep.up.pt>
10900 * buffer.h (docbookHandleCaption):
10901 * buffer.C (docbookHandleCaption): removed unused function.
10902 (makeDocBookFile): moved docbook supported version to v4.1.
10904 2001-10-24 José Matos <jamatos@fep.up.pt>
10907 * tabular.C (docbookRow): new function to export docbook code of a row.
10908 (DocBook): now honors the longtable flags.
10910 2001-10-23 José Matos <jamatos@fep.up.pt>
10913 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10914 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10916 * buffer.C (makeLinuxDocFile):
10917 (makeDocBookFile): reworked the preamble, more clean, and with
10918 support for lyx defined entities. Changed the document declaration
10919 to be more XML friendly.
10921 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10922 if we need to output XML that should be done with a filter.
10924 2001-10-22 Juergen Vigna <jug@sad.it>
10926 * sp_pspell.h (class PSpell): add alive function needed in the
10927 controller to see if the spellchecker could be started.
10929 2001-10-22 Juergen Vigna <jug@sad.it>
10931 * buffer.C (insertStringAsLines): modify the font for inserting
10932 chars in certain conditions by calling checkInsertChar(font).
10934 2001-10-19 Juergen Vigna <jug@sad.it>
10936 * text.C (workWidth): use getRow instead of wrong algorithm.
10937 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10939 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10944 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10946 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10948 * text.C (workWidth): do not search for the exact row when
10949 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10950 optimization for big documents.
10952 2001-10-18 Juergen Vigna <jug@sad.it>
10954 * text.C (workWidth): new function with added Inset * parameter.
10956 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10958 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10960 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10961 change return type of getColumnNearX.
10964 * text.C (changeRegionCase): use uppercase/lowercase instead of
10967 (rightMargin): simplify code by factoring out the uses of
10972 (appendParagraph): use Paragraph::size_type
10974 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10976 * vspace.C (asLatexString): add a missing break
10978 2001-10-15 Herbert Voss <voss@perce.de>
10980 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10982 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10984 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10987 2001-10-10 André Pönitz <poenitz@gmx.net>
10989 * lyxfunc.C: removed greek_kb_flag.
10991 2001-10-10 Herbert Voss <voss@perce.de>
10993 * lyx_main.C: delete global string help_lyxdir.
10995 2001-10-09 Herbert Voss <voss@perce.de>
10997 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10999 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11001 * lyx_main.C: added global string help_lyxdir.
11003 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11005 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11007 * lyxrc.C (set_font_norm_type): support iso8859-4
11009 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11011 * LaTeX.C (deplog): add another regex for MikTeX
11013 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11015 * lyxrc.C (set_font_norm_type): support iso8859-3
11017 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11021 * LaTeXFeatures.C: remove special case of french and index
11023 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11024 before \begin{document}). This solves several incompatibilities.
11026 2001-10-03 Garst Reese <reese@isn.net>
11028 * lyx_cb.C: change CheckTex error msg.
11030 2001-10-03 José Matos <jamatos@fep.up.pt>
11032 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11034 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11036 * .cvsignore: update
11038 * lyx_main.C (commandLineVersionInfo): use new style version info.
11040 * buffer.C (writeFile):
11042 (makeLinuxDocFile):
11043 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11045 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11047 * version.h: update to use stuff in version.C
11049 * version.C.in: new file. Contains version information determined
11050 at compile time. This is a merging of version.h and
11053 2001-10-03 Juergen Vigna <jug@sad.it>
11055 * BufferView_pimpl.C (update): don't change "dirty" status in
11058 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11060 * WorkArea.C (c-tor): re-position version string slightly.
11062 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11064 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11065 revert to previous code.
11067 WorkArea.[Ch]: (show, destroySplash): methods removed.
11069 WorkArea.C: rework code so that it's an amalgam of the codes before and
11070 after the splash screen was moved to WorkArea.
11072 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11075 * vspace.C (inPixels):
11078 * buffer.C (insertStringAsLines):
11079 (asciiParagraph): fix types to be large enough
11081 * lyxlex_pimpl.h: change member status from short to int
11083 * layout.h: fix type of endlabeltype
11086 * kbsequence.C (parse): change return type to string::size_type
11088 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11091 * Bullet.C (bulletSize):
11092 (bulletEntry): do not use short ints as parameters
11094 * BufferView2.C (insertLyXFile): change a char to an int.
11096 * WorkArea.C (WorkArea): remove unneeded floats in computation
11098 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11100 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11102 * paragraph.C (asString): Do not ignore newline/hfill chars when
11103 copying to the clipboard.
11105 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11107 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11108 after a multi-line inset.
11110 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11112 * paragraph.C (validate): Set NeedLyXFootnoteCode
11114 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11116 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11117 and decrease-error to decrease.
11119 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11121 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11122 it more readable (should be equivalent)
11124 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11126 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11128 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11130 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11131 of a cursor (row, etc.) after a character has been deleted
11132 (deleteEmptyParagraphMechanism): call the method above on _all_
11133 cursors held by the LyXText when a double space has been
11136 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11138 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11140 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11142 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11143 background. Use greyOut() and the new show() methods to toggle between
11144 the foreground and background. Add code to remove the splash after
11145 its initial showing.
11147 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11148 (create_forms): no longer call Dialogs::showSplash.
11150 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11152 * .cvsignore: add version_info.h
11154 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11156 * version_info.h.in: new file
11158 * Makefile.am: add version_info.h.in
11160 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11161 version_info.h instead of VERSION_INFO
11163 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11165 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11166 The ERT inset now returns string().
11168 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11170 * lyxtext.h, text.C (selectNextWord): renamed as
11171 selectNextWordToSpellcheck.
11173 * text.C (selectNextWordToSpellcheck): Modified to not select
11174 words inside an ERT inset.
11176 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11178 * lyx_cb.C (MenuLayoutSave): change a bit the question
11180 * sp_base.h: include <sys/types.h>
11182 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11184 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11186 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11188 * several files: fix typos in user-visible strings
11190 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11192 * text2.C (pasteSelection): do not set the selection, since it
11193 will be cleared later. Actually, the intent was to fix the way the
11194 selection was set, but I figured rmoving the code was just as good.
11196 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11198 * FontLoader.C (available): Check if font is available without
11201 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11203 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11205 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11207 * lyxrc.[Ch]: added display_graphics variable and associated code.
11209 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11211 * bufferparams.C (hasClassDefaults): new method. Returns true if
11212 the buffer parameters correspond to known class defaults
11214 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11216 * XFormsView.C (show): set minimum size to the main window.
11218 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11220 * text2.C (copySelection):
11222 * lyxfind.C (LyXReplace):
11223 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11224 LyXText::selectionAsString.
11226 * paragraph.C (asString): add "label" argument to the second form
11228 * text2.C (selectionAsString): add "label" argument and pass it to
11229 Paragraph::asString.
11231 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11233 * lyx_main.C (commandLineHelp): remove version information
11235 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11237 * lyx_main.C: add -version commandline option
11239 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11241 * paragraph.h: make the optional constructor arg required instead.
11242 some modifications to other files because of this.
11244 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11246 * lyxserver.C (C_LyXComm_callback): make it static
11248 * lyx_main.C (error_handler): make it static
11250 * lyx_gui.C (LyX_XErrHandler): make it static
11252 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11254 * WorkArea.C: make the extern "C" methods static.
11256 * Makefile.am (lyx_LDADD): simplify
11258 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11260 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11261 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11263 * LyXAction.C (init):
11264 * lyxfunc.C (dispatch): associated code removal.
11266 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11268 * lyxfont.h (isSymbolFont): shut off warning
11270 * text.C (setHeightOfRow):
11271 (getVisibleRow): fix crash with empty paragraphs which have a
11274 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11276 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11279 2001-09-04 José Matos <jamatos@fep.up.pt>
11282 * tabular.C (docbook): rename docBook method to docbook.
11284 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11286 * Makefile.am: add dependencies to main.o.
11288 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11290 * FontLoader.C (available): Return false if !lyxrc.use_gui
11292 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11294 * FontInfo.C (query):
11295 * converter.C (view):
11296 * importer.C (Import):
11297 * exporter.C (Export): Can not -> cannot.
11299 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11301 * BufferView_pimpl.C: allow to create index inset even if
11304 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11306 * buffer.C (getLists): replace boost::tie code with an explicit pair
11307 as boost::tie can break some compilers.
11309 * iterators.h: Added a std:: declaration to the return type of
11312 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11314 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11317 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11319 * iterators.[Ch]: New files. Provide paragraph iterators.
11321 * buffer.C (changeLanguage): Use paragraph iterators.
11322 (isMultiLingual): ditto
11324 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11326 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11328 * FontLoader.C: Support for cmr font.
11330 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11332 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11333 (available): New method.
11335 * FontInfo.C (getFontname): Use scalable fonts even when
11336 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11339 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11341 * converter.C (Formats::view): reverted! Incorrect fix.
11343 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11345 * converter.C (Formats::view): only output the -paper option
11346 if the dvi viewer is xdvi, thereby fixing bug #233429.
11348 2001-08-23 Herbert Voss <voss@perce>
11350 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11352 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11354 * Spacing.h (Spacing): Set space to Default on in the default
11357 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11359 * vc-backend.h (RCS::versionString): add RCS to version
11360 (CVS::versionString): add CVS to version
11362 * vc-backend.C (scanMaster): do not add CVS to version.
11363 (scanMaster): do not add RCS to version
11365 * lyxvc.C (versionString): new method
11367 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11369 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * Spacing.C (set): initialize fval
11373 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11375 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11378 2001-08-16 Juergen Vigna <jug@sad.it>
11380 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11382 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11384 * BufferView_pimpl.C:
11387 * text2.C: setParagraph takes linespacing now
11389 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11391 * LyxAction.C: add internal LFUN_CITATION_INSERT
11393 * LyXView.C: actually apply fix
11395 * bufferlist.C: fix open non-existent file
11397 * lyxfind.C: fix indentation
11399 * lyxfunc.C: remove unneeded assert, fix typo
11401 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11403 * MenuBackend.C: use "Floatname List"
11405 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11407 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11408 when converting LaTeX layout to insetERT.
11409 Generate a non-collapsed float when reading old float
11411 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11413 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11416 2001-08-13 Juergen Vigna <jug@sad.it>
11418 * text.C (fill): return 0 instead of 20 as this seems to be the more
11421 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11423 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11426 2001-08-13 Juergen Vigna <jug@sad.it>
11428 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11430 (SearchBackward): comment out the unlocking of the inset_owner this
11431 should not be needed!
11433 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11435 * Many files: Remove inherit_language, and add latex_language
11437 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11438 collapsible insets.
11440 2001-08-10 Juergen Vigna <jug@sad.it>
11442 * text.C (prepareToPrint): fixed hfill-width in draw!
11444 * BufferView2.C (selectLastWord): save the selection cursor as this
11445 now is cleared in the function LyXText::clearSelection!
11447 2001-08-08 Juergen Vigna <jug@sad.it>
11449 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11450 BACKSPACE type functions.
11452 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11453 is only cutted from the document but not put in the cut-buffer, where
11454 still the old stuff should be.
11456 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11458 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11460 * tabular.C (SetWidthOfCell): fixed special case where the width
11462 (LeftLine): handle '|' in align_special.
11464 (LeftAlreadyDrawed): ditto
11465 (SetWidthOfCell): ditto
11467 2001-08-07 Juergen Vigna <jug@sad.it>
11469 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11471 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11473 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11474 * lyxlex.[hC]: ditto
11476 2001-08-06 Juergen Vigna <jug@sad.it>
11478 * text.C (getVisibleRow): fix up row clearing a bit.
11480 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11482 * minibuffer.C: make sure the X server sees the changes in the input.
11484 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11486 * paragraph.C (getFont): split into...
11487 (getLabelFont): this
11488 (getLayoutFont): and this
11489 * paragraph_pimpl.C (realizeFont): calling this
11491 * text2.C (getFont): split into...
11492 (getLayoutFont): this
11493 (getLabelFont): and this
11494 (realizeFont): all three calling this
11496 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11499 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11501 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11503 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11505 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11506 layouts from the Quote inset insertion.
11508 2001-08-03 Juergen Vigna <jug@sad.it>
11510 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11512 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11513 only if status not is already CHANGED_IN_DRAW (second level).
11515 * text.C (draw): don't set the need_break_row when inside an
11518 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11520 * buffer.C (parseSingleLyXformat2Token): handle more latex
11523 * bufferview_funcs.[hC]: change function names to
11524 begin with small char, adjust other files.
11526 2001-08-02 André Pönitz <poenitz@gmx.net>
11529 BufferView_pimpl.C: remove broken special code for math-greek
11531 2001-08-02 Juergen Vigna <jug@sad.it>
11533 * BufferView_pimpl.C (update): redone this function so that we
11534 update the text again if there was a CHANGE_IN_DRAW.
11536 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11537 (drawFromTo): added a new internal bool which is used by draw() and
11539 (general): some cursor drawing problems fixed.
11541 2001-08-01 Juergen Vigna <jug@sad.it>
11543 * lyxfind.C (LyXFind): fixed
11544 (SearchForward): ditto
11545 (SearchBackward): ditto
11547 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11548 spurius drawing of the cursor in the main area.
11550 * text2.C (status): small fix which could lead to a segfault!
11551 (clearSelection): remove unneeded BufferView param.
11553 2001-08-01 André Pönitz <poenitz@gmx.net>
11555 * lyxfunc.C: small change due to changed mathed interface
11557 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11559 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11561 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11563 * lyxfunc.c: fail gracefully if file doesn't exist
11568 * BufferView_pimpl.C: IsDirWriteable() proto changed
11570 * LyXView.C: fix updateWindowTitle() to store the last title
11572 2001-07-31 Juergen Vigna <jug@sad.it>
11574 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11575 the font (wrong since using of Paragraph::highestFontInRange).
11577 * paragraph.C (highestFontInRange): added a default_size parameter.
11579 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11580 (setHeightOfRow): reformat
11582 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11584 * converter.[hC] + affected files: move to (inital-char)lowercase
11587 * ParagraphParameters.C (ParagraphParameters): remove commented code
11589 * PainterBase.[Ch]: remove commented code
11591 * LaTeXFeatures.h: add "bool floats" for float.sty
11593 * LaTeXFeatures.C (LaTeXFeatures): init floats
11594 (require): handle float
11595 (getPackages): do it with floats
11597 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11599 * BufferView_pimpl.C (Dispatch): improve handling of
11600 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11602 * commandtags.h: #include lyxfont.h here temporarily to avoid
11605 * bufferlist.h: include LString.h here.
11607 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11609 * text2.C (getStringToIndex): new method.
11611 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11613 * *: Reduced header file dependencies all over.
11615 2001-07-30 Baruch Even <baruch@lyx.org>
11617 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11619 2001-07-29 Baruch Even <baruch@lyx.org>
11621 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11623 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11625 * ParameterStruct.h (endif): add a default constructor to make
11626 sure that all variables is initialized.
11628 * ParagraphParameters.C (ParagraphParameters): adjust
11630 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11632 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11633 index; also, check that there is something to index, and that it
11634 does not span over several paragraphs.
11635 (doubleClick): use WHOLE_WORD_STRICT for double click.
11637 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11639 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11642 2001-07-26 Baruch Even <baruch@lyx.org>
11644 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11645 an InsetFig figure, backwards compatible reading of old figure code.
11647 2001-07-27 Juergen Vigna <jug@sad.it>
11649 * text2.C: font.realize function adaption.
11651 * text.C (draw): add a warnings lyxerr text if needed.
11653 * layout.C: font.realize function adaption.
11655 * language.C: add inherit_language and implement it's handlings
11657 * bufferview_funcs.C (StyleReset): remove language parameter from
11658 font creation (should be language_inherit now).
11660 * bufferparams.C (writeFile): handle ignore_language.
11662 * paragraph.C (getFontSettings): the language has to be resolved
11663 otherwise we have problems in LyXFont!
11665 * lyxfont.C (lyxWriteChanges): added document_language parameter
11666 (update): removed unneeded language parameter
11668 * paragraph.C (validate): fixed wrong output of color-package when
11669 using interface colors for certain fonts in certain environments,
11670 which should not seen as that on the final output.
11672 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11674 * BufferView_pimpl.C:
11679 * LyXAction.C: add thesaurus support
11682 * lyxfind.C: add "once" parameter, for thesaurus, to not
11683 move to the next match
11685 2001-07-26 Juergen Vigna <jug@sad.it>
11687 * lyxfont.C (realize): honor ignore_language too!
11690 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11692 * text.C (draw): one place more for ignore_language to not draw
11695 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11697 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11699 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11701 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11702 the minipage conversion problem.
11704 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11706 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11709 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * BufferView.h: don't forward declare WorkArea
11713 * BufferView.C: don't include WorkArea.h
11715 2001-07-25 André Pönitz <poenitz@gmx.net>
11719 * lyxfunc.C: new LFUN 'math-space'
11721 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11723 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * text2.C (toggleInset): call open/close
11727 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11729 * lyxfunc.C (dispatch): add debug for the disabled case
11731 * font.C (buttonText): make similar to rectText
11733 * buffer.C (readInset): comment out parsing of insetlist and
11736 * PainterBase.C (rectText): small correction
11738 * BufferView_pimpl.C: comment out insettheorem and insetlist
11739 * LyXAction.C: ditto
11740 * commandtags.h: ditto
11742 2001-07-24 Juergen Vigna <jug@sad.it>
11744 * text.C (draw): honor the ignore_language.
11746 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11748 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11750 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11753 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11755 * lyxtext.h: remove unused (and unimplemented) methods
11757 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11759 * text.C (getVisibleRow): honor background color
11762 * Painter.h: remove default color argument for fillRectangle
11764 * text.C (backgroundColor): new method
11766 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * text.C (getVisibleRow): adjust
11770 * font.[Ch] (rectText): new method, metrics
11771 (buttonText): new method, metrics
11773 * PainterBase.[hC]: make rectText and buttonText always draw and take
11776 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11778 * ToolbarDefaults.C (read):
11779 * MenuBackend.C (read): allow escaping in all strings
11781 * BufferView_pimpl.C (insertAndEditInset): new method.
11782 (Dispatch): use insertAndEditInset whenever appropriate.
11784 * BufferView_pimpl.C (insertNote): removed
11786 * BufferView_pimpl.C (smartQuote): new method, moved from
11787 BufferView; if an insetquote cannot be inserted, insert a '"'
11790 * BufferView2.C: remove insertCorrectQuote();
11792 * lyxfunc.C (getStatus): Add support for all remaingin
11793 inset-insert lfuns.
11795 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11797 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11798 command (necessary to pass " as parameter of self-insert.
11800 * text.C (selectWordWhenUnderCursor):
11801 (selectWord): add word_location parameter
11802 (selectWordWhenUnderCursor): same + remove special code for word
11804 (selectNextWord): use kind() to guess type of insetspecialchar,
11807 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11808 (insertErtContents): create ert insets as collapsed.
11809 (readInset): better compatibility code for Info inset.
11811 2001-07-20 Juergen Vigna <jug@sad.it>
11813 * lyxfunc.C (dispatch): use always LyXFind now!
11815 * text2.C (init): add a reinit flag so that the LyXText can be
11816 reinited instead of deleted and reallocated (used in InsetText).
11818 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11824 2001-07-18 Juergen Vigna <jug@sad.it>
11826 * text.C (selectNextWord): handle insets inside inset by calling
11827 always the bv->text functions so that we can go up the_locking_inset!
11829 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11830 in strange locations when inside an inset!
11832 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11833 handling to include insets.
11835 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11837 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11839 * LyXAction.C (init):
11841 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11842 LIGATURE_BREAK, since the name is so stupid.
11844 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11846 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11849 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11851 * sp_form.[Ch]: remove.
11853 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11855 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11858 * src/buffer.C (readInset): ditto.
11860 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11862 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11863 menuSeparator(), endOfSentenceDot(), ldots() and
11864 hyphenationPoint(), which are therefore removed.
11865 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11867 * LyXAction.C (init):
11868 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11870 * paragraph.C (getWord): removed.
11872 * BufferView_pimpl.C (Dispatch): use last word or selection for
11873 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11875 * lyx_main.C (queryUserLyXDir): do not ask before creating
11876 user_dir, except if it has been named explicitely.
11878 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11880 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11881 a document of zero size.
11883 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11885 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11886 approriately in the c-tor and in require().
11887 (getPackages): output the appropriate LaTeX for natbib support.
11889 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11890 variables "use_natbib" and "use_numerical_citations" when reading the
11892 (readInset): read the various natbib cite commands.
11893 (validate): white-space change.
11895 * bufferparams.[Ch]: new variables "bool use_natbib" and
11896 "bool use_numerical_citations".
11897 (writeFile): output them in the LyX file.
11899 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11901 * lyxfunc.C (getStatus): add support for all the inset insertion
11904 * text2.C (insertInset):
11905 * paragraph.C (insetAllowed):
11906 * BufferView_pimpl.C (insertInset): update to take in account the
11907 renaming of insertInsetAllowed
11909 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11911 * text2.C (getInset): new method. returns inset at cursor position.
11913 * BufferView_pimpl.C (Dispatch): changes because of this.
11915 * LyXAction.C (init): rename open-stuff to inset-toggle.
11917 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11919 * text2.C (toggleInset): renamed from openStuff; use
11922 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11924 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11926 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11928 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11930 * buffer.C (readLyXformat2): Add filename to the error dialog
11932 2001-07-18 Juergen Vigna <jug@sad.it>
11934 * tabular.C (GetCellNumber): put an assert here instead of the check!
11936 2001-07-17 Juergen Vigna <jug@sad.it>
11938 * BufferView_pimpl.C (toggleSelection): adapted too.
11940 * text.C (selectNextWord): adapted for use with insets.
11941 (selectSelectedWord): ditto
11943 2001-07-17 Juergen Vigna <jug@sad.it>
11945 * sp_spell.C (PSpell): fix initialitation order.
11947 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11949 * paragraph.C: spacing
11951 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11953 * sp_spell.C: repair language selection for pspell
11955 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * lyxfunc.h: change more methods to begin with lower char.
11959 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11961 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11962 for unknown layouts.
11964 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11966 * buffer.C (readLyXformat2): Generate an error dialog if there are
11969 2001-07-16 Juergen Vigna <jug@sad.it>
11971 * sp_spell.C: always compile ISpell part.
11973 * lyxrc.C: added use_pspell entry and it's handling.
11975 2001-07-13 Juergen Vigna <jug@sad.it>
11977 * sp_spell.C: removed double includes.
11979 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11981 Consistent use of Lsstream.h:
11982 * Lsstream.h: added using std::stringstream for consistencies sake.
11984 * buffer.C: removed using std::stringstream
11986 * lyxfont.C (stateText):
11987 * paragraph.C (asString):
11988 * text.C (selectNextWord, selectSelectedWord):
11989 * text2.C (setCounter):
11990 * vspace.C (asString, asLatexString):
11991 std::ostringstream -> ostringstream.
11993 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
11995 * LyXAction.C: add LFUN_HELP_ABOUTLYX
11996 * commandtags.h: add LFUN_HELP_ABOUTLYX
11997 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11999 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12001 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12003 * lyx_gui_misc.C: remove spellchecker
12004 * lyxfunc.C: showSpellchecker
12006 * sp_ispell.h: added
12007 * sp_pspell.h: added
12008 * sp_spell.C: added
12009 * sp_form.[Ch]: removed
12010 * spellchecker.[Ch]: removed
12012 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12014 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12016 (simpleTeXSpecialChars): Simply print the input character without
12017 any special translation if pass_thru is set.
12019 * layout.h: Added bool pass_thru to layout class for being able to
12020 implement pass through of a paragraph for Literate Programming.
12022 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12023 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12024 * layout.C (Read): add "passthru" to list of layout tags and add
12025 code to set the pass_thru boolean when it is read.
12027 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12029 * trans_decl.h: remove allowed from KmodInfo
12031 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12032 remove allowed code
12035 * paragraph_pimpl.C (erase): use boost::prior
12037 * Painter.C (text): use data() instead of c_str() when length is
12039 * WorkArea.C (putClipboard): ditto
12040 * font.h (width): ditto
12042 * BufferView2.C: use it-> instead of (*it). for iterators
12044 * paragraph_pimpl.C: ditto
12045 * paragraph.C: ditto
12046 * minibuffer.C: ditto
12047 * language.C: ditto
12049 * encoding.C: ditto
12050 * counters.C: ditto
12051 * converter.C: ditto
12053 * Variables.C: ditto
12054 * TextCache.C: ditto
12055 * MenuBackend.C: ditto
12056 * LyXAction.C: ditto
12058 * FloatList.C: ditto
12059 * DepTable.C: ditto
12060 * ColorHandler.C (LyXColorHandler): ditto
12062 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12064 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12066 * text2.C (openStuff): reintroduce this method (which had been
12067 nuked in NEW_INSETS frenzy).
12069 * lyxfunc.C (Dispatch): when an action has not been handled, use
12070 its name in the error message, not its number.
12072 * paragraph.C (inInset): change method name to begin with lowercase.
12075 * text2.C: updates because of this.
12077 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12079 * ToolbarDefaults.C (add): add spaces in error message
12081 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12083 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12084 (readLyXformat2): rename return_par to first_par, use lyxlex's
12085 pushToken and remove the manual push handling.
12086 (parseSingleLyXformat2Token): add another ert comp. variable:
12087 in_tabular, rename return_par to first_par. handle newlines better
12089 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12091 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12093 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12095 * text2.C (getParFromID): removed
12097 * buffer.C (getParFromID): new method moved form lyxtext.
12098 * BufferView2.C (insertErrors): adjust
12099 (setCursorFromRow): adjust
12100 * BufferView_pimpl.C (restorePosition): adjust
12101 * lyxfunc.C (Dispatch): adjust
12102 * undo_funcs.C (textUndo): adjust
12104 (textHandleUndo): adjust
12105 (textHandleUndo): adjust
12107 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * buffer.C: up' the LYX_FORMAT
12111 * lyxfont.h: turn NO_LATEX on as default
12113 * buffer.C (insertErtContents): new methods of tex style compability.
12114 (parseSingleLyXformat2Token): use it several places.
12115 * tabular.C (OldFormatRead): and here
12117 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12119 * text2.C: remove some commented code.
12122 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12123 * trans.C: changes because of the above.
12125 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12127 * text2.C (setCounter): Fix counters bug with bibliography layout.
12129 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12132 own member functions
12133 (simpleTeXSpecialChars): ditto
12135 2001-07-06 Juergen Vigna <jug@sad.it>
12137 * a lot of files: changed the access to LyXText::status and the
12138 call of undo-functions.
12140 * undo.[Ch]: added a inset_id to the undo informations.
12142 * undo_funcs.[Ch]: added and moved here all undo functions.
12144 * lyxtext.h: give the status enum a weight, made status_ a private
12145 variable and made accessor functions for it, removed the whole bunch
12146 of undo-functions as they are now in their own file, make some
12147 functions publically available. Added function ownerParagraph with
12150 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12151 made InInset() a const function, added getParFromID() function.
12153 * buffer.[Ch]: added const version for inset_iterator functions,
12154 added getInsetFromID() function.
12156 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12157 changed undo functions for new version.
12159 2001-07-05 Juergen Vigna <jug@sad.it>
12161 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12162 unknow mechanism does not call the proper constructor but only this
12163 one also if I request the other!?
12165 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12169 * text2.C (LyXText): use initialization lists.
12171 * lyxtext.h (Selection): initialize set_ and mark_
12172 (init): remove method
12174 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12176 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12178 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12180 * screen.[Ch]: change method names to begin with lowercase
12182 * BufferView_pimpl.C (updateScrollbar): simplify further and
12183 hopefully make it a bit faster.
12185 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12187 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12188 calling directly xforms functions.
12190 * Painter.C (Painter):
12191 * lyx_cb.C (MenuWrite):
12192 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12195 * lyx_gui.C: remove bogus guiruntime extern declaration.
12197 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12201 (redoDrawingOfParagraph): ditto
12202 (redoParagraphs): ditto
12203 (cutSelection): don't create a object for CutAndPaste use the
12204 static method directly
12205 (pasteSelection): ditto
12207 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12210 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12212 * modifications to some other files because of this.
12214 * Makefile.am (lyx_SOURCES): add XFormsView
12216 * XFormsView.[Ch]: new files
12218 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12219 the main window. Move the gui dependent stuff to XFormsView
12221 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12223 * tabular.C (GetCellInset): update cur_cell also in the row/col
12224 version of this function.
12226 * lyxfunc.C: no need to include figure_form.h here.
12232 * lyxvc.C: no need to include forms.h here.
12234 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12236 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12238 * lyxfunc.C (Dispatch):
12240 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12241 constructor argument.
12243 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12245 * paragraph.C (Paragraph): dont't clear, and just set layout.
12246 (makeSameLayout): use params's copy contructor.
12248 * ParagraphParameters.[Ch] (makeSame): delete method
12250 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12252 * Variables.[Ch]: fix indentation, rename set to isSet
12254 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * lyxfunc.C (Dispatch): fix typo
12258 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12260 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12263 * bufferlist.C: include assert.h for emergencyWrite().
12265 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12267 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12268 give up at last (bug #425202) !
12270 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12276 * spellchecker.C: strip spellchecker options and bring up
12277 preferences tab instead
12279 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12281 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12282 the istringstream constructor
12284 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12286 * paragraph.C (getLayout): fix return value
12288 * paragraph.h: do not declare getLayout as inline.
12290 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12292 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * lyxcursor.h (operator<): new func
12295 (operator>): new func
12296 (operator>=): new func
12297 (operator<=): new func
12299 * text.C (changeCase): use selection.start and selection.end
12300 (changeRegionCase): require from to be <= to. Require par to be a
12303 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12305 2001-06-27 Juergen Vigna <jug@sad.it>
12307 * text.C (cursorLeftOneWord): changed to return the cursor and added
12308 overlay with BufferView * parameter which calls this one.
12310 (selectWord): use new getWord function.
12311 (changeCase): renamed from changeWordCase as and extended to work
12312 also on selections.
12314 * lyxtext.h: added enum word_location
12316 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12317 changeCase as this operates now also on selections.
12319 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12321 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12323 * many files: send debug output to Debug::INFO instead of
12326 * converter.C (View):
12328 (Move): send debug output to Debug::FILES instead of console.
12330 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12332 * lyxfunc.C (getStatus): use func_status
12334 * func_status.h: new header, describing the results of
12335 LyXFunc::getStatus;
12337 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12340 2001-06-25 The LyX Project <jug@sad.it>
12342 * buffer.C (sgmlOpenTag):
12344 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12346 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12348 * text2.C: remove some dead code
12350 * tabular.C (GetCellInset): store the last cell checked (gotten)
12352 * tabular.h: add the helper for the speedup
12354 * lyxtext.h: remove some dead code
12356 2001-06-26 The LyX Project <Asger>
12358 * paragraph.C: Change export to LaTeX of alignment to
12359 \begin{center} and family for better roundtrip work with reLyX.
12361 * Tune the math drawing a bit.
12363 2001-06-25 The LyX Project <Asger>
12365 * LColor.C (LColor): New color for math background. New color
12368 2001-06-25 The LyX Project <jug@sad.it>
12370 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12372 * lyxfunc.C (Open):
12373 * bufferlist.C (newFile): do not restrict to files ending with
12376 * BufferView_pimpl.C (MenuInsertLyXFile):
12378 2001-06-24 The LyX Project <jug@sad.it>
12380 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12383 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * lyxtext.h: rename most methods to begin with a small char.
12386 Lots of changes because of this.
12388 * paragraph.C (Paragraph): do not call fitToSize
12389 (erase): call Pimpl::erase
12390 (insertChar): call Pimpl::insertChar
12391 (insertInset): call Pipl::insertInset
12392 (breakParagraph): do not call fitToSize
12393 (breakParagraphConservative): do not call fitToSize
12394 (fitToSize): remove method
12396 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12398 2001-06-24 The LyX Project <Asger>
12400 * Fix Qt compilation^2
12402 2001-06-24 The LyX Project <jug@sad.it>
12404 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12405 depthHook(getDepth()-1).
12408 * ParagraphParameters.h:
12409 * ParameterStruct.h: change type of depth to unsigned int ==
12410 depth_type. Many adaptations to other files before of that.
12412 2001-06-24 The LyX Project <Asger>
12414 * Fix Qt compilation.
12416 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * paragraph.h: renamed several methods to begin with small letter.
12419 several changes to many parts of the code because of this.
12421 2001-06-23 The LyX Project <jug@sad.it>
12423 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12424 rewritten to discard all double spaces when KeepEmpty is off
12425 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12426 to only handle newlines but not fiddle with spaces and friends.
12428 * lyxfunc.C (MenuNew): when doing 'new from template', use
12429 template_path as default directory
12431 2001-06-23 The LyX Project <Asger>
12433 * Clean-up of header file includes all over
12434 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12436 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12438 * paragraph.h: renamed from lyxparagraph.h
12440 2001-06-23 Asger <lyx@violet.home.sad.it>
12442 * Buffer.h: Removed Buffer::resize
12443 * BufferList.h: Removed BufferList::resize
12444 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12445 the document lazily when we change the width, or the font settings.
12447 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12449 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12451 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12453 * buffer.h: remove out of date comment
12455 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12458 * screen.C: fix "theoretical" GC leak
12460 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12462 * LaTeX.C (scanAuxFile):
12463 (deplog): remove trailing \r when reading stream (useful under
12466 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12468 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12469 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12470 and BufferView::theLockingInset(Inset*), so should use them and not
12471 access bv_->text->the_locking_inset directly.
12473 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12475 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12478 * tex-defs.h: remove old unused file
12480 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12482 * BufferView_pimpl.C: fix typo, remove minibuffer message
12483 when buffer has loaded
12485 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * lyxfunc.C (Dispatch): use stringstream
12488 (MenuNew): use stringstream
12489 (Open): use stringstream
12491 * importer.C (Import): use stringstream
12493 * bufferview_funcs.C (CurrentState): use stringstream
12495 * LaTeX.C (run): use stringstream
12497 * BufferView_pimpl.C (savePosition): use stringstream
12498 (restorePosition): use stringstream
12499 (MenuInsertLyXFile): use stringstream
12501 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12514 * vspace.C: removed // -*- C++ -*- as first line.
12517 * version.h: added // -*- C++ -*- as first line.
12519 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12521 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12523 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12526 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12531 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12533 * gettext.C: include LString.h even when --disable-nls is on.
12535 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12537 * converter.h (Get): changed argument type from int to
12538 FormatList::size_type to avoid unnecessary conversion.
12540 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12543 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12545 * gettext.h: include LString.h even when --disable-nls is on.
12547 2001-06-07 Juergen Vigna <jug@sad.it>
12549 * text.C (BreakAgain): subst spaces with tabs.
12551 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12552 (resizeInsetsLyXText): set force on resizeLyXText.
12554 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * gettext.h (gettext_init):
12557 (locale_init): use a real definition instead of a macro
12559 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12561 * Bufferview_pimpl.C:
12563 * LColor.C: further lcolor tidies
12565 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * BufferView_pimpl.C (updateScrollbar): simplify.
12569 * BufferView2.C: don't include insets/insetinfo.h, change
12570 prototype for insertInset and call the Pimpl version. let
12571 updateInset call Pimpl version.
12573 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12574 gotoInset to BufferView::Pimpl
12576 2001-06-01 Juergen Vigna <jug@sad.it>
12578 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12579 inside a LockingInset (is the update needed at all?).
12581 2001-05-31 Juergen Vigna <jug@sad.it>
12583 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12584 here not the old one otherwise how should we compare it afterwards
12587 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12592 * FontInfo.C: bring C functions into global namespace when
12595 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12597 * LString.h: make sure config.h has been loaded before LString.h.
12599 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12600 (one for each char read by EatLine!).
12602 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12605 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12607 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12608 to the same as the par we break from
12610 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12614 * MenuBackend.C (expand): also create menu entries for wide
12615 versions of the floats.
12617 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12619 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12621 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12622 frontends/Makefile.am
12628 * tabular.C (getTokenValue): add std::
12630 * tabular-old.C (getTokenValue): add std::
12631 (getTokenValue): ditto
12632 (getTokenValue): ditto
12634 * screen.C (ToggleSelection): adjust
12636 * lyxtext.h: put selection cursors inside a Selection struct.
12638 * lyxfunc.C (moveCursorUpdate): adjust
12640 * lyxfont.C (latexWriteStartChanges): add std::
12642 * lyxfind.C: adjust
12644 * font.h: delete with(char const *, LyXFont const &)
12646 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12648 * FontInfo.C (getFontname): add std::
12650 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12651 (workAreaButtonPress): adjust
12652 (tripleClick): adjust
12654 (moveCursorUpdate): adjust
12657 * BufferView2.C (gotoInset): adjust
12659 2001-05-30 Juergen Vigna <jug@sad.it>
12661 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12662 to check pspell I add this as default as I now have new pspell
12663 libraries and they seem to use this.
12665 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12667 * text2.C (CutSelection): make the cursor valid before the call to
12670 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12672 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12673 relied on 0 terminated strings and other horrors. Bug found due to
12674 the new assert in lyxstring!
12676 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12679 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12684 * lyxfunc.C (processKeySym): change method of getting to the
12687 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12688 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12689 * BufferView_pimpl.[Ch]: here as private methods.
12691 2001-05-28 Juergen Vigna <jug@sad.it>
12693 * text.C (SetHeightOfRow): added the update() call again as it is
12694 needed to initialize inset dimensions!
12696 2001-05-16 Juergen Vigna <jug@sad.it>
12698 * text2.C (SetCharFont): Add new function with BufferView * and
12699 bool toggleall parameters for setting insets internal fonts.
12700 (SetFont): Freeze the undo as we may change fonts in Insets and
12701 all this change should be inside only one Undo!
12703 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12704 setting font's in insets as for them we have the SetFont function!
12706 2001-05-15 Juergen Vigna <jug@sad.it>
12708 * text2.C (ClearSelection): to be sure we REALLY don't have any
12711 * tabular.C (TeXCellPreamble): fixed the left border problem for
12714 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12716 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12719 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12722 LFUN_BREAKPARAGRAPH.
12724 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12725 help test to "internal only", similar for LFUN_INSERT_URL
12727 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12728 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12729 auto_region_delete and deadkeys.
12731 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12734 * LColor.C: remove some dead entries, tidy a little
12736 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12738 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12740 (Dispatch): implement LFUN_ESCAPE
12742 * commandtags.h: add LFUN_ESCAPE
12744 * LyXAction.C (init): add entry for LFUN_ESCAPE
12746 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12747 Remove commented code.
12748 (insertNote): moved here
12749 (open_new_inset): moved here
12751 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12754 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12756 * kbmap.C (findbinding): clean it up and make it work correctly.
12758 * lyx_main.C (init): do not pass argc and argv as parameters
12760 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12762 * buffer.C: fix path for OS/2 & Win32
12766 * lyx_main.C: Added os:: class.
12768 * os2_defines.h: update
12770 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12772 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12773 better by trying again with reduced state.
12775 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12777 * lyxrc.C (read): print error about invalid key sequence only when
12778 debugging (because not all latinX keysyms are known to some X
12781 * kbsequence.C (getiso): add a few std:: qualifiers
12782 (getiso): comment out extra return statement.
12784 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12788 (Dispatch): enhance the accent inset a bit. (not perfect)
12790 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12794 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12796 * bufferlist.C (emergencyWrite): fix assert() call
12798 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12800 * text.C (InsertChar): Added trivial patch to only send the "you
12801 can not do multiple spaces this way" message once during a
12804 2001-05-08 Baruch Even <baruch@lyx.org>
12806 * Makefile.am: Changed order of libraries to get LyX to link properly
12807 with the gnome frontend.
12809 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12811 * LaTeXFeatures.h: add a std:: qualifier
12813 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12815 * paragraph.C (String): use stringstream
12817 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * paragraph.C (writeFile): remove footflag arg
12821 * buffer.C (makeLaTeXFile): use stringstream
12822 (latexParagraphs): remove footnot gurba
12824 * LaTeXFeatures.C (getPackages): use stringstream
12825 (getMacros): likewise
12826 (getTClassPreamble): likewise
12827 (getFloatDefinitions): new method
12829 * paragraph.C (writeFile): reindent
12832 * WorkArea.h: revert the xpos + etc changes.
12834 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12836 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12838 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12839 (pasteSelection): likewise
12840 * text2.C (CreateUndo): likewise
12842 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12844 * minibuffer.C (peek_event): temporarily reduce the functionality
12845 of the minibuffer (to allow args on lfuns)
12847 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12848 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12850 * buffer.C (readInset): add compability reading of old float
12851 lists, add reading of new style float list.
12852 (readInset): avoid reevaluation of inscmd.getCmdName()
12853 (getLists): reindent
12855 * MenuBackend.C (MenuItem): implement parsing of
12856 md_floatlistinsert and md_floatinsert.
12857 (expand::LastFiles): move initalizaton of iterators out of loop,
12858 avoid reevaluation.
12859 (expand::Documents): introduce typdedef vector<string> Strings,
12861 (expand::ExportFormats): introduce typedef vector<Format const *>
12862 Formats, and use it.
12863 (expand): implement FloatListInsert and FloatInsert.
12865 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12866 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12867 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12869 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12871 (Dispatch::LFUN_FLOAT_LIST): implement
12873 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12875 * LaTeX.C (run): Fix problem with --export code.
12877 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12879 * BufferView.[Ch] (workarea): removed.
12880 (getClipboard) new method; wrapper for workarea()->getClipboard()
12882 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12885 * WorkArea.h (width, height, xpos, ypos): These methods all
12886 returned the dimensions of the work_area sub-area of WorkArea,
12887 resulting in a position error if the WorkArea were resized. Now
12888 return the dimensions of the entire WorkArea.
12890 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12892 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12894 * LaTeX.C (deplog): correct the syntax of regex reg1
12896 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * undo.C: remove !NEW_INSETS cruft
12900 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12902 * text2.C: remove !NEW_INSETS cruft
12904 * text.C: remove !NEW_INSETS cruft
12906 * tabular.C: remove !NEW_INSETS cruft
12908 * spellchecker.C: remove !NEW_INSETS cruft
12910 * lyxtext.h: remove !NEW_INSETS cruft
12912 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12914 * lyxfunc.C: remove !NEW_INSETS cruft
12916 * lyxfind.C: remove !NEW_INSETS cruft
12918 * lyx_cb.C: remove !NEW_INSETS cruft
12920 * figureForm.C: remove !NEW_INSETS cruft
12922 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12924 * buffer.[Ch]: remove !NEW_INSETS cruft
12926 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12928 * CutAndPaste.C: remove !NEW_INSETS cruft
12930 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12932 * BufferView2.C: remove !NEW_INSETS cruft
12934 * BufferView.h: remove !NEW_INSETS cruft
12936 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12938 * Lsstream.h: include LString.h before the sstream headers to
12939 fix problem with gcc 2.95.3 and lyxstring
12941 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12943 * lyx_main.C: add using directives when needed for C functions
12944 declared in std:: namespace.
12946 2001-04-27 Juergen Vigna <jug@sad.it>
12948 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12949 (SetHeightOfRow): comment out the update call should not be needed!
12951 2001-04-13 Juergen Vigna <jug@sad.it>
12953 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12954 (LyXTabular): tried to minimize operator= operations (and realized
12955 hopfully Lars wish).
12957 2001-04-27 Juergen Vigna <jug@sad.it>
12959 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12961 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12965 * buffer.C (readInset): hack to make listof algorithm work
12967 * BufferView_pimpl.C: hack to make listof algorithm work
12969 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * LyXAction.C: removed all !NEW_INSETS cruft
12972 (init): moved lfun_item in method
12974 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12976 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12978 * BufferView2.C (theLockingInset): white space.
12980 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * minibuffer.C: include <iostream>
12984 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12986 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12988 * commandtags.h: add LFUN_TRANSPOSE_CHARS
12990 * text.[Ch] (TransposeChars): new method
12992 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * call message directly through LyXView instead of through LyXFunc
12995 * BufferView2.C: adjust
12996 * BufferView_pimpl.C: adjust
12997 * FontLoader.C: adjust
12999 * bufferview_funcs.C: adjust
13000 * converter.C: adjust
13001 * figureForm.C: adjust
13002 * importer.C: adjust
13004 * lyx_gui_misc.C: adjust
13005 * lyxfunc.C: adjust
13008 + more files in subdirs
13010 * lyxparagraph.h (size): move up int file
13013 * adjust all uses of Assert to lyx::Assert.
13015 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13016 lyxfunctional in namespace lyx
13017 * layout.C (hasLayout): ditto
13020 (delete_layout): ditto
13021 (NumberOfClass): ditto
13022 * converter.C (GetFormat): ditto
13027 * bufferlist.C (getFileNames): ditto
13028 (emergencyWriteAll): ditto
13031 * MenuBackend.C (hasSubmenu): ditto
13034 * BufferView_pimpl.C (getInsetByCode): ditto
13036 2001-04-18 Juergen Vigna <jug@sad.it>
13038 * vspace.C (asLatexString): fixed the 100% problem.
13040 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13042 * lyxfunc.C (Dispatch):
13044 * minibuffer.h: add a few std:: qualifiers
13046 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * minibuffer.[Ch]: reimplement so that commands is initiated and
13049 run from lyxfunc, simplified som handling, and made the completion
13050 and history code for complete. wip.
13052 * lyxfunc.C (processKeySym): call message
13053 (miniDispatch): new temporary method
13054 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13055 (LFUN_MESSAGE): implement
13056 (LFUN_MESSAGE_PUSH): implement
13057 (LFUN_MESSAGE_POP): implement
13058 (initMiniBuffer): the initial/defualt minibuffer message.
13060 * lyxfont.[Ch]: inline some more getters
13062 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13064 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13066 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13067 (AutoSave): use LFUN_MESSAGE
13068 (Reconfigure): ditto
13070 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13072 * figureForm.C: use LFUN_MESSAGE
13074 * converter.C (runLaTeX): use LFUN_MESSAGE
13076 * bufferview_funcs.C: use LFUN_MESSAGE
13078 (changeDepth): ditto
13080 * bufferparams.h: use boost::
13082 * bufferlist.h: inherit privately from noncopyable
13084 * bufferlist.C (loadLyXFile): remove some commented code.
13086 * buffer.C (runChktex): use LFUN_MESSAGE
13088 * ShareContainer.h: inherit privately from noncopyable
13090 * ParagraphParameters.[hC] (depth): inline it.
13092 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13094 (message): new method
13095 (messagePush): ditto
13096 (messagePop): ditto
13097 (show): init minibuffer
13098 (showState): direct call
13100 * LaTeX.[Ch]: inherit privately from noncopyable
13101 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13102 instead of WriteStatus.
13104 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13106 * BufferView_pimpl.C (buffer): don't init minibuffer
13107 (workAreaButtonPress): use LFUN_MESSAGE
13108 (workAreaButtonRelease): ditto
13109 (savePosition): ditto
13110 (restorePosition): ditto
13111 (MenuInsertLyXFile): ditto
13112 (workAreaExpose): don't init minibuffer
13113 (update): remove commented code, simplify
13115 * BufferView2.C (openStuff): use LFUN_MESSAGE
13116 (toggleFloat): ditto
13119 (copyEnvironment): ditto
13120 (pasteEnvironment): ditto
13125 (updateInset): remove some commented code
13127 * lastfiles.h: inherit privately from noncopyable
13130 * lyx_main.h: ditto
13132 * lyxlex_pimpl.h: ditto
13134 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13135 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13136 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13138 * LyXAction.h: inherit privately from noncopyable, add methods
13139 func_begin, func_end, returning iterators to the func map.
13141 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13142 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13143 (func_begin): new method
13144 (func_end): new method
13146 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13148 (copySelection): ditto
13149 (pasteSelection): ditto
13151 * BufferView.C: whitespace change
13152 * BufferView.h: inherit privately from noncopyable
13154 2001-04-16 Allan Rae <rae@lyx.org>
13156 * tabular-old.C (l_getline):
13157 * spellchecker.C (sc_check_word):
13158 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13159 an unrecognised preprocessor directive. So ensure they're wrapped.
13161 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13163 * src/exporter.C (Export): Give an error message when path to file
13166 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13168 * LaTeX.C (deplog): Always check that foundfile exists.
13170 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13173 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13175 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * tabular.[Ch] (getLabelList): implement new method
13179 * minibuffer.h: comment ouf setTiimer
13181 * minibuffer.C (ExecutingCB): constify res
13182 (peek_event): constify s
13183 (Set): constify ntext
13184 (Init): constify nicename
13186 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13188 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13189 (savePosition): use two params to Minibuffer::Set
13190 (restorePosition): ditto
13192 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13194 * lyx_main.C: include language.h
13196 * Makefile.am (lyx_main.o): add language.h
13198 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13204 * CutAndPaste.C: include gettext.h
13206 * lyxfont.h: remove old hack with ON and OFF.
13209 * lyxfont.h: do not include language.h...
13214 * bufferview_funcs.C:
13220 * paragraph.C: ... but do it here instead
13222 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13226 * tabular.C: small reformat
13228 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13231 (BreakParagraph): ditto
13232 (SetOnlyLayout): ditto
13235 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13238 * lastfiles.C: removed most using decl, add std:: where needed
13240 * buffer.C: ws changes
13242 * MenuBackend.C (class compare_format): put into anon namespace
13243 (expand): constify label, names, action, action2
13246 * text.C (SingleWidth): constify font
13247 (IsBoundary): constify rtl2
13248 (GetVisibleRow): constify ww
13250 * LaTeX.C (deplog): constify logfile
13252 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13254 (workAreaExpose): constify widthChange, heightChange
13256 * lyxrow.C (par): moved
13259 * lyxrow.h: as inlines here
13261 * lyxfont.h (shape): moved from lyxfont.C
13262 (emph): moved from lyxfont.C
13264 * lyxfont.C (LyXFont): use initialization list for all
13266 (shape): move to lyxfont.h as inline
13267 (emph): move to lyxfont.h as inline
13270 2001-04-04 Juergen Vigna <jug@sad.it>
13272 * vspace.C: had to include stdio.h for use of sscanf
13274 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13277 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13278 independent of xforms.
13280 2001-04-02 Juergen Vigna <jug@sad.it>
13282 * spellchecker.C: fixed namespace placing!
13284 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13286 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13287 the LyXParagraph * is 0.
13289 2001-03-29 Juergen Vigna <jug@sad.it>
13291 * vspace.C: added support for %, c%, p%, l%.
13292 (stringFromUnit): added helper function.
13293 (asLatexString): changed to give right results for the %-values.
13295 * buffer.C: convert the widthp in a width%.
13297 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13299 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13302 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13303 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13305 * lyx_cb.[Ch]: see above.
13307 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13311 * lyx.[Ch]: replaced by figure_form.[Ch].
13315 * lyxfunc.C: changed headers associated with above changes.
13317 2001-03-27 Juergen Vigna <jug@sad.it>
13319 * BufferView_pimpl.C: set the temporary cursor right!
13321 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13323 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13325 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13327 * LString.h: removed "using std::getline"!
13329 * BufferView_pimpl.C (Dispatch): changes due to changes in
13330 InsetInclude::Params.
13332 * buffer.C (tag_name): removed redundant break statements as they were
13333 producing lots of warnings with my compiler.
13335 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13337 * LString.h: add "using std::getline" when using the real <string>.
13339 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13341 * buffer.C: removed bitset usage.
13342 PAR_TAG moved to an anonymous name space.
13343 (tag_name): new funtion, also in the anonymous namespace.
13344 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13345 (makeDocBookFile): clean code. Completed transition from string arrays
13347 (SimpleDocBookOnePar): code clean.
13349 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13351 * tabular.C: add some comments.
13353 2001-03-22 Juergen Vigna <jug@sad.it>
13355 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13356 compatibility read a bit and fixed bug with minipage in different
13359 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13361 * buffer.C (pop_tag): removed.
13362 (push_tag): removed.
13363 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13364 array replaced with vector. Added support for CDATA sections.
13365 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13367 (makeDocBookFile): XML conformant declaration of CDATA section,
13368 fixed bug related to <emphasis> in the first paragraph char.
13369 (sgmlOpenTag): exclude empty tags.
13370 (sgmlCloseTag): ditto.
13372 * buffer.h (pop_tag): removed.
13373 (push_tag): removed.
13375 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13377 * language.h (Languages): added size_type and size().
13379 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13381 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13382 response on compability reading of minipages. One probliem is that
13383 the old usage of minipages was «flertydig»
13385 * several files here and in subdirs: don't use static at file
13386 scope use anon namespaces instead.
13388 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13390 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13391 LaTeX output. This is necessary for Literate document
13394 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13396 * buffer.C: insert hfill when needed.
13398 * tabular.C (l_getline): use string::erase, small whitespace change.
13400 * BufferView_pimpl.C: try the anon namespace.
13401 * WorkArea.C: ditto
13403 2001-03-16 Juergen Vigna <jug@sad.it>
13405 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13406 otherwise it won't open options-dialogs.
13408 * buffer.C: honor pextraWidth(p) on converting minipages.
13410 * tabular.C (l_getline): changed the functions to strip trailing \r.
13412 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13414 * BufferView_pimpl.C:
13415 * minibuffer..C: added "using SigC::slot" declaration.
13417 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13419 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13425 * paragraph.C: ditto
13427 * lyxtext.h: NO_PEXTRA
13429 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13431 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13432 * ParameterStruct.h: ditto
13433 * ParagraphParameters.h: ditto
13434 * lyxparagraph.h: ditto
13436 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13438 * buffer.C: add compability for minipage alignment.
13439 (latexParagraphs): remove unwanted pextra check.
13441 * several files: remove CXX_WORKING_NAMESPACES
13443 * buffer.C (pop_tag): tie is in namespace boost
13445 * BufferView.h: noncopyable is in namespace boost
13447 * lyx_main.h: ditto
13450 * lastfiles.h: ditto
13451 * bufferlist.h: ditto
13452 * ShareContainer.h: ditto
13454 * LyXAction.h: ditto
13457 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13459 * Merging changes from BRANCH_MVC back into HEAD.
13461 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13463 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13465 * BufferView_pimpl.C: change from intl.C
13469 * Makefile.am: move combox.*
13475 * intl.C: remove dialog (covered by prefs)
13477 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13479 * lyxfunc.C (Dispatch): removed redundant break statement.
13481 2001-03-14 Juergen Vigna <jug@sad.it>
13483 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13485 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13487 * buffer.C: add hack to fix compability reading of minipages.
13489 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13491 * buffer.C (getLists): Cleanup.
13493 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * lyxfont.C (update): don't honor toggleall on font size.
13497 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13501 * Makefile.am: moved to frontends/xforms/
13505 * BufferView_pimpl.C: changes for moved mathpanel
13507 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13509 * gettext.h: fix gettext_init() in --disable-nls
13511 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13515 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13518 * lyx.h: strip external form
13520 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13522 * BufferView_pimpl.C: add comment, destroySplash()
13524 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13526 * BufferView_pimpl.C:
13530 * lyxfunc.C: use re-worked insetinclude
13532 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13534 * buffer.C: add using std::stringstream.
13536 * lyx_cb.C: readd using std::ios.
13538 * buffer.C: add using std::map.
13540 * BufferView_pimpl.C: add using std::vector.
13542 * ShareContainer.h: add std:: to swap.
13544 * buffer.h: add some typedefs
13545 * buffer.C (getLists): use them
13546 (getLists): renamed from getTocList.
13547 add a counter for the different float types and use it in the
13549 (getLists): use the same counter for the NEW_INSETS and the "non"
13552 * lyx_cb.h: remove unused items, includes, using etc.
13554 * ShareContainer.h: remove some commented code, add more comments
13555 and "documentation".
13557 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13559 * buffer.C (getTocList): make the list also when NEW_INSETS is
13562 * buffer.h: remove TocType
13564 * buffer.C (getTocList): change to return a map<string,
13565 vector<TocItem> >, implement for dynamic number of list.
13567 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13568 * text2.C (PasteSelection): adjust
13569 * CutAndPaste.C (pasteSelection): adjust
13571 * FloatList.C (FloatList): update from the new_insets branch.
13572 * Floating.[Ch]: ditto
13573 * LaTeXFeatures.C: ditto
13575 * lyxlex_pimpl.C: ditto
13577 * paragraph.C (Last): remove when NEW_INSETS is defined.
13579 * other file: changes because of the above.
13581 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13583 * lyxparagraph.h: rename next to next_, previous to previous_,
13584 make them private for NEW_INSETS. Rename Next() to next(),
13585 Previous() to previous().
13587 * other files: changes because of the above.
13589 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13592 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13595 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13597 * main.C (main): pass lyx_localedir to gettext_init().
13599 * gettext.h: remove locale_init and gettext_init macros
13601 * gettext.C (locale_init): new function
13602 (gettext_init): new function
13604 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13607 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13609 * Moved credits to frontends:
13610 * credits.[Ch]: removed
13611 * credits_form.[Ch]: removed
13612 * lyx_gui_misc.C: remove credits stuff
13615 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13617 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13619 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13620 unneeded destructor.
13622 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13623 a standalone pointer again.
13625 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13627 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13633 * ToolbarDefaults.C:
13642 * BufferView_pimpl.C: use new file dialog in GUII
13645 * lyx_cb.C: remove LayoutsCB to Toolbar
13647 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13649 * ShareContainer.h (get): add std:: qualifier
13651 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13653 * ShareContainer.h: define a proper ShareContainer::value_type
13654 type (and use typename to please compaq cxx)
13656 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13658 * lyxparagraph.h: move serveral local vars to
13659 ParameterStruct/ParagraphParameters., use ShareContainer in
13660 FontTable., make vars in FontTable private and add getter and
13663 * paragraph.C: changes because of the above.
13665 * lyxfont.h: remove copy constructor and copy assignment. (the
13666 default ones is ok), move number inside FontBits. move inlines to
13669 * lyxfont.C: add number to initializaton of statics, move several
13670 inlines here. constify several local vars. some whitespace
13671 cleanup. Dont hide outerscope variables.
13673 * Spacing.h: add two new constructors to match the set methods.
13675 * ShareContainer.h: new file, will perhaps be moved to support
13677 * ParameterStruct.h: new file
13679 * ParagraphParameters.h: new file
13681 * ParagraphParameters.C: new file
13683 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13684 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13686 * BufferView_pimpl.C: ParagraphParameter changes.
13687 * buffer.C: Likewise.
13688 * bufferview_funcs.C: Likewise.
13689 * text.C: Likewise.
13690 * text2.C: Likewise.
13692 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13694 * lyxfind.C (LyXReplace): do not redefine default argument in
13696 (IsStringInText): ditto
13697 (SearchForward): ditto
13698 (SearchBackward): ditto
13700 2001-03-06 Juergen Vigna <jug@sad.it>
13702 * lyxfind.C (IsStringInText): put parentes around expressions.
13704 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13706 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13708 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13710 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13712 * stl_string_fwd.h: add comment
13714 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13717 * tabular.C: remove unused DocBook methods
13723 killed DO_USE_DEFAULT_LANGUAGE
13725 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * lyx_gui.C: do not include language.h.
13729 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13730 arguments in function implementation.
13732 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13734 * BufferView_pimpl.C: add <ctime>
13736 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13738 * BufferView_pimpl.C: add using std::find_if
13740 2001-02-27 José Matos <jamatos@fep.up.pt>
13742 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13745 2001-02-11 José Matos <jamatos@fep.up.pt>
13747 * buffer.C (makeDocBookFile): command styles now have a parameter as
13748 "title" by default.
13750 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13752 * layout_forms.[Ch]: removed
13753 * lyx_cb.[Ch]: out character
13754 * lyx_gui.C: out character
13755 * lyx_gui_misc.C: out character
13756 * bufferview_funcs.C: : out character,
13757 added toggleall as parameter in ToggleAndShow
13759 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13761 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13763 * text2.C (SetCurrentFont): Disable number property at boundary.
13765 2001-02-26 Juergen Vigna <jug@sad.it>
13767 * lyxfunc.C (getStatus): added a string argument override function so
13768 that this is correctly called from LyXFunc::Dispatch if it contains a
13769 do_not_use_argument which is used!
13770 (Dispatch): added check for "custom" export and call appropriate func.
13772 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13774 * lyxrc.C: Add language_command_local, language_use_babel and
13775 language_global_options.
13777 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13779 * buffer.C (makeLaTeXFile): Use language_use_babel and
13780 language_global_options.
13782 2001-02-23 Juergen Vigna <jug@sad.it>
13784 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13785 which works with LyXText and putted it inside BufferView. Here now we
13786 only call for that part the BufferView::Dispatch() function.
13788 * BufferView.C (Dispatch): added.
13790 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13791 functions which needs to use a LyXText over from LyXFunc.
13792 (MenuInsertLyXFile): added
13793 (getInsetByCode): added
13794 (moveCursorUpdate): added
13795 (static TEXT): added
13797 2001-02-22 Juergen Vigna <jug@sad.it>
13799 * BufferView_pimpl.C (update): call a status update to see if LyXText
13802 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13804 * vc-backend.C (revert): implement for CVS
13805 (getLog): implement for CVS
13807 2001-02-20 Juergen Vigna <jug@sad.it>
13809 * text2.C (ClearSelection): added BufferView param for inset_owner call
13811 * lyxfunc.C (TEXT): added this function and use it instead of
13812 directly owner->view()-text of getLyXText().
13814 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13816 * src/layout_forms.C: out preamble
13817 * src/layout_forms.h: out preamble
13818 * src/lyx_cb.C: out preamble
13819 * src/lyx_cb.h: out preamble
13820 * src/lyx_gui.C: out preamble
13821 * src/lyx_gui_misc.C: out preamble
13822 * src/lyxfunc.C: connect with guii preamble
13824 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13826 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13828 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13830 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13831 whether to run bibtex.
13833 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13835 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13837 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13839 * Makefile.am (lyx_SOURCES): removed bibforms.h
13841 * vspace.h: doxygen
13843 * text.C (GetVisibleRow): make several local vars const
13845 * tabular.C: small cleanup.
13847 * lyxserver.C (callback): use compare instead of strncmp
13849 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13850 inlines to after class or to paragraph.C
13852 * lyxfont.h: remove friend operator!=
13854 * converter.h: move friend bool operator< to non friend and after
13857 * combox.h: small cleanup
13859 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13860 to inlines after class def.
13862 * buffer.C (pop_tag): use string operations instead of strcmp
13864 * bmtable.c: doxygen, small cleanup
13866 * LaTeX.h: remove friend operator==
13868 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13880 * BufferView_pimpl.C:
13881 * BufferView.[Ch]: remove cruft
13883 2001-02-14 Juergen Vigna <jug@sad.it>
13885 * lyxfunc.C: removed #if 0 unused code
13887 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13889 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13891 * text2.C (SetSelection): added a BufferView * parameter
13893 2001-02-13 Juergen Vigna <jug@sad.it>
13895 * lyxfunc.C (Dispatch): fixed protected blank problem.
13896 * BufferView2.C (protectedBlank): added LyxText * parameter.
13898 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13899 (AppendColumn): same as above for column_info.
13901 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13902 (moveCursorUpdate): use a LyXText param for support of InsetText.
13904 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13905 (tripleClick): ditto
13907 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13909 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13911 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13913 * text2.C (SetSelection): set correct update status if inset_owner
13914 (ToggleFree): ditto
13916 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13918 * tabular.C: remove some commented code.
13920 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13922 * BufferView_pimpl.C: call hideSplash()
13924 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13927 * bibforms.h: remove
13930 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13931 add LFUN_CHILD_CREATE
13933 * counters.h: fix tiny typo
13938 * lyx.C: move splash to frontends/xforms/
13940 * lyx_gui_misc.C: move Include and Bibform to frontends
13942 * lyxvc.h: clarify comment
13944 * vspace.C: tiny housekeeping
13946 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13948 * text.C (PrepareToPrint): RTL Fix.
13950 * paragraph.C (GetUChar): New method.
13951 (String): Use GetUChar.
13953 * buffer.C (asciiParagraph): Use GetUChar.
13955 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13957 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13959 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13962 * buffer.C: rename to getLogName(), handle
13963 build log / latex log nicely
13965 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13968 * MenuBackend.h: remove support for reference menuitem type.
13970 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13972 * BufferView_pimpl.C: housekeeping
13973 * BufferView_pimpl.h:
13978 * minibuffer.h: move Timeout GUI-I
13980 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13982 * lyxrc.C (read): Update converters data-structures.
13984 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13986 * LaTeX.h (operator!=): add operator != for Aux_Info
13988 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
13990 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13992 * LaTeXLog.C: deleted, useful code moved to Buffer
13995 * buffer.C: new function getLatexLogName()
14001 * lyxfunc.C: use frontends for LaTeX and VC logs
14003 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14005 * LaTeX.h: yet another std:: that Allan forgot.
14007 * Variables.C (set): renamed from isset(), because this clashes
14008 with some HP-UX macros (grr).
14010 2001-02-06 Allan Rae <rae@lyx.org>
14012 * LaTeX.h: Another bug fix. Missing std:: this time.
14014 2001-02-04 Allan Rae <rae@lyx.org>
14016 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14017 floats problem. I've left it commented out because it's not quite
14018 correct. It should also test that the current object is a table or
14019 figure inset. But I haven't gotten around to figuring out how to do
14020 that. I *think* it'll be something like: "table" == inset.type()
14022 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14025 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14027 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14028 all the citation/databases/styles in the auxilary file.
14029 (run): Rerun latex if there was a babel language error.
14031 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14033 * text.C (Backspace): Preserve the font when changing newline char
14035 (BreakParagraph): If the cursor is before a space, delete the space.
14037 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14039 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14041 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14042 new argument (code).
14043 (ChangeCitationsIfUnique): New method.
14045 * paragraph.C (GetPositionOfInset): Handle bibkey.
14047 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14049 * BufferView_pimpl.h: change type of Position::par_pos to
14050 LyXParagraph::size_type.
14052 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14054 * BufferView_pimpl.C (savePosition, restorePosition): Write
14055 messages to minibuffer.
14057 2001-01-28 José Matos <jamatos@fep.up.pt>
14059 * buffer.C (makeDocBookFile): adds support for document language.
14060 A silly restriction on the name of LatexCommand types where removed.
14061 Added support for CDATA sections, allows to chars unescaped, used
14062 among others in code, to avoid escape < and >.
14064 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14066 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14067 saved positions instrad of a stack. Furthermore, a position is
14068 stored using paragraph id/paragraph position.
14070 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14071 Remove LFUN_REF_BACK.
14073 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14075 * converter.C (dvipdfm_options): New method.
14077 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14079 * vspace.C (isValidLength): Fix for empty input string.
14081 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14083 * LyXAction.C (init): change description of LFUN_FIGURE to
14086 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * LaTeX.C: add using directive
14090 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14092 * MenuBackend.C (expand): Fix the sorting of the formats.
14094 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14096 * lyx_main.C: tiny error message fix
14098 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14100 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14101 calling fl_initialize(). This fixes the problem with ',' as
14102 decimal separator in text files.
14104 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14106 * trans.C (process): Fix the keymap bug.
14108 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14110 * LaTeX.C (scanAuxFiles): New method. Provides support for
14111 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14112 (scanLogFile) Scan for "run BibTeX" messages.
14114 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14115 OT1 font encoding. Also, load the aecompl package if the ae
14118 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14120 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14122 * texrow.C (increasePos): turn two error messages into debug
14125 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14127 * LaTeX.C (scanAux): Handle the \@input macro.
14128 (runBibTeX): Use scanAux().
14130 * language.C (latex_options_): New field.
14132 * LaTeXFeatures.C (getMacros): Add language macros.
14134 * buffer.C (makeLaTeXFile): Small fix.
14136 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14140 * text2.C: add a using directive.
14142 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14147 * lyxfunc.C: kill LyXBell.
14149 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14151 * text.C (IsBoundary): Remove the error message
14153 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14155 * lyxrc.C (setDefaults): Correct initialization value for
14158 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14160 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14163 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14164 and GotoNextNote().
14166 * src/LyXAction.C: Added reference-next.
14168 * text.C (InsertChar): Use contains instead of strchr.
14170 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14172 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14174 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14175 alignment commands (when needed).
14177 * text.C (InsertChar): Add ':' to number separator chars.