1 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4 when a pit is enough. Standarize a couple of loops.
6 2003-12-05 Angus Leeming <leeming@lyx.org>
8 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
9 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
10 data to the re-worked "log" dialog.
12 2003-12-03 André Pönitz <poenitz@gmx.net>
20 * text2.C: use Inset::getText instead of Inset::getParagraph
22 2003-12-03 André Pönitz <poenitz@gmx.net>
26 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
27 InsetText::read() as LyXText::read()
29 2003-12-02 Angus Leeming <leeming@lyx.org>
31 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
32 type. Add a comment in the implementation that the function uses
33 the stream's bad() function rather than fail() as the std::streams
36 2003-12-02 André Pönitz <poenitz@gmx.net>
38 * lyxlex.[Ch]: make interface more similar to std::stream
40 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
42 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
44 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
46 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
48 * vspace.[Ch]: remove VSpace::NONE
50 2003-12-01 André Pönitz <poenitz@gmx.net>
53 * lyxtext.h: move ParagraphList member to LyXText
54 rename LyXText::ownerParagraphs to LyXText::paragraph
67 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
69 * undo.C: fix cursor positioning
71 2003-12-01 John Levon <levon@movementarian.org>
73 * BufferView_pimpl.C: fix a crash on exit with
76 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
78 * BranchList.C: fix setSelected() method.
80 2003-11-28 André Pönitz <poenitz@gmx.net>
82 * ParagraphParameters.[Ch]:
83 * ParameterStruct.h: remove space above/below from Paragraph to
98 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
100 * factory.C: Syntax change for CharStyles
102 2003-11-28 André Pönitz <poenitz@gmx.net>
107 * buffer.[Ch]: move LyXText member
109 2003-11-28 André Pönitz <poenitz@gmx.net>
111 * BufferView.[Ch]: make LyXText * text a private member
113 * BufferView_pimpl.C:
124 * output_plaintext.C: cleanup
126 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
129 * lyxtextclass.[Ch]: parametrize SGML document header
131 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
134 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
137 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
139 * text2.C (setFont): rework using PosIterator (no more recursive)
140 (setCharFont): no more needed
141 (setLayout): no more selection cursors fiddling (done by redoCursor)
142 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
143 destroy remaining ones)
145 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
147 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
149 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
152 * text3.C: adjust + re-allow multi par depth changes
153 * textcursor.C: simplify a bit
155 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
161 * src/output_docbook.C:
162 * src/output_latex.C:
167 * src/text2.C: Introducing a number of tags parametrizing various
168 XML formats that we may want to support
170 2003-11-25 André Pönitz <poenitz@gmx.net>
172 * InsetList.[Ch] (begein, end): inline as suggested by profiler
174 * lyxtext.h (leftMargin/rightMargin): simplify interface
181 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
183 * lyxfunc.C (dispatch): propogate the bibtex databases from the
184 master file to any child files. Fixes bug 546.
186 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
188 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
190 2003-11-24 André Pönitz <poenitz@gmx.net>
192 * rowpainter.C: simplification
194 * text2.C (updateCounters): remove call to redoParagraph on
195 changed labels as this is far too expensive.
197 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
199 * converter.C (convert): fix a crash: this function gets
200 called with buffer == 0 from importer code.
202 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
204 * text3.C (cursorPrevious): make sure that we do not compare
205 iterators form different containers.
208 * rowpainter.C (paintSelection): make sure that we do not compare
209 iterators from different containers.
211 * text3.C (dispatch): [PRIOR] make sure that we do not compare
212 iterators from different ParagraphList containers.
215 * text2.C (LyXText): change order of initialization slightly
216 (operator=): new function. copy all variables except cache_par_
217 (moveUp): make sure that we do not compare iterators from
218 different ParagraphList constainers.
221 * text.C (firstPar): new function
222 (lastPar): new function
223 (endPar): new function
225 * lyxtext.h: move things around and group public functions, public
226 variables, private functions, private variables
228 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
230 * factory.C: change call to InsetERT constructor to avoid
231 additional invocation of method status
232 * text2.C (toggleInset): remove redundant update() call
233 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
234 instead of a Bufferview pointer
236 2003-11-21 André Pönitz <poenitz@gmx.net>
238 * rowpainter.C: simplification
240 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
242 * text3.C (dispatch): make possible to extend a word/row selection
245 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
247 * lyxtext.h: x0_,y0_ -> xo_,yo_
248 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
249 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
250 * rowpainter.C (paintRows): paint full paragraphs
252 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
254 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
257 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
259 * lyxtext.h: add x0_, y0_
260 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
261 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
263 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
265 * text2.C (setCursorIntern): move the x_target update here *
266 * text3.C: change some bv() to true/false in calls to
267 cursorUp/Down/Right/Left
268 * cursor.C: use helper function.
270 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
272 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
273 * paragraph_funcs.[Ch]: correct comment
274 * rowpainter.C: do not paint selections away from bv->cursor()
275 Fix a long standing selection painting bug.
276 * text3.C: generalize mouse-selection code to LyXTexts other that
278 * textcursor.C: do not use y coords if we can use par offsets
280 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
282 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
283 cursor position after e.g. inset insert)
285 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
287 * lyxfind.C (replace): adjust to locking removal + some
290 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
292 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
295 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
298 * output_docbook.C: XML sanitation: new layout
299 parameters InnerTag and CommandDepth
301 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
303 * BufferView_pimpl.C:
305 * text3.C: Fix the insertion and modification of button-style
308 2003-11-13 André Pönitz <poenitz@gmx.net>
310 * InsetList.[Ch]: remove deleteLyXText
312 * paragraph.[Ch]: cache beginOfBody position
317 * text3.C: remove superfluous update() calls
321 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
323 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
324 * BufferView.C (fitLockedInsetCursor): remove
325 * cursor.[Ch] (getDim): add
326 * text.C (getRowNearY): add faster version
327 * text3.C: remove some update calls
329 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
341 * text3.C: The Character Style /XML short element patch.
343 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
346 * factory.C: Small step to solving 'unable to insert some insets'
349 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
351 * cursor.[Ch] (updatePos): new function for updating the y
352 position of the tip inset
353 * bufferview_funcs.C (put_selection_at):
354 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
356 2003-11-11 André Pönitz <poenitz@gmx.net>
358 * text.C: remove big comment on invalid Paragraph pointers as it is
361 2003-11-11 André Pönitz <poenitz@gmx.net>
363 * text_funcs.[Ch]: merge with ...
371 * Makefile.am: remove text_funcs.[Ch]
373 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
375 * cursor.C (getPos): return absolute cached y coord
377 * BufferView_pimpl.C (fitCursor): new simplistic code
378 (workAreaDispatch): add a fitCursor call
380 2003-11-10 André Pönitz <poenitz@gmx.net>
383 * BufferView_pimpl.[Ch]: merge update() and updateInset()
385 2003-11-10 André Pönitz <poenitz@gmx.net>
387 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
388 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
389 indicate that the cursor needs to leave an inset
391 * lyxtext.h: remove inset locking
393 * cursor.[Ch]: re-implement functionality provided by inset locking
396 * BufferView_pimpl.[Ch]:
398 * bufferview_funcs.[Ch]:
410 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
412 * PosIterator.[Ch]: replace the stack with a vector, add inset
414 * iterators.[C]: adjust
416 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
418 * lyxfind.C (replaceAll): mark the buffer dirty if something was
420 * paragraph_funcs.C (readParToken): put the correct id in the
421 error item, not the id of the top paragraph
423 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
425 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
426 * bufferview_funcs.C (put_selection_at): use the above
428 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
430 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
432 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * output_plaintext.h:
437 * output_docbook.h: add #include statements
439 2003-11-05 José Matos <jamatos@lyx.org>
441 * output_docbook.[Ch]:
443 * output_linuxdoc.[Ch]:
444 * output_plaintext.[Ch]: New files for output formats.
445 * output.[Ch]: New file for helper functions.
448 * paragraph_funcs.[Ch]: output functions moved to new files.
450 * outputparams.h: rename of latexrunparams.h
458 * paragraph_funcs.[Ch]:
459 * paragraph_pimpl.[Ch]:
460 * tabular.[Ch]: rename ascii to plaintext
461 and LatexRunParams to OutputParams.
463 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
465 * iterators.[Ch] (text): require bv argument
466 * undo.C (recordUndo):
467 * lyxfunc.C (dispatch):
468 * bufferview_funcs.C (put_selection_at): adjust
470 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
472 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
474 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
476 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
479 2003-11-04 André Pönitz <poenitz@gmx.net>
481 * cursor.[Ch]: restructure
484 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
486 * iterators.[Ch] (asCursor): remove
488 * lfuns.h: remove LFUN_INSET_EDIT
494 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
496 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
498 * lyxfind.[Ch]: complete overhaul
499 * BufferView_pimpl.C:
501 * paragraph.[Ch] (insert): add
503 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
507 * text.C: remove dead spellcheck code
509 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
511 * dispatchresult.h: add a val setter
513 * cursor.C (dispatch): use a tempvar for data_[i]
515 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
517 * PosIterator.[Ch]: compile fix
519 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
521 * text.C (cursorPar): deactivate the cursor cache
523 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
525 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
527 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
529 * text3.C (dispatch): adjust for new DisptchResult semantics.
531 * lyxfunc.C (dispatch): handle update when return from
532 Cursor::dispatch, adjust for new DispatchResult semantics.
534 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
535 DispatchResult(true) mean to not update. Add class functions for
536 setting dispatched and update, as well as reading.
538 * cursor.C (dispatch): don't handle update here
540 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
543 * trans_mgr.C: adjust
545 * paragraph_funcs.C (readParToken): exception safety
547 * lyxvc.h: store the vcs pointer in a scoped_ptr
550 * lyxsocket.C (serverCallback): exception safety
552 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
554 * ispell.C (clone): make it return a auto_ptr
556 * factory.C (createInset): exception safety
557 (readInset): exception safety
559 * bufferlist.C (newBuffer): exception safety
561 * Thesaurus.C (Thesaurus): use initialization for aik_
563 * MenuBackend.C (expandToc): exception safety.
565 2003-11-03 André Pönitz <poenitz@gmx.net>
569 * bufferview_funcs.C: remove getInsetFromId()
572 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
578 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
580 * PosIterator.C (distance, advance): new
581 * bufferview_funcs.[Ch] (put_selection_at): new
582 * iterators.[Ch] (lockPath): new
584 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
586 * iterators.[Ch] (asPosIterator): added
587 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
588 * PosIterator.[Ch]: added
590 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * cursor.C (dispatch):
595 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
597 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
598 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
599 contructor, add a class function dispatched. Remove operator>=
601 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * debug.C: only use the default constructor for debugstream
606 * main.C (main): include debug.h and setup the lyxerr streambuf
609 2003-10-31 José Matos <jamatos@lyx.org>
611 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
613 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
614 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
615 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
616 * paragraph_pimpl.C (simpleTeXSpecialC):
617 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
618 add LatexRunParams argument.
620 * exporter.C (Export): change call accordingly.
622 * latexrunparams.h: add new member to take care of the other backends.
623 2003-10-30 José Matos <jamatos@lyx.org>
625 * buffer.C (makeLinuxDocFile, makeDocBookFile):
626 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
627 factorise code for paragraph output.
629 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
632 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
634 * text3.C (dispatch):
635 * lyxfunc.C (dispatch):
636 * cursor.C (dispatch):
637 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
639 * dispatchresult.h: make the dispatch_result_t ctor explicit
641 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
644 * buffer.C: small refactoring of docbook stuff
646 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
648 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
651 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
653 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
654 operator dispatch_result_t, and operators for == != and >=
656 * cursor.C (dispatch): adjust for operator dispatch_result_t
657 removal. comment out call to update
659 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
661 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
669 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
672 * dispatchresult.h: new file, DispatchResult broken out of
675 * Makefile.am (lyx_SOURCES): add dispatchresult.h
677 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
679 * text.C (rowBreakPoint): put a hack inside #if 0
681 2003-10-28 André Pönitz <poenitz@gmx.net>
688 * text2.C: general cleanup (lots of small stuff)
690 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
692 * text2.C (cursorEnd): simple fix to the "end key goes to one
693 before the end on last row" bug
695 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
697 * text.C (backspace): fix the "zombie characters"
699 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
701 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
703 2003-10-27 André Pönitz <poenitz@gmx.net>
705 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
707 * factory.C: handle new InsetPagebreak, InsetLine
709 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
710 and move handling into new InsetPagebreak, InsetLine
712 * BufferView_pimpl.C:
714 * ParagraphParameters.C:
727 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
736 * text3.C: remove lastPos uses in favour of Row::endpos
738 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
740 * undo.C (performUndoOrRedo): fix two crashes by setting a
741 cursor by hand and reordering some calls. Use bv->lockInset instead
742 of inset->edit because the latter loses cursor information
744 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
746 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
748 (rowBreakPoint): fix width. change point to point + 1.
751 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
754 * lyxfunc.C: fix (at least partly) the problems
755 with the Nav menu and headers inside branch insets
758 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
760 * paragraph.C (getChar): add strong asserts
762 * lyxrow_funcs.C (lastPos): remove hideous hack
764 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
765 (fill): adjust to that (avoid an infinite loop)
767 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
769 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
771 2003-10-23 André Pönitz <poenitz@gmx.net>
773 * RowList_fwd.h: change list<> to vector<> to gain speed
774 after suggestion from Alfredo
776 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
778 * lyxtext.h: move the bidi stuff from here...
781 * Bidi.[Ch]: ... to here
783 2003-10-23 André Pönitz <poenitz@gmx.net>
786 * text.C (isLastRow, isFirstRow): new functions
788 * paragraph.h: new width cache member
790 * rowpainter.C: replace RowList::iterator with Row & where possible
792 * lyxfunc.C: replace several view()->text with a single call
794 * toc.C: fix 'unused' warning
796 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
798 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
799 when woring with stream::pos_type
800 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
802 2003-10-22 André Pönitz <poenitz@gmx.net>
805 * text.C: use Row & instead of RowList::iterator
807 * lyxrow.h: rename end() to endpos()
813 2003-10-22 Angus Leeming <leeming@lyx.org>
815 * buffer.[Ch] (fully_loaded): new member function, returning true
816 only when the file has been loaded fully.
817 Used to prevent the premature generation of previews and by the
818 citation inset to prevent computation of the natbib-style label.
820 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
821 templates are all set up.
823 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
825 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
827 * text.C: fixed an "oops" in the "is a bit silly"
830 2003-10-21 André Pönitz <poenitz@gmx.net>
832 * FuncStatus.[Ch]: small stuff, whitespace
834 * lyxfont.[Ch]: operator<<() for debug reasons
838 * lyxtext.h: whitespace, spelling
840 * paragraph.C: naming of variables
843 * text2.C: small stuff
846 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
848 * text.C: (1) finish off the inset display() work;
849 (2) fix the "is a bit silly" bug (accessing char
852 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
854 * text.C: re-introduce display() for insets, fixing the
855 various bugs (stretch of line above, math inset
858 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * text.C (rightMargin): remove spurious semicolon
862 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
865 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
867 * text3.C: fix one crash due to wrong cursor def
869 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * vc-backend.C (scanMaster): make the regex static
873 * LaTeX.C (scanAuxFile): make the regexs static
875 * text3.C (doInsertInset, dispatch, dispatch):
876 * text2.C (cursorUp, cursorDown):
877 * text.C (selectNextWordToSpellcheck):
878 * BufferView_pimpl.C (dispatch):
879 * lyxfunc.C (dispatch): localDispatch -> dispatch
881 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
883 * lyxsocket.C: include <cerrno>
885 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * lyxfunc.C (dispatch): remove textcache stuff
889 * bufferlist.C (release): remove textcache stuff
892 * TextCache.C: delete file
893 * TextCache.h: delete file
895 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
897 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
898 delete of the bv_->text.
899 (resizeCurrentBuffer): remove texcache stuff
900 (workAreaResize): ditto
902 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
904 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
907 2003-10-16 André Pönitz <poenitz@gmx.net>
914 * text3.C: speed up by storing y positions per paragraph plus per-row
915 offset instead of having a 'full' y position in the row.
917 2003-10-15 André Pönitz <poenitz@gmx.net>
921 * undo.[Ch]: make undo aware of inner insets
923 2003-10-14 Angus Leeming <leeming@lyx.org>
925 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
926 static member functions LyX::ref() and LyX::cref.
927 (lastfiles): new accessor functions for the new lastfiles_ member var.
928 (addLyXView, views_): add a new LyXView to the list of views_.
929 (updateInset): loop over all LyXViews to call their own updateInset
930 member function, returning a pointer to the Buffer owning the inset.
932 * BufferView_pimpl.C (loadLyXFile):
933 * MenuBackend.C (expandLastfiles):
934 * bufferlist.C (MenuWrite, QuitLyX):
935 lastfiles is no longer a global variable.
936 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
938 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
939 static function. Access through LyX::cref().emergencyCleanup().
941 2003-10-14 André Pönitz <poenitz@gmx.net>
943 * iterators.[Ch]: new direct access to innermost LyXText and Inset
945 * undo.[Ch]: restoring part of 'undo in insets'
948 * undo_funcs.[Ch]: merge with undo.[Ch]
950 * tabular.C: small cleansing stuff
952 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
954 * paragraph_funcs.C (readParToken): report unknown insets as error
955 boxes. Use the outer paragraph as location (also for unknown
958 * factory.C (readInset): do not abort on reading an unknown inset.
961 2003-10-13 Angus Leeming <leeming@lyx.org>
963 * lyx_main.C (LyX): remove call to setDisplayTranslator().
965 * lyxrc.C: displayTranslator is now a function,
966 declared in GraphicsTypes.h.
968 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
970 * format.C: new placeholder $$a to pass the socket address.
972 * bufferlist.[Ch]: new function getBufferFromTmp.
974 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
975 files in the temporary dir.
977 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
979 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
981 * Makefile.am: add lyxsocket.[Ch].
983 * lyx_main.C (error_handler): handle SIGPIPE.
985 2003-10-13 André Pönitz <poenitz@gmx.net>
987 * BufferView_pimpl.C:
992 * undo_funcs.[Ch]: use paroffset_type instead of
993 ParagraphList::iterators to prevent multiple conversion
994 (and get a more robust interface)
996 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
998 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1000 * text3.C (dispatch): ditto
1002 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1005 move the onlyfile, use onlyfile instead of foundfile in a couple
1008 * DepTable.C (update): flush the error stream a bit more
1010 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1012 * lyxserver.C (callback): adjust
1014 * lyxfunc.C (getStatus): add a missing brace in commented code
1015 (ensureBufferClean): reindent
1016 (dispatch): delete version taking a string
1018 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * LaTeX.C (deplog): move found file handlig from here...
1021 (handleFoundFile): .. to new function here.
1022 (deplog): make sure to discover several files mentioned on the
1025 2003-10-10 André Pönitz <poenitz@gmx.net>
1032 * text3.C: fix some of the tabular crashes
1034 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1036 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1038 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1040 2003-10-09 André Pönitz <poenitz@gmx.net>
1042 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1045 * BufferView_pimpl.C:
1046 * bufferview_funcs.C:
1057 * undo_funcs.C: adjust
1059 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * text2.C (incrementItemDepth): new function, use a backtracking
1062 algorithm to discover the correct item depth.
1063 (resetEnumCounterIfNeeded): new function, use a backtracking
1064 algorithm to discover if counter reset is needed.
1065 (setCounter): use them. Simplify a bit. Add different labels for
1066 different item depths for itemize.
1068 * paragraph.C (Paragraph): remove initialization of enumdepth
1071 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1072 enumerate and itemize. Change the type of itemdepth to signed char.
1074 2003-10-08 André Pönitz <poenitz@gmx.net>
1076 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1081 * tabular.[Ch]: fix crash after 'row-insert'
1083 2003-10-08 Angus Leeming <leeming@lyx.org>
1085 Fix doxygen warnings.
1087 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1088 Remove CutAndPaste:: prefix from header file declaration.
1090 * LColor.h (fill): remove LColor:: prefix from declaration.
1092 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1093 use lyx::depth_type rather than Paragraph::depth_type so that
1094 header file and .C file match.
1096 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1098 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1099 * aspell.C: \file aspell_local.C -> \file aspell.C
1100 * gettext.C: \file gettext.C -> \file src/gettext.C
1101 * gettext.h: \file gettext.h -> \file src/gettext.h
1102 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1103 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1104 * text.C: \file text.C -> \file src/text.C
1106 * toc.C: move comment so that doxygen is not confused.
1108 2003-10-07 Angus Leeming <leeming@lyx.org>
1110 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1112 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1115 * aspell_local.h: add forgotten std::string's.
1117 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1124 * text3.C: The Box patch. Fancybox support, minipage, parbox
1126 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1132 * ParagraphParameters.h:
1142 * lyxtextclasslist.h:
1145 * paragraph_pimpl.C:
1146 * textcursor.h: add <string> and other small fixes to make Lars'
1147 std::string patch compile with STLport.
1149 2003-10-06 Angus Leeming <leeming@lyx.org>
1151 * LColor.h: Add missing #include <string>.
1153 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * All most all file in all subdirs: Make <string> be the prefered
1156 way of getting to std::string, add using declarations.
1158 2003-10-06 André Pönitz <poenitz@gmx.net>
1160 * metricsinfo.C: initialize LyXFont before changing attribute.
1161 (fixes the 'math in \emph is upright' bug)
1163 2003-10-06 André Pönitz <poenitz@gmx.net>
1165 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1167 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1170 * paragraph_pimpl.C: Small fixes to build using STLport
1172 2003-10-02 André Pönitz <poenitz@gmx.net>
1175 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1177 2003-10-01 André Pönitz <poenitz@gmx.net>
1179 * factory.C: assert early
1181 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * lyx_main.C: remove the global debug object
1185 * debug.h: adjust for new debugstream
1187 * debug.C: adjust for new debugstream and keep the global debug
1190 2003-09-22 Angus Leeming <leeming@lyx.org>
1192 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1193 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1194 an incomplete class LyXFont.
1196 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1198 * factory.C: bug fix in branches
1200 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * lyxfunc.C (processKeySym): adjust
1204 (dispatch): change arg name from ev to func, adjust
1205 (sendDispatchMessage): ditto
1207 * lyx_main.C (defaultKeyBindings): adjust keybindings
1208 (deadKeyBindings): ditto
1210 * kbsequence.C (addkey): return a FuncRequest
1212 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1214 * kbmap.C (bind): take a FuncRequest as arg, adjust
1217 (defkey): change to take a FuncRequest as arg, adjust
1218 (findbinding): take a FuncRequest as arg, adjust.
1220 * funcrequest.h (operator=): added
1222 * funcrequest.C (FuncRequest): default kb_action changed from
1223 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1225 * buffer.C (dispatch): simplify
1226 (dispatch): adjust to take a FuncRequest as arg, adjust
1228 * boost.C (assertion_failed): change assertion message slightly
1230 * ToolbarBackend.C (read): simplify
1232 * MenuBackend.C (binding): adjust call to findbinding, add a
1233 message if no binding is found.
1235 (expandToc): correct by adding a empty FuncRequest
1237 * LyXAction.C: include <boost/assert.hpp>
1238 (isPseudoAction): delete function
1239 (LookupFunc): change name to...
1240 (lookupFunc): this. change return type to FuncRequest.
1241 (getActionName): take kb_action as arg, simplify
1242 (funcHasFlag): add an assert, simplify.
1244 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1246 * toc.C (action): return a FuncRequest, simplify
1248 * lyxfunc.C (processKeySym): adjust
1249 (getStatus): delete version that takes an int.
1251 (dispatch): delete version that takes action as int
1253 (sendDispatchMessage): simplify and adjust
1255 * funcrequest.C (getArg): take unsigned int as arg
1257 * ToolbarBackend.C (read): adjust
1258 (add): delete version that takes func as a string.
1259 (getIton): take a FuncRequest as arg
1261 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1264 * MenuBackend.C (MenuItem): add a new construct that only takes a
1265 Kind, simplify the constructor use for submenus.
1267 (expandLastfiles): adjust
1268 (expandDocuments): adjust
1269 (expandFormats): adjust
1270 (expandFloatListInsert): adjust
1271 (expandFloatInsert): adjust
1272 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1274 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1275 Remove class variables lyx_pseudo_map and lyx_arg_map
1277 * LyXAction.C (searchActionArg): delete function
1278 (getPseudoAction): delete function
1279 (retrieveActionArg): delete function
1280 (LookupFunc): make it return kb_action, simplify.
1281 (getActionName): simplify
1283 * factory.C (createInset): fix new bug
1285 2003-09-19 Angus Leeming <leeming@lyx.org>
1287 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1288 masterFilename_ parameter in the include inset.
1290 * factory.C (createInset): changes due to the changes to InsetInclude.
1292 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1294 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1296 2003-09-18 Angus Leeming <leeming@lyx.org>
1299 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1300 Inset::fillWithBibKeys.
1301 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1303 2003-09-18 Angus Leeming <leeming@lyx.org>
1305 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1307 (ctor): pass and store a 'Buffer const &'
1308 (buffer): new member function.
1310 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1311 '*this' to the LaTeXFeatures ctor.
1313 2003-09-18 Angus Leeming <leeming@lyx.org>
1319 * text.C: rename EnumLColor as LColor_color.
1321 2003-09-18 Angus Leeming <leeming@lyx.org>
1323 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1324 remove #include "insets/insetbase.h" from cursor.h.
1326 2003-09-18 Angus Leeming <leeming@lyx.org>
1328 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1329 InsetOld_code to remove #include "inset.h".
1331 * iterators.C: add #include "insets/inset.h"
1333 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1335 * BufferView.C: remove more locking stuff that apparently doesn't
1336 do anything sensible.
1338 2003-09-16 André Pönitz <poenitz@gmx.net>
1341 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1344 2003-09-16 Angus Leeming <leeming@lyx.org>
1346 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1348 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1351 * paragraph.h: remove #include "lyxfont.h". Forward declare
1354 2003-09-16 Angus Leeming <leeming@lyx.org>
1356 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1357 of support/textutils.h.
1358 (isWord): move the contents of support/textutils.h's IsWordChar here.
1364 * text2.C: add #include "paragraph.h".
1367 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1369 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1375 * LaTeX.C: use namespace alias for lyx::support::os
1377 2003-09-16 Angus Leeming <leeming@lyx.org>
1380 * bufferview_funcs.C:
1383 * paragraph_pimpl.C:
1385 * text.C: add #include "LColor.h".
1387 2003-09-16 Angus Leeming <leeming@lyx.org>
1389 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1390 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1392 Store the FontBits::color variable as an int rather than as an
1393 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1396 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1397 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1398 string calls together.
1400 * lyxrc.C: add #include "LColor.h".
1402 2003-09-15 Angus Leeming <leeming@lyx.org>
1404 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1407 2003-09-15 Angus Leeming <leeming@lyx.org>
1409 * LColor.h: add an EnumLColor wrapper for LColor::color.
1411 * lyxfont.[Ch] (color, setColor, realColor):
1412 * lyxtext.h, text.C (backgroundColor):
1413 pass EnumLColor args to/from the functions, rather than LColor::color
1417 * lyxtext.h: forward declare EnumLColor.
1419 * lyx_main.C: add #include "LColor.h".
1421 2003-09-15 Angus Leeming <leeming@lyx.org>
1423 * .cvsignore: add lyx-gtk.
1425 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1430 * ParagraphParameters.C
1434 * bufferview_funcs.C
1444 * vc-backend.C: remove usage of STRCONV
1446 2003-09-15 Angus Leeming <leeming@lyx.org>
1448 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1449 explicitly define the color passed to the painter.
1451 2003-09-15 Angus Leeming <leeming@lyx.org>
1453 * bufferparams.C (BufferParams): reorder member initializers to avoid
1456 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1458 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1459 * text.C (updateRowPositions): remove an unusual nop
1461 2003-09-12 André Pönitz <poenitz@gmx.net>
1463 * BufferView_pimpl.C:
1472 * Counters.[Ch]: finish the 'automatic counters' job
1474 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1476 * aspell.C: include <boost/assert.cpp> (compile fix)
1478 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1480 * boost.C (assertion_failed): use lyx::support::abort instead of
1483 2003-09-10 Angus Leeming <leeming@lyx.org>
1485 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1486 with their _fwd progeny.
1488 2003-09-09 Angus Leeming <leeming@lyx.org>
1490 134 files throughtout the source tree: replace 'using namespace abc;'
1491 directives with the appropriate 'using abc::xyz;' declarations.
1493 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1495 * boost.C (emergencyCleanup): moved here from LAssert.c
1496 (assertion_failed): new function, called by BOOST_ASSERT
1498 * several files: change Assert to BOOST_ASSERT
1500 2003-09-09 Angus Leeming <leeming@lyx.org>
1502 * buffer.[Ch]: Add an Impl class and move Buffer's member
1503 variables into it. As a result move several header files out of
1506 Add header files to lots of .C files all over the tree as a result.
1508 2003-09-09 Angus Leeming <leeming@lyx.org>
1510 * buffer.[Ch]: make Buffer's member variables private. Add
1513 Lots of changes all over the tree as a result.
1515 2003-09-08 Angus Leeming <leeming@lyx.org>
1517 * graph.C: #include <config.h>.
1519 2003-09-08 Angus Leeming <leeming@lyx.org>
1523 * BufferView_pimpl.C:
1552 * toc.C: remove redundant using directives.
1554 2003-09-07 Angus Leeming <leeming@lyx.org>
1556 * LaTeXFeatures.h: remove #include "support/types.h".
1557 * ToolbarBackend.h: remove #include <algorithm>.
1558 * changes.h: remove #include <ctime>.
1559 * debug.h: remove #include <iosfwd>.
1560 * graph.h: remove #include "support/std_string.h".
1561 * lyx_main.h: remove #include <csignal>.
1562 * lyxlex_pimpl.h: remove #include <fstream>.
1563 * sgml.h: remove #include <algorithm>, <utility>.
1564 * toc.h: remove #include "support/std_ostream.h".
1565 Add #include <iosfwd>.
1567 2003-09-07 Angus Leeming <leeming@lyx.org>
1569 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1571 * converter.h: forward declare LatexRunParams.
1572 * encoding.h: remove #include "lyxrc.h".
1573 * lyxtext.h: remove #include "LColor.h".
1574 * lyxtextclass.h: remove #include "support/types.h".
1575 * trans.h: remove #include "tex-accent.h".
1576 * trans_mgr.h: remove #include "tex-accent.h".
1577 * insets/inset.h: remove #include "support/types.h", <vector>.
1578 * insets/insetcollapsable.h: remove #include "LColor.h".
1579 * insets/insetinclude.h: remove #include "dimension.h".
1580 * insets/insetlatexaccent.h: remove #include "dimension.h".
1581 * insets/insetoptarg.h:: remove #include "insettext.h".
1582 * insets/insettext.h: remove #include "dimension.h",
1583 <boost/shared_ptr.hpp>
1585 * insets/renderers.h: add #include "dimension.h".
1586 * insets/updatableinset.h: add #include "support/types.h".
1588 * many .C files: Associated changes.
1590 2003-09-06 Angus Leeming <leeming@lyx.org>
1592 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1593 one, inside testInvariant.
1595 * PrinterParams.C: new file.
1596 * PrinterParams.[Ch]: move the function bodies out of line.
1598 2003-09-06 Angus Leeming <leeming@lyx.org>
1600 * ParagraphParameters.h: forward declare ParameterStruct rather than
1601 including its header file.
1602 (depth): moved out-of-line.
1604 2003-09-06 Angus Leeming <leeming@lyx.org>
1606 * BufferView_pimpl.h:
1609 * lyxfunc.h: forward declare LyXKeySym rather than
1610 #include "frontends/LyXKeySym.h".
1612 * BufferView_pimpl.C:
1615 * lyxfunc.C: associated changes.
1617 2003-09-06 Angus Leeming <leeming@lyx.org>
1619 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1620 As a result, can remove the #include "insets/inset.h" from BufferView.h
1622 2003-09-06 Angus Leeming <leeming@lyx.org>
1624 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1625 As a result, can remove the #include "insets/inset.h" from BufferView.h
1627 2003-09-06 Angus Leeming <leeming@lyx.org>
1633 * bufferview_funcs.C:
1634 * BufferView_pimpl.C:
1639 * ParagraphParameters.C:
1644 * frontends/controllers/ControlDocument.C:
1645 * insets/insetcaption.C: rearrange the #includes into some sort of
1648 * buffer.h: remove #includes ErrorList.h, undo.h
1650 2003-09-06 Angus Leeming <leeming@lyx.org>
1652 * support/types.h: add a 'depth_type' typedef, used to store the
1653 nesting depth of a paragraph.
1656 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1657 defining explicitly.
1660 * paragraph_funcs.h:
1661 * ParagraphParameters.h:
1662 * sgml.h: use lyx::depth_type rather than Paragraph or
1663 ParameterStruct's depth_type.
1666 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1669 * BufferView_pimpl.C:
1671 * ParagraphParameters.C:
1674 * bufferview_funcs.C:
1681 * frontends/LyXView.C:
1682 * frontends/controllers/ControlDocument.C:
1683 * frontends/controllers/ControlErrorList.C:
1684 * insets/insetbibitem.C:
1685 * insets/insetbranch.C:
1686 * insets/insetcaption.C:
1687 * insets/insetcollapsable.C:
1688 * insets/insetenv.C:
1689 * insets/insetert.C:
1690 * insets/insetfloat.C:
1691 * insets/insetfoot.C:
1692 * insets/insetfootlike.C:
1693 * insets/insetnewline.C:
1694 * insets/insetquotes.C:
1695 * insets/insettabular.C:
1696 * insets/insettext.C:
1697 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1699 * frontends/controllers/ControlChanges.C: #include "changes.h".
1701 2003-09-06 Angus Leeming <leeming@lyx.org>
1703 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1704 than #including paragraph.h.
1707 * RowList.h: deleted. Superfluous.
1717 * insets/insettext.h: use ParagraphList_fwd.h rather than
1720 * paragraph.h: don't forward declare ParagraphList.
1723 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1724 rather than ParagraphList.h. paragraph.h is still needed for the
1725 Paragraph::depth_type parameters.
1727 * textcursor.h: enable it to compile stand-alone in light of the
1730 * bufferview_funcs.C:
1742 * frontends/controllers/ControlParagraph.C:
1743 * frontends/controllers/ControlTabular.C:
1744 * insets/insetmarginal.C:
1745 * insets/insetminipage.C:
1746 * insets/insetnote.C:
1747 * insets/insetoptarg.C: add header files needed to compile again.
1749 2003-09-06 Angus Leeming <leeming@lyx.org>
1751 * RowList_fwd.h: new file, forward-declaring Row rather than
1752 #including lyxrow.h.
1757 * insets/insettext.h: use it instead of RowList.h
1759 * bufferview_funcs.C:
1766 * text3.C: #include "RowList.h".
1768 2003-09-05 Angus Leeming <leeming@lyx.org>
1770 * factory.C (createInset):
1771 * vspace.C (c-tor): replace sscanf call with an istringstream.
1772 * ispell.C: re-add missing HP/UX headers.
1773 * lyxserver.C: re-add missing os2 headers.
1775 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1784 * text3.C: re-add missing system headers, needed for 2.95.2.
1786 2003-09-05 Angus Leeming <leeming@lyx.org>
1788 Changes most place everywhere due to the removal of using directives
1789 from support/std_sstream.h.
1791 2003-09-05 Angus Leeming <leeming@lyx.org>
1793 Replace LString.h with support/std_string.h,
1794 Lsstream.h with support/std_sstream.h,
1795 support/LIstream.h with support/std_istream.h,
1796 support/LOstream.h with support/std_ostream.h.
1798 Changes resulting throughout the tree.
1800 2003-09-05 Angus Leeming <leeming@lyx.org>
1802 * sgml.h: ensure that the header file can be compiled stand-alone.
1803 * *.C: strip out redundant #includes. (320 in total.)
1805 2003-09-04 Angus Leeming <leeming@lyx.org>
1807 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1808 here (from getPackages).
1810 * debug.[Ch]: add a new EXTERNAL tag.
1812 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1814 * text2.C (cursorEnd): simplify
1816 (getColumnNearX): adjust
1818 * text.C (computeBidiTables): adjust
1821 * rowpainter.C (paintChars): adjust
1822 (paintSelection): adjust
1823 (paintChangeBar): adjust
1826 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1828 (numberOfSeparators): adjust
1830 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1836 * text3.C: Restricts the mouse click functionality
1837 of insets like bibtex, include, toc and floatlist to the visible
1838 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1839 up the dialogs. Cursor has to be in front of the inset (i.e.
1840 start of row) for this to function.
1842 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1844 * bufferview_funcs.C (currentState): output row information
1846 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1848 * bufferview_funcs.C (currentState): output paragraph position
1850 2003-09-04 Angus Leeming <leeming@lyx.org>
1852 * FloatList.h: move out #include "Floating.h".
1853 * LaTeX.h: move out #include "DepTable.h".
1854 * LyXAction.h: move out #include "funcrequest.h".
1855 * buffer.h: move out #include "author.h", "iterators.h".
1856 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1857 * lyx_main.h: move out #include "errorlist.h".
1858 * lyxfunc.h: move out #include "FuncStatus.h".
1859 * lyxtext: move out #include "lyxcursor.h".
1860 * paragraph_pimpl.h: move out #include "counters.h".
1862 2003-09-03 Angus Leeming <leeming@lyx.org>
1864 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1865 preamble_snippets list, enabling us to add snippets to the preamble
1866 only if the snippet was not there already.
1868 2003-09-04 Angus Leeming <leeming@lyx.org>
1870 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1872 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1877 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1879 * BranchList.C: point fix, earlier forgotten
1881 2003-09-02 Angus Leeming <leeming@lyx.org>
1883 * box.C (contains): renamed from 'contained' after a fantastic
1886 2003-09-02 John Levon <levon@movementarian.org>
1892 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1894 2003-09-02 John Levon <levon@movementarian.org>
1896 * text2.C: simplification of cursorEnd(), including partial
1899 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1901 * buffer.C (readFile): add a space
1903 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1905 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1907 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * buffer.C (readFile): new function, take a filename and a
1910 ParagraphList::iterator
1912 (readFile): adjust, make it private. don't use setStream, make
1913 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1914 always contain the filename.
1916 * BufferView.C (insertLyXFile): simplify and make it work for
1919 2003-08-30 John Levon <levon@movementarian.org>
1921 * Makefile.am: fix dist (from Kayvan)
1923 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1925 * most files: change to use const Buffer refs
1927 2003-08-27 André Pönitz <poenitz@gmx.net>
1929 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1930 on top of ownerPar().
1932 2003-08-27 John Levon <levon@movementarian.org>
1934 * funcrequest.C: properly initialise POD members
1936 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1938 * lyxtext.h (top_y): move top_y from here
1943 * BufferView_pimpl.[Ch]: to here
1944 * frontends/screen.C:
1945 * insets/insettabular.C:
1946 * insets/insettext.C: adjust
1947 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1949 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1952 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1954 2003-08-26 André Pönitz <poenitz@gmx.net>
1956 * paragraph_func.[Ch] (outerPar): new function
1959 * paragraph_funcs.C:
1960 * paragraph_funcs.h:
1961 * paragraph_pimpl.C:
1962 * text2.C: remove Inset::par_owner
1964 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1969 * text2.C: eliminates the needFullRow/display() stuff
1970 altogether, putting the logic in metrics/draw in the insets.
1972 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1974 * text2.C (redoParagraphInternal, redoParagraphs):
1975 * text.C (redoParagraph): add a call to updateRowPositions at the
1976 end of each 'metrics-like' call. Remove all others.
1977 (getRow): remove the 'y-computing' version.
1978 (getRowNearY): do not compute nor return the real y. Solve the
1979 'y < 0' problem and simplify.
1981 2003-08-22 Angus Leeming <leeming@lyx.org>
1983 * *.[Ch]: clean-up of licence and author blurbs.
1984 Also move config.h out of a few .h files and into a few .C files.
1986 2003-08-22 André Pönitz <poenitz@gmx.net>
1988 * lyxrow.[Ch]: add x_ and *fill_ members
1993 * text2.C: adjust/remove prepareToPrint() calls
1995 2003-08-22 André Pönitz <poenitz@gmx.net>
1997 * lyxrow.[Ch]: add end_ member
1999 * lyxrow_funcs.C: use LyXRow::end_
2001 * lyxtext.h (singleWidth): add LyXFont parameter
2004 * text2.C: adjust LyXText::singleWidth() calls
2006 * text.C (redoParagraph): simplify row breaking logic
2009 2003-08-19 André Pönitz <poenitz@gmx.net>
2011 * funcrequest.C: initialize button_ member
2014 * rowpainter.[Ch]: interface consolidation
2016 2003-08-18 André Pönitz <poenitz@gmx.net>
2019 * BufferView_pimpl.C:
2021 * paragraph_funcs.C:
2023 * text3.C: remove LyXScreen::draw() and fitCursor calls
2025 * BranchList.h: remove spurious semicolons
2027 * MenuBackend.C: fix branchlist related crash
2029 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2037 * bufferparams.[Ch]:
2041 * text3.C: implements the 'branch inset'
2042 idea. This allows the output of various versions of a document
2043 from a single source version, selectively outputing or suppressing
2044 output of parts of the text.
2045 This implementation contains a 'branch list editor' in a separate
2046 tab of the document settings dialog. Branches are user definable
2047 and have a "display colour" to distinguish them on-screen.
2049 ColorHandler was somewhat cleaned up.
2050 (1) make possible a dynamically growing LColor list by allowing
2051 the graphic context cache to grow along (vector);
2052 (2) eliminate an IMHO unnecessary step in colour allocation.
2054 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2056 * BufferView_pimpl.C: compile fix
2058 2003-08-15 André Pönitz <poenitz@gmx.net>
2060 * rowpainter.C: remove extra metrics calls
2062 * lyxtext.h: merge the two constructors into a single one,
2063 pass reference to owner's par list
2065 * BufferView_pimpl.C:
2069 2003-08-15 André Pönitz <poenitz@gmx.net>
2071 * lyxrow_funcs.[Ch]:
2074 * paragraph_funcs.C:
2079 * text_funcs.C: split LyXText::rowlist_ into individual
2080 Paragraph::rows_ chunks
2083 * BufferView_pimpl.[Ch]:
2086 * text3.C: remove toggleSelection()
2088 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2090 * bufferlist.C: beautify two alerts (shorter text of buttons)
2091 * buffer.C: Remove redundant ' ' from message
2093 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2094 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2095 rename VALIGN_CENTER to VALIGN_MIDDLE
2097 2003-08-11 André Pönitz <poenitz@gmx.net>
2099 * lyxtext.h (getPar):
2100 * text.C: new function
2102 2003-08-11 André Pönitz <poenitz@gmx.net>
2105 * tracer.[Ch]: remove unneeded files
2107 * InsetList.[Ch]: remove resizeInsetsLyXText()
2112 * text3.C: merge insertParagraphs() and appendParagraph()
2113 remove breakAgain(), update()
2115 * BufferView_pimpl.[Ch]:
2116 * bufferview_funcs.[Ch]:
2120 * tabular.C: adjust after text & InsetList changes.
2122 2003-08-08 André Pönitz <poenitz@gmx.net>
2124 * text.C (insertChar, backspace): replace rowlist fiddling
2125 with rebreak of full par
2128 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2129 checkParagraph, updateInset): removed
2131 2003-08-07 André Pönitz <poenitz@gmx.net>
2134 * text3.C: merge some LFUN handlers, remove dead code
2136 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2138 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2140 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2142 * text2.C (DEPM): fix part of bug 1255 and 1256
2144 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 * BufferView_pimpl.C (workAreaDispatch): change to use
2147 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2148 that are no mouse related.
2150 2003-08-05 André Pönitz <poenitz@gmx.net>
2153 * BufferView_pimpl.[Ch]:
2154 * bufferview_funcs.C:
2156 * text3.C: rip out "deep update"
2158 * textcursor.[Ch] (last_sel_cursor): remove unused member
2160 2003-08-04 André Pönitz <poenitz@gmx.net>
2163 * BufferView_pimpl.[Ch]:
2164 * ParagraphParameters.C:
2165 * bufferview_funcs.C:
2171 * text3.C: replace "complicated" BufferView::update(...) calls with
2174 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2176 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2178 * Makefile.am (lyx_SOURCES): add paper.h
2180 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2182 * Makefile.am: move things around so that both lyx-qt and
2183 lyx-xforms can be built (according to --with-frontend). Then lyx
2184 is a symbolic link to lyx-[firstfrontend]
2186 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2188 * Always use std::endl with lyxerr
2190 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2192 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2194 2003-08-01 André Pönitz <poenitz@gmx.net>
2197 * BufferView_pimpl.[Ch]:
2199 * text3.C: merge BufferView::repaint() and BufferView::update()
2201 2003-08-01 José Matos <jamatos@lyx.org>
2203 * buffer.[Ch]: file_format is no longer a buffer data element.
2205 2003-08-01 André Pönitz <poenitz@gmx.net>
2210 * text2.C: make redoParagraph more independent of current cursor
2212 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2214 * text2.C: remove unneeded members
2216 2003-07-30 André Pönitz <poenitz@gmx.net>
2218 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2220 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2221 create a single function...
2223 * paragraph_funcs.C (moveItem): ... here.
2226 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2228 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2230 * LColor.[Ch]: Add comment and greyedout logical colors.
2232 2003-07-30 André Pönitz <poenitz@gmx.net>
2234 * tabular.C: don't use Assert too heavily. This crashes where it
2237 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2239 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2240 is disabled (bug 1232)
2242 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2244 * factory.C: limited 'arg' scope
2246 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2248 * factory.C: fixed Note submenu issues
2250 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2252 * factory.C: submenu for Note/Comment/Greyedout
2254 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2257 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2259 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2262 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2263 greyedout. Patch provided by Jürgen Spitzmüller.
2265 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2267 * kbmap.C (read): fix error message when reading bind files
2269 2003-07-29 Angus Leeming <leeming@lyx.org>
2271 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2272 certainly does not do what it purports to do. I am doing it, and
2273 us, a favour by killing it.
2275 2003-07-28 José Matos <jamatos@lyx.org>
2277 * buffer.C (readBody, do_writeFile):
2278 * paragraph.C(readParagraph): \end_document replaces \the_end.
2280 2003-07-29 André Pönitz <poenitz@gmx.net>
2283 * BufferView_pimpl.[Ch]:
2287 * textcursor.[Ch]: remove toggleToggle & Co
2289 2003-07-28 José Matos <jamatos@fep.up.pt>
2291 * buffer.C (readParagraph):
2292 * params_func (readParToken, readParagraph):
2293 * paragraph.C (write): \layout -> \begin_layout.
2295 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * lyxlex_pimpl.C (setFile): clean up slightly.
2299 * bufferparams.h: add compressed var
2301 * buffer_funcs.C (readFile): adjust for LyXLex change
2302 (newFile): ditto + simplify
2304 * buffer.C (writeFile): handle writing of compressed files
2306 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2307 Check if the file is compressed and set a bufferparm if so.
2309 * Makefile.am (lyx_LDADD): remove explicit -lz
2311 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2313 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2314 makeDocBookFile): put the real LyX version in the first line of
2318 * version.C.in: remove lyx_docversion
2320 * tabular.C (write_attribute): add a template-based version to
2321 write enums properly
2323 2003-07-28 André Pönitz <poenitz@gmx.net>
2328 * text3.C: use doubles again for x-coordinates. They are needed.
2330 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2332 * messages.C (getLocaleDir): use lyx_localedir()
2334 * lyxlex_pimpl.C (setFile): compress stuff
2336 * buffer.C (writeFile): add some compression stuff
2337 (do_writeFile): new func, dont call expliti close... will this
2340 * Makefile.am (lyx_LDADD): add -lz
2342 2003-07-28 José Matos <jamatos@fep.up.pt>
2344 * buffer.C: increment file format.
2345 * paragraph_funcs (readParagraph, readParToken):
2346 * paragraph.C (readParagraph): add \end_layout.
2348 2003-07-27 Angus Leeming <leeming@lyx.org>
2350 * Makefile.am: remove special casing for configure-time setting of
2351 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2353 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2354 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2356 2003-07-26 André Pönitz <poenitz@gmx.net>
2358 * paragraph_func.[Ch]:
2359 * paragraph.C (realizeFont): inline it whereever it is used
2364 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2367 2003-07-26 André Pönitz <poenitz@gmx.net>
2371 * text2.C: get rid of LyXText::need_break_row
2373 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2375 * toc.[Ch]: put namespace toc inside namespace lyx
2377 * MenuBackend.C (expandToc2): adjust for lyx::toc
2380 * lyxfunc.C (dispatch): adjust for lyx::find
2382 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2383 lyx::find instead. Reorganize a bit.
2384 (LyXReplace): rename to replace
2385 (LyXFind): rename to find
2387 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2390 2003-07-26 André Pönitz <poenitz@gmx.net>
2392 * text.C (setHeightOfRow): restrict scope of temporary variable
2394 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2395 code (never has been used?)
2397 2003-07-27 Asger Alstrup <alstrup@local>
2399 * text.C (fill): Optimise algorithm to exploit that we can reuse
2400 the LyXFont for many characters.
2401 (setHeightOfRow): Same thing.
2402 (rowBreakPoint): Same thing.
2404 2003-07-26 Asger Alstrup <alstrup@local>
2406 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2408 * text.C (singleWidth): Spurious font copying in hot-spot
2409 singleWidth avoided. Reorder tests for arabic for efficiency.
2411 * text.C (fill): handle empty paragraphs better.
2413 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2416 * encoding.h: add includes
2418 * lyxrc.C: remove reading of bind files
2420 * lyx_main.C (init): setup bindings and menus only if we have a
2423 * kbmap.C (read): new method. Do the actual reading of bind
2426 * converter.C (dvipdfm_options):
2429 (output): adapt PAPER_* enums.
2431 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2433 * bufferparams.h: remove paper-related enums from there
2435 * paper.h: New file. A trivial header file to hold paper-related
2436 enums. It should later expand to contain many paper-related
2439 * lyxrc.C: declare extern displayTranslator
2441 2003-07-27 José Matos <jamatos@fep.up.pt>
2443 * tabular.[Ch] (linuxdoc): add support for tables and figures
2446 2003-07-27 José Matos <jamatos@fep.up.pt>
2448 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2449 consistency in both functions.
2450 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2452 2003-07-26 Asger Alstrup <alstrup@local>
2454 * rowpainter.C (paintRows): Change algorithm to work directly on
2455 the insets rather than asking every character in the document
2456 whether its an inset.
2458 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2460 * buffer.C (openFileWrite): factorize some code
2462 2003-07-26 Angus Leeming <leeming@lyx.org>
2465 * lyx_main.[Ch]: replace occurances of system_tempdir with
2468 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * rename Inset to InsetOld
2472 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2474 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2475 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2476 which I think is a bit clearer. EDIT is gone, since it was
2477 premature optimisation, and broken for mathed anyway.
2478 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2479 with cursor positioning in insets as well (math insets still do not
2480 work, but that's a different story anyway.) It mysteriously
2481 crashes sometimes with undo in the first paragraph, but I'm fairly
2482 confident that this is a compiler bug.
2484 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * paragraph.C (Paragraph): adjust for new clone return type
2488 (copyIntoMinibuffer): ditto
2490 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2492 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2493 by not having a special case, and always doing a full rebreak of
2494 the document after undo.
2496 2003-07-23 Angus Leeming <leeming@lyx.org>
2498 * factory.C (createInset): InsetExternal::setParams now takes a
2501 2003-07-23 Angus Leeming <leeming@lyx.org>
2503 * factory.C (createInset): changed interface to the external and
2504 graphics mailers' string2params functions.
2506 2003-07-23 Angus Leeming <leeming@lyx.org>
2508 * factory.C (createInset): pass a
2509 Buffer const * parameter to InsetExternalMailer's string2params.
2511 2003-07-22 John Levon <levon@movementarian.org>
2513 * Thesaurus.h: include the right aiksaurus header
2515 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * MenuBackend.C (expand): check menu shortcuts unconditionally
2519 2003-07-21 Angus Leeming <leeming@lyx.org>
2521 * factory.C (createInset): pass a
2522 buffer_path parameter to InsetGraphicsMailer's string2params.
2524 2003-07-21 Angus Leeming <leeming@lyx.org>
2526 * BufferView_pimpl.C (buffer):
2529 * lyxfunc.C (dispatch):
2530 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2531 rather than the grfx shortcut.
2533 2003-07-21 André Pönitz <poenitz@gmx.net>
2535 * rowpainter.C: remove unused variables
2538 * tabular_funcs.h: move to tabular.C
2539 * Makefile.am: adjust
2541 * tabular.[Ch]: basic optical cleaning
2543 * author.h: pass references, not values
2545 2003-07-18 André Pönitz <poenitz@gmx.net>
2553 * text3.C: two-phase drawing for InsetText and InsetTabular
2554 some float -> int changes.
2556 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2558 * lyx_main.C: fix the fix
2560 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2562 * lyx_main.C: fix a crash in batch mode if no files specified
2565 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2567 * format.[Ch] (papersize): moved to BufferParams
2568 * converter.[Ch] (dvips_options): moved to BufferParams
2569 (dvipdfm_options): moved to anon namespace
2570 * bufferparams.[Ch]: added above functions.
2572 2003-07-17 André Pönitz <poenitz@gmx.net>
2576 * text2.C: don't call inset->update() anymore
2578 * metricsinfo.[Ch]: add convenience constructor
2580 2003-07-16 André Pönitz <poenitz@gmx.net>
2585 * text2.C: replace the LyXCursor::irow_ member with
2586 on-demand computation of the value
2588 2003-07-16 John Levon <levon@movementarian.org>
2590 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2592 2003-07-15 André Pönitz <poenitz@gmx.net>
2595 * text2.C: remove no more needed refresh_row
2597 2003-07-15 André Pönitz <poenitz@gmx.net>
2602 * text3.C: refresh_status tristate -> need_update bool
2604 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2606 * lyxtext.h (init): remove reinit argument (act as if always true)
2607 * text2.C: adjust to that
2609 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2611 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2612 * text3.C: use it to delete selections in some cases
2613 (bugs 441, 673, 702, 954).
2615 2003-07-14 André Pönitz <poenitz@gmx.net>
2617 * rowpainter.[Ch]: reduce interface
2619 2003-07-14 André Pönitz <poenitz@gmx.net>
2621 * BufferView_pimpl.C:
2622 * text2.C: adjust after removing unused BufferView * argument
2624 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2626 * text2.C (init): fix a crash fired on resize
2628 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2630 * buffer.[Ch]: added new closing signal
2631 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2632 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2633 BufferView::Pimpl via the closing the signal
2635 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2637 * buffer.[Ch]: take out all bv-related from buffer
2639 * BufferView_pimpl.[Ch]: connect to new signals
2640 * CutAndPaste.C: removed useless asserts
2641 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2644 * lyxfunc.C: moved view-related funciontality from vc here
2645 * paragraph.C: removed outdated comments
2648 2003-07-10 André Pönitz <poenitz@gmx.net>
2650 * BufferView_pimpl.C:
2654 * text2.C: remove InsetText::InnerCache, clean up consequences
2656 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2658 * ispell.C: fix two typos in error messages
2660 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2662 * Extend Note inset to other forms of annotation like Comment
2663 and Greyedout. Right button click gives dialog.
2665 Files modified or added (+):
2669 * ControlNote.[Ch] +
2671 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2672 frontends/controllers
2676 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2678 * aspell.C: add missing namespace lyx::support
2680 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2682 * BufferView.[Ch] (newFile): Add
2683 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2684 * LaTeX.[Ch] (message): added this signal and use it
2685 * buffer.[Ch] (busy, message): added these signals and use them
2686 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2690 * importer.C: use buffer signals instead of direct bv calling
2691 * lyx_cb.[Ch] (ShowMessage): removed
2694 * paragraph_funcs.C:
2695 * text2.C: use buffer signals
2697 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2699 * introduce namespace lyx::graphics
2701 2003-07-02 André Pönitz <poenitz@gmx.net>
2703 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2705 2003-07-01 André Pönitz <poenitz@gmx.net>
2712 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2713 text*.C to text_func.C
2715 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * introduce namespace lyx::support
2719 2003-06-30 André Pönitz <poenitz@gmx.net>
2724 * text.C: re-enable --with-included-string
2726 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2728 * textcursor.C: add <config.h>
2730 * text.C (getWord): remove const from word_location arg
2732 * lyxvc.C (getLogFile): fix const type order
2734 * lyxtext.h: remove const from word_location arg, add arg name
2736 * lyxlayout.h: currect type on labeltype.
2738 * importer.C: correct \file
2740 * converter.C (intToFormat): use std:: on ret val, ws changes
2742 * bufferlist.h: correct \file
2744 * buffer.C (makeLinuxDocFile): fix const type order
2745 (makeDocBookFile): ditto
2746 (fillWithBibKeys): use std:: on stdlib args.
2748 * CutAndPaste.C: fix authors.
2749 (availableSelections): use std:: on return vector
2751 2003-06-27 André Pönitz <poenitz@gmx.net>
2753 * BufferView_pimpl.C:
2754 * bufferview_funcs.C:
2762 * text3.C: remove LyXCursor::row_ member
2765 * text.C: rename fullRebreak() to partialRebreak() and implement
2766 a fullRebreak() that really bereks fully
2768 * textcursor.h: new struct for cursor-related data
2770 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2772 * lyx_main.C (LyX): get full path of document loaded on the
2775 2003-06-26 André Pönitz <poenitz@gmx.net>
2777 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2778 remove unused/broken operator>,<,>=.
2780 * text.C: remove only use of broken operator<= in an Assert().
2782 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2784 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2785 moved errorlist_.clear to showErrorList
2787 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2789 * converter.C (scanLog, runLaTeX):
2790 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2791 move the bv->showErrorList call to the callers
2792 * lyxfunc.C: i.e. here...
2794 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2795 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2796 namespace, the second to...
2797 * buffer_funcs (BufferFormat, parseErrors): added
2798 * errorlist.C (ErrorList(TeXErrors const &)): removed
2800 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2802 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2804 2003-06-24 "Garst R. Reese" <reese@isn.net>
2808 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2810 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2812 * version.C.in: change docversion to 1.4
2814 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2816 * buffer.C: fix a bug just introduced
2818 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2820 * buffer.[Ch]: added the parseError signal and use it, removed
2822 * BufferView.[Ch] (addError): moved to ...
2823 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2824 to the Buffer::parseError signal to catch (guess what) parse errors
2825 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2827 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2829 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2830 ability to create a buffer and to return an existing one from
2831 the list. Moved these functions to...
2832 * buffer_funcs.[Ch]: added
2833 * BufferView.[Ch] (loadLyXFile): added
2834 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2835 job removed from bufferlist::loadLyXFile.
2836 * buffer.C (setReadOnly): make it work without view
2837 (i.e added an if (users))
2839 2003-06-19 Angus Leeming <leeming@lyx.org>
2842 * LyXAction.C (init):
2843 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2844 with LFUN_DIALOG_SHOW <name> <data>.
2846 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2848 * CutAndPaste.C (availableSelections): small compilation fix for
2849 ancient (gcc 2.9x) compilers
2851 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2853 * text3.C (cursorNext): add tmp var
2855 * text2.C (updateCounters): for function calling out of for clause
2856 (replaceSelectionWithString): ditto
2857 (insertStringAsParagraphs): ditto
2858 (getColumnNearX): add tmp var
2859 (setCursorFromCoordinates): add tmp var
2860 (cursorDownParagraph): add tmp var
2861 (deleteEmptyParagraphMechanism): add tmp var
2863 * text.C (insertChar): add tmp var
2865 * rowpainter.C (paintDepthBar): add tmp var
2867 * CutAndPaste.C (availableSelections): potentially check all
2868 paragraphs in a cut to fill the shown strings.
2870 2003-06-18 André Pönitz <poenitz@gmx.net>
2872 * kbmap.[Ch]: use vector<> instead of list<>
2874 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2876 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2877 pasteSelection with index
2879 * text2.C (pasteSelection): modify, call pasteSelection with index
2881 * paragraph.C (asString): reimplement version with no interval to
2882 call the one with interval.
2884 * lyxtext.h: add index arg to pasteSelection
2886 * MenuBackend.C (MenuItem): handle PasteRecent
2887 (Menu::read::Menutags): add md_pasterecent
2889 (expandPasteRecent): new function
2892 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2894 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2896 (availableSelections): new function
2898 2003-06-17 Angus Leeming <leeming@lyx.org>
2900 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2902 2003-06-17 Angus Leeming <leeming@lyx.org>
2905 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2907 * lyxfunc.C (dispatch): invoke it.
2909 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2911 * iterators.C (operator++, ParPosition): reintroduce some
2912 const_cast for the benefit of older compilers.
2914 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2916 * text3.C (dispatch): do not modify clipboard when doing
2917 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2918 LFUN_DELETE_SKIP on a selection selection
2920 2003-06-16 André Pönitz <poenitz@gmx.net>
2926 * tabular.[Ch]: IU of clone() and getLabelList();
2928 2003-06-13 André Pönitz <poenitz@gmx.net>
2930 * tabular.h: compactification
2932 2003-06-12 André Pönitz <poenitz@gmx.net>
2936 * tabular_funcs.h: some renaming plus whitespace
2938 2003-06-12 André Pönitz <poenitz@gmx.net>
2941 * BufferView_pimpl.C:
2947 * toc.C: Return a Paragraph & for ParIterator::operator*()
2949 2003-06-11 John Levon <levon@movementarian.org>
2953 * ToolbarBackend.C: add "Toolbars" section and
2956 2003-06-10 Angus Leeming <leeming@lyx.org>
2959 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2961 * lyxfunc.C (dispatch): invoke it.
2963 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * main.C: protect <ios> with HAVE_IOS
2966 (main): protect sync_with_stdio with HAVE_IOS
2968 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2970 * text2.C (cutSelection): adjust
2971 (pasteSelection): adjust
2973 * messages.C: handle get of empty string
2975 * main.C (main): use sync_with_stdio(false)
2977 * lyxfunc.C (dispatch): adjust
2979 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2980 (WriteAs): remove unneeded BufferView arg.
2982 * bufferparams.h: use correct types on papersize, papersize2 and
2985 * bufferparams.C (readToken): adjust for type
2986 (writeLaTeX): add missing cases to switch.
2988 * bufferlist.C (quitWriteBuffer): adjust
2991 * buffer.C (asciiParagraph): remove some commented code.
2993 * CutAndPaste.C: remove current_view extern variable.
2994 (cutSelection): add BufferParams arg.
2995 (eraseSelection): add BufferParams arg.
2996 (pasteSelection): add Buffer const & arg
2998 2003-06-07 John Levon <levon@movementarian.org>
3001 * paragraph_funcs.C:
3002 * paragraph_pimpl.C:
3006 * paragraph.C: allow InsetERT to freely space lines,
3007 and some consolidation of code
3009 2003-06-06 José Matos <jamatos@fep.up.pt>
3011 * buffer.C (makeDocBookFile): fix bug #821
3013 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3015 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3017 2003-06-04 Angus Leeming <leeming@lyx.org>
3019 * buffer.C: bump format to 224.
3021 2003-06-05 André Pönitz <poenitz@gmx.net>
3023 * text2.C (redoParagraphs): remove two const_cast<>
3025 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3027 * ParagraphList.h: remove last remnants of NO_STD_LIST
3029 2003-06-03 Angus Leeming <leeming@lyx.org>
3031 * factory.C (createInset): small change to the way InsetExternal's params
3034 2003-06-04 André Pönitz <poenitz@gmx.net>
3036 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3038 * paragraph_pimpl.h:
3039 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3041 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3043 * undo_funcs.C: make some simple cases of undo work again
3045 2003-06-03 John Levon <levon@movementarian.org>
3047 * ispell.C: HPUX doesn't have sys/select.h
3050 2003-06-03 John Levon <levon@movementarian.org>
3052 * CutAndPaste.C: update tabular and include inset
3057 * paragraph.C: remove owningBuffer(), don't pass Buffer
3060 * factory.C: insetGraphicsParams changed
3062 2003-06-02 John Levon <levon@movementarian.org>
3068 * text3.C: remove insetparent
3070 2003-06-02 John Levon <levon@movementarian.org>
3073 * buffer.C: fix inset_iterator.end(), move out of line
3076 2003-06-01 John Levon <levon@movementarian.org>
3078 * text3.C: use a proper cut/paste when doing inset
3079 insert (from Jürgen Spitzmüller)
3081 2003-06-01 John Levon <levon@movementarian.org>
3083 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3085 2003-05-30 André Pönitz <poenitz@gmx.net>
3087 * rowpainter.C: unify second drawing phase
3089 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * trans_mgr.C: remove one case of current_view
3093 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3095 * paragraph_funcs.h: remove paragraph.h include
3097 * paragraph.h: delete NO_STD_LIST stuff
3099 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3101 * buffer.h: remove paragraph.h include
3103 * ParagraphList.C: delete file
3105 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3107 * toc.C (getTocList): adjust
3109 * paragraph_pimpl.C (validate): adjust
3111 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3113 * paragraph.C (Paragraph): adjust
3114 (getPositionOfInset): use const_iterator, adjust
3115 (bibitem): use const_iterator, adjust
3116 (setInsetOwner): adjust
3118 * iterators.C (operator++): adjust
3120 * InsetList.[Ch]: Replace selfmade iterator with standard
3121 vector::iterator also introduce const_iterator. Remove getPos,
3122 getInset and setInset from InsetTable. Adjust accordingly.
3124 * BufferView.C (lockInset): adjust
3125 (ChangeInsets): adjust
3127 * tabular.[Ch]: delete commented same_id functions
3129 2003-05-28 John Levon <levon@movementarian.org>
3131 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3133 2003-05-28 André Pönitz <poenitz@gmx.net>
3135 * metricsinfo.[Ch]: remove 'fullredraw' member
3137 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3139 * lyxtextclass.C (operator): remove caching.
3141 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * text2.C (cursorBottom): adjust
3146 (setCounter): use ParagraphList::find, adjust
3148 * text.C (workWidth): use ParagraphList::find, adjust
3150 * lyxcursor.C (LyXCursor): adjust
3152 * buffer.C (inset_iterator): adjust
3154 * ParagraphList.h: make iterator(value_type) private, make
3155 ParagraphList a friend of iterator.
3157 * ParagraphList.C (find): new function
3159 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3161 2003-05-27 André Pönitz <poenitz@gmx.net>
3163 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3165 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3167 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3169 2003-05-26 John Levon <levon@movementarian.org>
3171 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3173 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3175 * remove same_id from function signatures, adjust.
3177 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3181 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3183 * paragraph.C (Paragraph): get rid of same_ids parameter
3185 * ParagraphList.C (insert): adjust
3188 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * paragraph_funcs.C (breakParagraph): adjust
3191 (breakParagraphConservative): adjust
3193 * buffer.C (readParagraph): adjust
3195 * ParagraphList.C (insert): take a reference instead of a pointer
3198 * paragraph.[Ch] (id): new function
3200 * bufferlist.C (newFile): adjust
3202 * ParagraphList.C (ParagraphList): adjust
3204 (push_back): take a reference instead of a pointer.
3206 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3208 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3211 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3212 set else use old code.
3214 * ParagraphList.C: remove all NO_NEXT code and only compile this
3215 code of NO_STD_LIST is set.
3217 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3219 * BufferView_pimpl.C:
3229 * graphics/GraphicsConverter.C:
3230 * graphics/PreviewLoader.C: header adjustment
3232 2003-05-23 Angus Leeming <leeming@lyx.org>
3234 * LaTeXFeatures.[Ch] (useBabel): new method.
3235 * bufferparams.C (writeLaTeX): use it.
3237 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * ParagraphList.h (set): remove unused function.
3241 2003-05-23 André Pönitz <poenitz@gmx.net>
3244 * BufferView_pimpl.C:
3248 * undo_funcs.C: setUndo reworked
3250 * iterators.[Ch]: add access to topmost ParagraphList
3252 * lyxtext.[Ch] (workWidth): add a const
3254 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3256 * texrow.[Ch] (increasePos): remove function
3257 * exporter.C (export): removed unused var and outdated comment
3259 2003-05-23 Angus Leeming <leeming@lyx.org>
3261 * latexrunparams.h: rename fragile as moving_arg.
3262 * paragraph.C (simpleTeXOnePar): ditto.
3263 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3265 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3267 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3269 (textUndoOrRedo): comment out a currently unused var.
3271 * paragraph.h (NO_NEXT): enable NO_NEXT
3273 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3275 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3277 * exporter.C (Export): adjust for removeAutoInsets removal.
3279 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3281 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3283 * BufferView.[Ch] (removeAutoInsets): delete function
3285 2003-05-22 Angus Leeming <leeming@lyx.org>
3287 * latexrunparams.h: add a free_spacing variable.
3289 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3290 to pass moving_arg, as the data is stored in runparams.fragile.
3292 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3293 to Inset::latexOptional or to simpleTeXOnePar.
3295 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3296 free_spacing arg to Inset::latexOptional.
3298 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3301 2003-05-22 Angus Leeming <leeming@lyx.org>
3303 * latexrunparams.h: add fragile and use_babel variables.
3305 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3306 * buffer.C (makeLaTeXFile): store this returned value in
3307 runparams.use_babel, thus passing it to the inset::latex methods.
3309 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3310 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3312 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3313 longer has a fragile arg, as it is stored in runparams.fragile.
3315 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3316 moving_arg parameter as the data is stored in runparams.fragile.
3318 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3319 a fragile parameter as the data is stored in runparams.fragile.
3321 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3323 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3325 2003-05-22 Angus Leeming <leeming@lyx.org>
3327 * latexrunparams.h: add a 'bool nice' which defaults to false.
3329 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3330 now encapsulated within runparams.
3332 * bufferlist.C (updateIncludedTeXfiles):
3333 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3335 2003-05-22 Angus Leeming <leeming@lyx.org>
3337 * latexrunparams.h: new file containing struct LatexRunParams.
3338 * Makefile.am: add new file.
3340 * LaTeX.[Ch] (c-tor, run):
3341 * buffer.[Ch] (makeLaTeXFile):
3342 * bufferlist.[Ch] (updateIncludedTeXfiles):
3343 * converter.C (convert, scanLog):
3344 * converter.[Ch] (runLaTeX):
3345 * exporter.C (Export):
3346 * paragraph.[Ch] (simpleTeXOnePar):
3347 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3348 * paragraph_funcs.[Ch] (latexParagraphs):
3349 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3350 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3351 pass around a LatexRunParams parameter.
3353 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3355 * paragraph.[Ch]: remove unused constructor
3357 * ParagraphList.C (erase): new function, taking two iterators
3359 2003-05-22 André Pönitz <poenitz@gmx.net>
3361 * undo_funcs.C: remove duplicated code
3363 * iterator.[Ch]: operator=
3365 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * tabular.C (SetMultiColumn): ws changes
3369 * rowpainter.C (paintFirst): get rid of a ->previous
3371 * lyx_cb.C (getPossibleLabel): parlist simplification
3373 * BufferView.C (ChangeInsets): simplify slightly.
3375 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3377 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3378 * lfuns.h: new LFUN_SPACE
3379 * lyxfunc.C: protected space has a new lfun
3380 * paragraph_funcs.C: read new space insets
3382 * factory.C: handle new space insets
3384 2003-05-22 André Pönitz <poenitz@gmx.net>
3387 * BufferView_pimpl.C:
3390 * undo_funcs.C: return a ParIterator from getParFromID.
3392 * iterators.[Ch]: add two const's
3394 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * toc.C (getTocList): adjust
3398 * iterators.[Ch]: rework for parlist
3400 * buffer.C (par_iterator_begin): adjust
3401 (par_iterator_end): adjust
3403 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3405 * BufferView.C (removeAutoInsets): adjust
3406 (ChangeInsets): adjust
3408 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3410 * text.C (top_y): fix bug 1110
3412 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3414 * errorlist.[Ch]: added
3417 * BufferView_pimpl.C:
3418 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3421 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * Makefile.am: ensure that lyx is relinked upon changes to the
3424 various "convenience" libs.
3426 2003-05-20 Angus Leeming <leeming@lyx.org>
3428 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3429 files are compiled in alphabetical order again.
3431 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3433 2003-05-19 Angus Leeming <leeming@lyx.org>
3435 * gettext.[Ch]: remove "char const * _(char const *)".
3437 2003-05-19 André Pönitz <poenitz@gmx.net>
3439 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3448 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3450 2003-05-19 André Pönitz <poenitz@gmx.net>
3454 * lyxtextclass.[Ch]:
3456 * paragraph_funcs.[Ch]:
3458 * text3.C: more insetenv work
3460 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3462 * ParagraphParameters.C (params2string): small bug fixed
3464 2003-05-16 André Pönitz <poenitz@gmx.net>
3467 * bufferview_funcs.C: patch from Kornel Benko to prevent
3468 crash when _(...) is called twice in a statement
3470 2003-05-16 André Pönitz <poenitz@gmx.net>
3477 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3479 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3481 * lyx_main.C (init): remove spurious static_cast
3483 2003-05-14 André Pönitz <poenitz@gmx.net>
3485 * BufferView.C: fix format string
3487 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3489 * BufferView.[Ch] (insertErrors): removed
3490 * BufferView.[Ch] (showErrorList): added
3491 * buffer.C (runChkTeX):
3492 * converter.C (scanLog): call showErrorList instead of inserterrors
3494 2003-05-13 André Pönitz <poenitz@gmx.net>
3496 * BufferView_pimpl.C:
3498 * bufferview_func.C:
3505 * tabular_funcs.h: tostr() from its own header
3507 * ParagraphParameters.C:
3512 * text3.C: STRCONV()
3514 2003-05-12 André Pönitz <poenitz@gmx.net>
3517 * BufferView_pimpl.C:
3521 * ParagraphParameters.C:
3525 * bufferview_funcs.C:
3538 * paragraph_funcs.C:
3542 * text3.C: boost::format -> bformat all over the place
3545 2003-05-09 André Pönitz <poenitz@gmx.net>
3547 * LColor.[Ch]: Pimpl the #include <map> away
3549 2003-05-09 John Levon <levon@movementarian.org>
3551 * bufferlist.C: never remove emergency saves
3553 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * Makefile.am: better lib building
3557 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3561 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3562 (simpleTeXSpecialChars): adjust
3563 (simpleTeXSpecialChars): adjust
3564 * paragraph.C (simpleTeXOnePar): adjust
3565 * buffer.C (makeLaTeXFile): adjust
3567 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3569 * text2.C (changeDepth): parlist cleanup
3570 (getColumnNearX): ditto
3572 * rowpainter.C (getLabelFont): parlist cleanup
3574 * bufferlist.C (newFile): parlist cleanup
3576 * CutAndPaste.C (eraseSelection): parlist cleanup
3578 * BufferView_pimpl.C (trackChanges): parlist cleanup
3581 * BufferView.C (lockInset): parlist cleanup.
3582 (ChangeInsets): ditto
3584 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * CutAndPaste.h: Update file header.
3588 * CutAndPaste.C: Update file header.
3589 Store the parts cut out of the Document in a limited_stack.
3590 (copySelection): adjust
3591 (pasteSelection): new function, takes the index in the limited stack.
3592 (nrOfParagraphs): adjust
3593 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3594 simplify error inset insertion.
3595 (checkPastePossible): adjust
3597 2003-05-06 John Levon <levon@movementarian.org>
3599 * text2.C: don't cast wrap inset to float
3601 2003-05-05 André Pönitz <poenitz@gmx.net>
3604 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3606 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3607 few naked Paragraph *.
3609 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3611 * bufferparams.C: Output warning if a document with missing
3612 TeX document class is loaded
3613 * exporter.C: Disable TeX exports if the document class is missing
3616 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3617 isTeXClassAvailable()
3619 2003-05-03 John Levon <levon@movementarian.org>
3622 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3623 explicit cursor show/hide
3625 * BufferView_pimpl.h:
3626 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3627 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3629 * lyxfunc.C: hide cursor before dispatching.
3634 * text3.C: remove explicit cursor hides
3636 2003-05-02 André Pönitz <poenitz@gmx.net>
3638 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3641 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3644 * text2.C: tiny whitespace
3646 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * undo_funcs.C: almost only ws changes.
3650 * ParagraphList.C (splice): just return if pl is empty.
3652 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * ParagraphList.C (splice): new function.
3656 * CutAndPaste.C (pasteSelection): use it
3658 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * CutAndPaste.C (pasteSelection): remove the last next and
3661 previous from this file.
3663 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * CutAndPaste.C (pasteSelection): more clean up, user proper
3666 ParagraphList functions for pasteing.
3668 * ParagraphList.C (insert): new function, three arg insert
3670 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * ParagraphList.C (insert): new function, three arg insert
3674 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3677 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3679 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3681 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3685 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3688 (copySelection): clean up a bit.
3689 (pasteSelection): use make_pair
3691 * ParagraphList.C (ParagraphList): implement copy constructor
3692 (operator=): implement, base on copy constructor.
3695 * paragraph.C (erase): return a bool
3697 * paragraph_pimpl.C (erasePos): remove function, move contents...
3698 (erase): ... here. Return a bool.
3699 (erase): call erase instead of erasePos.
3701 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3703 * ParagraphList.h: define PitPosPair
3704 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3705 ParagraphList, fix a bug on pasting multiple pars
3706 * text2.C: change interface to C&P
3708 2003-04-30 André Pönitz <poenitz@gmx.net>
3710 * undo_func.C: revert part of yesterday's patch 2
3712 2003-04-30 John Levon <levon@movementarian.org>
3714 * LColor.C: s/tabular/table/
3716 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3718 * text3.C (dispatch): do not convert iterator -> pointer
3719 * undo_funcs.C (setCursorParUndo): ditto
3720 * text_funcs.C (transposeChars): ditto
3722 * text2.C (setLayout): ws changes only
3724 * text.C (breakParagraph): do not convert iterator -> pointer
3726 (acceptChange): ditto
3727 (rejectChange): ditto
3732 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3735 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3737 * text3.C (gotoInset): YABG (yet another bad getChar)
3739 2003-04-29 André Pönitz <poenitz@gmx.net>
3741 * paragraph.h: make operator= private unimplemented as long as
3744 * ParagraphList.C: whitespace
3747 * paragraph_pimpl.[Ch]:
3748 * paragraph_funcs.C:
3750 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3753 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3755 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3757 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3758 * paragraph.[Ch] (erase):
3759 * paragraph_pimpl.[Ch] (erase): change return type and value
3760 * text2.C (cutSelection): some rework
3762 2003-04-28 John Levon <levon@movementarian.org>
3764 * bufferlist.C: changes for unsaved changes dialog
3766 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3768 * bufferlist.C (newFile): set language (messages_) for new
3771 * buffer.C (readFile): ws changes only.
3773 2003-04-28 André Pönitz <poenitz@gmx.net>
3778 * BufferView_pimpl.C:
3779 * BufferView.C: getParFromID related ParagraphList::iterator changes
3781 2003-04-28 André Pönitz <poenitz@gmx.net>
3783 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3786 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * messages.C: remove one more localedir class variable.
3790 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3792 * messages.C (getLocaleDir): singleton generation function
3794 (Messages): add a default constructor.
3796 * main.C (main): do not setup localedir here, do not call
3799 * gettext.C (_): use it.
3800 (gettext_init): delete funciton
3802 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * gettext.C (getLyXMessages): new singleton generating function.
3806 * buffer.C (updateDocLang): adjust
3808 * Makefile.am (messages.o): add target
3809 (main.o): remove target
3811 2003-04-27 John Levon <levon@movementarian.org>
3816 * lyxvc.C: specify cancel button in Alert::prompt
3818 2003-04-26 John Levon <levon@movementarian.org>
3823 * LyXAction.C: add LFUN_INSET_SETTINGS
3825 * lyxfunc.C: don't enable tabular-feature when there's
3826 just any locking inset
3828 2003-04-26 John Levon <levon@movementarian.org>
3830 * bufferlist.C: re-add Cancel to buffer close question
3832 * lyxfunc.C: fix import UI a bit
3834 2003-04-25 John Levon <levon@movementarian.org>
3836 * gettext.C: remove the broken asserts for now
3838 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * messages.C: make case where setlocale cannot comply work better.
3842 * buffer.C (updateDocLang): new function
3843 (changeLanguage): use it
3846 * text2.C (setCounter): use B_ a bit.
3848 * lyxlayout.C (Read): be sure to trim the label strings.
3850 * messages.C (Messages): fix typo in comment
3852 * buffer.C (readFile): set message_ after file is loaded.
3853 (makeDocBookFile): remove double return
3854 (changeLanguage): reset message_ upon language change.
3855 (B_): new func, use this to get translated buffer strings.
3857 * main.C: add myself and Jean Marc as authors.
3859 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * messages.[hC]: pimplify Messages, and three different pimpls to be
3862 used in different circumstances.
3864 * gettext.[Ch]: change for use with new message code.
3866 2003-04-24 André Pönitz <poenitz@gmx.net>
3868 * factory.C: support for eqref
3870 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * messages.[Ch]: add missing char
3874 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3876 * messages.[Ch]: New files
3878 2003-04-18 John Levon <levon@movementarian.org>
3882 * BufferView_pimpl.C:
3886 * text2.C: remove layout-copy/paste (bug 778)
3888 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3890 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3892 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3894 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3895 if they succeed. Act accordingly.
3897 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * text2.C (setCharFont): adjust
3900 (setCounter): adjust
3901 (insertStringAsLines): adjust
3903 * text.C (leftMargin): adjust
3904 (setHeightOfRow): adjust
3906 * rowpainter.C (paintFirst): adjust
3909 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3911 (isFirstInSequence): ditto
3912 (getEndLabel): ditto
3915 * paragraph.C (getParLanguage): comment out some hard stuff.
3917 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3919 (simpleDocBookOnePar): ditto
3920 (makeDocBookFile): use ParagraphList::iterator
3922 * CutAndPaste.C (pasteSelection): adjust
3924 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * text2.C (getFont): adjust
3927 (getLayoutFont): adjust
3928 (getLabelFont): adjust
3930 * paragraph_funcs.C (TeXOnePar): adjust
3932 * buffer.C (simpleLinuxDocOnePar): adjust
3933 (simpleDocBookOnePar): adjust
3935 * CutAndPaste.C (pasteSelection): adjust
3937 * BufferView.C (getEncoding): adjust
3939 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3941 2003-04-16 John Levon <levon@movementarian.org>
3943 * lyxfind.C: use parlist stuff for search/changes
3945 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3949 * text2.C (deleteEmptyParagraphMechanism): adjust
3951 * text2.[Ch] (ownerParagraph): delete func (both of them
3953 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3957 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3959 * ParagraphList.C: prepare for NO_NEXT
3961 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * text2.C (getFont): adjust
3964 (getLayoutFont): adjust
3965 (getLabelFont): adjust
3967 * paragraph.C (getFont): adjust
3968 (getLabelFont): adjust
3969 (getLayoutFont): adjust
3971 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3973 2003-04-15 John Levon <levon@movementarian.org>
3977 * lyx_main.C: handle Include in .ui files
3979 2003-04-15 John Levon <levon@movementarian.org>
3981 * MenuBackend.C: make the doc files length shorter
3984 * ToolbarBackend.C: handle toolbar placement flags,
3987 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3992 * paragraph_funcs.C (TeXOnePar): adjust
3994 * paragraph.C (getLabelFont): add outerfont arg, adjust
3995 (getLayoutFont): ditto
3996 (simpleTeXOnePar): adjust
3998 * paragraph_pimpl.C (realizeFont): delete func
4000 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4002 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4003 row argument, constify cur argument.
4005 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * text2.C (getFont): adjust
4008 (getLayoutFont): adjust
4009 (getLabelFont): adjust
4011 * paragraph_funcs.C (TeXOnePar): adjust
4012 (outerFont): new func...
4013 (realizeFont): ...moved out from here, changed this to facilitate
4016 * paragraph.C (getFont): take outerfont as arg, adjust
4017 (simpleTeXOnePar): add outerfont arg, adjust
4019 * buffer.C (simpleLinuxDocOnePar): adjust
4020 (simpleDocBookOnePar): adjust
4022 * CutAndPaste.C (pasteSelection): adjust
4024 * BufferView.C (getEncoding): adjust
4026 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * text2.C (setCharFont): adjust
4029 (setCounter): adjust
4031 * text.C (leftMargin): adjust
4032 (setHeightOfRow): adjust
4034 * rowpainter.C (paintFirst): adjust
4037 * paragraph_pimpl.C (realizeFont): adjust
4039 * paragraph.C (isFirstInSequence): move from here...
4040 * paragraph_funcs.C (isFirstInSequence): ...to here
4042 * paragraph.C (outerHook): move from here...
4043 * paragraph_funcs.C (outerHook): ...to here
4045 * paragraph.C (depthHook): move from here...
4046 * paragraph_funcs.C (depthHook): ...to here
4048 * paragraph.C (getEndLabel): move from here...
4049 * paragraph_funcs.C (getEndLabel): ...to here
4051 * text2.C (realizeFont): move from here...
4052 * paragraph_funcs.C (realizeFont): ...to here
4054 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4058 2003-04-14 Angus Leeming <leeming@lyx.org>
4060 * LColor.[Ch]: scrap LColor mathcursor.
4062 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * lyxlex.[Ch] (text): delete function
4065 * trans.C (Load): adjust
4066 * paragraph_funcs.C (readParToken): adjust
4068 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4071 vector<char> instead of a char[].
4073 * lyxlex_pimpl.C (getString): adjust
4075 (lex): use getString
4079 * lyxlex.C (text): use pimpl_->getString()
4083 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4086 (makeFontEntriesLayoutSpecific): temp var for par.size()
4087 (setLayout): temp var for ownerParagraphs().end()
4088 (fullRebreak): temp var for rows().end()
4089 (selectionAsString): temp var for boost::next(startpit), realize
4090 that the while really is a regular for loop.
4091 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4092 setCursor in one place.
4093 (setParagraph): temp vr for ownerParagraphs().end()
4094 (updateCounters): make the while loop a for loop
4095 (cutSelection): temp var for ownerParagraphs().end()
4096 (updateInset): make the do {} while() a regular for loop
4097 (getCursorX): use temp vars
4098 (setCurrentFont): use temp vars
4099 (getColumnNearX): use temp vars
4101 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * text.C (transformChar): use temp var for getChar
4104 (computeBidiTables): use temp var for row->par()
4105 (fill): move temp vars for row->par() and pit->layout() earlier in
4107 (labelFill): use temp var for row->par()
4108 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4109 asc and desc, realize that pit never changes and that firstpit is
4110 just a duplicate and not needed. Exchange rit->par() with pit in a
4112 (breakAgain): use a temp var for boost::next(rit)
4113 (breakAgainOneRow): ditto
4114 (breakParagraph): use a temp var for rows().begin()
4115 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4116 (cursorRightOneWord): use temp var for cursor.par() and
4117 cursor.pos(), remove usage of tmpcursor.
4118 (cursorLeftOneWord): use temp var for cursor.par() and
4119 cursor.pos() only set cur at end of function.
4121 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * text.C, text2.C: exchange all usage of Paragraph::next with
4124 boost::next(ParagraphList::iterator)
4126 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4128 * text2.C (cursorTop): simplify implementation
4129 (cursorBottom): ditto
4130 (setParagraph): use ParagraphList::iterator
4131 (setCurrentFont): adjust
4132 (getColumnNearX): adjust
4133 (cursorRight): adjust
4134 (cursorLeft): remove usage of Paragraph::previous
4135 (cursorUpParagraph): ditto
4136 (deleteEmptyParagraphMechanism): slight cleanup
4138 * text.C (isBoundary): take a Paragraph const & instead of a
4140 (addressBreakPoint): ditto
4141 (leftMargin): remove usage of Paragraph::previous.
4142 (setHeightOfRow): ditto
4143 (cursorLeftOneWord): ditto
4144 (selectNextWordToSpellcheck): ditto
4147 (breakParagraph): remove one usage of Paragraph::next
4148 (redoParagraph): ditto
4149 (acceptChange): ditto
4150 (insertChar): adjust
4151 (rowBreakPoint): adjust
4153 * bufferview_funcs.C (toggleAndShow): adjust
4155 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4157 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4158 methods to access it.
4160 * text.C: Added updateRowPositions to compute all row positions.
4161 Make top_y and getRowNearY() to use the cached y position
4163 2003-04-11 John Levon <levon@movementarian.org>
4165 * text.C (rowBreakPoint): reintroduce the labelEnd
4166 checks, code copied from the row fill stuff. Deep voodoo.
4168 * text.C (fill): add a comment and debugging for the
4171 2003-04-11 John Levon <levon@movementarian.org>
4173 * text.C: make sure fullrow insets get wrapped to the next line,
4174 even when they're in a manual label
4176 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4178 * text2.C (insertParagraph): make it take ParagraphList::iterator
4180 (setLayout): make it return ParagraphList::iterator
4181 (redoParagraphs): ditto
4183 (checkParagraph): ditto
4185 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4187 * text2.C: adjust several funcs.
4188 (realizeFont): take a ParagraphList::iterator as arg.
4189 (getLayoutFont): ditto
4190 (getLabelFont): ditto
4191 (setCharFont): ditto
4193 * text.C: adjust several funcs.
4195 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4197 * text.C (selectNextWordToSpellcheck): don't accidentally
4200 2003-04-10 John Levon <levon@movementarian.org>
4202 * ToolbarBackend.C (getIcon): special handling for
4205 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4207 * text2.C (cursorRight): a getChar assert fixed
4209 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * text2.C (getFont): change to take a ParagraphList::iterator
4212 instead of Paragraph*
4213 Adjust several functions.
4215 * text.C (transformChar): change to take a ParagraphList::iterator
4216 instead of Paragraph*
4217 (singleWidth): ditto
4218 Adjust several functions.
4220 * rowpainter.C: adjust several functions
4221 * rowpainter.h:store a ParagraphList::iterator and not a
4225 2003-04-09 John Levon <levon@movementarian.org>
4230 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4231 and the "help" bits as well
4233 2003-04-09 John Levon <levon@movementarian.org>
4236 * ToolbarBackend.C: allow multiple toolbars
4238 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * undo_funcs.C (setCursorParUndo): adjust
4242 * text_funcs.C (transposeChars): adjust
4244 * text3.C (gotoNextInset): adjust
4247 * text2.C (setLayout): adjust
4248 (changeDepth): adjust
4250 (redoParagraphs): adjust
4251 (selectionAsString): adjust
4252 (setParagraph): adjust
4253 (insertInset): adjust
4254 (cutSelection): adjust
4255 (copySelection): adjust
4256 (pasteSelection): adjust
4257 (insertStringAsLines): adjust
4258 (updateInset): adjust
4259 (setCursor): change to take a ParagraphList::iterator parameter
4260 (setCursorIntern): change to take a ParagraphList::iterator parameter
4261 (setCurrentFont): adjust
4262 (cursorLeft): adjust
4263 (cursorRight): adjust
4264 (deleteEmptyParagraphMechanism): adjust
4266 * text.C (breakParagraph): adjust
4267 (insertChar): adjust
4268 (acceptChange): adjust
4269 (rejectChange): adjust
4270 (selectNextWordToSpellcheck): adjust
4271 (changeCase): adjust
4275 * lyxfind.C (SearchForward): adjust
4276 (SearchBackward): adjust
4277 (nextChange): adjust
4279 * lyxcursor.C (par): adjust
4281 * lyxcursor.h: store a ParagraphList::iterator instead of a
4284 * lyx_cb.C (getPossibleLabel): adjust
4286 * bufferview_funcs.C (toggleAndShow): adjust
4288 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4291 * BufferView.C (removeAutoInsets): adjust
4292 (lockedInsetStoreUndo): adjust
4294 2003-04-09 John Levon <levon@movementarian.org>
4296 * ToolbarBackend.C: try icon without argument
4297 if with argument fails
4299 2003-04-08 John Levon <levon@movementarian.org>
4302 * ToolbarBackend.C: add getIcon(), handle tooltip,
4303 and change from "Icon" to "Item".
4305 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4307 * BufferView.C (lockInset): another bad getchar crunched
4309 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4311 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4314 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4316 * lyxfind.C (searchForward, searchBackwards): bug 782
4318 2003-04-07 John Levon <levon@movementarian.org>
4320 * paragraph.C: remove dead comment
4322 * text.C: remove troublesome depth-fiddling code
4323 in leftMargin() and rightMargin() (bug 1017)
4325 * text.C: fix breaking of rows in nested lists
4328 * text2.C (updateCounters): fix up depth values
4331 2003-04-07 John Levon <levon@movementarian.org>
4333 * BufferView_pimpl.C: clear message when doc finishes resizing,
4334 and after a mouse event
4336 * lyxfunc.C: clear message after exiting inset
4338 2003-04-07 John Levon <levon@movementarian.org>
4340 * bufferview_funcs.C: show math status not outside
4341 status in the statusbar
4343 2003-04-07 John Levon <levon@movementarian.org>
4345 * lyxfunc.C: note status changed after a depth change
4347 2003-04-04 Angus Leeming <leeming@lyx.org>
4349 * LaTeX.h: move AuxInfo operator==, != out of line.
4350 Remove LaTeX virtual destructor; nothing derives from it.
4351 Move operator()() out of public area and rename it startscript().
4352 Change protected for private.
4354 2003-04-04 Angus Leeming <leeming@lyx.org>
4357 * text2.C: remove unneeded #includes.
4359 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4361 * text2.C (dEPM): fix the heigth of the next row
4363 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4365 * text.C: squashed an invalid getChar requester + some ws changes
4367 2003-04-03 John Levon <levon@movementarian.org>
4369 * bufferview_funcs.h:
4370 * bufferview_funcs.C:
4373 * text2.C: make getStatus work for the env depth lfuns
4375 2003-04-03 John Levon <levon@movementarian.org>
4377 * bufferview_funcs.h:
4378 * bufferview_funcs.C:
4381 * text2.C: parlistize decDepth(), by merging it with incDepth()
4383 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * lyxrow.h: store a ParagraphList::iterator instead of a
4386 Paragraph* and adjust other class functions to suit.
4388 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4391 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4393 * text2.C (setCursor): do not anchor to cursor row for the time being
4395 2003-04-02 John Levon <levon@movementarian.org>
4402 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4404 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * paragraph.h: make ParagraphList and ParagraphList::iterator
4407 friends of Paragraph.
4409 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4411 * ParagraphList.C: Use the private next_ and previous_ from
4414 2003-04-01 John Levon <levon@movementarian.org>
4418 * Makefile.am: rename, remove defaults gunk
4421 * MenuBackend.C: remove defaults gunk
4424 * Languages.C: remove defaults gunk
4427 * lyx_main.C: error out if files couldn't be found.
4429 2003-04-02 John Levon <levon@movementarian.org>
4431 * text2.C: make incDepth() use parlist
4433 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4435 * undo_funcs.C (firstUndoParagraph): adjust
4437 * text3.C (gotoInset): adjust
4438 (dispatch): adjust, and rewrite loop.
4440 * text2.C (init): adjust, and rewrite loop.
4441 (redoParagraphs): adjust
4442 (updateInset): adjust, and rewrite loop.
4443 (deleteEmptyParagraphMechanism): adjust
4445 * tabular.C (LyXTabular): adjust
4446 (SetMultiColumn): adjust
4449 * lyxtext.[Ch] (ownerParagraph): delete function
4450 (ownerParagraphs): new function returns a ParagraphList.
4452 * BufferView.C (removeAutoInsets): adjust
4453 (insertErrors): adjust
4454 (setCursorFromRow): adjust
4456 2003-04-01 Angus Leeming <leeming@lyx.org>
4458 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4461 2003-04-02 John Levon <levon@movementarian.org>
4467 * text_funcs.C: make transposeChars a free function
4469 * lyxrow_funcs.C: remove wrong comment
4471 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * rowpainter.C: adjust
4479 * lyxrow_funcs. [Ch]: new files
4481 * lyxrow.[Ch]: remove next and previous pointers
4482 (next,previous): remove accessor functions
4483 (isParEnd): move to lyxrow_funcs
4484 (lastPos): move to lyxrow_funcs
4485 (nextRowIsAllInset): move to lyxrow_funcs
4486 (lastPrintablePos): move to lyxrow_funcs
4487 (numberOfSeparators): move to lyxrow_funcs
4488 (numberOfHfills): move to lyxrow_funcs
4489 (numberOfLabelHfills): move to lyxrow_funcs
4490 (hfillExpansion): move to lyxrow_funcs
4494 * bufferview_funcs.C (toggleAndShow): adjust
4496 * RowList.h: Remove class RowList from file leave just a
4499 * RowList.C: delete file
4501 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4504 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * text3.C (cursorPrevious): adjust
4507 (cursorNext): adjust
4510 * text2.C (redoHeightOfParagraph): adjust
4511 (redoDrawingOfParagraph): adjust
4514 * text.C (breakParagraph): adjust
4515 (insertChar): adjust
4518 * rowpainter.C (RowPainter): adjust
4519 (leftMargin): simplify and adjust
4520 (most rowpainter functions): adjust.
4522 * rowpainter.h: store the row as RowList::iterator not as Row*
4524 * lyxcursor.C (row): taka RowList::iterator as arg
4527 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4530 2003-04-01 Angus Leeming <leeming@lyx.org>
4532 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4533 stuff like bool Bool.
4535 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4537 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4540 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4545 * lyxtext.h (rows): drop one version and leve a const variant that
4546 returns a RowList::iterator.
4548 2003-03-31 Angus Leeming <leeming@lyx.org>
4550 * text.C (fill): ensure that the signature is the same as that in the
4553 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * text2.C (redoParagraphs): adjust
4556 (updateCounters): adjust
4557 (checkParagraph): adjust
4558 (getColumnNearX): adjust and reformat a bit.
4560 * text.C (top_y): adjust
4562 (leftMargin): adjust
4563 (prepareToPrint): adjust
4565 (getRowNearY): adjust
4567 * lyxtext.h: make rowlist_ mutable.
4569 * RowList.h: add const_iterator
4570 * RowList.C: adjust for RowList::const_iterator.
4572 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4575 2003-03-31 John Levon <levon@movementarian.org>
4578 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4580 * lyx_main.C: set default fonts from using lyx_gui funcs
4582 * exporter.C: pdf_mode moved from lyxrc
4585 * lyxfunc.C: changes from above
4587 2003-03-31 John Levon <levon@movementarian.org>
4589 * lyx_main.C: fix to the last fix
4591 2003-03-31 John Levon <levon@movementarian.org>
4593 * bufferlist.C: "Load original" -> "Load Original"
4599 * format.C: more Alert cleanups
4601 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * text2.C (removeParagraph): make it take a RowList::iterator as
4605 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4606 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4608 * text.C (anchor_row): make it take a RowList::iterator as arg,
4610 (computeBidiTables): make it take a const reference to Row instead
4611 of Row pointer, adjust.
4612 (leftMargin): make it take a RowList::iterator as arg, adjust.
4613 (rowBreakPoint): adjust
4614 (breakAgainOneRow): make it take a RowList::iterator as arg,
4616 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4618 * bufferview_funcs.C (toggleAndShow): adjust
4620 2003-03-30 John Levon <levon@movementarian.org>
4624 * boost-inst.C: moved to support
4626 * several files: changes as a result
4628 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * text2.C (LyXText): adjust.
4632 (removeRow): make it take a RowList::iterator as arg, adjust.
4633 (fullRebreak): adjust
4634 (deleteEmptyParagraphMechanism): adjust
4635 (clearPaint): adjust
4638 * text.C (top_y): adjust
4639 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4640 (breakAgain): make it take a RowList::iterator as arg, adjust.
4641 (breakParagraph): adjust
4642 (insertChar): adjust
4645 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4646 need_break_row, and refresh_row.
4648 * text3.C (dispatch): adjust
4650 * text2.C (checkParagraph): adjust
4652 (setCursorFromCoordinates): adjust
4654 * text.C (top_y): adjust
4656 (getRow): make it return a RowList::iterator, adjust
4657 (getRowNearY): make it return a RowList::iterator, adjust
4659 * text2.C (init): adjust
4660 (insertRow): remove function
4661 (insertParagraph): adjust
4662 (redoParagraphs): adjust
4663 (fullRebreak): adjust
4664 (updateCounters): adjust
4666 * text.C (top_y): rewrite to use RowList iterators.
4668 (setHeightOfRow): rewrite to sue RowList iterators.
4669 (appendParagraph): adjust
4670 (breakAgain): adjust
4671 (breakAgainOneRow): adjust
4672 (breakParagraph): adjust
4674 (getRowNearY): adjust, and remove commented code.
4676 * lyxtext.h (firstRow): delete function
4677 (lastRow): delete function
4678 (rows): new function (const and non-const versions.)
4679 (insertRow): delete function
4681 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4683 2003-03-29 John Levon <levon@movementarian.org>
4685 * BufferView_pimpl.C: always update scrollbar top
4686 because pasting text when we're anchored could mean we
4687 miss an update altogether
4689 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4691 * text2.C (init): use rowlist_.end() and not 0.
4692 (insertRow): change to take a RowList::iterator as arg, adjust
4694 (insertParagraph): change to take a RowList::iterator as arg,
4696 (redoParagraphs): remove some debug msgs.
4698 * text.C (appendParagraph): change to take a RowList::iterator
4699 arg, adjust for this.
4700 (breakAgain): add an assert
4701 (breakAgainOneRow): ditto
4703 2003-03-29 John Levon <levon@movementarian.org>
4705 * text2.C: do not clear selection after inc/decDepth
4708 2003-03-29 John Levon <levon@movementarian.org>
4711 * buffer.C: fix broken strerrors according to Lars
4713 2003-03-29 John Levon <levon@movementarian.org>
4715 * converters.C: more Alert cleanups
4717 2003-03-29 John Levon <levon@movementarian.org>
4719 * bufferview_funcs.C: remove pointless Alert
4721 * buffer.C: fix confusing error message when
4722 a template is chmoded 000
4724 2003-03-29 John Levon <levon@movementarian.org>
4728 * BufferView_pimpl.C: Alert fixes
4732 * tabular-old.C: remove unused table compat reading
4734 2003-03-29 John Levon <levon@movementarian.org>
4739 * lyx_cb.C: more Alert cleanups
4741 * lyxfunc.C: don't allow chktex if not latex document
4743 2003-03-29 John Levon <levon@movementarian.org>
4747 * buffer.C: warnings pushed down from support/,
4750 2003-03-29 John Levon <levon@movementarian.org>
4752 * lyxfunc.C: safety check for C-r (revert)
4754 2003-03-29 John Levon <levon@movementarian.org>
4757 * bufferlist.C: several UI fixes using Alert::prompt.
4758 Fix the pointless looping quit code. Fix stupid revert
4763 * lyx_cb.C: use Alert::prompt
4765 * lyx_main.C: remove a silly question
4767 * lyxfunc.C: remove a couple of silly questions,
4770 2003-03-28 John Levon <levon@movementarian.org>
4772 * text2.C: fix bug 974 (End on empty par)
4774 2003-03-28 John Levon <levon@movementarian.org>
4776 * BufferView_pimpl.C:
4778 * lfuns.h: remove do-nothing math greek lfuns
4780 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * lyxgluelength.h (isValidGlueLength): add default arg on
4783 parameter 2. Remove default arg from friend in class.
4785 * lyxlength.h (isValidLength): add default arg on parameter 2.
4786 Remove default arg from friend in class.
4788 * text2.C (LyXText): adjust, initialize refresh_row.
4792 (insertParagraph): adjst
4793 (redoParagraphs): adjust
4794 (fullRebreak): adjust
4795 (updateCounters): adjust
4796 (deleteEmptyParagraphMechanism): first attempt at fixing a
4799 * text.C (top_y): adjust
4800 (setHeightOfRow): adjust
4802 (getRowNearY): adjust
4804 * lyxtext.h: include RowList.h
4805 (~LyXText): not needed anymore, deleted.
4806 (firstRow): modify for RowList
4807 (lastRow): new function
4808 Delete firstrow and lastrow class variables, add a Rowlist
4809 rowlist_ class variable.
4811 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4814 * RowList.C (insert): fix case where it == begin().
4816 2003-03-26 Angus Leeming <leeming@lyx.org>
4818 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4819 the thesaurus dialog.
4821 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4825 * RowList.[Ch]: new files
4827 * ParagraphList.C (erase): handle the case where it == begin
4830 2003-03-25 John Levon <levon@movementarian.org>
4834 * aspell.C: add new aspell support
4837 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4840 2003-03-25 Angus Leeming <leeming@lyx.org>
4843 * LyXAction.C (init): new LFUN_INSET_INSERT.
4845 * BufferView_pimpl.C (dispatch): split out part of the
4846 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4848 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4851 2003-03-25 Angus Leeming <leeming@lyx.org>
4853 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4855 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4858 * text3.C: remove useless row->height(0)
4860 2003-03-25 John Levon <levon@movementarian.org>
4864 * text3.C: rename the refreshing stuff to better names
4866 2003-03-24 John Levon <levon@movementarian.org>
4868 * BufferView_pimpl.h:
4869 * BufferView_pimpl.C: update layout choice on a mouse
4872 2003-03-23 John Levon <levon@movementarian.org>
4874 * Makefile.am: fix commandtags.h reference
4876 2003-03-22 John Levon <levon@movementarian.org>
4878 * BufferView_pimpl.C:
4883 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4885 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4888 * text.C: take the rtl methods out of line
4890 2003-03-21 André Pönitz <poenitz@gmx.net>
4892 * metricsinfo.[Ch]: new files containing structures to be passed around
4893 during the two-phase-drawing...
4895 2003-03-21 André Pönitz <poenitz@gmx.net>
4897 * lyxtextclass.C: read 'environment' tag.
4899 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4901 * text2.C (removeRow): fix bug 964
4903 2003-03-20 John Levon <levon@movementarian.org>
4907 * text2.C: paint cleanups. Inset::update() dropped font
4910 2003-03-19 John Levon <levon@movementarian.org>
4912 * lyxfunc.C: only fitcursor/markDirty if available()
4914 2003-03-19 John Levon <levon@movementarian.org>
4916 * commandtags.h: rename to ...
4918 * lfuns.h: ... this, and renumber / cleanup
4920 2003-03-19 John Levon <levon@movementarian.org>
4922 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4923 fit the cursor after an lfun
4927 * BufferView_pimpl.h:
4928 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4930 * LyXAction.C: layout-character should have ReadOnly
4932 * ParagraphParameters.C:
4934 * bufferview_funcs.C:
4941 * undo_funcs.C: changes from above
4943 2003-03-18 John Levon <levon@movementarian.org>
4945 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4946 remove it from update()
4948 * lyxfunc.C: update layout choice after an lfun
4950 * text3.C: remove extra updateLayoutChoice()s
4952 2003-03-18 John Levon <levon@movementarian.org>
4954 * text.C: top_y change means full repaint, fix
4955 a drawing bug with cursor movement
4957 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4961 * text2.C: anchor row on setCursor
4963 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4965 * lyxtext.h: remove almost all mutable keywords
4968 * text3.C: remove const keywords accordingly
4970 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4974 (TeXEnvironment): ditto
4977 2003-03-17 John Levon <levon@movementarian.org>
4979 * text.C (rowBreakPoint): remove attempt to fix displayed
4980 math insets inside a manual label
4982 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * lyxtext.h: remove BufferView* as first arg from almost all class
4986 * other files: adjust.
4988 2003-03-17 John Levon <levon@movementarian.org>
4992 * text2.C: more paint cleanups
4994 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4997 * rowpainter.C: remove "smart" background painting code
4999 2003-03-16 John Levon <levon@movementarian.org>
5004 * text3.C: add helper functions for setting refresh_row/y
5006 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5008 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5009 newline inset which *can* get inserted in the pass_thru layouts.
5010 This is primarily for literate documents.
5012 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5014 * buffer.C: increment LYX_FORMAT to 223
5016 2003-03-14 André Pönitz <poenitz@gmx.net>
5018 * textclass.h: prepare for environment handling, ws changes
5019 * lyxlayout.C: read latexheader and latexfooter tags
5021 2003-03-14 John Levon <levon@movementarian.org>
5023 * text2.C: rewrite ::status() a bit
5025 2003-03-13 John Levon <levon@movementarian.org>
5027 * lyxtext.h: add some docs
5029 2003-03-13 John Levon <levon@movementarian.org>
5034 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5036 2003-03-13 John Levon <levon@movementarian.org>
5038 * text3.C: fix appendix redrawing
5040 2003-03-13 John Levon <levon@movementarian.org>
5042 * text.C (setHeightOfRow):
5044 * rowpainter.C: make appendix mark have the text
5045 "Appendix" so the user knows what it is
5048 * LColor.C: s/appendixline/appendix/ from above
5050 2003-03-13 John Levon <levon@movementarian.org>
5052 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5054 * text.C: fix a getChar(pos) bug properly
5056 2003-03-13 Angus Leeming <leeming@lyx.org>
5059 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5060 Probably only temporary. Let's see how things pan out.
5062 * BufferView.C (unlockInset):
5063 * BufferView_pimpl.C (fitCursor):
5064 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5066 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5067 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5069 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5070 new functions that convert ParagraphParameters to and from a string.
5072 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5073 BufferView::Pimpl's dispatch.
5074 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5076 2003-03-13 André Pönitz <poenitz@gmx.net>
5080 * factory.C: make it aware of InsetEnv
5082 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * text2.C (setCursor): never ask for one past last
5085 (setCursor): add some debugging messages.
5087 * text.C (singleWidth): never ask for one past last
5088 (singleWidth): ditto
5090 (rightMargin): ditto
5091 (rowBreakPoint): ditto
5092 (setHeightOfRow): ditto
5093 (prepareToPrint): ditto
5095 * rowpainter.C (paintBackground): never ask for one past last
5096 (paintText): never ask for one past last
5098 * paragraph_pimpl.C (getChar): make the assert stricter, never
5099 allow the one past last pos to be taken
5101 * paragraph.C (getChar): ws changes only
5103 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5104 (numberOfSeparators): ditto
5105 (numberOfHfills): ditto
5107 2003-03-12 John Levon <levon@movementarian.org>
5113 * paragraph_funcs.C: fix per-buffer authorlists
5115 2003-03-12 John Levon <levon@movementarian.org>
5117 * text.C: fix newline in right address
5119 2003-03-12 Angus Leeming <leeming@lyx.org>
5121 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5122 duplicate those in LyXFunc::dispatch.
5126 * ToolbarDefaults.C:
5127 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5128 Add LFUN_FONTFREE_UPDATE.
5130 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5131 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5133 * bufferview_func.[Ch]: several new functions to facilliate
5134 transfer of data to and from the character dialog.
5136 2003-03-12 John Levon <levon@movementarian.org>
5141 * paragraph_funcs.C:
5142 * paragraph_pimpl.C:
5146 * text3.C: remove META_NEWLINE in favour of an inset
5149 * rowpainter.C: remove paintNewline (done by inset)
5151 2003-03-12 John Levon <levon@movementarian.org>
5153 * paragraph_pimpl.C: complain about bad getChar()s
5154 for a while at least
5156 2003-03-12 John Levon <levon@movementarian.org>
5159 * buffer.C: move paragraph read into a separate function,
5160 a little renaming to reflect that.
5163 * bufferparams.C: remove the author_ids map, not necessary now
5166 * factory.C: moved Buffer::readInset to here
5168 * paragraph_funcs.h:
5169 * paragraph_funcs.C: readParagraph free function moved from
5172 * tabular.C: name change
5174 2003-03-12 John Levon <levon@movementarian.org>
5177 * ParagraphParameters.C: move par params input to
5180 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5181 behave like a normal read from the stream wrt reading
5182 a line vs. a \\token
5184 2003-03-12 John Levon <levon@movementarian.org>
5187 * ParagraphParameters.h:
5188 * ParagraphParameters.C: move output code to a
5191 2003-03-12 John Levon <levon@movementarian.org>
5193 * BufferView.C (insertLyXFile):
5196 * tabular.C: use a parlist iterator for creating the
5199 2003-03-12 John Levon <levon@movementarian.org>
5201 * buffer.C: make current_change static local not
5204 2003-03-12 John Levon <levon@movementarian.org>
5206 * buffer.C: fix insertStringAsLines for change tracking
5208 2003-03-12 John Levon <levon@movementarian.org>
5215 * bufferparams.C: move author list into params. Rename some
5216 functions. Move the header reading into a separate token
5217 loop. Move the header token reading into BufferParams.
5219 2003-03-12 John Levon <levon@movementarian.org>
5221 * changes.C: put debug inside lyxerr.debugging() checks
5223 2003-03-11 André Pönitz <poenitz@gmx.net>
5225 * factory.C: make it aware of InsetHFill
5227 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5229 * buffer.C (latexParagraphs): move function from here...
5230 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5233 2003-03-10 Angus Leeming <leeming@lyx.org>
5235 * LyXAction.C (init): fix bug in poplating array with multiple entries
5236 with the same LFUN (spotted by JMarc).
5238 2003-03-10 John Levon <levon@movementarian.org>
5241 * text2.C: move getColumnNearX() near its
5244 2003-03-10 John Levon <levon@movementarian.org>
5246 * text.C: fix break before a minipage
5248 2003-03-10 John Levon <levon@movementarian.org>
5250 * text.C: fix the last commit
5252 2003-03-09 John Levon <levon@movementarian.org>
5256 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5257 bug 365 (don't break before insets unless needed). Don't
5258 return a value > last under any circumstances.
5260 2003-03-09 Angus Leeming <leeming@lyx.org>
5262 * BufferView_pimpl.C (trackChanges, dispatch): call
5263 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5265 2003-03-09 Angus Leeming <leeming@lyx.org>
5267 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5268 than Dialogs::showAboutlyx().
5270 2003-03-09 Angus Leeming <leeming@lyx.org>
5272 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5273 than Dialogs::showTabularCreate().
5275 2003-03-09 John Levon <levon@movementarian.org>
5279 * text2.C: 3rd arg to nextBreakPoint was always the same.
5282 2003-03-08 John Levon <levon@movementarian.org>
5289 * text2.C: Remove the "main" bit from the "main body"
5292 2003-03-08 John Levon <levon@movementarian.org>
5294 * text.C (leftMargin): The left margin of an empty
5295 manual label paragraph should not include the label width
5298 * text.C (prepareToPrint): don't attempt to measure hfills
5299 for empty manual label paragraphs - the answer should be 0
5301 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * CutAndPaste.C: remove commented code and reindent.
5305 2003-03-08 John Levon <levon@movementarian.org>
5308 * lyxfunc.C: move reloadBuffer()
5311 * BufferView.C: to here
5313 * lyxvc.C: add comment
5316 * vc-backend.C: call bv->reload() to avoid
5317 getStatus() check on MENURELOAD
5319 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5321 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5322 to an old format .dep file.
5324 2003-03-07 Angus Leeming <leeming@lyx.org>
5326 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5327 when the LFUN_MOUSE_RELEASE should have been handled by
5328 inset->localDispatch.
5330 2003-03-07 Angus Leeming <leeming@lyx.org>
5332 * BufferView_pimpl.C (dispatch):
5333 * LyXAction.C (init):
5334 * ToolbarDefaults.C (init):
5336 * lyxfunc.C (getStatus):
5337 remove LFUN_INSET_GRAPHICS.
5339 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5341 2003-03-07 Angus Leeming <leeming@lyx.org>
5344 * LyXAction.C (init):
5345 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5347 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5350 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5352 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5353 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5355 2003-03-07 Angus Leeming <leeming@lyx.org>
5357 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5360 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * ParagraphList.C (front): new function
5365 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5367 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5368 and top_row_offset_. removed var first_y.
5370 * text2.C (LyXText, removeRow):
5372 * BufferView_pimpl.C:
5373 use these methods instead of using first_y
5375 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5377 * text2.C (pasteSelection): adjust for checkPastePossible
5379 * CutAndPaste.C: remove Paragraph * buf and replace with
5380 ParagraphList paragraphs.
5381 (DeleteBuffer): delete
5382 (cutSelection): change the tc type to textclass_type
5383 (copySelection): change the tc type to textclass_type
5384 (copySelection): adjust for ParagraphList
5385 (pasteSelection): change the tc type to textclass_type
5386 (pasteSelection): adjust for Paragraphlist
5387 (nrOfParagraphs): simplify for ParagraphList
5388 (checkPastePossible): simplify for ParagraphList
5389 (checkPastePossible): remove unused arg
5391 * ParagraphList.C (insert): handle the case where there are no
5394 * CutAndPaste.h: make CutAndPaste a namespace.
5396 * text3.C (dispatch): adjust
5398 * text.C (breakParagraph): add a ParagraphList as arg
5400 * paragraph_funcs.C (breakParagraph): change to take a
5401 BufferParams and a ParagraphList as args.
5402 (breakParagraphConservative): ditto
5403 (mergeParagraph): ditto
5404 (TeXDeeper): add a ParagraphList arg
5405 (TeXEnvironment): ditto
5408 * buffer.C (readLyXformat2): adjust
5409 (insertStringAsLines): adjust
5410 (latexParagraphs): adjust
5412 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5413 (cutSelection): adjust
5414 (pasteSelection): adjust
5416 * BufferView_pimpl.C (insertInset): adjust
5418 2003-03-05 Angus Leeming <leeming@lyx.org>
5421 * LyXAction.C (init):
5422 * BufferView_pimpl.C (dispatch):
5423 * lyxfunc.C (getStatus):
5424 remove LFUN_CHILD_INSERT.
5426 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5428 2003-03-05 Angus Leeming <leeming@lyx.org>
5431 * LyXAction.C (init):
5432 * src/factory.C (createInset):
5433 * lyxfunc.C (getStatus):
5434 * text3.C (dispatch):
5435 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5437 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5439 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5441 * ParagraphList.C (insert): handle insert right before end()
5442 (erase): fix cases where it can be first or last paragraph.
5444 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5447 Paragraph::next and Paragraph::previous
5450 * text.C (breakParagraph): adjust
5452 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5453 BufferParams& as arg.
5454 (breakParagraph): use ParagraphList::insert
5455 (breakParagraphConservative): take a Buffer* instead of a
5456 BufferParams& as arg.
5457 (breakParagraphConservative): use ParagraphList::insert.
5459 * buffer.C (insertStringAsLines): un-const it
5460 (insertStringAsLines): adjust
5462 * ParagraphList.C (insert): new function
5464 * CutAndPaste.C (pasteSelection): adjust
5466 * text.C (backspace): adjust
5468 * tabular.C (SetMultiColumn): adjust
5470 * CutAndPaste.C (cutSelection): adjust
5471 (pasteSelection): adjust
5473 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5474 Buffer const * as arg
5476 * ParagraphList.C (erase): new function
5477 * paragraph_funcs.C (mergeParagraph): use it
5478 (mergeParagraph): make it take a Buffer* instead of a
5479 BufferParams* as arg
5481 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5483 (breakParagraphConservative): ditto
5485 * paragraph.h: remove the breakParagraph friend
5487 * paragraph.C (eraseIntern): new function
5488 (setChange): new function
5490 * paragraph_funcs.C (mergeParagraph): make it take a
5491 ParagraphList::iterator instead of a Paragraph *, adjust
5494 * paragraph.h: move an #endif so that the change tracking stuff
5495 also works in the NO_NEXT case.
5497 2003-03-04 Angus Leeming <leeming@lyx.org>
5500 * LyXAction.C: new LFUN_INSET_MODIFY.
5502 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5503 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5505 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * several files: ws changes only
5509 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5510 (TeXEnvironment): ditto
5513 * buffer.C (makeLaTeXFile): adjust
5514 (latexParagraphs): make it take ParagraphList::iterator as args
5516 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * buffer.C (latexParagraphs): adjust
5520 * paragraph.C (TeXOnePar): move function...
5521 (optArgInset): move function...
5522 (TeXEnvironment): move function...
5523 * paragraph_pimpl.C (TeXDeeper): move function...
5524 * paragraph_funcs.C: ...here
5526 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5528 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * buffer.C (readInset): remove compability code for old Figure and
5533 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * buffer.C: ws changes
5538 * BufferView_pimpl.C: ditto
5541 * bufferlist.h: ditto
5545 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5547 * converter.[Ch]: split into itself +
5550 * Makefile.am: += graph.[Ch] + format.[Ch]
5557 * lyxrc.C: added #include "format.h"
5559 2003-02-27 Angus Leeming <leeming@lyx.org>
5561 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5564 * factory.C (createInset): add "label" to the factory.
5566 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5567 string and do no more.
5569 2003-02-27 Angus Leeming <leeming@lyx.org>
5572 * LyXAction.C (init):
5573 * factory.C (createInset):
5574 * BufferView_pimpl.C (dispatch):
5575 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5577 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5579 * lyxfunc.C (dispatch):
5580 * text3.C (dispatch): pass name to params2string.
5582 2003-02-26 Angus Leeming <leeming@lyx.org>
5584 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5586 Rearrange the ~includes. Strip out the unnecessary ones.
5588 * factory.C (createInset): reformat.
5589 create new insets for the various LFUN_XYZ_APPLY lfuns.
5591 2003-02-26 John Levon <levon@movementarian.org>
5594 * lyxrow.C: add isParStart,isParEnd helpers
5596 * paragraph.h: make isInserted/DeletedText take refs
5598 * paragraph_funcs.h:
5599 * paragraph_funcs.C: remove #if 0'd code
5604 * text.C: use lyxrow helpers above.
5605 Move draw and paint routines to RowPainter.
5606 Make several methods use refs not pointers.
5607 Make backgroundColor() const.
5608 Add markChangeInDraw(), isInInset().
5609 Merge changeRegionCase into changeCase.
5610 Make workWidth() shouldn't-happen code into an Assert.
5613 * rowpainter.C: new class for painting a row.
5616 * vspace.C: make inPixels take a ref
5618 2003-02-26 Angus Leeming <leeming@lyx.org>
5620 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5623 2003-02-25 John Levon <levon@movementarian.org>
5625 * ispell.C: give the forked command a more accurate name
5627 2003-02-22 John Levon <levon@movementarian.org>
5630 * toc.C: make TocItem store an id not a Paragraph *
5633 2003-02-21 Angus Leeming <leeming@lyx.org>
5635 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5636 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5637 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5638 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5639 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5640 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5642 * BufferView_pimpl.C (dispatch):
5643 * LyXAction.C (init):
5644 * factory.C (createInset):
5645 * lyxfunc.C (getStatus, dispatch):
5646 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5648 2003-02-21 Angus Leeming <leeming@lyx.org>
5650 * BufferView_pimpl.C (MenuInsertLyXFile):
5651 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5652 * lyxfunc.C (menuNew, open, doImport):
5653 no longer pass a LyXView & to fileDlg.
5655 2003-02-21 Angus Leeming <leeming@lyx.org>
5657 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5658 * LyXAction.C: change, BIBKEY to BIBITEM.
5659 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5660 Change InsetBibKey to InsetBibitem.
5661 Change BIBKEY_CODE to BIBITEM_CODE.
5662 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5663 * factory.C: replace insetbib.h with insetbibitem.h.
5664 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5665 * paragraph.C: replace insetbib.h with insetbibitem.h.
5666 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5667 Change bibkey() to bibitem().
5668 * text.C: remove insetbib.h.
5669 * text2.C: replace insetbib.h with insetbibitem.h.
5670 change bibkey() to bibitem().
5671 * text3.C: remove insetbib.h.
5672 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5674 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5676 * lyxrc.C (output): enclose user email in quotes (in case there are
5679 2003-02-18 John Levon <levon@movementarian.org>
5681 * buffer.h: add std::
5683 2003-02-17 John Levon <levon@movementarian.org>
5689 * pspell.C: reworking. Especially in ispell, a large
5690 number of clean ups and bug fixes.
5692 * lyxfunc.C: fix revert to behave sensibly
5694 2003-02-17 André Pönitz <poenitz@gmx.net>
5697 * commandtags.h: new LFUN_INSERT_BIBKEY
5707 * paragraph_func.C: remove special bibkey handling
5709 2003-02-17 John Levon <levon@movementarian.org>
5711 * text.C (Delete): fix case where delete at the end of
5712 the very first paragraph would not merge the pars
5714 2003-02-17 John Levon <levon@movementarian.org>
5716 * lyxrow.C: fix lastPrintablePos()
5718 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5720 * bufferparams.C (writeLaTeX): add a std:here
5722 * buffer.C: and remove a using directive there
5724 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5726 * buffer.C (makeLaTeXFile): move the code that generates the
5729 * bufferparams.C (writeLaTeX): ... in this new method
5731 * LaTeXFeatures.C (getEncodingSet): make const
5732 (getLanguages): make const
5734 * MenuBackend.C (binding): returns the binding associated to this
5736 (add): sets the status of each item by calling getStatus. Adds
5738 (read): add support for OptSubMenu
5739 (expand): remove extra separator at the end of expanded menu
5741 2003-02-15 John Levon <levon@movementarian.org>
5744 * BufferView_pimpl.C:
5746 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5747 inset code that had no actual effect. Remove unneeded status
5750 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5752 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5755 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5757 * text.C (drawLengthMarker): also draw an arrow marker for
5758 symbolic lengths (medskip...)
5760 2003-02-14 John Levon <levon@movementarian.org>
5763 * tabular.C: better method names
5765 2003-02-14 John Levon <levon@movementarian.org>
5767 * BufferView_pimpl.C:
5772 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5773 it's a more accurate name. Remove some pointless uses.
5775 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5777 * text2.C (LyXText): change order of initilizers to shut off
5780 2003-02-14 John Levon <levon@movementarian.org>
5782 * buffer.C: use ParIterator for getParFromID()
5786 * paragraph_pimpl.h:
5787 * paragraph_pimpl.C: remove unused getParFromID()
5789 2003-02-14 John Levon <levon@movementarian.org>
5791 * buffer.C: remove some very old #if 0'd parse code
5793 2003-02-13 John Levon <levon@movementarian.org>
5797 * text2.C: move hfillExpansion(), numberOfSeparators(),
5798 rowLast(), rowLastPrintable(), numberofHfills(),
5799 numberOfLabelHfills() ...
5802 * lyxrow.C: ... to member functions here.
5807 * text.C: remove LyXText::beginningOfMainBody(), and call
5808 p->beginningOfMainBody() directly. Move the check for
5809 LABEL_MANUAL into the latter.
5816 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5822 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5823 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5825 2003-02-13 John Levon <levon@movementarian.org>
5827 * CutAndPaste.C: remove debug
5829 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5831 * paragraph.C (asString): remove two unused variables
5833 * lyxtextclass.C (readTitleType):
5835 (LyXTextClass): handle new members titletype_ and titlename_
5837 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5839 2003-02-09 John Levon <levon@movementarian.org>
5842 * buffer.C: replace hand-coded list with a map for the dep clean
5844 2003-02-08 John Levon <levon@movementarian.org>
5846 * LaTeX.C: consolidate code into showRunMessage() helper
5848 2003-02-08 John Levon <levon@movementarian.org>
5853 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5854 and pass the size in explicitly
5856 * BufferView_pimpl.h:
5857 * BufferView_pimpl.C:
5859 * BufferView.C: add getCurrentChange()
5861 * BufferView_pimpl.h:
5862 * BufferView_pimpl.C: handle change lfuns
5864 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5865 for changes. Mark pasted paragraphs as new.
5867 * support/lyxtime.h:
5868 * support/lyxtime.C:
5869 * DepTable.C: abstract time_t as lyx::time_type
5872 * LColor.C: add colours for new text, deleted text, changebars
5874 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5875 package use "usenames" option.
5879 * LyXAction.C: add change lfuns
5883 * author.C: author handling
5886 * buffer.C: add a per-buffer author list, with first entry as
5887 current author. Handle new .lyx tokens for change tracking. Output
5888 author list to .lyx file. Output dvipost stuff to .tex preamble.
5889 Bump lyx format to 222.
5892 * bufferlist.C: add setCurrentAuthor() to reset current author details
5896 * bufferparams.C: add param for tracking
5898 * bufferview_funcs.C: output change info in minibuffer
5902 * changes.C: add change-tracking structure
5905 * debug.C: add CHANGES debug flag
5908 * lyxfind.C: add code for finding the next change piece
5911 * lyxrc.C: add user_name and user_email
5914 * lyxrow.C: add a metric for the top of the text line
5917 * text.C: implement accept/rejectChange()
5920 * text.C: paint changebars. Paint new/deleted text in the chosen
5921 colours. Strike through deleted text.
5925 * paragraph_pimpl.h:
5926 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5927 in the current change to the insert functions. Rework erase to
5928 mark text as deleted, adding an eraseIntern() and a range-based
5929 erase(). Implement per-paragraph change lookup and
5932 * paragraph_funcs.C: Fixup paste for change tracking.
5934 * tabular.C: mark added row/columns as new.
5936 * text.C: fix rowLast() to never return -1. Don't allow
5937 spellchecking of deleted text. Track transpose changes. Don't
5938 allow paragraph break or merge where appropriate.
5940 * text2.C: leave cursor at end of selection after a cut.
5942 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5944 * text.C (getLengthMarkerHeight):
5945 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5946 visible on screen too.
5948 2003-02-07 John Levon <levon@movementarian.org>
5950 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5952 2003-02-05 Angus Leeming <leeming@lyx.org>
5954 * lyxserver.C (read_ready): revert my patch of 11 September last year
5955 as it sends PC cpu through the roof. Presumably this means that
5956 the lyxserver will no longer run on an Alpha...
5958 2003-01-30 Angus Leeming <leeming@lyx.org>
5960 * factory.C (createInset): create an InsetCommandParam of type "index"
5961 and use it to 'do the right thing'.
5963 * text2.C (getStringToIndex): ensure that cursor position is always
5964 reset to the reset_cursor position.
5966 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5968 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5971 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5975 * lyxfunc.C: Output messages with identical spelling, punctuation,
5978 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5980 * MenuBackend.C (expandFormats): List only viewable export formats
5983 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5986 * lyxfunc.C (getStatus): Make sure that formats other than
5987 "fax" can also be disabled
5989 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5991 * text3.C (dispatch): put the lfuns that insert insets in 3
5992 groups, and call doInsertInset with appropriate arguments.
5993 (doInsertInset): new function, that creates an inset and inserts
5994 it according to some boolean parameters.
5996 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * buffer.C (readFile): remember to pass on 'par' when calling
5999 readFile recursively.
6001 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * MenuBackend.C (expandFormats): add "..." to import formats.
6005 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6007 * paragraph.C (asString): Remove XForms RTL hacks.
6009 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6010 * buffer.C: fix typo
6012 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * Makefile.am (LIBS): delete var
6015 (lyx_LDADD): add @LIBS@ here instead.
6017 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6019 * Clarify the meaning of "wheel mouse jump"
6021 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6023 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6026 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6028 * importer.C (Loaders): do not preallocate 3 elements in the
6029 vector, since one ends up with 6 elements otherwise
6031 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6033 * DepTable.C (write): write the file name as last element of the
6034 .dep file (because it may contain spaces)
6035 (read): read info in the right order
6037 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6039 * paragraph_pimpl.C (simpleTeXBlanks):
6040 (simpleTeXSpecialChars):
6041 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6043 * tabular.C (latex): add some missing case statements. Reindent.
6045 * MenuBackend.C (expandToc): remove unused variable.
6047 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6056 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6059 2003-01-05 John Levon <levon@movementarian.org>
6062 * BufferView.C: add getEncoding()
6065 * kbsequence.C: do not store last keypress
6068 * lyxfunc.C: store last keypress here instead. Pass encoding
6071 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6073 * lyx_main.C (init): remove annoying error message when following
6074 symbolic links (bug #780)
6076 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6078 * text.C (insertChar):
6079 * lyxrc.C (getDescription): remove extra spaces
6081 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6083 * lyxrc.C (getDescription): remove extra spaces
6085 2002-12-20 John Levon <levon@movementarian.org>
6087 * text3.C: hack fix for page up/down across tall rows
6089 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6091 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6094 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6097 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6098 thesaurus is not compiled in
6100 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6102 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6104 2002-12-16 Angus Leeming <leeming@lyx.org>
6107 * lyx_main.C (init): remove override_x_deadkeys stuff.
6109 2002-12-12 John Levon <levon@movementarian.org>
6111 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6112 insert. Only remove shift modifier under strict
6115 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * MenuBackend.C (expandToc): fix crash.
6119 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6121 * MenuBackend.C (expandToc): gettext on float names.
6123 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6125 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6126 implement bool empty() [bug 490]
6128 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6130 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6132 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * several files: ws changes
6136 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * text2.C (setCounter): clean up a bit, use boost.format.
6139 (updateCounters): initialize par upon declaration.
6141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6142 if the layout exists. We do not just store the layout any more.
6143 (SwitchLayoutsBetweenClasses): use boost.format
6145 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6147 * converter.C (convert): if from and to files are the same, use a
6148 temporary files as intermediary
6150 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6153 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6155 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6157 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6159 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6161 * tabular.C (asciiPrintCell): use string(size, char) instead of
6164 * sgml.C (openTag): fix order of arguments to string constructor
6167 * lyxfunc.C (dispatch): use boost.format
6169 * lots of files: change "c" -> 'c'
6171 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6173 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6175 2002-11-25 Angus Leeming <leeming@lyx.org>
6177 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6179 * lyx_main.C (init): compile fix.
6181 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * lyx_cb.C (start): boost.formatify
6184 do not include <iostream>
6186 * lengthcommon.C: ws only
6188 * boost-inst.C,BoostFormat.h: add more explict instantations
6190 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * lots of files: handle USE_BOOST_FORMAT
6194 2002-11-21 John Levon <levon@movementarian.org>
6196 * pspell.C: fix compile
6198 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6200 * lyxfunc.C (dispatch): use boost::format
6204 * lyxfont.C (stateText): use boost::format
6206 * lyx_main.C (LyX): use boost::format
6208 (queryUserLyXDir): ditto
6211 (typedef boost::function): use the recommened syntax.
6213 * importer.C (Import): use boost::format
6215 * debug.C (showLevel): use boost::format
6217 * converter.C (view): use boost::format
6222 * bufferview_funcs.C (currentState): use boost::format
6224 * bufferlist.C (emergencyWrite): use boost::format
6226 * buffer.C (readLyXformat2): use boost::format
6227 (parseSingleLyXformat2Token): ditto
6229 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6231 * LaTeX.C (run): use boost::format
6233 * Chktex.C (scanLogFile): use boost::format
6235 * BufferView_pimpl.C (savePosition): use boost::format
6236 (restorePosition): ditto
6237 (MenuInsertLyXFile): ditto
6239 * BoostFormat.h: help file for explicit instation.
6241 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6243 * tabular.C (latex): Support for block alignment in fixed width
6246 2002-11-17 John Levon <levon@movementarian.org>
6248 * BufferView_pimpl.C:
6250 * lyxfunc.C: split filedialog into open/save
6252 2002-11-08 Juergen Vigna <jug@sad.it>
6254 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6255 by my last patch (hopefully).
6257 2002-11-08 John Levon <levon@movementarian.org>
6266 * toc.C: ParConstIterator, and use it (from Lars)
6268 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6270 * lyxtextclass.[Ch]: revise and add doxygen comments
6272 2002-11-07 John Levon <levon@movementarian.org>
6274 * text.C: fix progress value for spellchecker
6276 * toc.C: fix navigate menu for insetwrap inside minipage
6278 * paragraph_funcs.C: added FIXME for suspect code
6280 2002-11-07 John Levon <levon@movementarian.org>
6282 * BufferView_pimpl.C: fix redrawing of insets
6285 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6287 * text2.C (updateCounters): fix bug 668
6289 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6291 * text3.C (dispatch): Do not make the buffer dirty when moving the
6294 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6296 * vc-backend.C: STRCONV
6299 * text2.C (setCounter): STRCONV
6301 * paragraph.C (asString): STRCONV
6303 * lyxlength.C (asString): STRCONV
6304 (asLatexString): ditto
6306 * lyxgluelength.C (asString): STRCONV
6307 (asLatexString): ditto
6309 * lyxfunc.C (dispatch): STRCONV
6312 * lyxfont.C (stateText): STRCONV
6314 * importer.C (Import): STRCONV
6316 * counters.C (labelItem): STRCONV
6317 (numberLabel): ditto
6318 (numberLabel): remove unused ostringstream o
6323 * bufferview_funcs.C (currentState): STRCONV
6325 * buffer.C (readFile): STRCONV
6326 (asciiParagraph): ditto
6327 (makeLaTeXFile): ditto
6329 * Spacing.C (writeEnvirBegin): STRCONV
6331 * LaTeXFeatures.C (getLanguages): STRCONV
6332 (getPackages): ditto
6334 (getBabelOptions): ditto
6335 (getTClassPreamble): ditto
6336 (getLyXSGMLEntities): ditto
6337 (getIncludedFiles): ditto
6341 (scanAuxFile): ditto
6344 * LString.h: add the STRCONV macros
6346 * BufferView_pimpl.C (savePosition): STRCONV
6347 (restorePosition): ditto
6348 (MenuInsertLyXFile): ditto
6350 * vc-backend.C (scanMaster): change from submatch[...] to
6353 * funcrequest.C: include config.h
6355 * factory.C: include config.h
6357 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6359 * box.C: include config.h
6361 * LaTeX.C (scanAuxFile): change from submatch[...] to
6365 2002-10-25 Angus Leeming <leeming@lyx.org>
6367 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6369 * ispell.[Ch] (setError): new method.
6370 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6371 Use setError() insetead of goto END.
6373 * lyx_cb.C (AutoSave): move out child process into new class
6376 2002-10-30 John Levon <levon@movementarian.org>
6378 * text3.C: make start appendix undoable
6380 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6382 * lyxlength.C (inPixels): Fix returned value.
6384 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6387 2002-10-24 Angus Leeming <leeming@lyx.org>
6389 * lyxgluelength.h: no need to forward declare BufferParams
6390 or BufferView, so don't.
6392 2002-10-21 John Levon <levon@movementarian.org>
6394 * BufferView.C: menuUndo ->undo, redo
6396 * BufferView.h: document, remove dead, make some methods private
6398 * paragraph_funcs.h:
6399 * paragraph_funcs.C:
6400 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6405 * sgml.C: move sgml open/close tag into sgml.C
6407 * bufferview_funcs.h: unused prototype
6410 * lyxfunc.C: remove unused
6413 * text.C: remove unused
6415 2002-10-21 John Levon <levon@movementarian.org>
6419 * BufferView_pimpl.h:
6420 * BufferView_pimpl.C: fix mouse wheel handling based on
6421 patch from Darren Freeman
6423 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6425 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6427 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6429 * lyxlength.C (inPixels): Fix hanfling of negative length.
6430 Fix LyXLength::MU case.
6432 2002-10-16 John Levon <levon@movementarian.org>
6434 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6436 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6438 * converter.C (view): add support for $$i (file name) and $$p
6439 (file path) for the viewer command. If $$i is not specified, then
6440 it is appended to the command (for compatibility with old syntax)
6442 2002-10-14 Juergen Vigna <jug@sad.it>
6444 * undo_funcs.C (textHandleUndo): alter the order in which the
6445 new undopar is added to the LyXText, as we have to set first
6446 the right prev/next and then add it as otherwise the rebuild of
6447 LyXText is not correct. Also reset the cursor to the right paragraph,
6448 with this IMO we could remove the hack in "redoParagraphs()".
6450 2002-10-09 Angus Leeming <leeming@lyx.org>
6452 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6453 to turn off an optimisation if a new inset is to be inserted.
6455 2002-10-11 André Pönitz <poenitz@gmx.net>
6457 * lyxtext.h: make some functions public to allow access
6458 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6460 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6462 * text3.C (dispatch): when changing layout, avoid an infinite loop
6465 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6467 * lyxrc.C (read): treat a viewer or converter command of "none" as
6470 * MenuBackend.C (expandFormats): for an update, also allow the
6471 formats that are not viewable
6473 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6474 script if it is newer than the lyxrc.defaults in user directory
6476 2002-10-07 André Pönitz <poenitz@gmx.net>
6478 * text.C: Vitaly Lipatov's small i18n fix
6480 2002-09-25 Angus Leeming <leeming@lyx.org>
6482 * ispell.h: doxygen fix.
6484 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6486 * buffer.h (readFile): Add a new argument to the method, to allow
6487 reading of old-format templates.
6489 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6491 * toc.C (getTocList): Get TOC from InsetWrap.
6493 2002-09-16 John Levon <levon@movementarian.org>
6495 * lyxfunc.C: check tabular for cut/copy too
6497 2002-09-12 John Levon <levon@movementarian.org>
6502 * factory.C: add header
6504 * paragraph_funcs.h:
6505 * paragraph_funcs.C: cleanup
6507 2002-09-11 John Levon <levon@movementarian.org>
6509 * PrinterParams.h: odd/even default to true
6511 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6513 * PrinterParams.h: update printer parameters for new xforms dialog
6515 2002-09-11 Angus Leeming <leeming@lyx.org>
6517 * lyxserver.C (read_ready): re-write to make it more transparent
6518 and to make it work in coherent fashion under Tru64 Unix.
6520 2002-09-11 André Pönitz <poenitz@gmx.net>
6524 * text3.C: implement LFUN_WORDSEL
6526 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6529 make floatlist_ a boost::shared_ptr<FloatList>
6531 * lyxtextclass.C: include FloatList.h
6532 (LyXTextClass): initialize floatlist_
6533 (TextClassTags): add TC_NOFLOAT
6534 (Read): match "nofloat" to TC_NOFLOAT and use it.
6535 (readFloat): modify call to floatlist_
6539 * FloatList.[Ch] (FloatList): remove commented out float
6541 (erase): new function
6543 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6545 * MenuBackend.C (expandToc): fix crash when there is no document
6548 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6550 * many files: Add insetwrap.
6552 2002-09-09 John Levon <levon@movementarian.org>
6554 * text2.C: remove confusing and awkward depth wraparound
6556 2002-09-09 John Levon <levon@movementarian.org>
6558 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6561 * buffer.C: remove getIncludeonlyList()
6564 * lyxfunc.C: remove headers
6566 2002-09-09 Juergen Vigna <jug@sad.it>
6568 * text.C (getColumnNearX): fix form Michael this is most
6569 probably a cut&paste bug.
6571 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6575 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6576 references, ws changes.
6578 * text2.C (init): update counters after init
6579 (insertParagraph): no need to set counter on idividual paragraphs.
6580 (setCounter): access the counters object in the textclass object
6581 on in the buffer object.
6582 (updateCounters): ditto
6584 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6585 shared_ptr<Counters> to avoid loading counters.h in all
6587 (LyXTextClass): initialize ctrs_
6588 (TextClassTags): add TC_COUNTER, and ...
6589 (Read): use it here.
6590 (CounterTags): new tags
6591 (readCounter): new function
6592 (counters): new funtion
6593 (defaultLayoutName): return a const reference
6595 * counters.C (Counters): remove contructor
6596 (newCounter): remove a couple of unneeded statements.
6597 (newCounter): simplify a bit.
6598 (numberLabel): some small formatting changes.
6600 * buffer.[Ch]: remove all traces of counters, move the Counters
6601 object to the LyXTextClass.
6603 2002-09-06 Alain Castera <castera@in2p3.fr>
6605 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6606 package to set the horizontal alignment on fixed width columns.
6609 * lyx_sty.h: added tabularnewline macro def.
6611 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6613 2002-09-06 John Levon <levon@movementarian.org>
6615 * LyXAction.C: tooltips for sub/superscript
6617 * MenuBackend.C: a bit more verbose
6619 * lyxfunc.C: tiny clean
6621 * undo_funcs.C: document undo_frozen
6623 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * counters.C (Counters): add missing algorithm counter.
6627 * text2.C (setCounter): lookup the counter with layouts latexname
6628 instead of by section number.
6629 (setCounter): use a hackish way to lookup the correct enum
6631 a float name->type change
6632 reset enum couners with counter name directly instead of depth value.
6634 * counters.C (Counters): remove the push_backs, change to use the
6635 float type not the float name.
6636 (labelItem): remove unused string, float name->type change
6638 * counters.h: don't include vector, loose the enums and sects vectors
6640 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6642 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6643 (Read): add float->TC_FLOAT to textclassTags
6644 (Read): and handle it in the switch
6645 (readFloat): new function
6647 * FloatList.C (FloatList): comment out the hardcoded float
6650 * lyxlayout.h: ws change.
6652 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6654 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6656 2002-09-03 Angus Leeming <leeming@lyx.org>
6658 * BufferView_pimpl.h: qualified name is not allowed in member
6659 declaration: WorkArea & Pimpl::workarea() const;
6661 * factory.C: added using std::endl directive.
6663 * text3.C: added using std::find and std::vector directives.
6665 2002-08-29 André Pönitz <poenitz@gmx.net>
6668 * text2.C: remove unused member number_of_rows
6671 * BufferView2.C: remove file, move contents to...
6672 * BufferView.C: ... here
6674 * BufferView_pimpl.C:
6675 * factory.C: move more inset creation to factory
6677 * vspace.C: avoid direct usage of LyXText, ws changes
6680 don't provide direct access to WorkArea, use two simple
6681 acessors haveSelction() and workHeight() instead
6684 2002-08-29 John Levon <levon@movementarian.org>
6686 * BufferView_pimpl.C (dispatch): do not continue when
6689 2002-08-28 André Pönitz <poenitz@gmx.net>
6691 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6694 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6696 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6698 * buffer.C: increment LYX_FORMAT to 221
6700 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6701 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6703 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6705 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6707 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * factory.C (createInset): use LyXTextClass::floats
6711 * MenuBackend.C (expandFloatListInsert):
6712 (expandFloatInsert):
6715 * text2.C (setCounter):
6717 * LaTeXFeatures.C (useFloat):
6718 (getFloatDefinitions):
6720 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6722 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6723 floatlist_, with accessor floats().
6725 * FloatList.h: remove global FloatList
6727 2002-08-26 André Pönitz <poenitz@gmx.net>
6729 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6733 * BufferView_pimpl.C:
6734 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6736 2002-08-25 John Levon <levon@movementarian.org>
6738 * LyXAction.C: fix margin note description
6740 2002-08-24 John Levon <levon@movementarian.org>
6744 * bufferview_funcs.C:
6746 * undo_funcs.C: cleanups
6748 * lyxfunc.C: disable CUT/COPY when no selection
6750 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6752 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6753 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6755 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6756 Add backward compatibility to "mono", "gray" and "no".
6758 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6760 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6761 (and file_format >= 200).
6763 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6765 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6767 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6769 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6771 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6773 * BufferView_pimpl.C:
6780 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6781 inset and code to make it work with the paragraph code. The inset
6782 can be anywhere in the paragraph, but will only do the expected
6783 thing in LaTeX if the layout file contains the parameter line
6785 (or more generally, a nonzero value) for that layout.
6787 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * paragraph.h: remove the declaration of undefined counters class
6792 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6794 * text2.C (setCounter): fixed enumeration mis-count as reported by
6795 Dr. Richard Hawkins.
6797 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6799 * paragraph_funcs.h: remove some unneeded includes
6801 * text.C (backspace): pasteParagraph now in global scipe
6803 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6804 (pasteSelection): ditto
6806 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6807 * paragraph_funcs.C (pasteParagraph): ... here
6809 2002-08-20 André Pönitz <poenitz@gmx.net>
6811 * commandtags.h: new LFUNs for swapping/copying table row/colums
6814 * lyxfunc.C: support for new lfuns
6816 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6819 * buffer.[Ch]: remove NO_COMPABILITY stuff
6821 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6823 * boost.C (throw_exception): new file, with helper function for
6824 boost compiled without exceptions.
6829 * ParameterStruct.h:
6830 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6832 * bufferlist.C (emergencyWriteAll): use boost bind
6834 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6836 * text.C: include paragraph_funcs.h
6837 (breakParagraph): breakParagraph is now in global scope
6839 * paragraph_funcs.[Ch]: new files
6841 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6844 * buffer.C: include paragraph_funcs.h
6845 (insertStringAsLines): breakParagraph is now in global scope
6847 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6850 * CutAndPaste.C: include paragraph_funcs.h
6851 (cutSelection): breakParagraphConservative is now in global scope
6852 (pasteSelection): ditto
6854 * buffer.h: declare oprator== and operator!= for
6855 Buffer::inset_iterator
6857 * bufferlist.C (emergencyWrite): don't use fmt(...)
6859 * text3.C: add using std::endl
6861 * BufferView.C (moveCursorUpdate): remove default arg
6863 2002-08-20 André Pönitz <poenitz@gmx.net>
6865 * buffer.[Ch]: move inline functions to .C
6868 * BufferView_pimpl.C:
6870 * buffer.[Ch]: use improved inset_iterator
6873 * paragraph.[Ch]: write one paragraph at a time
6875 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6877 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6878 style if style is not specified.
6880 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6882 * text2.C (setCounter): when searching for right label for a
6883 caption, make sure to recurse to parent insets (so that a caption
6884 in a minipage in a figure float works) (bug #568)
6886 2002-08-20 André Pönitz <poenitz@gmx.net>
6888 * text3.C: new file for LyXText::dispatch() and helpers
6890 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6892 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6894 2002-08-19 André Pönitz <poenitz@gmx.net>
6897 * text.C: new LyXText::dispatch()
6899 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6901 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6903 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6905 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6908 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6910 * Makefile.am: use $(variables) instead of @substitutions@
6912 2002-08-15 André Pönitz <poenitz@gmx.net>
6915 * BufferView_pimpl.C: streamlining mathed <-> outer world
6919 * LyXAction.C: remove unused LFUN_MATH
6921 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6925 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6927 * paragraph.C (Paragraph): reformat a bit
6928 (cutIntoMinibuffer): use builtin InsetList function instad of
6932 * buffer.C: include boost/bind.hpp, add using std::for_each
6933 (writeFileAscii): use ParagraphList iterators
6934 (validate): use for_each for validate traversal of paragraphs
6935 (getBibkeyList): use ParagraphList iterators
6936 (resizeInsets): use for_each to resizeInsetsLyXText for all
6938 (getParFromID): use ParagraphList iterators
6940 * BufferView2.C (lockInset): use paragraph list and iterators
6942 2002-08-14 John Levon <levon@movementarian.org>
6944 * lyxserver.C: remove spurious xforms include
6946 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6950 2002-08-13 André Pönitz <poenitz@gmx.net>
6953 * lyxfunc.C: further cleaning
6955 2002-08-13 André Pönitz <poenitz@gmx.net>
6957 * funcrequest.h: new constructor
6959 * funcrequest.C: move stuff here from .h
6962 * BufferView_pimpl.C:
6965 * lyxfunc.C: subsequent changes
6967 * lyxfunc.h: new view() member function
6969 * lyxfunc.C: subsequent changes
6971 2002-08-13 Angus Leeming <leeming@lyx.org>
6974 * BufferView_pimpl.C:
6982 changes due to the changed LyXView interface that now returns references
6983 to member variables not pointers.
6985 2002-08-13 Angus Leeming <leeming@lyx.org>
6987 * WordLangTuple (word, lang_code): return references to strings,
6992 * lyxtext.h: forward-declare WordLangTuple.
6997 * text.C: #include "WordLangTuple.h".
7000 * text.C: (selectNextWordToSpellcheck): constify return type.
7002 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7008 * paragraph_pimpl.h:
7011 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7013 Made updateCounter always count from start of buffer, and removed
7014 second argument (par).
7015 Reverted floats number display to '#'. Perhaps I'll try again when the
7016 code base is sanitized a bit.
7018 2002-08-12 Angus Leeming <leeming@lyx.org>
7020 * buffer.[Ch] (getLabelList): constify.
7022 2002-08-07 André Pönitz <poenitz@gmx.net>
7024 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7026 * funcrequest.h: extension to keep mouse (x,y) position
7028 2002-08-12 Juergen Vigna <jug@sad.it>
7030 * BufferView2.C (insertErrors): forbid undo when inserting error
7033 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7035 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7037 * ParagraphList.[Ch]: new files
7039 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7041 * BufferView2.C (lockInset): ParagraphList changes
7044 * bufferlist.C: ditto
7048 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7051 unused class variable counter_,
7053 * paragraph.[Ch] (getFirstCounter): delete unused function
7055 * counters.C: include LAssert.h
7056 (reset): add a new function with no arg, change other version to
7057 not have def. arg and to not allow empty arg.
7059 * text2.C (setCounter): remove empty arg from call to Counters::reset
7061 2002-08-11 John Levon <levon@movementarian.org>
7063 * Makefile.am: add WordLangTuple.h
7065 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7068 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7070 * insets/insettext.C: InsetList changes
7072 * graphics/GraphicsSupport.C (operator()): InsetList changes
7074 * toc.C (getTocList): InsetList changes
7076 * paragraph_pimpl.[Ch]: InsetList changes
7078 * paragraph.[Ch]: InsetList changes
7080 * buffer.C (inset_iterator): InsetList changes
7081 (setParagraph): ditto
7082 * buffer.h (inset_iterator): ditto
7083 * iterators.C (operator++): ditto
7084 * iterators.h: ditto
7086 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7088 * InsetList.[Ch]: new files, most InsetList handling moved out of
7091 * BufferView2.C (removeAutoInsets): InsetList changes
7093 (ChangeInsets): ditto
7095 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7097 * paragraph_pimpl.h (empty): new function
7099 * paragraph.[Ch] (empty): new function
7101 * other files: use the new Paragraph::empty function
7103 2002-08-09 John Levon <levon@movementarian.org>
7105 * lyxtext.h: remove unused refresh_height
7107 2002-08-09 John Levon <levon@movementarian.org>
7114 * paragraph.C: move sgml char escaping out of paragraph
7117 * paragraph.C: remove id setter
7121 * paragraph_pimpl.C: remove dead tex_code_break_column
7123 * bufferview_funcs.C: small cleanup
7125 * lyxfunc.C: remove dead proto
7127 * lyxtext.h: make some stuff private. Remove some dead stuff.
7129 * lyxgluelength.C: make as[LyX]String() readable
7131 2002-08-08 John Levon <levon@movementarian.org>
7136 * ToolbarDefaults.C:
7139 * toc.C: lyxaction cleanup
7141 2002-08-08 John Levon <levon@movementarian.org>
7143 * BufferView2.C: small cleanup
7146 * lyxfind.C: move unnecessary header into the .C
7148 2002-08-08 John Levon <levon@movementarian.org>
7150 * funcrequest.h: just tedious nonsense
7153 * lyx_main.C: cleanups
7156 * vspace.C: remove dead header lyx_main.h
7158 2002-08-07 Angus Leeming <leeming@lyx.org>
7161 * paragraph_pimpl.h:
7162 Forward declare class Counters in paragraph.h by moving the ctrs member
7163 variable into Paragraph::Pimpl.
7164 (counters): new method, returning a reference to pimpl_->ctrs.
7166 * text2.C: ensuing changes.
7168 2002-08-07 John Levon <levon@movementarian.org>
7170 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7172 * BufferView_pimpl.C: announce X selection on double/triple
7175 * lyx_main.C: use correct bool in batch dispatch
7177 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7179 2002-08-07 André Pönitz <poenitz@gmx.net>
7181 * funcrequest.h: new class to wrap a kb_action and its argument
7184 * BufferView_pimpl[Ch]:
7188 * lyxrc.C: subsequent changes
7191 2002-08-07 John Levon <levon@movementarian.org>
7193 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7194 document options change.
7196 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7201 * makefile.am: move counters functionality over from
7202 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7204 2002-08-06 John Levon <levon@movementarian.org>
7206 * WordLangTuple.h: new file for word + language code tuple
7217 * BufferView2.C: use WordLangTuple
7220 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7222 2002-08-06 John Levon <levon@movementarian.org>
7224 * lyx_main.C: fix cmdline batch handling
7226 2002-08-06 André Pönitz <poenitz@gmx.net>
7228 * lyxrc.C: set default for show_banner to true
7230 2002-08-06 John Levon <levon@movementarian.org>
7232 * pspell.C: fix a crash, and allow new aspell to work
7234 2002-08-06 John Levon <levon@movementarian.org>
7237 * kbmap.C: small cleanup
7240 * vspace.C: add const
7242 2002-08-05 John Levon <levon@movementarian.org>
7244 * LyXAction.C: back to tabular-insert
7246 2002-08-04 John Levon <levon@movementarian.org>
7249 * BufferView.C: cosmetic change
7251 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7261 * BufferView2.C: purge all "Lyx" not "LyX" strings
7264 * lyxcursor.C: attempt to add some documentation
7269 * ToolbarDefaults.C:
7270 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7271 merge with LFUN_TABULAR_INSERT
7278 * pspell.C: split up i/pspell implementations into separate
7279 files, many cleanups
7281 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7283 * text2.C: some cleanup
7285 * lyxfunc.C: don't check for isp_command == "none" any more, it
7286 didn't make any sense
7288 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7293 * makefile.am: move counters functionality over
7294 from text2.C/paragraph.[Ch] to counters.[Ch], and
7296 2002-08-02 John Levon <levon@movementarian.org>
7298 * buffer.C: s/lyxconvert/lyx2lyx/
7300 2002-08-02 Angus Leeming <leeming@lyx.org>
7302 * lyxlex.C: revert John's change as it breaks reading of the user
7305 2002-08-02 Angus Leeming <leeming@lyx.org>
7307 * importer.C (Import):
7308 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7309 changes due to LyXView::view() now returning a boost::shared_ptr.
7311 2002-08-02 John Levon <levon@movementarian.org>
7313 * lyxlex.C: small cleanup
7315 2002-08-02 John Levon <levon@movementarian.org>
7317 * text2.C (status): small cleanup, no logic change
7319 2002-08-01 John Levon <levon@movementarian.org>
7322 * buffer.C (writeFile): don't output alerts, caller
7326 * lyx_cb.C: from above
7328 * lyxfunc.C: allow to open non-existent files
7330 2002-07-31 John Levon <levon@movementarian.org>
7332 * lyxserver.C: don't let incidental errors get
7335 2002-07-30 John Levon <levon@movementarian.org>
7337 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7339 2002-07-30 John Levon <levon@movementarian.org>
7342 * lyxserver.C: remove I/O callback too
7344 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7346 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7349 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7351 * many files: strip,frontStrip -> trim,ltrim,rtrim
7353 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7355 * PrinterParams.h: remove extern containsOnly, and include
7356 support/lstrings.h instead.
7358 * LaTeX.C (scanAuxFile): modify because of strip changes
7360 * buffer.C (makeLaTeXFile): ditto
7361 * bufferparams.C (writeFile): ditt
7362 * lyxfont.C (stateText): ditto
7363 * lyxserver.C (read_ready): ditto
7364 * vc-backend.C (scanMaster): ditto
7366 * BufferView_pimpl.h: ws changes
7368 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7370 2002-07-26 André Pönitz <poenitz@gmx.net>
7372 * kb_sequence.C: remove unnedred usings
7374 2002-07-26 Juergen Vigna <jug@sad.it>
7376 * lyxfind.C (LyXReplace): we have to check better if the returned
7377 text is not of theLockingInset()->getLockingInset().
7379 2002-07-25 Juergen Vigna <jug@sad.it>
7381 * lyxfind.C (LyXReplace): don't replace if we don't get the
7384 * undo_funcs.C (createUndo): remove debugging code.
7386 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7388 * buffer.C (parseSingleLyXformat2Token): Use default placement
7389 when reading old floats.
7391 * FloatList.C (FloatList): Change the default placement of figure
7392 and tables to "tbp".
7394 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7396 * MenuBackend.C: using std::max
7398 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7400 * MenuBackend.C (expandToc):
7401 (expandToc2): code moved from xforms menu frontend. It is now
7402 generic and TOCs are transparent to menu frontends.
7404 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7406 * toc.C (getTocList): protect against buf=0
7408 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7409 Menu as first parameter. Now, this calls itself recursively to
7410 expand a whole tree (this will be useful for TOC handling)
7411 (expandFloatInsert): remove 'wide' version of floats
7413 * MenuBackend.h (submenuname): returns the name of the submenu.
7414 (submenu): returns the submenu itself, provided it has been
7415 created by MenuBackend::expand
7417 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7419 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7420 insets which have noFontChange == true. (bug #172)
7422 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7424 * BufferView_pimpl.C: add connection objects and use them...
7427 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7429 * MenuBackend.C (expandLastfiles):
7432 (expandFloatListInsert):
7433 (expandFloatInsert):
7434 (expand): split expand in parts
7436 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7438 * lyx_gui.C: use lyx_gui::exit()
7440 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7442 * LyXAction.C: show the failing pseudo action
7444 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7446 * buffer.C (readFile): Run the lyxconvert script in order to read
7449 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7453 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7455 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7459 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7461 2002-07-22 Herbert Voss <voss@lyx.org>
7464 * lyxlength.[Ch]: add support for the vertical lengths
7466 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7468 * toc.[Ch]: std:: fixes
7470 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7472 * lyxrc.C: do not include lyx_main.h
7474 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7480 * BufferView2.C: include "lyxlex.h"
7483 * bufferparams.h: do not #include "lyxlex.h"
7485 * lyxtextclasslist.C (Add): remove method
7486 (classlist): renamed to classlist_
7488 * paragraph_pimpl.C:
7492 * bufferview_funcs.C:
7497 * toc.C (getTocList): use BufferParams::getLyXTextClass
7499 * toc.C (getTocList): use InsetFloat::addToToc
7501 * toc.[Ch]: new files, containing helper functions to handle table
7504 * lyxfunc.C (dispatch): no need to remove spaces around command
7506 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7507 first command of the sequence; it is not very clever, but I do not
7508 have a better idea, actually
7510 * LyXAction.C (LookupFunc): make sure to remove space at the
7511 beginning and end of the command
7513 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * MenuBackend.C (getMenubar): new method: return the menubar of
7517 (read): treat differently reading of menu and menubar (in
7518 particular, the menubar has no name now)
7519 (Menu::menubar): remove
7521 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7524 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7526 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7527 a bibitem inset in a RTL paragraph.
7529 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7531 * paragraph_pimpl.C: constify
7533 * BufferView_pimpl.C:
7535 * lyxfunc.C: fix dispatch in a nicer way
7537 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7539 * lyxfunc.C (dispatch):
7540 * BufferView_pimpl.C:
7541 * BufferView_pimpl.h:
7543 * BufferView.h: rename Dispatch() to dispatch()
7545 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7547 * lyxlayout.C (Read): honor DependsOn tag
7549 * lyxlayout.[Ch] (depends_on): new method
7551 * version.C.in: update lyx_docversion
7553 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7555 * paragraph.C (validate): remove from here...
7556 * paragraph_pimpl.C (validate): ... and move here
7557 (isTextAt): make it const
7559 * buffer.C (getLists): ws cleanup
7561 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7563 * language.C (read): Use iso8859-1 encoding in latex_lang
7564 (this prevents LyX from crashing when using iso10646-1 encoding).
7566 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7568 * text2.C (toggleInset): if cursor is inside an inset, close the
7569 inset and leave cursor _after_ it
7571 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7573 * lyxfunc.C: move minibuffer completion handling out of here
7575 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7577 * BufferView_pimpl.C:
7578 * LaTeX.C: fix dispatch calls
7580 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7582 * text.C (drawChars): Fix Arabic text rendering.
7584 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7588 * lyxfunc.C: remove message-push/pop
7592 * lyxfunc.C: rationalise some code by removing verboseDispatch
7593 in favour of a bool argument to dispatch()
7595 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7597 * lyx_main.C (init): make sure to read symlinks as absolute paths
7599 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7602 * lyxfunc.C: no need for commandshortcut to be a member
7604 2002-07-15 André Pönitz <poenitz@gmx.net>
7606 * converter.C: add support for $$s (scripts from lib/scripts dir)
7607 * lyx_main.C: white space
7609 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7613 * lyxrc.C: remove second exit confirmation
7615 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7620 * BufferView_pimpl.h:
7621 * BufferView_pimpl.C:
7622 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7624 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7626 * MenuBackend.C (expand): add numeric shortcuts to document menu
7628 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7630 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7632 * lyxfont.C (setLyXFamily):
7639 * buffer.C (asciiParagraph): use ascii_lowercase
7641 2002-07-15 Mike Fabian <mfabian@suse.de>
7643 * lyxlex_pimpl.C (search_kw):
7644 * lyxlex.C (getLongString):
7645 * converter.h (operator<):
7646 * converter.C (operator<):
7647 * buffer.C (parseSingleLyXformat2Token):
7649 * ToolbarDefaults.C (read):
7650 * MenuBackend.C (checkShortcuts):
7652 * LColor.C (getFromGUIName):
7653 (getFromLyXName): use the compare_ascii_no_case instead of
7654 compare_no_case, because in turkish, 'i' is not the lowercase
7655 version of 'I', and thus turkish locale breaks parsing of tags.
7657 2002-07-16 Angus Leeming <leeming@lyx.org>
7659 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7660 now takes a Buffer const & argument.
7662 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7664 * BufferView.C (resize): check there's a buffer to resize
7666 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7668 * lyxfunc.C: remove dead code
7671 * lyxserver.C: use lyx_guii::set_read_callback
7673 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7675 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7676 an inset in a RTL paragraph.
7678 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7680 * lyxfunc.C: repaint after a font size update
7682 2002-07-15 André Pönitz <poenitz@gmx.net>
7684 * lyxlength.C: inBP should be able to return negative values
7686 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7688 * lyxfunc.C: use lyx_gui::update_fonts()
7690 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7692 * lyxfunc.C: use lyx_gui::update_color()
7694 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7700 * lyxrc.C: remove file->new asks for name option, and let
7701 buffer-new take an argument
7703 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7705 * BufferView_pimpl.C: remove unneeded extra repaint()
7707 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7709 * LyXAction.C: allow command-sequence with NoBuffer
7711 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7713 2002-07-10 Angus Leeming <leeming@lyx.org>
7715 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7717 2002-07-09 Angus Leeming <leeming@lyx.org>
7719 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7721 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7723 * lengthcommon.h: whitespace
7725 * lyxfunc.C: update scrollbar after goto paragraph
7727 * lyxtext.h: factor out page break drawing, and fix it so
7728 page break/added space paints as selected nicely
7730 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7732 * BufferView_pimpl.C: add FIXMEs, clean up a little
7734 2002-07-09 André Pönitz <poenitz@gmx.net>
7736 * lyxfont.[Ch]: support for wasy symbols
7738 2002-07-08 André Pönitz <poenitz@gmx.net>
7740 * BufferView_pimpl.C: apply John's patch for #93.
7742 2002-07-05 Angus Leeming <leeming@lyx.org>
7744 * BufferView_pimpl.C (buffer): generate previews if desired.
7746 * LColor.h: add "preview" to the color enum.
7748 * LColor.C (LColor): add a corresponding entry to the items array.
7750 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7753 2002-07-05 Angus Leeming <leeming@lyx.org>
7755 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7756 The body of the code is now in the method that is passed an ostream &
7757 rather than a file name.
7758 Pass an additional only_preamble parameter, useful for the forthcoming
7761 2002-07-03 André Pönitz <poenitz@gmx.net>
7763 * lyxfunc.C: simplify getStatus() a bit for math stuff
7765 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7767 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7769 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7771 * text.C (changeRegionCase): do not change case of all the
7772 document when region ends at paragraph end (bug #461)
7774 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7776 * paragraph.C (startTeXParParams):
7777 (endTeXParParams): add \protect when necessary
7779 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7781 * BufferView_pimpl.C (workAreaExpose): remove warning
7783 2002-06-27 Angus Leeming <leeming@lyx.org>
7785 * Makefile.am: add lyxlayout_ptr_fwd.h.
7787 2002-06-26 André Pönitz <poenitz@gmx.net>
7789 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7791 2002-06-25 Angus Leeming <leeming@lyx.org>
7793 * lyxfunc.C (dispatch): Comment out the call to
7794 grfx::GCache::changeDisplay. The method no longer exists now that the
7795 pixmap generation part of the graphics loader has been moved into
7798 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7800 * text2.C: layout as layout
7802 * text.C: layout as layout
7804 * tabular.C (OldFormatRead): layout as layout
7806 * paragraph_pimpl.C (TeXDeeper): layout as layout
7807 (realizeFont): layout as layout
7809 * paragraph.C (writeFile): layout as layout
7810 (validate): layout as layout
7811 (getFont): layout as layout
7812 (getLabelFont): layout as layout
7813 (getLayoutFont): layout as layout
7814 (breakParagraph): layout as layout
7815 (stripLeadingSpaces): layout as layout
7816 (getEndLabel): layout as layout
7817 (getMaxDepthAfter): layout as layout
7818 (applyLayout): layout as layout
7819 (TeXOnePar): layout as layout
7820 (simpleTeXOnePar): layout as layout
7821 (TeXEnvironment): layout as layout
7822 (layout): layout as layout
7823 (layout): layout as layout
7825 * lyxtextclass.C (compare_name): new functor to work with
7826 shared_ptr, layout as layout
7827 (Read): layout as layout
7828 (hasLayout): layout as layout
7829 (operator): layout as layout
7830 (delete_layout): layout as layout
7831 (defaultLayout): layout as layout
7833 * lyxlayout_ptr_fwd.h: new file
7835 * lyxlayout.C (Read): layout as layout
7837 * lyx_cb.C (MenuInsertLabel): layout as layout
7839 * bufferlist.C (newFile): layout as layout
7841 * buffer.C (readLyXformat2): layout as layout
7842 (parseSingleLyXformat2Token): layout as layout
7843 (insertStringAsLines): layout as layout
7844 (asciiParagraph): layout as layout
7845 (latexParagraphs): layout as layout
7846 (makeLinuxDocFile): layout as layout
7847 (simpleLinuxDocOnePar): layout as layout
7848 (makeDocBookFile): layout as layout
7849 (simpleDocBookOnePar): layout as layout
7850 (getLists): layout as layout
7852 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7854 * CutAndPaste.C (cutSelection): layout as layout
7855 (pasteSelection): layout as layout
7856 (SwitchLayoutsBetweenClasses): layout as layout
7858 * BufferView_pimpl.C (Dispatch): layout as layout
7859 (smartQuote): layout as layout
7861 * BufferView2.C (unlockInset): layout as layout
7863 2002-06-24 André Pönitz <poenitz@gmx.net>
7865 * lyxfunc.C: fix #487
7867 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7871 * lyxfunc.C: remove display_shortcuts, show_banner
7873 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7875 * Buffer_pimpl.C: oops, update on resize
7877 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7884 * BufferView.C: use repaint()
7886 * BufferView_pimpl.h:
7887 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7888 as it's a clearer description. Remove superfluous
7891 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7893 * text.C: fix bug 488. Not ideal, but getting
7894 getWord() to work properly for the insets that
7895 matter is more difficult ...
7897 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7899 * BufferView_pimpl.C:
7902 * lyxfunc.C: remove the six million index lyxfuncs to just
7903 one, and DTRT (bug 458)
7905 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7909 * BufferView_pimpl.h:
7910 * BufferView_pimpl.C: clean up resize() stuff,
7911 and unnecessary updateScreen()s
7913 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7917 * BufferView_pimpl.h:
7918 * BufferView_pimpl.C:
7921 * minibuffer.C: remove focus management of workarea,
7922 not needed. Use screen's greyOut()
7924 2002-06-17 Herbert Voss <voss@lyx.org>
7926 * converter.C: (convert) do not post a message, when converting
7927 fails, let the calling function decide what to do in this case
7929 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7931 * lyxfunc.C: tidy up a little
7933 2002-06-16 <alstrup@diku.dk>
7935 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7936 Got rid of FORMS_H_LOCATION include. Now we are
7939 2002-06-15 LyX Development team <lyx@rilke>
7941 * buffer.[Ch] (sgmlOpenTag):
7942 (sgmlCloseTag): Added support for avoiding pernicious mixed
7943 content. Return number of lines written.
7946 (makeDocBookFile): Fixed calls to sgml*Tag.
7947 Simple white space clean.
7949 (simpleDocBookOnePar): Simple white space clean.
7951 * tabular.[Ch] (docBook): Renamed to docbook and got another
7952 argument to related with the pernicious mixed content.
7954 (docbookRow): Fixed calls for docbook inset method.
7956 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7958 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7959 so it's X11 independent.
7963 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7965 2002-06-15 Lyx Development team <lyx@electronia>
7967 * intl.h: Renamed getTrans to getTransManager.
7969 2002-06-14 Angus Leeming <leeming@lyx.org>
7971 * Makefile.am: nuke forgotten stl_string_fwd.h.
7973 2002-06-12 Angus Leeming <leeming@lyx.org>
7975 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7977 2002-06-13 Angus Leeming <leeming@lyx.org>
7980 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7982 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7984 * kbmap.C (getiso): add support for cyrillic and greek
7986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7990 * BufferView_pimpl.h:
7991 * BufferView_pimpl.C: move bogus scrolling logic
7994 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7997 * BufferView_pimpl.C: view->resize() change
7999 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8001 * BufferView_pimpl.C: topCursorVisible
8004 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8008 * lyx_gui.C: move to frontends/
8012 * lyx_main.C: changes from above
8014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8021 * lyx_main.C: minor tidy
8023 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8025 * BufferView_pimpl.h:
8026 * BufferView_pimpl.C:
8028 * BufferView.C: make painter() const,
8031 * BufferView2.C: use screen() accessor
8034 * lyx_main.C: some minor cleanup
8036 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8038 * BufferView_pimpl.h:
8039 * BufferView_pimpl.C: remove enter/leaveView,
8042 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8047 * BufferView_pimpl.h:
8048 * BufferView_pimpl.C: only construct screen once,
8051 * lyxrc.C: remove pointless comment
8053 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8056 * BufferView.C: remove active() and belowMouse()
8058 * BufferView_pimpl.h:
8059 * BufferView_pimpl.C: use workarea() not workarea_,
8060 and make it use a scoped_ptr instead
8062 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8064 * lyx_gui.C: add debug message on BadWindow
8066 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8068 * sp_spell.C: fdopen is not part of the C++ standard.
8070 * paragraph.C (InsetIterator): use >= instead of ==
8072 2002-06-07 Angus Leeming <leeming@lyx.org>
8074 Fixes needed to compile with Compaq cxx 6.5.
8075 * BufferView_pimpl.C:
8082 * lyxtextclasslist.C:
8087 all c-library variables have been moved into namespace std. Wrap
8088 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8093 Add a using std::abs declaration.
8095 * kbmap.h (modifier_pair):
8096 * paragraph.h (InsetTable, InsetList):
8097 * lyxfont.h (FontBits):
8098 type definition made public.
8100 * bufferlist.C (emergencyWriteAll): the compiler complains that
8101 there is more than one possible lyx::class_fun template to choose from.
8102 I re-named the void specialisation as lyx::void_class_fun.
8104 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8106 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8107 the compiler is is unable to find tostr in write_attribute.
8109 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8111 * buffer.C (sgmlError): hide #warning
8113 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * xtl/*: get rid of xtl, which is not in use anyway
8117 * LyXAction.C (init):
8118 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8119 were unimplemented xtl experimentation
8121 2002-06-04 André Pönitz <poenitz@gmx.net>
8123 * lyxfunc.C: disable array operation on simple formulae
8125 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8127 * converter.C: constify a bit
8129 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8131 * lyx_gui.C: check xforms version correctly
8133 2002-04-30 Herbert Voss <voss@lyx.org>
8135 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8138 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8140 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8141 attempt to register it with a VCS)
8143 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8145 * lyx_main.C (init): honor variables LYX_DIR_13x and
8148 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8152 * lyx_main.C: fix a crash on bad command line,
8153 and give a useful exit status on error
8155 * lyxfunc.C (doImport): allow -i lyx to work
8157 2002-03-30 André Pönitz <poenitz@gmx.net>
8159 * lyxfunc.C: mathed font changes
8161 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8176 * trans_mgr.h: srcdocs, and some minor cleanups
8178 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8180 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8181 call getFont all the time)
8183 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8185 * switch from SigC signals to boost::signals
8187 2002-05-29 André Pönitz <poenitz@gmx.net>
8189 * paragraph_pimpl.C (getChar): don't call size() too often...
8191 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8193 * paragraph_pimpl.C (insertChar): do not try to update tables when
8194 appending (pos == size())
8196 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8197 in order to reduce drastically the number of comparisons needed to
8198 parse a large document
8200 2002-05-29 André Pönitz <poenitz@gmx.net>
8206 * textclasslist.[Ch]:
8207 * sp_ispell.h: whitespace change
8209 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8211 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8212 lyxaction directly now.
8214 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8218 * lyxvc.C: remove unused headers
8220 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8227 * undo_funcs.C: some cleanups. Use shared_ptr
8228 and a template for the undo stacks.
8230 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8232 * BufferView_pimpl.h:
8233 * BufferView_pimpl.C:
8240 * text2.C: use key_state/mouse_state
8242 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8244 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8247 * chset.C: change include order
8248 (loadFile): use boost regex and get rid of LRegex and LSubstring
8250 * Makefile.am (BOOST_LIBS): new variable
8253 * LaTeX.C: change include order.
8254 (scanAuxFile): use boost regex and get rid of LRegex and
8258 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8263 * FontInfo.C: moved to frontends/xforms/
8266 * FontLoader.C: moved into frontends for GUIIzation
8271 * lyxfunc.C: changes from above
8273 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8275 * LColor.C: remove spurious X include
8277 * BufferView_pimpl.C:
8282 * text2.C: move font metrics to frontends/
8284 2002-05-24 Juergen Vigna <jug@sad.it>
8286 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8287 setting the undo_cursor.
8289 * ParagraphParameters.h: include local includes first.
8291 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8293 * BufferView_pimpl.C:
8294 * BufferView_pimpl.h:
8298 * screen.C: move WorkArea into frontends/
8304 * BufferView2.C: move LyXScreen into frontends/
8308 * lyx_gui.C: move lyxlookup into frontends/xforms/
8310 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8313 * BufferView_pimpl.C:
8323 * bufferview_funcs.C:
8336 * vc-backend.C: move LyX/XFormsView into frontends/
8338 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8350 * text2.C: move Painter to frontends/
8352 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8354 * buffer.C: comment out some some code that depend upon lyx_format
8357 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8358 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8360 * buffer.h (NO_COMPABILITY): turn off compability
8362 * ColorHandler.C: include scoped_array.hpp
8364 * font.C: Use more specific smart_ptr header.
8367 * ShareContainer.h: ditto
8371 * BufferView_pimpl.h: ditto
8372 * ColorHandler.h: ditto
8374 * kbmap.C (defkey): change call to shared_ptr::reset
8376 2002-05-21 Juergen Vigna <jug@sad.it>
8378 * buffer.C (insertErtContents): fix to insert ert asis if it is
8379 non empty. Skip it completely if it contains only whitespaces.
8381 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8383 * BufferView_pimpl.C:
8384 * BufferView2.C: clear selection on paste (bug 393)
8386 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8388 * DepTable.C: include ctime
8390 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8392 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8394 2002-05-14 Juergen Vigna <jug@sad.it>
8396 * text.C (breakParagraph): fixed function to honor the keepempty
8397 layout in the right maner and also to permit the right breaking
8398 algorithm on empty or non empyt keepempty paragraphs.
8400 * paragraph.C (breakParagraph): we have to check also if the par
8401 is really empty (!size()) for isempty otherwise we do the wrong
8404 2002-05-10 Juergen Vigna <jug@sad.it>
8406 * buffer.[Ch] : The following are only changes to the ert
8407 compatibility read reading old LaTeX layout and font stuff and
8408 convert it to ERTInsets.
8410 * buffer.h: added isErtInset().
8412 * buffer.C (struct ErtComp): add a fromlayout bool to check
8413 if we're inside a LaTeX layout.
8414 (isErtInset): new helper function.
8415 (insertErtContents): look for other ert insets before this one
8416 and insert the contents there, so that we don't have subsequent
8417 ERT insets with nothing between them. This way we create only one
8418 inset with multiple paragraphs. Also check if we don't insert only
8419 spaces ' ' as they are ignored anyway afterwards in the .tex file
8420 so if we have only spaces we will ignore this latex part in the
8422 (parseSingleLyXformat2Token \\layout): better compatibility when
8423 reading layout-latex stuff.
8424 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8426 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8427 stuff after reading the inset only get the information back from
8430 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8432 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8434 * LaTeXFeatures.C (getBabelOptions): New method.
8436 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8438 * BufferView_pimpl.C (Dispatch): work around missing argument for
8441 2002-05-08 Juergen Vigna <jug@sad.it>
8443 * text.C (leftMargin): handle paragraph leftindent.
8445 * paragraph.C (writeFile): write the new \\leftindent tag.
8446 (validate): handle leftindent code.
8447 (TeXEnvironment): handle paragraphleftindent code again.
8449 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8451 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8452 for paragrap_extra indent code and new token \\leftindent.
8453 (latexParagraphs): handle the leftindent as environment.
8455 * ParameterStruct.h: added leftindent support.
8457 * ParagraphParameters.C (leftIndent): added support functions for
8458 the paragraph left indent.
8460 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8463 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8465 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8468 * text.C (computeBidiTables): No bidi in insetERT.
8470 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8473 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8475 * version.C.in: pre 5
8477 2002-05-02 José Matos <jamatos@fep.up.pt>
8478 * buffer.C (makeDocBookFile): white space changes, add newline to
8480 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8482 * tabular.C (docBook): fix typo.
8484 2002-05-03 Juergen Vigna <jug@sad.it>
8486 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8487 change in LyXText as we can not be sure it was not freed.
8488 (drawOneRow): remove unused code.
8490 * text.C (drawInset): redo the calculation of the need_break_row as
8491 it could have a row which was already freed.
8492 (draw): look at the return value of drawInset and return false if
8493 it also returned false.
8494 (paintRowText): look at the return value of draw and return false if
8495 it also returned false.
8497 * lyxtext.h: added bool return type to drawInset() and draw() so that
8498 if we have a change in the row so that the rowbreak has to be redone
8499 we abort drawing as it will be called again.
8501 2002-05-02 Juergen Vigna <jug@sad.it>
8503 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8504 a change in the maintext also if we're inside an inset.
8505 (Dispatch): set the cursor again after a break line and after the
8506 screen has been updated as it could be we're in a different row.
8508 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8509 to set the cursor behind the pargraph with > size().
8510 (setCursor): check also for the same paragraph when checking where
8511 to put the cursor if we have a NFR inset.
8513 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8514 parts of layout read further up as it still was in the wrong
8517 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * screen.C (drawFromTo): change sine fullRebreak always return
8522 * buffer.C (parseSingleLyXformat2Token): reindent some
8524 * BufferView_pimpl.C (update): change since fullRebreak always
8526 (Dispatch): git rid of the last hardcoded "Standard"s.
8528 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8530 * text2.[Ch] (fullRebreak): make it return void now that we always
8533 2002-04-30 Juergen Vigna <jug@sad.it>
8535 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8536 ert compatibility check for "latex" layout.
8538 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8540 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8541 minipages: use col% instead of p%, and also use the current font.
8542 (makeLaTeXFile): Fix use babel condition.
8543 (parseSingleLyXformat2Token): Correct font when reading old floats.
8545 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8547 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8548 inserting list of floats.
8550 2002-04-25 Herbert Voss <voss@lyx.org>
8552 * MenuBackend.C (expand): don't add the graphics extensions to the
8555 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8557 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8558 non-existing layout, do not complain if it was the default layout
8559 of the original class (bug #342)
8561 2002-04-24 Juergen Vigna <jug@sad.it>
8563 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8564 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8566 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8568 * buffer.C (getBibkeyList): If using \bibliography, return the
8569 option field with the reference itself. Enables us to provide natbib
8570 support when using \bibliography.
8572 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8574 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8576 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8577 natbib is provided by the LaTeX class.
8579 2002-04-23 Juergen Vigna <jug@sad.it>
8581 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8584 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8586 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8588 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8590 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8591 ensuremath around textordmasculine, textordfeminine and
8594 2002-04-19 Juergen Vigna <jug@sad.it>
8596 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8597 reinitializing the buffer otherwise row-dimensions may be wrong.
8598 (update): reset also the selection cursors if they do exits otherwise
8599 their x/y positions may be wrong.
8601 * text2.C (cursorDown): don't enter the inset if we came from a row
8602 above and are one row over the inset.
8604 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8605 really leaving an inset.
8607 2002-04-18 Juergen Vigna <jug@sad.it>
8609 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8610 of the selected paragraph does not have the selected layout also if
8613 * text2.C (setLayout): fixed bug which did not change last selected
8616 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8617 changed the read and substituted \\end_float with \\end_inset!
8619 * BufferView_pimpl.C (cursorPrevious):
8620 (cursorNext): fixed to make it work with rows heigher than the work
8621 area without moving the cursor only the draw of the row.
8622 (workAreaMotionNotify): fix jumping over high rows.
8624 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8626 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8629 2002-04-16 Juergen Vigna <jug@sad.it>
8631 * text2.C (setCursor): set also the irow().
8632 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8634 (cursorDown): support for locking an inset if the x_fix value goes
8635 inside it. That way I can transverse insets too with cursor up/down.
8637 * lyxrow.h: added irow helper function same as other (i) functions.
8639 * BufferView_pimpl.C (cursorPrevious):
8640 (cursorNext): fixed for insets!
8642 2002-04-15 Juergen Vigna <jug@sad.it>
8644 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8645 position otherwise it is wrong in some cases.
8647 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8648 inside the inset before the call.
8650 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8652 * buffer.[Ch] (getBibkeyList): make it const.
8654 2002-04-12 Juergen Vigna <jug@sad.it>
8656 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8658 * text2.C (getCursorX): new helper function
8659 (setCursor): compute also ix_
8660 (setCursorFromCoordinates): set also ix.
8662 * lyxcursor.h: added ix_ and helper functions.
8664 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8666 * buffer.C (insertStringAsLines): dont break paragraph if the this
8667 paragraph is inside an inset which does not permit it!
8669 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8670 also with no chars on this paragraph.
8671 (paintRowText): only paint stuff if it's inside the workarea!
8673 * paragraph.C (breakParagraph): honor keepempty flag and break the
8674 paragraph always below not above.
8676 * BufferView2.C (unlockInset): update the paragraph layout on inset
8677 unlock as we changed paragraph in such a case.
8679 * lyxfind.C (LyXFind): clear the former selection if not found!
8681 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8682 again called in insertChar().
8684 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8685 an inset which uses the whole row!
8686 (rightMargin): ditto.
8687 (insertChar): force a rebreak if we inserted an inset!
8689 2002-03-28 Herbert Voss <voss@lyx.org>
8691 * lyxlength.[Ch]: add inBP() to get the right PS-point
8692 units (BigPoint). With inPixels we have rounding errors
8694 2002-04-11 Juergen Vigna <jug@sad.it>
8696 * text2.C (setCursorFromCoordinates): set iy to the right value.
8697 (setCursor): add check if row->previous exists!
8699 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8700 an old float_type as this was the case in the old code!
8702 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8704 * BufferView2.C (showLockedInsetCursor): use iy
8705 (fitLockedInsetCursor): ditto
8707 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8708 locked insets as there we have the right value now.
8710 * lyxcursor.C: added iy_ variable and iy functions to set to the
8711 baseline of cursor-y of the locked inset.
8713 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8714 (setCursor): fixed for insets which need a full row.
8716 * text.C (rowLastPrintable): don't ignore the last space when before
8717 an inset which needs a full row.
8718 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8719 as last character of a row when before a inset which needs a full row.
8721 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8723 * version.C.in: update date
8725 * text2.C (fullRebreak): try to always return true and see what
8728 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8730 * MenuBackend.C (expand): use Floating::listName
8732 * FloatList.C (FloatList): add listName argument to the built-in
8735 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8736 text associated with the float.
8738 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8740 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8742 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8744 * ShareContainer.h: add a couple of missing typenames.
8746 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8748 * lyxrc.C (getDescription): use _() correctly rather than N_().
8750 2002-03-28 Herbert Voss <voss@lyx.org>
8752 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8753 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8755 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8757 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8758 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8760 2002-03-29 Juergen Vigna <jug@sad.it>
8762 * lyxfunc.C (dispatch): add a missing fitCursor call.
8764 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8765 it was scrolled by a cursor move, so return the bool status.
8767 * BufferView.C (fitCursor): return the bool flag also to the outside
8768 world as this is needed.
8770 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8772 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8773 call the edit() as it is not needed (and wrong) IMO.
8774 (workAreaButtonPress): set the screen_first variable before evt.
8775 unlock the inset as this may change screen_first and then we have
8776 a wrong y position for the click!
8778 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8780 * MenuBackend.C (expand): another translation that I missed
8782 2002-03-28 Juergen Vigna <jug@sad.it>
8784 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8786 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8788 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8790 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8792 * MenuBackend.C (expand): fix export/view/update when there is no
8795 2002-03-27 Herbert Voss <voss@lyx.org>
8797 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8800 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8802 * bufferview_funcs.C (currentState): only show paragraph number
8803 for is DEVEL_VERSION is set.
8805 * lyxfunc.C (dispatch): put warning in INFO channel
8807 * MenuBackend.C (expand): translate the name of floats
8809 * FloatList.C (FloatList): mark the float names for translation
8811 * converter.C (convert): use LibScriptSearch
8813 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8815 * MenuBackend.C (defaults): fix default menu (we might as well get
8818 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8820 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8823 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8825 * lyxvc.C: reorder includes.
8827 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8829 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8832 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8834 * CutAndPaste.C: change layouts earlier on paste
8835 to avoid crashing when calling getFont()
8837 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8839 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8842 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8844 * WorkArea.C: remove 'Pending' debug message.
8846 * most files: ws cleanup
8848 * buffer.[Ch]: ws changes
8850 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8852 2002-03-21 Juergen Vigna <jug@sad.it>
8854 * tabular.C (SetMultiColumn): collapse also the contents of the
8855 cells and set the last border right. Added a Buffer const * param.
8857 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8862 2002-03-19 Juergen Vigna <jug@sad.it>
8864 * text2.C (clearSelection): reset also xsel_cache.
8866 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8867 where it needs to be called (John tells us to do so too :)
8868 (selectionLost): reset sel_cache.
8870 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8872 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8874 * text2.C (setCursorIntern): put debuging code in INSETS channel
8876 2002-03-19 André Pönitz <poenitz@gmx.net>
8878 * lyxfunc.C: tiny whitespace change
8880 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8882 * ToolbarDefaults.C (init):
8883 * LyXAction.C (init):
8885 * BufferView_pimpl.C (Dispatch):
8886 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8888 2002-03-19 Allan Rae <rae@lyx.org>
8890 * exporter.C (Export): removeAutoInsets before doing anything else.
8891 While I've just introduced a dependency on BufferView this really is
8892 the best place to clean the buffer otherwise you need to cleanup in
8893 a dozen places before calling export or cleanup in a dozen functions
8896 * converter.C (runLaTeX):
8897 (scanLog): Better handling of removeAutoInsets and screen updates.
8899 * lyxfunc.C (dispatch): small whitespace changes
8901 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8903 * WorkArea.C (C_WorkAreaEvent): return a value.
8904 (event_cb): return 1 if we handled the event, 0 otherwise.
8906 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8908 2002-03-18 Juergen Vigna <jug@sad.it>
8910 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8911 (GetAdditionalWidth): ditto.
8915 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8916 inset if we're there actually (probably not used right now but this
8917 is the direction to go for unifying code).
8918 (paste): disable code to clear the selection.
8920 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8921 inside an InsetText and move the check further up as it is in the
8924 * text2.C (pasteSelection): set a selection over the pasted text.
8926 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8928 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8929 and libgraphics to build on Cygwin.
8931 2002-03-15 Juergen Vigna <jug@sad.it>
8933 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8934 inserting an Inset into the paragraph. I know this is not the best
8935 fix but we already use current_view in CutAndPaste so we will remove
8936 all of it's using at the same time.
8938 * buffer.C (sgmlError): deactivated function till it is rewritten in
8939 the right mode, now it can create problems.
8941 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8942 before accessing it.
8944 2002-03-14 Juergen Vigna <jug@sad.it>
8946 * undo_funcs.C (textHandleUndo): do the right thing when updating
8947 the inset after the undo/redo.
8949 * text2.C (setCursor): just some testcode for #44 not ready yet.
8951 * undo_funcs.C (textHandleUndo): set the next() and previous()
8952 pointers of the paragraph to 0 before deleting otherwise we have
8953 problems with the Paragraph::[destructor].
8955 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8956 on a paragraph insertion.
8958 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * buffer.C (asciiParagraph): use += operator for char append to
8963 * paragraph.C (getFontSettings): compare >= not just >
8964 (highestFontInRange): ditto
8967 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8969 * paragraph.C: change several algorithm to be more appripriate for
8970 the problem domain. This is lookip in FontList and in the InsetList.
8972 2002-03-13 André Pönitz <poenitz@gmx.net>
8975 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8977 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8982 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8984 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8986 * Painter.C (display): anon helper function, adjust code for this
8988 (pixmap): remove function.
8990 * Painter.h: remove private display variable.
8992 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8994 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
8996 * WorkArea.[Ch]: remove figinset_canvas cruft.
8998 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9000 * lyxtextclass.C (operator): add one item cache optimization.
9002 * bufferlist.h: doxy changes
9004 * bufferlist.C: ws changes
9006 * DepTable.[Ch] (ext_exist): place const in the right spot.
9008 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9010 (workAreaExpose): call resizeInsets when the with BufferView changes.
9011 (Dispatch): adjust for protectedBlank removal
9012 (specialChar): call updateInset if the insert went ok.
9014 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9015 specialChar instead.
9017 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9019 * BufferView.h: doxy change
9021 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9023 * lyxtextclass.C (operator[]): remove non-const version
9024 (defaultLayout): remove non-const version
9026 2002-03-12 Juergen Vigna <jug@sad.it>
9028 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9029 did resize the LyXText too.
9031 * buffer.C (readLyXformat2): set layout information on newly allocated
9034 * tabular.C (OldFormatRead): set layout information on the paragraph.
9036 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9038 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9040 2002-03-11 Juergen Vigna <jug@sad.it>
9042 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9044 (resizeCurrentBuffer): force also the insets to resize themselfes.
9045 (moveCursorUpdate): fixed up for InsetText.
9047 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9050 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9051 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9052 value of Dialogs::tooltipsEnabled().
9053 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9055 2002-03-08 Juergen Vigna <jug@sad.it>
9057 * BufferView_pimpl.C (updateInset): update inset inside inset also
9058 if it isn't inside theLockingInset().
9060 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9062 * buffer.C (asciiParagraph): redo some of the word and line length
9064 (getLists): look for Caption instead of caption.
9066 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9068 * buffer.C (Buffer): initialize niceFile to true
9071 (makeDocBookFile): make sure niceFile is true on exit
9073 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9075 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9077 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9079 * LyXSendto.C: remove.
9080 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9081 * lyx_gui.C: remove now-redundant comment.
9082 * ColorHandler.h: remove forward declaration of class WorkArea.
9083 * lyxfunc.C: remove #include "WorkArea.h".
9085 2002-03-07 Juergen Vigna <jug@sad.it>
9087 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9088 got moved away with the DEPM and also set the inset_owner always
9089 right which before could have been omitted.
9091 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9093 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9094 wanted layout is not found.
9096 2002-03-07 Juergen Vigna <jug@sad.it>
9098 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9100 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9102 * paragraph.C (breakParagraph): use default layout not layout of
9104 (Paragraph): clear ParagraphParameters.
9106 2002-03-06 Juergen Vigna <jug@sad.it>
9108 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9109 otherwise it would not be a valid lenght. Fixed a special case in
9110 the minipage compatibility read where we end the document with a
9113 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9114 was set as it could be 0 for InsetTexts first entry.
9116 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9118 * paragraph.C (writeFile): if layout is empty write out
9119 defaultLayoutName().
9121 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9122 file without named layout we set layout to defaultLayoutName().
9124 2002-03-06 Juergen Vigna <jug@sad.it>
9126 * CutAndPaste.C (copySelection): set layout for new paragraph.
9128 * text.C (prepareToPrint): leave ERT inset left aligned
9129 (leftMargin): don't indent paragraphs inside ERT insets
9131 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * paragraph.C (breakParagraph): dont call clear do the work manually
9135 * paragraph.[Ch] (clear): remove function
9137 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * paragraph.C (Paragraph): dont call clear, the work has already
9142 * lyxtextclass.C (operator): assert if n is empty
9144 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9145 work manually instead.
9147 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9149 * BufferView_pimpl.C: protect selectionLost against text == 0
9151 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9153 * text.C (breakParagraph): fix a setting layout to '0' problem.
9155 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9157 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9158 final location of file, for the included files, and graphics.
9160 2002-03-05 Juergen Vigna <jug@sad.it>
9162 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9164 2002-03-04 Juergen Vigna <jug@sad.it>
9166 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9168 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9169 last column of multicolumn cells.
9170 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9172 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9174 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9175 file if it doesn't go to a temporary file.
9177 * buffer.C (sgmlOpenTag):
9178 (sgmlCloseTag): remove extra newline insertion.
9180 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9182 * text.C (getRowNearY): comment out debug msg
9184 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9186 * text2.C: first -> first_y
9188 * text.C (getRowNearY): add some attemts at a possible
9189 optimization, not working.
9191 * tabular.[Ch]: add BufferParams to several function so that newly
9192 created paragraph can be initialized to he default layotu for the
9195 * tabular-old.C (ReadOld): add buf->params to call of Init
9197 * screen.C: rename text->first to text->first_y
9199 * paragraph.C (breakParagraph): always set layout in the broken
9202 * lyxtextclass.C (Read): remove lowercase
9205 (delete_layout): ditto
9207 * lyxtext.h: rename first -> first_y
9209 * lyxlayout.C (Read): remove lowercase
9212 (obsoleted_by): ditto
9214 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9216 * buffer.C (insertErtContents): add params are to InsetERT
9217 (parseSingleLyXformat2Token): add code to check if a paragraphs
9218 layout really exist.
9219 (parseSingleLyXformat2Token): add params to several inset
9221 (asciiParagraph): remove lowercase, do the layout comparisons with
9224 * BufferView_pimpl.C (cursorNext): first -> first_y
9225 (resizeCurrentBuffer): first -> first_y
9226 (updateScrollbar): first -> first_y
9227 (scrollCB): first -> first_y
9228 (workAreaMotionNotify): first -> first_y
9229 (workAreaButtonPress): first -> first_y
9230 (checkInsetHit): first -> first_y
9231 (cursorPrevious): first -> first_y
9232 (cursorNext): first -> first_y
9233 (Dispatch): add buffer_->params to severl inset contructors
9235 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9237 * lyxlayout.C (Read): remove some debug info that I forgot.
9239 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9240 clean up the code slightly.
9241 (makeLinuxDocFile): ditto
9242 (makeDocBookFile): ditto
9244 * text2.C: layout as string
9246 * text.C: layout as string
9248 * paragraph_pimpl.C: layout as string
9250 * paragraph.[Ch]: layout as string
9252 * lyxtextclasslist.[Ch]: layout as string
9254 * lyxtextclass.[Ch]: layout as string
9256 * lyxtext.h: layout as string
9258 * lyxlayout.[Ch]: layout as string
9260 * lyx_cb.C: layout as string
9262 * bufferview_funcs.C: layout as string
9264 * bufferparams.C: layout as string
9266 * buffer.C: layout as string
9268 * LyXView.[Ch]: layout as string
9270 * LaTeXFeatures.[Ch]: layout as string
9272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9274 * BufferView_pimpl.C: change current_layout to string, remove
9279 (workAreaButtonRelease): layout as string
9281 * BufferView2.C (unlockInset): adjust
9283 * vspace.C (asLatexCommand): use an explict temp variable.
9285 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9287 * Makefile.am: use FRONTEND_*
9289 2002-03-01 Juergen Vigna <jug@sad.it>
9291 * tabular.C (SetWidthOfMulticolCell): changed to something better
9292 I hope but still work in progress.
9293 (recalculateMulticolumnsOfColumn): renamed function from
9294 recalculateMulticolCells as it is more appropriate now.
9295 (SetWidthOfCell): calculate multicols better.
9297 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9299 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9301 * lyxfunc.C (processKeySym): print sequence also if it is
9302 `deleted' (complete)
9304 * kbsequence.C (print): print sequence even if it is deleted
9305 (complete would be a better word, actually).
9307 * lyxfunc.C (dispatch): print complete options after a prefix key
9309 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9311 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9313 * text2.C (setCharFont): eliminate setCharFont code duplication.
9315 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9317 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9318 LFUN_TABULAR_FEATURE (bug #177)
9320 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9322 * Makefile.am: remove figure.h
9324 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9326 * Bufferview_pimpl.C:
9338 * text2.C: remove #include "lyx_gui_misc.h".
9340 * LaTeX.C: added #include <cstdio>
9342 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9344 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9345 that the paragraph following this one can have.
9347 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9349 * vspace.C (asLatexCommand): fix bogus gcc warning
9351 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9353 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9355 * text2.C (setLayout): get rid of redundant code
9357 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9359 * text2.C (incDepth): make sure depth cannot be increased beyond
9362 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9364 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9365 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9367 * PainterBase.h (image):
9368 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9371 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9375 * BufferView_pimpl.C:
9376 * BufferView_pimpl.h:
9396 * sp_spell.C: remove fig inset, and the crap house of
9397 cards that follows it
9399 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9405 * nt_defines.h: move .h into support/
9407 * vms_defines.h: remove
9409 * WorkArea.C: add space in debug output
9413 * buffer.C: add WITH_WARNINGS
9417 * bufferlist.C: s/retrive/retrieve/, add docs
9428 * lyxgui.C: add ID to X error handler
9430 * lyxtestclass.c: fix typo
9432 2002-02-26 Juergen Vigna <jug@sad.it>
9434 * tabular_funcs.C (write_attribute): changed so that some default
9435 attributes are not written at all.
9436 (getTokenValue): set default values before trying to read the
9437 value so we have the return value always set as default if we don't
9438 find the token we search for.
9440 * tabular.C (Write): write bools as bools not as strings!
9442 2002-02-22 Juergen Vigna <jug@sad.it>
9444 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9445 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9447 * text.C (leftMargin): don't add an indent for paragraphs inside
9448 tabular cells (fix #208).
9450 2002-02-21 José Matos <jamatos@fep.up.pt>
9452 * tabular.C (docBook): fixed support for long tables.
9454 2002-02-20 Juergen Vigna <jug@sad.it>
9456 * text2.C (getFont): get the drawing font of the Inset if this
9457 paragraph is inside an inset (only important for InsetERT for now).
9459 * buffer.C (insertErtContents): use new lanugage params in ERT
9462 * CutAndPaste.C: commenting out seemingly uneeded code.
9464 2002-02-19 Allan Rae <rae@lyx.org>
9466 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9467 Iterators might be simple to use but they also get invalidated.
9468 (removeAutoInsets): renamed saved cursor tracking variables and added
9469 some comments to clarify what everything does.
9471 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9478 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9479 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9482 * vc-backend.h: remove #include "support/syscall.h"
9486 * converter.C: rearrange #includes in Lars' approved fashion.
9488 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9489 forward declare class Timeout in the header file.
9491 * XFormsView.C: changes due to the above.
9493 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9496 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9497 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9499 2002-02-18 José Matos <jamatos@fep.up.pt>
9501 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9504 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9506 * a lot of small ws changes
9507 * add a lot of using std::XXX
9508 * use std construcs some places where approp.
9509 * use some exisint stuff from lyxfunctional where approp.
9510 * Make file changes to use partial linking (lets test this now...)
9512 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9516 remove #include "support/syscontr.h" as it's redundant. Always has been.
9524 change Systemcalls::System to Systemcalls::Wait and
9525 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9526 No change of functionality, just reflects the stripped down Systemcalls
9529 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9531 * debug.[Ch]: add a GRAPHICS type to the enum.
9533 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9537 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9540 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9543 match the changes below.
9545 * text2.C (toggleInset): if there is not editable inset at cursor
9546 position, try to see if cursor is _inside_ a collapsable inset
9549 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9551 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9552 document menu has a nice checkbox
9554 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9556 * lyxlength.C (asLatexString): change PW to output as percent of
9559 * lengthcommon.C: change '%' to 't%'
9561 * lyxfunc.C (dispatch): a few comments from Martin
9563 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9567 * BufferView_pimpl.h:
9568 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9571 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9573 * vspace.C (inPixels): fix compiler warning
9575 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9577 * lyxfunc.C (getStatus): fix status message for disabled commands.
9579 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9581 * BufferView_pimpl.C: fix crash on close buffer
9582 during selection (#227)
9584 2002-01-27 Herbert Voss <voss@lyx.org>
9586 * buffer.C: link old Figure to new graphic inset
9588 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9590 * FontLoader.C (getFontinfo): Change the latex font names in order
9591 to match the names of type1inst.
9593 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9595 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9597 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9600 (remove_files_with_extension): ditto
9601 (remove_file): ditto
9604 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9605 document is smaller than the work area height. Do not initialize
9606 static variables to 0.
9608 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9610 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9612 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9613 LFUN_LAYOUT_PARAGRAPHS.
9615 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9616 tabular. It is possible to provide a possible cell, which will
9617 typically be the actcell from the corresponding insettabular
9619 * lyxfunc.C (getStatus): small cleanup; disable
9620 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9623 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9625 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9627 * paragraph.C (startTeXParParams):
9628 (endTeXParParams): new methods. The LaTeX code to
9629 start/end paragraph formatting
9630 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9631 empty (fixes bug #200)
9633 * vspace.C (inPixels): adapt to the change below
9634 (inPixels): [later] more cleanups (remove unused variables)
9636 * lyxlength.C (inPixels): change to use a width and a height as
9639 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9641 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9642 Replaced with \paperwidth
9644 * DepTable.C (insert): add std:: qualifier
9646 2002-01-18 Allan Rae <rae@lyx.org>
9648 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9651 * text.C (drawInset): Turned out I didn't know enough about how
9652 rebreaking worked. This fixes most of the redraw problems. I see
9653 an occasional cursor trail when a line is broken now and the cursor
9654 placement can seem out by a few pixels also after a rebreak.
9656 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9658 * buffer.C (parseSingleLyXformat2Token): update because minipage
9659 width is now a LyXLength
9661 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9663 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9666 2002-01-17 Juergen Vigna <jug@sad.it>
9668 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9670 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9671 is set correctly and the inset is updated correctly.
9673 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9675 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9676 the beginning of the loop.
9678 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9680 * lyxrc.C: improve help for use_scalable_fonts
9682 2002-01-17 Allan Rae <rae@lyx.org>
9684 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9686 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9688 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9689 make sure to set their inset_owner to the right value (bug #171)
9691 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9694 * DepTable.C: Implement mtime checking to reduce time spent doing
9697 2002-01-16 Juergen Vigna <jug@sad.it>
9699 * tabular.C (GetAdditionalHeight): one of error fixed.
9701 * lyxrc.C (output): small fix in writing use_pspell.
9703 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9705 * sp_base.h: #include LString.h
9707 2002-01-16 Allan Rae <rae@lyx.org>
9709 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9710 Can someone check this please?
9712 * text.C (drawInset): It was possible that p.row would be removed by
9713 breakAgainOneRow upsetting a few other settings. There may be another
9714 small tweak possible by setting need_break_row = 0 when p.row has been
9715 removed but I don't know enough about the logic here.
9717 2002-01-15 Allan Rae <rae@lyx.org>
9719 * text.C (insertChar): removed conditional truism.
9721 * BufferView2.C (removeAutoInsets): More tweaks.
9722 cur_par_prev could be a stray pointer. Check for trailing empty line
9723 in case last line was cur_par and only had an error inset on it.
9725 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9727 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9730 * vc-backend.C (most methods):
9731 * exporter.C (Export):
9732 * converter.C (convert):
9734 * LyXSendto.C (SendtoApplyCB):
9735 * lyxfunc.C (dispatch):
9739 * lyx_cb.C (AutoSave):
9741 * BufferView_pimpl.C (MenuInsertLyXFile):
9742 * buffer.C (runChktex): use Buffer::filePath().
9744 * buffer.h: rename filename to filename_; rename filepath to
9745 filepath_ and make it private
9746 (filePath): new method
9748 * buffer.C (writeFile): use fileName()
9751 * lyx_main.C (init): fix starting of LyX when the binary is a
9752 link from so,ewhere else.
9754 * minibuffer.C: include <cctype> for isprint
9756 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9758 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9759 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9760 name clash with InsetCollapsable's width function.
9762 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9764 * lastfiles.C: include <iterator>
9766 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9768 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9771 * buffer.C (makeLaTeXFile): ditto.
9772 Also make loop operation more transparent.
9774 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9776 * ToolbarDefaults.C: remove trailing comma closing namespace.
9778 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9780 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9783 * trans.C (Load): comment out unused variable, allowed.
9785 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9787 * minibuffer.[Ch] (append_char): new method to recieve input from the
9788 drop-down completion browser. If a key was pressed, then recieve this
9789 char and append it to the existing string.
9790 (peek_event): modify the positioning data passed to the completion
9791 browser so that it can be placed above the minibuffer rather than below.
9792 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * LyXAction.C (init): alloe error-next for readonly documents.
9796 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9799 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9801 * bufferlist.C (readFile): create the buffer _after_ checking that
9804 * lyxfunc.C (verboseDispatch): fix handling of arguments
9806 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9808 * lyxrc.C: use string::erase() instead of initializing to "".
9811 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9813 * BufferView_pimpl.h:
9814 * BufferView_pimpl.C:
9817 * text2.C: tell X when we have made a selection for copying
9819 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9821 * BufferView_pimpl.C (MenuInsertLyXFile):
9822 * lyxfunc.C (menuNew):
9824 (doImport): add shortcuts to directory buttons
9826 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9829 * lyxfunc.C (setStatusMessage):
9830 (getStatusMessage): new methods
9831 (getStatus):use setStatusMessage instead of setErrorMessage
9832 (dispatch): when function is disabled, set error message here
9833 [instead of in getStatus previously]
9835 * BufferView_pimpl.C (workAreaButtonRelease): update
9836 toolbar/menubar here too.
9838 2002-01-13 Allan Rae <rae@lyx.org>
9840 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9841 Now seems indestructible. Remaining task is to audit all other
9842 code affected by deleteEmptyParagraphMechanism. One small quirk
9843 left is that an empty document with an error in the preamble can
9844 be made to report an error but no error box appears. I don't know
9846 (removeAutoInsets): Improved comments.
9848 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9851 * Thesaurus.C: update for Aiksaurus 0.14
9853 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9855 * text2.C (firstParagraph): removed member function, all uses
9856 replaces with ownerParagraph
9857 (redoParagraphs): here
9859 (toggleAppendix): here
9860 * BufferView2.C (insertErrors): here
9861 (setCursorFromRow): here
9863 2002-01-13 Allan Rae <rae@lyx.org>
9865 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9866 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9867 There is still a way to segfault this although you may have to do this
9868 multiple times: Have an InsetERT with an unknown command in it.
9869 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9870 <down-arrow>, <Enter> again, View->DVI, BANG!
9872 * text2.C (setCursor):
9873 (deleteEmptyParagraphMechanism):
9874 * lyxtext.h (setCursor):
9875 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9876 Making use of the return value may help fix other bugs.
9878 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9882 * LyXView.C (updateMenubar): call MenuBar::update here
9883 (updateToolbar): but not here
9884 (showState): do not update toolbar/menubar
9886 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9887 should need to care about that.
9889 * lyxfunc.C (verboseDispatch): simplify a bit
9890 (getStatus): have a version which takes a pseudoaction, and
9891 another which requires a (kb_action,string).
9893 * LyXAction.C (retrieveActionArg): make it work also when action
9894 is not a pseudo-action.
9895 (getActionName): simplify a bit
9898 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * lyxfunc.C (verboseDispatch): new families of methods with
9901 several ways to specify a command and a bool to indicate whether
9902 the command name and shortcut should be displayed in minibuffer
9903 (eventually, we could extend that to a finer bitmask like
9904 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9905 (dispatch): the pristine dispatch command which just, well,
9906 dispatchs! Note it still sets its result to minibuffer; I'm not
9909 * lyxfunc.h: remove setHintMessage
9911 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9913 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9915 * BufferView_pimpl.C (specialChar): delete new inset if we have
9916 not been able to insert it.
9918 * kbmap.C: revert to using int instead of kb_action, since all we
9919 are dealing with is pseudo-actions.
9921 * LyXAction.C (searchActionArg): change to return int instead of
9922 kb_action, since the result is a pseudoaction.
9924 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9926 * buffer.C (insertErtContents): Fix (partially) the font bug.
9928 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9930 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9931 as the other one is broken on my machine!
9933 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9936 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9938 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9940 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9941 reflect their actual use. Provide compatibility code for older lyxrc
9944 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9946 change names of popup font variables in line with the changes to lyxrc.C
9948 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9950 * buffer.C (asciiParagraph): avoid outputing a word twice after
9953 * lyxrc.C (getDescription): document that document_path and
9954 template_path can be empty.
9956 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9958 * LaTeXFeatures.C (getMacros):
9959 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9961 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9963 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9965 (getPackages): rename feature "floats" to "float". Use an array to
9966 iterate over 'simple' features (i.e. just a \usepackage). Add
9967 handling of "amsmath" (renamed from "amsstyle").
9969 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9971 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9974 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9976 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9977 FuncStaus::FuncStatus & FuncStaus::some_method().
9979 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9981 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9982 of the func_satus stuff. Edited and massaged in various ways by
9985 * lyxfunc.C (getStatus): use FuncStatus
9987 2002-01-08 Juergen Vigna <jug@sad.it>
9989 * text.C (nextBreakPoint): use function Inset::isChar().
9991 * paragraph.C (TeXOnePar): use function
9992 Inset::forceDefaultParagraphs.
9994 * buffer.C (latexParagraphs): use function
9995 Inset::forceDefaultParagraphs.
9997 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
9999 * lyx_gui.C (init): set the style of the menu popups to
10000 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10002 2002-01-07 Juergen Vigna <jug@sad.it>
10004 * text.C (setHeightOfRow): small fix
10005 (prepareToPrint): don't look at alignment if we don't have the place
10008 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10010 * box.C: New file. Move the Box methods and functions out of box.h,
10011 following Lars' suggestion.
10013 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10015 * box.h: #include "support/LOstream.h", needed for inlined function.
10018 * lyxtextclasslist.C: added some using std declarations.
10020 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10022 * box.h: make signed dimensions to allow insets wider than
10023 the screen (bug #162)
10025 * BufferView_pimpl.C: add some insetHit debug
10027 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10029 * vc-backend.C: add FIXME
10031 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10033 * lyxfunc.C (getStatus): enable code for showing math font status
10036 2002-01-07 Juergen Vigna <jug@sad.it>
10038 * text.C (nextBreakPoint): removed debug output not needed anymore.
10040 2002-01-06 Juergen Vigna <jug@sad.it>
10042 * text.C (nextBreakPoint): fixed up this function we had this bug
10043 since ever but now hopefully we break row better.
10044 (insertChar): we have to check if an inset is the next char as it
10045 could now happen that a large inset is causing a break.
10047 2002-01-05 Juergen Vigna <jug@sad.it>
10049 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10050 if it doesn't like to be drawed.
10052 2002-01-04 Juergen Vigna <jug@sad.it>
10054 * BufferView2.C (lockInset): forgot to set a cursor.
10056 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10058 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10060 * FormMathsPanel.C:
10063 * form_maths_panel.C:
10064 * form_maths_panel.h:
10065 * form_maths_panel.fd: implemented sub- and super- buttons in math
10068 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10069 (or ^ space) to be used as in TeX (req'd by André).
10071 * lyxfunc.C: Allow ^ and _ again to be used both as
10072 super/subscript (mathed) and as themselves (in text).
10074 2002-01-03 Allan Rae <rae@lyx.org>
10076 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10077 "LyX" or the filename of the current buffer if it has one. This is a
10078 modified form of John Levon's patch.
10080 * XFormsView.C (setWindowTitle): also set icon title.
10082 * LyXView.h (setWindowTitle): signature changed.
10083 * XFormsView.h (setWindowTitle): ditto.
10085 2002-01-02 Juergen Vigna <jug@sad.it>
10087 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10089 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10091 * screen.C (topCursorVisible): introduce a temp var for
10092 text->cursor.row(), handle the case where this row is null. (kindo
10095 * text2.C (setCursor): add a couple of asserts.
10097 * paragraph.h (inset_iterator): add -> operator
10099 * paragraph.[Ch] (autoDeleteInsets): remove member function
10101 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10102 cursor pos correctly and handle inset deletion by itself.
10103 (insertErrors): move iterator declaration out of for expression
10105 * lyxtextclass.C: add <algorithm>
10107 * Makefile.am: added the new files to sources, removed layout.C
10109 * layout.C: removed file
10111 * layout.h: remove LYX_DUMMY_LAYOUT
10113 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10117 * lyxtextclass.[Ch]:
10118 * lyxtextclasslist.[Ch]: new files
10120 * include order changes to a lot of files, also changes because of
10123 2001-12-27 Juergen Vigna <jug@sad.it>
10125 * buffer.C (asciiParagraph): more fixes.
10127 * tabular.C (ascii): make ascii export support export of only the
10128 data separated by a column-delimiter.
10129 (ascii): better support for ascii export.
10131 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10133 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10135 * tabular_funcs.C: use a "using std::getline" instead of the
10136 previous fix from Angus (necessary for cxx + lyxstring)
10138 2001-12-24 Juergen Vigna <jug@sad.it>
10140 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10142 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10143 problems. First check a minipage also if we have some ert-contents
10144 (not only on par->size(), second set the right depth of the paragraph
10145 on the relink to the root-paragraph-list!
10147 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10148 which then did not anymore update the main paragraphs on undo/redo!
10150 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10152 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10153 code. Support all font-changing funcs (even those which are not in
10154 menu currently). Support for reporting font settings in
10155 mathed (disabled until Andre provides a function on mathed's side).
10157 * func_status.h (toggle): small helper function to set toggle
10160 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10162 * tabular_funcs.C: getline -> std::getline
10164 2001-12-21 Juergen Vigna <jug@sad.it>
10166 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10167 accessed and could be 0 (I couldn't generate this but it seems
10170 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10172 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10173 * tabular_funcs.h: here and include iosfwd
10175 2001-12-20 Juergen Vigna <jug@sad.it>
10177 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10178 inside inset but undo_par was.
10180 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10182 * Thesaurus.C: always include <config.h> in sources.
10186 * box.h: do not include <config.h> in header files
10188 * text.C (paintLastRow): remove unused variable
10190 * text.C (transformChar):
10192 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10194 * Painter.C (text):
10195 * font.C (width): rewrite to use uppercase() instead of
10198 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10200 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10202 * lyxfind.C: clean up of find failure position change
10204 2001-12-20 Juergen Vigna <jug@sad.it>
10206 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10208 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10209 (TeXRow): added to LaTeX a single tabular row.
10210 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10211 (Latex): simplified and finally good LT-h/f support.
10212 (various_functions): just small adaptions for LT-h/f support.
10214 * tabular_funcs.[hC]: added and moved here all not classfunctions
10217 2001-12-19 Juergen Vigna <jug@sad.it>
10219 * tabular.[Ch]: better support for longtabular options (not finished
10222 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10224 * text.C (paintLastRow): use the label font instead of the font of
10225 the last character to compute the size of *_BOX. This makes more
10226 sense and avoids a crash with empty paragraphs.
10227 Use Painter::rectangle to draw EMPTY_BOX.
10229 2001-12-19 Juergen Vigna <jug@sad.it>
10231 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10232 the paragraphs if the replaced paragraph is not the first one!
10233 Tried to delete not used paragraphs but does not work yet so for
10234 now it's inside #ifdef's and by default off!
10236 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10238 * MenuBackend.C: include "lyx_main.h" instead of declaring
10239 lastfiles (actually was declared as LastFiles* instead of a
10242 2001-12-17 Juergen Vigna <jug@sad.it>
10244 * tabular.C (AppendColumn): applied John's fix
10246 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10250 * BufferView_pimpl.h:
10251 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10254 * box.h: new start of class for above
10256 * lyxfunc.C: ignore space-only minibuffer dispatches.
10257 Show the command name when it doesn't exist
10259 * minibuffer.C: don't add empty lines to the history
10261 * minibuffer.C: add a space on dropdown completion
10263 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10265 * text.C: fix line above/below drawing in insets
10267 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10269 * lyxlength.C (LyXLength): Initialize private variables.
10271 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10274 when inserting error insets.
10276 2001-12-13 Juergen Vigna <jug@sad.it>
10278 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10279 actually sometimes the before-paragraph.
10280 (setUndo): don't clear the redostack if we're not actually undoing!
10282 2001-12-06 Juergen Vigna <jug@sad.it>
10284 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10285 and fixed redoing of main paragraph, so we can use it now ;)
10287 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10289 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10294 2001-12-13 André Pönitz <poenitz@gmx.net>
10297 * undo_func.C: minor cleanup
10299 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10302 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10303 font in urw-fonts package which is marked as -urw-fontspecific and
10304 does not work (incidentally, changing the encoding in the
10305 fonts.dir of this package to -adobe-fontspecific fixes the
10308 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10309 is a crash when undoing first paragraph (Juergen, please take a
10310 look). THis does not mean the undo fix is wrong, just that it
10313 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10314 the (Paragraph*) version when needed instead of duplicating the
10317 * text.C (workWidth): use Inset::parOwner to find out where the
10318 inset has been inserted. This is a huge performance gain for large
10319 documents with lots of insets. If Inset::parOwner is not set, fall
10320 back on the brute force method
10322 * paragraph_pimpl.C (insertInset):
10323 * paragraph.C (Paragraph):
10324 (cutIntoMinibuffer): set parOwner of insets when
10325 inserting/removing them
10327 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10329 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10335 * mathed/formulabase.C:
10336 * mathed/math_cursor.[Ch]:
10337 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10340 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * lyxlength.[Ch] (operator!=): new function
10344 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * text.C (workWidth): use Inset::parOwner to find out where the
10347 inset has been inserted. This is a huge performance gain for large
10348 documents with lots of insets. If Inset::parOwner is not set, fall
10349 back on the brute force method
10351 * paragraph_pimpl.C (insertInset):
10352 * paragraph.C (Paragraph):
10353 (cutIntoMinibuffer): set parOwner of insets when
10354 inserting/removing them
10356 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10358 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10360 * tabular-old.C (getTokenValue):
10361 * tabular.C (getTokenValue):
10362 (write_attribute): new versions for LyXLength
10363 (everywhere): adjust the use of widths
10365 * tabular.h: change the type of widths from string to LyXLength
10367 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10369 * paragraph.C: fixed missing line number count when exporting
10370 Environments to LaTeX file
10372 * buffer.C: added informational message for checking line numbers.
10374 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10376 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10377 paragraph, do the 'double space' part, but not the 'empty
10380 * text.C (workWidth): small optimization
10381 (getLengthMarkerHeight): use minimal size for negative lengths.
10383 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10385 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10387 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10389 2001-12-11 André Pönitz <poenitz@gmx.net>
10392 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10394 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10396 * text2.C: keep selection on a setFont()
10398 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10400 * lyx_cb.C: another bv->text misuse, from insert label
10402 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10405 * kbsequence.C: re-instate nmodifier mask
10407 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10409 * lyx_main.h: make lyxGUI private.
10411 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10413 * lyxfind.C: place the cursor correctly on failed search
10415 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10417 * text.C (getLengthMarkerHeight): for small heights, the arrows
10418 are not always on top/bottom of the text
10419 (drawLengthMarker): smaller arrows; take the left margin in
10420 account; draw also vfills.
10422 (paintLastRow): remove special code for vfill and standard spaces,
10423 since everything is handled in drawLengthMarker now.
10425 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10427 * buffer.C (insertErtContents): try to handle font and language
10428 interaction a bit better.g
10430 * ColorHandler.C (updateColor): change the hash to cover the whole
10431 LColor enum, ws cleanup
10432 (getGCLinepars): ditto
10433 (getGCLinepars): only lookup in the linecache once.
10435 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10437 * iterators.C (operator++): Make the iterator more robust
10439 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10443 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10446 * text.C: better added space drawing
10448 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10451 * BufferView2.C: fix layout combo update on inset unlock
10453 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10455 * Makefile.am: don't compile unused files
10457 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10461 * LyXAction.C: remove old LFUN_LAYOUTNO
10463 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10465 * paragraph_pimpl.h:
10466 * paragraph_pimpl.C: isTextAt() doesn't need font param
10468 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10471 * lyxlex.C: little cleanup
10473 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10475 * BufferView_pimpl.C: fix insertAscii for insets
10477 2001-12-05 Juergen Vigna <jug@sad.it>
10479 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10480 set the right font on the "multi" paragraph paste!
10482 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10488 * lyxlength.C: remove out-commented code.
10490 * BufferView_pimpl:
10504 * vc-backend.C: change "while(" to "while ("
10506 * lyxlength.[Ch]: add zero function to check if length is zero or
10508 * lyxgluelength.C: use it
10510 2001-12-05 Allan Rae <rae@lyx.org>
10512 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10513 Works for 2.95.3, from what I understand of Garst's reports this should
10514 work for other g++ versions. We're screwed if the abs(int) definition
10515 changed between bugfix releases of gcc.
10517 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10519 * text.C: fix chapter label offset !
10521 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10524 * text.C: fix hfill at end of line, clean up
10526 2001-12-04 Juergen Vigna <jug@sad.it>
10528 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10529 that we force an update of the inset and it's owners if neccessary.
10531 2001-12-03 Juergen Vigna <jug@sad.it>
10533 * text.C (rowLast): simplified code
10535 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10537 * lyxfunc.C: fix show options on timeout
10539 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10541 * screen.C (topCursorVisible): scroll half a page when the cursor
10542 reached top of bottom of screen
10544 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10546 * minibuffer.C: deactivate on loss of focus
10548 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * vspace.[Ch] (operator!=): add operator.
10552 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10554 * BufferView_pimpl.C: refuse to open an inset when
10555 there's a selection.
10557 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10559 * BufferView_pimpl.C: allow to click on RHS of full row insets
10561 2001-11-30 Juergen Vigna <jug@sad.it>
10563 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10564 insets for undo reasons.
10566 2001-11-28 André Pönitz <poenitz@gmx.net>
10568 * vspace.[Ch]: cosmetical changes
10570 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10580 * kbsequence.C: part re-write of old kb code
10583 * WorkArea.C: remove Lgb_bug_find_hack
10585 2001-11-30 José Matos <jamatos@fep.up.pt>
10587 * buffer.C (makeDocBookFile): add a comment to point a hack.
10588 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10589 Fixed a double write of labels.
10591 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10594 * LaTeX.h Fixed bug in LaTeX class where it would not
10595 re-run latex if no depfiles were changed, but the .dvi was removed.
10597 2001-11-28 André Pönitz <poenitz@gmx.net>
10599 * all the files from the change on 2001/11/26:
10600 use lyx::layout_type instead of LyXTextClass::size_type
10601 use lyx::textclass_type instead of LyXTextClassList::size_type
10603 2001-11-29 Juergen Vigna <jug@sad.it>
10605 * text.C: added support for paragraph::isFreeSpacing()
10607 * buffer.C: same as above
10609 * paragraph.h: inserted isFreeSpacing() function to enable
10610 FreeSpacing inside InsetERT.
10612 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10613 of the paragraph's in the cut/copy buffer to 0!
10615 * text2.C (removeRow): remove the assert as it can!
10617 * lyxtext.h: added helper function firstRow returning firstrow and
10618 made firstrow private again.
10620 * BufferView2.C (lockInset): don't relock if we're already locked!
10622 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10623 the only paragraph.
10624 (removeRow): added Assert::(firstrow)
10626 * debug.C: forgot to add INSETTEXT here.
10628 2001-11-28 Juergen Vigna <jug@sad.it>
10630 * sp_spell.C (initialize): changed error text to more general
10631 spellchecker command use (not only ispell!)
10633 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10635 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10637 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10639 * vspace.C: initialise lyxgluelength on failure
10641 2001-11-28 Allan Rae <rae@lyx.org>
10643 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10644 declaration & definition that looks like a function declaration.
10646 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * BufferView2.C (copy):
10649 (copyEnvironment): do not clear the selection when doing a copy.
10651 * text.C (paintFirstRow): compilation fix
10653 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10655 * tabular.C (Latex): correct line count when writing latex.
10657 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10659 * paragraph_pimpl.h:
10660 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10663 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10667 * LColor.C: change vfillline->added_space
10669 * text.C: add markers and text for added space
10671 * vspace.C: fix comment
10673 2001-11-28 André Pönitz <poenitz@gmx.net>
10675 * paragraph.C: whitespace changes
10676 * all the other files from the change on 2001/11/26:
10677 change *::pos_type into lyx::pos_type
10679 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10681 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10682 language of the document when inserting error insets.
10684 2001-11-26 André Pönitz <poenitz@gmx.net>
10686 * BufferView_pimpl.[Ch]:
10694 * paragraph_pimpl.[Ch]:
10697 * text2.C: reduce header dependencies, introduce type for positions
10699 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10701 * <various>: change to use Alert.h
10703 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10705 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10706 when encountering an unknown token.
10707 (readLyXformat2): Show an error message if there were unknown tokens.
10709 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10712 * BufferView_pimpl.C:
10716 * text2.C: use par->isInset()
10718 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10720 * paragraph_pimpl.h:
10721 * paragraph_pimpl.C: cleanup
10723 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * text2.C (removeRow):
10726 * text.C (setHeightOfRow): remove useless (and costly) call to
10729 2001-11-20 Allan Rae <rae@lyx.org>
10731 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10732 Now need Inset*::checkInsertChar() to return true for appropriate
10733 cases so that the characters in the minibuffer will actually be
10736 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10738 * text.C: change the order of the includes.
10739 (workWidth): initialize it at once.
10740 (workWidth): make maxw unsigned
10741 (setHeightOfRow): remove unused variable (inset)
10742 (selectSelectedWord): remove unused variable (inset)
10743 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10745 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10747 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10748 server is not running.
10750 (closeConnection): add debug info when server is disabled.
10752 * ColorHandler.C (getGCForeground): send debug message to GUI
10755 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10757 * kbmap.C (bind): modify because return conventions of
10758 kb_sequence::parse have changed.
10760 * kbsequence.C (parse): only ignore spaces and not any stupid
10761 control character. This avoids tests like s[i] <= ' ', which are
10762 guaranteed to fail with 8bit characters and signed chars.
10763 Change return code to string::npos when there have been no error
10764 (0 was a bad idea when error is at first character)
10766 2001-11-14 José Matos <jamatos@fep.up.pt>
10769 * buffer.C (simpleDocBookOnePar): removed unused argument.
10771 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10774 insets which are part of a word. Paragraph::isLetter takes care of
10775 that now. Use Paragraph::isInset to identify insets.
10776 (selectSelectedWord): do not test for hyphenation break.
10778 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10779 that protected spaces are considered as spaces.
10781 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10784 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10787 * lyxserver.C: fix it. and small cleanup.
10789 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10791 * BufferView_pimpl.C: use inline helpers
10794 * LaTeXFeatures.C: fix typos
10797 * Spacing.C: move spacing_string into class
10799 * ToolbarDefaults.C: move stuff into namespace anon
10801 * layout.h: update enum
10803 * lyxfunc.C: use better debug
10805 * minibuffer.h: fix typo
10809 * WorkArea.C: add and use Debug::WORKAREA
10813 * text2.C: code re-organisation, inline helpers
10815 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10817 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10818 std::vector.empty().
10820 2001-11-09 Allan Rae <rae@lyx.org>
10822 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10823 '\n's after tables. Tabular and ERT inset work now makes this no
10826 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10829 * minibuffer.C: fix crash, improve drop-down completion
10831 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10834 * lyxserver.C: invalidate fd's when doing endPipe()
10836 2001-11-08 José Matos <jamatos@fep.up.pt>
10838 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10839 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10842 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10844 2001-11-07 José Matos <jamatos@fep.up.pt>
10847 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10850 * buffer.C (sgmlOpenTag):
10851 * buffer.C (sgmlCloseTag): removed debug info.
10853 * buffer.h (sgmlOpenTag):
10854 * buffer.h (sgmlCloseTag): made public.
10856 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10858 * buffer.C (saveParamsAsDefaults):
10859 * lyx_cb.C (MenuLayoutSave): remove
10861 * LyXAction.C (init):
10863 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10865 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10867 * buffer.C (setPaperStuff): removed from here...
10869 * bufferparams.C (setPaperStuff): ... and moved there.
10871 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10875 * XFormsView.C: add support for drop-down completion
10877 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10879 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10882 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10884 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10887 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10889 * lyx_main.C: change ref to known bugs
10891 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10893 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10894 to work around older babel problems.
10896 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10898 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10900 2001-10-24 Juergen Vigna <jug@sad.it>
10902 * tabular-old.C (ReadOld): below variable changes reflected.
10904 * tabular.[Ch]: added ltType struct for longtable header/footer
10905 defines and changed all instances where they are used. Added
10906 future support for double top/bottom rows.
10908 2001-10-24 José Matos <jamatos@fep.up.pt>
10910 * buffer.h (docbookHandleCaption):
10911 * buffer.C (docbookHandleCaption): removed unused function.
10912 (makeDocBookFile): moved docbook supported version to v4.1.
10914 2001-10-24 José Matos <jamatos@fep.up.pt>
10917 * tabular.C (docbookRow): new function to export docbook code of a row.
10918 (DocBook): now honors the longtable flags.
10920 2001-10-23 José Matos <jamatos@fep.up.pt>
10923 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10924 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10926 * buffer.C (makeLinuxDocFile):
10927 (makeDocBookFile): reworked the preamble, more clean, and with
10928 support for lyx defined entities. Changed the document declaration
10929 to be more XML friendly.
10931 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10932 if we need to output XML that should be done with a filter.
10934 2001-10-22 Juergen Vigna <jug@sad.it>
10936 * sp_pspell.h (class PSpell): add alive function needed in the
10937 controller to see if the spellchecker could be started.
10939 2001-10-22 Juergen Vigna <jug@sad.it>
10941 * buffer.C (insertStringAsLines): modify the font for inserting
10942 chars in certain conditions by calling checkInsertChar(font).
10944 2001-10-19 Juergen Vigna <jug@sad.it>
10946 * text.C (workWidth): use getRow instead of wrong algorithm.
10947 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10949 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10954 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10956 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10958 * text.C (workWidth): do not search for the exact row when
10959 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10960 optimization for big documents.
10962 2001-10-18 Juergen Vigna <jug@sad.it>
10964 * text.C (workWidth): new function with added Inset * parameter.
10966 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10968 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10970 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10971 change return type of getColumnNearX.
10974 * text.C (changeRegionCase): use uppercase/lowercase instead of
10977 (rightMargin): simplify code by factoring out the uses of
10982 (appendParagraph): use Paragraph::size_type
10984 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10986 * vspace.C (asLatexString): add a missing break
10988 2001-10-15 Herbert Voss <voss@perce.de>
10990 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10992 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10994 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10997 2001-10-10 André Pönitz <poenitz@gmx.net>
10999 * lyxfunc.C: removed greek_kb_flag.
11001 2001-10-10 Herbert Voss <voss@perce.de>
11003 * lyx_main.C: delete global string help_lyxdir.
11005 2001-10-09 Herbert Voss <voss@perce.de>
11007 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11009 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11011 * lyx_main.C: added global string help_lyxdir.
11013 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11015 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11017 * lyxrc.C (set_font_norm_type): support iso8859-4
11019 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11021 * LaTeX.C (deplog): add another regex for MikTeX
11023 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11025 * lyxrc.C (set_font_norm_type): support iso8859-3
11027 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11029 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11031 * LaTeXFeatures.C: remove special case of french and index
11033 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11034 before \begin{document}). This solves several incompatibilities.
11036 2001-10-03 Garst Reese <reese@isn.net>
11038 * lyx_cb.C: change CheckTex error msg.
11040 2001-10-03 José Matos <jamatos@fep.up.pt>
11042 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11044 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11046 * .cvsignore: update
11048 * lyx_main.C (commandLineVersionInfo): use new style version info.
11050 * buffer.C (writeFile):
11052 (makeLinuxDocFile):
11053 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11055 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11057 * version.h: update to use stuff in version.C
11059 * version.C.in: new file. Contains version information determined
11060 at compile time. This is a merging of version.h and
11063 2001-10-03 Juergen Vigna <jug@sad.it>
11065 * BufferView_pimpl.C (update): don't change "dirty" status in
11068 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11070 * WorkArea.C (c-tor): re-position version string slightly.
11072 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11074 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11075 revert to previous code.
11077 WorkArea.[Ch]: (show, destroySplash): methods removed.
11079 WorkArea.C: rework code so that it's an amalgam of the codes before and
11080 after the splash screen was moved to WorkArea.
11082 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11085 * vspace.C (inPixels):
11088 * buffer.C (insertStringAsLines):
11089 (asciiParagraph): fix types to be large enough
11091 * lyxlex_pimpl.h: change member status from short to int
11093 * layout.h: fix type of endlabeltype
11096 * kbsequence.C (parse): change return type to string::size_type
11098 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11101 * Bullet.C (bulletSize):
11102 (bulletEntry): do not use short ints as parameters
11104 * BufferView2.C (insertLyXFile): change a char to an int.
11106 * WorkArea.C (WorkArea): remove unneeded floats in computation
11108 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11110 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11112 * paragraph.C (asString): Do not ignore newline/hfill chars when
11113 copying to the clipboard.
11115 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11117 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11118 after a multi-line inset.
11120 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11122 * paragraph.C (validate): Set NeedLyXFootnoteCode
11124 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11126 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11127 and decrease-error to decrease.
11129 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11131 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11132 it more readable (should be equivalent)
11134 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11136 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11138 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11140 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11141 of a cursor (row, etc.) after a character has been deleted
11142 (deleteEmptyParagraphMechanism): call the method above on _all_
11143 cursors held by the LyXText when a double space has been
11146 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11148 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11150 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11152 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11153 background. Use greyOut() and the new show() methods to toggle between
11154 the foreground and background. Add code to remove the splash after
11155 its initial showing.
11157 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11158 (create_forms): no longer call Dialogs::showSplash.
11160 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11162 * .cvsignore: add version_info.h
11164 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11166 * version_info.h.in: new file
11168 * Makefile.am: add version_info.h.in
11170 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11171 version_info.h instead of VERSION_INFO
11173 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11175 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11176 The ERT inset now returns string().
11178 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11180 * lyxtext.h, text.C (selectNextWord): renamed as
11181 selectNextWordToSpellcheck.
11183 * text.C (selectNextWordToSpellcheck): Modified to not select
11184 words inside an ERT inset.
11186 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11188 * lyx_cb.C (MenuLayoutSave): change a bit the question
11190 * sp_base.h: include <sys/types.h>
11192 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11194 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11196 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11198 * several files: fix typos in user-visible strings
11200 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * text2.C (pasteSelection): do not set the selection, since it
11203 will be cleared later. Actually, the intent was to fix the way the
11204 selection was set, but I figured rmoving the code was just as good.
11206 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11208 * FontLoader.C (available): Check if font is available without
11211 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11213 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11215 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11217 * lyxrc.[Ch]: added display_graphics variable and associated code.
11219 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11221 * bufferparams.C (hasClassDefaults): new method. Returns true if
11222 the buffer parameters correspond to known class defaults
11224 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11226 * XFormsView.C (show): set minimum size to the main window.
11228 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11230 * text2.C (copySelection):
11232 * lyxfind.C (LyXReplace):
11233 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11234 LyXText::selectionAsString.
11236 * paragraph.C (asString): add "label" argument to the second form
11238 * text2.C (selectionAsString): add "label" argument and pass it to
11239 Paragraph::asString.
11241 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11243 * lyx_main.C (commandLineHelp): remove version information
11245 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11247 * lyx_main.C: add -version commandline option
11249 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11251 * paragraph.h: make the optional constructor arg required instead.
11252 some modifications to other files because of this.
11254 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11256 * lyxserver.C (C_LyXComm_callback): make it static
11258 * lyx_main.C (error_handler): make it static
11260 * lyx_gui.C (LyX_XErrHandler): make it static
11262 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11264 * WorkArea.C: make the extern "C" methods static.
11266 * Makefile.am (lyx_LDADD): simplify
11268 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11270 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11271 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11273 * LyXAction.C (init):
11274 * lyxfunc.C (dispatch): associated code removal.
11276 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11278 * lyxfont.h (isSymbolFont): shut off warning
11280 * text.C (setHeightOfRow):
11281 (getVisibleRow): fix crash with empty paragraphs which have a
11284 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11286 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11289 2001-09-04 José Matos <jamatos@fep.up.pt>
11292 * tabular.C (docbook): rename docBook method to docbook.
11294 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11296 * Makefile.am: add dependencies to main.o.
11298 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11300 * FontLoader.C (available): Return false if !lyxrc.use_gui
11302 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11304 * FontInfo.C (query):
11305 * converter.C (view):
11306 * importer.C (Import):
11307 * exporter.C (Export): Can not -> cannot.
11309 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11311 * BufferView_pimpl.C: allow to create index inset even if
11314 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11316 * buffer.C (getLists): replace boost::tie code with an explicit pair
11317 as boost::tie can break some compilers.
11319 * iterators.h: Added a std:: declaration to the return type of
11322 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11324 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11327 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11329 * iterators.[Ch]: New files. Provide paragraph iterators.
11331 * buffer.C (changeLanguage): Use paragraph iterators.
11332 (isMultiLingual): ditto
11334 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11336 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11338 * FontLoader.C: Support for cmr font.
11340 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11342 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11343 (available): New method.
11345 * FontInfo.C (getFontname): Use scalable fonts even when
11346 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11349 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11351 * converter.C (Formats::view): reverted! Incorrect fix.
11353 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11355 * converter.C (Formats::view): only output the -paper option
11356 if the dvi viewer is xdvi, thereby fixing bug #233429.
11358 2001-08-23 Herbert Voss <voss@perce>
11360 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11362 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11364 * Spacing.h (Spacing): Set space to Default on in the default
11367 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11369 * vc-backend.h (RCS::versionString): add RCS to version
11370 (CVS::versionString): add CVS to version
11372 * vc-backend.C (scanMaster): do not add CVS to version.
11373 (scanMaster): do not add RCS to version
11375 * lyxvc.C (versionString): new method
11377 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11379 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11381 * Spacing.C (set): initialize fval
11383 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11385 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11388 2001-08-16 Juergen Vigna <jug@sad.it>
11390 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11392 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11394 * BufferView_pimpl.C:
11397 * text2.C: setParagraph takes linespacing now
11399 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11401 * LyxAction.C: add internal LFUN_CITATION_INSERT
11403 * LyXView.C: actually apply fix
11405 * bufferlist.C: fix open non-existent file
11407 * lyxfind.C: fix indentation
11409 * lyxfunc.C: remove unneeded assert, fix typo
11411 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11413 * MenuBackend.C: use "Floatname List"
11415 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11417 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11418 when converting LaTeX layout to insetERT.
11419 Generate a non-collapsed float when reading old float
11421 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11423 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11426 2001-08-13 Juergen Vigna <jug@sad.it>
11428 * text.C (fill): return 0 instead of 20 as this seems to be the more
11431 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11433 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11436 2001-08-13 Juergen Vigna <jug@sad.it>
11438 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11440 (SearchBackward): comment out the unlocking of the inset_owner this
11441 should not be needed!
11443 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11445 * Many files: Remove inherit_language, and add latex_language
11447 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11448 collapsible insets.
11450 2001-08-10 Juergen Vigna <jug@sad.it>
11452 * text.C (prepareToPrint): fixed hfill-width in draw!
11454 * BufferView2.C (selectLastWord): save the selection cursor as this
11455 now is cleared in the function LyXText::clearSelection!
11457 2001-08-08 Juergen Vigna <jug@sad.it>
11459 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11460 BACKSPACE type functions.
11462 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11463 is only cutted from the document but not put in the cut-buffer, where
11464 still the old stuff should be.
11466 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11468 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11470 * tabular.C (SetWidthOfCell): fixed special case where the width
11472 (LeftLine): handle '|' in align_special.
11474 (LeftAlreadyDrawed): ditto
11475 (SetWidthOfCell): ditto
11477 2001-08-07 Juergen Vigna <jug@sad.it>
11479 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11481 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11484 * lyxlex.[hC]: ditto
11486 2001-08-06 Juergen Vigna <jug@sad.it>
11488 * text.C (getVisibleRow): fix up row clearing a bit.
11490 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11492 * minibuffer.C: make sure the X server sees the changes in the input.
11494 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11496 * paragraph.C (getFont): split into...
11497 (getLabelFont): this
11498 (getLayoutFont): and this
11499 * paragraph_pimpl.C (realizeFont): calling this
11501 * text2.C (getFont): split into...
11502 (getLayoutFont): this
11503 (getLabelFont): and this
11504 (realizeFont): all three calling this
11506 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11509 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11511 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11513 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11515 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11516 layouts from the Quote inset insertion.
11518 2001-08-03 Juergen Vigna <jug@sad.it>
11520 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11522 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11523 only if status not is already CHANGED_IN_DRAW (second level).
11525 * text.C (draw): don't set the need_break_row when inside an
11528 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11530 * buffer.C (parseSingleLyXformat2Token): handle more latex
11533 * bufferview_funcs.[hC]: change function names to
11534 begin with small char, adjust other files.
11536 2001-08-02 André Pönitz <poenitz@gmx.net>
11539 BufferView_pimpl.C: remove broken special code for math-greek
11541 2001-08-02 Juergen Vigna <jug@sad.it>
11543 * BufferView_pimpl.C (update): redone this function so that we
11544 update the text again if there was a CHANGE_IN_DRAW.
11546 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11547 (drawFromTo): added a new internal bool which is used by draw() and
11549 (general): some cursor drawing problems fixed.
11551 2001-08-01 Juergen Vigna <jug@sad.it>
11553 * lyxfind.C (LyXFind): fixed
11554 (SearchForward): ditto
11555 (SearchBackward): ditto
11557 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11558 spurius drawing of the cursor in the main area.
11560 * text2.C (status): small fix which could lead to a segfault!
11561 (clearSelection): remove unneeded BufferView param.
11563 2001-08-01 André Pönitz <poenitz@gmx.net>
11565 * lyxfunc.C: small change due to changed mathed interface
11567 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11569 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11571 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11573 * lyxfunc.c: fail gracefully if file doesn't exist
11578 * BufferView_pimpl.C: IsDirWriteable() proto changed
11580 * LyXView.C: fix updateWindowTitle() to store the last title
11582 2001-07-31 Juergen Vigna <jug@sad.it>
11584 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11585 the font (wrong since using of Paragraph::highestFontInRange).
11587 * paragraph.C (highestFontInRange): added a default_size parameter.
11589 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11590 (setHeightOfRow): reformat
11592 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11594 * converter.[hC] + affected files: move to (inital-char)lowercase
11597 * ParagraphParameters.C (ParagraphParameters): remove commented code
11599 * PainterBase.[Ch]: remove commented code
11601 * LaTeXFeatures.h: add "bool floats" for float.sty
11603 * LaTeXFeatures.C (LaTeXFeatures): init floats
11604 (require): handle float
11605 (getPackages): do it with floats
11607 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11609 * BufferView_pimpl.C (Dispatch): improve handling of
11610 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11612 * commandtags.h: #include lyxfont.h here temporarily to avoid
11615 * bufferlist.h: include LString.h here.
11617 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11619 * text2.C (getStringToIndex): new method.
11621 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11623 * *: Reduced header file dependencies all over.
11625 2001-07-30 Baruch Even <baruch@lyx.org>
11627 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11629 2001-07-29 Baruch Even <baruch@lyx.org>
11631 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11633 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11635 * ParameterStruct.h (endif): add a default constructor to make
11636 sure that all variables is initialized.
11638 * ParagraphParameters.C (ParagraphParameters): adjust
11640 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11642 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11643 index; also, check that there is something to index, and that it
11644 does not span over several paragraphs.
11645 (doubleClick): use WHOLE_WORD_STRICT for double click.
11647 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11649 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11652 2001-07-26 Baruch Even <baruch@lyx.org>
11654 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11655 an InsetFig figure, backwards compatible reading of old figure code.
11657 2001-07-27 Juergen Vigna <jug@sad.it>
11659 * text2.C: font.realize function adaption.
11661 * text.C (draw): add a warnings lyxerr text if needed.
11663 * layout.C: font.realize function adaption.
11665 * language.C: add inherit_language and implement it's handlings
11667 * bufferview_funcs.C (StyleReset): remove language parameter from
11668 font creation (should be language_inherit now).
11670 * bufferparams.C (writeFile): handle ignore_language.
11672 * paragraph.C (getFontSettings): the language has to be resolved
11673 otherwise we have problems in LyXFont!
11675 * lyxfont.C (lyxWriteChanges): added document_language parameter
11676 (update): removed unneeded language parameter
11678 * paragraph.C (validate): fixed wrong output of color-package when
11679 using interface colors for certain fonts in certain environments,
11680 which should not seen as that on the final output.
11682 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView_pimpl.C:
11689 * LyXAction.C: add thesaurus support
11692 * lyxfind.C: add "once" parameter, for thesaurus, to not
11693 move to the next match
11695 2001-07-26 Juergen Vigna <jug@sad.it>
11697 * lyxfont.C (realize): honor ignore_language too!
11700 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11702 * text.C (draw): one place more for ignore_language to not draw
11705 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11707 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11709 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11712 the minipage conversion problem.
11714 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11716 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11719 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11721 * BufferView.h: don't forward declare WorkArea
11723 * BufferView.C: don't include WorkArea.h
11725 2001-07-25 André Pönitz <poenitz@gmx.net>
11729 * lyxfunc.C: new LFUN 'math-space'
11731 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11733 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * text2.C (toggleInset): call open/close
11737 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11739 * lyxfunc.C (dispatch): add debug for the disabled case
11741 * font.C (buttonText): make similar to rectText
11743 * buffer.C (readInset): comment out parsing of insetlist and
11746 * PainterBase.C (rectText): small correction
11748 * BufferView_pimpl.C: comment out insettheorem and insetlist
11749 * LyXAction.C: ditto
11750 * commandtags.h: ditto
11752 2001-07-24 Juergen Vigna <jug@sad.it>
11754 * text.C (draw): honor the ignore_language.
11756 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11758 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11763 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11765 * lyxtext.h: remove unused (and unimplemented) methods
11767 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11769 * text.C (getVisibleRow): honor background color
11772 * Painter.h: remove default color argument for fillRectangle
11774 * text.C (backgroundColor): new method
11776 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * text.C (getVisibleRow): adjust
11780 * font.[Ch] (rectText): new method, metrics
11781 (buttonText): new method, metrics
11783 * PainterBase.[hC]: make rectText and buttonText always draw and take
11786 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11788 * ToolbarDefaults.C (read):
11789 * MenuBackend.C (read): allow escaping in all strings
11791 * BufferView_pimpl.C (insertAndEditInset): new method.
11792 (Dispatch): use insertAndEditInset whenever appropriate.
11794 * BufferView_pimpl.C (insertNote): removed
11796 * BufferView_pimpl.C (smartQuote): new method, moved from
11797 BufferView; if an insetquote cannot be inserted, insert a '"'
11800 * BufferView2.C: remove insertCorrectQuote();
11802 * lyxfunc.C (getStatus): Add support for all remaingin
11803 inset-insert lfuns.
11805 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11807 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11808 command (necessary to pass " as parameter of self-insert.
11810 * text.C (selectWordWhenUnderCursor):
11811 (selectWord): add word_location parameter
11812 (selectWordWhenUnderCursor): same + remove special code for word
11814 (selectNextWord): use kind() to guess type of insetspecialchar,
11817 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11818 (insertErtContents): create ert insets as collapsed.
11819 (readInset): better compatibility code for Info inset.
11821 2001-07-20 Juergen Vigna <jug@sad.it>
11823 * lyxfunc.C (dispatch): use always LyXFind now!
11825 * text2.C (init): add a reinit flag so that the LyXText can be
11826 reinited instead of deleted and reallocated (used in InsetText).
11828 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11834 2001-07-18 Juergen Vigna <jug@sad.it>
11836 * text.C (selectNextWord): handle insets inside inset by calling
11837 always the bv->text functions so that we can go up the_locking_inset!
11839 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11840 in strange locations when inside an inset!
11842 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11843 handling to include insets.
11845 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11847 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11849 * LyXAction.C (init):
11851 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11852 LIGATURE_BREAK, since the name is so stupid.
11854 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11856 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11859 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11861 * sp_form.[Ch]: remove.
11863 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11865 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11868 * src/buffer.C (readInset): ditto.
11870 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11872 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11873 menuSeparator(), endOfSentenceDot(), ldots() and
11874 hyphenationPoint(), which are therefore removed.
11875 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11877 * LyXAction.C (init):
11878 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11880 * paragraph.C (getWord): removed.
11882 * BufferView_pimpl.C (Dispatch): use last word or selection for
11883 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11885 * lyx_main.C (queryUserLyXDir): do not ask before creating
11886 user_dir, except if it has been named explicitely.
11888 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11890 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11891 a document of zero size.
11893 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11895 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11896 approriately in the c-tor and in require().
11897 (getPackages): output the appropriate LaTeX for natbib support.
11899 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11900 variables "use_natbib" and "use_numerical_citations" when reading the
11902 (readInset): read the various natbib cite commands.
11903 (validate): white-space change.
11905 * bufferparams.[Ch]: new variables "bool use_natbib" and
11906 "bool use_numerical_citations".
11907 (writeFile): output them in the LyX file.
11909 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11911 * lyxfunc.C (getStatus): add support for all the inset insertion
11914 * text2.C (insertInset):
11915 * paragraph.C (insetAllowed):
11916 * BufferView_pimpl.C (insertInset): update to take in account the
11917 renaming of insertInsetAllowed
11919 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11921 * text2.C (getInset): new method. returns inset at cursor position.
11923 * BufferView_pimpl.C (Dispatch): changes because of this.
11925 * LyXAction.C (init): rename open-stuff to inset-toggle.
11927 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11929 * text2.C (toggleInset): renamed from openStuff; use
11932 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11934 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11936 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11938 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11940 * buffer.C (readLyXformat2): Add filename to the error dialog
11942 2001-07-18 Juergen Vigna <jug@sad.it>
11944 * tabular.C (GetCellNumber): put an assert here instead of the check!
11946 2001-07-17 Juergen Vigna <jug@sad.it>
11948 * BufferView_pimpl.C (toggleSelection): adapted too.
11950 * text.C (selectNextWord): adapted for use with insets.
11951 (selectSelectedWord): ditto
11953 2001-07-17 Juergen Vigna <jug@sad.it>
11955 * sp_spell.C (PSpell): fix initialitation order.
11957 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11959 * paragraph.C: spacing
11961 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11963 * sp_spell.C: repair language selection for pspell
11965 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11967 * lyxfunc.h: change more methods to begin with lower char.
11969 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11971 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11972 for unknown layouts.
11974 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11976 * buffer.C (readLyXformat2): Generate an error dialog if there are
11979 2001-07-16 Juergen Vigna <jug@sad.it>
11981 * sp_spell.C: always compile ISpell part.
11983 * lyxrc.C: added use_pspell entry and it's handling.
11985 2001-07-13 Juergen Vigna <jug@sad.it>
11987 * sp_spell.C: removed double includes.
11989 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11991 Consistent use of Lsstream.h:
11992 * Lsstream.h: added using std::stringstream for consistencies sake.
11994 * buffer.C: removed using std::stringstream
11996 * lyxfont.C (stateText):
11997 * paragraph.C (asString):
11998 * text.C (selectNextWord, selectSelectedWord):
11999 * text2.C (setCounter):
12000 * vspace.C (asString, asLatexString):
12001 std::ostringstream -> ostringstream.
12003 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12005 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12006 * commandtags.h: add LFUN_HELP_ABOUTLYX
12007 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12009 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12011 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12013 * lyx_gui_misc.C: remove spellchecker
12014 * lyxfunc.C: showSpellchecker
12016 * sp_ispell.h: added
12017 * sp_pspell.h: added
12018 * sp_spell.C: added
12019 * sp_form.[Ch]: removed
12020 * spellchecker.[Ch]: removed
12022 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12024 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12026 (simpleTeXSpecialChars): Simply print the input character without
12027 any special translation if pass_thru is set.
12029 * layout.h: Added bool pass_thru to layout class for being able to
12030 implement pass through of a paragraph for Literate Programming.
12032 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12033 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12034 * layout.C (Read): add "passthru" to list of layout tags and add
12035 code to set the pass_thru boolean when it is read.
12037 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12039 * trans_decl.h: remove allowed from KmodInfo
12041 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12042 remove allowed code
12045 * paragraph_pimpl.C (erase): use boost::prior
12047 * Painter.C (text): use data() instead of c_str() when length is
12049 * WorkArea.C (putClipboard): ditto
12050 * font.h (width): ditto
12052 * BufferView2.C: use it-> instead of (*it). for iterators
12054 * paragraph_pimpl.C: ditto
12055 * paragraph.C: ditto
12056 * minibuffer.C: ditto
12057 * language.C: ditto
12059 * encoding.C: ditto
12060 * counters.C: ditto
12061 * converter.C: ditto
12063 * Variables.C: ditto
12064 * TextCache.C: ditto
12065 * MenuBackend.C: ditto
12066 * LyXAction.C: ditto
12068 * FloatList.C: ditto
12069 * DepTable.C: ditto
12070 * ColorHandler.C (LyXColorHandler): ditto
12072 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12074 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12076 * text2.C (openStuff): reintroduce this method (which had been
12077 nuked in NEW_INSETS frenzy).
12079 * lyxfunc.C (Dispatch): when an action has not been handled, use
12080 its name in the error message, not its number.
12082 * paragraph.C (inInset): change method name to begin with lowercase.
12085 * text2.C: updates because of this.
12087 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * ToolbarDefaults.C (add): add spaces in error message
12091 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12094 (readLyXformat2): rename return_par to first_par, use lyxlex's
12095 pushToken and remove the manual push handling.
12096 (parseSingleLyXformat2Token): add another ert comp. variable:
12097 in_tabular, rename return_par to first_par. handle newlines better
12099 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12101 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12103 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * text2.C (getParFromID): removed
12107 * buffer.C (getParFromID): new method moved form lyxtext.
12108 * BufferView2.C (insertErrors): adjust
12109 (setCursorFromRow): adjust
12110 * BufferView_pimpl.C (restorePosition): adjust
12111 * lyxfunc.C (Dispatch): adjust
12112 * undo_funcs.C (textUndo): adjust
12114 (textHandleUndo): adjust
12115 (textHandleUndo): adjust
12117 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12119 * buffer.C: up' the LYX_FORMAT
12121 * lyxfont.h: turn NO_LATEX on as default
12123 * buffer.C (insertErtContents): new methods of tex style compability.
12124 (parseSingleLyXformat2Token): use it several places.
12125 * tabular.C (OldFormatRead): and here
12127 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12129 * text2.C: remove some commented code.
12132 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12133 * trans.C: changes because of the above.
12135 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12137 * text2.C (setCounter): Fix counters bug with bibliography layout.
12139 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12142 own member functions
12143 (simpleTeXSpecialChars): ditto
12145 2001-07-06 Juergen Vigna <jug@sad.it>
12147 * a lot of files: changed the access to LyXText::status and the
12148 call of undo-functions.
12150 * undo.[Ch]: added a inset_id to the undo informations.
12152 * undo_funcs.[Ch]: added and moved here all undo functions.
12154 * lyxtext.h: give the status enum a weight, made status_ a private
12155 variable and made accessor functions for it, removed the whole bunch
12156 of undo-functions as they are now in their own file, make some
12157 functions publically available. Added function ownerParagraph with
12160 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12161 made InInset() a const function, added getParFromID() function.
12163 * buffer.[Ch]: added const version for inset_iterator functions,
12164 added getInsetFromID() function.
12166 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12167 changed undo functions for new version.
12169 2001-07-05 Juergen Vigna <jug@sad.it>
12171 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12172 unknow mechanism does not call the proper constructor but only this
12173 one also if I request the other!?
12175 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12179 * text2.C (LyXText): use initialization lists.
12181 * lyxtext.h (Selection): initialize set_ and mark_
12182 (init): remove method
12184 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12186 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12188 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * screen.[Ch]: change method names to begin with lowercase
12192 * BufferView_pimpl.C (updateScrollbar): simplify further and
12193 hopefully make it a bit faster.
12195 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12197 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12198 calling directly xforms functions.
12200 * Painter.C (Painter):
12201 * lyx_cb.C (MenuWrite):
12202 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12205 * lyx_gui.C: remove bogus guiruntime extern declaration.
12207 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12209 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12211 (redoDrawingOfParagraph): ditto
12212 (redoParagraphs): ditto
12213 (cutSelection): don't create a object for CutAndPaste use the
12214 static method directly
12215 (pasteSelection): ditto
12217 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12220 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12222 * modifications to some other files because of this.
12224 * Makefile.am (lyx_SOURCES): add XFormsView
12226 * XFormsView.[Ch]: new files
12228 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12229 the main window. Move the gui dependent stuff to XFormsView
12231 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12233 * tabular.C (GetCellInset): update cur_cell also in the row/col
12234 version of this function.
12236 * lyxfunc.C: no need to include figure_form.h here.
12242 * lyxvc.C: no need to include forms.h here.
12244 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12246 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12248 * lyxfunc.C (Dispatch):
12250 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12251 constructor argument.
12253 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * paragraph.C (Paragraph): dont't clear, and just set layout.
12256 (makeSameLayout): use params's copy contructor.
12258 * ParagraphParameters.[Ch] (makeSame): delete method
12260 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12262 * Variables.[Ch]: fix indentation, rename set to isSet
12264 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12266 * lyxfunc.C (Dispatch): fix typo
12268 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12270 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12273 * bufferlist.C: include assert.h for emergencyWrite().
12275 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12277 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12278 give up at last (bug #425202) !
12280 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12286 * spellchecker.C: strip spellchecker options and bring up
12287 preferences tab instead
12289 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12291 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12292 the istringstream constructor
12294 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12296 * paragraph.C (getLayout): fix return value
12298 * paragraph.h: do not declare getLayout as inline.
12300 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12302 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * lyxcursor.h (operator<): new func
12305 (operator>): new func
12306 (operator>=): new func
12307 (operator<=): new func
12309 * text.C (changeCase): use selection.start and selection.end
12310 (changeRegionCase): require from to be <= to. Require par to be a
12313 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12315 2001-06-27 Juergen Vigna <jug@sad.it>
12317 * text.C (cursorLeftOneWord): changed to return the cursor and added
12318 overlay with BufferView * parameter which calls this one.
12320 (selectWord): use new getWord function.
12321 (changeCase): renamed from changeWordCase as and extended to work
12322 also on selections.
12324 * lyxtext.h: added enum word_location
12326 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12327 changeCase as this operates now also on selections.
12329 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12331 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12333 * many files: send debug output to Debug::INFO instead of
12336 * converter.C (View):
12338 (Move): send debug output to Debug::FILES instead of console.
12340 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12342 * lyxfunc.C (getStatus): use func_status
12344 * func_status.h: new header, describing the results of
12345 LyXFunc::getStatus;
12347 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12350 2001-06-25 The LyX Project <jug@sad.it>
12352 * buffer.C (sgmlOpenTag):
12354 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12356 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12358 * text2.C: remove some dead code
12360 * tabular.C (GetCellInset): store the last cell checked (gotten)
12362 * tabular.h: add the helper for the speedup
12364 * lyxtext.h: remove some dead code
12366 2001-06-26 The LyX Project <Asger>
12368 * paragraph.C: Change export to LaTeX of alignment to
12369 \begin{center} and family for better roundtrip work with reLyX.
12371 * Tune the math drawing a bit.
12373 2001-06-25 The LyX Project <Asger>
12375 * LColor.C (LColor): New color for math background. New color
12378 2001-06-25 The LyX Project <jug@sad.it>
12380 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12382 * lyxfunc.C (Open):
12383 * bufferlist.C (newFile): do not restrict to files ending with
12386 * BufferView_pimpl.C (MenuInsertLyXFile):
12388 2001-06-24 The LyX Project <jug@sad.it>
12390 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12393 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12395 * lyxtext.h: rename most methods to begin with a small char.
12396 Lots of changes because of this.
12398 * paragraph.C (Paragraph): do not call fitToSize
12399 (erase): call Pimpl::erase
12400 (insertChar): call Pimpl::insertChar
12401 (insertInset): call Pipl::insertInset
12402 (breakParagraph): do not call fitToSize
12403 (breakParagraphConservative): do not call fitToSize
12404 (fitToSize): remove method
12406 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12408 2001-06-24 The LyX Project <Asger>
12410 * Fix Qt compilation^2
12412 2001-06-24 The LyX Project <jug@sad.it>
12414 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12415 depthHook(getDepth()-1).
12418 * ParagraphParameters.h:
12419 * ParameterStruct.h: change type of depth to unsigned int ==
12420 depth_type. Many adaptations to other files before of that.
12422 2001-06-24 The LyX Project <Asger>
12424 * Fix Qt compilation.
12426 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * paragraph.h: renamed several methods to begin with small letter.
12429 several changes to many parts of the code because of this.
12431 2001-06-23 The LyX Project <jug@sad.it>
12433 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12434 rewritten to discard all double spaces when KeepEmpty is off
12435 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12436 to only handle newlines but not fiddle with spaces and friends.
12438 * lyxfunc.C (MenuNew): when doing 'new from template', use
12439 template_path as default directory
12441 2001-06-23 The LyX Project <Asger>
12443 * Clean-up of header file includes all over
12444 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12446 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * paragraph.h: renamed from lyxparagraph.h
12450 2001-06-23 Asger <lyx@violet.home.sad.it>
12452 * Buffer.h: Removed Buffer::resize
12453 * BufferList.h: Removed BufferList::resize
12454 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12455 the document lazily when we change the width, or the font settings.
12457 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12459 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12461 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12463 * buffer.h: remove out of date comment
12465 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12468 * screen.C: fix "theoretical" GC leak
12470 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12472 * LaTeX.C (scanAuxFile):
12473 (deplog): remove trailing \r when reading stream (useful under
12476 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12478 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12479 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12480 and BufferView::theLockingInset(Inset*), so should use them and not
12481 access bv_->text->the_locking_inset directly.
12483 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12485 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12488 * tex-defs.h: remove old unused file
12490 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12492 * BufferView_pimpl.C: fix typo, remove minibuffer message
12493 when buffer has loaded
12495 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * lyxfunc.C (Dispatch): use stringstream
12498 (MenuNew): use stringstream
12499 (Open): use stringstream
12501 * importer.C (Import): use stringstream
12503 * bufferview_funcs.C (CurrentState): use stringstream
12505 * LaTeX.C (run): use stringstream
12507 * BufferView_pimpl.C (savePosition): use stringstream
12508 (restorePosition): use stringstream
12509 (MenuInsertLyXFile): use stringstream
12511 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12524 * vspace.C: removed // -*- C++ -*- as first line.
12527 * version.h: added // -*- C++ -*- as first line.
12529 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12531 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12533 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12536 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12541 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12543 * gettext.C: include LString.h even when --disable-nls is on.
12545 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12547 * converter.h (Get): changed argument type from int to
12548 FormatList::size_type to avoid unnecessary conversion.
12550 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12553 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12555 * gettext.h: include LString.h even when --disable-nls is on.
12557 2001-06-07 Juergen Vigna <jug@sad.it>
12559 * text.C (BreakAgain): subst spaces with tabs.
12561 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12562 (resizeInsetsLyXText): set force on resizeLyXText.
12564 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12566 * gettext.h (gettext_init):
12567 (locale_init): use a real definition instead of a macro
12569 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12571 * Bufferview_pimpl.C:
12573 * LColor.C: further lcolor tidies
12575 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12577 * BufferView_pimpl.C (updateScrollbar): simplify.
12579 * BufferView2.C: don't include insets/insetinfo.h, change
12580 prototype for insertInset and call the Pimpl version. let
12581 updateInset call Pimpl version.
12583 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12584 gotoInset to BufferView::Pimpl
12586 2001-06-01 Juergen Vigna <jug@sad.it>
12588 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12589 inside a LockingInset (is the update needed at all?).
12591 2001-05-31 Juergen Vigna <jug@sad.it>
12593 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12594 here not the old one otherwise how should we compare it afterwards
12597 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12602 * FontInfo.C: bring C functions into global namespace when
12605 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12607 * LString.h: make sure config.h has been loaded before LString.h.
12609 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12610 (one for each char read by EatLine!).
12612 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12615 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12618 to the same as the par we break from
12620 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12622 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12624 * MenuBackend.C (expand): also create menu entries for wide
12625 versions of the floats.
12627 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12629 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12631 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12632 frontends/Makefile.am
12638 * tabular.C (getTokenValue): add std::
12640 * tabular-old.C (getTokenValue): add std::
12641 (getTokenValue): ditto
12642 (getTokenValue): ditto
12644 * screen.C (ToggleSelection): adjust
12646 * lyxtext.h: put selection cursors inside a Selection struct.
12648 * lyxfunc.C (moveCursorUpdate): adjust
12650 * lyxfont.C (latexWriteStartChanges): add std::
12652 * lyxfind.C: adjust
12654 * font.h: delete with(char const *, LyXFont const &)
12656 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12658 * FontInfo.C (getFontname): add std::
12660 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12661 (workAreaButtonPress): adjust
12662 (tripleClick): adjust
12664 (moveCursorUpdate): adjust
12667 * BufferView2.C (gotoInset): adjust
12669 2001-05-30 Juergen Vigna <jug@sad.it>
12671 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12672 to check pspell I add this as default as I now have new pspell
12673 libraries and they seem to use this.
12675 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * text2.C (CutSelection): make the cursor valid before the call to
12680 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12683 relied on 0 terminated strings and other horrors. Bug found due to
12684 the new assert in lyxstring!
12686 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12689 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12691 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12694 * lyxfunc.C (processKeySym): change method of getting to the
12697 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12698 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12699 * BufferView_pimpl.[Ch]: here as private methods.
12701 2001-05-28 Juergen Vigna <jug@sad.it>
12703 * text.C (SetHeightOfRow): added the update() call again as it is
12704 needed to initialize inset dimensions!
12706 2001-05-16 Juergen Vigna <jug@sad.it>
12708 * text2.C (SetCharFont): Add new function with BufferView * and
12709 bool toggleall parameters for setting insets internal fonts.
12710 (SetFont): Freeze the undo as we may change fonts in Insets and
12711 all this change should be inside only one Undo!
12713 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12714 setting font's in insets as for them we have the SetFont function!
12716 2001-05-15 Juergen Vigna <jug@sad.it>
12718 * text2.C (ClearSelection): to be sure we REALLY don't have any
12721 * tabular.C (TeXCellPreamble): fixed the left border problem for
12724 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12726 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12729 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12731 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12732 LFUN_BREAKPARAGRAPH.
12734 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12735 help test to "internal only", similar for LFUN_INSERT_URL
12737 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12738 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12739 auto_region_delete and deadkeys.
12741 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12744 * LColor.C: remove some dead entries, tidy a little
12746 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12750 (Dispatch): implement LFUN_ESCAPE
12752 * commandtags.h: add LFUN_ESCAPE
12754 * LyXAction.C (init): add entry for LFUN_ESCAPE
12756 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12757 Remove commented code.
12758 (insertNote): moved here
12759 (open_new_inset): moved here
12761 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12764 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12766 * kbmap.C (findbinding): clean it up and make it work correctly.
12768 * lyx_main.C (init): do not pass argc and argv as parameters
12770 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12772 * buffer.C: fix path for OS/2 & Win32
12776 * lyx_main.C: Added os:: class.
12778 * os2_defines.h: update
12780 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12783 better by trying again with reduced state.
12785 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12787 * lyxrc.C (read): print error about invalid key sequence only when
12788 debugging (because not all latinX keysyms are known to some X
12791 * kbsequence.C (getiso): add a few std:: qualifiers
12792 (getiso): comment out extra return statement.
12794 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12798 (Dispatch): enhance the accent inset a bit. (not perfect)
12800 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12804 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12806 * bufferlist.C (emergencyWrite): fix assert() call
12808 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12810 * text.C (InsertChar): Added trivial patch to only send the "you
12811 can not do multiple spaces this way" message once during a
12814 2001-05-08 Baruch Even <baruch@lyx.org>
12816 * Makefile.am: Changed order of libraries to get LyX to link properly
12817 with the gnome frontend.
12819 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12821 * LaTeXFeatures.h: add a std:: qualifier
12823 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12825 * paragraph.C (String): use stringstream
12827 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12829 * paragraph.C (writeFile): remove footflag arg
12831 * buffer.C (makeLaTeXFile): use stringstream
12832 (latexParagraphs): remove footnot gurba
12834 * LaTeXFeatures.C (getPackages): use stringstream
12835 (getMacros): likewise
12836 (getTClassPreamble): likewise
12837 (getFloatDefinitions): new method
12839 * paragraph.C (writeFile): reindent
12842 * WorkArea.h: revert the xpos + etc changes.
12844 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12846 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12848 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12849 (pasteSelection): likewise
12850 * text2.C (CreateUndo): likewise
12852 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12854 * minibuffer.C (peek_event): temporarily reduce the functionality
12855 of the minibuffer (to allow args on lfuns)
12857 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12858 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12860 * buffer.C (readInset): add compability reading of old float
12861 lists, add reading of new style float list.
12862 (readInset): avoid reevaluation of inscmd.getCmdName()
12863 (getLists): reindent
12865 * MenuBackend.C (MenuItem): implement parsing of
12866 md_floatlistinsert and md_floatinsert.
12867 (expand::LastFiles): move initalizaton of iterators out of loop,
12868 avoid reevaluation.
12869 (expand::Documents): introduce typdedef vector<string> Strings,
12871 (expand::ExportFormats): introduce typedef vector<Format const *>
12872 Formats, and use it.
12873 (expand): implement FloatListInsert and FloatInsert.
12875 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12876 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12877 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12879 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12881 (Dispatch::LFUN_FLOAT_LIST): implement
12883 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12885 * LaTeX.C (run): Fix problem with --export code.
12887 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12889 * BufferView.[Ch] (workarea): removed.
12890 (getClipboard) new method; wrapper for workarea()->getClipboard()
12892 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12895 * WorkArea.h (width, height, xpos, ypos): These methods all
12896 returned the dimensions of the work_area sub-area of WorkArea,
12897 resulting in a position error if the WorkArea were resized. Now
12898 return the dimensions of the entire WorkArea.
12900 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12902 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12904 * LaTeX.C (deplog): correct the syntax of regex reg1
12906 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * undo.C: remove !NEW_INSETS cruft
12910 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12912 * text2.C: remove !NEW_INSETS cruft
12914 * text.C: remove !NEW_INSETS cruft
12916 * tabular.C: remove !NEW_INSETS cruft
12918 * spellchecker.C: remove !NEW_INSETS cruft
12920 * lyxtext.h: remove !NEW_INSETS cruft
12922 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12924 * lyxfunc.C: remove !NEW_INSETS cruft
12926 * lyxfind.C: remove !NEW_INSETS cruft
12928 * lyx_cb.C: remove !NEW_INSETS cruft
12930 * figureForm.C: remove !NEW_INSETS cruft
12932 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12934 * buffer.[Ch]: remove !NEW_INSETS cruft
12936 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12938 * CutAndPaste.C: remove !NEW_INSETS cruft
12940 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12942 * BufferView2.C: remove !NEW_INSETS cruft
12944 * BufferView.h: remove !NEW_INSETS cruft
12946 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12948 * Lsstream.h: include LString.h before the sstream headers to
12949 fix problem with gcc 2.95.3 and lyxstring
12951 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12953 * lyx_main.C: add using directives when needed for C functions
12954 declared in std:: namespace.
12956 2001-04-27 Juergen Vigna <jug@sad.it>
12958 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12959 (SetHeightOfRow): comment out the update call should not be needed!
12961 2001-04-13 Juergen Vigna <jug@sad.it>
12963 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12964 (LyXTabular): tried to minimize operator= operations (and realized
12965 hopfully Lars wish).
12967 2001-04-27 Juergen Vigna <jug@sad.it>
12969 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12971 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12973 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12975 * buffer.C (readInset): hack to make listof algorithm work
12977 * BufferView_pimpl.C: hack to make listof algorithm work
12979 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12981 * LyXAction.C: removed all !NEW_INSETS cruft
12982 (init): moved lfun_item in method
12984 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12986 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12988 * BufferView2.C (theLockingInset): white space.
12990 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * minibuffer.C: include <iostream>
12994 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12996 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12998 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13000 * text.[Ch] (TransposeChars): new method
13002 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * call message directly through LyXView instead of through LyXFunc
13005 * BufferView2.C: adjust
13006 * BufferView_pimpl.C: adjust
13007 * FontLoader.C: adjust
13009 * bufferview_funcs.C: adjust
13010 * converter.C: adjust
13011 * figureForm.C: adjust
13012 * importer.C: adjust
13014 * lyx_gui_misc.C: adjust
13015 * lyxfunc.C: adjust
13018 + more files in subdirs
13020 * lyxparagraph.h (size): move up int file
13023 * adjust all uses of Assert to lyx::Assert.
13025 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13026 lyxfunctional in namespace lyx
13027 * layout.C (hasLayout): ditto
13030 (delete_layout): ditto
13031 (NumberOfClass): ditto
13032 * converter.C (GetFormat): ditto
13037 * bufferlist.C (getFileNames): ditto
13038 (emergencyWriteAll): ditto
13041 * MenuBackend.C (hasSubmenu): ditto
13044 * BufferView_pimpl.C (getInsetByCode): ditto
13046 2001-04-18 Juergen Vigna <jug@sad.it>
13048 * vspace.C (asLatexString): fixed the 100% problem.
13050 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13052 * lyxfunc.C (Dispatch):
13054 * minibuffer.h: add a few std:: qualifiers
13056 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * minibuffer.[Ch]: reimplement so that commands is initiated and
13059 run from lyxfunc, simplified som handling, and made the completion
13060 and history code for complete. wip.
13062 * lyxfunc.C (processKeySym): call message
13063 (miniDispatch): new temporary method
13064 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13065 (LFUN_MESSAGE): implement
13066 (LFUN_MESSAGE_PUSH): implement
13067 (LFUN_MESSAGE_POP): implement
13068 (initMiniBuffer): the initial/defualt minibuffer message.
13070 * lyxfont.[Ch]: inline some more getters
13072 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13074 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13076 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13077 (AutoSave): use LFUN_MESSAGE
13078 (Reconfigure): ditto
13080 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13082 * figureForm.C: use LFUN_MESSAGE
13084 * converter.C (runLaTeX): use LFUN_MESSAGE
13086 * bufferview_funcs.C: use LFUN_MESSAGE
13088 (changeDepth): ditto
13090 * bufferparams.h: use boost::
13092 * bufferlist.h: inherit privately from noncopyable
13094 * bufferlist.C (loadLyXFile): remove some commented code.
13096 * buffer.C (runChktex): use LFUN_MESSAGE
13098 * ShareContainer.h: inherit privately from noncopyable
13100 * ParagraphParameters.[hC] (depth): inline it.
13102 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13104 (message): new method
13105 (messagePush): ditto
13106 (messagePop): ditto
13107 (show): init minibuffer
13108 (showState): direct call
13110 * LaTeX.[Ch]: inherit privately from noncopyable
13111 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13112 instead of WriteStatus.
13114 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13116 * BufferView_pimpl.C (buffer): don't init minibuffer
13117 (workAreaButtonPress): use LFUN_MESSAGE
13118 (workAreaButtonRelease): ditto
13119 (savePosition): ditto
13120 (restorePosition): ditto
13121 (MenuInsertLyXFile): ditto
13122 (workAreaExpose): don't init minibuffer
13123 (update): remove commented code, simplify
13125 * BufferView2.C (openStuff): use LFUN_MESSAGE
13126 (toggleFloat): ditto
13129 (copyEnvironment): ditto
13130 (pasteEnvironment): ditto
13135 (updateInset): remove some commented code
13137 * lastfiles.h: inherit privately from noncopyable
13140 * lyx_main.h: ditto
13142 * lyxlex_pimpl.h: ditto
13144 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13145 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13146 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13148 * LyXAction.h: inherit privately from noncopyable, add methods
13149 func_begin, func_end, returning iterators to the func map.
13151 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13152 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13153 (func_begin): new method
13154 (func_end): new method
13156 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13158 (copySelection): ditto
13159 (pasteSelection): ditto
13161 * BufferView.C: whitespace change
13162 * BufferView.h: inherit privately from noncopyable
13164 2001-04-16 Allan Rae <rae@lyx.org>
13166 * tabular-old.C (l_getline):
13167 * spellchecker.C (sc_check_word):
13168 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13169 an unrecognised preprocessor directive. So ensure they're wrapped.
13171 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13173 * src/exporter.C (Export): Give an error message when path to file
13176 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13178 * LaTeX.C (deplog): Always check that foundfile exists.
13180 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13185 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13187 * tabular.[Ch] (getLabelList): implement new method
13189 * minibuffer.h: comment ouf setTiimer
13191 * minibuffer.C (ExecutingCB): constify res
13192 (peek_event): constify s
13193 (Set): constify ntext
13194 (Init): constify nicename
13196 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13198 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13199 (savePosition): use two params to Minibuffer::Set
13200 (restorePosition): ditto
13202 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13204 * lyx_main.C: include language.h
13206 * Makefile.am (lyx_main.o): add language.h
13208 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * CutAndPaste.C: include gettext.h
13216 * lyxfont.h: remove old hack with ON and OFF.
13219 * lyxfont.h: do not include language.h...
13224 * bufferview_funcs.C:
13230 * paragraph.C: ... but do it here instead
13232 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13236 * tabular.C: small reformat
13238 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13241 (BreakParagraph): ditto
13242 (SetOnlyLayout): ditto
13245 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13248 * lastfiles.C: removed most using decl, add std:: where needed
13250 * buffer.C: ws changes
13252 * MenuBackend.C (class compare_format): put into anon namespace
13253 (expand): constify label, names, action, action2
13256 * text.C (SingleWidth): constify font
13257 (IsBoundary): constify rtl2
13258 (GetVisibleRow): constify ww
13260 * LaTeX.C (deplog): constify logfile
13262 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13264 (workAreaExpose): constify widthChange, heightChange
13266 * lyxrow.C (par): moved
13269 * lyxrow.h: as inlines here
13271 * lyxfont.h (shape): moved from lyxfont.C
13272 (emph): moved from lyxfont.C
13274 * lyxfont.C (LyXFont): use initialization list for all
13276 (shape): move to lyxfont.h as inline
13277 (emph): move to lyxfont.h as inline
13280 2001-04-04 Juergen Vigna <jug@sad.it>
13282 * vspace.C: had to include stdio.h for use of sscanf
13284 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13287 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13288 independent of xforms.
13290 2001-04-02 Juergen Vigna <jug@sad.it>
13292 * spellchecker.C: fixed namespace placing!
13294 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13296 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13297 the LyXParagraph * is 0.
13299 2001-03-29 Juergen Vigna <jug@sad.it>
13301 * vspace.C: added support for %, c%, p%, l%.
13302 (stringFromUnit): added helper function.
13303 (asLatexString): changed to give right results for the %-values.
13305 * buffer.C: convert the widthp in a width%.
13307 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13309 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13312 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13313 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13315 * lyx_cb.[Ch]: see above.
13317 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13321 * lyx.[Ch]: replaced by figure_form.[Ch].
13325 * lyxfunc.C: changed headers associated with above changes.
13327 2001-03-27 Juergen Vigna <jug@sad.it>
13329 * BufferView_pimpl.C: set the temporary cursor right!
13331 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13333 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13335 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13337 * LString.h: removed "using std::getline"!
13339 * BufferView_pimpl.C (Dispatch): changes due to changes in
13340 InsetInclude::Params.
13342 * buffer.C (tag_name): removed redundant break statements as they were
13343 producing lots of warnings with my compiler.
13345 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13347 * LString.h: add "using std::getline" when using the real <string>.
13349 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13351 * buffer.C: removed bitset usage.
13352 PAR_TAG moved to an anonymous name space.
13353 (tag_name): new funtion, also in the anonymous namespace.
13354 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13355 (makeDocBookFile): clean code. Completed transition from string arrays
13357 (SimpleDocBookOnePar): code clean.
13359 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13361 * tabular.C: add some comments.
13363 2001-03-22 Juergen Vigna <jug@sad.it>
13365 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13366 compatibility read a bit and fixed bug with minipage in different
13369 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13371 * buffer.C (pop_tag): removed.
13372 (push_tag): removed.
13373 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13374 array replaced with vector. Added support for CDATA sections.
13375 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13377 (makeDocBookFile): XML conformant declaration of CDATA section,
13378 fixed bug related to <emphasis> in the first paragraph char.
13379 (sgmlOpenTag): exclude empty tags.
13380 (sgmlCloseTag): ditto.
13382 * buffer.h (pop_tag): removed.
13383 (push_tag): removed.
13385 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13387 * language.h (Languages): added size_type and size().
13389 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13391 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13392 response on compability reading of minipages. One probliem is that
13393 the old usage of minipages was «flertydig»
13395 * several files here and in subdirs: don't use static at file
13396 scope use anon namespaces instead.
13398 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13400 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13401 LaTeX output. This is necessary for Literate document
13404 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13406 * buffer.C: insert hfill when needed.
13408 * tabular.C (l_getline): use string::erase, small whitespace change.
13410 * BufferView_pimpl.C: try the anon namespace.
13411 * WorkArea.C: ditto
13413 2001-03-16 Juergen Vigna <jug@sad.it>
13415 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13416 otherwise it won't open options-dialogs.
13418 * buffer.C: honor pextraWidth(p) on converting minipages.
13420 * tabular.C (l_getline): changed the functions to strip trailing \r.
13422 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13424 * BufferView_pimpl.C:
13425 * minibuffer..C: added "using SigC::slot" declaration.
13427 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13429 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13435 * paragraph.C: ditto
13437 * lyxtext.h: NO_PEXTRA
13439 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13441 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13442 * ParameterStruct.h: ditto
13443 * ParagraphParameters.h: ditto
13444 * lyxparagraph.h: ditto
13446 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13448 * buffer.C: add compability for minipage alignment.
13449 (latexParagraphs): remove unwanted pextra check.
13451 * several files: remove CXX_WORKING_NAMESPACES
13453 * buffer.C (pop_tag): tie is in namespace boost
13455 * BufferView.h: noncopyable is in namespace boost
13457 * lyx_main.h: ditto
13460 * lastfiles.h: ditto
13461 * bufferlist.h: ditto
13462 * ShareContainer.h: ditto
13464 * LyXAction.h: ditto
13467 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13469 * Merging changes from BRANCH_MVC back into HEAD.
13471 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13473 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13475 * BufferView_pimpl.C: change from intl.C
13479 * Makefile.am: move combox.*
13485 * intl.C: remove dialog (covered by prefs)
13487 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13489 * lyxfunc.C (Dispatch): removed redundant break statement.
13491 2001-03-14 Juergen Vigna <jug@sad.it>
13493 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13495 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13497 * buffer.C: add hack to fix compability reading of minipages.
13499 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13501 * buffer.C (getLists): Cleanup.
13503 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13505 * lyxfont.C (update): don't honor toggleall on font size.
13507 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13511 * Makefile.am: moved to frontends/xforms/
13515 * BufferView_pimpl.C: changes for moved mathpanel
13517 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13519 * gettext.h: fix gettext_init() in --disable-nls
13521 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13523 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13525 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13528 * lyx.h: strip external form
13530 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13532 * BufferView_pimpl.C: add comment, destroySplash()
13534 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13536 * BufferView_pimpl.C:
13540 * lyxfunc.C: use re-worked insetinclude
13542 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13544 * buffer.C: add using std::stringstream.
13546 * lyx_cb.C: readd using std::ios.
13548 * buffer.C: add using std::map.
13550 * BufferView_pimpl.C: add using std::vector.
13552 * ShareContainer.h: add std:: to swap.
13554 * buffer.h: add some typedefs
13555 * buffer.C (getLists): use them
13556 (getLists): renamed from getTocList.
13557 add a counter for the different float types and use it in the
13559 (getLists): use the same counter for the NEW_INSETS and the "non"
13562 * lyx_cb.h: remove unused items, includes, using etc.
13564 * ShareContainer.h: remove some commented code, add more comments
13565 and "documentation".
13567 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13569 * buffer.C (getTocList): make the list also when NEW_INSETS is
13572 * buffer.h: remove TocType
13574 * buffer.C (getTocList): change to return a map<string,
13575 vector<TocItem> >, implement for dynamic number of list.
13577 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13578 * text2.C (PasteSelection): adjust
13579 * CutAndPaste.C (pasteSelection): adjust
13581 * FloatList.C (FloatList): update from the new_insets branch.
13582 * Floating.[Ch]: ditto
13583 * LaTeXFeatures.C: ditto
13585 * lyxlex_pimpl.C: ditto
13587 * paragraph.C (Last): remove when NEW_INSETS is defined.
13589 * other file: changes because of the above.
13591 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13593 * lyxparagraph.h: rename next to next_, previous to previous_,
13594 make them private for NEW_INSETS. Rename Next() to next(),
13595 Previous() to previous().
13597 * other files: changes because of the above.
13599 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13602 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13605 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13607 * main.C (main): pass lyx_localedir to gettext_init().
13609 * gettext.h: remove locale_init and gettext_init macros
13611 * gettext.C (locale_init): new function
13612 (gettext_init): new function
13614 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13617 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13619 * Moved credits to frontends:
13620 * credits.[Ch]: removed
13621 * credits_form.[Ch]: removed
13622 * lyx_gui_misc.C: remove credits stuff
13625 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13627 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13629 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13630 unneeded destructor.
13632 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13633 a standalone pointer again.
13635 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13637 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13643 * ToolbarDefaults.C:
13652 * BufferView_pimpl.C: use new file dialog in GUII
13655 * lyx_cb.C: remove LayoutsCB to Toolbar
13657 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * ShareContainer.h (get): add std:: qualifier
13661 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13663 * ShareContainer.h: define a proper ShareContainer::value_type
13664 type (and use typename to please compaq cxx)
13666 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13668 * lyxparagraph.h: move serveral local vars to
13669 ParameterStruct/ParagraphParameters., use ShareContainer in
13670 FontTable., make vars in FontTable private and add getter and
13673 * paragraph.C: changes because of the above.
13675 * lyxfont.h: remove copy constructor and copy assignment. (the
13676 default ones is ok), move number inside FontBits. move inlines to
13679 * lyxfont.C: add number to initializaton of statics, move several
13680 inlines here. constify several local vars. some whitespace
13681 cleanup. Dont hide outerscope variables.
13683 * Spacing.h: add two new constructors to match the set methods.
13685 * ShareContainer.h: new file, will perhaps be moved to support
13687 * ParameterStruct.h: new file
13689 * ParagraphParameters.h: new file
13691 * ParagraphParameters.C: new file
13693 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13694 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13696 * BufferView_pimpl.C: ParagraphParameter changes.
13697 * buffer.C: Likewise.
13698 * bufferview_funcs.C: Likewise.
13699 * text.C: Likewise.
13700 * text2.C: Likewise.
13702 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13704 * lyxfind.C (LyXReplace): do not redefine default argument in
13706 (IsStringInText): ditto
13707 (SearchForward): ditto
13708 (SearchBackward): ditto
13710 2001-03-06 Juergen Vigna <jug@sad.it>
13712 * lyxfind.C (IsStringInText): put parentes around expressions.
13714 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13716 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13718 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13720 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13722 * stl_string_fwd.h: add comment
13724 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13727 * tabular.C: remove unused DocBook methods
13733 killed DO_USE_DEFAULT_LANGUAGE
13735 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13737 * lyx_gui.C: do not include language.h.
13739 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13740 arguments in function implementation.
13742 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13744 * BufferView_pimpl.C: add <ctime>
13746 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13748 * BufferView_pimpl.C: add using std::find_if
13750 2001-02-27 José Matos <jamatos@fep.up.pt>
13752 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13755 2001-02-11 José Matos <jamatos@fep.up.pt>
13757 * buffer.C (makeDocBookFile): command styles now have a parameter as
13758 "title" by default.
13760 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13762 * layout_forms.[Ch]: removed
13763 * lyx_cb.[Ch]: out character
13764 * lyx_gui.C: out character
13765 * lyx_gui_misc.C: out character
13766 * bufferview_funcs.C: : out character,
13767 added toggleall as parameter in ToggleAndShow
13769 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13771 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13773 * text2.C (SetCurrentFont): Disable number property at boundary.
13775 2001-02-26 Juergen Vigna <jug@sad.it>
13777 * lyxfunc.C (getStatus): added a string argument override function so
13778 that this is correctly called from LyXFunc::Dispatch if it contains a
13779 do_not_use_argument which is used!
13780 (Dispatch): added check for "custom" export and call appropriate func.
13782 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13784 * lyxrc.C: Add language_command_local, language_use_babel and
13785 language_global_options.
13787 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13789 * buffer.C (makeLaTeXFile): Use language_use_babel and
13790 language_global_options.
13792 2001-02-23 Juergen Vigna <jug@sad.it>
13794 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13795 which works with LyXText and putted it inside BufferView. Here now we
13796 only call for that part the BufferView::Dispatch() function.
13798 * BufferView.C (Dispatch): added.
13800 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13801 functions which needs to use a LyXText over from LyXFunc.
13802 (MenuInsertLyXFile): added
13803 (getInsetByCode): added
13804 (moveCursorUpdate): added
13805 (static TEXT): added
13807 2001-02-22 Juergen Vigna <jug@sad.it>
13809 * BufferView_pimpl.C (update): call a status update to see if LyXText
13812 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13814 * vc-backend.C (revert): implement for CVS
13815 (getLog): implement for CVS
13817 2001-02-20 Juergen Vigna <jug@sad.it>
13819 * text2.C (ClearSelection): added BufferView param for inset_owner call
13821 * lyxfunc.C (TEXT): added this function and use it instead of
13822 directly owner->view()-text of getLyXText().
13824 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13826 * src/layout_forms.C: out preamble
13827 * src/layout_forms.h: out preamble
13828 * src/lyx_cb.C: out preamble
13829 * src/lyx_cb.h: out preamble
13830 * src/lyx_gui.C: out preamble
13831 * src/lyx_gui_misc.C: out preamble
13832 * src/lyxfunc.C: connect with guii preamble
13834 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13836 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13838 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13840 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13841 whether to run bibtex.
13843 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13845 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13847 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13849 * Makefile.am (lyx_SOURCES): removed bibforms.h
13851 * vspace.h: doxygen
13853 * text.C (GetVisibleRow): make several local vars const
13855 * tabular.C: small cleanup.
13857 * lyxserver.C (callback): use compare instead of strncmp
13859 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13860 inlines to after class or to paragraph.C
13862 * lyxfont.h: remove friend operator!=
13864 * converter.h: move friend bool operator< to non friend and after
13867 * combox.h: small cleanup
13869 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13870 to inlines after class def.
13872 * buffer.C (pop_tag): use string operations instead of strcmp
13874 * bmtable.c: doxygen, small cleanup
13876 * LaTeX.h: remove friend operator==
13878 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13890 * BufferView_pimpl.C:
13891 * BufferView.[Ch]: remove cruft
13893 2001-02-14 Juergen Vigna <jug@sad.it>
13895 * lyxfunc.C: removed #if 0 unused code
13897 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13899 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13901 * text2.C (SetSelection): added a BufferView * parameter
13903 2001-02-13 Juergen Vigna <jug@sad.it>
13905 * lyxfunc.C (Dispatch): fixed protected blank problem.
13906 * BufferView2.C (protectedBlank): added LyxText * parameter.
13908 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13909 (AppendColumn): same as above for column_info.
13911 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13912 (moveCursorUpdate): use a LyXText param for support of InsetText.
13914 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13915 (tripleClick): ditto
13917 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13919 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13921 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13923 * text2.C (SetSelection): set correct update status if inset_owner
13924 (ToggleFree): ditto
13926 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13928 * tabular.C: remove some commented code.
13930 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13932 * BufferView_pimpl.C: call hideSplash()
13934 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13937 * bibforms.h: remove
13940 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13941 add LFUN_CHILD_CREATE
13943 * counters.h: fix tiny typo
13948 * lyx.C: move splash to frontends/xforms/
13950 * lyx_gui_misc.C: move Include and Bibform to frontends
13952 * lyxvc.h: clarify comment
13954 * vspace.C: tiny housekeeping
13956 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13958 * text.C (PrepareToPrint): RTL Fix.
13960 * paragraph.C (GetUChar): New method.
13961 (String): Use GetUChar.
13963 * buffer.C (asciiParagraph): Use GetUChar.
13965 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13967 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13969 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13972 * buffer.C: rename to getLogName(), handle
13973 build log / latex log nicely
13975 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13978 * MenuBackend.h: remove support for reference menuitem type.
13980 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13982 * BufferView_pimpl.C: housekeeping
13983 * BufferView_pimpl.h:
13988 * minibuffer.h: move Timeout GUI-I
13990 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13992 * lyxrc.C (read): Update converters data-structures.
13994 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
13996 * LaTeX.h (operator!=): add operator != for Aux_Info
13998 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14000 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14002 * LaTeXLog.C: deleted, useful code moved to Buffer
14005 * buffer.C: new function getLatexLogName()
14011 * lyxfunc.C: use frontends for LaTeX and VC logs
14013 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14015 * LaTeX.h: yet another std:: that Allan forgot.
14017 * Variables.C (set): renamed from isset(), because this clashes
14018 with some HP-UX macros (grr).
14020 2001-02-06 Allan Rae <rae@lyx.org>
14022 * LaTeX.h: Another bug fix. Missing std:: this time.
14024 2001-02-04 Allan Rae <rae@lyx.org>
14026 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14027 floats problem. I've left it commented out because it's not quite
14028 correct. It should also test that the current object is a table or
14029 figure inset. But I haven't gotten around to figuring out how to do
14030 that. I *think* it'll be something like: "table" == inset.type()
14032 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14035 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14037 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14038 all the citation/databases/styles in the auxilary file.
14039 (run): Rerun latex if there was a babel language error.
14041 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14043 * text.C (Backspace): Preserve the font when changing newline char
14045 (BreakParagraph): If the cursor is before a space, delete the space.
14047 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14049 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14051 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14052 new argument (code).
14053 (ChangeCitationsIfUnique): New method.
14055 * paragraph.C (GetPositionOfInset): Handle bibkey.
14057 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14059 * BufferView_pimpl.h: change type of Position::par_pos to
14060 LyXParagraph::size_type.
14062 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14064 * BufferView_pimpl.C (savePosition, restorePosition): Write
14065 messages to minibuffer.
14067 2001-01-28 José Matos <jamatos@fep.up.pt>
14069 * buffer.C (makeDocBookFile): adds support for document language.
14070 A silly restriction on the name of LatexCommand types where removed.
14071 Added support for CDATA sections, allows to chars unescaped, used
14072 among others in code, to avoid escape < and >.
14074 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14076 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14077 saved positions instrad of a stack. Furthermore, a position is
14078 stored using paragraph id/paragraph position.
14080 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14081 Remove LFUN_REF_BACK.
14083 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14085 * converter.C (dvipdfm_options): New method.
14087 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14089 * vspace.C (isValidLength): Fix for empty input string.
14091 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * LyXAction.C (init): change description of LFUN_FIGURE to
14096 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14098 * LaTeX.C: add using directive
14100 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14102 * MenuBackend.C (expand): Fix the sorting of the formats.
14104 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14106 * lyx_main.C: tiny error message fix
14108 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14110 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14111 calling fl_initialize(). This fixes the problem with ',' as
14112 decimal separator in text files.
14114 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14116 * trans.C (process): Fix the keymap bug.
14118 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14120 * LaTeX.C (scanAuxFiles): New method. Provides support for
14121 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14122 (scanLogFile) Scan for "run BibTeX" messages.
14124 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14125 OT1 font encoding. Also, load the aecompl package if the ae
14128 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14130 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14132 * texrow.C (increasePos): turn two error messages into debug
14135 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14137 * LaTeX.C (scanAux): Handle the \@input macro.
14138 (runBibTeX): Use scanAux().
14140 * language.C (latex_options_): New field.
14142 * LaTeXFeatures.C (getMacros): Add language macros.
14144 * buffer.C (makeLaTeXFile): Small fix.
14146 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14150 * text2.C: add a using directive.
14152 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14157 * lyxfunc.C: kill LyXBell.
14159 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14161 * text.C (IsBoundary): Remove the error message
14163 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14165 * lyxrc.C (setDefaults): Correct initialization value for
14168 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14170 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14173 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14174 and GotoNextNote().
14176 * src/LyXAction.C: Added reference-next.
14178 * text.C (InsertChar): Use contains instead of strchr.
14180 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14182 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14184 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14185 alignment commands (when needed).
14187 * text.C (InsertChar): Add ':' to number separator chars.