1 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * Chktex.C: include boost/format.hpp
5 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * InsetList.C: replace functor MathcIt with adaptable functor
9 (insetIterator): modify accordingly
11 * BranchList.h: move the BranchNamesEqual functor here from...
12 * BranchList.C: ... to here
14 * BranchList.C: new BranchListEqual fuctor, use it. Remove
16 (add): replace a finding loop with std::find_if.
18 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
20 * output_docbook.C: moving LatexParam functionality into
23 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * buffer.C: increment format to 229.
27 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
30 * lyx_sty.[Ch]: remove minipageindent_def
36 * text3.C: remove LFUN_INSET_MINIPAGE
38 2003-12-28 Angus Leeming <leeming@lyx.org>
40 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
42 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
44 * text2.C (setParagraph): fix off-by-one crash
46 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
48 * output_docbook.C: header stuff for AGU
50 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
52 * text2.C (redoCursor): remove
55 * BufferView_pimpl.C: remove calls to redoCursor and
56 setCursor(cursor.par(), cursor.pos()) all around
58 2003-12-15 Angus Leeming <leeming@lyx.org>
60 * buffer.C: up the format to 228.
62 2003-12-15 André Pönitz <poenitz@gmx.net>
64 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
78 2003-12-15 Angus Leeming <leeming@lyx.org>
80 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
81 than getFromGUIName to manipulate the color.
83 2003-12-14 Angus Leeming <leeming@lyx.org>
85 * BranchList.[Ch]: minimize the API.
86 (Branch::getBranch, getColor): now return a 'const &'.
87 (Branch::setSelected) now returns a bool set to true if the
88 selection status changes.
89 (BranchList::clear, size, getColor, setColor, setSelected,
90 allBranches, allSelected, separator): removed.
91 (BranchList::find): new functions, returning the Branch with
93 (BranchList::add, remove): return a bool indicating that
94 the operation was successful.
96 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
97 new InsetBranch::isBranchSlected member function.
99 * LColor.[Ch]: mimimize the API.
100 (fill): renamed as addColor and made private.
101 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
102 versions of these functions taking a string arg have been removed.
104 * bufferparams.C (readToken):
105 * lyxfunc.C (dispatch):
106 * lyxrc.C (read): changes due to the altered BranchList and
109 * factory.C (createInset, readInset): changes due to altered
112 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * lyxfunc.C: remove insetminipage. "minipage-insert"
116 now produces a frameless minipage box inset.
118 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
120 * textcursor.[Ch] (selStart,selEnd): add new methods
121 remove selection::start, end, use LyXCursor::operator<
122 * lyxcursor.[Ch] (operator<): add
123 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
124 * BufferView.[Ch] (unsetXSel): add
125 * text2.C (clearSelection): use unsetXSel,adjust
128 * rowpainter.C: adjust
129 * bufferview_funcs.C (put_selection_at): adjust
131 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
133 * BufferView_pimpl.C: small coord. correction
135 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
137 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
138 dragging over the splash screen.
140 2003-12-11 Angus Leeming <leeming@lyx.org>
142 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
143 as it is now handled in LyXText::dispatch.
145 * text3.C (doInsertInset): remove a level of nesting.
147 2003-12-11 Angus Leeming <leeming@lyx.org>
149 * factory.C (createInset): changes due to the changed interface to
150 InsetCommandMailer::string2params.
152 2003-12-10 Angus Leeming <leeming@lyx.org>
154 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
155 'dialog-show-new-inset <inset name>'
157 2003-12-10 Angus Leeming <leeming@lyx.org>
159 * buffer.C: up the format to 227.
161 * factory.C: the box inset is now identified simply by 'Box'.
163 2003-12-10 Angus Leeming <leeming@lyx.org>
165 * buffer.C: up the format to 226.
167 * factory.C: the note inset is now identified simply by 'Note'.
169 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
171 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
172 when a pit is enough. Standarize a couple of loops.
174 2003-12-05 Angus Leeming <leeming@lyx.org>
176 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
177 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
178 data to the re-worked "log" dialog.
180 2003-12-03 André Pönitz <poenitz@gmx.net>
188 * text2.C: use Inset::getText instead of Inset::getParagraph
190 2003-12-03 André Pönitz <poenitz@gmx.net>
194 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
195 InsetText::read() as LyXText::read()
197 2003-12-02 Angus Leeming <leeming@lyx.org>
199 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
200 type. Add a comment in the implementation that the function uses
201 the stream's bad() function rather than fail() as the std::streams
204 2003-12-02 André Pönitz <poenitz@gmx.net>
206 * lyxlex.[Ch]: make interface more similar to std::stream
208 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
210 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
212 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
214 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
216 * vspace.[Ch]: remove VSpace::NONE
218 2003-12-01 André Pönitz <poenitz@gmx.net>
221 * lyxtext.h: move ParagraphList member to LyXText
222 rename LyXText::ownerParagraphs to LyXText::paragraph
225 * bufferview_funcs.C:
235 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
237 * undo.C: fix cursor positioning
239 2003-12-01 John Levon <levon@movementarian.org>
241 * BufferView_pimpl.C: fix a crash on exit with
244 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
246 * BranchList.C: fix setSelected() method.
248 2003-11-28 André Pönitz <poenitz@gmx.net>
250 * ParagraphParameters.[Ch]:
251 * ParameterStruct.h: remove space above/below from Paragraph to
254 * BufferView_pimpl.C:
266 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
268 * factory.C: Syntax change for CharStyles
270 2003-11-28 André Pönitz <poenitz@gmx.net>
275 * buffer.[Ch]: move LyXText member
277 2003-11-28 André Pönitz <poenitz@gmx.net>
279 * BufferView.[Ch]: make LyXText * text a private member
281 * BufferView_pimpl.C:
292 * output_plaintext.C: cleanup
294 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
297 * lyxtextclass.[Ch]: parametrize SGML document header
299 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
302 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
305 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
307 * text2.C (setFont): rework using PosIterator (no more recursive)
308 (setCharFont): no more needed
309 (setLayout): no more selection cursors fiddling (done by redoCursor)
310 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
311 destroy remaining ones)
313 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
315 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
317 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
320 * text3.C: adjust + re-allow multi par depth changes
321 * textcursor.C: simplify a bit
323 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
329 * src/output_docbook.C:
330 * src/output_latex.C:
335 * src/text2.C: Introducing a number of tags parametrizing various
336 XML formats that we may want to support
338 2003-11-25 André Pönitz <poenitz@gmx.net>
340 * InsetList.[Ch] (begein, end): inline as suggested by profiler
342 * lyxtext.h (leftMargin/rightMargin): simplify interface
349 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
351 * lyxfunc.C (dispatch): propogate the bibtex databases from the
352 master file to any child files. Fixes bug 546.
354 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
356 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
358 2003-11-24 André Pönitz <poenitz@gmx.net>
360 * rowpainter.C: simplification
362 * text2.C (updateCounters): remove call to redoParagraph on
363 changed labels as this is far too expensive.
365 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
367 * converter.C (convert): fix a crash: this function gets
368 called with buffer == 0 from importer code.
370 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
372 * text3.C (cursorPrevious): make sure that we do not compare
373 iterators form different containers.
376 * rowpainter.C (paintSelection): make sure that we do not compare
377 iterators from different containers.
379 * text3.C (dispatch): [PRIOR] make sure that we do not compare
380 iterators from different ParagraphList containers.
383 * text2.C (LyXText): change order of initialization slightly
384 (operator=): new function. copy all variables except cache_par_
385 (moveUp): make sure that we do not compare iterators from
386 different ParagraphList constainers.
389 * text.C (firstPar): new function
390 (lastPar): new function
391 (endPar): new function
393 * lyxtext.h: move things around and group public functions, public
394 variables, private functions, private variables
396 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
398 * factory.C: change call to InsetERT constructor to avoid
399 additional invocation of method status
400 * text2.C (toggleInset): remove redundant update() call
401 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
402 instead of a Bufferview pointer
404 2003-11-21 André Pönitz <poenitz@gmx.net>
406 * rowpainter.C: simplification
408 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
410 * text3.C (dispatch): make possible to extend a word/row selection
413 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
415 * lyxtext.h: x0_,y0_ -> xo_,yo_
416 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
417 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
418 * rowpainter.C (paintRows): paint full paragraphs
420 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
422 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
425 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
427 * lyxtext.h: add x0_, y0_
428 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
429 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
431 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
433 * text2.C (setCursorIntern): move the x_target update here *
434 * text3.C: change some bv() to true/false in calls to
435 cursorUp/Down/Right/Left
436 * cursor.C: use helper function.
438 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
440 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
441 * paragraph_funcs.[Ch]: correct comment
442 * rowpainter.C: do not paint selections away from bv->cursor()
443 Fix a long standing selection painting bug.
444 * text3.C: generalize mouse-selection code to LyXTexts other that
446 * textcursor.C: do not use y coords if we can use par offsets
448 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
450 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
451 cursor position after e.g. inset insert)
453 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
455 * lyxfind.C (replace): adjust to locking removal + some
458 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
460 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
463 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
466 * output_docbook.C: XML sanitation: new layout
467 parameters InnerTag and CommandDepth
469 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
471 * BufferView_pimpl.C:
473 * text3.C: Fix the insertion and modification of button-style
476 2003-11-13 André Pönitz <poenitz@gmx.net>
478 * InsetList.[Ch]: remove deleteLyXText
480 * paragraph.[Ch]: cache beginOfBody position
485 * text3.C: remove superfluous update() calls
489 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
491 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
492 * BufferView.C (fitLockedInsetCursor): remove
493 * cursor.[Ch] (getDim): add
494 * text.C (getRowNearY): add faster version
495 * text3.C: remove some update calls
497 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
509 * text3.C: The Character Style /XML short element patch.
511 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
514 * factory.C: Small step to solving 'unable to insert some insets'
517 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
519 * cursor.[Ch] (updatePos): new function for updating the y
520 position of the tip inset
521 * bufferview_funcs.C (put_selection_at):
522 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
524 2003-11-11 André Pönitz <poenitz@gmx.net>
526 * text.C: remove big comment on invalid Paragraph pointers as it is
529 2003-11-11 André Pönitz <poenitz@gmx.net>
531 * text_funcs.[Ch]: merge with ...
539 * Makefile.am: remove text_funcs.[Ch]
541 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
543 * cursor.C (getPos): return absolute cached y coord
545 * BufferView_pimpl.C (fitCursor): new simplistic code
546 (workAreaDispatch): add a fitCursor call
548 2003-11-10 André Pönitz <poenitz@gmx.net>
551 * BufferView_pimpl.[Ch]: merge update() and updateInset()
553 2003-11-10 André Pönitz <poenitz@gmx.net>
555 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
556 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
557 indicate that the cursor needs to leave an inset
559 * lyxtext.h: remove inset locking
561 * cursor.[Ch]: re-implement functionality provided by inset locking
564 * BufferView_pimpl.[Ch]:
566 * bufferview_funcs.[Ch]:
578 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
580 * PosIterator.[Ch]: replace the stack with a vector, add inset
582 * iterators.[C]: adjust
584 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
586 * lyxfind.C (replaceAll): mark the buffer dirty if something was
588 * paragraph_funcs.C (readParToken): put the correct id in the
589 error item, not the id of the top paragraph
591 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
593 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
594 * bufferview_funcs.C (put_selection_at): use the above
596 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
598 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
600 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * output_plaintext.h:
605 * output_docbook.h: add #include statements
607 2003-11-05 José Matos <jamatos@lyx.org>
609 * output_docbook.[Ch]:
611 * output_linuxdoc.[Ch]:
612 * output_plaintext.[Ch]: New files for output formats.
613 * output.[Ch]: New file for helper functions.
616 * paragraph_funcs.[Ch]: output functions moved to new files.
618 * outputparams.h: rename of latexrunparams.h
626 * paragraph_funcs.[Ch]:
627 * paragraph_pimpl.[Ch]:
628 * tabular.[Ch]: rename ascii to plaintext
629 and LatexRunParams to OutputParams.
631 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
633 * iterators.[Ch] (text): require bv argument
634 * undo.C (recordUndo):
635 * lyxfunc.C (dispatch):
636 * bufferview_funcs.C (put_selection_at): adjust
638 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
640 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
642 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
644 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
647 2003-11-04 André Pönitz <poenitz@gmx.net>
649 * cursor.[Ch]: restructure
652 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
654 * iterators.[Ch] (asCursor): remove
656 * lfuns.h: remove LFUN_INSET_EDIT
662 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
664 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
666 * lyxfind.[Ch]: complete overhaul
667 * BufferView_pimpl.C:
669 * paragraph.[Ch] (insert): add
671 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
675 * text.C: remove dead spellcheck code
677 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
679 * dispatchresult.h: add a val setter
681 * cursor.C (dispatch): use a tempvar for data_[i]
683 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
685 * PosIterator.[Ch]: compile fix
687 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
689 * text.C (cursorPar): deactivate the cursor cache
691 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
693 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
695 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
697 * text3.C (dispatch): adjust for new DisptchResult semantics.
699 * lyxfunc.C (dispatch): handle update when return from
700 Cursor::dispatch, adjust for new DispatchResult semantics.
702 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
703 DispatchResult(true) mean to not update. Add class functions for
704 setting dispatched and update, as well as reading.
706 * cursor.C (dispatch): don't handle update here
708 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
711 * trans_mgr.C: adjust
713 * paragraph_funcs.C (readParToken): exception safety
715 * lyxvc.h: store the vcs pointer in a scoped_ptr
718 * lyxsocket.C (serverCallback): exception safety
720 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
722 * ispell.C (clone): make it return a auto_ptr
724 * factory.C (createInset): exception safety
725 (readInset): exception safety
727 * bufferlist.C (newBuffer): exception safety
729 * Thesaurus.C (Thesaurus): use initialization for aik_
731 * MenuBackend.C (expandToc): exception safety.
733 2003-11-03 André Pönitz <poenitz@gmx.net>
737 * bufferview_funcs.C: remove getInsetFromId()
740 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
746 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
748 * PosIterator.C (distance, advance): new
749 * bufferview_funcs.[Ch] (put_selection_at): new
750 * iterators.[Ch] (lockPath): new
752 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
754 * iterators.[Ch] (asPosIterator): added
755 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
756 * PosIterator.[Ch]: added
758 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
762 * cursor.C (dispatch):
763 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
765 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
766 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
767 contructor, add a class function dispatched. Remove operator>=
769 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
771 * debug.C: only use the default constructor for debugstream
774 * main.C (main): include debug.h and setup the lyxerr streambuf
777 2003-10-31 José Matos <jamatos@lyx.org>
779 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
781 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
782 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
783 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
784 * paragraph_pimpl.C (simpleTeXSpecialC):
785 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
786 add LatexRunParams argument.
788 * exporter.C (Export): change call accordingly.
790 * latexrunparams.h: add new member to take care of the other backends.
791 2003-10-30 José Matos <jamatos@lyx.org>
793 * buffer.C (makeLinuxDocFile, makeDocBookFile):
794 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
795 factorise code for paragraph output.
797 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
800 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
802 * text3.C (dispatch):
803 * lyxfunc.C (dispatch):
804 * cursor.C (dispatch):
805 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
807 * dispatchresult.h: make the dispatch_result_t ctor explicit
809 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
812 * buffer.C: small refactoring of docbook stuff
814 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
816 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
819 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
821 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
822 operator dispatch_result_t, and operators for == != and >=
824 * cursor.C (dispatch): adjust for operator dispatch_result_t
825 removal. comment out call to update
827 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
829 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
840 * dispatchresult.h: new file, DispatchResult broken out of
843 * Makefile.am (lyx_SOURCES): add dispatchresult.h
845 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
847 * text.C (rowBreakPoint): put a hack inside #if 0
849 2003-10-28 André Pönitz <poenitz@gmx.net>
856 * text2.C: general cleanup (lots of small stuff)
858 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
860 * text2.C (cursorEnd): simple fix to the "end key goes to one
861 before the end on last row" bug
863 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
865 * text.C (backspace): fix the "zombie characters"
867 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
869 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
871 2003-10-27 André Pönitz <poenitz@gmx.net>
873 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
875 * factory.C: handle new InsetPagebreak, InsetLine
877 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
878 and move handling into new InsetPagebreak, InsetLine
880 * BufferView_pimpl.C:
882 * ParagraphParameters.C:
895 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
904 * text3.C: remove lastPos uses in favour of Row::endpos
906 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
908 * undo.C (performUndoOrRedo): fix two crashes by setting a
909 cursor by hand and reordering some calls. Use bv->lockInset instead
910 of inset->edit because the latter loses cursor information
912 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
914 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
916 (rowBreakPoint): fix width. change point to point + 1.
919 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
922 * lyxfunc.C: fix (at least partly) the problems
923 with the Nav menu and headers inside branch insets
926 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
928 * paragraph.C (getChar): add strong asserts
930 * lyxrow_funcs.C (lastPos): remove hideous hack
932 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
933 (fill): adjust to that (avoid an infinite loop)
935 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
937 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
939 2003-10-23 André Pönitz <poenitz@gmx.net>
941 * RowList_fwd.h: change list<> to vector<> to gain speed
942 after suggestion from Alfredo
944 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
946 * lyxtext.h: move the bidi stuff from here...
949 * Bidi.[Ch]: ... to here
951 2003-10-23 André Pönitz <poenitz@gmx.net>
954 * text.C (isLastRow, isFirstRow): new functions
956 * paragraph.h: new width cache member
958 * rowpainter.C: replace RowList::iterator with Row & where possible
960 * lyxfunc.C: replace several view()->text with a single call
962 * toc.C: fix 'unused' warning
964 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
967 when woring with stream::pos_type
968 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
970 2003-10-22 André Pönitz <poenitz@gmx.net>
973 * text.C: use Row & instead of RowList::iterator
975 * lyxrow.h: rename end() to endpos()
981 2003-10-22 Angus Leeming <leeming@lyx.org>
983 * buffer.[Ch] (fully_loaded): new member function, returning true
984 only when the file has been loaded fully.
985 Used to prevent the premature generation of previews and by the
986 citation inset to prevent computation of the natbib-style label.
988 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
989 templates are all set up.
991 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
993 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
995 * text.C: fixed an "oops" in the "is a bit silly"
998 2003-10-21 André Pönitz <poenitz@gmx.net>
1000 * FuncStatus.[Ch]: small stuff, whitespace
1002 * lyxfont.[Ch]: operator<<() for debug reasons
1006 * lyxtext.h: whitespace, spelling
1008 * paragraph.C: naming of variables
1011 * text2.C: small stuff
1014 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1016 * text.C: (1) finish off the inset display() work;
1017 (2) fix the "is a bit silly" bug (accessing char
1020 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1022 * text.C: re-introduce display() for insets, fixing the
1023 various bugs (stretch of line above, math inset
1026 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1028 * text.C (rightMargin): remove spurious semicolon
1030 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1033 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1035 * text3.C: fix one crash due to wrong cursor def
1037 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1039 * vc-backend.C (scanMaster): make the regex static
1041 * LaTeX.C (scanAuxFile): make the regexs static
1043 * text3.C (doInsertInset, dispatch, dispatch):
1044 * text2.C (cursorUp, cursorDown):
1045 * text.C (selectNextWordToSpellcheck):
1046 * BufferView_pimpl.C (dispatch):
1047 * lyxfunc.C (dispatch): localDispatch -> dispatch
1049 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * lyxsocket.C: include <cerrno>
1053 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * lyxfunc.C (dispatch): remove textcache stuff
1057 * bufferlist.C (release): remove textcache stuff
1060 * TextCache.C: delete file
1061 * TextCache.h: delete file
1063 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1065 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1066 delete of the bv_->text.
1067 (resizeCurrentBuffer): remove texcache stuff
1068 (workAreaResize): ditto
1070 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1072 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1075 2003-10-16 André Pönitz <poenitz@gmx.net>
1082 * text3.C: speed up by storing y positions per paragraph plus per-row
1083 offset instead of having a 'full' y position in the row.
1085 2003-10-15 André Pönitz <poenitz@gmx.net>
1089 * undo.[Ch]: make undo aware of inner insets
1091 2003-10-14 Angus Leeming <leeming@lyx.org>
1093 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1094 static member functions LyX::ref() and LyX::cref.
1095 (lastfiles): new accessor functions for the new lastfiles_ member var.
1096 (addLyXView, views_): add a new LyXView to the list of views_.
1097 (updateInset): loop over all LyXViews to call their own updateInset
1098 member function, returning a pointer to the Buffer owning the inset.
1100 * BufferView_pimpl.C (loadLyXFile):
1101 * MenuBackend.C (expandLastfiles):
1102 * bufferlist.C (MenuWrite, QuitLyX):
1103 lastfiles is no longer a global variable.
1104 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1106 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1107 static function. Access through LyX::cref().emergencyCleanup().
1109 2003-10-14 André Pönitz <poenitz@gmx.net>
1111 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1113 * undo.[Ch]: restoring part of 'undo in insets'
1116 * undo_funcs.[Ch]: merge with undo.[Ch]
1118 * tabular.C: small cleansing stuff
1120 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1122 * paragraph_funcs.C (readParToken): report unknown insets as error
1123 boxes. Use the outer paragraph as location (also for unknown
1126 * factory.C (readInset): do not abort on reading an unknown inset.
1127 Eat it and return 0.
1129 2003-10-13 Angus Leeming <leeming@lyx.org>
1131 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1133 * lyxrc.C: displayTranslator is now a function,
1134 declared in GraphicsTypes.h.
1136 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1138 * format.C: new placeholder $$a to pass the socket address.
1140 * bufferlist.[Ch]: new function getBufferFromTmp.
1142 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1143 files in the temporary dir.
1145 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1147 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1149 * Makefile.am: add lyxsocket.[Ch].
1151 * lyx_main.C (error_handler): handle SIGPIPE.
1153 2003-10-13 André Pönitz <poenitz@gmx.net>
1155 * BufferView_pimpl.C:
1160 * undo_funcs.[Ch]: use paroffset_type instead of
1161 ParagraphList::iterators to prevent multiple conversion
1162 (and get a more robust interface)
1164 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1166 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1168 * text3.C (dispatch): ditto
1170 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1173 move the onlyfile, use onlyfile instead of foundfile in a couple
1176 * DepTable.C (update): flush the error stream a bit more
1178 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * lyxserver.C (callback): adjust
1182 * lyxfunc.C (getStatus): add a missing brace in commented code
1183 (ensureBufferClean): reindent
1184 (dispatch): delete version taking a string
1186 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1188 * LaTeX.C (deplog): move found file handlig from here...
1189 (handleFoundFile): .. to new function here.
1190 (deplog): make sure to discover several files mentioned on the
1193 2003-10-10 André Pönitz <poenitz@gmx.net>
1200 * text3.C: fix some of the tabular crashes
1202 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1204 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1206 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1208 2003-10-09 André Pönitz <poenitz@gmx.net>
1210 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1213 * BufferView_pimpl.C:
1214 * bufferview_funcs.C:
1225 * undo_funcs.C: adjust
1227 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1229 * text2.C (incrementItemDepth): new function, use a backtracking
1230 algorithm to discover the correct item depth.
1231 (resetEnumCounterIfNeeded): new function, use a backtracking
1232 algorithm to discover if counter reset is needed.
1233 (setCounter): use them. Simplify a bit. Add different labels for
1234 different item depths for itemize.
1236 * paragraph.C (Paragraph): remove initialization of enumdepth
1239 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1240 enumerate and itemize. Change the type of itemdepth to signed char.
1242 2003-10-08 André Pönitz <poenitz@gmx.net>
1244 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1249 * tabular.[Ch]: fix crash after 'row-insert'
1251 2003-10-08 Angus Leeming <leeming@lyx.org>
1253 Fix doxygen warnings.
1255 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1256 Remove CutAndPaste:: prefix from header file declaration.
1258 * LColor.h (fill): remove LColor:: prefix from declaration.
1260 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1261 use lyx::depth_type rather than Paragraph::depth_type so that
1262 header file and .C file match.
1264 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1266 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1267 * aspell.C: \file aspell_local.C -> \file aspell.C
1268 * gettext.C: \file gettext.C -> \file src/gettext.C
1269 * gettext.h: \file gettext.h -> \file src/gettext.h
1270 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1271 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1272 * text.C: \file text.C -> \file src/text.C
1274 * toc.C: move comment so that doxygen is not confused.
1276 2003-10-07 Angus Leeming <leeming@lyx.org>
1278 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1280 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * aspell_local.h: add forgotten std::string's.
1285 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1292 * text3.C: The Box patch. Fancybox support, minipage, parbox
1294 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1300 * ParagraphParameters.h:
1310 * lyxtextclasslist.h:
1313 * paragraph_pimpl.C:
1314 * textcursor.h: add <string> and other small fixes to make Lars'
1315 std::string patch compile with STLport.
1317 2003-10-06 Angus Leeming <leeming@lyx.org>
1319 * LColor.h: Add missing #include <string>.
1321 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1323 * All most all file in all subdirs: Make <string> be the prefered
1324 way of getting to std::string, add using declarations.
1326 2003-10-06 André Pönitz <poenitz@gmx.net>
1328 * metricsinfo.C: initialize LyXFont before changing attribute.
1329 (fixes the 'math in \emph is upright' bug)
1331 2003-10-06 André Pönitz <poenitz@gmx.net>
1333 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1335 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1338 * paragraph_pimpl.C: Small fixes to build using STLport
1340 2003-10-02 André Pönitz <poenitz@gmx.net>
1343 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1345 2003-10-01 André Pönitz <poenitz@gmx.net>
1347 * factory.C: assert early
1349 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * lyx_main.C: remove the global debug object
1353 * debug.h: adjust for new debugstream
1355 * debug.C: adjust for new debugstream and keep the global debug
1358 2003-09-22 Angus Leeming <leeming@lyx.org>
1360 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1361 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1362 an incomplete class LyXFont.
1364 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1366 * factory.C: bug fix in branches
1368 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1370 * lyxfunc.C (processKeySym): adjust
1372 (dispatch): change arg name from ev to func, adjust
1373 (sendDispatchMessage): ditto
1375 * lyx_main.C (defaultKeyBindings): adjust keybindings
1376 (deadKeyBindings): ditto
1378 * kbsequence.C (addkey): return a FuncRequest
1380 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1382 * kbmap.C (bind): take a FuncRequest as arg, adjust
1385 (defkey): change to take a FuncRequest as arg, adjust
1386 (findbinding): take a FuncRequest as arg, adjust.
1388 * funcrequest.h (operator=): added
1390 * funcrequest.C (FuncRequest): default kb_action changed from
1391 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1393 * buffer.C (dispatch): simplify
1394 (dispatch): adjust to take a FuncRequest as arg, adjust
1396 * boost.C (assertion_failed): change assertion message slightly
1398 * ToolbarBackend.C (read): simplify
1400 * MenuBackend.C (binding): adjust call to findbinding, add a
1401 message if no binding is found.
1403 (expandToc): correct by adding a empty FuncRequest
1405 * LyXAction.C: include <boost/assert.hpp>
1406 (isPseudoAction): delete function
1407 (LookupFunc): change name to...
1408 (lookupFunc): this. change return type to FuncRequest.
1409 (getActionName): take kb_action as arg, simplify
1410 (funcHasFlag): add an assert, simplify.
1412 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1414 * toc.C (action): return a FuncRequest, simplify
1416 * lyxfunc.C (processKeySym): adjust
1417 (getStatus): delete version that takes an int.
1419 (dispatch): delete version that takes action as int
1421 (sendDispatchMessage): simplify and adjust
1423 * funcrequest.C (getArg): take unsigned int as arg
1425 * ToolbarBackend.C (read): adjust
1426 (add): delete version that takes func as a string.
1427 (getIton): take a FuncRequest as arg
1429 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1432 * MenuBackend.C (MenuItem): add a new construct that only takes a
1433 Kind, simplify the constructor use for submenus.
1435 (expandLastfiles): adjust
1436 (expandDocuments): adjust
1437 (expandFormats): adjust
1438 (expandFloatListInsert): adjust
1439 (expandFloatInsert): adjust
1440 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1442 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1443 Remove class variables lyx_pseudo_map and lyx_arg_map
1445 * LyXAction.C (searchActionArg): delete function
1446 (getPseudoAction): delete function
1447 (retrieveActionArg): delete function
1448 (LookupFunc): make it return kb_action, simplify.
1449 (getActionName): simplify
1451 * factory.C (createInset): fix new bug
1453 2003-09-19 Angus Leeming <leeming@lyx.org>
1455 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1456 masterFilename_ parameter in the include inset.
1458 * factory.C (createInset): changes due to the changes to InsetInclude.
1460 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1462 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1464 2003-09-18 Angus Leeming <leeming@lyx.org>
1467 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1468 Inset::fillWithBibKeys.
1469 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1471 2003-09-18 Angus Leeming <leeming@lyx.org>
1473 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1475 (ctor): pass and store a 'Buffer const &'
1476 (buffer): new member function.
1478 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1479 '*this' to the LaTeXFeatures ctor.
1481 2003-09-18 Angus Leeming <leeming@lyx.org>
1487 * text.C: rename EnumLColor as LColor_color.
1489 2003-09-18 Angus Leeming <leeming@lyx.org>
1491 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1492 remove #include "insets/insetbase.h" from cursor.h.
1494 2003-09-18 Angus Leeming <leeming@lyx.org>
1496 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1497 InsetOld_code to remove #include "inset.h".
1499 * iterators.C: add #include "insets/inset.h"
1501 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1503 * BufferView.C: remove more locking stuff that apparently doesn't
1504 do anything sensible.
1506 2003-09-16 André Pönitz <poenitz@gmx.net>
1509 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1512 2003-09-16 Angus Leeming <leeming@lyx.org>
1514 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1516 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1519 * paragraph.h: remove #include "lyxfont.h". Forward declare
1522 2003-09-16 Angus Leeming <leeming@lyx.org>
1524 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1525 of support/textutils.h.
1526 (isWord): move the contents of support/textutils.h's IsWordChar here.
1532 * text2.C: add #include "paragraph.h".
1535 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1537 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * LaTeX.C: use namespace alias for lyx::support::os
1545 2003-09-16 Angus Leeming <leeming@lyx.org>
1548 * bufferview_funcs.C:
1551 * paragraph_pimpl.C:
1553 * text.C: add #include "LColor.h".
1555 2003-09-16 Angus Leeming <leeming@lyx.org>
1557 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1558 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1560 Store the FontBits::color variable as an int rather than as an
1561 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1564 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1565 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1566 string calls together.
1568 * lyxrc.C: add #include "LColor.h".
1570 2003-09-15 Angus Leeming <leeming@lyx.org>
1572 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1575 2003-09-15 Angus Leeming <leeming@lyx.org>
1577 * LColor.h: add an EnumLColor wrapper for LColor::color.
1579 * lyxfont.[Ch] (color, setColor, realColor):
1580 * lyxtext.h, text.C (backgroundColor):
1581 pass EnumLColor args to/from the functions, rather than LColor::color
1585 * lyxtext.h: forward declare EnumLColor.
1587 * lyx_main.C: add #include "LColor.h".
1589 2003-09-15 Angus Leeming <leeming@lyx.org>
1591 * .cvsignore: add lyx-gtk.
1593 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * ParagraphParameters.C
1602 * bufferview_funcs.C
1612 * vc-backend.C: remove usage of STRCONV
1614 2003-09-15 Angus Leeming <leeming@lyx.org>
1616 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1617 explicitly define the color passed to the painter.
1619 2003-09-15 Angus Leeming <leeming@lyx.org>
1621 * bufferparams.C (BufferParams): reorder member initializers to avoid
1624 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1626 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1627 * text.C (updateRowPositions): remove an unusual nop
1629 2003-09-12 André Pönitz <poenitz@gmx.net>
1631 * BufferView_pimpl.C:
1640 * Counters.[Ch]: finish the 'automatic counters' job
1642 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1644 * aspell.C: include <boost/assert.cpp> (compile fix)
1646 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1648 * boost.C (assertion_failed): use lyx::support::abort instead of
1651 2003-09-10 Angus Leeming <leeming@lyx.org>
1653 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1654 with their _fwd progeny.
1656 2003-09-09 Angus Leeming <leeming@lyx.org>
1658 134 files throughtout the source tree: replace 'using namespace abc;'
1659 directives with the appropriate 'using abc::xyz;' declarations.
1661 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1663 * boost.C (emergencyCleanup): moved here from LAssert.c
1664 (assertion_failed): new function, called by BOOST_ASSERT
1666 * several files: change Assert to BOOST_ASSERT
1668 2003-09-09 Angus Leeming <leeming@lyx.org>
1670 * buffer.[Ch]: Add an Impl class and move Buffer's member
1671 variables into it. As a result move several header files out of
1674 Add header files to lots of .C files all over the tree as a result.
1676 2003-09-09 Angus Leeming <leeming@lyx.org>
1678 * buffer.[Ch]: make Buffer's member variables private. Add
1681 Lots of changes all over the tree as a result.
1683 2003-09-08 Angus Leeming <leeming@lyx.org>
1685 * graph.C: #include <config.h>.
1687 2003-09-08 Angus Leeming <leeming@lyx.org>
1691 * BufferView_pimpl.C:
1720 * toc.C: remove redundant using directives.
1722 2003-09-07 Angus Leeming <leeming@lyx.org>
1724 * LaTeXFeatures.h: remove #include "support/types.h".
1725 * ToolbarBackend.h: remove #include <algorithm>.
1726 * changes.h: remove #include <ctime>.
1727 * debug.h: remove #include <iosfwd>.
1728 * graph.h: remove #include "support/std_string.h".
1729 * lyx_main.h: remove #include <csignal>.
1730 * lyxlex_pimpl.h: remove #include <fstream>.
1731 * sgml.h: remove #include <algorithm>, <utility>.
1732 * toc.h: remove #include "support/std_ostream.h".
1733 Add #include <iosfwd>.
1735 2003-09-07 Angus Leeming <leeming@lyx.org>
1737 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1739 * converter.h: forward declare LatexRunParams.
1740 * encoding.h: remove #include "lyxrc.h".
1741 * lyxtext.h: remove #include "LColor.h".
1742 * lyxtextclass.h: remove #include "support/types.h".
1743 * trans.h: remove #include "tex-accent.h".
1744 * trans_mgr.h: remove #include "tex-accent.h".
1745 * insets/inset.h: remove #include "support/types.h", <vector>.
1746 * insets/insetcollapsable.h: remove #include "LColor.h".
1747 * insets/insetinclude.h: remove #include "dimension.h".
1748 * insets/insetlatexaccent.h: remove #include "dimension.h".
1749 * insets/insetoptarg.h:: remove #include "insettext.h".
1750 * insets/insettext.h: remove #include "dimension.h",
1751 <boost/shared_ptr.hpp>
1753 * insets/renderers.h: add #include "dimension.h".
1754 * insets/updatableinset.h: add #include "support/types.h".
1756 * many .C files: Associated changes.
1758 2003-09-06 Angus Leeming <leeming@lyx.org>
1760 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1761 one, inside testInvariant.
1763 * PrinterParams.C: new file.
1764 * PrinterParams.[Ch]: move the function bodies out of line.
1766 2003-09-06 Angus Leeming <leeming@lyx.org>
1768 * ParagraphParameters.h: forward declare ParameterStruct rather than
1769 including its header file.
1770 (depth): moved out-of-line.
1772 2003-09-06 Angus Leeming <leeming@lyx.org>
1774 * BufferView_pimpl.h:
1777 * lyxfunc.h: forward declare LyXKeySym rather than
1778 #include "frontends/LyXKeySym.h".
1780 * BufferView_pimpl.C:
1783 * lyxfunc.C: associated changes.
1785 2003-09-06 Angus Leeming <leeming@lyx.org>
1787 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1788 As a result, can remove the #include "insets/inset.h" from BufferView.h
1790 2003-09-06 Angus Leeming <leeming@lyx.org>
1792 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1793 As a result, can remove the #include "insets/inset.h" from BufferView.h
1795 2003-09-06 Angus Leeming <leeming@lyx.org>
1801 * bufferview_funcs.C:
1802 * BufferView_pimpl.C:
1807 * ParagraphParameters.C:
1812 * frontends/controllers/ControlDocument.C:
1813 * insets/insetcaption.C: rearrange the #includes into some sort of
1816 * buffer.h: remove #includes ErrorList.h, undo.h
1818 2003-09-06 Angus Leeming <leeming@lyx.org>
1820 * support/types.h: add a 'depth_type' typedef, used to store the
1821 nesting depth of a paragraph.
1824 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1825 defining explicitly.
1828 * paragraph_funcs.h:
1829 * ParagraphParameters.h:
1830 * sgml.h: use lyx::depth_type rather than Paragraph or
1831 ParameterStruct's depth_type.
1834 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1837 * BufferView_pimpl.C:
1839 * ParagraphParameters.C:
1842 * bufferview_funcs.C:
1849 * frontends/LyXView.C:
1850 * frontends/controllers/ControlDocument.C:
1851 * frontends/controllers/ControlErrorList.C:
1852 * insets/insetbibitem.C:
1853 * insets/insetbranch.C:
1854 * insets/insetcaption.C:
1855 * insets/insetcollapsable.C:
1856 * insets/insetenv.C:
1857 * insets/insetert.C:
1858 * insets/insetfloat.C:
1859 * insets/insetfoot.C:
1860 * insets/insetfootlike.C:
1861 * insets/insetnewline.C:
1862 * insets/insetquotes.C:
1863 * insets/insettabular.C:
1864 * insets/insettext.C:
1865 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1867 * frontends/controllers/ControlChanges.C: #include "changes.h".
1869 2003-09-06 Angus Leeming <leeming@lyx.org>
1871 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1872 than #including paragraph.h.
1875 * RowList.h: deleted. Superfluous.
1885 * insets/insettext.h: use ParagraphList_fwd.h rather than
1888 * paragraph.h: don't forward declare ParagraphList.
1891 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1892 rather than ParagraphList.h. paragraph.h is still needed for the
1893 Paragraph::depth_type parameters.
1895 * textcursor.h: enable it to compile stand-alone in light of the
1898 * bufferview_funcs.C:
1910 * frontends/controllers/ControlParagraph.C:
1911 * frontends/controllers/ControlTabular.C:
1912 * insets/insetmarginal.C:
1913 * insets/insetminipage.C:
1914 * insets/insetnote.C:
1915 * insets/insetoptarg.C: add header files needed to compile again.
1917 2003-09-06 Angus Leeming <leeming@lyx.org>
1919 * RowList_fwd.h: new file, forward-declaring Row rather than
1920 #including lyxrow.h.
1925 * insets/insettext.h: use it instead of RowList.h
1927 * bufferview_funcs.C:
1934 * text3.C: #include "RowList.h".
1936 2003-09-05 Angus Leeming <leeming@lyx.org>
1938 * factory.C (createInset):
1939 * vspace.C (c-tor): replace sscanf call with an istringstream.
1940 * ispell.C: re-add missing HP/UX headers.
1941 * lyxserver.C: re-add missing os2 headers.
1943 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1952 * text3.C: re-add missing system headers, needed for 2.95.2.
1954 2003-09-05 Angus Leeming <leeming@lyx.org>
1956 Changes most place everywhere due to the removal of using directives
1957 from support/std_sstream.h.
1959 2003-09-05 Angus Leeming <leeming@lyx.org>
1961 Replace LString.h with support/std_string.h,
1962 Lsstream.h with support/std_sstream.h,
1963 support/LIstream.h with support/std_istream.h,
1964 support/LOstream.h with support/std_ostream.h.
1966 Changes resulting throughout the tree.
1968 2003-09-05 Angus Leeming <leeming@lyx.org>
1970 * sgml.h: ensure that the header file can be compiled stand-alone.
1971 * *.C: strip out redundant #includes. (320 in total.)
1973 2003-09-04 Angus Leeming <leeming@lyx.org>
1975 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1976 here (from getPackages).
1978 * debug.[Ch]: add a new EXTERNAL tag.
1980 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1982 * text2.C (cursorEnd): simplify
1984 (getColumnNearX): adjust
1986 * text.C (computeBidiTables): adjust
1989 * rowpainter.C (paintChars): adjust
1990 (paintSelection): adjust
1991 (paintChangeBar): adjust
1994 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1996 (numberOfSeparators): adjust
1998 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2004 * text3.C: Restricts the mouse click functionality
2005 of insets like bibtex, include, toc and floatlist to the visible
2006 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2007 up the dialogs. Cursor has to be in front of the inset (i.e.
2008 start of row) for this to function.
2010 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2012 * bufferview_funcs.C (currentState): output row information
2014 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2016 * bufferview_funcs.C (currentState): output paragraph position
2018 2003-09-04 Angus Leeming <leeming@lyx.org>
2020 * FloatList.h: move out #include "Floating.h".
2021 * LaTeX.h: move out #include "DepTable.h".
2022 * LyXAction.h: move out #include "funcrequest.h".
2023 * buffer.h: move out #include "author.h", "iterators.h".
2024 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2025 * lyx_main.h: move out #include "errorlist.h".
2026 * lyxfunc.h: move out #include "FuncStatus.h".
2027 * lyxtext: move out #include "lyxcursor.h".
2028 * paragraph_pimpl.h: move out #include "counters.h".
2030 2003-09-03 Angus Leeming <leeming@lyx.org>
2032 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2033 preamble_snippets list, enabling us to add snippets to the preamble
2034 only if the snippet was not there already.
2036 2003-09-04 Angus Leeming <leeming@lyx.org>
2038 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2040 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2045 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2047 * BranchList.C: point fix, earlier forgotten
2049 2003-09-02 Angus Leeming <leeming@lyx.org>
2051 * box.C (contains): renamed from 'contained' after a fantastic
2054 2003-09-02 John Levon <levon@movementarian.org>
2060 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2062 2003-09-02 John Levon <levon@movementarian.org>
2064 * text2.C: simplification of cursorEnd(), including partial
2067 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * buffer.C (readFile): add a space
2071 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2073 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2075 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2077 * buffer.C (readFile): new function, take a filename and a
2078 ParagraphList::iterator
2080 (readFile): adjust, make it private. don't use setStream, make
2081 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2082 always contain the filename.
2084 * BufferView.C (insertLyXFile): simplify and make it work for
2087 2003-08-30 John Levon <levon@movementarian.org>
2089 * Makefile.am: fix dist (from Kayvan)
2091 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * most files: change to use const Buffer refs
2095 2003-08-27 André Pönitz <poenitz@gmx.net>
2097 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2098 on top of ownerPar().
2100 2003-08-27 John Levon <levon@movementarian.org>
2102 * funcrequest.C: properly initialise POD members
2104 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2106 * lyxtext.h (top_y): move top_y from here
2111 * BufferView_pimpl.[Ch]: to here
2112 * frontends/screen.C:
2113 * insets/insettabular.C:
2114 * insets/insettext.C: adjust
2115 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2117 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2120 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2122 2003-08-26 André Pönitz <poenitz@gmx.net>
2124 * paragraph_func.[Ch] (outerPar): new function
2127 * paragraph_funcs.C:
2128 * paragraph_funcs.h:
2129 * paragraph_pimpl.C:
2130 * text2.C: remove Inset::par_owner
2132 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2137 * text2.C: eliminates the needFullRow/display() stuff
2138 altogether, putting the logic in metrics/draw in the insets.
2140 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2142 * text2.C (redoParagraphInternal, redoParagraphs):
2143 * text.C (redoParagraph): add a call to updateRowPositions at the
2144 end of each 'metrics-like' call. Remove all others.
2145 (getRow): remove the 'y-computing' version.
2146 (getRowNearY): do not compute nor return the real y. Solve the
2147 'y < 0' problem and simplify.
2149 2003-08-22 Angus Leeming <leeming@lyx.org>
2151 * *.[Ch]: clean-up of licence and author blurbs.
2152 Also move config.h out of a few .h files and into a few .C files.
2154 2003-08-22 André Pönitz <poenitz@gmx.net>
2156 * lyxrow.[Ch]: add x_ and *fill_ members
2161 * text2.C: adjust/remove prepareToPrint() calls
2163 2003-08-22 André Pönitz <poenitz@gmx.net>
2165 * lyxrow.[Ch]: add end_ member
2167 * lyxrow_funcs.C: use LyXRow::end_
2169 * lyxtext.h (singleWidth): add LyXFont parameter
2172 * text2.C: adjust LyXText::singleWidth() calls
2174 * text.C (redoParagraph): simplify row breaking logic
2177 2003-08-19 André Pönitz <poenitz@gmx.net>
2179 * funcrequest.C: initialize button_ member
2182 * rowpainter.[Ch]: interface consolidation
2184 2003-08-18 André Pönitz <poenitz@gmx.net>
2187 * BufferView_pimpl.C:
2189 * paragraph_funcs.C:
2191 * text3.C: remove LyXScreen::draw() and fitCursor calls
2193 * BranchList.h: remove spurious semicolons
2195 * MenuBackend.C: fix branchlist related crash
2197 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2205 * bufferparams.[Ch]:
2209 * text3.C: implements the 'branch inset'
2210 idea. This allows the output of various versions of a document
2211 from a single source version, selectively outputing or suppressing
2212 output of parts of the text.
2213 This implementation contains a 'branch list editor' in a separate
2214 tab of the document settings dialog. Branches are user definable
2215 and have a "display colour" to distinguish them on-screen.
2217 ColorHandler was somewhat cleaned up.
2218 (1) make possible a dynamically growing LColor list by allowing
2219 the graphic context cache to grow along (vector);
2220 (2) eliminate an IMHO unnecessary step in colour allocation.
2222 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2224 * BufferView_pimpl.C: compile fix
2226 2003-08-15 André Pönitz <poenitz@gmx.net>
2228 * rowpainter.C: remove extra metrics calls
2230 * lyxtext.h: merge the two constructors into a single one,
2231 pass reference to owner's par list
2233 * BufferView_pimpl.C:
2237 2003-08-15 André Pönitz <poenitz@gmx.net>
2239 * lyxrow_funcs.[Ch]:
2242 * paragraph_funcs.C:
2247 * text_funcs.C: split LyXText::rowlist_ into individual
2248 Paragraph::rows_ chunks
2251 * BufferView_pimpl.[Ch]:
2254 * text3.C: remove toggleSelection()
2256 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2258 * bufferlist.C: beautify two alerts (shorter text of buttons)
2259 * buffer.C: Remove redundant ' ' from message
2261 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2262 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2263 rename VALIGN_CENTER to VALIGN_MIDDLE
2265 2003-08-11 André Pönitz <poenitz@gmx.net>
2267 * lyxtext.h (getPar):
2268 * text.C: new function
2270 2003-08-11 André Pönitz <poenitz@gmx.net>
2273 * tracer.[Ch]: remove unneeded files
2275 * InsetList.[Ch]: remove resizeInsetsLyXText()
2280 * text3.C: merge insertParagraphs() and appendParagraph()
2281 remove breakAgain(), update()
2283 * BufferView_pimpl.[Ch]:
2284 * bufferview_funcs.[Ch]:
2288 * tabular.C: adjust after text & InsetList changes.
2290 2003-08-08 André Pönitz <poenitz@gmx.net>
2292 * text.C (insertChar, backspace): replace rowlist fiddling
2293 with rebreak of full par
2296 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2297 checkParagraph, updateInset): removed
2299 2003-08-07 André Pönitz <poenitz@gmx.net>
2302 * text3.C: merge some LFUN handlers, remove dead code
2304 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2306 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2308 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2310 * text2.C (DEPM): fix part of bug 1255 and 1256
2312 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2314 * BufferView_pimpl.C (workAreaDispatch): change to use
2315 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2316 that are no mouse related.
2318 2003-08-05 André Pönitz <poenitz@gmx.net>
2321 * BufferView_pimpl.[Ch]:
2322 * bufferview_funcs.C:
2324 * text3.C: rip out "deep update"
2326 * textcursor.[Ch] (last_sel_cursor): remove unused member
2328 2003-08-04 André Pönitz <poenitz@gmx.net>
2331 * BufferView_pimpl.[Ch]:
2332 * ParagraphParameters.C:
2333 * bufferview_funcs.C:
2339 * text3.C: replace "complicated" BufferView::update(...) calls with
2342 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2344 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2346 * Makefile.am (lyx_SOURCES): add paper.h
2348 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2350 * Makefile.am: move things around so that both lyx-qt and
2351 lyx-xforms can be built (according to --with-frontend). Then lyx
2352 is a symbolic link to lyx-[firstfrontend]
2354 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2356 * Always use std::endl with lyxerr
2358 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2360 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2362 2003-08-01 André Pönitz <poenitz@gmx.net>
2365 * BufferView_pimpl.[Ch]:
2367 * text3.C: merge BufferView::repaint() and BufferView::update()
2369 2003-08-01 José Matos <jamatos@lyx.org>
2371 * buffer.[Ch]: file_format is no longer a buffer data element.
2373 2003-08-01 André Pönitz <poenitz@gmx.net>
2378 * text2.C: make redoParagraph more independent of current cursor
2380 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2382 * text2.C: remove unneeded members
2384 2003-07-30 André Pönitz <poenitz@gmx.net>
2386 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2388 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2389 create a single function...
2391 * paragraph_funcs.C (moveItem): ... here.
2394 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2396 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2398 * LColor.[Ch]: Add comment and greyedout logical colors.
2400 2003-07-30 André Pönitz <poenitz@gmx.net>
2402 * tabular.C: don't use Assert too heavily. This crashes where it
2405 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2407 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2408 is disabled (bug 1232)
2410 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2412 * factory.C: limited 'arg' scope
2414 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2416 * factory.C: fixed Note submenu issues
2418 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2420 * factory.C: submenu for Note/Comment/Greyedout
2422 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2425 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2427 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2430 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2431 greyedout. Patch provided by Jürgen Spitzmüller.
2433 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2435 * kbmap.C (read): fix error message when reading bind files
2437 2003-07-29 Angus Leeming <leeming@lyx.org>
2439 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2440 certainly does not do what it purports to do. I am doing it, and
2441 us, a favour by killing it.
2443 2003-07-28 José Matos <jamatos@lyx.org>
2445 * buffer.C (readBody, do_writeFile):
2446 * paragraph.C(readParagraph): \end_document replaces \the_end.
2448 2003-07-29 André Pönitz <poenitz@gmx.net>
2451 * BufferView_pimpl.[Ch]:
2455 * textcursor.[Ch]: remove toggleToggle & Co
2457 2003-07-28 José Matos <jamatos@fep.up.pt>
2459 * buffer.C (readParagraph):
2460 * params_func (readParToken, readParagraph):
2461 * paragraph.C (write): \layout -> \begin_layout.
2463 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * lyxlex_pimpl.C (setFile): clean up slightly.
2467 * bufferparams.h: add compressed var
2469 * buffer_funcs.C (readFile): adjust for LyXLex change
2470 (newFile): ditto + simplify
2472 * buffer.C (writeFile): handle writing of compressed files
2474 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2475 Check if the file is compressed and set a bufferparm if so.
2477 * Makefile.am (lyx_LDADD): remove explicit -lz
2479 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2482 makeDocBookFile): put the real LyX version in the first line of
2486 * version.C.in: remove lyx_docversion
2488 * tabular.C (write_attribute): add a template-based version to
2489 write enums properly
2491 2003-07-28 André Pönitz <poenitz@gmx.net>
2496 * text3.C: use doubles again for x-coordinates. They are needed.
2498 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * messages.C (getLocaleDir): use lyx_localedir()
2502 * lyxlex_pimpl.C (setFile): compress stuff
2504 * buffer.C (writeFile): add some compression stuff
2505 (do_writeFile): new func, dont call expliti close... will this
2508 * Makefile.am (lyx_LDADD): add -lz
2510 2003-07-28 José Matos <jamatos@fep.up.pt>
2512 * buffer.C: increment file format.
2513 * paragraph_funcs (readParagraph, readParToken):
2514 * paragraph.C (readParagraph): add \end_layout.
2516 2003-07-27 Angus Leeming <leeming@lyx.org>
2518 * Makefile.am: remove special casing for configure-time setting of
2519 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2521 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2522 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2524 2003-07-26 André Pönitz <poenitz@gmx.net>
2526 * paragraph_func.[Ch]:
2527 * paragraph.C (realizeFont): inline it whereever it is used
2532 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2535 2003-07-26 André Pönitz <poenitz@gmx.net>
2539 * text2.C: get rid of LyXText::need_break_row
2541 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * toc.[Ch]: put namespace toc inside namespace lyx
2545 * MenuBackend.C (expandToc2): adjust for lyx::toc
2548 * lyxfunc.C (dispatch): adjust for lyx::find
2550 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2551 lyx::find instead. Reorganize a bit.
2552 (LyXReplace): rename to replace
2553 (LyXFind): rename to find
2555 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2558 2003-07-26 André Pönitz <poenitz@gmx.net>
2560 * text.C (setHeightOfRow): restrict scope of temporary variable
2562 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2563 code (never has been used?)
2565 2003-07-27 Asger Alstrup <alstrup@local>
2567 * text.C (fill): Optimise algorithm to exploit that we can reuse
2568 the LyXFont for many characters.
2569 (setHeightOfRow): Same thing.
2570 (rowBreakPoint): Same thing.
2572 2003-07-26 Asger Alstrup <alstrup@local>
2574 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2576 * text.C (singleWidth): Spurious font copying in hot-spot
2577 singleWidth avoided. Reorder tests for arabic for efficiency.
2579 * text.C (fill): handle empty paragraphs better.
2581 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2584 * encoding.h: add includes
2586 * lyxrc.C: remove reading of bind files
2588 * lyx_main.C (init): setup bindings and menus only if we have a
2591 * kbmap.C (read): new method. Do the actual reading of bind
2594 * converter.C (dvipdfm_options):
2597 (output): adapt PAPER_* enums.
2599 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2601 * bufferparams.h: remove paper-related enums from there
2603 * paper.h: New file. A trivial header file to hold paper-related
2604 enums. It should later expand to contain many paper-related
2607 * lyxrc.C: declare extern displayTranslator
2609 2003-07-27 José Matos <jamatos@fep.up.pt>
2611 * tabular.[Ch] (linuxdoc): add support for tables and figures
2614 2003-07-27 José Matos <jamatos@fep.up.pt>
2616 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2617 consistency in both functions.
2618 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2620 2003-07-26 Asger Alstrup <alstrup@local>
2622 * rowpainter.C (paintRows): Change algorithm to work directly on
2623 the insets rather than asking every character in the document
2624 whether its an inset.
2626 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2628 * buffer.C (openFileWrite): factorize some code
2630 2003-07-26 Angus Leeming <leeming@lyx.org>
2633 * lyx_main.[Ch]: replace occurances of system_tempdir with
2636 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * rename Inset to InsetOld
2640 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2642 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2643 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2644 which I think is a bit clearer. EDIT is gone, since it was
2645 premature optimisation, and broken for mathed anyway.
2646 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2647 with cursor positioning in insets as well (math insets still do not
2648 work, but that's a different story anyway.) It mysteriously
2649 crashes sometimes with undo in the first paragraph, but I'm fairly
2650 confident that this is a compiler bug.
2652 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * paragraph.C (Paragraph): adjust for new clone return type
2656 (copyIntoMinibuffer): ditto
2658 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2660 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2661 by not having a special case, and always doing a full rebreak of
2662 the document after undo.
2664 2003-07-23 Angus Leeming <leeming@lyx.org>
2666 * factory.C (createInset): InsetExternal::setParams now takes a
2669 2003-07-23 Angus Leeming <leeming@lyx.org>
2671 * factory.C (createInset): changed interface to the external and
2672 graphics mailers' string2params functions.
2674 2003-07-23 Angus Leeming <leeming@lyx.org>
2676 * factory.C (createInset): pass a
2677 Buffer const * parameter to InsetExternalMailer's string2params.
2679 2003-07-22 John Levon <levon@movementarian.org>
2681 * Thesaurus.h: include the right aiksaurus header
2683 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2685 * MenuBackend.C (expand): check menu shortcuts unconditionally
2687 2003-07-21 Angus Leeming <leeming@lyx.org>
2689 * factory.C (createInset): pass a
2690 buffer_path parameter to InsetGraphicsMailer's string2params.
2692 2003-07-21 Angus Leeming <leeming@lyx.org>
2694 * BufferView_pimpl.C (buffer):
2697 * lyxfunc.C (dispatch):
2698 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2699 rather than the grfx shortcut.
2701 2003-07-21 André Pönitz <poenitz@gmx.net>
2703 * rowpainter.C: remove unused variables
2706 * tabular_funcs.h: move to tabular.C
2707 * Makefile.am: adjust
2709 * tabular.[Ch]: basic optical cleaning
2711 * author.h: pass references, not values
2713 2003-07-18 André Pönitz <poenitz@gmx.net>
2721 * text3.C: two-phase drawing for InsetText and InsetTabular
2722 some float -> int changes.
2724 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2726 * lyx_main.C: fix the fix
2728 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2730 * lyx_main.C: fix a crash in batch mode if no files specified
2733 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2735 * format.[Ch] (papersize): moved to BufferParams
2736 * converter.[Ch] (dvips_options): moved to BufferParams
2737 (dvipdfm_options): moved to anon namespace
2738 * bufferparams.[Ch]: added above functions.
2740 2003-07-17 André Pönitz <poenitz@gmx.net>
2744 * text2.C: don't call inset->update() anymore
2746 * metricsinfo.[Ch]: add convenience constructor
2748 2003-07-16 André Pönitz <poenitz@gmx.net>
2753 * text2.C: replace the LyXCursor::irow_ member with
2754 on-demand computation of the value
2756 2003-07-16 John Levon <levon@movementarian.org>
2758 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2760 2003-07-15 André Pönitz <poenitz@gmx.net>
2763 * text2.C: remove no more needed refresh_row
2765 2003-07-15 André Pönitz <poenitz@gmx.net>
2770 * text3.C: refresh_status tristate -> need_update bool
2772 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2774 * lyxtext.h (init): remove reinit argument (act as if always true)
2775 * text2.C: adjust to that
2777 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2779 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2780 * text3.C: use it to delete selections in some cases
2781 (bugs 441, 673, 702, 954).
2783 2003-07-14 André Pönitz <poenitz@gmx.net>
2785 * rowpainter.[Ch]: reduce interface
2787 2003-07-14 André Pönitz <poenitz@gmx.net>
2789 * BufferView_pimpl.C:
2790 * text2.C: adjust after removing unused BufferView * argument
2792 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2794 * text2.C (init): fix a crash fired on resize
2796 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2798 * buffer.[Ch]: added new closing signal
2799 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2800 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2801 BufferView::Pimpl via the closing the signal
2803 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2805 * buffer.[Ch]: take out all bv-related from buffer
2807 * BufferView_pimpl.[Ch]: connect to new signals
2808 * CutAndPaste.C: removed useless asserts
2809 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2812 * lyxfunc.C: moved view-related funciontality from vc here
2813 * paragraph.C: removed outdated comments
2816 2003-07-10 André Pönitz <poenitz@gmx.net>
2818 * BufferView_pimpl.C:
2822 * text2.C: remove InsetText::InnerCache, clean up consequences
2824 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2826 * ispell.C: fix two typos in error messages
2828 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2830 * Extend Note inset to other forms of annotation like Comment
2831 and Greyedout. Right button click gives dialog.
2833 Files modified or added (+):
2837 * ControlNote.[Ch] +
2839 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2840 frontends/controllers
2844 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2846 * aspell.C: add missing namespace lyx::support
2848 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2850 * BufferView.[Ch] (newFile): Add
2851 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2852 * LaTeX.[Ch] (message): added this signal and use it
2853 * buffer.[Ch] (busy, message): added these signals and use them
2854 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2858 * importer.C: use buffer signals instead of direct bv calling
2859 * lyx_cb.[Ch] (ShowMessage): removed
2862 * paragraph_funcs.C:
2863 * text2.C: use buffer signals
2865 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * introduce namespace lyx::graphics
2869 2003-07-02 André Pönitz <poenitz@gmx.net>
2871 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2873 2003-07-01 André Pönitz <poenitz@gmx.net>
2880 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2881 text*.C to text_func.C
2883 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * introduce namespace lyx::support
2887 2003-06-30 André Pönitz <poenitz@gmx.net>
2892 * text.C: re-enable --with-included-string
2894 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * textcursor.C: add <config.h>
2898 * text.C (getWord): remove const from word_location arg
2900 * lyxvc.C (getLogFile): fix const type order
2902 * lyxtext.h: remove const from word_location arg, add arg name
2904 * lyxlayout.h: currect type on labeltype.
2906 * importer.C: correct \file
2908 * converter.C (intToFormat): use std:: on ret val, ws changes
2910 * bufferlist.h: correct \file
2912 * buffer.C (makeLinuxDocFile): fix const type order
2913 (makeDocBookFile): ditto
2914 (fillWithBibKeys): use std:: on stdlib args.
2916 * CutAndPaste.C: fix authors.
2917 (availableSelections): use std:: on return vector
2919 2003-06-27 André Pönitz <poenitz@gmx.net>
2921 * BufferView_pimpl.C:
2922 * bufferview_funcs.C:
2930 * text3.C: remove LyXCursor::row_ member
2933 * text.C: rename fullRebreak() to partialRebreak() and implement
2934 a fullRebreak() that really bereks fully
2936 * textcursor.h: new struct for cursor-related data
2938 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2940 * lyx_main.C (LyX): get full path of document loaded on the
2943 2003-06-26 André Pönitz <poenitz@gmx.net>
2945 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2946 remove unused/broken operator>,<,>=.
2948 * text.C: remove only use of broken operator<= in an Assert().
2950 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2952 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2953 moved errorlist_.clear to showErrorList
2955 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2957 * converter.C (scanLog, runLaTeX):
2958 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2959 move the bv->showErrorList call to the callers
2960 * lyxfunc.C: i.e. here...
2962 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2963 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2964 namespace, the second to...
2965 * buffer_funcs (BufferFormat, parseErrors): added
2966 * errorlist.C (ErrorList(TeXErrors const &)): removed
2968 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2970 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2972 2003-06-24 "Garst R. Reese" <reese@isn.net>
2976 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2978 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2980 * version.C.in: change docversion to 1.4
2982 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2984 * buffer.C: fix a bug just introduced
2986 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2988 * buffer.[Ch]: added the parseError signal and use it, removed
2990 * BufferView.[Ch] (addError): moved to ...
2991 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2992 to the Buffer::parseError signal to catch (guess what) parse errors
2993 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2995 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2997 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2998 ability to create a buffer and to return an existing one from
2999 the list. Moved these functions to...
3000 * buffer_funcs.[Ch]: added
3001 * BufferView.[Ch] (loadLyXFile): added
3002 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3003 job removed from bufferlist::loadLyXFile.
3004 * buffer.C (setReadOnly): make it work without view
3005 (i.e added an if (users))
3007 2003-06-19 Angus Leeming <leeming@lyx.org>
3010 * LyXAction.C (init):
3011 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3012 with LFUN_DIALOG_SHOW <name> <data>.
3014 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3016 * CutAndPaste.C (availableSelections): small compilation fix for
3017 ancient (gcc 2.9x) compilers
3019 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3021 * text3.C (cursorNext): add tmp var
3023 * text2.C (updateCounters): for function calling out of for clause
3024 (replaceSelectionWithString): ditto
3025 (insertStringAsParagraphs): ditto
3026 (getColumnNearX): add tmp var
3027 (setCursorFromCoordinates): add tmp var
3028 (cursorDownParagraph): add tmp var
3029 (deleteEmptyParagraphMechanism): add tmp var
3031 * text.C (insertChar): add tmp var
3033 * rowpainter.C (paintDepthBar): add tmp var
3035 * CutAndPaste.C (availableSelections): potentially check all
3036 paragraphs in a cut to fill the shown strings.
3038 2003-06-18 André Pönitz <poenitz@gmx.net>
3040 * kbmap.[Ch]: use vector<> instead of list<>
3042 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3044 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3045 pasteSelection with index
3047 * text2.C (pasteSelection): modify, call pasteSelection with index
3049 * paragraph.C (asString): reimplement version with no interval to
3050 call the one with interval.
3052 * lyxtext.h: add index arg to pasteSelection
3054 * MenuBackend.C (MenuItem): handle PasteRecent
3055 (Menu::read::Menutags): add md_pasterecent
3057 (expandPasteRecent): new function
3060 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3062 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3064 (availableSelections): new function
3066 2003-06-17 Angus Leeming <leeming@lyx.org>
3068 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3070 2003-06-17 Angus Leeming <leeming@lyx.org>
3073 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3075 * lyxfunc.C (dispatch): invoke it.
3077 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3079 * iterators.C (operator++, ParPosition): reintroduce some
3080 const_cast for the benefit of older compilers.
3082 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3084 * text3.C (dispatch): do not modify clipboard when doing
3085 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3086 LFUN_DELETE_SKIP on a selection selection
3088 2003-06-16 André Pönitz <poenitz@gmx.net>
3094 * tabular.[Ch]: IU of clone() and getLabelList();
3096 2003-06-13 André Pönitz <poenitz@gmx.net>
3098 * tabular.h: compactification
3100 2003-06-12 André Pönitz <poenitz@gmx.net>
3104 * tabular_funcs.h: some renaming plus whitespace
3106 2003-06-12 André Pönitz <poenitz@gmx.net>
3109 * BufferView_pimpl.C:
3115 * toc.C: Return a Paragraph & for ParIterator::operator*()
3117 2003-06-11 John Levon <levon@movementarian.org>
3121 * ToolbarBackend.C: add "Toolbars" section and
3124 2003-06-10 Angus Leeming <leeming@lyx.org>
3127 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3129 * lyxfunc.C (dispatch): invoke it.
3131 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3133 * main.C: protect <ios> with HAVE_IOS
3134 (main): protect sync_with_stdio with HAVE_IOS
3136 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3138 * text2.C (cutSelection): adjust
3139 (pasteSelection): adjust
3141 * messages.C: handle get of empty string
3143 * main.C (main): use sync_with_stdio(false)
3145 * lyxfunc.C (dispatch): adjust
3147 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3148 (WriteAs): remove unneeded BufferView arg.
3150 * bufferparams.h: use correct types on papersize, papersize2 and
3153 * bufferparams.C (readToken): adjust for type
3154 (writeLaTeX): add missing cases to switch.
3156 * bufferlist.C (quitWriteBuffer): adjust
3159 * buffer.C (asciiParagraph): remove some commented code.
3161 * CutAndPaste.C: remove current_view extern variable.
3162 (cutSelection): add BufferParams arg.
3163 (eraseSelection): add BufferParams arg.
3164 (pasteSelection): add Buffer const & arg
3166 2003-06-07 John Levon <levon@movementarian.org>
3169 * paragraph_funcs.C:
3170 * paragraph_pimpl.C:
3174 * paragraph.C: allow InsetERT to freely space lines,
3175 and some consolidation of code
3177 2003-06-06 José Matos <jamatos@fep.up.pt>
3179 * buffer.C (makeDocBookFile): fix bug #821
3181 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3183 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3185 2003-06-04 Angus Leeming <leeming@lyx.org>
3187 * buffer.C: bump format to 224.
3189 2003-06-05 André Pönitz <poenitz@gmx.net>
3191 * text2.C (redoParagraphs): remove two const_cast<>
3193 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3195 * ParagraphList.h: remove last remnants of NO_STD_LIST
3197 2003-06-03 Angus Leeming <leeming@lyx.org>
3199 * factory.C (createInset): small change to the way InsetExternal's params
3202 2003-06-04 André Pönitz <poenitz@gmx.net>
3204 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3206 * paragraph_pimpl.h:
3207 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3209 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3211 * undo_funcs.C: make some simple cases of undo work again
3213 2003-06-03 John Levon <levon@movementarian.org>
3215 * ispell.C: HPUX doesn't have sys/select.h
3218 2003-06-03 John Levon <levon@movementarian.org>
3220 * CutAndPaste.C: update tabular and include inset
3225 * paragraph.C: remove owningBuffer(), don't pass Buffer
3228 * factory.C: insetGraphicsParams changed
3230 2003-06-02 John Levon <levon@movementarian.org>
3236 * text3.C: remove insetparent
3238 2003-06-02 John Levon <levon@movementarian.org>
3241 * buffer.C: fix inset_iterator.end(), move out of line
3244 2003-06-01 John Levon <levon@movementarian.org>
3246 * text3.C: use a proper cut/paste when doing inset
3247 insert (from Jürgen Spitzmüller)
3249 2003-06-01 John Levon <levon@movementarian.org>
3251 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3253 2003-05-30 André Pönitz <poenitz@gmx.net>
3255 * rowpainter.C: unify second drawing phase
3257 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * trans_mgr.C: remove one case of current_view
3261 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3263 * paragraph_funcs.h: remove paragraph.h include
3265 * paragraph.h: delete NO_STD_LIST stuff
3267 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3269 * buffer.h: remove paragraph.h include
3271 * ParagraphList.C: delete file
3273 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3275 * toc.C (getTocList): adjust
3277 * paragraph_pimpl.C (validate): adjust
3279 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3281 * paragraph.C (Paragraph): adjust
3282 (getPositionOfInset): use const_iterator, adjust
3283 (bibitem): use const_iterator, adjust
3284 (setInsetOwner): adjust
3286 * iterators.C (operator++): adjust
3288 * InsetList.[Ch]: Replace selfmade iterator with standard
3289 vector::iterator also introduce const_iterator. Remove getPos,
3290 getInset and setInset from InsetTable. Adjust accordingly.
3292 * BufferView.C (lockInset): adjust
3293 (ChangeInsets): adjust
3295 * tabular.[Ch]: delete commented same_id functions
3297 2003-05-28 John Levon <levon@movementarian.org>
3299 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3301 2003-05-28 André Pönitz <poenitz@gmx.net>
3303 * metricsinfo.[Ch]: remove 'fullredraw' member
3305 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3307 * lyxtextclass.C (operator): remove caching.
3309 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * text2.C (cursorBottom): adjust
3314 (setCounter): use ParagraphList::find, adjust
3316 * text.C (workWidth): use ParagraphList::find, adjust
3318 * lyxcursor.C (LyXCursor): adjust
3320 * buffer.C (inset_iterator): adjust
3322 * ParagraphList.h: make iterator(value_type) private, make
3323 ParagraphList a friend of iterator.
3325 * ParagraphList.C (find): new function
3327 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3329 2003-05-27 André Pönitz <poenitz@gmx.net>
3331 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3333 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3335 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3337 2003-05-26 John Levon <levon@movementarian.org>
3339 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3341 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * remove same_id from function signatures, adjust.
3345 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3349 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3351 * paragraph.C (Paragraph): get rid of same_ids parameter
3353 * ParagraphList.C (insert): adjust
3356 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * paragraph_funcs.C (breakParagraph): adjust
3359 (breakParagraphConservative): adjust
3361 * buffer.C (readParagraph): adjust
3363 * ParagraphList.C (insert): take a reference instead of a pointer
3366 * paragraph.[Ch] (id): new function
3368 * bufferlist.C (newFile): adjust
3370 * ParagraphList.C (ParagraphList): adjust
3372 (push_back): take a reference instead of a pointer.
3374 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3376 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3379 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3380 set else use old code.
3382 * ParagraphList.C: remove all NO_NEXT code and only compile this
3383 code of NO_STD_LIST is set.
3385 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3387 * BufferView_pimpl.C:
3397 * graphics/GraphicsConverter.C:
3398 * graphics/PreviewLoader.C: header adjustment
3400 2003-05-23 Angus Leeming <leeming@lyx.org>
3402 * LaTeXFeatures.[Ch] (useBabel): new method.
3403 * bufferparams.C (writeLaTeX): use it.
3405 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * ParagraphList.h (set): remove unused function.
3409 2003-05-23 André Pönitz <poenitz@gmx.net>
3412 * BufferView_pimpl.C:
3416 * undo_funcs.C: setUndo reworked
3418 * iterators.[Ch]: add access to topmost ParagraphList
3420 * lyxtext.[Ch] (workWidth): add a const
3422 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3424 * texrow.[Ch] (increasePos): remove function
3425 * exporter.C (export): removed unused var and outdated comment
3427 2003-05-23 Angus Leeming <leeming@lyx.org>
3429 * latexrunparams.h: rename fragile as moving_arg.
3430 * paragraph.C (simpleTeXOnePar): ditto.
3431 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3433 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3437 (textUndoOrRedo): comment out a currently unused var.
3439 * paragraph.h (NO_NEXT): enable NO_NEXT
3441 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3443 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3445 * exporter.C (Export): adjust for removeAutoInsets removal.
3447 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3449 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3451 * BufferView.[Ch] (removeAutoInsets): delete function
3453 2003-05-22 Angus Leeming <leeming@lyx.org>
3455 * latexrunparams.h: add a free_spacing variable.
3457 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3458 to pass moving_arg, as the data is stored in runparams.fragile.
3460 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3461 to Inset::latexOptional or to simpleTeXOnePar.
3463 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3464 free_spacing arg to Inset::latexOptional.
3466 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3469 2003-05-22 Angus Leeming <leeming@lyx.org>
3471 * latexrunparams.h: add fragile and use_babel variables.
3473 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3474 * buffer.C (makeLaTeXFile): store this returned value in
3475 runparams.use_babel, thus passing it to the inset::latex methods.
3477 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3478 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3480 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3481 longer has a fragile arg, as it is stored in runparams.fragile.
3483 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3484 moving_arg parameter as the data is stored in runparams.fragile.
3486 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3487 a fragile parameter as the data is stored in runparams.fragile.
3489 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3491 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3493 2003-05-22 Angus Leeming <leeming@lyx.org>
3495 * latexrunparams.h: add a 'bool nice' which defaults to false.
3497 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3498 now encapsulated within runparams.
3500 * bufferlist.C (updateIncludedTeXfiles):
3501 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3503 2003-05-22 Angus Leeming <leeming@lyx.org>
3505 * latexrunparams.h: new file containing struct LatexRunParams.
3506 * Makefile.am: add new file.
3508 * LaTeX.[Ch] (c-tor, run):
3509 * buffer.[Ch] (makeLaTeXFile):
3510 * bufferlist.[Ch] (updateIncludedTeXfiles):
3511 * converter.C (convert, scanLog):
3512 * converter.[Ch] (runLaTeX):
3513 * exporter.C (Export):
3514 * paragraph.[Ch] (simpleTeXOnePar):
3515 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3516 * paragraph_funcs.[Ch] (latexParagraphs):
3517 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3518 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3519 pass around a LatexRunParams parameter.
3521 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * paragraph.[Ch]: remove unused constructor
3525 * ParagraphList.C (erase): new function, taking two iterators
3527 2003-05-22 André Pönitz <poenitz@gmx.net>
3529 * undo_funcs.C: remove duplicated code
3531 * iterator.[Ch]: operator=
3533 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * tabular.C (SetMultiColumn): ws changes
3537 * rowpainter.C (paintFirst): get rid of a ->previous
3539 * lyx_cb.C (getPossibleLabel): parlist simplification
3541 * BufferView.C (ChangeInsets): simplify slightly.
3543 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3545 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3546 * lfuns.h: new LFUN_SPACE
3547 * lyxfunc.C: protected space has a new lfun
3548 * paragraph_funcs.C: read new space insets
3550 * factory.C: handle new space insets
3552 2003-05-22 André Pönitz <poenitz@gmx.net>
3555 * BufferView_pimpl.C:
3558 * undo_funcs.C: return a ParIterator from getParFromID.
3560 * iterators.[Ch]: add two const's
3562 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * toc.C (getTocList): adjust
3566 * iterators.[Ch]: rework for parlist
3568 * buffer.C (par_iterator_begin): adjust
3569 (par_iterator_end): adjust
3571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3573 * BufferView.C (removeAutoInsets): adjust
3574 (ChangeInsets): adjust
3576 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3578 * text.C (top_y): fix bug 1110
3580 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3582 * errorlist.[Ch]: added
3585 * BufferView_pimpl.C:
3586 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3589 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * Makefile.am: ensure that lyx is relinked upon changes to the
3592 various "convenience" libs.
3594 2003-05-20 Angus Leeming <leeming@lyx.org>
3596 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3597 files are compiled in alphabetical order again.
3599 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3601 2003-05-19 Angus Leeming <leeming@lyx.org>
3603 * gettext.[Ch]: remove "char const * _(char const *)".
3605 2003-05-19 André Pönitz <poenitz@gmx.net>
3607 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3616 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3618 2003-05-19 André Pönitz <poenitz@gmx.net>
3622 * lyxtextclass.[Ch]:
3624 * paragraph_funcs.[Ch]:
3626 * text3.C: more insetenv work
3628 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3630 * ParagraphParameters.C (params2string): small bug fixed
3632 2003-05-16 André Pönitz <poenitz@gmx.net>
3635 * bufferview_funcs.C: patch from Kornel Benko to prevent
3636 crash when _(...) is called twice in a statement
3638 2003-05-16 André Pönitz <poenitz@gmx.net>
3645 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3647 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3649 * lyx_main.C (init): remove spurious static_cast
3651 2003-05-14 André Pönitz <poenitz@gmx.net>
3653 * BufferView.C: fix format string
3655 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3657 * BufferView.[Ch] (insertErrors): removed
3658 * BufferView.[Ch] (showErrorList): added
3659 * buffer.C (runChkTeX):
3660 * converter.C (scanLog): call showErrorList instead of inserterrors
3662 2003-05-13 André Pönitz <poenitz@gmx.net>
3664 * BufferView_pimpl.C:
3666 * bufferview_func.C:
3673 * tabular_funcs.h: tostr() from its own header
3675 * ParagraphParameters.C:
3680 * text3.C: STRCONV()
3682 2003-05-12 André Pönitz <poenitz@gmx.net>
3685 * BufferView_pimpl.C:
3689 * ParagraphParameters.C:
3693 * bufferview_funcs.C:
3706 * paragraph_funcs.C:
3710 * text3.C: boost::format -> bformat all over the place
3713 2003-05-09 André Pönitz <poenitz@gmx.net>
3715 * LColor.[Ch]: Pimpl the #include <map> away
3717 2003-05-09 John Levon <levon@movementarian.org>
3719 * bufferlist.C: never remove emergency saves
3721 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * Makefile.am: better lib building
3725 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3729 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3730 (simpleTeXSpecialChars): adjust
3731 (simpleTeXSpecialChars): adjust
3732 * paragraph.C (simpleTeXOnePar): adjust
3733 * buffer.C (makeLaTeXFile): adjust
3735 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3737 * text2.C (changeDepth): parlist cleanup
3738 (getColumnNearX): ditto
3740 * rowpainter.C (getLabelFont): parlist cleanup
3742 * bufferlist.C (newFile): parlist cleanup
3744 * CutAndPaste.C (eraseSelection): parlist cleanup
3746 * BufferView_pimpl.C (trackChanges): parlist cleanup
3749 * BufferView.C (lockInset): parlist cleanup.
3750 (ChangeInsets): ditto
3752 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * CutAndPaste.h: Update file header.
3756 * CutAndPaste.C: Update file header.
3757 Store the parts cut out of the Document in a limited_stack.
3758 (copySelection): adjust
3759 (pasteSelection): new function, takes the index in the limited stack.
3760 (nrOfParagraphs): adjust
3761 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3762 simplify error inset insertion.
3763 (checkPastePossible): adjust
3765 2003-05-06 John Levon <levon@movementarian.org>
3767 * text2.C: don't cast wrap inset to float
3769 2003-05-05 André Pönitz <poenitz@gmx.net>
3772 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3774 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3775 few naked Paragraph *.
3777 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3779 * bufferparams.C: Output warning if a document with missing
3780 TeX document class is loaded
3781 * exporter.C: Disable TeX exports if the document class is missing
3784 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3785 isTeXClassAvailable()
3787 2003-05-03 John Levon <levon@movementarian.org>
3790 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3791 explicit cursor show/hide
3793 * BufferView_pimpl.h:
3794 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3795 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3797 * lyxfunc.C: hide cursor before dispatching.
3802 * text3.C: remove explicit cursor hides
3804 2003-05-02 André Pönitz <poenitz@gmx.net>
3806 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3809 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3812 * text2.C: tiny whitespace
3814 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * undo_funcs.C: almost only ws changes.
3818 * ParagraphList.C (splice): just return if pl is empty.
3820 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * ParagraphList.C (splice): new function.
3824 * CutAndPaste.C (pasteSelection): use it
3826 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * CutAndPaste.C (pasteSelection): remove the last next and
3829 previous from this file.
3831 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3833 * CutAndPaste.C (pasteSelection): more clean up, user proper
3834 ParagraphList functions for pasteing.
3836 * ParagraphList.C (insert): new function, three arg insert
3838 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * ParagraphList.C (insert): new function, three arg insert
3842 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3845 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3849 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3853 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3856 (copySelection): clean up a bit.
3857 (pasteSelection): use make_pair
3859 * ParagraphList.C (ParagraphList): implement copy constructor
3860 (operator=): implement, base on copy constructor.
3863 * paragraph.C (erase): return a bool
3865 * paragraph_pimpl.C (erasePos): remove function, move contents...
3866 (erase): ... here. Return a bool.
3867 (erase): call erase instead of erasePos.
3869 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3871 * ParagraphList.h: define PitPosPair
3872 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3873 ParagraphList, fix a bug on pasting multiple pars
3874 * text2.C: change interface to C&P
3876 2003-04-30 André Pönitz <poenitz@gmx.net>
3878 * undo_func.C: revert part of yesterday's patch 2
3880 2003-04-30 John Levon <levon@movementarian.org>
3882 * LColor.C: s/tabular/table/
3884 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * text3.C (dispatch): do not convert iterator -> pointer
3887 * undo_funcs.C (setCursorParUndo): ditto
3888 * text_funcs.C (transposeChars): ditto
3890 * text2.C (setLayout): ws changes only
3892 * text.C (breakParagraph): do not convert iterator -> pointer
3894 (acceptChange): ditto
3895 (rejectChange): ditto
3900 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3903 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3905 * text3.C (gotoInset): YABG (yet another bad getChar)
3907 2003-04-29 André Pönitz <poenitz@gmx.net>
3909 * paragraph.h: make operator= private unimplemented as long as
3912 * ParagraphList.C: whitespace
3915 * paragraph_pimpl.[Ch]:
3916 * paragraph_funcs.C:
3918 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3921 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3923 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3925 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3926 * paragraph.[Ch] (erase):
3927 * paragraph_pimpl.[Ch] (erase): change return type and value
3928 * text2.C (cutSelection): some rework
3930 2003-04-28 John Levon <levon@movementarian.org>
3932 * bufferlist.C: changes for unsaved changes dialog
3934 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3936 * bufferlist.C (newFile): set language (messages_) for new
3939 * buffer.C (readFile): ws changes only.
3941 2003-04-28 André Pönitz <poenitz@gmx.net>
3946 * BufferView_pimpl.C:
3947 * BufferView.C: getParFromID related ParagraphList::iterator changes
3949 2003-04-28 André Pönitz <poenitz@gmx.net>
3951 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3954 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * messages.C: remove one more localedir class variable.
3958 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * messages.C (getLocaleDir): singleton generation function
3962 (Messages): add a default constructor.
3964 * main.C (main): do not setup localedir here, do not call
3967 * gettext.C (_): use it.
3968 (gettext_init): delete funciton
3970 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * gettext.C (getLyXMessages): new singleton generating function.
3974 * buffer.C (updateDocLang): adjust
3976 * Makefile.am (messages.o): add target
3977 (main.o): remove target
3979 2003-04-27 John Levon <levon@movementarian.org>
3984 * lyxvc.C: specify cancel button in Alert::prompt
3986 2003-04-26 John Levon <levon@movementarian.org>
3991 * LyXAction.C: add LFUN_INSET_SETTINGS
3993 * lyxfunc.C: don't enable tabular-feature when there's
3994 just any locking inset
3996 2003-04-26 John Levon <levon@movementarian.org>
3998 * bufferlist.C: re-add Cancel to buffer close question
4000 * lyxfunc.C: fix import UI a bit
4002 2003-04-25 John Levon <levon@movementarian.org>
4004 * gettext.C: remove the broken asserts for now
4006 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * messages.C: make case where setlocale cannot comply work better.
4010 * buffer.C (updateDocLang): new function
4011 (changeLanguage): use it
4014 * text2.C (setCounter): use B_ a bit.
4016 * lyxlayout.C (Read): be sure to trim the label strings.
4018 * messages.C (Messages): fix typo in comment
4020 * buffer.C (readFile): set message_ after file is loaded.
4021 (makeDocBookFile): remove double return
4022 (changeLanguage): reset message_ upon language change.
4023 (B_): new func, use this to get translated buffer strings.
4025 * main.C: add myself and Jean Marc as authors.
4027 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * messages.[hC]: pimplify Messages, and three different pimpls to be
4030 used in different circumstances.
4032 * gettext.[Ch]: change for use with new message code.
4034 2003-04-24 André Pönitz <poenitz@gmx.net>
4036 * factory.C: support for eqref
4038 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * messages.[Ch]: add missing char
4042 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4044 * messages.[Ch]: New files
4046 2003-04-18 John Levon <levon@movementarian.org>
4050 * BufferView_pimpl.C:
4054 * text2.C: remove layout-copy/paste (bug 778)
4056 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4058 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4060 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4062 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4063 if they succeed. Act accordingly.
4065 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4067 * text2.C (setCharFont): adjust
4068 (setCounter): adjust
4069 (insertStringAsLines): adjust
4071 * text.C (leftMargin): adjust
4072 (setHeightOfRow): adjust
4074 * rowpainter.C (paintFirst): adjust
4077 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4079 (isFirstInSequence): ditto
4080 (getEndLabel): ditto
4083 * paragraph.C (getParLanguage): comment out some hard stuff.
4085 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4087 (simpleDocBookOnePar): ditto
4088 (makeDocBookFile): use ParagraphList::iterator
4090 * CutAndPaste.C (pasteSelection): adjust
4092 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * text2.C (getFont): adjust
4095 (getLayoutFont): adjust
4096 (getLabelFont): adjust
4098 * paragraph_funcs.C (TeXOnePar): adjust
4100 * buffer.C (simpleLinuxDocOnePar): adjust
4101 (simpleDocBookOnePar): adjust
4103 * CutAndPaste.C (pasteSelection): adjust
4105 * BufferView.C (getEncoding): adjust
4107 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4109 2003-04-16 John Levon <levon@movementarian.org>
4111 * lyxfind.C: use parlist stuff for search/changes
4113 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4117 * text2.C (deleteEmptyParagraphMechanism): adjust
4119 * text2.[Ch] (ownerParagraph): delete func (both of them
4121 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4125 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * ParagraphList.C: prepare for NO_NEXT
4129 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * text2.C (getFont): adjust
4132 (getLayoutFont): adjust
4133 (getLabelFont): adjust
4135 * paragraph.C (getFont): adjust
4136 (getLabelFont): adjust
4137 (getLayoutFont): adjust
4139 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4141 2003-04-15 John Levon <levon@movementarian.org>
4145 * lyx_main.C: handle Include in .ui files
4147 2003-04-15 John Levon <levon@movementarian.org>
4149 * MenuBackend.C: make the doc files length shorter
4152 * ToolbarBackend.C: handle toolbar placement flags,
4155 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4160 * paragraph_funcs.C (TeXOnePar): adjust
4162 * paragraph.C (getLabelFont): add outerfont arg, adjust
4163 (getLayoutFont): ditto
4164 (simpleTeXOnePar): adjust
4166 * paragraph_pimpl.C (realizeFont): delete func
4168 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4170 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4171 row argument, constify cur argument.
4173 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4175 * text2.C (getFont): adjust
4176 (getLayoutFont): adjust
4177 (getLabelFont): adjust
4179 * paragraph_funcs.C (TeXOnePar): adjust
4180 (outerFont): new func...
4181 (realizeFont): ...moved out from here, changed this to facilitate
4184 * paragraph.C (getFont): take outerfont as arg, adjust
4185 (simpleTeXOnePar): add outerfont arg, adjust
4187 * buffer.C (simpleLinuxDocOnePar): adjust
4188 (simpleDocBookOnePar): adjust
4190 * CutAndPaste.C (pasteSelection): adjust
4192 * BufferView.C (getEncoding): adjust
4194 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * text2.C (setCharFont): adjust
4197 (setCounter): adjust
4199 * text.C (leftMargin): adjust
4200 (setHeightOfRow): adjust
4202 * rowpainter.C (paintFirst): adjust
4205 * paragraph_pimpl.C (realizeFont): adjust
4207 * paragraph.C (isFirstInSequence): move from here...
4208 * paragraph_funcs.C (isFirstInSequence): ...to here
4210 * paragraph.C (outerHook): move from here...
4211 * paragraph_funcs.C (outerHook): ...to here
4213 * paragraph.C (depthHook): move from here...
4214 * paragraph_funcs.C (depthHook): ...to here
4216 * paragraph.C (getEndLabel): move from here...
4217 * paragraph_funcs.C (getEndLabel): ...to here
4219 * text2.C (realizeFont): move from here...
4220 * paragraph_funcs.C (realizeFont): ...to here
4222 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4226 2003-04-14 Angus Leeming <leeming@lyx.org>
4228 * LColor.[Ch]: scrap LColor mathcursor.
4230 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4232 * lyxlex.[Ch] (text): delete function
4233 * trans.C (Load): adjust
4234 * paragraph_funcs.C (readParToken): adjust
4236 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4239 vector<char> instead of a char[].
4241 * lyxlex_pimpl.C (getString): adjust
4243 (lex): use getString
4247 * lyxlex.C (text): use pimpl_->getString()
4251 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4254 (makeFontEntriesLayoutSpecific): temp var for par.size()
4255 (setLayout): temp var for ownerParagraphs().end()
4256 (fullRebreak): temp var for rows().end()
4257 (selectionAsString): temp var for boost::next(startpit), realize
4258 that the while really is a regular for loop.
4259 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4260 setCursor in one place.
4261 (setParagraph): temp vr for ownerParagraphs().end()
4262 (updateCounters): make the while loop a for loop
4263 (cutSelection): temp var for ownerParagraphs().end()
4264 (updateInset): make the do {} while() a regular for loop
4265 (getCursorX): use temp vars
4266 (setCurrentFont): use temp vars
4267 (getColumnNearX): use temp vars
4269 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * text.C (transformChar): use temp var for getChar
4272 (computeBidiTables): use temp var for row->par()
4273 (fill): move temp vars for row->par() and pit->layout() earlier in
4275 (labelFill): use temp var for row->par()
4276 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4277 asc and desc, realize that pit never changes and that firstpit is
4278 just a duplicate and not needed. Exchange rit->par() with pit in a
4280 (breakAgain): use a temp var for boost::next(rit)
4281 (breakAgainOneRow): ditto
4282 (breakParagraph): use a temp var for rows().begin()
4283 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4284 (cursorRightOneWord): use temp var for cursor.par() and
4285 cursor.pos(), remove usage of tmpcursor.
4286 (cursorLeftOneWord): use temp var for cursor.par() and
4287 cursor.pos() only set cur at end of function.
4289 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4291 * text.C, text2.C: exchange all usage of Paragraph::next with
4292 boost::next(ParagraphList::iterator)
4294 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4296 * text2.C (cursorTop): simplify implementation
4297 (cursorBottom): ditto
4298 (setParagraph): use ParagraphList::iterator
4299 (setCurrentFont): adjust
4300 (getColumnNearX): adjust
4301 (cursorRight): adjust
4302 (cursorLeft): remove usage of Paragraph::previous
4303 (cursorUpParagraph): ditto
4304 (deleteEmptyParagraphMechanism): slight cleanup
4306 * text.C (isBoundary): take a Paragraph const & instead of a
4308 (addressBreakPoint): ditto
4309 (leftMargin): remove usage of Paragraph::previous.
4310 (setHeightOfRow): ditto
4311 (cursorLeftOneWord): ditto
4312 (selectNextWordToSpellcheck): ditto
4315 (breakParagraph): remove one usage of Paragraph::next
4316 (redoParagraph): ditto
4317 (acceptChange): ditto
4318 (insertChar): adjust
4319 (rowBreakPoint): adjust
4321 * bufferview_funcs.C (toggleAndShow): adjust
4323 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4325 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4326 methods to access it.
4328 * text.C: Added updateRowPositions to compute all row positions.
4329 Make top_y and getRowNearY() to use the cached y position
4331 2003-04-11 John Levon <levon@movementarian.org>
4333 * text.C (rowBreakPoint): reintroduce the labelEnd
4334 checks, code copied from the row fill stuff. Deep voodoo.
4336 * text.C (fill): add a comment and debugging for the
4339 2003-04-11 John Levon <levon@movementarian.org>
4341 * text.C: make sure fullrow insets get wrapped to the next line,
4342 even when they're in a manual label
4344 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * text2.C (insertParagraph): make it take ParagraphList::iterator
4348 (setLayout): make it return ParagraphList::iterator
4349 (redoParagraphs): ditto
4351 (checkParagraph): ditto
4353 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4355 * text2.C: adjust several funcs.
4356 (realizeFont): take a ParagraphList::iterator as arg.
4357 (getLayoutFont): ditto
4358 (getLabelFont): ditto
4359 (setCharFont): ditto
4361 * text.C: adjust several funcs.
4363 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4365 * text.C (selectNextWordToSpellcheck): don't accidentally
4368 2003-04-10 John Levon <levon@movementarian.org>
4370 * ToolbarBackend.C (getIcon): special handling for
4373 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4375 * text2.C (cursorRight): a getChar assert fixed
4377 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * text2.C (getFont): change to take a ParagraphList::iterator
4380 instead of Paragraph*
4381 Adjust several functions.
4383 * text.C (transformChar): change to take a ParagraphList::iterator
4384 instead of Paragraph*
4385 (singleWidth): ditto
4386 Adjust several functions.
4388 * rowpainter.C: adjust several functions
4389 * rowpainter.h:store a ParagraphList::iterator and not a
4393 2003-04-09 John Levon <levon@movementarian.org>
4398 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4399 and the "help" bits as well
4401 2003-04-09 John Levon <levon@movementarian.org>
4404 * ToolbarBackend.C: allow multiple toolbars
4406 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * undo_funcs.C (setCursorParUndo): adjust
4410 * text_funcs.C (transposeChars): adjust
4412 * text3.C (gotoNextInset): adjust
4415 * text2.C (setLayout): adjust
4416 (changeDepth): adjust
4418 (redoParagraphs): adjust
4419 (selectionAsString): adjust
4420 (setParagraph): adjust
4421 (insertInset): adjust
4422 (cutSelection): adjust
4423 (copySelection): adjust
4424 (pasteSelection): adjust
4425 (insertStringAsLines): adjust
4426 (updateInset): adjust
4427 (setCursor): change to take a ParagraphList::iterator parameter
4428 (setCursorIntern): change to take a ParagraphList::iterator parameter
4429 (setCurrentFont): adjust
4430 (cursorLeft): adjust
4431 (cursorRight): adjust
4432 (deleteEmptyParagraphMechanism): adjust
4434 * text.C (breakParagraph): adjust
4435 (insertChar): adjust
4436 (acceptChange): adjust
4437 (rejectChange): adjust
4438 (selectNextWordToSpellcheck): adjust
4439 (changeCase): adjust
4443 * lyxfind.C (SearchForward): adjust
4444 (SearchBackward): adjust
4445 (nextChange): adjust
4447 * lyxcursor.C (par): adjust
4449 * lyxcursor.h: store a ParagraphList::iterator instead of a
4452 * lyx_cb.C (getPossibleLabel): adjust
4454 * bufferview_funcs.C (toggleAndShow): adjust
4456 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4459 * BufferView.C (removeAutoInsets): adjust
4460 (lockedInsetStoreUndo): adjust
4462 2003-04-09 John Levon <levon@movementarian.org>
4464 * ToolbarBackend.C: try icon without argument
4465 if with argument fails
4467 2003-04-08 John Levon <levon@movementarian.org>
4470 * ToolbarBackend.C: add getIcon(), handle tooltip,
4471 and change from "Icon" to "Item".
4473 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4475 * BufferView.C (lockInset): another bad getchar crunched
4477 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4479 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4482 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4484 * lyxfind.C (searchForward, searchBackwards): bug 782
4486 2003-04-07 John Levon <levon@movementarian.org>
4488 * paragraph.C: remove dead comment
4490 * text.C: remove troublesome depth-fiddling code
4491 in leftMargin() and rightMargin() (bug 1017)
4493 * text.C: fix breaking of rows in nested lists
4496 * text2.C (updateCounters): fix up depth values
4499 2003-04-07 John Levon <levon@movementarian.org>
4501 * BufferView_pimpl.C: clear message when doc finishes resizing,
4502 and after a mouse event
4504 * lyxfunc.C: clear message after exiting inset
4506 2003-04-07 John Levon <levon@movementarian.org>
4508 * bufferview_funcs.C: show math status not outside
4509 status in the statusbar
4511 2003-04-07 John Levon <levon@movementarian.org>
4513 * lyxfunc.C: note status changed after a depth change
4515 2003-04-04 Angus Leeming <leeming@lyx.org>
4517 * LaTeX.h: move AuxInfo operator==, != out of line.
4518 Remove LaTeX virtual destructor; nothing derives from it.
4519 Move operator()() out of public area and rename it startscript().
4520 Change protected for private.
4522 2003-04-04 Angus Leeming <leeming@lyx.org>
4525 * text2.C: remove unneeded #includes.
4527 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4529 * text2.C (dEPM): fix the heigth of the next row
4531 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4533 * text.C: squashed an invalid getChar requester + some ws changes
4535 2003-04-03 John Levon <levon@movementarian.org>
4537 * bufferview_funcs.h:
4538 * bufferview_funcs.C:
4541 * text2.C: make getStatus work for the env depth lfuns
4543 2003-04-03 John Levon <levon@movementarian.org>
4545 * bufferview_funcs.h:
4546 * bufferview_funcs.C:
4549 * text2.C: parlistize decDepth(), by merging it with incDepth()
4551 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4553 * lyxrow.h: store a ParagraphList::iterator instead of a
4554 Paragraph* and adjust other class functions to suit.
4556 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4559 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4561 * text2.C (setCursor): do not anchor to cursor row for the time being
4563 2003-04-02 John Levon <levon@movementarian.org>
4570 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4572 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * paragraph.h: make ParagraphList and ParagraphList::iterator
4575 friends of Paragraph.
4577 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4579 * ParagraphList.C: Use the private next_ and previous_ from
4582 2003-04-01 John Levon <levon@movementarian.org>
4586 * Makefile.am: rename, remove defaults gunk
4589 * MenuBackend.C: remove defaults gunk
4592 * Languages.C: remove defaults gunk
4595 * lyx_main.C: error out if files couldn't be found.
4597 2003-04-02 John Levon <levon@movementarian.org>
4599 * text2.C: make incDepth() use parlist
4601 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * undo_funcs.C (firstUndoParagraph): adjust
4605 * text3.C (gotoInset): adjust
4606 (dispatch): adjust, and rewrite loop.
4608 * text2.C (init): adjust, and rewrite loop.
4609 (redoParagraphs): adjust
4610 (updateInset): adjust, and rewrite loop.
4611 (deleteEmptyParagraphMechanism): adjust
4613 * tabular.C (LyXTabular): adjust
4614 (SetMultiColumn): adjust
4617 * lyxtext.[Ch] (ownerParagraph): delete function
4618 (ownerParagraphs): new function returns a ParagraphList.
4620 * BufferView.C (removeAutoInsets): adjust
4621 (insertErrors): adjust
4622 (setCursorFromRow): adjust
4624 2003-04-01 Angus Leeming <leeming@lyx.org>
4626 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4629 2003-04-02 John Levon <levon@movementarian.org>
4635 * text_funcs.C: make transposeChars a free function
4637 * lyxrow_funcs.C: remove wrong comment
4639 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * rowpainter.C: adjust
4647 * lyxrow_funcs. [Ch]: new files
4649 * lyxrow.[Ch]: remove next and previous pointers
4650 (next,previous): remove accessor functions
4651 (isParEnd): move to lyxrow_funcs
4652 (lastPos): move to lyxrow_funcs
4653 (nextRowIsAllInset): move to lyxrow_funcs
4654 (lastPrintablePos): move to lyxrow_funcs
4655 (numberOfSeparators): move to lyxrow_funcs
4656 (numberOfHfills): move to lyxrow_funcs
4657 (numberOfLabelHfills): move to lyxrow_funcs
4658 (hfillExpansion): move to lyxrow_funcs
4662 * bufferview_funcs.C (toggleAndShow): adjust
4664 * RowList.h: Remove class RowList from file leave just a
4667 * RowList.C: delete file
4669 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4672 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * text3.C (cursorPrevious): adjust
4675 (cursorNext): adjust
4678 * text2.C (redoHeightOfParagraph): adjust
4679 (redoDrawingOfParagraph): adjust
4682 * text.C (breakParagraph): adjust
4683 (insertChar): adjust
4686 * rowpainter.C (RowPainter): adjust
4687 (leftMargin): simplify and adjust
4688 (most rowpainter functions): adjust.
4690 * rowpainter.h: store the row as RowList::iterator not as Row*
4692 * lyxcursor.C (row): taka RowList::iterator as arg
4695 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4698 2003-04-01 Angus Leeming <leeming@lyx.org>
4700 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4701 stuff like bool Bool.
4703 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4705 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4708 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4710 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4713 * lyxtext.h (rows): drop one version and leve a const variant that
4714 returns a RowList::iterator.
4716 2003-03-31 Angus Leeming <leeming@lyx.org>
4718 * text.C (fill): ensure that the signature is the same as that in the
4721 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * text2.C (redoParagraphs): adjust
4724 (updateCounters): adjust
4725 (checkParagraph): adjust
4726 (getColumnNearX): adjust and reformat a bit.
4728 * text.C (top_y): adjust
4730 (leftMargin): adjust
4731 (prepareToPrint): adjust
4733 (getRowNearY): adjust
4735 * lyxtext.h: make rowlist_ mutable.
4737 * RowList.h: add const_iterator
4738 * RowList.C: adjust for RowList::const_iterator.
4740 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4743 2003-03-31 John Levon <levon@movementarian.org>
4746 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4748 * lyx_main.C: set default fonts from using lyx_gui funcs
4750 * exporter.C: pdf_mode moved from lyxrc
4753 * lyxfunc.C: changes from above
4755 2003-03-31 John Levon <levon@movementarian.org>
4757 * lyx_main.C: fix to the last fix
4759 2003-03-31 John Levon <levon@movementarian.org>
4761 * bufferlist.C: "Load original" -> "Load Original"
4767 * format.C: more Alert cleanups
4769 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * text2.C (removeParagraph): make it take a RowList::iterator as
4773 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4774 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4776 * text.C (anchor_row): make it take a RowList::iterator as arg,
4778 (computeBidiTables): make it take a const reference to Row instead
4779 of Row pointer, adjust.
4780 (leftMargin): make it take a RowList::iterator as arg, adjust.
4781 (rowBreakPoint): adjust
4782 (breakAgainOneRow): make it take a RowList::iterator as arg,
4784 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4786 * bufferview_funcs.C (toggleAndShow): adjust
4788 2003-03-30 John Levon <levon@movementarian.org>
4792 * boost-inst.C: moved to support
4794 * several files: changes as a result
4796 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * text2.C (LyXText): adjust.
4800 (removeRow): make it take a RowList::iterator as arg, adjust.
4801 (fullRebreak): adjust
4802 (deleteEmptyParagraphMechanism): adjust
4803 (clearPaint): adjust
4806 * text.C (top_y): adjust
4807 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4808 (breakAgain): make it take a RowList::iterator as arg, adjust.
4809 (breakParagraph): adjust
4810 (insertChar): adjust
4813 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4814 need_break_row, and refresh_row.
4816 * text3.C (dispatch): adjust
4818 * text2.C (checkParagraph): adjust
4820 (setCursorFromCoordinates): adjust
4822 * text.C (top_y): adjust
4824 (getRow): make it return a RowList::iterator, adjust
4825 (getRowNearY): make it return a RowList::iterator, adjust
4827 * text2.C (init): adjust
4828 (insertRow): remove function
4829 (insertParagraph): adjust
4830 (redoParagraphs): adjust
4831 (fullRebreak): adjust
4832 (updateCounters): adjust
4834 * text.C (top_y): rewrite to use RowList iterators.
4836 (setHeightOfRow): rewrite to sue RowList iterators.
4837 (appendParagraph): adjust
4838 (breakAgain): adjust
4839 (breakAgainOneRow): adjust
4840 (breakParagraph): adjust
4842 (getRowNearY): adjust, and remove commented code.
4844 * lyxtext.h (firstRow): delete function
4845 (lastRow): delete function
4846 (rows): new function (const and non-const versions.)
4847 (insertRow): delete function
4849 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4851 2003-03-29 John Levon <levon@movementarian.org>
4853 * BufferView_pimpl.C: always update scrollbar top
4854 because pasting text when we're anchored could mean we
4855 miss an update altogether
4857 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * text2.C (init): use rowlist_.end() and not 0.
4860 (insertRow): change to take a RowList::iterator as arg, adjust
4862 (insertParagraph): change to take a RowList::iterator as arg,
4864 (redoParagraphs): remove some debug msgs.
4866 * text.C (appendParagraph): change to take a RowList::iterator
4867 arg, adjust for this.
4868 (breakAgain): add an assert
4869 (breakAgainOneRow): ditto
4871 2003-03-29 John Levon <levon@movementarian.org>
4873 * text2.C: do not clear selection after inc/decDepth
4876 2003-03-29 John Levon <levon@movementarian.org>
4879 * buffer.C: fix broken strerrors according to Lars
4881 2003-03-29 John Levon <levon@movementarian.org>
4883 * converters.C: more Alert cleanups
4885 2003-03-29 John Levon <levon@movementarian.org>
4887 * bufferview_funcs.C: remove pointless Alert
4889 * buffer.C: fix confusing error message when
4890 a template is chmoded 000
4892 2003-03-29 John Levon <levon@movementarian.org>
4896 * BufferView_pimpl.C: Alert fixes
4900 * tabular-old.C: remove unused table compat reading
4902 2003-03-29 John Levon <levon@movementarian.org>
4907 * lyx_cb.C: more Alert cleanups
4909 * lyxfunc.C: don't allow chktex if not latex document
4911 2003-03-29 John Levon <levon@movementarian.org>
4915 * buffer.C: warnings pushed down from support/,
4918 2003-03-29 John Levon <levon@movementarian.org>
4920 * lyxfunc.C: safety check for C-r (revert)
4922 2003-03-29 John Levon <levon@movementarian.org>
4925 * bufferlist.C: several UI fixes using Alert::prompt.
4926 Fix the pointless looping quit code. Fix stupid revert
4931 * lyx_cb.C: use Alert::prompt
4933 * lyx_main.C: remove a silly question
4935 * lyxfunc.C: remove a couple of silly questions,
4938 2003-03-28 John Levon <levon@movementarian.org>
4940 * text2.C: fix bug 974 (End on empty par)
4942 2003-03-28 John Levon <levon@movementarian.org>
4944 * BufferView_pimpl.C:
4946 * lfuns.h: remove do-nothing math greek lfuns
4948 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4950 * lyxgluelength.h (isValidGlueLength): add default arg on
4951 parameter 2. Remove default arg from friend in class.
4953 * lyxlength.h (isValidLength): add default arg on parameter 2.
4954 Remove default arg from friend in class.
4956 * text2.C (LyXText): adjust, initialize refresh_row.
4960 (insertParagraph): adjst
4961 (redoParagraphs): adjust
4962 (fullRebreak): adjust
4963 (updateCounters): adjust
4964 (deleteEmptyParagraphMechanism): first attempt at fixing a
4967 * text.C (top_y): adjust
4968 (setHeightOfRow): adjust
4970 (getRowNearY): adjust
4972 * lyxtext.h: include RowList.h
4973 (~LyXText): not needed anymore, deleted.
4974 (firstRow): modify for RowList
4975 (lastRow): new function
4976 Delete firstrow and lastrow class variables, add a Rowlist
4977 rowlist_ class variable.
4979 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4982 * RowList.C (insert): fix case where it == begin().
4984 2003-03-26 Angus Leeming <leeming@lyx.org>
4986 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4987 the thesaurus dialog.
4989 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4993 * RowList.[Ch]: new files
4995 * ParagraphList.C (erase): handle the case where it == begin
4998 2003-03-25 John Levon <levon@movementarian.org>
5002 * aspell.C: add new aspell support
5005 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5008 2003-03-25 Angus Leeming <leeming@lyx.org>
5011 * LyXAction.C (init): new LFUN_INSET_INSERT.
5013 * BufferView_pimpl.C (dispatch): split out part of the
5014 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5016 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5019 2003-03-25 Angus Leeming <leeming@lyx.org>
5021 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5023 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5026 * text3.C: remove useless row->height(0)
5028 2003-03-25 John Levon <levon@movementarian.org>
5032 * text3.C: rename the refreshing stuff to better names
5034 2003-03-24 John Levon <levon@movementarian.org>
5036 * BufferView_pimpl.h:
5037 * BufferView_pimpl.C: update layout choice on a mouse
5040 2003-03-23 John Levon <levon@movementarian.org>
5042 * Makefile.am: fix commandtags.h reference
5044 2003-03-22 John Levon <levon@movementarian.org>
5046 * BufferView_pimpl.C:
5051 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5053 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5056 * text.C: take the rtl methods out of line
5058 2003-03-21 André Pönitz <poenitz@gmx.net>
5060 * metricsinfo.[Ch]: new files containing structures to be passed around
5061 during the two-phase-drawing...
5063 2003-03-21 André Pönitz <poenitz@gmx.net>
5065 * lyxtextclass.C: read 'environment' tag.
5067 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5069 * text2.C (removeRow): fix bug 964
5071 2003-03-20 John Levon <levon@movementarian.org>
5075 * text2.C: paint cleanups. Inset::update() dropped font
5078 2003-03-19 John Levon <levon@movementarian.org>
5080 * lyxfunc.C: only fitcursor/markDirty if available()
5082 2003-03-19 John Levon <levon@movementarian.org>
5084 * commandtags.h: rename to ...
5086 * lfuns.h: ... this, and renumber / cleanup
5088 2003-03-19 John Levon <levon@movementarian.org>
5090 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5091 fit the cursor after an lfun
5095 * BufferView_pimpl.h:
5096 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5098 * LyXAction.C: layout-character should have ReadOnly
5100 * ParagraphParameters.C:
5102 * bufferview_funcs.C:
5109 * undo_funcs.C: changes from above
5111 2003-03-18 John Levon <levon@movementarian.org>
5113 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5114 remove it from update()
5116 * lyxfunc.C: update layout choice after an lfun
5118 * text3.C: remove extra updateLayoutChoice()s
5120 2003-03-18 John Levon <levon@movementarian.org>
5122 * text.C: top_y change means full repaint, fix
5123 a drawing bug with cursor movement
5125 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5129 * text2.C: anchor row on setCursor
5131 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5133 * lyxtext.h: remove almost all mutable keywords
5136 * text3.C: remove const keywords accordingly
5138 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5142 (TeXEnvironment): ditto
5145 2003-03-17 John Levon <levon@movementarian.org>
5147 * text.C (rowBreakPoint): remove attempt to fix displayed
5148 math insets inside a manual label
5150 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * lyxtext.h: remove BufferView* as first arg from almost all class
5154 * other files: adjust.
5156 2003-03-17 John Levon <levon@movementarian.org>
5160 * text2.C: more paint cleanups
5162 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5165 * rowpainter.C: remove "smart" background painting code
5167 2003-03-16 John Levon <levon@movementarian.org>
5172 * text3.C: add helper functions for setting refresh_row/y
5174 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5176 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5177 newline inset which *can* get inserted in the pass_thru layouts.
5178 This is primarily for literate documents.
5180 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5182 * buffer.C: increment LYX_FORMAT to 223
5184 2003-03-14 André Pönitz <poenitz@gmx.net>
5186 * textclass.h: prepare for environment handling, ws changes
5187 * lyxlayout.C: read latexheader and latexfooter tags
5189 2003-03-14 John Levon <levon@movementarian.org>
5191 * text2.C: rewrite ::status() a bit
5193 2003-03-13 John Levon <levon@movementarian.org>
5195 * lyxtext.h: add some docs
5197 2003-03-13 John Levon <levon@movementarian.org>
5202 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5204 2003-03-13 John Levon <levon@movementarian.org>
5206 * text3.C: fix appendix redrawing
5208 2003-03-13 John Levon <levon@movementarian.org>
5210 * text.C (setHeightOfRow):
5212 * rowpainter.C: make appendix mark have the text
5213 "Appendix" so the user knows what it is
5216 * LColor.C: s/appendixline/appendix/ from above
5218 2003-03-13 John Levon <levon@movementarian.org>
5220 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5222 * text.C: fix a getChar(pos) bug properly
5224 2003-03-13 Angus Leeming <leeming@lyx.org>
5227 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5228 Probably only temporary. Let's see how things pan out.
5230 * BufferView.C (unlockInset):
5231 * BufferView_pimpl.C (fitCursor):
5232 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5234 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5235 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5237 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5238 new functions that convert ParagraphParameters to and from a string.
5240 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5241 BufferView::Pimpl's dispatch.
5242 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5244 2003-03-13 André Pönitz <poenitz@gmx.net>
5248 * factory.C: make it aware of InsetEnv
5250 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * text2.C (setCursor): never ask for one past last
5253 (setCursor): add some debugging messages.
5255 * text.C (singleWidth): never ask for one past last
5256 (singleWidth): ditto
5258 (rightMargin): ditto
5259 (rowBreakPoint): ditto
5260 (setHeightOfRow): ditto
5261 (prepareToPrint): ditto
5263 * rowpainter.C (paintBackground): never ask for one past last
5264 (paintText): never ask for one past last
5266 * paragraph_pimpl.C (getChar): make the assert stricter, never
5267 allow the one past last pos to be taken
5269 * paragraph.C (getChar): ws changes only
5271 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5272 (numberOfSeparators): ditto
5273 (numberOfHfills): ditto
5275 2003-03-12 John Levon <levon@movementarian.org>
5281 * paragraph_funcs.C: fix per-buffer authorlists
5283 2003-03-12 John Levon <levon@movementarian.org>
5285 * text.C: fix newline in right address
5287 2003-03-12 Angus Leeming <leeming@lyx.org>
5289 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5290 duplicate those in LyXFunc::dispatch.
5294 * ToolbarDefaults.C:
5295 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5296 Add LFUN_FONTFREE_UPDATE.
5298 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5299 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5301 * bufferview_func.[Ch]: several new functions to facilliate
5302 transfer of data to and from the character dialog.
5304 2003-03-12 John Levon <levon@movementarian.org>
5309 * paragraph_funcs.C:
5310 * paragraph_pimpl.C:
5314 * text3.C: remove META_NEWLINE in favour of an inset
5317 * rowpainter.C: remove paintNewline (done by inset)
5319 2003-03-12 John Levon <levon@movementarian.org>
5321 * paragraph_pimpl.C: complain about bad getChar()s
5322 for a while at least
5324 2003-03-12 John Levon <levon@movementarian.org>
5327 * buffer.C: move paragraph read into a separate function,
5328 a little renaming to reflect that.
5331 * bufferparams.C: remove the author_ids map, not necessary now
5334 * factory.C: moved Buffer::readInset to here
5336 * paragraph_funcs.h:
5337 * paragraph_funcs.C: readParagraph free function moved from
5340 * tabular.C: name change
5342 2003-03-12 John Levon <levon@movementarian.org>
5345 * ParagraphParameters.C: move par params input to
5348 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5349 behave like a normal read from the stream wrt reading
5350 a line vs. a \\token
5352 2003-03-12 John Levon <levon@movementarian.org>
5355 * ParagraphParameters.h:
5356 * ParagraphParameters.C: move output code to a
5359 2003-03-12 John Levon <levon@movementarian.org>
5361 * BufferView.C (insertLyXFile):
5364 * tabular.C: use a parlist iterator for creating the
5367 2003-03-12 John Levon <levon@movementarian.org>
5369 * buffer.C: make current_change static local not
5372 2003-03-12 John Levon <levon@movementarian.org>
5374 * buffer.C: fix insertStringAsLines for change tracking
5376 2003-03-12 John Levon <levon@movementarian.org>
5383 * bufferparams.C: move author list into params. Rename some
5384 functions. Move the header reading into a separate token
5385 loop. Move the header token reading into BufferParams.
5387 2003-03-12 John Levon <levon@movementarian.org>
5389 * changes.C: put debug inside lyxerr.debugging() checks
5391 2003-03-11 André Pönitz <poenitz@gmx.net>
5393 * factory.C: make it aware of InsetHFill
5395 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5397 * buffer.C (latexParagraphs): move function from here...
5398 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5401 2003-03-10 Angus Leeming <leeming@lyx.org>
5403 * LyXAction.C (init): fix bug in poplating array with multiple entries
5404 with the same LFUN (spotted by JMarc).
5406 2003-03-10 John Levon <levon@movementarian.org>
5409 * text2.C: move getColumnNearX() near its
5412 2003-03-10 John Levon <levon@movementarian.org>
5414 * text.C: fix break before a minipage
5416 2003-03-10 John Levon <levon@movementarian.org>
5418 * text.C: fix the last commit
5420 2003-03-09 John Levon <levon@movementarian.org>
5424 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5425 bug 365 (don't break before insets unless needed). Don't
5426 return a value > last under any circumstances.
5428 2003-03-09 Angus Leeming <leeming@lyx.org>
5430 * BufferView_pimpl.C (trackChanges, dispatch): call
5431 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5433 2003-03-09 Angus Leeming <leeming@lyx.org>
5435 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5436 than Dialogs::showAboutlyx().
5438 2003-03-09 Angus Leeming <leeming@lyx.org>
5440 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5441 than Dialogs::showTabularCreate().
5443 2003-03-09 John Levon <levon@movementarian.org>
5447 * text2.C: 3rd arg to nextBreakPoint was always the same.
5450 2003-03-08 John Levon <levon@movementarian.org>
5457 * text2.C: Remove the "main" bit from the "main body"
5460 2003-03-08 John Levon <levon@movementarian.org>
5462 * text.C (leftMargin): The left margin of an empty
5463 manual label paragraph should not include the label width
5466 * text.C (prepareToPrint): don't attempt to measure hfills
5467 for empty manual label paragraphs - the answer should be 0
5469 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * CutAndPaste.C: remove commented code and reindent.
5473 2003-03-08 John Levon <levon@movementarian.org>
5476 * lyxfunc.C: move reloadBuffer()
5479 * BufferView.C: to here
5481 * lyxvc.C: add comment
5484 * vc-backend.C: call bv->reload() to avoid
5485 getStatus() check on MENURELOAD
5487 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5489 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5490 to an old format .dep file.
5492 2003-03-07 Angus Leeming <leeming@lyx.org>
5494 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5495 when the LFUN_MOUSE_RELEASE should have been handled by
5496 inset->localDispatch.
5498 2003-03-07 Angus Leeming <leeming@lyx.org>
5500 * BufferView_pimpl.C (dispatch):
5501 * LyXAction.C (init):
5502 * ToolbarDefaults.C (init):
5504 * lyxfunc.C (getStatus):
5505 remove LFUN_INSET_GRAPHICS.
5507 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5509 2003-03-07 Angus Leeming <leeming@lyx.org>
5512 * LyXAction.C (init):
5513 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5515 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5518 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5520 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5521 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5523 2003-03-07 Angus Leeming <leeming@lyx.org>
5525 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5528 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * ParagraphList.C (front): new function
5533 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5535 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5536 and top_row_offset_. removed var first_y.
5538 * text2.C (LyXText, removeRow):
5540 * BufferView_pimpl.C:
5541 use these methods instead of using first_y
5543 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * text2.C (pasteSelection): adjust for checkPastePossible
5547 * CutAndPaste.C: remove Paragraph * buf and replace with
5548 ParagraphList paragraphs.
5549 (DeleteBuffer): delete
5550 (cutSelection): change the tc type to textclass_type
5551 (copySelection): change the tc type to textclass_type
5552 (copySelection): adjust for ParagraphList
5553 (pasteSelection): change the tc type to textclass_type
5554 (pasteSelection): adjust for Paragraphlist
5555 (nrOfParagraphs): simplify for ParagraphList
5556 (checkPastePossible): simplify for ParagraphList
5557 (checkPastePossible): remove unused arg
5559 * ParagraphList.C (insert): handle the case where there are no
5562 * CutAndPaste.h: make CutAndPaste a namespace.
5564 * text3.C (dispatch): adjust
5566 * text.C (breakParagraph): add a ParagraphList as arg
5568 * paragraph_funcs.C (breakParagraph): change to take a
5569 BufferParams and a ParagraphList as args.
5570 (breakParagraphConservative): ditto
5571 (mergeParagraph): ditto
5572 (TeXDeeper): add a ParagraphList arg
5573 (TeXEnvironment): ditto
5576 * buffer.C (readLyXformat2): adjust
5577 (insertStringAsLines): adjust
5578 (latexParagraphs): adjust
5580 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5581 (cutSelection): adjust
5582 (pasteSelection): adjust
5584 * BufferView_pimpl.C (insertInset): adjust
5586 2003-03-05 Angus Leeming <leeming@lyx.org>
5589 * LyXAction.C (init):
5590 * BufferView_pimpl.C (dispatch):
5591 * lyxfunc.C (getStatus):
5592 remove LFUN_CHILD_INSERT.
5594 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5596 2003-03-05 Angus Leeming <leeming@lyx.org>
5599 * LyXAction.C (init):
5600 * src/factory.C (createInset):
5601 * lyxfunc.C (getStatus):
5602 * text3.C (dispatch):
5603 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5605 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5607 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * ParagraphList.C (insert): handle insert right before end()
5610 (erase): fix cases where it can be first or last paragraph.
5612 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5615 Paragraph::next and Paragraph::previous
5618 * text.C (breakParagraph): adjust
5620 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5621 BufferParams& as arg.
5622 (breakParagraph): use ParagraphList::insert
5623 (breakParagraphConservative): take a Buffer* instead of a
5624 BufferParams& as arg.
5625 (breakParagraphConservative): use ParagraphList::insert.
5627 * buffer.C (insertStringAsLines): un-const it
5628 (insertStringAsLines): adjust
5630 * ParagraphList.C (insert): new function
5632 * CutAndPaste.C (pasteSelection): adjust
5634 * text.C (backspace): adjust
5636 * tabular.C (SetMultiColumn): adjust
5638 * CutAndPaste.C (cutSelection): adjust
5639 (pasteSelection): adjust
5641 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5642 Buffer const * as arg
5644 * ParagraphList.C (erase): new function
5645 * paragraph_funcs.C (mergeParagraph): use it
5646 (mergeParagraph): make it take a Buffer* instead of a
5647 BufferParams* as arg
5649 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5651 (breakParagraphConservative): ditto
5653 * paragraph.h: remove the breakParagraph friend
5655 * paragraph.C (eraseIntern): new function
5656 (setChange): new function
5658 * paragraph_funcs.C (mergeParagraph): make it take a
5659 ParagraphList::iterator instead of a Paragraph *, adjust
5662 * paragraph.h: move an #endif so that the change tracking stuff
5663 also works in the NO_NEXT case.
5665 2003-03-04 Angus Leeming <leeming@lyx.org>
5668 * LyXAction.C: new LFUN_INSET_MODIFY.
5670 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5671 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5673 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * several files: ws changes only
5677 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5678 (TeXEnvironment): ditto
5681 * buffer.C (makeLaTeXFile): adjust
5682 (latexParagraphs): make it take ParagraphList::iterator as args
5684 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * buffer.C (latexParagraphs): adjust
5688 * paragraph.C (TeXOnePar): move function...
5689 (optArgInset): move function...
5690 (TeXEnvironment): move function...
5691 * paragraph_pimpl.C (TeXDeeper): move function...
5692 * paragraph_funcs.C: ...here
5694 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5696 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * buffer.C (readInset): remove compability code for old Figure and
5701 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * buffer.C: ws changes
5706 * BufferView_pimpl.C: ditto
5709 * bufferlist.h: ditto
5713 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5715 * converter.[Ch]: split into itself +
5718 * Makefile.am: += graph.[Ch] + format.[Ch]
5725 * lyxrc.C: added #include "format.h"
5727 2003-02-27 Angus Leeming <leeming@lyx.org>
5729 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5732 * factory.C (createInset): add "label" to the factory.
5734 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5735 string and do no more.
5737 2003-02-27 Angus Leeming <leeming@lyx.org>
5740 * LyXAction.C (init):
5741 * factory.C (createInset):
5742 * BufferView_pimpl.C (dispatch):
5743 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5745 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5747 * lyxfunc.C (dispatch):
5748 * text3.C (dispatch): pass name to params2string.
5750 2003-02-26 Angus Leeming <leeming@lyx.org>
5752 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5754 Rearrange the ~includes. Strip out the unnecessary ones.
5756 * factory.C (createInset): reformat.
5757 create new insets for the various LFUN_XYZ_APPLY lfuns.
5759 2003-02-26 John Levon <levon@movementarian.org>
5762 * lyxrow.C: add isParStart,isParEnd helpers
5764 * paragraph.h: make isInserted/DeletedText take refs
5766 * paragraph_funcs.h:
5767 * paragraph_funcs.C: remove #if 0'd code
5772 * text.C: use lyxrow helpers above.
5773 Move draw and paint routines to RowPainter.
5774 Make several methods use refs not pointers.
5775 Make backgroundColor() const.
5776 Add markChangeInDraw(), isInInset().
5777 Merge changeRegionCase into changeCase.
5778 Make workWidth() shouldn't-happen code into an Assert.
5781 * rowpainter.C: new class for painting a row.
5784 * vspace.C: make inPixels take a ref
5786 2003-02-26 Angus Leeming <leeming@lyx.org>
5788 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5791 2003-02-25 John Levon <levon@movementarian.org>
5793 * ispell.C: give the forked command a more accurate name
5795 2003-02-22 John Levon <levon@movementarian.org>
5798 * toc.C: make TocItem store an id not a Paragraph *
5801 2003-02-21 Angus Leeming <leeming@lyx.org>
5803 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5804 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5805 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5806 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5807 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5808 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5810 * BufferView_pimpl.C (dispatch):
5811 * LyXAction.C (init):
5812 * factory.C (createInset):
5813 * lyxfunc.C (getStatus, dispatch):
5814 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5816 2003-02-21 Angus Leeming <leeming@lyx.org>
5818 * BufferView_pimpl.C (MenuInsertLyXFile):
5819 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5820 * lyxfunc.C (menuNew, open, doImport):
5821 no longer pass a LyXView & to fileDlg.
5823 2003-02-21 Angus Leeming <leeming@lyx.org>
5825 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5826 * LyXAction.C: change, BIBKEY to BIBITEM.
5827 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5828 Change InsetBibKey to InsetBibitem.
5829 Change BIBKEY_CODE to BIBITEM_CODE.
5830 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5831 * factory.C: replace insetbib.h with insetbibitem.h.
5832 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5833 * paragraph.C: replace insetbib.h with insetbibitem.h.
5834 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5835 Change bibkey() to bibitem().
5836 * text.C: remove insetbib.h.
5837 * text2.C: replace insetbib.h with insetbibitem.h.
5838 change bibkey() to bibitem().
5839 * text3.C: remove insetbib.h.
5840 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5842 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5844 * lyxrc.C (output): enclose user email in quotes (in case there are
5847 2003-02-18 John Levon <levon@movementarian.org>
5849 * buffer.h: add std::
5851 2003-02-17 John Levon <levon@movementarian.org>
5857 * pspell.C: reworking. Especially in ispell, a large
5858 number of clean ups and bug fixes.
5860 * lyxfunc.C: fix revert to behave sensibly
5862 2003-02-17 André Pönitz <poenitz@gmx.net>
5865 * commandtags.h: new LFUN_INSERT_BIBKEY
5875 * paragraph_func.C: remove special bibkey handling
5877 2003-02-17 John Levon <levon@movementarian.org>
5879 * text.C (Delete): fix case where delete at the end of
5880 the very first paragraph would not merge the pars
5882 2003-02-17 John Levon <levon@movementarian.org>
5884 * lyxrow.C: fix lastPrintablePos()
5886 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5888 * bufferparams.C (writeLaTeX): add a std:here
5890 * buffer.C: and remove a using directive there
5892 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5894 * buffer.C (makeLaTeXFile): move the code that generates the
5897 * bufferparams.C (writeLaTeX): ... in this new method
5899 * LaTeXFeatures.C (getEncodingSet): make const
5900 (getLanguages): make const
5902 * MenuBackend.C (binding): returns the binding associated to this
5904 (add): sets the status of each item by calling getStatus. Adds
5906 (read): add support for OptSubMenu
5907 (expand): remove extra separator at the end of expanded menu
5909 2003-02-15 John Levon <levon@movementarian.org>
5912 * BufferView_pimpl.C:
5914 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5915 inset code that had no actual effect. Remove unneeded status
5918 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5920 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5923 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5925 * text.C (drawLengthMarker): also draw an arrow marker for
5926 symbolic lengths (medskip...)
5928 2003-02-14 John Levon <levon@movementarian.org>
5931 * tabular.C: better method names
5933 2003-02-14 John Levon <levon@movementarian.org>
5935 * BufferView_pimpl.C:
5940 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5941 it's a more accurate name. Remove some pointless uses.
5943 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5945 * text2.C (LyXText): change order of initilizers to shut off
5948 2003-02-14 John Levon <levon@movementarian.org>
5950 * buffer.C: use ParIterator for getParFromID()
5954 * paragraph_pimpl.h:
5955 * paragraph_pimpl.C: remove unused getParFromID()
5957 2003-02-14 John Levon <levon@movementarian.org>
5959 * buffer.C: remove some very old #if 0'd parse code
5961 2003-02-13 John Levon <levon@movementarian.org>
5965 * text2.C: move hfillExpansion(), numberOfSeparators(),
5966 rowLast(), rowLastPrintable(), numberofHfills(),
5967 numberOfLabelHfills() ...
5970 * lyxrow.C: ... to member functions here.
5975 * text.C: remove LyXText::beginningOfMainBody(), and call
5976 p->beginningOfMainBody() directly. Move the check for
5977 LABEL_MANUAL into the latter.
5984 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5990 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5991 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5993 2003-02-13 John Levon <levon@movementarian.org>
5995 * CutAndPaste.C: remove debug
5997 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5999 * paragraph.C (asString): remove two unused variables
6001 * lyxtextclass.C (readTitleType):
6003 (LyXTextClass): handle new members titletype_ and titlename_
6005 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6007 2003-02-09 John Levon <levon@movementarian.org>
6010 * buffer.C: replace hand-coded list with a map for the dep clean
6012 2003-02-08 John Levon <levon@movementarian.org>
6014 * LaTeX.C: consolidate code into showRunMessage() helper
6016 2003-02-08 John Levon <levon@movementarian.org>
6021 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6022 and pass the size in explicitly
6024 * BufferView_pimpl.h:
6025 * BufferView_pimpl.C:
6027 * BufferView.C: add getCurrentChange()
6029 * BufferView_pimpl.h:
6030 * BufferView_pimpl.C: handle change lfuns
6032 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6033 for changes. Mark pasted paragraphs as new.
6035 * support/lyxtime.h:
6036 * support/lyxtime.C:
6037 * DepTable.C: abstract time_t as lyx::time_type
6040 * LColor.C: add colours for new text, deleted text, changebars
6042 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6043 package use "usenames" option.
6047 * LyXAction.C: add change lfuns
6051 * author.C: author handling
6054 * buffer.C: add a per-buffer author list, with first entry as
6055 current author. Handle new .lyx tokens for change tracking. Output
6056 author list to .lyx file. Output dvipost stuff to .tex preamble.
6057 Bump lyx format to 222.
6060 * bufferlist.C: add setCurrentAuthor() to reset current author details
6064 * bufferparams.C: add param for tracking
6066 * bufferview_funcs.C: output change info in minibuffer
6070 * changes.C: add change-tracking structure
6073 * debug.C: add CHANGES debug flag
6076 * lyxfind.C: add code for finding the next change piece
6079 * lyxrc.C: add user_name and user_email
6082 * lyxrow.C: add a metric for the top of the text line
6085 * text.C: implement accept/rejectChange()
6088 * text.C: paint changebars. Paint new/deleted text in the chosen
6089 colours. Strike through deleted text.
6093 * paragraph_pimpl.h:
6094 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6095 in the current change to the insert functions. Rework erase to
6096 mark text as deleted, adding an eraseIntern() and a range-based
6097 erase(). Implement per-paragraph change lookup and
6100 * paragraph_funcs.C: Fixup paste for change tracking.
6102 * tabular.C: mark added row/columns as new.
6104 * text.C: fix rowLast() to never return -1. Don't allow
6105 spellchecking of deleted text. Track transpose changes. Don't
6106 allow paragraph break or merge where appropriate.
6108 * text2.C: leave cursor at end of selection after a cut.
6110 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6112 * text.C (getLengthMarkerHeight):
6113 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6114 visible on screen too.
6116 2003-02-07 John Levon <levon@movementarian.org>
6118 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6120 2003-02-05 Angus Leeming <leeming@lyx.org>
6122 * lyxserver.C (read_ready): revert my patch of 11 September last year
6123 as it sends PC cpu through the roof. Presumably this means that
6124 the lyxserver will no longer run on an Alpha...
6126 2003-01-30 Angus Leeming <leeming@lyx.org>
6128 * factory.C (createInset): create an InsetCommandParam of type "index"
6129 and use it to 'do the right thing'.
6131 * text2.C (getStringToIndex): ensure that cursor position is always
6132 reset to the reset_cursor position.
6134 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6136 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6139 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6143 * lyxfunc.C: Output messages with identical spelling, punctuation,
6146 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6148 * MenuBackend.C (expandFormats): List only viewable export formats
6151 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6154 * lyxfunc.C (getStatus): Make sure that formats other than
6155 "fax" can also be disabled
6157 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6159 * text3.C (dispatch): put the lfuns that insert insets in 3
6160 groups, and call doInsertInset with appropriate arguments.
6161 (doInsertInset): new function, that creates an inset and inserts
6162 it according to some boolean parameters.
6164 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * buffer.C (readFile): remember to pass on 'par' when calling
6167 readFile recursively.
6169 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6171 * MenuBackend.C (expandFormats): add "..." to import formats.
6173 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6175 * paragraph.C (asString): Remove XForms RTL hacks.
6177 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6178 * buffer.C: fix typo
6180 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6182 * Makefile.am (LIBS): delete var
6183 (lyx_LDADD): add @LIBS@ here instead.
6185 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6187 * Clarify the meaning of "wheel mouse jump"
6189 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6191 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6194 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6196 * importer.C (Loaders): do not preallocate 3 elements in the
6197 vector, since one ends up with 6 elements otherwise
6199 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6201 * DepTable.C (write): write the file name as last element of the
6202 .dep file (because it may contain spaces)
6203 (read): read info in the right order
6205 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6207 * paragraph_pimpl.C (simpleTeXBlanks):
6208 (simpleTeXSpecialChars):
6209 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6211 * tabular.C (latex): add some missing case statements. Reindent.
6213 * MenuBackend.C (expandToc): remove unused variable.
6215 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6224 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6227 2003-01-05 John Levon <levon@movementarian.org>
6230 * BufferView.C: add getEncoding()
6233 * kbsequence.C: do not store last keypress
6236 * lyxfunc.C: store last keypress here instead. Pass encoding
6239 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6241 * lyx_main.C (init): remove annoying error message when following
6242 symbolic links (bug #780)
6244 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6246 * text.C (insertChar):
6247 * lyxrc.C (getDescription): remove extra spaces
6249 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6251 * lyxrc.C (getDescription): remove extra spaces
6253 2002-12-20 John Levon <levon@movementarian.org>
6255 * text3.C: hack fix for page up/down across tall rows
6257 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6259 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6262 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6264 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6265 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6266 thesaurus is not compiled in
6268 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6270 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6272 2002-12-16 Angus Leeming <leeming@lyx.org>
6275 * lyx_main.C (init): remove override_x_deadkeys stuff.
6277 2002-12-12 John Levon <levon@movementarian.org>
6279 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6280 insert. Only remove shift modifier under strict
6283 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * MenuBackend.C (expandToc): fix crash.
6287 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6289 * MenuBackend.C (expandToc): gettext on float names.
6291 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6293 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6294 implement bool empty() [bug 490]
6296 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6298 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6300 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * several files: ws changes
6304 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * text2.C (setCounter): clean up a bit, use boost.format.
6307 (updateCounters): initialize par upon declaration.
6309 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6310 if the layout exists. We do not just store the layout any more.
6311 (SwitchLayoutsBetweenClasses): use boost.format
6313 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6315 * converter.C (convert): if from and to files are the same, use a
6316 temporary files as intermediary
6318 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6321 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6323 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6325 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6327 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6329 * tabular.C (asciiPrintCell): use string(size, char) instead of
6332 * sgml.C (openTag): fix order of arguments to string constructor
6335 * lyxfunc.C (dispatch): use boost.format
6337 * lots of files: change "c" -> 'c'
6339 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6341 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6343 2002-11-25 Angus Leeming <leeming@lyx.org>
6345 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6347 * lyx_main.C (init): compile fix.
6349 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6351 * lyx_cb.C (start): boost.formatify
6352 do not include <iostream>
6354 * lengthcommon.C: ws only
6356 * boost-inst.C,BoostFormat.h: add more explict instantations
6358 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6360 * lots of files: handle USE_BOOST_FORMAT
6362 2002-11-21 John Levon <levon@movementarian.org>
6364 * pspell.C: fix compile
6366 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6368 * lyxfunc.C (dispatch): use boost::format
6372 * lyxfont.C (stateText): use boost::format
6374 * lyx_main.C (LyX): use boost::format
6376 (queryUserLyXDir): ditto
6379 (typedef boost::function): use the recommened syntax.
6381 * importer.C (Import): use boost::format
6383 * debug.C (showLevel): use boost::format
6385 * converter.C (view): use boost::format
6390 * bufferview_funcs.C (currentState): use boost::format
6392 * bufferlist.C (emergencyWrite): use boost::format
6394 * buffer.C (readLyXformat2): use boost::format
6395 (parseSingleLyXformat2Token): ditto
6397 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6399 * LaTeX.C (run): use boost::format
6401 * Chktex.C (scanLogFile): use boost::format
6403 * BufferView_pimpl.C (savePosition): use boost::format
6404 (restorePosition): ditto
6405 (MenuInsertLyXFile): ditto
6407 * BoostFormat.h: help file for explicit instation.
6409 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6411 * tabular.C (latex): Support for block alignment in fixed width
6414 2002-11-17 John Levon <levon@movementarian.org>
6416 * BufferView_pimpl.C:
6418 * lyxfunc.C: split filedialog into open/save
6420 2002-11-08 Juergen Vigna <jug@sad.it>
6422 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6423 by my last patch (hopefully).
6425 2002-11-08 John Levon <levon@movementarian.org>
6434 * toc.C: ParConstIterator, and use it (from Lars)
6436 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6438 * lyxtextclass.[Ch]: revise and add doxygen comments
6440 2002-11-07 John Levon <levon@movementarian.org>
6442 * text.C: fix progress value for spellchecker
6444 * toc.C: fix navigate menu for insetwrap inside minipage
6446 * paragraph_funcs.C: added FIXME for suspect code
6448 2002-11-07 John Levon <levon@movementarian.org>
6450 * BufferView_pimpl.C: fix redrawing of insets
6453 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6455 * text2.C (updateCounters): fix bug 668
6457 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6459 * text3.C (dispatch): Do not make the buffer dirty when moving the
6462 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6464 * vc-backend.C: STRCONV
6467 * text2.C (setCounter): STRCONV
6469 * paragraph.C (asString): STRCONV
6471 * lyxlength.C (asString): STRCONV
6472 (asLatexString): ditto
6474 * lyxgluelength.C (asString): STRCONV
6475 (asLatexString): ditto
6477 * lyxfunc.C (dispatch): STRCONV
6480 * lyxfont.C (stateText): STRCONV
6482 * importer.C (Import): STRCONV
6484 * counters.C (labelItem): STRCONV
6485 (numberLabel): ditto
6486 (numberLabel): remove unused ostringstream o
6491 * bufferview_funcs.C (currentState): STRCONV
6493 * buffer.C (readFile): STRCONV
6494 (asciiParagraph): ditto
6495 (makeLaTeXFile): ditto
6497 * Spacing.C (writeEnvirBegin): STRCONV
6499 * LaTeXFeatures.C (getLanguages): STRCONV
6500 (getPackages): ditto
6502 (getBabelOptions): ditto
6503 (getTClassPreamble): ditto
6504 (getLyXSGMLEntities): ditto
6505 (getIncludedFiles): ditto
6509 (scanAuxFile): ditto
6512 * LString.h: add the STRCONV macros
6514 * BufferView_pimpl.C (savePosition): STRCONV
6515 (restorePosition): ditto
6516 (MenuInsertLyXFile): ditto
6518 * vc-backend.C (scanMaster): change from submatch[...] to
6521 * funcrequest.C: include config.h
6523 * factory.C: include config.h
6525 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6527 * box.C: include config.h
6529 * LaTeX.C (scanAuxFile): change from submatch[...] to
6533 2002-10-25 Angus Leeming <leeming@lyx.org>
6535 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6537 * ispell.[Ch] (setError): new method.
6538 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6539 Use setError() insetead of goto END.
6541 * lyx_cb.C (AutoSave): move out child process into new class
6544 2002-10-30 John Levon <levon@movementarian.org>
6546 * text3.C: make start appendix undoable
6548 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6550 * lyxlength.C (inPixels): Fix returned value.
6552 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6555 2002-10-24 Angus Leeming <leeming@lyx.org>
6557 * lyxgluelength.h: no need to forward declare BufferParams
6558 or BufferView, so don't.
6560 2002-10-21 John Levon <levon@movementarian.org>
6562 * BufferView.C: menuUndo ->undo, redo
6564 * BufferView.h: document, remove dead, make some methods private
6566 * paragraph_funcs.h:
6567 * paragraph_funcs.C:
6568 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6573 * sgml.C: move sgml open/close tag into sgml.C
6575 * bufferview_funcs.h: unused prototype
6578 * lyxfunc.C: remove unused
6581 * text.C: remove unused
6583 2002-10-21 John Levon <levon@movementarian.org>
6587 * BufferView_pimpl.h:
6588 * BufferView_pimpl.C: fix mouse wheel handling based on
6589 patch from Darren Freeman
6591 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6593 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6595 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6597 * lyxlength.C (inPixels): Fix hanfling of negative length.
6598 Fix LyXLength::MU case.
6600 2002-10-16 John Levon <levon@movementarian.org>
6602 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6604 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6606 * converter.C (view): add support for $$i (file name) and $$p
6607 (file path) for the viewer command. If $$i is not specified, then
6608 it is appended to the command (for compatibility with old syntax)
6610 2002-10-14 Juergen Vigna <jug@sad.it>
6612 * undo_funcs.C (textHandleUndo): alter the order in which the
6613 new undopar is added to the LyXText, as we have to set first
6614 the right prev/next and then add it as otherwise the rebuild of
6615 LyXText is not correct. Also reset the cursor to the right paragraph,
6616 with this IMO we could remove the hack in "redoParagraphs()".
6618 2002-10-09 Angus Leeming <leeming@lyx.org>
6620 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6621 to turn off an optimisation if a new inset is to be inserted.
6623 2002-10-11 André Pönitz <poenitz@gmx.net>
6625 * lyxtext.h: make some functions public to allow access
6626 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6628 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6630 * text3.C (dispatch): when changing layout, avoid an infinite loop
6633 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6635 * lyxrc.C (read): treat a viewer or converter command of "none" as
6638 * MenuBackend.C (expandFormats): for an update, also allow the
6639 formats that are not viewable
6641 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6642 script if it is newer than the lyxrc.defaults in user directory
6644 2002-10-07 André Pönitz <poenitz@gmx.net>
6646 * text.C: Vitaly Lipatov's small i18n fix
6648 2002-09-25 Angus Leeming <leeming@lyx.org>
6650 * ispell.h: doxygen fix.
6652 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6654 * buffer.h (readFile): Add a new argument to the method, to allow
6655 reading of old-format templates.
6657 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6659 * toc.C (getTocList): Get TOC from InsetWrap.
6661 2002-09-16 John Levon <levon@movementarian.org>
6663 * lyxfunc.C: check tabular for cut/copy too
6665 2002-09-12 John Levon <levon@movementarian.org>
6670 * factory.C: add header
6672 * paragraph_funcs.h:
6673 * paragraph_funcs.C: cleanup
6675 2002-09-11 John Levon <levon@movementarian.org>
6677 * PrinterParams.h: odd/even default to true
6679 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6681 * PrinterParams.h: update printer parameters for new xforms dialog
6683 2002-09-11 Angus Leeming <leeming@lyx.org>
6685 * lyxserver.C (read_ready): re-write to make it more transparent
6686 and to make it work in coherent fashion under Tru64 Unix.
6688 2002-09-11 André Pönitz <poenitz@gmx.net>
6692 * text3.C: implement LFUN_WORDSEL
6694 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6696 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6697 make floatlist_ a boost::shared_ptr<FloatList>
6699 * lyxtextclass.C: include FloatList.h
6700 (LyXTextClass): initialize floatlist_
6701 (TextClassTags): add TC_NOFLOAT
6702 (Read): match "nofloat" to TC_NOFLOAT and use it.
6703 (readFloat): modify call to floatlist_
6707 * FloatList.[Ch] (FloatList): remove commented out float
6709 (erase): new function
6711 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6713 * MenuBackend.C (expandToc): fix crash when there is no document
6716 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6718 * many files: Add insetwrap.
6720 2002-09-09 John Levon <levon@movementarian.org>
6722 * text2.C: remove confusing and awkward depth wraparound
6724 2002-09-09 John Levon <levon@movementarian.org>
6726 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6729 * buffer.C: remove getIncludeonlyList()
6732 * lyxfunc.C: remove headers
6734 2002-09-09 Juergen Vigna <jug@sad.it>
6736 * text.C (getColumnNearX): fix form Michael this is most
6737 probably a cut&paste bug.
6739 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6743 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6744 references, ws changes.
6746 * text2.C (init): update counters after init
6747 (insertParagraph): no need to set counter on idividual paragraphs.
6748 (setCounter): access the counters object in the textclass object
6749 on in the buffer object.
6750 (updateCounters): ditto
6752 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6753 shared_ptr<Counters> to avoid loading counters.h in all
6755 (LyXTextClass): initialize ctrs_
6756 (TextClassTags): add TC_COUNTER, and ...
6757 (Read): use it here.
6758 (CounterTags): new tags
6759 (readCounter): new function
6760 (counters): new funtion
6761 (defaultLayoutName): return a const reference
6763 * counters.C (Counters): remove contructor
6764 (newCounter): remove a couple of unneeded statements.
6765 (newCounter): simplify a bit.
6766 (numberLabel): some small formatting changes.
6768 * buffer.[Ch]: remove all traces of counters, move the Counters
6769 object to the LyXTextClass.
6771 2002-09-06 Alain Castera <castera@in2p3.fr>
6773 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6774 package to set the horizontal alignment on fixed width columns.
6777 * lyx_sty.h: added tabularnewline macro def.
6779 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6781 2002-09-06 John Levon <levon@movementarian.org>
6783 * LyXAction.C: tooltips for sub/superscript
6785 * MenuBackend.C: a bit more verbose
6787 * lyxfunc.C: tiny clean
6789 * undo_funcs.C: document undo_frozen
6791 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6793 * counters.C (Counters): add missing algorithm counter.
6795 * text2.C (setCounter): lookup the counter with layouts latexname
6796 instead of by section number.
6797 (setCounter): use a hackish way to lookup the correct enum
6799 a float name->type change
6800 reset enum couners with counter name directly instead of depth value.
6802 * counters.C (Counters): remove the push_backs, change to use the
6803 float type not the float name.
6804 (labelItem): remove unused string, float name->type change
6806 * counters.h: don't include vector, loose the enums and sects vectors
6808 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6810 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6811 (Read): add float->TC_FLOAT to textclassTags
6812 (Read): and handle it in the switch
6813 (readFloat): new function
6815 * FloatList.C (FloatList): comment out the hardcoded float
6818 * lyxlayout.h: ws change.
6820 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6822 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6824 2002-09-03 Angus Leeming <leeming@lyx.org>
6826 * BufferView_pimpl.h: qualified name is not allowed in member
6827 declaration: WorkArea & Pimpl::workarea() const;
6829 * factory.C: added using std::endl directive.
6831 * text3.C: added using std::find and std::vector directives.
6833 2002-08-29 André Pönitz <poenitz@gmx.net>
6836 * text2.C: remove unused member number_of_rows
6839 * BufferView2.C: remove file, move contents to...
6840 * BufferView.C: ... here
6842 * BufferView_pimpl.C:
6843 * factory.C: move more inset creation to factory
6845 * vspace.C: avoid direct usage of LyXText, ws changes
6848 don't provide direct access to WorkArea, use two simple
6849 acessors haveSelction() and workHeight() instead
6852 2002-08-29 John Levon <levon@movementarian.org>
6854 * BufferView_pimpl.C (dispatch): do not continue when
6857 2002-08-28 André Pönitz <poenitz@gmx.net>
6859 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6862 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6864 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6866 * buffer.C: increment LYX_FORMAT to 221
6868 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6869 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6871 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6873 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6875 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6877 * factory.C (createInset): use LyXTextClass::floats
6879 * MenuBackend.C (expandFloatListInsert):
6880 (expandFloatInsert):
6883 * text2.C (setCounter):
6885 * LaTeXFeatures.C (useFloat):
6886 (getFloatDefinitions):
6888 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6890 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6891 floatlist_, with accessor floats().
6893 * FloatList.h: remove global FloatList
6895 2002-08-26 André Pönitz <poenitz@gmx.net>
6897 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6901 * BufferView_pimpl.C:
6902 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6904 2002-08-25 John Levon <levon@movementarian.org>
6906 * LyXAction.C: fix margin note description
6908 2002-08-24 John Levon <levon@movementarian.org>
6912 * bufferview_funcs.C:
6914 * undo_funcs.C: cleanups
6916 * lyxfunc.C: disable CUT/COPY when no selection
6918 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6920 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6921 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6923 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6924 Add backward compatibility to "mono", "gray" and "no".
6926 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6928 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6929 (and file_format >= 200).
6931 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6933 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6935 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6937 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6939 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6941 * BufferView_pimpl.C:
6948 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6949 inset and code to make it work with the paragraph code. The inset
6950 can be anywhere in the paragraph, but will only do the expected
6951 thing in LaTeX if the layout file contains the parameter line
6953 (or more generally, a nonzero value) for that layout.
6955 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6957 * paragraph.h: remove the declaration of undefined counters class
6960 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6962 * text2.C (setCounter): fixed enumeration mis-count as reported by
6963 Dr. Richard Hawkins.
6965 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6967 * paragraph_funcs.h: remove some unneeded includes
6969 * text.C (backspace): pasteParagraph now in global scipe
6971 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6972 (pasteSelection): ditto
6974 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6975 * paragraph_funcs.C (pasteParagraph): ... here
6977 2002-08-20 André Pönitz <poenitz@gmx.net>
6979 * commandtags.h: new LFUNs for swapping/copying table row/colums
6982 * lyxfunc.C: support for new lfuns
6984 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6987 * buffer.[Ch]: remove NO_COMPABILITY stuff
6989 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * boost.C (throw_exception): new file, with helper function for
6992 boost compiled without exceptions.
6997 * ParameterStruct.h:
6998 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7000 * bufferlist.C (emergencyWriteAll): use boost bind
7002 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7004 * text.C: include paragraph_funcs.h
7005 (breakParagraph): breakParagraph is now in global scope
7007 * paragraph_funcs.[Ch]: new files
7009 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7012 * buffer.C: include paragraph_funcs.h
7013 (insertStringAsLines): breakParagraph is now in global scope
7015 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7018 * CutAndPaste.C: include paragraph_funcs.h
7019 (cutSelection): breakParagraphConservative is now in global scope
7020 (pasteSelection): ditto
7022 * buffer.h: declare oprator== and operator!= for
7023 Buffer::inset_iterator
7025 * bufferlist.C (emergencyWrite): don't use fmt(...)
7027 * text3.C: add using std::endl
7029 * BufferView.C (moveCursorUpdate): remove default arg
7031 2002-08-20 André Pönitz <poenitz@gmx.net>
7033 * buffer.[Ch]: move inline functions to .C
7036 * BufferView_pimpl.C:
7038 * buffer.[Ch]: use improved inset_iterator
7041 * paragraph.[Ch]: write one paragraph at a time
7043 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7045 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7046 style if style is not specified.
7048 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7050 * text2.C (setCounter): when searching for right label for a
7051 caption, make sure to recurse to parent insets (so that a caption
7052 in a minipage in a figure float works) (bug #568)
7054 2002-08-20 André Pönitz <poenitz@gmx.net>
7056 * text3.C: new file for LyXText::dispatch() and helpers
7058 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7060 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7062 2002-08-19 André Pönitz <poenitz@gmx.net>
7065 * text.C: new LyXText::dispatch()
7067 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7069 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7071 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7073 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7076 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7078 * Makefile.am: use $(variables) instead of @substitutions@
7080 2002-08-15 André Pönitz <poenitz@gmx.net>
7083 * BufferView_pimpl.C: streamlining mathed <-> outer world
7087 * LyXAction.C: remove unused LFUN_MATH
7089 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7093 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7095 * paragraph.C (Paragraph): reformat a bit
7096 (cutIntoMinibuffer): use builtin InsetList function instad of
7100 * buffer.C: include boost/bind.hpp, add using std::for_each
7101 (writeFileAscii): use ParagraphList iterators
7102 (validate): use for_each for validate traversal of paragraphs
7103 (getBibkeyList): use ParagraphList iterators
7104 (resizeInsets): use for_each to resizeInsetsLyXText for all
7106 (getParFromID): use ParagraphList iterators
7108 * BufferView2.C (lockInset): use paragraph list and iterators
7110 2002-08-14 John Levon <levon@movementarian.org>
7112 * lyxserver.C: remove spurious xforms include
7114 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7116 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7118 2002-08-13 André Pönitz <poenitz@gmx.net>
7121 * lyxfunc.C: further cleaning
7123 2002-08-13 André Pönitz <poenitz@gmx.net>
7125 * funcrequest.h: new constructor
7127 * funcrequest.C: move stuff here from .h
7130 * BufferView_pimpl.C:
7133 * lyxfunc.C: subsequent changes
7135 * lyxfunc.h: new view() member function
7137 * lyxfunc.C: subsequent changes
7139 2002-08-13 Angus Leeming <leeming@lyx.org>
7142 * BufferView_pimpl.C:
7150 changes due to the changed LyXView interface that now returns references
7151 to member variables not pointers.
7153 2002-08-13 Angus Leeming <leeming@lyx.org>
7155 * WordLangTuple (word, lang_code): return references to strings,
7160 * lyxtext.h: forward-declare WordLangTuple.
7165 * text.C: #include "WordLangTuple.h".
7168 * text.C: (selectNextWordToSpellcheck): constify return type.
7170 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7176 * paragraph_pimpl.h:
7179 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7181 Made updateCounter always count from start of buffer, and removed
7182 second argument (par).
7183 Reverted floats number display to '#'. Perhaps I'll try again when the
7184 code base is sanitized a bit.
7186 2002-08-12 Angus Leeming <leeming@lyx.org>
7188 * buffer.[Ch] (getLabelList): constify.
7190 2002-08-07 André Pönitz <poenitz@gmx.net>
7192 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7194 * funcrequest.h: extension to keep mouse (x,y) position
7196 2002-08-12 Juergen Vigna <jug@sad.it>
7198 * BufferView2.C (insertErrors): forbid undo when inserting error
7201 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7203 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7205 * ParagraphList.[Ch]: new files
7207 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7209 * BufferView2.C (lockInset): ParagraphList changes
7212 * bufferlist.C: ditto
7216 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7218 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7219 unused class variable counter_,
7221 * paragraph.[Ch] (getFirstCounter): delete unused function
7223 * counters.C: include LAssert.h
7224 (reset): add a new function with no arg, change other version to
7225 not have def. arg and to not allow empty arg.
7227 * text2.C (setCounter): remove empty arg from call to Counters::reset
7229 2002-08-11 John Levon <levon@movementarian.org>
7231 * Makefile.am: add WordLangTuple.h
7233 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7235 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7236 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7238 * insets/insettext.C: InsetList changes
7240 * graphics/GraphicsSupport.C (operator()): InsetList changes
7242 * toc.C (getTocList): InsetList changes
7244 * paragraph_pimpl.[Ch]: InsetList changes
7246 * paragraph.[Ch]: InsetList changes
7248 * buffer.C (inset_iterator): InsetList changes
7249 (setParagraph): ditto
7250 * buffer.h (inset_iterator): ditto
7251 * iterators.C (operator++): ditto
7252 * iterators.h: ditto
7254 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7256 * InsetList.[Ch]: new files, most InsetList handling moved out of
7259 * BufferView2.C (removeAutoInsets): InsetList changes
7261 (ChangeInsets): ditto
7263 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7265 * paragraph_pimpl.h (empty): new function
7267 * paragraph.[Ch] (empty): new function
7269 * other files: use the new Paragraph::empty function
7271 2002-08-09 John Levon <levon@movementarian.org>
7273 * lyxtext.h: remove unused refresh_height
7275 2002-08-09 John Levon <levon@movementarian.org>
7282 * paragraph.C: move sgml char escaping out of paragraph
7285 * paragraph.C: remove id setter
7289 * paragraph_pimpl.C: remove dead tex_code_break_column
7291 * bufferview_funcs.C: small cleanup
7293 * lyxfunc.C: remove dead proto
7295 * lyxtext.h: make some stuff private. Remove some dead stuff.
7297 * lyxgluelength.C: make as[LyX]String() readable
7299 2002-08-08 John Levon <levon@movementarian.org>
7304 * ToolbarDefaults.C:
7307 * toc.C: lyxaction cleanup
7309 2002-08-08 John Levon <levon@movementarian.org>
7311 * BufferView2.C: small cleanup
7314 * lyxfind.C: move unnecessary header into the .C
7316 2002-08-08 John Levon <levon@movementarian.org>
7318 * funcrequest.h: just tedious nonsense
7321 * lyx_main.C: cleanups
7324 * vspace.C: remove dead header lyx_main.h
7326 2002-08-07 Angus Leeming <leeming@lyx.org>
7329 * paragraph_pimpl.h:
7330 Forward declare class Counters in paragraph.h by moving the ctrs member
7331 variable into Paragraph::Pimpl.
7332 (counters): new method, returning a reference to pimpl_->ctrs.
7334 * text2.C: ensuing changes.
7336 2002-08-07 John Levon <levon@movementarian.org>
7338 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7340 * BufferView_pimpl.C: announce X selection on double/triple
7343 * lyx_main.C: use correct bool in batch dispatch
7345 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7347 2002-08-07 André Pönitz <poenitz@gmx.net>
7349 * funcrequest.h: new class to wrap a kb_action and its argument
7352 * BufferView_pimpl[Ch]:
7356 * lyxrc.C: subsequent changes
7359 2002-08-07 John Levon <levon@movementarian.org>
7361 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7362 document options change.
7364 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7369 * makefile.am: move counters functionality over from
7370 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7372 2002-08-06 John Levon <levon@movementarian.org>
7374 * WordLangTuple.h: new file for word + language code tuple
7385 * BufferView2.C: use WordLangTuple
7388 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7390 2002-08-06 John Levon <levon@movementarian.org>
7392 * lyx_main.C: fix cmdline batch handling
7394 2002-08-06 André Pönitz <poenitz@gmx.net>
7396 * lyxrc.C: set default for show_banner to true
7398 2002-08-06 John Levon <levon@movementarian.org>
7400 * pspell.C: fix a crash, and allow new aspell to work
7402 2002-08-06 John Levon <levon@movementarian.org>
7405 * kbmap.C: small cleanup
7408 * vspace.C: add const
7410 2002-08-05 John Levon <levon@movementarian.org>
7412 * LyXAction.C: back to tabular-insert
7414 2002-08-04 John Levon <levon@movementarian.org>
7417 * BufferView.C: cosmetic change
7419 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7429 * BufferView2.C: purge all "Lyx" not "LyX" strings
7432 * lyxcursor.C: attempt to add some documentation
7437 * ToolbarDefaults.C:
7438 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7439 merge with LFUN_TABULAR_INSERT
7446 * pspell.C: split up i/pspell implementations into separate
7447 files, many cleanups
7449 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7451 * text2.C: some cleanup
7453 * lyxfunc.C: don't check for isp_command == "none" any more, it
7454 didn't make any sense
7456 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7461 * makefile.am: move counters functionality over
7462 from text2.C/paragraph.[Ch] to counters.[Ch], and
7464 2002-08-02 John Levon <levon@movementarian.org>
7466 * buffer.C: s/lyxconvert/lyx2lyx/
7468 2002-08-02 Angus Leeming <leeming@lyx.org>
7470 * lyxlex.C: revert John's change as it breaks reading of the user
7473 2002-08-02 Angus Leeming <leeming@lyx.org>
7475 * importer.C (Import):
7476 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7477 changes due to LyXView::view() now returning a boost::shared_ptr.
7479 2002-08-02 John Levon <levon@movementarian.org>
7481 * lyxlex.C: small cleanup
7483 2002-08-02 John Levon <levon@movementarian.org>
7485 * text2.C (status): small cleanup, no logic change
7487 2002-08-01 John Levon <levon@movementarian.org>
7490 * buffer.C (writeFile): don't output alerts, caller
7494 * lyx_cb.C: from above
7496 * lyxfunc.C: allow to open non-existent files
7498 2002-07-31 John Levon <levon@movementarian.org>
7500 * lyxserver.C: don't let incidental errors get
7503 2002-07-30 John Levon <levon@movementarian.org>
7505 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7507 2002-07-30 John Levon <levon@movementarian.org>
7510 * lyxserver.C: remove I/O callback too
7512 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7514 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7517 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * many files: strip,frontStrip -> trim,ltrim,rtrim
7521 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7523 * PrinterParams.h: remove extern containsOnly, and include
7524 support/lstrings.h instead.
7526 * LaTeX.C (scanAuxFile): modify because of strip changes
7528 * buffer.C (makeLaTeXFile): ditto
7529 * bufferparams.C (writeFile): ditt
7530 * lyxfont.C (stateText): ditto
7531 * lyxserver.C (read_ready): ditto
7532 * vc-backend.C (scanMaster): ditto
7534 * BufferView_pimpl.h: ws changes
7536 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7538 2002-07-26 André Pönitz <poenitz@gmx.net>
7540 * kb_sequence.C: remove unnedred usings
7542 2002-07-26 Juergen Vigna <jug@sad.it>
7544 * lyxfind.C (LyXReplace): we have to check better if the returned
7545 text is not of theLockingInset()->getLockingInset().
7547 2002-07-25 Juergen Vigna <jug@sad.it>
7549 * lyxfind.C (LyXReplace): don't replace if we don't get the
7552 * undo_funcs.C (createUndo): remove debugging code.
7554 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7556 * buffer.C (parseSingleLyXformat2Token): Use default placement
7557 when reading old floats.
7559 * FloatList.C (FloatList): Change the default placement of figure
7560 and tables to "tbp".
7562 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7564 * MenuBackend.C: using std::max
7566 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7568 * MenuBackend.C (expandToc):
7569 (expandToc2): code moved from xforms menu frontend. It is now
7570 generic and TOCs are transparent to menu frontends.
7572 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7574 * toc.C (getTocList): protect against buf=0
7576 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7577 Menu as first parameter. Now, this calls itself recursively to
7578 expand a whole tree (this will be useful for TOC handling)
7579 (expandFloatInsert): remove 'wide' version of floats
7581 * MenuBackend.h (submenuname): returns the name of the submenu.
7582 (submenu): returns the submenu itself, provided it has been
7583 created by MenuBackend::expand
7585 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7587 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7588 insets which have noFontChange == true. (bug #172)
7590 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7592 * BufferView_pimpl.C: add connection objects and use them...
7595 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7597 * MenuBackend.C (expandLastfiles):
7600 (expandFloatListInsert):
7601 (expandFloatInsert):
7602 (expand): split expand in parts
7604 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7606 * lyx_gui.C: use lyx_gui::exit()
7608 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7610 * LyXAction.C: show the failing pseudo action
7612 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7614 * buffer.C (readFile): Run the lyxconvert script in order to read
7617 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7621 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7623 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7627 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7629 2002-07-22 Herbert Voss <voss@lyx.org>
7632 * lyxlength.[Ch]: add support for the vertical lengths
7634 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7636 * toc.[Ch]: std:: fixes
7638 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7640 * lyxrc.C: do not include lyx_main.h
7642 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7648 * BufferView2.C: include "lyxlex.h"
7651 * bufferparams.h: do not #include "lyxlex.h"
7653 * lyxtextclasslist.C (Add): remove method
7654 (classlist): renamed to classlist_
7656 * paragraph_pimpl.C:
7660 * bufferview_funcs.C:
7665 * toc.C (getTocList): use BufferParams::getLyXTextClass
7667 * toc.C (getTocList): use InsetFloat::addToToc
7669 * toc.[Ch]: new files, containing helper functions to handle table
7672 * lyxfunc.C (dispatch): no need to remove spaces around command
7674 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7675 first command of the sequence; it is not very clever, but I do not
7676 have a better idea, actually
7678 * LyXAction.C (LookupFunc): make sure to remove space at the
7679 beginning and end of the command
7681 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7683 * MenuBackend.C (getMenubar): new method: return the menubar of
7685 (read): treat differently reading of menu and menubar (in
7686 particular, the menubar has no name now)
7687 (Menu::menubar): remove
7689 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7692 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7694 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7695 a bibitem inset in a RTL paragraph.
7697 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7699 * paragraph_pimpl.C: constify
7701 * BufferView_pimpl.C:
7703 * lyxfunc.C: fix dispatch in a nicer way
7705 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7707 * lyxfunc.C (dispatch):
7708 * BufferView_pimpl.C:
7709 * BufferView_pimpl.h:
7711 * BufferView.h: rename Dispatch() to dispatch()
7713 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7715 * lyxlayout.C (Read): honor DependsOn tag
7717 * lyxlayout.[Ch] (depends_on): new method
7719 * version.C.in: update lyx_docversion
7721 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7723 * paragraph.C (validate): remove from here...
7724 * paragraph_pimpl.C (validate): ... and move here
7725 (isTextAt): make it const
7727 * buffer.C (getLists): ws cleanup
7729 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7731 * language.C (read): Use iso8859-1 encoding in latex_lang
7732 (this prevents LyX from crashing when using iso10646-1 encoding).
7734 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7736 * text2.C (toggleInset): if cursor is inside an inset, close the
7737 inset and leave cursor _after_ it
7739 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7741 * lyxfunc.C: move minibuffer completion handling out of here
7743 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7745 * BufferView_pimpl.C:
7746 * LaTeX.C: fix dispatch calls
7748 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7750 * text.C (drawChars): Fix Arabic text rendering.
7752 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7756 * lyxfunc.C: remove message-push/pop
7760 * lyxfunc.C: rationalise some code by removing verboseDispatch
7761 in favour of a bool argument to dispatch()
7763 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7765 * lyx_main.C (init): make sure to read symlinks as absolute paths
7767 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7770 * lyxfunc.C: no need for commandshortcut to be a member
7772 2002-07-15 André Pönitz <poenitz@gmx.net>
7774 * converter.C: add support for $$s (scripts from lib/scripts dir)
7775 * lyx_main.C: white space
7777 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7781 * lyxrc.C: remove second exit confirmation
7783 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7788 * BufferView_pimpl.h:
7789 * BufferView_pimpl.C:
7790 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7792 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7794 * MenuBackend.C (expand): add numeric shortcuts to document menu
7796 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7798 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7800 * lyxfont.C (setLyXFamily):
7807 * buffer.C (asciiParagraph): use ascii_lowercase
7809 2002-07-15 Mike Fabian <mfabian@suse.de>
7811 * lyxlex_pimpl.C (search_kw):
7812 * lyxlex.C (getLongString):
7813 * converter.h (operator<):
7814 * converter.C (operator<):
7815 * buffer.C (parseSingleLyXformat2Token):
7817 * ToolbarDefaults.C (read):
7818 * MenuBackend.C (checkShortcuts):
7820 * LColor.C (getFromGUIName):
7821 (getFromLyXName): use the compare_ascii_no_case instead of
7822 compare_no_case, because in turkish, 'i' is not the lowercase
7823 version of 'I', and thus turkish locale breaks parsing of tags.
7825 2002-07-16 Angus Leeming <leeming@lyx.org>
7827 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7828 now takes a Buffer const & argument.
7830 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7832 * BufferView.C (resize): check there's a buffer to resize
7834 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7836 * lyxfunc.C: remove dead code
7839 * lyxserver.C: use lyx_guii::set_read_callback
7841 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7843 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7844 an inset in a RTL paragraph.
7846 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7848 * lyxfunc.C: repaint after a font size update
7850 2002-07-15 André Pönitz <poenitz@gmx.net>
7852 * lyxlength.C: inBP should be able to return negative values
7854 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7856 * lyxfunc.C: use lyx_gui::update_fonts()
7858 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7860 * lyxfunc.C: use lyx_gui::update_color()
7862 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7868 * lyxrc.C: remove file->new asks for name option, and let
7869 buffer-new take an argument
7871 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7873 * BufferView_pimpl.C: remove unneeded extra repaint()
7875 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7877 * LyXAction.C: allow command-sequence with NoBuffer
7879 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7881 2002-07-10 Angus Leeming <leeming@lyx.org>
7883 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7885 2002-07-09 Angus Leeming <leeming@lyx.org>
7887 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7889 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7891 * lengthcommon.h: whitespace
7893 * lyxfunc.C: update scrollbar after goto paragraph
7895 * lyxtext.h: factor out page break drawing, and fix it so
7896 page break/added space paints as selected nicely
7898 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7900 * BufferView_pimpl.C: add FIXMEs, clean up a little
7902 2002-07-09 André Pönitz <poenitz@gmx.net>
7904 * lyxfont.[Ch]: support for wasy symbols
7906 2002-07-08 André Pönitz <poenitz@gmx.net>
7908 * BufferView_pimpl.C: apply John's patch for #93.
7910 2002-07-05 Angus Leeming <leeming@lyx.org>
7912 * BufferView_pimpl.C (buffer): generate previews if desired.
7914 * LColor.h: add "preview" to the color enum.
7916 * LColor.C (LColor): add a corresponding entry to the items array.
7918 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7921 2002-07-05 Angus Leeming <leeming@lyx.org>
7923 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7924 The body of the code is now in the method that is passed an ostream &
7925 rather than a file name.
7926 Pass an additional only_preamble parameter, useful for the forthcoming
7929 2002-07-03 André Pönitz <poenitz@gmx.net>
7931 * lyxfunc.C: simplify getStatus() a bit for math stuff
7933 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7935 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7937 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7939 * text.C (changeRegionCase): do not change case of all the
7940 document when region ends at paragraph end (bug #461)
7942 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7944 * paragraph.C (startTeXParParams):
7945 (endTeXParParams): add \protect when necessary
7947 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7949 * BufferView_pimpl.C (workAreaExpose): remove warning
7951 2002-06-27 Angus Leeming <leeming@lyx.org>
7953 * Makefile.am: add lyxlayout_ptr_fwd.h.
7955 2002-06-26 André Pönitz <poenitz@gmx.net>
7957 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7959 2002-06-25 Angus Leeming <leeming@lyx.org>
7961 * lyxfunc.C (dispatch): Comment out the call to
7962 grfx::GCache::changeDisplay. The method no longer exists now that the
7963 pixmap generation part of the graphics loader has been moved into
7966 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7968 * text2.C: layout as layout
7970 * text.C: layout as layout
7972 * tabular.C (OldFormatRead): layout as layout
7974 * paragraph_pimpl.C (TeXDeeper): layout as layout
7975 (realizeFont): layout as layout
7977 * paragraph.C (writeFile): layout as layout
7978 (validate): layout as layout
7979 (getFont): layout as layout
7980 (getLabelFont): layout as layout
7981 (getLayoutFont): layout as layout
7982 (breakParagraph): layout as layout
7983 (stripLeadingSpaces): layout as layout
7984 (getEndLabel): layout as layout
7985 (getMaxDepthAfter): layout as layout
7986 (applyLayout): layout as layout
7987 (TeXOnePar): layout as layout
7988 (simpleTeXOnePar): layout as layout
7989 (TeXEnvironment): layout as layout
7990 (layout): layout as layout
7991 (layout): layout as layout
7993 * lyxtextclass.C (compare_name): new functor to work with
7994 shared_ptr, layout as layout
7995 (Read): layout as layout
7996 (hasLayout): layout as layout
7997 (operator): layout as layout
7998 (delete_layout): layout as layout
7999 (defaultLayout): layout as layout
8001 * lyxlayout_ptr_fwd.h: new file
8003 * lyxlayout.C (Read): layout as layout
8005 * lyx_cb.C (MenuInsertLabel): layout as layout
8007 * bufferlist.C (newFile): layout as layout
8009 * buffer.C (readLyXformat2): layout as layout
8010 (parseSingleLyXformat2Token): layout as layout
8011 (insertStringAsLines): layout as layout
8012 (asciiParagraph): layout as layout
8013 (latexParagraphs): layout as layout
8014 (makeLinuxDocFile): layout as layout
8015 (simpleLinuxDocOnePar): layout as layout
8016 (makeDocBookFile): layout as layout
8017 (simpleDocBookOnePar): layout as layout
8018 (getLists): layout as layout
8020 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8022 * CutAndPaste.C (cutSelection): layout as layout
8023 (pasteSelection): layout as layout
8024 (SwitchLayoutsBetweenClasses): layout as layout
8026 * BufferView_pimpl.C (Dispatch): layout as layout
8027 (smartQuote): layout as layout
8029 * BufferView2.C (unlockInset): layout as layout
8031 2002-06-24 André Pönitz <poenitz@gmx.net>
8033 * lyxfunc.C: fix #487
8035 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8039 * lyxfunc.C: remove display_shortcuts, show_banner
8041 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8043 * Buffer_pimpl.C: oops, update on resize
8045 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8052 * BufferView.C: use repaint()
8054 * BufferView_pimpl.h:
8055 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8056 as it's a clearer description. Remove superfluous
8059 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8061 * text.C: fix bug 488. Not ideal, but getting
8062 getWord() to work properly for the insets that
8063 matter is more difficult ...
8065 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8067 * BufferView_pimpl.C:
8070 * lyxfunc.C: remove the six million index lyxfuncs to just
8071 one, and DTRT (bug 458)
8073 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8077 * BufferView_pimpl.h:
8078 * BufferView_pimpl.C: clean up resize() stuff,
8079 and unnecessary updateScreen()s
8081 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8085 * BufferView_pimpl.h:
8086 * BufferView_pimpl.C:
8089 * minibuffer.C: remove focus management of workarea,
8090 not needed. Use screen's greyOut()
8092 2002-06-17 Herbert Voss <voss@lyx.org>
8094 * converter.C: (convert) do not post a message, when converting
8095 fails, let the calling function decide what to do in this case
8097 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8099 * lyxfunc.C: tidy up a little
8101 2002-06-16 <alstrup@diku.dk>
8103 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8104 Got rid of FORMS_H_LOCATION include. Now we are
8107 2002-06-15 LyX Development team <lyx@rilke>
8109 * buffer.[Ch] (sgmlOpenTag):
8110 (sgmlCloseTag): Added support for avoiding pernicious mixed
8111 content. Return number of lines written.
8114 (makeDocBookFile): Fixed calls to sgml*Tag.
8115 Simple white space clean.
8117 (simpleDocBookOnePar): Simple white space clean.
8119 * tabular.[Ch] (docBook): Renamed to docbook and got another
8120 argument to related with the pernicious mixed content.
8122 (docbookRow): Fixed calls for docbook inset method.
8124 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8126 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8127 so it's X11 independent.
8131 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8133 2002-06-15 Lyx Development team <lyx@electronia>
8135 * intl.h: Renamed getTrans to getTransManager.
8137 2002-06-14 Angus Leeming <leeming@lyx.org>
8139 * Makefile.am: nuke forgotten stl_string_fwd.h.
8141 2002-06-12 Angus Leeming <leeming@lyx.org>
8143 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8145 2002-06-13 Angus Leeming <leeming@lyx.org>
8148 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8150 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8152 * kbmap.C (getiso): add support for cyrillic and greek
8154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8158 * BufferView_pimpl.h:
8159 * BufferView_pimpl.C: move bogus scrolling logic
8162 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8165 * BufferView_pimpl.C: view->resize() change
8167 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8169 * BufferView_pimpl.C: topCursorVisible
8172 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8176 * lyx_gui.C: move to frontends/
8180 * lyx_main.C: changes from above
8182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8189 * lyx_main.C: minor tidy
8191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8193 * BufferView_pimpl.h:
8194 * BufferView_pimpl.C:
8196 * BufferView.C: make painter() const,
8199 * BufferView2.C: use screen() accessor
8202 * lyx_main.C: some minor cleanup
8204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8206 * BufferView_pimpl.h:
8207 * BufferView_pimpl.C: remove enter/leaveView,
8210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8215 * BufferView_pimpl.h:
8216 * BufferView_pimpl.C: only construct screen once,
8219 * lyxrc.C: remove pointless comment
8221 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8224 * BufferView.C: remove active() and belowMouse()
8226 * BufferView_pimpl.h:
8227 * BufferView_pimpl.C: use workarea() not workarea_,
8228 and make it use a scoped_ptr instead
8230 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8232 * lyx_gui.C: add debug message on BadWindow
8234 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8236 * sp_spell.C: fdopen is not part of the C++ standard.
8238 * paragraph.C (InsetIterator): use >= instead of ==
8240 2002-06-07 Angus Leeming <leeming@lyx.org>
8242 Fixes needed to compile with Compaq cxx 6.5.
8243 * BufferView_pimpl.C:
8250 * lyxtextclasslist.C:
8255 all c-library variables have been moved into namespace std. Wrap
8256 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8261 Add a using std::abs declaration.
8263 * kbmap.h (modifier_pair):
8264 * paragraph.h (InsetTable, InsetList):
8265 * lyxfont.h (FontBits):
8266 type definition made public.
8268 * bufferlist.C (emergencyWriteAll): the compiler complains that
8269 there is more than one possible lyx::class_fun template to choose from.
8270 I re-named the void specialisation as lyx::void_class_fun.
8272 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8274 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8275 the compiler is is unable to find tostr in write_attribute.
8277 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8279 * buffer.C (sgmlError): hide #warning
8281 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8283 * xtl/*: get rid of xtl, which is not in use anyway
8285 * LyXAction.C (init):
8286 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8287 were unimplemented xtl experimentation
8289 2002-06-04 André Pönitz <poenitz@gmx.net>
8291 * lyxfunc.C: disable array operation on simple formulae
8293 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8295 * converter.C: constify a bit
8297 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8299 * lyx_gui.C: check xforms version correctly
8301 2002-04-30 Herbert Voss <voss@lyx.org>
8303 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8306 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8308 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8309 attempt to register it with a VCS)
8311 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8313 * lyx_main.C (init): honor variables LYX_DIR_13x and
8316 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8320 * lyx_main.C: fix a crash on bad command line,
8321 and give a useful exit status on error
8323 * lyxfunc.C (doImport): allow -i lyx to work
8325 2002-03-30 André Pönitz <poenitz@gmx.net>
8327 * lyxfunc.C: mathed font changes
8329 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8344 * trans_mgr.h: srcdocs, and some minor cleanups
8346 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8348 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8349 call getFont all the time)
8351 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8353 * switch from SigC signals to boost::signals
8355 2002-05-29 André Pönitz <poenitz@gmx.net>
8357 * paragraph_pimpl.C (getChar): don't call size() too often...
8359 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8361 * paragraph_pimpl.C (insertChar): do not try to update tables when
8362 appending (pos == size())
8364 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8365 in order to reduce drastically the number of comparisons needed to
8366 parse a large document
8368 2002-05-29 André Pönitz <poenitz@gmx.net>
8374 * textclasslist.[Ch]:
8375 * sp_ispell.h: whitespace change
8377 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8379 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8380 lyxaction directly now.
8382 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8386 * lyxvc.C: remove unused headers
8388 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8395 * undo_funcs.C: some cleanups. Use shared_ptr
8396 and a template for the undo stacks.
8398 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8400 * BufferView_pimpl.h:
8401 * BufferView_pimpl.C:
8408 * text2.C: use key_state/mouse_state
8410 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8412 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8415 * chset.C: change include order
8416 (loadFile): use boost regex and get rid of LRegex and LSubstring
8418 * Makefile.am (BOOST_LIBS): new variable
8421 * LaTeX.C: change include order.
8422 (scanAuxFile): use boost regex and get rid of LRegex and
8426 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8431 * FontInfo.C: moved to frontends/xforms/
8434 * FontLoader.C: moved into frontends for GUIIzation
8439 * lyxfunc.C: changes from above
8441 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8443 * LColor.C: remove spurious X include
8445 * BufferView_pimpl.C:
8450 * text2.C: move font metrics to frontends/
8452 2002-05-24 Juergen Vigna <jug@sad.it>
8454 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8455 setting the undo_cursor.
8457 * ParagraphParameters.h: include local includes first.
8459 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8461 * BufferView_pimpl.C:
8462 * BufferView_pimpl.h:
8466 * screen.C: move WorkArea into frontends/
8472 * BufferView2.C: move LyXScreen into frontends/
8476 * lyx_gui.C: move lyxlookup into frontends/xforms/
8478 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8481 * BufferView_pimpl.C:
8491 * bufferview_funcs.C:
8504 * vc-backend.C: move LyX/XFormsView into frontends/
8506 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8518 * text2.C: move Painter to frontends/
8520 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8522 * buffer.C: comment out some some code that depend upon lyx_format
8525 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8526 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8528 * buffer.h (NO_COMPABILITY): turn off compability
8530 * ColorHandler.C: include scoped_array.hpp
8532 * font.C: Use more specific smart_ptr header.
8535 * ShareContainer.h: ditto
8539 * BufferView_pimpl.h: ditto
8540 * ColorHandler.h: ditto
8542 * kbmap.C (defkey): change call to shared_ptr::reset
8544 2002-05-21 Juergen Vigna <jug@sad.it>
8546 * buffer.C (insertErtContents): fix to insert ert asis if it is
8547 non empty. Skip it completely if it contains only whitespaces.
8549 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8551 * BufferView_pimpl.C:
8552 * BufferView2.C: clear selection on paste (bug 393)
8554 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8556 * DepTable.C: include ctime
8558 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8560 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8562 2002-05-14 Juergen Vigna <jug@sad.it>
8564 * text.C (breakParagraph): fixed function to honor the keepempty
8565 layout in the right maner and also to permit the right breaking
8566 algorithm on empty or non empyt keepempty paragraphs.
8568 * paragraph.C (breakParagraph): we have to check also if the par
8569 is really empty (!size()) for isempty otherwise we do the wrong
8572 2002-05-10 Juergen Vigna <jug@sad.it>
8574 * buffer.[Ch] : The following are only changes to the ert
8575 compatibility read reading old LaTeX layout and font stuff and
8576 convert it to ERTInsets.
8578 * buffer.h: added isErtInset().
8580 * buffer.C (struct ErtComp): add a fromlayout bool to check
8581 if we're inside a LaTeX layout.
8582 (isErtInset): new helper function.
8583 (insertErtContents): look for other ert insets before this one
8584 and insert the contents there, so that we don't have subsequent
8585 ERT insets with nothing between them. This way we create only one
8586 inset with multiple paragraphs. Also check if we don't insert only
8587 spaces ' ' as they are ignored anyway afterwards in the .tex file
8588 so if we have only spaces we will ignore this latex part in the
8590 (parseSingleLyXformat2Token \\layout): better compatibility when
8591 reading layout-latex stuff.
8592 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8594 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8595 stuff after reading the inset only get the information back from
8598 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8600 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8602 * LaTeXFeatures.C (getBabelOptions): New method.
8604 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8606 * BufferView_pimpl.C (Dispatch): work around missing argument for
8609 2002-05-08 Juergen Vigna <jug@sad.it>
8611 * text.C (leftMargin): handle paragraph leftindent.
8613 * paragraph.C (writeFile): write the new \\leftindent tag.
8614 (validate): handle leftindent code.
8615 (TeXEnvironment): handle paragraphleftindent code again.
8617 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8619 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8620 for paragrap_extra indent code and new token \\leftindent.
8621 (latexParagraphs): handle the leftindent as environment.
8623 * ParameterStruct.h: added leftindent support.
8625 * ParagraphParameters.C (leftIndent): added support functions for
8626 the paragraph left indent.
8628 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8631 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8633 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8636 * text.C (computeBidiTables): No bidi in insetERT.
8638 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8641 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8643 * version.C.in: pre 5
8645 2002-05-02 José Matos <jamatos@fep.up.pt>
8646 * buffer.C (makeDocBookFile): white space changes, add newline to
8648 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8650 * tabular.C (docBook): fix typo.
8652 2002-05-03 Juergen Vigna <jug@sad.it>
8654 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8655 change in LyXText as we can not be sure it was not freed.
8656 (drawOneRow): remove unused code.
8658 * text.C (drawInset): redo the calculation of the need_break_row as
8659 it could have a row which was already freed.
8660 (draw): look at the return value of drawInset and return false if
8661 it also returned false.
8662 (paintRowText): look at the return value of draw and return false if
8663 it also returned false.
8665 * lyxtext.h: added bool return type to drawInset() and draw() so that
8666 if we have a change in the row so that the rowbreak has to be redone
8667 we abort drawing as it will be called again.
8669 2002-05-02 Juergen Vigna <jug@sad.it>
8671 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8672 a change in the maintext also if we're inside an inset.
8673 (Dispatch): set the cursor again after a break line and after the
8674 screen has been updated as it could be we're in a different row.
8676 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8677 to set the cursor behind the pargraph with > size().
8678 (setCursor): check also for the same paragraph when checking where
8679 to put the cursor if we have a NFR inset.
8681 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8682 parts of layout read further up as it still was in the wrong
8685 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8687 * screen.C (drawFromTo): change sine fullRebreak always return
8690 * buffer.C (parseSingleLyXformat2Token): reindent some
8692 * BufferView_pimpl.C (update): change since fullRebreak always
8694 (Dispatch): git rid of the last hardcoded "Standard"s.
8696 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8698 * text2.[Ch] (fullRebreak): make it return void now that we always
8701 2002-04-30 Juergen Vigna <jug@sad.it>
8703 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8704 ert compatibility check for "latex" layout.
8706 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8708 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8709 minipages: use col% instead of p%, and also use the current font.
8710 (makeLaTeXFile): Fix use babel condition.
8711 (parseSingleLyXformat2Token): Correct font when reading old floats.
8713 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8715 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8716 inserting list of floats.
8718 2002-04-25 Herbert Voss <voss@lyx.org>
8720 * MenuBackend.C (expand): don't add the graphics extensions to the
8723 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8725 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8726 non-existing layout, do not complain if it was the default layout
8727 of the original class (bug #342)
8729 2002-04-24 Juergen Vigna <jug@sad.it>
8731 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8732 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8734 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8736 * buffer.C (getBibkeyList): If using \bibliography, return the
8737 option field with the reference itself. Enables us to provide natbib
8738 support when using \bibliography.
8740 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8742 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8744 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8745 natbib is provided by the LaTeX class.
8747 2002-04-23 Juergen Vigna <jug@sad.it>
8749 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8752 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8754 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8756 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8758 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8759 ensuremath around textordmasculine, textordfeminine and
8762 2002-04-19 Juergen Vigna <jug@sad.it>
8764 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8765 reinitializing the buffer otherwise row-dimensions may be wrong.
8766 (update): reset also the selection cursors if they do exits otherwise
8767 their x/y positions may be wrong.
8769 * text2.C (cursorDown): don't enter the inset if we came from a row
8770 above and are one row over the inset.
8772 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8773 really leaving an inset.
8775 2002-04-18 Juergen Vigna <jug@sad.it>
8777 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8778 of the selected paragraph does not have the selected layout also if
8781 * text2.C (setLayout): fixed bug which did not change last selected
8784 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8785 changed the read and substituted \\end_float with \\end_inset!
8787 * BufferView_pimpl.C (cursorPrevious):
8788 (cursorNext): fixed to make it work with rows heigher than the work
8789 area without moving the cursor only the draw of the row.
8790 (workAreaMotionNotify): fix jumping over high rows.
8792 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8794 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8797 2002-04-16 Juergen Vigna <jug@sad.it>
8799 * text2.C (setCursor): set also the irow().
8800 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8802 (cursorDown): support for locking an inset if the x_fix value goes
8803 inside it. That way I can transverse insets too with cursor up/down.
8805 * lyxrow.h: added irow helper function same as other (i) functions.
8807 * BufferView_pimpl.C (cursorPrevious):
8808 (cursorNext): fixed for insets!
8810 2002-04-15 Juergen Vigna <jug@sad.it>
8812 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8813 position otherwise it is wrong in some cases.
8815 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8816 inside the inset before the call.
8818 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8820 * buffer.[Ch] (getBibkeyList): make it const.
8822 2002-04-12 Juergen Vigna <jug@sad.it>
8824 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8826 * text2.C (getCursorX): new helper function
8827 (setCursor): compute also ix_
8828 (setCursorFromCoordinates): set also ix.
8830 * lyxcursor.h: added ix_ and helper functions.
8832 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8834 * buffer.C (insertStringAsLines): dont break paragraph if the this
8835 paragraph is inside an inset which does not permit it!
8837 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8838 also with no chars on this paragraph.
8839 (paintRowText): only paint stuff if it's inside the workarea!
8841 * paragraph.C (breakParagraph): honor keepempty flag and break the
8842 paragraph always below not above.
8844 * BufferView2.C (unlockInset): update the paragraph layout on inset
8845 unlock as we changed paragraph in such a case.
8847 * lyxfind.C (LyXFind): clear the former selection if not found!
8849 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8850 again called in insertChar().
8852 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8853 an inset which uses the whole row!
8854 (rightMargin): ditto.
8855 (insertChar): force a rebreak if we inserted an inset!
8857 2002-03-28 Herbert Voss <voss@lyx.org>
8859 * lyxlength.[Ch]: add inBP() to get the right PS-point
8860 units (BigPoint). With inPixels we have rounding errors
8862 2002-04-11 Juergen Vigna <jug@sad.it>
8864 * text2.C (setCursorFromCoordinates): set iy to the right value.
8865 (setCursor): add check if row->previous exists!
8867 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8868 an old float_type as this was the case in the old code!
8870 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8872 * BufferView2.C (showLockedInsetCursor): use iy
8873 (fitLockedInsetCursor): ditto
8875 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8876 locked insets as there we have the right value now.
8878 * lyxcursor.C: added iy_ variable and iy functions to set to the
8879 baseline of cursor-y of the locked inset.
8881 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8882 (setCursor): fixed for insets which need a full row.
8884 * text.C (rowLastPrintable): don't ignore the last space when before
8885 an inset which needs a full row.
8886 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8887 as last character of a row when before a inset which needs a full row.
8889 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8891 * version.C.in: update date
8893 * text2.C (fullRebreak): try to always return true and see what
8896 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * MenuBackend.C (expand): use Floating::listName
8900 * FloatList.C (FloatList): add listName argument to the built-in
8903 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8904 text associated with the float.
8906 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8910 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8912 * ShareContainer.h: add a couple of missing typenames.
8914 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8916 * lyxrc.C (getDescription): use _() correctly rather than N_().
8918 2002-03-28 Herbert Voss <voss@lyx.org>
8920 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8921 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8923 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8925 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8926 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8928 2002-03-29 Juergen Vigna <jug@sad.it>
8930 * lyxfunc.C (dispatch): add a missing fitCursor call.
8932 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8933 it was scrolled by a cursor move, so return the bool status.
8935 * BufferView.C (fitCursor): return the bool flag also to the outside
8936 world as this is needed.
8938 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8940 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8941 call the edit() as it is not needed (and wrong) IMO.
8942 (workAreaButtonPress): set the screen_first variable before evt.
8943 unlock the inset as this may change screen_first and then we have
8944 a wrong y position for the click!
8946 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8948 * MenuBackend.C (expand): another translation that I missed
8950 2002-03-28 Juergen Vigna <jug@sad.it>
8952 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8954 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8956 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8958 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8960 * MenuBackend.C (expand): fix export/view/update when there is no
8963 2002-03-27 Herbert Voss <voss@lyx.org>
8965 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8968 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * bufferview_funcs.C (currentState): only show paragraph number
8971 for is DEVEL_VERSION is set.
8973 * lyxfunc.C (dispatch): put warning in INFO channel
8975 * MenuBackend.C (expand): translate the name of floats
8977 * FloatList.C (FloatList): mark the float names for translation
8979 * converter.C (convert): use LibScriptSearch
8981 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8983 * MenuBackend.C (defaults): fix default menu (we might as well get
8986 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8988 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8991 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8993 * lyxvc.C: reorder includes.
8995 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8997 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9000 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9002 * CutAndPaste.C: change layouts earlier on paste
9003 to avoid crashing when calling getFont()
9005 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9007 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9010 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * WorkArea.C: remove 'Pending' debug message.
9014 * most files: ws cleanup
9016 * buffer.[Ch]: ws changes
9018 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9020 2002-03-21 Juergen Vigna <jug@sad.it>
9022 * tabular.C (SetMultiColumn): collapse also the contents of the
9023 cells and set the last border right. Added a Buffer const * param.
9025 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9027 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9030 2002-03-19 Juergen Vigna <jug@sad.it>
9032 * text2.C (clearSelection): reset also xsel_cache.
9034 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9035 where it needs to be called (John tells us to do so too :)
9036 (selectionLost): reset sel_cache.
9038 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9040 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9042 * text2.C (setCursorIntern): put debuging code in INSETS channel
9044 2002-03-19 André Pönitz <poenitz@gmx.net>
9046 * lyxfunc.C: tiny whitespace change
9048 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9050 * ToolbarDefaults.C (init):
9051 * LyXAction.C (init):
9053 * BufferView_pimpl.C (Dispatch):
9054 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9056 2002-03-19 Allan Rae <rae@lyx.org>
9058 * exporter.C (Export): removeAutoInsets before doing anything else.
9059 While I've just introduced a dependency on BufferView this really is
9060 the best place to clean the buffer otherwise you need to cleanup in
9061 a dozen places before calling export or cleanup in a dozen functions
9064 * converter.C (runLaTeX):
9065 (scanLog): Better handling of removeAutoInsets and screen updates.
9067 * lyxfunc.C (dispatch): small whitespace changes
9069 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9071 * WorkArea.C (C_WorkAreaEvent): return a value.
9072 (event_cb): return 1 if we handled the event, 0 otherwise.
9074 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9076 2002-03-18 Juergen Vigna <jug@sad.it>
9078 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9079 (GetAdditionalWidth): ditto.
9083 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9084 inset if we're there actually (probably not used right now but this
9085 is the direction to go for unifying code).
9086 (paste): disable code to clear the selection.
9088 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9089 inside an InsetText and move the check further up as it is in the
9092 * text2.C (pasteSelection): set a selection over the pasted text.
9094 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9096 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9097 and libgraphics to build on Cygwin.
9099 2002-03-15 Juergen Vigna <jug@sad.it>
9101 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9102 inserting an Inset into the paragraph. I know this is not the best
9103 fix but we already use current_view in CutAndPaste so we will remove
9104 all of it's using at the same time.
9106 * buffer.C (sgmlError): deactivated function till it is rewritten in
9107 the right mode, now it can create problems.
9109 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9110 before accessing it.
9112 2002-03-14 Juergen Vigna <jug@sad.it>
9114 * undo_funcs.C (textHandleUndo): do the right thing when updating
9115 the inset after the undo/redo.
9117 * text2.C (setCursor): just some testcode for #44 not ready yet.
9119 * undo_funcs.C (textHandleUndo): set the next() and previous()
9120 pointers of the paragraph to 0 before deleting otherwise we have
9121 problems with the Paragraph::[destructor].
9123 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9124 on a paragraph insertion.
9126 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9128 * buffer.C (asciiParagraph): use += operator for char append to
9131 * paragraph.C (getFontSettings): compare >= not just >
9132 (highestFontInRange): ditto
9135 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9137 * paragraph.C: change several algorithm to be more appripriate for
9138 the problem domain. This is lookip in FontList and in the InsetList.
9140 2002-03-13 André Pönitz <poenitz@gmx.net>
9143 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9145 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9150 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9152 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9154 * Painter.C (display): anon helper function, adjust code for this
9156 (pixmap): remove function.
9158 * Painter.h: remove private display variable.
9160 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9162 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9164 * WorkArea.[Ch]: remove figinset_canvas cruft.
9166 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9168 * lyxtextclass.C (operator): add one item cache optimization.
9170 * bufferlist.h: doxy changes
9172 * bufferlist.C: ws changes
9174 * DepTable.[Ch] (ext_exist): place const in the right spot.
9176 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9178 (workAreaExpose): call resizeInsets when the with BufferView changes.
9179 (Dispatch): adjust for protectedBlank removal
9180 (specialChar): call updateInset if the insert went ok.
9182 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9183 specialChar instead.
9185 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9187 * BufferView.h: doxy change
9189 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9191 * lyxtextclass.C (operator[]): remove non-const version
9192 (defaultLayout): remove non-const version
9194 2002-03-12 Juergen Vigna <jug@sad.it>
9196 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9197 did resize the LyXText too.
9199 * buffer.C (readLyXformat2): set layout information on newly allocated
9202 * tabular.C (OldFormatRead): set layout information on the paragraph.
9204 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9206 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9208 2002-03-11 Juergen Vigna <jug@sad.it>
9210 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9212 (resizeCurrentBuffer): force also the insets to resize themselfes.
9213 (moveCursorUpdate): fixed up for InsetText.
9215 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9218 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9219 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9220 value of Dialogs::tooltipsEnabled().
9221 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9223 2002-03-08 Juergen Vigna <jug@sad.it>
9225 * BufferView_pimpl.C (updateInset): update inset inside inset also
9226 if it isn't inside theLockingInset().
9228 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9230 * buffer.C (asciiParagraph): redo some of the word and line length
9232 (getLists): look for Caption instead of caption.
9234 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9236 * buffer.C (Buffer): initialize niceFile to true
9239 (makeDocBookFile): make sure niceFile is true on exit
9241 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9243 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9245 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9247 * LyXSendto.C: remove.
9248 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9249 * lyx_gui.C: remove now-redundant comment.
9250 * ColorHandler.h: remove forward declaration of class WorkArea.
9251 * lyxfunc.C: remove #include "WorkArea.h".
9253 2002-03-07 Juergen Vigna <jug@sad.it>
9255 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9256 got moved away with the DEPM and also set the inset_owner always
9257 right which before could have been omitted.
9259 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9261 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9262 wanted layout is not found.
9264 2002-03-07 Juergen Vigna <jug@sad.it>
9266 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9268 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9270 * paragraph.C (breakParagraph): use default layout not layout of
9272 (Paragraph): clear ParagraphParameters.
9274 2002-03-06 Juergen Vigna <jug@sad.it>
9276 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9277 otherwise it would not be a valid lenght. Fixed a special case in
9278 the minipage compatibility read where we end the document with a
9281 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9282 was set as it could be 0 for InsetTexts first entry.
9284 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9286 * paragraph.C (writeFile): if layout is empty write out
9287 defaultLayoutName().
9289 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9290 file without named layout we set layout to defaultLayoutName().
9292 2002-03-06 Juergen Vigna <jug@sad.it>
9294 * CutAndPaste.C (copySelection): set layout for new paragraph.
9296 * text.C (prepareToPrint): leave ERT inset left aligned
9297 (leftMargin): don't indent paragraphs inside ERT insets
9299 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9301 * paragraph.C (breakParagraph): dont call clear do the work manually
9303 * paragraph.[Ch] (clear): remove function
9305 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9307 * paragraph.C (Paragraph): dont call clear, the work has already
9310 * lyxtextclass.C (operator): assert if n is empty
9312 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9313 work manually instead.
9315 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9317 * BufferView_pimpl.C: protect selectionLost against text == 0
9319 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9321 * text.C (breakParagraph): fix a setting layout to '0' problem.
9323 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9325 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9326 final location of file, for the included files, and graphics.
9328 2002-03-05 Juergen Vigna <jug@sad.it>
9330 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9332 2002-03-04 Juergen Vigna <jug@sad.it>
9334 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9336 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9337 last column of multicolumn cells.
9338 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9340 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9342 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9343 file if it doesn't go to a temporary file.
9345 * buffer.C (sgmlOpenTag):
9346 (sgmlCloseTag): remove extra newline insertion.
9348 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9350 * text.C (getRowNearY): comment out debug msg
9352 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * text2.C: first -> first_y
9356 * text.C (getRowNearY): add some attemts at a possible
9357 optimization, not working.
9359 * tabular.[Ch]: add BufferParams to several function so that newly
9360 created paragraph can be initialized to he default layotu for the
9363 * tabular-old.C (ReadOld): add buf->params to call of Init
9365 * screen.C: rename text->first to text->first_y
9367 * paragraph.C (breakParagraph): always set layout in the broken
9370 * lyxtextclass.C (Read): remove lowercase
9373 (delete_layout): ditto
9375 * lyxtext.h: rename first -> first_y
9377 * lyxlayout.C (Read): remove lowercase
9380 (obsoleted_by): ditto
9382 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9384 * buffer.C (insertErtContents): add params are to InsetERT
9385 (parseSingleLyXformat2Token): add code to check if a paragraphs
9386 layout really exist.
9387 (parseSingleLyXformat2Token): add params to several inset
9389 (asciiParagraph): remove lowercase, do the layout comparisons with
9392 * BufferView_pimpl.C (cursorNext): first -> first_y
9393 (resizeCurrentBuffer): first -> first_y
9394 (updateScrollbar): first -> first_y
9395 (scrollCB): first -> first_y
9396 (workAreaMotionNotify): first -> first_y
9397 (workAreaButtonPress): first -> first_y
9398 (checkInsetHit): first -> first_y
9399 (cursorPrevious): first -> first_y
9400 (cursorNext): first -> first_y
9401 (Dispatch): add buffer_->params to severl inset contructors
9403 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * lyxlayout.C (Read): remove some debug info that I forgot.
9407 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9408 clean up the code slightly.
9409 (makeLinuxDocFile): ditto
9410 (makeDocBookFile): ditto
9412 * text2.C: layout as string
9414 * text.C: layout as string
9416 * paragraph_pimpl.C: layout as string
9418 * paragraph.[Ch]: layout as string
9420 * lyxtextclasslist.[Ch]: layout as string
9422 * lyxtextclass.[Ch]: layout as string
9424 * lyxtext.h: layout as string
9426 * lyxlayout.[Ch]: layout as string
9428 * lyx_cb.C: layout as string
9430 * bufferview_funcs.C: layout as string
9432 * bufferparams.C: layout as string
9434 * buffer.C: layout as string
9436 * LyXView.[Ch]: layout as string
9438 * LaTeXFeatures.[Ch]: layout as string
9440 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9442 * BufferView_pimpl.C: change current_layout to string, remove
9447 (workAreaButtonRelease): layout as string
9449 * BufferView2.C (unlockInset): adjust
9451 * vspace.C (asLatexCommand): use an explict temp variable.
9453 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9455 * Makefile.am: use FRONTEND_*
9457 2002-03-01 Juergen Vigna <jug@sad.it>
9459 * tabular.C (SetWidthOfMulticolCell): changed to something better
9460 I hope but still work in progress.
9461 (recalculateMulticolumnsOfColumn): renamed function from
9462 recalculateMulticolCells as it is more appropriate now.
9463 (SetWidthOfCell): calculate multicols better.
9465 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9467 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9469 * lyxfunc.C (processKeySym): print sequence also if it is
9470 `deleted' (complete)
9472 * kbsequence.C (print): print sequence even if it is deleted
9473 (complete would be a better word, actually).
9475 * lyxfunc.C (dispatch): print complete options after a prefix key
9477 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9479 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9481 * text2.C (setCharFont): eliminate setCharFont code duplication.
9483 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9485 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9486 LFUN_TABULAR_FEATURE (bug #177)
9488 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9490 * Makefile.am: remove figure.h
9492 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9494 * Bufferview_pimpl.C:
9506 * text2.C: remove #include "lyx_gui_misc.h".
9508 * LaTeX.C: added #include <cstdio>
9510 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9512 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9513 that the paragraph following this one can have.
9515 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9517 * vspace.C (asLatexCommand): fix bogus gcc warning
9519 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9521 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9523 * text2.C (setLayout): get rid of redundant code
9525 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9527 * text2.C (incDepth): make sure depth cannot be increased beyond
9530 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9532 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9533 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9535 * PainterBase.h (image):
9536 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9539 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9543 * BufferView_pimpl.C:
9544 * BufferView_pimpl.h:
9564 * sp_spell.C: remove fig inset, and the crap house of
9565 cards that follows it
9567 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9573 * nt_defines.h: move .h into support/
9575 * vms_defines.h: remove
9577 * WorkArea.C: add space in debug output
9581 * buffer.C: add WITH_WARNINGS
9585 * bufferlist.C: s/retrive/retrieve/, add docs
9596 * lyxgui.C: add ID to X error handler
9598 * lyxtestclass.c: fix typo
9600 2002-02-26 Juergen Vigna <jug@sad.it>
9602 * tabular_funcs.C (write_attribute): changed so that some default
9603 attributes are not written at all.
9604 (getTokenValue): set default values before trying to read the
9605 value so we have the return value always set as default if we don't
9606 find the token we search for.
9608 * tabular.C (Write): write bools as bools not as strings!
9610 2002-02-22 Juergen Vigna <jug@sad.it>
9612 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9613 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9615 * text.C (leftMargin): don't add an indent for paragraphs inside
9616 tabular cells (fix #208).
9618 2002-02-21 José Matos <jamatos@fep.up.pt>
9620 * tabular.C (docBook): fixed support for long tables.
9622 2002-02-20 Juergen Vigna <jug@sad.it>
9624 * text2.C (getFont): get the drawing font of the Inset if this
9625 paragraph is inside an inset (only important for InsetERT for now).
9627 * buffer.C (insertErtContents): use new lanugage params in ERT
9630 * CutAndPaste.C: commenting out seemingly uneeded code.
9632 2002-02-19 Allan Rae <rae@lyx.org>
9634 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9635 Iterators might be simple to use but they also get invalidated.
9636 (removeAutoInsets): renamed saved cursor tracking variables and added
9637 some comments to clarify what everything does.
9639 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9646 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9647 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9650 * vc-backend.h: remove #include "support/syscall.h"
9654 * converter.C: rearrange #includes in Lars' approved fashion.
9656 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9657 forward declare class Timeout in the header file.
9659 * XFormsView.C: changes due to the above.
9661 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9664 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9665 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9667 2002-02-18 José Matos <jamatos@fep.up.pt>
9669 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9672 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9674 * a lot of small ws changes
9675 * add a lot of using std::XXX
9676 * use std construcs some places where approp.
9677 * use some exisint stuff from lyxfunctional where approp.
9678 * Make file changes to use partial linking (lets test this now...)
9680 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9684 remove #include "support/syscontr.h" as it's redundant. Always has been.
9692 change Systemcalls::System to Systemcalls::Wait and
9693 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9694 No change of functionality, just reflects the stripped down Systemcalls
9697 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9699 * debug.[Ch]: add a GRAPHICS type to the enum.
9701 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9703 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9705 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9708 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9710 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9711 match the changes below.
9713 * text2.C (toggleInset): if there is not editable inset at cursor
9714 position, try to see if cursor is _inside_ a collapsable inset
9717 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9720 document menu has a nice checkbox
9722 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * lyxlength.C (asLatexString): change PW to output as percent of
9727 * lengthcommon.C: change '%' to 't%'
9729 * lyxfunc.C (dispatch): a few comments from Martin
9731 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9735 * BufferView_pimpl.h:
9736 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9739 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9741 * vspace.C (inPixels): fix compiler warning
9743 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * lyxfunc.C (getStatus): fix status message for disabled commands.
9747 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9749 * BufferView_pimpl.C: fix crash on close buffer
9750 during selection (#227)
9752 2002-01-27 Herbert Voss <voss@lyx.org>
9754 * buffer.C: link old Figure to new graphic inset
9756 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9758 * FontLoader.C (getFontinfo): Change the latex font names in order
9759 to match the names of type1inst.
9761 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9765 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9768 (remove_files_with_extension): ditto
9769 (remove_file): ditto
9772 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9773 document is smaller than the work area height. Do not initialize
9774 static variables to 0.
9776 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9778 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9780 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9781 LFUN_LAYOUT_PARAGRAPHS.
9783 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9784 tabular. It is possible to provide a possible cell, which will
9785 typically be the actcell from the corresponding insettabular
9787 * lyxfunc.C (getStatus): small cleanup; disable
9788 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9791 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9795 * paragraph.C (startTeXParParams):
9796 (endTeXParParams): new methods. The LaTeX code to
9797 start/end paragraph formatting
9798 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9799 empty (fixes bug #200)
9801 * vspace.C (inPixels): adapt to the change below
9802 (inPixels): [later] more cleanups (remove unused variables)
9804 * lyxlength.C (inPixels): change to use a width and a height as
9807 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9810 Replaced with \paperwidth
9812 * DepTable.C (insert): add std:: qualifier
9814 2002-01-18 Allan Rae <rae@lyx.org>
9816 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9819 * text.C (drawInset): Turned out I didn't know enough about how
9820 rebreaking worked. This fixes most of the redraw problems. I see
9821 an occasional cursor trail when a line is broken now and the cursor
9822 placement can seem out by a few pixels also after a rebreak.
9824 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9826 * buffer.C (parseSingleLyXformat2Token): update because minipage
9827 width is now a LyXLength
9829 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9831 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9834 2002-01-17 Juergen Vigna <jug@sad.it>
9836 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9838 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9839 is set correctly and the inset is updated correctly.
9841 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9843 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9844 the beginning of the loop.
9846 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9848 * lyxrc.C: improve help for use_scalable_fonts
9850 2002-01-17 Allan Rae <rae@lyx.org>
9852 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9854 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9857 make sure to set their inset_owner to the right value (bug #171)
9859 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9862 * DepTable.C: Implement mtime checking to reduce time spent doing
9865 2002-01-16 Juergen Vigna <jug@sad.it>
9867 * tabular.C (GetAdditionalHeight): one of error fixed.
9869 * lyxrc.C (output): small fix in writing use_pspell.
9871 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9873 * sp_base.h: #include LString.h
9875 2002-01-16 Allan Rae <rae@lyx.org>
9877 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9878 Can someone check this please?
9880 * text.C (drawInset): It was possible that p.row would be removed by
9881 breakAgainOneRow upsetting a few other settings. There may be another
9882 small tweak possible by setting need_break_row = 0 when p.row has been
9883 removed but I don't know enough about the logic here.
9885 2002-01-15 Allan Rae <rae@lyx.org>
9887 * text.C (insertChar): removed conditional truism.
9889 * BufferView2.C (removeAutoInsets): More tweaks.
9890 cur_par_prev could be a stray pointer. Check for trailing empty line
9891 in case last line was cur_par and only had an error inset on it.
9893 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9895 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9898 * vc-backend.C (most methods):
9899 * exporter.C (Export):
9900 * converter.C (convert):
9902 * LyXSendto.C (SendtoApplyCB):
9903 * lyxfunc.C (dispatch):
9907 * lyx_cb.C (AutoSave):
9909 * BufferView_pimpl.C (MenuInsertLyXFile):
9910 * buffer.C (runChktex): use Buffer::filePath().
9912 * buffer.h: rename filename to filename_; rename filepath to
9913 filepath_ and make it private
9914 (filePath): new method
9916 * buffer.C (writeFile): use fileName()
9919 * lyx_main.C (init): fix starting of LyX when the binary is a
9920 link from so,ewhere else.
9922 * minibuffer.C: include <cctype> for isprint
9924 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9926 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9927 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9928 name clash with InsetCollapsable's width function.
9930 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9932 * lastfiles.C: include <iterator>
9934 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9936 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9939 * buffer.C (makeLaTeXFile): ditto.
9940 Also make loop operation more transparent.
9942 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9944 * ToolbarDefaults.C: remove trailing comma closing namespace.
9946 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9948 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9951 * trans.C (Load): comment out unused variable, allowed.
9953 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9955 * minibuffer.[Ch] (append_char): new method to recieve input from the
9956 drop-down completion browser. If a key was pressed, then recieve this
9957 char and append it to the existing string.
9958 (peek_event): modify the positioning data passed to the completion
9959 browser so that it can be placed above the minibuffer rather than below.
9960 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9962 * LyXAction.C (init): alloe error-next for readonly documents.
9964 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9967 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9969 * bufferlist.C (readFile): create the buffer _after_ checking that
9972 * lyxfunc.C (verboseDispatch): fix handling of arguments
9974 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9976 * lyxrc.C: use string::erase() instead of initializing to "".
9979 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9981 * BufferView_pimpl.h:
9982 * BufferView_pimpl.C:
9985 * text2.C: tell X when we have made a selection for copying
9987 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * BufferView_pimpl.C (MenuInsertLyXFile):
9990 * lyxfunc.C (menuNew):
9992 (doImport): add shortcuts to directory buttons
9994 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9997 * lyxfunc.C (setStatusMessage):
9998 (getStatusMessage): new methods
9999 (getStatus):use setStatusMessage instead of setErrorMessage
10000 (dispatch): when function is disabled, set error message here
10001 [instead of in getStatus previously]
10003 * BufferView_pimpl.C (workAreaButtonRelease): update
10004 toolbar/menubar here too.
10006 2002-01-13 Allan Rae <rae@lyx.org>
10008 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10009 Now seems indestructible. Remaining task is to audit all other
10010 code affected by deleteEmptyParagraphMechanism. One small quirk
10011 left is that an empty document with an error in the preamble can
10012 be made to report an error but no error box appears. I don't know
10014 (removeAutoInsets): Improved comments.
10016 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10019 * Thesaurus.C: update for Aiksaurus 0.14
10021 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10023 * text2.C (firstParagraph): removed member function, all uses
10024 replaces with ownerParagraph
10025 (redoParagraphs): here
10026 (updateInset): here
10027 (toggleAppendix): here
10028 * BufferView2.C (insertErrors): here
10029 (setCursorFromRow): here
10031 2002-01-13 Allan Rae <rae@lyx.org>
10033 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10034 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10035 There is still a way to segfault this although you may have to do this
10036 multiple times: Have an InsetERT with an unknown command in it.
10037 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10038 <down-arrow>, <Enter> again, View->DVI, BANG!
10040 * text2.C (setCursor):
10041 (deleteEmptyParagraphMechanism):
10042 * lyxtext.h (setCursor):
10043 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10044 Making use of the return value may help fix other bugs.
10046 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10048 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10050 * LyXView.C (updateMenubar): call MenuBar::update here
10051 (updateToolbar): but not here
10052 (showState): do not update toolbar/menubar
10054 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10055 should need to care about that.
10057 * lyxfunc.C (verboseDispatch): simplify a bit
10058 (getStatus): have a version which takes a pseudoaction, and
10059 another which requires a (kb_action,string).
10061 * LyXAction.C (retrieveActionArg): make it work also when action
10062 is not a pseudo-action.
10063 (getActionName): simplify a bit
10066 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10068 * lyxfunc.C (verboseDispatch): new families of methods with
10069 several ways to specify a command and a bool to indicate whether
10070 the command name and shortcut should be displayed in minibuffer
10071 (eventually, we could extend that to a finer bitmask like
10072 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10073 (dispatch): the pristine dispatch command which just, well,
10074 dispatchs! Note it still sets its result to minibuffer; I'm not
10077 * lyxfunc.h: remove setHintMessage
10079 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10081 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * BufferView_pimpl.C (specialChar): delete new inset if we have
10084 not been able to insert it.
10086 * kbmap.C: revert to using int instead of kb_action, since all we
10087 are dealing with is pseudo-actions.
10089 * LyXAction.C (searchActionArg): change to return int instead of
10090 kb_action, since the result is a pseudoaction.
10092 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10094 * buffer.C (insertErtContents): Fix (partially) the font bug.
10096 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10098 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10099 as the other one is broken on my machine!
10101 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10104 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10106 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10108 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10109 reflect their actual use. Provide compatibility code for older lyxrc
10112 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10114 change names of popup font variables in line with the changes to lyxrc.C
10116 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10118 * buffer.C (asciiParagraph): avoid outputing a word twice after
10121 * lyxrc.C (getDescription): document that document_path and
10122 template_path can be empty.
10124 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10126 * LaTeXFeatures.C (getMacros):
10127 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10129 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10131 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10133 (getPackages): rename feature "floats" to "float". Use an array to
10134 iterate over 'simple' features (i.e. just a \usepackage). Add
10135 handling of "amsmath" (renamed from "amsstyle").
10137 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10139 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10142 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10144 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10145 FuncStaus::FuncStatus & FuncStaus::some_method().
10147 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10149 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10150 of the func_satus stuff. Edited and massaged in various ways by
10153 * lyxfunc.C (getStatus): use FuncStatus
10155 2002-01-08 Juergen Vigna <jug@sad.it>
10157 * text.C (nextBreakPoint): use function Inset::isChar().
10159 * paragraph.C (TeXOnePar): use function
10160 Inset::forceDefaultParagraphs.
10162 * buffer.C (latexParagraphs): use function
10163 Inset::forceDefaultParagraphs.
10165 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10167 * lyx_gui.C (init): set the style of the menu popups to
10168 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10170 2002-01-07 Juergen Vigna <jug@sad.it>
10172 * text.C (setHeightOfRow): small fix
10173 (prepareToPrint): don't look at alignment if we don't have the place
10176 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10178 * box.C: New file. Move the Box methods and functions out of box.h,
10179 following Lars' suggestion.
10181 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10183 * box.h: #include "support/LOstream.h", needed for inlined function.
10186 * lyxtextclasslist.C: added some using std declarations.
10188 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10190 * box.h: make signed dimensions to allow insets wider than
10191 the screen (bug #162)
10193 * BufferView_pimpl.C: add some insetHit debug
10195 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10197 * vc-backend.C: add FIXME
10199 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10201 * lyxfunc.C (getStatus): enable code for showing math font status
10204 2002-01-07 Juergen Vigna <jug@sad.it>
10206 * text.C (nextBreakPoint): removed debug output not needed anymore.
10208 2002-01-06 Juergen Vigna <jug@sad.it>
10210 * text.C (nextBreakPoint): fixed up this function we had this bug
10211 since ever but now hopefully we break row better.
10212 (insertChar): we have to check if an inset is the next char as it
10213 could now happen that a large inset is causing a break.
10215 2002-01-05 Juergen Vigna <jug@sad.it>
10217 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10218 if it doesn't like to be drawed.
10220 2002-01-04 Juergen Vigna <jug@sad.it>
10222 * BufferView2.C (lockInset): forgot to set a cursor.
10224 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10226 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10228 * FormMathsPanel.C:
10231 * form_maths_panel.C:
10232 * form_maths_panel.h:
10233 * form_maths_panel.fd: implemented sub- and super- buttons in math
10236 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10237 (or ^ space) to be used as in TeX (req'd by André).
10239 * lyxfunc.C: Allow ^ and _ again to be used both as
10240 super/subscript (mathed) and as themselves (in text).
10242 2002-01-03 Allan Rae <rae@lyx.org>
10244 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10245 "LyX" or the filename of the current buffer if it has one. This is a
10246 modified form of John Levon's patch.
10248 * XFormsView.C (setWindowTitle): also set icon title.
10250 * LyXView.h (setWindowTitle): signature changed.
10251 * XFormsView.h (setWindowTitle): ditto.
10253 2002-01-02 Juergen Vigna <jug@sad.it>
10255 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10257 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * screen.C (topCursorVisible): introduce a temp var for
10260 text->cursor.row(), handle the case where this row is null. (kindo
10263 * text2.C (setCursor): add a couple of asserts.
10265 * paragraph.h (inset_iterator): add -> operator
10267 * paragraph.[Ch] (autoDeleteInsets): remove member function
10269 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10270 cursor pos correctly and handle inset deletion by itself.
10271 (insertErrors): move iterator declaration out of for expression
10273 * lyxtextclass.C: add <algorithm>
10275 * Makefile.am: added the new files to sources, removed layout.C
10277 * layout.C: removed file
10279 * layout.h: remove LYX_DUMMY_LAYOUT
10281 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10285 * lyxtextclass.[Ch]:
10286 * lyxtextclasslist.[Ch]: new files
10288 * include order changes to a lot of files, also changes because of
10291 2001-12-27 Juergen Vigna <jug@sad.it>
10293 * buffer.C (asciiParagraph): more fixes.
10295 * tabular.C (ascii): make ascii export support export of only the
10296 data separated by a column-delimiter.
10297 (ascii): better support for ascii export.
10299 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10301 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10303 * tabular_funcs.C: use a "using std::getline" instead of the
10304 previous fix from Angus (necessary for cxx + lyxstring)
10306 2001-12-24 Juergen Vigna <jug@sad.it>
10308 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10310 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10311 problems. First check a minipage also if we have some ert-contents
10312 (not only on par->size(), second set the right depth of the paragraph
10313 on the relink to the root-paragraph-list!
10315 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10316 which then did not anymore update the main paragraphs on undo/redo!
10318 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10320 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10321 code. Support all font-changing funcs (even those which are not in
10322 menu currently). Support for reporting font settings in
10323 mathed (disabled until Andre provides a function on mathed's side).
10325 * func_status.h (toggle): small helper function to set toggle
10328 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10330 * tabular_funcs.C: getline -> std::getline
10332 2001-12-21 Juergen Vigna <jug@sad.it>
10334 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10335 accessed and could be 0 (I couldn't generate this but it seems
10338 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10341 * tabular_funcs.h: here and include iosfwd
10343 2001-12-20 Juergen Vigna <jug@sad.it>
10345 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10346 inside inset but undo_par was.
10348 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10350 * Thesaurus.C: always include <config.h> in sources.
10354 * box.h: do not include <config.h> in header files
10356 * text.C (paintLastRow): remove unused variable
10358 * text.C (transformChar):
10360 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10362 * Painter.C (text):
10363 * font.C (width): rewrite to use uppercase() instead of
10366 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10368 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10370 * lyxfind.C: clean up of find failure position change
10372 2001-12-20 Juergen Vigna <jug@sad.it>
10374 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10376 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10377 (TeXRow): added to LaTeX a single tabular row.
10378 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10379 (Latex): simplified and finally good LT-h/f support.
10380 (various_functions): just small adaptions for LT-h/f support.
10382 * tabular_funcs.[hC]: added and moved here all not classfunctions
10385 2001-12-19 Juergen Vigna <jug@sad.it>
10387 * tabular.[Ch]: better support for longtabular options (not finished
10390 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10392 * text.C (paintLastRow): use the label font instead of the font of
10393 the last character to compute the size of *_BOX. This makes more
10394 sense and avoids a crash with empty paragraphs.
10395 Use Painter::rectangle to draw EMPTY_BOX.
10397 2001-12-19 Juergen Vigna <jug@sad.it>
10399 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10400 the paragraphs if the replaced paragraph is not the first one!
10401 Tried to delete not used paragraphs but does not work yet so for
10402 now it's inside #ifdef's and by default off!
10404 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10406 * MenuBackend.C: include "lyx_main.h" instead of declaring
10407 lastfiles (actually was declared as LastFiles* instead of a
10410 2001-12-17 Juergen Vigna <jug@sad.it>
10412 * tabular.C (AppendColumn): applied John's fix
10414 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10418 * BufferView_pimpl.h:
10419 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10422 * box.h: new start of class for above
10424 * lyxfunc.C: ignore space-only minibuffer dispatches.
10425 Show the command name when it doesn't exist
10427 * minibuffer.C: don't add empty lines to the history
10429 * minibuffer.C: add a space on dropdown completion
10431 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10433 * text.C: fix line above/below drawing in insets
10435 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10437 * lyxlength.C (LyXLength): Initialize private variables.
10439 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10442 when inserting error insets.
10444 2001-12-13 Juergen Vigna <jug@sad.it>
10446 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10447 actually sometimes the before-paragraph.
10448 (setUndo): don't clear the redostack if we're not actually undoing!
10450 2001-12-06 Juergen Vigna <jug@sad.it>
10452 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10453 and fixed redoing of main paragraph, so we can use it now ;)
10455 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10457 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10459 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10462 2001-12-13 André Pönitz <poenitz@gmx.net>
10465 * undo_func.C: minor cleanup
10467 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10469 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10470 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10471 font in urw-fonts package which is marked as -urw-fontspecific and
10472 does not work (incidentally, changing the encoding in the
10473 fonts.dir of this package to -adobe-fontspecific fixes the
10476 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10477 is a crash when undoing first paragraph (Juergen, please take a
10478 look). THis does not mean the undo fix is wrong, just that it
10481 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10482 the (Paragraph*) version when needed instead of duplicating the
10485 * text.C (workWidth): use Inset::parOwner to find out where the
10486 inset has been inserted. This is a huge performance gain for large
10487 documents with lots of insets. If Inset::parOwner is not set, fall
10488 back on the brute force method
10490 * paragraph_pimpl.C (insertInset):
10491 * paragraph.C (Paragraph):
10492 (cutIntoMinibuffer): set parOwner of insets when
10493 inserting/removing them
10495 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10497 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10503 * mathed/formulabase.C:
10504 * mathed/math_cursor.[Ch]:
10505 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10508 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * lyxlength.[Ch] (operator!=): new function
10512 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10514 * text.C (workWidth): use Inset::parOwner to find out where the
10515 inset has been inserted. This is a huge performance gain for large
10516 documents with lots of insets. If Inset::parOwner is not set, fall
10517 back on the brute force method
10519 * paragraph_pimpl.C (insertInset):
10520 * paragraph.C (Paragraph):
10521 (cutIntoMinibuffer): set parOwner of insets when
10522 inserting/removing them
10524 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10526 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10528 * tabular-old.C (getTokenValue):
10529 * tabular.C (getTokenValue):
10530 (write_attribute): new versions for LyXLength
10531 (everywhere): adjust the use of widths
10533 * tabular.h: change the type of widths from string to LyXLength
10535 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10537 * paragraph.C: fixed missing line number count when exporting
10538 Environments to LaTeX file
10540 * buffer.C: added informational message for checking line numbers.
10542 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10545 paragraph, do the 'double space' part, but not the 'empty
10548 * text.C (workWidth): small optimization
10549 (getLengthMarkerHeight): use minimal size for negative lengths.
10551 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10553 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10555 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10557 2001-12-11 André Pönitz <poenitz@gmx.net>
10560 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10562 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10564 * text2.C: keep selection on a setFont()
10566 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10568 * lyx_cb.C: another bv->text misuse, from insert label
10570 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10573 * kbsequence.C: re-instate nmodifier mask
10575 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10577 * lyx_main.h: make lyxGUI private.
10579 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10581 * lyxfind.C: place the cursor correctly on failed search
10583 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10585 * text.C (getLengthMarkerHeight): for small heights, the arrows
10586 are not always on top/bottom of the text
10587 (drawLengthMarker): smaller arrows; take the left margin in
10588 account; draw also vfills.
10590 (paintLastRow): remove special code for vfill and standard spaces,
10591 since everything is handled in drawLengthMarker now.
10593 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * buffer.C (insertErtContents): try to handle font and language
10596 interaction a bit better.g
10598 * ColorHandler.C (updateColor): change the hash to cover the whole
10599 LColor enum, ws cleanup
10600 (getGCLinepars): ditto
10601 (getGCLinepars): only lookup in the linecache once.
10603 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10605 * iterators.C (operator++): Make the iterator more robust
10607 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10609 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10611 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10614 * text.C: better added space drawing
10616 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10619 * BufferView2.C: fix layout combo update on inset unlock
10621 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10623 * Makefile.am: don't compile unused files
10625 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10629 * LyXAction.C: remove old LFUN_LAYOUTNO
10631 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10633 * paragraph_pimpl.h:
10634 * paragraph_pimpl.C: isTextAt() doesn't need font param
10636 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10639 * lyxlex.C: little cleanup
10641 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10643 * BufferView_pimpl.C: fix insertAscii for insets
10645 2001-12-05 Juergen Vigna <jug@sad.it>
10647 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10648 set the right font on the "multi" paragraph paste!
10650 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10656 * lyxlength.C: remove out-commented code.
10658 * BufferView_pimpl:
10672 * vc-backend.C: change "while(" to "while ("
10674 * lyxlength.[Ch]: add zero function to check if length is zero or
10676 * lyxgluelength.C: use it
10678 2001-12-05 Allan Rae <rae@lyx.org>
10680 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10681 Works for 2.95.3, from what I understand of Garst's reports this should
10682 work for other g++ versions. We're screwed if the abs(int) definition
10683 changed between bugfix releases of gcc.
10685 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10687 * text.C: fix chapter label offset !
10689 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10692 * text.C: fix hfill at end of line, clean up
10694 2001-12-04 Juergen Vigna <jug@sad.it>
10696 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10697 that we force an update of the inset and it's owners if neccessary.
10699 2001-12-03 Juergen Vigna <jug@sad.it>
10701 * text.C (rowLast): simplified code
10703 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10705 * lyxfunc.C: fix show options on timeout
10707 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10709 * screen.C (topCursorVisible): scroll half a page when the cursor
10710 reached top of bottom of screen
10712 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10714 * minibuffer.C: deactivate on loss of focus
10716 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * vspace.[Ch] (operator!=): add operator.
10720 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10722 * BufferView_pimpl.C: refuse to open an inset when
10723 there's a selection.
10725 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10727 * BufferView_pimpl.C: allow to click on RHS of full row insets
10729 2001-11-30 Juergen Vigna <jug@sad.it>
10731 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10732 insets for undo reasons.
10734 2001-11-28 André Pönitz <poenitz@gmx.net>
10736 * vspace.[Ch]: cosmetical changes
10738 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10748 * kbsequence.C: part re-write of old kb code
10751 * WorkArea.C: remove Lgb_bug_find_hack
10753 2001-11-30 José Matos <jamatos@fep.up.pt>
10755 * buffer.C (makeDocBookFile): add a comment to point a hack.
10756 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10757 Fixed a double write of labels.
10759 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10762 * LaTeX.h Fixed bug in LaTeX class where it would not
10763 re-run latex if no depfiles were changed, but the .dvi was removed.
10765 2001-11-28 André Pönitz <poenitz@gmx.net>
10767 * all the files from the change on 2001/11/26:
10768 use lyx::layout_type instead of LyXTextClass::size_type
10769 use lyx::textclass_type instead of LyXTextClassList::size_type
10771 2001-11-29 Juergen Vigna <jug@sad.it>
10773 * text.C: added support for paragraph::isFreeSpacing()
10775 * buffer.C: same as above
10777 * paragraph.h: inserted isFreeSpacing() function to enable
10778 FreeSpacing inside InsetERT.
10780 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10781 of the paragraph's in the cut/copy buffer to 0!
10783 * text2.C (removeRow): remove the assert as it can!
10785 * lyxtext.h: added helper function firstRow returning firstrow and
10786 made firstrow private again.
10788 * BufferView2.C (lockInset): don't relock if we're already locked!
10790 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10791 the only paragraph.
10792 (removeRow): added Assert::(firstrow)
10794 * debug.C: forgot to add INSETTEXT here.
10796 2001-11-28 Juergen Vigna <jug@sad.it>
10798 * sp_spell.C (initialize): changed error text to more general
10799 spellchecker command use (not only ispell!)
10801 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10803 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10805 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10807 * vspace.C: initialise lyxgluelength on failure
10809 2001-11-28 Allan Rae <rae@lyx.org>
10811 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10812 declaration & definition that looks like a function declaration.
10814 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10816 * BufferView2.C (copy):
10817 (copyEnvironment): do not clear the selection when doing a copy.
10819 * text.C (paintFirstRow): compilation fix
10821 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10823 * tabular.C (Latex): correct line count when writing latex.
10825 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10827 * paragraph_pimpl.h:
10828 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10831 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10835 * LColor.C: change vfillline->added_space
10837 * text.C: add markers and text for added space
10839 * vspace.C: fix comment
10841 2001-11-28 André Pönitz <poenitz@gmx.net>
10843 * paragraph.C: whitespace changes
10844 * all the other files from the change on 2001/11/26:
10845 change *::pos_type into lyx::pos_type
10847 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10849 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10850 language of the document when inserting error insets.
10852 2001-11-26 André Pönitz <poenitz@gmx.net>
10854 * BufferView_pimpl.[Ch]:
10862 * paragraph_pimpl.[Ch]:
10865 * text2.C: reduce header dependencies, introduce type for positions
10867 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10869 * <various>: change to use Alert.h
10871 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10873 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10874 when encountering an unknown token.
10875 (readLyXformat2): Show an error message if there were unknown tokens.
10877 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10880 * BufferView_pimpl.C:
10884 * text2.C: use par->isInset()
10886 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10888 * paragraph_pimpl.h:
10889 * paragraph_pimpl.C: cleanup
10891 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10893 * text2.C (removeRow):
10894 * text.C (setHeightOfRow): remove useless (and costly) call to
10897 2001-11-20 Allan Rae <rae@lyx.org>
10899 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10900 Now need Inset*::checkInsertChar() to return true for appropriate
10901 cases so that the characters in the minibuffer will actually be
10904 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * text.C: change the order of the includes.
10907 (workWidth): initialize it at once.
10908 (workWidth): make maxw unsigned
10909 (setHeightOfRow): remove unused variable (inset)
10910 (selectSelectedWord): remove unused variable (inset)
10911 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10913 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10915 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10916 server is not running.
10918 (closeConnection): add debug info when server is disabled.
10920 * ColorHandler.C (getGCForeground): send debug message to GUI
10923 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10925 * kbmap.C (bind): modify because return conventions of
10926 kb_sequence::parse have changed.
10928 * kbsequence.C (parse): only ignore spaces and not any stupid
10929 control character. This avoids tests like s[i] <= ' ', which are
10930 guaranteed to fail with 8bit characters and signed chars.
10931 Change return code to string::npos when there have been no error
10932 (0 was a bad idea when error is at first character)
10934 2001-11-14 José Matos <jamatos@fep.up.pt>
10937 * buffer.C (simpleDocBookOnePar): removed unused argument.
10939 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10941 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10942 insets which are part of a word. Paragraph::isLetter takes care of
10943 that now. Use Paragraph::isInset to identify insets.
10944 (selectSelectedWord): do not test for hyphenation break.
10946 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10947 that protected spaces are considered as spaces.
10949 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10952 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10955 * lyxserver.C: fix it. and small cleanup.
10957 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10959 * BufferView_pimpl.C: use inline helpers
10962 * LaTeXFeatures.C: fix typos
10965 * Spacing.C: move spacing_string into class
10967 * ToolbarDefaults.C: move stuff into namespace anon
10969 * layout.h: update enum
10971 * lyxfunc.C: use better debug
10973 * minibuffer.h: fix typo
10977 * WorkArea.C: add and use Debug::WORKAREA
10981 * text2.C: code re-organisation, inline helpers
10983 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10985 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10986 std::vector.empty().
10988 2001-11-09 Allan Rae <rae@lyx.org>
10990 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10991 '\n's after tables. Tabular and ERT inset work now makes this no
10994 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10997 * minibuffer.C: fix crash, improve drop-down completion
10999 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11002 * lyxserver.C: invalidate fd's when doing endPipe()
11004 2001-11-08 José Matos <jamatos@fep.up.pt>
11006 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11007 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11010 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11012 2001-11-07 José Matos <jamatos@fep.up.pt>
11015 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11018 * buffer.C (sgmlOpenTag):
11019 * buffer.C (sgmlCloseTag): removed debug info.
11021 * buffer.h (sgmlOpenTag):
11022 * buffer.h (sgmlCloseTag): made public.
11024 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11026 * buffer.C (saveParamsAsDefaults):
11027 * lyx_cb.C (MenuLayoutSave): remove
11029 * LyXAction.C (init):
11031 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11033 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * buffer.C (setPaperStuff): removed from here...
11037 * bufferparams.C (setPaperStuff): ... and moved there.
11039 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11043 * XFormsView.C: add support for drop-down completion
11045 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11047 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11050 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11052 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11055 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11057 * lyx_main.C: change ref to known bugs
11059 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11061 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11062 to work around older babel problems.
11064 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11066 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11068 2001-10-24 Juergen Vigna <jug@sad.it>
11070 * tabular-old.C (ReadOld): below variable changes reflected.
11072 * tabular.[Ch]: added ltType struct for longtable header/footer
11073 defines and changed all instances where they are used. Added
11074 future support for double top/bottom rows.
11076 2001-10-24 José Matos <jamatos@fep.up.pt>
11078 * buffer.h (docbookHandleCaption):
11079 * buffer.C (docbookHandleCaption): removed unused function.
11080 (makeDocBookFile): moved docbook supported version to v4.1.
11082 2001-10-24 José Matos <jamatos@fep.up.pt>
11085 * tabular.C (docbookRow): new function to export docbook code of a row.
11086 (DocBook): now honors the longtable flags.
11088 2001-10-23 José Matos <jamatos@fep.up.pt>
11091 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11092 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11094 * buffer.C (makeLinuxDocFile):
11095 (makeDocBookFile): reworked the preamble, more clean, and with
11096 support for lyx defined entities. Changed the document declaration
11097 to be more XML friendly.
11099 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11100 if we need to output XML that should be done with a filter.
11102 2001-10-22 Juergen Vigna <jug@sad.it>
11104 * sp_pspell.h (class PSpell): add alive function needed in the
11105 controller to see if the spellchecker could be started.
11107 2001-10-22 Juergen Vigna <jug@sad.it>
11109 * buffer.C (insertStringAsLines): modify the font for inserting
11110 chars in certain conditions by calling checkInsertChar(font).
11112 2001-10-19 Juergen Vigna <jug@sad.it>
11114 * text.C (workWidth): use getRow instead of wrong algorithm.
11115 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11117 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11122 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11124 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11126 * text.C (workWidth): do not search for the exact row when
11127 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11128 optimization for big documents.
11130 2001-10-18 Juergen Vigna <jug@sad.it>
11132 * text.C (workWidth): new function with added Inset * parameter.
11134 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11136 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11138 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11139 change return type of getColumnNearX.
11142 * text.C (changeRegionCase): use uppercase/lowercase instead of
11145 (rightMargin): simplify code by factoring out the uses of
11150 (appendParagraph): use Paragraph::size_type
11152 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * vspace.C (asLatexString): add a missing break
11156 2001-10-15 Herbert Voss <voss@perce.de>
11158 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11160 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11162 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11165 2001-10-10 André Pönitz <poenitz@gmx.net>
11167 * lyxfunc.C: removed greek_kb_flag.
11169 2001-10-10 Herbert Voss <voss@perce.de>
11171 * lyx_main.C: delete global string help_lyxdir.
11173 2001-10-09 Herbert Voss <voss@perce.de>
11175 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11177 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11179 * lyx_main.C: added global string help_lyxdir.
11181 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11183 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11185 * lyxrc.C (set_font_norm_type): support iso8859-4
11187 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11189 * LaTeX.C (deplog): add another regex for MikTeX
11191 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11193 * lyxrc.C (set_font_norm_type): support iso8859-3
11195 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11197 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11199 * LaTeXFeatures.C: remove special case of french and index
11201 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11202 before \begin{document}). This solves several incompatibilities.
11204 2001-10-03 Garst Reese <reese@isn.net>
11206 * lyx_cb.C: change CheckTex error msg.
11208 2001-10-03 José Matos <jamatos@fep.up.pt>
11210 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11212 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11214 * .cvsignore: update
11216 * lyx_main.C (commandLineVersionInfo): use new style version info.
11218 * buffer.C (writeFile):
11220 (makeLinuxDocFile):
11221 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11223 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11225 * version.h: update to use stuff in version.C
11227 * version.C.in: new file. Contains version information determined
11228 at compile time. This is a merging of version.h and
11231 2001-10-03 Juergen Vigna <jug@sad.it>
11233 * BufferView_pimpl.C (update): don't change "dirty" status in
11236 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11238 * WorkArea.C (c-tor): re-position version string slightly.
11240 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11242 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11243 revert to previous code.
11245 WorkArea.[Ch]: (show, destroySplash): methods removed.
11247 WorkArea.C: rework code so that it's an amalgam of the codes before and
11248 after the splash screen was moved to WorkArea.
11250 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11253 * vspace.C (inPixels):
11256 * buffer.C (insertStringAsLines):
11257 (asciiParagraph): fix types to be large enough
11259 * lyxlex_pimpl.h: change member status from short to int
11261 * layout.h: fix type of endlabeltype
11264 * kbsequence.C (parse): change return type to string::size_type
11266 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11269 * Bullet.C (bulletSize):
11270 (bulletEntry): do not use short ints as parameters
11272 * BufferView2.C (insertLyXFile): change a char to an int.
11274 * WorkArea.C (WorkArea): remove unneeded floats in computation
11276 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11278 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11280 * paragraph.C (asString): Do not ignore newline/hfill chars when
11281 copying to the clipboard.
11283 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11285 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11286 after a multi-line inset.
11288 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11290 * paragraph.C (validate): Set NeedLyXFootnoteCode
11292 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11294 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11295 and decrease-error to decrease.
11297 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11299 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11300 it more readable (should be equivalent)
11302 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11304 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11306 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11308 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11309 of a cursor (row, etc.) after a character has been deleted
11310 (deleteEmptyParagraphMechanism): call the method above on _all_
11311 cursors held by the LyXText when a double space has been
11314 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11316 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11318 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11320 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11321 background. Use greyOut() and the new show() methods to toggle between
11322 the foreground and background. Add code to remove the splash after
11323 its initial showing.
11325 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11326 (create_forms): no longer call Dialogs::showSplash.
11328 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11330 * .cvsignore: add version_info.h
11332 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11334 * version_info.h.in: new file
11336 * Makefile.am: add version_info.h.in
11338 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11339 version_info.h instead of VERSION_INFO
11341 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11343 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11344 The ERT inset now returns string().
11346 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11348 * lyxtext.h, text.C (selectNextWord): renamed as
11349 selectNextWordToSpellcheck.
11351 * text.C (selectNextWordToSpellcheck): Modified to not select
11352 words inside an ERT inset.
11354 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11356 * lyx_cb.C (MenuLayoutSave): change a bit the question
11358 * sp_base.h: include <sys/types.h>
11360 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11362 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11364 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11366 * several files: fix typos in user-visible strings
11368 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11370 * text2.C (pasteSelection): do not set the selection, since it
11371 will be cleared later. Actually, the intent was to fix the way the
11372 selection was set, but I figured rmoving the code was just as good.
11374 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11376 * FontLoader.C (available): Check if font is available without
11379 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11381 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11383 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11385 * lyxrc.[Ch]: added display_graphics variable and associated code.
11387 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11389 * bufferparams.C (hasClassDefaults): new method. Returns true if
11390 the buffer parameters correspond to known class defaults
11392 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11394 * XFormsView.C (show): set minimum size to the main window.
11396 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11398 * text2.C (copySelection):
11400 * lyxfind.C (LyXReplace):
11401 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11402 LyXText::selectionAsString.
11404 * paragraph.C (asString): add "label" argument to the second form
11406 * text2.C (selectionAsString): add "label" argument and pass it to
11407 Paragraph::asString.
11409 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * lyx_main.C (commandLineHelp): remove version information
11413 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11415 * lyx_main.C: add -version commandline option
11417 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * paragraph.h: make the optional constructor arg required instead.
11420 some modifications to other files because of this.
11422 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11424 * lyxserver.C (C_LyXComm_callback): make it static
11426 * lyx_main.C (error_handler): make it static
11428 * lyx_gui.C (LyX_XErrHandler): make it static
11430 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11432 * WorkArea.C: make the extern "C" methods static.
11434 * Makefile.am (lyx_LDADD): simplify
11436 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11438 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11439 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11441 * LyXAction.C (init):
11442 * lyxfunc.C (dispatch): associated code removal.
11444 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11446 * lyxfont.h (isSymbolFont): shut off warning
11448 * text.C (setHeightOfRow):
11449 (getVisibleRow): fix crash with empty paragraphs which have a
11452 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11454 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11457 2001-09-04 José Matos <jamatos@fep.up.pt>
11460 * tabular.C (docbook): rename docBook method to docbook.
11462 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11464 * Makefile.am: add dependencies to main.o.
11466 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11468 * FontLoader.C (available): Return false if !lyxrc.use_gui
11470 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11472 * FontInfo.C (query):
11473 * converter.C (view):
11474 * importer.C (Import):
11475 * exporter.C (Export): Can not -> cannot.
11477 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11479 * BufferView_pimpl.C: allow to create index inset even if
11482 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11484 * buffer.C (getLists): replace boost::tie code with an explicit pair
11485 as boost::tie can break some compilers.
11487 * iterators.h: Added a std:: declaration to the return type of
11490 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11492 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11495 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11497 * iterators.[Ch]: New files. Provide paragraph iterators.
11499 * buffer.C (changeLanguage): Use paragraph iterators.
11500 (isMultiLingual): ditto
11502 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11504 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11506 * FontLoader.C: Support for cmr font.
11508 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11510 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11511 (available): New method.
11513 * FontInfo.C (getFontname): Use scalable fonts even when
11514 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11517 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11519 * converter.C (Formats::view): reverted! Incorrect fix.
11521 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11523 * converter.C (Formats::view): only output the -paper option
11524 if the dvi viewer is xdvi, thereby fixing bug #233429.
11526 2001-08-23 Herbert Voss <voss@perce>
11528 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11530 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11532 * Spacing.h (Spacing): Set space to Default on in the default
11535 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11537 * vc-backend.h (RCS::versionString): add RCS to version
11538 (CVS::versionString): add CVS to version
11540 * vc-backend.C (scanMaster): do not add CVS to version.
11541 (scanMaster): do not add RCS to version
11543 * lyxvc.C (versionString): new method
11545 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11547 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * Spacing.C (set): initialize fval
11551 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11553 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11556 2001-08-16 Juergen Vigna <jug@sad.it>
11558 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11560 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11562 * BufferView_pimpl.C:
11565 * text2.C: setParagraph takes linespacing now
11567 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11569 * LyxAction.C: add internal LFUN_CITATION_INSERT
11571 * LyXView.C: actually apply fix
11573 * bufferlist.C: fix open non-existent file
11575 * lyxfind.C: fix indentation
11577 * lyxfunc.C: remove unneeded assert, fix typo
11579 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11581 * MenuBackend.C: use "Floatname List"
11583 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11585 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11586 when converting LaTeX layout to insetERT.
11587 Generate a non-collapsed float when reading old float
11589 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11591 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11594 2001-08-13 Juergen Vigna <jug@sad.it>
11596 * text.C (fill): return 0 instead of 20 as this seems to be the more
11599 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11601 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11604 2001-08-13 Juergen Vigna <jug@sad.it>
11606 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11608 (SearchBackward): comment out the unlocking of the inset_owner this
11609 should not be needed!
11611 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11613 * Many files: Remove inherit_language, and add latex_language
11615 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11616 collapsible insets.
11618 2001-08-10 Juergen Vigna <jug@sad.it>
11620 * text.C (prepareToPrint): fixed hfill-width in draw!
11622 * BufferView2.C (selectLastWord): save the selection cursor as this
11623 now is cleared in the function LyXText::clearSelection!
11625 2001-08-08 Juergen Vigna <jug@sad.it>
11627 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11628 BACKSPACE type functions.
11630 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11631 is only cutted from the document but not put in the cut-buffer, where
11632 still the old stuff should be.
11634 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11636 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11638 * tabular.C (SetWidthOfCell): fixed special case where the width
11640 (LeftLine): handle '|' in align_special.
11642 (LeftAlreadyDrawed): ditto
11643 (SetWidthOfCell): ditto
11645 2001-08-07 Juergen Vigna <jug@sad.it>
11647 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11649 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11651 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11652 * lyxlex.[hC]: ditto
11654 2001-08-06 Juergen Vigna <jug@sad.it>
11656 * text.C (getVisibleRow): fix up row clearing a bit.
11658 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11660 * minibuffer.C: make sure the X server sees the changes in the input.
11662 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11664 * paragraph.C (getFont): split into...
11665 (getLabelFont): this
11666 (getLayoutFont): and this
11667 * paragraph_pimpl.C (realizeFont): calling this
11669 * text2.C (getFont): split into...
11670 (getLayoutFont): this
11671 (getLabelFont): and this
11672 (realizeFont): all three calling this
11674 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11677 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11679 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11681 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11683 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11684 layouts from the Quote inset insertion.
11686 2001-08-03 Juergen Vigna <jug@sad.it>
11688 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11690 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11691 only if status not is already CHANGED_IN_DRAW (second level).
11693 * text.C (draw): don't set the need_break_row when inside an
11696 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11698 * buffer.C (parseSingleLyXformat2Token): handle more latex
11701 * bufferview_funcs.[hC]: change function names to
11702 begin with small char, adjust other files.
11704 2001-08-02 André Pönitz <poenitz@gmx.net>
11707 BufferView_pimpl.C: remove broken special code for math-greek
11709 2001-08-02 Juergen Vigna <jug@sad.it>
11711 * BufferView_pimpl.C (update): redone this function so that we
11712 update the text again if there was a CHANGE_IN_DRAW.
11714 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11715 (drawFromTo): added a new internal bool which is used by draw() and
11717 (general): some cursor drawing problems fixed.
11719 2001-08-01 Juergen Vigna <jug@sad.it>
11721 * lyxfind.C (LyXFind): fixed
11722 (SearchForward): ditto
11723 (SearchBackward): ditto
11725 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11726 spurius drawing of the cursor in the main area.
11728 * text2.C (status): small fix which could lead to a segfault!
11729 (clearSelection): remove unneeded BufferView param.
11731 2001-08-01 André Pönitz <poenitz@gmx.net>
11733 * lyxfunc.C: small change due to changed mathed interface
11735 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11737 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11739 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11741 * lyxfunc.c: fail gracefully if file doesn't exist
11746 * BufferView_pimpl.C: IsDirWriteable() proto changed
11748 * LyXView.C: fix updateWindowTitle() to store the last title
11750 2001-07-31 Juergen Vigna <jug@sad.it>
11752 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11753 the font (wrong since using of Paragraph::highestFontInRange).
11755 * paragraph.C (highestFontInRange): added a default_size parameter.
11757 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11758 (setHeightOfRow): reformat
11760 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11762 * converter.[hC] + affected files: move to (inital-char)lowercase
11765 * ParagraphParameters.C (ParagraphParameters): remove commented code
11767 * PainterBase.[Ch]: remove commented code
11769 * LaTeXFeatures.h: add "bool floats" for float.sty
11771 * LaTeXFeatures.C (LaTeXFeatures): init floats
11772 (require): handle float
11773 (getPackages): do it with floats
11775 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11777 * BufferView_pimpl.C (Dispatch): improve handling of
11778 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11780 * commandtags.h: #include lyxfont.h here temporarily to avoid
11783 * bufferlist.h: include LString.h here.
11785 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11787 * text2.C (getStringToIndex): new method.
11789 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11791 * *: Reduced header file dependencies all over.
11793 2001-07-30 Baruch Even <baruch@lyx.org>
11795 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11797 2001-07-29 Baruch Even <baruch@lyx.org>
11799 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11801 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11803 * ParameterStruct.h (endif): add a default constructor to make
11804 sure that all variables is initialized.
11806 * ParagraphParameters.C (ParagraphParameters): adjust
11808 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11810 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11811 index; also, check that there is something to index, and that it
11812 does not span over several paragraphs.
11813 (doubleClick): use WHOLE_WORD_STRICT for double click.
11815 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11817 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11820 2001-07-26 Baruch Even <baruch@lyx.org>
11822 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11823 an InsetFig figure, backwards compatible reading of old figure code.
11825 2001-07-27 Juergen Vigna <jug@sad.it>
11827 * text2.C: font.realize function adaption.
11829 * text.C (draw): add a warnings lyxerr text if needed.
11831 * layout.C: font.realize function adaption.
11833 * language.C: add inherit_language and implement it's handlings
11835 * bufferview_funcs.C (StyleReset): remove language parameter from
11836 font creation (should be language_inherit now).
11838 * bufferparams.C (writeFile): handle ignore_language.
11840 * paragraph.C (getFontSettings): the language has to be resolved
11841 otherwise we have problems in LyXFont!
11843 * lyxfont.C (lyxWriteChanges): added document_language parameter
11844 (update): removed unneeded language parameter
11846 * paragraph.C (validate): fixed wrong output of color-package when
11847 using interface colors for certain fonts in certain environments,
11848 which should not seen as that on the final output.
11850 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11852 * BufferView_pimpl.C:
11857 * LyXAction.C: add thesaurus support
11860 * lyxfind.C: add "once" parameter, for thesaurus, to not
11861 move to the next match
11863 2001-07-26 Juergen Vigna <jug@sad.it>
11865 * lyxfont.C (realize): honor ignore_language too!
11868 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11870 * text.C (draw): one place more for ignore_language to not draw
11873 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11875 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11877 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11879 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11880 the minipage conversion problem.
11882 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11887 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * BufferView.h: don't forward declare WorkArea
11891 * BufferView.C: don't include WorkArea.h
11893 2001-07-25 André Pönitz <poenitz@gmx.net>
11897 * lyxfunc.C: new LFUN 'math-space'
11899 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11901 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * text2.C (toggleInset): call open/close
11905 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11907 * lyxfunc.C (dispatch): add debug for the disabled case
11909 * font.C (buttonText): make similar to rectText
11911 * buffer.C (readInset): comment out parsing of insetlist and
11914 * PainterBase.C (rectText): small correction
11916 * BufferView_pimpl.C: comment out insettheorem and insetlist
11917 * LyXAction.C: ditto
11918 * commandtags.h: ditto
11920 2001-07-24 Juergen Vigna <jug@sad.it>
11922 * text.C (draw): honor the ignore_language.
11924 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11926 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11931 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11933 * lyxtext.h: remove unused (and unimplemented) methods
11935 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11937 * text.C (getVisibleRow): honor background color
11940 * Painter.h: remove default color argument for fillRectangle
11942 * text.C (backgroundColor): new method
11944 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11946 * text.C (getVisibleRow): adjust
11948 * font.[Ch] (rectText): new method, metrics
11949 (buttonText): new method, metrics
11951 * PainterBase.[hC]: make rectText and buttonText always draw and take
11954 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11956 * ToolbarDefaults.C (read):
11957 * MenuBackend.C (read): allow escaping in all strings
11959 * BufferView_pimpl.C (insertAndEditInset): new method.
11960 (Dispatch): use insertAndEditInset whenever appropriate.
11962 * BufferView_pimpl.C (insertNote): removed
11964 * BufferView_pimpl.C (smartQuote): new method, moved from
11965 BufferView; if an insetquote cannot be inserted, insert a '"'
11968 * BufferView2.C: remove insertCorrectQuote();
11970 * lyxfunc.C (getStatus): Add support for all remaingin
11971 inset-insert lfuns.
11973 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11975 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11976 command (necessary to pass " as parameter of self-insert.
11978 * text.C (selectWordWhenUnderCursor):
11979 (selectWord): add word_location parameter
11980 (selectWordWhenUnderCursor): same + remove special code for word
11982 (selectNextWord): use kind() to guess type of insetspecialchar,
11985 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11986 (insertErtContents): create ert insets as collapsed.
11987 (readInset): better compatibility code for Info inset.
11989 2001-07-20 Juergen Vigna <jug@sad.it>
11991 * lyxfunc.C (dispatch): use always LyXFind now!
11993 * text2.C (init): add a reinit flag so that the LyXText can be
11994 reinited instead of deleted and reallocated (used in InsetText).
11996 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12002 2001-07-18 Juergen Vigna <jug@sad.it>
12004 * text.C (selectNextWord): handle insets inside inset by calling
12005 always the bv->text functions so that we can go up the_locking_inset!
12007 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12008 in strange locations when inside an inset!
12010 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12011 handling to include insets.
12013 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12015 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12017 * LyXAction.C (init):
12019 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12020 LIGATURE_BREAK, since the name is so stupid.
12022 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12024 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12027 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12029 * sp_form.[Ch]: remove.
12031 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12033 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12036 * src/buffer.C (readInset): ditto.
12038 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12040 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12041 menuSeparator(), endOfSentenceDot(), ldots() and
12042 hyphenationPoint(), which are therefore removed.
12043 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12045 * LyXAction.C (init):
12046 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12048 * paragraph.C (getWord): removed.
12050 * BufferView_pimpl.C (Dispatch): use last word or selection for
12051 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12053 * lyx_main.C (queryUserLyXDir): do not ask before creating
12054 user_dir, except if it has been named explicitely.
12056 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12058 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12059 a document of zero size.
12061 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12063 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12064 approriately in the c-tor and in require().
12065 (getPackages): output the appropriate LaTeX for natbib support.
12067 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12068 variables "use_natbib" and "use_numerical_citations" when reading the
12070 (readInset): read the various natbib cite commands.
12071 (validate): white-space change.
12073 * bufferparams.[Ch]: new variables "bool use_natbib" and
12074 "bool use_numerical_citations".
12075 (writeFile): output them in the LyX file.
12077 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12079 * lyxfunc.C (getStatus): add support for all the inset insertion
12082 * text2.C (insertInset):
12083 * paragraph.C (insetAllowed):
12084 * BufferView_pimpl.C (insertInset): update to take in account the
12085 renaming of insertInsetAllowed
12087 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12089 * text2.C (getInset): new method. returns inset at cursor position.
12091 * BufferView_pimpl.C (Dispatch): changes because of this.
12093 * LyXAction.C (init): rename open-stuff to inset-toggle.
12095 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12097 * text2.C (toggleInset): renamed from openStuff; use
12100 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12102 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12104 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12106 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12108 * buffer.C (readLyXformat2): Add filename to the error dialog
12110 2001-07-18 Juergen Vigna <jug@sad.it>
12112 * tabular.C (GetCellNumber): put an assert here instead of the check!
12114 2001-07-17 Juergen Vigna <jug@sad.it>
12116 * BufferView_pimpl.C (toggleSelection): adapted too.
12118 * text.C (selectNextWord): adapted for use with insets.
12119 (selectSelectedWord): ditto
12121 2001-07-17 Juergen Vigna <jug@sad.it>
12123 * sp_spell.C (PSpell): fix initialitation order.
12125 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * paragraph.C: spacing
12129 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12131 * sp_spell.C: repair language selection for pspell
12133 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * lyxfunc.h: change more methods to begin with lower char.
12137 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12139 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12140 for unknown layouts.
12142 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12144 * buffer.C (readLyXformat2): Generate an error dialog if there are
12147 2001-07-16 Juergen Vigna <jug@sad.it>
12149 * sp_spell.C: always compile ISpell part.
12151 * lyxrc.C: added use_pspell entry and it's handling.
12153 2001-07-13 Juergen Vigna <jug@sad.it>
12155 * sp_spell.C: removed double includes.
12157 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12159 Consistent use of Lsstream.h:
12160 * Lsstream.h: added using std::stringstream for consistencies sake.
12162 * buffer.C: removed using std::stringstream
12164 * lyxfont.C (stateText):
12165 * paragraph.C (asString):
12166 * text.C (selectNextWord, selectSelectedWord):
12167 * text2.C (setCounter):
12168 * vspace.C (asString, asLatexString):
12169 std::ostringstream -> ostringstream.
12171 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12173 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12174 * commandtags.h: add LFUN_HELP_ABOUTLYX
12175 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12177 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12179 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12181 * lyx_gui_misc.C: remove spellchecker
12182 * lyxfunc.C: showSpellchecker
12184 * sp_ispell.h: added
12185 * sp_pspell.h: added
12186 * sp_spell.C: added
12187 * sp_form.[Ch]: removed
12188 * spellchecker.[Ch]: removed
12190 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12192 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12194 (simpleTeXSpecialChars): Simply print the input character without
12195 any special translation if pass_thru is set.
12197 * layout.h: Added bool pass_thru to layout class for being able to
12198 implement pass through of a paragraph for Literate Programming.
12200 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12201 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12202 * layout.C (Read): add "passthru" to list of layout tags and add
12203 code to set the pass_thru boolean when it is read.
12205 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * trans_decl.h: remove allowed from KmodInfo
12209 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12210 remove allowed code
12213 * paragraph_pimpl.C (erase): use boost::prior
12215 * Painter.C (text): use data() instead of c_str() when length is
12217 * WorkArea.C (putClipboard): ditto
12218 * font.h (width): ditto
12220 * BufferView2.C: use it-> instead of (*it). for iterators
12222 * paragraph_pimpl.C: ditto
12223 * paragraph.C: ditto
12224 * minibuffer.C: ditto
12225 * language.C: ditto
12227 * encoding.C: ditto
12228 * counters.C: ditto
12229 * converter.C: ditto
12231 * Variables.C: ditto
12232 * TextCache.C: ditto
12233 * MenuBackend.C: ditto
12234 * LyXAction.C: ditto
12236 * FloatList.C: ditto
12237 * DepTable.C: ditto
12238 * ColorHandler.C (LyXColorHandler): ditto
12240 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12242 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12244 * text2.C (openStuff): reintroduce this method (which had been
12245 nuked in NEW_INSETS frenzy).
12247 * lyxfunc.C (Dispatch): when an action has not been handled, use
12248 its name in the error message, not its number.
12250 * paragraph.C (inInset): change method name to begin with lowercase.
12253 * text2.C: updates because of this.
12255 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * ToolbarDefaults.C (add): add spaces in error message
12259 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12261 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12262 (readLyXformat2): rename return_par to first_par, use lyxlex's
12263 pushToken and remove the manual push handling.
12264 (parseSingleLyXformat2Token): add another ert comp. variable:
12265 in_tabular, rename return_par to first_par. handle newlines better
12267 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12271 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12273 * text2.C (getParFromID): removed
12275 * buffer.C (getParFromID): new method moved form lyxtext.
12276 * BufferView2.C (insertErrors): adjust
12277 (setCursorFromRow): adjust
12278 * BufferView_pimpl.C (restorePosition): adjust
12279 * lyxfunc.C (Dispatch): adjust
12280 * undo_funcs.C (textUndo): adjust
12282 (textHandleUndo): adjust
12283 (textHandleUndo): adjust
12285 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * buffer.C: up' the LYX_FORMAT
12289 * lyxfont.h: turn NO_LATEX on as default
12291 * buffer.C (insertErtContents): new methods of tex style compability.
12292 (parseSingleLyXformat2Token): use it several places.
12293 * tabular.C (OldFormatRead): and here
12295 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12297 * text2.C: remove some commented code.
12300 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12301 * trans.C: changes because of the above.
12303 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12305 * text2.C (setCounter): Fix counters bug with bibliography layout.
12307 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12310 own member functions
12311 (simpleTeXSpecialChars): ditto
12313 2001-07-06 Juergen Vigna <jug@sad.it>
12315 * a lot of files: changed the access to LyXText::status and the
12316 call of undo-functions.
12318 * undo.[Ch]: added a inset_id to the undo informations.
12320 * undo_funcs.[Ch]: added and moved here all undo functions.
12322 * lyxtext.h: give the status enum a weight, made status_ a private
12323 variable and made accessor functions for it, removed the whole bunch
12324 of undo-functions as they are now in their own file, make some
12325 functions publically available. Added function ownerParagraph with
12328 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12329 made InInset() a const function, added getParFromID() function.
12331 * buffer.[Ch]: added const version for inset_iterator functions,
12332 added getInsetFromID() function.
12334 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12335 changed undo functions for new version.
12337 2001-07-05 Juergen Vigna <jug@sad.it>
12339 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12340 unknow mechanism does not call the proper constructor but only this
12341 one also if I request the other!?
12343 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12345 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12347 * text2.C (LyXText): use initialization lists.
12349 * lyxtext.h (Selection): initialize set_ and mark_
12350 (init): remove method
12352 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12354 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12356 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12358 * screen.[Ch]: change method names to begin with lowercase
12360 * BufferView_pimpl.C (updateScrollbar): simplify further and
12361 hopefully make it a bit faster.
12363 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12365 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12366 calling directly xforms functions.
12368 * Painter.C (Painter):
12369 * lyx_cb.C (MenuWrite):
12370 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12373 * lyx_gui.C: remove bogus guiruntime extern declaration.
12375 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12377 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12379 (redoDrawingOfParagraph): ditto
12380 (redoParagraphs): ditto
12381 (cutSelection): don't create a object for CutAndPaste use the
12382 static method directly
12383 (pasteSelection): ditto
12385 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12388 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12390 * modifications to some other files because of this.
12392 * Makefile.am (lyx_SOURCES): add XFormsView
12394 * XFormsView.[Ch]: new files
12396 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12397 the main window. Move the gui dependent stuff to XFormsView
12399 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12401 * tabular.C (GetCellInset): update cur_cell also in the row/col
12402 version of this function.
12404 * lyxfunc.C: no need to include figure_form.h here.
12410 * lyxvc.C: no need to include forms.h here.
12412 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12414 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12416 * lyxfunc.C (Dispatch):
12418 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12419 constructor argument.
12421 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * paragraph.C (Paragraph): dont't clear, and just set layout.
12424 (makeSameLayout): use params's copy contructor.
12426 * ParagraphParameters.[Ch] (makeSame): delete method
12428 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12430 * Variables.[Ch]: fix indentation, rename set to isSet
12432 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * lyxfunc.C (Dispatch): fix typo
12436 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12438 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12441 * bufferlist.C: include assert.h for emergencyWrite().
12443 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12445 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12446 give up at last (bug #425202) !
12448 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12454 * spellchecker.C: strip spellchecker options and bring up
12455 preferences tab instead
12457 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12459 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12460 the istringstream constructor
12462 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12464 * paragraph.C (getLayout): fix return value
12466 * paragraph.h: do not declare getLayout as inline.
12468 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12470 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12472 * lyxcursor.h (operator<): new func
12473 (operator>): new func
12474 (operator>=): new func
12475 (operator<=): new func
12477 * text.C (changeCase): use selection.start and selection.end
12478 (changeRegionCase): require from to be <= to. Require par to be a
12481 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12483 2001-06-27 Juergen Vigna <jug@sad.it>
12485 * text.C (cursorLeftOneWord): changed to return the cursor and added
12486 overlay with BufferView * parameter which calls this one.
12488 (selectWord): use new getWord function.
12489 (changeCase): renamed from changeWordCase as and extended to work
12490 also on selections.
12492 * lyxtext.h: added enum word_location
12494 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12495 changeCase as this operates now also on selections.
12497 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12499 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12501 * many files: send debug output to Debug::INFO instead of
12504 * converter.C (View):
12506 (Move): send debug output to Debug::FILES instead of console.
12508 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12510 * lyxfunc.C (getStatus): use func_status
12512 * func_status.h: new header, describing the results of
12513 LyXFunc::getStatus;
12515 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12518 2001-06-25 The LyX Project <jug@sad.it>
12520 * buffer.C (sgmlOpenTag):
12522 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12524 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12526 * text2.C: remove some dead code
12528 * tabular.C (GetCellInset): store the last cell checked (gotten)
12530 * tabular.h: add the helper for the speedup
12532 * lyxtext.h: remove some dead code
12534 2001-06-26 The LyX Project <Asger>
12536 * paragraph.C: Change export to LaTeX of alignment to
12537 \begin{center} and family for better roundtrip work with reLyX.
12539 * Tune the math drawing a bit.
12541 2001-06-25 The LyX Project <Asger>
12543 * LColor.C (LColor): New color for math background. New color
12546 2001-06-25 The LyX Project <jug@sad.it>
12548 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12550 * lyxfunc.C (Open):
12551 * bufferlist.C (newFile): do not restrict to files ending with
12554 * BufferView_pimpl.C (MenuInsertLyXFile):
12556 2001-06-24 The LyX Project <jug@sad.it>
12558 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12561 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyxtext.h: rename most methods to begin with a small char.
12564 Lots of changes because of this.
12566 * paragraph.C (Paragraph): do not call fitToSize
12567 (erase): call Pimpl::erase
12568 (insertChar): call Pimpl::insertChar
12569 (insertInset): call Pipl::insertInset
12570 (breakParagraph): do not call fitToSize
12571 (breakParagraphConservative): do not call fitToSize
12572 (fitToSize): remove method
12574 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12576 2001-06-24 The LyX Project <Asger>
12578 * Fix Qt compilation^2
12580 2001-06-24 The LyX Project <jug@sad.it>
12582 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12583 depthHook(getDepth()-1).
12586 * ParagraphParameters.h:
12587 * ParameterStruct.h: change type of depth to unsigned int ==
12588 depth_type. Many adaptations to other files before of that.
12590 2001-06-24 The LyX Project <Asger>
12592 * Fix Qt compilation.
12594 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * paragraph.h: renamed several methods to begin with small letter.
12597 several changes to many parts of the code because of this.
12599 2001-06-23 The LyX Project <jug@sad.it>
12601 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12602 rewritten to discard all double spaces when KeepEmpty is off
12603 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12604 to only handle newlines but not fiddle with spaces and friends.
12606 * lyxfunc.C (MenuNew): when doing 'new from template', use
12607 template_path as default directory
12609 2001-06-23 The LyX Project <Asger>
12611 * Clean-up of header file includes all over
12612 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12614 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * paragraph.h: renamed from lyxparagraph.h
12618 2001-06-23 Asger <lyx@violet.home.sad.it>
12620 * Buffer.h: Removed Buffer::resize
12621 * BufferList.h: Removed BufferList::resize
12622 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12623 the document lazily when we change the width, or the font settings.
12625 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12627 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12629 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12631 * buffer.h: remove out of date comment
12633 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12636 * screen.C: fix "theoretical" GC leak
12638 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * LaTeX.C (scanAuxFile):
12641 (deplog): remove trailing \r when reading stream (useful under
12644 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12646 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12647 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12648 and BufferView::theLockingInset(Inset*), so should use them and not
12649 access bv_->text->the_locking_inset directly.
12651 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12653 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12656 * tex-defs.h: remove old unused file
12658 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12660 * BufferView_pimpl.C: fix typo, remove minibuffer message
12661 when buffer has loaded
12663 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * lyxfunc.C (Dispatch): use stringstream
12666 (MenuNew): use stringstream
12667 (Open): use stringstream
12669 * importer.C (Import): use stringstream
12671 * bufferview_funcs.C (CurrentState): use stringstream
12673 * LaTeX.C (run): use stringstream
12675 * BufferView_pimpl.C (savePosition): use stringstream
12676 (restorePosition): use stringstream
12677 (MenuInsertLyXFile): use stringstream
12679 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12692 * vspace.C: removed // -*- C++ -*- as first line.
12695 * version.h: added // -*- C++ -*- as first line.
12697 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12699 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12701 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12704 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12706 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12709 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12711 * gettext.C: include LString.h even when --disable-nls is on.
12713 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12715 * converter.h (Get): changed argument type from int to
12716 FormatList::size_type to avoid unnecessary conversion.
12718 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12721 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12723 * gettext.h: include LString.h even when --disable-nls is on.
12725 2001-06-07 Juergen Vigna <jug@sad.it>
12727 * text.C (BreakAgain): subst spaces with tabs.
12729 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12730 (resizeInsetsLyXText): set force on resizeLyXText.
12732 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12734 * gettext.h (gettext_init):
12735 (locale_init): use a real definition instead of a macro
12737 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12739 * Bufferview_pimpl.C:
12741 * LColor.C: further lcolor tidies
12743 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * BufferView_pimpl.C (updateScrollbar): simplify.
12747 * BufferView2.C: don't include insets/insetinfo.h, change
12748 prototype for insertInset and call the Pimpl version. let
12749 updateInset call Pimpl version.
12751 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12752 gotoInset to BufferView::Pimpl
12754 2001-06-01 Juergen Vigna <jug@sad.it>
12756 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12757 inside a LockingInset (is the update needed at all?).
12759 2001-05-31 Juergen Vigna <jug@sad.it>
12761 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12762 here not the old one otherwise how should we compare it afterwards
12765 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12770 * FontInfo.C: bring C functions into global namespace when
12773 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12775 * LString.h: make sure config.h has been loaded before LString.h.
12777 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12778 (one for each char read by EatLine!).
12780 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12783 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12786 to the same as the par we break from
12788 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12790 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12792 * MenuBackend.C (expand): also create menu entries for wide
12793 versions of the floats.
12795 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12797 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12799 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12800 frontends/Makefile.am
12806 * tabular.C (getTokenValue): add std::
12808 * tabular-old.C (getTokenValue): add std::
12809 (getTokenValue): ditto
12810 (getTokenValue): ditto
12812 * screen.C (ToggleSelection): adjust
12814 * lyxtext.h: put selection cursors inside a Selection struct.
12816 * lyxfunc.C (moveCursorUpdate): adjust
12818 * lyxfont.C (latexWriteStartChanges): add std::
12820 * lyxfind.C: adjust
12822 * font.h: delete with(char const *, LyXFont const &)
12824 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12826 * FontInfo.C (getFontname): add std::
12828 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12829 (workAreaButtonPress): adjust
12830 (tripleClick): adjust
12832 (moveCursorUpdate): adjust
12835 * BufferView2.C (gotoInset): adjust
12837 2001-05-30 Juergen Vigna <jug@sad.it>
12839 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12840 to check pspell I add this as default as I now have new pspell
12841 libraries and they seem to use this.
12843 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * text2.C (CutSelection): make the cursor valid before the call to
12848 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12851 relied on 0 terminated strings and other horrors. Bug found due to
12852 the new assert in lyxstring!
12854 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12857 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12862 * lyxfunc.C (processKeySym): change method of getting to the
12865 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12866 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12867 * BufferView_pimpl.[Ch]: here as private methods.
12869 2001-05-28 Juergen Vigna <jug@sad.it>
12871 * text.C (SetHeightOfRow): added the update() call again as it is
12872 needed to initialize inset dimensions!
12874 2001-05-16 Juergen Vigna <jug@sad.it>
12876 * text2.C (SetCharFont): Add new function with BufferView * and
12877 bool toggleall parameters for setting insets internal fonts.
12878 (SetFont): Freeze the undo as we may change fonts in Insets and
12879 all this change should be inside only one Undo!
12881 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12882 setting font's in insets as for them we have the SetFont function!
12884 2001-05-15 Juergen Vigna <jug@sad.it>
12886 * text2.C (ClearSelection): to be sure we REALLY don't have any
12889 * tabular.C (TeXCellPreamble): fixed the left border problem for
12892 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12894 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12897 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12899 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12900 LFUN_BREAKPARAGRAPH.
12902 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12903 help test to "internal only", similar for LFUN_INSERT_URL
12905 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12906 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12907 auto_region_delete and deadkeys.
12909 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12912 * LColor.C: remove some dead entries, tidy a little
12914 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12918 (Dispatch): implement LFUN_ESCAPE
12920 * commandtags.h: add LFUN_ESCAPE
12922 * LyXAction.C (init): add entry for LFUN_ESCAPE
12924 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12925 Remove commented code.
12926 (insertNote): moved here
12927 (open_new_inset): moved here
12929 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12932 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12934 * kbmap.C (findbinding): clean it up and make it work correctly.
12936 * lyx_main.C (init): do not pass argc and argv as parameters
12938 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12940 * buffer.C: fix path for OS/2 & Win32
12944 * lyx_main.C: Added os:: class.
12946 * os2_defines.h: update
12948 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12950 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12951 better by trying again with reduced state.
12953 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12955 * lyxrc.C (read): print error about invalid key sequence only when
12956 debugging (because not all latinX keysyms are known to some X
12959 * kbsequence.C (getiso): add a few std:: qualifiers
12960 (getiso): comment out extra return statement.
12962 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12964 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12966 (Dispatch): enhance the accent inset a bit. (not perfect)
12968 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12972 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12974 * bufferlist.C (emergencyWrite): fix assert() call
12976 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12978 * text.C (InsertChar): Added trivial patch to only send the "you
12979 can not do multiple spaces this way" message once during a
12982 2001-05-08 Baruch Even <baruch@lyx.org>
12984 * Makefile.am: Changed order of libraries to get LyX to link properly
12985 with the gnome frontend.
12987 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12989 * LaTeXFeatures.h: add a std:: qualifier
12991 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * paragraph.C (String): use stringstream
12995 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12997 * paragraph.C (writeFile): remove footflag arg
12999 * buffer.C (makeLaTeXFile): use stringstream
13000 (latexParagraphs): remove footnot gurba
13002 * LaTeXFeatures.C (getPackages): use stringstream
13003 (getMacros): likewise
13004 (getTClassPreamble): likewise
13005 (getFloatDefinitions): new method
13007 * paragraph.C (writeFile): reindent
13010 * WorkArea.h: revert the xpos + etc changes.
13012 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13014 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13016 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13017 (pasteSelection): likewise
13018 * text2.C (CreateUndo): likewise
13020 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * minibuffer.C (peek_event): temporarily reduce the functionality
13023 of the minibuffer (to allow args on lfuns)
13025 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13026 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13028 * buffer.C (readInset): add compability reading of old float
13029 lists, add reading of new style float list.
13030 (readInset): avoid reevaluation of inscmd.getCmdName()
13031 (getLists): reindent
13033 * MenuBackend.C (MenuItem): implement parsing of
13034 md_floatlistinsert and md_floatinsert.
13035 (expand::LastFiles): move initalizaton of iterators out of loop,
13036 avoid reevaluation.
13037 (expand::Documents): introduce typdedef vector<string> Strings,
13039 (expand::ExportFormats): introduce typedef vector<Format const *>
13040 Formats, and use it.
13041 (expand): implement FloatListInsert and FloatInsert.
13043 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13044 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13045 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13047 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13049 (Dispatch::LFUN_FLOAT_LIST): implement
13051 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13053 * LaTeX.C (run): Fix problem with --export code.
13055 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13057 * BufferView.[Ch] (workarea): removed.
13058 (getClipboard) new method; wrapper for workarea()->getClipboard()
13060 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13063 * WorkArea.h (width, height, xpos, ypos): These methods all
13064 returned the dimensions of the work_area sub-area of WorkArea,
13065 resulting in a position error if the WorkArea were resized. Now
13066 return the dimensions of the entire WorkArea.
13068 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13070 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13072 * LaTeX.C (deplog): correct the syntax of regex reg1
13074 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13076 * undo.C: remove !NEW_INSETS cruft
13078 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13080 * text2.C: remove !NEW_INSETS cruft
13082 * text.C: remove !NEW_INSETS cruft
13084 * tabular.C: remove !NEW_INSETS cruft
13086 * spellchecker.C: remove !NEW_INSETS cruft
13088 * lyxtext.h: remove !NEW_INSETS cruft
13090 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13092 * lyxfunc.C: remove !NEW_INSETS cruft
13094 * lyxfind.C: remove !NEW_INSETS cruft
13096 * lyx_cb.C: remove !NEW_INSETS cruft
13098 * figureForm.C: remove !NEW_INSETS cruft
13100 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13102 * buffer.[Ch]: remove !NEW_INSETS cruft
13104 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13106 * CutAndPaste.C: remove !NEW_INSETS cruft
13108 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13110 * BufferView2.C: remove !NEW_INSETS cruft
13112 * BufferView.h: remove !NEW_INSETS cruft
13114 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13116 * Lsstream.h: include LString.h before the sstream headers to
13117 fix problem with gcc 2.95.3 and lyxstring
13119 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13121 * lyx_main.C: add using directives when needed for C functions
13122 declared in std:: namespace.
13124 2001-04-27 Juergen Vigna <jug@sad.it>
13126 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13127 (SetHeightOfRow): comment out the update call should not be needed!
13129 2001-04-13 Juergen Vigna <jug@sad.it>
13131 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13132 (LyXTabular): tried to minimize operator= operations (and realized
13133 hopfully Lars wish).
13135 2001-04-27 Juergen Vigna <jug@sad.it>
13137 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13139 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13143 * buffer.C (readInset): hack to make listof algorithm work
13145 * BufferView_pimpl.C: hack to make listof algorithm work
13147 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * LyXAction.C: removed all !NEW_INSETS cruft
13150 (init): moved lfun_item in method
13152 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13154 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13156 * BufferView2.C (theLockingInset): white space.
13158 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * minibuffer.C: include <iostream>
13162 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13164 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13166 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13168 * text.[Ch] (TransposeChars): new method
13170 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13172 * call message directly through LyXView instead of through LyXFunc
13173 * BufferView2.C: adjust
13174 * BufferView_pimpl.C: adjust
13175 * FontLoader.C: adjust
13177 * bufferview_funcs.C: adjust
13178 * converter.C: adjust
13179 * figureForm.C: adjust
13180 * importer.C: adjust
13182 * lyx_gui_misc.C: adjust
13183 * lyxfunc.C: adjust
13186 + more files in subdirs
13188 * lyxparagraph.h (size): move up int file
13191 * adjust all uses of Assert to lyx::Assert.
13193 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13194 lyxfunctional in namespace lyx
13195 * layout.C (hasLayout): ditto
13198 (delete_layout): ditto
13199 (NumberOfClass): ditto
13200 * converter.C (GetFormat): ditto
13205 * bufferlist.C (getFileNames): ditto
13206 (emergencyWriteAll): ditto
13209 * MenuBackend.C (hasSubmenu): ditto
13212 * BufferView_pimpl.C (getInsetByCode): ditto
13214 2001-04-18 Juergen Vigna <jug@sad.it>
13216 * vspace.C (asLatexString): fixed the 100% problem.
13218 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * lyxfunc.C (Dispatch):
13222 * minibuffer.h: add a few std:: qualifiers
13224 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13226 * minibuffer.[Ch]: reimplement so that commands is initiated and
13227 run from lyxfunc, simplified som handling, and made the completion
13228 and history code for complete. wip.
13230 * lyxfunc.C (processKeySym): call message
13231 (miniDispatch): new temporary method
13232 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13233 (LFUN_MESSAGE): implement
13234 (LFUN_MESSAGE_PUSH): implement
13235 (LFUN_MESSAGE_POP): implement
13236 (initMiniBuffer): the initial/defualt minibuffer message.
13238 * lyxfont.[Ch]: inline some more getters
13240 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13242 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13244 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13245 (AutoSave): use LFUN_MESSAGE
13246 (Reconfigure): ditto
13248 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13250 * figureForm.C: use LFUN_MESSAGE
13252 * converter.C (runLaTeX): use LFUN_MESSAGE
13254 * bufferview_funcs.C: use LFUN_MESSAGE
13256 (changeDepth): ditto
13258 * bufferparams.h: use boost::
13260 * bufferlist.h: inherit privately from noncopyable
13262 * bufferlist.C (loadLyXFile): remove some commented code.
13264 * buffer.C (runChktex): use LFUN_MESSAGE
13266 * ShareContainer.h: inherit privately from noncopyable
13268 * ParagraphParameters.[hC] (depth): inline it.
13270 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13272 (message): new method
13273 (messagePush): ditto
13274 (messagePop): ditto
13275 (show): init minibuffer
13276 (showState): direct call
13278 * LaTeX.[Ch]: inherit privately from noncopyable
13279 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13280 instead of WriteStatus.
13282 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13284 * BufferView_pimpl.C (buffer): don't init minibuffer
13285 (workAreaButtonPress): use LFUN_MESSAGE
13286 (workAreaButtonRelease): ditto
13287 (savePosition): ditto
13288 (restorePosition): ditto
13289 (MenuInsertLyXFile): ditto
13290 (workAreaExpose): don't init minibuffer
13291 (update): remove commented code, simplify
13293 * BufferView2.C (openStuff): use LFUN_MESSAGE
13294 (toggleFloat): ditto
13297 (copyEnvironment): ditto
13298 (pasteEnvironment): ditto
13303 (updateInset): remove some commented code
13305 * lastfiles.h: inherit privately from noncopyable
13308 * lyx_main.h: ditto
13310 * lyxlex_pimpl.h: ditto
13312 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13313 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13314 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13316 * LyXAction.h: inherit privately from noncopyable, add methods
13317 func_begin, func_end, returning iterators to the func map.
13319 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13320 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13321 (func_begin): new method
13322 (func_end): new method
13324 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13326 (copySelection): ditto
13327 (pasteSelection): ditto
13329 * BufferView.C: whitespace change
13330 * BufferView.h: inherit privately from noncopyable
13332 2001-04-16 Allan Rae <rae@lyx.org>
13334 * tabular-old.C (l_getline):
13335 * spellchecker.C (sc_check_word):
13336 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13337 an unrecognised preprocessor directive. So ensure they're wrapped.
13339 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13341 * src/exporter.C (Export): Give an error message when path to file
13344 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13346 * LaTeX.C (deplog): Always check that foundfile exists.
13348 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13351 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13353 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * tabular.[Ch] (getLabelList): implement new method
13357 * minibuffer.h: comment ouf setTiimer
13359 * minibuffer.C (ExecutingCB): constify res
13360 (peek_event): constify s
13361 (Set): constify ntext
13362 (Init): constify nicename
13364 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13366 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13367 (savePosition): use two params to Minibuffer::Set
13368 (restorePosition): ditto
13370 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13372 * lyx_main.C: include language.h
13374 * Makefile.am (lyx_main.o): add language.h
13376 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13382 * CutAndPaste.C: include gettext.h
13384 * lyxfont.h: remove old hack with ON and OFF.
13387 * lyxfont.h: do not include language.h...
13392 * bufferview_funcs.C:
13398 * paragraph.C: ... but do it here instead
13400 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13402 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13404 * tabular.C: small reformat
13406 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13409 (BreakParagraph): ditto
13410 (SetOnlyLayout): ditto
13413 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13416 * lastfiles.C: removed most using decl, add std:: where needed
13418 * buffer.C: ws changes
13420 * MenuBackend.C (class compare_format): put into anon namespace
13421 (expand): constify label, names, action, action2
13424 * text.C (SingleWidth): constify font
13425 (IsBoundary): constify rtl2
13426 (GetVisibleRow): constify ww
13428 * LaTeX.C (deplog): constify logfile
13430 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13432 (workAreaExpose): constify widthChange, heightChange
13434 * lyxrow.C (par): moved
13437 * lyxrow.h: as inlines here
13439 * lyxfont.h (shape): moved from lyxfont.C
13440 (emph): moved from lyxfont.C
13442 * lyxfont.C (LyXFont): use initialization list for all
13444 (shape): move to lyxfont.h as inline
13445 (emph): move to lyxfont.h as inline
13448 2001-04-04 Juergen Vigna <jug@sad.it>
13450 * vspace.C: had to include stdio.h for use of sscanf
13452 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13455 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13456 independent of xforms.
13458 2001-04-02 Juergen Vigna <jug@sad.it>
13460 * spellchecker.C: fixed namespace placing!
13462 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13464 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13465 the LyXParagraph * is 0.
13467 2001-03-29 Juergen Vigna <jug@sad.it>
13469 * vspace.C: added support for %, c%, p%, l%.
13470 (stringFromUnit): added helper function.
13471 (asLatexString): changed to give right results for the %-values.
13473 * buffer.C: convert the widthp in a width%.
13475 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13477 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13480 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13481 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13483 * lyx_cb.[Ch]: see above.
13485 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13489 * lyx.[Ch]: replaced by figure_form.[Ch].
13493 * lyxfunc.C: changed headers associated with above changes.
13495 2001-03-27 Juergen Vigna <jug@sad.it>
13497 * BufferView_pimpl.C: set the temporary cursor right!
13499 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13501 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13503 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13505 * LString.h: removed "using std::getline"!
13507 * BufferView_pimpl.C (Dispatch): changes due to changes in
13508 InsetInclude::Params.
13510 * buffer.C (tag_name): removed redundant break statements as they were
13511 producing lots of warnings with my compiler.
13513 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13515 * LString.h: add "using std::getline" when using the real <string>.
13517 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13519 * buffer.C: removed bitset usage.
13520 PAR_TAG moved to an anonymous name space.
13521 (tag_name): new funtion, also in the anonymous namespace.
13522 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13523 (makeDocBookFile): clean code. Completed transition from string arrays
13525 (SimpleDocBookOnePar): code clean.
13527 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13529 * tabular.C: add some comments.
13531 2001-03-22 Juergen Vigna <jug@sad.it>
13533 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13534 compatibility read a bit and fixed bug with minipage in different
13537 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13539 * buffer.C (pop_tag): removed.
13540 (push_tag): removed.
13541 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13542 array replaced with vector. Added support for CDATA sections.
13543 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13545 (makeDocBookFile): XML conformant declaration of CDATA section,
13546 fixed bug related to <emphasis> in the first paragraph char.
13547 (sgmlOpenTag): exclude empty tags.
13548 (sgmlCloseTag): ditto.
13550 * buffer.h (pop_tag): removed.
13551 (push_tag): removed.
13553 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13555 * language.h (Languages): added size_type and size().
13557 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13559 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13560 response on compability reading of minipages. One probliem is that
13561 the old usage of minipages was «flertydig»
13563 * several files here and in subdirs: don't use static at file
13564 scope use anon namespaces instead.
13566 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13568 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13569 LaTeX output. This is necessary for Literate document
13572 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13574 * buffer.C: insert hfill when needed.
13576 * tabular.C (l_getline): use string::erase, small whitespace change.
13578 * BufferView_pimpl.C: try the anon namespace.
13579 * WorkArea.C: ditto
13581 2001-03-16 Juergen Vigna <jug@sad.it>
13583 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13584 otherwise it won't open options-dialogs.
13586 * buffer.C: honor pextraWidth(p) on converting minipages.
13588 * tabular.C (l_getline): changed the functions to strip trailing \r.
13590 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13592 * BufferView_pimpl.C:
13593 * minibuffer..C: added "using SigC::slot" declaration.
13595 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13597 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13603 * paragraph.C: ditto
13605 * lyxtext.h: NO_PEXTRA
13607 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13609 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13610 * ParameterStruct.h: ditto
13611 * ParagraphParameters.h: ditto
13612 * lyxparagraph.h: ditto
13614 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13616 * buffer.C: add compability for minipage alignment.
13617 (latexParagraphs): remove unwanted pextra check.
13619 * several files: remove CXX_WORKING_NAMESPACES
13621 * buffer.C (pop_tag): tie is in namespace boost
13623 * BufferView.h: noncopyable is in namespace boost
13625 * lyx_main.h: ditto
13628 * lastfiles.h: ditto
13629 * bufferlist.h: ditto
13630 * ShareContainer.h: ditto
13632 * LyXAction.h: ditto
13635 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13637 * Merging changes from BRANCH_MVC back into HEAD.
13639 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13641 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13643 * BufferView_pimpl.C: change from intl.C
13647 * Makefile.am: move combox.*
13653 * intl.C: remove dialog (covered by prefs)
13655 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13657 * lyxfunc.C (Dispatch): removed redundant break statement.
13659 2001-03-14 Juergen Vigna <jug@sad.it>
13661 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13663 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13665 * buffer.C: add hack to fix compability reading of minipages.
13667 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13669 * buffer.C (getLists): Cleanup.
13671 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13673 * lyxfont.C (update): don't honor toggleall on font size.
13675 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13679 * Makefile.am: moved to frontends/xforms/
13683 * BufferView_pimpl.C: changes for moved mathpanel
13685 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13687 * gettext.h: fix gettext_init() in --disable-nls
13689 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13691 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13693 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13696 * lyx.h: strip external form
13698 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13700 * BufferView_pimpl.C: add comment, destroySplash()
13702 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13704 * BufferView_pimpl.C:
13708 * lyxfunc.C: use re-worked insetinclude
13710 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13712 * buffer.C: add using std::stringstream.
13714 * lyx_cb.C: readd using std::ios.
13716 * buffer.C: add using std::map.
13718 * BufferView_pimpl.C: add using std::vector.
13720 * ShareContainer.h: add std:: to swap.
13722 * buffer.h: add some typedefs
13723 * buffer.C (getLists): use them
13724 (getLists): renamed from getTocList.
13725 add a counter for the different float types and use it in the
13727 (getLists): use the same counter for the NEW_INSETS and the "non"
13730 * lyx_cb.h: remove unused items, includes, using etc.
13732 * ShareContainer.h: remove some commented code, add more comments
13733 and "documentation".
13735 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13737 * buffer.C (getTocList): make the list also when NEW_INSETS is
13740 * buffer.h: remove TocType
13742 * buffer.C (getTocList): change to return a map<string,
13743 vector<TocItem> >, implement for dynamic number of list.
13745 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13746 * text2.C (PasteSelection): adjust
13747 * CutAndPaste.C (pasteSelection): adjust
13749 * FloatList.C (FloatList): update from the new_insets branch.
13750 * Floating.[Ch]: ditto
13751 * LaTeXFeatures.C: ditto
13753 * lyxlex_pimpl.C: ditto
13755 * paragraph.C (Last): remove when NEW_INSETS is defined.
13757 * other file: changes because of the above.
13759 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13761 * lyxparagraph.h: rename next to next_, previous to previous_,
13762 make them private for NEW_INSETS. Rename Next() to next(),
13763 Previous() to previous().
13765 * other files: changes because of the above.
13767 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13770 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13773 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13775 * main.C (main): pass lyx_localedir to gettext_init().
13777 * gettext.h: remove locale_init and gettext_init macros
13779 * gettext.C (locale_init): new function
13780 (gettext_init): new function
13782 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13785 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13787 * Moved credits to frontends:
13788 * credits.[Ch]: removed
13789 * credits_form.[Ch]: removed
13790 * lyx_gui_misc.C: remove credits stuff
13793 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13795 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13797 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13798 unneeded destructor.
13800 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13801 a standalone pointer again.
13803 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13805 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13811 * ToolbarDefaults.C:
13820 * BufferView_pimpl.C: use new file dialog in GUII
13823 * lyx_cb.C: remove LayoutsCB to Toolbar
13825 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13827 * ShareContainer.h (get): add std:: qualifier
13829 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13831 * ShareContainer.h: define a proper ShareContainer::value_type
13832 type (and use typename to please compaq cxx)
13834 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13836 * lyxparagraph.h: move serveral local vars to
13837 ParameterStruct/ParagraphParameters., use ShareContainer in
13838 FontTable., make vars in FontTable private and add getter and
13841 * paragraph.C: changes because of the above.
13843 * lyxfont.h: remove copy constructor and copy assignment. (the
13844 default ones is ok), move number inside FontBits. move inlines to
13847 * lyxfont.C: add number to initializaton of statics, move several
13848 inlines here. constify several local vars. some whitespace
13849 cleanup. Dont hide outerscope variables.
13851 * Spacing.h: add two new constructors to match the set methods.
13853 * ShareContainer.h: new file, will perhaps be moved to support
13855 * ParameterStruct.h: new file
13857 * ParagraphParameters.h: new file
13859 * ParagraphParameters.C: new file
13861 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13862 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13864 * BufferView_pimpl.C: ParagraphParameter changes.
13865 * buffer.C: Likewise.
13866 * bufferview_funcs.C: Likewise.
13867 * text.C: Likewise.
13868 * text2.C: Likewise.
13870 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * lyxfind.C (LyXReplace): do not redefine default argument in
13874 (IsStringInText): ditto
13875 (SearchForward): ditto
13876 (SearchBackward): ditto
13878 2001-03-06 Juergen Vigna <jug@sad.it>
13880 * lyxfind.C (IsStringInText): put parentes around expressions.
13882 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13884 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13886 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13888 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13890 * stl_string_fwd.h: add comment
13892 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13895 * tabular.C: remove unused DocBook methods
13901 killed DO_USE_DEFAULT_LANGUAGE
13903 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13905 * lyx_gui.C: do not include language.h.
13907 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13908 arguments in function implementation.
13910 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13912 * BufferView_pimpl.C: add <ctime>
13914 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13916 * BufferView_pimpl.C: add using std::find_if
13918 2001-02-27 José Matos <jamatos@fep.up.pt>
13920 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13923 2001-02-11 José Matos <jamatos@fep.up.pt>
13925 * buffer.C (makeDocBookFile): command styles now have a parameter as
13926 "title" by default.
13928 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13930 * layout_forms.[Ch]: removed
13931 * lyx_cb.[Ch]: out character
13932 * lyx_gui.C: out character
13933 * lyx_gui_misc.C: out character
13934 * bufferview_funcs.C: : out character,
13935 added toggleall as parameter in ToggleAndShow
13937 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13939 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13941 * text2.C (SetCurrentFont): Disable number property at boundary.
13943 2001-02-26 Juergen Vigna <jug@sad.it>
13945 * lyxfunc.C (getStatus): added a string argument override function so
13946 that this is correctly called from LyXFunc::Dispatch if it contains a
13947 do_not_use_argument which is used!
13948 (Dispatch): added check for "custom" export and call appropriate func.
13950 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13952 * lyxrc.C: Add language_command_local, language_use_babel and
13953 language_global_options.
13955 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13957 * buffer.C (makeLaTeXFile): Use language_use_babel and
13958 language_global_options.
13960 2001-02-23 Juergen Vigna <jug@sad.it>
13962 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13963 which works with LyXText and putted it inside BufferView. Here now we
13964 only call for that part the BufferView::Dispatch() function.
13966 * BufferView.C (Dispatch): added.
13968 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13969 functions which needs to use a LyXText over from LyXFunc.
13970 (MenuInsertLyXFile): added
13971 (getInsetByCode): added
13972 (moveCursorUpdate): added
13973 (static TEXT): added
13975 2001-02-22 Juergen Vigna <jug@sad.it>
13977 * BufferView_pimpl.C (update): call a status update to see if LyXText
13980 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13982 * vc-backend.C (revert): implement for CVS
13983 (getLog): implement for CVS
13985 2001-02-20 Juergen Vigna <jug@sad.it>
13987 * text2.C (ClearSelection): added BufferView param for inset_owner call
13989 * lyxfunc.C (TEXT): added this function and use it instead of
13990 directly owner->view()-text of getLyXText().
13992 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13994 * src/layout_forms.C: out preamble
13995 * src/layout_forms.h: out preamble
13996 * src/lyx_cb.C: out preamble
13997 * src/lyx_cb.h: out preamble
13998 * src/lyx_gui.C: out preamble
13999 * src/lyx_gui_misc.C: out preamble
14000 * src/lyxfunc.C: connect with guii preamble
14002 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14004 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14006 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14008 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14009 whether to run bibtex.
14011 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14013 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14015 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14017 * Makefile.am (lyx_SOURCES): removed bibforms.h
14019 * vspace.h: doxygen
14021 * text.C (GetVisibleRow): make several local vars const
14023 * tabular.C: small cleanup.
14025 * lyxserver.C (callback): use compare instead of strncmp
14027 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14028 inlines to after class or to paragraph.C
14030 * lyxfont.h: remove friend operator!=
14032 * converter.h: move friend bool operator< to non friend and after
14035 * combox.h: small cleanup
14037 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14038 to inlines after class def.
14040 * buffer.C (pop_tag): use string operations instead of strcmp
14042 * bmtable.c: doxygen, small cleanup
14044 * LaTeX.h: remove friend operator==
14046 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14058 * BufferView_pimpl.C:
14059 * BufferView.[Ch]: remove cruft
14061 2001-02-14 Juergen Vigna <jug@sad.it>
14063 * lyxfunc.C: removed #if 0 unused code
14065 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14067 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14069 * text2.C (SetSelection): added a BufferView * parameter
14071 2001-02-13 Juergen Vigna <jug@sad.it>
14073 * lyxfunc.C (Dispatch): fixed protected blank problem.
14074 * BufferView2.C (protectedBlank): added LyxText * parameter.
14076 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14077 (AppendColumn): same as above for column_info.
14079 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14080 (moveCursorUpdate): use a LyXText param for support of InsetText.
14082 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14083 (tripleClick): ditto
14085 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14087 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14089 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14091 * text2.C (SetSelection): set correct update status if inset_owner
14092 (ToggleFree): ditto
14094 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14096 * tabular.C: remove some commented code.
14098 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14100 * BufferView_pimpl.C: call hideSplash()
14102 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14105 * bibforms.h: remove
14108 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14109 add LFUN_CHILD_CREATE
14111 * counters.h: fix tiny typo
14116 * lyx.C: move splash to frontends/xforms/
14118 * lyx_gui_misc.C: move Include and Bibform to frontends
14120 * lyxvc.h: clarify comment
14122 * vspace.C: tiny housekeeping
14124 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14126 * text.C (PrepareToPrint): RTL Fix.
14128 * paragraph.C (GetUChar): New method.
14129 (String): Use GetUChar.
14131 * buffer.C (asciiParagraph): Use GetUChar.
14133 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14135 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14137 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14140 * buffer.C: rename to getLogName(), handle
14141 build log / latex log nicely
14143 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14146 * MenuBackend.h: remove support for reference menuitem type.
14148 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14150 * BufferView_pimpl.C: housekeeping
14151 * BufferView_pimpl.h:
14156 * minibuffer.h: move Timeout GUI-I
14158 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14160 * lyxrc.C (read): Update converters data-structures.
14162 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14164 * LaTeX.h (operator!=): add operator != for Aux_Info
14166 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14168 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14170 * LaTeXLog.C: deleted, useful code moved to Buffer
14173 * buffer.C: new function getLatexLogName()
14179 * lyxfunc.C: use frontends for LaTeX and VC logs
14181 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14183 * LaTeX.h: yet another std:: that Allan forgot.
14185 * Variables.C (set): renamed from isset(), because this clashes
14186 with some HP-UX macros (grr).
14188 2001-02-06 Allan Rae <rae@lyx.org>
14190 * LaTeX.h: Another bug fix. Missing std:: this time.
14192 2001-02-04 Allan Rae <rae@lyx.org>
14194 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14195 floats problem. I've left it commented out because it's not quite
14196 correct. It should also test that the current object is a table or
14197 figure inset. But I haven't gotten around to figuring out how to do
14198 that. I *think* it'll be something like: "table" == inset.type()
14200 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14203 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14205 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14206 all the citation/databases/styles in the auxilary file.
14207 (run): Rerun latex if there was a babel language error.
14209 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14211 * text.C (Backspace): Preserve the font when changing newline char
14213 (BreakParagraph): If the cursor is before a space, delete the space.
14215 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14217 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14219 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14220 new argument (code).
14221 (ChangeCitationsIfUnique): New method.
14223 * paragraph.C (GetPositionOfInset): Handle bibkey.
14225 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14227 * BufferView_pimpl.h: change type of Position::par_pos to
14228 LyXParagraph::size_type.
14230 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14232 * BufferView_pimpl.C (savePosition, restorePosition): Write
14233 messages to minibuffer.
14235 2001-01-28 José Matos <jamatos@fep.up.pt>
14237 * buffer.C (makeDocBookFile): adds support for document language.
14238 A silly restriction on the name of LatexCommand types where removed.
14239 Added support for CDATA sections, allows to chars unescaped, used
14240 among others in code, to avoid escape < and >.
14242 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14244 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14245 saved positions instrad of a stack. Furthermore, a position is
14246 stored using paragraph id/paragraph position.
14248 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14249 Remove LFUN_REF_BACK.
14251 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14253 * converter.C (dvipdfm_options): New method.
14255 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14257 * vspace.C (isValidLength): Fix for empty input string.
14259 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * LyXAction.C (init): change description of LFUN_FIGURE to
14264 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14266 * LaTeX.C: add using directive
14268 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14270 * MenuBackend.C (expand): Fix the sorting of the formats.
14272 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14274 * lyx_main.C: tiny error message fix
14276 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14279 calling fl_initialize(). This fixes the problem with ',' as
14280 decimal separator in text files.
14282 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14284 * trans.C (process): Fix the keymap bug.
14286 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14288 * LaTeX.C (scanAuxFiles): New method. Provides support for
14289 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14290 (scanLogFile) Scan for "run BibTeX" messages.
14292 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14293 OT1 font encoding. Also, load the aecompl package if the ae
14296 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14298 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14300 * texrow.C (increasePos): turn two error messages into debug
14303 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14305 * LaTeX.C (scanAux): Handle the \@input macro.
14306 (runBibTeX): Use scanAux().
14308 * language.C (latex_options_): New field.
14310 * LaTeXFeatures.C (getMacros): Add language macros.
14312 * buffer.C (makeLaTeXFile): Small fix.
14314 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14316 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14318 * text2.C: add a using directive.
14320 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14325 * lyxfunc.C: kill LyXBell.
14327 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14329 * text.C (IsBoundary): Remove the error message
14331 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14333 * lyxrc.C (setDefaults): Correct initialization value for
14336 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14338 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14341 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14342 and GotoNextNote().
14344 * src/LyXAction.C: Added reference-next.
14346 * text.C (InsertChar): Use contains instead of strchr.
14348 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14350 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14352 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14353 alignment commands (when needed).
14355 * text.C (InsertChar): Add ':' to number separator chars.