1 2003-12-14 Angus Leeming <leeming@lyx.org>
3 BranchList.[Ch]: minimize the API.
4 (Branch::getBranch, getColor): now return a 'const &'.
5 (Branch::setSelected) now returns a bool set to true if the
6 selection status changes.
7 (BranchList::clear, size, getColor, setColor, setSelected,
8 allBranches, allSelected, separator): removed.
9 (BranchList::find): new functions, returning the Branch with
11 (BranchList::add, remove): return a bool indicating that
12 the operation was successful.
14 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
15 new InsetBranch::isBranchSlected member function.
17 * LColor.[Ch]: mimimize the API.
18 (fill): renamed as addColor and made private.
19 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
20 versions of these functions taking a string arg have been removed.
22 * bufferparams.C (readToken):
23 * lyxfunc.C (dispatch):
24 * lyxrc.C (read): changes due to the altered BranchList and
27 * factory.C (createInset, readInset): changes due to altered
30 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * lyxfunc.C: remove insetminipage. "minipage-insert"
34 now produces a frameless minipage box inset.
36 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
38 * textcursor.[Ch] (selStart,selEnd): add new methods
39 remove selection::start, end, use LyXCursor::operator<
40 * lyxcursor.[Ch] (operator<): add
41 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
42 * BufferView.[Ch] (unsetXSel): add
43 * text2.C (clearSelection): use unsetXSel,adjust
46 * rowpainter.C: adjust
47 * bufferview_funcs.C (put_selection_at): adjust
49 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
51 * BufferView_pimpl.C: small coord. correction
53 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
55 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
56 dragging over the splash screen.
58 2003-12-11 Angus Leeming <leeming@lyx.org>
60 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
61 as it is now handled in LyXText::dispatch.
63 * text3.C (doInsertInset): remove a level of nesting.
65 2003-12-11 Angus Leeming <leeming@lyx.org>
67 * factory.C (createInset): changes due to the changed interface to
68 InsetCommandMailer::string2params.
70 2003-12-10 Angus Leeming <leeming@lyx.org>
72 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
73 'dialog-show-new-inset <inset name>'
75 2003-12-10 Angus Leeming <leeming@lyx.org>
77 * buffer.C: up the format to 227.
79 * factory.C: the box inset is now identified simply by 'Box'.
81 2003-12-10 Angus Leeming <leeming@lyx.org>
83 * buffer.C: up the format to 226.
85 * factory.C: the note inset is now identified simply by 'Note'.
87 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
89 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
90 when a pit is enough. Standarize a couple of loops.
92 2003-12-05 Angus Leeming <leeming@lyx.org>
94 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
95 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
96 data to the re-worked "log" dialog.
98 2003-12-03 André Pönitz <poenitz@gmx.net>
106 * text2.C: use Inset::getText instead of Inset::getParagraph
108 2003-12-03 André Pönitz <poenitz@gmx.net>
112 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
113 InsetText::read() as LyXText::read()
115 2003-12-02 Angus Leeming <leeming@lyx.org>
117 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
118 type. Add a comment in the implementation that the function uses
119 the stream's bad() function rather than fail() as the std::streams
122 2003-12-02 André Pönitz <poenitz@gmx.net>
124 * lyxlex.[Ch]: make interface more similar to std::stream
126 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
128 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
130 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
132 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
134 * vspace.[Ch]: remove VSpace::NONE
136 2003-12-01 André Pönitz <poenitz@gmx.net>
139 * lyxtext.h: move ParagraphList member to LyXText
140 rename LyXText::ownerParagraphs to LyXText::paragraph
143 * bufferview_funcs.C:
153 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
155 * undo.C: fix cursor positioning
157 2003-12-01 John Levon <levon@movementarian.org>
159 * BufferView_pimpl.C: fix a crash on exit with
162 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
164 * BranchList.C: fix setSelected() method.
166 2003-11-28 André Pönitz <poenitz@gmx.net>
168 * ParagraphParameters.[Ch]:
169 * ParameterStruct.h: remove space above/below from Paragraph to
172 * BufferView_pimpl.C:
184 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
186 * factory.C: Syntax change for CharStyles
188 2003-11-28 André Pönitz <poenitz@gmx.net>
193 * buffer.[Ch]: move LyXText member
195 2003-11-28 André Pönitz <poenitz@gmx.net>
197 * BufferView.[Ch]: make LyXText * text a private member
199 * BufferView_pimpl.C:
210 * output_plaintext.C: cleanup
212 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
215 * lyxtextclass.[Ch]: parametrize SGML document header
217 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
220 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
223 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
225 * text2.C (setFont): rework using PosIterator (no more recursive)
226 (setCharFont): no more needed
227 (setLayout): no more selection cursors fiddling (done by redoCursor)
228 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
229 destroy remaining ones)
231 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
233 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
235 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
238 * text3.C: adjust + re-allow multi par depth changes
239 * textcursor.C: simplify a bit
241 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
247 * src/output_docbook.C:
248 * src/output_latex.C:
253 * src/text2.C: Introducing a number of tags parametrizing various
254 XML formats that we may want to support
256 2003-11-25 André Pönitz <poenitz@gmx.net>
258 * InsetList.[Ch] (begein, end): inline as suggested by profiler
260 * lyxtext.h (leftMargin/rightMargin): simplify interface
267 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
269 * lyxfunc.C (dispatch): propogate the bibtex databases from the
270 master file to any child files. Fixes bug 546.
272 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
274 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
276 2003-11-24 André Pönitz <poenitz@gmx.net>
278 * rowpainter.C: simplification
280 * text2.C (updateCounters): remove call to redoParagraph on
281 changed labels as this is far too expensive.
283 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
285 * converter.C (convert): fix a crash: this function gets
286 called with buffer == 0 from importer code.
288 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
290 * text3.C (cursorPrevious): make sure that we do not compare
291 iterators form different containers.
294 * rowpainter.C (paintSelection): make sure that we do not compare
295 iterators from different containers.
297 * text3.C (dispatch): [PRIOR] make sure that we do not compare
298 iterators from different ParagraphList containers.
301 * text2.C (LyXText): change order of initialization slightly
302 (operator=): new function. copy all variables except cache_par_
303 (moveUp): make sure that we do not compare iterators from
304 different ParagraphList constainers.
307 * text.C (firstPar): new function
308 (lastPar): new function
309 (endPar): new function
311 * lyxtext.h: move things around and group public functions, public
312 variables, private functions, private variables
314 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
316 * factory.C: change call to InsetERT constructor to avoid
317 additional invocation of method status
318 * text2.C (toggleInset): remove redundant update() call
319 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
320 instead of a Bufferview pointer
322 2003-11-21 André Pönitz <poenitz@gmx.net>
324 * rowpainter.C: simplification
326 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
328 * text3.C (dispatch): make possible to extend a word/row selection
331 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
333 * lyxtext.h: x0_,y0_ -> xo_,yo_
334 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
335 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
336 * rowpainter.C (paintRows): paint full paragraphs
338 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
340 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
343 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
345 * lyxtext.h: add x0_, y0_
346 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
347 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
349 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
351 * text2.C (setCursorIntern): move the x_target update here *
352 * text3.C: change some bv() to true/false in calls to
353 cursorUp/Down/Right/Left
354 * cursor.C: use helper function.
356 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
358 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
359 * paragraph_funcs.[Ch]: correct comment
360 * rowpainter.C: do not paint selections away from bv->cursor()
361 Fix a long standing selection painting bug.
362 * text3.C: generalize mouse-selection code to LyXTexts other that
364 * textcursor.C: do not use y coords if we can use par offsets
366 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
368 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
369 cursor position after e.g. inset insert)
371 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
373 * lyxfind.C (replace): adjust to locking removal + some
376 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
378 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
381 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
384 * output_docbook.C: XML sanitation: new layout
385 parameters InnerTag and CommandDepth
387 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
389 * BufferView_pimpl.C:
391 * text3.C: Fix the insertion and modification of button-style
394 2003-11-13 André Pönitz <poenitz@gmx.net>
396 * InsetList.[Ch]: remove deleteLyXText
398 * paragraph.[Ch]: cache beginOfBody position
403 * text3.C: remove superfluous update() calls
407 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
409 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
410 * BufferView.C (fitLockedInsetCursor): remove
411 * cursor.[Ch] (getDim): add
412 * text.C (getRowNearY): add faster version
413 * text3.C: remove some update calls
415 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
427 * text3.C: The Character Style /XML short element patch.
429 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
432 * factory.C: Small step to solving 'unable to insert some insets'
435 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
437 * cursor.[Ch] (updatePos): new function for updating the y
438 position of the tip inset
439 * bufferview_funcs.C (put_selection_at):
440 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
442 2003-11-11 André Pönitz <poenitz@gmx.net>
444 * text.C: remove big comment on invalid Paragraph pointers as it is
447 2003-11-11 André Pönitz <poenitz@gmx.net>
449 * text_funcs.[Ch]: merge with ...
457 * Makefile.am: remove text_funcs.[Ch]
459 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
461 * cursor.C (getPos): return absolute cached y coord
463 * BufferView_pimpl.C (fitCursor): new simplistic code
464 (workAreaDispatch): add a fitCursor call
466 2003-11-10 André Pönitz <poenitz@gmx.net>
469 * BufferView_pimpl.[Ch]: merge update() and updateInset()
471 2003-11-10 André Pönitz <poenitz@gmx.net>
473 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
474 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
475 indicate that the cursor needs to leave an inset
477 * lyxtext.h: remove inset locking
479 * cursor.[Ch]: re-implement functionality provided by inset locking
482 * BufferView_pimpl.[Ch]:
484 * bufferview_funcs.[Ch]:
496 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
498 * PosIterator.[Ch]: replace the stack with a vector, add inset
500 * iterators.[C]: adjust
502 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
504 * lyxfind.C (replaceAll): mark the buffer dirty if something was
506 * paragraph_funcs.C (readParToken): put the correct id in the
507 error item, not the id of the top paragraph
509 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
511 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
512 * bufferview_funcs.C (put_selection_at): use the above
514 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
516 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
518 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * output_plaintext.h:
523 * output_docbook.h: add #include statements
525 2003-11-05 José Matos <jamatos@lyx.org>
527 * output_docbook.[Ch]:
529 * output_linuxdoc.[Ch]:
530 * output_plaintext.[Ch]: New files for output formats.
531 * output.[Ch]: New file for helper functions.
534 * paragraph_funcs.[Ch]: output functions moved to new files.
536 * outputparams.h: rename of latexrunparams.h
544 * paragraph_funcs.[Ch]:
545 * paragraph_pimpl.[Ch]:
546 * tabular.[Ch]: rename ascii to plaintext
547 and LatexRunParams to OutputParams.
549 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
551 * iterators.[Ch] (text): require bv argument
552 * undo.C (recordUndo):
553 * lyxfunc.C (dispatch):
554 * bufferview_funcs.C (put_selection_at): adjust
556 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
558 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
560 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
562 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
565 2003-11-04 André Pönitz <poenitz@gmx.net>
567 * cursor.[Ch]: restructure
570 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
572 * iterators.[Ch] (asCursor): remove
574 * lfuns.h: remove LFUN_INSET_EDIT
580 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
582 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
584 * lyxfind.[Ch]: complete overhaul
585 * BufferView_pimpl.C:
587 * paragraph.[Ch] (insert): add
589 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
593 * text.C: remove dead spellcheck code
595 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * dispatchresult.h: add a val setter
599 * cursor.C (dispatch): use a tempvar for data_[i]
601 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
603 * PosIterator.[Ch]: compile fix
605 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
607 * text.C (cursorPar): deactivate the cursor cache
609 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
611 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
613 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
615 * text3.C (dispatch): adjust for new DisptchResult semantics.
617 * lyxfunc.C (dispatch): handle update when return from
618 Cursor::dispatch, adjust for new DispatchResult semantics.
620 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
621 DispatchResult(true) mean to not update. Add class functions for
622 setting dispatched and update, as well as reading.
624 * cursor.C (dispatch): don't handle update here
626 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
628 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
629 * trans_mgr.C: adjust
631 * paragraph_funcs.C (readParToken): exception safety
633 * lyxvc.h: store the vcs pointer in a scoped_ptr
636 * lyxsocket.C (serverCallback): exception safety
638 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
640 * ispell.C (clone): make it return a auto_ptr
642 * factory.C (createInset): exception safety
643 (readInset): exception safety
645 * bufferlist.C (newBuffer): exception safety
647 * Thesaurus.C (Thesaurus): use initialization for aik_
649 * MenuBackend.C (expandToc): exception safety.
651 2003-11-03 André Pönitz <poenitz@gmx.net>
655 * bufferview_funcs.C: remove getInsetFromId()
658 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
664 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
666 * PosIterator.C (distance, advance): new
667 * bufferview_funcs.[Ch] (put_selection_at): new
668 * iterators.[Ch] (lockPath): new
670 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
672 * iterators.[Ch] (asPosIterator): added
673 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
674 * PosIterator.[Ch]: added
676 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
680 * cursor.C (dispatch):
681 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
683 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
684 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
685 contructor, add a class function dispatched. Remove operator>=
687 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
689 * debug.C: only use the default constructor for debugstream
692 * main.C (main): include debug.h and setup the lyxerr streambuf
695 2003-10-31 José Matos <jamatos@lyx.org>
697 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
699 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
700 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
701 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
702 * paragraph_pimpl.C (simpleTeXSpecialC):
703 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
704 add LatexRunParams argument.
706 * exporter.C (Export): change call accordingly.
708 * latexrunparams.h: add new member to take care of the other backends.
709 2003-10-30 José Matos <jamatos@lyx.org>
711 * buffer.C (makeLinuxDocFile, makeDocBookFile):
712 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
713 factorise code for paragraph output.
715 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
718 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
720 * text3.C (dispatch):
721 * lyxfunc.C (dispatch):
722 * cursor.C (dispatch):
723 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
725 * dispatchresult.h: make the dispatch_result_t ctor explicit
727 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
730 * buffer.C: small refactoring of docbook stuff
732 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
734 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
737 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
739 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
740 operator dispatch_result_t, and operators for == != and >=
742 * cursor.C (dispatch): adjust for operator dispatch_result_t
743 removal. comment out call to update
745 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
747 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
755 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
758 * dispatchresult.h: new file, DispatchResult broken out of
761 * Makefile.am (lyx_SOURCES): add dispatchresult.h
763 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
765 * text.C (rowBreakPoint): put a hack inside #if 0
767 2003-10-28 André Pönitz <poenitz@gmx.net>
774 * text2.C: general cleanup (lots of small stuff)
776 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
778 * text2.C (cursorEnd): simple fix to the "end key goes to one
779 before the end on last row" bug
781 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
783 * text.C (backspace): fix the "zombie characters"
785 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
787 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
789 2003-10-27 André Pönitz <poenitz@gmx.net>
791 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
793 * factory.C: handle new InsetPagebreak, InsetLine
795 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
796 and move handling into new InsetPagebreak, InsetLine
798 * BufferView_pimpl.C:
800 * ParagraphParameters.C:
813 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
822 * text3.C: remove lastPos uses in favour of Row::endpos
824 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
826 * undo.C (performUndoOrRedo): fix two crashes by setting a
827 cursor by hand and reordering some calls. Use bv->lockInset instead
828 of inset->edit because the latter loses cursor information
830 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
832 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
834 (rowBreakPoint): fix width. change point to point + 1.
837 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
840 * lyxfunc.C: fix (at least partly) the problems
841 with the Nav menu and headers inside branch insets
844 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
846 * paragraph.C (getChar): add strong asserts
848 * lyxrow_funcs.C (lastPos): remove hideous hack
850 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
851 (fill): adjust to that (avoid an infinite loop)
853 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
855 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
857 2003-10-23 André Pönitz <poenitz@gmx.net>
859 * RowList_fwd.h: change list<> to vector<> to gain speed
860 after suggestion from Alfredo
862 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
864 * lyxtext.h: move the bidi stuff from here...
867 * Bidi.[Ch]: ... to here
869 2003-10-23 André Pönitz <poenitz@gmx.net>
872 * text.C (isLastRow, isFirstRow): new functions
874 * paragraph.h: new width cache member
876 * rowpainter.C: replace RowList::iterator with Row & where possible
878 * lyxfunc.C: replace several view()->text with a single call
880 * toc.C: fix 'unused' warning
882 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
885 when woring with stream::pos_type
886 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
888 2003-10-22 André Pönitz <poenitz@gmx.net>
891 * text.C: use Row & instead of RowList::iterator
893 * lyxrow.h: rename end() to endpos()
899 2003-10-22 Angus Leeming <leeming@lyx.org>
901 * buffer.[Ch] (fully_loaded): new member function, returning true
902 only when the file has been loaded fully.
903 Used to prevent the premature generation of previews and by the
904 citation inset to prevent computation of the natbib-style label.
906 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
907 templates are all set up.
909 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
911 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
913 * text.C: fixed an "oops" in the "is a bit silly"
916 2003-10-21 André Pönitz <poenitz@gmx.net>
918 * FuncStatus.[Ch]: small stuff, whitespace
920 * lyxfont.[Ch]: operator<<() for debug reasons
924 * lyxtext.h: whitespace, spelling
926 * paragraph.C: naming of variables
929 * text2.C: small stuff
932 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
934 * text.C: (1) finish off the inset display() work;
935 (2) fix the "is a bit silly" bug (accessing char
938 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
940 * text.C: re-introduce display() for insets, fixing the
941 various bugs (stretch of line above, math inset
944 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * text.C (rightMargin): remove spurious semicolon
948 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
951 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
953 * text3.C: fix one crash due to wrong cursor def
955 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
957 * vc-backend.C (scanMaster): make the regex static
959 * LaTeX.C (scanAuxFile): make the regexs static
961 * text3.C (doInsertInset, dispatch, dispatch):
962 * text2.C (cursorUp, cursorDown):
963 * text.C (selectNextWordToSpellcheck):
964 * BufferView_pimpl.C (dispatch):
965 * lyxfunc.C (dispatch): localDispatch -> dispatch
967 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * lyxsocket.C: include <cerrno>
971 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * lyxfunc.C (dispatch): remove textcache stuff
975 * bufferlist.C (release): remove textcache stuff
978 * TextCache.C: delete file
979 * TextCache.h: delete file
981 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
983 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
984 delete of the bv_->text.
985 (resizeCurrentBuffer): remove texcache stuff
986 (workAreaResize): ditto
988 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
993 2003-10-16 André Pönitz <poenitz@gmx.net>
1000 * text3.C: speed up by storing y positions per paragraph plus per-row
1001 offset instead of having a 'full' y position in the row.
1003 2003-10-15 André Pönitz <poenitz@gmx.net>
1007 * undo.[Ch]: make undo aware of inner insets
1009 2003-10-14 Angus Leeming <leeming@lyx.org>
1011 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1012 static member functions LyX::ref() and LyX::cref.
1013 (lastfiles): new accessor functions for the new lastfiles_ member var.
1014 (addLyXView, views_): add a new LyXView to the list of views_.
1015 (updateInset): loop over all LyXViews to call their own updateInset
1016 member function, returning a pointer to the Buffer owning the inset.
1018 * BufferView_pimpl.C (loadLyXFile):
1019 * MenuBackend.C (expandLastfiles):
1020 * bufferlist.C (MenuWrite, QuitLyX):
1021 lastfiles is no longer a global variable.
1022 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1024 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1025 static function. Access through LyX::cref().emergencyCleanup().
1027 2003-10-14 André Pönitz <poenitz@gmx.net>
1029 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1031 * undo.[Ch]: restoring part of 'undo in insets'
1034 * undo_funcs.[Ch]: merge with undo.[Ch]
1036 * tabular.C: small cleansing stuff
1038 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1040 * paragraph_funcs.C (readParToken): report unknown insets as error
1041 boxes. Use the outer paragraph as location (also for unknown
1044 * factory.C (readInset): do not abort on reading an unknown inset.
1045 Eat it and return 0.
1047 2003-10-13 Angus Leeming <leeming@lyx.org>
1049 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1051 * lyxrc.C: displayTranslator is now a function,
1052 declared in GraphicsTypes.h.
1054 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1056 * format.C: new placeholder $$a to pass the socket address.
1058 * bufferlist.[Ch]: new function getBufferFromTmp.
1060 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1061 files in the temporary dir.
1063 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1065 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1067 * Makefile.am: add lyxsocket.[Ch].
1069 * lyx_main.C (error_handler): handle SIGPIPE.
1071 2003-10-13 André Pönitz <poenitz@gmx.net>
1073 * BufferView_pimpl.C:
1078 * undo_funcs.[Ch]: use paroffset_type instead of
1079 ParagraphList::iterators to prevent multiple conversion
1080 (and get a more robust interface)
1082 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1086 * text3.C (dispatch): ditto
1088 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1090 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1091 move the onlyfile, use onlyfile instead of foundfile in a couple
1094 * DepTable.C (update): flush the error stream a bit more
1096 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1098 * lyxserver.C (callback): adjust
1100 * lyxfunc.C (getStatus): add a missing brace in commented code
1101 (ensureBufferClean): reindent
1102 (dispatch): delete version taking a string
1104 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1106 * LaTeX.C (deplog): move found file handlig from here...
1107 (handleFoundFile): .. to new function here.
1108 (deplog): make sure to discover several files mentioned on the
1111 2003-10-10 André Pönitz <poenitz@gmx.net>
1118 * text3.C: fix some of the tabular crashes
1120 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1122 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1124 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1126 2003-10-09 André Pönitz <poenitz@gmx.net>
1128 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1131 * BufferView_pimpl.C:
1132 * bufferview_funcs.C:
1143 * undo_funcs.C: adjust
1145 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1147 * text2.C (incrementItemDepth): new function, use a backtracking
1148 algorithm to discover the correct item depth.
1149 (resetEnumCounterIfNeeded): new function, use a backtracking
1150 algorithm to discover if counter reset is needed.
1151 (setCounter): use them. Simplify a bit. Add different labels for
1152 different item depths for itemize.
1154 * paragraph.C (Paragraph): remove initialization of enumdepth
1157 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1158 enumerate and itemize. Change the type of itemdepth to signed char.
1160 2003-10-08 André Pönitz <poenitz@gmx.net>
1162 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1167 * tabular.[Ch]: fix crash after 'row-insert'
1169 2003-10-08 Angus Leeming <leeming@lyx.org>
1171 Fix doxygen warnings.
1173 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1174 Remove CutAndPaste:: prefix from header file declaration.
1176 * LColor.h (fill): remove LColor:: prefix from declaration.
1178 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1179 use lyx::depth_type rather than Paragraph::depth_type so that
1180 header file and .C file match.
1182 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1184 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1185 * aspell.C: \file aspell_local.C -> \file aspell.C
1186 * gettext.C: \file gettext.C -> \file src/gettext.C
1187 * gettext.h: \file gettext.h -> \file src/gettext.h
1188 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1189 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1190 * text.C: \file text.C -> \file src/text.C
1192 * toc.C: move comment so that doxygen is not confused.
1194 2003-10-07 Angus Leeming <leeming@lyx.org>
1196 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1198 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1201 * aspell_local.h: add forgotten std::string's.
1203 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1210 * text3.C: The Box patch. Fancybox support, minipage, parbox
1212 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1218 * ParagraphParameters.h:
1228 * lyxtextclasslist.h:
1231 * paragraph_pimpl.C:
1232 * textcursor.h: add <string> and other small fixes to make Lars'
1233 std::string patch compile with STLport.
1235 2003-10-06 Angus Leeming <leeming@lyx.org>
1237 * LColor.h: Add missing #include <string>.
1239 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1241 * All most all file in all subdirs: Make <string> be the prefered
1242 way of getting to std::string, add using declarations.
1244 2003-10-06 André Pönitz <poenitz@gmx.net>
1246 * metricsinfo.C: initialize LyXFont before changing attribute.
1247 (fixes the 'math in \emph is upright' bug)
1249 2003-10-06 André Pönitz <poenitz@gmx.net>
1251 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1253 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1256 * paragraph_pimpl.C: Small fixes to build using STLport
1258 2003-10-02 André Pönitz <poenitz@gmx.net>
1261 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1263 2003-10-01 André Pönitz <poenitz@gmx.net>
1265 * factory.C: assert early
1267 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * lyx_main.C: remove the global debug object
1271 * debug.h: adjust for new debugstream
1273 * debug.C: adjust for new debugstream and keep the global debug
1276 2003-09-22 Angus Leeming <leeming@lyx.org>
1278 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1279 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1280 an incomplete class LyXFont.
1282 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1284 * factory.C: bug fix in branches
1286 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * lyxfunc.C (processKeySym): adjust
1290 (dispatch): change arg name from ev to func, adjust
1291 (sendDispatchMessage): ditto
1293 * lyx_main.C (defaultKeyBindings): adjust keybindings
1294 (deadKeyBindings): ditto
1296 * kbsequence.C (addkey): return a FuncRequest
1298 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1300 * kbmap.C (bind): take a FuncRequest as arg, adjust
1303 (defkey): change to take a FuncRequest as arg, adjust
1304 (findbinding): take a FuncRequest as arg, adjust.
1306 * funcrequest.h (operator=): added
1308 * funcrequest.C (FuncRequest): default kb_action changed from
1309 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1311 * buffer.C (dispatch): simplify
1312 (dispatch): adjust to take a FuncRequest as arg, adjust
1314 * boost.C (assertion_failed): change assertion message slightly
1316 * ToolbarBackend.C (read): simplify
1318 * MenuBackend.C (binding): adjust call to findbinding, add a
1319 message if no binding is found.
1321 (expandToc): correct by adding a empty FuncRequest
1323 * LyXAction.C: include <boost/assert.hpp>
1324 (isPseudoAction): delete function
1325 (LookupFunc): change name to...
1326 (lookupFunc): this. change return type to FuncRequest.
1327 (getActionName): take kb_action as arg, simplify
1328 (funcHasFlag): add an assert, simplify.
1330 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1332 * toc.C (action): return a FuncRequest, simplify
1334 * lyxfunc.C (processKeySym): adjust
1335 (getStatus): delete version that takes an int.
1337 (dispatch): delete version that takes action as int
1339 (sendDispatchMessage): simplify and adjust
1341 * funcrequest.C (getArg): take unsigned int as arg
1343 * ToolbarBackend.C (read): adjust
1344 (add): delete version that takes func as a string.
1345 (getIton): take a FuncRequest as arg
1347 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1350 * MenuBackend.C (MenuItem): add a new construct that only takes a
1351 Kind, simplify the constructor use for submenus.
1353 (expandLastfiles): adjust
1354 (expandDocuments): adjust
1355 (expandFormats): adjust
1356 (expandFloatListInsert): adjust
1357 (expandFloatInsert): adjust
1358 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1360 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1361 Remove class variables lyx_pseudo_map and lyx_arg_map
1363 * LyXAction.C (searchActionArg): delete function
1364 (getPseudoAction): delete function
1365 (retrieveActionArg): delete function
1366 (LookupFunc): make it return kb_action, simplify.
1367 (getActionName): simplify
1369 * factory.C (createInset): fix new bug
1371 2003-09-19 Angus Leeming <leeming@lyx.org>
1373 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1374 masterFilename_ parameter in the include inset.
1376 * factory.C (createInset): changes due to the changes to InsetInclude.
1378 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1380 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1382 2003-09-18 Angus Leeming <leeming@lyx.org>
1385 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1386 Inset::fillWithBibKeys.
1387 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1389 2003-09-18 Angus Leeming <leeming@lyx.org>
1391 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1393 (ctor): pass and store a 'Buffer const &'
1394 (buffer): new member function.
1396 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1397 '*this' to the LaTeXFeatures ctor.
1399 2003-09-18 Angus Leeming <leeming@lyx.org>
1405 * text.C: rename EnumLColor as LColor_color.
1407 2003-09-18 Angus Leeming <leeming@lyx.org>
1409 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1410 remove #include "insets/insetbase.h" from cursor.h.
1412 2003-09-18 Angus Leeming <leeming@lyx.org>
1414 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1415 InsetOld_code to remove #include "inset.h".
1417 * iterators.C: add #include "insets/inset.h"
1419 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1421 * BufferView.C: remove more locking stuff that apparently doesn't
1422 do anything sensible.
1424 2003-09-16 André Pönitz <poenitz@gmx.net>
1427 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1430 2003-09-16 Angus Leeming <leeming@lyx.org>
1432 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1434 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1437 * paragraph.h: remove #include "lyxfont.h". Forward declare
1440 2003-09-16 Angus Leeming <leeming@lyx.org>
1442 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1443 of support/textutils.h.
1444 (isWord): move the contents of support/textutils.h's IsWordChar here.
1450 * text2.C: add #include "paragraph.h".
1453 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1455 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * LaTeX.C: use namespace alias for lyx::support::os
1463 2003-09-16 Angus Leeming <leeming@lyx.org>
1466 * bufferview_funcs.C:
1469 * paragraph_pimpl.C:
1471 * text.C: add #include "LColor.h".
1473 2003-09-16 Angus Leeming <leeming@lyx.org>
1475 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1476 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1478 Store the FontBits::color variable as an int rather than as an
1479 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1482 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1483 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1484 string calls together.
1486 * lyxrc.C: add #include "LColor.h".
1488 2003-09-15 Angus Leeming <leeming@lyx.org>
1490 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1493 2003-09-15 Angus Leeming <leeming@lyx.org>
1495 * LColor.h: add an EnumLColor wrapper for LColor::color.
1497 * lyxfont.[Ch] (color, setColor, realColor):
1498 * lyxtext.h, text.C (backgroundColor):
1499 pass EnumLColor args to/from the functions, rather than LColor::color
1503 * lyxtext.h: forward declare EnumLColor.
1505 * lyx_main.C: add #include "LColor.h".
1507 2003-09-15 Angus Leeming <leeming@lyx.org>
1509 * .cvsignore: add lyx-gtk.
1511 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1516 * ParagraphParameters.C
1520 * bufferview_funcs.C
1530 * vc-backend.C: remove usage of STRCONV
1532 2003-09-15 Angus Leeming <leeming@lyx.org>
1534 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1535 explicitly define the color passed to the painter.
1537 2003-09-15 Angus Leeming <leeming@lyx.org>
1539 * bufferparams.C (BufferParams): reorder member initializers to avoid
1542 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1544 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1545 * text.C (updateRowPositions): remove an unusual nop
1547 2003-09-12 André Pönitz <poenitz@gmx.net>
1549 * BufferView_pimpl.C:
1558 * Counters.[Ch]: finish the 'automatic counters' job
1560 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1562 * aspell.C: include <boost/assert.cpp> (compile fix)
1564 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1566 * boost.C (assertion_failed): use lyx::support::abort instead of
1569 2003-09-10 Angus Leeming <leeming@lyx.org>
1571 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1572 with their _fwd progeny.
1574 2003-09-09 Angus Leeming <leeming@lyx.org>
1576 134 files throughtout the source tree: replace 'using namespace abc;'
1577 directives with the appropriate 'using abc::xyz;' declarations.
1579 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1581 * boost.C (emergencyCleanup): moved here from LAssert.c
1582 (assertion_failed): new function, called by BOOST_ASSERT
1584 * several files: change Assert to BOOST_ASSERT
1586 2003-09-09 Angus Leeming <leeming@lyx.org>
1588 * buffer.[Ch]: Add an Impl class and move Buffer's member
1589 variables into it. As a result move several header files out of
1592 Add header files to lots of .C files all over the tree as a result.
1594 2003-09-09 Angus Leeming <leeming@lyx.org>
1596 * buffer.[Ch]: make Buffer's member variables private. Add
1599 Lots of changes all over the tree as a result.
1601 2003-09-08 Angus Leeming <leeming@lyx.org>
1603 * graph.C: #include <config.h>.
1605 2003-09-08 Angus Leeming <leeming@lyx.org>
1609 * BufferView_pimpl.C:
1638 * toc.C: remove redundant using directives.
1640 2003-09-07 Angus Leeming <leeming@lyx.org>
1642 * LaTeXFeatures.h: remove #include "support/types.h".
1643 * ToolbarBackend.h: remove #include <algorithm>.
1644 * changes.h: remove #include <ctime>.
1645 * debug.h: remove #include <iosfwd>.
1646 * graph.h: remove #include "support/std_string.h".
1647 * lyx_main.h: remove #include <csignal>.
1648 * lyxlex_pimpl.h: remove #include <fstream>.
1649 * sgml.h: remove #include <algorithm>, <utility>.
1650 * toc.h: remove #include "support/std_ostream.h".
1651 Add #include <iosfwd>.
1653 2003-09-07 Angus Leeming <leeming@lyx.org>
1655 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1657 * converter.h: forward declare LatexRunParams.
1658 * encoding.h: remove #include "lyxrc.h".
1659 * lyxtext.h: remove #include "LColor.h".
1660 * lyxtextclass.h: remove #include "support/types.h".
1661 * trans.h: remove #include "tex-accent.h".
1662 * trans_mgr.h: remove #include "tex-accent.h".
1663 * insets/inset.h: remove #include "support/types.h", <vector>.
1664 * insets/insetcollapsable.h: remove #include "LColor.h".
1665 * insets/insetinclude.h: remove #include "dimension.h".
1666 * insets/insetlatexaccent.h: remove #include "dimension.h".
1667 * insets/insetoptarg.h:: remove #include "insettext.h".
1668 * insets/insettext.h: remove #include "dimension.h",
1669 <boost/shared_ptr.hpp>
1671 * insets/renderers.h: add #include "dimension.h".
1672 * insets/updatableinset.h: add #include "support/types.h".
1674 * many .C files: Associated changes.
1676 2003-09-06 Angus Leeming <leeming@lyx.org>
1678 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1679 one, inside testInvariant.
1681 * PrinterParams.C: new file.
1682 * PrinterParams.[Ch]: move the function bodies out of line.
1684 2003-09-06 Angus Leeming <leeming@lyx.org>
1686 * ParagraphParameters.h: forward declare ParameterStruct rather than
1687 including its header file.
1688 (depth): moved out-of-line.
1690 2003-09-06 Angus Leeming <leeming@lyx.org>
1692 * BufferView_pimpl.h:
1695 * lyxfunc.h: forward declare LyXKeySym rather than
1696 #include "frontends/LyXKeySym.h".
1698 * BufferView_pimpl.C:
1701 * lyxfunc.C: associated changes.
1703 2003-09-06 Angus Leeming <leeming@lyx.org>
1705 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1706 As a result, can remove the #include "insets/inset.h" from BufferView.h
1708 2003-09-06 Angus Leeming <leeming@lyx.org>
1710 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1711 As a result, can remove the #include "insets/inset.h" from BufferView.h
1713 2003-09-06 Angus Leeming <leeming@lyx.org>
1719 * bufferview_funcs.C:
1720 * BufferView_pimpl.C:
1725 * ParagraphParameters.C:
1730 * frontends/controllers/ControlDocument.C:
1731 * insets/insetcaption.C: rearrange the #includes into some sort of
1734 * buffer.h: remove #includes ErrorList.h, undo.h
1736 2003-09-06 Angus Leeming <leeming@lyx.org>
1738 * support/types.h: add a 'depth_type' typedef, used to store the
1739 nesting depth of a paragraph.
1742 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1743 defining explicitly.
1746 * paragraph_funcs.h:
1747 * ParagraphParameters.h:
1748 * sgml.h: use lyx::depth_type rather than Paragraph or
1749 ParameterStruct's depth_type.
1752 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1755 * BufferView_pimpl.C:
1757 * ParagraphParameters.C:
1760 * bufferview_funcs.C:
1767 * frontends/LyXView.C:
1768 * frontends/controllers/ControlDocument.C:
1769 * frontends/controllers/ControlErrorList.C:
1770 * insets/insetbibitem.C:
1771 * insets/insetbranch.C:
1772 * insets/insetcaption.C:
1773 * insets/insetcollapsable.C:
1774 * insets/insetenv.C:
1775 * insets/insetert.C:
1776 * insets/insetfloat.C:
1777 * insets/insetfoot.C:
1778 * insets/insetfootlike.C:
1779 * insets/insetnewline.C:
1780 * insets/insetquotes.C:
1781 * insets/insettabular.C:
1782 * insets/insettext.C:
1783 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1785 * frontends/controllers/ControlChanges.C: #include "changes.h".
1787 2003-09-06 Angus Leeming <leeming@lyx.org>
1789 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1790 than #including paragraph.h.
1793 * RowList.h: deleted. Superfluous.
1803 * insets/insettext.h: use ParagraphList_fwd.h rather than
1806 * paragraph.h: don't forward declare ParagraphList.
1809 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1810 rather than ParagraphList.h. paragraph.h is still needed for the
1811 Paragraph::depth_type parameters.
1813 * textcursor.h: enable it to compile stand-alone in light of the
1816 * bufferview_funcs.C:
1828 * frontends/controllers/ControlParagraph.C:
1829 * frontends/controllers/ControlTabular.C:
1830 * insets/insetmarginal.C:
1831 * insets/insetminipage.C:
1832 * insets/insetnote.C:
1833 * insets/insetoptarg.C: add header files needed to compile again.
1835 2003-09-06 Angus Leeming <leeming@lyx.org>
1837 * RowList_fwd.h: new file, forward-declaring Row rather than
1838 #including lyxrow.h.
1843 * insets/insettext.h: use it instead of RowList.h
1845 * bufferview_funcs.C:
1852 * text3.C: #include "RowList.h".
1854 2003-09-05 Angus Leeming <leeming@lyx.org>
1856 * factory.C (createInset):
1857 * vspace.C (c-tor): replace sscanf call with an istringstream.
1858 * ispell.C: re-add missing HP/UX headers.
1859 * lyxserver.C: re-add missing os2 headers.
1861 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1870 * text3.C: re-add missing system headers, needed for 2.95.2.
1872 2003-09-05 Angus Leeming <leeming@lyx.org>
1874 Changes most place everywhere due to the removal of using directives
1875 from support/std_sstream.h.
1877 2003-09-05 Angus Leeming <leeming@lyx.org>
1879 Replace LString.h with support/std_string.h,
1880 Lsstream.h with support/std_sstream.h,
1881 support/LIstream.h with support/std_istream.h,
1882 support/LOstream.h with support/std_ostream.h.
1884 Changes resulting throughout the tree.
1886 2003-09-05 Angus Leeming <leeming@lyx.org>
1888 * sgml.h: ensure that the header file can be compiled stand-alone.
1889 * *.C: strip out redundant #includes. (320 in total.)
1891 2003-09-04 Angus Leeming <leeming@lyx.org>
1893 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1894 here (from getPackages).
1896 * debug.[Ch]: add a new EXTERNAL tag.
1898 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1900 * text2.C (cursorEnd): simplify
1902 (getColumnNearX): adjust
1904 * text.C (computeBidiTables): adjust
1907 * rowpainter.C (paintChars): adjust
1908 (paintSelection): adjust
1909 (paintChangeBar): adjust
1912 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1914 (numberOfSeparators): adjust
1916 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1922 * text3.C: Restricts the mouse click functionality
1923 of insets like bibtex, include, toc and floatlist to the visible
1924 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1925 up the dialogs. Cursor has to be in front of the inset (i.e.
1926 start of row) for this to function.
1928 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1930 * bufferview_funcs.C (currentState): output row information
1932 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1934 * bufferview_funcs.C (currentState): output paragraph position
1936 2003-09-04 Angus Leeming <leeming@lyx.org>
1938 * FloatList.h: move out #include "Floating.h".
1939 * LaTeX.h: move out #include "DepTable.h".
1940 * LyXAction.h: move out #include "funcrequest.h".
1941 * buffer.h: move out #include "author.h", "iterators.h".
1942 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1943 * lyx_main.h: move out #include "errorlist.h".
1944 * lyxfunc.h: move out #include "FuncStatus.h".
1945 * lyxtext: move out #include "lyxcursor.h".
1946 * paragraph_pimpl.h: move out #include "counters.h".
1948 2003-09-03 Angus Leeming <leeming@lyx.org>
1950 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1951 preamble_snippets list, enabling us to add snippets to the preamble
1952 only if the snippet was not there already.
1954 2003-09-04 Angus Leeming <leeming@lyx.org>
1956 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1958 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1963 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1965 * BranchList.C: point fix, earlier forgotten
1967 2003-09-02 Angus Leeming <leeming@lyx.org>
1969 * box.C (contains): renamed from 'contained' after a fantastic
1972 2003-09-02 John Levon <levon@movementarian.org>
1978 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1980 2003-09-02 John Levon <levon@movementarian.org>
1982 * text2.C: simplification of cursorEnd(), including partial
1985 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1987 * buffer.C (readFile): add a space
1989 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1991 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1993 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * buffer.C (readFile): new function, take a filename and a
1996 ParagraphList::iterator
1998 (readFile): adjust, make it private. don't use setStream, make
1999 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2000 always contain the filename.
2002 * BufferView.C (insertLyXFile): simplify and make it work for
2005 2003-08-30 John Levon <levon@movementarian.org>
2007 * Makefile.am: fix dist (from Kayvan)
2009 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2011 * most files: change to use const Buffer refs
2013 2003-08-27 André Pönitz <poenitz@gmx.net>
2015 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2016 on top of ownerPar().
2018 2003-08-27 John Levon <levon@movementarian.org>
2020 * funcrequest.C: properly initialise POD members
2022 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2024 * lyxtext.h (top_y): move top_y from here
2029 * BufferView_pimpl.[Ch]: to here
2030 * frontends/screen.C:
2031 * insets/insettabular.C:
2032 * insets/insettext.C: adjust
2033 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2035 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2038 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2040 2003-08-26 André Pönitz <poenitz@gmx.net>
2042 * paragraph_func.[Ch] (outerPar): new function
2045 * paragraph_funcs.C:
2046 * paragraph_funcs.h:
2047 * paragraph_pimpl.C:
2048 * text2.C: remove Inset::par_owner
2050 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2055 * text2.C: eliminates the needFullRow/display() stuff
2056 altogether, putting the logic in metrics/draw in the insets.
2058 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2060 * text2.C (redoParagraphInternal, redoParagraphs):
2061 * text.C (redoParagraph): add a call to updateRowPositions at the
2062 end of each 'metrics-like' call. Remove all others.
2063 (getRow): remove the 'y-computing' version.
2064 (getRowNearY): do not compute nor return the real y. Solve the
2065 'y < 0' problem and simplify.
2067 2003-08-22 Angus Leeming <leeming@lyx.org>
2069 * *.[Ch]: clean-up of licence and author blurbs.
2070 Also move config.h out of a few .h files and into a few .C files.
2072 2003-08-22 André Pönitz <poenitz@gmx.net>
2074 * lyxrow.[Ch]: add x_ and *fill_ members
2079 * text2.C: adjust/remove prepareToPrint() calls
2081 2003-08-22 André Pönitz <poenitz@gmx.net>
2083 * lyxrow.[Ch]: add end_ member
2085 * lyxrow_funcs.C: use LyXRow::end_
2087 * lyxtext.h (singleWidth): add LyXFont parameter
2090 * text2.C: adjust LyXText::singleWidth() calls
2092 * text.C (redoParagraph): simplify row breaking logic
2095 2003-08-19 André Pönitz <poenitz@gmx.net>
2097 * funcrequest.C: initialize button_ member
2100 * rowpainter.[Ch]: interface consolidation
2102 2003-08-18 André Pönitz <poenitz@gmx.net>
2105 * BufferView_pimpl.C:
2107 * paragraph_funcs.C:
2109 * text3.C: remove LyXScreen::draw() and fitCursor calls
2111 * BranchList.h: remove spurious semicolons
2113 * MenuBackend.C: fix branchlist related crash
2115 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2123 * bufferparams.[Ch]:
2127 * text3.C: implements the 'branch inset'
2128 idea. This allows the output of various versions of a document
2129 from a single source version, selectively outputing or suppressing
2130 output of parts of the text.
2131 This implementation contains a 'branch list editor' in a separate
2132 tab of the document settings dialog. Branches are user definable
2133 and have a "display colour" to distinguish them on-screen.
2135 ColorHandler was somewhat cleaned up.
2136 (1) make possible a dynamically growing LColor list by allowing
2137 the graphic context cache to grow along (vector);
2138 (2) eliminate an IMHO unnecessary step in colour allocation.
2140 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2142 * BufferView_pimpl.C: compile fix
2144 2003-08-15 André Pönitz <poenitz@gmx.net>
2146 * rowpainter.C: remove extra metrics calls
2148 * lyxtext.h: merge the two constructors into a single one,
2149 pass reference to owner's par list
2151 * BufferView_pimpl.C:
2155 2003-08-15 André Pönitz <poenitz@gmx.net>
2157 * lyxrow_funcs.[Ch]:
2160 * paragraph_funcs.C:
2165 * text_funcs.C: split LyXText::rowlist_ into individual
2166 Paragraph::rows_ chunks
2169 * BufferView_pimpl.[Ch]:
2172 * text3.C: remove toggleSelection()
2174 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2176 * bufferlist.C: beautify two alerts (shorter text of buttons)
2177 * buffer.C: Remove redundant ' ' from message
2179 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2180 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2181 rename VALIGN_CENTER to VALIGN_MIDDLE
2183 2003-08-11 André Pönitz <poenitz@gmx.net>
2185 * lyxtext.h (getPar):
2186 * text.C: new function
2188 2003-08-11 André Pönitz <poenitz@gmx.net>
2191 * tracer.[Ch]: remove unneeded files
2193 * InsetList.[Ch]: remove resizeInsetsLyXText()
2198 * text3.C: merge insertParagraphs() and appendParagraph()
2199 remove breakAgain(), update()
2201 * BufferView_pimpl.[Ch]:
2202 * bufferview_funcs.[Ch]:
2206 * tabular.C: adjust after text & InsetList changes.
2208 2003-08-08 André Pönitz <poenitz@gmx.net>
2210 * text.C (insertChar, backspace): replace rowlist fiddling
2211 with rebreak of full par
2214 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2215 checkParagraph, updateInset): removed
2217 2003-08-07 André Pönitz <poenitz@gmx.net>
2220 * text3.C: merge some LFUN handlers, remove dead code
2222 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2224 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2226 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2228 * text2.C (DEPM): fix part of bug 1255 and 1256
2230 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2232 * BufferView_pimpl.C (workAreaDispatch): change to use
2233 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2234 that are no mouse related.
2236 2003-08-05 André Pönitz <poenitz@gmx.net>
2239 * BufferView_pimpl.[Ch]:
2240 * bufferview_funcs.C:
2242 * text3.C: rip out "deep update"
2244 * textcursor.[Ch] (last_sel_cursor): remove unused member
2246 2003-08-04 André Pönitz <poenitz@gmx.net>
2249 * BufferView_pimpl.[Ch]:
2250 * ParagraphParameters.C:
2251 * bufferview_funcs.C:
2257 * text3.C: replace "complicated" BufferView::update(...) calls with
2260 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2262 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2264 * Makefile.am (lyx_SOURCES): add paper.h
2266 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2268 * Makefile.am: move things around so that both lyx-qt and
2269 lyx-xforms can be built (according to --with-frontend). Then lyx
2270 is a symbolic link to lyx-[firstfrontend]
2272 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2274 * Always use std::endl with lyxerr
2276 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2278 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2280 2003-08-01 André Pönitz <poenitz@gmx.net>
2283 * BufferView_pimpl.[Ch]:
2285 * text3.C: merge BufferView::repaint() and BufferView::update()
2287 2003-08-01 José Matos <jamatos@lyx.org>
2289 * buffer.[Ch]: file_format is no longer a buffer data element.
2291 2003-08-01 André Pönitz <poenitz@gmx.net>
2296 * text2.C: make redoParagraph more independent of current cursor
2298 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2300 * text2.C: remove unneeded members
2302 2003-07-30 André Pönitz <poenitz@gmx.net>
2304 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2306 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2307 create a single function...
2309 * paragraph_funcs.C (moveItem): ... here.
2312 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2314 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2316 * LColor.[Ch]: Add comment and greyedout logical colors.
2318 2003-07-30 André Pönitz <poenitz@gmx.net>
2320 * tabular.C: don't use Assert too heavily. This crashes where it
2323 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2325 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2326 is disabled (bug 1232)
2328 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2330 * factory.C: limited 'arg' scope
2332 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2334 * factory.C: fixed Note submenu issues
2336 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2338 * factory.C: submenu for Note/Comment/Greyedout
2340 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2343 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2345 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2348 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2349 greyedout. Patch provided by Jürgen Spitzmüller.
2351 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2353 * kbmap.C (read): fix error message when reading bind files
2355 2003-07-29 Angus Leeming <leeming@lyx.org>
2357 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2358 certainly does not do what it purports to do. I am doing it, and
2359 us, a favour by killing it.
2361 2003-07-28 José Matos <jamatos@lyx.org>
2363 * buffer.C (readBody, do_writeFile):
2364 * paragraph.C(readParagraph): \end_document replaces \the_end.
2366 2003-07-29 André Pönitz <poenitz@gmx.net>
2369 * BufferView_pimpl.[Ch]:
2373 * textcursor.[Ch]: remove toggleToggle & Co
2375 2003-07-28 José Matos <jamatos@fep.up.pt>
2377 * buffer.C (readParagraph):
2378 * params_func (readParToken, readParagraph):
2379 * paragraph.C (write): \layout -> \begin_layout.
2381 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2383 * lyxlex_pimpl.C (setFile): clean up slightly.
2385 * bufferparams.h: add compressed var
2387 * buffer_funcs.C (readFile): adjust for LyXLex change
2388 (newFile): ditto + simplify
2390 * buffer.C (writeFile): handle writing of compressed files
2392 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2393 Check if the file is compressed and set a bufferparm if so.
2395 * Makefile.am (lyx_LDADD): remove explicit -lz
2397 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2399 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2400 makeDocBookFile): put the real LyX version in the first line of
2404 * version.C.in: remove lyx_docversion
2406 * tabular.C (write_attribute): add a template-based version to
2407 write enums properly
2409 2003-07-28 André Pönitz <poenitz@gmx.net>
2414 * text3.C: use doubles again for x-coordinates. They are needed.
2416 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * messages.C (getLocaleDir): use lyx_localedir()
2420 * lyxlex_pimpl.C (setFile): compress stuff
2422 * buffer.C (writeFile): add some compression stuff
2423 (do_writeFile): new func, dont call expliti close... will this
2426 * Makefile.am (lyx_LDADD): add -lz
2428 2003-07-28 José Matos <jamatos@fep.up.pt>
2430 * buffer.C: increment file format.
2431 * paragraph_funcs (readParagraph, readParToken):
2432 * paragraph.C (readParagraph): add \end_layout.
2434 2003-07-27 Angus Leeming <leeming@lyx.org>
2436 * Makefile.am: remove special casing for configure-time setting of
2437 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2439 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2440 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2442 2003-07-26 André Pönitz <poenitz@gmx.net>
2444 * paragraph_func.[Ch]:
2445 * paragraph.C (realizeFont): inline it whereever it is used
2450 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2453 2003-07-26 André Pönitz <poenitz@gmx.net>
2457 * text2.C: get rid of LyXText::need_break_row
2459 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2461 * toc.[Ch]: put namespace toc inside namespace lyx
2463 * MenuBackend.C (expandToc2): adjust for lyx::toc
2466 * lyxfunc.C (dispatch): adjust for lyx::find
2468 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2469 lyx::find instead. Reorganize a bit.
2470 (LyXReplace): rename to replace
2471 (LyXFind): rename to find
2473 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2476 2003-07-26 André Pönitz <poenitz@gmx.net>
2478 * text.C (setHeightOfRow): restrict scope of temporary variable
2480 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2481 code (never has been used?)
2483 2003-07-27 Asger Alstrup <alstrup@local>
2485 * text.C (fill): Optimise algorithm to exploit that we can reuse
2486 the LyXFont for many characters.
2487 (setHeightOfRow): Same thing.
2488 (rowBreakPoint): Same thing.
2490 2003-07-26 Asger Alstrup <alstrup@local>
2492 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2494 * text.C (singleWidth): Spurious font copying in hot-spot
2495 singleWidth avoided. Reorder tests for arabic for efficiency.
2497 * text.C (fill): handle empty paragraphs better.
2499 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2502 * encoding.h: add includes
2504 * lyxrc.C: remove reading of bind files
2506 * lyx_main.C (init): setup bindings and menus only if we have a
2509 * kbmap.C (read): new method. Do the actual reading of bind
2512 * converter.C (dvipdfm_options):
2515 (output): adapt PAPER_* enums.
2517 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2519 * bufferparams.h: remove paper-related enums from there
2521 * paper.h: New file. A trivial header file to hold paper-related
2522 enums. It should later expand to contain many paper-related
2525 * lyxrc.C: declare extern displayTranslator
2527 2003-07-27 José Matos <jamatos@fep.up.pt>
2529 * tabular.[Ch] (linuxdoc): add support for tables and figures
2532 2003-07-27 José Matos <jamatos@fep.up.pt>
2534 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2535 consistency in both functions.
2536 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2538 2003-07-26 Asger Alstrup <alstrup@local>
2540 * rowpainter.C (paintRows): Change algorithm to work directly on
2541 the insets rather than asking every character in the document
2542 whether its an inset.
2544 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2546 * buffer.C (openFileWrite): factorize some code
2548 2003-07-26 Angus Leeming <leeming@lyx.org>
2551 * lyx_main.[Ch]: replace occurances of system_tempdir with
2554 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * rename Inset to InsetOld
2558 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2560 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2561 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2562 which I think is a bit clearer. EDIT is gone, since it was
2563 premature optimisation, and broken for mathed anyway.
2564 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2565 with cursor positioning in insets as well (math insets still do not
2566 work, but that's a different story anyway.) It mysteriously
2567 crashes sometimes with undo in the first paragraph, but I'm fairly
2568 confident that this is a compiler bug.
2570 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * paragraph.C (Paragraph): adjust for new clone return type
2574 (copyIntoMinibuffer): ditto
2576 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2578 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2579 by not having a special case, and always doing a full rebreak of
2580 the document after undo.
2582 2003-07-23 Angus Leeming <leeming@lyx.org>
2584 * factory.C (createInset): InsetExternal::setParams now takes a
2587 2003-07-23 Angus Leeming <leeming@lyx.org>
2589 * factory.C (createInset): changed interface to the external and
2590 graphics mailers' string2params functions.
2592 2003-07-23 Angus Leeming <leeming@lyx.org>
2594 * factory.C (createInset): pass a
2595 Buffer const * parameter to InsetExternalMailer's string2params.
2597 2003-07-22 John Levon <levon@movementarian.org>
2599 * Thesaurus.h: include the right aiksaurus header
2601 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2603 * MenuBackend.C (expand): check menu shortcuts unconditionally
2605 2003-07-21 Angus Leeming <leeming@lyx.org>
2607 * factory.C (createInset): pass a
2608 buffer_path parameter to InsetGraphicsMailer's string2params.
2610 2003-07-21 Angus Leeming <leeming@lyx.org>
2612 * BufferView_pimpl.C (buffer):
2615 * lyxfunc.C (dispatch):
2616 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2617 rather than the grfx shortcut.
2619 2003-07-21 André Pönitz <poenitz@gmx.net>
2621 * rowpainter.C: remove unused variables
2624 * tabular_funcs.h: move to tabular.C
2625 * Makefile.am: adjust
2627 * tabular.[Ch]: basic optical cleaning
2629 * author.h: pass references, not values
2631 2003-07-18 André Pönitz <poenitz@gmx.net>
2639 * text3.C: two-phase drawing for InsetText and InsetTabular
2640 some float -> int changes.
2642 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2644 * lyx_main.C: fix the fix
2646 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2648 * lyx_main.C: fix a crash in batch mode if no files specified
2651 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2653 * format.[Ch] (papersize): moved to BufferParams
2654 * converter.[Ch] (dvips_options): moved to BufferParams
2655 (dvipdfm_options): moved to anon namespace
2656 * bufferparams.[Ch]: added above functions.
2658 2003-07-17 André Pönitz <poenitz@gmx.net>
2662 * text2.C: don't call inset->update() anymore
2664 * metricsinfo.[Ch]: add convenience constructor
2666 2003-07-16 André Pönitz <poenitz@gmx.net>
2671 * text2.C: replace the LyXCursor::irow_ member with
2672 on-demand computation of the value
2674 2003-07-16 John Levon <levon@movementarian.org>
2676 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2678 2003-07-15 André Pönitz <poenitz@gmx.net>
2681 * text2.C: remove no more needed refresh_row
2683 2003-07-15 André Pönitz <poenitz@gmx.net>
2688 * text3.C: refresh_status tristate -> need_update bool
2690 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2692 * lyxtext.h (init): remove reinit argument (act as if always true)
2693 * text2.C: adjust to that
2695 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2697 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2698 * text3.C: use it to delete selections in some cases
2699 (bugs 441, 673, 702, 954).
2701 2003-07-14 André Pönitz <poenitz@gmx.net>
2703 * rowpainter.[Ch]: reduce interface
2705 2003-07-14 André Pönitz <poenitz@gmx.net>
2707 * BufferView_pimpl.C:
2708 * text2.C: adjust after removing unused BufferView * argument
2710 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2712 * text2.C (init): fix a crash fired on resize
2714 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2716 * buffer.[Ch]: added new closing signal
2717 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2718 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2719 BufferView::Pimpl via the closing the signal
2721 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2723 * buffer.[Ch]: take out all bv-related from buffer
2725 * BufferView_pimpl.[Ch]: connect to new signals
2726 * CutAndPaste.C: removed useless asserts
2727 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2730 * lyxfunc.C: moved view-related funciontality from vc here
2731 * paragraph.C: removed outdated comments
2734 2003-07-10 André Pönitz <poenitz@gmx.net>
2736 * BufferView_pimpl.C:
2740 * text2.C: remove InsetText::InnerCache, clean up consequences
2742 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2744 * ispell.C: fix two typos in error messages
2746 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2748 * Extend Note inset to other forms of annotation like Comment
2749 and Greyedout. Right button click gives dialog.
2751 Files modified or added (+):
2755 * ControlNote.[Ch] +
2757 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2758 frontends/controllers
2762 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2764 * aspell.C: add missing namespace lyx::support
2766 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2768 * BufferView.[Ch] (newFile): Add
2769 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2770 * LaTeX.[Ch] (message): added this signal and use it
2771 * buffer.[Ch] (busy, message): added these signals and use them
2772 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2776 * importer.C: use buffer signals instead of direct bv calling
2777 * lyx_cb.[Ch] (ShowMessage): removed
2780 * paragraph_funcs.C:
2781 * text2.C: use buffer signals
2783 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * introduce namespace lyx::graphics
2787 2003-07-02 André Pönitz <poenitz@gmx.net>
2789 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2791 2003-07-01 André Pönitz <poenitz@gmx.net>
2798 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2799 text*.C to text_func.C
2801 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * introduce namespace lyx::support
2805 2003-06-30 André Pönitz <poenitz@gmx.net>
2810 * text.C: re-enable --with-included-string
2812 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2814 * textcursor.C: add <config.h>
2816 * text.C (getWord): remove const from word_location arg
2818 * lyxvc.C (getLogFile): fix const type order
2820 * lyxtext.h: remove const from word_location arg, add arg name
2822 * lyxlayout.h: currect type on labeltype.
2824 * importer.C: correct \file
2826 * converter.C (intToFormat): use std:: on ret val, ws changes
2828 * bufferlist.h: correct \file
2830 * buffer.C (makeLinuxDocFile): fix const type order
2831 (makeDocBookFile): ditto
2832 (fillWithBibKeys): use std:: on stdlib args.
2834 * CutAndPaste.C: fix authors.
2835 (availableSelections): use std:: on return vector
2837 2003-06-27 André Pönitz <poenitz@gmx.net>
2839 * BufferView_pimpl.C:
2840 * bufferview_funcs.C:
2848 * text3.C: remove LyXCursor::row_ member
2851 * text.C: rename fullRebreak() to partialRebreak() and implement
2852 a fullRebreak() that really bereks fully
2854 * textcursor.h: new struct for cursor-related data
2856 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2858 * lyx_main.C (LyX): get full path of document loaded on the
2861 2003-06-26 André Pönitz <poenitz@gmx.net>
2863 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2864 remove unused/broken operator>,<,>=.
2866 * text.C: remove only use of broken operator<= in an Assert().
2868 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2870 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2871 moved errorlist_.clear to showErrorList
2873 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2875 * converter.C (scanLog, runLaTeX):
2876 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2877 move the bv->showErrorList call to the callers
2878 * lyxfunc.C: i.e. here...
2880 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2881 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2882 namespace, the second to...
2883 * buffer_funcs (BufferFormat, parseErrors): added
2884 * errorlist.C (ErrorList(TeXErrors const &)): removed
2886 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2888 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2890 2003-06-24 "Garst R. Reese" <reese@isn.net>
2894 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2896 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2898 * version.C.in: change docversion to 1.4
2900 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2902 * buffer.C: fix a bug just introduced
2904 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2906 * buffer.[Ch]: added the parseError signal and use it, removed
2908 * BufferView.[Ch] (addError): moved to ...
2909 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2910 to the Buffer::parseError signal to catch (guess what) parse errors
2911 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2913 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2915 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2916 ability to create a buffer and to return an existing one from
2917 the list. Moved these functions to...
2918 * buffer_funcs.[Ch]: added
2919 * BufferView.[Ch] (loadLyXFile): added
2920 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2921 job removed from bufferlist::loadLyXFile.
2922 * buffer.C (setReadOnly): make it work without view
2923 (i.e added an if (users))
2925 2003-06-19 Angus Leeming <leeming@lyx.org>
2928 * LyXAction.C (init):
2929 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2930 with LFUN_DIALOG_SHOW <name> <data>.
2932 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2934 * CutAndPaste.C (availableSelections): small compilation fix for
2935 ancient (gcc 2.9x) compilers
2937 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * text3.C (cursorNext): add tmp var
2941 * text2.C (updateCounters): for function calling out of for clause
2942 (replaceSelectionWithString): ditto
2943 (insertStringAsParagraphs): ditto
2944 (getColumnNearX): add tmp var
2945 (setCursorFromCoordinates): add tmp var
2946 (cursorDownParagraph): add tmp var
2947 (deleteEmptyParagraphMechanism): add tmp var
2949 * text.C (insertChar): add tmp var
2951 * rowpainter.C (paintDepthBar): add tmp var
2953 * CutAndPaste.C (availableSelections): potentially check all
2954 paragraphs in a cut to fill the shown strings.
2956 2003-06-18 André Pönitz <poenitz@gmx.net>
2958 * kbmap.[Ch]: use vector<> instead of list<>
2960 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2962 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2963 pasteSelection with index
2965 * text2.C (pasteSelection): modify, call pasteSelection with index
2967 * paragraph.C (asString): reimplement version with no interval to
2968 call the one with interval.
2970 * lyxtext.h: add index arg to pasteSelection
2972 * MenuBackend.C (MenuItem): handle PasteRecent
2973 (Menu::read::Menutags): add md_pasterecent
2975 (expandPasteRecent): new function
2978 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2980 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2982 (availableSelections): new function
2984 2003-06-17 Angus Leeming <leeming@lyx.org>
2986 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2988 2003-06-17 Angus Leeming <leeming@lyx.org>
2991 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2993 * lyxfunc.C (dispatch): invoke it.
2995 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2997 * iterators.C (operator++, ParPosition): reintroduce some
2998 const_cast for the benefit of older compilers.
3000 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3002 * text3.C (dispatch): do not modify clipboard when doing
3003 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3004 LFUN_DELETE_SKIP on a selection selection
3006 2003-06-16 André Pönitz <poenitz@gmx.net>
3012 * tabular.[Ch]: IU of clone() and getLabelList();
3014 2003-06-13 André Pönitz <poenitz@gmx.net>
3016 * tabular.h: compactification
3018 2003-06-12 André Pönitz <poenitz@gmx.net>
3022 * tabular_funcs.h: some renaming plus whitespace
3024 2003-06-12 André Pönitz <poenitz@gmx.net>
3027 * BufferView_pimpl.C:
3033 * toc.C: Return a Paragraph & for ParIterator::operator*()
3035 2003-06-11 John Levon <levon@movementarian.org>
3039 * ToolbarBackend.C: add "Toolbars" section and
3042 2003-06-10 Angus Leeming <leeming@lyx.org>
3045 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3047 * lyxfunc.C (dispatch): invoke it.
3049 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * main.C: protect <ios> with HAVE_IOS
3052 (main): protect sync_with_stdio with HAVE_IOS
3054 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3056 * text2.C (cutSelection): adjust
3057 (pasteSelection): adjust
3059 * messages.C: handle get of empty string
3061 * main.C (main): use sync_with_stdio(false)
3063 * lyxfunc.C (dispatch): adjust
3065 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3066 (WriteAs): remove unneeded BufferView arg.
3068 * bufferparams.h: use correct types on papersize, papersize2 and
3071 * bufferparams.C (readToken): adjust for type
3072 (writeLaTeX): add missing cases to switch.
3074 * bufferlist.C (quitWriteBuffer): adjust
3077 * buffer.C (asciiParagraph): remove some commented code.
3079 * CutAndPaste.C: remove current_view extern variable.
3080 (cutSelection): add BufferParams arg.
3081 (eraseSelection): add BufferParams arg.
3082 (pasteSelection): add Buffer const & arg
3084 2003-06-07 John Levon <levon@movementarian.org>
3087 * paragraph_funcs.C:
3088 * paragraph_pimpl.C:
3092 * paragraph.C: allow InsetERT to freely space lines,
3093 and some consolidation of code
3095 2003-06-06 José Matos <jamatos@fep.up.pt>
3097 * buffer.C (makeDocBookFile): fix bug #821
3099 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3101 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3103 2003-06-04 Angus Leeming <leeming@lyx.org>
3105 * buffer.C: bump format to 224.
3107 2003-06-05 André Pönitz <poenitz@gmx.net>
3109 * text2.C (redoParagraphs): remove two const_cast<>
3111 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3113 * ParagraphList.h: remove last remnants of NO_STD_LIST
3115 2003-06-03 Angus Leeming <leeming@lyx.org>
3117 * factory.C (createInset): small change to the way InsetExternal's params
3120 2003-06-04 André Pönitz <poenitz@gmx.net>
3122 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3124 * paragraph_pimpl.h:
3125 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3127 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3129 * undo_funcs.C: make some simple cases of undo work again
3131 2003-06-03 John Levon <levon@movementarian.org>
3133 * ispell.C: HPUX doesn't have sys/select.h
3136 2003-06-03 John Levon <levon@movementarian.org>
3138 * CutAndPaste.C: update tabular and include inset
3143 * paragraph.C: remove owningBuffer(), don't pass Buffer
3146 * factory.C: insetGraphicsParams changed
3148 2003-06-02 John Levon <levon@movementarian.org>
3154 * text3.C: remove insetparent
3156 2003-06-02 John Levon <levon@movementarian.org>
3159 * buffer.C: fix inset_iterator.end(), move out of line
3162 2003-06-01 John Levon <levon@movementarian.org>
3164 * text3.C: use a proper cut/paste when doing inset
3165 insert (from Jürgen Spitzmüller)
3167 2003-06-01 John Levon <levon@movementarian.org>
3169 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3171 2003-05-30 André Pönitz <poenitz@gmx.net>
3173 * rowpainter.C: unify second drawing phase
3175 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * trans_mgr.C: remove one case of current_view
3179 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3181 * paragraph_funcs.h: remove paragraph.h include
3183 * paragraph.h: delete NO_STD_LIST stuff
3185 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3187 * buffer.h: remove paragraph.h include
3189 * ParagraphList.C: delete file
3191 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3193 * toc.C (getTocList): adjust
3195 * paragraph_pimpl.C (validate): adjust
3197 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3199 * paragraph.C (Paragraph): adjust
3200 (getPositionOfInset): use const_iterator, adjust
3201 (bibitem): use const_iterator, adjust
3202 (setInsetOwner): adjust
3204 * iterators.C (operator++): adjust
3206 * InsetList.[Ch]: Replace selfmade iterator with standard
3207 vector::iterator also introduce const_iterator. Remove getPos,
3208 getInset and setInset from InsetTable. Adjust accordingly.
3210 * BufferView.C (lockInset): adjust
3211 (ChangeInsets): adjust
3213 * tabular.[Ch]: delete commented same_id functions
3215 2003-05-28 John Levon <levon@movementarian.org>
3217 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3219 2003-05-28 André Pönitz <poenitz@gmx.net>
3221 * metricsinfo.[Ch]: remove 'fullredraw' member
3223 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3225 * lyxtextclass.C (operator): remove caching.
3227 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3231 * text2.C (cursorBottom): adjust
3232 (setCounter): use ParagraphList::find, adjust
3234 * text.C (workWidth): use ParagraphList::find, adjust
3236 * lyxcursor.C (LyXCursor): adjust
3238 * buffer.C (inset_iterator): adjust
3240 * ParagraphList.h: make iterator(value_type) private, make
3241 ParagraphList a friend of iterator.
3243 * ParagraphList.C (find): new function
3245 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3247 2003-05-27 André Pönitz <poenitz@gmx.net>
3249 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3251 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3253 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3255 2003-05-26 John Levon <levon@movementarian.org>
3257 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3259 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * remove same_id from function signatures, adjust.
3263 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3267 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3269 * paragraph.C (Paragraph): get rid of same_ids parameter
3271 * ParagraphList.C (insert): adjust
3274 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * paragraph_funcs.C (breakParagraph): adjust
3277 (breakParagraphConservative): adjust
3279 * buffer.C (readParagraph): adjust
3281 * ParagraphList.C (insert): take a reference instead of a pointer
3284 * paragraph.[Ch] (id): new function
3286 * bufferlist.C (newFile): adjust
3288 * ParagraphList.C (ParagraphList): adjust
3290 (push_back): take a reference instead of a pointer.
3292 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3294 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3297 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3298 set else use old code.
3300 * ParagraphList.C: remove all NO_NEXT code and only compile this
3301 code of NO_STD_LIST is set.
3303 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3305 * BufferView_pimpl.C:
3315 * graphics/GraphicsConverter.C:
3316 * graphics/PreviewLoader.C: header adjustment
3318 2003-05-23 Angus Leeming <leeming@lyx.org>
3320 * LaTeXFeatures.[Ch] (useBabel): new method.
3321 * bufferparams.C (writeLaTeX): use it.
3323 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * ParagraphList.h (set): remove unused function.
3327 2003-05-23 André Pönitz <poenitz@gmx.net>
3330 * BufferView_pimpl.C:
3334 * undo_funcs.C: setUndo reworked
3336 * iterators.[Ch]: add access to topmost ParagraphList
3338 * lyxtext.[Ch] (workWidth): add a const
3340 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3342 * texrow.[Ch] (increasePos): remove function
3343 * exporter.C (export): removed unused var and outdated comment
3345 2003-05-23 Angus Leeming <leeming@lyx.org>
3347 * latexrunparams.h: rename fragile as moving_arg.
3348 * paragraph.C (simpleTeXOnePar): ditto.
3349 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3351 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3355 (textUndoOrRedo): comment out a currently unused var.
3357 * paragraph.h (NO_NEXT): enable NO_NEXT
3359 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3361 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3363 * exporter.C (Export): adjust for removeAutoInsets removal.
3365 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3367 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3369 * BufferView.[Ch] (removeAutoInsets): delete function
3371 2003-05-22 Angus Leeming <leeming@lyx.org>
3373 * latexrunparams.h: add a free_spacing variable.
3375 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3376 to pass moving_arg, as the data is stored in runparams.fragile.
3378 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3379 to Inset::latexOptional or to simpleTeXOnePar.
3381 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3382 free_spacing arg to Inset::latexOptional.
3384 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3387 2003-05-22 Angus Leeming <leeming@lyx.org>
3389 * latexrunparams.h: add fragile and use_babel variables.
3391 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3392 * buffer.C (makeLaTeXFile): store this returned value in
3393 runparams.use_babel, thus passing it to the inset::latex methods.
3395 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3396 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3398 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3399 longer has a fragile arg, as it is stored in runparams.fragile.
3401 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3402 moving_arg parameter as the data is stored in runparams.fragile.
3404 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3405 a fragile parameter as the data is stored in runparams.fragile.
3407 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3409 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3411 2003-05-22 Angus Leeming <leeming@lyx.org>
3413 * latexrunparams.h: add a 'bool nice' which defaults to false.
3415 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3416 now encapsulated within runparams.
3418 * bufferlist.C (updateIncludedTeXfiles):
3419 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3421 2003-05-22 Angus Leeming <leeming@lyx.org>
3423 * latexrunparams.h: new file containing struct LatexRunParams.
3424 * Makefile.am: add new file.
3426 * LaTeX.[Ch] (c-tor, run):
3427 * buffer.[Ch] (makeLaTeXFile):
3428 * bufferlist.[Ch] (updateIncludedTeXfiles):
3429 * converter.C (convert, scanLog):
3430 * converter.[Ch] (runLaTeX):
3431 * exporter.C (Export):
3432 * paragraph.[Ch] (simpleTeXOnePar):
3433 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3434 * paragraph_funcs.[Ch] (latexParagraphs):
3435 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3436 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3437 pass around a LatexRunParams parameter.
3439 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * paragraph.[Ch]: remove unused constructor
3443 * ParagraphList.C (erase): new function, taking two iterators
3445 2003-05-22 André Pönitz <poenitz@gmx.net>
3447 * undo_funcs.C: remove duplicated code
3449 * iterator.[Ch]: operator=
3451 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * tabular.C (SetMultiColumn): ws changes
3455 * rowpainter.C (paintFirst): get rid of a ->previous
3457 * lyx_cb.C (getPossibleLabel): parlist simplification
3459 * BufferView.C (ChangeInsets): simplify slightly.
3461 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3463 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3464 * lfuns.h: new LFUN_SPACE
3465 * lyxfunc.C: protected space has a new lfun
3466 * paragraph_funcs.C: read new space insets
3468 * factory.C: handle new space insets
3470 2003-05-22 André Pönitz <poenitz@gmx.net>
3473 * BufferView_pimpl.C:
3476 * undo_funcs.C: return a ParIterator from getParFromID.
3478 * iterators.[Ch]: add two const's
3480 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * toc.C (getTocList): adjust
3484 * iterators.[Ch]: rework for parlist
3486 * buffer.C (par_iterator_begin): adjust
3487 (par_iterator_end): adjust
3489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3491 * BufferView.C (removeAutoInsets): adjust
3492 (ChangeInsets): adjust
3494 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3496 * text.C (top_y): fix bug 1110
3498 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3500 * errorlist.[Ch]: added
3503 * BufferView_pimpl.C:
3504 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3507 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * Makefile.am: ensure that lyx is relinked upon changes to the
3510 various "convenience" libs.
3512 2003-05-20 Angus Leeming <leeming@lyx.org>
3514 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3515 files are compiled in alphabetical order again.
3517 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3519 2003-05-19 Angus Leeming <leeming@lyx.org>
3521 * gettext.[Ch]: remove "char const * _(char const *)".
3523 2003-05-19 André Pönitz <poenitz@gmx.net>
3525 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3534 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3536 2003-05-19 André Pönitz <poenitz@gmx.net>
3540 * lyxtextclass.[Ch]:
3542 * paragraph_funcs.[Ch]:
3544 * text3.C: more insetenv work
3546 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3548 * ParagraphParameters.C (params2string): small bug fixed
3550 2003-05-16 André Pönitz <poenitz@gmx.net>
3553 * bufferview_funcs.C: patch from Kornel Benko to prevent
3554 crash when _(...) is called twice in a statement
3556 2003-05-16 André Pönitz <poenitz@gmx.net>
3563 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3565 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3567 * lyx_main.C (init): remove spurious static_cast
3569 2003-05-14 André Pönitz <poenitz@gmx.net>
3571 * BufferView.C: fix format string
3573 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3575 * BufferView.[Ch] (insertErrors): removed
3576 * BufferView.[Ch] (showErrorList): added
3577 * buffer.C (runChkTeX):
3578 * converter.C (scanLog): call showErrorList instead of inserterrors
3580 2003-05-13 André Pönitz <poenitz@gmx.net>
3582 * BufferView_pimpl.C:
3584 * bufferview_func.C:
3591 * tabular_funcs.h: tostr() from its own header
3593 * ParagraphParameters.C:
3598 * text3.C: STRCONV()
3600 2003-05-12 André Pönitz <poenitz@gmx.net>
3603 * BufferView_pimpl.C:
3607 * ParagraphParameters.C:
3611 * bufferview_funcs.C:
3624 * paragraph_funcs.C:
3628 * text3.C: boost::format -> bformat all over the place
3631 2003-05-09 André Pönitz <poenitz@gmx.net>
3633 * LColor.[Ch]: Pimpl the #include <map> away
3635 2003-05-09 John Levon <levon@movementarian.org>
3637 * bufferlist.C: never remove emergency saves
3639 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * Makefile.am: better lib building
3643 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3645 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3647 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3648 (simpleTeXSpecialChars): adjust
3649 (simpleTeXSpecialChars): adjust
3650 * paragraph.C (simpleTeXOnePar): adjust
3651 * buffer.C (makeLaTeXFile): adjust
3653 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3655 * text2.C (changeDepth): parlist cleanup
3656 (getColumnNearX): ditto
3658 * rowpainter.C (getLabelFont): parlist cleanup
3660 * bufferlist.C (newFile): parlist cleanup
3662 * CutAndPaste.C (eraseSelection): parlist cleanup
3664 * BufferView_pimpl.C (trackChanges): parlist cleanup
3667 * BufferView.C (lockInset): parlist cleanup.
3668 (ChangeInsets): ditto
3670 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * CutAndPaste.h: Update file header.
3674 * CutAndPaste.C: Update file header.
3675 Store the parts cut out of the Document in a limited_stack.
3676 (copySelection): adjust
3677 (pasteSelection): new function, takes the index in the limited stack.
3678 (nrOfParagraphs): adjust
3679 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3680 simplify error inset insertion.
3681 (checkPastePossible): adjust
3683 2003-05-06 John Levon <levon@movementarian.org>
3685 * text2.C: don't cast wrap inset to float
3687 2003-05-05 André Pönitz <poenitz@gmx.net>
3690 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3692 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3693 few naked Paragraph *.
3695 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3697 * bufferparams.C: Output warning if a document with missing
3698 TeX document class is loaded
3699 * exporter.C: Disable TeX exports if the document class is missing
3702 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3703 isTeXClassAvailable()
3705 2003-05-03 John Levon <levon@movementarian.org>
3708 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3709 explicit cursor show/hide
3711 * BufferView_pimpl.h:
3712 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3713 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3715 * lyxfunc.C: hide cursor before dispatching.
3720 * text3.C: remove explicit cursor hides
3722 2003-05-02 André Pönitz <poenitz@gmx.net>
3724 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3727 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3730 * text2.C: tiny whitespace
3732 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * undo_funcs.C: almost only ws changes.
3736 * ParagraphList.C (splice): just return if pl is empty.
3738 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * ParagraphList.C (splice): new function.
3742 * CutAndPaste.C (pasteSelection): use it
3744 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * CutAndPaste.C (pasteSelection): remove the last next and
3747 previous from this file.
3749 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * CutAndPaste.C (pasteSelection): more clean up, user proper
3752 ParagraphList functions for pasteing.
3754 * ParagraphList.C (insert): new function, three arg insert
3756 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3758 * ParagraphList.C (insert): new function, three arg insert
3760 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3763 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3767 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3771 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3774 (copySelection): clean up a bit.
3775 (pasteSelection): use make_pair
3777 * ParagraphList.C (ParagraphList): implement copy constructor
3778 (operator=): implement, base on copy constructor.
3781 * paragraph.C (erase): return a bool
3783 * paragraph_pimpl.C (erasePos): remove function, move contents...
3784 (erase): ... here. Return a bool.
3785 (erase): call erase instead of erasePos.
3787 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3789 * ParagraphList.h: define PitPosPair
3790 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3791 ParagraphList, fix a bug on pasting multiple pars
3792 * text2.C: change interface to C&P
3794 2003-04-30 André Pönitz <poenitz@gmx.net>
3796 * undo_func.C: revert part of yesterday's patch 2
3798 2003-04-30 John Levon <levon@movementarian.org>
3800 * LColor.C: s/tabular/table/
3802 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * text3.C (dispatch): do not convert iterator -> pointer
3805 * undo_funcs.C (setCursorParUndo): ditto
3806 * text_funcs.C (transposeChars): ditto
3808 * text2.C (setLayout): ws changes only
3810 * text.C (breakParagraph): do not convert iterator -> pointer
3812 (acceptChange): ditto
3813 (rejectChange): ditto
3818 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3821 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3823 * text3.C (gotoInset): YABG (yet another bad getChar)
3825 2003-04-29 André Pönitz <poenitz@gmx.net>
3827 * paragraph.h: make operator= private unimplemented as long as
3830 * ParagraphList.C: whitespace
3833 * paragraph_pimpl.[Ch]:
3834 * paragraph_funcs.C:
3836 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3839 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3841 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3843 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3844 * paragraph.[Ch] (erase):
3845 * paragraph_pimpl.[Ch] (erase): change return type and value
3846 * text2.C (cutSelection): some rework
3848 2003-04-28 John Levon <levon@movementarian.org>
3850 * bufferlist.C: changes for unsaved changes dialog
3852 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * bufferlist.C (newFile): set language (messages_) for new
3857 * buffer.C (readFile): ws changes only.
3859 2003-04-28 André Pönitz <poenitz@gmx.net>
3864 * BufferView_pimpl.C:
3865 * BufferView.C: getParFromID related ParagraphList::iterator changes
3867 2003-04-28 André Pönitz <poenitz@gmx.net>
3869 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3872 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * messages.C: remove one more localedir class variable.
3876 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * messages.C (getLocaleDir): singleton generation function
3880 (Messages): add a default constructor.
3882 * main.C (main): do not setup localedir here, do not call
3885 * gettext.C (_): use it.
3886 (gettext_init): delete funciton
3888 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3890 * gettext.C (getLyXMessages): new singleton generating function.
3892 * buffer.C (updateDocLang): adjust
3894 * Makefile.am (messages.o): add target
3895 (main.o): remove target
3897 2003-04-27 John Levon <levon@movementarian.org>
3902 * lyxvc.C: specify cancel button in Alert::prompt
3904 2003-04-26 John Levon <levon@movementarian.org>
3909 * LyXAction.C: add LFUN_INSET_SETTINGS
3911 * lyxfunc.C: don't enable tabular-feature when there's
3912 just any locking inset
3914 2003-04-26 John Levon <levon@movementarian.org>
3916 * bufferlist.C: re-add Cancel to buffer close question
3918 * lyxfunc.C: fix import UI a bit
3920 2003-04-25 John Levon <levon@movementarian.org>
3922 * gettext.C: remove the broken asserts for now
3924 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * messages.C: make case where setlocale cannot comply work better.
3928 * buffer.C (updateDocLang): new function
3929 (changeLanguage): use it
3932 * text2.C (setCounter): use B_ a bit.
3934 * lyxlayout.C (Read): be sure to trim the label strings.
3936 * messages.C (Messages): fix typo in comment
3938 * buffer.C (readFile): set message_ after file is loaded.
3939 (makeDocBookFile): remove double return
3940 (changeLanguage): reset message_ upon language change.
3941 (B_): new func, use this to get translated buffer strings.
3943 * main.C: add myself and Jean Marc as authors.
3945 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * messages.[hC]: pimplify Messages, and three different pimpls to be
3948 used in different circumstances.
3950 * gettext.[Ch]: change for use with new message code.
3952 2003-04-24 André Pönitz <poenitz@gmx.net>
3954 * factory.C: support for eqref
3956 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * messages.[Ch]: add missing char
3960 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3962 * messages.[Ch]: New files
3964 2003-04-18 John Levon <levon@movementarian.org>
3968 * BufferView_pimpl.C:
3972 * text2.C: remove layout-copy/paste (bug 778)
3974 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3976 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3978 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3980 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3981 if they succeed. Act accordingly.
3983 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * text2.C (setCharFont): adjust
3986 (setCounter): adjust
3987 (insertStringAsLines): adjust
3989 * text.C (leftMargin): adjust
3990 (setHeightOfRow): adjust
3992 * rowpainter.C (paintFirst): adjust
3995 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3997 (isFirstInSequence): ditto
3998 (getEndLabel): ditto
4001 * paragraph.C (getParLanguage): comment out some hard stuff.
4003 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4005 (simpleDocBookOnePar): ditto
4006 (makeDocBookFile): use ParagraphList::iterator
4008 * CutAndPaste.C (pasteSelection): adjust
4010 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * text2.C (getFont): adjust
4013 (getLayoutFont): adjust
4014 (getLabelFont): adjust
4016 * paragraph_funcs.C (TeXOnePar): adjust
4018 * buffer.C (simpleLinuxDocOnePar): adjust
4019 (simpleDocBookOnePar): adjust
4021 * CutAndPaste.C (pasteSelection): adjust
4023 * BufferView.C (getEncoding): adjust
4025 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4027 2003-04-16 John Levon <levon@movementarian.org>
4029 * lyxfind.C: use parlist stuff for search/changes
4031 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4035 * text2.C (deleteEmptyParagraphMechanism): adjust
4037 * text2.[Ch] (ownerParagraph): delete func (both of them
4039 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4043 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * ParagraphList.C: prepare for NO_NEXT
4047 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4049 * text2.C (getFont): adjust
4050 (getLayoutFont): adjust
4051 (getLabelFont): adjust
4053 * paragraph.C (getFont): adjust
4054 (getLabelFont): adjust
4055 (getLayoutFont): adjust
4057 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4059 2003-04-15 John Levon <levon@movementarian.org>
4063 * lyx_main.C: handle Include in .ui files
4065 2003-04-15 John Levon <levon@movementarian.org>
4067 * MenuBackend.C: make the doc files length shorter
4070 * ToolbarBackend.C: handle toolbar placement flags,
4073 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4078 * paragraph_funcs.C (TeXOnePar): adjust
4080 * paragraph.C (getLabelFont): add outerfont arg, adjust
4081 (getLayoutFont): ditto
4082 (simpleTeXOnePar): adjust
4084 * paragraph_pimpl.C (realizeFont): delete func
4086 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4088 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4089 row argument, constify cur argument.
4091 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * text2.C (getFont): adjust
4094 (getLayoutFont): adjust
4095 (getLabelFont): adjust
4097 * paragraph_funcs.C (TeXOnePar): adjust
4098 (outerFont): new func...
4099 (realizeFont): ...moved out from here, changed this to facilitate
4102 * paragraph.C (getFont): take outerfont as arg, adjust
4103 (simpleTeXOnePar): add outerfont arg, adjust
4105 * buffer.C (simpleLinuxDocOnePar): adjust
4106 (simpleDocBookOnePar): adjust
4108 * CutAndPaste.C (pasteSelection): adjust
4110 * BufferView.C (getEncoding): adjust
4112 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * text2.C (setCharFont): adjust
4115 (setCounter): adjust
4117 * text.C (leftMargin): adjust
4118 (setHeightOfRow): adjust
4120 * rowpainter.C (paintFirst): adjust
4123 * paragraph_pimpl.C (realizeFont): adjust
4125 * paragraph.C (isFirstInSequence): move from here...
4126 * paragraph_funcs.C (isFirstInSequence): ...to here
4128 * paragraph.C (outerHook): move from here...
4129 * paragraph_funcs.C (outerHook): ...to here
4131 * paragraph.C (depthHook): move from here...
4132 * paragraph_funcs.C (depthHook): ...to here
4134 * paragraph.C (getEndLabel): move from here...
4135 * paragraph_funcs.C (getEndLabel): ...to here
4137 * text2.C (realizeFont): move from here...
4138 * paragraph_funcs.C (realizeFont): ...to here
4140 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4144 2003-04-14 Angus Leeming <leeming@lyx.org>
4146 * LColor.[Ch]: scrap LColor mathcursor.
4148 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * lyxlex.[Ch] (text): delete function
4151 * trans.C (Load): adjust
4152 * paragraph_funcs.C (readParToken): adjust
4154 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4156 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4157 vector<char> instead of a char[].
4159 * lyxlex_pimpl.C (getString): adjust
4161 (lex): use getString
4165 * lyxlex.C (text): use pimpl_->getString()
4169 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4171 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4172 (makeFontEntriesLayoutSpecific): temp var for par.size()
4173 (setLayout): temp var for ownerParagraphs().end()
4174 (fullRebreak): temp var for rows().end()
4175 (selectionAsString): temp var for boost::next(startpit), realize
4176 that the while really is a regular for loop.
4177 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4178 setCursor in one place.
4179 (setParagraph): temp vr for ownerParagraphs().end()
4180 (updateCounters): make the while loop a for loop
4181 (cutSelection): temp var for ownerParagraphs().end()
4182 (updateInset): make the do {} while() a regular for loop
4183 (getCursorX): use temp vars
4184 (setCurrentFont): use temp vars
4185 (getColumnNearX): use temp vars
4187 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * text.C (transformChar): use temp var for getChar
4190 (computeBidiTables): use temp var for row->par()
4191 (fill): move temp vars for row->par() and pit->layout() earlier in
4193 (labelFill): use temp var for row->par()
4194 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4195 asc and desc, realize that pit never changes and that firstpit is
4196 just a duplicate and not needed. Exchange rit->par() with pit in a
4198 (breakAgain): use a temp var for boost::next(rit)
4199 (breakAgainOneRow): ditto
4200 (breakParagraph): use a temp var for rows().begin()
4201 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4202 (cursorRightOneWord): use temp var for cursor.par() and
4203 cursor.pos(), remove usage of tmpcursor.
4204 (cursorLeftOneWord): use temp var for cursor.par() and
4205 cursor.pos() only set cur at end of function.
4207 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4209 * text.C, text2.C: exchange all usage of Paragraph::next with
4210 boost::next(ParagraphList::iterator)
4212 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4214 * text2.C (cursorTop): simplify implementation
4215 (cursorBottom): ditto
4216 (setParagraph): use ParagraphList::iterator
4217 (setCurrentFont): adjust
4218 (getColumnNearX): adjust
4219 (cursorRight): adjust
4220 (cursorLeft): remove usage of Paragraph::previous
4221 (cursorUpParagraph): ditto
4222 (deleteEmptyParagraphMechanism): slight cleanup
4224 * text.C (isBoundary): take a Paragraph const & instead of a
4226 (addressBreakPoint): ditto
4227 (leftMargin): remove usage of Paragraph::previous.
4228 (setHeightOfRow): ditto
4229 (cursorLeftOneWord): ditto
4230 (selectNextWordToSpellcheck): ditto
4233 (breakParagraph): remove one usage of Paragraph::next
4234 (redoParagraph): ditto
4235 (acceptChange): ditto
4236 (insertChar): adjust
4237 (rowBreakPoint): adjust
4239 * bufferview_funcs.C (toggleAndShow): adjust
4241 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4243 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4244 methods to access it.
4246 * text.C: Added updateRowPositions to compute all row positions.
4247 Make top_y and getRowNearY() to use the cached y position
4249 2003-04-11 John Levon <levon@movementarian.org>
4251 * text.C (rowBreakPoint): reintroduce the labelEnd
4252 checks, code copied from the row fill stuff. Deep voodoo.
4254 * text.C (fill): add a comment and debugging for the
4257 2003-04-11 John Levon <levon@movementarian.org>
4259 * text.C: make sure fullrow insets get wrapped to the next line,
4260 even when they're in a manual label
4262 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4264 * text2.C (insertParagraph): make it take ParagraphList::iterator
4266 (setLayout): make it return ParagraphList::iterator
4267 (redoParagraphs): ditto
4269 (checkParagraph): ditto
4271 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4273 * text2.C: adjust several funcs.
4274 (realizeFont): take a ParagraphList::iterator as arg.
4275 (getLayoutFont): ditto
4276 (getLabelFont): ditto
4277 (setCharFont): ditto
4279 * text.C: adjust several funcs.
4281 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4283 * text.C (selectNextWordToSpellcheck): don't accidentally
4286 2003-04-10 John Levon <levon@movementarian.org>
4288 * ToolbarBackend.C (getIcon): special handling for
4291 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4293 * text2.C (cursorRight): a getChar assert fixed
4295 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * text2.C (getFont): change to take a ParagraphList::iterator
4298 instead of Paragraph*
4299 Adjust several functions.
4301 * text.C (transformChar): change to take a ParagraphList::iterator
4302 instead of Paragraph*
4303 (singleWidth): ditto
4304 Adjust several functions.
4306 * rowpainter.C: adjust several functions
4307 * rowpainter.h:store a ParagraphList::iterator and not a
4311 2003-04-09 John Levon <levon@movementarian.org>
4316 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4317 and the "help" bits as well
4319 2003-04-09 John Levon <levon@movementarian.org>
4322 * ToolbarBackend.C: allow multiple toolbars
4324 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * undo_funcs.C (setCursorParUndo): adjust
4328 * text_funcs.C (transposeChars): adjust
4330 * text3.C (gotoNextInset): adjust
4333 * text2.C (setLayout): adjust
4334 (changeDepth): adjust
4336 (redoParagraphs): adjust
4337 (selectionAsString): adjust
4338 (setParagraph): adjust
4339 (insertInset): adjust
4340 (cutSelection): adjust
4341 (copySelection): adjust
4342 (pasteSelection): adjust
4343 (insertStringAsLines): adjust
4344 (updateInset): adjust
4345 (setCursor): change to take a ParagraphList::iterator parameter
4346 (setCursorIntern): change to take a ParagraphList::iterator parameter
4347 (setCurrentFont): adjust
4348 (cursorLeft): adjust
4349 (cursorRight): adjust
4350 (deleteEmptyParagraphMechanism): adjust
4352 * text.C (breakParagraph): adjust
4353 (insertChar): adjust
4354 (acceptChange): adjust
4355 (rejectChange): adjust
4356 (selectNextWordToSpellcheck): adjust
4357 (changeCase): adjust
4361 * lyxfind.C (SearchForward): adjust
4362 (SearchBackward): adjust
4363 (nextChange): adjust
4365 * lyxcursor.C (par): adjust
4367 * lyxcursor.h: store a ParagraphList::iterator instead of a
4370 * lyx_cb.C (getPossibleLabel): adjust
4372 * bufferview_funcs.C (toggleAndShow): adjust
4374 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4377 * BufferView.C (removeAutoInsets): adjust
4378 (lockedInsetStoreUndo): adjust
4380 2003-04-09 John Levon <levon@movementarian.org>
4382 * ToolbarBackend.C: try icon without argument
4383 if with argument fails
4385 2003-04-08 John Levon <levon@movementarian.org>
4388 * ToolbarBackend.C: add getIcon(), handle tooltip,
4389 and change from "Icon" to "Item".
4391 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4393 * BufferView.C (lockInset): another bad getchar crunched
4395 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4397 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4400 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4402 * lyxfind.C (searchForward, searchBackwards): bug 782
4404 2003-04-07 John Levon <levon@movementarian.org>
4406 * paragraph.C: remove dead comment
4408 * text.C: remove troublesome depth-fiddling code
4409 in leftMargin() and rightMargin() (bug 1017)
4411 * text.C: fix breaking of rows in nested lists
4414 * text2.C (updateCounters): fix up depth values
4417 2003-04-07 John Levon <levon@movementarian.org>
4419 * BufferView_pimpl.C: clear message when doc finishes resizing,
4420 and after a mouse event
4422 * lyxfunc.C: clear message after exiting inset
4424 2003-04-07 John Levon <levon@movementarian.org>
4426 * bufferview_funcs.C: show math status not outside
4427 status in the statusbar
4429 2003-04-07 John Levon <levon@movementarian.org>
4431 * lyxfunc.C: note status changed after a depth change
4433 2003-04-04 Angus Leeming <leeming@lyx.org>
4435 * LaTeX.h: move AuxInfo operator==, != out of line.
4436 Remove LaTeX virtual destructor; nothing derives from it.
4437 Move operator()() out of public area and rename it startscript().
4438 Change protected for private.
4440 2003-04-04 Angus Leeming <leeming@lyx.org>
4443 * text2.C: remove unneeded #includes.
4445 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4447 * text2.C (dEPM): fix the heigth of the next row
4449 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4451 * text.C: squashed an invalid getChar requester + some ws changes
4453 2003-04-03 John Levon <levon@movementarian.org>
4455 * bufferview_funcs.h:
4456 * bufferview_funcs.C:
4459 * text2.C: make getStatus work for the env depth lfuns
4461 2003-04-03 John Levon <levon@movementarian.org>
4463 * bufferview_funcs.h:
4464 * bufferview_funcs.C:
4467 * text2.C: parlistize decDepth(), by merging it with incDepth()
4469 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * lyxrow.h: store a ParagraphList::iterator instead of a
4472 Paragraph* and adjust other class functions to suit.
4474 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4477 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4479 * text2.C (setCursor): do not anchor to cursor row for the time being
4481 2003-04-02 John Levon <levon@movementarian.org>
4488 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4490 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * paragraph.h: make ParagraphList and ParagraphList::iterator
4493 friends of Paragraph.
4495 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4497 * ParagraphList.C: Use the private next_ and previous_ from
4500 2003-04-01 John Levon <levon@movementarian.org>
4504 * Makefile.am: rename, remove defaults gunk
4507 * MenuBackend.C: remove defaults gunk
4510 * Languages.C: remove defaults gunk
4513 * lyx_main.C: error out if files couldn't be found.
4515 2003-04-02 John Levon <levon@movementarian.org>
4517 * text2.C: make incDepth() use parlist
4519 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * undo_funcs.C (firstUndoParagraph): adjust
4523 * text3.C (gotoInset): adjust
4524 (dispatch): adjust, and rewrite loop.
4526 * text2.C (init): adjust, and rewrite loop.
4527 (redoParagraphs): adjust
4528 (updateInset): adjust, and rewrite loop.
4529 (deleteEmptyParagraphMechanism): adjust
4531 * tabular.C (LyXTabular): adjust
4532 (SetMultiColumn): adjust
4535 * lyxtext.[Ch] (ownerParagraph): delete function
4536 (ownerParagraphs): new function returns a ParagraphList.
4538 * BufferView.C (removeAutoInsets): adjust
4539 (insertErrors): adjust
4540 (setCursorFromRow): adjust
4542 2003-04-01 Angus Leeming <leeming@lyx.org>
4544 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4547 2003-04-02 John Levon <levon@movementarian.org>
4553 * text_funcs.C: make transposeChars a free function
4555 * lyxrow_funcs.C: remove wrong comment
4557 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4560 * rowpainter.C: adjust
4565 * lyxrow_funcs. [Ch]: new files
4567 * lyxrow.[Ch]: remove next and previous pointers
4568 (next,previous): remove accessor functions
4569 (isParEnd): move to lyxrow_funcs
4570 (lastPos): move to lyxrow_funcs
4571 (nextRowIsAllInset): move to lyxrow_funcs
4572 (lastPrintablePos): move to lyxrow_funcs
4573 (numberOfSeparators): move to lyxrow_funcs
4574 (numberOfHfills): move to lyxrow_funcs
4575 (numberOfLabelHfills): move to lyxrow_funcs
4576 (hfillExpansion): move to lyxrow_funcs
4580 * bufferview_funcs.C (toggleAndShow): adjust
4582 * RowList.h: Remove class RowList from file leave just a
4585 * RowList.C: delete file
4587 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4590 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4592 * text3.C (cursorPrevious): adjust
4593 (cursorNext): adjust
4596 * text2.C (redoHeightOfParagraph): adjust
4597 (redoDrawingOfParagraph): adjust
4600 * text.C (breakParagraph): adjust
4601 (insertChar): adjust
4604 * rowpainter.C (RowPainter): adjust
4605 (leftMargin): simplify and adjust
4606 (most rowpainter functions): adjust.
4608 * rowpainter.h: store the row as RowList::iterator not as Row*
4610 * lyxcursor.C (row): taka RowList::iterator as arg
4613 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4616 2003-04-01 Angus Leeming <leeming@lyx.org>
4618 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4619 stuff like bool Bool.
4621 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4623 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4626 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4628 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4631 * lyxtext.h (rows): drop one version and leve a const variant that
4632 returns a RowList::iterator.
4634 2003-03-31 Angus Leeming <leeming@lyx.org>
4636 * text.C (fill): ensure that the signature is the same as that in the
4639 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * text2.C (redoParagraphs): adjust
4642 (updateCounters): adjust
4643 (checkParagraph): adjust
4644 (getColumnNearX): adjust and reformat a bit.
4646 * text.C (top_y): adjust
4648 (leftMargin): adjust
4649 (prepareToPrint): adjust
4651 (getRowNearY): adjust
4653 * lyxtext.h: make rowlist_ mutable.
4655 * RowList.h: add const_iterator
4656 * RowList.C: adjust for RowList::const_iterator.
4658 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4661 2003-03-31 John Levon <levon@movementarian.org>
4664 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4666 * lyx_main.C: set default fonts from using lyx_gui funcs
4668 * exporter.C: pdf_mode moved from lyxrc
4671 * lyxfunc.C: changes from above
4673 2003-03-31 John Levon <levon@movementarian.org>
4675 * lyx_main.C: fix to the last fix
4677 2003-03-31 John Levon <levon@movementarian.org>
4679 * bufferlist.C: "Load original" -> "Load Original"
4685 * format.C: more Alert cleanups
4687 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * text2.C (removeParagraph): make it take a RowList::iterator as
4691 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4692 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4694 * text.C (anchor_row): make it take a RowList::iterator as arg,
4696 (computeBidiTables): make it take a const reference to Row instead
4697 of Row pointer, adjust.
4698 (leftMargin): make it take a RowList::iterator as arg, adjust.
4699 (rowBreakPoint): adjust
4700 (breakAgainOneRow): make it take a RowList::iterator as arg,
4702 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4704 * bufferview_funcs.C (toggleAndShow): adjust
4706 2003-03-30 John Levon <levon@movementarian.org>
4710 * boost-inst.C: moved to support
4712 * several files: changes as a result
4714 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * text2.C (LyXText): adjust.
4718 (removeRow): make it take a RowList::iterator as arg, adjust.
4719 (fullRebreak): adjust
4720 (deleteEmptyParagraphMechanism): adjust
4721 (clearPaint): adjust
4724 * text.C (top_y): adjust
4725 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4726 (breakAgain): make it take a RowList::iterator as arg, adjust.
4727 (breakParagraph): adjust
4728 (insertChar): adjust
4731 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4732 need_break_row, and refresh_row.
4734 * text3.C (dispatch): adjust
4736 * text2.C (checkParagraph): adjust
4738 (setCursorFromCoordinates): adjust
4740 * text.C (top_y): adjust
4742 (getRow): make it return a RowList::iterator, adjust
4743 (getRowNearY): make it return a RowList::iterator, adjust
4745 * text2.C (init): adjust
4746 (insertRow): remove function
4747 (insertParagraph): adjust
4748 (redoParagraphs): adjust
4749 (fullRebreak): adjust
4750 (updateCounters): adjust
4752 * text.C (top_y): rewrite to use RowList iterators.
4754 (setHeightOfRow): rewrite to sue RowList iterators.
4755 (appendParagraph): adjust
4756 (breakAgain): adjust
4757 (breakAgainOneRow): adjust
4758 (breakParagraph): adjust
4760 (getRowNearY): adjust, and remove commented code.
4762 * lyxtext.h (firstRow): delete function
4763 (lastRow): delete function
4764 (rows): new function (const and non-const versions.)
4765 (insertRow): delete function
4767 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4769 2003-03-29 John Levon <levon@movementarian.org>
4771 * BufferView_pimpl.C: always update scrollbar top
4772 because pasting text when we're anchored could mean we
4773 miss an update altogether
4775 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * text2.C (init): use rowlist_.end() and not 0.
4778 (insertRow): change to take a RowList::iterator as arg, adjust
4780 (insertParagraph): change to take a RowList::iterator as arg,
4782 (redoParagraphs): remove some debug msgs.
4784 * text.C (appendParagraph): change to take a RowList::iterator
4785 arg, adjust for this.
4786 (breakAgain): add an assert
4787 (breakAgainOneRow): ditto
4789 2003-03-29 John Levon <levon@movementarian.org>
4791 * text2.C: do not clear selection after inc/decDepth
4794 2003-03-29 John Levon <levon@movementarian.org>
4797 * buffer.C: fix broken strerrors according to Lars
4799 2003-03-29 John Levon <levon@movementarian.org>
4801 * converters.C: more Alert cleanups
4803 2003-03-29 John Levon <levon@movementarian.org>
4805 * bufferview_funcs.C: remove pointless Alert
4807 * buffer.C: fix confusing error message when
4808 a template is chmoded 000
4810 2003-03-29 John Levon <levon@movementarian.org>
4814 * BufferView_pimpl.C: Alert fixes
4818 * tabular-old.C: remove unused table compat reading
4820 2003-03-29 John Levon <levon@movementarian.org>
4825 * lyx_cb.C: more Alert cleanups
4827 * lyxfunc.C: don't allow chktex if not latex document
4829 2003-03-29 John Levon <levon@movementarian.org>
4833 * buffer.C: warnings pushed down from support/,
4836 2003-03-29 John Levon <levon@movementarian.org>
4838 * lyxfunc.C: safety check for C-r (revert)
4840 2003-03-29 John Levon <levon@movementarian.org>
4843 * bufferlist.C: several UI fixes using Alert::prompt.
4844 Fix the pointless looping quit code. Fix stupid revert
4849 * lyx_cb.C: use Alert::prompt
4851 * lyx_main.C: remove a silly question
4853 * lyxfunc.C: remove a couple of silly questions,
4856 2003-03-28 John Levon <levon@movementarian.org>
4858 * text2.C: fix bug 974 (End on empty par)
4860 2003-03-28 John Levon <levon@movementarian.org>
4862 * BufferView_pimpl.C:
4864 * lfuns.h: remove do-nothing math greek lfuns
4866 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * lyxgluelength.h (isValidGlueLength): add default arg on
4869 parameter 2. Remove default arg from friend in class.
4871 * lyxlength.h (isValidLength): add default arg on parameter 2.
4872 Remove default arg from friend in class.
4874 * text2.C (LyXText): adjust, initialize refresh_row.
4878 (insertParagraph): adjst
4879 (redoParagraphs): adjust
4880 (fullRebreak): adjust
4881 (updateCounters): adjust
4882 (deleteEmptyParagraphMechanism): first attempt at fixing a
4885 * text.C (top_y): adjust
4886 (setHeightOfRow): adjust
4888 (getRowNearY): adjust
4890 * lyxtext.h: include RowList.h
4891 (~LyXText): not needed anymore, deleted.
4892 (firstRow): modify for RowList
4893 (lastRow): new function
4894 Delete firstrow and lastrow class variables, add a Rowlist
4895 rowlist_ class variable.
4897 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4900 * RowList.C (insert): fix case where it == begin().
4902 2003-03-26 Angus Leeming <leeming@lyx.org>
4904 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4905 the thesaurus dialog.
4907 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4911 * RowList.[Ch]: new files
4913 * ParagraphList.C (erase): handle the case where it == begin
4916 2003-03-25 John Levon <levon@movementarian.org>
4920 * aspell.C: add new aspell support
4923 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4926 2003-03-25 Angus Leeming <leeming@lyx.org>
4929 * LyXAction.C (init): new LFUN_INSET_INSERT.
4931 * BufferView_pimpl.C (dispatch): split out part of the
4932 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4934 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4937 2003-03-25 Angus Leeming <leeming@lyx.org>
4939 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4941 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4944 * text3.C: remove useless row->height(0)
4946 2003-03-25 John Levon <levon@movementarian.org>
4950 * text3.C: rename the refreshing stuff to better names
4952 2003-03-24 John Levon <levon@movementarian.org>
4954 * BufferView_pimpl.h:
4955 * BufferView_pimpl.C: update layout choice on a mouse
4958 2003-03-23 John Levon <levon@movementarian.org>
4960 * Makefile.am: fix commandtags.h reference
4962 2003-03-22 John Levon <levon@movementarian.org>
4964 * BufferView_pimpl.C:
4969 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4971 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4974 * text.C: take the rtl methods out of line
4976 2003-03-21 André Pönitz <poenitz@gmx.net>
4978 * metricsinfo.[Ch]: new files containing structures to be passed around
4979 during the two-phase-drawing...
4981 2003-03-21 André Pönitz <poenitz@gmx.net>
4983 * lyxtextclass.C: read 'environment' tag.
4985 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4987 * text2.C (removeRow): fix bug 964
4989 2003-03-20 John Levon <levon@movementarian.org>
4993 * text2.C: paint cleanups. Inset::update() dropped font
4996 2003-03-19 John Levon <levon@movementarian.org>
4998 * lyxfunc.C: only fitcursor/markDirty if available()
5000 2003-03-19 John Levon <levon@movementarian.org>
5002 * commandtags.h: rename to ...
5004 * lfuns.h: ... this, and renumber / cleanup
5006 2003-03-19 John Levon <levon@movementarian.org>
5008 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5009 fit the cursor after an lfun
5013 * BufferView_pimpl.h:
5014 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5016 * LyXAction.C: layout-character should have ReadOnly
5018 * ParagraphParameters.C:
5020 * bufferview_funcs.C:
5027 * undo_funcs.C: changes from above
5029 2003-03-18 John Levon <levon@movementarian.org>
5031 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5032 remove it from update()
5034 * lyxfunc.C: update layout choice after an lfun
5036 * text3.C: remove extra updateLayoutChoice()s
5038 2003-03-18 John Levon <levon@movementarian.org>
5040 * text.C: top_y change means full repaint, fix
5041 a drawing bug with cursor movement
5043 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5047 * text2.C: anchor row on setCursor
5049 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5051 * lyxtext.h: remove almost all mutable keywords
5054 * text3.C: remove const keywords accordingly
5056 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5060 (TeXEnvironment): ditto
5063 2003-03-17 John Levon <levon@movementarian.org>
5065 * text.C (rowBreakPoint): remove attempt to fix displayed
5066 math insets inside a manual label
5068 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5070 * lyxtext.h: remove BufferView* as first arg from almost all class
5072 * other files: adjust.
5074 2003-03-17 John Levon <levon@movementarian.org>
5078 * text2.C: more paint cleanups
5080 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5083 * rowpainter.C: remove "smart" background painting code
5085 2003-03-16 John Levon <levon@movementarian.org>
5090 * text3.C: add helper functions for setting refresh_row/y
5092 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5094 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5095 newline inset which *can* get inserted in the pass_thru layouts.
5096 This is primarily for literate documents.
5098 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5100 * buffer.C: increment LYX_FORMAT to 223
5102 2003-03-14 André Pönitz <poenitz@gmx.net>
5104 * textclass.h: prepare for environment handling, ws changes
5105 * lyxlayout.C: read latexheader and latexfooter tags
5107 2003-03-14 John Levon <levon@movementarian.org>
5109 * text2.C: rewrite ::status() a bit
5111 2003-03-13 John Levon <levon@movementarian.org>
5113 * lyxtext.h: add some docs
5115 2003-03-13 John Levon <levon@movementarian.org>
5120 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5122 2003-03-13 John Levon <levon@movementarian.org>
5124 * text3.C: fix appendix redrawing
5126 2003-03-13 John Levon <levon@movementarian.org>
5128 * text.C (setHeightOfRow):
5130 * rowpainter.C: make appendix mark have the text
5131 "Appendix" so the user knows what it is
5134 * LColor.C: s/appendixline/appendix/ from above
5136 2003-03-13 John Levon <levon@movementarian.org>
5138 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5140 * text.C: fix a getChar(pos) bug properly
5142 2003-03-13 Angus Leeming <leeming@lyx.org>
5145 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5146 Probably only temporary. Let's see how things pan out.
5148 * BufferView.C (unlockInset):
5149 * BufferView_pimpl.C (fitCursor):
5150 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5152 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5153 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5155 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5156 new functions that convert ParagraphParameters to and from a string.
5158 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5159 BufferView::Pimpl's dispatch.
5160 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5162 2003-03-13 André Pönitz <poenitz@gmx.net>
5166 * factory.C: make it aware of InsetEnv
5168 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * text2.C (setCursor): never ask for one past last
5171 (setCursor): add some debugging messages.
5173 * text.C (singleWidth): never ask for one past last
5174 (singleWidth): ditto
5176 (rightMargin): ditto
5177 (rowBreakPoint): ditto
5178 (setHeightOfRow): ditto
5179 (prepareToPrint): ditto
5181 * rowpainter.C (paintBackground): never ask for one past last
5182 (paintText): never ask for one past last
5184 * paragraph_pimpl.C (getChar): make the assert stricter, never
5185 allow the one past last pos to be taken
5187 * paragraph.C (getChar): ws changes only
5189 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5190 (numberOfSeparators): ditto
5191 (numberOfHfills): ditto
5193 2003-03-12 John Levon <levon@movementarian.org>
5199 * paragraph_funcs.C: fix per-buffer authorlists
5201 2003-03-12 John Levon <levon@movementarian.org>
5203 * text.C: fix newline in right address
5205 2003-03-12 Angus Leeming <leeming@lyx.org>
5207 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5208 duplicate those in LyXFunc::dispatch.
5212 * ToolbarDefaults.C:
5213 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5214 Add LFUN_FONTFREE_UPDATE.
5216 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5217 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5219 * bufferview_func.[Ch]: several new functions to facilliate
5220 transfer of data to and from the character dialog.
5222 2003-03-12 John Levon <levon@movementarian.org>
5227 * paragraph_funcs.C:
5228 * paragraph_pimpl.C:
5232 * text3.C: remove META_NEWLINE in favour of an inset
5235 * rowpainter.C: remove paintNewline (done by inset)
5237 2003-03-12 John Levon <levon@movementarian.org>
5239 * paragraph_pimpl.C: complain about bad getChar()s
5240 for a while at least
5242 2003-03-12 John Levon <levon@movementarian.org>
5245 * buffer.C: move paragraph read into a separate function,
5246 a little renaming to reflect that.
5249 * bufferparams.C: remove the author_ids map, not necessary now
5252 * factory.C: moved Buffer::readInset to here
5254 * paragraph_funcs.h:
5255 * paragraph_funcs.C: readParagraph free function moved from
5258 * tabular.C: name change
5260 2003-03-12 John Levon <levon@movementarian.org>
5263 * ParagraphParameters.C: move par params input to
5266 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5267 behave like a normal read from the stream wrt reading
5268 a line vs. a \\token
5270 2003-03-12 John Levon <levon@movementarian.org>
5273 * ParagraphParameters.h:
5274 * ParagraphParameters.C: move output code to a
5277 2003-03-12 John Levon <levon@movementarian.org>
5279 * BufferView.C (insertLyXFile):
5282 * tabular.C: use a parlist iterator for creating the
5285 2003-03-12 John Levon <levon@movementarian.org>
5287 * buffer.C: make current_change static local not
5290 2003-03-12 John Levon <levon@movementarian.org>
5292 * buffer.C: fix insertStringAsLines for change tracking
5294 2003-03-12 John Levon <levon@movementarian.org>
5301 * bufferparams.C: move author list into params. Rename some
5302 functions. Move the header reading into a separate token
5303 loop. Move the header token reading into BufferParams.
5305 2003-03-12 John Levon <levon@movementarian.org>
5307 * changes.C: put debug inside lyxerr.debugging() checks
5309 2003-03-11 André Pönitz <poenitz@gmx.net>
5311 * factory.C: make it aware of InsetHFill
5313 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5315 * buffer.C (latexParagraphs): move function from here...
5316 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5319 2003-03-10 Angus Leeming <leeming@lyx.org>
5321 * LyXAction.C (init): fix bug in poplating array with multiple entries
5322 with the same LFUN (spotted by JMarc).
5324 2003-03-10 John Levon <levon@movementarian.org>
5327 * text2.C: move getColumnNearX() near its
5330 2003-03-10 John Levon <levon@movementarian.org>
5332 * text.C: fix break before a minipage
5334 2003-03-10 John Levon <levon@movementarian.org>
5336 * text.C: fix the last commit
5338 2003-03-09 John Levon <levon@movementarian.org>
5342 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5343 bug 365 (don't break before insets unless needed). Don't
5344 return a value > last under any circumstances.
5346 2003-03-09 Angus Leeming <leeming@lyx.org>
5348 * BufferView_pimpl.C (trackChanges, dispatch): call
5349 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5351 2003-03-09 Angus Leeming <leeming@lyx.org>
5353 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5354 than Dialogs::showAboutlyx().
5356 2003-03-09 Angus Leeming <leeming@lyx.org>
5358 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5359 than Dialogs::showTabularCreate().
5361 2003-03-09 John Levon <levon@movementarian.org>
5365 * text2.C: 3rd arg to nextBreakPoint was always the same.
5368 2003-03-08 John Levon <levon@movementarian.org>
5375 * text2.C: Remove the "main" bit from the "main body"
5378 2003-03-08 John Levon <levon@movementarian.org>
5380 * text.C (leftMargin): The left margin of an empty
5381 manual label paragraph should not include the label width
5384 * text.C (prepareToPrint): don't attempt to measure hfills
5385 for empty manual label paragraphs - the answer should be 0
5387 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * CutAndPaste.C: remove commented code and reindent.
5391 2003-03-08 John Levon <levon@movementarian.org>
5394 * lyxfunc.C: move reloadBuffer()
5397 * BufferView.C: to here
5399 * lyxvc.C: add comment
5402 * vc-backend.C: call bv->reload() to avoid
5403 getStatus() check on MENURELOAD
5405 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5407 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5408 to an old format .dep file.
5410 2003-03-07 Angus Leeming <leeming@lyx.org>
5412 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5413 when the LFUN_MOUSE_RELEASE should have been handled by
5414 inset->localDispatch.
5416 2003-03-07 Angus Leeming <leeming@lyx.org>
5418 * BufferView_pimpl.C (dispatch):
5419 * LyXAction.C (init):
5420 * ToolbarDefaults.C (init):
5422 * lyxfunc.C (getStatus):
5423 remove LFUN_INSET_GRAPHICS.
5425 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5427 2003-03-07 Angus Leeming <leeming@lyx.org>
5430 * LyXAction.C (init):
5431 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5433 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5436 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5438 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5439 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5441 2003-03-07 Angus Leeming <leeming@lyx.org>
5443 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5446 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * ParagraphList.C (front): new function
5451 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5453 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5454 and top_row_offset_. removed var first_y.
5456 * text2.C (LyXText, removeRow):
5458 * BufferView_pimpl.C:
5459 use these methods instead of using first_y
5461 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * text2.C (pasteSelection): adjust for checkPastePossible
5465 * CutAndPaste.C: remove Paragraph * buf and replace with
5466 ParagraphList paragraphs.
5467 (DeleteBuffer): delete
5468 (cutSelection): change the tc type to textclass_type
5469 (copySelection): change the tc type to textclass_type
5470 (copySelection): adjust for ParagraphList
5471 (pasteSelection): change the tc type to textclass_type
5472 (pasteSelection): adjust for Paragraphlist
5473 (nrOfParagraphs): simplify for ParagraphList
5474 (checkPastePossible): simplify for ParagraphList
5475 (checkPastePossible): remove unused arg
5477 * ParagraphList.C (insert): handle the case where there are no
5480 * CutAndPaste.h: make CutAndPaste a namespace.
5482 * text3.C (dispatch): adjust
5484 * text.C (breakParagraph): add a ParagraphList as arg
5486 * paragraph_funcs.C (breakParagraph): change to take a
5487 BufferParams and a ParagraphList as args.
5488 (breakParagraphConservative): ditto
5489 (mergeParagraph): ditto
5490 (TeXDeeper): add a ParagraphList arg
5491 (TeXEnvironment): ditto
5494 * buffer.C (readLyXformat2): adjust
5495 (insertStringAsLines): adjust
5496 (latexParagraphs): adjust
5498 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5499 (cutSelection): adjust
5500 (pasteSelection): adjust
5502 * BufferView_pimpl.C (insertInset): adjust
5504 2003-03-05 Angus Leeming <leeming@lyx.org>
5507 * LyXAction.C (init):
5508 * BufferView_pimpl.C (dispatch):
5509 * lyxfunc.C (getStatus):
5510 remove LFUN_CHILD_INSERT.
5512 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5514 2003-03-05 Angus Leeming <leeming@lyx.org>
5517 * LyXAction.C (init):
5518 * src/factory.C (createInset):
5519 * lyxfunc.C (getStatus):
5520 * text3.C (dispatch):
5521 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5523 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5525 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5527 * ParagraphList.C (insert): handle insert right before end()
5528 (erase): fix cases where it can be first or last paragraph.
5530 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5532 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5533 Paragraph::next and Paragraph::previous
5536 * text.C (breakParagraph): adjust
5538 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5539 BufferParams& as arg.
5540 (breakParagraph): use ParagraphList::insert
5541 (breakParagraphConservative): take a Buffer* instead of a
5542 BufferParams& as arg.
5543 (breakParagraphConservative): use ParagraphList::insert.
5545 * buffer.C (insertStringAsLines): un-const it
5546 (insertStringAsLines): adjust
5548 * ParagraphList.C (insert): new function
5550 * CutAndPaste.C (pasteSelection): adjust
5552 * text.C (backspace): adjust
5554 * tabular.C (SetMultiColumn): adjust
5556 * CutAndPaste.C (cutSelection): adjust
5557 (pasteSelection): adjust
5559 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5560 Buffer const * as arg
5562 * ParagraphList.C (erase): new function
5563 * paragraph_funcs.C (mergeParagraph): use it
5564 (mergeParagraph): make it take a Buffer* instead of a
5565 BufferParams* as arg
5567 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5569 (breakParagraphConservative): ditto
5571 * paragraph.h: remove the breakParagraph friend
5573 * paragraph.C (eraseIntern): new function
5574 (setChange): new function
5576 * paragraph_funcs.C (mergeParagraph): make it take a
5577 ParagraphList::iterator instead of a Paragraph *, adjust
5580 * paragraph.h: move an #endif so that the change tracking stuff
5581 also works in the NO_NEXT case.
5583 2003-03-04 Angus Leeming <leeming@lyx.org>
5586 * LyXAction.C: new LFUN_INSET_MODIFY.
5588 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5589 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5591 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5593 * several files: ws changes only
5595 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5596 (TeXEnvironment): ditto
5599 * buffer.C (makeLaTeXFile): adjust
5600 (latexParagraphs): make it take ParagraphList::iterator as args
5602 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * buffer.C (latexParagraphs): adjust
5606 * paragraph.C (TeXOnePar): move function...
5607 (optArgInset): move function...
5608 (TeXEnvironment): move function...
5609 * paragraph_pimpl.C (TeXDeeper): move function...
5610 * paragraph_funcs.C: ...here
5612 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5614 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * buffer.C (readInset): remove compability code for old Figure and
5619 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5621 * buffer.C: ws changes
5624 * BufferView_pimpl.C: ditto
5627 * bufferlist.h: ditto
5631 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5633 * converter.[Ch]: split into itself +
5636 * Makefile.am: += graph.[Ch] + format.[Ch]
5643 * lyxrc.C: added #include "format.h"
5645 2003-02-27 Angus Leeming <leeming@lyx.org>
5647 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5650 * factory.C (createInset): add "label" to the factory.
5652 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5653 string and do no more.
5655 2003-02-27 Angus Leeming <leeming@lyx.org>
5658 * LyXAction.C (init):
5659 * factory.C (createInset):
5660 * BufferView_pimpl.C (dispatch):
5661 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5663 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5665 * lyxfunc.C (dispatch):
5666 * text3.C (dispatch): pass name to params2string.
5668 2003-02-26 Angus Leeming <leeming@lyx.org>
5670 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5672 Rearrange the ~includes. Strip out the unnecessary ones.
5674 * factory.C (createInset): reformat.
5675 create new insets for the various LFUN_XYZ_APPLY lfuns.
5677 2003-02-26 John Levon <levon@movementarian.org>
5680 * lyxrow.C: add isParStart,isParEnd helpers
5682 * paragraph.h: make isInserted/DeletedText take refs
5684 * paragraph_funcs.h:
5685 * paragraph_funcs.C: remove #if 0'd code
5690 * text.C: use lyxrow helpers above.
5691 Move draw and paint routines to RowPainter.
5692 Make several methods use refs not pointers.
5693 Make backgroundColor() const.
5694 Add markChangeInDraw(), isInInset().
5695 Merge changeRegionCase into changeCase.
5696 Make workWidth() shouldn't-happen code into an Assert.
5699 * rowpainter.C: new class for painting a row.
5702 * vspace.C: make inPixels take a ref
5704 2003-02-26 Angus Leeming <leeming@lyx.org>
5706 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5709 2003-02-25 John Levon <levon@movementarian.org>
5711 * ispell.C: give the forked command a more accurate name
5713 2003-02-22 John Levon <levon@movementarian.org>
5716 * toc.C: make TocItem store an id not a Paragraph *
5719 2003-02-21 Angus Leeming <leeming@lyx.org>
5721 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5722 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5723 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5724 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5725 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5726 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5728 * BufferView_pimpl.C (dispatch):
5729 * LyXAction.C (init):
5730 * factory.C (createInset):
5731 * lyxfunc.C (getStatus, dispatch):
5732 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5734 2003-02-21 Angus Leeming <leeming@lyx.org>
5736 * BufferView_pimpl.C (MenuInsertLyXFile):
5737 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5738 * lyxfunc.C (menuNew, open, doImport):
5739 no longer pass a LyXView & to fileDlg.
5741 2003-02-21 Angus Leeming <leeming@lyx.org>
5743 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5744 * LyXAction.C: change, BIBKEY to BIBITEM.
5745 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5746 Change InsetBibKey to InsetBibitem.
5747 Change BIBKEY_CODE to BIBITEM_CODE.
5748 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5749 * factory.C: replace insetbib.h with insetbibitem.h.
5750 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5751 * paragraph.C: replace insetbib.h with insetbibitem.h.
5752 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5753 Change bibkey() to bibitem().
5754 * text.C: remove insetbib.h.
5755 * text2.C: replace insetbib.h with insetbibitem.h.
5756 change bibkey() to bibitem().
5757 * text3.C: remove insetbib.h.
5758 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5760 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5762 * lyxrc.C (output): enclose user email in quotes (in case there are
5765 2003-02-18 John Levon <levon@movementarian.org>
5767 * buffer.h: add std::
5769 2003-02-17 John Levon <levon@movementarian.org>
5775 * pspell.C: reworking. Especially in ispell, a large
5776 number of clean ups and bug fixes.
5778 * lyxfunc.C: fix revert to behave sensibly
5780 2003-02-17 André Pönitz <poenitz@gmx.net>
5783 * commandtags.h: new LFUN_INSERT_BIBKEY
5793 * paragraph_func.C: remove special bibkey handling
5795 2003-02-17 John Levon <levon@movementarian.org>
5797 * text.C (Delete): fix case where delete at the end of
5798 the very first paragraph would not merge the pars
5800 2003-02-17 John Levon <levon@movementarian.org>
5802 * lyxrow.C: fix lastPrintablePos()
5804 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5806 * bufferparams.C (writeLaTeX): add a std:here
5808 * buffer.C: and remove a using directive there
5810 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5812 * buffer.C (makeLaTeXFile): move the code that generates the
5815 * bufferparams.C (writeLaTeX): ... in this new method
5817 * LaTeXFeatures.C (getEncodingSet): make const
5818 (getLanguages): make const
5820 * MenuBackend.C (binding): returns the binding associated to this
5822 (add): sets the status of each item by calling getStatus. Adds
5824 (read): add support for OptSubMenu
5825 (expand): remove extra separator at the end of expanded menu
5827 2003-02-15 John Levon <levon@movementarian.org>
5830 * BufferView_pimpl.C:
5832 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5833 inset code that had no actual effect. Remove unneeded status
5836 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5838 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5841 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5843 * text.C (drawLengthMarker): also draw an arrow marker for
5844 symbolic lengths (medskip...)
5846 2003-02-14 John Levon <levon@movementarian.org>
5849 * tabular.C: better method names
5851 2003-02-14 John Levon <levon@movementarian.org>
5853 * BufferView_pimpl.C:
5858 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5859 it's a more accurate name. Remove some pointless uses.
5861 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5863 * text2.C (LyXText): change order of initilizers to shut off
5866 2003-02-14 John Levon <levon@movementarian.org>
5868 * buffer.C: use ParIterator for getParFromID()
5872 * paragraph_pimpl.h:
5873 * paragraph_pimpl.C: remove unused getParFromID()
5875 2003-02-14 John Levon <levon@movementarian.org>
5877 * buffer.C: remove some very old #if 0'd parse code
5879 2003-02-13 John Levon <levon@movementarian.org>
5883 * text2.C: move hfillExpansion(), numberOfSeparators(),
5884 rowLast(), rowLastPrintable(), numberofHfills(),
5885 numberOfLabelHfills() ...
5888 * lyxrow.C: ... to member functions here.
5893 * text.C: remove LyXText::beginningOfMainBody(), and call
5894 p->beginningOfMainBody() directly. Move the check for
5895 LABEL_MANUAL into the latter.
5902 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5908 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5909 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5911 2003-02-13 John Levon <levon@movementarian.org>
5913 * CutAndPaste.C: remove debug
5915 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5917 * paragraph.C (asString): remove two unused variables
5919 * lyxtextclass.C (readTitleType):
5921 (LyXTextClass): handle new members titletype_ and titlename_
5923 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5925 2003-02-09 John Levon <levon@movementarian.org>
5928 * buffer.C: replace hand-coded list with a map for the dep clean
5930 2003-02-08 John Levon <levon@movementarian.org>
5932 * LaTeX.C: consolidate code into showRunMessage() helper
5934 2003-02-08 John Levon <levon@movementarian.org>
5939 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5940 and pass the size in explicitly
5942 * BufferView_pimpl.h:
5943 * BufferView_pimpl.C:
5945 * BufferView.C: add getCurrentChange()
5947 * BufferView_pimpl.h:
5948 * BufferView_pimpl.C: handle change lfuns
5950 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5951 for changes. Mark pasted paragraphs as new.
5953 * support/lyxtime.h:
5954 * support/lyxtime.C:
5955 * DepTable.C: abstract time_t as lyx::time_type
5958 * LColor.C: add colours for new text, deleted text, changebars
5960 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5961 package use "usenames" option.
5965 * LyXAction.C: add change lfuns
5969 * author.C: author handling
5972 * buffer.C: add a per-buffer author list, with first entry as
5973 current author. Handle new .lyx tokens for change tracking. Output
5974 author list to .lyx file. Output dvipost stuff to .tex preamble.
5975 Bump lyx format to 222.
5978 * bufferlist.C: add setCurrentAuthor() to reset current author details
5982 * bufferparams.C: add param for tracking
5984 * bufferview_funcs.C: output change info in minibuffer
5988 * changes.C: add change-tracking structure
5991 * debug.C: add CHANGES debug flag
5994 * lyxfind.C: add code for finding the next change piece
5997 * lyxrc.C: add user_name and user_email
6000 * lyxrow.C: add a metric for the top of the text line
6003 * text.C: implement accept/rejectChange()
6006 * text.C: paint changebars. Paint new/deleted text in the chosen
6007 colours. Strike through deleted text.
6011 * paragraph_pimpl.h:
6012 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6013 in the current change to the insert functions. Rework erase to
6014 mark text as deleted, adding an eraseIntern() and a range-based
6015 erase(). Implement per-paragraph change lookup and
6018 * paragraph_funcs.C: Fixup paste for change tracking.
6020 * tabular.C: mark added row/columns as new.
6022 * text.C: fix rowLast() to never return -1. Don't allow
6023 spellchecking of deleted text. Track transpose changes. Don't
6024 allow paragraph break or merge where appropriate.
6026 * text2.C: leave cursor at end of selection after a cut.
6028 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6030 * text.C (getLengthMarkerHeight):
6031 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6032 visible on screen too.
6034 2003-02-07 John Levon <levon@movementarian.org>
6036 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6038 2003-02-05 Angus Leeming <leeming@lyx.org>
6040 * lyxserver.C (read_ready): revert my patch of 11 September last year
6041 as it sends PC cpu through the roof. Presumably this means that
6042 the lyxserver will no longer run on an Alpha...
6044 2003-01-30 Angus Leeming <leeming@lyx.org>
6046 * factory.C (createInset): create an InsetCommandParam of type "index"
6047 and use it to 'do the right thing'.
6049 * text2.C (getStringToIndex): ensure that cursor position is always
6050 reset to the reset_cursor position.
6052 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6054 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6057 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6061 * lyxfunc.C: Output messages with identical spelling, punctuation,
6064 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6066 * MenuBackend.C (expandFormats): List only viewable export formats
6069 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6072 * lyxfunc.C (getStatus): Make sure that formats other than
6073 "fax" can also be disabled
6075 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6077 * text3.C (dispatch): put the lfuns that insert insets in 3
6078 groups, and call doInsertInset with appropriate arguments.
6079 (doInsertInset): new function, that creates an inset and inserts
6080 it according to some boolean parameters.
6082 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6084 * buffer.C (readFile): remember to pass on 'par' when calling
6085 readFile recursively.
6087 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6089 * MenuBackend.C (expandFormats): add "..." to import formats.
6091 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6093 * paragraph.C (asString): Remove XForms RTL hacks.
6095 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6096 * buffer.C: fix typo
6098 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * Makefile.am (LIBS): delete var
6101 (lyx_LDADD): add @LIBS@ here instead.
6103 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6105 * Clarify the meaning of "wheel mouse jump"
6107 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6109 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6112 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * importer.C (Loaders): do not preallocate 3 elements in the
6115 vector, since one ends up with 6 elements otherwise
6117 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6119 * DepTable.C (write): write the file name as last element of the
6120 .dep file (because it may contain spaces)
6121 (read): read info in the right order
6123 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * paragraph_pimpl.C (simpleTeXBlanks):
6126 (simpleTeXSpecialChars):
6127 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6129 * tabular.C (latex): add some missing case statements. Reindent.
6131 * MenuBackend.C (expandToc): remove unused variable.
6133 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6142 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6145 2003-01-05 John Levon <levon@movementarian.org>
6148 * BufferView.C: add getEncoding()
6151 * kbsequence.C: do not store last keypress
6154 * lyxfunc.C: store last keypress here instead. Pass encoding
6157 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6159 * lyx_main.C (init): remove annoying error message when following
6160 symbolic links (bug #780)
6162 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6164 * text.C (insertChar):
6165 * lyxrc.C (getDescription): remove extra spaces
6167 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6169 * lyxrc.C (getDescription): remove extra spaces
6171 2002-12-20 John Levon <levon@movementarian.org>
6173 * text3.C: hack fix for page up/down across tall rows
6175 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6177 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6180 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6182 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6183 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6184 thesaurus is not compiled in
6186 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6188 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6190 2002-12-16 Angus Leeming <leeming@lyx.org>
6193 * lyx_main.C (init): remove override_x_deadkeys stuff.
6195 2002-12-12 John Levon <levon@movementarian.org>
6197 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6198 insert. Only remove shift modifier under strict
6201 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * MenuBackend.C (expandToc): fix crash.
6205 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * MenuBackend.C (expandToc): gettext on float names.
6209 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6211 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6212 implement bool empty() [bug 490]
6214 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6216 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6218 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * several files: ws changes
6222 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * text2.C (setCounter): clean up a bit, use boost.format.
6225 (updateCounters): initialize par upon declaration.
6227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6228 if the layout exists. We do not just store the layout any more.
6229 (SwitchLayoutsBetweenClasses): use boost.format
6231 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * converter.C (convert): if from and to files are the same, use a
6234 temporary files as intermediary
6236 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6239 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6241 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6243 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6245 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * tabular.C (asciiPrintCell): use string(size, char) instead of
6250 * sgml.C (openTag): fix order of arguments to string constructor
6253 * lyxfunc.C (dispatch): use boost.format
6255 * lots of files: change "c" -> 'c'
6257 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6259 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6261 2002-11-25 Angus Leeming <leeming@lyx.org>
6263 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6265 * lyx_main.C (init): compile fix.
6267 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * lyx_cb.C (start): boost.formatify
6270 do not include <iostream>
6272 * lengthcommon.C: ws only
6274 * boost-inst.C,BoostFormat.h: add more explict instantations
6276 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6278 * lots of files: handle USE_BOOST_FORMAT
6280 2002-11-21 John Levon <levon@movementarian.org>
6282 * pspell.C: fix compile
6284 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6286 * lyxfunc.C (dispatch): use boost::format
6290 * lyxfont.C (stateText): use boost::format
6292 * lyx_main.C (LyX): use boost::format
6294 (queryUserLyXDir): ditto
6297 (typedef boost::function): use the recommened syntax.
6299 * importer.C (Import): use boost::format
6301 * debug.C (showLevel): use boost::format
6303 * converter.C (view): use boost::format
6308 * bufferview_funcs.C (currentState): use boost::format
6310 * bufferlist.C (emergencyWrite): use boost::format
6312 * buffer.C (readLyXformat2): use boost::format
6313 (parseSingleLyXformat2Token): ditto
6315 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6317 * LaTeX.C (run): use boost::format
6319 * Chktex.C (scanLogFile): use boost::format
6321 * BufferView_pimpl.C (savePosition): use boost::format
6322 (restorePosition): ditto
6323 (MenuInsertLyXFile): ditto
6325 * BoostFormat.h: help file for explicit instation.
6327 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6329 * tabular.C (latex): Support for block alignment in fixed width
6332 2002-11-17 John Levon <levon@movementarian.org>
6334 * BufferView_pimpl.C:
6336 * lyxfunc.C: split filedialog into open/save
6338 2002-11-08 Juergen Vigna <jug@sad.it>
6340 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6341 by my last patch (hopefully).
6343 2002-11-08 John Levon <levon@movementarian.org>
6352 * toc.C: ParConstIterator, and use it (from Lars)
6354 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6356 * lyxtextclass.[Ch]: revise and add doxygen comments
6358 2002-11-07 John Levon <levon@movementarian.org>
6360 * text.C: fix progress value for spellchecker
6362 * toc.C: fix navigate menu for insetwrap inside minipage
6364 * paragraph_funcs.C: added FIXME for suspect code
6366 2002-11-07 John Levon <levon@movementarian.org>
6368 * BufferView_pimpl.C: fix redrawing of insets
6371 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6373 * text2.C (updateCounters): fix bug 668
6375 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6377 * text3.C (dispatch): Do not make the buffer dirty when moving the
6380 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * vc-backend.C: STRCONV
6385 * text2.C (setCounter): STRCONV
6387 * paragraph.C (asString): STRCONV
6389 * lyxlength.C (asString): STRCONV
6390 (asLatexString): ditto
6392 * lyxgluelength.C (asString): STRCONV
6393 (asLatexString): ditto
6395 * lyxfunc.C (dispatch): STRCONV
6398 * lyxfont.C (stateText): STRCONV
6400 * importer.C (Import): STRCONV
6402 * counters.C (labelItem): STRCONV
6403 (numberLabel): ditto
6404 (numberLabel): remove unused ostringstream o
6409 * bufferview_funcs.C (currentState): STRCONV
6411 * buffer.C (readFile): STRCONV
6412 (asciiParagraph): ditto
6413 (makeLaTeXFile): ditto
6415 * Spacing.C (writeEnvirBegin): STRCONV
6417 * LaTeXFeatures.C (getLanguages): STRCONV
6418 (getPackages): ditto
6420 (getBabelOptions): ditto
6421 (getTClassPreamble): ditto
6422 (getLyXSGMLEntities): ditto
6423 (getIncludedFiles): ditto
6427 (scanAuxFile): ditto
6430 * LString.h: add the STRCONV macros
6432 * BufferView_pimpl.C (savePosition): STRCONV
6433 (restorePosition): ditto
6434 (MenuInsertLyXFile): ditto
6436 * vc-backend.C (scanMaster): change from submatch[...] to
6439 * funcrequest.C: include config.h
6441 * factory.C: include config.h
6443 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6445 * box.C: include config.h
6447 * LaTeX.C (scanAuxFile): change from submatch[...] to
6451 2002-10-25 Angus Leeming <leeming@lyx.org>
6453 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6455 * ispell.[Ch] (setError): new method.
6456 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6457 Use setError() insetead of goto END.
6459 * lyx_cb.C (AutoSave): move out child process into new class
6462 2002-10-30 John Levon <levon@movementarian.org>
6464 * text3.C: make start appendix undoable
6466 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6468 * lyxlength.C (inPixels): Fix returned value.
6470 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6473 2002-10-24 Angus Leeming <leeming@lyx.org>
6475 * lyxgluelength.h: no need to forward declare BufferParams
6476 or BufferView, so don't.
6478 2002-10-21 John Levon <levon@movementarian.org>
6480 * BufferView.C: menuUndo ->undo, redo
6482 * BufferView.h: document, remove dead, make some methods private
6484 * paragraph_funcs.h:
6485 * paragraph_funcs.C:
6486 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6491 * sgml.C: move sgml open/close tag into sgml.C
6493 * bufferview_funcs.h: unused prototype
6496 * lyxfunc.C: remove unused
6499 * text.C: remove unused
6501 2002-10-21 John Levon <levon@movementarian.org>
6505 * BufferView_pimpl.h:
6506 * BufferView_pimpl.C: fix mouse wheel handling based on
6507 patch from Darren Freeman
6509 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6511 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6513 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6515 * lyxlength.C (inPixels): Fix hanfling of negative length.
6516 Fix LyXLength::MU case.
6518 2002-10-16 John Levon <levon@movementarian.org>
6520 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6522 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6524 * converter.C (view): add support for $$i (file name) and $$p
6525 (file path) for the viewer command. If $$i is not specified, then
6526 it is appended to the command (for compatibility with old syntax)
6528 2002-10-14 Juergen Vigna <jug@sad.it>
6530 * undo_funcs.C (textHandleUndo): alter the order in which the
6531 new undopar is added to the LyXText, as we have to set first
6532 the right prev/next and then add it as otherwise the rebuild of
6533 LyXText is not correct. Also reset the cursor to the right paragraph,
6534 with this IMO we could remove the hack in "redoParagraphs()".
6536 2002-10-09 Angus Leeming <leeming@lyx.org>
6538 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6539 to turn off an optimisation if a new inset is to be inserted.
6541 2002-10-11 André Pönitz <poenitz@gmx.net>
6543 * lyxtext.h: make some functions public to allow access
6544 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6546 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6548 * text3.C (dispatch): when changing layout, avoid an infinite loop
6551 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6553 * lyxrc.C (read): treat a viewer or converter command of "none" as
6556 * MenuBackend.C (expandFormats): for an update, also allow the
6557 formats that are not viewable
6559 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6560 script if it is newer than the lyxrc.defaults in user directory
6562 2002-10-07 André Pönitz <poenitz@gmx.net>
6564 * text.C: Vitaly Lipatov's small i18n fix
6566 2002-09-25 Angus Leeming <leeming@lyx.org>
6568 * ispell.h: doxygen fix.
6570 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6572 * buffer.h (readFile): Add a new argument to the method, to allow
6573 reading of old-format templates.
6575 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6577 * toc.C (getTocList): Get TOC from InsetWrap.
6579 2002-09-16 John Levon <levon@movementarian.org>
6581 * lyxfunc.C: check tabular for cut/copy too
6583 2002-09-12 John Levon <levon@movementarian.org>
6588 * factory.C: add header
6590 * paragraph_funcs.h:
6591 * paragraph_funcs.C: cleanup
6593 2002-09-11 John Levon <levon@movementarian.org>
6595 * PrinterParams.h: odd/even default to true
6597 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6599 * PrinterParams.h: update printer parameters for new xforms dialog
6601 2002-09-11 Angus Leeming <leeming@lyx.org>
6603 * lyxserver.C (read_ready): re-write to make it more transparent
6604 and to make it work in coherent fashion under Tru64 Unix.
6606 2002-09-11 André Pönitz <poenitz@gmx.net>
6610 * text3.C: implement LFUN_WORDSEL
6612 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6615 make floatlist_ a boost::shared_ptr<FloatList>
6617 * lyxtextclass.C: include FloatList.h
6618 (LyXTextClass): initialize floatlist_
6619 (TextClassTags): add TC_NOFLOAT
6620 (Read): match "nofloat" to TC_NOFLOAT and use it.
6621 (readFloat): modify call to floatlist_
6625 * FloatList.[Ch] (FloatList): remove commented out float
6627 (erase): new function
6629 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * MenuBackend.C (expandToc): fix crash when there is no document
6634 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6636 * many files: Add insetwrap.
6638 2002-09-09 John Levon <levon@movementarian.org>
6640 * text2.C: remove confusing and awkward depth wraparound
6642 2002-09-09 John Levon <levon@movementarian.org>
6644 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6647 * buffer.C: remove getIncludeonlyList()
6650 * lyxfunc.C: remove headers
6652 2002-09-09 Juergen Vigna <jug@sad.it>
6654 * text.C (getColumnNearX): fix form Michael this is most
6655 probably a cut&paste bug.
6657 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6661 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6662 references, ws changes.
6664 * text2.C (init): update counters after init
6665 (insertParagraph): no need to set counter on idividual paragraphs.
6666 (setCounter): access the counters object in the textclass object
6667 on in the buffer object.
6668 (updateCounters): ditto
6670 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6671 shared_ptr<Counters> to avoid loading counters.h in all
6673 (LyXTextClass): initialize ctrs_
6674 (TextClassTags): add TC_COUNTER, and ...
6675 (Read): use it here.
6676 (CounterTags): new tags
6677 (readCounter): new function
6678 (counters): new funtion
6679 (defaultLayoutName): return a const reference
6681 * counters.C (Counters): remove contructor
6682 (newCounter): remove a couple of unneeded statements.
6683 (newCounter): simplify a bit.
6684 (numberLabel): some small formatting changes.
6686 * buffer.[Ch]: remove all traces of counters, move the Counters
6687 object to the LyXTextClass.
6689 2002-09-06 Alain Castera <castera@in2p3.fr>
6691 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6692 package to set the horizontal alignment on fixed width columns.
6695 * lyx_sty.h: added tabularnewline macro def.
6697 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6699 2002-09-06 John Levon <levon@movementarian.org>
6701 * LyXAction.C: tooltips for sub/superscript
6703 * MenuBackend.C: a bit more verbose
6705 * lyxfunc.C: tiny clean
6707 * undo_funcs.C: document undo_frozen
6709 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * counters.C (Counters): add missing algorithm counter.
6713 * text2.C (setCounter): lookup the counter with layouts latexname
6714 instead of by section number.
6715 (setCounter): use a hackish way to lookup the correct enum
6717 a float name->type change
6718 reset enum couners with counter name directly instead of depth value.
6720 * counters.C (Counters): remove the push_backs, change to use the
6721 float type not the float name.
6722 (labelItem): remove unused string, float name->type change
6724 * counters.h: don't include vector, loose the enums and sects vectors
6726 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6728 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6729 (Read): add float->TC_FLOAT to textclassTags
6730 (Read): and handle it in the switch
6731 (readFloat): new function
6733 * FloatList.C (FloatList): comment out the hardcoded float
6736 * lyxlayout.h: ws change.
6738 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6740 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6742 2002-09-03 Angus Leeming <leeming@lyx.org>
6744 * BufferView_pimpl.h: qualified name is not allowed in member
6745 declaration: WorkArea & Pimpl::workarea() const;
6747 * factory.C: added using std::endl directive.
6749 * text3.C: added using std::find and std::vector directives.
6751 2002-08-29 André Pönitz <poenitz@gmx.net>
6754 * text2.C: remove unused member number_of_rows
6757 * BufferView2.C: remove file, move contents to...
6758 * BufferView.C: ... here
6760 * BufferView_pimpl.C:
6761 * factory.C: move more inset creation to factory
6763 * vspace.C: avoid direct usage of LyXText, ws changes
6766 don't provide direct access to WorkArea, use two simple
6767 acessors haveSelction() and workHeight() instead
6770 2002-08-29 John Levon <levon@movementarian.org>
6772 * BufferView_pimpl.C (dispatch): do not continue when
6775 2002-08-28 André Pönitz <poenitz@gmx.net>
6777 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6780 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6782 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6784 * buffer.C: increment LYX_FORMAT to 221
6786 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6787 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6789 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6791 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6793 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6795 * factory.C (createInset): use LyXTextClass::floats
6797 * MenuBackend.C (expandFloatListInsert):
6798 (expandFloatInsert):
6801 * text2.C (setCounter):
6803 * LaTeXFeatures.C (useFloat):
6804 (getFloatDefinitions):
6806 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6808 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6809 floatlist_, with accessor floats().
6811 * FloatList.h: remove global FloatList
6813 2002-08-26 André Pönitz <poenitz@gmx.net>
6815 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6819 * BufferView_pimpl.C:
6820 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6822 2002-08-25 John Levon <levon@movementarian.org>
6824 * LyXAction.C: fix margin note description
6826 2002-08-24 John Levon <levon@movementarian.org>
6830 * bufferview_funcs.C:
6832 * undo_funcs.C: cleanups
6834 * lyxfunc.C: disable CUT/COPY when no selection
6836 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6838 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6839 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6841 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6842 Add backward compatibility to "mono", "gray" and "no".
6844 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6846 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6847 (and file_format >= 200).
6849 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6851 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6853 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6857 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6859 * BufferView_pimpl.C:
6866 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6867 inset and code to make it work with the paragraph code. The inset
6868 can be anywhere in the paragraph, but will only do the expected
6869 thing in LaTeX if the layout file contains the parameter line
6871 (or more generally, a nonzero value) for that layout.
6873 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * paragraph.h: remove the declaration of undefined counters class
6878 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6880 * text2.C (setCounter): fixed enumeration mis-count as reported by
6881 Dr. Richard Hawkins.
6883 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6885 * paragraph_funcs.h: remove some unneeded includes
6887 * text.C (backspace): pasteParagraph now in global scipe
6889 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6890 (pasteSelection): ditto
6892 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6893 * paragraph_funcs.C (pasteParagraph): ... here
6895 2002-08-20 André Pönitz <poenitz@gmx.net>
6897 * commandtags.h: new LFUNs for swapping/copying table row/colums
6900 * lyxfunc.C: support for new lfuns
6902 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6905 * buffer.[Ch]: remove NO_COMPABILITY stuff
6907 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6909 * boost.C (throw_exception): new file, with helper function for
6910 boost compiled without exceptions.
6915 * ParameterStruct.h:
6916 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6918 * bufferlist.C (emergencyWriteAll): use boost bind
6920 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6922 * text.C: include paragraph_funcs.h
6923 (breakParagraph): breakParagraph is now in global scope
6925 * paragraph_funcs.[Ch]: new files
6927 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6930 * buffer.C: include paragraph_funcs.h
6931 (insertStringAsLines): breakParagraph is now in global scope
6933 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6936 * CutAndPaste.C: include paragraph_funcs.h
6937 (cutSelection): breakParagraphConservative is now in global scope
6938 (pasteSelection): ditto
6940 * buffer.h: declare oprator== and operator!= for
6941 Buffer::inset_iterator
6943 * bufferlist.C (emergencyWrite): don't use fmt(...)
6945 * text3.C: add using std::endl
6947 * BufferView.C (moveCursorUpdate): remove default arg
6949 2002-08-20 André Pönitz <poenitz@gmx.net>
6951 * buffer.[Ch]: move inline functions to .C
6954 * BufferView_pimpl.C:
6956 * buffer.[Ch]: use improved inset_iterator
6959 * paragraph.[Ch]: write one paragraph at a time
6961 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6963 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6964 style if style is not specified.
6966 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6968 * text2.C (setCounter): when searching for right label for a
6969 caption, make sure to recurse to parent insets (so that a caption
6970 in a minipage in a figure float works) (bug #568)
6972 2002-08-20 André Pönitz <poenitz@gmx.net>
6974 * text3.C: new file for LyXText::dispatch() and helpers
6976 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6978 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6980 2002-08-19 André Pönitz <poenitz@gmx.net>
6983 * text.C: new LyXText::dispatch()
6985 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6987 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6989 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6991 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6994 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6996 * Makefile.am: use $(variables) instead of @substitutions@
6998 2002-08-15 André Pönitz <poenitz@gmx.net>
7001 * BufferView_pimpl.C: streamlining mathed <-> outer world
7005 * LyXAction.C: remove unused LFUN_MATH
7007 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7011 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * paragraph.C (Paragraph): reformat a bit
7014 (cutIntoMinibuffer): use builtin InsetList function instad of
7018 * buffer.C: include boost/bind.hpp, add using std::for_each
7019 (writeFileAscii): use ParagraphList iterators
7020 (validate): use for_each for validate traversal of paragraphs
7021 (getBibkeyList): use ParagraphList iterators
7022 (resizeInsets): use for_each to resizeInsetsLyXText for all
7024 (getParFromID): use ParagraphList iterators
7026 * BufferView2.C (lockInset): use paragraph list and iterators
7028 2002-08-14 John Levon <levon@movementarian.org>
7030 * lyxserver.C: remove spurious xforms include
7032 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7034 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7036 2002-08-13 André Pönitz <poenitz@gmx.net>
7039 * lyxfunc.C: further cleaning
7041 2002-08-13 André Pönitz <poenitz@gmx.net>
7043 * funcrequest.h: new constructor
7045 * funcrequest.C: move stuff here from .h
7048 * BufferView_pimpl.C:
7051 * lyxfunc.C: subsequent changes
7053 * lyxfunc.h: new view() member function
7055 * lyxfunc.C: subsequent changes
7057 2002-08-13 Angus Leeming <leeming@lyx.org>
7060 * BufferView_pimpl.C:
7068 changes due to the changed LyXView interface that now returns references
7069 to member variables not pointers.
7071 2002-08-13 Angus Leeming <leeming@lyx.org>
7073 * WordLangTuple (word, lang_code): return references to strings,
7078 * lyxtext.h: forward-declare WordLangTuple.
7083 * text.C: #include "WordLangTuple.h".
7086 * text.C: (selectNextWordToSpellcheck): constify return type.
7088 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7094 * paragraph_pimpl.h:
7097 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7099 Made updateCounter always count from start of buffer, and removed
7100 second argument (par).
7101 Reverted floats number display to '#'. Perhaps I'll try again when the
7102 code base is sanitized a bit.
7104 2002-08-12 Angus Leeming <leeming@lyx.org>
7106 * buffer.[Ch] (getLabelList): constify.
7108 2002-08-07 André Pönitz <poenitz@gmx.net>
7110 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7112 * funcrequest.h: extension to keep mouse (x,y) position
7114 2002-08-12 Juergen Vigna <jug@sad.it>
7116 * BufferView2.C (insertErrors): forbid undo when inserting error
7119 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7121 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * ParagraphList.[Ch]: new files
7125 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7127 * BufferView2.C (lockInset): ParagraphList changes
7130 * bufferlist.C: ditto
7134 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7137 unused class variable counter_,
7139 * paragraph.[Ch] (getFirstCounter): delete unused function
7141 * counters.C: include LAssert.h
7142 (reset): add a new function with no arg, change other version to
7143 not have def. arg and to not allow empty arg.
7145 * text2.C (setCounter): remove empty arg from call to Counters::reset
7147 2002-08-11 John Levon <levon@movementarian.org>
7149 * Makefile.am: add WordLangTuple.h
7151 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7154 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7156 * insets/insettext.C: InsetList changes
7158 * graphics/GraphicsSupport.C (operator()): InsetList changes
7160 * toc.C (getTocList): InsetList changes
7162 * paragraph_pimpl.[Ch]: InsetList changes
7164 * paragraph.[Ch]: InsetList changes
7166 * buffer.C (inset_iterator): InsetList changes
7167 (setParagraph): ditto
7168 * buffer.h (inset_iterator): ditto
7169 * iterators.C (operator++): ditto
7170 * iterators.h: ditto
7172 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7174 * InsetList.[Ch]: new files, most InsetList handling moved out of
7177 * BufferView2.C (removeAutoInsets): InsetList changes
7179 (ChangeInsets): ditto
7181 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * paragraph_pimpl.h (empty): new function
7185 * paragraph.[Ch] (empty): new function
7187 * other files: use the new Paragraph::empty function
7189 2002-08-09 John Levon <levon@movementarian.org>
7191 * lyxtext.h: remove unused refresh_height
7193 2002-08-09 John Levon <levon@movementarian.org>
7200 * paragraph.C: move sgml char escaping out of paragraph
7203 * paragraph.C: remove id setter
7207 * paragraph_pimpl.C: remove dead tex_code_break_column
7209 * bufferview_funcs.C: small cleanup
7211 * lyxfunc.C: remove dead proto
7213 * lyxtext.h: make some stuff private. Remove some dead stuff.
7215 * lyxgluelength.C: make as[LyX]String() readable
7217 2002-08-08 John Levon <levon@movementarian.org>
7222 * ToolbarDefaults.C:
7225 * toc.C: lyxaction cleanup
7227 2002-08-08 John Levon <levon@movementarian.org>
7229 * BufferView2.C: small cleanup
7232 * lyxfind.C: move unnecessary header into the .C
7234 2002-08-08 John Levon <levon@movementarian.org>
7236 * funcrequest.h: just tedious nonsense
7239 * lyx_main.C: cleanups
7242 * vspace.C: remove dead header lyx_main.h
7244 2002-08-07 Angus Leeming <leeming@lyx.org>
7247 * paragraph_pimpl.h:
7248 Forward declare class Counters in paragraph.h by moving the ctrs member
7249 variable into Paragraph::Pimpl.
7250 (counters): new method, returning a reference to pimpl_->ctrs.
7252 * text2.C: ensuing changes.
7254 2002-08-07 John Levon <levon@movementarian.org>
7256 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7258 * BufferView_pimpl.C: announce X selection on double/triple
7261 * lyx_main.C: use correct bool in batch dispatch
7263 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7265 2002-08-07 André Pönitz <poenitz@gmx.net>
7267 * funcrequest.h: new class to wrap a kb_action and its argument
7270 * BufferView_pimpl[Ch]:
7274 * lyxrc.C: subsequent changes
7277 2002-08-07 John Levon <levon@movementarian.org>
7279 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7280 document options change.
7282 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7287 * makefile.am: move counters functionality over from
7288 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7290 2002-08-06 John Levon <levon@movementarian.org>
7292 * WordLangTuple.h: new file for word + language code tuple
7303 * BufferView2.C: use WordLangTuple
7306 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7308 2002-08-06 John Levon <levon@movementarian.org>
7310 * lyx_main.C: fix cmdline batch handling
7312 2002-08-06 André Pönitz <poenitz@gmx.net>
7314 * lyxrc.C: set default for show_banner to true
7316 2002-08-06 John Levon <levon@movementarian.org>
7318 * pspell.C: fix a crash, and allow new aspell to work
7320 2002-08-06 John Levon <levon@movementarian.org>
7323 * kbmap.C: small cleanup
7326 * vspace.C: add const
7328 2002-08-05 John Levon <levon@movementarian.org>
7330 * LyXAction.C: back to tabular-insert
7332 2002-08-04 John Levon <levon@movementarian.org>
7335 * BufferView.C: cosmetic change
7337 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7347 * BufferView2.C: purge all "Lyx" not "LyX" strings
7350 * lyxcursor.C: attempt to add some documentation
7355 * ToolbarDefaults.C:
7356 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7357 merge with LFUN_TABULAR_INSERT
7364 * pspell.C: split up i/pspell implementations into separate
7365 files, many cleanups
7367 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7369 * text2.C: some cleanup
7371 * lyxfunc.C: don't check for isp_command == "none" any more, it
7372 didn't make any sense
7374 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7379 * makefile.am: move counters functionality over
7380 from text2.C/paragraph.[Ch] to counters.[Ch], and
7382 2002-08-02 John Levon <levon@movementarian.org>
7384 * buffer.C: s/lyxconvert/lyx2lyx/
7386 2002-08-02 Angus Leeming <leeming@lyx.org>
7388 * lyxlex.C: revert John's change as it breaks reading of the user
7391 2002-08-02 Angus Leeming <leeming@lyx.org>
7393 * importer.C (Import):
7394 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7395 changes due to LyXView::view() now returning a boost::shared_ptr.
7397 2002-08-02 John Levon <levon@movementarian.org>
7399 * lyxlex.C: small cleanup
7401 2002-08-02 John Levon <levon@movementarian.org>
7403 * text2.C (status): small cleanup, no logic change
7405 2002-08-01 John Levon <levon@movementarian.org>
7408 * buffer.C (writeFile): don't output alerts, caller
7412 * lyx_cb.C: from above
7414 * lyxfunc.C: allow to open non-existent files
7416 2002-07-31 John Levon <levon@movementarian.org>
7418 * lyxserver.C: don't let incidental errors get
7421 2002-07-30 John Levon <levon@movementarian.org>
7423 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7425 2002-07-30 John Levon <levon@movementarian.org>
7428 * lyxserver.C: remove I/O callback too
7430 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7432 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7435 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7437 * many files: strip,frontStrip -> trim,ltrim,rtrim
7439 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7441 * PrinterParams.h: remove extern containsOnly, and include
7442 support/lstrings.h instead.
7444 * LaTeX.C (scanAuxFile): modify because of strip changes
7446 * buffer.C (makeLaTeXFile): ditto
7447 * bufferparams.C (writeFile): ditt
7448 * lyxfont.C (stateText): ditto
7449 * lyxserver.C (read_ready): ditto
7450 * vc-backend.C (scanMaster): ditto
7452 * BufferView_pimpl.h: ws changes
7454 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7456 2002-07-26 André Pönitz <poenitz@gmx.net>
7458 * kb_sequence.C: remove unnedred usings
7460 2002-07-26 Juergen Vigna <jug@sad.it>
7462 * lyxfind.C (LyXReplace): we have to check better if the returned
7463 text is not of theLockingInset()->getLockingInset().
7465 2002-07-25 Juergen Vigna <jug@sad.it>
7467 * lyxfind.C (LyXReplace): don't replace if we don't get the
7470 * undo_funcs.C (createUndo): remove debugging code.
7472 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7474 * buffer.C (parseSingleLyXformat2Token): Use default placement
7475 when reading old floats.
7477 * FloatList.C (FloatList): Change the default placement of figure
7478 and tables to "tbp".
7480 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7482 * MenuBackend.C: using std::max
7484 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7486 * MenuBackend.C (expandToc):
7487 (expandToc2): code moved from xforms menu frontend. It is now
7488 generic and TOCs are transparent to menu frontends.
7490 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7492 * toc.C (getTocList): protect against buf=0
7494 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7495 Menu as first parameter. Now, this calls itself recursively to
7496 expand a whole tree (this will be useful for TOC handling)
7497 (expandFloatInsert): remove 'wide' version of floats
7499 * MenuBackend.h (submenuname): returns the name of the submenu.
7500 (submenu): returns the submenu itself, provided it has been
7501 created by MenuBackend::expand
7503 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7505 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7506 insets which have noFontChange == true. (bug #172)
7508 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7510 * BufferView_pimpl.C: add connection objects and use them...
7513 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * MenuBackend.C (expandLastfiles):
7518 (expandFloatListInsert):
7519 (expandFloatInsert):
7520 (expand): split expand in parts
7522 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7524 * lyx_gui.C: use lyx_gui::exit()
7526 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7528 * LyXAction.C: show the failing pseudo action
7530 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7532 * buffer.C (readFile): Run the lyxconvert script in order to read
7535 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7539 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7541 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7545 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7547 2002-07-22 Herbert Voss <voss@lyx.org>
7550 * lyxlength.[Ch]: add support for the vertical lengths
7552 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7554 * toc.[Ch]: std:: fixes
7556 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7558 * lyxrc.C: do not include lyx_main.h
7560 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7566 * BufferView2.C: include "lyxlex.h"
7569 * bufferparams.h: do not #include "lyxlex.h"
7571 * lyxtextclasslist.C (Add): remove method
7572 (classlist): renamed to classlist_
7574 * paragraph_pimpl.C:
7578 * bufferview_funcs.C:
7583 * toc.C (getTocList): use BufferParams::getLyXTextClass
7585 * toc.C (getTocList): use InsetFloat::addToToc
7587 * toc.[Ch]: new files, containing helper functions to handle table
7590 * lyxfunc.C (dispatch): no need to remove spaces around command
7592 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7593 first command of the sequence; it is not very clever, but I do not
7594 have a better idea, actually
7596 * LyXAction.C (LookupFunc): make sure to remove space at the
7597 beginning and end of the command
7599 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7601 * MenuBackend.C (getMenubar): new method: return the menubar of
7603 (read): treat differently reading of menu and menubar (in
7604 particular, the menubar has no name now)
7605 (Menu::menubar): remove
7607 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7610 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7612 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7613 a bibitem inset in a RTL paragraph.
7615 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7617 * paragraph_pimpl.C: constify
7619 * BufferView_pimpl.C:
7621 * lyxfunc.C: fix dispatch in a nicer way
7623 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7625 * lyxfunc.C (dispatch):
7626 * BufferView_pimpl.C:
7627 * BufferView_pimpl.h:
7629 * BufferView.h: rename Dispatch() to dispatch()
7631 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7633 * lyxlayout.C (Read): honor DependsOn tag
7635 * lyxlayout.[Ch] (depends_on): new method
7637 * version.C.in: update lyx_docversion
7639 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7641 * paragraph.C (validate): remove from here...
7642 * paragraph_pimpl.C (validate): ... and move here
7643 (isTextAt): make it const
7645 * buffer.C (getLists): ws cleanup
7647 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7649 * language.C (read): Use iso8859-1 encoding in latex_lang
7650 (this prevents LyX from crashing when using iso10646-1 encoding).
7652 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7654 * text2.C (toggleInset): if cursor is inside an inset, close the
7655 inset and leave cursor _after_ it
7657 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7659 * lyxfunc.C: move minibuffer completion handling out of here
7661 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7663 * BufferView_pimpl.C:
7664 * LaTeX.C: fix dispatch calls
7666 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7668 * text.C (drawChars): Fix Arabic text rendering.
7670 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7674 * lyxfunc.C: remove message-push/pop
7678 * lyxfunc.C: rationalise some code by removing verboseDispatch
7679 in favour of a bool argument to dispatch()
7681 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7683 * lyx_main.C (init): make sure to read symlinks as absolute paths
7685 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7688 * lyxfunc.C: no need for commandshortcut to be a member
7690 2002-07-15 André Pönitz <poenitz@gmx.net>
7692 * converter.C: add support for $$s (scripts from lib/scripts dir)
7693 * lyx_main.C: white space
7695 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7699 * lyxrc.C: remove second exit confirmation
7701 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7706 * BufferView_pimpl.h:
7707 * BufferView_pimpl.C:
7708 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7710 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7712 * MenuBackend.C (expand): add numeric shortcuts to document menu
7714 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7716 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7718 * lyxfont.C (setLyXFamily):
7725 * buffer.C (asciiParagraph): use ascii_lowercase
7727 2002-07-15 Mike Fabian <mfabian@suse.de>
7729 * lyxlex_pimpl.C (search_kw):
7730 * lyxlex.C (getLongString):
7731 * converter.h (operator<):
7732 * converter.C (operator<):
7733 * buffer.C (parseSingleLyXformat2Token):
7735 * ToolbarDefaults.C (read):
7736 * MenuBackend.C (checkShortcuts):
7738 * LColor.C (getFromGUIName):
7739 (getFromLyXName): use the compare_ascii_no_case instead of
7740 compare_no_case, because in turkish, 'i' is not the lowercase
7741 version of 'I', and thus turkish locale breaks parsing of tags.
7743 2002-07-16 Angus Leeming <leeming@lyx.org>
7745 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7746 now takes a Buffer const & argument.
7748 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7750 * BufferView.C (resize): check there's a buffer to resize
7752 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7754 * lyxfunc.C: remove dead code
7757 * lyxserver.C: use lyx_guii::set_read_callback
7759 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7761 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7762 an inset in a RTL paragraph.
7764 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7766 * lyxfunc.C: repaint after a font size update
7768 2002-07-15 André Pönitz <poenitz@gmx.net>
7770 * lyxlength.C: inBP should be able to return negative values
7772 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7774 * lyxfunc.C: use lyx_gui::update_fonts()
7776 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7778 * lyxfunc.C: use lyx_gui::update_color()
7780 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7786 * lyxrc.C: remove file->new asks for name option, and let
7787 buffer-new take an argument
7789 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7791 * BufferView_pimpl.C: remove unneeded extra repaint()
7793 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7795 * LyXAction.C: allow command-sequence with NoBuffer
7797 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7799 2002-07-10 Angus Leeming <leeming@lyx.org>
7801 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7803 2002-07-09 Angus Leeming <leeming@lyx.org>
7805 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7807 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7809 * lengthcommon.h: whitespace
7811 * lyxfunc.C: update scrollbar after goto paragraph
7813 * lyxtext.h: factor out page break drawing, and fix it so
7814 page break/added space paints as selected nicely
7816 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7818 * BufferView_pimpl.C: add FIXMEs, clean up a little
7820 2002-07-09 André Pönitz <poenitz@gmx.net>
7822 * lyxfont.[Ch]: support for wasy symbols
7824 2002-07-08 André Pönitz <poenitz@gmx.net>
7826 * BufferView_pimpl.C: apply John's patch for #93.
7828 2002-07-05 Angus Leeming <leeming@lyx.org>
7830 * BufferView_pimpl.C (buffer): generate previews if desired.
7832 * LColor.h: add "preview" to the color enum.
7834 * LColor.C (LColor): add a corresponding entry to the items array.
7836 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7839 2002-07-05 Angus Leeming <leeming@lyx.org>
7841 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7842 The body of the code is now in the method that is passed an ostream &
7843 rather than a file name.
7844 Pass an additional only_preamble parameter, useful for the forthcoming
7847 2002-07-03 André Pönitz <poenitz@gmx.net>
7849 * lyxfunc.C: simplify getStatus() a bit for math stuff
7851 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7853 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7855 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * text.C (changeRegionCase): do not change case of all the
7858 document when region ends at paragraph end (bug #461)
7860 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7862 * paragraph.C (startTeXParParams):
7863 (endTeXParParams): add \protect when necessary
7865 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7867 * BufferView_pimpl.C (workAreaExpose): remove warning
7869 2002-06-27 Angus Leeming <leeming@lyx.org>
7871 * Makefile.am: add lyxlayout_ptr_fwd.h.
7873 2002-06-26 André Pönitz <poenitz@gmx.net>
7875 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7877 2002-06-25 Angus Leeming <leeming@lyx.org>
7879 * lyxfunc.C (dispatch): Comment out the call to
7880 grfx::GCache::changeDisplay. The method no longer exists now that the
7881 pixmap generation part of the graphics loader has been moved into
7884 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7886 * text2.C: layout as layout
7888 * text.C: layout as layout
7890 * tabular.C (OldFormatRead): layout as layout
7892 * paragraph_pimpl.C (TeXDeeper): layout as layout
7893 (realizeFont): layout as layout
7895 * paragraph.C (writeFile): layout as layout
7896 (validate): layout as layout
7897 (getFont): layout as layout
7898 (getLabelFont): layout as layout
7899 (getLayoutFont): layout as layout
7900 (breakParagraph): layout as layout
7901 (stripLeadingSpaces): layout as layout
7902 (getEndLabel): layout as layout
7903 (getMaxDepthAfter): layout as layout
7904 (applyLayout): layout as layout
7905 (TeXOnePar): layout as layout
7906 (simpleTeXOnePar): layout as layout
7907 (TeXEnvironment): layout as layout
7908 (layout): layout as layout
7909 (layout): layout as layout
7911 * lyxtextclass.C (compare_name): new functor to work with
7912 shared_ptr, layout as layout
7913 (Read): layout as layout
7914 (hasLayout): layout as layout
7915 (operator): layout as layout
7916 (delete_layout): layout as layout
7917 (defaultLayout): layout as layout
7919 * lyxlayout_ptr_fwd.h: new file
7921 * lyxlayout.C (Read): layout as layout
7923 * lyx_cb.C (MenuInsertLabel): layout as layout
7925 * bufferlist.C (newFile): layout as layout
7927 * buffer.C (readLyXformat2): layout as layout
7928 (parseSingleLyXformat2Token): layout as layout
7929 (insertStringAsLines): layout as layout
7930 (asciiParagraph): layout as layout
7931 (latexParagraphs): layout as layout
7932 (makeLinuxDocFile): layout as layout
7933 (simpleLinuxDocOnePar): layout as layout
7934 (makeDocBookFile): layout as layout
7935 (simpleDocBookOnePar): layout as layout
7936 (getLists): layout as layout
7938 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7940 * CutAndPaste.C (cutSelection): layout as layout
7941 (pasteSelection): layout as layout
7942 (SwitchLayoutsBetweenClasses): layout as layout
7944 * BufferView_pimpl.C (Dispatch): layout as layout
7945 (smartQuote): layout as layout
7947 * BufferView2.C (unlockInset): layout as layout
7949 2002-06-24 André Pönitz <poenitz@gmx.net>
7951 * lyxfunc.C: fix #487
7953 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7957 * lyxfunc.C: remove display_shortcuts, show_banner
7959 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7961 * Buffer_pimpl.C: oops, update on resize
7963 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7970 * BufferView.C: use repaint()
7972 * BufferView_pimpl.h:
7973 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7974 as it's a clearer description. Remove superfluous
7977 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7979 * text.C: fix bug 488. Not ideal, but getting
7980 getWord() to work properly for the insets that
7981 matter is more difficult ...
7983 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7985 * BufferView_pimpl.C:
7988 * lyxfunc.C: remove the six million index lyxfuncs to just
7989 one, and DTRT (bug 458)
7991 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7995 * BufferView_pimpl.h:
7996 * BufferView_pimpl.C: clean up resize() stuff,
7997 and unnecessary updateScreen()s
7999 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8003 * BufferView_pimpl.h:
8004 * BufferView_pimpl.C:
8007 * minibuffer.C: remove focus management of workarea,
8008 not needed. Use screen's greyOut()
8010 2002-06-17 Herbert Voss <voss@lyx.org>
8012 * converter.C: (convert) do not post a message, when converting
8013 fails, let the calling function decide what to do in this case
8015 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxfunc.C: tidy up a little
8019 2002-06-16 <alstrup@diku.dk>
8021 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8022 Got rid of FORMS_H_LOCATION include. Now we are
8025 2002-06-15 LyX Development team <lyx@rilke>
8027 * buffer.[Ch] (sgmlOpenTag):
8028 (sgmlCloseTag): Added support for avoiding pernicious mixed
8029 content. Return number of lines written.
8032 (makeDocBookFile): Fixed calls to sgml*Tag.
8033 Simple white space clean.
8035 (simpleDocBookOnePar): Simple white space clean.
8037 * tabular.[Ch] (docBook): Renamed to docbook and got another
8038 argument to related with the pernicious mixed content.
8040 (docbookRow): Fixed calls for docbook inset method.
8042 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8044 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8045 so it's X11 independent.
8049 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8051 2002-06-15 Lyx Development team <lyx@electronia>
8053 * intl.h: Renamed getTrans to getTransManager.
8055 2002-06-14 Angus Leeming <leeming@lyx.org>
8057 * Makefile.am: nuke forgotten stl_string_fwd.h.
8059 2002-06-12 Angus Leeming <leeming@lyx.org>
8061 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8063 2002-06-13 Angus Leeming <leeming@lyx.org>
8066 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8068 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8070 * kbmap.C (getiso): add support for cyrillic and greek
8072 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8076 * BufferView_pimpl.h:
8077 * BufferView_pimpl.C: move bogus scrolling logic
8080 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8083 * BufferView_pimpl.C: view->resize() change
8085 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8087 * BufferView_pimpl.C: topCursorVisible
8090 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8094 * lyx_gui.C: move to frontends/
8098 * lyx_main.C: changes from above
8100 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8107 * lyx_main.C: minor tidy
8109 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8111 * BufferView_pimpl.h:
8112 * BufferView_pimpl.C:
8114 * BufferView.C: make painter() const,
8117 * BufferView2.C: use screen() accessor
8120 * lyx_main.C: some minor cleanup
8122 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8124 * BufferView_pimpl.h:
8125 * BufferView_pimpl.C: remove enter/leaveView,
8128 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8133 * BufferView_pimpl.h:
8134 * BufferView_pimpl.C: only construct screen once,
8137 * lyxrc.C: remove pointless comment
8139 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8142 * BufferView.C: remove active() and belowMouse()
8144 * BufferView_pimpl.h:
8145 * BufferView_pimpl.C: use workarea() not workarea_,
8146 and make it use a scoped_ptr instead
8148 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8150 * lyx_gui.C: add debug message on BadWindow
8152 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8154 * sp_spell.C: fdopen is not part of the C++ standard.
8156 * paragraph.C (InsetIterator): use >= instead of ==
8158 2002-06-07 Angus Leeming <leeming@lyx.org>
8160 Fixes needed to compile with Compaq cxx 6.5.
8161 * BufferView_pimpl.C:
8168 * lyxtextclasslist.C:
8173 all c-library variables have been moved into namespace std. Wrap
8174 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8179 Add a using std::abs declaration.
8181 * kbmap.h (modifier_pair):
8182 * paragraph.h (InsetTable, InsetList):
8183 * lyxfont.h (FontBits):
8184 type definition made public.
8186 * bufferlist.C (emergencyWriteAll): the compiler complains that
8187 there is more than one possible lyx::class_fun template to choose from.
8188 I re-named the void specialisation as lyx::void_class_fun.
8190 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8192 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8193 the compiler is is unable to find tostr in write_attribute.
8195 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8197 * buffer.C (sgmlError): hide #warning
8199 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8201 * xtl/*: get rid of xtl, which is not in use anyway
8203 * LyXAction.C (init):
8204 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8205 were unimplemented xtl experimentation
8207 2002-06-04 André Pönitz <poenitz@gmx.net>
8209 * lyxfunc.C: disable array operation on simple formulae
8211 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8213 * converter.C: constify a bit
8215 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8217 * lyx_gui.C: check xforms version correctly
8219 2002-04-30 Herbert Voss <voss@lyx.org>
8221 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8224 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8226 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8227 attempt to register it with a VCS)
8229 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8231 * lyx_main.C (init): honor variables LYX_DIR_13x and
8234 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8238 * lyx_main.C: fix a crash on bad command line,
8239 and give a useful exit status on error
8241 * lyxfunc.C (doImport): allow -i lyx to work
8243 2002-03-30 André Pönitz <poenitz@gmx.net>
8245 * lyxfunc.C: mathed font changes
8247 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8262 * trans_mgr.h: srcdocs, and some minor cleanups
8264 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8266 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8267 call getFont all the time)
8269 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8271 * switch from SigC signals to boost::signals
8273 2002-05-29 André Pönitz <poenitz@gmx.net>
8275 * paragraph_pimpl.C (getChar): don't call size() too often...
8277 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8279 * paragraph_pimpl.C (insertChar): do not try to update tables when
8280 appending (pos == size())
8282 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8283 in order to reduce drastically the number of comparisons needed to
8284 parse a large document
8286 2002-05-29 André Pönitz <poenitz@gmx.net>
8292 * textclasslist.[Ch]:
8293 * sp_ispell.h: whitespace change
8295 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8297 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8298 lyxaction directly now.
8300 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8304 * lyxvc.C: remove unused headers
8306 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8313 * undo_funcs.C: some cleanups. Use shared_ptr
8314 and a template for the undo stacks.
8316 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8318 * BufferView_pimpl.h:
8319 * BufferView_pimpl.C:
8326 * text2.C: use key_state/mouse_state
8328 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8330 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8333 * chset.C: change include order
8334 (loadFile): use boost regex and get rid of LRegex and LSubstring
8336 * Makefile.am (BOOST_LIBS): new variable
8339 * LaTeX.C: change include order.
8340 (scanAuxFile): use boost regex and get rid of LRegex and
8344 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8349 * FontInfo.C: moved to frontends/xforms/
8352 * FontLoader.C: moved into frontends for GUIIzation
8357 * lyxfunc.C: changes from above
8359 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8361 * LColor.C: remove spurious X include
8363 * BufferView_pimpl.C:
8368 * text2.C: move font metrics to frontends/
8370 2002-05-24 Juergen Vigna <jug@sad.it>
8372 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8373 setting the undo_cursor.
8375 * ParagraphParameters.h: include local includes first.
8377 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8379 * BufferView_pimpl.C:
8380 * BufferView_pimpl.h:
8384 * screen.C: move WorkArea into frontends/
8390 * BufferView2.C: move LyXScreen into frontends/
8394 * lyx_gui.C: move lyxlookup into frontends/xforms/
8396 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8399 * BufferView_pimpl.C:
8409 * bufferview_funcs.C:
8422 * vc-backend.C: move LyX/XFormsView into frontends/
8424 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8436 * text2.C: move Painter to frontends/
8438 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8440 * buffer.C: comment out some some code that depend upon lyx_format
8443 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8444 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8446 * buffer.h (NO_COMPABILITY): turn off compability
8448 * ColorHandler.C: include scoped_array.hpp
8450 * font.C: Use more specific smart_ptr header.
8453 * ShareContainer.h: ditto
8457 * BufferView_pimpl.h: ditto
8458 * ColorHandler.h: ditto
8460 * kbmap.C (defkey): change call to shared_ptr::reset
8462 2002-05-21 Juergen Vigna <jug@sad.it>
8464 * buffer.C (insertErtContents): fix to insert ert asis if it is
8465 non empty. Skip it completely if it contains only whitespaces.
8467 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8469 * BufferView_pimpl.C:
8470 * BufferView2.C: clear selection on paste (bug 393)
8472 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * DepTable.C: include ctime
8476 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8478 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8480 2002-05-14 Juergen Vigna <jug@sad.it>
8482 * text.C (breakParagraph): fixed function to honor the keepempty
8483 layout in the right maner and also to permit the right breaking
8484 algorithm on empty or non empyt keepempty paragraphs.
8486 * paragraph.C (breakParagraph): we have to check also if the par
8487 is really empty (!size()) for isempty otherwise we do the wrong
8490 2002-05-10 Juergen Vigna <jug@sad.it>
8492 * buffer.[Ch] : The following are only changes to the ert
8493 compatibility read reading old LaTeX layout and font stuff and
8494 convert it to ERTInsets.
8496 * buffer.h: added isErtInset().
8498 * buffer.C (struct ErtComp): add a fromlayout bool to check
8499 if we're inside a LaTeX layout.
8500 (isErtInset): new helper function.
8501 (insertErtContents): look for other ert insets before this one
8502 and insert the contents there, so that we don't have subsequent
8503 ERT insets with nothing between them. This way we create only one
8504 inset with multiple paragraphs. Also check if we don't insert only
8505 spaces ' ' as they are ignored anyway afterwards in the .tex file
8506 so if we have only spaces we will ignore this latex part in the
8508 (parseSingleLyXformat2Token \\layout): better compatibility when
8509 reading layout-latex stuff.
8510 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8512 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8513 stuff after reading the inset only get the information back from
8516 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8518 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8520 * LaTeXFeatures.C (getBabelOptions): New method.
8522 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8524 * BufferView_pimpl.C (Dispatch): work around missing argument for
8527 2002-05-08 Juergen Vigna <jug@sad.it>
8529 * text.C (leftMargin): handle paragraph leftindent.
8531 * paragraph.C (writeFile): write the new \\leftindent tag.
8532 (validate): handle leftindent code.
8533 (TeXEnvironment): handle paragraphleftindent code again.
8535 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8537 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8538 for paragrap_extra indent code and new token \\leftindent.
8539 (latexParagraphs): handle the leftindent as environment.
8541 * ParameterStruct.h: added leftindent support.
8543 * ParagraphParameters.C (leftIndent): added support functions for
8544 the paragraph left indent.
8546 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8549 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8551 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8554 * text.C (computeBidiTables): No bidi in insetERT.
8556 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8559 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8561 * version.C.in: pre 5
8563 2002-05-02 José Matos <jamatos@fep.up.pt>
8564 * buffer.C (makeDocBookFile): white space changes, add newline to
8566 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8568 * tabular.C (docBook): fix typo.
8570 2002-05-03 Juergen Vigna <jug@sad.it>
8572 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8573 change in LyXText as we can not be sure it was not freed.
8574 (drawOneRow): remove unused code.
8576 * text.C (drawInset): redo the calculation of the need_break_row as
8577 it could have a row which was already freed.
8578 (draw): look at the return value of drawInset and return false if
8579 it also returned false.
8580 (paintRowText): look at the return value of draw and return false if
8581 it also returned false.
8583 * lyxtext.h: added bool return type to drawInset() and draw() so that
8584 if we have a change in the row so that the rowbreak has to be redone
8585 we abort drawing as it will be called again.
8587 2002-05-02 Juergen Vigna <jug@sad.it>
8589 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8590 a change in the maintext also if we're inside an inset.
8591 (Dispatch): set the cursor again after a break line and after the
8592 screen has been updated as it could be we're in a different row.
8594 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8595 to set the cursor behind the pargraph with > size().
8596 (setCursor): check also for the same paragraph when checking where
8597 to put the cursor if we have a NFR inset.
8599 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8600 parts of layout read further up as it still was in the wrong
8603 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * screen.C (drawFromTo): change sine fullRebreak always return
8608 * buffer.C (parseSingleLyXformat2Token): reindent some
8610 * BufferView_pimpl.C (update): change since fullRebreak always
8612 (Dispatch): git rid of the last hardcoded "Standard"s.
8614 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8616 * text2.[Ch] (fullRebreak): make it return void now that we always
8619 2002-04-30 Juergen Vigna <jug@sad.it>
8621 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8622 ert compatibility check for "latex" layout.
8624 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8626 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8627 minipages: use col% instead of p%, and also use the current font.
8628 (makeLaTeXFile): Fix use babel condition.
8629 (parseSingleLyXformat2Token): Correct font when reading old floats.
8631 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8633 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8634 inserting list of floats.
8636 2002-04-25 Herbert Voss <voss@lyx.org>
8638 * MenuBackend.C (expand): don't add the graphics extensions to the
8641 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8644 non-existing layout, do not complain if it was the default layout
8645 of the original class (bug #342)
8647 2002-04-24 Juergen Vigna <jug@sad.it>
8649 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8650 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8652 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8654 * buffer.C (getBibkeyList): If using \bibliography, return the
8655 option field with the reference itself. Enables us to provide natbib
8656 support when using \bibliography.
8658 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8660 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8662 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8663 natbib is provided by the LaTeX class.
8665 2002-04-23 Juergen Vigna <jug@sad.it>
8667 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8670 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8672 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8674 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8676 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8677 ensuremath around textordmasculine, textordfeminine and
8680 2002-04-19 Juergen Vigna <jug@sad.it>
8682 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8683 reinitializing the buffer otherwise row-dimensions may be wrong.
8684 (update): reset also the selection cursors if they do exits otherwise
8685 their x/y positions may be wrong.
8687 * text2.C (cursorDown): don't enter the inset if we came from a row
8688 above and are one row over the inset.
8690 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8691 really leaving an inset.
8693 2002-04-18 Juergen Vigna <jug@sad.it>
8695 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8696 of the selected paragraph does not have the selected layout also if
8699 * text2.C (setLayout): fixed bug which did not change last selected
8702 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8703 changed the read and substituted \\end_float with \\end_inset!
8705 * BufferView_pimpl.C (cursorPrevious):
8706 (cursorNext): fixed to make it work with rows heigher than the work
8707 area without moving the cursor only the draw of the row.
8708 (workAreaMotionNotify): fix jumping over high rows.
8710 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8712 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8715 2002-04-16 Juergen Vigna <jug@sad.it>
8717 * text2.C (setCursor): set also the irow().
8718 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8720 (cursorDown): support for locking an inset if the x_fix value goes
8721 inside it. That way I can transverse insets too with cursor up/down.
8723 * lyxrow.h: added irow helper function same as other (i) functions.
8725 * BufferView_pimpl.C (cursorPrevious):
8726 (cursorNext): fixed for insets!
8728 2002-04-15 Juergen Vigna <jug@sad.it>
8730 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8731 position otherwise it is wrong in some cases.
8733 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8734 inside the inset before the call.
8736 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8738 * buffer.[Ch] (getBibkeyList): make it const.
8740 2002-04-12 Juergen Vigna <jug@sad.it>
8742 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8744 * text2.C (getCursorX): new helper function
8745 (setCursor): compute also ix_
8746 (setCursorFromCoordinates): set also ix.
8748 * lyxcursor.h: added ix_ and helper functions.
8750 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8752 * buffer.C (insertStringAsLines): dont break paragraph if the this
8753 paragraph is inside an inset which does not permit it!
8755 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8756 also with no chars on this paragraph.
8757 (paintRowText): only paint stuff if it's inside the workarea!
8759 * paragraph.C (breakParagraph): honor keepempty flag and break the
8760 paragraph always below not above.
8762 * BufferView2.C (unlockInset): update the paragraph layout on inset
8763 unlock as we changed paragraph in such a case.
8765 * lyxfind.C (LyXFind): clear the former selection if not found!
8767 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8768 again called in insertChar().
8770 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8771 an inset which uses the whole row!
8772 (rightMargin): ditto.
8773 (insertChar): force a rebreak if we inserted an inset!
8775 2002-03-28 Herbert Voss <voss@lyx.org>
8777 * lyxlength.[Ch]: add inBP() to get the right PS-point
8778 units (BigPoint). With inPixels we have rounding errors
8780 2002-04-11 Juergen Vigna <jug@sad.it>
8782 * text2.C (setCursorFromCoordinates): set iy to the right value.
8783 (setCursor): add check if row->previous exists!
8785 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8786 an old float_type as this was the case in the old code!
8788 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8790 * BufferView2.C (showLockedInsetCursor): use iy
8791 (fitLockedInsetCursor): ditto
8793 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8794 locked insets as there we have the right value now.
8796 * lyxcursor.C: added iy_ variable and iy functions to set to the
8797 baseline of cursor-y of the locked inset.
8799 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8800 (setCursor): fixed for insets which need a full row.
8802 * text.C (rowLastPrintable): don't ignore the last space when before
8803 an inset which needs a full row.
8804 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8805 as last character of a row when before a inset which needs a full row.
8807 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8809 * version.C.in: update date
8811 * text2.C (fullRebreak): try to always return true and see what
8814 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * MenuBackend.C (expand): use Floating::listName
8818 * FloatList.C (FloatList): add listName argument to the built-in
8821 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8822 text associated with the float.
8824 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8826 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8828 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8830 * ShareContainer.h: add a couple of missing typenames.
8832 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8834 * lyxrc.C (getDescription): use _() correctly rather than N_().
8836 2002-03-28 Herbert Voss <voss@lyx.org>
8838 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8839 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8841 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8843 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8844 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8846 2002-03-29 Juergen Vigna <jug@sad.it>
8848 * lyxfunc.C (dispatch): add a missing fitCursor call.
8850 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8851 it was scrolled by a cursor move, so return the bool status.
8853 * BufferView.C (fitCursor): return the bool flag also to the outside
8854 world as this is needed.
8856 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8858 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8859 call the edit() as it is not needed (and wrong) IMO.
8860 (workAreaButtonPress): set the screen_first variable before evt.
8861 unlock the inset as this may change screen_first and then we have
8862 a wrong y position for the click!
8864 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * MenuBackend.C (expand): another translation that I missed
8868 2002-03-28 Juergen Vigna <jug@sad.it>
8870 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8872 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8874 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8878 * MenuBackend.C (expand): fix export/view/update when there is no
8881 2002-03-27 Herbert Voss <voss@lyx.org>
8883 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8886 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8888 * bufferview_funcs.C (currentState): only show paragraph number
8889 for is DEVEL_VERSION is set.
8891 * lyxfunc.C (dispatch): put warning in INFO channel
8893 * MenuBackend.C (expand): translate the name of floats
8895 * FloatList.C (FloatList): mark the float names for translation
8897 * converter.C (convert): use LibScriptSearch
8899 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8901 * MenuBackend.C (defaults): fix default menu (we might as well get
8904 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8906 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8909 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8911 * lyxvc.C: reorder includes.
8913 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8915 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8918 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8920 * CutAndPaste.C: change layouts earlier on paste
8921 to avoid crashing when calling getFont()
8923 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8925 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8928 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8930 * WorkArea.C: remove 'Pending' debug message.
8932 * most files: ws cleanup
8934 * buffer.[Ch]: ws changes
8936 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8938 2002-03-21 Juergen Vigna <jug@sad.it>
8940 * tabular.C (SetMultiColumn): collapse also the contents of the
8941 cells and set the last border right. Added a Buffer const * param.
8943 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8945 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8948 2002-03-19 Juergen Vigna <jug@sad.it>
8950 * text2.C (clearSelection): reset also xsel_cache.
8952 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8953 where it needs to be called (John tells us to do so too :)
8954 (selectionLost): reset sel_cache.
8956 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8958 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8960 * text2.C (setCursorIntern): put debuging code in INSETS channel
8962 2002-03-19 André Pönitz <poenitz@gmx.net>
8964 * lyxfunc.C: tiny whitespace change
8966 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8968 * ToolbarDefaults.C (init):
8969 * LyXAction.C (init):
8971 * BufferView_pimpl.C (Dispatch):
8972 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8974 2002-03-19 Allan Rae <rae@lyx.org>
8976 * exporter.C (Export): removeAutoInsets before doing anything else.
8977 While I've just introduced a dependency on BufferView this really is
8978 the best place to clean the buffer otherwise you need to cleanup in
8979 a dozen places before calling export or cleanup in a dozen functions
8982 * converter.C (runLaTeX):
8983 (scanLog): Better handling of removeAutoInsets and screen updates.
8985 * lyxfunc.C (dispatch): small whitespace changes
8987 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8989 * WorkArea.C (C_WorkAreaEvent): return a value.
8990 (event_cb): return 1 if we handled the event, 0 otherwise.
8992 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8994 2002-03-18 Juergen Vigna <jug@sad.it>
8996 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8997 (GetAdditionalWidth): ditto.
9001 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9002 inset if we're there actually (probably not used right now but this
9003 is the direction to go for unifying code).
9004 (paste): disable code to clear the selection.
9006 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9007 inside an InsetText and move the check further up as it is in the
9010 * text2.C (pasteSelection): set a selection over the pasted text.
9012 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9014 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9015 and libgraphics to build on Cygwin.
9017 2002-03-15 Juergen Vigna <jug@sad.it>
9019 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9020 inserting an Inset into the paragraph. I know this is not the best
9021 fix but we already use current_view in CutAndPaste so we will remove
9022 all of it's using at the same time.
9024 * buffer.C (sgmlError): deactivated function till it is rewritten in
9025 the right mode, now it can create problems.
9027 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9028 before accessing it.
9030 2002-03-14 Juergen Vigna <jug@sad.it>
9032 * undo_funcs.C (textHandleUndo): do the right thing when updating
9033 the inset after the undo/redo.
9035 * text2.C (setCursor): just some testcode for #44 not ready yet.
9037 * undo_funcs.C (textHandleUndo): set the next() and previous()
9038 pointers of the paragraph to 0 before deleting otherwise we have
9039 problems with the Paragraph::[destructor].
9041 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9042 on a paragraph insertion.
9044 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9046 * buffer.C (asciiParagraph): use += operator for char append to
9049 * paragraph.C (getFontSettings): compare >= not just >
9050 (highestFontInRange): ditto
9053 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9055 * paragraph.C: change several algorithm to be more appripriate for
9056 the problem domain. This is lookip in FontList and in the InsetList.
9058 2002-03-13 André Pönitz <poenitz@gmx.net>
9061 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9063 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9068 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9070 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9072 * Painter.C (display): anon helper function, adjust code for this
9074 (pixmap): remove function.
9076 * Painter.h: remove private display variable.
9078 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9080 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9082 * WorkArea.[Ch]: remove figinset_canvas cruft.
9084 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9086 * lyxtextclass.C (operator): add one item cache optimization.
9088 * bufferlist.h: doxy changes
9090 * bufferlist.C: ws changes
9092 * DepTable.[Ch] (ext_exist): place const in the right spot.
9094 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9096 (workAreaExpose): call resizeInsets when the with BufferView changes.
9097 (Dispatch): adjust for protectedBlank removal
9098 (specialChar): call updateInset if the insert went ok.
9100 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9101 specialChar instead.
9103 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9105 * BufferView.h: doxy change
9107 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9109 * lyxtextclass.C (operator[]): remove non-const version
9110 (defaultLayout): remove non-const version
9112 2002-03-12 Juergen Vigna <jug@sad.it>
9114 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9115 did resize the LyXText too.
9117 * buffer.C (readLyXformat2): set layout information on newly allocated
9120 * tabular.C (OldFormatRead): set layout information on the paragraph.
9122 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9124 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9126 2002-03-11 Juergen Vigna <jug@sad.it>
9128 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9130 (resizeCurrentBuffer): force also the insets to resize themselfes.
9131 (moveCursorUpdate): fixed up for InsetText.
9133 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9136 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9137 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9138 value of Dialogs::tooltipsEnabled().
9139 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9141 2002-03-08 Juergen Vigna <jug@sad.it>
9143 * BufferView_pimpl.C (updateInset): update inset inside inset also
9144 if it isn't inside theLockingInset().
9146 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9148 * buffer.C (asciiParagraph): redo some of the word and line length
9150 (getLists): look for Caption instead of caption.
9152 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9154 * buffer.C (Buffer): initialize niceFile to true
9157 (makeDocBookFile): make sure niceFile is true on exit
9159 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9161 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9163 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9165 * LyXSendto.C: remove.
9166 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9167 * lyx_gui.C: remove now-redundant comment.
9168 * ColorHandler.h: remove forward declaration of class WorkArea.
9169 * lyxfunc.C: remove #include "WorkArea.h".
9171 2002-03-07 Juergen Vigna <jug@sad.it>
9173 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9174 got moved away with the DEPM and also set the inset_owner always
9175 right which before could have been omitted.
9177 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9179 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9180 wanted layout is not found.
9182 2002-03-07 Juergen Vigna <jug@sad.it>
9184 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9186 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9188 * paragraph.C (breakParagraph): use default layout not layout of
9190 (Paragraph): clear ParagraphParameters.
9192 2002-03-06 Juergen Vigna <jug@sad.it>
9194 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9195 otherwise it would not be a valid lenght. Fixed a special case in
9196 the minipage compatibility read where we end the document with a
9199 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9200 was set as it could be 0 for InsetTexts first entry.
9202 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9204 * paragraph.C (writeFile): if layout is empty write out
9205 defaultLayoutName().
9207 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9208 file without named layout we set layout to defaultLayoutName().
9210 2002-03-06 Juergen Vigna <jug@sad.it>
9212 * CutAndPaste.C (copySelection): set layout for new paragraph.
9214 * text.C (prepareToPrint): leave ERT inset left aligned
9215 (leftMargin): don't indent paragraphs inside ERT insets
9217 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9219 * paragraph.C (breakParagraph): dont call clear do the work manually
9221 * paragraph.[Ch] (clear): remove function
9223 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9225 * paragraph.C (Paragraph): dont call clear, the work has already
9228 * lyxtextclass.C (operator): assert if n is empty
9230 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9231 work manually instead.
9233 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9235 * BufferView_pimpl.C: protect selectionLost against text == 0
9237 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * text.C (breakParagraph): fix a setting layout to '0' problem.
9241 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9243 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9244 final location of file, for the included files, and graphics.
9246 2002-03-05 Juergen Vigna <jug@sad.it>
9248 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9250 2002-03-04 Juergen Vigna <jug@sad.it>
9252 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9254 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9255 last column of multicolumn cells.
9256 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9258 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9260 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9261 file if it doesn't go to a temporary file.
9263 * buffer.C (sgmlOpenTag):
9264 (sgmlCloseTag): remove extra newline insertion.
9266 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9268 * text.C (getRowNearY): comment out debug msg
9270 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9272 * text2.C: first -> first_y
9274 * text.C (getRowNearY): add some attemts at a possible
9275 optimization, not working.
9277 * tabular.[Ch]: add BufferParams to several function so that newly
9278 created paragraph can be initialized to he default layotu for the
9281 * tabular-old.C (ReadOld): add buf->params to call of Init
9283 * screen.C: rename text->first to text->first_y
9285 * paragraph.C (breakParagraph): always set layout in the broken
9288 * lyxtextclass.C (Read): remove lowercase
9291 (delete_layout): ditto
9293 * lyxtext.h: rename first -> first_y
9295 * lyxlayout.C (Read): remove lowercase
9298 (obsoleted_by): ditto
9300 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9302 * buffer.C (insertErtContents): add params are to InsetERT
9303 (parseSingleLyXformat2Token): add code to check if a paragraphs
9304 layout really exist.
9305 (parseSingleLyXformat2Token): add params to several inset
9307 (asciiParagraph): remove lowercase, do the layout comparisons with
9310 * BufferView_pimpl.C (cursorNext): first -> first_y
9311 (resizeCurrentBuffer): first -> first_y
9312 (updateScrollbar): first -> first_y
9313 (scrollCB): first -> first_y
9314 (workAreaMotionNotify): first -> first_y
9315 (workAreaButtonPress): first -> first_y
9316 (checkInsetHit): first -> first_y
9317 (cursorPrevious): first -> first_y
9318 (cursorNext): first -> first_y
9319 (Dispatch): add buffer_->params to severl inset contructors
9321 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9323 * lyxlayout.C (Read): remove some debug info that I forgot.
9325 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9326 clean up the code slightly.
9327 (makeLinuxDocFile): ditto
9328 (makeDocBookFile): ditto
9330 * text2.C: layout as string
9332 * text.C: layout as string
9334 * paragraph_pimpl.C: layout as string
9336 * paragraph.[Ch]: layout as string
9338 * lyxtextclasslist.[Ch]: layout as string
9340 * lyxtextclass.[Ch]: layout as string
9342 * lyxtext.h: layout as string
9344 * lyxlayout.[Ch]: layout as string
9346 * lyx_cb.C: layout as string
9348 * bufferview_funcs.C: layout as string
9350 * bufferparams.C: layout as string
9352 * buffer.C: layout as string
9354 * LyXView.[Ch]: layout as string
9356 * LaTeXFeatures.[Ch]: layout as string
9358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9360 * BufferView_pimpl.C: change current_layout to string, remove
9365 (workAreaButtonRelease): layout as string
9367 * BufferView2.C (unlockInset): adjust
9369 * vspace.C (asLatexCommand): use an explict temp variable.
9371 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9373 * Makefile.am: use FRONTEND_*
9375 2002-03-01 Juergen Vigna <jug@sad.it>
9377 * tabular.C (SetWidthOfMulticolCell): changed to something better
9378 I hope but still work in progress.
9379 (recalculateMulticolumnsOfColumn): renamed function from
9380 recalculateMulticolCells as it is more appropriate now.
9381 (SetWidthOfCell): calculate multicols better.
9383 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9385 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9387 * lyxfunc.C (processKeySym): print sequence also if it is
9388 `deleted' (complete)
9390 * kbsequence.C (print): print sequence even if it is deleted
9391 (complete would be a better word, actually).
9393 * lyxfunc.C (dispatch): print complete options after a prefix key
9395 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9397 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9399 * text2.C (setCharFont): eliminate setCharFont code duplication.
9401 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9403 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9404 LFUN_TABULAR_FEATURE (bug #177)
9406 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9408 * Makefile.am: remove figure.h
9410 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9412 * Bufferview_pimpl.C:
9424 * text2.C: remove #include "lyx_gui_misc.h".
9426 * LaTeX.C: added #include <cstdio>
9428 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9430 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9431 that the paragraph following this one can have.
9433 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9435 * vspace.C (asLatexCommand): fix bogus gcc warning
9437 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9439 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9441 * text2.C (setLayout): get rid of redundant code
9443 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9445 * text2.C (incDepth): make sure depth cannot be increased beyond
9448 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9450 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9451 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9453 * PainterBase.h (image):
9454 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9457 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9461 * BufferView_pimpl.C:
9462 * BufferView_pimpl.h:
9482 * sp_spell.C: remove fig inset, and the crap house of
9483 cards that follows it
9485 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9491 * nt_defines.h: move .h into support/
9493 * vms_defines.h: remove
9495 * WorkArea.C: add space in debug output
9499 * buffer.C: add WITH_WARNINGS
9503 * bufferlist.C: s/retrive/retrieve/, add docs
9514 * lyxgui.C: add ID to X error handler
9516 * lyxtestclass.c: fix typo
9518 2002-02-26 Juergen Vigna <jug@sad.it>
9520 * tabular_funcs.C (write_attribute): changed so that some default
9521 attributes are not written at all.
9522 (getTokenValue): set default values before trying to read the
9523 value so we have the return value always set as default if we don't
9524 find the token we search for.
9526 * tabular.C (Write): write bools as bools not as strings!
9528 2002-02-22 Juergen Vigna <jug@sad.it>
9530 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9531 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9533 * text.C (leftMargin): don't add an indent for paragraphs inside
9534 tabular cells (fix #208).
9536 2002-02-21 José Matos <jamatos@fep.up.pt>
9538 * tabular.C (docBook): fixed support for long tables.
9540 2002-02-20 Juergen Vigna <jug@sad.it>
9542 * text2.C (getFont): get the drawing font of the Inset if this
9543 paragraph is inside an inset (only important for InsetERT for now).
9545 * buffer.C (insertErtContents): use new lanugage params in ERT
9548 * CutAndPaste.C: commenting out seemingly uneeded code.
9550 2002-02-19 Allan Rae <rae@lyx.org>
9552 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9553 Iterators might be simple to use but they also get invalidated.
9554 (removeAutoInsets): renamed saved cursor tracking variables and added
9555 some comments to clarify what everything does.
9557 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9564 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9565 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9568 * vc-backend.h: remove #include "support/syscall.h"
9572 * converter.C: rearrange #includes in Lars' approved fashion.
9574 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9575 forward declare class Timeout in the header file.
9577 * XFormsView.C: changes due to the above.
9579 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9582 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9583 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9585 2002-02-18 José Matos <jamatos@fep.up.pt>
9587 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9590 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9592 * a lot of small ws changes
9593 * add a lot of using std::XXX
9594 * use std construcs some places where approp.
9595 * use some exisint stuff from lyxfunctional where approp.
9596 * Make file changes to use partial linking (lets test this now...)
9598 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9602 remove #include "support/syscontr.h" as it's redundant. Always has been.
9610 change Systemcalls::System to Systemcalls::Wait and
9611 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9612 No change of functionality, just reflects the stripped down Systemcalls
9615 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9617 * debug.[Ch]: add a GRAPHICS type to the enum.
9619 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9623 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9626 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9628 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9629 match the changes below.
9631 * text2.C (toggleInset): if there is not editable inset at cursor
9632 position, try to see if cursor is _inside_ a collapsable inset
9635 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9637 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9638 document menu has a nice checkbox
9640 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9642 * lyxlength.C (asLatexString): change PW to output as percent of
9645 * lengthcommon.C: change '%' to 't%'
9647 * lyxfunc.C (dispatch): a few comments from Martin
9649 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9653 * BufferView_pimpl.h:
9654 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9657 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9659 * vspace.C (inPixels): fix compiler warning
9661 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9663 * lyxfunc.C (getStatus): fix status message for disabled commands.
9665 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9667 * BufferView_pimpl.C: fix crash on close buffer
9668 during selection (#227)
9670 2002-01-27 Herbert Voss <voss@lyx.org>
9672 * buffer.C: link old Figure to new graphic inset
9674 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9676 * FontLoader.C (getFontinfo): Change the latex font names in order
9677 to match the names of type1inst.
9679 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9681 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9683 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9686 (remove_files_with_extension): ditto
9687 (remove_file): ditto
9690 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9691 document is smaller than the work area height. Do not initialize
9692 static variables to 0.
9694 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9696 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9698 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9699 LFUN_LAYOUT_PARAGRAPHS.
9701 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9702 tabular. It is possible to provide a possible cell, which will
9703 typically be the actcell from the corresponding insettabular
9705 * lyxfunc.C (getStatus): small cleanup; disable
9706 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9709 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9711 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9713 * paragraph.C (startTeXParParams):
9714 (endTeXParParams): new methods. The LaTeX code to
9715 start/end paragraph formatting
9716 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9717 empty (fixes bug #200)
9719 * vspace.C (inPixels): adapt to the change below
9720 (inPixels): [later] more cleanups (remove unused variables)
9722 * lyxlength.C (inPixels): change to use a width and a height as
9725 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9727 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9728 Replaced with \paperwidth
9730 * DepTable.C (insert): add std:: qualifier
9732 2002-01-18 Allan Rae <rae@lyx.org>
9734 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9737 * text.C (drawInset): Turned out I didn't know enough about how
9738 rebreaking worked. This fixes most of the redraw problems. I see
9739 an occasional cursor trail when a line is broken now and the cursor
9740 placement can seem out by a few pixels also after a rebreak.
9742 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9744 * buffer.C (parseSingleLyXformat2Token): update because minipage
9745 width is now a LyXLength
9747 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9749 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9752 2002-01-17 Juergen Vigna <jug@sad.it>
9754 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9756 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9757 is set correctly and the inset is updated correctly.
9759 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9761 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9762 the beginning of the loop.
9764 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9766 * lyxrc.C: improve help for use_scalable_fonts
9768 2002-01-17 Allan Rae <rae@lyx.org>
9770 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9772 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9775 make sure to set their inset_owner to the right value (bug #171)
9777 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9780 * DepTable.C: Implement mtime checking to reduce time spent doing
9783 2002-01-16 Juergen Vigna <jug@sad.it>
9785 * tabular.C (GetAdditionalHeight): one of error fixed.
9787 * lyxrc.C (output): small fix in writing use_pspell.
9789 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9791 * sp_base.h: #include LString.h
9793 2002-01-16 Allan Rae <rae@lyx.org>
9795 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9796 Can someone check this please?
9798 * text.C (drawInset): It was possible that p.row would be removed by
9799 breakAgainOneRow upsetting a few other settings. There may be another
9800 small tweak possible by setting need_break_row = 0 when p.row has been
9801 removed but I don't know enough about the logic here.
9803 2002-01-15 Allan Rae <rae@lyx.org>
9805 * text.C (insertChar): removed conditional truism.
9807 * BufferView2.C (removeAutoInsets): More tweaks.
9808 cur_par_prev could be a stray pointer. Check for trailing empty line
9809 in case last line was cur_par and only had an error inset on it.
9811 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9816 * vc-backend.C (most methods):
9817 * exporter.C (Export):
9818 * converter.C (convert):
9820 * LyXSendto.C (SendtoApplyCB):
9821 * lyxfunc.C (dispatch):
9825 * lyx_cb.C (AutoSave):
9827 * BufferView_pimpl.C (MenuInsertLyXFile):
9828 * buffer.C (runChktex): use Buffer::filePath().
9830 * buffer.h: rename filename to filename_; rename filepath to
9831 filepath_ and make it private
9832 (filePath): new method
9834 * buffer.C (writeFile): use fileName()
9837 * lyx_main.C (init): fix starting of LyX when the binary is a
9838 link from so,ewhere else.
9840 * minibuffer.C: include <cctype> for isprint
9842 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9844 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9845 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9846 name clash with InsetCollapsable's width function.
9848 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * lastfiles.C: include <iterator>
9852 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9854 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9857 * buffer.C (makeLaTeXFile): ditto.
9858 Also make loop operation more transparent.
9860 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9862 * ToolbarDefaults.C: remove trailing comma closing namespace.
9864 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9866 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9869 * trans.C (Load): comment out unused variable, allowed.
9871 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9873 * minibuffer.[Ch] (append_char): new method to recieve input from the
9874 drop-down completion browser. If a key was pressed, then recieve this
9875 char and append it to the existing string.
9876 (peek_event): modify the positioning data passed to the completion
9877 browser so that it can be placed above the minibuffer rather than below.
9878 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9880 * LyXAction.C (init): alloe error-next for readonly documents.
9882 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9885 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * bufferlist.C (readFile): create the buffer _after_ checking that
9890 * lyxfunc.C (verboseDispatch): fix handling of arguments
9892 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9894 * lyxrc.C: use string::erase() instead of initializing to "".
9897 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9899 * BufferView_pimpl.h:
9900 * BufferView_pimpl.C:
9903 * text2.C: tell X when we have made a selection for copying
9905 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9907 * BufferView_pimpl.C (MenuInsertLyXFile):
9908 * lyxfunc.C (menuNew):
9910 (doImport): add shortcuts to directory buttons
9912 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9915 * lyxfunc.C (setStatusMessage):
9916 (getStatusMessage): new methods
9917 (getStatus):use setStatusMessage instead of setErrorMessage
9918 (dispatch): when function is disabled, set error message here
9919 [instead of in getStatus previously]
9921 * BufferView_pimpl.C (workAreaButtonRelease): update
9922 toolbar/menubar here too.
9924 2002-01-13 Allan Rae <rae@lyx.org>
9926 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9927 Now seems indestructible. Remaining task is to audit all other
9928 code affected by deleteEmptyParagraphMechanism. One small quirk
9929 left is that an empty document with an error in the preamble can
9930 be made to report an error but no error box appears. I don't know
9932 (removeAutoInsets): Improved comments.
9934 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9937 * Thesaurus.C: update for Aiksaurus 0.14
9939 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9941 * text2.C (firstParagraph): removed member function, all uses
9942 replaces with ownerParagraph
9943 (redoParagraphs): here
9945 (toggleAppendix): here
9946 * BufferView2.C (insertErrors): here
9947 (setCursorFromRow): here
9949 2002-01-13 Allan Rae <rae@lyx.org>
9951 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9952 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9953 There is still a way to segfault this although you may have to do this
9954 multiple times: Have an InsetERT with an unknown command in it.
9955 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9956 <down-arrow>, <Enter> again, View->DVI, BANG!
9958 * text2.C (setCursor):
9959 (deleteEmptyParagraphMechanism):
9960 * lyxtext.h (setCursor):
9961 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9962 Making use of the return value may help fix other bugs.
9964 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9966 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9968 * LyXView.C (updateMenubar): call MenuBar::update here
9969 (updateToolbar): but not here
9970 (showState): do not update toolbar/menubar
9972 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9973 should need to care about that.
9975 * lyxfunc.C (verboseDispatch): simplify a bit
9976 (getStatus): have a version which takes a pseudoaction, and
9977 another which requires a (kb_action,string).
9979 * LyXAction.C (retrieveActionArg): make it work also when action
9980 is not a pseudo-action.
9981 (getActionName): simplify a bit
9984 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9986 * lyxfunc.C (verboseDispatch): new families of methods with
9987 several ways to specify a command and a bool to indicate whether
9988 the command name and shortcut should be displayed in minibuffer
9989 (eventually, we could extend that to a finer bitmask like
9990 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9991 (dispatch): the pristine dispatch command which just, well,
9992 dispatchs! Note it still sets its result to minibuffer; I'm not
9995 * lyxfunc.h: remove setHintMessage
9997 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9999 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10001 * BufferView_pimpl.C (specialChar): delete new inset if we have
10002 not been able to insert it.
10004 * kbmap.C: revert to using int instead of kb_action, since all we
10005 are dealing with is pseudo-actions.
10007 * LyXAction.C (searchActionArg): change to return int instead of
10008 kb_action, since the result is a pseudoaction.
10010 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10012 * buffer.C (insertErtContents): Fix (partially) the font bug.
10014 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10016 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10017 as the other one is broken on my machine!
10019 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10022 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10024 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10026 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10027 reflect their actual use. Provide compatibility code for older lyxrc
10030 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10032 change names of popup font variables in line with the changes to lyxrc.C
10034 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10036 * buffer.C (asciiParagraph): avoid outputing a word twice after
10039 * lyxrc.C (getDescription): document that document_path and
10040 template_path can be empty.
10042 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10044 * LaTeXFeatures.C (getMacros):
10045 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10047 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10049 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10051 (getPackages): rename feature "floats" to "float". Use an array to
10052 iterate over 'simple' features (i.e. just a \usepackage). Add
10053 handling of "amsmath" (renamed from "amsstyle").
10055 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10057 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10060 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10062 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10063 FuncStaus::FuncStatus & FuncStaus::some_method().
10065 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10067 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10068 of the func_satus stuff. Edited and massaged in various ways by
10071 * lyxfunc.C (getStatus): use FuncStatus
10073 2002-01-08 Juergen Vigna <jug@sad.it>
10075 * text.C (nextBreakPoint): use function Inset::isChar().
10077 * paragraph.C (TeXOnePar): use function
10078 Inset::forceDefaultParagraphs.
10080 * buffer.C (latexParagraphs): use function
10081 Inset::forceDefaultParagraphs.
10083 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10085 * lyx_gui.C (init): set the style of the menu popups to
10086 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10088 2002-01-07 Juergen Vigna <jug@sad.it>
10090 * text.C (setHeightOfRow): small fix
10091 (prepareToPrint): don't look at alignment if we don't have the place
10094 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10096 * box.C: New file. Move the Box methods and functions out of box.h,
10097 following Lars' suggestion.
10099 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10101 * box.h: #include "support/LOstream.h", needed for inlined function.
10104 * lyxtextclasslist.C: added some using std declarations.
10106 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10108 * box.h: make signed dimensions to allow insets wider than
10109 the screen (bug #162)
10111 * BufferView_pimpl.C: add some insetHit debug
10113 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10115 * vc-backend.C: add FIXME
10117 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10119 * lyxfunc.C (getStatus): enable code for showing math font status
10122 2002-01-07 Juergen Vigna <jug@sad.it>
10124 * text.C (nextBreakPoint): removed debug output not needed anymore.
10126 2002-01-06 Juergen Vigna <jug@sad.it>
10128 * text.C (nextBreakPoint): fixed up this function we had this bug
10129 since ever but now hopefully we break row better.
10130 (insertChar): we have to check if an inset is the next char as it
10131 could now happen that a large inset is causing a break.
10133 2002-01-05 Juergen Vigna <jug@sad.it>
10135 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10136 if it doesn't like to be drawed.
10138 2002-01-04 Juergen Vigna <jug@sad.it>
10140 * BufferView2.C (lockInset): forgot to set a cursor.
10142 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10144 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10146 * FormMathsPanel.C:
10149 * form_maths_panel.C:
10150 * form_maths_panel.h:
10151 * form_maths_panel.fd: implemented sub- and super- buttons in math
10154 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10155 (or ^ space) to be used as in TeX (req'd by André).
10157 * lyxfunc.C: Allow ^ and _ again to be used both as
10158 super/subscript (mathed) and as themselves (in text).
10160 2002-01-03 Allan Rae <rae@lyx.org>
10162 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10163 "LyX" or the filename of the current buffer if it has one. This is a
10164 modified form of John Levon's patch.
10166 * XFormsView.C (setWindowTitle): also set icon title.
10168 * LyXView.h (setWindowTitle): signature changed.
10169 * XFormsView.h (setWindowTitle): ditto.
10171 2002-01-02 Juergen Vigna <jug@sad.it>
10173 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10175 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10177 * screen.C (topCursorVisible): introduce a temp var for
10178 text->cursor.row(), handle the case where this row is null. (kindo
10181 * text2.C (setCursor): add a couple of asserts.
10183 * paragraph.h (inset_iterator): add -> operator
10185 * paragraph.[Ch] (autoDeleteInsets): remove member function
10187 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10188 cursor pos correctly and handle inset deletion by itself.
10189 (insertErrors): move iterator declaration out of for expression
10191 * lyxtextclass.C: add <algorithm>
10193 * Makefile.am: added the new files to sources, removed layout.C
10195 * layout.C: removed file
10197 * layout.h: remove LYX_DUMMY_LAYOUT
10199 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10203 * lyxtextclass.[Ch]:
10204 * lyxtextclasslist.[Ch]: new files
10206 * include order changes to a lot of files, also changes because of
10209 2001-12-27 Juergen Vigna <jug@sad.it>
10211 * buffer.C (asciiParagraph): more fixes.
10213 * tabular.C (ascii): make ascii export support export of only the
10214 data separated by a column-delimiter.
10215 (ascii): better support for ascii export.
10217 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10219 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * tabular_funcs.C: use a "using std::getline" instead of the
10222 previous fix from Angus (necessary for cxx + lyxstring)
10224 2001-12-24 Juergen Vigna <jug@sad.it>
10226 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10228 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10229 problems. First check a minipage also if we have some ert-contents
10230 (not only on par->size(), second set the right depth of the paragraph
10231 on the relink to the root-paragraph-list!
10233 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10234 which then did not anymore update the main paragraphs on undo/redo!
10236 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10238 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10239 code. Support all font-changing funcs (even those which are not in
10240 menu currently). Support for reporting font settings in
10241 mathed (disabled until Andre provides a function on mathed's side).
10243 * func_status.h (toggle): small helper function to set toggle
10246 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10248 * tabular_funcs.C: getline -> std::getline
10250 2001-12-21 Juergen Vigna <jug@sad.it>
10252 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10253 accessed and could be 0 (I couldn't generate this but it seems
10256 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10258 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10259 * tabular_funcs.h: here and include iosfwd
10261 2001-12-20 Juergen Vigna <jug@sad.it>
10263 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10264 inside inset but undo_par was.
10266 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10268 * Thesaurus.C: always include <config.h> in sources.
10272 * box.h: do not include <config.h> in header files
10274 * text.C (paintLastRow): remove unused variable
10276 * text.C (transformChar):
10278 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10280 * Painter.C (text):
10281 * font.C (width): rewrite to use uppercase() instead of
10284 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10286 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10288 * lyxfind.C: clean up of find failure position change
10290 2001-12-20 Juergen Vigna <jug@sad.it>
10292 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10294 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10295 (TeXRow): added to LaTeX a single tabular row.
10296 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10297 (Latex): simplified and finally good LT-h/f support.
10298 (various_functions): just small adaptions for LT-h/f support.
10300 * tabular_funcs.[hC]: added and moved here all not classfunctions
10303 2001-12-19 Juergen Vigna <jug@sad.it>
10305 * tabular.[Ch]: better support for longtabular options (not finished
10308 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10310 * text.C (paintLastRow): use the label font instead of the font of
10311 the last character to compute the size of *_BOX. This makes more
10312 sense and avoids a crash with empty paragraphs.
10313 Use Painter::rectangle to draw EMPTY_BOX.
10315 2001-12-19 Juergen Vigna <jug@sad.it>
10317 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10318 the paragraphs if the replaced paragraph is not the first one!
10319 Tried to delete not used paragraphs but does not work yet so for
10320 now it's inside #ifdef's and by default off!
10322 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * MenuBackend.C: include "lyx_main.h" instead of declaring
10325 lastfiles (actually was declared as LastFiles* instead of a
10328 2001-12-17 Juergen Vigna <jug@sad.it>
10330 * tabular.C (AppendColumn): applied John's fix
10332 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10336 * BufferView_pimpl.h:
10337 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10340 * box.h: new start of class for above
10342 * lyxfunc.C: ignore space-only minibuffer dispatches.
10343 Show the command name when it doesn't exist
10345 * minibuffer.C: don't add empty lines to the history
10347 * minibuffer.C: add a space on dropdown completion
10349 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10351 * text.C: fix line above/below drawing in insets
10353 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * lyxlength.C (LyXLength): Initialize private variables.
10357 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10359 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10360 when inserting error insets.
10362 2001-12-13 Juergen Vigna <jug@sad.it>
10364 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10365 actually sometimes the before-paragraph.
10366 (setUndo): don't clear the redostack if we're not actually undoing!
10368 2001-12-06 Juergen Vigna <jug@sad.it>
10370 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10371 and fixed redoing of main paragraph, so we can use it now ;)
10373 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10375 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10380 2001-12-13 André Pönitz <poenitz@gmx.net>
10383 * undo_func.C: minor cleanup
10385 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10387 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10388 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10389 font in urw-fonts package which is marked as -urw-fontspecific and
10390 does not work (incidentally, changing the encoding in the
10391 fonts.dir of this package to -adobe-fontspecific fixes the
10394 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10395 is a crash when undoing first paragraph (Juergen, please take a
10396 look). THis does not mean the undo fix is wrong, just that it
10399 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10400 the (Paragraph*) version when needed instead of duplicating the
10403 * text.C (workWidth): use Inset::parOwner to find out where the
10404 inset has been inserted. This is a huge performance gain for large
10405 documents with lots of insets. If Inset::parOwner is not set, fall
10406 back on the brute force method
10408 * paragraph_pimpl.C (insertInset):
10409 * paragraph.C (Paragraph):
10410 (cutIntoMinibuffer): set parOwner of insets when
10411 inserting/removing them
10413 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10415 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10421 * mathed/formulabase.C:
10422 * mathed/math_cursor.[Ch]:
10423 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10426 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10428 * lyxlength.[Ch] (operator!=): new function
10430 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10432 * text.C (workWidth): use Inset::parOwner to find out where the
10433 inset has been inserted. This is a huge performance gain for large
10434 documents with lots of insets. If Inset::parOwner is not set, fall
10435 back on the brute force method
10437 * paragraph_pimpl.C (insertInset):
10438 * paragraph.C (Paragraph):
10439 (cutIntoMinibuffer): set parOwner of insets when
10440 inserting/removing them
10442 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10444 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10446 * tabular-old.C (getTokenValue):
10447 * tabular.C (getTokenValue):
10448 (write_attribute): new versions for LyXLength
10449 (everywhere): adjust the use of widths
10451 * tabular.h: change the type of widths from string to LyXLength
10453 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10455 * paragraph.C: fixed missing line number count when exporting
10456 Environments to LaTeX file
10458 * buffer.C: added informational message for checking line numbers.
10460 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10462 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10463 paragraph, do the 'double space' part, but not the 'empty
10466 * text.C (workWidth): small optimization
10467 (getLengthMarkerHeight): use minimal size for negative lengths.
10469 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10471 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10473 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10475 2001-12-11 André Pönitz <poenitz@gmx.net>
10478 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10480 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10482 * text2.C: keep selection on a setFont()
10484 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10486 * lyx_cb.C: another bv->text misuse, from insert label
10488 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10491 * kbsequence.C: re-instate nmodifier mask
10493 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10495 * lyx_main.h: make lyxGUI private.
10497 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10499 * lyxfind.C: place the cursor correctly on failed search
10501 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10503 * text.C (getLengthMarkerHeight): for small heights, the arrows
10504 are not always on top/bottom of the text
10505 (drawLengthMarker): smaller arrows; take the left margin in
10506 account; draw also vfills.
10508 (paintLastRow): remove special code for vfill and standard spaces,
10509 since everything is handled in drawLengthMarker now.
10511 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10513 * buffer.C (insertErtContents): try to handle font and language
10514 interaction a bit better.g
10516 * ColorHandler.C (updateColor): change the hash to cover the whole
10517 LColor enum, ws cleanup
10518 (getGCLinepars): ditto
10519 (getGCLinepars): only lookup in the linecache once.
10521 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10523 * iterators.C (operator++): Make the iterator more robust
10525 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10529 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10532 * text.C: better added space drawing
10534 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView2.C: fix layout combo update on inset unlock
10539 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10541 * Makefile.am: don't compile unused files
10543 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10547 * LyXAction.C: remove old LFUN_LAYOUTNO
10549 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10551 * paragraph_pimpl.h:
10552 * paragraph_pimpl.C: isTextAt() doesn't need font param
10554 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10557 * lyxlex.C: little cleanup
10559 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10561 * BufferView_pimpl.C: fix insertAscii for insets
10563 2001-12-05 Juergen Vigna <jug@sad.it>
10565 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10566 set the right font on the "multi" paragraph paste!
10568 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10574 * lyxlength.C: remove out-commented code.
10576 * BufferView_pimpl:
10590 * vc-backend.C: change "while(" to "while ("
10592 * lyxlength.[Ch]: add zero function to check if length is zero or
10594 * lyxgluelength.C: use it
10596 2001-12-05 Allan Rae <rae@lyx.org>
10598 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10599 Works for 2.95.3, from what I understand of Garst's reports this should
10600 work for other g++ versions. We're screwed if the abs(int) definition
10601 changed between bugfix releases of gcc.
10603 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10605 * text.C: fix chapter label offset !
10607 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10610 * text.C: fix hfill at end of line, clean up
10612 2001-12-04 Juergen Vigna <jug@sad.it>
10614 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10615 that we force an update of the inset and it's owners if neccessary.
10617 2001-12-03 Juergen Vigna <jug@sad.it>
10619 * text.C (rowLast): simplified code
10621 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10623 * lyxfunc.C: fix show options on timeout
10625 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10627 * screen.C (topCursorVisible): scroll half a page when the cursor
10628 reached top of bottom of screen
10630 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10632 * minibuffer.C: deactivate on loss of focus
10634 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10636 * vspace.[Ch] (operator!=): add operator.
10638 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10640 * BufferView_pimpl.C: refuse to open an inset when
10641 there's a selection.
10643 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10645 * BufferView_pimpl.C: allow to click on RHS of full row insets
10647 2001-11-30 Juergen Vigna <jug@sad.it>
10649 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10650 insets for undo reasons.
10652 2001-11-28 André Pönitz <poenitz@gmx.net>
10654 * vspace.[Ch]: cosmetical changes
10656 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10666 * kbsequence.C: part re-write of old kb code
10669 * WorkArea.C: remove Lgb_bug_find_hack
10671 2001-11-30 José Matos <jamatos@fep.up.pt>
10673 * buffer.C (makeDocBookFile): add a comment to point a hack.
10674 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10675 Fixed a double write of labels.
10677 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10680 * LaTeX.h Fixed bug in LaTeX class where it would not
10681 re-run latex if no depfiles were changed, but the .dvi was removed.
10683 2001-11-28 André Pönitz <poenitz@gmx.net>
10685 * all the files from the change on 2001/11/26:
10686 use lyx::layout_type instead of LyXTextClass::size_type
10687 use lyx::textclass_type instead of LyXTextClassList::size_type
10689 2001-11-29 Juergen Vigna <jug@sad.it>
10691 * text.C: added support for paragraph::isFreeSpacing()
10693 * buffer.C: same as above
10695 * paragraph.h: inserted isFreeSpacing() function to enable
10696 FreeSpacing inside InsetERT.
10698 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10699 of the paragraph's in the cut/copy buffer to 0!
10701 * text2.C (removeRow): remove the assert as it can!
10703 * lyxtext.h: added helper function firstRow returning firstrow and
10704 made firstrow private again.
10706 * BufferView2.C (lockInset): don't relock if we're already locked!
10708 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10709 the only paragraph.
10710 (removeRow): added Assert::(firstrow)
10712 * debug.C: forgot to add INSETTEXT here.
10714 2001-11-28 Juergen Vigna <jug@sad.it>
10716 * sp_spell.C (initialize): changed error text to more general
10717 spellchecker command use (not only ispell!)
10719 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10721 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10723 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10725 * vspace.C: initialise lyxgluelength on failure
10727 2001-11-28 Allan Rae <rae@lyx.org>
10729 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10730 declaration & definition that looks like a function declaration.
10732 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10734 * BufferView2.C (copy):
10735 (copyEnvironment): do not clear the selection when doing a copy.
10737 * text.C (paintFirstRow): compilation fix
10739 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10741 * tabular.C (Latex): correct line count when writing latex.
10743 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10745 * paragraph_pimpl.h:
10746 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10749 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10753 * LColor.C: change vfillline->added_space
10755 * text.C: add markers and text for added space
10757 * vspace.C: fix comment
10759 2001-11-28 André Pönitz <poenitz@gmx.net>
10761 * paragraph.C: whitespace changes
10762 * all the other files from the change on 2001/11/26:
10763 change *::pos_type into lyx::pos_type
10765 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10767 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10768 language of the document when inserting error insets.
10770 2001-11-26 André Pönitz <poenitz@gmx.net>
10772 * BufferView_pimpl.[Ch]:
10780 * paragraph_pimpl.[Ch]:
10783 * text2.C: reduce header dependencies, introduce type for positions
10785 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10787 * <various>: change to use Alert.h
10789 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10791 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10792 when encountering an unknown token.
10793 (readLyXformat2): Show an error message if there were unknown tokens.
10795 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10798 * BufferView_pimpl.C:
10802 * text2.C: use par->isInset()
10804 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10806 * paragraph_pimpl.h:
10807 * paragraph_pimpl.C: cleanup
10809 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10811 * text2.C (removeRow):
10812 * text.C (setHeightOfRow): remove useless (and costly) call to
10815 2001-11-20 Allan Rae <rae@lyx.org>
10817 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10818 Now need Inset*::checkInsertChar() to return true for appropriate
10819 cases so that the characters in the minibuffer will actually be
10822 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10824 * text.C: change the order of the includes.
10825 (workWidth): initialize it at once.
10826 (workWidth): make maxw unsigned
10827 (setHeightOfRow): remove unused variable (inset)
10828 (selectSelectedWord): remove unused variable (inset)
10829 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10831 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10833 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10834 server is not running.
10836 (closeConnection): add debug info when server is disabled.
10838 * ColorHandler.C (getGCForeground): send debug message to GUI
10841 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10843 * kbmap.C (bind): modify because return conventions of
10844 kb_sequence::parse have changed.
10846 * kbsequence.C (parse): only ignore spaces and not any stupid
10847 control character. This avoids tests like s[i] <= ' ', which are
10848 guaranteed to fail with 8bit characters and signed chars.
10849 Change return code to string::npos when there have been no error
10850 (0 was a bad idea when error is at first character)
10852 2001-11-14 José Matos <jamatos@fep.up.pt>
10855 * buffer.C (simpleDocBookOnePar): removed unused argument.
10857 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10859 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10860 insets which are part of a word. Paragraph::isLetter takes care of
10861 that now. Use Paragraph::isInset to identify insets.
10862 (selectSelectedWord): do not test for hyphenation break.
10864 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10865 that protected spaces are considered as spaces.
10867 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10870 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10873 * lyxserver.C: fix it. and small cleanup.
10875 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10877 * BufferView_pimpl.C: use inline helpers
10880 * LaTeXFeatures.C: fix typos
10883 * Spacing.C: move spacing_string into class
10885 * ToolbarDefaults.C: move stuff into namespace anon
10887 * layout.h: update enum
10889 * lyxfunc.C: use better debug
10891 * minibuffer.h: fix typo
10895 * WorkArea.C: add and use Debug::WORKAREA
10899 * text2.C: code re-organisation, inline helpers
10901 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10903 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10904 std::vector.empty().
10906 2001-11-09 Allan Rae <rae@lyx.org>
10908 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10909 '\n's after tables. Tabular and ERT inset work now makes this no
10912 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10915 * minibuffer.C: fix crash, improve drop-down completion
10917 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10920 * lyxserver.C: invalidate fd's when doing endPipe()
10922 2001-11-08 José Matos <jamatos@fep.up.pt>
10924 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10925 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10928 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10930 2001-11-07 José Matos <jamatos@fep.up.pt>
10933 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10936 * buffer.C (sgmlOpenTag):
10937 * buffer.C (sgmlCloseTag): removed debug info.
10939 * buffer.h (sgmlOpenTag):
10940 * buffer.h (sgmlCloseTag): made public.
10942 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10944 * buffer.C (saveParamsAsDefaults):
10945 * lyx_cb.C (MenuLayoutSave): remove
10947 * LyXAction.C (init):
10949 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10951 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10953 * buffer.C (setPaperStuff): removed from here...
10955 * bufferparams.C (setPaperStuff): ... and moved there.
10957 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10961 * XFormsView.C: add support for drop-down completion
10963 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10965 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10968 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10970 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10973 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10975 * lyx_main.C: change ref to known bugs
10977 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10979 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10980 to work around older babel problems.
10982 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10984 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10986 2001-10-24 Juergen Vigna <jug@sad.it>
10988 * tabular-old.C (ReadOld): below variable changes reflected.
10990 * tabular.[Ch]: added ltType struct for longtable header/footer
10991 defines and changed all instances where they are used. Added
10992 future support for double top/bottom rows.
10994 2001-10-24 José Matos <jamatos@fep.up.pt>
10996 * buffer.h (docbookHandleCaption):
10997 * buffer.C (docbookHandleCaption): removed unused function.
10998 (makeDocBookFile): moved docbook supported version to v4.1.
11000 2001-10-24 José Matos <jamatos@fep.up.pt>
11003 * tabular.C (docbookRow): new function to export docbook code of a row.
11004 (DocBook): now honors the longtable flags.
11006 2001-10-23 José Matos <jamatos@fep.up.pt>
11009 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11010 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11012 * buffer.C (makeLinuxDocFile):
11013 (makeDocBookFile): reworked the preamble, more clean, and with
11014 support for lyx defined entities. Changed the document declaration
11015 to be more XML friendly.
11017 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11018 if we need to output XML that should be done with a filter.
11020 2001-10-22 Juergen Vigna <jug@sad.it>
11022 * sp_pspell.h (class PSpell): add alive function needed in the
11023 controller to see if the spellchecker could be started.
11025 2001-10-22 Juergen Vigna <jug@sad.it>
11027 * buffer.C (insertStringAsLines): modify the font for inserting
11028 chars in certain conditions by calling checkInsertChar(font).
11030 2001-10-19 Juergen Vigna <jug@sad.it>
11032 * text.C (workWidth): use getRow instead of wrong algorithm.
11033 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11035 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11040 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11042 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11044 * text.C (workWidth): do not search for the exact row when
11045 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11046 optimization for big documents.
11048 2001-10-18 Juergen Vigna <jug@sad.it>
11050 * text.C (workWidth): new function with added Inset * parameter.
11052 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11054 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11056 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11057 change return type of getColumnNearX.
11060 * text.C (changeRegionCase): use uppercase/lowercase instead of
11063 (rightMargin): simplify code by factoring out the uses of
11068 (appendParagraph): use Paragraph::size_type
11070 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11072 * vspace.C (asLatexString): add a missing break
11074 2001-10-15 Herbert Voss <voss@perce.de>
11076 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11078 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11080 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11083 2001-10-10 André Pönitz <poenitz@gmx.net>
11085 * lyxfunc.C: removed greek_kb_flag.
11087 2001-10-10 Herbert Voss <voss@perce.de>
11089 * lyx_main.C: delete global string help_lyxdir.
11091 2001-10-09 Herbert Voss <voss@perce.de>
11093 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11095 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11097 * lyx_main.C: added global string help_lyxdir.
11099 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11101 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11103 * lyxrc.C (set_font_norm_type): support iso8859-4
11105 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11107 * LaTeX.C (deplog): add another regex for MikTeX
11109 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11111 * lyxrc.C (set_font_norm_type): support iso8859-3
11113 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11115 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11117 * LaTeXFeatures.C: remove special case of french and index
11119 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11120 before \begin{document}). This solves several incompatibilities.
11122 2001-10-03 Garst Reese <reese@isn.net>
11124 * lyx_cb.C: change CheckTex error msg.
11126 2001-10-03 José Matos <jamatos@fep.up.pt>
11128 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11130 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11132 * .cvsignore: update
11134 * lyx_main.C (commandLineVersionInfo): use new style version info.
11136 * buffer.C (writeFile):
11138 (makeLinuxDocFile):
11139 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11141 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11143 * version.h: update to use stuff in version.C
11145 * version.C.in: new file. Contains version information determined
11146 at compile time. This is a merging of version.h and
11149 2001-10-03 Juergen Vigna <jug@sad.it>
11151 * BufferView_pimpl.C (update): don't change "dirty" status in
11154 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11156 * WorkArea.C (c-tor): re-position version string slightly.
11158 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11160 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11161 revert to previous code.
11163 WorkArea.[Ch]: (show, destroySplash): methods removed.
11165 WorkArea.C: rework code so that it's an amalgam of the codes before and
11166 after the splash screen was moved to WorkArea.
11168 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * vspace.C (inPixels):
11174 * buffer.C (insertStringAsLines):
11175 (asciiParagraph): fix types to be large enough
11177 * lyxlex_pimpl.h: change member status from short to int
11179 * layout.h: fix type of endlabeltype
11182 * kbsequence.C (parse): change return type to string::size_type
11184 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11187 * Bullet.C (bulletSize):
11188 (bulletEntry): do not use short ints as parameters
11190 * BufferView2.C (insertLyXFile): change a char to an int.
11192 * WorkArea.C (WorkArea): remove unneeded floats in computation
11194 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11196 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11198 * paragraph.C (asString): Do not ignore newline/hfill chars when
11199 copying to the clipboard.
11201 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11203 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11204 after a multi-line inset.
11206 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11208 * paragraph.C (validate): Set NeedLyXFootnoteCode
11210 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11212 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11213 and decrease-error to decrease.
11215 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11217 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11218 it more readable (should be equivalent)
11220 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11222 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11224 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11226 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11227 of a cursor (row, etc.) after a character has been deleted
11228 (deleteEmptyParagraphMechanism): call the method above on _all_
11229 cursors held by the LyXText when a double space has been
11232 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11234 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11236 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11238 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11239 background. Use greyOut() and the new show() methods to toggle between
11240 the foreground and background. Add code to remove the splash after
11241 its initial showing.
11243 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11244 (create_forms): no longer call Dialogs::showSplash.
11246 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11248 * .cvsignore: add version_info.h
11250 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11252 * version_info.h.in: new file
11254 * Makefile.am: add version_info.h.in
11256 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11257 version_info.h instead of VERSION_INFO
11259 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11261 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11262 The ERT inset now returns string().
11264 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11266 * lyxtext.h, text.C (selectNextWord): renamed as
11267 selectNextWordToSpellcheck.
11269 * text.C (selectNextWordToSpellcheck): Modified to not select
11270 words inside an ERT inset.
11272 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11274 * lyx_cb.C (MenuLayoutSave): change a bit the question
11276 * sp_base.h: include <sys/types.h>
11278 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11280 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11282 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11284 * several files: fix typos in user-visible strings
11286 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11288 * text2.C (pasteSelection): do not set the selection, since it
11289 will be cleared later. Actually, the intent was to fix the way the
11290 selection was set, but I figured rmoving the code was just as good.
11292 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11294 * FontLoader.C (available): Check if font is available without
11297 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11299 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11301 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11303 * lyxrc.[Ch]: added display_graphics variable and associated code.
11305 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11307 * bufferparams.C (hasClassDefaults): new method. Returns true if
11308 the buffer parameters correspond to known class defaults
11310 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11312 * XFormsView.C (show): set minimum size to the main window.
11314 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * text2.C (copySelection):
11318 * lyxfind.C (LyXReplace):
11319 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11320 LyXText::selectionAsString.
11322 * paragraph.C (asString): add "label" argument to the second form
11324 * text2.C (selectionAsString): add "label" argument and pass it to
11325 Paragraph::asString.
11327 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11329 * lyx_main.C (commandLineHelp): remove version information
11331 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11333 * lyx_main.C: add -version commandline option
11335 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11337 * paragraph.h: make the optional constructor arg required instead.
11338 some modifications to other files because of this.
11340 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11342 * lyxserver.C (C_LyXComm_callback): make it static
11344 * lyx_main.C (error_handler): make it static
11346 * lyx_gui.C (LyX_XErrHandler): make it static
11348 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11350 * WorkArea.C: make the extern "C" methods static.
11352 * Makefile.am (lyx_LDADD): simplify
11354 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11356 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11357 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11359 * LyXAction.C (init):
11360 * lyxfunc.C (dispatch): associated code removal.
11362 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11364 * lyxfont.h (isSymbolFont): shut off warning
11366 * text.C (setHeightOfRow):
11367 (getVisibleRow): fix crash with empty paragraphs which have a
11370 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11372 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11375 2001-09-04 José Matos <jamatos@fep.up.pt>
11378 * tabular.C (docbook): rename docBook method to docbook.
11380 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11382 * Makefile.am: add dependencies to main.o.
11384 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11386 * FontLoader.C (available): Return false if !lyxrc.use_gui
11388 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11390 * FontInfo.C (query):
11391 * converter.C (view):
11392 * importer.C (Import):
11393 * exporter.C (Export): Can not -> cannot.
11395 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11397 * BufferView_pimpl.C: allow to create index inset even if
11400 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11402 * buffer.C (getLists): replace boost::tie code with an explicit pair
11403 as boost::tie can break some compilers.
11405 * iterators.h: Added a std:: declaration to the return type of
11408 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11410 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11413 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11415 * iterators.[Ch]: New files. Provide paragraph iterators.
11417 * buffer.C (changeLanguage): Use paragraph iterators.
11418 (isMultiLingual): ditto
11420 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11422 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11424 * FontLoader.C: Support for cmr font.
11426 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11428 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11429 (available): New method.
11431 * FontInfo.C (getFontname): Use scalable fonts even when
11432 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11435 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11437 * converter.C (Formats::view): reverted! Incorrect fix.
11439 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11441 * converter.C (Formats::view): only output the -paper option
11442 if the dvi viewer is xdvi, thereby fixing bug #233429.
11444 2001-08-23 Herbert Voss <voss@perce>
11446 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11448 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11450 * Spacing.h (Spacing): Set space to Default on in the default
11453 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * vc-backend.h (RCS::versionString): add RCS to version
11456 (CVS::versionString): add CVS to version
11458 * vc-backend.C (scanMaster): do not add CVS to version.
11459 (scanMaster): do not add RCS to version
11461 * lyxvc.C (versionString): new method
11463 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11465 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11467 * Spacing.C (set): initialize fval
11469 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11471 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11474 2001-08-16 Juergen Vigna <jug@sad.it>
11476 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11478 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11480 * BufferView_pimpl.C:
11483 * text2.C: setParagraph takes linespacing now
11485 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11487 * LyxAction.C: add internal LFUN_CITATION_INSERT
11489 * LyXView.C: actually apply fix
11491 * bufferlist.C: fix open non-existent file
11493 * lyxfind.C: fix indentation
11495 * lyxfunc.C: remove unneeded assert, fix typo
11497 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11499 * MenuBackend.C: use "Floatname List"
11501 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11503 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11504 when converting LaTeX layout to insetERT.
11505 Generate a non-collapsed float when reading old float
11507 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11509 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11512 2001-08-13 Juergen Vigna <jug@sad.it>
11514 * text.C (fill): return 0 instead of 20 as this seems to be the more
11517 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11519 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11522 2001-08-13 Juergen Vigna <jug@sad.it>
11524 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11526 (SearchBackward): comment out the unlocking of the inset_owner this
11527 should not be needed!
11529 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11531 * Many files: Remove inherit_language, and add latex_language
11533 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11534 collapsible insets.
11536 2001-08-10 Juergen Vigna <jug@sad.it>
11538 * text.C (prepareToPrint): fixed hfill-width in draw!
11540 * BufferView2.C (selectLastWord): save the selection cursor as this
11541 now is cleared in the function LyXText::clearSelection!
11543 2001-08-08 Juergen Vigna <jug@sad.it>
11545 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11546 BACKSPACE type functions.
11548 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11549 is only cutted from the document but not put in the cut-buffer, where
11550 still the old stuff should be.
11552 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11554 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11556 * tabular.C (SetWidthOfCell): fixed special case where the width
11558 (LeftLine): handle '|' in align_special.
11560 (LeftAlreadyDrawed): ditto
11561 (SetWidthOfCell): ditto
11563 2001-08-07 Juergen Vigna <jug@sad.it>
11565 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11567 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11570 * lyxlex.[hC]: ditto
11572 2001-08-06 Juergen Vigna <jug@sad.it>
11574 * text.C (getVisibleRow): fix up row clearing a bit.
11576 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11578 * minibuffer.C: make sure the X server sees the changes in the input.
11580 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11582 * paragraph.C (getFont): split into...
11583 (getLabelFont): this
11584 (getLayoutFont): and this
11585 * paragraph_pimpl.C (realizeFont): calling this
11587 * text2.C (getFont): split into...
11588 (getLayoutFont): this
11589 (getLabelFont): and this
11590 (realizeFont): all three calling this
11592 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11595 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11597 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11599 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11601 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11602 layouts from the Quote inset insertion.
11604 2001-08-03 Juergen Vigna <jug@sad.it>
11606 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11608 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11609 only if status not is already CHANGED_IN_DRAW (second level).
11611 * text.C (draw): don't set the need_break_row when inside an
11614 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11616 * buffer.C (parseSingleLyXformat2Token): handle more latex
11619 * bufferview_funcs.[hC]: change function names to
11620 begin with small char, adjust other files.
11622 2001-08-02 André Pönitz <poenitz@gmx.net>
11625 BufferView_pimpl.C: remove broken special code for math-greek
11627 2001-08-02 Juergen Vigna <jug@sad.it>
11629 * BufferView_pimpl.C (update): redone this function so that we
11630 update the text again if there was a CHANGE_IN_DRAW.
11632 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11633 (drawFromTo): added a new internal bool which is used by draw() and
11635 (general): some cursor drawing problems fixed.
11637 2001-08-01 Juergen Vigna <jug@sad.it>
11639 * lyxfind.C (LyXFind): fixed
11640 (SearchForward): ditto
11641 (SearchBackward): ditto
11643 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11644 spurius drawing of the cursor in the main area.
11646 * text2.C (status): small fix which could lead to a segfault!
11647 (clearSelection): remove unneeded BufferView param.
11649 2001-08-01 André Pönitz <poenitz@gmx.net>
11651 * lyxfunc.C: small change due to changed mathed interface
11653 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11655 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11657 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11659 * lyxfunc.c: fail gracefully if file doesn't exist
11664 * BufferView_pimpl.C: IsDirWriteable() proto changed
11666 * LyXView.C: fix updateWindowTitle() to store the last title
11668 2001-07-31 Juergen Vigna <jug@sad.it>
11670 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11671 the font (wrong since using of Paragraph::highestFontInRange).
11673 * paragraph.C (highestFontInRange): added a default_size parameter.
11675 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11676 (setHeightOfRow): reformat
11678 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11680 * converter.[hC] + affected files: move to (inital-char)lowercase
11683 * ParagraphParameters.C (ParagraphParameters): remove commented code
11685 * PainterBase.[Ch]: remove commented code
11687 * LaTeXFeatures.h: add "bool floats" for float.sty
11689 * LaTeXFeatures.C (LaTeXFeatures): init floats
11690 (require): handle float
11691 (getPackages): do it with floats
11693 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11695 * BufferView_pimpl.C (Dispatch): improve handling of
11696 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11698 * commandtags.h: #include lyxfont.h here temporarily to avoid
11701 * bufferlist.h: include LString.h here.
11703 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11705 * text2.C (getStringToIndex): new method.
11707 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11709 * *: Reduced header file dependencies all over.
11711 2001-07-30 Baruch Even <baruch@lyx.org>
11713 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11715 2001-07-29 Baruch Even <baruch@lyx.org>
11717 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11719 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11721 * ParameterStruct.h (endif): add a default constructor to make
11722 sure that all variables is initialized.
11724 * ParagraphParameters.C (ParagraphParameters): adjust
11726 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11728 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11729 index; also, check that there is something to index, and that it
11730 does not span over several paragraphs.
11731 (doubleClick): use WHOLE_WORD_STRICT for double click.
11733 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11735 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11738 2001-07-26 Baruch Even <baruch@lyx.org>
11740 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11741 an InsetFig figure, backwards compatible reading of old figure code.
11743 2001-07-27 Juergen Vigna <jug@sad.it>
11745 * text2.C: font.realize function adaption.
11747 * text.C (draw): add a warnings lyxerr text if needed.
11749 * layout.C: font.realize function adaption.
11751 * language.C: add inherit_language and implement it's handlings
11753 * bufferview_funcs.C (StyleReset): remove language parameter from
11754 font creation (should be language_inherit now).
11756 * bufferparams.C (writeFile): handle ignore_language.
11758 * paragraph.C (getFontSettings): the language has to be resolved
11759 otherwise we have problems in LyXFont!
11761 * lyxfont.C (lyxWriteChanges): added document_language parameter
11762 (update): removed unneeded language parameter
11764 * paragraph.C (validate): fixed wrong output of color-package when
11765 using interface colors for certain fonts in certain environments,
11766 which should not seen as that on the final output.
11768 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11770 * BufferView_pimpl.C:
11775 * LyXAction.C: add thesaurus support
11778 * lyxfind.C: add "once" parameter, for thesaurus, to not
11779 move to the next match
11781 2001-07-26 Juergen Vigna <jug@sad.it>
11783 * lyxfont.C (realize): honor ignore_language too!
11786 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11788 * text.C (draw): one place more for ignore_language to not draw
11791 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11793 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11795 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11797 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11798 the minipage conversion problem.
11800 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11802 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11805 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11807 * BufferView.h: don't forward declare WorkArea
11809 * BufferView.C: don't include WorkArea.h
11811 2001-07-25 André Pönitz <poenitz@gmx.net>
11815 * lyxfunc.C: new LFUN 'math-space'
11817 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11819 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11821 * text2.C (toggleInset): call open/close
11823 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11825 * lyxfunc.C (dispatch): add debug for the disabled case
11827 * font.C (buttonText): make similar to rectText
11829 * buffer.C (readInset): comment out parsing of insetlist and
11832 * PainterBase.C (rectText): small correction
11834 * BufferView_pimpl.C: comment out insettheorem and insetlist
11835 * LyXAction.C: ditto
11836 * commandtags.h: ditto
11838 2001-07-24 Juergen Vigna <jug@sad.it>
11840 * text.C (draw): honor the ignore_language.
11842 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11844 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11846 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11849 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11851 * lyxtext.h: remove unused (and unimplemented) methods
11853 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11855 * text.C (getVisibleRow): honor background color
11858 * Painter.h: remove default color argument for fillRectangle
11860 * text.C (backgroundColor): new method
11862 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11864 * text.C (getVisibleRow): adjust
11866 * font.[Ch] (rectText): new method, metrics
11867 (buttonText): new method, metrics
11869 * PainterBase.[hC]: make rectText and buttonText always draw and take
11872 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11874 * ToolbarDefaults.C (read):
11875 * MenuBackend.C (read): allow escaping in all strings
11877 * BufferView_pimpl.C (insertAndEditInset): new method.
11878 (Dispatch): use insertAndEditInset whenever appropriate.
11880 * BufferView_pimpl.C (insertNote): removed
11882 * BufferView_pimpl.C (smartQuote): new method, moved from
11883 BufferView; if an insetquote cannot be inserted, insert a '"'
11886 * BufferView2.C: remove insertCorrectQuote();
11888 * lyxfunc.C (getStatus): Add support for all remaingin
11889 inset-insert lfuns.
11891 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11893 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11894 command (necessary to pass " as parameter of self-insert.
11896 * text.C (selectWordWhenUnderCursor):
11897 (selectWord): add word_location parameter
11898 (selectWordWhenUnderCursor): same + remove special code for word
11900 (selectNextWord): use kind() to guess type of insetspecialchar,
11903 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11904 (insertErtContents): create ert insets as collapsed.
11905 (readInset): better compatibility code for Info inset.
11907 2001-07-20 Juergen Vigna <jug@sad.it>
11909 * lyxfunc.C (dispatch): use always LyXFind now!
11911 * text2.C (init): add a reinit flag so that the LyXText can be
11912 reinited instead of deleted and reallocated (used in InsetText).
11914 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11920 2001-07-18 Juergen Vigna <jug@sad.it>
11922 * text.C (selectNextWord): handle insets inside inset by calling
11923 always the bv->text functions so that we can go up the_locking_inset!
11925 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11926 in strange locations when inside an inset!
11928 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11929 handling to include insets.
11931 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11933 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11935 * LyXAction.C (init):
11937 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11938 LIGATURE_BREAK, since the name is so stupid.
11940 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11942 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11945 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11947 * sp_form.[Ch]: remove.
11949 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11951 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11954 * src/buffer.C (readInset): ditto.
11956 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11958 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11959 menuSeparator(), endOfSentenceDot(), ldots() and
11960 hyphenationPoint(), which are therefore removed.
11961 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11963 * LyXAction.C (init):
11964 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11966 * paragraph.C (getWord): removed.
11968 * BufferView_pimpl.C (Dispatch): use last word or selection for
11969 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11971 * lyx_main.C (queryUserLyXDir): do not ask before creating
11972 user_dir, except if it has been named explicitely.
11974 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11976 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11977 a document of zero size.
11979 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11981 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11982 approriately in the c-tor and in require().
11983 (getPackages): output the appropriate LaTeX for natbib support.
11985 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11986 variables "use_natbib" and "use_numerical_citations" when reading the
11988 (readInset): read the various natbib cite commands.
11989 (validate): white-space change.
11991 * bufferparams.[Ch]: new variables "bool use_natbib" and
11992 "bool use_numerical_citations".
11993 (writeFile): output them in the LyX file.
11995 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11997 * lyxfunc.C (getStatus): add support for all the inset insertion
12000 * text2.C (insertInset):
12001 * paragraph.C (insetAllowed):
12002 * BufferView_pimpl.C (insertInset): update to take in account the
12003 renaming of insertInsetAllowed
12005 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12007 * text2.C (getInset): new method. returns inset at cursor position.
12009 * BufferView_pimpl.C (Dispatch): changes because of this.
12011 * LyXAction.C (init): rename open-stuff to inset-toggle.
12013 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12015 * text2.C (toggleInset): renamed from openStuff; use
12018 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12020 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12022 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12024 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12026 * buffer.C (readLyXformat2): Add filename to the error dialog
12028 2001-07-18 Juergen Vigna <jug@sad.it>
12030 * tabular.C (GetCellNumber): put an assert here instead of the check!
12032 2001-07-17 Juergen Vigna <jug@sad.it>
12034 * BufferView_pimpl.C (toggleSelection): adapted too.
12036 * text.C (selectNextWord): adapted for use with insets.
12037 (selectSelectedWord): ditto
12039 2001-07-17 Juergen Vigna <jug@sad.it>
12041 * sp_spell.C (PSpell): fix initialitation order.
12043 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * paragraph.C: spacing
12047 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12049 * sp_spell.C: repair language selection for pspell
12051 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12053 * lyxfunc.h: change more methods to begin with lower char.
12055 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12057 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12058 for unknown layouts.
12060 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12062 * buffer.C (readLyXformat2): Generate an error dialog if there are
12065 2001-07-16 Juergen Vigna <jug@sad.it>
12067 * sp_spell.C: always compile ISpell part.
12069 * lyxrc.C: added use_pspell entry and it's handling.
12071 2001-07-13 Juergen Vigna <jug@sad.it>
12073 * sp_spell.C: removed double includes.
12075 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12077 Consistent use of Lsstream.h:
12078 * Lsstream.h: added using std::stringstream for consistencies sake.
12080 * buffer.C: removed using std::stringstream
12082 * lyxfont.C (stateText):
12083 * paragraph.C (asString):
12084 * text.C (selectNextWord, selectSelectedWord):
12085 * text2.C (setCounter):
12086 * vspace.C (asString, asLatexString):
12087 std::ostringstream -> ostringstream.
12089 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12091 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12092 * commandtags.h: add LFUN_HELP_ABOUTLYX
12093 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12095 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12097 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12099 * lyx_gui_misc.C: remove spellchecker
12100 * lyxfunc.C: showSpellchecker
12102 * sp_ispell.h: added
12103 * sp_pspell.h: added
12104 * sp_spell.C: added
12105 * sp_form.[Ch]: removed
12106 * spellchecker.[Ch]: removed
12108 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12110 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12112 (simpleTeXSpecialChars): Simply print the input character without
12113 any special translation if pass_thru is set.
12115 * layout.h: Added bool pass_thru to layout class for being able to
12116 implement pass through of a paragraph for Literate Programming.
12118 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12119 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12120 * layout.C (Read): add "passthru" to list of layout tags and add
12121 code to set the pass_thru boolean when it is read.
12123 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12125 * trans_decl.h: remove allowed from KmodInfo
12127 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12128 remove allowed code
12131 * paragraph_pimpl.C (erase): use boost::prior
12133 * Painter.C (text): use data() instead of c_str() when length is
12135 * WorkArea.C (putClipboard): ditto
12136 * font.h (width): ditto
12138 * BufferView2.C: use it-> instead of (*it). for iterators
12140 * paragraph_pimpl.C: ditto
12141 * paragraph.C: ditto
12142 * minibuffer.C: ditto
12143 * language.C: ditto
12145 * encoding.C: ditto
12146 * counters.C: ditto
12147 * converter.C: ditto
12149 * Variables.C: ditto
12150 * TextCache.C: ditto
12151 * MenuBackend.C: ditto
12152 * LyXAction.C: ditto
12154 * FloatList.C: ditto
12155 * DepTable.C: ditto
12156 * ColorHandler.C (LyXColorHandler): ditto
12158 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12160 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12162 * text2.C (openStuff): reintroduce this method (which had been
12163 nuked in NEW_INSETS frenzy).
12165 * lyxfunc.C (Dispatch): when an action has not been handled, use
12166 its name in the error message, not its number.
12168 * paragraph.C (inInset): change method name to begin with lowercase.
12171 * text2.C: updates because of this.
12173 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * ToolbarDefaults.C (add): add spaces in error message
12177 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12179 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12180 (readLyXformat2): rename return_par to first_par, use lyxlex's
12181 pushToken and remove the manual push handling.
12182 (parseSingleLyXformat2Token): add another ert comp. variable:
12183 in_tabular, rename return_par to first_par. handle newlines better
12185 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12187 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12189 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * text2.C (getParFromID): removed
12193 * buffer.C (getParFromID): new method moved form lyxtext.
12194 * BufferView2.C (insertErrors): adjust
12195 (setCursorFromRow): adjust
12196 * BufferView_pimpl.C (restorePosition): adjust
12197 * lyxfunc.C (Dispatch): adjust
12198 * undo_funcs.C (textUndo): adjust
12200 (textHandleUndo): adjust
12201 (textHandleUndo): adjust
12203 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * buffer.C: up' the LYX_FORMAT
12207 * lyxfont.h: turn NO_LATEX on as default
12209 * buffer.C (insertErtContents): new methods of tex style compability.
12210 (parseSingleLyXformat2Token): use it several places.
12211 * tabular.C (OldFormatRead): and here
12213 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * text2.C: remove some commented code.
12218 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12219 * trans.C: changes because of the above.
12221 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12223 * text2.C (setCounter): Fix counters bug with bibliography layout.
12225 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12228 own member functions
12229 (simpleTeXSpecialChars): ditto
12231 2001-07-06 Juergen Vigna <jug@sad.it>
12233 * a lot of files: changed the access to LyXText::status and the
12234 call of undo-functions.
12236 * undo.[Ch]: added a inset_id to the undo informations.
12238 * undo_funcs.[Ch]: added and moved here all undo functions.
12240 * lyxtext.h: give the status enum a weight, made status_ a private
12241 variable and made accessor functions for it, removed the whole bunch
12242 of undo-functions as they are now in their own file, make some
12243 functions publically available. Added function ownerParagraph with
12246 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12247 made InInset() a const function, added getParFromID() function.
12249 * buffer.[Ch]: added const version for inset_iterator functions,
12250 added getInsetFromID() function.
12252 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12253 changed undo functions for new version.
12255 2001-07-05 Juergen Vigna <jug@sad.it>
12257 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12258 unknow mechanism does not call the proper constructor but only this
12259 one also if I request the other!?
12261 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12263 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12265 * text2.C (LyXText): use initialization lists.
12267 * lyxtext.h (Selection): initialize set_ and mark_
12268 (init): remove method
12270 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12272 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12274 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * screen.[Ch]: change method names to begin with lowercase
12278 * BufferView_pimpl.C (updateScrollbar): simplify further and
12279 hopefully make it a bit faster.
12281 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12284 calling directly xforms functions.
12286 * Painter.C (Painter):
12287 * lyx_cb.C (MenuWrite):
12288 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12291 * lyx_gui.C: remove bogus guiruntime extern declaration.
12293 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12295 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12297 (redoDrawingOfParagraph): ditto
12298 (redoParagraphs): ditto
12299 (cutSelection): don't create a object for CutAndPaste use the
12300 static method directly
12301 (pasteSelection): ditto
12303 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12306 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * modifications to some other files because of this.
12310 * Makefile.am (lyx_SOURCES): add XFormsView
12312 * XFormsView.[Ch]: new files
12314 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12315 the main window. Move the gui dependent stuff to XFormsView
12317 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12319 * tabular.C (GetCellInset): update cur_cell also in the row/col
12320 version of this function.
12322 * lyxfunc.C: no need to include figure_form.h here.
12328 * lyxvc.C: no need to include forms.h here.
12330 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12332 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12334 * lyxfunc.C (Dispatch):
12336 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12337 constructor argument.
12339 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * paragraph.C (Paragraph): dont't clear, and just set layout.
12342 (makeSameLayout): use params's copy contructor.
12344 * ParagraphParameters.[Ch] (makeSame): delete method
12346 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12348 * Variables.[Ch]: fix indentation, rename set to isSet
12350 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12352 * lyxfunc.C (Dispatch): fix typo
12354 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12356 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12359 * bufferlist.C: include assert.h for emergencyWrite().
12361 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12363 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12364 give up at last (bug #425202) !
12366 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12372 * spellchecker.C: strip spellchecker options and bring up
12373 preferences tab instead
12375 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12377 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12378 the istringstream constructor
12380 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12382 * paragraph.C (getLayout): fix return value
12384 * paragraph.h: do not declare getLayout as inline.
12386 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12388 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12390 * lyxcursor.h (operator<): new func
12391 (operator>): new func
12392 (operator>=): new func
12393 (operator<=): new func
12395 * text.C (changeCase): use selection.start and selection.end
12396 (changeRegionCase): require from to be <= to. Require par to be a
12399 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12401 2001-06-27 Juergen Vigna <jug@sad.it>
12403 * text.C (cursorLeftOneWord): changed to return the cursor and added
12404 overlay with BufferView * parameter which calls this one.
12406 (selectWord): use new getWord function.
12407 (changeCase): renamed from changeWordCase as and extended to work
12408 also on selections.
12410 * lyxtext.h: added enum word_location
12412 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12413 changeCase as this operates now also on selections.
12415 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12417 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12419 * many files: send debug output to Debug::INFO instead of
12422 * converter.C (View):
12424 (Move): send debug output to Debug::FILES instead of console.
12426 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12428 * lyxfunc.C (getStatus): use func_status
12430 * func_status.h: new header, describing the results of
12431 LyXFunc::getStatus;
12433 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12436 2001-06-25 The LyX Project <jug@sad.it>
12438 * buffer.C (sgmlOpenTag):
12440 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12442 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * text2.C: remove some dead code
12446 * tabular.C (GetCellInset): store the last cell checked (gotten)
12448 * tabular.h: add the helper for the speedup
12450 * lyxtext.h: remove some dead code
12452 2001-06-26 The LyX Project <Asger>
12454 * paragraph.C: Change export to LaTeX of alignment to
12455 \begin{center} and family for better roundtrip work with reLyX.
12457 * Tune the math drawing a bit.
12459 2001-06-25 The LyX Project <Asger>
12461 * LColor.C (LColor): New color for math background. New color
12464 2001-06-25 The LyX Project <jug@sad.it>
12466 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12468 * lyxfunc.C (Open):
12469 * bufferlist.C (newFile): do not restrict to files ending with
12472 * BufferView_pimpl.C (MenuInsertLyXFile):
12474 2001-06-24 The LyX Project <jug@sad.it>
12476 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12479 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * lyxtext.h: rename most methods to begin with a small char.
12482 Lots of changes because of this.
12484 * paragraph.C (Paragraph): do not call fitToSize
12485 (erase): call Pimpl::erase
12486 (insertChar): call Pimpl::insertChar
12487 (insertInset): call Pipl::insertInset
12488 (breakParagraph): do not call fitToSize
12489 (breakParagraphConservative): do not call fitToSize
12490 (fitToSize): remove method
12492 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12494 2001-06-24 The LyX Project <Asger>
12496 * Fix Qt compilation^2
12498 2001-06-24 The LyX Project <jug@sad.it>
12500 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12501 depthHook(getDepth()-1).
12504 * ParagraphParameters.h:
12505 * ParameterStruct.h: change type of depth to unsigned int ==
12506 depth_type. Many adaptations to other files before of that.
12508 2001-06-24 The LyX Project <Asger>
12510 * Fix Qt compilation.
12512 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12514 * paragraph.h: renamed several methods to begin with small letter.
12515 several changes to many parts of the code because of this.
12517 2001-06-23 The LyX Project <jug@sad.it>
12519 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12520 rewritten to discard all double spaces when KeepEmpty is off
12521 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12522 to only handle newlines but not fiddle with spaces and friends.
12524 * lyxfunc.C (MenuNew): when doing 'new from template', use
12525 template_path as default directory
12527 2001-06-23 The LyX Project <Asger>
12529 * Clean-up of header file includes all over
12530 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12532 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * paragraph.h: renamed from lyxparagraph.h
12536 2001-06-23 Asger <lyx@violet.home.sad.it>
12538 * Buffer.h: Removed Buffer::resize
12539 * BufferList.h: Removed BufferList::resize
12540 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12541 the document lazily when we change the width, or the font settings.
12543 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12545 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12547 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12549 * buffer.h: remove out of date comment
12551 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12554 * screen.C: fix "theoretical" GC leak
12556 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12558 * LaTeX.C (scanAuxFile):
12559 (deplog): remove trailing \r when reading stream (useful under
12562 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12564 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12565 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12566 and BufferView::theLockingInset(Inset*), so should use them and not
12567 access bv_->text->the_locking_inset directly.
12569 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12571 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12574 * tex-defs.h: remove old unused file
12576 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12578 * BufferView_pimpl.C: fix typo, remove minibuffer message
12579 when buffer has loaded
12581 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * lyxfunc.C (Dispatch): use stringstream
12584 (MenuNew): use stringstream
12585 (Open): use stringstream
12587 * importer.C (Import): use stringstream
12589 * bufferview_funcs.C (CurrentState): use stringstream
12591 * LaTeX.C (run): use stringstream
12593 * BufferView_pimpl.C (savePosition): use stringstream
12594 (restorePosition): use stringstream
12595 (MenuInsertLyXFile): use stringstream
12597 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12610 * vspace.C: removed // -*- C++ -*- as first line.
12613 * version.h: added // -*- C++ -*- as first line.
12615 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12617 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12619 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12622 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12624 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12627 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12629 * gettext.C: include LString.h even when --disable-nls is on.
12631 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12633 * converter.h (Get): changed argument type from int to
12634 FormatList::size_type to avoid unnecessary conversion.
12636 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12639 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12641 * gettext.h: include LString.h even when --disable-nls is on.
12643 2001-06-07 Juergen Vigna <jug@sad.it>
12645 * text.C (BreakAgain): subst spaces with tabs.
12647 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12648 (resizeInsetsLyXText): set force on resizeLyXText.
12650 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12652 * gettext.h (gettext_init):
12653 (locale_init): use a real definition instead of a macro
12655 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12657 * Bufferview_pimpl.C:
12659 * LColor.C: further lcolor tidies
12661 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * BufferView_pimpl.C (updateScrollbar): simplify.
12665 * BufferView2.C: don't include insets/insetinfo.h, change
12666 prototype for insertInset and call the Pimpl version. let
12667 updateInset call Pimpl version.
12669 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12670 gotoInset to BufferView::Pimpl
12672 2001-06-01 Juergen Vigna <jug@sad.it>
12674 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12675 inside a LockingInset (is the update needed at all?).
12677 2001-05-31 Juergen Vigna <jug@sad.it>
12679 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12680 here not the old one otherwise how should we compare it afterwards
12683 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12688 * FontInfo.C: bring C functions into global namespace when
12691 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12693 * LString.h: make sure config.h has been loaded before LString.h.
12695 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12696 (one for each char read by EatLine!).
12698 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12701 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12704 to the same as the par we break from
12706 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12708 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12710 * MenuBackend.C (expand): also create menu entries for wide
12711 versions of the floats.
12713 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12715 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12717 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12718 frontends/Makefile.am
12724 * tabular.C (getTokenValue): add std::
12726 * tabular-old.C (getTokenValue): add std::
12727 (getTokenValue): ditto
12728 (getTokenValue): ditto
12730 * screen.C (ToggleSelection): adjust
12732 * lyxtext.h: put selection cursors inside a Selection struct.
12734 * lyxfunc.C (moveCursorUpdate): adjust
12736 * lyxfont.C (latexWriteStartChanges): add std::
12738 * lyxfind.C: adjust
12740 * font.h: delete with(char const *, LyXFont const &)
12742 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12744 * FontInfo.C (getFontname): add std::
12746 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12747 (workAreaButtonPress): adjust
12748 (tripleClick): adjust
12750 (moveCursorUpdate): adjust
12753 * BufferView2.C (gotoInset): adjust
12755 2001-05-30 Juergen Vigna <jug@sad.it>
12757 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12758 to check pspell I add this as default as I now have new pspell
12759 libraries and they seem to use this.
12761 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12763 * text2.C (CutSelection): make the cursor valid before the call to
12766 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12769 relied on 0 terminated strings and other horrors. Bug found due to
12770 the new assert in lyxstring!
12772 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12775 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12780 * lyxfunc.C (processKeySym): change method of getting to the
12783 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12784 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12785 * BufferView_pimpl.[Ch]: here as private methods.
12787 2001-05-28 Juergen Vigna <jug@sad.it>
12789 * text.C (SetHeightOfRow): added the update() call again as it is
12790 needed to initialize inset dimensions!
12792 2001-05-16 Juergen Vigna <jug@sad.it>
12794 * text2.C (SetCharFont): Add new function with BufferView * and
12795 bool toggleall parameters for setting insets internal fonts.
12796 (SetFont): Freeze the undo as we may change fonts in Insets and
12797 all this change should be inside only one Undo!
12799 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12800 setting font's in insets as for them we have the SetFont function!
12802 2001-05-15 Juergen Vigna <jug@sad.it>
12804 * text2.C (ClearSelection): to be sure we REALLY don't have any
12807 * tabular.C (TeXCellPreamble): fixed the left border problem for
12810 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12812 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12815 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12818 LFUN_BREAKPARAGRAPH.
12820 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12821 help test to "internal only", similar for LFUN_INSERT_URL
12823 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12824 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12825 auto_region_delete and deadkeys.
12827 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12830 * LColor.C: remove some dead entries, tidy a little
12832 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12836 (Dispatch): implement LFUN_ESCAPE
12838 * commandtags.h: add LFUN_ESCAPE
12840 * LyXAction.C (init): add entry for LFUN_ESCAPE
12842 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12843 Remove commented code.
12844 (insertNote): moved here
12845 (open_new_inset): moved here
12847 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12850 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12852 * kbmap.C (findbinding): clean it up and make it work correctly.
12854 * lyx_main.C (init): do not pass argc and argv as parameters
12856 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12858 * buffer.C: fix path for OS/2 & Win32
12862 * lyx_main.C: Added os:: class.
12864 * os2_defines.h: update
12866 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12869 better by trying again with reduced state.
12871 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12873 * lyxrc.C (read): print error about invalid key sequence only when
12874 debugging (because not all latinX keysyms are known to some X
12877 * kbsequence.C (getiso): add a few std:: qualifiers
12878 (getiso): comment out extra return statement.
12880 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12884 (Dispatch): enhance the accent inset a bit. (not perfect)
12886 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12890 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12892 * bufferlist.C (emergencyWrite): fix assert() call
12894 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12896 * text.C (InsertChar): Added trivial patch to only send the "you
12897 can not do multiple spaces this way" message once during a
12900 2001-05-08 Baruch Even <baruch@lyx.org>
12902 * Makefile.am: Changed order of libraries to get LyX to link properly
12903 with the gnome frontend.
12905 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12907 * LaTeXFeatures.h: add a std:: qualifier
12909 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * paragraph.C (String): use stringstream
12913 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * paragraph.C (writeFile): remove footflag arg
12917 * buffer.C (makeLaTeXFile): use stringstream
12918 (latexParagraphs): remove footnot gurba
12920 * LaTeXFeatures.C (getPackages): use stringstream
12921 (getMacros): likewise
12922 (getTClassPreamble): likewise
12923 (getFloatDefinitions): new method
12925 * paragraph.C (writeFile): reindent
12928 * WorkArea.h: revert the xpos + etc changes.
12930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12932 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12934 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12935 (pasteSelection): likewise
12936 * text2.C (CreateUndo): likewise
12938 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * minibuffer.C (peek_event): temporarily reduce the functionality
12941 of the minibuffer (to allow args on lfuns)
12943 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12944 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12946 * buffer.C (readInset): add compability reading of old float
12947 lists, add reading of new style float list.
12948 (readInset): avoid reevaluation of inscmd.getCmdName()
12949 (getLists): reindent
12951 * MenuBackend.C (MenuItem): implement parsing of
12952 md_floatlistinsert and md_floatinsert.
12953 (expand::LastFiles): move initalizaton of iterators out of loop,
12954 avoid reevaluation.
12955 (expand::Documents): introduce typdedef vector<string> Strings,
12957 (expand::ExportFormats): introduce typedef vector<Format const *>
12958 Formats, and use it.
12959 (expand): implement FloatListInsert and FloatInsert.
12961 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12962 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12963 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12965 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12967 (Dispatch::LFUN_FLOAT_LIST): implement
12969 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12971 * LaTeX.C (run): Fix problem with --export code.
12973 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12975 * BufferView.[Ch] (workarea): removed.
12976 (getClipboard) new method; wrapper for workarea()->getClipboard()
12978 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12981 * WorkArea.h (width, height, xpos, ypos): These methods all
12982 returned the dimensions of the work_area sub-area of WorkArea,
12983 resulting in a position error if the WorkArea were resized. Now
12984 return the dimensions of the entire WorkArea.
12986 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12988 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12990 * LaTeX.C (deplog): correct the syntax of regex reg1
12992 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * undo.C: remove !NEW_INSETS cruft
12996 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12998 * text2.C: remove !NEW_INSETS cruft
13000 * text.C: remove !NEW_INSETS cruft
13002 * tabular.C: remove !NEW_INSETS cruft
13004 * spellchecker.C: remove !NEW_INSETS cruft
13006 * lyxtext.h: remove !NEW_INSETS cruft
13008 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13010 * lyxfunc.C: remove !NEW_INSETS cruft
13012 * lyxfind.C: remove !NEW_INSETS cruft
13014 * lyx_cb.C: remove !NEW_INSETS cruft
13016 * figureForm.C: remove !NEW_INSETS cruft
13018 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13020 * buffer.[Ch]: remove !NEW_INSETS cruft
13022 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13024 * CutAndPaste.C: remove !NEW_INSETS cruft
13026 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13028 * BufferView2.C: remove !NEW_INSETS cruft
13030 * BufferView.h: remove !NEW_INSETS cruft
13032 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13034 * Lsstream.h: include LString.h before the sstream headers to
13035 fix problem with gcc 2.95.3 and lyxstring
13037 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13039 * lyx_main.C: add using directives when needed for C functions
13040 declared in std:: namespace.
13042 2001-04-27 Juergen Vigna <jug@sad.it>
13044 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13045 (SetHeightOfRow): comment out the update call should not be needed!
13047 2001-04-13 Juergen Vigna <jug@sad.it>
13049 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13050 (LyXTabular): tried to minimize operator= operations (and realized
13051 hopfully Lars wish).
13053 2001-04-27 Juergen Vigna <jug@sad.it>
13055 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13057 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13061 * buffer.C (readInset): hack to make listof algorithm work
13063 * BufferView_pimpl.C: hack to make listof algorithm work
13065 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13067 * LyXAction.C: removed all !NEW_INSETS cruft
13068 (init): moved lfun_item in method
13070 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13072 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13074 * BufferView2.C (theLockingInset): white space.
13076 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * minibuffer.C: include <iostream>
13080 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13082 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13084 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13086 * text.[Ch] (TransposeChars): new method
13088 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13090 * call message directly through LyXView instead of through LyXFunc
13091 * BufferView2.C: adjust
13092 * BufferView_pimpl.C: adjust
13093 * FontLoader.C: adjust
13095 * bufferview_funcs.C: adjust
13096 * converter.C: adjust
13097 * figureForm.C: adjust
13098 * importer.C: adjust
13100 * lyx_gui_misc.C: adjust
13101 * lyxfunc.C: adjust
13104 + more files in subdirs
13106 * lyxparagraph.h (size): move up int file
13109 * adjust all uses of Assert to lyx::Assert.
13111 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13112 lyxfunctional in namespace lyx
13113 * layout.C (hasLayout): ditto
13116 (delete_layout): ditto
13117 (NumberOfClass): ditto
13118 * converter.C (GetFormat): ditto
13123 * bufferlist.C (getFileNames): ditto
13124 (emergencyWriteAll): ditto
13127 * MenuBackend.C (hasSubmenu): ditto
13130 * BufferView_pimpl.C (getInsetByCode): ditto
13132 2001-04-18 Juergen Vigna <jug@sad.it>
13134 * vspace.C (asLatexString): fixed the 100% problem.
13136 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13138 * lyxfunc.C (Dispatch):
13140 * minibuffer.h: add a few std:: qualifiers
13142 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * minibuffer.[Ch]: reimplement so that commands is initiated and
13145 run from lyxfunc, simplified som handling, and made the completion
13146 and history code for complete. wip.
13148 * lyxfunc.C (processKeySym): call message
13149 (miniDispatch): new temporary method
13150 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13151 (LFUN_MESSAGE): implement
13152 (LFUN_MESSAGE_PUSH): implement
13153 (LFUN_MESSAGE_POP): implement
13154 (initMiniBuffer): the initial/defualt minibuffer message.
13156 * lyxfont.[Ch]: inline some more getters
13158 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13160 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13162 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13163 (AutoSave): use LFUN_MESSAGE
13164 (Reconfigure): ditto
13166 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13168 * figureForm.C: use LFUN_MESSAGE
13170 * converter.C (runLaTeX): use LFUN_MESSAGE
13172 * bufferview_funcs.C: use LFUN_MESSAGE
13174 (changeDepth): ditto
13176 * bufferparams.h: use boost::
13178 * bufferlist.h: inherit privately from noncopyable
13180 * bufferlist.C (loadLyXFile): remove some commented code.
13182 * buffer.C (runChktex): use LFUN_MESSAGE
13184 * ShareContainer.h: inherit privately from noncopyable
13186 * ParagraphParameters.[hC] (depth): inline it.
13188 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13190 (message): new method
13191 (messagePush): ditto
13192 (messagePop): ditto
13193 (show): init minibuffer
13194 (showState): direct call
13196 * LaTeX.[Ch]: inherit privately from noncopyable
13197 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13198 instead of WriteStatus.
13200 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13202 * BufferView_pimpl.C (buffer): don't init minibuffer
13203 (workAreaButtonPress): use LFUN_MESSAGE
13204 (workAreaButtonRelease): ditto
13205 (savePosition): ditto
13206 (restorePosition): ditto
13207 (MenuInsertLyXFile): ditto
13208 (workAreaExpose): don't init minibuffer
13209 (update): remove commented code, simplify
13211 * BufferView2.C (openStuff): use LFUN_MESSAGE
13212 (toggleFloat): ditto
13215 (copyEnvironment): ditto
13216 (pasteEnvironment): ditto
13221 (updateInset): remove some commented code
13223 * lastfiles.h: inherit privately from noncopyable
13226 * lyx_main.h: ditto
13228 * lyxlex_pimpl.h: ditto
13230 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13231 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13232 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13234 * LyXAction.h: inherit privately from noncopyable, add methods
13235 func_begin, func_end, returning iterators to the func map.
13237 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13238 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13239 (func_begin): new method
13240 (func_end): new method
13242 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13244 (copySelection): ditto
13245 (pasteSelection): ditto
13247 * BufferView.C: whitespace change
13248 * BufferView.h: inherit privately from noncopyable
13250 2001-04-16 Allan Rae <rae@lyx.org>
13252 * tabular-old.C (l_getline):
13253 * spellchecker.C (sc_check_word):
13254 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13255 an unrecognised preprocessor directive. So ensure they're wrapped.
13257 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13259 * src/exporter.C (Export): Give an error message when path to file
13262 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13264 * LaTeX.C (deplog): Always check that foundfile exists.
13266 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13271 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13273 * tabular.[Ch] (getLabelList): implement new method
13275 * minibuffer.h: comment ouf setTiimer
13277 * minibuffer.C (ExecutingCB): constify res
13278 (peek_event): constify s
13279 (Set): constify ntext
13280 (Init): constify nicename
13282 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13284 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13285 (savePosition): use two params to Minibuffer::Set
13286 (restorePosition): ditto
13288 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * lyx_main.C: include language.h
13292 * Makefile.am (lyx_main.o): add language.h
13294 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * CutAndPaste.C: include gettext.h
13302 * lyxfont.h: remove old hack with ON and OFF.
13305 * lyxfont.h: do not include language.h...
13310 * bufferview_funcs.C:
13316 * paragraph.C: ... but do it here instead
13318 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13320 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13322 * tabular.C: small reformat
13324 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13327 (BreakParagraph): ditto
13328 (SetOnlyLayout): ditto
13331 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13334 * lastfiles.C: removed most using decl, add std:: where needed
13336 * buffer.C: ws changes
13338 * MenuBackend.C (class compare_format): put into anon namespace
13339 (expand): constify label, names, action, action2
13342 * text.C (SingleWidth): constify font
13343 (IsBoundary): constify rtl2
13344 (GetVisibleRow): constify ww
13346 * LaTeX.C (deplog): constify logfile
13348 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13350 (workAreaExpose): constify widthChange, heightChange
13352 * lyxrow.C (par): moved
13355 * lyxrow.h: as inlines here
13357 * lyxfont.h (shape): moved from lyxfont.C
13358 (emph): moved from lyxfont.C
13360 * lyxfont.C (LyXFont): use initialization list for all
13362 (shape): move to lyxfont.h as inline
13363 (emph): move to lyxfont.h as inline
13366 2001-04-04 Juergen Vigna <jug@sad.it>
13368 * vspace.C: had to include stdio.h for use of sscanf
13370 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13373 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13374 independent of xforms.
13376 2001-04-02 Juergen Vigna <jug@sad.it>
13378 * spellchecker.C: fixed namespace placing!
13380 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13382 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13383 the LyXParagraph * is 0.
13385 2001-03-29 Juergen Vigna <jug@sad.it>
13387 * vspace.C: added support for %, c%, p%, l%.
13388 (stringFromUnit): added helper function.
13389 (asLatexString): changed to give right results for the %-values.
13391 * buffer.C: convert the widthp in a width%.
13393 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13395 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13398 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13399 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13401 * lyx_cb.[Ch]: see above.
13403 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13407 * lyx.[Ch]: replaced by figure_form.[Ch].
13411 * lyxfunc.C: changed headers associated with above changes.
13413 2001-03-27 Juergen Vigna <jug@sad.it>
13415 * BufferView_pimpl.C: set the temporary cursor right!
13417 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13419 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13421 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13423 * LString.h: removed "using std::getline"!
13425 * BufferView_pimpl.C (Dispatch): changes due to changes in
13426 InsetInclude::Params.
13428 * buffer.C (tag_name): removed redundant break statements as they were
13429 producing lots of warnings with my compiler.
13431 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13433 * LString.h: add "using std::getline" when using the real <string>.
13435 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13437 * buffer.C: removed bitset usage.
13438 PAR_TAG moved to an anonymous name space.
13439 (tag_name): new funtion, also in the anonymous namespace.
13440 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13441 (makeDocBookFile): clean code. Completed transition from string arrays
13443 (SimpleDocBookOnePar): code clean.
13445 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13447 * tabular.C: add some comments.
13449 2001-03-22 Juergen Vigna <jug@sad.it>
13451 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13452 compatibility read a bit and fixed bug with minipage in different
13455 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13457 * buffer.C (pop_tag): removed.
13458 (push_tag): removed.
13459 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13460 array replaced with vector. Added support for CDATA sections.
13461 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13463 (makeDocBookFile): XML conformant declaration of CDATA section,
13464 fixed bug related to <emphasis> in the first paragraph char.
13465 (sgmlOpenTag): exclude empty tags.
13466 (sgmlCloseTag): ditto.
13468 * buffer.h (pop_tag): removed.
13469 (push_tag): removed.
13471 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13473 * language.h (Languages): added size_type and size().
13475 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13477 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13478 response on compability reading of minipages. One probliem is that
13479 the old usage of minipages was «flertydig»
13481 * several files here and in subdirs: don't use static at file
13482 scope use anon namespaces instead.
13484 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13486 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13487 LaTeX output. This is necessary for Literate document
13490 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13492 * buffer.C: insert hfill when needed.
13494 * tabular.C (l_getline): use string::erase, small whitespace change.
13496 * BufferView_pimpl.C: try the anon namespace.
13497 * WorkArea.C: ditto
13499 2001-03-16 Juergen Vigna <jug@sad.it>
13501 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13502 otherwise it won't open options-dialogs.
13504 * buffer.C: honor pextraWidth(p) on converting minipages.
13506 * tabular.C (l_getline): changed the functions to strip trailing \r.
13508 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13510 * BufferView_pimpl.C:
13511 * minibuffer..C: added "using SigC::slot" declaration.
13513 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13515 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13521 * paragraph.C: ditto
13523 * lyxtext.h: NO_PEXTRA
13525 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13527 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13528 * ParameterStruct.h: ditto
13529 * ParagraphParameters.h: ditto
13530 * lyxparagraph.h: ditto
13532 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13534 * buffer.C: add compability for minipage alignment.
13535 (latexParagraphs): remove unwanted pextra check.
13537 * several files: remove CXX_WORKING_NAMESPACES
13539 * buffer.C (pop_tag): tie is in namespace boost
13541 * BufferView.h: noncopyable is in namespace boost
13543 * lyx_main.h: ditto
13546 * lastfiles.h: ditto
13547 * bufferlist.h: ditto
13548 * ShareContainer.h: ditto
13550 * LyXAction.h: ditto
13553 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13555 * Merging changes from BRANCH_MVC back into HEAD.
13557 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13559 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13561 * BufferView_pimpl.C: change from intl.C
13565 * Makefile.am: move combox.*
13571 * intl.C: remove dialog (covered by prefs)
13573 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13575 * lyxfunc.C (Dispatch): removed redundant break statement.
13577 2001-03-14 Juergen Vigna <jug@sad.it>
13579 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13581 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13583 * buffer.C: add hack to fix compability reading of minipages.
13585 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13587 * buffer.C (getLists): Cleanup.
13589 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * lyxfont.C (update): don't honor toggleall on font size.
13593 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13597 * Makefile.am: moved to frontends/xforms/
13601 * BufferView_pimpl.C: changes for moved mathpanel
13603 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13605 * gettext.h: fix gettext_init() in --disable-nls
13607 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13609 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13611 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13614 * lyx.h: strip external form
13616 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13618 * BufferView_pimpl.C: add comment, destroySplash()
13620 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13622 * BufferView_pimpl.C:
13626 * lyxfunc.C: use re-worked insetinclude
13628 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13630 * buffer.C: add using std::stringstream.
13632 * lyx_cb.C: readd using std::ios.
13634 * buffer.C: add using std::map.
13636 * BufferView_pimpl.C: add using std::vector.
13638 * ShareContainer.h: add std:: to swap.
13640 * buffer.h: add some typedefs
13641 * buffer.C (getLists): use them
13642 (getLists): renamed from getTocList.
13643 add a counter for the different float types and use it in the
13645 (getLists): use the same counter for the NEW_INSETS and the "non"
13648 * lyx_cb.h: remove unused items, includes, using etc.
13650 * ShareContainer.h: remove some commented code, add more comments
13651 and "documentation".
13653 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13655 * buffer.C (getTocList): make the list also when NEW_INSETS is
13658 * buffer.h: remove TocType
13660 * buffer.C (getTocList): change to return a map<string,
13661 vector<TocItem> >, implement for dynamic number of list.
13663 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13664 * text2.C (PasteSelection): adjust
13665 * CutAndPaste.C (pasteSelection): adjust
13667 * FloatList.C (FloatList): update from the new_insets branch.
13668 * Floating.[Ch]: ditto
13669 * LaTeXFeatures.C: ditto
13671 * lyxlex_pimpl.C: ditto
13673 * paragraph.C (Last): remove when NEW_INSETS is defined.
13675 * other file: changes because of the above.
13677 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13679 * lyxparagraph.h: rename next to next_, previous to previous_,
13680 make them private for NEW_INSETS. Rename Next() to next(),
13681 Previous() to previous().
13683 * other files: changes because of the above.
13685 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13688 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13691 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * main.C (main): pass lyx_localedir to gettext_init().
13695 * gettext.h: remove locale_init and gettext_init macros
13697 * gettext.C (locale_init): new function
13698 (gettext_init): new function
13700 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13703 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13705 * Moved credits to frontends:
13706 * credits.[Ch]: removed
13707 * credits_form.[Ch]: removed
13708 * lyx_gui_misc.C: remove credits stuff
13711 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13713 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13715 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13716 unneeded destructor.
13718 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13719 a standalone pointer again.
13721 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13723 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13729 * ToolbarDefaults.C:
13738 * BufferView_pimpl.C: use new file dialog in GUII
13741 * lyx_cb.C: remove LayoutsCB to Toolbar
13743 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13745 * ShareContainer.h (get): add std:: qualifier
13747 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13749 * ShareContainer.h: define a proper ShareContainer::value_type
13750 type (and use typename to please compaq cxx)
13752 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13754 * lyxparagraph.h: move serveral local vars to
13755 ParameterStruct/ParagraphParameters., use ShareContainer in
13756 FontTable., make vars in FontTable private and add getter and
13759 * paragraph.C: changes because of the above.
13761 * lyxfont.h: remove copy constructor and copy assignment. (the
13762 default ones is ok), move number inside FontBits. move inlines to
13765 * lyxfont.C: add number to initializaton of statics, move several
13766 inlines here. constify several local vars. some whitespace
13767 cleanup. Dont hide outerscope variables.
13769 * Spacing.h: add two new constructors to match the set methods.
13771 * ShareContainer.h: new file, will perhaps be moved to support
13773 * ParameterStruct.h: new file
13775 * ParagraphParameters.h: new file
13777 * ParagraphParameters.C: new file
13779 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13780 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13782 * BufferView_pimpl.C: ParagraphParameter changes.
13783 * buffer.C: Likewise.
13784 * bufferview_funcs.C: Likewise.
13785 * text.C: Likewise.
13786 * text2.C: Likewise.
13788 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * lyxfind.C (LyXReplace): do not redefine default argument in
13792 (IsStringInText): ditto
13793 (SearchForward): ditto
13794 (SearchBackward): ditto
13796 2001-03-06 Juergen Vigna <jug@sad.it>
13798 * lyxfind.C (IsStringInText): put parentes around expressions.
13800 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13802 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13804 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13806 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13808 * stl_string_fwd.h: add comment
13810 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13813 * tabular.C: remove unused DocBook methods
13819 killed DO_USE_DEFAULT_LANGUAGE
13821 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * lyx_gui.C: do not include language.h.
13825 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13826 arguments in function implementation.
13828 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13830 * BufferView_pimpl.C: add <ctime>
13832 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13834 * BufferView_pimpl.C: add using std::find_if
13836 2001-02-27 José Matos <jamatos@fep.up.pt>
13838 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13841 2001-02-11 José Matos <jamatos@fep.up.pt>
13843 * buffer.C (makeDocBookFile): command styles now have a parameter as
13844 "title" by default.
13846 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13848 * layout_forms.[Ch]: removed
13849 * lyx_cb.[Ch]: out character
13850 * lyx_gui.C: out character
13851 * lyx_gui_misc.C: out character
13852 * bufferview_funcs.C: : out character,
13853 added toggleall as parameter in ToggleAndShow
13855 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13857 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13859 * text2.C (SetCurrentFont): Disable number property at boundary.
13861 2001-02-26 Juergen Vigna <jug@sad.it>
13863 * lyxfunc.C (getStatus): added a string argument override function so
13864 that this is correctly called from LyXFunc::Dispatch if it contains a
13865 do_not_use_argument which is used!
13866 (Dispatch): added check for "custom" export and call appropriate func.
13868 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13870 * lyxrc.C: Add language_command_local, language_use_babel and
13871 language_global_options.
13873 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13875 * buffer.C (makeLaTeXFile): Use language_use_babel and
13876 language_global_options.
13878 2001-02-23 Juergen Vigna <jug@sad.it>
13880 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13881 which works with LyXText and putted it inside BufferView. Here now we
13882 only call for that part the BufferView::Dispatch() function.
13884 * BufferView.C (Dispatch): added.
13886 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13887 functions which needs to use a LyXText over from LyXFunc.
13888 (MenuInsertLyXFile): added
13889 (getInsetByCode): added
13890 (moveCursorUpdate): added
13891 (static TEXT): added
13893 2001-02-22 Juergen Vigna <jug@sad.it>
13895 * BufferView_pimpl.C (update): call a status update to see if LyXText
13898 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13900 * vc-backend.C (revert): implement for CVS
13901 (getLog): implement for CVS
13903 2001-02-20 Juergen Vigna <jug@sad.it>
13905 * text2.C (ClearSelection): added BufferView param for inset_owner call
13907 * lyxfunc.C (TEXT): added this function and use it instead of
13908 directly owner->view()-text of getLyXText().
13910 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13912 * src/layout_forms.C: out preamble
13913 * src/layout_forms.h: out preamble
13914 * src/lyx_cb.C: out preamble
13915 * src/lyx_cb.h: out preamble
13916 * src/lyx_gui.C: out preamble
13917 * src/lyx_gui_misc.C: out preamble
13918 * src/lyxfunc.C: connect with guii preamble
13920 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13922 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13924 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13926 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13927 whether to run bibtex.
13929 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13931 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13933 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13935 * Makefile.am (lyx_SOURCES): removed bibforms.h
13937 * vspace.h: doxygen
13939 * text.C (GetVisibleRow): make several local vars const
13941 * tabular.C: small cleanup.
13943 * lyxserver.C (callback): use compare instead of strncmp
13945 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13946 inlines to after class or to paragraph.C
13948 * lyxfont.h: remove friend operator!=
13950 * converter.h: move friend bool operator< to non friend and after
13953 * combox.h: small cleanup
13955 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13956 to inlines after class def.
13958 * buffer.C (pop_tag): use string operations instead of strcmp
13960 * bmtable.c: doxygen, small cleanup
13962 * LaTeX.h: remove friend operator==
13964 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13976 * BufferView_pimpl.C:
13977 * BufferView.[Ch]: remove cruft
13979 2001-02-14 Juergen Vigna <jug@sad.it>
13981 * lyxfunc.C: removed #if 0 unused code
13983 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13985 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13987 * text2.C (SetSelection): added a BufferView * parameter
13989 2001-02-13 Juergen Vigna <jug@sad.it>
13991 * lyxfunc.C (Dispatch): fixed protected blank problem.
13992 * BufferView2.C (protectedBlank): added LyxText * parameter.
13994 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13995 (AppendColumn): same as above for column_info.
13997 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13998 (moveCursorUpdate): use a LyXText param for support of InsetText.
14000 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14001 (tripleClick): ditto
14003 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14005 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14007 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14009 * text2.C (SetSelection): set correct update status if inset_owner
14010 (ToggleFree): ditto
14012 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14014 * tabular.C: remove some commented code.
14016 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14018 * BufferView_pimpl.C: call hideSplash()
14020 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14023 * bibforms.h: remove
14026 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14027 add LFUN_CHILD_CREATE
14029 * counters.h: fix tiny typo
14034 * lyx.C: move splash to frontends/xforms/
14036 * lyx_gui_misc.C: move Include and Bibform to frontends
14038 * lyxvc.h: clarify comment
14040 * vspace.C: tiny housekeeping
14042 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14044 * text.C (PrepareToPrint): RTL Fix.
14046 * paragraph.C (GetUChar): New method.
14047 (String): Use GetUChar.
14049 * buffer.C (asciiParagraph): Use GetUChar.
14051 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14053 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14055 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14058 * buffer.C: rename to getLogName(), handle
14059 build log / latex log nicely
14061 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14064 * MenuBackend.h: remove support for reference menuitem type.
14066 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14068 * BufferView_pimpl.C: housekeeping
14069 * BufferView_pimpl.h:
14074 * minibuffer.h: move Timeout GUI-I
14076 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14078 * lyxrc.C (read): Update converters data-structures.
14080 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14082 * LaTeX.h (operator!=): add operator != for Aux_Info
14084 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14086 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14088 * LaTeXLog.C: deleted, useful code moved to Buffer
14091 * buffer.C: new function getLatexLogName()
14097 * lyxfunc.C: use frontends for LaTeX and VC logs
14099 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14101 * LaTeX.h: yet another std:: that Allan forgot.
14103 * Variables.C (set): renamed from isset(), because this clashes
14104 with some HP-UX macros (grr).
14106 2001-02-06 Allan Rae <rae@lyx.org>
14108 * LaTeX.h: Another bug fix. Missing std:: this time.
14110 2001-02-04 Allan Rae <rae@lyx.org>
14112 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14113 floats problem. I've left it commented out because it's not quite
14114 correct. It should also test that the current object is a table or
14115 figure inset. But I haven't gotten around to figuring out how to do
14116 that. I *think* it'll be something like: "table" == inset.type()
14118 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14121 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14123 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14124 all the citation/databases/styles in the auxilary file.
14125 (run): Rerun latex if there was a babel language error.
14127 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14129 * text.C (Backspace): Preserve the font when changing newline char
14131 (BreakParagraph): If the cursor is before a space, delete the space.
14133 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14135 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14137 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14138 new argument (code).
14139 (ChangeCitationsIfUnique): New method.
14141 * paragraph.C (GetPositionOfInset): Handle bibkey.
14143 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14145 * BufferView_pimpl.h: change type of Position::par_pos to
14146 LyXParagraph::size_type.
14148 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14150 * BufferView_pimpl.C (savePosition, restorePosition): Write
14151 messages to minibuffer.
14153 2001-01-28 José Matos <jamatos@fep.up.pt>
14155 * buffer.C (makeDocBookFile): adds support for document language.
14156 A silly restriction on the name of LatexCommand types where removed.
14157 Added support for CDATA sections, allows to chars unescaped, used
14158 among others in code, to avoid escape < and >.
14160 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14162 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14163 saved positions instrad of a stack. Furthermore, a position is
14164 stored using paragraph id/paragraph position.
14166 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14167 Remove LFUN_REF_BACK.
14169 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14171 * converter.C (dvipdfm_options): New method.
14173 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14175 * vspace.C (isValidLength): Fix for empty input string.
14177 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * LyXAction.C (init): change description of LFUN_FIGURE to
14182 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14184 * LaTeX.C: add using directive
14186 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14188 * MenuBackend.C (expand): Fix the sorting of the formats.
14190 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14192 * lyx_main.C: tiny error message fix
14194 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14196 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14197 calling fl_initialize(). This fixes the problem with ',' as
14198 decimal separator in text files.
14200 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14202 * trans.C (process): Fix the keymap bug.
14204 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14206 * LaTeX.C (scanAuxFiles): New method. Provides support for
14207 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14208 (scanLogFile) Scan for "run BibTeX" messages.
14210 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14211 OT1 font encoding. Also, load the aecompl package if the ae
14214 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14216 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14218 * texrow.C (increasePos): turn two error messages into debug
14221 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14223 * LaTeX.C (scanAux): Handle the \@input macro.
14224 (runBibTeX): Use scanAux().
14226 * language.C (latex_options_): New field.
14228 * LaTeXFeatures.C (getMacros): Add language macros.
14230 * buffer.C (makeLaTeXFile): Small fix.
14232 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14234 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14236 * text2.C: add a using directive.
14238 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14243 * lyxfunc.C: kill LyXBell.
14245 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14247 * text.C (IsBoundary): Remove the error message
14249 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14251 * lyxrc.C (setDefaults): Correct initialization value for
14254 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14256 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14259 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14260 and GotoNextNote().
14262 * src/LyXAction.C: Added reference-next.
14264 * text.C (InsertChar): Use contains instead of strchr.
14266 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14268 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14270 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14271 alignment commands (when needed).
14273 * text.C (InsertChar): Add ':' to number separator chars.