1 2003-12-28 Angus Leeming <leeming@lyx.org>
3 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
5 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
7 * text2.C (setParagraph): fix off-by-one crash
9 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
11 * output_docbook.C: header stuff for AGU
13 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
15 * text2.C (redoCursor): remove
18 * BufferView_pimpl.C: remove calls to redoCursor and
19 setCursor(cursor.par(), cursor.pos()) all around
21 2003-12-15 Angus Leeming <leeming@lyx.org>
23 * buffer.C: up the format to 228.
25 2003-12-15 André Pönitz <poenitz@gmx.net>
27 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
41 2003-12-15 Angus Leeming <leeming@lyx.org>
43 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
44 than getFromGUIName to manipulate the color.
46 2003-12-14 Angus Leeming <leeming@lyx.org>
48 * BranchList.[Ch]: minimize the API.
49 (Branch::getBranch, getColor): now return a 'const &'.
50 (Branch::setSelected) now returns a bool set to true if the
51 selection status changes.
52 (BranchList::clear, size, getColor, setColor, setSelected,
53 allBranches, allSelected, separator): removed.
54 (BranchList::find): new functions, returning the Branch with
56 (BranchList::add, remove): return a bool indicating that
57 the operation was successful.
59 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
60 new InsetBranch::isBranchSlected member function.
62 * LColor.[Ch]: mimimize the API.
63 (fill): renamed as addColor and made private.
64 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
65 versions of these functions taking a string arg have been removed.
67 * bufferparams.C (readToken):
68 * lyxfunc.C (dispatch):
69 * lyxrc.C (read): changes due to the altered BranchList and
72 * factory.C (createInset, readInset): changes due to altered
75 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
78 * lyxfunc.C: remove insetminipage. "minipage-insert"
79 now produces a frameless minipage box inset.
81 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
83 * textcursor.[Ch] (selStart,selEnd): add new methods
84 remove selection::start, end, use LyXCursor::operator<
85 * lyxcursor.[Ch] (operator<): add
86 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
87 * BufferView.[Ch] (unsetXSel): add
88 * text2.C (clearSelection): use unsetXSel,adjust
91 * rowpainter.C: adjust
92 * bufferview_funcs.C (put_selection_at): adjust
94 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
96 * BufferView_pimpl.C: small coord. correction
98 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
100 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
101 dragging over the splash screen.
103 2003-12-11 Angus Leeming <leeming@lyx.org>
105 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
106 as it is now handled in LyXText::dispatch.
108 * text3.C (doInsertInset): remove a level of nesting.
110 2003-12-11 Angus Leeming <leeming@lyx.org>
112 * factory.C (createInset): changes due to the changed interface to
113 InsetCommandMailer::string2params.
115 2003-12-10 Angus Leeming <leeming@lyx.org>
117 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
118 'dialog-show-new-inset <inset name>'
120 2003-12-10 Angus Leeming <leeming@lyx.org>
122 * buffer.C: up the format to 227.
124 * factory.C: the box inset is now identified simply by 'Box'.
126 2003-12-10 Angus Leeming <leeming@lyx.org>
128 * buffer.C: up the format to 226.
130 * factory.C: the note inset is now identified simply by 'Note'.
132 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
134 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
135 when a pit is enough. Standarize a couple of loops.
137 2003-12-05 Angus Leeming <leeming@lyx.org>
139 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
140 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
141 data to the re-worked "log" dialog.
143 2003-12-03 André Pönitz <poenitz@gmx.net>
151 * text2.C: use Inset::getText instead of Inset::getParagraph
153 2003-12-03 André Pönitz <poenitz@gmx.net>
157 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
158 InsetText::read() as LyXText::read()
160 2003-12-02 Angus Leeming <leeming@lyx.org>
162 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
163 type. Add a comment in the implementation that the function uses
164 the stream's bad() function rather than fail() as the std::streams
167 2003-12-02 André Pönitz <poenitz@gmx.net>
169 * lyxlex.[Ch]: make interface more similar to std::stream
171 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
173 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
175 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
177 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
179 * vspace.[Ch]: remove VSpace::NONE
181 2003-12-01 André Pönitz <poenitz@gmx.net>
184 * lyxtext.h: move ParagraphList member to LyXText
185 rename LyXText::ownerParagraphs to LyXText::paragraph
188 * bufferview_funcs.C:
198 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
200 * undo.C: fix cursor positioning
202 2003-12-01 John Levon <levon@movementarian.org>
204 * BufferView_pimpl.C: fix a crash on exit with
207 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
209 * BranchList.C: fix setSelected() method.
211 2003-11-28 André Pönitz <poenitz@gmx.net>
213 * ParagraphParameters.[Ch]:
214 * ParameterStruct.h: remove space above/below from Paragraph to
217 * BufferView_pimpl.C:
229 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
231 * factory.C: Syntax change for CharStyles
233 2003-11-28 André Pönitz <poenitz@gmx.net>
238 * buffer.[Ch]: move LyXText member
240 2003-11-28 André Pönitz <poenitz@gmx.net>
242 * BufferView.[Ch]: make LyXText * text a private member
244 * BufferView_pimpl.C:
255 * output_plaintext.C: cleanup
257 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
260 * lyxtextclass.[Ch]: parametrize SGML document header
262 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
265 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
268 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
270 * text2.C (setFont): rework using PosIterator (no more recursive)
271 (setCharFont): no more needed
272 (setLayout): no more selection cursors fiddling (done by redoCursor)
273 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
274 destroy remaining ones)
276 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
278 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
280 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
283 * text3.C: adjust + re-allow multi par depth changes
284 * textcursor.C: simplify a bit
286 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
292 * src/output_docbook.C:
293 * src/output_latex.C:
298 * src/text2.C: Introducing a number of tags parametrizing various
299 XML formats that we may want to support
301 2003-11-25 André Pönitz <poenitz@gmx.net>
303 * InsetList.[Ch] (begein, end): inline as suggested by profiler
305 * lyxtext.h (leftMargin/rightMargin): simplify interface
312 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * lyxfunc.C (dispatch): propogate the bibtex databases from the
315 master file to any child files. Fixes bug 546.
317 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
319 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
321 2003-11-24 André Pönitz <poenitz@gmx.net>
323 * rowpainter.C: simplification
325 * text2.C (updateCounters): remove call to redoParagraph on
326 changed labels as this is far too expensive.
328 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
330 * converter.C (convert): fix a crash: this function gets
331 called with buffer == 0 from importer code.
333 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
335 * text3.C (cursorPrevious): make sure that we do not compare
336 iterators form different containers.
339 * rowpainter.C (paintSelection): make sure that we do not compare
340 iterators from different containers.
342 * text3.C (dispatch): [PRIOR] make sure that we do not compare
343 iterators from different ParagraphList containers.
346 * text2.C (LyXText): change order of initialization slightly
347 (operator=): new function. copy all variables except cache_par_
348 (moveUp): make sure that we do not compare iterators from
349 different ParagraphList constainers.
352 * text.C (firstPar): new function
353 (lastPar): new function
354 (endPar): new function
356 * lyxtext.h: move things around and group public functions, public
357 variables, private functions, private variables
359 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
361 * factory.C: change call to InsetERT constructor to avoid
362 additional invocation of method status
363 * text2.C (toggleInset): remove redundant update() call
364 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
365 instead of a Bufferview pointer
367 2003-11-21 André Pönitz <poenitz@gmx.net>
369 * rowpainter.C: simplification
371 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
373 * text3.C (dispatch): make possible to extend a word/row selection
376 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
378 * lyxtext.h: x0_,y0_ -> xo_,yo_
379 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
380 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
381 * rowpainter.C (paintRows): paint full paragraphs
383 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
385 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
388 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
390 * lyxtext.h: add x0_, y0_
391 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
392 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
394 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
396 * text2.C (setCursorIntern): move the x_target update here *
397 * text3.C: change some bv() to true/false in calls to
398 cursorUp/Down/Right/Left
399 * cursor.C: use helper function.
401 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
403 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
404 * paragraph_funcs.[Ch]: correct comment
405 * rowpainter.C: do not paint selections away from bv->cursor()
406 Fix a long standing selection painting bug.
407 * text3.C: generalize mouse-selection code to LyXTexts other that
409 * textcursor.C: do not use y coords if we can use par offsets
411 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
413 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
414 cursor position after e.g. inset insert)
416 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
418 * lyxfind.C (replace): adjust to locking removal + some
421 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
423 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
426 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
429 * output_docbook.C: XML sanitation: new layout
430 parameters InnerTag and CommandDepth
432 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
434 * BufferView_pimpl.C:
436 * text3.C: Fix the insertion and modification of button-style
439 2003-11-13 André Pönitz <poenitz@gmx.net>
441 * InsetList.[Ch]: remove deleteLyXText
443 * paragraph.[Ch]: cache beginOfBody position
448 * text3.C: remove superfluous update() calls
452 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
454 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
455 * BufferView.C (fitLockedInsetCursor): remove
456 * cursor.[Ch] (getDim): add
457 * text.C (getRowNearY): add faster version
458 * text3.C: remove some update calls
460 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
472 * text3.C: The Character Style /XML short element patch.
474 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
477 * factory.C: Small step to solving 'unable to insert some insets'
480 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
482 * cursor.[Ch] (updatePos): new function for updating the y
483 position of the tip inset
484 * bufferview_funcs.C (put_selection_at):
485 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
487 2003-11-11 André Pönitz <poenitz@gmx.net>
489 * text.C: remove big comment on invalid Paragraph pointers as it is
492 2003-11-11 André Pönitz <poenitz@gmx.net>
494 * text_funcs.[Ch]: merge with ...
502 * Makefile.am: remove text_funcs.[Ch]
504 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
506 * cursor.C (getPos): return absolute cached y coord
508 * BufferView_pimpl.C (fitCursor): new simplistic code
509 (workAreaDispatch): add a fitCursor call
511 2003-11-10 André Pönitz <poenitz@gmx.net>
514 * BufferView_pimpl.[Ch]: merge update() and updateInset()
516 2003-11-10 André Pönitz <poenitz@gmx.net>
518 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
519 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
520 indicate that the cursor needs to leave an inset
522 * lyxtext.h: remove inset locking
524 * cursor.[Ch]: re-implement functionality provided by inset locking
527 * BufferView_pimpl.[Ch]:
529 * bufferview_funcs.[Ch]:
541 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
543 * PosIterator.[Ch]: replace the stack with a vector, add inset
545 * iterators.[C]: adjust
547 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
549 * lyxfind.C (replaceAll): mark the buffer dirty if something was
551 * paragraph_funcs.C (readParToken): put the correct id in the
552 error item, not the id of the top paragraph
554 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
556 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
557 * bufferview_funcs.C (put_selection_at): use the above
559 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
561 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
563 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * output_plaintext.h:
568 * output_docbook.h: add #include statements
570 2003-11-05 José Matos <jamatos@lyx.org>
572 * output_docbook.[Ch]:
574 * output_linuxdoc.[Ch]:
575 * output_plaintext.[Ch]: New files for output formats.
576 * output.[Ch]: New file for helper functions.
579 * paragraph_funcs.[Ch]: output functions moved to new files.
581 * outputparams.h: rename of latexrunparams.h
589 * paragraph_funcs.[Ch]:
590 * paragraph_pimpl.[Ch]:
591 * tabular.[Ch]: rename ascii to plaintext
592 and LatexRunParams to OutputParams.
594 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
596 * iterators.[Ch] (text): require bv argument
597 * undo.C (recordUndo):
598 * lyxfunc.C (dispatch):
599 * bufferview_funcs.C (put_selection_at): adjust
601 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
603 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
605 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
607 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
610 2003-11-04 André Pönitz <poenitz@gmx.net>
612 * cursor.[Ch]: restructure
615 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
617 * iterators.[Ch] (asCursor): remove
619 * lfuns.h: remove LFUN_INSET_EDIT
625 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
627 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
629 * lyxfind.[Ch]: complete overhaul
630 * BufferView_pimpl.C:
632 * paragraph.[Ch] (insert): add
634 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
638 * text.C: remove dead spellcheck code
640 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * dispatchresult.h: add a val setter
644 * cursor.C (dispatch): use a tempvar for data_[i]
646 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
648 * PosIterator.[Ch]: compile fix
650 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
652 * text.C (cursorPar): deactivate the cursor cache
654 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
656 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
658 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
660 * text3.C (dispatch): adjust for new DisptchResult semantics.
662 * lyxfunc.C (dispatch): handle update when return from
663 Cursor::dispatch, adjust for new DispatchResult semantics.
665 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
666 DispatchResult(true) mean to not update. Add class functions for
667 setting dispatched and update, as well as reading.
669 * cursor.C (dispatch): don't handle update here
671 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
673 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
674 * trans_mgr.C: adjust
676 * paragraph_funcs.C (readParToken): exception safety
678 * lyxvc.h: store the vcs pointer in a scoped_ptr
681 * lyxsocket.C (serverCallback): exception safety
683 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
685 * ispell.C (clone): make it return a auto_ptr
687 * factory.C (createInset): exception safety
688 (readInset): exception safety
690 * bufferlist.C (newBuffer): exception safety
692 * Thesaurus.C (Thesaurus): use initialization for aik_
694 * MenuBackend.C (expandToc): exception safety.
696 2003-11-03 André Pönitz <poenitz@gmx.net>
700 * bufferview_funcs.C: remove getInsetFromId()
703 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
709 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
711 * PosIterator.C (distance, advance): new
712 * bufferview_funcs.[Ch] (put_selection_at): new
713 * iterators.[Ch] (lockPath): new
715 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
717 * iterators.[Ch] (asPosIterator): added
718 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
719 * PosIterator.[Ch]: added
721 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * cursor.C (dispatch):
726 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
728 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
729 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
730 contructor, add a class function dispatched. Remove operator>=
732 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
734 * debug.C: only use the default constructor for debugstream
737 * main.C (main): include debug.h and setup the lyxerr streambuf
740 2003-10-31 José Matos <jamatos@lyx.org>
742 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
744 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
745 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
746 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
747 * paragraph_pimpl.C (simpleTeXSpecialC):
748 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
749 add LatexRunParams argument.
751 * exporter.C (Export): change call accordingly.
753 * latexrunparams.h: add new member to take care of the other backends.
754 2003-10-30 José Matos <jamatos@lyx.org>
756 * buffer.C (makeLinuxDocFile, makeDocBookFile):
757 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
758 factorise code for paragraph output.
760 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
763 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
765 * text3.C (dispatch):
766 * lyxfunc.C (dispatch):
767 * cursor.C (dispatch):
768 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
770 * dispatchresult.h: make the dispatch_result_t ctor explicit
772 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
775 * buffer.C: small refactoring of docbook stuff
777 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
782 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
784 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
785 operator dispatch_result_t, and operators for == != and >=
787 * cursor.C (dispatch): adjust for operator dispatch_result_t
788 removal. comment out call to update
790 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
792 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
800 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
803 * dispatchresult.h: new file, DispatchResult broken out of
806 * Makefile.am (lyx_SOURCES): add dispatchresult.h
808 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
810 * text.C (rowBreakPoint): put a hack inside #if 0
812 2003-10-28 André Pönitz <poenitz@gmx.net>
819 * text2.C: general cleanup (lots of small stuff)
821 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
823 * text2.C (cursorEnd): simple fix to the "end key goes to one
824 before the end on last row" bug
826 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
828 * text.C (backspace): fix the "zombie characters"
830 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
832 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
834 2003-10-27 André Pönitz <poenitz@gmx.net>
836 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
838 * factory.C: handle new InsetPagebreak, InsetLine
840 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
841 and move handling into new InsetPagebreak, InsetLine
843 * BufferView_pimpl.C:
845 * ParagraphParameters.C:
858 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
867 * text3.C: remove lastPos uses in favour of Row::endpos
869 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
871 * undo.C (performUndoOrRedo): fix two crashes by setting a
872 cursor by hand and reordering some calls. Use bv->lockInset instead
873 of inset->edit because the latter loses cursor information
875 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
877 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
879 (rowBreakPoint): fix width. change point to point + 1.
882 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
885 * lyxfunc.C: fix (at least partly) the problems
886 with the Nav menu and headers inside branch insets
889 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
891 * paragraph.C (getChar): add strong asserts
893 * lyxrow_funcs.C (lastPos): remove hideous hack
895 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
896 (fill): adjust to that (avoid an infinite loop)
898 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
900 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
902 2003-10-23 André Pönitz <poenitz@gmx.net>
904 * RowList_fwd.h: change list<> to vector<> to gain speed
905 after suggestion from Alfredo
907 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
909 * lyxtext.h: move the bidi stuff from here...
912 * Bidi.[Ch]: ... to here
914 2003-10-23 André Pönitz <poenitz@gmx.net>
917 * text.C (isLastRow, isFirstRow): new functions
919 * paragraph.h: new width cache member
921 * rowpainter.C: replace RowList::iterator with Row & where possible
923 * lyxfunc.C: replace several view()->text with a single call
925 * toc.C: fix 'unused' warning
927 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
929 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
930 when woring with stream::pos_type
931 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
933 2003-10-22 André Pönitz <poenitz@gmx.net>
936 * text.C: use Row & instead of RowList::iterator
938 * lyxrow.h: rename end() to endpos()
944 2003-10-22 Angus Leeming <leeming@lyx.org>
946 * buffer.[Ch] (fully_loaded): new member function, returning true
947 only when the file has been loaded fully.
948 Used to prevent the premature generation of previews and by the
949 citation inset to prevent computation of the natbib-style label.
951 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
952 templates are all set up.
954 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
956 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
958 * text.C: fixed an "oops" in the "is a bit silly"
961 2003-10-21 André Pönitz <poenitz@gmx.net>
963 * FuncStatus.[Ch]: small stuff, whitespace
965 * lyxfont.[Ch]: operator<<() for debug reasons
969 * lyxtext.h: whitespace, spelling
971 * paragraph.C: naming of variables
974 * text2.C: small stuff
977 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
979 * text.C: (1) finish off the inset display() work;
980 (2) fix the "is a bit silly" bug (accessing char
983 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
985 * text.C: re-introduce display() for insets, fixing the
986 various bugs (stretch of line above, math inset
989 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * text.C (rightMargin): remove spurious semicolon
993 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
996 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
998 * text3.C: fix one crash due to wrong cursor def
1000 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * vc-backend.C (scanMaster): make the regex static
1004 * LaTeX.C (scanAuxFile): make the regexs static
1006 * text3.C (doInsertInset, dispatch, dispatch):
1007 * text2.C (cursorUp, cursorDown):
1008 * text.C (selectNextWordToSpellcheck):
1009 * BufferView_pimpl.C (dispatch):
1010 * lyxfunc.C (dispatch): localDispatch -> dispatch
1012 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * lyxsocket.C: include <cerrno>
1016 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1018 * lyxfunc.C (dispatch): remove textcache stuff
1020 * bufferlist.C (release): remove textcache stuff
1023 * TextCache.C: delete file
1024 * TextCache.h: delete file
1026 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1028 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1029 delete of the bv_->text.
1030 (resizeCurrentBuffer): remove texcache stuff
1031 (workAreaResize): ditto
1033 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1035 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1038 2003-10-16 André Pönitz <poenitz@gmx.net>
1045 * text3.C: speed up by storing y positions per paragraph plus per-row
1046 offset instead of having a 'full' y position in the row.
1048 2003-10-15 André Pönitz <poenitz@gmx.net>
1052 * undo.[Ch]: make undo aware of inner insets
1054 2003-10-14 Angus Leeming <leeming@lyx.org>
1056 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1057 static member functions LyX::ref() and LyX::cref.
1058 (lastfiles): new accessor functions for the new lastfiles_ member var.
1059 (addLyXView, views_): add a new LyXView to the list of views_.
1060 (updateInset): loop over all LyXViews to call their own updateInset
1061 member function, returning a pointer to the Buffer owning the inset.
1063 * BufferView_pimpl.C (loadLyXFile):
1064 * MenuBackend.C (expandLastfiles):
1065 * bufferlist.C (MenuWrite, QuitLyX):
1066 lastfiles is no longer a global variable.
1067 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1069 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1070 static function. Access through LyX::cref().emergencyCleanup().
1072 2003-10-14 André Pönitz <poenitz@gmx.net>
1074 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1076 * undo.[Ch]: restoring part of 'undo in insets'
1079 * undo_funcs.[Ch]: merge with undo.[Ch]
1081 * tabular.C: small cleansing stuff
1083 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1085 * paragraph_funcs.C (readParToken): report unknown insets as error
1086 boxes. Use the outer paragraph as location (also for unknown
1089 * factory.C (readInset): do not abort on reading an unknown inset.
1090 Eat it and return 0.
1092 2003-10-13 Angus Leeming <leeming@lyx.org>
1094 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1096 * lyxrc.C: displayTranslator is now a function,
1097 declared in GraphicsTypes.h.
1099 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1101 * format.C: new placeholder $$a to pass the socket address.
1103 * bufferlist.[Ch]: new function getBufferFromTmp.
1105 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1106 files in the temporary dir.
1108 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1110 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1112 * Makefile.am: add lyxsocket.[Ch].
1114 * lyx_main.C (error_handler): handle SIGPIPE.
1116 2003-10-13 André Pönitz <poenitz@gmx.net>
1118 * BufferView_pimpl.C:
1123 * undo_funcs.[Ch]: use paroffset_type instead of
1124 ParagraphList::iterators to prevent multiple conversion
1125 (and get a more robust interface)
1127 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1129 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1131 * text3.C (dispatch): ditto
1133 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1135 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1136 move the onlyfile, use onlyfile instead of foundfile in a couple
1139 * DepTable.C (update): flush the error stream a bit more
1141 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * lyxserver.C (callback): adjust
1145 * lyxfunc.C (getStatus): add a missing brace in commented code
1146 (ensureBufferClean): reindent
1147 (dispatch): delete version taking a string
1149 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1151 * LaTeX.C (deplog): move found file handlig from here...
1152 (handleFoundFile): .. to new function here.
1153 (deplog): make sure to discover several files mentioned on the
1156 2003-10-10 André Pönitz <poenitz@gmx.net>
1163 * text3.C: fix some of the tabular crashes
1165 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1167 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1169 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1171 2003-10-09 André Pönitz <poenitz@gmx.net>
1173 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1176 * BufferView_pimpl.C:
1177 * bufferview_funcs.C:
1188 * undo_funcs.C: adjust
1190 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1192 * text2.C (incrementItemDepth): new function, use a backtracking
1193 algorithm to discover the correct item depth.
1194 (resetEnumCounterIfNeeded): new function, use a backtracking
1195 algorithm to discover if counter reset is needed.
1196 (setCounter): use them. Simplify a bit. Add different labels for
1197 different item depths for itemize.
1199 * paragraph.C (Paragraph): remove initialization of enumdepth
1202 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1203 enumerate and itemize. Change the type of itemdepth to signed char.
1205 2003-10-08 André Pönitz <poenitz@gmx.net>
1207 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1212 * tabular.[Ch]: fix crash after 'row-insert'
1214 2003-10-08 Angus Leeming <leeming@lyx.org>
1216 Fix doxygen warnings.
1218 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1219 Remove CutAndPaste:: prefix from header file declaration.
1221 * LColor.h (fill): remove LColor:: prefix from declaration.
1223 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1224 use lyx::depth_type rather than Paragraph::depth_type so that
1225 header file and .C file match.
1227 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1229 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1230 * aspell.C: \file aspell_local.C -> \file aspell.C
1231 * gettext.C: \file gettext.C -> \file src/gettext.C
1232 * gettext.h: \file gettext.h -> \file src/gettext.h
1233 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1234 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1235 * text.C: \file text.C -> \file src/text.C
1237 * toc.C: move comment so that doxygen is not confused.
1239 2003-10-07 Angus Leeming <leeming@lyx.org>
1241 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1243 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1246 * aspell_local.h: add forgotten std::string's.
1248 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1255 * text3.C: The Box patch. Fancybox support, minipage, parbox
1257 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1263 * ParagraphParameters.h:
1273 * lyxtextclasslist.h:
1276 * paragraph_pimpl.C:
1277 * textcursor.h: add <string> and other small fixes to make Lars'
1278 std::string patch compile with STLport.
1280 2003-10-06 Angus Leeming <leeming@lyx.org>
1282 * LColor.h: Add missing #include <string>.
1284 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * All most all file in all subdirs: Make <string> be the prefered
1287 way of getting to std::string, add using declarations.
1289 2003-10-06 André Pönitz <poenitz@gmx.net>
1291 * metricsinfo.C: initialize LyXFont before changing attribute.
1292 (fixes the 'math in \emph is upright' bug)
1294 2003-10-06 André Pönitz <poenitz@gmx.net>
1296 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1298 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1301 * paragraph_pimpl.C: Small fixes to build using STLport
1303 2003-10-02 André Pönitz <poenitz@gmx.net>
1306 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1308 2003-10-01 André Pönitz <poenitz@gmx.net>
1310 * factory.C: assert early
1312 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1314 * lyx_main.C: remove the global debug object
1316 * debug.h: adjust for new debugstream
1318 * debug.C: adjust for new debugstream and keep the global debug
1321 2003-09-22 Angus Leeming <leeming@lyx.org>
1323 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1324 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1325 an incomplete class LyXFont.
1327 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1329 * factory.C: bug fix in branches
1331 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * lyxfunc.C (processKeySym): adjust
1335 (dispatch): change arg name from ev to func, adjust
1336 (sendDispatchMessage): ditto
1338 * lyx_main.C (defaultKeyBindings): adjust keybindings
1339 (deadKeyBindings): ditto
1341 * kbsequence.C (addkey): return a FuncRequest
1343 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1345 * kbmap.C (bind): take a FuncRequest as arg, adjust
1348 (defkey): change to take a FuncRequest as arg, adjust
1349 (findbinding): take a FuncRequest as arg, adjust.
1351 * funcrequest.h (operator=): added
1353 * funcrequest.C (FuncRequest): default kb_action changed from
1354 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1356 * buffer.C (dispatch): simplify
1357 (dispatch): adjust to take a FuncRequest as arg, adjust
1359 * boost.C (assertion_failed): change assertion message slightly
1361 * ToolbarBackend.C (read): simplify
1363 * MenuBackend.C (binding): adjust call to findbinding, add a
1364 message if no binding is found.
1366 (expandToc): correct by adding a empty FuncRequest
1368 * LyXAction.C: include <boost/assert.hpp>
1369 (isPseudoAction): delete function
1370 (LookupFunc): change name to...
1371 (lookupFunc): this. change return type to FuncRequest.
1372 (getActionName): take kb_action as arg, simplify
1373 (funcHasFlag): add an assert, simplify.
1375 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1377 * toc.C (action): return a FuncRequest, simplify
1379 * lyxfunc.C (processKeySym): adjust
1380 (getStatus): delete version that takes an int.
1382 (dispatch): delete version that takes action as int
1384 (sendDispatchMessage): simplify and adjust
1386 * funcrequest.C (getArg): take unsigned int as arg
1388 * ToolbarBackend.C (read): adjust
1389 (add): delete version that takes func as a string.
1390 (getIton): take a FuncRequest as arg
1392 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1395 * MenuBackend.C (MenuItem): add a new construct that only takes a
1396 Kind, simplify the constructor use for submenus.
1398 (expandLastfiles): adjust
1399 (expandDocuments): adjust
1400 (expandFormats): adjust
1401 (expandFloatListInsert): adjust
1402 (expandFloatInsert): adjust
1403 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1405 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1406 Remove class variables lyx_pseudo_map and lyx_arg_map
1408 * LyXAction.C (searchActionArg): delete function
1409 (getPseudoAction): delete function
1410 (retrieveActionArg): delete function
1411 (LookupFunc): make it return kb_action, simplify.
1412 (getActionName): simplify
1414 * factory.C (createInset): fix new bug
1416 2003-09-19 Angus Leeming <leeming@lyx.org>
1418 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1419 masterFilename_ parameter in the include inset.
1421 * factory.C (createInset): changes due to the changes to InsetInclude.
1423 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1425 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1427 2003-09-18 Angus Leeming <leeming@lyx.org>
1430 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1431 Inset::fillWithBibKeys.
1432 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1434 2003-09-18 Angus Leeming <leeming@lyx.org>
1436 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1438 (ctor): pass and store a 'Buffer const &'
1439 (buffer): new member function.
1441 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1442 '*this' to the LaTeXFeatures ctor.
1444 2003-09-18 Angus Leeming <leeming@lyx.org>
1450 * text.C: rename EnumLColor as LColor_color.
1452 2003-09-18 Angus Leeming <leeming@lyx.org>
1454 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1455 remove #include "insets/insetbase.h" from cursor.h.
1457 2003-09-18 Angus Leeming <leeming@lyx.org>
1459 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1460 InsetOld_code to remove #include "inset.h".
1462 * iterators.C: add #include "insets/inset.h"
1464 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1466 * BufferView.C: remove more locking stuff that apparently doesn't
1467 do anything sensible.
1469 2003-09-16 André Pönitz <poenitz@gmx.net>
1472 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1475 2003-09-16 Angus Leeming <leeming@lyx.org>
1477 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1479 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1482 * paragraph.h: remove #include "lyxfont.h". Forward declare
1485 2003-09-16 Angus Leeming <leeming@lyx.org>
1487 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1488 of support/textutils.h.
1489 (isWord): move the contents of support/textutils.h's IsWordChar here.
1495 * text2.C: add #include "paragraph.h".
1498 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1500 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1506 * LaTeX.C: use namespace alias for lyx::support::os
1508 2003-09-16 Angus Leeming <leeming@lyx.org>
1511 * bufferview_funcs.C:
1514 * paragraph_pimpl.C:
1516 * text.C: add #include "LColor.h".
1518 2003-09-16 Angus Leeming <leeming@lyx.org>
1520 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1521 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1523 Store the FontBits::color variable as an int rather than as an
1524 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1527 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1528 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1529 string calls together.
1531 * lyxrc.C: add #include "LColor.h".
1533 2003-09-15 Angus Leeming <leeming@lyx.org>
1535 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1538 2003-09-15 Angus Leeming <leeming@lyx.org>
1540 * LColor.h: add an EnumLColor wrapper for LColor::color.
1542 * lyxfont.[Ch] (color, setColor, realColor):
1543 * lyxtext.h, text.C (backgroundColor):
1544 pass EnumLColor args to/from the functions, rather than LColor::color
1548 * lyxtext.h: forward declare EnumLColor.
1550 * lyx_main.C: add #include "LColor.h".
1552 2003-09-15 Angus Leeming <leeming@lyx.org>
1554 * .cvsignore: add lyx-gtk.
1556 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * ParagraphParameters.C
1565 * bufferview_funcs.C
1575 * vc-backend.C: remove usage of STRCONV
1577 2003-09-15 Angus Leeming <leeming@lyx.org>
1579 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1580 explicitly define the color passed to the painter.
1582 2003-09-15 Angus Leeming <leeming@lyx.org>
1584 * bufferparams.C (BufferParams): reorder member initializers to avoid
1587 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1589 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1590 * text.C (updateRowPositions): remove an unusual nop
1592 2003-09-12 André Pönitz <poenitz@gmx.net>
1594 * BufferView_pimpl.C:
1603 * Counters.[Ch]: finish the 'automatic counters' job
1605 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1607 * aspell.C: include <boost/assert.cpp> (compile fix)
1609 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1611 * boost.C (assertion_failed): use lyx::support::abort instead of
1614 2003-09-10 Angus Leeming <leeming@lyx.org>
1616 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1617 with their _fwd progeny.
1619 2003-09-09 Angus Leeming <leeming@lyx.org>
1621 134 files throughtout the source tree: replace 'using namespace abc;'
1622 directives with the appropriate 'using abc::xyz;' declarations.
1624 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1626 * boost.C (emergencyCleanup): moved here from LAssert.c
1627 (assertion_failed): new function, called by BOOST_ASSERT
1629 * several files: change Assert to BOOST_ASSERT
1631 2003-09-09 Angus Leeming <leeming@lyx.org>
1633 * buffer.[Ch]: Add an Impl class and move Buffer's member
1634 variables into it. As a result move several header files out of
1637 Add header files to lots of .C files all over the tree as a result.
1639 2003-09-09 Angus Leeming <leeming@lyx.org>
1641 * buffer.[Ch]: make Buffer's member variables private. Add
1644 Lots of changes all over the tree as a result.
1646 2003-09-08 Angus Leeming <leeming@lyx.org>
1648 * graph.C: #include <config.h>.
1650 2003-09-08 Angus Leeming <leeming@lyx.org>
1654 * BufferView_pimpl.C:
1683 * toc.C: remove redundant using directives.
1685 2003-09-07 Angus Leeming <leeming@lyx.org>
1687 * LaTeXFeatures.h: remove #include "support/types.h".
1688 * ToolbarBackend.h: remove #include <algorithm>.
1689 * changes.h: remove #include <ctime>.
1690 * debug.h: remove #include <iosfwd>.
1691 * graph.h: remove #include "support/std_string.h".
1692 * lyx_main.h: remove #include <csignal>.
1693 * lyxlex_pimpl.h: remove #include <fstream>.
1694 * sgml.h: remove #include <algorithm>, <utility>.
1695 * toc.h: remove #include "support/std_ostream.h".
1696 Add #include <iosfwd>.
1698 2003-09-07 Angus Leeming <leeming@lyx.org>
1700 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1702 * converter.h: forward declare LatexRunParams.
1703 * encoding.h: remove #include "lyxrc.h".
1704 * lyxtext.h: remove #include "LColor.h".
1705 * lyxtextclass.h: remove #include "support/types.h".
1706 * trans.h: remove #include "tex-accent.h".
1707 * trans_mgr.h: remove #include "tex-accent.h".
1708 * insets/inset.h: remove #include "support/types.h", <vector>.
1709 * insets/insetcollapsable.h: remove #include "LColor.h".
1710 * insets/insetinclude.h: remove #include "dimension.h".
1711 * insets/insetlatexaccent.h: remove #include "dimension.h".
1712 * insets/insetoptarg.h:: remove #include "insettext.h".
1713 * insets/insettext.h: remove #include "dimension.h",
1714 <boost/shared_ptr.hpp>
1716 * insets/renderers.h: add #include "dimension.h".
1717 * insets/updatableinset.h: add #include "support/types.h".
1719 * many .C files: Associated changes.
1721 2003-09-06 Angus Leeming <leeming@lyx.org>
1723 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1724 one, inside testInvariant.
1726 * PrinterParams.C: new file.
1727 * PrinterParams.[Ch]: move the function bodies out of line.
1729 2003-09-06 Angus Leeming <leeming@lyx.org>
1731 * ParagraphParameters.h: forward declare ParameterStruct rather than
1732 including its header file.
1733 (depth): moved out-of-line.
1735 2003-09-06 Angus Leeming <leeming@lyx.org>
1737 * BufferView_pimpl.h:
1740 * lyxfunc.h: forward declare LyXKeySym rather than
1741 #include "frontends/LyXKeySym.h".
1743 * BufferView_pimpl.C:
1746 * lyxfunc.C: associated changes.
1748 2003-09-06 Angus Leeming <leeming@lyx.org>
1750 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1751 As a result, can remove the #include "insets/inset.h" from BufferView.h
1753 2003-09-06 Angus Leeming <leeming@lyx.org>
1755 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1756 As a result, can remove the #include "insets/inset.h" from BufferView.h
1758 2003-09-06 Angus Leeming <leeming@lyx.org>
1764 * bufferview_funcs.C:
1765 * BufferView_pimpl.C:
1770 * ParagraphParameters.C:
1775 * frontends/controllers/ControlDocument.C:
1776 * insets/insetcaption.C: rearrange the #includes into some sort of
1779 * buffer.h: remove #includes ErrorList.h, undo.h
1781 2003-09-06 Angus Leeming <leeming@lyx.org>
1783 * support/types.h: add a 'depth_type' typedef, used to store the
1784 nesting depth of a paragraph.
1787 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1788 defining explicitly.
1791 * paragraph_funcs.h:
1792 * ParagraphParameters.h:
1793 * sgml.h: use lyx::depth_type rather than Paragraph or
1794 ParameterStruct's depth_type.
1797 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1800 * BufferView_pimpl.C:
1802 * ParagraphParameters.C:
1805 * bufferview_funcs.C:
1812 * frontends/LyXView.C:
1813 * frontends/controllers/ControlDocument.C:
1814 * frontends/controllers/ControlErrorList.C:
1815 * insets/insetbibitem.C:
1816 * insets/insetbranch.C:
1817 * insets/insetcaption.C:
1818 * insets/insetcollapsable.C:
1819 * insets/insetenv.C:
1820 * insets/insetert.C:
1821 * insets/insetfloat.C:
1822 * insets/insetfoot.C:
1823 * insets/insetfootlike.C:
1824 * insets/insetnewline.C:
1825 * insets/insetquotes.C:
1826 * insets/insettabular.C:
1827 * insets/insettext.C:
1828 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1830 * frontends/controllers/ControlChanges.C: #include "changes.h".
1832 2003-09-06 Angus Leeming <leeming@lyx.org>
1834 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1835 than #including paragraph.h.
1838 * RowList.h: deleted. Superfluous.
1848 * insets/insettext.h: use ParagraphList_fwd.h rather than
1851 * paragraph.h: don't forward declare ParagraphList.
1854 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1855 rather than ParagraphList.h. paragraph.h is still needed for the
1856 Paragraph::depth_type parameters.
1858 * textcursor.h: enable it to compile stand-alone in light of the
1861 * bufferview_funcs.C:
1873 * frontends/controllers/ControlParagraph.C:
1874 * frontends/controllers/ControlTabular.C:
1875 * insets/insetmarginal.C:
1876 * insets/insetminipage.C:
1877 * insets/insetnote.C:
1878 * insets/insetoptarg.C: add header files needed to compile again.
1880 2003-09-06 Angus Leeming <leeming@lyx.org>
1882 * RowList_fwd.h: new file, forward-declaring Row rather than
1883 #including lyxrow.h.
1888 * insets/insettext.h: use it instead of RowList.h
1890 * bufferview_funcs.C:
1897 * text3.C: #include "RowList.h".
1899 2003-09-05 Angus Leeming <leeming@lyx.org>
1901 * factory.C (createInset):
1902 * vspace.C (c-tor): replace sscanf call with an istringstream.
1903 * ispell.C: re-add missing HP/UX headers.
1904 * lyxserver.C: re-add missing os2 headers.
1906 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1915 * text3.C: re-add missing system headers, needed for 2.95.2.
1917 2003-09-05 Angus Leeming <leeming@lyx.org>
1919 Changes most place everywhere due to the removal of using directives
1920 from support/std_sstream.h.
1922 2003-09-05 Angus Leeming <leeming@lyx.org>
1924 Replace LString.h with support/std_string.h,
1925 Lsstream.h with support/std_sstream.h,
1926 support/LIstream.h with support/std_istream.h,
1927 support/LOstream.h with support/std_ostream.h.
1929 Changes resulting throughout the tree.
1931 2003-09-05 Angus Leeming <leeming@lyx.org>
1933 * sgml.h: ensure that the header file can be compiled stand-alone.
1934 * *.C: strip out redundant #includes. (320 in total.)
1936 2003-09-04 Angus Leeming <leeming@lyx.org>
1938 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1939 here (from getPackages).
1941 * debug.[Ch]: add a new EXTERNAL tag.
1943 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1945 * text2.C (cursorEnd): simplify
1947 (getColumnNearX): adjust
1949 * text.C (computeBidiTables): adjust
1952 * rowpainter.C (paintChars): adjust
1953 (paintSelection): adjust
1954 (paintChangeBar): adjust
1957 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1959 (numberOfSeparators): adjust
1961 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1967 * text3.C: Restricts the mouse click functionality
1968 of insets like bibtex, include, toc and floatlist to the visible
1969 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1970 up the dialogs. Cursor has to be in front of the inset (i.e.
1971 start of row) for this to function.
1973 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1975 * bufferview_funcs.C (currentState): output row information
1977 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1979 * bufferview_funcs.C (currentState): output paragraph position
1981 2003-09-04 Angus Leeming <leeming@lyx.org>
1983 * FloatList.h: move out #include "Floating.h".
1984 * LaTeX.h: move out #include "DepTable.h".
1985 * LyXAction.h: move out #include "funcrequest.h".
1986 * buffer.h: move out #include "author.h", "iterators.h".
1987 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1988 * lyx_main.h: move out #include "errorlist.h".
1989 * lyxfunc.h: move out #include "FuncStatus.h".
1990 * lyxtext: move out #include "lyxcursor.h".
1991 * paragraph_pimpl.h: move out #include "counters.h".
1993 2003-09-03 Angus Leeming <leeming@lyx.org>
1995 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1996 preamble_snippets list, enabling us to add snippets to the preamble
1997 only if the snippet was not there already.
1999 2003-09-04 Angus Leeming <leeming@lyx.org>
2001 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2003 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2005 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2008 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2010 * BranchList.C: point fix, earlier forgotten
2012 2003-09-02 Angus Leeming <leeming@lyx.org>
2014 * box.C (contains): renamed from 'contained' after a fantastic
2017 2003-09-02 John Levon <levon@movementarian.org>
2023 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2025 2003-09-02 John Levon <levon@movementarian.org>
2027 * text2.C: simplification of cursorEnd(), including partial
2030 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * buffer.C (readFile): add a space
2034 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2036 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2038 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * buffer.C (readFile): new function, take a filename and a
2041 ParagraphList::iterator
2043 (readFile): adjust, make it private. don't use setStream, make
2044 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2045 always contain the filename.
2047 * BufferView.C (insertLyXFile): simplify and make it work for
2050 2003-08-30 John Levon <levon@movementarian.org>
2052 * Makefile.am: fix dist (from Kayvan)
2054 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * most files: change to use const Buffer refs
2058 2003-08-27 André Pönitz <poenitz@gmx.net>
2060 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2061 on top of ownerPar().
2063 2003-08-27 John Levon <levon@movementarian.org>
2065 * funcrequest.C: properly initialise POD members
2067 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2069 * lyxtext.h (top_y): move top_y from here
2074 * BufferView_pimpl.[Ch]: to here
2075 * frontends/screen.C:
2076 * insets/insettabular.C:
2077 * insets/insettext.C: adjust
2078 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2080 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2083 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2085 2003-08-26 André Pönitz <poenitz@gmx.net>
2087 * paragraph_func.[Ch] (outerPar): new function
2090 * paragraph_funcs.C:
2091 * paragraph_funcs.h:
2092 * paragraph_pimpl.C:
2093 * text2.C: remove Inset::par_owner
2095 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2100 * text2.C: eliminates the needFullRow/display() stuff
2101 altogether, putting the logic in metrics/draw in the insets.
2103 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2105 * text2.C (redoParagraphInternal, redoParagraphs):
2106 * text.C (redoParagraph): add a call to updateRowPositions at the
2107 end of each 'metrics-like' call. Remove all others.
2108 (getRow): remove the 'y-computing' version.
2109 (getRowNearY): do not compute nor return the real y. Solve the
2110 'y < 0' problem and simplify.
2112 2003-08-22 Angus Leeming <leeming@lyx.org>
2114 * *.[Ch]: clean-up of licence and author blurbs.
2115 Also move config.h out of a few .h files and into a few .C files.
2117 2003-08-22 André Pönitz <poenitz@gmx.net>
2119 * lyxrow.[Ch]: add x_ and *fill_ members
2124 * text2.C: adjust/remove prepareToPrint() calls
2126 2003-08-22 André Pönitz <poenitz@gmx.net>
2128 * lyxrow.[Ch]: add end_ member
2130 * lyxrow_funcs.C: use LyXRow::end_
2132 * lyxtext.h (singleWidth): add LyXFont parameter
2135 * text2.C: adjust LyXText::singleWidth() calls
2137 * text.C (redoParagraph): simplify row breaking logic
2140 2003-08-19 André Pönitz <poenitz@gmx.net>
2142 * funcrequest.C: initialize button_ member
2145 * rowpainter.[Ch]: interface consolidation
2147 2003-08-18 André Pönitz <poenitz@gmx.net>
2150 * BufferView_pimpl.C:
2152 * paragraph_funcs.C:
2154 * text3.C: remove LyXScreen::draw() and fitCursor calls
2156 * BranchList.h: remove spurious semicolons
2158 * MenuBackend.C: fix branchlist related crash
2160 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2168 * bufferparams.[Ch]:
2172 * text3.C: implements the 'branch inset'
2173 idea. This allows the output of various versions of a document
2174 from a single source version, selectively outputing or suppressing
2175 output of parts of the text.
2176 This implementation contains a 'branch list editor' in a separate
2177 tab of the document settings dialog. Branches are user definable
2178 and have a "display colour" to distinguish them on-screen.
2180 ColorHandler was somewhat cleaned up.
2181 (1) make possible a dynamically growing LColor list by allowing
2182 the graphic context cache to grow along (vector);
2183 (2) eliminate an IMHO unnecessary step in colour allocation.
2185 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2187 * BufferView_pimpl.C: compile fix
2189 2003-08-15 André Pönitz <poenitz@gmx.net>
2191 * rowpainter.C: remove extra metrics calls
2193 * lyxtext.h: merge the two constructors into a single one,
2194 pass reference to owner's par list
2196 * BufferView_pimpl.C:
2200 2003-08-15 André Pönitz <poenitz@gmx.net>
2202 * lyxrow_funcs.[Ch]:
2205 * paragraph_funcs.C:
2210 * text_funcs.C: split LyXText::rowlist_ into individual
2211 Paragraph::rows_ chunks
2214 * BufferView_pimpl.[Ch]:
2217 * text3.C: remove toggleSelection()
2219 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2221 * bufferlist.C: beautify two alerts (shorter text of buttons)
2222 * buffer.C: Remove redundant ' ' from message
2224 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2225 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2226 rename VALIGN_CENTER to VALIGN_MIDDLE
2228 2003-08-11 André Pönitz <poenitz@gmx.net>
2230 * lyxtext.h (getPar):
2231 * text.C: new function
2233 2003-08-11 André Pönitz <poenitz@gmx.net>
2236 * tracer.[Ch]: remove unneeded files
2238 * InsetList.[Ch]: remove resizeInsetsLyXText()
2243 * text3.C: merge insertParagraphs() and appendParagraph()
2244 remove breakAgain(), update()
2246 * BufferView_pimpl.[Ch]:
2247 * bufferview_funcs.[Ch]:
2251 * tabular.C: adjust after text & InsetList changes.
2253 2003-08-08 André Pönitz <poenitz@gmx.net>
2255 * text.C (insertChar, backspace): replace rowlist fiddling
2256 with rebreak of full par
2259 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2260 checkParagraph, updateInset): removed
2262 2003-08-07 André Pönitz <poenitz@gmx.net>
2265 * text3.C: merge some LFUN handlers, remove dead code
2267 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2269 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2271 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2273 * text2.C (DEPM): fix part of bug 1255 and 1256
2275 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2277 * BufferView_pimpl.C (workAreaDispatch): change to use
2278 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2279 that are no mouse related.
2281 2003-08-05 André Pönitz <poenitz@gmx.net>
2284 * BufferView_pimpl.[Ch]:
2285 * bufferview_funcs.C:
2287 * text3.C: rip out "deep update"
2289 * textcursor.[Ch] (last_sel_cursor): remove unused member
2291 2003-08-04 André Pönitz <poenitz@gmx.net>
2294 * BufferView_pimpl.[Ch]:
2295 * ParagraphParameters.C:
2296 * bufferview_funcs.C:
2302 * text3.C: replace "complicated" BufferView::update(...) calls with
2305 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2307 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2309 * Makefile.am (lyx_SOURCES): add paper.h
2311 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2313 * Makefile.am: move things around so that both lyx-qt and
2314 lyx-xforms can be built (according to --with-frontend). Then lyx
2315 is a symbolic link to lyx-[firstfrontend]
2317 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2319 * Always use std::endl with lyxerr
2321 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2323 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2325 2003-08-01 André Pönitz <poenitz@gmx.net>
2328 * BufferView_pimpl.[Ch]:
2330 * text3.C: merge BufferView::repaint() and BufferView::update()
2332 2003-08-01 José Matos <jamatos@lyx.org>
2334 * buffer.[Ch]: file_format is no longer a buffer data element.
2336 2003-08-01 André Pönitz <poenitz@gmx.net>
2341 * text2.C: make redoParagraph more independent of current cursor
2343 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2345 * text2.C: remove unneeded members
2347 2003-07-30 André Pönitz <poenitz@gmx.net>
2349 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2351 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2352 create a single function...
2354 * paragraph_funcs.C (moveItem): ... here.
2357 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2359 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2361 * LColor.[Ch]: Add comment and greyedout logical colors.
2363 2003-07-30 André Pönitz <poenitz@gmx.net>
2365 * tabular.C: don't use Assert too heavily. This crashes where it
2368 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2370 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2371 is disabled (bug 1232)
2373 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2375 * factory.C: limited 'arg' scope
2377 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2379 * factory.C: fixed Note submenu issues
2381 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2383 * factory.C: submenu for Note/Comment/Greyedout
2385 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2388 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2390 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2393 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2394 greyedout. Patch provided by Jürgen Spitzmüller.
2396 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2398 * kbmap.C (read): fix error message when reading bind files
2400 2003-07-29 Angus Leeming <leeming@lyx.org>
2402 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2403 certainly does not do what it purports to do. I am doing it, and
2404 us, a favour by killing it.
2406 2003-07-28 José Matos <jamatos@lyx.org>
2408 * buffer.C (readBody, do_writeFile):
2409 * paragraph.C(readParagraph): \end_document replaces \the_end.
2411 2003-07-29 André Pönitz <poenitz@gmx.net>
2414 * BufferView_pimpl.[Ch]:
2418 * textcursor.[Ch]: remove toggleToggle & Co
2420 2003-07-28 José Matos <jamatos@fep.up.pt>
2422 * buffer.C (readParagraph):
2423 * params_func (readParToken, readParagraph):
2424 * paragraph.C (write): \layout -> \begin_layout.
2426 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * lyxlex_pimpl.C (setFile): clean up slightly.
2430 * bufferparams.h: add compressed var
2432 * buffer_funcs.C (readFile): adjust for LyXLex change
2433 (newFile): ditto + simplify
2435 * buffer.C (writeFile): handle writing of compressed files
2437 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2438 Check if the file is compressed and set a bufferparm if so.
2440 * Makefile.am (lyx_LDADD): remove explicit -lz
2442 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2444 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2445 makeDocBookFile): put the real LyX version in the first line of
2449 * version.C.in: remove lyx_docversion
2451 * tabular.C (write_attribute): add a template-based version to
2452 write enums properly
2454 2003-07-28 André Pönitz <poenitz@gmx.net>
2459 * text3.C: use doubles again for x-coordinates. They are needed.
2461 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2463 * messages.C (getLocaleDir): use lyx_localedir()
2465 * lyxlex_pimpl.C (setFile): compress stuff
2467 * buffer.C (writeFile): add some compression stuff
2468 (do_writeFile): new func, dont call expliti close... will this
2471 * Makefile.am (lyx_LDADD): add -lz
2473 2003-07-28 José Matos <jamatos@fep.up.pt>
2475 * buffer.C: increment file format.
2476 * paragraph_funcs (readParagraph, readParToken):
2477 * paragraph.C (readParagraph): add \end_layout.
2479 2003-07-27 Angus Leeming <leeming@lyx.org>
2481 * Makefile.am: remove special casing for configure-time setting of
2482 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2484 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2485 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2487 2003-07-26 André Pönitz <poenitz@gmx.net>
2489 * paragraph_func.[Ch]:
2490 * paragraph.C (realizeFont): inline it whereever it is used
2495 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2498 2003-07-26 André Pönitz <poenitz@gmx.net>
2502 * text2.C: get rid of LyXText::need_break_row
2504 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * toc.[Ch]: put namespace toc inside namespace lyx
2508 * MenuBackend.C (expandToc2): adjust for lyx::toc
2511 * lyxfunc.C (dispatch): adjust for lyx::find
2513 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2514 lyx::find instead. Reorganize a bit.
2515 (LyXReplace): rename to replace
2516 (LyXFind): rename to find
2518 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2521 2003-07-26 André Pönitz <poenitz@gmx.net>
2523 * text.C (setHeightOfRow): restrict scope of temporary variable
2525 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2526 code (never has been used?)
2528 2003-07-27 Asger Alstrup <alstrup@local>
2530 * text.C (fill): Optimise algorithm to exploit that we can reuse
2531 the LyXFont for many characters.
2532 (setHeightOfRow): Same thing.
2533 (rowBreakPoint): Same thing.
2535 2003-07-26 Asger Alstrup <alstrup@local>
2537 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2539 * text.C (singleWidth): Spurious font copying in hot-spot
2540 singleWidth avoided. Reorder tests for arabic for efficiency.
2542 * text.C (fill): handle empty paragraphs better.
2544 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * encoding.h: add includes
2549 * lyxrc.C: remove reading of bind files
2551 * lyx_main.C (init): setup bindings and menus only if we have a
2554 * kbmap.C (read): new method. Do the actual reading of bind
2557 * converter.C (dvipdfm_options):
2560 (output): adapt PAPER_* enums.
2562 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2564 * bufferparams.h: remove paper-related enums from there
2566 * paper.h: New file. A trivial header file to hold paper-related
2567 enums. It should later expand to contain many paper-related
2570 * lyxrc.C: declare extern displayTranslator
2572 2003-07-27 José Matos <jamatos@fep.up.pt>
2574 * tabular.[Ch] (linuxdoc): add support for tables and figures
2577 2003-07-27 José Matos <jamatos@fep.up.pt>
2579 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2580 consistency in both functions.
2581 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2583 2003-07-26 Asger Alstrup <alstrup@local>
2585 * rowpainter.C (paintRows): Change algorithm to work directly on
2586 the insets rather than asking every character in the document
2587 whether its an inset.
2589 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2591 * buffer.C (openFileWrite): factorize some code
2593 2003-07-26 Angus Leeming <leeming@lyx.org>
2596 * lyx_main.[Ch]: replace occurances of system_tempdir with
2599 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * rename Inset to InsetOld
2603 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2605 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2606 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2607 which I think is a bit clearer. EDIT is gone, since it was
2608 premature optimisation, and broken for mathed anyway.
2609 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2610 with cursor positioning in insets as well (math insets still do not
2611 work, but that's a different story anyway.) It mysteriously
2612 crashes sometimes with undo in the first paragraph, but I'm fairly
2613 confident that this is a compiler bug.
2615 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2617 * paragraph.C (Paragraph): adjust for new clone return type
2619 (copyIntoMinibuffer): ditto
2621 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2623 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2624 by not having a special case, and always doing a full rebreak of
2625 the document after undo.
2627 2003-07-23 Angus Leeming <leeming@lyx.org>
2629 * factory.C (createInset): InsetExternal::setParams now takes a
2632 2003-07-23 Angus Leeming <leeming@lyx.org>
2634 * factory.C (createInset): changed interface to the external and
2635 graphics mailers' string2params functions.
2637 2003-07-23 Angus Leeming <leeming@lyx.org>
2639 * factory.C (createInset): pass a
2640 Buffer const * parameter to InsetExternalMailer's string2params.
2642 2003-07-22 John Levon <levon@movementarian.org>
2644 * Thesaurus.h: include the right aiksaurus header
2646 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2648 * MenuBackend.C (expand): check menu shortcuts unconditionally
2650 2003-07-21 Angus Leeming <leeming@lyx.org>
2652 * factory.C (createInset): pass a
2653 buffer_path parameter to InsetGraphicsMailer's string2params.
2655 2003-07-21 Angus Leeming <leeming@lyx.org>
2657 * BufferView_pimpl.C (buffer):
2660 * lyxfunc.C (dispatch):
2661 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2662 rather than the grfx shortcut.
2664 2003-07-21 André Pönitz <poenitz@gmx.net>
2666 * rowpainter.C: remove unused variables
2669 * tabular_funcs.h: move to tabular.C
2670 * Makefile.am: adjust
2672 * tabular.[Ch]: basic optical cleaning
2674 * author.h: pass references, not values
2676 2003-07-18 André Pönitz <poenitz@gmx.net>
2684 * text3.C: two-phase drawing for InsetText and InsetTabular
2685 some float -> int changes.
2687 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2689 * lyx_main.C: fix the fix
2691 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2693 * lyx_main.C: fix a crash in batch mode if no files specified
2696 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2698 * format.[Ch] (papersize): moved to BufferParams
2699 * converter.[Ch] (dvips_options): moved to BufferParams
2700 (dvipdfm_options): moved to anon namespace
2701 * bufferparams.[Ch]: added above functions.
2703 2003-07-17 André Pönitz <poenitz@gmx.net>
2707 * text2.C: don't call inset->update() anymore
2709 * metricsinfo.[Ch]: add convenience constructor
2711 2003-07-16 André Pönitz <poenitz@gmx.net>
2716 * text2.C: replace the LyXCursor::irow_ member with
2717 on-demand computation of the value
2719 2003-07-16 John Levon <levon@movementarian.org>
2721 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2723 2003-07-15 André Pönitz <poenitz@gmx.net>
2726 * text2.C: remove no more needed refresh_row
2728 2003-07-15 André Pönitz <poenitz@gmx.net>
2733 * text3.C: refresh_status tristate -> need_update bool
2735 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2737 * lyxtext.h (init): remove reinit argument (act as if always true)
2738 * text2.C: adjust to that
2740 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2742 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2743 * text3.C: use it to delete selections in some cases
2744 (bugs 441, 673, 702, 954).
2746 2003-07-14 André Pönitz <poenitz@gmx.net>
2748 * rowpainter.[Ch]: reduce interface
2750 2003-07-14 André Pönitz <poenitz@gmx.net>
2752 * BufferView_pimpl.C:
2753 * text2.C: adjust after removing unused BufferView * argument
2755 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2757 * text2.C (init): fix a crash fired on resize
2759 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2761 * buffer.[Ch]: added new closing signal
2762 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2763 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2764 BufferView::Pimpl via the closing the signal
2766 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2768 * buffer.[Ch]: take out all bv-related from buffer
2770 * BufferView_pimpl.[Ch]: connect to new signals
2771 * CutAndPaste.C: removed useless asserts
2772 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2775 * lyxfunc.C: moved view-related funciontality from vc here
2776 * paragraph.C: removed outdated comments
2779 2003-07-10 André Pönitz <poenitz@gmx.net>
2781 * BufferView_pimpl.C:
2785 * text2.C: remove InsetText::InnerCache, clean up consequences
2787 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2789 * ispell.C: fix two typos in error messages
2791 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2793 * Extend Note inset to other forms of annotation like Comment
2794 and Greyedout. Right button click gives dialog.
2796 Files modified or added (+):
2800 * ControlNote.[Ch] +
2802 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2803 frontends/controllers
2807 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2809 * aspell.C: add missing namespace lyx::support
2811 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2813 * BufferView.[Ch] (newFile): Add
2814 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2815 * LaTeX.[Ch] (message): added this signal and use it
2816 * buffer.[Ch] (busy, message): added these signals and use them
2817 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2821 * importer.C: use buffer signals instead of direct bv calling
2822 * lyx_cb.[Ch] (ShowMessage): removed
2825 * paragraph_funcs.C:
2826 * text2.C: use buffer signals
2828 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * introduce namespace lyx::graphics
2832 2003-07-02 André Pönitz <poenitz@gmx.net>
2834 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2836 2003-07-01 André Pönitz <poenitz@gmx.net>
2843 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2844 text*.C to text_func.C
2846 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * introduce namespace lyx::support
2850 2003-06-30 André Pönitz <poenitz@gmx.net>
2855 * text.C: re-enable --with-included-string
2857 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * textcursor.C: add <config.h>
2861 * text.C (getWord): remove const from word_location arg
2863 * lyxvc.C (getLogFile): fix const type order
2865 * lyxtext.h: remove const from word_location arg, add arg name
2867 * lyxlayout.h: currect type on labeltype.
2869 * importer.C: correct \file
2871 * converter.C (intToFormat): use std:: on ret val, ws changes
2873 * bufferlist.h: correct \file
2875 * buffer.C (makeLinuxDocFile): fix const type order
2876 (makeDocBookFile): ditto
2877 (fillWithBibKeys): use std:: on stdlib args.
2879 * CutAndPaste.C: fix authors.
2880 (availableSelections): use std:: on return vector
2882 2003-06-27 André Pönitz <poenitz@gmx.net>
2884 * BufferView_pimpl.C:
2885 * bufferview_funcs.C:
2893 * text3.C: remove LyXCursor::row_ member
2896 * text.C: rename fullRebreak() to partialRebreak() and implement
2897 a fullRebreak() that really bereks fully
2899 * textcursor.h: new struct for cursor-related data
2901 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2903 * lyx_main.C (LyX): get full path of document loaded on the
2906 2003-06-26 André Pönitz <poenitz@gmx.net>
2908 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2909 remove unused/broken operator>,<,>=.
2911 * text.C: remove only use of broken operator<= in an Assert().
2913 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2915 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2916 moved errorlist_.clear to showErrorList
2918 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2920 * converter.C (scanLog, runLaTeX):
2921 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2922 move the bv->showErrorList call to the callers
2923 * lyxfunc.C: i.e. here...
2925 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2926 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2927 namespace, the second to...
2928 * buffer_funcs (BufferFormat, parseErrors): added
2929 * errorlist.C (ErrorList(TeXErrors const &)): removed
2931 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2933 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2935 2003-06-24 "Garst R. Reese" <reese@isn.net>
2939 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2941 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2943 * version.C.in: change docversion to 1.4
2945 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2947 * buffer.C: fix a bug just introduced
2949 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2951 * buffer.[Ch]: added the parseError signal and use it, removed
2953 * BufferView.[Ch] (addError): moved to ...
2954 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2955 to the Buffer::parseError signal to catch (guess what) parse errors
2956 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2958 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2960 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2961 ability to create a buffer and to return an existing one from
2962 the list. Moved these functions to...
2963 * buffer_funcs.[Ch]: added
2964 * BufferView.[Ch] (loadLyXFile): added
2965 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2966 job removed from bufferlist::loadLyXFile.
2967 * buffer.C (setReadOnly): make it work without view
2968 (i.e added an if (users))
2970 2003-06-19 Angus Leeming <leeming@lyx.org>
2973 * LyXAction.C (init):
2974 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2975 with LFUN_DIALOG_SHOW <name> <data>.
2977 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2979 * CutAndPaste.C (availableSelections): small compilation fix for
2980 ancient (gcc 2.9x) compilers
2982 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * text3.C (cursorNext): add tmp var
2986 * text2.C (updateCounters): for function calling out of for clause
2987 (replaceSelectionWithString): ditto
2988 (insertStringAsParagraphs): ditto
2989 (getColumnNearX): add tmp var
2990 (setCursorFromCoordinates): add tmp var
2991 (cursorDownParagraph): add tmp var
2992 (deleteEmptyParagraphMechanism): add tmp var
2994 * text.C (insertChar): add tmp var
2996 * rowpainter.C (paintDepthBar): add tmp var
2998 * CutAndPaste.C (availableSelections): potentially check all
2999 paragraphs in a cut to fill the shown strings.
3001 2003-06-18 André Pönitz <poenitz@gmx.net>
3003 * kbmap.[Ch]: use vector<> instead of list<>
3005 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3007 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3008 pasteSelection with index
3010 * text2.C (pasteSelection): modify, call pasteSelection with index
3012 * paragraph.C (asString): reimplement version with no interval to
3013 call the one with interval.
3015 * lyxtext.h: add index arg to pasteSelection
3017 * MenuBackend.C (MenuItem): handle PasteRecent
3018 (Menu::read::Menutags): add md_pasterecent
3020 (expandPasteRecent): new function
3023 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3025 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3027 (availableSelections): new function
3029 2003-06-17 Angus Leeming <leeming@lyx.org>
3031 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3033 2003-06-17 Angus Leeming <leeming@lyx.org>
3036 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3038 * lyxfunc.C (dispatch): invoke it.
3040 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3042 * iterators.C (operator++, ParPosition): reintroduce some
3043 const_cast for the benefit of older compilers.
3045 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3047 * text3.C (dispatch): do not modify clipboard when doing
3048 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3049 LFUN_DELETE_SKIP on a selection selection
3051 2003-06-16 André Pönitz <poenitz@gmx.net>
3057 * tabular.[Ch]: IU of clone() and getLabelList();
3059 2003-06-13 André Pönitz <poenitz@gmx.net>
3061 * tabular.h: compactification
3063 2003-06-12 André Pönitz <poenitz@gmx.net>
3067 * tabular_funcs.h: some renaming plus whitespace
3069 2003-06-12 André Pönitz <poenitz@gmx.net>
3072 * BufferView_pimpl.C:
3078 * toc.C: Return a Paragraph & for ParIterator::operator*()
3080 2003-06-11 John Levon <levon@movementarian.org>
3084 * ToolbarBackend.C: add "Toolbars" section and
3087 2003-06-10 Angus Leeming <leeming@lyx.org>
3090 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3092 * lyxfunc.C (dispatch): invoke it.
3094 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3096 * main.C: protect <ios> with HAVE_IOS
3097 (main): protect sync_with_stdio with HAVE_IOS
3099 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3101 * text2.C (cutSelection): adjust
3102 (pasteSelection): adjust
3104 * messages.C: handle get of empty string
3106 * main.C (main): use sync_with_stdio(false)
3108 * lyxfunc.C (dispatch): adjust
3110 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3111 (WriteAs): remove unneeded BufferView arg.
3113 * bufferparams.h: use correct types on papersize, papersize2 and
3116 * bufferparams.C (readToken): adjust for type
3117 (writeLaTeX): add missing cases to switch.
3119 * bufferlist.C (quitWriteBuffer): adjust
3122 * buffer.C (asciiParagraph): remove some commented code.
3124 * CutAndPaste.C: remove current_view extern variable.
3125 (cutSelection): add BufferParams arg.
3126 (eraseSelection): add BufferParams arg.
3127 (pasteSelection): add Buffer const & arg
3129 2003-06-07 John Levon <levon@movementarian.org>
3132 * paragraph_funcs.C:
3133 * paragraph_pimpl.C:
3137 * paragraph.C: allow InsetERT to freely space lines,
3138 and some consolidation of code
3140 2003-06-06 José Matos <jamatos@fep.up.pt>
3142 * buffer.C (makeDocBookFile): fix bug #821
3144 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3146 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3148 2003-06-04 Angus Leeming <leeming@lyx.org>
3150 * buffer.C: bump format to 224.
3152 2003-06-05 André Pönitz <poenitz@gmx.net>
3154 * text2.C (redoParagraphs): remove two const_cast<>
3156 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3158 * ParagraphList.h: remove last remnants of NO_STD_LIST
3160 2003-06-03 Angus Leeming <leeming@lyx.org>
3162 * factory.C (createInset): small change to the way InsetExternal's params
3165 2003-06-04 André Pönitz <poenitz@gmx.net>
3167 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3169 * paragraph_pimpl.h:
3170 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3172 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3174 * undo_funcs.C: make some simple cases of undo work again
3176 2003-06-03 John Levon <levon@movementarian.org>
3178 * ispell.C: HPUX doesn't have sys/select.h
3181 2003-06-03 John Levon <levon@movementarian.org>
3183 * CutAndPaste.C: update tabular and include inset
3188 * paragraph.C: remove owningBuffer(), don't pass Buffer
3191 * factory.C: insetGraphicsParams changed
3193 2003-06-02 John Levon <levon@movementarian.org>
3199 * text3.C: remove insetparent
3201 2003-06-02 John Levon <levon@movementarian.org>
3204 * buffer.C: fix inset_iterator.end(), move out of line
3207 2003-06-01 John Levon <levon@movementarian.org>
3209 * text3.C: use a proper cut/paste when doing inset
3210 insert (from Jürgen Spitzmüller)
3212 2003-06-01 John Levon <levon@movementarian.org>
3214 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3216 2003-05-30 André Pönitz <poenitz@gmx.net>
3218 * rowpainter.C: unify second drawing phase
3220 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * trans_mgr.C: remove one case of current_view
3224 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3226 * paragraph_funcs.h: remove paragraph.h include
3228 * paragraph.h: delete NO_STD_LIST stuff
3230 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3232 * buffer.h: remove paragraph.h include
3234 * ParagraphList.C: delete file
3236 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3238 * toc.C (getTocList): adjust
3240 * paragraph_pimpl.C (validate): adjust
3242 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3244 * paragraph.C (Paragraph): adjust
3245 (getPositionOfInset): use const_iterator, adjust
3246 (bibitem): use const_iterator, adjust
3247 (setInsetOwner): adjust
3249 * iterators.C (operator++): adjust
3251 * InsetList.[Ch]: Replace selfmade iterator with standard
3252 vector::iterator also introduce const_iterator. Remove getPos,
3253 getInset and setInset from InsetTable. Adjust accordingly.
3255 * BufferView.C (lockInset): adjust
3256 (ChangeInsets): adjust
3258 * tabular.[Ch]: delete commented same_id functions
3260 2003-05-28 John Levon <levon@movementarian.org>
3262 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3264 2003-05-28 André Pönitz <poenitz@gmx.net>
3266 * metricsinfo.[Ch]: remove 'fullredraw' member
3268 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3270 * lyxtextclass.C (operator): remove caching.
3272 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * text2.C (cursorBottom): adjust
3277 (setCounter): use ParagraphList::find, adjust
3279 * text.C (workWidth): use ParagraphList::find, adjust
3281 * lyxcursor.C (LyXCursor): adjust
3283 * buffer.C (inset_iterator): adjust
3285 * ParagraphList.h: make iterator(value_type) private, make
3286 ParagraphList a friend of iterator.
3288 * ParagraphList.C (find): new function
3290 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3292 2003-05-27 André Pönitz <poenitz@gmx.net>
3294 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3296 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3298 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3300 2003-05-26 John Levon <levon@movementarian.org>
3302 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3304 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * remove same_id from function signatures, adjust.
3308 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3312 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3314 * paragraph.C (Paragraph): get rid of same_ids parameter
3316 * ParagraphList.C (insert): adjust
3319 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * paragraph_funcs.C (breakParagraph): adjust
3322 (breakParagraphConservative): adjust
3324 * buffer.C (readParagraph): adjust
3326 * ParagraphList.C (insert): take a reference instead of a pointer
3329 * paragraph.[Ch] (id): new function
3331 * bufferlist.C (newFile): adjust
3333 * ParagraphList.C (ParagraphList): adjust
3335 (push_back): take a reference instead of a pointer.
3337 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3339 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3342 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3343 set else use old code.
3345 * ParagraphList.C: remove all NO_NEXT code and only compile this
3346 code of NO_STD_LIST is set.
3348 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3350 * BufferView_pimpl.C:
3360 * graphics/GraphicsConverter.C:
3361 * graphics/PreviewLoader.C: header adjustment
3363 2003-05-23 Angus Leeming <leeming@lyx.org>
3365 * LaTeXFeatures.[Ch] (useBabel): new method.
3366 * bufferparams.C (writeLaTeX): use it.
3368 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * ParagraphList.h (set): remove unused function.
3372 2003-05-23 André Pönitz <poenitz@gmx.net>
3375 * BufferView_pimpl.C:
3379 * undo_funcs.C: setUndo reworked
3381 * iterators.[Ch]: add access to topmost ParagraphList
3383 * lyxtext.[Ch] (workWidth): add a const
3385 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3387 * texrow.[Ch] (increasePos): remove function
3388 * exporter.C (export): removed unused var and outdated comment
3390 2003-05-23 Angus Leeming <leeming@lyx.org>
3392 * latexrunparams.h: rename fragile as moving_arg.
3393 * paragraph.C (simpleTeXOnePar): ditto.
3394 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3396 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3400 (textUndoOrRedo): comment out a currently unused var.
3402 * paragraph.h (NO_NEXT): enable NO_NEXT
3404 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3406 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3408 * exporter.C (Export): adjust for removeAutoInsets removal.
3410 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3412 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3414 * BufferView.[Ch] (removeAutoInsets): delete function
3416 2003-05-22 Angus Leeming <leeming@lyx.org>
3418 * latexrunparams.h: add a free_spacing variable.
3420 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3421 to pass moving_arg, as the data is stored in runparams.fragile.
3423 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3424 to Inset::latexOptional or to simpleTeXOnePar.
3426 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3427 free_spacing arg to Inset::latexOptional.
3429 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3432 2003-05-22 Angus Leeming <leeming@lyx.org>
3434 * latexrunparams.h: add fragile and use_babel variables.
3436 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3437 * buffer.C (makeLaTeXFile): store this returned value in
3438 runparams.use_babel, thus passing it to the inset::latex methods.
3440 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3441 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3443 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3444 longer has a fragile arg, as it is stored in runparams.fragile.
3446 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3447 moving_arg parameter as the data is stored in runparams.fragile.
3449 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3450 a fragile parameter as the data is stored in runparams.fragile.
3452 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3454 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3456 2003-05-22 Angus Leeming <leeming@lyx.org>
3458 * latexrunparams.h: add a 'bool nice' which defaults to false.
3460 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3461 now encapsulated within runparams.
3463 * bufferlist.C (updateIncludedTeXfiles):
3464 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3466 2003-05-22 Angus Leeming <leeming@lyx.org>
3468 * latexrunparams.h: new file containing struct LatexRunParams.
3469 * Makefile.am: add new file.
3471 * LaTeX.[Ch] (c-tor, run):
3472 * buffer.[Ch] (makeLaTeXFile):
3473 * bufferlist.[Ch] (updateIncludedTeXfiles):
3474 * converter.C (convert, scanLog):
3475 * converter.[Ch] (runLaTeX):
3476 * exporter.C (Export):
3477 * paragraph.[Ch] (simpleTeXOnePar):
3478 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3479 * paragraph_funcs.[Ch] (latexParagraphs):
3480 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3481 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3482 pass around a LatexRunParams parameter.
3484 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * paragraph.[Ch]: remove unused constructor
3488 * ParagraphList.C (erase): new function, taking two iterators
3490 2003-05-22 André Pönitz <poenitz@gmx.net>
3492 * undo_funcs.C: remove duplicated code
3494 * iterator.[Ch]: operator=
3496 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * tabular.C (SetMultiColumn): ws changes
3500 * rowpainter.C (paintFirst): get rid of a ->previous
3502 * lyx_cb.C (getPossibleLabel): parlist simplification
3504 * BufferView.C (ChangeInsets): simplify slightly.
3506 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3508 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3509 * lfuns.h: new LFUN_SPACE
3510 * lyxfunc.C: protected space has a new lfun
3511 * paragraph_funcs.C: read new space insets
3513 * factory.C: handle new space insets
3515 2003-05-22 André Pönitz <poenitz@gmx.net>
3518 * BufferView_pimpl.C:
3521 * undo_funcs.C: return a ParIterator from getParFromID.
3523 * iterators.[Ch]: add two const's
3525 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * toc.C (getTocList): adjust
3529 * iterators.[Ch]: rework for parlist
3531 * buffer.C (par_iterator_begin): adjust
3532 (par_iterator_end): adjust
3534 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3536 * BufferView.C (removeAutoInsets): adjust
3537 (ChangeInsets): adjust
3539 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3541 * text.C (top_y): fix bug 1110
3543 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3545 * errorlist.[Ch]: added
3548 * BufferView_pimpl.C:
3549 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3552 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3554 * Makefile.am: ensure that lyx is relinked upon changes to the
3555 various "convenience" libs.
3557 2003-05-20 Angus Leeming <leeming@lyx.org>
3559 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3560 files are compiled in alphabetical order again.
3562 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3564 2003-05-19 Angus Leeming <leeming@lyx.org>
3566 * gettext.[Ch]: remove "char const * _(char const *)".
3568 2003-05-19 André Pönitz <poenitz@gmx.net>
3570 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3579 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3581 2003-05-19 André Pönitz <poenitz@gmx.net>
3585 * lyxtextclass.[Ch]:
3587 * paragraph_funcs.[Ch]:
3589 * text3.C: more insetenv work
3591 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3593 * ParagraphParameters.C (params2string): small bug fixed
3595 2003-05-16 André Pönitz <poenitz@gmx.net>
3598 * bufferview_funcs.C: patch from Kornel Benko to prevent
3599 crash when _(...) is called twice in a statement
3601 2003-05-16 André Pönitz <poenitz@gmx.net>
3608 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3610 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3612 * lyx_main.C (init): remove spurious static_cast
3614 2003-05-14 André Pönitz <poenitz@gmx.net>
3616 * BufferView.C: fix format string
3618 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3620 * BufferView.[Ch] (insertErrors): removed
3621 * BufferView.[Ch] (showErrorList): added
3622 * buffer.C (runChkTeX):
3623 * converter.C (scanLog): call showErrorList instead of inserterrors
3625 2003-05-13 André Pönitz <poenitz@gmx.net>
3627 * BufferView_pimpl.C:
3629 * bufferview_func.C:
3636 * tabular_funcs.h: tostr() from its own header
3638 * ParagraphParameters.C:
3643 * text3.C: STRCONV()
3645 2003-05-12 André Pönitz <poenitz@gmx.net>
3648 * BufferView_pimpl.C:
3652 * ParagraphParameters.C:
3656 * bufferview_funcs.C:
3669 * paragraph_funcs.C:
3673 * text3.C: boost::format -> bformat all over the place
3676 2003-05-09 André Pönitz <poenitz@gmx.net>
3678 * LColor.[Ch]: Pimpl the #include <map> away
3680 2003-05-09 John Levon <levon@movementarian.org>
3682 * bufferlist.C: never remove emergency saves
3684 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * Makefile.am: better lib building
3688 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3690 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3692 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3693 (simpleTeXSpecialChars): adjust
3694 (simpleTeXSpecialChars): adjust
3695 * paragraph.C (simpleTeXOnePar): adjust
3696 * buffer.C (makeLaTeXFile): adjust
3698 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3700 * text2.C (changeDepth): parlist cleanup
3701 (getColumnNearX): ditto
3703 * rowpainter.C (getLabelFont): parlist cleanup
3705 * bufferlist.C (newFile): parlist cleanup
3707 * CutAndPaste.C (eraseSelection): parlist cleanup
3709 * BufferView_pimpl.C (trackChanges): parlist cleanup
3712 * BufferView.C (lockInset): parlist cleanup.
3713 (ChangeInsets): ditto
3715 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * CutAndPaste.h: Update file header.
3719 * CutAndPaste.C: Update file header.
3720 Store the parts cut out of the Document in a limited_stack.
3721 (copySelection): adjust
3722 (pasteSelection): new function, takes the index in the limited stack.
3723 (nrOfParagraphs): adjust
3724 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3725 simplify error inset insertion.
3726 (checkPastePossible): adjust
3728 2003-05-06 John Levon <levon@movementarian.org>
3730 * text2.C: don't cast wrap inset to float
3732 2003-05-05 André Pönitz <poenitz@gmx.net>
3735 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3737 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3738 few naked Paragraph *.
3740 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3742 * bufferparams.C: Output warning if a document with missing
3743 TeX document class is loaded
3744 * exporter.C: Disable TeX exports if the document class is missing
3747 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3748 isTeXClassAvailable()
3750 2003-05-03 John Levon <levon@movementarian.org>
3753 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3754 explicit cursor show/hide
3756 * BufferView_pimpl.h:
3757 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3758 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3760 * lyxfunc.C: hide cursor before dispatching.
3765 * text3.C: remove explicit cursor hides
3767 2003-05-02 André Pönitz <poenitz@gmx.net>
3769 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3772 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3775 * text2.C: tiny whitespace
3777 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * undo_funcs.C: almost only ws changes.
3781 * ParagraphList.C (splice): just return if pl is empty.
3783 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * ParagraphList.C (splice): new function.
3787 * CutAndPaste.C (pasteSelection): use it
3789 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * CutAndPaste.C (pasteSelection): remove the last next and
3792 previous from this file.
3794 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * CutAndPaste.C (pasteSelection): more clean up, user proper
3797 ParagraphList functions for pasteing.
3799 * ParagraphList.C (insert): new function, three arg insert
3801 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * ParagraphList.C (insert): new function, three arg insert
3805 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3808 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3812 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3816 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3819 (copySelection): clean up a bit.
3820 (pasteSelection): use make_pair
3822 * ParagraphList.C (ParagraphList): implement copy constructor
3823 (operator=): implement, base on copy constructor.
3826 * paragraph.C (erase): return a bool
3828 * paragraph_pimpl.C (erasePos): remove function, move contents...
3829 (erase): ... here. Return a bool.
3830 (erase): call erase instead of erasePos.
3832 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3834 * ParagraphList.h: define PitPosPair
3835 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3836 ParagraphList, fix a bug on pasting multiple pars
3837 * text2.C: change interface to C&P
3839 2003-04-30 André Pönitz <poenitz@gmx.net>
3841 * undo_func.C: revert part of yesterday's patch 2
3843 2003-04-30 John Levon <levon@movementarian.org>
3845 * LColor.C: s/tabular/table/
3847 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * text3.C (dispatch): do not convert iterator -> pointer
3850 * undo_funcs.C (setCursorParUndo): ditto
3851 * text_funcs.C (transposeChars): ditto
3853 * text2.C (setLayout): ws changes only
3855 * text.C (breakParagraph): do not convert iterator -> pointer
3857 (acceptChange): ditto
3858 (rejectChange): ditto
3863 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3866 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3868 * text3.C (gotoInset): YABG (yet another bad getChar)
3870 2003-04-29 André Pönitz <poenitz@gmx.net>
3872 * paragraph.h: make operator= private unimplemented as long as
3875 * ParagraphList.C: whitespace
3878 * paragraph_pimpl.[Ch]:
3879 * paragraph_funcs.C:
3881 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3884 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3886 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3888 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3889 * paragraph.[Ch] (erase):
3890 * paragraph_pimpl.[Ch] (erase): change return type and value
3891 * text2.C (cutSelection): some rework
3893 2003-04-28 John Levon <levon@movementarian.org>
3895 * bufferlist.C: changes for unsaved changes dialog
3897 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * bufferlist.C (newFile): set language (messages_) for new
3902 * buffer.C (readFile): ws changes only.
3904 2003-04-28 André Pönitz <poenitz@gmx.net>
3909 * BufferView_pimpl.C:
3910 * BufferView.C: getParFromID related ParagraphList::iterator changes
3912 2003-04-28 André Pönitz <poenitz@gmx.net>
3914 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3917 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * messages.C: remove one more localedir class variable.
3921 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3923 * messages.C (getLocaleDir): singleton generation function
3925 (Messages): add a default constructor.
3927 * main.C (main): do not setup localedir here, do not call
3930 * gettext.C (_): use it.
3931 (gettext_init): delete funciton
3933 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * gettext.C (getLyXMessages): new singleton generating function.
3937 * buffer.C (updateDocLang): adjust
3939 * Makefile.am (messages.o): add target
3940 (main.o): remove target
3942 2003-04-27 John Levon <levon@movementarian.org>
3947 * lyxvc.C: specify cancel button in Alert::prompt
3949 2003-04-26 John Levon <levon@movementarian.org>
3954 * LyXAction.C: add LFUN_INSET_SETTINGS
3956 * lyxfunc.C: don't enable tabular-feature when there's
3957 just any locking inset
3959 2003-04-26 John Levon <levon@movementarian.org>
3961 * bufferlist.C: re-add Cancel to buffer close question
3963 * lyxfunc.C: fix import UI a bit
3965 2003-04-25 John Levon <levon@movementarian.org>
3967 * gettext.C: remove the broken asserts for now
3969 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * messages.C: make case where setlocale cannot comply work better.
3973 * buffer.C (updateDocLang): new function
3974 (changeLanguage): use it
3977 * text2.C (setCounter): use B_ a bit.
3979 * lyxlayout.C (Read): be sure to trim the label strings.
3981 * messages.C (Messages): fix typo in comment
3983 * buffer.C (readFile): set message_ after file is loaded.
3984 (makeDocBookFile): remove double return
3985 (changeLanguage): reset message_ upon language change.
3986 (B_): new func, use this to get translated buffer strings.
3988 * main.C: add myself and Jean Marc as authors.
3990 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3992 * messages.[hC]: pimplify Messages, and three different pimpls to be
3993 used in different circumstances.
3995 * gettext.[Ch]: change for use with new message code.
3997 2003-04-24 André Pönitz <poenitz@gmx.net>
3999 * factory.C: support for eqref
4001 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4003 * messages.[Ch]: add missing char
4005 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4007 * messages.[Ch]: New files
4009 2003-04-18 John Levon <levon@movementarian.org>
4013 * BufferView_pimpl.C:
4017 * text2.C: remove layout-copy/paste (bug 778)
4019 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4021 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4023 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4025 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4026 if they succeed. Act accordingly.
4028 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4030 * text2.C (setCharFont): adjust
4031 (setCounter): adjust
4032 (insertStringAsLines): adjust
4034 * text.C (leftMargin): adjust
4035 (setHeightOfRow): adjust
4037 * rowpainter.C (paintFirst): adjust
4040 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4042 (isFirstInSequence): ditto
4043 (getEndLabel): ditto
4046 * paragraph.C (getParLanguage): comment out some hard stuff.
4048 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4050 (simpleDocBookOnePar): ditto
4051 (makeDocBookFile): use ParagraphList::iterator
4053 * CutAndPaste.C (pasteSelection): adjust
4055 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * text2.C (getFont): adjust
4058 (getLayoutFont): adjust
4059 (getLabelFont): adjust
4061 * paragraph_funcs.C (TeXOnePar): adjust
4063 * buffer.C (simpleLinuxDocOnePar): adjust
4064 (simpleDocBookOnePar): adjust
4066 * CutAndPaste.C (pasteSelection): adjust
4068 * BufferView.C (getEncoding): adjust
4070 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4072 2003-04-16 John Levon <levon@movementarian.org>
4074 * lyxfind.C: use parlist stuff for search/changes
4076 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4080 * text2.C (deleteEmptyParagraphMechanism): adjust
4082 * text2.[Ch] (ownerParagraph): delete func (both of them
4084 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4088 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * ParagraphList.C: prepare for NO_NEXT
4092 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * text2.C (getFont): adjust
4095 (getLayoutFont): adjust
4096 (getLabelFont): adjust
4098 * paragraph.C (getFont): adjust
4099 (getLabelFont): adjust
4100 (getLayoutFont): adjust
4102 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4104 2003-04-15 John Levon <levon@movementarian.org>
4108 * lyx_main.C: handle Include in .ui files
4110 2003-04-15 John Levon <levon@movementarian.org>
4112 * MenuBackend.C: make the doc files length shorter
4115 * ToolbarBackend.C: handle toolbar placement flags,
4118 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4123 * paragraph_funcs.C (TeXOnePar): adjust
4125 * paragraph.C (getLabelFont): add outerfont arg, adjust
4126 (getLayoutFont): ditto
4127 (simpleTeXOnePar): adjust
4129 * paragraph_pimpl.C (realizeFont): delete func
4131 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4133 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4134 row argument, constify cur argument.
4136 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * text2.C (getFont): adjust
4139 (getLayoutFont): adjust
4140 (getLabelFont): adjust
4142 * paragraph_funcs.C (TeXOnePar): adjust
4143 (outerFont): new func...
4144 (realizeFont): ...moved out from here, changed this to facilitate
4147 * paragraph.C (getFont): take outerfont as arg, adjust
4148 (simpleTeXOnePar): add outerfont arg, adjust
4150 * buffer.C (simpleLinuxDocOnePar): adjust
4151 (simpleDocBookOnePar): adjust
4153 * CutAndPaste.C (pasteSelection): adjust
4155 * BufferView.C (getEncoding): adjust
4157 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * text2.C (setCharFont): adjust
4160 (setCounter): adjust
4162 * text.C (leftMargin): adjust
4163 (setHeightOfRow): adjust
4165 * rowpainter.C (paintFirst): adjust
4168 * paragraph_pimpl.C (realizeFont): adjust
4170 * paragraph.C (isFirstInSequence): move from here...
4171 * paragraph_funcs.C (isFirstInSequence): ...to here
4173 * paragraph.C (outerHook): move from here...
4174 * paragraph_funcs.C (outerHook): ...to here
4176 * paragraph.C (depthHook): move from here...
4177 * paragraph_funcs.C (depthHook): ...to here
4179 * paragraph.C (getEndLabel): move from here...
4180 * paragraph_funcs.C (getEndLabel): ...to here
4182 * text2.C (realizeFont): move from here...
4183 * paragraph_funcs.C (realizeFont): ...to here
4185 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4187 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4189 2003-04-14 Angus Leeming <leeming@lyx.org>
4191 * LColor.[Ch]: scrap LColor mathcursor.
4193 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * lyxlex.[Ch] (text): delete function
4196 * trans.C (Load): adjust
4197 * paragraph_funcs.C (readParToken): adjust
4199 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4202 vector<char> instead of a char[].
4204 * lyxlex_pimpl.C (getString): adjust
4206 (lex): use getString
4210 * lyxlex.C (text): use pimpl_->getString()
4214 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4217 (makeFontEntriesLayoutSpecific): temp var for par.size()
4218 (setLayout): temp var for ownerParagraphs().end()
4219 (fullRebreak): temp var for rows().end()
4220 (selectionAsString): temp var for boost::next(startpit), realize
4221 that the while really is a regular for loop.
4222 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4223 setCursor in one place.
4224 (setParagraph): temp vr for ownerParagraphs().end()
4225 (updateCounters): make the while loop a for loop
4226 (cutSelection): temp var for ownerParagraphs().end()
4227 (updateInset): make the do {} while() a regular for loop
4228 (getCursorX): use temp vars
4229 (setCurrentFont): use temp vars
4230 (getColumnNearX): use temp vars
4232 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4234 * text.C (transformChar): use temp var for getChar
4235 (computeBidiTables): use temp var for row->par()
4236 (fill): move temp vars for row->par() and pit->layout() earlier in
4238 (labelFill): use temp var for row->par()
4239 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4240 asc and desc, realize that pit never changes and that firstpit is
4241 just a duplicate and not needed. Exchange rit->par() with pit in a
4243 (breakAgain): use a temp var for boost::next(rit)
4244 (breakAgainOneRow): ditto
4245 (breakParagraph): use a temp var for rows().begin()
4246 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4247 (cursorRightOneWord): use temp var for cursor.par() and
4248 cursor.pos(), remove usage of tmpcursor.
4249 (cursorLeftOneWord): use temp var for cursor.par() and
4250 cursor.pos() only set cur at end of function.
4252 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * text.C, text2.C: exchange all usage of Paragraph::next with
4255 boost::next(ParagraphList::iterator)
4257 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4259 * text2.C (cursorTop): simplify implementation
4260 (cursorBottom): ditto
4261 (setParagraph): use ParagraphList::iterator
4262 (setCurrentFont): adjust
4263 (getColumnNearX): adjust
4264 (cursorRight): adjust
4265 (cursorLeft): remove usage of Paragraph::previous
4266 (cursorUpParagraph): ditto
4267 (deleteEmptyParagraphMechanism): slight cleanup
4269 * text.C (isBoundary): take a Paragraph const & instead of a
4271 (addressBreakPoint): ditto
4272 (leftMargin): remove usage of Paragraph::previous.
4273 (setHeightOfRow): ditto
4274 (cursorLeftOneWord): ditto
4275 (selectNextWordToSpellcheck): ditto
4278 (breakParagraph): remove one usage of Paragraph::next
4279 (redoParagraph): ditto
4280 (acceptChange): ditto
4281 (insertChar): adjust
4282 (rowBreakPoint): adjust
4284 * bufferview_funcs.C (toggleAndShow): adjust
4286 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4288 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4289 methods to access it.
4291 * text.C: Added updateRowPositions to compute all row positions.
4292 Make top_y and getRowNearY() to use the cached y position
4294 2003-04-11 John Levon <levon@movementarian.org>
4296 * text.C (rowBreakPoint): reintroduce the labelEnd
4297 checks, code copied from the row fill stuff. Deep voodoo.
4299 * text.C (fill): add a comment and debugging for the
4302 2003-04-11 John Levon <levon@movementarian.org>
4304 * text.C: make sure fullrow insets get wrapped to the next line,
4305 even when they're in a manual label
4307 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * text2.C (insertParagraph): make it take ParagraphList::iterator
4311 (setLayout): make it return ParagraphList::iterator
4312 (redoParagraphs): ditto
4314 (checkParagraph): ditto
4316 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4318 * text2.C: adjust several funcs.
4319 (realizeFont): take a ParagraphList::iterator as arg.
4320 (getLayoutFont): ditto
4321 (getLabelFont): ditto
4322 (setCharFont): ditto
4324 * text.C: adjust several funcs.
4326 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4328 * text.C (selectNextWordToSpellcheck): don't accidentally
4331 2003-04-10 John Levon <levon@movementarian.org>
4333 * ToolbarBackend.C (getIcon): special handling for
4336 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4338 * text2.C (cursorRight): a getChar assert fixed
4340 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * text2.C (getFont): change to take a ParagraphList::iterator
4343 instead of Paragraph*
4344 Adjust several functions.
4346 * text.C (transformChar): change to take a ParagraphList::iterator
4347 instead of Paragraph*
4348 (singleWidth): ditto
4349 Adjust several functions.
4351 * rowpainter.C: adjust several functions
4352 * rowpainter.h:store a ParagraphList::iterator and not a
4356 2003-04-09 John Levon <levon@movementarian.org>
4361 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4362 and the "help" bits as well
4364 2003-04-09 John Levon <levon@movementarian.org>
4367 * ToolbarBackend.C: allow multiple toolbars
4369 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * undo_funcs.C (setCursorParUndo): adjust
4373 * text_funcs.C (transposeChars): adjust
4375 * text3.C (gotoNextInset): adjust
4378 * text2.C (setLayout): adjust
4379 (changeDepth): adjust
4381 (redoParagraphs): adjust
4382 (selectionAsString): adjust
4383 (setParagraph): adjust
4384 (insertInset): adjust
4385 (cutSelection): adjust
4386 (copySelection): adjust
4387 (pasteSelection): adjust
4388 (insertStringAsLines): adjust
4389 (updateInset): adjust
4390 (setCursor): change to take a ParagraphList::iterator parameter
4391 (setCursorIntern): change to take a ParagraphList::iterator parameter
4392 (setCurrentFont): adjust
4393 (cursorLeft): adjust
4394 (cursorRight): adjust
4395 (deleteEmptyParagraphMechanism): adjust
4397 * text.C (breakParagraph): adjust
4398 (insertChar): adjust
4399 (acceptChange): adjust
4400 (rejectChange): adjust
4401 (selectNextWordToSpellcheck): adjust
4402 (changeCase): adjust
4406 * lyxfind.C (SearchForward): adjust
4407 (SearchBackward): adjust
4408 (nextChange): adjust
4410 * lyxcursor.C (par): adjust
4412 * lyxcursor.h: store a ParagraphList::iterator instead of a
4415 * lyx_cb.C (getPossibleLabel): adjust
4417 * bufferview_funcs.C (toggleAndShow): adjust
4419 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4422 * BufferView.C (removeAutoInsets): adjust
4423 (lockedInsetStoreUndo): adjust
4425 2003-04-09 John Levon <levon@movementarian.org>
4427 * ToolbarBackend.C: try icon without argument
4428 if with argument fails
4430 2003-04-08 John Levon <levon@movementarian.org>
4433 * ToolbarBackend.C: add getIcon(), handle tooltip,
4434 and change from "Icon" to "Item".
4436 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4438 * BufferView.C (lockInset): another bad getchar crunched
4440 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4442 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4445 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4447 * lyxfind.C (searchForward, searchBackwards): bug 782
4449 2003-04-07 John Levon <levon@movementarian.org>
4451 * paragraph.C: remove dead comment
4453 * text.C: remove troublesome depth-fiddling code
4454 in leftMargin() and rightMargin() (bug 1017)
4456 * text.C: fix breaking of rows in nested lists
4459 * text2.C (updateCounters): fix up depth values
4462 2003-04-07 John Levon <levon@movementarian.org>
4464 * BufferView_pimpl.C: clear message when doc finishes resizing,
4465 and after a mouse event
4467 * lyxfunc.C: clear message after exiting inset
4469 2003-04-07 John Levon <levon@movementarian.org>
4471 * bufferview_funcs.C: show math status not outside
4472 status in the statusbar
4474 2003-04-07 John Levon <levon@movementarian.org>
4476 * lyxfunc.C: note status changed after a depth change
4478 2003-04-04 Angus Leeming <leeming@lyx.org>
4480 * LaTeX.h: move AuxInfo operator==, != out of line.
4481 Remove LaTeX virtual destructor; nothing derives from it.
4482 Move operator()() out of public area and rename it startscript().
4483 Change protected for private.
4485 2003-04-04 Angus Leeming <leeming@lyx.org>
4488 * text2.C: remove unneeded #includes.
4490 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4492 * text2.C (dEPM): fix the heigth of the next row
4494 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4496 * text.C: squashed an invalid getChar requester + some ws changes
4498 2003-04-03 John Levon <levon@movementarian.org>
4500 * bufferview_funcs.h:
4501 * bufferview_funcs.C:
4504 * text2.C: make getStatus work for the env depth lfuns
4506 2003-04-03 John Levon <levon@movementarian.org>
4508 * bufferview_funcs.h:
4509 * bufferview_funcs.C:
4512 * text2.C: parlistize decDepth(), by merging it with incDepth()
4514 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * lyxrow.h: store a ParagraphList::iterator instead of a
4517 Paragraph* and adjust other class functions to suit.
4519 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4522 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4524 * text2.C (setCursor): do not anchor to cursor row for the time being
4526 2003-04-02 John Levon <levon@movementarian.org>
4533 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4535 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * paragraph.h: make ParagraphList and ParagraphList::iterator
4538 friends of Paragraph.
4540 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4542 * ParagraphList.C: Use the private next_ and previous_ from
4545 2003-04-01 John Levon <levon@movementarian.org>
4549 * Makefile.am: rename, remove defaults gunk
4552 * MenuBackend.C: remove defaults gunk
4555 * Languages.C: remove defaults gunk
4558 * lyx_main.C: error out if files couldn't be found.
4560 2003-04-02 John Levon <levon@movementarian.org>
4562 * text2.C: make incDepth() use parlist
4564 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * undo_funcs.C (firstUndoParagraph): adjust
4568 * text3.C (gotoInset): adjust
4569 (dispatch): adjust, and rewrite loop.
4571 * text2.C (init): adjust, and rewrite loop.
4572 (redoParagraphs): adjust
4573 (updateInset): adjust, and rewrite loop.
4574 (deleteEmptyParagraphMechanism): adjust
4576 * tabular.C (LyXTabular): adjust
4577 (SetMultiColumn): adjust
4580 * lyxtext.[Ch] (ownerParagraph): delete function
4581 (ownerParagraphs): new function returns a ParagraphList.
4583 * BufferView.C (removeAutoInsets): adjust
4584 (insertErrors): adjust
4585 (setCursorFromRow): adjust
4587 2003-04-01 Angus Leeming <leeming@lyx.org>
4589 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4592 2003-04-02 John Levon <levon@movementarian.org>
4598 * text_funcs.C: make transposeChars a free function
4600 * lyxrow_funcs.C: remove wrong comment
4602 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4605 * rowpainter.C: adjust
4610 * lyxrow_funcs. [Ch]: new files
4612 * lyxrow.[Ch]: remove next and previous pointers
4613 (next,previous): remove accessor functions
4614 (isParEnd): move to lyxrow_funcs
4615 (lastPos): move to lyxrow_funcs
4616 (nextRowIsAllInset): move to lyxrow_funcs
4617 (lastPrintablePos): move to lyxrow_funcs
4618 (numberOfSeparators): move to lyxrow_funcs
4619 (numberOfHfills): move to lyxrow_funcs
4620 (numberOfLabelHfills): move to lyxrow_funcs
4621 (hfillExpansion): move to lyxrow_funcs
4625 * bufferview_funcs.C (toggleAndShow): adjust
4627 * RowList.h: Remove class RowList from file leave just a
4630 * RowList.C: delete file
4632 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4635 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * text3.C (cursorPrevious): adjust
4638 (cursorNext): adjust
4641 * text2.C (redoHeightOfParagraph): adjust
4642 (redoDrawingOfParagraph): adjust
4645 * text.C (breakParagraph): adjust
4646 (insertChar): adjust
4649 * rowpainter.C (RowPainter): adjust
4650 (leftMargin): simplify and adjust
4651 (most rowpainter functions): adjust.
4653 * rowpainter.h: store the row as RowList::iterator not as Row*
4655 * lyxcursor.C (row): taka RowList::iterator as arg
4658 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4661 2003-04-01 Angus Leeming <leeming@lyx.org>
4663 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4664 stuff like bool Bool.
4666 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4668 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4671 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4676 * lyxtext.h (rows): drop one version and leve a const variant that
4677 returns a RowList::iterator.
4679 2003-03-31 Angus Leeming <leeming@lyx.org>
4681 * text.C (fill): ensure that the signature is the same as that in the
4684 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * text2.C (redoParagraphs): adjust
4687 (updateCounters): adjust
4688 (checkParagraph): adjust
4689 (getColumnNearX): adjust and reformat a bit.
4691 * text.C (top_y): adjust
4693 (leftMargin): adjust
4694 (prepareToPrint): adjust
4696 (getRowNearY): adjust
4698 * lyxtext.h: make rowlist_ mutable.
4700 * RowList.h: add const_iterator
4701 * RowList.C: adjust for RowList::const_iterator.
4703 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4706 2003-03-31 John Levon <levon@movementarian.org>
4709 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4711 * lyx_main.C: set default fonts from using lyx_gui funcs
4713 * exporter.C: pdf_mode moved from lyxrc
4716 * lyxfunc.C: changes from above
4718 2003-03-31 John Levon <levon@movementarian.org>
4720 * lyx_main.C: fix to the last fix
4722 2003-03-31 John Levon <levon@movementarian.org>
4724 * bufferlist.C: "Load original" -> "Load Original"
4730 * format.C: more Alert cleanups
4732 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4734 * text2.C (removeParagraph): make it take a RowList::iterator as
4736 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4737 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4739 * text.C (anchor_row): make it take a RowList::iterator as arg,
4741 (computeBidiTables): make it take a const reference to Row instead
4742 of Row pointer, adjust.
4743 (leftMargin): make it take a RowList::iterator as arg, adjust.
4744 (rowBreakPoint): adjust
4745 (breakAgainOneRow): make it take a RowList::iterator as arg,
4747 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4749 * bufferview_funcs.C (toggleAndShow): adjust
4751 2003-03-30 John Levon <levon@movementarian.org>
4755 * boost-inst.C: moved to support
4757 * several files: changes as a result
4759 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * text2.C (LyXText): adjust.
4763 (removeRow): make it take a RowList::iterator as arg, adjust.
4764 (fullRebreak): adjust
4765 (deleteEmptyParagraphMechanism): adjust
4766 (clearPaint): adjust
4769 * text.C (top_y): adjust
4770 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4771 (breakAgain): make it take a RowList::iterator as arg, adjust.
4772 (breakParagraph): adjust
4773 (insertChar): adjust
4776 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4777 need_break_row, and refresh_row.
4779 * text3.C (dispatch): adjust
4781 * text2.C (checkParagraph): adjust
4783 (setCursorFromCoordinates): adjust
4785 * text.C (top_y): adjust
4787 (getRow): make it return a RowList::iterator, adjust
4788 (getRowNearY): make it return a RowList::iterator, adjust
4790 * text2.C (init): adjust
4791 (insertRow): remove function
4792 (insertParagraph): adjust
4793 (redoParagraphs): adjust
4794 (fullRebreak): adjust
4795 (updateCounters): adjust
4797 * text.C (top_y): rewrite to use RowList iterators.
4799 (setHeightOfRow): rewrite to sue RowList iterators.
4800 (appendParagraph): adjust
4801 (breakAgain): adjust
4802 (breakAgainOneRow): adjust
4803 (breakParagraph): adjust
4805 (getRowNearY): adjust, and remove commented code.
4807 * lyxtext.h (firstRow): delete function
4808 (lastRow): delete function
4809 (rows): new function (const and non-const versions.)
4810 (insertRow): delete function
4812 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4814 2003-03-29 John Levon <levon@movementarian.org>
4816 * BufferView_pimpl.C: always update scrollbar top
4817 because pasting text when we're anchored could mean we
4818 miss an update altogether
4820 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * text2.C (init): use rowlist_.end() and not 0.
4823 (insertRow): change to take a RowList::iterator as arg, adjust
4825 (insertParagraph): change to take a RowList::iterator as arg,
4827 (redoParagraphs): remove some debug msgs.
4829 * text.C (appendParagraph): change to take a RowList::iterator
4830 arg, adjust for this.
4831 (breakAgain): add an assert
4832 (breakAgainOneRow): ditto
4834 2003-03-29 John Levon <levon@movementarian.org>
4836 * text2.C: do not clear selection after inc/decDepth
4839 2003-03-29 John Levon <levon@movementarian.org>
4842 * buffer.C: fix broken strerrors according to Lars
4844 2003-03-29 John Levon <levon@movementarian.org>
4846 * converters.C: more Alert cleanups
4848 2003-03-29 John Levon <levon@movementarian.org>
4850 * bufferview_funcs.C: remove pointless Alert
4852 * buffer.C: fix confusing error message when
4853 a template is chmoded 000
4855 2003-03-29 John Levon <levon@movementarian.org>
4859 * BufferView_pimpl.C: Alert fixes
4863 * tabular-old.C: remove unused table compat reading
4865 2003-03-29 John Levon <levon@movementarian.org>
4870 * lyx_cb.C: more Alert cleanups
4872 * lyxfunc.C: don't allow chktex if not latex document
4874 2003-03-29 John Levon <levon@movementarian.org>
4878 * buffer.C: warnings pushed down from support/,
4881 2003-03-29 John Levon <levon@movementarian.org>
4883 * lyxfunc.C: safety check for C-r (revert)
4885 2003-03-29 John Levon <levon@movementarian.org>
4888 * bufferlist.C: several UI fixes using Alert::prompt.
4889 Fix the pointless looping quit code. Fix stupid revert
4894 * lyx_cb.C: use Alert::prompt
4896 * lyx_main.C: remove a silly question
4898 * lyxfunc.C: remove a couple of silly questions,
4901 2003-03-28 John Levon <levon@movementarian.org>
4903 * text2.C: fix bug 974 (End on empty par)
4905 2003-03-28 John Levon <levon@movementarian.org>
4907 * BufferView_pimpl.C:
4909 * lfuns.h: remove do-nothing math greek lfuns
4911 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * lyxgluelength.h (isValidGlueLength): add default arg on
4914 parameter 2. Remove default arg from friend in class.
4916 * lyxlength.h (isValidLength): add default arg on parameter 2.
4917 Remove default arg from friend in class.
4919 * text2.C (LyXText): adjust, initialize refresh_row.
4923 (insertParagraph): adjst
4924 (redoParagraphs): adjust
4925 (fullRebreak): adjust
4926 (updateCounters): adjust
4927 (deleteEmptyParagraphMechanism): first attempt at fixing a
4930 * text.C (top_y): adjust
4931 (setHeightOfRow): adjust
4933 (getRowNearY): adjust
4935 * lyxtext.h: include RowList.h
4936 (~LyXText): not needed anymore, deleted.
4937 (firstRow): modify for RowList
4938 (lastRow): new function
4939 Delete firstrow and lastrow class variables, add a Rowlist
4940 rowlist_ class variable.
4942 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4945 * RowList.C (insert): fix case where it == begin().
4947 2003-03-26 Angus Leeming <leeming@lyx.org>
4949 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4950 the thesaurus dialog.
4952 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4954 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4956 * RowList.[Ch]: new files
4958 * ParagraphList.C (erase): handle the case where it == begin
4961 2003-03-25 John Levon <levon@movementarian.org>
4965 * aspell.C: add new aspell support
4968 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4971 2003-03-25 Angus Leeming <leeming@lyx.org>
4974 * LyXAction.C (init): new LFUN_INSET_INSERT.
4976 * BufferView_pimpl.C (dispatch): split out part of the
4977 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4979 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4982 2003-03-25 Angus Leeming <leeming@lyx.org>
4984 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4986 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4989 * text3.C: remove useless row->height(0)
4991 2003-03-25 John Levon <levon@movementarian.org>
4995 * text3.C: rename the refreshing stuff to better names
4997 2003-03-24 John Levon <levon@movementarian.org>
4999 * BufferView_pimpl.h:
5000 * BufferView_pimpl.C: update layout choice on a mouse
5003 2003-03-23 John Levon <levon@movementarian.org>
5005 * Makefile.am: fix commandtags.h reference
5007 2003-03-22 John Levon <levon@movementarian.org>
5009 * BufferView_pimpl.C:
5014 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5016 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5019 * text.C: take the rtl methods out of line
5021 2003-03-21 André Pönitz <poenitz@gmx.net>
5023 * metricsinfo.[Ch]: new files containing structures to be passed around
5024 during the two-phase-drawing...
5026 2003-03-21 André Pönitz <poenitz@gmx.net>
5028 * lyxtextclass.C: read 'environment' tag.
5030 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5032 * text2.C (removeRow): fix bug 964
5034 2003-03-20 John Levon <levon@movementarian.org>
5038 * text2.C: paint cleanups. Inset::update() dropped font
5041 2003-03-19 John Levon <levon@movementarian.org>
5043 * lyxfunc.C: only fitcursor/markDirty if available()
5045 2003-03-19 John Levon <levon@movementarian.org>
5047 * commandtags.h: rename to ...
5049 * lfuns.h: ... this, and renumber / cleanup
5051 2003-03-19 John Levon <levon@movementarian.org>
5053 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5054 fit the cursor after an lfun
5058 * BufferView_pimpl.h:
5059 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5061 * LyXAction.C: layout-character should have ReadOnly
5063 * ParagraphParameters.C:
5065 * bufferview_funcs.C:
5072 * undo_funcs.C: changes from above
5074 2003-03-18 John Levon <levon@movementarian.org>
5076 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5077 remove it from update()
5079 * lyxfunc.C: update layout choice after an lfun
5081 * text3.C: remove extra updateLayoutChoice()s
5083 2003-03-18 John Levon <levon@movementarian.org>
5085 * text.C: top_y change means full repaint, fix
5086 a drawing bug with cursor movement
5088 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5092 * text2.C: anchor row on setCursor
5094 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5096 * lyxtext.h: remove almost all mutable keywords
5099 * text3.C: remove const keywords accordingly
5101 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5105 (TeXEnvironment): ditto
5108 2003-03-17 John Levon <levon@movementarian.org>
5110 * text.C (rowBreakPoint): remove attempt to fix displayed
5111 math insets inside a manual label
5113 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * lyxtext.h: remove BufferView* as first arg from almost all class
5117 * other files: adjust.
5119 2003-03-17 John Levon <levon@movementarian.org>
5123 * text2.C: more paint cleanups
5125 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5128 * rowpainter.C: remove "smart" background painting code
5130 2003-03-16 John Levon <levon@movementarian.org>
5135 * text3.C: add helper functions for setting refresh_row/y
5137 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5139 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5140 newline inset which *can* get inserted in the pass_thru layouts.
5141 This is primarily for literate documents.
5143 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5145 * buffer.C: increment LYX_FORMAT to 223
5147 2003-03-14 André Pönitz <poenitz@gmx.net>
5149 * textclass.h: prepare for environment handling, ws changes
5150 * lyxlayout.C: read latexheader and latexfooter tags
5152 2003-03-14 John Levon <levon@movementarian.org>
5154 * text2.C: rewrite ::status() a bit
5156 2003-03-13 John Levon <levon@movementarian.org>
5158 * lyxtext.h: add some docs
5160 2003-03-13 John Levon <levon@movementarian.org>
5165 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5167 2003-03-13 John Levon <levon@movementarian.org>
5169 * text3.C: fix appendix redrawing
5171 2003-03-13 John Levon <levon@movementarian.org>
5173 * text.C (setHeightOfRow):
5175 * rowpainter.C: make appendix mark have the text
5176 "Appendix" so the user knows what it is
5179 * LColor.C: s/appendixline/appendix/ from above
5181 2003-03-13 John Levon <levon@movementarian.org>
5183 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5185 * text.C: fix a getChar(pos) bug properly
5187 2003-03-13 Angus Leeming <leeming@lyx.org>
5190 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5191 Probably only temporary. Let's see how things pan out.
5193 * BufferView.C (unlockInset):
5194 * BufferView_pimpl.C (fitCursor):
5195 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5197 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5198 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5200 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5201 new functions that convert ParagraphParameters to and from a string.
5203 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5204 BufferView::Pimpl's dispatch.
5205 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5207 2003-03-13 André Pönitz <poenitz@gmx.net>
5211 * factory.C: make it aware of InsetEnv
5213 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5215 * text2.C (setCursor): never ask for one past last
5216 (setCursor): add some debugging messages.
5218 * text.C (singleWidth): never ask for one past last
5219 (singleWidth): ditto
5221 (rightMargin): ditto
5222 (rowBreakPoint): ditto
5223 (setHeightOfRow): ditto
5224 (prepareToPrint): ditto
5226 * rowpainter.C (paintBackground): never ask for one past last
5227 (paintText): never ask for one past last
5229 * paragraph_pimpl.C (getChar): make the assert stricter, never
5230 allow the one past last pos to be taken
5232 * paragraph.C (getChar): ws changes only
5234 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5235 (numberOfSeparators): ditto
5236 (numberOfHfills): ditto
5238 2003-03-12 John Levon <levon@movementarian.org>
5244 * paragraph_funcs.C: fix per-buffer authorlists
5246 2003-03-12 John Levon <levon@movementarian.org>
5248 * text.C: fix newline in right address
5250 2003-03-12 Angus Leeming <leeming@lyx.org>
5252 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5253 duplicate those in LyXFunc::dispatch.
5257 * ToolbarDefaults.C:
5258 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5259 Add LFUN_FONTFREE_UPDATE.
5261 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5262 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5264 * bufferview_func.[Ch]: several new functions to facilliate
5265 transfer of data to and from the character dialog.
5267 2003-03-12 John Levon <levon@movementarian.org>
5272 * paragraph_funcs.C:
5273 * paragraph_pimpl.C:
5277 * text3.C: remove META_NEWLINE in favour of an inset
5280 * rowpainter.C: remove paintNewline (done by inset)
5282 2003-03-12 John Levon <levon@movementarian.org>
5284 * paragraph_pimpl.C: complain about bad getChar()s
5285 for a while at least
5287 2003-03-12 John Levon <levon@movementarian.org>
5290 * buffer.C: move paragraph read into a separate function,
5291 a little renaming to reflect that.
5294 * bufferparams.C: remove the author_ids map, not necessary now
5297 * factory.C: moved Buffer::readInset to here
5299 * paragraph_funcs.h:
5300 * paragraph_funcs.C: readParagraph free function moved from
5303 * tabular.C: name change
5305 2003-03-12 John Levon <levon@movementarian.org>
5308 * ParagraphParameters.C: move par params input to
5311 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5312 behave like a normal read from the stream wrt reading
5313 a line vs. a \\token
5315 2003-03-12 John Levon <levon@movementarian.org>
5318 * ParagraphParameters.h:
5319 * ParagraphParameters.C: move output code to a
5322 2003-03-12 John Levon <levon@movementarian.org>
5324 * BufferView.C (insertLyXFile):
5327 * tabular.C: use a parlist iterator for creating the
5330 2003-03-12 John Levon <levon@movementarian.org>
5332 * buffer.C: make current_change static local not
5335 2003-03-12 John Levon <levon@movementarian.org>
5337 * buffer.C: fix insertStringAsLines for change tracking
5339 2003-03-12 John Levon <levon@movementarian.org>
5346 * bufferparams.C: move author list into params. Rename some
5347 functions. Move the header reading into a separate token
5348 loop. Move the header token reading into BufferParams.
5350 2003-03-12 John Levon <levon@movementarian.org>
5352 * changes.C: put debug inside lyxerr.debugging() checks
5354 2003-03-11 André Pönitz <poenitz@gmx.net>
5356 * factory.C: make it aware of InsetHFill
5358 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5360 * buffer.C (latexParagraphs): move function from here...
5361 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5364 2003-03-10 Angus Leeming <leeming@lyx.org>
5366 * LyXAction.C (init): fix bug in poplating array with multiple entries
5367 with the same LFUN (spotted by JMarc).
5369 2003-03-10 John Levon <levon@movementarian.org>
5372 * text2.C: move getColumnNearX() near its
5375 2003-03-10 John Levon <levon@movementarian.org>
5377 * text.C: fix break before a minipage
5379 2003-03-10 John Levon <levon@movementarian.org>
5381 * text.C: fix the last commit
5383 2003-03-09 John Levon <levon@movementarian.org>
5387 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5388 bug 365 (don't break before insets unless needed). Don't
5389 return a value > last under any circumstances.
5391 2003-03-09 Angus Leeming <leeming@lyx.org>
5393 * BufferView_pimpl.C (trackChanges, dispatch): call
5394 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5396 2003-03-09 Angus Leeming <leeming@lyx.org>
5398 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5399 than Dialogs::showAboutlyx().
5401 2003-03-09 Angus Leeming <leeming@lyx.org>
5403 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5404 than Dialogs::showTabularCreate().
5406 2003-03-09 John Levon <levon@movementarian.org>
5410 * text2.C: 3rd arg to nextBreakPoint was always the same.
5413 2003-03-08 John Levon <levon@movementarian.org>
5420 * text2.C: Remove the "main" bit from the "main body"
5423 2003-03-08 John Levon <levon@movementarian.org>
5425 * text.C (leftMargin): The left margin of an empty
5426 manual label paragraph should not include the label width
5429 * text.C (prepareToPrint): don't attempt to measure hfills
5430 for empty manual label paragraphs - the answer should be 0
5432 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5434 * CutAndPaste.C: remove commented code and reindent.
5436 2003-03-08 John Levon <levon@movementarian.org>
5439 * lyxfunc.C: move reloadBuffer()
5442 * BufferView.C: to here
5444 * lyxvc.C: add comment
5447 * vc-backend.C: call bv->reload() to avoid
5448 getStatus() check on MENURELOAD
5450 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5452 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5453 to an old format .dep file.
5455 2003-03-07 Angus Leeming <leeming@lyx.org>
5457 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5458 when the LFUN_MOUSE_RELEASE should have been handled by
5459 inset->localDispatch.
5461 2003-03-07 Angus Leeming <leeming@lyx.org>
5463 * BufferView_pimpl.C (dispatch):
5464 * LyXAction.C (init):
5465 * ToolbarDefaults.C (init):
5467 * lyxfunc.C (getStatus):
5468 remove LFUN_INSET_GRAPHICS.
5470 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5472 2003-03-07 Angus Leeming <leeming@lyx.org>
5475 * LyXAction.C (init):
5476 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5478 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5481 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5483 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5484 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5486 2003-03-07 Angus Leeming <leeming@lyx.org>
5488 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5491 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * ParagraphList.C (front): new function
5496 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5498 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5499 and top_row_offset_. removed var first_y.
5501 * text2.C (LyXText, removeRow):
5503 * BufferView_pimpl.C:
5504 use these methods instead of using first_y
5506 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * text2.C (pasteSelection): adjust for checkPastePossible
5510 * CutAndPaste.C: remove Paragraph * buf and replace with
5511 ParagraphList paragraphs.
5512 (DeleteBuffer): delete
5513 (cutSelection): change the tc type to textclass_type
5514 (copySelection): change the tc type to textclass_type
5515 (copySelection): adjust for ParagraphList
5516 (pasteSelection): change the tc type to textclass_type
5517 (pasteSelection): adjust for Paragraphlist
5518 (nrOfParagraphs): simplify for ParagraphList
5519 (checkPastePossible): simplify for ParagraphList
5520 (checkPastePossible): remove unused arg
5522 * ParagraphList.C (insert): handle the case where there are no
5525 * CutAndPaste.h: make CutAndPaste a namespace.
5527 * text3.C (dispatch): adjust
5529 * text.C (breakParagraph): add a ParagraphList as arg
5531 * paragraph_funcs.C (breakParagraph): change to take a
5532 BufferParams and a ParagraphList as args.
5533 (breakParagraphConservative): ditto
5534 (mergeParagraph): ditto
5535 (TeXDeeper): add a ParagraphList arg
5536 (TeXEnvironment): ditto
5539 * buffer.C (readLyXformat2): adjust
5540 (insertStringAsLines): adjust
5541 (latexParagraphs): adjust
5543 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5544 (cutSelection): adjust
5545 (pasteSelection): adjust
5547 * BufferView_pimpl.C (insertInset): adjust
5549 2003-03-05 Angus Leeming <leeming@lyx.org>
5552 * LyXAction.C (init):
5553 * BufferView_pimpl.C (dispatch):
5554 * lyxfunc.C (getStatus):
5555 remove LFUN_CHILD_INSERT.
5557 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5559 2003-03-05 Angus Leeming <leeming@lyx.org>
5562 * LyXAction.C (init):
5563 * src/factory.C (createInset):
5564 * lyxfunc.C (getStatus):
5565 * text3.C (dispatch):
5566 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5568 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5570 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5572 * ParagraphList.C (insert): handle insert right before end()
5573 (erase): fix cases where it can be first or last paragraph.
5575 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5578 Paragraph::next and Paragraph::previous
5581 * text.C (breakParagraph): adjust
5583 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5584 BufferParams& as arg.
5585 (breakParagraph): use ParagraphList::insert
5586 (breakParagraphConservative): take a Buffer* instead of a
5587 BufferParams& as arg.
5588 (breakParagraphConservative): use ParagraphList::insert.
5590 * buffer.C (insertStringAsLines): un-const it
5591 (insertStringAsLines): adjust
5593 * ParagraphList.C (insert): new function
5595 * CutAndPaste.C (pasteSelection): adjust
5597 * text.C (backspace): adjust
5599 * tabular.C (SetMultiColumn): adjust
5601 * CutAndPaste.C (cutSelection): adjust
5602 (pasteSelection): adjust
5604 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5605 Buffer const * as arg
5607 * ParagraphList.C (erase): new function
5608 * paragraph_funcs.C (mergeParagraph): use it
5609 (mergeParagraph): make it take a Buffer* instead of a
5610 BufferParams* as arg
5612 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5614 (breakParagraphConservative): ditto
5616 * paragraph.h: remove the breakParagraph friend
5618 * paragraph.C (eraseIntern): new function
5619 (setChange): new function
5621 * paragraph_funcs.C (mergeParagraph): make it take a
5622 ParagraphList::iterator instead of a Paragraph *, adjust
5625 * paragraph.h: move an #endif so that the change tracking stuff
5626 also works in the NO_NEXT case.
5628 2003-03-04 Angus Leeming <leeming@lyx.org>
5631 * LyXAction.C: new LFUN_INSET_MODIFY.
5633 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5634 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5636 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5638 * several files: ws changes only
5640 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5641 (TeXEnvironment): ditto
5644 * buffer.C (makeLaTeXFile): adjust
5645 (latexParagraphs): make it take ParagraphList::iterator as args
5647 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * buffer.C (latexParagraphs): adjust
5651 * paragraph.C (TeXOnePar): move function...
5652 (optArgInset): move function...
5653 (TeXEnvironment): move function...
5654 * paragraph_pimpl.C (TeXDeeper): move function...
5655 * paragraph_funcs.C: ...here
5657 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5659 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * buffer.C (readInset): remove compability code for old Figure and
5664 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * buffer.C: ws changes
5669 * BufferView_pimpl.C: ditto
5672 * bufferlist.h: ditto
5676 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5678 * converter.[Ch]: split into itself +
5681 * Makefile.am: += graph.[Ch] + format.[Ch]
5688 * lyxrc.C: added #include "format.h"
5690 2003-02-27 Angus Leeming <leeming@lyx.org>
5692 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5695 * factory.C (createInset): add "label" to the factory.
5697 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5698 string and do no more.
5700 2003-02-27 Angus Leeming <leeming@lyx.org>
5703 * LyXAction.C (init):
5704 * factory.C (createInset):
5705 * BufferView_pimpl.C (dispatch):
5706 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5708 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5710 * lyxfunc.C (dispatch):
5711 * text3.C (dispatch): pass name to params2string.
5713 2003-02-26 Angus Leeming <leeming@lyx.org>
5715 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5717 Rearrange the ~includes. Strip out the unnecessary ones.
5719 * factory.C (createInset): reformat.
5720 create new insets for the various LFUN_XYZ_APPLY lfuns.
5722 2003-02-26 John Levon <levon@movementarian.org>
5725 * lyxrow.C: add isParStart,isParEnd helpers
5727 * paragraph.h: make isInserted/DeletedText take refs
5729 * paragraph_funcs.h:
5730 * paragraph_funcs.C: remove #if 0'd code
5735 * text.C: use lyxrow helpers above.
5736 Move draw and paint routines to RowPainter.
5737 Make several methods use refs not pointers.
5738 Make backgroundColor() const.
5739 Add markChangeInDraw(), isInInset().
5740 Merge changeRegionCase into changeCase.
5741 Make workWidth() shouldn't-happen code into an Assert.
5744 * rowpainter.C: new class for painting a row.
5747 * vspace.C: make inPixels take a ref
5749 2003-02-26 Angus Leeming <leeming@lyx.org>
5751 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5754 2003-02-25 John Levon <levon@movementarian.org>
5756 * ispell.C: give the forked command a more accurate name
5758 2003-02-22 John Levon <levon@movementarian.org>
5761 * toc.C: make TocItem store an id not a Paragraph *
5764 2003-02-21 Angus Leeming <leeming@lyx.org>
5766 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5767 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5768 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5769 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5770 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5771 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5773 * BufferView_pimpl.C (dispatch):
5774 * LyXAction.C (init):
5775 * factory.C (createInset):
5776 * lyxfunc.C (getStatus, dispatch):
5777 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5779 2003-02-21 Angus Leeming <leeming@lyx.org>
5781 * BufferView_pimpl.C (MenuInsertLyXFile):
5782 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5783 * lyxfunc.C (menuNew, open, doImport):
5784 no longer pass a LyXView & to fileDlg.
5786 2003-02-21 Angus Leeming <leeming@lyx.org>
5788 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5789 * LyXAction.C: change, BIBKEY to BIBITEM.
5790 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5791 Change InsetBibKey to InsetBibitem.
5792 Change BIBKEY_CODE to BIBITEM_CODE.
5793 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5794 * factory.C: replace insetbib.h with insetbibitem.h.
5795 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5796 * paragraph.C: replace insetbib.h with insetbibitem.h.
5797 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5798 Change bibkey() to bibitem().
5799 * text.C: remove insetbib.h.
5800 * text2.C: replace insetbib.h with insetbibitem.h.
5801 change bibkey() to bibitem().
5802 * text3.C: remove insetbib.h.
5803 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5805 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5807 * lyxrc.C (output): enclose user email in quotes (in case there are
5810 2003-02-18 John Levon <levon@movementarian.org>
5812 * buffer.h: add std::
5814 2003-02-17 John Levon <levon@movementarian.org>
5820 * pspell.C: reworking. Especially in ispell, a large
5821 number of clean ups and bug fixes.
5823 * lyxfunc.C: fix revert to behave sensibly
5825 2003-02-17 André Pönitz <poenitz@gmx.net>
5828 * commandtags.h: new LFUN_INSERT_BIBKEY
5838 * paragraph_func.C: remove special bibkey handling
5840 2003-02-17 John Levon <levon@movementarian.org>
5842 * text.C (Delete): fix case where delete at the end of
5843 the very first paragraph would not merge the pars
5845 2003-02-17 John Levon <levon@movementarian.org>
5847 * lyxrow.C: fix lastPrintablePos()
5849 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5851 * bufferparams.C (writeLaTeX): add a std:here
5853 * buffer.C: and remove a using directive there
5855 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5857 * buffer.C (makeLaTeXFile): move the code that generates the
5860 * bufferparams.C (writeLaTeX): ... in this new method
5862 * LaTeXFeatures.C (getEncodingSet): make const
5863 (getLanguages): make const
5865 * MenuBackend.C (binding): returns the binding associated to this
5867 (add): sets the status of each item by calling getStatus. Adds
5869 (read): add support for OptSubMenu
5870 (expand): remove extra separator at the end of expanded menu
5872 2003-02-15 John Levon <levon@movementarian.org>
5875 * BufferView_pimpl.C:
5877 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5878 inset code that had no actual effect. Remove unneeded status
5881 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5886 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5888 * text.C (drawLengthMarker): also draw an arrow marker for
5889 symbolic lengths (medskip...)
5891 2003-02-14 John Levon <levon@movementarian.org>
5894 * tabular.C: better method names
5896 2003-02-14 John Levon <levon@movementarian.org>
5898 * BufferView_pimpl.C:
5903 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5904 it's a more accurate name. Remove some pointless uses.
5906 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5908 * text2.C (LyXText): change order of initilizers to shut off
5911 2003-02-14 John Levon <levon@movementarian.org>
5913 * buffer.C: use ParIterator for getParFromID()
5917 * paragraph_pimpl.h:
5918 * paragraph_pimpl.C: remove unused getParFromID()
5920 2003-02-14 John Levon <levon@movementarian.org>
5922 * buffer.C: remove some very old #if 0'd parse code
5924 2003-02-13 John Levon <levon@movementarian.org>
5928 * text2.C: move hfillExpansion(), numberOfSeparators(),
5929 rowLast(), rowLastPrintable(), numberofHfills(),
5930 numberOfLabelHfills() ...
5933 * lyxrow.C: ... to member functions here.
5938 * text.C: remove LyXText::beginningOfMainBody(), and call
5939 p->beginningOfMainBody() directly. Move the check for
5940 LABEL_MANUAL into the latter.
5947 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5953 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5954 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5956 2003-02-13 John Levon <levon@movementarian.org>
5958 * CutAndPaste.C: remove debug
5960 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5962 * paragraph.C (asString): remove two unused variables
5964 * lyxtextclass.C (readTitleType):
5966 (LyXTextClass): handle new members titletype_ and titlename_
5968 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5970 2003-02-09 John Levon <levon@movementarian.org>
5973 * buffer.C: replace hand-coded list with a map for the dep clean
5975 2003-02-08 John Levon <levon@movementarian.org>
5977 * LaTeX.C: consolidate code into showRunMessage() helper
5979 2003-02-08 John Levon <levon@movementarian.org>
5984 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5985 and pass the size in explicitly
5987 * BufferView_pimpl.h:
5988 * BufferView_pimpl.C:
5990 * BufferView.C: add getCurrentChange()
5992 * BufferView_pimpl.h:
5993 * BufferView_pimpl.C: handle change lfuns
5995 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5996 for changes. Mark pasted paragraphs as new.
5998 * support/lyxtime.h:
5999 * support/lyxtime.C:
6000 * DepTable.C: abstract time_t as lyx::time_type
6003 * LColor.C: add colours for new text, deleted text, changebars
6005 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6006 package use "usenames" option.
6010 * LyXAction.C: add change lfuns
6014 * author.C: author handling
6017 * buffer.C: add a per-buffer author list, with first entry as
6018 current author. Handle new .lyx tokens for change tracking. Output
6019 author list to .lyx file. Output dvipost stuff to .tex preamble.
6020 Bump lyx format to 222.
6023 * bufferlist.C: add setCurrentAuthor() to reset current author details
6027 * bufferparams.C: add param for tracking
6029 * bufferview_funcs.C: output change info in minibuffer
6033 * changes.C: add change-tracking structure
6036 * debug.C: add CHANGES debug flag
6039 * lyxfind.C: add code for finding the next change piece
6042 * lyxrc.C: add user_name and user_email
6045 * lyxrow.C: add a metric for the top of the text line
6048 * text.C: implement accept/rejectChange()
6051 * text.C: paint changebars. Paint new/deleted text in the chosen
6052 colours. Strike through deleted text.
6056 * paragraph_pimpl.h:
6057 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6058 in the current change to the insert functions. Rework erase to
6059 mark text as deleted, adding an eraseIntern() and a range-based
6060 erase(). Implement per-paragraph change lookup and
6063 * paragraph_funcs.C: Fixup paste for change tracking.
6065 * tabular.C: mark added row/columns as new.
6067 * text.C: fix rowLast() to never return -1. Don't allow
6068 spellchecking of deleted text. Track transpose changes. Don't
6069 allow paragraph break or merge where appropriate.
6071 * text2.C: leave cursor at end of selection after a cut.
6073 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6075 * text.C (getLengthMarkerHeight):
6076 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6077 visible on screen too.
6079 2003-02-07 John Levon <levon@movementarian.org>
6081 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6083 2003-02-05 Angus Leeming <leeming@lyx.org>
6085 * lyxserver.C (read_ready): revert my patch of 11 September last year
6086 as it sends PC cpu through the roof. Presumably this means that
6087 the lyxserver will no longer run on an Alpha...
6089 2003-01-30 Angus Leeming <leeming@lyx.org>
6091 * factory.C (createInset): create an InsetCommandParam of type "index"
6092 and use it to 'do the right thing'.
6094 * text2.C (getStringToIndex): ensure that cursor position is always
6095 reset to the reset_cursor position.
6097 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6099 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6102 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6106 * lyxfunc.C: Output messages with identical spelling, punctuation,
6109 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6111 * MenuBackend.C (expandFormats): List only viewable export formats
6114 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6117 * lyxfunc.C (getStatus): Make sure that formats other than
6118 "fax" can also be disabled
6120 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6122 * text3.C (dispatch): put the lfuns that insert insets in 3
6123 groups, and call doInsertInset with appropriate arguments.
6124 (doInsertInset): new function, that creates an inset and inserts
6125 it according to some boolean parameters.
6127 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * buffer.C (readFile): remember to pass on 'par' when calling
6130 readFile recursively.
6132 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6134 * MenuBackend.C (expandFormats): add "..." to import formats.
6136 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6138 * paragraph.C (asString): Remove XForms RTL hacks.
6140 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6141 * buffer.C: fix typo
6143 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * Makefile.am (LIBS): delete var
6146 (lyx_LDADD): add @LIBS@ here instead.
6148 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6150 * Clarify the meaning of "wheel mouse jump"
6152 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6154 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6157 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6159 * importer.C (Loaders): do not preallocate 3 elements in the
6160 vector, since one ends up with 6 elements otherwise
6162 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6164 * DepTable.C (write): write the file name as last element of the
6165 .dep file (because it may contain spaces)
6166 (read): read info in the right order
6168 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6170 * paragraph_pimpl.C (simpleTeXBlanks):
6171 (simpleTeXSpecialChars):
6172 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6174 * tabular.C (latex): add some missing case statements. Reindent.
6176 * MenuBackend.C (expandToc): remove unused variable.
6178 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6187 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6190 2003-01-05 John Levon <levon@movementarian.org>
6193 * BufferView.C: add getEncoding()
6196 * kbsequence.C: do not store last keypress
6199 * lyxfunc.C: store last keypress here instead. Pass encoding
6202 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6204 * lyx_main.C (init): remove annoying error message when following
6205 symbolic links (bug #780)
6207 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6209 * text.C (insertChar):
6210 * lyxrc.C (getDescription): remove extra spaces
6212 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6214 * lyxrc.C (getDescription): remove extra spaces
6216 2002-12-20 John Levon <levon@movementarian.org>
6218 * text3.C: hack fix for page up/down across tall rows
6220 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6222 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6225 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6227 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6228 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6229 thesaurus is not compiled in
6231 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6233 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6235 2002-12-16 Angus Leeming <leeming@lyx.org>
6238 * lyx_main.C (init): remove override_x_deadkeys stuff.
6240 2002-12-12 John Levon <levon@movementarian.org>
6242 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6243 insert. Only remove shift modifier under strict
6246 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * MenuBackend.C (expandToc): fix crash.
6250 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6252 * MenuBackend.C (expandToc): gettext on float names.
6254 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6256 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6257 implement bool empty() [bug 490]
6259 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6261 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6263 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * several files: ws changes
6267 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * text2.C (setCounter): clean up a bit, use boost.format.
6270 (updateCounters): initialize par upon declaration.
6272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6273 if the layout exists. We do not just store the layout any more.
6274 (SwitchLayoutsBetweenClasses): use boost.format
6276 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6278 * converter.C (convert): if from and to files are the same, use a
6279 temporary files as intermediary
6281 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6284 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6286 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6288 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6290 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * tabular.C (asciiPrintCell): use string(size, char) instead of
6295 * sgml.C (openTag): fix order of arguments to string constructor
6298 * lyxfunc.C (dispatch): use boost.format
6300 * lots of files: change "c" -> 'c'
6302 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6304 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6306 2002-11-25 Angus Leeming <leeming@lyx.org>
6308 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6310 * lyx_main.C (init): compile fix.
6312 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * lyx_cb.C (start): boost.formatify
6315 do not include <iostream>
6317 * lengthcommon.C: ws only
6319 * boost-inst.C,BoostFormat.h: add more explict instantations
6321 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * lots of files: handle USE_BOOST_FORMAT
6325 2002-11-21 John Levon <levon@movementarian.org>
6327 * pspell.C: fix compile
6329 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6331 * lyxfunc.C (dispatch): use boost::format
6335 * lyxfont.C (stateText): use boost::format
6337 * lyx_main.C (LyX): use boost::format
6339 (queryUserLyXDir): ditto
6342 (typedef boost::function): use the recommened syntax.
6344 * importer.C (Import): use boost::format
6346 * debug.C (showLevel): use boost::format
6348 * converter.C (view): use boost::format
6353 * bufferview_funcs.C (currentState): use boost::format
6355 * bufferlist.C (emergencyWrite): use boost::format
6357 * buffer.C (readLyXformat2): use boost::format
6358 (parseSingleLyXformat2Token): ditto
6360 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6362 * LaTeX.C (run): use boost::format
6364 * Chktex.C (scanLogFile): use boost::format
6366 * BufferView_pimpl.C (savePosition): use boost::format
6367 (restorePosition): ditto
6368 (MenuInsertLyXFile): ditto
6370 * BoostFormat.h: help file for explicit instation.
6372 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6374 * tabular.C (latex): Support for block alignment in fixed width
6377 2002-11-17 John Levon <levon@movementarian.org>
6379 * BufferView_pimpl.C:
6381 * lyxfunc.C: split filedialog into open/save
6383 2002-11-08 Juergen Vigna <jug@sad.it>
6385 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6386 by my last patch (hopefully).
6388 2002-11-08 John Levon <levon@movementarian.org>
6397 * toc.C: ParConstIterator, and use it (from Lars)
6399 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6401 * lyxtextclass.[Ch]: revise and add doxygen comments
6403 2002-11-07 John Levon <levon@movementarian.org>
6405 * text.C: fix progress value for spellchecker
6407 * toc.C: fix navigate menu for insetwrap inside minipage
6409 * paragraph_funcs.C: added FIXME for suspect code
6411 2002-11-07 John Levon <levon@movementarian.org>
6413 * BufferView_pimpl.C: fix redrawing of insets
6416 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6418 * text2.C (updateCounters): fix bug 668
6420 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6422 * text3.C (dispatch): Do not make the buffer dirty when moving the
6425 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * vc-backend.C: STRCONV
6430 * text2.C (setCounter): STRCONV
6432 * paragraph.C (asString): STRCONV
6434 * lyxlength.C (asString): STRCONV
6435 (asLatexString): ditto
6437 * lyxgluelength.C (asString): STRCONV
6438 (asLatexString): ditto
6440 * lyxfunc.C (dispatch): STRCONV
6443 * lyxfont.C (stateText): STRCONV
6445 * importer.C (Import): STRCONV
6447 * counters.C (labelItem): STRCONV
6448 (numberLabel): ditto
6449 (numberLabel): remove unused ostringstream o
6454 * bufferview_funcs.C (currentState): STRCONV
6456 * buffer.C (readFile): STRCONV
6457 (asciiParagraph): ditto
6458 (makeLaTeXFile): ditto
6460 * Spacing.C (writeEnvirBegin): STRCONV
6462 * LaTeXFeatures.C (getLanguages): STRCONV
6463 (getPackages): ditto
6465 (getBabelOptions): ditto
6466 (getTClassPreamble): ditto
6467 (getLyXSGMLEntities): ditto
6468 (getIncludedFiles): ditto
6472 (scanAuxFile): ditto
6475 * LString.h: add the STRCONV macros
6477 * BufferView_pimpl.C (savePosition): STRCONV
6478 (restorePosition): ditto
6479 (MenuInsertLyXFile): ditto
6481 * vc-backend.C (scanMaster): change from submatch[...] to
6484 * funcrequest.C: include config.h
6486 * factory.C: include config.h
6488 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6490 * box.C: include config.h
6492 * LaTeX.C (scanAuxFile): change from submatch[...] to
6496 2002-10-25 Angus Leeming <leeming@lyx.org>
6498 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6500 * ispell.[Ch] (setError): new method.
6501 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6502 Use setError() insetead of goto END.
6504 * lyx_cb.C (AutoSave): move out child process into new class
6507 2002-10-30 John Levon <levon@movementarian.org>
6509 * text3.C: make start appendix undoable
6511 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6513 * lyxlength.C (inPixels): Fix returned value.
6515 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6518 2002-10-24 Angus Leeming <leeming@lyx.org>
6520 * lyxgluelength.h: no need to forward declare BufferParams
6521 or BufferView, so don't.
6523 2002-10-21 John Levon <levon@movementarian.org>
6525 * BufferView.C: menuUndo ->undo, redo
6527 * BufferView.h: document, remove dead, make some methods private
6529 * paragraph_funcs.h:
6530 * paragraph_funcs.C:
6531 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6536 * sgml.C: move sgml open/close tag into sgml.C
6538 * bufferview_funcs.h: unused prototype
6541 * lyxfunc.C: remove unused
6544 * text.C: remove unused
6546 2002-10-21 John Levon <levon@movementarian.org>
6550 * BufferView_pimpl.h:
6551 * BufferView_pimpl.C: fix mouse wheel handling based on
6552 patch from Darren Freeman
6554 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6556 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6558 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6560 * lyxlength.C (inPixels): Fix hanfling of negative length.
6561 Fix LyXLength::MU case.
6563 2002-10-16 John Levon <levon@movementarian.org>
6565 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6567 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6569 * converter.C (view): add support for $$i (file name) and $$p
6570 (file path) for the viewer command. If $$i is not specified, then
6571 it is appended to the command (for compatibility with old syntax)
6573 2002-10-14 Juergen Vigna <jug@sad.it>
6575 * undo_funcs.C (textHandleUndo): alter the order in which the
6576 new undopar is added to the LyXText, as we have to set first
6577 the right prev/next and then add it as otherwise the rebuild of
6578 LyXText is not correct. Also reset the cursor to the right paragraph,
6579 with this IMO we could remove the hack in "redoParagraphs()".
6581 2002-10-09 Angus Leeming <leeming@lyx.org>
6583 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6584 to turn off an optimisation if a new inset is to be inserted.
6586 2002-10-11 André Pönitz <poenitz@gmx.net>
6588 * lyxtext.h: make some functions public to allow access
6589 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6591 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6593 * text3.C (dispatch): when changing layout, avoid an infinite loop
6596 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6598 * lyxrc.C (read): treat a viewer or converter command of "none" as
6601 * MenuBackend.C (expandFormats): for an update, also allow the
6602 formats that are not viewable
6604 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6605 script if it is newer than the lyxrc.defaults in user directory
6607 2002-10-07 André Pönitz <poenitz@gmx.net>
6609 * text.C: Vitaly Lipatov's small i18n fix
6611 2002-09-25 Angus Leeming <leeming@lyx.org>
6613 * ispell.h: doxygen fix.
6615 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6617 * buffer.h (readFile): Add a new argument to the method, to allow
6618 reading of old-format templates.
6620 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6622 * toc.C (getTocList): Get TOC from InsetWrap.
6624 2002-09-16 John Levon <levon@movementarian.org>
6626 * lyxfunc.C: check tabular for cut/copy too
6628 2002-09-12 John Levon <levon@movementarian.org>
6633 * factory.C: add header
6635 * paragraph_funcs.h:
6636 * paragraph_funcs.C: cleanup
6638 2002-09-11 John Levon <levon@movementarian.org>
6640 * PrinterParams.h: odd/even default to true
6642 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6644 * PrinterParams.h: update printer parameters for new xforms dialog
6646 2002-09-11 Angus Leeming <leeming@lyx.org>
6648 * lyxserver.C (read_ready): re-write to make it more transparent
6649 and to make it work in coherent fashion under Tru64 Unix.
6651 2002-09-11 André Pönitz <poenitz@gmx.net>
6655 * text3.C: implement LFUN_WORDSEL
6657 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6660 make floatlist_ a boost::shared_ptr<FloatList>
6662 * lyxtextclass.C: include FloatList.h
6663 (LyXTextClass): initialize floatlist_
6664 (TextClassTags): add TC_NOFLOAT
6665 (Read): match "nofloat" to TC_NOFLOAT and use it.
6666 (readFloat): modify call to floatlist_
6670 * FloatList.[Ch] (FloatList): remove commented out float
6672 (erase): new function
6674 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6676 * MenuBackend.C (expandToc): fix crash when there is no document
6679 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6681 * many files: Add insetwrap.
6683 2002-09-09 John Levon <levon@movementarian.org>
6685 * text2.C: remove confusing and awkward depth wraparound
6687 2002-09-09 John Levon <levon@movementarian.org>
6689 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6692 * buffer.C: remove getIncludeonlyList()
6695 * lyxfunc.C: remove headers
6697 2002-09-09 Juergen Vigna <jug@sad.it>
6699 * text.C (getColumnNearX): fix form Michael this is most
6700 probably a cut&paste bug.
6702 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6704 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6706 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6707 references, ws changes.
6709 * text2.C (init): update counters after init
6710 (insertParagraph): no need to set counter on idividual paragraphs.
6711 (setCounter): access the counters object in the textclass object
6712 on in the buffer object.
6713 (updateCounters): ditto
6715 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6716 shared_ptr<Counters> to avoid loading counters.h in all
6718 (LyXTextClass): initialize ctrs_
6719 (TextClassTags): add TC_COUNTER, and ...
6720 (Read): use it here.
6721 (CounterTags): new tags
6722 (readCounter): new function
6723 (counters): new funtion
6724 (defaultLayoutName): return a const reference
6726 * counters.C (Counters): remove contructor
6727 (newCounter): remove a couple of unneeded statements.
6728 (newCounter): simplify a bit.
6729 (numberLabel): some small formatting changes.
6731 * buffer.[Ch]: remove all traces of counters, move the Counters
6732 object to the LyXTextClass.
6734 2002-09-06 Alain Castera <castera@in2p3.fr>
6736 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6737 package to set the horizontal alignment on fixed width columns.
6740 * lyx_sty.h: added tabularnewline macro def.
6742 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6744 2002-09-06 John Levon <levon@movementarian.org>
6746 * LyXAction.C: tooltips for sub/superscript
6748 * MenuBackend.C: a bit more verbose
6750 * lyxfunc.C: tiny clean
6752 * undo_funcs.C: document undo_frozen
6754 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * counters.C (Counters): add missing algorithm counter.
6758 * text2.C (setCounter): lookup the counter with layouts latexname
6759 instead of by section number.
6760 (setCounter): use a hackish way to lookup the correct enum
6762 a float name->type change
6763 reset enum couners with counter name directly instead of depth value.
6765 * counters.C (Counters): remove the push_backs, change to use the
6766 float type not the float name.
6767 (labelItem): remove unused string, float name->type change
6769 * counters.h: don't include vector, loose the enums and sects vectors
6771 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6774 (Read): add float->TC_FLOAT to textclassTags
6775 (Read): and handle it in the switch
6776 (readFloat): new function
6778 * FloatList.C (FloatList): comment out the hardcoded float
6781 * lyxlayout.h: ws change.
6783 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6785 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6787 2002-09-03 Angus Leeming <leeming@lyx.org>
6789 * BufferView_pimpl.h: qualified name is not allowed in member
6790 declaration: WorkArea & Pimpl::workarea() const;
6792 * factory.C: added using std::endl directive.
6794 * text3.C: added using std::find and std::vector directives.
6796 2002-08-29 André Pönitz <poenitz@gmx.net>
6799 * text2.C: remove unused member number_of_rows
6802 * BufferView2.C: remove file, move contents to...
6803 * BufferView.C: ... here
6805 * BufferView_pimpl.C:
6806 * factory.C: move more inset creation to factory
6808 * vspace.C: avoid direct usage of LyXText, ws changes
6811 don't provide direct access to WorkArea, use two simple
6812 acessors haveSelction() and workHeight() instead
6815 2002-08-29 John Levon <levon@movementarian.org>
6817 * BufferView_pimpl.C (dispatch): do not continue when
6820 2002-08-28 André Pönitz <poenitz@gmx.net>
6822 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6825 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6827 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6829 * buffer.C: increment LYX_FORMAT to 221
6831 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6832 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6834 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6836 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6838 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6840 * factory.C (createInset): use LyXTextClass::floats
6842 * MenuBackend.C (expandFloatListInsert):
6843 (expandFloatInsert):
6846 * text2.C (setCounter):
6848 * LaTeXFeatures.C (useFloat):
6849 (getFloatDefinitions):
6851 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6853 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6854 floatlist_, with accessor floats().
6856 * FloatList.h: remove global FloatList
6858 2002-08-26 André Pönitz <poenitz@gmx.net>
6860 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6864 * BufferView_pimpl.C:
6865 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6867 2002-08-25 John Levon <levon@movementarian.org>
6869 * LyXAction.C: fix margin note description
6871 2002-08-24 John Levon <levon@movementarian.org>
6875 * bufferview_funcs.C:
6877 * undo_funcs.C: cleanups
6879 * lyxfunc.C: disable CUT/COPY when no selection
6881 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6883 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6884 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6886 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6887 Add backward compatibility to "mono", "gray" and "no".
6889 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6891 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6892 (and file_format >= 200).
6894 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6896 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6898 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6900 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6902 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6904 * BufferView_pimpl.C:
6911 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6912 inset and code to make it work with the paragraph code. The inset
6913 can be anywhere in the paragraph, but will only do the expected
6914 thing in LaTeX if the layout file contains the parameter line
6916 (or more generally, a nonzero value) for that layout.
6918 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6920 * paragraph.h: remove the declaration of undefined counters class
6923 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6925 * text2.C (setCounter): fixed enumeration mis-count as reported by
6926 Dr. Richard Hawkins.
6928 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * paragraph_funcs.h: remove some unneeded includes
6932 * text.C (backspace): pasteParagraph now in global scipe
6934 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6935 (pasteSelection): ditto
6937 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6938 * paragraph_funcs.C (pasteParagraph): ... here
6940 2002-08-20 André Pönitz <poenitz@gmx.net>
6942 * commandtags.h: new LFUNs for swapping/copying table row/colums
6945 * lyxfunc.C: support for new lfuns
6947 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6950 * buffer.[Ch]: remove NO_COMPABILITY stuff
6952 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6954 * boost.C (throw_exception): new file, with helper function for
6955 boost compiled without exceptions.
6960 * ParameterStruct.h:
6961 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6963 * bufferlist.C (emergencyWriteAll): use boost bind
6965 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6967 * text.C: include paragraph_funcs.h
6968 (breakParagraph): breakParagraph is now in global scope
6970 * paragraph_funcs.[Ch]: new files
6972 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6975 * buffer.C: include paragraph_funcs.h
6976 (insertStringAsLines): breakParagraph is now in global scope
6978 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6981 * CutAndPaste.C: include paragraph_funcs.h
6982 (cutSelection): breakParagraphConservative is now in global scope
6983 (pasteSelection): ditto
6985 * buffer.h: declare oprator== and operator!= for
6986 Buffer::inset_iterator
6988 * bufferlist.C (emergencyWrite): don't use fmt(...)
6990 * text3.C: add using std::endl
6992 * BufferView.C (moveCursorUpdate): remove default arg
6994 2002-08-20 André Pönitz <poenitz@gmx.net>
6996 * buffer.[Ch]: move inline functions to .C
6999 * BufferView_pimpl.C:
7001 * buffer.[Ch]: use improved inset_iterator
7004 * paragraph.[Ch]: write one paragraph at a time
7006 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7008 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7009 style if style is not specified.
7011 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7013 * text2.C (setCounter): when searching for right label for a
7014 caption, make sure to recurse to parent insets (so that a caption
7015 in a minipage in a figure float works) (bug #568)
7017 2002-08-20 André Pönitz <poenitz@gmx.net>
7019 * text3.C: new file for LyXText::dispatch() and helpers
7021 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7023 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7025 2002-08-19 André Pönitz <poenitz@gmx.net>
7028 * text.C: new LyXText::dispatch()
7030 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7032 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7034 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7036 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7039 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7041 * Makefile.am: use $(variables) instead of @substitutions@
7043 2002-08-15 André Pönitz <poenitz@gmx.net>
7046 * BufferView_pimpl.C: streamlining mathed <-> outer world
7050 * LyXAction.C: remove unused LFUN_MATH
7052 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7056 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * paragraph.C (Paragraph): reformat a bit
7059 (cutIntoMinibuffer): use builtin InsetList function instad of
7063 * buffer.C: include boost/bind.hpp, add using std::for_each
7064 (writeFileAscii): use ParagraphList iterators
7065 (validate): use for_each for validate traversal of paragraphs
7066 (getBibkeyList): use ParagraphList iterators
7067 (resizeInsets): use for_each to resizeInsetsLyXText for all
7069 (getParFromID): use ParagraphList iterators
7071 * BufferView2.C (lockInset): use paragraph list and iterators
7073 2002-08-14 John Levon <levon@movementarian.org>
7075 * lyxserver.C: remove spurious xforms include
7077 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7079 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7081 2002-08-13 André Pönitz <poenitz@gmx.net>
7084 * lyxfunc.C: further cleaning
7086 2002-08-13 André Pönitz <poenitz@gmx.net>
7088 * funcrequest.h: new constructor
7090 * funcrequest.C: move stuff here from .h
7093 * BufferView_pimpl.C:
7096 * lyxfunc.C: subsequent changes
7098 * lyxfunc.h: new view() member function
7100 * lyxfunc.C: subsequent changes
7102 2002-08-13 Angus Leeming <leeming@lyx.org>
7105 * BufferView_pimpl.C:
7113 changes due to the changed LyXView interface that now returns references
7114 to member variables not pointers.
7116 2002-08-13 Angus Leeming <leeming@lyx.org>
7118 * WordLangTuple (word, lang_code): return references to strings,
7123 * lyxtext.h: forward-declare WordLangTuple.
7128 * text.C: #include "WordLangTuple.h".
7131 * text.C: (selectNextWordToSpellcheck): constify return type.
7133 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7139 * paragraph_pimpl.h:
7142 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7144 Made updateCounter always count from start of buffer, and removed
7145 second argument (par).
7146 Reverted floats number display to '#'. Perhaps I'll try again when the
7147 code base is sanitized a bit.
7149 2002-08-12 Angus Leeming <leeming@lyx.org>
7151 * buffer.[Ch] (getLabelList): constify.
7153 2002-08-07 André Pönitz <poenitz@gmx.net>
7155 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7157 * funcrequest.h: extension to keep mouse (x,y) position
7159 2002-08-12 Juergen Vigna <jug@sad.it>
7161 * BufferView2.C (insertErrors): forbid undo when inserting error
7164 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7166 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * ParagraphList.[Ch]: new files
7170 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7172 * BufferView2.C (lockInset): ParagraphList changes
7175 * bufferlist.C: ditto
7179 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7181 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7182 unused class variable counter_,
7184 * paragraph.[Ch] (getFirstCounter): delete unused function
7186 * counters.C: include LAssert.h
7187 (reset): add a new function with no arg, change other version to
7188 not have def. arg and to not allow empty arg.
7190 * text2.C (setCounter): remove empty arg from call to Counters::reset
7192 2002-08-11 John Levon <levon@movementarian.org>
7194 * Makefile.am: add WordLangTuple.h
7196 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7199 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7201 * insets/insettext.C: InsetList changes
7203 * graphics/GraphicsSupport.C (operator()): InsetList changes
7205 * toc.C (getTocList): InsetList changes
7207 * paragraph_pimpl.[Ch]: InsetList changes
7209 * paragraph.[Ch]: InsetList changes
7211 * buffer.C (inset_iterator): InsetList changes
7212 (setParagraph): ditto
7213 * buffer.h (inset_iterator): ditto
7214 * iterators.C (operator++): ditto
7215 * iterators.h: ditto
7217 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7219 * InsetList.[Ch]: new files, most InsetList handling moved out of
7222 * BufferView2.C (removeAutoInsets): InsetList changes
7224 (ChangeInsets): ditto
7226 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * paragraph_pimpl.h (empty): new function
7230 * paragraph.[Ch] (empty): new function
7232 * other files: use the new Paragraph::empty function
7234 2002-08-09 John Levon <levon@movementarian.org>
7236 * lyxtext.h: remove unused refresh_height
7238 2002-08-09 John Levon <levon@movementarian.org>
7245 * paragraph.C: move sgml char escaping out of paragraph
7248 * paragraph.C: remove id setter
7252 * paragraph_pimpl.C: remove dead tex_code_break_column
7254 * bufferview_funcs.C: small cleanup
7256 * lyxfunc.C: remove dead proto
7258 * lyxtext.h: make some stuff private. Remove some dead stuff.
7260 * lyxgluelength.C: make as[LyX]String() readable
7262 2002-08-08 John Levon <levon@movementarian.org>
7267 * ToolbarDefaults.C:
7270 * toc.C: lyxaction cleanup
7272 2002-08-08 John Levon <levon@movementarian.org>
7274 * BufferView2.C: small cleanup
7277 * lyxfind.C: move unnecessary header into the .C
7279 2002-08-08 John Levon <levon@movementarian.org>
7281 * funcrequest.h: just tedious nonsense
7284 * lyx_main.C: cleanups
7287 * vspace.C: remove dead header lyx_main.h
7289 2002-08-07 Angus Leeming <leeming@lyx.org>
7292 * paragraph_pimpl.h:
7293 Forward declare class Counters in paragraph.h by moving the ctrs member
7294 variable into Paragraph::Pimpl.
7295 (counters): new method, returning a reference to pimpl_->ctrs.
7297 * text2.C: ensuing changes.
7299 2002-08-07 John Levon <levon@movementarian.org>
7301 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7303 * BufferView_pimpl.C: announce X selection on double/triple
7306 * lyx_main.C: use correct bool in batch dispatch
7308 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7310 2002-08-07 André Pönitz <poenitz@gmx.net>
7312 * funcrequest.h: new class to wrap a kb_action and its argument
7315 * BufferView_pimpl[Ch]:
7319 * lyxrc.C: subsequent changes
7322 2002-08-07 John Levon <levon@movementarian.org>
7324 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7325 document options change.
7327 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7332 * makefile.am: move counters functionality over from
7333 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7335 2002-08-06 John Levon <levon@movementarian.org>
7337 * WordLangTuple.h: new file for word + language code tuple
7348 * BufferView2.C: use WordLangTuple
7351 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7353 2002-08-06 John Levon <levon@movementarian.org>
7355 * lyx_main.C: fix cmdline batch handling
7357 2002-08-06 André Pönitz <poenitz@gmx.net>
7359 * lyxrc.C: set default for show_banner to true
7361 2002-08-06 John Levon <levon@movementarian.org>
7363 * pspell.C: fix a crash, and allow new aspell to work
7365 2002-08-06 John Levon <levon@movementarian.org>
7368 * kbmap.C: small cleanup
7371 * vspace.C: add const
7373 2002-08-05 John Levon <levon@movementarian.org>
7375 * LyXAction.C: back to tabular-insert
7377 2002-08-04 John Levon <levon@movementarian.org>
7380 * BufferView.C: cosmetic change
7382 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7392 * BufferView2.C: purge all "Lyx" not "LyX" strings
7395 * lyxcursor.C: attempt to add some documentation
7400 * ToolbarDefaults.C:
7401 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7402 merge with LFUN_TABULAR_INSERT
7409 * pspell.C: split up i/pspell implementations into separate
7410 files, many cleanups
7412 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7414 * text2.C: some cleanup
7416 * lyxfunc.C: don't check for isp_command == "none" any more, it
7417 didn't make any sense
7419 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7424 * makefile.am: move counters functionality over
7425 from text2.C/paragraph.[Ch] to counters.[Ch], and
7427 2002-08-02 John Levon <levon@movementarian.org>
7429 * buffer.C: s/lyxconvert/lyx2lyx/
7431 2002-08-02 Angus Leeming <leeming@lyx.org>
7433 * lyxlex.C: revert John's change as it breaks reading of the user
7436 2002-08-02 Angus Leeming <leeming@lyx.org>
7438 * importer.C (Import):
7439 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7440 changes due to LyXView::view() now returning a boost::shared_ptr.
7442 2002-08-02 John Levon <levon@movementarian.org>
7444 * lyxlex.C: small cleanup
7446 2002-08-02 John Levon <levon@movementarian.org>
7448 * text2.C (status): small cleanup, no logic change
7450 2002-08-01 John Levon <levon@movementarian.org>
7453 * buffer.C (writeFile): don't output alerts, caller
7457 * lyx_cb.C: from above
7459 * lyxfunc.C: allow to open non-existent files
7461 2002-07-31 John Levon <levon@movementarian.org>
7463 * lyxserver.C: don't let incidental errors get
7466 2002-07-30 John Levon <levon@movementarian.org>
7468 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7470 2002-07-30 John Levon <levon@movementarian.org>
7473 * lyxserver.C: remove I/O callback too
7475 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7477 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7480 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * many files: strip,frontStrip -> trim,ltrim,rtrim
7484 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * PrinterParams.h: remove extern containsOnly, and include
7487 support/lstrings.h instead.
7489 * LaTeX.C (scanAuxFile): modify because of strip changes
7491 * buffer.C (makeLaTeXFile): ditto
7492 * bufferparams.C (writeFile): ditt
7493 * lyxfont.C (stateText): ditto
7494 * lyxserver.C (read_ready): ditto
7495 * vc-backend.C (scanMaster): ditto
7497 * BufferView_pimpl.h: ws changes
7499 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7501 2002-07-26 André Pönitz <poenitz@gmx.net>
7503 * kb_sequence.C: remove unnedred usings
7505 2002-07-26 Juergen Vigna <jug@sad.it>
7507 * lyxfind.C (LyXReplace): we have to check better if the returned
7508 text is not of theLockingInset()->getLockingInset().
7510 2002-07-25 Juergen Vigna <jug@sad.it>
7512 * lyxfind.C (LyXReplace): don't replace if we don't get the
7515 * undo_funcs.C (createUndo): remove debugging code.
7517 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7519 * buffer.C (parseSingleLyXformat2Token): Use default placement
7520 when reading old floats.
7522 * FloatList.C (FloatList): Change the default placement of figure
7523 and tables to "tbp".
7525 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7527 * MenuBackend.C: using std::max
7529 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7531 * MenuBackend.C (expandToc):
7532 (expandToc2): code moved from xforms menu frontend. It is now
7533 generic and TOCs are transparent to menu frontends.
7535 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7537 * toc.C (getTocList): protect against buf=0
7539 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7540 Menu as first parameter. Now, this calls itself recursively to
7541 expand a whole tree (this will be useful for TOC handling)
7542 (expandFloatInsert): remove 'wide' version of floats
7544 * MenuBackend.h (submenuname): returns the name of the submenu.
7545 (submenu): returns the submenu itself, provided it has been
7546 created by MenuBackend::expand
7548 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7550 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7551 insets which have noFontChange == true. (bug #172)
7553 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7555 * BufferView_pimpl.C: add connection objects and use them...
7558 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7560 * MenuBackend.C (expandLastfiles):
7563 (expandFloatListInsert):
7564 (expandFloatInsert):
7565 (expand): split expand in parts
7567 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7569 * lyx_gui.C: use lyx_gui::exit()
7571 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7573 * LyXAction.C: show the failing pseudo action
7575 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7577 * buffer.C (readFile): Run the lyxconvert script in order to read
7580 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7584 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7586 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7590 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7592 2002-07-22 Herbert Voss <voss@lyx.org>
7595 * lyxlength.[Ch]: add support for the vertical lengths
7597 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7599 * toc.[Ch]: std:: fixes
7601 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7603 * lyxrc.C: do not include lyx_main.h
7605 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7611 * BufferView2.C: include "lyxlex.h"
7614 * bufferparams.h: do not #include "lyxlex.h"
7616 * lyxtextclasslist.C (Add): remove method
7617 (classlist): renamed to classlist_
7619 * paragraph_pimpl.C:
7623 * bufferview_funcs.C:
7628 * toc.C (getTocList): use BufferParams::getLyXTextClass
7630 * toc.C (getTocList): use InsetFloat::addToToc
7632 * toc.[Ch]: new files, containing helper functions to handle table
7635 * lyxfunc.C (dispatch): no need to remove spaces around command
7637 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7638 first command of the sequence; it is not very clever, but I do not
7639 have a better idea, actually
7641 * LyXAction.C (LookupFunc): make sure to remove space at the
7642 beginning and end of the command
7644 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7646 * MenuBackend.C (getMenubar): new method: return the menubar of
7648 (read): treat differently reading of menu and menubar (in
7649 particular, the menubar has no name now)
7650 (Menu::menubar): remove
7652 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7655 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7657 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7658 a bibitem inset in a RTL paragraph.
7660 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7662 * paragraph_pimpl.C: constify
7664 * BufferView_pimpl.C:
7666 * lyxfunc.C: fix dispatch in a nicer way
7668 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7670 * lyxfunc.C (dispatch):
7671 * BufferView_pimpl.C:
7672 * BufferView_pimpl.h:
7674 * BufferView.h: rename Dispatch() to dispatch()
7676 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7678 * lyxlayout.C (Read): honor DependsOn tag
7680 * lyxlayout.[Ch] (depends_on): new method
7682 * version.C.in: update lyx_docversion
7684 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7686 * paragraph.C (validate): remove from here...
7687 * paragraph_pimpl.C (validate): ... and move here
7688 (isTextAt): make it const
7690 * buffer.C (getLists): ws cleanup
7692 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7694 * language.C (read): Use iso8859-1 encoding in latex_lang
7695 (this prevents LyX from crashing when using iso10646-1 encoding).
7697 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7699 * text2.C (toggleInset): if cursor is inside an inset, close the
7700 inset and leave cursor _after_ it
7702 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7704 * lyxfunc.C: move minibuffer completion handling out of here
7706 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7708 * BufferView_pimpl.C:
7709 * LaTeX.C: fix dispatch calls
7711 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7713 * text.C (drawChars): Fix Arabic text rendering.
7715 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7719 * lyxfunc.C: remove message-push/pop
7723 * lyxfunc.C: rationalise some code by removing verboseDispatch
7724 in favour of a bool argument to dispatch()
7726 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7728 * lyx_main.C (init): make sure to read symlinks as absolute paths
7730 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7733 * lyxfunc.C: no need for commandshortcut to be a member
7735 2002-07-15 André Pönitz <poenitz@gmx.net>
7737 * converter.C: add support for $$s (scripts from lib/scripts dir)
7738 * lyx_main.C: white space
7740 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7744 * lyxrc.C: remove second exit confirmation
7746 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7751 * BufferView_pimpl.h:
7752 * BufferView_pimpl.C:
7753 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7755 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * MenuBackend.C (expand): add numeric shortcuts to document menu
7759 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7761 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7763 * lyxfont.C (setLyXFamily):
7770 * buffer.C (asciiParagraph): use ascii_lowercase
7772 2002-07-15 Mike Fabian <mfabian@suse.de>
7774 * lyxlex_pimpl.C (search_kw):
7775 * lyxlex.C (getLongString):
7776 * converter.h (operator<):
7777 * converter.C (operator<):
7778 * buffer.C (parseSingleLyXformat2Token):
7780 * ToolbarDefaults.C (read):
7781 * MenuBackend.C (checkShortcuts):
7783 * LColor.C (getFromGUIName):
7784 (getFromLyXName): use the compare_ascii_no_case instead of
7785 compare_no_case, because in turkish, 'i' is not the lowercase
7786 version of 'I', and thus turkish locale breaks parsing of tags.
7788 2002-07-16 Angus Leeming <leeming@lyx.org>
7790 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7791 now takes a Buffer const & argument.
7793 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7795 * BufferView.C (resize): check there's a buffer to resize
7797 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7799 * lyxfunc.C: remove dead code
7802 * lyxserver.C: use lyx_guii::set_read_callback
7804 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7806 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7807 an inset in a RTL paragraph.
7809 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7811 * lyxfunc.C: repaint after a font size update
7813 2002-07-15 André Pönitz <poenitz@gmx.net>
7815 * lyxlength.C: inBP should be able to return negative values
7817 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7819 * lyxfunc.C: use lyx_gui::update_fonts()
7821 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7823 * lyxfunc.C: use lyx_gui::update_color()
7825 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7831 * lyxrc.C: remove file->new asks for name option, and let
7832 buffer-new take an argument
7834 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7836 * BufferView_pimpl.C: remove unneeded extra repaint()
7838 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7840 * LyXAction.C: allow command-sequence with NoBuffer
7842 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7844 2002-07-10 Angus Leeming <leeming@lyx.org>
7846 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7848 2002-07-09 Angus Leeming <leeming@lyx.org>
7850 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7852 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7854 * lengthcommon.h: whitespace
7856 * lyxfunc.C: update scrollbar after goto paragraph
7858 * lyxtext.h: factor out page break drawing, and fix it so
7859 page break/added space paints as selected nicely
7861 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7863 * BufferView_pimpl.C: add FIXMEs, clean up a little
7865 2002-07-09 André Pönitz <poenitz@gmx.net>
7867 * lyxfont.[Ch]: support for wasy symbols
7869 2002-07-08 André Pönitz <poenitz@gmx.net>
7871 * BufferView_pimpl.C: apply John's patch for #93.
7873 2002-07-05 Angus Leeming <leeming@lyx.org>
7875 * BufferView_pimpl.C (buffer): generate previews if desired.
7877 * LColor.h: add "preview" to the color enum.
7879 * LColor.C (LColor): add a corresponding entry to the items array.
7881 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7884 2002-07-05 Angus Leeming <leeming@lyx.org>
7886 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7887 The body of the code is now in the method that is passed an ostream &
7888 rather than a file name.
7889 Pass an additional only_preamble parameter, useful for the forthcoming
7892 2002-07-03 André Pönitz <poenitz@gmx.net>
7894 * lyxfunc.C: simplify getStatus() a bit for math stuff
7896 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7898 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7900 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7902 * text.C (changeRegionCase): do not change case of all the
7903 document when region ends at paragraph end (bug #461)
7905 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7907 * paragraph.C (startTeXParParams):
7908 (endTeXParParams): add \protect when necessary
7910 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7912 * BufferView_pimpl.C (workAreaExpose): remove warning
7914 2002-06-27 Angus Leeming <leeming@lyx.org>
7916 * Makefile.am: add lyxlayout_ptr_fwd.h.
7918 2002-06-26 André Pönitz <poenitz@gmx.net>
7920 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7922 2002-06-25 Angus Leeming <leeming@lyx.org>
7924 * lyxfunc.C (dispatch): Comment out the call to
7925 grfx::GCache::changeDisplay. The method no longer exists now that the
7926 pixmap generation part of the graphics loader has been moved into
7929 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7931 * text2.C: layout as layout
7933 * text.C: layout as layout
7935 * tabular.C (OldFormatRead): layout as layout
7937 * paragraph_pimpl.C (TeXDeeper): layout as layout
7938 (realizeFont): layout as layout
7940 * paragraph.C (writeFile): layout as layout
7941 (validate): layout as layout
7942 (getFont): layout as layout
7943 (getLabelFont): layout as layout
7944 (getLayoutFont): layout as layout
7945 (breakParagraph): layout as layout
7946 (stripLeadingSpaces): layout as layout
7947 (getEndLabel): layout as layout
7948 (getMaxDepthAfter): layout as layout
7949 (applyLayout): layout as layout
7950 (TeXOnePar): layout as layout
7951 (simpleTeXOnePar): layout as layout
7952 (TeXEnvironment): layout as layout
7953 (layout): layout as layout
7954 (layout): layout as layout
7956 * lyxtextclass.C (compare_name): new functor to work with
7957 shared_ptr, layout as layout
7958 (Read): layout as layout
7959 (hasLayout): layout as layout
7960 (operator): layout as layout
7961 (delete_layout): layout as layout
7962 (defaultLayout): layout as layout
7964 * lyxlayout_ptr_fwd.h: new file
7966 * lyxlayout.C (Read): layout as layout
7968 * lyx_cb.C (MenuInsertLabel): layout as layout
7970 * bufferlist.C (newFile): layout as layout
7972 * buffer.C (readLyXformat2): layout as layout
7973 (parseSingleLyXformat2Token): layout as layout
7974 (insertStringAsLines): layout as layout
7975 (asciiParagraph): layout as layout
7976 (latexParagraphs): layout as layout
7977 (makeLinuxDocFile): layout as layout
7978 (simpleLinuxDocOnePar): layout as layout
7979 (makeDocBookFile): layout as layout
7980 (simpleDocBookOnePar): layout as layout
7981 (getLists): layout as layout
7983 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7985 * CutAndPaste.C (cutSelection): layout as layout
7986 (pasteSelection): layout as layout
7987 (SwitchLayoutsBetweenClasses): layout as layout
7989 * BufferView_pimpl.C (Dispatch): layout as layout
7990 (smartQuote): layout as layout
7992 * BufferView2.C (unlockInset): layout as layout
7994 2002-06-24 André Pönitz <poenitz@gmx.net>
7996 * lyxfunc.C: fix #487
7998 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8002 * lyxfunc.C: remove display_shortcuts, show_banner
8004 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8006 * Buffer_pimpl.C: oops, update on resize
8008 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8015 * BufferView.C: use repaint()
8017 * BufferView_pimpl.h:
8018 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8019 as it's a clearer description. Remove superfluous
8022 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8024 * text.C: fix bug 488. Not ideal, but getting
8025 getWord() to work properly for the insets that
8026 matter is more difficult ...
8028 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8030 * BufferView_pimpl.C:
8033 * lyxfunc.C: remove the six million index lyxfuncs to just
8034 one, and DTRT (bug 458)
8036 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8040 * BufferView_pimpl.h:
8041 * BufferView_pimpl.C: clean up resize() stuff,
8042 and unnecessary updateScreen()s
8044 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8048 * BufferView_pimpl.h:
8049 * BufferView_pimpl.C:
8052 * minibuffer.C: remove focus management of workarea,
8053 not needed. Use screen's greyOut()
8055 2002-06-17 Herbert Voss <voss@lyx.org>
8057 * converter.C: (convert) do not post a message, when converting
8058 fails, let the calling function decide what to do in this case
8060 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8062 * lyxfunc.C: tidy up a little
8064 2002-06-16 <alstrup@diku.dk>
8066 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8067 Got rid of FORMS_H_LOCATION include. Now we are
8070 2002-06-15 LyX Development team <lyx@rilke>
8072 * buffer.[Ch] (sgmlOpenTag):
8073 (sgmlCloseTag): Added support for avoiding pernicious mixed
8074 content. Return number of lines written.
8077 (makeDocBookFile): Fixed calls to sgml*Tag.
8078 Simple white space clean.
8080 (simpleDocBookOnePar): Simple white space clean.
8082 * tabular.[Ch] (docBook): Renamed to docbook and got another
8083 argument to related with the pernicious mixed content.
8085 (docbookRow): Fixed calls for docbook inset method.
8087 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8089 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8090 so it's X11 independent.
8094 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8096 2002-06-15 Lyx Development team <lyx@electronia>
8098 * intl.h: Renamed getTrans to getTransManager.
8100 2002-06-14 Angus Leeming <leeming@lyx.org>
8102 * Makefile.am: nuke forgotten stl_string_fwd.h.
8104 2002-06-12 Angus Leeming <leeming@lyx.org>
8106 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8108 2002-06-13 Angus Leeming <leeming@lyx.org>
8111 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8113 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8115 * kbmap.C (getiso): add support for cyrillic and greek
8117 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8121 * BufferView_pimpl.h:
8122 * BufferView_pimpl.C: move bogus scrolling logic
8125 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8128 * BufferView_pimpl.C: view->resize() change
8130 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8132 * BufferView_pimpl.C: topCursorVisible
8135 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8139 * lyx_gui.C: move to frontends/
8143 * lyx_main.C: changes from above
8145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8152 * lyx_main.C: minor tidy
8154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8156 * BufferView_pimpl.h:
8157 * BufferView_pimpl.C:
8159 * BufferView.C: make painter() const,
8162 * BufferView2.C: use screen() accessor
8165 * lyx_main.C: some minor cleanup
8167 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8169 * BufferView_pimpl.h:
8170 * BufferView_pimpl.C: remove enter/leaveView,
8173 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8178 * BufferView_pimpl.h:
8179 * BufferView_pimpl.C: only construct screen once,
8182 * lyxrc.C: remove pointless comment
8184 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8187 * BufferView.C: remove active() and belowMouse()
8189 * BufferView_pimpl.h:
8190 * BufferView_pimpl.C: use workarea() not workarea_,
8191 and make it use a scoped_ptr instead
8193 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8195 * lyx_gui.C: add debug message on BadWindow
8197 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8199 * sp_spell.C: fdopen is not part of the C++ standard.
8201 * paragraph.C (InsetIterator): use >= instead of ==
8203 2002-06-07 Angus Leeming <leeming@lyx.org>
8205 Fixes needed to compile with Compaq cxx 6.5.
8206 * BufferView_pimpl.C:
8213 * lyxtextclasslist.C:
8218 all c-library variables have been moved into namespace std. Wrap
8219 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8224 Add a using std::abs declaration.
8226 * kbmap.h (modifier_pair):
8227 * paragraph.h (InsetTable, InsetList):
8228 * lyxfont.h (FontBits):
8229 type definition made public.
8231 * bufferlist.C (emergencyWriteAll): the compiler complains that
8232 there is more than one possible lyx::class_fun template to choose from.
8233 I re-named the void specialisation as lyx::void_class_fun.
8235 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8237 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8238 the compiler is is unable to find tostr in write_attribute.
8240 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8242 * buffer.C (sgmlError): hide #warning
8244 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8246 * xtl/*: get rid of xtl, which is not in use anyway
8248 * LyXAction.C (init):
8249 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8250 were unimplemented xtl experimentation
8252 2002-06-04 André Pönitz <poenitz@gmx.net>
8254 * lyxfunc.C: disable array operation on simple formulae
8256 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8258 * converter.C: constify a bit
8260 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8262 * lyx_gui.C: check xforms version correctly
8264 2002-04-30 Herbert Voss <voss@lyx.org>
8266 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8269 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8271 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8272 attempt to register it with a VCS)
8274 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8276 * lyx_main.C (init): honor variables LYX_DIR_13x and
8279 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8283 * lyx_main.C: fix a crash on bad command line,
8284 and give a useful exit status on error
8286 * lyxfunc.C (doImport): allow -i lyx to work
8288 2002-03-30 André Pönitz <poenitz@gmx.net>
8290 * lyxfunc.C: mathed font changes
8292 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8307 * trans_mgr.h: srcdocs, and some minor cleanups
8309 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8311 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8312 call getFont all the time)
8314 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8316 * switch from SigC signals to boost::signals
8318 2002-05-29 André Pönitz <poenitz@gmx.net>
8320 * paragraph_pimpl.C (getChar): don't call size() too often...
8322 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8324 * paragraph_pimpl.C (insertChar): do not try to update tables when
8325 appending (pos == size())
8327 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8328 in order to reduce drastically the number of comparisons needed to
8329 parse a large document
8331 2002-05-29 André Pönitz <poenitz@gmx.net>
8337 * textclasslist.[Ch]:
8338 * sp_ispell.h: whitespace change
8340 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8342 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8343 lyxaction directly now.
8345 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8349 * lyxvc.C: remove unused headers
8351 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8358 * undo_funcs.C: some cleanups. Use shared_ptr
8359 and a template for the undo stacks.
8361 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8363 * BufferView_pimpl.h:
8364 * BufferView_pimpl.C:
8371 * text2.C: use key_state/mouse_state
8373 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8375 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8378 * chset.C: change include order
8379 (loadFile): use boost regex and get rid of LRegex and LSubstring
8381 * Makefile.am (BOOST_LIBS): new variable
8384 * LaTeX.C: change include order.
8385 (scanAuxFile): use boost regex and get rid of LRegex and
8389 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8394 * FontInfo.C: moved to frontends/xforms/
8397 * FontLoader.C: moved into frontends for GUIIzation
8402 * lyxfunc.C: changes from above
8404 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8406 * LColor.C: remove spurious X include
8408 * BufferView_pimpl.C:
8413 * text2.C: move font metrics to frontends/
8415 2002-05-24 Juergen Vigna <jug@sad.it>
8417 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8418 setting the undo_cursor.
8420 * ParagraphParameters.h: include local includes first.
8422 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8424 * BufferView_pimpl.C:
8425 * BufferView_pimpl.h:
8429 * screen.C: move WorkArea into frontends/
8435 * BufferView2.C: move LyXScreen into frontends/
8439 * lyx_gui.C: move lyxlookup into frontends/xforms/
8441 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8444 * BufferView_pimpl.C:
8454 * bufferview_funcs.C:
8467 * vc-backend.C: move LyX/XFormsView into frontends/
8469 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8481 * text2.C: move Painter to frontends/
8483 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8485 * buffer.C: comment out some some code that depend upon lyx_format
8488 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8489 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8491 * buffer.h (NO_COMPABILITY): turn off compability
8493 * ColorHandler.C: include scoped_array.hpp
8495 * font.C: Use more specific smart_ptr header.
8498 * ShareContainer.h: ditto
8502 * BufferView_pimpl.h: ditto
8503 * ColorHandler.h: ditto
8505 * kbmap.C (defkey): change call to shared_ptr::reset
8507 2002-05-21 Juergen Vigna <jug@sad.it>
8509 * buffer.C (insertErtContents): fix to insert ert asis if it is
8510 non empty. Skip it completely if it contains only whitespaces.
8512 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8514 * BufferView_pimpl.C:
8515 * BufferView2.C: clear selection on paste (bug 393)
8517 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * DepTable.C: include ctime
8521 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8523 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8525 2002-05-14 Juergen Vigna <jug@sad.it>
8527 * text.C (breakParagraph): fixed function to honor the keepempty
8528 layout in the right maner and also to permit the right breaking
8529 algorithm on empty or non empyt keepempty paragraphs.
8531 * paragraph.C (breakParagraph): we have to check also if the par
8532 is really empty (!size()) for isempty otherwise we do the wrong
8535 2002-05-10 Juergen Vigna <jug@sad.it>
8537 * buffer.[Ch] : The following are only changes to the ert
8538 compatibility read reading old LaTeX layout and font stuff and
8539 convert it to ERTInsets.
8541 * buffer.h: added isErtInset().
8543 * buffer.C (struct ErtComp): add a fromlayout bool to check
8544 if we're inside a LaTeX layout.
8545 (isErtInset): new helper function.
8546 (insertErtContents): look for other ert insets before this one
8547 and insert the contents there, so that we don't have subsequent
8548 ERT insets with nothing between them. This way we create only one
8549 inset with multiple paragraphs. Also check if we don't insert only
8550 spaces ' ' as they are ignored anyway afterwards in the .tex file
8551 so if we have only spaces we will ignore this latex part in the
8553 (parseSingleLyXformat2Token \\layout): better compatibility when
8554 reading layout-latex stuff.
8555 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8557 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8558 stuff after reading the inset only get the information back from
8561 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8563 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8565 * LaTeXFeatures.C (getBabelOptions): New method.
8567 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8569 * BufferView_pimpl.C (Dispatch): work around missing argument for
8572 2002-05-08 Juergen Vigna <jug@sad.it>
8574 * text.C (leftMargin): handle paragraph leftindent.
8576 * paragraph.C (writeFile): write the new \\leftindent tag.
8577 (validate): handle leftindent code.
8578 (TeXEnvironment): handle paragraphleftindent code again.
8580 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8582 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8583 for paragrap_extra indent code and new token \\leftindent.
8584 (latexParagraphs): handle the leftindent as environment.
8586 * ParameterStruct.h: added leftindent support.
8588 * ParagraphParameters.C (leftIndent): added support functions for
8589 the paragraph left indent.
8591 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8594 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8596 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8599 * text.C (computeBidiTables): No bidi in insetERT.
8601 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8604 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8606 * version.C.in: pre 5
8608 2002-05-02 José Matos <jamatos@fep.up.pt>
8609 * buffer.C (makeDocBookFile): white space changes, add newline to
8611 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8613 * tabular.C (docBook): fix typo.
8615 2002-05-03 Juergen Vigna <jug@sad.it>
8617 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8618 change in LyXText as we can not be sure it was not freed.
8619 (drawOneRow): remove unused code.
8621 * text.C (drawInset): redo the calculation of the need_break_row as
8622 it could have a row which was already freed.
8623 (draw): look at the return value of drawInset and return false if
8624 it also returned false.
8625 (paintRowText): look at the return value of draw and return false if
8626 it also returned false.
8628 * lyxtext.h: added bool return type to drawInset() and draw() so that
8629 if we have a change in the row so that the rowbreak has to be redone
8630 we abort drawing as it will be called again.
8632 2002-05-02 Juergen Vigna <jug@sad.it>
8634 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8635 a change in the maintext also if we're inside an inset.
8636 (Dispatch): set the cursor again after a break line and after the
8637 screen has been updated as it could be we're in a different row.
8639 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8640 to set the cursor behind the pargraph with > size().
8641 (setCursor): check also for the same paragraph when checking where
8642 to put the cursor if we have a NFR inset.
8644 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8645 parts of layout read further up as it still was in the wrong
8648 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8650 * screen.C (drawFromTo): change sine fullRebreak always return
8653 * buffer.C (parseSingleLyXformat2Token): reindent some
8655 * BufferView_pimpl.C (update): change since fullRebreak always
8657 (Dispatch): git rid of the last hardcoded "Standard"s.
8659 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8661 * text2.[Ch] (fullRebreak): make it return void now that we always
8664 2002-04-30 Juergen Vigna <jug@sad.it>
8666 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8667 ert compatibility check for "latex" layout.
8669 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8671 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8672 minipages: use col% instead of p%, and also use the current font.
8673 (makeLaTeXFile): Fix use babel condition.
8674 (parseSingleLyXformat2Token): Correct font when reading old floats.
8676 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8678 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8679 inserting list of floats.
8681 2002-04-25 Herbert Voss <voss@lyx.org>
8683 * MenuBackend.C (expand): don't add the graphics extensions to the
8686 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8688 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8689 non-existing layout, do not complain if it was the default layout
8690 of the original class (bug #342)
8692 2002-04-24 Juergen Vigna <jug@sad.it>
8694 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8695 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8697 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8699 * buffer.C (getBibkeyList): If using \bibliography, return the
8700 option field with the reference itself. Enables us to provide natbib
8701 support when using \bibliography.
8703 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8705 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8707 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8708 natbib is provided by the LaTeX class.
8710 2002-04-23 Juergen Vigna <jug@sad.it>
8712 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8715 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8717 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8719 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8721 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8722 ensuremath around textordmasculine, textordfeminine and
8725 2002-04-19 Juergen Vigna <jug@sad.it>
8727 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8728 reinitializing the buffer otherwise row-dimensions may be wrong.
8729 (update): reset also the selection cursors if they do exits otherwise
8730 their x/y positions may be wrong.
8732 * text2.C (cursorDown): don't enter the inset if we came from a row
8733 above and are one row over the inset.
8735 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8736 really leaving an inset.
8738 2002-04-18 Juergen Vigna <jug@sad.it>
8740 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8741 of the selected paragraph does not have the selected layout also if
8744 * text2.C (setLayout): fixed bug which did not change last selected
8747 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8748 changed the read and substituted \\end_float with \\end_inset!
8750 * BufferView_pimpl.C (cursorPrevious):
8751 (cursorNext): fixed to make it work with rows heigher than the work
8752 area without moving the cursor only the draw of the row.
8753 (workAreaMotionNotify): fix jumping over high rows.
8755 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8757 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8760 2002-04-16 Juergen Vigna <jug@sad.it>
8762 * text2.C (setCursor): set also the irow().
8763 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8765 (cursorDown): support for locking an inset if the x_fix value goes
8766 inside it. That way I can transverse insets too with cursor up/down.
8768 * lyxrow.h: added irow helper function same as other (i) functions.
8770 * BufferView_pimpl.C (cursorPrevious):
8771 (cursorNext): fixed for insets!
8773 2002-04-15 Juergen Vigna <jug@sad.it>
8775 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8776 position otherwise it is wrong in some cases.
8778 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8779 inside the inset before the call.
8781 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8783 * buffer.[Ch] (getBibkeyList): make it const.
8785 2002-04-12 Juergen Vigna <jug@sad.it>
8787 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8789 * text2.C (getCursorX): new helper function
8790 (setCursor): compute also ix_
8791 (setCursorFromCoordinates): set also ix.
8793 * lyxcursor.h: added ix_ and helper functions.
8795 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8797 * buffer.C (insertStringAsLines): dont break paragraph if the this
8798 paragraph is inside an inset which does not permit it!
8800 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8801 also with no chars on this paragraph.
8802 (paintRowText): only paint stuff if it's inside the workarea!
8804 * paragraph.C (breakParagraph): honor keepempty flag and break the
8805 paragraph always below not above.
8807 * BufferView2.C (unlockInset): update the paragraph layout on inset
8808 unlock as we changed paragraph in such a case.
8810 * lyxfind.C (LyXFind): clear the former selection if not found!
8812 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8813 again called in insertChar().
8815 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8816 an inset which uses the whole row!
8817 (rightMargin): ditto.
8818 (insertChar): force a rebreak if we inserted an inset!
8820 2002-03-28 Herbert Voss <voss@lyx.org>
8822 * lyxlength.[Ch]: add inBP() to get the right PS-point
8823 units (BigPoint). With inPixels we have rounding errors
8825 2002-04-11 Juergen Vigna <jug@sad.it>
8827 * text2.C (setCursorFromCoordinates): set iy to the right value.
8828 (setCursor): add check if row->previous exists!
8830 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8831 an old float_type as this was the case in the old code!
8833 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8835 * BufferView2.C (showLockedInsetCursor): use iy
8836 (fitLockedInsetCursor): ditto
8838 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8839 locked insets as there we have the right value now.
8841 * lyxcursor.C: added iy_ variable and iy functions to set to the
8842 baseline of cursor-y of the locked inset.
8844 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8845 (setCursor): fixed for insets which need a full row.
8847 * text.C (rowLastPrintable): don't ignore the last space when before
8848 an inset which needs a full row.
8849 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8850 as last character of a row when before a inset which needs a full row.
8852 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * version.C.in: update date
8856 * text2.C (fullRebreak): try to always return true and see what
8859 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * MenuBackend.C (expand): use Floating::listName
8863 * FloatList.C (FloatList): add listName argument to the built-in
8866 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8867 text associated with the float.
8869 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8873 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8875 * ShareContainer.h: add a couple of missing typenames.
8877 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8879 * lyxrc.C (getDescription): use _() correctly rather than N_().
8881 2002-03-28 Herbert Voss <voss@lyx.org>
8883 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8884 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8886 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8888 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8889 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8891 2002-03-29 Juergen Vigna <jug@sad.it>
8893 * lyxfunc.C (dispatch): add a missing fitCursor call.
8895 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8896 it was scrolled by a cursor move, so return the bool status.
8898 * BufferView.C (fitCursor): return the bool flag also to the outside
8899 world as this is needed.
8901 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8903 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8904 call the edit() as it is not needed (and wrong) IMO.
8905 (workAreaButtonPress): set the screen_first variable before evt.
8906 unlock the inset as this may change screen_first and then we have
8907 a wrong y position for the click!
8909 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8911 * MenuBackend.C (expand): another translation that I missed
8913 2002-03-28 Juergen Vigna <jug@sad.it>
8915 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8917 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8919 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8921 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8923 * MenuBackend.C (expand): fix export/view/update when there is no
8926 2002-03-27 Herbert Voss <voss@lyx.org>
8928 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8931 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8933 * bufferview_funcs.C (currentState): only show paragraph number
8934 for is DEVEL_VERSION is set.
8936 * lyxfunc.C (dispatch): put warning in INFO channel
8938 * MenuBackend.C (expand): translate the name of floats
8940 * FloatList.C (FloatList): mark the float names for translation
8942 * converter.C (convert): use LibScriptSearch
8944 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8946 * MenuBackend.C (defaults): fix default menu (we might as well get
8949 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8951 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8954 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8956 * lyxvc.C: reorder includes.
8958 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8960 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8963 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8965 * CutAndPaste.C: change layouts earlier on paste
8966 to avoid crashing when calling getFont()
8968 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8970 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8973 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8975 * WorkArea.C: remove 'Pending' debug message.
8977 * most files: ws cleanup
8979 * buffer.[Ch]: ws changes
8981 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8983 2002-03-21 Juergen Vigna <jug@sad.it>
8985 * tabular.C (SetMultiColumn): collapse also the contents of the
8986 cells and set the last border right. Added a Buffer const * param.
8988 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8990 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8993 2002-03-19 Juergen Vigna <jug@sad.it>
8995 * text2.C (clearSelection): reset also xsel_cache.
8997 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8998 where it needs to be called (John tells us to do so too :)
8999 (selectionLost): reset sel_cache.
9001 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9003 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9005 * text2.C (setCursorIntern): put debuging code in INSETS channel
9007 2002-03-19 André Pönitz <poenitz@gmx.net>
9009 * lyxfunc.C: tiny whitespace change
9011 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9013 * ToolbarDefaults.C (init):
9014 * LyXAction.C (init):
9016 * BufferView_pimpl.C (Dispatch):
9017 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9019 2002-03-19 Allan Rae <rae@lyx.org>
9021 * exporter.C (Export): removeAutoInsets before doing anything else.
9022 While I've just introduced a dependency on BufferView this really is
9023 the best place to clean the buffer otherwise you need to cleanup in
9024 a dozen places before calling export or cleanup in a dozen functions
9027 * converter.C (runLaTeX):
9028 (scanLog): Better handling of removeAutoInsets and screen updates.
9030 * lyxfunc.C (dispatch): small whitespace changes
9032 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9034 * WorkArea.C (C_WorkAreaEvent): return a value.
9035 (event_cb): return 1 if we handled the event, 0 otherwise.
9037 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9039 2002-03-18 Juergen Vigna <jug@sad.it>
9041 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9042 (GetAdditionalWidth): ditto.
9046 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9047 inset if we're there actually (probably not used right now but this
9048 is the direction to go for unifying code).
9049 (paste): disable code to clear the selection.
9051 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9052 inside an InsetText and move the check further up as it is in the
9055 * text2.C (pasteSelection): set a selection over the pasted text.
9057 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9059 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9060 and libgraphics to build on Cygwin.
9062 2002-03-15 Juergen Vigna <jug@sad.it>
9064 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9065 inserting an Inset into the paragraph. I know this is not the best
9066 fix but we already use current_view in CutAndPaste so we will remove
9067 all of it's using at the same time.
9069 * buffer.C (sgmlError): deactivated function till it is rewritten in
9070 the right mode, now it can create problems.
9072 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9073 before accessing it.
9075 2002-03-14 Juergen Vigna <jug@sad.it>
9077 * undo_funcs.C (textHandleUndo): do the right thing when updating
9078 the inset after the undo/redo.
9080 * text2.C (setCursor): just some testcode for #44 not ready yet.
9082 * undo_funcs.C (textHandleUndo): set the next() and previous()
9083 pointers of the paragraph to 0 before deleting otherwise we have
9084 problems with the Paragraph::[destructor].
9086 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9087 on a paragraph insertion.
9089 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9091 * buffer.C (asciiParagraph): use += operator for char append to
9094 * paragraph.C (getFontSettings): compare >= not just >
9095 (highestFontInRange): ditto
9098 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9100 * paragraph.C: change several algorithm to be more appripriate for
9101 the problem domain. This is lookip in FontList and in the InsetList.
9103 2002-03-13 André Pönitz <poenitz@gmx.net>
9106 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9108 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9113 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9115 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9117 * Painter.C (display): anon helper function, adjust code for this
9119 (pixmap): remove function.
9121 * Painter.h: remove private display variable.
9123 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9125 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9127 * WorkArea.[Ch]: remove figinset_canvas cruft.
9129 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * lyxtextclass.C (operator): add one item cache optimization.
9133 * bufferlist.h: doxy changes
9135 * bufferlist.C: ws changes
9137 * DepTable.[Ch] (ext_exist): place const in the right spot.
9139 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9141 (workAreaExpose): call resizeInsets when the with BufferView changes.
9142 (Dispatch): adjust for protectedBlank removal
9143 (specialChar): call updateInset if the insert went ok.
9145 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9146 specialChar instead.
9148 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9150 * BufferView.h: doxy change
9152 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9154 * lyxtextclass.C (operator[]): remove non-const version
9155 (defaultLayout): remove non-const version
9157 2002-03-12 Juergen Vigna <jug@sad.it>
9159 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9160 did resize the LyXText too.
9162 * buffer.C (readLyXformat2): set layout information on newly allocated
9165 * tabular.C (OldFormatRead): set layout information on the paragraph.
9167 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9169 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9171 2002-03-11 Juergen Vigna <jug@sad.it>
9173 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9175 (resizeCurrentBuffer): force also the insets to resize themselfes.
9176 (moveCursorUpdate): fixed up for InsetText.
9178 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9181 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9182 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9183 value of Dialogs::tooltipsEnabled().
9184 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9186 2002-03-08 Juergen Vigna <jug@sad.it>
9188 * BufferView_pimpl.C (updateInset): update inset inside inset also
9189 if it isn't inside theLockingInset().
9191 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9193 * buffer.C (asciiParagraph): redo some of the word and line length
9195 (getLists): look for Caption instead of caption.
9197 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9199 * buffer.C (Buffer): initialize niceFile to true
9202 (makeDocBookFile): make sure niceFile is true on exit
9204 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9206 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9208 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9210 * LyXSendto.C: remove.
9211 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9212 * lyx_gui.C: remove now-redundant comment.
9213 * ColorHandler.h: remove forward declaration of class WorkArea.
9214 * lyxfunc.C: remove #include "WorkArea.h".
9216 2002-03-07 Juergen Vigna <jug@sad.it>
9218 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9219 got moved away with the DEPM and also set the inset_owner always
9220 right which before could have been omitted.
9222 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9224 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9225 wanted layout is not found.
9227 2002-03-07 Juergen Vigna <jug@sad.it>
9229 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9231 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9233 * paragraph.C (breakParagraph): use default layout not layout of
9235 (Paragraph): clear ParagraphParameters.
9237 2002-03-06 Juergen Vigna <jug@sad.it>
9239 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9240 otherwise it would not be a valid lenght. Fixed a special case in
9241 the minipage compatibility read where we end the document with a
9244 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9245 was set as it could be 0 for InsetTexts first entry.
9247 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * paragraph.C (writeFile): if layout is empty write out
9250 defaultLayoutName().
9252 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9253 file without named layout we set layout to defaultLayoutName().
9255 2002-03-06 Juergen Vigna <jug@sad.it>
9257 * CutAndPaste.C (copySelection): set layout for new paragraph.
9259 * text.C (prepareToPrint): leave ERT inset left aligned
9260 (leftMargin): don't indent paragraphs inside ERT insets
9262 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * paragraph.C (breakParagraph): dont call clear do the work manually
9266 * paragraph.[Ch] (clear): remove function
9268 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9270 * paragraph.C (Paragraph): dont call clear, the work has already
9273 * lyxtextclass.C (operator): assert if n is empty
9275 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9276 work manually instead.
9278 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9280 * BufferView_pimpl.C: protect selectionLost against text == 0
9282 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * text.C (breakParagraph): fix a setting layout to '0' problem.
9286 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9288 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9289 final location of file, for the included files, and graphics.
9291 2002-03-05 Juergen Vigna <jug@sad.it>
9293 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9295 2002-03-04 Juergen Vigna <jug@sad.it>
9297 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9299 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9300 last column of multicolumn cells.
9301 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9303 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9305 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9306 file if it doesn't go to a temporary file.
9308 * buffer.C (sgmlOpenTag):
9309 (sgmlCloseTag): remove extra newline insertion.
9311 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9313 * text.C (getRowNearY): comment out debug msg
9315 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * text2.C: first -> first_y
9319 * text.C (getRowNearY): add some attemts at a possible
9320 optimization, not working.
9322 * tabular.[Ch]: add BufferParams to several function so that newly
9323 created paragraph can be initialized to he default layotu for the
9326 * tabular-old.C (ReadOld): add buf->params to call of Init
9328 * screen.C: rename text->first to text->first_y
9330 * paragraph.C (breakParagraph): always set layout in the broken
9333 * lyxtextclass.C (Read): remove lowercase
9336 (delete_layout): ditto
9338 * lyxtext.h: rename first -> first_y
9340 * lyxlayout.C (Read): remove lowercase
9343 (obsoleted_by): ditto
9345 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9347 * buffer.C (insertErtContents): add params are to InsetERT
9348 (parseSingleLyXformat2Token): add code to check if a paragraphs
9349 layout really exist.
9350 (parseSingleLyXformat2Token): add params to several inset
9352 (asciiParagraph): remove lowercase, do the layout comparisons with
9355 * BufferView_pimpl.C (cursorNext): first -> first_y
9356 (resizeCurrentBuffer): first -> first_y
9357 (updateScrollbar): first -> first_y
9358 (scrollCB): first -> first_y
9359 (workAreaMotionNotify): first -> first_y
9360 (workAreaButtonPress): first -> first_y
9361 (checkInsetHit): first -> first_y
9362 (cursorPrevious): first -> first_y
9363 (cursorNext): first -> first_y
9364 (Dispatch): add buffer_->params to severl inset contructors
9366 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9368 * lyxlayout.C (Read): remove some debug info that I forgot.
9370 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9371 clean up the code slightly.
9372 (makeLinuxDocFile): ditto
9373 (makeDocBookFile): ditto
9375 * text2.C: layout as string
9377 * text.C: layout as string
9379 * paragraph_pimpl.C: layout as string
9381 * paragraph.[Ch]: layout as string
9383 * lyxtextclasslist.[Ch]: layout as string
9385 * lyxtextclass.[Ch]: layout as string
9387 * lyxtext.h: layout as string
9389 * lyxlayout.[Ch]: layout as string
9391 * lyx_cb.C: layout as string
9393 * bufferview_funcs.C: layout as string
9395 * bufferparams.C: layout as string
9397 * buffer.C: layout as string
9399 * LyXView.[Ch]: layout as string
9401 * LaTeXFeatures.[Ch]: layout as string
9403 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9405 * BufferView_pimpl.C: change current_layout to string, remove
9410 (workAreaButtonRelease): layout as string
9412 * BufferView2.C (unlockInset): adjust
9414 * vspace.C (asLatexCommand): use an explict temp variable.
9416 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9418 * Makefile.am: use FRONTEND_*
9420 2002-03-01 Juergen Vigna <jug@sad.it>
9422 * tabular.C (SetWidthOfMulticolCell): changed to something better
9423 I hope but still work in progress.
9424 (recalculateMulticolumnsOfColumn): renamed function from
9425 recalculateMulticolCells as it is more appropriate now.
9426 (SetWidthOfCell): calculate multicols better.
9428 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9430 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9432 * lyxfunc.C (processKeySym): print sequence also if it is
9433 `deleted' (complete)
9435 * kbsequence.C (print): print sequence even if it is deleted
9436 (complete would be a better word, actually).
9438 * lyxfunc.C (dispatch): print complete options after a prefix key
9440 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9442 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9444 * text2.C (setCharFont): eliminate setCharFont code duplication.
9446 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9448 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9449 LFUN_TABULAR_FEATURE (bug #177)
9451 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9453 * Makefile.am: remove figure.h
9455 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9457 * Bufferview_pimpl.C:
9469 * text2.C: remove #include "lyx_gui_misc.h".
9471 * LaTeX.C: added #include <cstdio>
9473 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9475 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9476 that the paragraph following this one can have.
9478 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9480 * vspace.C (asLatexCommand): fix bogus gcc warning
9482 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9484 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9486 * text2.C (setLayout): get rid of redundant code
9488 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9490 * text2.C (incDepth): make sure depth cannot be increased beyond
9493 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9495 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9496 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9498 * PainterBase.h (image):
9499 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9502 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9506 * BufferView_pimpl.C:
9507 * BufferView_pimpl.h:
9527 * sp_spell.C: remove fig inset, and the crap house of
9528 cards that follows it
9530 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9536 * nt_defines.h: move .h into support/
9538 * vms_defines.h: remove
9540 * WorkArea.C: add space in debug output
9544 * buffer.C: add WITH_WARNINGS
9548 * bufferlist.C: s/retrive/retrieve/, add docs
9559 * lyxgui.C: add ID to X error handler
9561 * lyxtestclass.c: fix typo
9563 2002-02-26 Juergen Vigna <jug@sad.it>
9565 * tabular_funcs.C (write_attribute): changed so that some default
9566 attributes are not written at all.
9567 (getTokenValue): set default values before trying to read the
9568 value so we have the return value always set as default if we don't
9569 find the token we search for.
9571 * tabular.C (Write): write bools as bools not as strings!
9573 2002-02-22 Juergen Vigna <jug@sad.it>
9575 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9576 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9578 * text.C (leftMargin): don't add an indent for paragraphs inside
9579 tabular cells (fix #208).
9581 2002-02-21 José Matos <jamatos@fep.up.pt>
9583 * tabular.C (docBook): fixed support for long tables.
9585 2002-02-20 Juergen Vigna <jug@sad.it>
9587 * text2.C (getFont): get the drawing font of the Inset if this
9588 paragraph is inside an inset (only important for InsetERT for now).
9590 * buffer.C (insertErtContents): use new lanugage params in ERT
9593 * CutAndPaste.C: commenting out seemingly uneeded code.
9595 2002-02-19 Allan Rae <rae@lyx.org>
9597 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9598 Iterators might be simple to use but they also get invalidated.
9599 (removeAutoInsets): renamed saved cursor tracking variables and added
9600 some comments to clarify what everything does.
9602 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9609 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9610 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9613 * vc-backend.h: remove #include "support/syscall.h"
9617 * converter.C: rearrange #includes in Lars' approved fashion.
9619 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9620 forward declare class Timeout in the header file.
9622 * XFormsView.C: changes due to the above.
9624 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9627 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9628 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9630 2002-02-18 José Matos <jamatos@fep.up.pt>
9632 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9635 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9637 * a lot of small ws changes
9638 * add a lot of using std::XXX
9639 * use std construcs some places where approp.
9640 * use some exisint stuff from lyxfunctional where approp.
9641 * Make file changes to use partial linking (lets test this now...)
9643 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9647 remove #include "support/syscontr.h" as it's redundant. Always has been.
9655 change Systemcalls::System to Systemcalls::Wait and
9656 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9657 No change of functionality, just reflects the stripped down Systemcalls
9660 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9662 * debug.[Ch]: add a GRAPHICS type to the enum.
9664 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9666 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9668 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9671 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9674 match the changes below.
9676 * text2.C (toggleInset): if there is not editable inset at cursor
9677 position, try to see if cursor is _inside_ a collapsable inset
9680 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9682 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9683 document menu has a nice checkbox
9685 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9687 * lyxlength.C (asLatexString): change PW to output as percent of
9690 * lengthcommon.C: change '%' to 't%'
9692 * lyxfunc.C (dispatch): a few comments from Martin
9694 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9698 * BufferView_pimpl.h:
9699 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9702 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9704 * vspace.C (inPixels): fix compiler warning
9706 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * lyxfunc.C (getStatus): fix status message for disabled commands.
9710 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9712 * BufferView_pimpl.C: fix crash on close buffer
9713 during selection (#227)
9715 2002-01-27 Herbert Voss <voss@lyx.org>
9717 * buffer.C: link old Figure to new graphic inset
9719 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9721 * FontLoader.C (getFontinfo): Change the latex font names in order
9722 to match the names of type1inst.
9724 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9728 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9731 (remove_files_with_extension): ditto
9732 (remove_file): ditto
9735 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9736 document is smaller than the work area height. Do not initialize
9737 static variables to 0.
9739 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9741 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9743 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9744 LFUN_LAYOUT_PARAGRAPHS.
9746 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9747 tabular. It is possible to provide a possible cell, which will
9748 typically be the actcell from the corresponding insettabular
9750 * lyxfunc.C (getStatus): small cleanup; disable
9751 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9754 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9758 * paragraph.C (startTeXParParams):
9759 (endTeXParParams): new methods. The LaTeX code to
9760 start/end paragraph formatting
9761 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9762 empty (fixes bug #200)
9764 * vspace.C (inPixels): adapt to the change below
9765 (inPixels): [later] more cleanups (remove unused variables)
9767 * lyxlength.C (inPixels): change to use a width and a height as
9770 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9772 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9773 Replaced with \paperwidth
9775 * DepTable.C (insert): add std:: qualifier
9777 2002-01-18 Allan Rae <rae@lyx.org>
9779 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9782 * text.C (drawInset): Turned out I didn't know enough about how
9783 rebreaking worked. This fixes most of the redraw problems. I see
9784 an occasional cursor trail when a line is broken now and the cursor
9785 placement can seem out by a few pixels also after a rebreak.
9787 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9789 * buffer.C (parseSingleLyXformat2Token): update because minipage
9790 width is now a LyXLength
9792 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9794 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9797 2002-01-17 Juergen Vigna <jug@sad.it>
9799 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9801 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9802 is set correctly and the inset is updated correctly.
9804 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9806 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9807 the beginning of the loop.
9809 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9811 * lyxrc.C: improve help for use_scalable_fonts
9813 2002-01-17 Allan Rae <rae@lyx.org>
9815 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9817 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9819 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9820 make sure to set their inset_owner to the right value (bug #171)
9822 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9825 * DepTable.C: Implement mtime checking to reduce time spent doing
9828 2002-01-16 Juergen Vigna <jug@sad.it>
9830 * tabular.C (GetAdditionalHeight): one of error fixed.
9832 * lyxrc.C (output): small fix in writing use_pspell.
9834 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9836 * sp_base.h: #include LString.h
9838 2002-01-16 Allan Rae <rae@lyx.org>
9840 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9841 Can someone check this please?
9843 * text.C (drawInset): It was possible that p.row would be removed by
9844 breakAgainOneRow upsetting a few other settings. There may be another
9845 small tweak possible by setting need_break_row = 0 when p.row has been
9846 removed but I don't know enough about the logic here.
9848 2002-01-15 Allan Rae <rae@lyx.org>
9850 * text.C (insertChar): removed conditional truism.
9852 * BufferView2.C (removeAutoInsets): More tweaks.
9853 cur_par_prev could be a stray pointer. Check for trailing empty line
9854 in case last line was cur_par and only had an error inset on it.
9856 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9861 * vc-backend.C (most methods):
9862 * exporter.C (Export):
9863 * converter.C (convert):
9865 * LyXSendto.C (SendtoApplyCB):
9866 * lyxfunc.C (dispatch):
9870 * lyx_cb.C (AutoSave):
9872 * BufferView_pimpl.C (MenuInsertLyXFile):
9873 * buffer.C (runChktex): use Buffer::filePath().
9875 * buffer.h: rename filename to filename_; rename filepath to
9876 filepath_ and make it private
9877 (filePath): new method
9879 * buffer.C (writeFile): use fileName()
9882 * lyx_main.C (init): fix starting of LyX when the binary is a
9883 link from so,ewhere else.
9885 * minibuffer.C: include <cctype> for isprint
9887 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9889 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9890 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9891 name clash with InsetCollapsable's width function.
9893 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9895 * lastfiles.C: include <iterator>
9897 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9899 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9902 * buffer.C (makeLaTeXFile): ditto.
9903 Also make loop operation more transparent.
9905 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9907 * ToolbarDefaults.C: remove trailing comma closing namespace.
9909 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9911 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9914 * trans.C (Load): comment out unused variable, allowed.
9916 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9918 * minibuffer.[Ch] (append_char): new method to recieve input from the
9919 drop-down completion browser. If a key was pressed, then recieve this
9920 char and append it to the existing string.
9921 (peek_event): modify the positioning data passed to the completion
9922 browser so that it can be placed above the minibuffer rather than below.
9923 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * LyXAction.C (init): alloe error-next for readonly documents.
9927 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9930 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9932 * bufferlist.C (readFile): create the buffer _after_ checking that
9935 * lyxfunc.C (verboseDispatch): fix handling of arguments
9937 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9939 * lyxrc.C: use string::erase() instead of initializing to "".
9942 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9944 * BufferView_pimpl.h:
9945 * BufferView_pimpl.C:
9948 * text2.C: tell X when we have made a selection for copying
9950 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9952 * BufferView_pimpl.C (MenuInsertLyXFile):
9953 * lyxfunc.C (menuNew):
9955 (doImport): add shortcuts to directory buttons
9957 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9960 * lyxfunc.C (setStatusMessage):
9961 (getStatusMessage): new methods
9962 (getStatus):use setStatusMessage instead of setErrorMessage
9963 (dispatch): when function is disabled, set error message here
9964 [instead of in getStatus previously]
9966 * BufferView_pimpl.C (workAreaButtonRelease): update
9967 toolbar/menubar here too.
9969 2002-01-13 Allan Rae <rae@lyx.org>
9971 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9972 Now seems indestructible. Remaining task is to audit all other
9973 code affected by deleteEmptyParagraphMechanism. One small quirk
9974 left is that an empty document with an error in the preamble can
9975 be made to report an error but no error box appears. I don't know
9977 (removeAutoInsets): Improved comments.
9979 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9982 * Thesaurus.C: update for Aiksaurus 0.14
9984 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * text2.C (firstParagraph): removed member function, all uses
9987 replaces with ownerParagraph
9988 (redoParagraphs): here
9990 (toggleAppendix): here
9991 * BufferView2.C (insertErrors): here
9992 (setCursorFromRow): here
9994 2002-01-13 Allan Rae <rae@lyx.org>
9996 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9997 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9998 There is still a way to segfault this although you may have to do this
9999 multiple times: Have an InsetERT with an unknown command in it.
10000 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10001 <down-arrow>, <Enter> again, View->DVI, BANG!
10003 * text2.C (setCursor):
10004 (deleteEmptyParagraphMechanism):
10005 * lyxtext.h (setCursor):
10006 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10007 Making use of the return value may help fix other bugs.
10009 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10013 * LyXView.C (updateMenubar): call MenuBar::update here
10014 (updateToolbar): but not here
10015 (showState): do not update toolbar/menubar
10017 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10018 should need to care about that.
10020 * lyxfunc.C (verboseDispatch): simplify a bit
10021 (getStatus): have a version which takes a pseudoaction, and
10022 another which requires a (kb_action,string).
10024 * LyXAction.C (retrieveActionArg): make it work also when action
10025 is not a pseudo-action.
10026 (getActionName): simplify a bit
10029 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10031 * lyxfunc.C (verboseDispatch): new families of methods with
10032 several ways to specify a command and a bool to indicate whether
10033 the command name and shortcut should be displayed in minibuffer
10034 (eventually, we could extend that to a finer bitmask like
10035 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10036 (dispatch): the pristine dispatch command which just, well,
10037 dispatchs! Note it still sets its result to minibuffer; I'm not
10040 * lyxfunc.h: remove setHintMessage
10042 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10044 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * BufferView_pimpl.C (specialChar): delete new inset if we have
10047 not been able to insert it.
10049 * kbmap.C: revert to using int instead of kb_action, since all we
10050 are dealing with is pseudo-actions.
10052 * LyXAction.C (searchActionArg): change to return int instead of
10053 kb_action, since the result is a pseudoaction.
10055 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10057 * buffer.C (insertErtContents): Fix (partially) the font bug.
10059 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10061 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10062 as the other one is broken on my machine!
10064 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10067 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10069 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10071 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10072 reflect their actual use. Provide compatibility code for older lyxrc
10075 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10077 change names of popup font variables in line with the changes to lyxrc.C
10079 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10081 * buffer.C (asciiParagraph): avoid outputing a word twice after
10084 * lyxrc.C (getDescription): document that document_path and
10085 template_path can be empty.
10087 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * LaTeXFeatures.C (getMacros):
10090 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10092 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10094 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10096 (getPackages): rename feature "floats" to "float". Use an array to
10097 iterate over 'simple' features (i.e. just a \usepackage). Add
10098 handling of "amsmath" (renamed from "amsstyle").
10100 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10102 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10105 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10107 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10108 FuncStaus::FuncStatus & FuncStaus::some_method().
10110 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10112 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10113 of the func_satus stuff. Edited and massaged in various ways by
10116 * lyxfunc.C (getStatus): use FuncStatus
10118 2002-01-08 Juergen Vigna <jug@sad.it>
10120 * text.C (nextBreakPoint): use function Inset::isChar().
10122 * paragraph.C (TeXOnePar): use function
10123 Inset::forceDefaultParagraphs.
10125 * buffer.C (latexParagraphs): use function
10126 Inset::forceDefaultParagraphs.
10128 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10130 * lyx_gui.C (init): set the style of the menu popups to
10131 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10133 2002-01-07 Juergen Vigna <jug@sad.it>
10135 * text.C (setHeightOfRow): small fix
10136 (prepareToPrint): don't look at alignment if we don't have the place
10139 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10141 * box.C: New file. Move the Box methods and functions out of box.h,
10142 following Lars' suggestion.
10144 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10146 * box.h: #include "support/LOstream.h", needed for inlined function.
10149 * lyxtextclasslist.C: added some using std declarations.
10151 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10153 * box.h: make signed dimensions to allow insets wider than
10154 the screen (bug #162)
10156 * BufferView_pimpl.C: add some insetHit debug
10158 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10160 * vc-backend.C: add FIXME
10162 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10164 * lyxfunc.C (getStatus): enable code for showing math font status
10167 2002-01-07 Juergen Vigna <jug@sad.it>
10169 * text.C (nextBreakPoint): removed debug output not needed anymore.
10171 2002-01-06 Juergen Vigna <jug@sad.it>
10173 * text.C (nextBreakPoint): fixed up this function we had this bug
10174 since ever but now hopefully we break row better.
10175 (insertChar): we have to check if an inset is the next char as it
10176 could now happen that a large inset is causing a break.
10178 2002-01-05 Juergen Vigna <jug@sad.it>
10180 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10181 if it doesn't like to be drawed.
10183 2002-01-04 Juergen Vigna <jug@sad.it>
10185 * BufferView2.C (lockInset): forgot to set a cursor.
10187 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10189 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10191 * FormMathsPanel.C:
10194 * form_maths_panel.C:
10195 * form_maths_panel.h:
10196 * form_maths_panel.fd: implemented sub- and super- buttons in math
10199 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10200 (or ^ space) to be used as in TeX (req'd by André).
10202 * lyxfunc.C: Allow ^ and _ again to be used both as
10203 super/subscript (mathed) and as themselves (in text).
10205 2002-01-03 Allan Rae <rae@lyx.org>
10207 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10208 "LyX" or the filename of the current buffer if it has one. This is a
10209 modified form of John Levon's patch.
10211 * XFormsView.C (setWindowTitle): also set icon title.
10213 * LyXView.h (setWindowTitle): signature changed.
10214 * XFormsView.h (setWindowTitle): ditto.
10216 2002-01-02 Juergen Vigna <jug@sad.it>
10218 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10220 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * screen.C (topCursorVisible): introduce a temp var for
10223 text->cursor.row(), handle the case where this row is null. (kindo
10226 * text2.C (setCursor): add a couple of asserts.
10228 * paragraph.h (inset_iterator): add -> operator
10230 * paragraph.[Ch] (autoDeleteInsets): remove member function
10232 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10233 cursor pos correctly and handle inset deletion by itself.
10234 (insertErrors): move iterator declaration out of for expression
10236 * lyxtextclass.C: add <algorithm>
10238 * Makefile.am: added the new files to sources, removed layout.C
10240 * layout.C: removed file
10242 * layout.h: remove LYX_DUMMY_LAYOUT
10244 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10248 * lyxtextclass.[Ch]:
10249 * lyxtextclasslist.[Ch]: new files
10251 * include order changes to a lot of files, also changes because of
10254 2001-12-27 Juergen Vigna <jug@sad.it>
10256 * buffer.C (asciiParagraph): more fixes.
10258 * tabular.C (ascii): make ascii export support export of only the
10259 data separated by a column-delimiter.
10260 (ascii): better support for ascii export.
10262 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10264 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10266 * tabular_funcs.C: use a "using std::getline" instead of the
10267 previous fix from Angus (necessary for cxx + lyxstring)
10269 2001-12-24 Juergen Vigna <jug@sad.it>
10271 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10273 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10274 problems. First check a minipage also if we have some ert-contents
10275 (not only on par->size(), second set the right depth of the paragraph
10276 on the relink to the root-paragraph-list!
10278 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10279 which then did not anymore update the main paragraphs on undo/redo!
10281 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10283 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10284 code. Support all font-changing funcs (even those which are not in
10285 menu currently). Support for reporting font settings in
10286 mathed (disabled until Andre provides a function on mathed's side).
10288 * func_status.h (toggle): small helper function to set toggle
10291 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10293 * tabular_funcs.C: getline -> std::getline
10295 2001-12-21 Juergen Vigna <jug@sad.it>
10297 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10298 accessed and could be 0 (I couldn't generate this but it seems
10301 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10304 * tabular_funcs.h: here and include iosfwd
10306 2001-12-20 Juergen Vigna <jug@sad.it>
10308 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10309 inside inset but undo_par was.
10311 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10313 * Thesaurus.C: always include <config.h> in sources.
10317 * box.h: do not include <config.h> in header files
10319 * text.C (paintLastRow): remove unused variable
10321 * text.C (transformChar):
10323 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10325 * Painter.C (text):
10326 * font.C (width): rewrite to use uppercase() instead of
10329 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10331 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10333 * lyxfind.C: clean up of find failure position change
10335 2001-12-20 Juergen Vigna <jug@sad.it>
10337 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10339 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10340 (TeXRow): added to LaTeX a single tabular row.
10341 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10342 (Latex): simplified and finally good LT-h/f support.
10343 (various_functions): just small adaptions for LT-h/f support.
10345 * tabular_funcs.[hC]: added and moved here all not classfunctions
10348 2001-12-19 Juergen Vigna <jug@sad.it>
10350 * tabular.[Ch]: better support for longtabular options (not finished
10353 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10355 * text.C (paintLastRow): use the label font instead of the font of
10356 the last character to compute the size of *_BOX. This makes more
10357 sense and avoids a crash with empty paragraphs.
10358 Use Painter::rectangle to draw EMPTY_BOX.
10360 2001-12-19 Juergen Vigna <jug@sad.it>
10362 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10363 the paragraphs if the replaced paragraph is not the first one!
10364 Tried to delete not used paragraphs but does not work yet so for
10365 now it's inside #ifdef's and by default off!
10367 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10369 * MenuBackend.C: include "lyx_main.h" instead of declaring
10370 lastfiles (actually was declared as LastFiles* instead of a
10373 2001-12-17 Juergen Vigna <jug@sad.it>
10375 * tabular.C (AppendColumn): applied John's fix
10377 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10381 * BufferView_pimpl.h:
10382 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10385 * box.h: new start of class for above
10387 * lyxfunc.C: ignore space-only minibuffer dispatches.
10388 Show the command name when it doesn't exist
10390 * minibuffer.C: don't add empty lines to the history
10392 * minibuffer.C: add a space on dropdown completion
10394 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10396 * text.C: fix line above/below drawing in insets
10398 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10400 * lyxlength.C (LyXLength): Initialize private variables.
10402 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10405 when inserting error insets.
10407 2001-12-13 Juergen Vigna <jug@sad.it>
10409 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10410 actually sometimes the before-paragraph.
10411 (setUndo): don't clear the redostack if we're not actually undoing!
10413 2001-12-06 Juergen Vigna <jug@sad.it>
10415 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10416 and fixed redoing of main paragraph, so we can use it now ;)
10418 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10420 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10422 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10425 2001-12-13 André Pönitz <poenitz@gmx.net>
10428 * undo_func.C: minor cleanup
10430 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10432 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10433 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10434 font in urw-fonts package which is marked as -urw-fontspecific and
10435 does not work (incidentally, changing the encoding in the
10436 fonts.dir of this package to -adobe-fontspecific fixes the
10439 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10440 is a crash when undoing first paragraph (Juergen, please take a
10441 look). THis does not mean the undo fix is wrong, just that it
10444 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10445 the (Paragraph*) version when needed instead of duplicating the
10448 * text.C (workWidth): use Inset::parOwner to find out where the
10449 inset has been inserted. This is a huge performance gain for large
10450 documents with lots of insets. If Inset::parOwner is not set, fall
10451 back on the brute force method
10453 * paragraph_pimpl.C (insertInset):
10454 * paragraph.C (Paragraph):
10455 (cutIntoMinibuffer): set parOwner of insets when
10456 inserting/removing them
10458 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10460 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10466 * mathed/formulabase.C:
10467 * mathed/math_cursor.[Ch]:
10468 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10471 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * lyxlength.[Ch] (operator!=): new function
10475 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10477 * text.C (workWidth): use Inset::parOwner to find out where the
10478 inset has been inserted. This is a huge performance gain for large
10479 documents with lots of insets. If Inset::parOwner is not set, fall
10480 back on the brute force method
10482 * paragraph_pimpl.C (insertInset):
10483 * paragraph.C (Paragraph):
10484 (cutIntoMinibuffer): set parOwner of insets when
10485 inserting/removing them
10487 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10489 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10491 * tabular-old.C (getTokenValue):
10492 * tabular.C (getTokenValue):
10493 (write_attribute): new versions for LyXLength
10494 (everywhere): adjust the use of widths
10496 * tabular.h: change the type of widths from string to LyXLength
10498 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10500 * paragraph.C: fixed missing line number count when exporting
10501 Environments to LaTeX file
10503 * buffer.C: added informational message for checking line numbers.
10505 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10507 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10508 paragraph, do the 'double space' part, but not the 'empty
10511 * text.C (workWidth): small optimization
10512 (getLengthMarkerHeight): use minimal size for negative lengths.
10514 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10516 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10518 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10520 2001-12-11 André Pönitz <poenitz@gmx.net>
10523 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10525 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10527 * text2.C: keep selection on a setFont()
10529 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10531 * lyx_cb.C: another bv->text misuse, from insert label
10533 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10536 * kbsequence.C: re-instate nmodifier mask
10538 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10540 * lyx_main.h: make lyxGUI private.
10542 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10544 * lyxfind.C: place the cursor correctly on failed search
10546 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * text.C (getLengthMarkerHeight): for small heights, the arrows
10549 are not always on top/bottom of the text
10550 (drawLengthMarker): smaller arrows; take the left margin in
10551 account; draw also vfills.
10553 (paintLastRow): remove special code for vfill and standard spaces,
10554 since everything is handled in drawLengthMarker now.
10556 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * buffer.C (insertErtContents): try to handle font and language
10559 interaction a bit better.g
10561 * ColorHandler.C (updateColor): change the hash to cover the whole
10562 LColor enum, ws cleanup
10563 (getGCLinepars): ditto
10564 (getGCLinepars): only lookup in the linecache once.
10566 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10568 * iterators.C (operator++): Make the iterator more robust
10570 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10572 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10574 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10577 * text.C: better added space drawing
10579 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10582 * BufferView2.C: fix layout combo update on inset unlock
10584 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10586 * Makefile.am: don't compile unused files
10588 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10592 * LyXAction.C: remove old LFUN_LAYOUTNO
10594 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10596 * paragraph_pimpl.h:
10597 * paragraph_pimpl.C: isTextAt() doesn't need font param
10599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10602 * lyxlex.C: little cleanup
10604 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10606 * BufferView_pimpl.C: fix insertAscii for insets
10608 2001-12-05 Juergen Vigna <jug@sad.it>
10610 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10611 set the right font on the "multi" paragraph paste!
10613 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10619 * lyxlength.C: remove out-commented code.
10621 * BufferView_pimpl:
10635 * vc-backend.C: change "while(" to "while ("
10637 * lyxlength.[Ch]: add zero function to check if length is zero or
10639 * lyxgluelength.C: use it
10641 2001-12-05 Allan Rae <rae@lyx.org>
10643 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10644 Works for 2.95.3, from what I understand of Garst's reports this should
10645 work for other g++ versions. We're screwed if the abs(int) definition
10646 changed between bugfix releases of gcc.
10648 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10650 * text.C: fix chapter label offset !
10652 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10655 * text.C: fix hfill at end of line, clean up
10657 2001-12-04 Juergen Vigna <jug@sad.it>
10659 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10660 that we force an update of the inset and it's owners if neccessary.
10662 2001-12-03 Juergen Vigna <jug@sad.it>
10664 * text.C (rowLast): simplified code
10666 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10668 * lyxfunc.C: fix show options on timeout
10670 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10672 * screen.C (topCursorVisible): scroll half a page when the cursor
10673 reached top of bottom of screen
10675 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10677 * minibuffer.C: deactivate on loss of focus
10679 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10681 * vspace.[Ch] (operator!=): add operator.
10683 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10685 * BufferView_pimpl.C: refuse to open an inset when
10686 there's a selection.
10688 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10690 * BufferView_pimpl.C: allow to click on RHS of full row insets
10692 2001-11-30 Juergen Vigna <jug@sad.it>
10694 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10695 insets for undo reasons.
10697 2001-11-28 André Pönitz <poenitz@gmx.net>
10699 * vspace.[Ch]: cosmetical changes
10701 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10711 * kbsequence.C: part re-write of old kb code
10714 * WorkArea.C: remove Lgb_bug_find_hack
10716 2001-11-30 José Matos <jamatos@fep.up.pt>
10718 * buffer.C (makeDocBookFile): add a comment to point a hack.
10719 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10720 Fixed a double write of labels.
10722 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10725 * LaTeX.h Fixed bug in LaTeX class where it would not
10726 re-run latex if no depfiles were changed, but the .dvi was removed.
10728 2001-11-28 André Pönitz <poenitz@gmx.net>
10730 * all the files from the change on 2001/11/26:
10731 use lyx::layout_type instead of LyXTextClass::size_type
10732 use lyx::textclass_type instead of LyXTextClassList::size_type
10734 2001-11-29 Juergen Vigna <jug@sad.it>
10736 * text.C: added support for paragraph::isFreeSpacing()
10738 * buffer.C: same as above
10740 * paragraph.h: inserted isFreeSpacing() function to enable
10741 FreeSpacing inside InsetERT.
10743 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10744 of the paragraph's in the cut/copy buffer to 0!
10746 * text2.C (removeRow): remove the assert as it can!
10748 * lyxtext.h: added helper function firstRow returning firstrow and
10749 made firstrow private again.
10751 * BufferView2.C (lockInset): don't relock if we're already locked!
10753 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10754 the only paragraph.
10755 (removeRow): added Assert::(firstrow)
10757 * debug.C: forgot to add INSETTEXT here.
10759 2001-11-28 Juergen Vigna <jug@sad.it>
10761 * sp_spell.C (initialize): changed error text to more general
10762 spellchecker command use (not only ispell!)
10764 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10766 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10768 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10770 * vspace.C: initialise lyxgluelength on failure
10772 2001-11-28 Allan Rae <rae@lyx.org>
10774 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10775 declaration & definition that looks like a function declaration.
10777 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * BufferView2.C (copy):
10780 (copyEnvironment): do not clear the selection when doing a copy.
10782 * text.C (paintFirstRow): compilation fix
10784 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10786 * tabular.C (Latex): correct line count when writing latex.
10788 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10790 * paragraph_pimpl.h:
10791 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10794 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10798 * LColor.C: change vfillline->added_space
10800 * text.C: add markers and text for added space
10802 * vspace.C: fix comment
10804 2001-11-28 André Pönitz <poenitz@gmx.net>
10806 * paragraph.C: whitespace changes
10807 * all the other files from the change on 2001/11/26:
10808 change *::pos_type into lyx::pos_type
10810 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10812 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10813 language of the document when inserting error insets.
10815 2001-11-26 André Pönitz <poenitz@gmx.net>
10817 * BufferView_pimpl.[Ch]:
10825 * paragraph_pimpl.[Ch]:
10828 * text2.C: reduce header dependencies, introduce type for positions
10830 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10832 * <various>: change to use Alert.h
10834 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10836 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10837 when encountering an unknown token.
10838 (readLyXformat2): Show an error message if there were unknown tokens.
10840 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10843 * BufferView_pimpl.C:
10847 * text2.C: use par->isInset()
10849 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10851 * paragraph_pimpl.h:
10852 * paragraph_pimpl.C: cleanup
10854 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10856 * text2.C (removeRow):
10857 * text.C (setHeightOfRow): remove useless (and costly) call to
10860 2001-11-20 Allan Rae <rae@lyx.org>
10862 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10863 Now need Inset*::checkInsertChar() to return true for appropriate
10864 cases so that the characters in the minibuffer will actually be
10867 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10869 * text.C: change the order of the includes.
10870 (workWidth): initialize it at once.
10871 (workWidth): make maxw unsigned
10872 (setHeightOfRow): remove unused variable (inset)
10873 (selectSelectedWord): remove unused variable (inset)
10874 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10876 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10878 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10879 server is not running.
10881 (closeConnection): add debug info when server is disabled.
10883 * ColorHandler.C (getGCForeground): send debug message to GUI
10886 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10888 * kbmap.C (bind): modify because return conventions of
10889 kb_sequence::parse have changed.
10891 * kbsequence.C (parse): only ignore spaces and not any stupid
10892 control character. This avoids tests like s[i] <= ' ', which are
10893 guaranteed to fail with 8bit characters and signed chars.
10894 Change return code to string::npos when there have been no error
10895 (0 was a bad idea when error is at first character)
10897 2001-11-14 José Matos <jamatos@fep.up.pt>
10900 * buffer.C (simpleDocBookOnePar): removed unused argument.
10902 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10904 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10905 insets which are part of a word. Paragraph::isLetter takes care of
10906 that now. Use Paragraph::isInset to identify insets.
10907 (selectSelectedWord): do not test for hyphenation break.
10909 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10910 that protected spaces are considered as spaces.
10912 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10915 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10918 * lyxserver.C: fix it. and small cleanup.
10920 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10922 * BufferView_pimpl.C: use inline helpers
10925 * LaTeXFeatures.C: fix typos
10928 * Spacing.C: move spacing_string into class
10930 * ToolbarDefaults.C: move stuff into namespace anon
10932 * layout.h: update enum
10934 * lyxfunc.C: use better debug
10936 * minibuffer.h: fix typo
10940 * WorkArea.C: add and use Debug::WORKAREA
10944 * text2.C: code re-organisation, inline helpers
10946 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10948 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10949 std::vector.empty().
10951 2001-11-09 Allan Rae <rae@lyx.org>
10953 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10954 '\n's after tables. Tabular and ERT inset work now makes this no
10957 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10960 * minibuffer.C: fix crash, improve drop-down completion
10962 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10965 * lyxserver.C: invalidate fd's when doing endPipe()
10967 2001-11-08 José Matos <jamatos@fep.up.pt>
10969 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10970 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10973 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10975 2001-11-07 José Matos <jamatos@fep.up.pt>
10978 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10981 * buffer.C (sgmlOpenTag):
10982 * buffer.C (sgmlCloseTag): removed debug info.
10984 * buffer.h (sgmlOpenTag):
10985 * buffer.h (sgmlCloseTag): made public.
10987 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10989 * buffer.C (saveParamsAsDefaults):
10990 * lyx_cb.C (MenuLayoutSave): remove
10992 * LyXAction.C (init):
10994 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10996 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10998 * buffer.C (setPaperStuff): removed from here...
11000 * bufferparams.C (setPaperStuff): ... and moved there.
11002 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11006 * XFormsView.C: add support for drop-down completion
11008 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11010 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11013 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11015 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11018 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11020 * lyx_main.C: change ref to known bugs
11022 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11024 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11025 to work around older babel problems.
11027 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11029 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11031 2001-10-24 Juergen Vigna <jug@sad.it>
11033 * tabular-old.C (ReadOld): below variable changes reflected.
11035 * tabular.[Ch]: added ltType struct for longtable header/footer
11036 defines and changed all instances where they are used. Added
11037 future support for double top/bottom rows.
11039 2001-10-24 José Matos <jamatos@fep.up.pt>
11041 * buffer.h (docbookHandleCaption):
11042 * buffer.C (docbookHandleCaption): removed unused function.
11043 (makeDocBookFile): moved docbook supported version to v4.1.
11045 2001-10-24 José Matos <jamatos@fep.up.pt>
11048 * tabular.C (docbookRow): new function to export docbook code of a row.
11049 (DocBook): now honors the longtable flags.
11051 2001-10-23 José Matos <jamatos@fep.up.pt>
11054 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11055 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11057 * buffer.C (makeLinuxDocFile):
11058 (makeDocBookFile): reworked the preamble, more clean, and with
11059 support for lyx defined entities. Changed the document declaration
11060 to be more XML friendly.
11062 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11063 if we need to output XML that should be done with a filter.
11065 2001-10-22 Juergen Vigna <jug@sad.it>
11067 * sp_pspell.h (class PSpell): add alive function needed in the
11068 controller to see if the spellchecker could be started.
11070 2001-10-22 Juergen Vigna <jug@sad.it>
11072 * buffer.C (insertStringAsLines): modify the font for inserting
11073 chars in certain conditions by calling checkInsertChar(font).
11075 2001-10-19 Juergen Vigna <jug@sad.it>
11077 * text.C (workWidth): use getRow instead of wrong algorithm.
11078 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11080 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11085 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11087 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11089 * text.C (workWidth): do not search for the exact row when
11090 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11091 optimization for big documents.
11093 2001-10-18 Juergen Vigna <jug@sad.it>
11095 * text.C (workWidth): new function with added Inset * parameter.
11097 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11099 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11101 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11102 change return type of getColumnNearX.
11105 * text.C (changeRegionCase): use uppercase/lowercase instead of
11108 (rightMargin): simplify code by factoring out the uses of
11113 (appendParagraph): use Paragraph::size_type
11115 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11117 * vspace.C (asLatexString): add a missing break
11119 2001-10-15 Herbert Voss <voss@perce.de>
11121 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11123 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11125 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11128 2001-10-10 André Pönitz <poenitz@gmx.net>
11130 * lyxfunc.C: removed greek_kb_flag.
11132 2001-10-10 Herbert Voss <voss@perce.de>
11134 * lyx_main.C: delete global string help_lyxdir.
11136 2001-10-09 Herbert Voss <voss@perce.de>
11138 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11140 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11142 * lyx_main.C: added global string help_lyxdir.
11144 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11146 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11148 * lyxrc.C (set_font_norm_type): support iso8859-4
11150 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11152 * LaTeX.C (deplog): add another regex for MikTeX
11154 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11156 * lyxrc.C (set_font_norm_type): support iso8859-3
11158 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11162 * LaTeXFeatures.C: remove special case of french and index
11164 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11165 before \begin{document}). This solves several incompatibilities.
11167 2001-10-03 Garst Reese <reese@isn.net>
11169 * lyx_cb.C: change CheckTex error msg.
11171 2001-10-03 José Matos <jamatos@fep.up.pt>
11173 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11175 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11177 * .cvsignore: update
11179 * lyx_main.C (commandLineVersionInfo): use new style version info.
11181 * buffer.C (writeFile):
11183 (makeLinuxDocFile):
11184 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11186 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11188 * version.h: update to use stuff in version.C
11190 * version.C.in: new file. Contains version information determined
11191 at compile time. This is a merging of version.h and
11194 2001-10-03 Juergen Vigna <jug@sad.it>
11196 * BufferView_pimpl.C (update): don't change "dirty" status in
11199 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11201 * WorkArea.C (c-tor): re-position version string slightly.
11203 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11205 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11206 revert to previous code.
11208 WorkArea.[Ch]: (show, destroySplash): methods removed.
11210 WorkArea.C: rework code so that it's an amalgam of the codes before and
11211 after the splash screen was moved to WorkArea.
11213 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11216 * vspace.C (inPixels):
11219 * buffer.C (insertStringAsLines):
11220 (asciiParagraph): fix types to be large enough
11222 * lyxlex_pimpl.h: change member status from short to int
11224 * layout.h: fix type of endlabeltype
11227 * kbsequence.C (parse): change return type to string::size_type
11229 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11232 * Bullet.C (bulletSize):
11233 (bulletEntry): do not use short ints as parameters
11235 * BufferView2.C (insertLyXFile): change a char to an int.
11237 * WorkArea.C (WorkArea): remove unneeded floats in computation
11239 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11241 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11243 * paragraph.C (asString): Do not ignore newline/hfill chars when
11244 copying to the clipboard.
11246 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11248 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11249 after a multi-line inset.
11251 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11253 * paragraph.C (validate): Set NeedLyXFootnoteCode
11255 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11257 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11258 and decrease-error to decrease.
11260 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11262 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11263 it more readable (should be equivalent)
11265 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11267 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11269 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11271 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11272 of a cursor (row, etc.) after a character has been deleted
11273 (deleteEmptyParagraphMechanism): call the method above on _all_
11274 cursors held by the LyXText when a double space has been
11277 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11279 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11281 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11283 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11284 background. Use greyOut() and the new show() methods to toggle between
11285 the foreground and background. Add code to remove the splash after
11286 its initial showing.
11288 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11289 (create_forms): no longer call Dialogs::showSplash.
11291 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11293 * .cvsignore: add version_info.h
11295 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11297 * version_info.h.in: new file
11299 * Makefile.am: add version_info.h.in
11301 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11302 version_info.h instead of VERSION_INFO
11304 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11306 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11307 The ERT inset now returns string().
11309 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11311 * lyxtext.h, text.C (selectNextWord): renamed as
11312 selectNextWordToSpellcheck.
11314 * text.C (selectNextWordToSpellcheck): Modified to not select
11315 words inside an ERT inset.
11317 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11319 * lyx_cb.C (MenuLayoutSave): change a bit the question
11321 * sp_base.h: include <sys/types.h>
11323 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11325 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11327 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11329 * several files: fix typos in user-visible strings
11331 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11333 * text2.C (pasteSelection): do not set the selection, since it
11334 will be cleared later. Actually, the intent was to fix the way the
11335 selection was set, but I figured rmoving the code was just as good.
11337 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11339 * FontLoader.C (available): Check if font is available without
11342 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11344 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11346 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11348 * lyxrc.[Ch]: added display_graphics variable and associated code.
11350 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11352 * bufferparams.C (hasClassDefaults): new method. Returns true if
11353 the buffer parameters correspond to known class defaults
11355 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11357 * XFormsView.C (show): set minimum size to the main window.
11359 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11361 * text2.C (copySelection):
11363 * lyxfind.C (LyXReplace):
11364 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11365 LyXText::selectionAsString.
11367 * paragraph.C (asString): add "label" argument to the second form
11369 * text2.C (selectionAsString): add "label" argument and pass it to
11370 Paragraph::asString.
11372 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11374 * lyx_main.C (commandLineHelp): remove version information
11376 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11378 * lyx_main.C: add -version commandline option
11380 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * paragraph.h: make the optional constructor arg required instead.
11383 some modifications to other files because of this.
11385 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11387 * lyxserver.C (C_LyXComm_callback): make it static
11389 * lyx_main.C (error_handler): make it static
11391 * lyx_gui.C (LyX_XErrHandler): make it static
11393 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11395 * WorkArea.C: make the extern "C" methods static.
11397 * Makefile.am (lyx_LDADD): simplify
11399 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11401 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11402 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11404 * LyXAction.C (init):
11405 * lyxfunc.C (dispatch): associated code removal.
11407 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11409 * lyxfont.h (isSymbolFont): shut off warning
11411 * text.C (setHeightOfRow):
11412 (getVisibleRow): fix crash with empty paragraphs which have a
11415 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11417 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11420 2001-09-04 José Matos <jamatos@fep.up.pt>
11423 * tabular.C (docbook): rename docBook method to docbook.
11425 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11427 * Makefile.am: add dependencies to main.o.
11429 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11431 * FontLoader.C (available): Return false if !lyxrc.use_gui
11433 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11435 * FontInfo.C (query):
11436 * converter.C (view):
11437 * importer.C (Import):
11438 * exporter.C (Export): Can not -> cannot.
11440 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11442 * BufferView_pimpl.C: allow to create index inset even if
11445 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11447 * buffer.C (getLists): replace boost::tie code with an explicit pair
11448 as boost::tie can break some compilers.
11450 * iterators.h: Added a std:: declaration to the return type of
11453 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11455 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11458 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11460 * iterators.[Ch]: New files. Provide paragraph iterators.
11462 * buffer.C (changeLanguage): Use paragraph iterators.
11463 (isMultiLingual): ditto
11465 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11467 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11469 * FontLoader.C: Support for cmr font.
11471 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11473 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11474 (available): New method.
11476 * FontInfo.C (getFontname): Use scalable fonts even when
11477 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11480 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11482 * converter.C (Formats::view): reverted! Incorrect fix.
11484 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11486 * converter.C (Formats::view): only output the -paper option
11487 if the dvi viewer is xdvi, thereby fixing bug #233429.
11489 2001-08-23 Herbert Voss <voss@perce>
11491 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11493 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11495 * Spacing.h (Spacing): Set space to Default on in the default
11498 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11500 * vc-backend.h (RCS::versionString): add RCS to version
11501 (CVS::versionString): add CVS to version
11503 * vc-backend.C (scanMaster): do not add CVS to version.
11504 (scanMaster): do not add RCS to version
11506 * lyxvc.C (versionString): new method
11508 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11510 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11512 * Spacing.C (set): initialize fval
11514 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11516 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11519 2001-08-16 Juergen Vigna <jug@sad.it>
11521 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11523 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11525 * BufferView_pimpl.C:
11528 * text2.C: setParagraph takes linespacing now
11530 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11532 * LyxAction.C: add internal LFUN_CITATION_INSERT
11534 * LyXView.C: actually apply fix
11536 * bufferlist.C: fix open non-existent file
11538 * lyxfind.C: fix indentation
11540 * lyxfunc.C: remove unneeded assert, fix typo
11542 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11544 * MenuBackend.C: use "Floatname List"
11546 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11548 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11549 when converting LaTeX layout to insetERT.
11550 Generate a non-collapsed float when reading old float
11552 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11554 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11557 2001-08-13 Juergen Vigna <jug@sad.it>
11559 * text.C (fill): return 0 instead of 20 as this seems to be the more
11562 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11564 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11567 2001-08-13 Juergen Vigna <jug@sad.it>
11569 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11571 (SearchBackward): comment out the unlocking of the inset_owner this
11572 should not be needed!
11574 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11576 * Many files: Remove inherit_language, and add latex_language
11578 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11579 collapsible insets.
11581 2001-08-10 Juergen Vigna <jug@sad.it>
11583 * text.C (prepareToPrint): fixed hfill-width in draw!
11585 * BufferView2.C (selectLastWord): save the selection cursor as this
11586 now is cleared in the function LyXText::clearSelection!
11588 2001-08-08 Juergen Vigna <jug@sad.it>
11590 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11591 BACKSPACE type functions.
11593 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11594 is only cutted from the document but not put in the cut-buffer, where
11595 still the old stuff should be.
11597 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11599 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11601 * tabular.C (SetWidthOfCell): fixed special case where the width
11603 (LeftLine): handle '|' in align_special.
11605 (LeftAlreadyDrawed): ditto
11606 (SetWidthOfCell): ditto
11608 2001-08-07 Juergen Vigna <jug@sad.it>
11610 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11612 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11615 * lyxlex.[hC]: ditto
11617 2001-08-06 Juergen Vigna <jug@sad.it>
11619 * text.C (getVisibleRow): fix up row clearing a bit.
11621 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11623 * minibuffer.C: make sure the X server sees the changes in the input.
11625 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11627 * paragraph.C (getFont): split into...
11628 (getLabelFont): this
11629 (getLayoutFont): and this
11630 * paragraph_pimpl.C (realizeFont): calling this
11632 * text2.C (getFont): split into...
11633 (getLayoutFont): this
11634 (getLabelFont): and this
11635 (realizeFont): all three calling this
11637 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11640 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11642 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11644 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11646 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11647 layouts from the Quote inset insertion.
11649 2001-08-03 Juergen Vigna <jug@sad.it>
11651 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11653 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11654 only if status not is already CHANGED_IN_DRAW (second level).
11656 * text.C (draw): don't set the need_break_row when inside an
11659 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11661 * buffer.C (parseSingleLyXformat2Token): handle more latex
11664 * bufferview_funcs.[hC]: change function names to
11665 begin with small char, adjust other files.
11667 2001-08-02 André Pönitz <poenitz@gmx.net>
11670 BufferView_pimpl.C: remove broken special code for math-greek
11672 2001-08-02 Juergen Vigna <jug@sad.it>
11674 * BufferView_pimpl.C (update): redone this function so that we
11675 update the text again if there was a CHANGE_IN_DRAW.
11677 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11678 (drawFromTo): added a new internal bool which is used by draw() and
11680 (general): some cursor drawing problems fixed.
11682 2001-08-01 Juergen Vigna <jug@sad.it>
11684 * lyxfind.C (LyXFind): fixed
11685 (SearchForward): ditto
11686 (SearchBackward): ditto
11688 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11689 spurius drawing of the cursor in the main area.
11691 * text2.C (status): small fix which could lead to a segfault!
11692 (clearSelection): remove unneeded BufferView param.
11694 2001-08-01 André Pönitz <poenitz@gmx.net>
11696 * lyxfunc.C: small change due to changed mathed interface
11698 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11700 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11702 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11704 * lyxfunc.c: fail gracefully if file doesn't exist
11709 * BufferView_pimpl.C: IsDirWriteable() proto changed
11711 * LyXView.C: fix updateWindowTitle() to store the last title
11713 2001-07-31 Juergen Vigna <jug@sad.it>
11715 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11716 the font (wrong since using of Paragraph::highestFontInRange).
11718 * paragraph.C (highestFontInRange): added a default_size parameter.
11720 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11721 (setHeightOfRow): reformat
11723 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * converter.[hC] + affected files: move to (inital-char)lowercase
11728 * ParagraphParameters.C (ParagraphParameters): remove commented code
11730 * PainterBase.[Ch]: remove commented code
11732 * LaTeXFeatures.h: add "bool floats" for float.sty
11734 * LaTeXFeatures.C (LaTeXFeatures): init floats
11735 (require): handle float
11736 (getPackages): do it with floats
11738 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11740 * BufferView_pimpl.C (Dispatch): improve handling of
11741 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11743 * commandtags.h: #include lyxfont.h here temporarily to avoid
11746 * bufferlist.h: include LString.h here.
11748 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11750 * text2.C (getStringToIndex): new method.
11752 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11754 * *: Reduced header file dependencies all over.
11756 2001-07-30 Baruch Even <baruch@lyx.org>
11758 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11760 2001-07-29 Baruch Even <baruch@lyx.org>
11762 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11764 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11766 * ParameterStruct.h (endif): add a default constructor to make
11767 sure that all variables is initialized.
11769 * ParagraphParameters.C (ParagraphParameters): adjust
11771 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11774 index; also, check that there is something to index, and that it
11775 does not span over several paragraphs.
11776 (doubleClick): use WHOLE_WORD_STRICT for double click.
11778 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11780 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11783 2001-07-26 Baruch Even <baruch@lyx.org>
11785 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11786 an InsetFig figure, backwards compatible reading of old figure code.
11788 2001-07-27 Juergen Vigna <jug@sad.it>
11790 * text2.C: font.realize function adaption.
11792 * text.C (draw): add a warnings lyxerr text if needed.
11794 * layout.C: font.realize function adaption.
11796 * language.C: add inherit_language and implement it's handlings
11798 * bufferview_funcs.C (StyleReset): remove language parameter from
11799 font creation (should be language_inherit now).
11801 * bufferparams.C (writeFile): handle ignore_language.
11803 * paragraph.C (getFontSettings): the language has to be resolved
11804 otherwise we have problems in LyXFont!
11806 * lyxfont.C (lyxWriteChanges): added document_language parameter
11807 (update): removed unneeded language parameter
11809 * paragraph.C (validate): fixed wrong output of color-package when
11810 using interface colors for certain fonts in certain environments,
11811 which should not seen as that on the final output.
11813 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11815 * BufferView_pimpl.C:
11820 * LyXAction.C: add thesaurus support
11823 * lyxfind.C: add "once" parameter, for thesaurus, to not
11824 move to the next match
11826 2001-07-26 Juergen Vigna <jug@sad.it>
11828 * lyxfont.C (realize): honor ignore_language too!
11831 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11833 * text.C (draw): one place more for ignore_language to not draw
11836 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11838 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11840 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11842 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11843 the minipage conversion problem.
11845 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11850 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * BufferView.h: don't forward declare WorkArea
11854 * BufferView.C: don't include WorkArea.h
11856 2001-07-25 André Pönitz <poenitz@gmx.net>
11860 * lyxfunc.C: new LFUN 'math-space'
11862 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11864 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11866 * text2.C (toggleInset): call open/close
11868 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11870 * lyxfunc.C (dispatch): add debug for the disabled case
11872 * font.C (buttonText): make similar to rectText
11874 * buffer.C (readInset): comment out parsing of insetlist and
11877 * PainterBase.C (rectText): small correction
11879 * BufferView_pimpl.C: comment out insettheorem and insetlist
11880 * LyXAction.C: ditto
11881 * commandtags.h: ditto
11883 2001-07-24 Juergen Vigna <jug@sad.it>
11885 * text.C (draw): honor the ignore_language.
11887 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11889 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11891 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11894 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11896 * lyxtext.h: remove unused (and unimplemented) methods
11898 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11900 * text.C (getVisibleRow): honor background color
11903 * Painter.h: remove default color argument for fillRectangle
11905 * text.C (backgroundColor): new method
11907 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11909 * text.C (getVisibleRow): adjust
11911 * font.[Ch] (rectText): new method, metrics
11912 (buttonText): new method, metrics
11914 * PainterBase.[hC]: make rectText and buttonText always draw and take
11917 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11919 * ToolbarDefaults.C (read):
11920 * MenuBackend.C (read): allow escaping in all strings
11922 * BufferView_pimpl.C (insertAndEditInset): new method.
11923 (Dispatch): use insertAndEditInset whenever appropriate.
11925 * BufferView_pimpl.C (insertNote): removed
11927 * BufferView_pimpl.C (smartQuote): new method, moved from
11928 BufferView; if an insetquote cannot be inserted, insert a '"'
11931 * BufferView2.C: remove insertCorrectQuote();
11933 * lyxfunc.C (getStatus): Add support for all remaingin
11934 inset-insert lfuns.
11936 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11938 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11939 command (necessary to pass " as parameter of self-insert.
11941 * text.C (selectWordWhenUnderCursor):
11942 (selectWord): add word_location parameter
11943 (selectWordWhenUnderCursor): same + remove special code for word
11945 (selectNextWord): use kind() to guess type of insetspecialchar,
11948 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11949 (insertErtContents): create ert insets as collapsed.
11950 (readInset): better compatibility code for Info inset.
11952 2001-07-20 Juergen Vigna <jug@sad.it>
11954 * lyxfunc.C (dispatch): use always LyXFind now!
11956 * text2.C (init): add a reinit flag so that the LyXText can be
11957 reinited instead of deleted and reallocated (used in InsetText).
11959 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11965 2001-07-18 Juergen Vigna <jug@sad.it>
11967 * text.C (selectNextWord): handle insets inside inset by calling
11968 always the bv->text functions so that we can go up the_locking_inset!
11970 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11971 in strange locations when inside an inset!
11973 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11974 handling to include insets.
11976 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11978 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11980 * LyXAction.C (init):
11982 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11983 LIGATURE_BREAK, since the name is so stupid.
11985 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11987 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11990 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11992 * sp_form.[Ch]: remove.
11994 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11996 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11999 * src/buffer.C (readInset): ditto.
12001 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12003 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12004 menuSeparator(), endOfSentenceDot(), ldots() and
12005 hyphenationPoint(), which are therefore removed.
12006 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12008 * LyXAction.C (init):
12009 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12011 * paragraph.C (getWord): removed.
12013 * BufferView_pimpl.C (Dispatch): use last word or selection for
12014 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12016 * lyx_main.C (queryUserLyXDir): do not ask before creating
12017 user_dir, except if it has been named explicitely.
12019 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12021 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12022 a document of zero size.
12024 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12026 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12027 approriately in the c-tor and in require().
12028 (getPackages): output the appropriate LaTeX for natbib support.
12030 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12031 variables "use_natbib" and "use_numerical_citations" when reading the
12033 (readInset): read the various natbib cite commands.
12034 (validate): white-space change.
12036 * bufferparams.[Ch]: new variables "bool use_natbib" and
12037 "bool use_numerical_citations".
12038 (writeFile): output them in the LyX file.
12040 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12042 * lyxfunc.C (getStatus): add support for all the inset insertion
12045 * text2.C (insertInset):
12046 * paragraph.C (insetAllowed):
12047 * BufferView_pimpl.C (insertInset): update to take in account the
12048 renaming of insertInsetAllowed
12050 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12052 * text2.C (getInset): new method. returns inset at cursor position.
12054 * BufferView_pimpl.C (Dispatch): changes because of this.
12056 * LyXAction.C (init): rename open-stuff to inset-toggle.
12058 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12060 * text2.C (toggleInset): renamed from openStuff; use
12063 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12065 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12067 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12069 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12071 * buffer.C (readLyXformat2): Add filename to the error dialog
12073 2001-07-18 Juergen Vigna <jug@sad.it>
12075 * tabular.C (GetCellNumber): put an assert here instead of the check!
12077 2001-07-17 Juergen Vigna <jug@sad.it>
12079 * BufferView_pimpl.C (toggleSelection): adapted too.
12081 * text.C (selectNextWord): adapted for use with insets.
12082 (selectSelectedWord): ditto
12084 2001-07-17 Juergen Vigna <jug@sad.it>
12086 * sp_spell.C (PSpell): fix initialitation order.
12088 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12090 * paragraph.C: spacing
12092 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12094 * sp_spell.C: repair language selection for pspell
12096 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12098 * lyxfunc.h: change more methods to begin with lower char.
12100 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12102 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12103 for unknown layouts.
12105 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12107 * buffer.C (readLyXformat2): Generate an error dialog if there are
12110 2001-07-16 Juergen Vigna <jug@sad.it>
12112 * sp_spell.C: always compile ISpell part.
12114 * lyxrc.C: added use_pspell entry and it's handling.
12116 2001-07-13 Juergen Vigna <jug@sad.it>
12118 * sp_spell.C: removed double includes.
12120 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12122 Consistent use of Lsstream.h:
12123 * Lsstream.h: added using std::stringstream for consistencies sake.
12125 * buffer.C: removed using std::stringstream
12127 * lyxfont.C (stateText):
12128 * paragraph.C (asString):
12129 * text.C (selectNextWord, selectSelectedWord):
12130 * text2.C (setCounter):
12131 * vspace.C (asString, asLatexString):
12132 std::ostringstream -> ostringstream.
12134 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12136 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12137 * commandtags.h: add LFUN_HELP_ABOUTLYX
12138 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12140 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12142 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12144 * lyx_gui_misc.C: remove spellchecker
12145 * lyxfunc.C: showSpellchecker
12147 * sp_ispell.h: added
12148 * sp_pspell.h: added
12149 * sp_spell.C: added
12150 * sp_form.[Ch]: removed
12151 * spellchecker.[Ch]: removed
12153 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12155 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12157 (simpleTeXSpecialChars): Simply print the input character without
12158 any special translation if pass_thru is set.
12160 * layout.h: Added bool pass_thru to layout class for being able to
12161 implement pass through of a paragraph for Literate Programming.
12163 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12164 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12165 * layout.C (Read): add "passthru" to list of layout tags and add
12166 code to set the pass_thru boolean when it is read.
12168 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12170 * trans_decl.h: remove allowed from KmodInfo
12172 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12173 remove allowed code
12176 * paragraph_pimpl.C (erase): use boost::prior
12178 * Painter.C (text): use data() instead of c_str() when length is
12180 * WorkArea.C (putClipboard): ditto
12181 * font.h (width): ditto
12183 * BufferView2.C: use it-> instead of (*it). for iterators
12185 * paragraph_pimpl.C: ditto
12186 * paragraph.C: ditto
12187 * minibuffer.C: ditto
12188 * language.C: ditto
12190 * encoding.C: ditto
12191 * counters.C: ditto
12192 * converter.C: ditto
12194 * Variables.C: ditto
12195 * TextCache.C: ditto
12196 * MenuBackend.C: ditto
12197 * LyXAction.C: ditto
12199 * FloatList.C: ditto
12200 * DepTable.C: ditto
12201 * ColorHandler.C (LyXColorHandler): ditto
12203 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12205 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12207 * text2.C (openStuff): reintroduce this method (which had been
12208 nuked in NEW_INSETS frenzy).
12210 * lyxfunc.C (Dispatch): when an action has not been handled, use
12211 its name in the error message, not its number.
12213 * paragraph.C (inInset): change method name to begin with lowercase.
12216 * text2.C: updates because of this.
12218 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12220 * ToolbarDefaults.C (add): add spaces in error message
12222 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12225 (readLyXformat2): rename return_par to first_par, use lyxlex's
12226 pushToken and remove the manual push handling.
12227 (parseSingleLyXformat2Token): add another ert comp. variable:
12228 in_tabular, rename return_par to first_par. handle newlines better
12230 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12232 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12234 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12236 * text2.C (getParFromID): removed
12238 * buffer.C (getParFromID): new method moved form lyxtext.
12239 * BufferView2.C (insertErrors): adjust
12240 (setCursorFromRow): adjust
12241 * BufferView_pimpl.C (restorePosition): adjust
12242 * lyxfunc.C (Dispatch): adjust
12243 * undo_funcs.C (textUndo): adjust
12245 (textHandleUndo): adjust
12246 (textHandleUndo): adjust
12248 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * buffer.C: up' the LYX_FORMAT
12252 * lyxfont.h: turn NO_LATEX on as default
12254 * buffer.C (insertErtContents): new methods of tex style compability.
12255 (parseSingleLyXformat2Token): use it several places.
12256 * tabular.C (OldFormatRead): and here
12258 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * text2.C: remove some commented code.
12263 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12264 * trans.C: changes because of the above.
12266 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12268 * text2.C (setCounter): Fix counters bug with bibliography layout.
12270 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12272 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12273 own member functions
12274 (simpleTeXSpecialChars): ditto
12276 2001-07-06 Juergen Vigna <jug@sad.it>
12278 * a lot of files: changed the access to LyXText::status and the
12279 call of undo-functions.
12281 * undo.[Ch]: added a inset_id to the undo informations.
12283 * undo_funcs.[Ch]: added and moved here all undo functions.
12285 * lyxtext.h: give the status enum a weight, made status_ a private
12286 variable and made accessor functions for it, removed the whole bunch
12287 of undo-functions as they are now in their own file, make some
12288 functions publically available. Added function ownerParagraph with
12291 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12292 made InInset() a const function, added getParFromID() function.
12294 * buffer.[Ch]: added const version for inset_iterator functions,
12295 added getInsetFromID() function.
12297 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12298 changed undo functions for new version.
12300 2001-07-05 Juergen Vigna <jug@sad.it>
12302 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12303 unknow mechanism does not call the proper constructor but only this
12304 one also if I request the other!?
12306 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12310 * text2.C (LyXText): use initialization lists.
12312 * lyxtext.h (Selection): initialize set_ and mark_
12313 (init): remove method
12315 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12317 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12319 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * screen.[Ch]: change method names to begin with lowercase
12323 * BufferView_pimpl.C (updateScrollbar): simplify further and
12324 hopefully make it a bit faster.
12326 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12328 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12329 calling directly xforms functions.
12331 * Painter.C (Painter):
12332 * lyx_cb.C (MenuWrite):
12333 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12336 * lyx_gui.C: remove bogus guiruntime extern declaration.
12338 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12340 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12342 (redoDrawingOfParagraph): ditto
12343 (redoParagraphs): ditto
12344 (cutSelection): don't create a object for CutAndPaste use the
12345 static method directly
12346 (pasteSelection): ditto
12348 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12351 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * modifications to some other files because of this.
12355 * Makefile.am (lyx_SOURCES): add XFormsView
12357 * XFormsView.[Ch]: new files
12359 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12360 the main window. Move the gui dependent stuff to XFormsView
12362 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12364 * tabular.C (GetCellInset): update cur_cell also in the row/col
12365 version of this function.
12367 * lyxfunc.C: no need to include figure_form.h here.
12373 * lyxvc.C: no need to include forms.h here.
12375 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12377 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12379 * lyxfunc.C (Dispatch):
12381 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12382 constructor argument.
12384 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12386 * paragraph.C (Paragraph): dont't clear, and just set layout.
12387 (makeSameLayout): use params's copy contructor.
12389 * ParagraphParameters.[Ch] (makeSame): delete method
12391 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12393 * Variables.[Ch]: fix indentation, rename set to isSet
12395 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * lyxfunc.C (Dispatch): fix typo
12399 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12401 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12404 * bufferlist.C: include assert.h for emergencyWrite().
12406 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12408 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12409 give up at last (bug #425202) !
12411 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12417 * spellchecker.C: strip spellchecker options and bring up
12418 preferences tab instead
12420 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12422 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12423 the istringstream constructor
12425 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12427 * paragraph.C (getLayout): fix return value
12429 * paragraph.h: do not declare getLayout as inline.
12431 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12433 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12435 * lyxcursor.h (operator<): new func
12436 (operator>): new func
12437 (operator>=): new func
12438 (operator<=): new func
12440 * text.C (changeCase): use selection.start and selection.end
12441 (changeRegionCase): require from to be <= to. Require par to be a
12444 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12446 2001-06-27 Juergen Vigna <jug@sad.it>
12448 * text.C (cursorLeftOneWord): changed to return the cursor and added
12449 overlay with BufferView * parameter which calls this one.
12451 (selectWord): use new getWord function.
12452 (changeCase): renamed from changeWordCase as and extended to work
12453 also on selections.
12455 * lyxtext.h: added enum word_location
12457 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12458 changeCase as this operates now also on selections.
12460 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12462 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12464 * many files: send debug output to Debug::INFO instead of
12467 * converter.C (View):
12469 (Move): send debug output to Debug::FILES instead of console.
12471 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12473 * lyxfunc.C (getStatus): use func_status
12475 * func_status.h: new header, describing the results of
12476 LyXFunc::getStatus;
12478 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12481 2001-06-25 The LyX Project <jug@sad.it>
12483 * buffer.C (sgmlOpenTag):
12485 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12487 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * text2.C: remove some dead code
12491 * tabular.C (GetCellInset): store the last cell checked (gotten)
12493 * tabular.h: add the helper for the speedup
12495 * lyxtext.h: remove some dead code
12497 2001-06-26 The LyX Project <Asger>
12499 * paragraph.C: Change export to LaTeX of alignment to
12500 \begin{center} and family for better roundtrip work with reLyX.
12502 * Tune the math drawing a bit.
12504 2001-06-25 The LyX Project <Asger>
12506 * LColor.C (LColor): New color for math background. New color
12509 2001-06-25 The LyX Project <jug@sad.it>
12511 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12513 * lyxfunc.C (Open):
12514 * bufferlist.C (newFile): do not restrict to files ending with
12517 * BufferView_pimpl.C (MenuInsertLyXFile):
12519 2001-06-24 The LyX Project <jug@sad.it>
12521 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12524 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * lyxtext.h: rename most methods to begin with a small char.
12527 Lots of changes because of this.
12529 * paragraph.C (Paragraph): do not call fitToSize
12530 (erase): call Pimpl::erase
12531 (insertChar): call Pimpl::insertChar
12532 (insertInset): call Pipl::insertInset
12533 (breakParagraph): do not call fitToSize
12534 (breakParagraphConservative): do not call fitToSize
12535 (fitToSize): remove method
12537 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12539 2001-06-24 The LyX Project <Asger>
12541 * Fix Qt compilation^2
12543 2001-06-24 The LyX Project <jug@sad.it>
12545 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12546 depthHook(getDepth()-1).
12549 * ParagraphParameters.h:
12550 * ParameterStruct.h: change type of depth to unsigned int ==
12551 depth_type. Many adaptations to other files before of that.
12553 2001-06-24 The LyX Project <Asger>
12555 * Fix Qt compilation.
12557 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12559 * paragraph.h: renamed several methods to begin with small letter.
12560 several changes to many parts of the code because of this.
12562 2001-06-23 The LyX Project <jug@sad.it>
12564 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12565 rewritten to discard all double spaces when KeepEmpty is off
12566 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12567 to only handle newlines but not fiddle with spaces and friends.
12569 * lyxfunc.C (MenuNew): when doing 'new from template', use
12570 template_path as default directory
12572 2001-06-23 The LyX Project <Asger>
12574 * Clean-up of header file includes all over
12575 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12577 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * paragraph.h: renamed from lyxparagraph.h
12581 2001-06-23 Asger <lyx@violet.home.sad.it>
12583 * Buffer.h: Removed Buffer::resize
12584 * BufferList.h: Removed BufferList::resize
12585 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12586 the document lazily when we change the width, or the font settings.
12588 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12590 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12592 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12594 * buffer.h: remove out of date comment
12596 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12599 * screen.C: fix "theoretical" GC leak
12601 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12603 * LaTeX.C (scanAuxFile):
12604 (deplog): remove trailing \r when reading stream (useful under
12607 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12609 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12610 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12611 and BufferView::theLockingInset(Inset*), so should use them and not
12612 access bv_->text->the_locking_inset directly.
12614 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12616 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12619 * tex-defs.h: remove old unused file
12621 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12623 * BufferView_pimpl.C: fix typo, remove minibuffer message
12624 when buffer has loaded
12626 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * lyxfunc.C (Dispatch): use stringstream
12629 (MenuNew): use stringstream
12630 (Open): use stringstream
12632 * importer.C (Import): use stringstream
12634 * bufferview_funcs.C (CurrentState): use stringstream
12636 * LaTeX.C (run): use stringstream
12638 * BufferView_pimpl.C (savePosition): use stringstream
12639 (restorePosition): use stringstream
12640 (MenuInsertLyXFile): use stringstream
12642 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12655 * vspace.C: removed // -*- C++ -*- as first line.
12658 * version.h: added // -*- C++ -*- as first line.
12660 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12662 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12664 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12667 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12669 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12672 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12674 * gettext.C: include LString.h even when --disable-nls is on.
12676 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12678 * converter.h (Get): changed argument type from int to
12679 FormatList::size_type to avoid unnecessary conversion.
12681 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12684 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12686 * gettext.h: include LString.h even when --disable-nls is on.
12688 2001-06-07 Juergen Vigna <jug@sad.it>
12690 * text.C (BreakAgain): subst spaces with tabs.
12692 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12693 (resizeInsetsLyXText): set force on resizeLyXText.
12695 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12697 * gettext.h (gettext_init):
12698 (locale_init): use a real definition instead of a macro
12700 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12702 * Bufferview_pimpl.C:
12704 * LColor.C: further lcolor tidies
12706 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12708 * BufferView_pimpl.C (updateScrollbar): simplify.
12710 * BufferView2.C: don't include insets/insetinfo.h, change
12711 prototype for insertInset and call the Pimpl version. let
12712 updateInset call Pimpl version.
12714 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12715 gotoInset to BufferView::Pimpl
12717 2001-06-01 Juergen Vigna <jug@sad.it>
12719 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12720 inside a LockingInset (is the update needed at all?).
12722 2001-05-31 Juergen Vigna <jug@sad.it>
12724 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12725 here not the old one otherwise how should we compare it afterwards
12728 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12733 * FontInfo.C: bring C functions into global namespace when
12736 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * LString.h: make sure config.h has been loaded before LString.h.
12740 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12741 (one for each char read by EatLine!).
12743 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12746 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12749 to the same as the par we break from
12751 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12753 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12755 * MenuBackend.C (expand): also create menu entries for wide
12756 versions of the floats.
12758 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12760 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12762 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12763 frontends/Makefile.am
12769 * tabular.C (getTokenValue): add std::
12771 * tabular-old.C (getTokenValue): add std::
12772 (getTokenValue): ditto
12773 (getTokenValue): ditto
12775 * screen.C (ToggleSelection): adjust
12777 * lyxtext.h: put selection cursors inside a Selection struct.
12779 * lyxfunc.C (moveCursorUpdate): adjust
12781 * lyxfont.C (latexWriteStartChanges): add std::
12783 * lyxfind.C: adjust
12785 * font.h: delete with(char const *, LyXFont const &)
12787 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12789 * FontInfo.C (getFontname): add std::
12791 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12792 (workAreaButtonPress): adjust
12793 (tripleClick): adjust
12795 (moveCursorUpdate): adjust
12798 * BufferView2.C (gotoInset): adjust
12800 2001-05-30 Juergen Vigna <jug@sad.it>
12802 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12803 to check pspell I add this as default as I now have new pspell
12804 libraries and they seem to use this.
12806 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * text2.C (CutSelection): make the cursor valid before the call to
12811 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12813 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12814 relied on 0 terminated strings and other horrors. Bug found due to
12815 the new assert in lyxstring!
12817 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12820 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12822 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12825 * lyxfunc.C (processKeySym): change method of getting to the
12828 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12829 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12830 * BufferView_pimpl.[Ch]: here as private methods.
12832 2001-05-28 Juergen Vigna <jug@sad.it>
12834 * text.C (SetHeightOfRow): added the update() call again as it is
12835 needed to initialize inset dimensions!
12837 2001-05-16 Juergen Vigna <jug@sad.it>
12839 * text2.C (SetCharFont): Add new function with BufferView * and
12840 bool toggleall parameters for setting insets internal fonts.
12841 (SetFont): Freeze the undo as we may change fonts in Insets and
12842 all this change should be inside only one Undo!
12844 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12845 setting font's in insets as for them we have the SetFont function!
12847 2001-05-15 Juergen Vigna <jug@sad.it>
12849 * text2.C (ClearSelection): to be sure we REALLY don't have any
12852 * tabular.C (TeXCellPreamble): fixed the left border problem for
12855 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12857 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12860 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12862 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12863 LFUN_BREAKPARAGRAPH.
12865 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12866 help test to "internal only", similar for LFUN_INSERT_URL
12868 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12869 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12870 auto_region_delete and deadkeys.
12872 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12875 * LColor.C: remove some dead entries, tidy a little
12877 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12881 (Dispatch): implement LFUN_ESCAPE
12883 * commandtags.h: add LFUN_ESCAPE
12885 * LyXAction.C (init): add entry for LFUN_ESCAPE
12887 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12888 Remove commented code.
12889 (insertNote): moved here
12890 (open_new_inset): moved here
12892 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12895 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12897 * kbmap.C (findbinding): clean it up and make it work correctly.
12899 * lyx_main.C (init): do not pass argc and argv as parameters
12901 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12903 * buffer.C: fix path for OS/2 & Win32
12907 * lyx_main.C: Added os:: class.
12909 * os2_defines.h: update
12911 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12913 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12914 better by trying again with reduced state.
12916 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12918 * lyxrc.C (read): print error about invalid key sequence only when
12919 debugging (because not all latinX keysyms are known to some X
12922 * kbsequence.C (getiso): add a few std:: qualifiers
12923 (getiso): comment out extra return statement.
12925 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12927 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12929 (Dispatch): enhance the accent inset a bit. (not perfect)
12931 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12935 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12937 * bufferlist.C (emergencyWrite): fix assert() call
12939 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12941 * text.C (InsertChar): Added trivial patch to only send the "you
12942 can not do multiple spaces this way" message once during a
12945 2001-05-08 Baruch Even <baruch@lyx.org>
12947 * Makefile.am: Changed order of libraries to get LyX to link properly
12948 with the gnome frontend.
12950 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12952 * LaTeXFeatures.h: add a std:: qualifier
12954 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * paragraph.C (String): use stringstream
12958 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * paragraph.C (writeFile): remove footflag arg
12962 * buffer.C (makeLaTeXFile): use stringstream
12963 (latexParagraphs): remove footnot gurba
12965 * LaTeXFeatures.C (getPackages): use stringstream
12966 (getMacros): likewise
12967 (getTClassPreamble): likewise
12968 (getFloatDefinitions): new method
12970 * paragraph.C (writeFile): reindent
12973 * WorkArea.h: revert the xpos + etc changes.
12975 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12977 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12979 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12980 (pasteSelection): likewise
12981 * text2.C (CreateUndo): likewise
12983 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * minibuffer.C (peek_event): temporarily reduce the functionality
12986 of the minibuffer (to allow args on lfuns)
12988 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12989 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12991 * buffer.C (readInset): add compability reading of old float
12992 lists, add reading of new style float list.
12993 (readInset): avoid reevaluation of inscmd.getCmdName()
12994 (getLists): reindent
12996 * MenuBackend.C (MenuItem): implement parsing of
12997 md_floatlistinsert and md_floatinsert.
12998 (expand::LastFiles): move initalizaton of iterators out of loop,
12999 avoid reevaluation.
13000 (expand::Documents): introduce typdedef vector<string> Strings,
13002 (expand::ExportFormats): introduce typedef vector<Format const *>
13003 Formats, and use it.
13004 (expand): implement FloatListInsert and FloatInsert.
13006 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13007 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13008 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13010 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13012 (Dispatch::LFUN_FLOAT_LIST): implement
13014 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13016 * LaTeX.C (run): Fix problem with --export code.
13018 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13020 * BufferView.[Ch] (workarea): removed.
13021 (getClipboard) new method; wrapper for workarea()->getClipboard()
13023 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13026 * WorkArea.h (width, height, xpos, ypos): These methods all
13027 returned the dimensions of the work_area sub-area of WorkArea,
13028 resulting in a position error if the WorkArea were resized. Now
13029 return the dimensions of the entire WorkArea.
13031 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13033 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13035 * LaTeX.C (deplog): correct the syntax of regex reg1
13037 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * undo.C: remove !NEW_INSETS cruft
13041 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13043 * text2.C: remove !NEW_INSETS cruft
13045 * text.C: remove !NEW_INSETS cruft
13047 * tabular.C: remove !NEW_INSETS cruft
13049 * spellchecker.C: remove !NEW_INSETS cruft
13051 * lyxtext.h: remove !NEW_INSETS cruft
13053 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13055 * lyxfunc.C: remove !NEW_INSETS cruft
13057 * lyxfind.C: remove !NEW_INSETS cruft
13059 * lyx_cb.C: remove !NEW_INSETS cruft
13061 * figureForm.C: remove !NEW_INSETS cruft
13063 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13065 * buffer.[Ch]: remove !NEW_INSETS cruft
13067 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13069 * CutAndPaste.C: remove !NEW_INSETS cruft
13071 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13073 * BufferView2.C: remove !NEW_INSETS cruft
13075 * BufferView.h: remove !NEW_INSETS cruft
13077 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13079 * Lsstream.h: include LString.h before the sstream headers to
13080 fix problem with gcc 2.95.3 and lyxstring
13082 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13084 * lyx_main.C: add using directives when needed for C functions
13085 declared in std:: namespace.
13087 2001-04-27 Juergen Vigna <jug@sad.it>
13089 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13090 (SetHeightOfRow): comment out the update call should not be needed!
13092 2001-04-13 Juergen Vigna <jug@sad.it>
13094 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13095 (LyXTabular): tried to minimize operator= operations (and realized
13096 hopfully Lars wish).
13098 2001-04-27 Juergen Vigna <jug@sad.it>
13100 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13102 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13106 * buffer.C (readInset): hack to make listof algorithm work
13108 * BufferView_pimpl.C: hack to make listof algorithm work
13110 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13112 * LyXAction.C: removed all !NEW_INSETS cruft
13113 (init): moved lfun_item in method
13115 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13117 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13119 * BufferView2.C (theLockingInset): white space.
13121 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * minibuffer.C: include <iostream>
13125 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13127 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13129 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13131 * text.[Ch] (TransposeChars): new method
13133 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * call message directly through LyXView instead of through LyXFunc
13136 * BufferView2.C: adjust
13137 * BufferView_pimpl.C: adjust
13138 * FontLoader.C: adjust
13140 * bufferview_funcs.C: adjust
13141 * converter.C: adjust
13142 * figureForm.C: adjust
13143 * importer.C: adjust
13145 * lyx_gui_misc.C: adjust
13146 * lyxfunc.C: adjust
13149 + more files in subdirs
13151 * lyxparagraph.h (size): move up int file
13154 * adjust all uses of Assert to lyx::Assert.
13156 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13157 lyxfunctional in namespace lyx
13158 * layout.C (hasLayout): ditto
13161 (delete_layout): ditto
13162 (NumberOfClass): ditto
13163 * converter.C (GetFormat): ditto
13168 * bufferlist.C (getFileNames): ditto
13169 (emergencyWriteAll): ditto
13172 * MenuBackend.C (hasSubmenu): ditto
13175 * BufferView_pimpl.C (getInsetByCode): ditto
13177 2001-04-18 Juergen Vigna <jug@sad.it>
13179 * vspace.C (asLatexString): fixed the 100% problem.
13181 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * lyxfunc.C (Dispatch):
13185 * minibuffer.h: add a few std:: qualifiers
13187 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * minibuffer.[Ch]: reimplement so that commands is initiated and
13190 run from lyxfunc, simplified som handling, and made the completion
13191 and history code for complete. wip.
13193 * lyxfunc.C (processKeySym): call message
13194 (miniDispatch): new temporary method
13195 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13196 (LFUN_MESSAGE): implement
13197 (LFUN_MESSAGE_PUSH): implement
13198 (LFUN_MESSAGE_POP): implement
13199 (initMiniBuffer): the initial/defualt minibuffer message.
13201 * lyxfont.[Ch]: inline some more getters
13203 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13205 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13207 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13208 (AutoSave): use LFUN_MESSAGE
13209 (Reconfigure): ditto
13211 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13213 * figureForm.C: use LFUN_MESSAGE
13215 * converter.C (runLaTeX): use LFUN_MESSAGE
13217 * bufferview_funcs.C: use LFUN_MESSAGE
13219 (changeDepth): ditto
13221 * bufferparams.h: use boost::
13223 * bufferlist.h: inherit privately from noncopyable
13225 * bufferlist.C (loadLyXFile): remove some commented code.
13227 * buffer.C (runChktex): use LFUN_MESSAGE
13229 * ShareContainer.h: inherit privately from noncopyable
13231 * ParagraphParameters.[hC] (depth): inline it.
13233 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13235 (message): new method
13236 (messagePush): ditto
13237 (messagePop): ditto
13238 (show): init minibuffer
13239 (showState): direct call
13241 * LaTeX.[Ch]: inherit privately from noncopyable
13242 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13243 instead of WriteStatus.
13245 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13247 * BufferView_pimpl.C (buffer): don't init minibuffer
13248 (workAreaButtonPress): use LFUN_MESSAGE
13249 (workAreaButtonRelease): ditto
13250 (savePosition): ditto
13251 (restorePosition): ditto
13252 (MenuInsertLyXFile): ditto
13253 (workAreaExpose): don't init minibuffer
13254 (update): remove commented code, simplify
13256 * BufferView2.C (openStuff): use LFUN_MESSAGE
13257 (toggleFloat): ditto
13260 (copyEnvironment): ditto
13261 (pasteEnvironment): ditto
13266 (updateInset): remove some commented code
13268 * lastfiles.h: inherit privately from noncopyable
13271 * lyx_main.h: ditto
13273 * lyxlex_pimpl.h: ditto
13275 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13276 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13277 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13279 * LyXAction.h: inherit privately from noncopyable, add methods
13280 func_begin, func_end, returning iterators to the func map.
13282 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13283 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13284 (func_begin): new method
13285 (func_end): new method
13287 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13289 (copySelection): ditto
13290 (pasteSelection): ditto
13292 * BufferView.C: whitespace change
13293 * BufferView.h: inherit privately from noncopyable
13295 2001-04-16 Allan Rae <rae@lyx.org>
13297 * tabular-old.C (l_getline):
13298 * spellchecker.C (sc_check_word):
13299 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13300 an unrecognised preprocessor directive. So ensure they're wrapped.
13302 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13304 * src/exporter.C (Export): Give an error message when path to file
13307 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13309 * LaTeX.C (deplog): Always check that foundfile exists.
13311 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13314 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13316 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13318 * tabular.[Ch] (getLabelList): implement new method
13320 * minibuffer.h: comment ouf setTiimer
13322 * minibuffer.C (ExecutingCB): constify res
13323 (peek_event): constify s
13324 (Set): constify ntext
13325 (Init): constify nicename
13327 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13329 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13330 (savePosition): use two params to Minibuffer::Set
13331 (restorePosition): ditto
13333 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13335 * lyx_main.C: include language.h
13337 * Makefile.am (lyx_main.o): add language.h
13339 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13345 * CutAndPaste.C: include gettext.h
13347 * lyxfont.h: remove old hack with ON and OFF.
13350 * lyxfont.h: do not include language.h...
13355 * bufferview_funcs.C:
13361 * paragraph.C: ... but do it here instead
13363 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13367 * tabular.C: small reformat
13369 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13372 (BreakParagraph): ditto
13373 (SetOnlyLayout): ditto
13376 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13379 * lastfiles.C: removed most using decl, add std:: where needed
13381 * buffer.C: ws changes
13383 * MenuBackend.C (class compare_format): put into anon namespace
13384 (expand): constify label, names, action, action2
13387 * text.C (SingleWidth): constify font
13388 (IsBoundary): constify rtl2
13389 (GetVisibleRow): constify ww
13391 * LaTeX.C (deplog): constify logfile
13393 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13395 (workAreaExpose): constify widthChange, heightChange
13397 * lyxrow.C (par): moved
13400 * lyxrow.h: as inlines here
13402 * lyxfont.h (shape): moved from lyxfont.C
13403 (emph): moved from lyxfont.C
13405 * lyxfont.C (LyXFont): use initialization list for all
13407 (shape): move to lyxfont.h as inline
13408 (emph): move to lyxfont.h as inline
13411 2001-04-04 Juergen Vigna <jug@sad.it>
13413 * vspace.C: had to include stdio.h for use of sscanf
13415 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13418 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13419 independent of xforms.
13421 2001-04-02 Juergen Vigna <jug@sad.it>
13423 * spellchecker.C: fixed namespace placing!
13425 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13427 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13428 the LyXParagraph * is 0.
13430 2001-03-29 Juergen Vigna <jug@sad.it>
13432 * vspace.C: added support for %, c%, p%, l%.
13433 (stringFromUnit): added helper function.
13434 (asLatexString): changed to give right results for the %-values.
13436 * buffer.C: convert the widthp in a width%.
13438 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13440 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13443 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13444 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13446 * lyx_cb.[Ch]: see above.
13448 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13452 * lyx.[Ch]: replaced by figure_form.[Ch].
13456 * lyxfunc.C: changed headers associated with above changes.
13458 2001-03-27 Juergen Vigna <jug@sad.it>
13460 * BufferView_pimpl.C: set the temporary cursor right!
13462 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13464 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13466 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13468 * LString.h: removed "using std::getline"!
13470 * BufferView_pimpl.C (Dispatch): changes due to changes in
13471 InsetInclude::Params.
13473 * buffer.C (tag_name): removed redundant break statements as they were
13474 producing lots of warnings with my compiler.
13476 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13478 * LString.h: add "using std::getline" when using the real <string>.
13480 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13482 * buffer.C: removed bitset usage.
13483 PAR_TAG moved to an anonymous name space.
13484 (tag_name): new funtion, also in the anonymous namespace.
13485 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13486 (makeDocBookFile): clean code. Completed transition from string arrays
13488 (SimpleDocBookOnePar): code clean.
13490 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13492 * tabular.C: add some comments.
13494 2001-03-22 Juergen Vigna <jug@sad.it>
13496 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13497 compatibility read a bit and fixed bug with minipage in different
13500 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13502 * buffer.C (pop_tag): removed.
13503 (push_tag): removed.
13504 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13505 array replaced with vector. Added support for CDATA sections.
13506 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13508 (makeDocBookFile): XML conformant declaration of CDATA section,
13509 fixed bug related to <emphasis> in the first paragraph char.
13510 (sgmlOpenTag): exclude empty tags.
13511 (sgmlCloseTag): ditto.
13513 * buffer.h (pop_tag): removed.
13514 (push_tag): removed.
13516 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13518 * language.h (Languages): added size_type and size().
13520 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13522 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13523 response on compability reading of minipages. One probliem is that
13524 the old usage of minipages was «flertydig»
13526 * several files here and in subdirs: don't use static at file
13527 scope use anon namespaces instead.
13529 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13531 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13532 LaTeX output. This is necessary for Literate document
13535 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13537 * buffer.C: insert hfill when needed.
13539 * tabular.C (l_getline): use string::erase, small whitespace change.
13541 * BufferView_pimpl.C: try the anon namespace.
13542 * WorkArea.C: ditto
13544 2001-03-16 Juergen Vigna <jug@sad.it>
13546 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13547 otherwise it won't open options-dialogs.
13549 * buffer.C: honor pextraWidth(p) on converting minipages.
13551 * tabular.C (l_getline): changed the functions to strip trailing \r.
13553 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13555 * BufferView_pimpl.C:
13556 * minibuffer..C: added "using SigC::slot" declaration.
13558 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13560 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13566 * paragraph.C: ditto
13568 * lyxtext.h: NO_PEXTRA
13570 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13572 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13573 * ParameterStruct.h: ditto
13574 * ParagraphParameters.h: ditto
13575 * lyxparagraph.h: ditto
13577 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13579 * buffer.C: add compability for minipage alignment.
13580 (latexParagraphs): remove unwanted pextra check.
13582 * several files: remove CXX_WORKING_NAMESPACES
13584 * buffer.C (pop_tag): tie is in namespace boost
13586 * BufferView.h: noncopyable is in namespace boost
13588 * lyx_main.h: ditto
13591 * lastfiles.h: ditto
13592 * bufferlist.h: ditto
13593 * ShareContainer.h: ditto
13595 * LyXAction.h: ditto
13598 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13600 * Merging changes from BRANCH_MVC back into HEAD.
13602 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13604 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13606 * BufferView_pimpl.C: change from intl.C
13610 * Makefile.am: move combox.*
13616 * intl.C: remove dialog (covered by prefs)
13618 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13620 * lyxfunc.C (Dispatch): removed redundant break statement.
13622 2001-03-14 Juergen Vigna <jug@sad.it>
13624 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13626 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13628 * buffer.C: add hack to fix compability reading of minipages.
13630 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13632 * buffer.C (getLists): Cleanup.
13634 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13636 * lyxfont.C (update): don't honor toggleall on font size.
13638 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13642 * Makefile.am: moved to frontends/xforms/
13646 * BufferView_pimpl.C: changes for moved mathpanel
13648 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13650 * gettext.h: fix gettext_init() in --disable-nls
13652 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13654 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13656 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13659 * lyx.h: strip external form
13661 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13663 * BufferView_pimpl.C: add comment, destroySplash()
13665 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13667 * BufferView_pimpl.C:
13671 * lyxfunc.C: use re-worked insetinclude
13673 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13675 * buffer.C: add using std::stringstream.
13677 * lyx_cb.C: readd using std::ios.
13679 * buffer.C: add using std::map.
13681 * BufferView_pimpl.C: add using std::vector.
13683 * ShareContainer.h: add std:: to swap.
13685 * buffer.h: add some typedefs
13686 * buffer.C (getLists): use them
13687 (getLists): renamed from getTocList.
13688 add a counter for the different float types and use it in the
13690 (getLists): use the same counter for the NEW_INSETS and the "non"
13693 * lyx_cb.h: remove unused items, includes, using etc.
13695 * ShareContainer.h: remove some commented code, add more comments
13696 and "documentation".
13698 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13700 * buffer.C (getTocList): make the list also when NEW_INSETS is
13703 * buffer.h: remove TocType
13705 * buffer.C (getTocList): change to return a map<string,
13706 vector<TocItem> >, implement for dynamic number of list.
13708 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13709 * text2.C (PasteSelection): adjust
13710 * CutAndPaste.C (pasteSelection): adjust
13712 * FloatList.C (FloatList): update from the new_insets branch.
13713 * Floating.[Ch]: ditto
13714 * LaTeXFeatures.C: ditto
13716 * lyxlex_pimpl.C: ditto
13718 * paragraph.C (Last): remove when NEW_INSETS is defined.
13720 * other file: changes because of the above.
13722 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13724 * lyxparagraph.h: rename next to next_, previous to previous_,
13725 make them private for NEW_INSETS. Rename Next() to next(),
13726 Previous() to previous().
13728 * other files: changes because of the above.
13730 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13733 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13736 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13738 * main.C (main): pass lyx_localedir to gettext_init().
13740 * gettext.h: remove locale_init and gettext_init macros
13742 * gettext.C (locale_init): new function
13743 (gettext_init): new function
13745 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13748 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13750 * Moved credits to frontends:
13751 * credits.[Ch]: removed
13752 * credits_form.[Ch]: removed
13753 * lyx_gui_misc.C: remove credits stuff
13756 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13758 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13760 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13761 unneeded destructor.
13763 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13764 a standalone pointer again.
13766 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13768 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13774 * ToolbarDefaults.C:
13783 * BufferView_pimpl.C: use new file dialog in GUII
13786 * lyx_cb.C: remove LayoutsCB to Toolbar
13788 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * ShareContainer.h (get): add std:: qualifier
13792 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * ShareContainer.h: define a proper ShareContainer::value_type
13795 type (and use typename to please compaq cxx)
13797 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13799 * lyxparagraph.h: move serveral local vars to
13800 ParameterStruct/ParagraphParameters., use ShareContainer in
13801 FontTable., make vars in FontTable private and add getter and
13804 * paragraph.C: changes because of the above.
13806 * lyxfont.h: remove copy constructor and copy assignment. (the
13807 default ones is ok), move number inside FontBits. move inlines to
13810 * lyxfont.C: add number to initializaton of statics, move several
13811 inlines here. constify several local vars. some whitespace
13812 cleanup. Dont hide outerscope variables.
13814 * Spacing.h: add two new constructors to match the set methods.
13816 * ShareContainer.h: new file, will perhaps be moved to support
13818 * ParameterStruct.h: new file
13820 * ParagraphParameters.h: new file
13822 * ParagraphParameters.C: new file
13824 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13825 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13827 * BufferView_pimpl.C: ParagraphParameter changes.
13828 * buffer.C: Likewise.
13829 * bufferview_funcs.C: Likewise.
13830 * text.C: Likewise.
13831 * text2.C: Likewise.
13833 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13835 * lyxfind.C (LyXReplace): do not redefine default argument in
13837 (IsStringInText): ditto
13838 (SearchForward): ditto
13839 (SearchBackward): ditto
13841 2001-03-06 Juergen Vigna <jug@sad.it>
13843 * lyxfind.C (IsStringInText): put parentes around expressions.
13845 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13847 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13849 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13851 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13853 * stl_string_fwd.h: add comment
13855 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13858 * tabular.C: remove unused DocBook methods
13864 killed DO_USE_DEFAULT_LANGUAGE
13866 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * lyx_gui.C: do not include language.h.
13870 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13871 arguments in function implementation.
13873 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13875 * BufferView_pimpl.C: add <ctime>
13877 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13879 * BufferView_pimpl.C: add using std::find_if
13881 2001-02-27 José Matos <jamatos@fep.up.pt>
13883 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13886 2001-02-11 José Matos <jamatos@fep.up.pt>
13888 * buffer.C (makeDocBookFile): command styles now have a parameter as
13889 "title" by default.
13891 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13893 * layout_forms.[Ch]: removed
13894 * lyx_cb.[Ch]: out character
13895 * lyx_gui.C: out character
13896 * lyx_gui_misc.C: out character
13897 * bufferview_funcs.C: : out character,
13898 added toggleall as parameter in ToggleAndShow
13900 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13902 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13904 * text2.C (SetCurrentFont): Disable number property at boundary.
13906 2001-02-26 Juergen Vigna <jug@sad.it>
13908 * lyxfunc.C (getStatus): added a string argument override function so
13909 that this is correctly called from LyXFunc::Dispatch if it contains a
13910 do_not_use_argument which is used!
13911 (Dispatch): added check for "custom" export and call appropriate func.
13913 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13915 * lyxrc.C: Add language_command_local, language_use_babel and
13916 language_global_options.
13918 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13920 * buffer.C (makeLaTeXFile): Use language_use_babel and
13921 language_global_options.
13923 2001-02-23 Juergen Vigna <jug@sad.it>
13925 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13926 which works with LyXText and putted it inside BufferView. Here now we
13927 only call for that part the BufferView::Dispatch() function.
13929 * BufferView.C (Dispatch): added.
13931 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13932 functions which needs to use a LyXText over from LyXFunc.
13933 (MenuInsertLyXFile): added
13934 (getInsetByCode): added
13935 (moveCursorUpdate): added
13936 (static TEXT): added
13938 2001-02-22 Juergen Vigna <jug@sad.it>
13940 * BufferView_pimpl.C (update): call a status update to see if LyXText
13943 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13945 * vc-backend.C (revert): implement for CVS
13946 (getLog): implement for CVS
13948 2001-02-20 Juergen Vigna <jug@sad.it>
13950 * text2.C (ClearSelection): added BufferView param for inset_owner call
13952 * lyxfunc.C (TEXT): added this function and use it instead of
13953 directly owner->view()-text of getLyXText().
13955 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13957 * src/layout_forms.C: out preamble
13958 * src/layout_forms.h: out preamble
13959 * src/lyx_cb.C: out preamble
13960 * src/lyx_cb.h: out preamble
13961 * src/lyx_gui.C: out preamble
13962 * src/lyx_gui_misc.C: out preamble
13963 * src/lyxfunc.C: connect with guii preamble
13965 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13967 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13969 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13971 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13972 whether to run bibtex.
13974 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13976 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13978 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13980 * Makefile.am (lyx_SOURCES): removed bibforms.h
13982 * vspace.h: doxygen
13984 * text.C (GetVisibleRow): make several local vars const
13986 * tabular.C: small cleanup.
13988 * lyxserver.C (callback): use compare instead of strncmp
13990 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13991 inlines to after class or to paragraph.C
13993 * lyxfont.h: remove friend operator!=
13995 * converter.h: move friend bool operator< to non friend and after
13998 * combox.h: small cleanup
14000 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14001 to inlines after class def.
14003 * buffer.C (pop_tag): use string operations instead of strcmp
14005 * bmtable.c: doxygen, small cleanup
14007 * LaTeX.h: remove friend operator==
14009 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14021 * BufferView_pimpl.C:
14022 * BufferView.[Ch]: remove cruft
14024 2001-02-14 Juergen Vigna <jug@sad.it>
14026 * lyxfunc.C: removed #if 0 unused code
14028 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14030 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14032 * text2.C (SetSelection): added a BufferView * parameter
14034 2001-02-13 Juergen Vigna <jug@sad.it>
14036 * lyxfunc.C (Dispatch): fixed protected blank problem.
14037 * BufferView2.C (protectedBlank): added LyxText * parameter.
14039 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14040 (AppendColumn): same as above for column_info.
14042 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14043 (moveCursorUpdate): use a LyXText param for support of InsetText.
14045 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14046 (tripleClick): ditto
14048 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14050 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14052 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14054 * text2.C (SetSelection): set correct update status if inset_owner
14055 (ToggleFree): ditto
14057 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14059 * tabular.C: remove some commented code.
14061 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14063 * BufferView_pimpl.C: call hideSplash()
14065 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14068 * bibforms.h: remove
14071 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14072 add LFUN_CHILD_CREATE
14074 * counters.h: fix tiny typo
14079 * lyx.C: move splash to frontends/xforms/
14081 * lyx_gui_misc.C: move Include and Bibform to frontends
14083 * lyxvc.h: clarify comment
14085 * vspace.C: tiny housekeeping
14087 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14089 * text.C (PrepareToPrint): RTL Fix.
14091 * paragraph.C (GetUChar): New method.
14092 (String): Use GetUChar.
14094 * buffer.C (asciiParagraph): Use GetUChar.
14096 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14098 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14100 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14103 * buffer.C: rename to getLogName(), handle
14104 build log / latex log nicely
14106 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14109 * MenuBackend.h: remove support for reference menuitem type.
14111 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14113 * BufferView_pimpl.C: housekeeping
14114 * BufferView_pimpl.h:
14119 * minibuffer.h: move Timeout GUI-I
14121 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14123 * lyxrc.C (read): Update converters data-structures.
14125 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14127 * LaTeX.h (operator!=): add operator != for Aux_Info
14129 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14131 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14133 * LaTeXLog.C: deleted, useful code moved to Buffer
14136 * buffer.C: new function getLatexLogName()
14142 * lyxfunc.C: use frontends for LaTeX and VC logs
14144 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14146 * LaTeX.h: yet another std:: that Allan forgot.
14148 * Variables.C (set): renamed from isset(), because this clashes
14149 with some HP-UX macros (grr).
14151 2001-02-06 Allan Rae <rae@lyx.org>
14153 * LaTeX.h: Another bug fix. Missing std:: this time.
14155 2001-02-04 Allan Rae <rae@lyx.org>
14157 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14158 floats problem. I've left it commented out because it's not quite
14159 correct. It should also test that the current object is a table or
14160 figure inset. But I haven't gotten around to figuring out how to do
14161 that. I *think* it'll be something like: "table" == inset.type()
14163 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14166 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14168 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14169 all the citation/databases/styles in the auxilary file.
14170 (run): Rerun latex if there was a babel language error.
14172 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14174 * text.C (Backspace): Preserve the font when changing newline char
14176 (BreakParagraph): If the cursor is before a space, delete the space.
14178 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14180 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14182 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14183 new argument (code).
14184 (ChangeCitationsIfUnique): New method.
14186 * paragraph.C (GetPositionOfInset): Handle bibkey.
14188 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14190 * BufferView_pimpl.h: change type of Position::par_pos to
14191 LyXParagraph::size_type.
14193 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14195 * BufferView_pimpl.C (savePosition, restorePosition): Write
14196 messages to minibuffer.
14198 2001-01-28 José Matos <jamatos@fep.up.pt>
14200 * buffer.C (makeDocBookFile): adds support for document language.
14201 A silly restriction on the name of LatexCommand types where removed.
14202 Added support for CDATA sections, allows to chars unescaped, used
14203 among others in code, to avoid escape < and >.
14205 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14207 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14208 saved positions instrad of a stack. Furthermore, a position is
14209 stored using paragraph id/paragraph position.
14211 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14212 Remove LFUN_REF_BACK.
14214 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14216 * converter.C (dvipdfm_options): New method.
14218 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14220 * vspace.C (isValidLength): Fix for empty input string.
14222 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14224 * LyXAction.C (init): change description of LFUN_FIGURE to
14227 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14229 * LaTeX.C: add using directive
14231 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14233 * MenuBackend.C (expand): Fix the sorting of the formats.
14235 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14237 * lyx_main.C: tiny error message fix
14239 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14241 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14242 calling fl_initialize(). This fixes the problem with ',' as
14243 decimal separator in text files.
14245 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14247 * trans.C (process): Fix the keymap bug.
14249 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14251 * LaTeX.C (scanAuxFiles): New method. Provides support for
14252 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14253 (scanLogFile) Scan for "run BibTeX" messages.
14255 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14256 OT1 font encoding. Also, load the aecompl package if the ae
14259 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14261 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14263 * texrow.C (increasePos): turn two error messages into debug
14266 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14268 * LaTeX.C (scanAux): Handle the \@input macro.
14269 (runBibTeX): Use scanAux().
14271 * language.C (latex_options_): New field.
14273 * LaTeXFeatures.C (getMacros): Add language macros.
14275 * buffer.C (makeLaTeXFile): Small fix.
14277 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14279 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14281 * text2.C: add a using directive.
14283 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14288 * lyxfunc.C: kill LyXBell.
14290 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14292 * text.C (IsBoundary): Remove the error message
14294 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14296 * lyxrc.C (setDefaults): Correct initialization value for
14299 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14301 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14304 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14305 and GotoNextNote().
14307 * src/LyXAction.C: Added reference-next.
14309 * text.C (InsertChar): Use contains instead of strchr.
14311 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14313 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14315 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14316 alignment commands (when needed).
14318 * text.C (InsertChar): Add ':' to number separator chars.